You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
split ->file_mmap() into ->mmap_addr()/->mmap_file()
... i.e. file-dependent and address-dependent checks. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -280,10 +280,6 @@ static int __bprm_mm_init(struct linux_binprm *bprm)
|
||||
vma->vm_page_prot = vm_get_page_prot(vma->vm_flags);
|
||||
INIT_LIST_HEAD(&vma->anon_vma_chain);
|
||||
|
||||
err = security_file_mmap(NULL, 0, 0, 0, vma->vm_start, 1);
|
||||
if (err)
|
||||
goto err;
|
||||
|
||||
err = insert_vm_struct(mm, vma);
|
||||
if (err)
|
||||
goto err;
|
||||
|
||||
Reference in New Issue
Block a user