diff options
author | Elliott Hughes <enh@google.com> | 2019-03-26 14:54:59 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-03-26 19:06:58 -0500 |
commit | bcb06e3244808e2ced0de2a39a348a7ddb7c54f2 (patch) | |
tree | deb7c54debabc081d3fe286ea87d30317a89f533 /lib/linestack.c | |
parent | d78f05e91bb3a87a73b1d3fad29362447ee8e1f6 (diff) | |
download | toybox-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/linestack.c')
0 files changed, 0 insertions, 0 deletions