[Toybox] [PATCH] ls.c: just use getxattr()/lgetxattr().

enh enh at google.com
Wed Jan 8 14:25:33 PST 2020


bionic works around the fact that you can't use an O_PATH fd with
fgetxattr(2), but glibc doesn't.

Fixes https://github.com/landley/toybox/issues/158.
---
 toys/posix/ls.c | 28 ++++++----------------------
 1 file changed, 6 insertions(+), 22 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ls.c-just-use-getxattr-lgetxattr.patch
Type: text/x-patch
Size: 2145 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20200108/26f5b4c3/attachment-0002.bin>


More information about the Toybox mailing list