opnsense-src/lib/libc
Val Packett c7a8502bdf open.2: describe O_RESOLVE_BENEATH errors correctly
The behavior is the same as in capability mode, it does not actually
return EINVAL for absolute lookups:

    openat(AT_FDCWD,"/tmp/test",O_RDONLY|O_DIRECTORY,00) = 3 (0x3)
    openat(3,"../../",O_RDONLY|0x800000,00)          ERR#93 'Capabilities insufficient'
    openat(3,"/etc/passwd",O_RDONLY|0x800000,00)     ERR#93 'Capabilities insufficient'

Fixes:          1f305be43 ("Document {O,AT}_RESOLVE_BENEATH...")
Reviewed by:    kib, pauamma (manpages), emaste
Sponsored by:   https://www.patreon.com/valpackett
Pull Request:	https://github.com/freebsd/freebsd-src/pull/680
Differential Revision: https://reviews.freebsd.org/D38675
2023-03-02 15:58:00 -05:00
..
aarch64 libc: Fix longjmp/_longjmp(buf, 0) for AArch64 and RISC-V 2023-01-09 18:34:43 +00:00
amd64 sys/param.h: Add _WANT_P_OSREL 2023-02-15 02:43:18 +02:00
arm libc: Simplify soft-float on 32-bit arm 2023-02-14 09:53:08 -07:00
capability Remove "All Rights Reserved" from FreeBSD Foundation libc copyrights 2022-07-21 09:53:31 -04:00
compat-43 libc: Add HISTORY sections to the manual pages 2022-05-05 18:46:32 +02:00
db libc: Add HISTORY sections to the manual pages 2022-05-05 18:46:32 +02:00
gdtoa libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
gen man 3 daemon: remove double negation 2023-02-27 08:40:08 -07:00
gmon mcount: tidy up ANSIfication 2018-10-20 22:39:35 +00:00
i386 libc: Remove _get_tp() and _set_tp(). 2021-12-09 13:23:26 -08:00
iconv iconvlist(3): fix count argument type 2023-02-23 15:22:12 -06:00
include cpuset: Add compat shim to the sched_affinity functions 2023-02-15 12:23:15 +03:00
inet libc: fix cases of undefined behavior. 2018-08-07 15:24:19 +00:00
isc SPDX: more ISC-related files. 2017-12-08 17:52:53 +00:00
locale xlocale: garbage collect references to strtoq_l/strtouq_l 2023-03-02 15:53:29 -05:00
md
nameser Bounds check again after advancing cp, otherwise we have a possible 2019-09-05 19:35:30 +00:00
net inet6_opt_init.3: Some enhancements 2023-02-25 14:11:27 +01:00
nls Implement strerror_l(). 2020-12-16 09:02:09 +00:00
posix1e acl_delete_entry(): remove write-only variable 2021-11-29 17:39:51 +02:00
powerpc libc: Remove _get_tp() and _set_tp(). 2021-12-09 13:23:26 -08:00
powerpc64 libc: Remove _get_tp() and _set_tp(). 2021-12-09 13:23:26 -08:00
powerpcspe [PowerPC] [PowerPCSPE] Fix multiple issues in fpsetmask(). 2021-02-28 21:11:29 -06:00
quad qdivrem: Predict division by zero as false. 2022-10-04 13:51:06 +02:00
regex libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
resolv resolver(3): Fix a typo in a source code comment 2022-04-09 09:14:29 +02:00
riscv libc: Fix longjmp/_longjmp(buf, 0) for AArch64 and RISC-V 2023-01-09 18:34:43 +00:00
rpc rpcb_clnt.c: Do not force use of UDP 2022-11-13 12:16:06 -08:00
secure libc: ssp: remove some GCC 4.2 remnants 2023-02-09 22:11:54 -06:00
softfloat libc: use standard LF line endings, not CRLF 2021-04-03 16:20:07 -04:00
stdio libc: Fix size range check in setvbuf 2022-10-04 12:03:56 -04:00
stdlib xlocale: garbage collect references to strtoq_l/strtouq_l 2023-03-02 15:53:29 -05:00
stdtime tzcode: Move configuration into separate header. 2023-01-11 11:39:12 +01:00
string Fix truncation when ssize_t is larger than MAX_INT 2023-02-04 21:14:14 -07:00
sys open.2: describe O_RESOLVE_BENEATH errors correctly 2023-03-02 15:58:00 -05:00
tests libc: Add tests for strchrnul(3). 2023-02-02 15:45:45 +01:00
uuid uuid(3): Document return values 2021-11-19 03:58:34 -05:00
x86 libc: Fall back to rdtsc when using pvclock and rdtscp is not available 2023-02-03 11:47:11 -05:00
xdr xdr: store chars consistently 2023-01-12 18:16:17 +00:00
yp Increase the size of the send and receive buffers for YP client rpc 2019-09-16 06:42:01 +00:00
libc.ldscript
libc_nossp.ldscript
Makefile libc: Simplify soft-float on 32-bit arm 2023-02-14 09:53:08 -07:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Update libssp paths in various Makefile.depend* files 2020-01-06 18:15:55 +00:00
Versions.def Create namespace for the symbols added during 14-CURRENT cycle. 2021-07-15 19:40:28 +03:00