Searched refs:inode_permission2 (Results 1 – 7 of 7) sorted by relevance
/fs/ |
D | open.c | 93 error = inode_permission2(mnt, inode, MAY_WRITE); in vfs_truncate() 412 res = inode_permission2(mnt, inode, mode | MAY_ACCESS); in SYSCALL_DEFINE3() 456 error = inode_permission2(path.mnt, path.dentry->d_inode, MAY_EXEC | MAY_CHDIR); in SYSCALL_DEFINE1() 490 error = inode_permission2(mnt, inode, MAY_EXEC | MAY_CHDIR); in SYSCALL_DEFINE1() 509 error = inode_permission2(path.mnt, path.dentry->d_inode, MAY_EXEC | MAY_CHDIR); in SYSCALL_DEFINE1()
|
D | namei.c | 478 int inode_permission2(struct vfsmount *mnt, struct inode *inode, int mask) in inode_permission2() function 487 EXPORT_SYMBOL(inode_permission2); 491 return inode_permission2(NULL, inode, mask); in inode_permission() 1683 int err = inode_permission2(nd->path.mnt, nd->inode, MAY_EXEC|MAY_NOT_BLOCK); in may_lookup() 1689 return inode_permission2(nd->path.mnt, nd->inode, MAY_EXEC); in may_lookup() 2168 retval = inode_permission2(mnt, inode, MAY_EXEC); in path_init() 2476 err = inode_permission2(mnt, base->d_inode, MAY_EXEC); in lookup_one_len2() 2802 error = inode_permission2(mnt, dir, MAY_WRITE | MAY_EXEC); in may_delete() 2846 return inode_permission2(mnt, dir, MAY_WRITE | MAY_EXEC); in may_create() 2955 error = inode_permission2(mnt, inode, MAY_OPEN | acc_mode); in may_open() [all …]
|
D | attr.c | 227 error = inode_permission2(mnt, inode, MAY_WRITE); in notify_change2()
|
D | xattr.c | 133 return inode_permission2(ERR_PTR(-EOPNOTSUPP), inode, mask); in xattr_permission()
|
D | exec.c | 1307 if (inode_permission2(file->f_path.mnt, inode, MAY_READ) < 0) { in would_dump()
|
/fs/notify/inotify/ |
D | inotify_user.c | 340 error = inode_permission2(path->mnt, path->dentry->d_inode, MAY_READ); in inotify_find_inode()
|
/fs/notify/fanotify/ |
D | fanotify_user.c | 501 ret = inode_permission2(path->mnt, path->dentry->d_inode, MAY_READ); in fanotify_find_path()
|