aboutsummaryrefslogtreecommitdiff
path: root/lib/libutil++
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2026-06-23 20:43:53 +0000
committerMark Johnston <markj@FreeBSD.org>2026-06-30 02:32:57 +0000
commit278ebff1ee5148d5b5f8a39bcb95791f8b12603d (patch)
treeb758a767b02543ef1052f11a2e948f420c0e4c54 /lib/libutil++
parent64ce87df6876219fc71afc53c9a3b0a2d2225c5d (diff)
unlinkat: Pass flags down to the work functions
The unlinkat(2) and funlinkat(2) system calls were ignoring AT_RESOLVE_BENEATH. Also pass pathseg through instead of assuming it's UIO_USERSPACE. Add some tests which make sure that AT_RESOLVE_BENEATH is handled properly by various system calls. Approved by: so Security: FreeBSD-SA-26:42.unlinkat Security: CVE-2026-49421 Reported by: Yuxiang Yang, Yizhou Zhao, Ao Wang, Xuewei Feng, Qi Li, and Ke Xu from Tsinghua University using GLM-5.1 from Z.ai Reviewed by: kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D57790
Diffstat (limited to 'lib/libutil++')
0 files changed, 0 insertions, 0 deletions