1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-18 15:30:21 +00:00
freebsd/lib
Konstantin Belousov d549ead6a9 Only assign the environ in the startup code when environ is NULL.
Preloaded library could have changed the environment, and
unconditional assingment to the environ undoes the customization.
The binaries needs to be recompiled to get the fix.

Move the common code to set up environ and __progname into the helper.
Note that ia64 possibly not fixed, due to it still using old csu.

Reported and tested by:	John Hein <jhein@symmetricom.com>
Reviewed by:	kan, scf
Approved by:	secteam (simon)
MFC after:	2 weeks
2013-01-07 17:58:27 +00:00
..
atf Remove -L<path> from LDADD, it doesn't belong there. 2012-11-07 00:23:51 +00:00
bind Re-disable GSSAPI, which does not build on several archs. 2012-12-07 16:05:04 +00:00
clang Upgrade our copy of llvm/clang to 3.2 release. 2012-12-23 13:04:00 +00:00
csu Only assign the environ in the startup code when environ is NULL. 2013-01-07 17:58:27 +00:00
libalias
libarchive Backport NFSv4 ACL fix from libarchive master branch. 2012-07-30 14:47:35 +00:00
libauditd
libbegemot
libblocksruntime
libbluetooth
libbsm
libbsnmp Add missing DPADD 2013-01-01 18:29:25 +00:00
libbz2
libc Silence a clang warning by telling it we are only interested in left 2013-01-06 00:49:06 +00:00
libc++ Fix broken macro checking in the libc++ Makefile, introduced in r241909. 2012-11-02 12:18:38 +00:00
libcalendar
libcam
libcom_err
libcompat
libcompiler_rt Get libcompiler-rt and libgcc building on ARM with clang. 2012-12-18 07:26:55 +00:00
libcrypt Simple unit-tests for libcrypt, to show how easy it is. 2012-11-07 22:03:59 +00:00
libcxxrt
libdevinfo
libdevstat New devstat metrics for devstat_compute_statistics(): 2012-12-15 18:19:48 +00:00
libdwarf remove duplicate semicolons where possible. 2012-10-22 03:00:37 +00:00
libedit libedit: bind the correct command when using "bind -k". 2013-01-01 19:20:51 +00:00
libefi
libelf Fix warnings found by -Wmising-variable-declarations. 2012-10-19 05:43:38 +00:00
libexpat
libfetch Fix weird indentation. 2012-11-16 12:31:43 +00:00
libgeom Improve libgeom XML parsing error handling. 2012-10-26 12:46:33 +00:00
libgpib
libgssapi
libiconv
libiconv_modules
libipsec remove redundant yyparse declarations 2012-12-05 20:28:44 +00:00
libipx
libjail Fix some memory allocation errors: 2012-10-04 19:07:05 +00:00
libkiconv
libkse
libkvm kvm_getprocs: gracefully handle errors from kvm_deadprocs 2012-10-06 20:16:04 +00:00
liblzma
libmagic r235638 is not the clean way to add support for building on ancient FreeBSD 2012-09-11 22:38:33 +00:00
libmandoc Merge mandoc from vendor into contrib and provide the necessary Makefile glue. 2012-10-19 22:21:01 +00:00
libmd
libmemstat Const-ify the zone name argument to uma_zcreate(9). 2012-10-26 17:51:05 +00:00
libmilter
libmp
libnandfs
libncp
libnetbsd Add libnetbsd, a thin compatibility layer intended to allow a limited 2012-12-21 20:37:38 +00:00
libnetgraph Fix socket calls on error post-r243965. 2012-12-21 15:54:13 +00:00
libngatm
libopie
libpam remove duplicate semicolons where possible. 2012-10-22 03:00:37 +00:00
libpcap MFV: libpcap 1.3.0. 2012-10-05 18:42:50 +00:00
libpmc Fix a few warnings from newer clang 3.2 in libpmc, about comparing enum 2012-11-05 18:49:21 +00:00
libproc Fix libproc test case to work with clang premature optimization 2012-12-26 05:11:48 +00:00
libprocstat Disconnect non-MPSAFE SMBFS from the build in preparation for dropping 2012-10-18 12:04:56 +00:00
libradius Fix build: reflect the increased field number. 2012-12-07 01:36:53 +00:00
librpcsec_gss Fix warnings found by -Wmising-variable-declarations. 2012-10-19 05:43:38 +00:00
librpcsvc
librt
librtld_db
libsbuf
libsdp
libsm
libsmb
libsmdb
libsmutil
libstand Move the 64-bit _setjmp to lib/libstand. 2012-12-21 15:15:35 +00:00
libstdbuf Remove WARNS=6 lines. 2012-10-18 15:39:29 +00:00
libstdthreads
libtacplus
libtelnet
libthr In suspend_common(), don't wait for a thread which is in creation, because 2012-08-27 03:09:39 +00:00
libthread_db Fix warnings found by -Wmising-variable-declarations. 2012-10-19 05:43:38 +00:00
libufs
libugidfw
libulog
libusb Add support for streams to LibUSB v2.0. 2012-08-13 18:10:52 +00:00
libusbhid Restore handling of the third argument (id) of hid_start_parse(), same as 2012-09-20 18:56:27 +00:00
libutil Simplify pointing dst after the end of all the gr_mem pointers in newgr 2012-12-28 20:44:10 +00:00
libvgl
libwrap
liby
libypclnt
libz MFV: Update zlib to 1.2.7. 2012-06-21 21:47:08 +00:00
msun Only define isnan, isnanf, __isnan and __isnanf in libc.so, not in 2012-11-10 21:22:10 +00:00
ncurses
Makefile With the old sade removed, libdisk is no longer used by anything in HEAD 2012-12-30 16:28:06 +00:00
Makefile.inc