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
93 lines
1.1 KiB
Plaintext
93 lines
1.1 KiB
Plaintext
/*
|
|
* $FreeBSD$
|
|
*/
|
|
|
|
/*
|
|
* This only needs to contain symbols that are not listed in
|
|
* symbol maps from other parts of libc (i.e., not found in
|
|
* stdlib/Symbol.map, string/Symbol.map, sys/Symbol.map, ...).
|
|
*/
|
|
FBSD_1.0 {
|
|
/* PSEUDO syscalls */
|
|
_exit;
|
|
|
|
_mcount;
|
|
_setjmp;
|
|
_longjmp;
|
|
fabs;
|
|
__flt_rounds;
|
|
fpgetmask;
|
|
fpgetround;
|
|
fpgetsticky;
|
|
fpsetmask;
|
|
fpsetround;
|
|
__infinity;
|
|
__nan;
|
|
makecontext;
|
|
setjmp;
|
|
longjmp;
|
|
sigsetjmp;
|
|
siglongjmp;
|
|
htonl;
|
|
htons;
|
|
ntohl;
|
|
ntohs;
|
|
brk;
|
|
sbrk;
|
|
vfork;
|
|
|
|
/* SCD libc 64 psABI */
|
|
_Qp_sqrt;
|
|
_Qp_add;
|
|
_Qp_div;
|
|
_Qp_mul;
|
|
_Qp_sub;
|
|
_Qp_dtoq;
|
|
_Qp_itoq;
|
|
_Qp_stoq;
|
|
_Qp_xtoq;
|
|
_Qp_uitoq;
|
|
_Qp_uxtoq;
|
|
_Qp_qtod;
|
|
_Qp_qtoi;
|
|
_Qp_qtos;
|
|
_Qp_qtox;
|
|
_Qp_qtoui;
|
|
_Qp_qtoux;
|
|
_Qp_feq;
|
|
_Qp_fge;
|
|
_Qp_fgt;
|
|
_Qp_fle;
|
|
_Qp_flt;
|
|
_Qp_fne;
|
|
_Qp_cmp;
|
|
_Qp_cmpe;
|
|
__dtoul;
|
|
__sparc_utrap_install;
|
|
};
|
|
|
|
FBSDprivate_1.0 {
|
|
/* PSEUDO syscalls */
|
|
__sys_getlogin;
|
|
_getlogin;
|
|
__sys_exit;
|
|
|
|
_set_tp;
|
|
___longjmp;
|
|
__makecontext;
|
|
__longjmp;
|
|
signalcontext;
|
|
__signalcontext;
|
|
__siglongjmp;
|
|
__sys_brk;
|
|
_brk;
|
|
_end;
|
|
__sys_sbrk;
|
|
_sbrk;
|
|
__sys_vfork;
|
|
_vfork;
|
|
|
|
/* used in src/lib/csu/sparc64/crt1.c */
|
|
__sparc_utrap_setup;
|
|
};
|