aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/rm.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-05-19 14:53:06 -0500
committerRob Landley <rob@landley.net>2015-05-19 14:53:06 -0500
commitb031a3bc269e9cdb7bf307a757896b6ec7c4b3fe (patch)
tree44429481221d9f344923866d5c3a955214c504d1 /toys/posix/rm.c
parent0cb5b70fa4ef093b08e59db813e73f3be6ecef4b (diff)
downloadtoybox-b031a3bc269e9cdb7bf307a757896b6ec7c4b3fe.tar.gz
Adapted patch from José Bollo to do the "tonight we're gonna api like
it's 1999 and every path ever is from cwd or root" api versions for sockets and as a fallback of the open fails. There are still some holes (symlink to socket with -L will give you info about the symlink, not the socket, and symlink to a file you can't open will give you info about the symlink, not the file) but the correct fix is to make O_PATH work in the kernel for the LSM functions. (If we can read this data by path, we should be able to read it by O_PATH. We should not need two codepaths for this.)
Diffstat (limited to 'toys/posix/rm.c')
0 files changed, 0 insertions, 0 deletions