NetBSD/lib
christos 826ddf7ef5 PR/40411: Hisashi T Fujinaka: standalone-tcsh dumps core when tab completing
The new rune code abuses __UNCONST to lazily initialize _RuneLocale. If
that happens to be the _DefaultRuneLocale which is const, the program will
core-dump because it will attempt to write to read-only memory. Catch this
and clone a copy of the locale and return it. The reason we don't see
everything core-dumping is because our shared library code probably loads
the text segment COW so it works (Is there an mprotect missing somewhere?).
But on statically linked binaries this is not the case and we die.

XXX[1]: Vet the code so that we are sure that there is no more of that
        happening trying to get rid of much of the __UNCONST'ing.
XXX[2]: This needs to be fixed for 5.0 and all related fixes.
XXX[3]: There is one place in the code where _DefaultRuneLocale is treated
	specially, does the patch break things?
2009-01-16 21:12:11 +00:00
..
csu Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC. 2008-08-29 00:02:21 +00:00
i18n_module bump shared libraries. 2009-01-11 03:07:47 +00:00
libarch build libi386 / libsparc in 32 bit mode on amd64 / sparc64, respectively. 2008-10-26 07:05:33 +00:00
libasn1 bump shared libraries. 2009-01-11 03:07:47 +00:00
libatf-c Add a CLEANFILES line to remove the generated file defs.h 2008-07-20 14:36:52 +00:00
libatf-c++ Remove the libatf library and add libatf-c and libatf-c++; per import of 2008-05-01 15:33:33 +00:00
libbind9 bump shared libraries. 2009-01-11 03:07:47 +00:00
libbluetooth bump shared libraries. 2009-01-11 03:07:47 +00:00
libbsdmalloc
libbz2 Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC. 2008-08-29 00:02:21 +00:00
libc PR/40411: Hisashi T Fujinaka: standalone-tcsh dumps core when tab completing 2009-01-16 21:12:11 +00:00
libcom_err bump shared libraries. 2009-01-11 03:07:47 +00:00
libcompat Mention the word "regexp" and the fact that this inteface is obsolete 2008-09-08 22:14:11 +00:00
libcrypt bump shared libraries. 2009-01-11 03:07:47 +00:00
libcrypto bump shared libraries. 2009-01-11 03:07:47 +00:00
libcrypto_idea
libcrypto_mdc2
libcrypto_rc5
libcurses bump shared libraries. 2009-01-11 03:07:47 +00:00
libdes bump shared libraries. 2009-01-11 03:07:47 +00:00
libdns bump shared libraries. 2009-01-11 03:07:47 +00:00
libedit - insert a space after the recognized string if it was an exact match 2009-01-11 15:00:23 +00:00
libevent bump shared libraries. 2009-01-11 03:07:47 +00:00
libform bump shared libraries. 2009-01-11 03:07:47 +00:00
libgssapi bump shared libraries. 2009-01-11 03:07:47 +00:00
libhdb bump shared libraries. 2009-01-11 03:07:47 +00:00
libheimntlm bump shared libraries. 2009-01-11 03:07:47 +00:00
libhx509 bump shared libraries. 2009-01-11 03:07:47 +00:00
libintl bump shared libraries. 2009-01-11 03:07:47 +00:00
libipsec bump shared libraries. 2009-01-11 03:07:47 +00:00
libisc bump shared libraries. 2009-01-11 03:07:47 +00:00
libisccc bump shared libraries. 2009-01-11 03:07:47 +00:00
libisccfg bump shared libraries. 2009-01-11 03:07:47 +00:00
libiscsi bump shared libraries. 2009-01-11 03:07:47 +00:00
libkadm5clnt bump shared libraries. 2009-01-11 03:07:47 +00:00
libkadm5srv bump shared libraries. 2009-01-11 03:07:47 +00:00
libkafs bump shared libraries. 2009-01-11 03:07:47 +00:00
libkrb5 bump shared libraries. 2009-01-11 03:07:47 +00:00
libkvm bump shared libraries. 2009-01-11 03:07:47 +00:00
libl
liblwres bump shared libraries. 2009-01-11 03:07:47 +00:00
libm Fix a little lint. 2008-09-28 18:54:55 +00:00
libmagic bump shared libraries. 2009-01-11 03:07:47 +00:00
libmenu bump shared libraries. 2009-01-11 03:07:47 +00:00
libopenpgpsdk Reachover Makefile for libopenpgpsdk 2009-01-12 23:03:28 +00:00
libossaudio bump shared libraries. 2009-01-11 03:07:47 +00:00
libp2k bump shared libraries. 2009-01-11 03:07:47 +00:00
libpam bump shared libraries. 2009-01-11 03:07:47 +00:00
libpcap bump shared libraries. 2009-01-11 03:07:47 +00:00
libpci bump shared libraries. 2009-01-11 03:07:47 +00:00
libpmc bump shared libraries. 2009-01-11 03:07:47 +00:00
libposix use libc/libcincludes.mk. 2008-10-26 07:28:49 +00:00
libprop bump shared libraries. 2009-01-11 03:07:47 +00:00
libpthread fix __sigtimedwait50 2009-01-13 01:50:04 +00:00
libpthread_dbg bump shared libraries. 2009-01-11 03:07:47 +00:00
libpuffs bump shared libraries. 2009-01-11 03:07:47 +00:00
libradius bump shared libraries. 2009-01-11 03:07:47 +00:00
librefuse bump shared libraries. 2009-01-11 03:07:47 +00:00
libresolv bump shared libraries. 2009-01-11 03:07:47 +00:00
librmt remove clause #3 from my license where there are no other 2008-05-29 14:51:25 +00:00
libroken bump shared libraries. 2009-01-11 03:07:47 +00:00
librpcsvc bump shared libraries. 2009-01-11 03:07:47 +00:00
librt bump shared libraries. 2009-01-11 03:07:47 +00:00
librump Install rump libraries and utilities to the base system and remove the 2008-07-29 13:17:40 +00:00
librumpnet build librumpnet 2008-10-16 09:44:12 +00:00
librumpuser Install rump libraries and utilities to the base system and remove the 2008-07-29 13:17:40 +00:00
librumpvfs Split vfs out of rumpkern into rumpvfs. Non-fs rumps no longer 2008-11-19 14:10:48 +00:00
libsdp bump shared libraries. 2009-01-11 03:07:47 +00:00
libskey bump shared libraries. 2009-01-11 03:07:47 +00:00
libsl bump shared libraries. 2009-01-11 03:07:47 +00:00
libss bump shared libraries. 2009-01-11 03:07:47 +00:00
libssh bump shared libraries. 2009-01-11 03:07:47 +00:00
libssl bump shared libraries. 2009-01-11 03:07:47 +00:00
libtelnet bump shared libraries. 2009-01-11 03:07:47 +00:00
libterm
libukfs Update per rump_sys call __RENAME(). 2009-01-13 22:33:10 +00:00
libusbhid
libutil merge christos-time_t 2009-01-11 02:57:17 +00:00
libvers support MAKEVERBOSE 2008-09-03 07:12:28 +00:00
libwrap bump shared libraries. 2009-01-11 03:07:47 +00:00
liby
libz
bumpversion
checkoldver Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
checkver Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
checkvers Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
Makefile LIBDPLIBS on librumpvfs 2008-11-27 16:14:46 +00:00
Makefile.inc