Searched refs:inode_permission (Results 1 – 11 of 11) sorted by relevance
/fs/ |
D | open.c | 252 error = inode_permission(inode, MAY_WRITE); in do_sys_truncate() 495 res = inode_permission(inode, mode | MAY_ACCESS); in SYSCALL_DEFINE3() 534 error = inode_permission(path.dentry->d_inode, MAY_EXEC | MAY_ACCESS); in SYSCALL_DEFINE1() 563 error = inode_permission(inode, MAY_EXEC | MAY_ACCESS); in SYSCALL_DEFINE1() 581 error = inode_permission(path.dentry->d_inode, MAY_EXEC | MAY_ACCESS); in SYSCALL_DEFINE1()
|
D | namei.c | 239 int inode_permission(struct inode *inode, int mask) in inode_permission() function 290 return inode_permission(file->f_path.dentry->d_inode, mask); in file_permission() 851 err = inode_permission(nd->path.dentry->d_inode, in __link_path_walk() 1203 err = inode_permission(nd->path.dentry->d_inode, MAY_EXEC); in lookup_hash() 1251 err = inode_permission(base->d_inode, MAY_EXEC); in lookup_one_len() 1361 error = inode_permission(dir, MAY_WRITE | MAY_EXEC); in may_delete() 1397 return inode_permission(dir, MAY_WRITE | MAY_EXEC); in may_create() 1509 error = inode_permission(inode, acc_mode); in may_open() 2523 error = inode_permission(old_dentry->d_inode, MAY_WRITE); in vfs_rename_dir() 2878 EXPORT_SYMBOL(inode_permission);
|
D | utimes.c | 99 error = inode_permission(inode, MAY_WRITE); in utimes_common()
|
D | exec.c | 129 error = inode_permission(nd.path.dentry->d_inode, in SYSCALL_DEFINE1() 677 err = inode_permission(nd.path.dentry->d_inode, MAY_EXEC | MAY_OPEN); in open_exec()
|
D | xattr.c | 66 return inode_permission(inode, mask); in xattr_permission()
|
D | namespace.c | 1184 if (inode_permission(path->dentry->d_inode, MAY_WRITE)) in mount_is_safe()
|
/fs/nfsd/ |
D | nfsfh.c | 54 err = inode_permission(parent->d_inode, MAY_EXEC); in nfsd_acceptable()
|
D | vfs.c | 2051 err = inode_permission(inode, acc & (MAY_READ|MAY_WRITE|MAY_EXEC)); in nfsd_permission() 2056 err = inode_permission(inode, MAY_EXEC); in nfsd_permission()
|
/fs/notify/inotify/ |
D | inotify_user.c | 375 error = inode_permission(path->dentry->d_inode, MAY_READ); in find_inode()
|
/fs/ecryptfs/ |
D | inode.c | 864 return inode_permission(ecryptfs_inode_to_lower(inode), mask); in ecryptfs_permission()
|
/fs/btrfs/ |
D | ioctl.c | 243 return inode_permission(dir, MAY_WRITE | MAY_EXEC); in btrfs_may_create()
|