freebsd-nq/lib/libc/amd64
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
..
gen libc: further adoption of SPDX licensing ID tags. 2017-11-25 17:12:48 +00:00
stdlib
string libc: further adoption of SPDX licensing ID tags. 2017-11-25 17:12:48 +00:00
sys Replace MD assembly exect() with a portable version. 2018-04-12 18:23:14 +00:00
_fpmath.h libc: further adoption of SPDX licensing ID tags. 2017-11-25 17:12:48 +00:00
arith.h
gd_qnan.h
Makefile.inc Correct an misunderstanding of MDSRCS. 2017-03-02 17:07:28 +00:00
Symbol.map Replace MD assembly exect() with a portable version. 2018-04-12 18:23:14 +00:00
SYS.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00