diff options
author | James Morris <jmorris@namei.org> | 2008-12-19 00:44:42 +0100 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2008-12-19 23:02:39 +0100 |
commit | 12204e24b1330428c3062faee10a0d80b8a5cb61 (patch) | |
tree | d92ee705a86f0ec2bf85c8a797239dbb840d5927 /security/capability.c | |
parent | SELinux: correctly detect proc filesystems of the form "proc/foo" (diff) | |
download | linux-12204e24b1330428c3062faee10a0d80b8a5cb61.tar.xz linux-12204e24b1330428c3062faee10a0d80b8a5cb61.zip |
security: pass mount flags to security_sb_kern_mount()
Pass mount flags to security_sb_kern_mount(), so security modules
can determine if a mount operation is being performed by the kernel.
Signed-off-by: James Morris <jmorris@namei.org>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Diffstat (limited to 'security/capability.c')
-rw-r--r-- | security/capability.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/capability.c b/security/capability.c index b9e391425e6f..2dce66fcb992 100644 --- a/security/capability.c +++ b/security/capability.c @@ -59,7 +59,7 @@ static int cap_sb_copy_data(char *orig, char *copy) return 0; } -static int cap_sb_kern_mount(struct super_block *sb, void *data) +static int cap_sb_kern_mount(struct super_block *sb, int flags, void *data) { return 0; } |