opnsense-src/lib/libc/mips/sys
Brooks Davis 87385baff6 Replace MD assembly exect() with a portable version.
Originally, on the VAX exect() enable tracing once the new executable
image was loaded.  This was possible because tracing was controllable
through user space code by setting the PSL_T flag.  The following
instruction is a system call that activated tracing (as all
instructions do) by copying PSL_T to PSL_TP (trace pending).  The
first instruction of the new executable image would trigger a trace
fault.

This is not portable to all platforms and the behavior was replaced with
ptrace(PT_TRACE_ME, ...) since FreeBSD forked off of the CSRG repository.
Platforms either incorrectly call execve(), trigger trace faults inside
the original executable, or do contain an implementation of this
function.

The exect() interfaces is deprecated or removed on NetBSD and OpenBSD.

Submitted by:	Ali Mashtizadeh <ali@mashtizadeh.com>
Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D14989
2018-04-12 18:23:14 +00:00
..
brk.S use PTR_WORD for __curbrk and minbrk instead of .word, the new version 2010-06-25 05:36:36 +00:00
cerror.S Merge jmallett@'s n64 work into HEAD - changeset 1. 2010-06-16 12:55:14 +00:00
Makefile.inc Replace MD assembly exect() with a portable version. 2018-04-12 18:23:14 +00:00
Ovfork.S Merge jmallett@'s n64 work into HEAD - changeset 1. 2010-06-16 12:55:14 +00:00
sbrk.S use PTR_WORD for __curbrk and minbrk instead of .word, the new version 2010-06-25 05:36:36 +00:00
syscall.S Add mips support libc from the mips2-jnpr branch of perforce. 2008-04-26 12:08:02 +00:00