NetBSD/lib
kamil 5acf460d25 Mark exect(3) obsolete and bind it to plain execve(2) on all platforms
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>
2017-02-07 19:29:39 +00:00
..
csu remove useless include; asm.h is not useful for c files. our current assumption 2017-01-14 15:50:24 +00:00
i18n_module
libarch fix compilation 2017-01-13 18:18:20 +00:00
libbluetooth correct comment in literal section 2016-01-22 08:51:40 +00:00
libbpfjit
libbsdmalloc
libbz2 Reorg docs, part 1: 2014-07-05 19:22:41 +00:00
libc Mark exect(3) obsolete and bind it to plain execve(2) on all platforms 2017-02-07 19:29:39 +00:00
libc_fp move shlib_version into the main directory 2016-10-11 16:55:22 +00:00
libc_vfp Possibly build libc_vfp if MACHINE_CPU is aarch64 too. 2015-07-08 01:08:24 +00:00
libcompat PR/50711: David Binderman: Fix memory leak on error 2016-01-26 16:05:18 +00:00
libcrypt fix error messages 2015-06-17 00:15:26 +00:00
libcurses Move ESCDELAY to curses.c so all globals are close to each other. 2017-01-31 09:17:53 +00:00
libdm The actual header file for these functions is dm.h, not libdm.h. 2016-01-22 22:12:40 +00:00
libedit Make sure we take into account history_base when computing negative history 2017-01-09 03:09:05 +00:00
libexecinfo flesh out _Unwind_Exception, rust needs it. 2016-12-19 01:24:40 +00:00
libform PR 51190 David Binderman: simplify redundant conditionals. 2016-05-30 17:48:29 +00:00
libintl back to the defines (fixing a typo -- extra 'g') 2015-06-08 15:04:20 +00:00
libipsec
libisns
libkern Define _KERNTYPES for things that need it. 2016-01-23 21:22:45 +00:00
libkvm various ia64 updates: 2016-06-30 09:14:30 +00:00
liblwres
libm Add comma between two Nm entries in the NAME section. 2017-02-01 16:06:19 +00:00
libmenu
libnpf set to NULL after releasing to avoid double free. 2017-01-03 00:59:31 +00:00
libossaudio Add missing defines for 16, 24 and 32 bit NE and OE formats. 2014-09-09 10:45:18 +00:00
libp2k Don't include <rump/rumpvnode_if.h> from rump.h. It's not needed 2016-01-25 11:45:57 +00:00
libpam Adapt to the new API. 2015-04-04 02:51:10 +00:00
libpanel bump warns 2016-10-03 17:06:58 +00:00
libpci introduce a better pci_drvname() and PCI_IOC_DRVNAME as pciio_drvnameonbus() 2016-09-24 23:12:54 +00:00
libperfuse make the env stuff visible. 2016-10-19 01:30:35 +00:00
libpmc pmc_evid_, pmc_ctr_t etc are defined in <machine/types.h> but are not exposed 2016-01-23 21:44:55 +00:00
libposix MKCOMPAT fixes for when compat MACHINE_CPU != normal MACHINE_CPU 2014-08-10 23:25:49 +00:00
libppath
libprop
libpthread Fix a typo : pthread_mutexaddr_init -> pthread_mutexattr_init. 2017-02-02 10:48:22 +00:00
libpthread_dbg Various fixes. 2016-11-24 12:18:02 +00:00
libpuffs mention puffs_node_pathconf and puffs_node_advlock 2016-08-29 01:13:56 +00:00
libquota Some NFS servers return RPC_PROGNOTREGISTERED instead of RPC_PROGVERSMISMATCH 2016-01-30 16:31:28 +00:00
libradius
librefuse fuse_main(3): Support general fuse options via fuse_parse_cmdline(3) 2016-11-20 13:28:32 +00:00
libresolv PR/50907: David Binderman: Remove useless strlen()'s and memcpy()'s. 2016-03-07 14:35:39 +00:00
librmt
librpcsvc
librt Fix function name macro. 2016-09-15 07:53:59 +00:00
librump This is not needed anymore. 2015-08-21 06:56:35 +00:00
librumpclient Redo previous by avoiding the casts and using PRIxREGISTER instead 2016-09-06 07:45:41 +00:00
librumpdev
librumphijack fix test lib/librumphijack/t_sh/runscript 2016-12-02 20:53:36 +00:00
librumpnet
librumpuser Update supporting files for components which rely on autoconf to allow systems 2017-02-01 09:26:39 +00:00
librumpvfs Move rump kernel man pages from various sources to sys/rump 2014-11-09 17:39:37 +00:00
libskey Uses FILE *, needs stdio.h. 2016-01-22 23:25:51 +00:00
libss
libtelnet Avoid enum type mismatch. 2014-04-26 22:10:40 +00:00
libterminfo Fix a typo. 2017-01-29 16:52:38 +00:00
libukfs Don't include <rump/rumpvnode_if.h> from rump.h. It's not needed 2016-01-25 11:45:57 +00:00
libusbhid Uses __BEGIN_DECLS so needs sys/cdefs.h; also needs stdint.h. 2016-01-22 23:51:23 +00:00
libutil new lookup order will be in 7.1 before 8.0 2017-01-29 05:13:55 +00:00
libwrap change static to volatile. 2016-03-16 22:32:32 +00:00
liby
libz Adapt to new zlib 2017-01-10 01:28:03 +00:00
lua Fix function name, no functional change. 2016-02-15 15:56:33 +00:00
npf
bumpversion
checkoldver
checkver
checkvers
Makefile build libc_fp only on mips64* 2016-10-14 17:29:29 +00:00
Makefile.inc