aboutsummaryrefslogtreecommitdiff
path: root/lib/portability.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-03-26 14:54:59 -0700
committerRob Landley <rob@landley.net>2019-03-26 19:06:58 -0500
commitbcb06e3244808e2ced0de2a39a348a7ddb7c54f2 (patch)
treedeb7c54debabc081d3fe286ea87d30317a89f533 /lib/portability.h
parentd78f05e91bb3a87a73b1d3fad29362447ee8e1f6 (diff)
downloadtoybox-bcb06e3244808e2ced0de2a39a348a7ddb7c54f2.tar.gz
xabspath: use O_PATH.
SELinux on Android is unhappy if you try to read "/": avc: denied { read } for name="/" dev="dm-3" ino=2 scontext=u:r:hal_dumpstate_impl:s0 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 O_PATH seems more intention-revealing anyway.
Diffstat (limited to 'lib/portability.h')
0 files changed, 0 insertions, 0 deletions