summaryrefslogtreecommitdiff
path: root/lib/libc/arch/mips/sys/exect.S
AgeCommit message (Collapse)Author
2017-02-07Mark exect(3) obsolete and bind it to plain execve(2) on all platformskamil
The original exect(2) from BSD4.2 was enabling bit for tracing (single-step mode) and calling execve(2). The purpose of it was to generate a signal for a tracer once the application will change its image to a new program. This approach no longer works as: - exect(2) traces (single-steps) libc and it requires hundreds or thousands steps before entering a new image - it's vax and x86 specific code - this functionality has been moved to the kernel - once a process is traced it will generate SIGTRAP with si_code TRAP_EXEC and route it to its debugger - the side effects and unportability make this interface unusable - there are no known users of this interface - it apparently never worked better since day0 of NetBSD ("day0 bug") Users are requested to move to other execve(2) variants. Calling current execve(2) as it is the most similar behavior to this one from BSD4.2. Discussed several times on mailing lists and in PR/51700. Add warning to exect(3) telling about marking this function obsolete. This function is prepared to be removed in next libc major bump. Sponsored by <The NetBSD Foundation>
2009-12-14Merge from matt-nb5-mips64.matt
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22280, verified by myself.
2002-11-10ABICALLS -> __ABICALLS__thorpej
2000-12-13Remove all the .abicalls assembler directives - "SYS.h" already has that.simonb
1999-01-14* On architectures using ELF, and conditionally on those in transition, renamekleink
_ASM_LABEL(cerror) and _ASM_LABEL(curbrk) to _C_LABEL(__cerror) and _C_LABEL(__curbrk) (or their respective architecture-specific equivalents) to avoid possible name clashes with identifiers used in user applications. * Do the same for minbrk on all architectures to avoid a GCC-specific (and on ELF architectures effectively useless) symbol reference renaming in MI code.
1996-09-17* Add Mips ABI changes for ELf shared library support.jonathan
From OpenBSD, patched into NetBSD by <bouyer@ensta.fr>. * Include generic NetBSD/mips <mips/*.h> files, instead of old Sprite names.
1996-09-16Add NetBSD RCSid headers, and change assembly-code LIBC_SCCS id tag stringjonathan
from "Id:" to "NetBSD:".
1994-12-15More underscores...mycroft
1994-11-14Prepended underscoresdean
1994-05-24libc support for mips. libkern hooks are disabledglass