commit | 11a7b371b64ef39fc5fb1b6f2218eef7c4d035e3 | [log] [tgz] |
---|---|---|
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | Sat Jan 29 18:43:42 2011 +0530 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Mar 15 17:16:05 2011 -0400 |
tree | 7d2059c9570e24c7d742eedfeedf19743d05a744 | |
parent | 326be7b484843988afe57566b627fb7a70beac56 [diff] |
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>