freebsd-nq/lib
Konstantin Belousov 989b861f5c 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
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
libclang_rt
libcom_err
libcompat
libcompiler_rt
libcrypt
libcuse
libcxxrt
libdevctl
libdevdctl
libdevinfo
libdevstat
libdl Add libdl to clibs package 2018-03-29 19:43:29 +00:00
libdpv
libdwarf
libedit
libefivar
libelf
libelftc
libevent
libexecinfo
libexpat
libfetch
libfigpar
libgcc_eh
libgcc_s
libgeom
libgpio
libgssapi
libiconv_modules
libifconfig Finish removing FDDI and tokenring media support. 2018-04-23 21:10:33 +00:00
libipsec
libipt
libjail
libkiconv
libkvm
libldns
liblzma
libmagic
libmd libmd: Remove trailing whitespace from mdXhl.c 2018-04-17 17:23:47 +00:00
libmemstat
libmilter
libmp
libmt
libnandfs
libnetbsd
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
libpmcstat
libproc
libprocstat
libradius
libregex
librpcsec_gss
librpcsvc
librss
librt
librtld_db
libsbuf
libsdp
libsm
libsmb
libsmdb
libsmutil
libsqlite3
libstdbuf
libstdthreads
libsysdecode
libtacplus
libtelnet
libthr
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
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
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