summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorSouptick Joarder <jrdr.linux@gmail.com>2018-04-14 21:02:41 +0530
committerPaul Moore <paul@paul-moore.com>2018-04-16 18:16:00 -0400
commitac9a1f6db35521df6da1b81ae70eb665beed35c8 (patch)
treecdbdb8b244d3c4f29a07d38608068d9f08099da8 /security
parent60cc43fc888428bb2f18f08997432d426a243338 (diff)
downloadlinux-ac9a1f6db35521df6da1b81ae70eb665beed35c8.tar.bz2
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;