chiark / gitweb /
xattr-util: support AT_EMPTY_PATH in fgetxattrat_fake()
authorLennart Poettering <lennart@poettering.net>
Tue, 20 Feb 2018 11:46:14 +0000 (12:46 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:59:00 +0000 (07:59 +0200)
commit4c5943104751a678b7ad886131806dd964618d2f
tree78149e8eca079f626f869f5d8f6d6919aa387782
parent76c35addb83f46fdb054feb968b3f1d7f1f7dae4
xattr-util: support AT_EMPTY_PATH in fgetxattrat_fake()

Let's expose fstatat() like behaviour if AT_EMPTY_PATH is defined.

Also, check the specified flags returning EINVAL on the flags we don't
emulate.
src/basic/xattr-util.c