diff options
author | Elliott Hughes <enh@google.com> | 2015-05-04 12:56:16 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-05-04 12:56:16 -0500 |
commit | 8565668d785d25f6dfd2dd19cece502cedf178b6 (patch) | |
tree | b38a7f663fe71c27ee1ecd2cdf50cbbb4463b4dc /toys/pending/tcpsvd.c | |
parent | 483cfdabaf6ab282987a0a21d6177c3daa95dc12 (diff) | |
download | toybox-8565668d785d25f6dfd2dd19cece502cedf178b6.tar.gz |
Implement SELinux ls -Z support.
This patch uses lgetfilecon rather than fgetfilecon because
dirtree_parentfd always seems to return -1 in this function. If/when
the SMACK code is fixed to work with dirtree_parentfd, I'll send a
matching patch for SELinux.
In the meantime, this works, and although ls -h is still on my to-do
list, I think this patch is sufficient to let us replace toolbox ls
with toybox ls.
Diffstat (limited to 'toys/pending/tcpsvd.c')
0 files changed, 0 insertions, 0 deletions