mirror of
https://github.com/systemd/systemd
synced 2025-10-06 00:13:24 +02:00
xattr-util: try new *xattrat() family syscalls first
Added in6140be90ec
However, when O_PATH fds are encountered we'd have to go by /proc/self/fd/ still, since the kernel people are reluctant to make the new syscalls work with them (https://lore.kernel.org/linux-fsdevel/20250206-steril-raumplanung-733224062432@brauner/) Hence getxattrat() and listxattrat() are not employed. While at it, remove the discrepancy between path being NULL and empty - I don't grok the "security issue" claimed earlier, but nowadays even the kernel treats the two as identical:e896474fe4
This commit is contained in:
Reference in New Issue
Block a user