freebsd-dev/lib/libc/net
Konstantin Belousov bd6060a1c6 Switch libc from using _sig{procmask,action,suspend} symbols, which
are aliases for the syscall stubs and are plt-interposed, to the
libc-private aliases of internally interposed sigprocmask() etc.

Since e.g. _sigaction is not interposed by libthr, calling signal()
removes thr_sighandler() from the handler slot etc.  The result was
breaking signal semantic and rtld locking.

The added __libc_sigprocmask and other symbols are hidden, they are
not exported and cannot be called through PLT.  The setjmp/longjmp
functions for x86 were changed to use direct calls, and since
PIC_PROLOGUE only needed for functional PLT indirection on i386, it is
removed as well.

The PowerPC bug of calling the syscall directly in the setjmp/longjmp
implementation is kept as is.

Reported by:	Pete French <petefrench@ingresso.co.uk>
Tested by:	Michiel Boland <boland37@xs4all.nl>
Reviewed by:	jilles (previous version)
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2015-08-29 14:25:01 +00:00
..
base64.c ANSIfy b64_pton 2014-11-27 02:15:35 +00:00
byteorder.3
ether_addr.c Make ether_line really report an error when all input is invalid. 2014-03-12 12:27:13 +00:00
ethers.3
eui64.3
eui64.c eui64_line(): plug memory leak. 2015-02-27 18:13:06 +00:00
gai_strerror.3
gai_strerror.c
getaddrinfo.3 Various mdoc fixes and a few EOL whitespace removals. 2014-12-21 12:36:36 +00:00
getaddrinfo.c Stop including if_var.h from userland. 2015-04-06 09:42:23 +00:00
gethostbydns.c
gethostbyht.c
gethostbyname.3
gethostbynis.c
gethostnamadr.c
getifaddrs.3 Fix ifa_data description. 2014-11-25 15:09:34 +00:00
getifaddrs.c
getifmaddrs.3
getifmaddrs.c
getipnodebyname.3
getnameinfo.3
getnameinfo.c Renove faith(4) and faithd(8) from base. It looks like industry 2014-11-09 21:33:01 +00:00
getnetbydns.c
getnetbyht.c
getnetbynis.c
getnetent.3
getnetnamadr.c
getproto.c
getprotoent.3
getprotoent.c
getprotoname.c
getservent.3
getservent.c
hesiod.3
hesiod.c
if_indextoname.3
if_indextoname.c
if_nameindex.c
if_nametoindex.c
inet6_opt_init.3
inet6_option_space.3
inet6_rth_space.3
inet6_rthdr_space.3
inet_net.3
inet.3
ip6opt.c Hint out check for unsigned negative values. 2015-02-27 01:59:29 +00:00
linkaddr.3
linkaddr.c Const-ify character string 2014-08-07 22:14:37 +00:00
Makefile.inc Make generation of nslexer.c more robust. 2014-07-14 13:53:10 +00:00
map_v4v6.c
name6.c Stop including if_var.h from userland. 2015-04-06 09:42:23 +00:00
netdb_private.h
nscache.c
nscachedcli.c
nsdispatch.3 use .Mt to mark up email addresses consistently (part4) 2014-06-23 08:25:03 +00:00
nsdispatch.c The fallback flag in nsdispatch prevents the fallback implementation of 2014-11-25 09:47:15 +00:00
nslexer.l
nsparser.y
nss_backends.h
nss_compat.c
ntoh.c
rcmd.3
rcmd.c Switch libc from using _sig{procmask,action,suspend} symbols, which 2015-08-29 14:25:01 +00:00
rcmdsh.3
rcmdsh.c - ANSIfy 2015-08-18 22:37:25 +00:00
recv.c recv(),send(): Directly call interposing entry instead of going through PLT. 2015-05-10 14:50:50 +00:00
res_config.h
resolver.3
rthdr.c
sctp_bindx.3 Fix name of a constant. 2015-06-14 20:16:36 +00:00
sctp_connectx.3
sctp_freepaddrs.3
sctp_getaddrlen.3
sctp_getassocid.3
sctp_getpaddrs.3
sctp_opt_info.3
sctp_recvmsg.3 A complete user message is signalled with the MSG_EOR flag, not the MSG_EOF 2015-04-23 13:10:03 +00:00
sctp_send.3 Various mdoc fixes and a few EOL whitespace removals. 2014-12-21 12:36:36 +00:00
sctp_sendmsg.3
sctp_sys_calls.c Add a SCTP socket option to limit the cwnd for each path. 2015-03-10 19:49:25 +00:00
send.c recv(),send(): Directly call interposing entry instead of going through PLT. 2015-05-10 14:50:50 +00:00
sockatmark.3
sockatmark.c
sourcefilter.3 use .Mt to mark up email addresses consistently (part4) 2014-06-23 08:25:03 +00:00
sourcefilter.c Clean r268867. 2014-07-19 14:34:06 +00:00
Symbol.map Add an SCTP symbol which was missed in 2015-03-28 09:08:57 +00:00
vars.c