diff options
| author | NeilBrown <[email protected]> | 2015-03-23 02:37:39 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2015-05-11 02:18:29 +0000 |
| commit | 37882db0546c759ff75b561c188539ac96fd0bfe (patch) | |
| tree | 2bf5152d8ee7963d5d46d9fe25c1cb3c10be29c6 /security/selinux/hooks.c | |
| parent | logfs: fix a pagecache leak for symlinks (diff) | |
| download | kernel-37882db0546c759ff75b561c188539ac96fd0bfe.tar.gz kernel-37882db0546c759ff75b561c188539ac96fd0bfe.zip | |
SECURITY: remove nameidata arg from inode_follow_link.
No ->inode_follow_link() methods use the nameidata arg, and
it is about to become private to namei.c.
So remove from all inode_follow_link() functions.
Signed-off-by: NeilBrown <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
| -rw-r--r-- | security/selinux/hooks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 7dade28affba..801622947282 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -2861,7 +2861,7 @@ static int selinux_inode_readlink(struct dentry *dentry) return dentry_has_perm(cred, dentry, FILE__READ); } -static int selinux_inode_follow_link(struct dentry *dentry, struct nameidata *nameidata) +static int selinux_inode_follow_link(struct dentry *dentry) { const struct cred *cred = current_cred(); |
