summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorSouptick Joarder <jrdr.linux@gmail.com>2018-04-14 17:32:41 +0200
committerPaul Moore <paul@paul-moore.com>2018-04-17 00:16:00 +0200
commitac9a1f6db35521df6da1b81ae70eb665beed35c8 (patch)
treecdbdb8b244d3c4f29a07d38608068d9f08099da8 /security
parentLinux 4.17-rc1 (diff)
downloadlinux-ac9a1f6db35521df6da1b81ae70eb665beed35c8.tar.xz
linux-ac9a1f6db35521df6da1b81ae70eb665beed35c8.zip
security: selinux: Change return type to vm_fault_t
Use new return type vm_fault_t for fault handler in struct vm_operations_struct. Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com> Reviewed-by: Matthew Wilcox <mawilcox@microsoft.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security')
-rw-r--r--security/selinux/selinuxfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/selinuxfs.c b/security/selinux/selinuxfs.c
index 245160373dab..6128f5293056 100644
--- a/security/selinux/selinuxfs.c
+++ b/security/selinux/selinuxfs.c
@@ -453,7 +453,7 @@ out:
return ret;
}
-static int sel_mmap_policy_fault(struct vm_fault *vmf)
+static vm_fault_t sel_mmap_policy_fault(struct vm_fault *vmf)
{
struct policy_load_memory *plm = vmf->vma->vm_file->private_data;
unsigned long offset;