#
b8e81c95 |
| 16-Apr-2023 |
otto <otto@openbsd.org> |
Dump (leak) info using utrace(2) and compile the code always in except for bootblocks. This way we have built-in leak detecction always (if enable by malloc flags). See man pages for details.
|
#
3938ed1e |
| 11-Nov-2018 |
bcook <bcook@openbsd.org> |
Add automatic threading initialization for libcrypto.
This implements automatic thread support initialization in libcrypto. This does not remove any functions from the ABI, but does turn them into n
Add automatic threading initialization for libcrypto.
This implements automatic thread support initialization in libcrypto. This does not remove any functions from the ABI, but does turn them into no-ops. Stub implementations of pthread_mutex_(init|lock|unlock) are provided for ramdisks.
This does not implement the new OpenSSL 1.1 thread API internally, keeping the original CRYTPO_lock / CRYPTO_add_lock functions for library locking. For -portable, crypto_lock.c can be reimplemented with OS-specific primitives as needed.
ok beck@, tb@, looks sane guenther@
show more ...
|
#
e65653d7 |
| 08-Mar-2018 |
beck <beck@openbsd.org> |
Add a stub for pthread_once, to permit libtls to use it. discussed with guenther@, ok deraadt@
|
#
fe38b55c |
| 07-May-2016 |
guenther <guenther@openbsd.org> |
Use a Thread Information Block in both single and multi-threaded programs. This stores errno, the cancelation flags, and related bits for each thread and is allocated by ld.so or libc.a. This is an
Use a Thread Information Block in both single and multi-threaded programs. This stores errno, the cancelation flags, and related bits for each thread and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable!
Make libpthread dlopen'able by moving the cancelation wrappers into libc and doing locking and fork/errno handling via callbacks that libpthread registers when it first initializes. 'errno' *must* be declared via <errno.h> now!
Clean up libpthread's symbol exports like libc.
On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec.
Testing by various, particularly sthen@ and patrick@ ok kettenis@
show more ...
|
#
d994eebb |
| 17-Oct-2015 |
guenther <guenther@openbsd.org> |
Move the last of the __DBINTERFACE_PRIVATE bits from <db.h> to libc's wrapper and eliminate the now superfluous -D option
ok kettenis@ millert@
|
#
347ad980 |
| 11-Sep-2015 |
guenther <guenther@openbsd.org> |
Blargh: unbreak after libc/Makefile.inc change
|
#
8e9406be |
| 31-Aug-2015 |
deraadt <deraadt@openbsd.org> |
add -I${LIBCSRCDIR}/hidden to handle _glibc_ churn
|
#
fba6db42 |
| 11-Jan-2014 |
deraadt <deraadt@openbsd.org> |
use NOMAN=1 for all directories
|
#
002bc5d0 |
| 08-Jan-2014 |
deraadt <deraadt@openbsd.org> |
rename SHA256_ONLY to SHA2_SMALL; changing things so that sha512 support is also pulled in
|
#
ab4f7acf |
| 04-Nov-2013 |
deraadt <deraadt@openbsd.org> |
oops, meant MACHINE_CPU not MACHINE_ARCH (matters for mips64*)
|
#
7664e64c |
| 01-Nov-2013 |
deraadt <deraadt@openbsd.org> |
Provide -I's to reach the gdtoa directory for .h files
|
#
8a8e895d |
| 28-Mar-2013 |
eric <eric@openbsd.org> |
switch to the new resolver implementation. requested by many.
|
#
9c030b0c |
| 18-Jan-2012 |
stsp <stsp@openbsd.org> |
Add support for C99 %ls, %lc, and %l[ format directives to scanf(3). Based on code from FreeBSD. Tested by myself (full release/install cycle on i386 and sparc64) and ajacoutot. Man page help from jm
Add support for C99 %ls, %lc, and %l[ format directives to scanf(3). Based on code from FreeBSD. Tested by myself (full release/install cycle on i386 and sparc64) and ajacoutot. Man page help from jmc.
show more ...
|
#
4529313b |
| 13-Oct-2010 |
deraadt <deraadt@openbsd.org> |
Put sha1.c here too, to gain savings from the -Os
|
#
38ef956d |
| 28-Jul-2010 |
stsp <stsp@openbsd.org> |
Fix fallout from the utf-8 commit (segfaults in disklabel on install media). Sorry about that. ok sthen deraadt
|
#
c9b8e388 |
| 27-Jul-2010 |
stsp <stsp@openbsd.org> |
Replace the single-byte placeholders for the multi-byte/wide-character conversion interfaces of libc (mbrtowc(3) and friends) with new implementations that internally call an API based on NetBSD's ci
Replace the single-byte placeholders for the multi-byte/wide-character conversion interfaces of libc (mbrtowc(3) and friends) with new implementations that internally call an API based on NetBSD's citrus. This allows us to support locales with multi-byte character encodings.
Provide two implementations of the citrus-based API: one based on the old single-byte placeholders for use with our existing single-byte character locales (C, ISO8859-*, KOI8, CP1251, etc.), and one that provides support for UTF-8 encoded characters (code based on FreeBSD's implementation).
Install the en_US.UTF-8 ctype locale support file, and allow the UTF-8 ctype locale to be enabled via setlocale(3) (export LC_CTYPE='en_US.UTF-8').
A lot of programs, especially from ports, will now start using UTF-8 if the UTF-8 locale is enabled. Use at your own risk, and please report any breakage. Note that ncurses-based programs cannot display UTF-8 right now, this is being worked on.
To prevent install media growth, add vfprintf(3) and mbrtowc(3) to libstubs. The mbrtowc stub was copied unchanged from its old single-byte placeholder. vfprintf.c doesn't need to be copied, just put in .PATH (hint by fgsch@).
Testing by myself, naddy, sthen, nicm, espie, armani, Dmitrij D. Czarkoff.
ok matthieu espie millert sthen nicm deraadt
show more ...
|
#
23599751 |
| 18-Nov-2009 |
guenther <guenther@openbsd.org> |
More shrinkage, a bit for ramdisks but mostly for static binaries: - wrap with #ifndef NO_LOG_BAD_DNS_RESPONSES libc code that uses p_class() and p_type() for diagnostics, then add that define to
More shrinkage, a bit for ramdisks but mostly for static binaries: - wrap with #ifndef NO_LOG_BAD_DNS_RESPONSES libc code that uses p_class() and p_type() for diagnostics, then add that define to libstub to avoid pulling in res_debug_syms.o - split rcmd() and ruserok() into separate files, as nothing uses both - split readdir_r() to its own file - split syslog_r() from syslog(), as the latter needs localtime(); many binaries no longer need to pull in all the time code after this; switch from usleep() to nanosleep() while we're at it
(The profit of analysis of -Wl,-M,--cref output)
Chops 888kB from /bin and /sbin on i386
ok deraadt@, miod@
show more ...
|
#
92d6ef54 |
| 28-Oct-2009 |
deraadt <deraadt@openbsd.org> |
Use a Makefile.inc to share all the -Os and such options we use
|
#
8c128bfb |
| 28-Oct-2009 |
guenther <guenther@openbsd.org> |
Strip the YP code from the binaries on the ramdisk by building with -UYP the six files from libc that are directly pulled in.
ok deraadt@
|
#
921eb118 |
| 17-Apr-2009 |
deraadt <deraadt@openbsd.org> |
Pull sha2.c from libc into libstubs, but compile it with -DSHA256_ONLY so that it is a lot smaller.
|
#
83dc3f48 |
| 03-Aug-2005 |
espie <espie@openbsd.org> |
libstubs stuff, not yet active.
|