87385baff6
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 |
||
---|---|---|
.. | ||
brk.S | ||
cerror.S | ||
getcontext.S | ||
i386_clr_watch.c | ||
i386_get_fsbase.c | ||
i386_get_gsbase.c | ||
i386_get_ioperm.2 | ||
i386_get_ioperm.c | ||
i386_get_ldt.2 | ||
i386_get_ldt.c | ||
i386_set_fsbase.c | ||
i386_set_gsbase.c | ||
i386_set_ioperm.c | ||
i386_set_ldt.c | ||
i386_set_watch.3 | ||
i386_set_watch.c | ||
i386_vm86.2 | ||
i386_vm86.c | ||
Makefile.inc | ||
Ovfork.S | ||
sbrk.S | ||
syscall.S |