lsm: new security_file_ioctl_compat() hook
[linux-2.6-block.git] / security / smack / smack_lsm.c
index 53336d7daa93324cc72d66c928e3a34fc6edfdbb..c126f6a16de4fbd0d3c05ba93529c50e23093263 100644 (file)
@@ -5051,6 +5051,7 @@ static struct security_hook_list smack_hooks[] __ro_after_init = {
 
        LSM_HOOK_INIT(file_alloc_security, smack_file_alloc_security),
        LSM_HOOK_INIT(file_ioctl, smack_file_ioctl),
+       LSM_HOOK_INIT(file_ioctl_compat, smack_file_ioctl),
        LSM_HOOK_INIT(file_lock, smack_file_lock),
        LSM_HOOK_INIT(file_fcntl, smack_file_fcntl),
        LSM_HOOK_INIT(mmap_file, smack_mmap_file),