From: Aneesh Kumar K.V Date: Sat, 29 Jan 2011 13:13:42 +0000 (+0530) Subject: fs: allow AT_EMPTY_PATH in linkat(), limit that to CAP_DAC_READ_SEARCH X-Git-Tag: v2.6.39-rc1~514^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11a7b371b64ef39fc5fb1b6f2218eef7c4d035e3;p=pandora-kernel.git 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 --- Reading git-diff-tree failed