/linux-3.4.99/fs/ |
D | open.c | 92 error = inode_permission(inode, MAY_WRITE); in do_sys_truncate() 344 res = inode_permission(inode, mode | MAY_ACCESS); in SYSCALL_DEFINE3() 383 error = inode_permission(path.dentry->d_inode, MAY_EXEC | MAY_CHDIR); in SYSCALL_DEFINE1() 412 error = inode_permission(inode, MAY_EXEC | MAY_CHDIR); in SYSCALL_DEFINE1() 430 error = inode_permission(path.dentry->d_inode, MAY_EXEC | MAY_CHDIR); in SYSCALL_DEFINE1()
|
D | utimes.c | 99 error = inode_permission(inode, MAY_WRITE); in utimes_common()
|
D | namei.c | 342 int inode_permission(struct inode *inode, int mask) in inode_permission() function 1238 int err = inode_permission(nd->inode, MAY_EXEC|MAY_NOT_BLOCK); in may_lookup() 1244 return inode_permission(nd->inode, MAY_EXEC); in may_lookup() 1614 retval = inode_permission(inode, MAY_EXEC); in path_init() 1673 retval = inode_permission(dentry->d_inode, MAY_EXEC); in path_init() 1879 err = inode_permission(base->d_inode, MAY_EXEC); in lookup_one_len() 1978 error = inode_permission(dir, MAY_WRITE | MAY_EXEC); in may_delete() 2014 return inode_permission(dir, MAY_WRITE | MAY_EXEC); in may_create() 2111 error = inode_permission(inode, acc_mode); in may_open() 3122 error = inode_permission(old_dentry->d_inode, MAY_WRITE); in vfs_rename_dir() [all …]
|
D | xattr.c | 72 return inode_permission(inode, mask); in xattr_permission()
|
D | exec.c | 1134 if (inode_permission(file->f_path.dentry->d_inode, MAY_READ) < 0) in would_dump()
|
D | namespace.c | 1249 if (inode_permission(path->dentry->d_inode, MAY_WRITE)) in mount_is_safe()
|
/linux-3.4.99/fs/udf/ |
D | file.c | 176 if (inode_permission(inode, MAY_READ) != 0) { in udf_ioctl()
|
/linux-3.4.99/fs/ncpfs/ |
D | ioctl.c | 872 ret = inode_permission(inode, MAY_WRITE); in ncp_ioctl() 884 ret = inode_permission(inode, MAY_READ); in ncp_ioctl()
|
/linux-3.4.99/fs/nfsd/ |
D | nfsfh.c | 41 err = inode_permission(parent->d_inode, MAY_EXEC); in nfsd_acceptable()
|
D | vfs.c | 2199 err = inode_permission(inode, acc & (MAY_READ|MAY_WRITE|MAY_EXEC)); in nfsd_permission() 2205 err = inode_permission(inode, MAY_EXEC); in nfsd_permission()
|
/linux-3.4.99/fs/notify/inotify/ |
D | inotify_user.c | 359 error = inode_permission(path->dentry->d_inode, MAY_READ); in inotify_find_inode()
|
/linux-3.4.99/fs/notify/fanotify/ |
D | fanotify_user.c | 510 ret = inode_permission(path->dentry->d_inode, MAY_READ); in fanotify_find_path()
|
/linux-3.4.99/security/ |
D | capability.c | 921 set_to_cap_if_null(ops, inode_permission); in security_fixup_ops()
|
D | security.c | 527 return security_ops->inode_permission(inode, mask); in security_inode_permission()
|
/linux-3.4.99/virt/kvm/ |
D | assigned-dev.c | 614 r = inode_permission(inode, MAY_READ | MAY_WRITE | MAY_ACCESS); in probe_sysfs_permissions()
|
/linux-3.4.99/fs/btrfs/ |
D | ioctl.c | 595 error = inode_permission(dir, MAY_WRITE | MAY_EXEC); in btrfs_may_delete() 625 return inode_permission(dir, MAY_WRITE | MAY_EXEC); in btrfs_may_create() 1987 err = inode_permission(inode, MAY_WRITE | MAY_EXEC); in btrfs_ioctl_snap_destroy()
|
/linux-3.4.99/fs/ecryptfs/ |
D | inode.c | 944 return inode_permission(ecryptfs_inode_to_lower(inode), mask); in ecryptfs_permission()
|
/linux-3.4.99/ipc/ |
D | mqueue.c | 663 if (inode_permission(dentry->d_inode, oflag2acc[oflag & O_ACCMODE])) { in do_open()
|
/linux-3.4.99/include/linux/ |
D | security.h | 1464 int (*inode_permission) (struct inode *inode, int mask); member
|
D | fs.h | 2217 extern int inode_permission(struct inode *, int);
|
/linux-3.4.99/fs/ocfs2/ |
D | refcounttree.c | 4368 return inode_permission(dir, MAY_WRITE | MAY_EXEC); in ocfs2_may_create() 4422 error = inode_permission(inode, MAY_READ); in ocfs2_vfs_reflink()
|
/linux-3.4.99/net/unix/ |
D | af_unix.c | 780 err = inode_permission(inode, MAY_WRITE); in unix_find_other()
|
/linux-3.4.99/security/smack/ |
D | smack_lsm.c | 3529 .inode_permission = smack_inode_permission,
|
/linux-3.4.99/kernel/ |
D | cgroup.c | 3525 ret = inode_permission(cfile->f_path.dentry->d_inode, MAY_READ); in cgroup_write_event_control()
|
/linux-3.4.99/security/selinux/ |
D | hooks.c | 5694 .inode_permission = selinux_inode_permission,
|