diff options
| author | 2011-01-29 18:43:42 +0530 | |
|---|---|---|
| committer | 2011-03-15 17:16:05 -0400 | |
| commit | 11a7b371b64ef39fc5fb1b6f2218eef7c4d035e3 (patch) | |
| tree | 7d2059c9570e24c7d742eedfeedf19743d05a744 /net/unix/af_unix.c | |
| parent | Allow passing O_PATH descriptors via SCM_RIGHTS datagrams (diff) | |
| download | linux-rng-11a7b371b64ef39fc5fb1b6f2218eef7c4d035e3.tar.xz linux-rng-11a7b371b64ef39fc5fb1b6f2218eef7c4d035e3.zip | |
fs: allow AT_EMPTY_PATH in linkat(), limit that to CAP_DAC_READ_SEARCH
We don't want to allow creation of private hardlinks by different application
using the fd passed to them via SCM_RIGHTS. So limit the null relative name
usage in linkat syscall to CAP_DAC_READ_SEARCH
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
