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()
425 res = inode_permission2(mnt, inode, mode | MAY_ACCESS); in do_faccessat()
474 error = inode_permission2(path.mnt, path.dentry->d_inode, MAY_EXEC | MAY_CHDIR); in ksys_chdir()
508 error = inode_permission2(f.file->f_path.mnt, file_inode(f.file), in SYSCALL_DEFINE1()
528 error = inode_permission2(path.mnt, path.dentry->d_inode, MAY_EXEC | MAY_CHDIR); in ksys_chroot()
Dnamei.c431 int inode_permission2(struct vfsmount *mnt, struct inode *inode, int mask) in inode_permission2() function
466 EXPORT_SYMBOL(inode_permission2);
470 return inode_permission2(NULL, inode, mask); in inode_permission()
1783 int err = inode_permission2(nd->path.mnt, nd->inode, MAY_EXEC|MAY_NOT_BLOCK); in may_lookup()
1789 return inode_permission2(nd->path.mnt, nd->inode, MAY_EXEC); in may_lookup()
2572 return inode_permission2(mnt, base->d_inode, MAY_EXEC); in lookup_one_len_common()
2898 error = inode_permission2(mnt, dir, MAY_WRITE | MAY_EXEC); in may_delete()
2942 return inode_permission2(mnt, dir, MAY_WRITE | MAY_EXEC); in may_create()
3081 error = inode_permission2(mnt, inode, MAY_OPEN | acc_mode); in may_open()
3143 error = inode_permission2(dir->mnt, dir->dentry->d_inode, MAY_WRITE | MAY_EXEC); in may_o_create()
[all …]
Dattr.c253 error = inode_permission2(mnt, inode, MAY_WRITE); in notify_change2()
Dxattr.c134 return inode_permission2(ERR_PTR(-EOPNOTSUPP), inode, mask); in xattr_permission()
Dexec.c1316 if (inode_permission2(file->f_path.mnt, inode, MAY_READ) < 0) { in would_dump()
/fs/notify/inotify/
Dinotify_user.c344 error = inode_permission2(path->mnt, path->dentry->d_inode, MAY_READ); in inotify_find_inode()
/fs/notify/fanotify/
Dfanotify_user.c570 ret = inode_permission2(path->mnt, path->dentry->d_inode, MAY_READ); in fanotify_find_path()