Home
last modified time | relevance | path

Searched refs:inode_permission2 (Results 1 – 7 of 7) sorted by relevance

/fs/
Dopen.c93 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()
Dnamei.c478 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 …]
Dattr.c227 error = inode_permission2(mnt, inode, MAY_WRITE); in notify_change2()
Dxattr.c133 return inode_permission2(ERR_PTR(-EOPNOTSUPP), inode, mask); in xattr_permission()
Dexec.c1307 if (inode_permission2(file->f_path.mnt, inode, MAY_READ) < 0) { in would_dump()
/fs/notify/inotify/
Dinotify_user.c340 error = inode_permission2(path->mnt, path->dentry->d_inode, MAY_READ); in inotify_find_inode()
/fs/notify/fanotify/
Dfanotify_user.c501 ret = inode_permission2(path->mnt, path->dentry->d_inode, MAY_READ); in fanotify_find_path()