freebsd-skq/lib
kib 5144f67b39 Carefully update stack guard bytes inside __guard_setup().
This is necessary to make sure that functions that can have stack
protection are not used to update the stack guard. If not, the stack
guard check would fail when it shouldn't.

guard_setup() calls elf_aux_info(), which, in turn, calls memcpy() to
update stack_chk_guard.  If either elf_aux_info() or memcpy() have
stack protection enabled, __stack_chk_guard will be modified before
returning from them, causing the stack protection check to fail.

This change uses a temporary buffer to delay changing
__stack_chk_guard until elf_aux_info() returns.

Submitted by:	Luis Pires
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D15173
2018-04-24 15:59:39 +00:00
..
atf
clang Recommit r332501, with an additional upstream fix for "Cannot lower 2018-04-20 18:20:55 +00:00
csu
lib80211
libalias
libarchive MFV r328323,328324: 2018-01-24 14:24:17 +00:00
libauditd
libbegemot
libblacklist
libblocksruntime
libbluetooth
libbsdstat
libbsm
libbsnmp
libbz2
libc Carefully update stack guard bytes inside __guard_setup(). 2018-04-24 15:59:39 +00:00
libc_nonshared
libc++
libc++experimental
libcalendar
libcam
libcapsicum
libcasper The gids argument can be declared as const. 2018-03-18 19:50:32 +00:00
libclang_rt
libcom_err
libcompat libcompat: Use %hu for unsigned shorts. 2018-02-10 14:45:29 +00:00
libcompiler_rt The routines defined in comparedf2 and comparesf2 are defined in libc 2018-02-02 05:04:43 +00:00
libcrypt
libcuse
libcxxrt libcxxrt: Move mangled symbols out of extern "C++" in Version.map 2018-01-23 22:41:13 +00:00
libdevctl
libdevdctl zfsd: Allow zfsd to work on any type of GEOM provider 2018-02-14 23:52:39 +00:00
libdevinfo
libdevstat
libdl Add libdl to clibs package 2018-03-29 19:43:29 +00:00
libdpv Bump copyright following recent changes 2018-03-14 20:55:28 +00:00
libdwarf
libedit libedit: sort the Makefile in line with NetBSD's version. 2018-01-29 22:38:23 +00:00
libefivar libefivar: use standard 2-Clause FreeBSD license 2018-03-02 15:12:18 +00:00
libelf
libelftc
libevent
libexecinfo
libexpat
libfetch
libfigpar Bump copyright following recent changes 2018-03-14 20:55:28 +00:00
libgcc_eh
libgcc_s Fix build by escaping a line break. 2018-01-31 21:41:42 +00:00
libgeom
libgpio
libgssapi
libiconv_modules iconv: adding missing break 2018-01-21 21:09:08 +00:00
libifconfig Finish removing FDDI and tokenring media support. 2018-04-23 21:10:33 +00:00
libipsec Update pfkey_open() function to set socket's write buffer size to 2018-03-11 19:26:34 +00:00
libipt Add new shared library -- libipt. 2018-03-21 14:37:04 +00:00
libjail If a jail parameter isn't found, try loading a related kernel module. 2018-03-21 23:50:46 +00:00
libkiconv
libkvm
libldns
liblzma
libmagic LIB32: Avoid linking in unneeded (and invalid lib32) libz for libmagic build tool. 2018-03-09 18:51:24 +00:00
libmd libmd: Remove trailing whitespace from mdXhl.c 2018-04-17 17:23:47 +00:00
libmemstat Implement NUMA support in uma(9) and malloc(9). Allocations from specific 2018-01-12 23:25:05 +00:00
libmilter
libmp
libmt
libnandfs
libnetbsd libnetbsd: Make the function declaration of efopen() match the definition 2018-01-16 21:43:21 +00:00
libnetgraph
libngatm
libnv
libopenbsd
libopencsd Add new shared library -- libopencsd. 2018-04-04 14:31:56 +00:00
libopie
libpam
libpathconv
libpcap
libpe
libpjdlog
libpmc Fix pmcstat exit from kernel introduced by r325275. 2018-01-17 16:41:22 +00:00
libpmcstat Fix bug: increment the value of pmcstat_npmcs instead of moving pointer 2018-01-16 09:31:01 +00:00
libproc
libprocstat
libradius
libregex libregex: Mark gnuext test as an expected fail 2018-01-29 14:00:33 +00:00
librpcsec_gss
librpcsvc
librss
librt
librtld_db
libsbuf
libsdp
libsm
libsmb
libsmdb
libsmutil
libsqlite3
libstdbuf
libstdthreads
libsysdecode Share Linux errno table with libsysdecode 2018-03-22 12:58:49 +00:00
libtacplus
libtelnet
libthr Ensure thread library is initialized in pthread_testcancel(). 2018-03-21 21:13:26 +00:00
libthread_db
libucl
libufs Don't put multiple names on a single .Nm line. This fixes apropos(1) 2018-04-17 09:05:46 +00:00
libugidfw
libulog
libunbound
libusb Allow the libusb20_dev_get_port_path() function to be called when the 2018-03-23 09:40:41 +00:00
libusbhid
libutil open.3: Use .Fa where appropriate 2018-03-04 18:00:32 +00:00
libvgl
libvmmapi Add the ability to control the CPU topology of created VMs 2018-04-08 19:24:49 +00:00
libwrap
libxo
liby
libypclnt
libz
libzstd lib(private)zstd: Fix riscv build 2018-03-18 03:42:57 +00:00
msun Replace SOFTFLOAT with __riscv_float_abi_*. 2018-04-19 20:36:15 +00:00
ncurses
tests
Makefile Add new shared library -- libopencsd. 2018-04-04 14:31:56 +00:00
Makefile.inc