freebsd-dev/lib/libc/db
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
..
btree Switch libc from using _sig{procmask,action,suspend} symbols, which 2015-08-29 14:25:01 +00:00
db Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
docs
hash Switch libc from using _sig{procmask,action,suspend} symbols, which 2015-08-29 14:25:01 +00:00
man dbm_delete(3) correct man page to match current behaviour. 2015-02-20 01:31:10 +00:00
mpool Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
recno Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
test
changelog
Makefile.inc Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
README
Symbol.map

#	@(#)README	8.27 (Berkeley) 9/1/94
# $FreeBSD$

This is version 1.85 of the Berkeley DB code.

For information on compiling and installing this software, see the file
PORT/README.

Newer versions of this software will periodically be made available by
anonymous ftp from ftp.cs.berkeley.edu.  An archive in compressed format
is in ucb/4bsd/db.tar.Z, or in gzip format in ucb/4bsd/db.tar.gz.  If
you'd like to receive announcements of future releases of this software,
send email to the contact address below.

Email questions may be addressed to Keith Bostic at bostic@cs.berkeley.edu.

============================================
Distribution contents:

Makefile.inc	Ignore this, it's the 4.4BSD subsystem Makefile.
PORT		The per OS/architecture directories to use to build
		libdb.a, if you're not running 4.4BSD.  See the file
		PORT/README for more information.
README		This file.
btree		The B+tree routines.
changelog	List of changes, per version.
db		The dbopen(3) interface routine.
docs		Various USENIX papers, and the formatted manual pages.
hash		The extended linear hashing routines.
man		The unformatted manual pages.
mpool		The memory pool routines.
recno		The fixed/variable length record routines.
test		Test package.