Lines Matching defs:file_has_perm
1729 static int file_has_perm(const struct cred *cred,
2402 return file_has_perm(p, file, file_to_av(file)) ? fd + 1 : 0;
2422 rather than using file_has_perm, as this particular
3606 return file_has_perm(cred, file,
3694 error = file_has_perm(cred, file, FILE__GETATTR);
3699 error = file_has_perm(cred, file, FILE__SETATTR);
3705 error = file_has_perm(cred, file, 0);
3789 return file_has_perm(cred, file, av);
3854 rc = file_has_perm(cred, vma->vm_file, FILE__EXECMOD);
3867 return file_has_perm(cred, file, FILE__LOCK);
3879 err = file_has_perm(cred, file, FILE__WRITE);
3890 err = file_has_perm(cred, file, 0);
3903 err = file_has_perm(cred, file, FILE__LOCK);
3944 return file_has_perm(cred, file, file_to_av(file));