freebsd-dev/lib/libc/db/btree
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
..
bt_close.c
bt_conv.c
bt_debug.c Minor changes from Berkeley DB 1.86 and further improvements from OpenBSD. 2009-03-28 07:31:02 +00:00
bt_delete.c Style changes (including additional casts to shut up warnings). This 2009-03-04 00:58:04 +00:00
bt_get.c
bt_open.c Switch libc from using _sig{procmask,action,suspend} symbols, which 2015-08-29 14:25:01 +00:00
bt_overflow.c Our realloc(3) and reallocf(3) can handle NULL, which turns it into a 2009-03-05 00:57:01 +00:00
bt_page.c Minor changes from Berkeley DB 1.86 and further improvements from OpenBSD. 2009-03-28 07:31:02 +00:00
bt_put.c Let __bt_put() accept the R_SETCURSOR flag, as stated in the dbopen(3) manpage. 2014-03-06 07:44:45 +00:00
bt_search.c
bt_seq.c Style changes (including additional casts to shut up warnings). This 2009-03-04 00:58:04 +00:00
bt_split.c Fix clang warnings. 2011-06-18 13:56:33 +00:00
bt_utils.c Our realloc(3) and reallocf(3) can handle NULL, which turns it into a 2009-03-05 00:57:01 +00:00
btree.h Style changes (including additional casts to shut up warnings). This 2009-03-04 00:58:04 +00:00
extern.h
Makefile.inc Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00