aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/link.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-05-04 12:56:16 -0500
committerRob Landley <rob@landley.net>2015-05-04 12:56:16 -0500
commit8565668d785d25f6dfd2dd19cece502cedf178b6 (patch)
treeb38a7f663fe71c27ee1ecd2cdf50cbbb4463b4dc /toys/posix/link.c
parent483cfdabaf6ab282987a0a21d6177c3daa95dc12 (diff)
downloadtoybox-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/posix/link.c')
0 files changed, 0 insertions, 0 deletions