diff options
author | Souptick Joarder <jrdr.linux@gmail.com> | 2018-04-14 21:02:41 +0530 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2018-04-16 18:16:00 -0400 |
commit | ac9a1f6db35521df6da1b81ae70eb665beed35c8 (patch) | |
tree | cdbdb8b244d3c4f29a07d38608068d9f08099da8 /security/selinux | |
parent | 60cc43fc888428bb2f18f08997432d426a243338 (diff) | |
download | blackbird-obmc-linux-ac9a1f6db35521df6da1b81ae70eb665beed35c8.tar.gz blackbird-obmc-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/selinux')
-rw-r--r-- | security/selinux/selinuxfs.c | 2 |
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; |