Lines Matching defs:file_has_perm
1716 static int file_has_perm(const struct cred *cred,
2418 return file_has_perm(p, file, file_to_av(file)) ? fd + 1 : 0;
2438 rather than using file_has_perm, as this particular
3542 return file_has_perm(cred, file,
3632 error = file_has_perm(cred, file, FILE__GETATTR);
3637 error = file_has_perm(cred, file, FILE__SETATTR);
3643 error = file_has_perm(cred, file, 0);
3728 return file_has_perm(cred, file, av);
3804 rc = file_has_perm(cred, vma->vm_file, FILE__EXECMOD);
3817 return file_has_perm(cred, file, FILE__LOCK);
3829 err = file_has_perm(cred, file, FILE__WRITE);
3840 err = file_has_perm(cred, file, 0);
3853 err = file_has_perm(cred, file, FILE__LOCK);
3895 return file_has_perm(cred, file, file_to_av(file));