aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r--security/selinux/hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 1530f661ef85..799d15aa35f9 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -3235,7 +3235,7 @@ static void selinux_file_free_security(struct file *file)
3235 * Check whether a task has the ioctl permission and cmd 3235 * Check whether a task has the ioctl permission and cmd
3236 * operation to an inode. 3236 * operation to an inode.
3237 */ 3237 */
3238int ioctl_has_perm(const struct cred *cred, struct file *file, 3238static int ioctl_has_perm(const struct cred *cred, struct file *file,
3239 u32 requested, u16 cmd) 3239 u32 requested, u16 cmd)
3240{ 3240{
3241 struct common_audit_data ad; 3241 struct common_audit_data ad;