freebsd-dev/libexec
Konstantin Belousov 91880e07f6 rtld: do not allow both dynamic DTV index and static TLS offset
If we are allocating static offset for an object with dynamic index,
return failure.  In the opposite case, if dynamic index is requested for
statically allocated TLS area, directly use the offset instead of
setting the index.

Taken from NetBSD Joerg Sonnenberger change for src/libexec/ld.elf_so/tls.c
rev. 1.18.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2023-06-05 22:33:18 +03:00
..
atf Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
atrun spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
blacklistd-helper DIRDEPS_BUILD: Connect new directories and update dependencies. 2016-06-03 19:25:30 +00:00
bootpd Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
comsat Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
dma dma: install a simple example for the auth.conf file 2023-05-15 09:20:14 +02:00
fingerd Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
flua flua: chown(2) binding, fix bad copy/paste 2022-11-25 09:05:40 +01:00
ftpd Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
getty Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
hyperv pkgbase: Create a FreeBSD-hyperv package 2021-09-07 10:24:54 +02:00
mail.local Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
makewhatis.local makewhatis: do not try to operate on read-only mounted directories 2018-10-27 17:15:58 +00:00
mknetid Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
phttpget spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
pppoed spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
rbootd Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
rc Revert "When stopping powerd, set the CPU frequency back to its maximum value" 2023-05-25 09:40:26 -04:00
revnetgroup Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
rpc.rquotad Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
rpc.rstatd Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
rpc.rusersd Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
rpc.rwalld Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
rpc.sprayd spdx: The BSD-2-Clause-NetBSD identifier is obsolete, drop -NetBSD 2023-05-12 10:44:04 -06:00
rtld-elf rtld: do not allow both dynamic DTV index and static TLS offset 2023-06-05 22:33:18 +03:00
rtld-elf32 libcompat: Correct rtld MLINKS 2019-11-12 22:31:59 +00:00
save-entropy spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
smrsh Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
talkd spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
tcpd Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
tftp-proxy Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
tftpd spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
ulog-helper spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
ypxfr Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
Makefile Remove portsnap(8) 2023-04-22 18:12:37 -07:00
Makefile.inc Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00