Home
last modified time | relevance | path

Searched refs:inode_permission (Results 1 – 25 of 25) sorted by relevance

/linux-3.4.99/fs/
Dopen.c92 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()
Dutimes.c99 error = inode_permission(inode, MAY_WRITE); in utimes_common()
Dnamei.c342 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 …]
Dxattr.c72 return inode_permission(inode, mask); in xattr_permission()
Dexec.c1134 if (inode_permission(file->f_path.dentry->d_inode, MAY_READ) < 0) in would_dump()
Dnamespace.c1249 if (inode_permission(path->dentry->d_inode, MAY_WRITE)) in mount_is_safe()
/linux-3.4.99/fs/udf/
Dfile.c176 if (inode_permission(inode, MAY_READ) != 0) { in udf_ioctl()
/linux-3.4.99/fs/ncpfs/
Dioctl.c872 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/
Dnfsfh.c41 err = inode_permission(parent->d_inode, MAY_EXEC); in nfsd_acceptable()
Dvfs.c2199 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/
Dinotify_user.c359 error = inode_permission(path->dentry->d_inode, MAY_READ); in inotify_find_inode()
/linux-3.4.99/fs/notify/fanotify/
Dfanotify_user.c510 ret = inode_permission(path->dentry->d_inode, MAY_READ); in fanotify_find_path()
/linux-3.4.99/security/
Dcapability.c921 set_to_cap_if_null(ops, inode_permission); in security_fixup_ops()
Dsecurity.c527 return security_ops->inode_permission(inode, mask); in security_inode_permission()
/linux-3.4.99/virt/kvm/
Dassigned-dev.c614 r = inode_permission(inode, MAY_READ | MAY_WRITE | MAY_ACCESS); in probe_sysfs_permissions()
/linux-3.4.99/fs/btrfs/
Dioctl.c595 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/
Dinode.c944 return inode_permission(ecryptfs_inode_to_lower(inode), mask); in ecryptfs_permission()
/linux-3.4.99/ipc/
Dmqueue.c663 if (inode_permission(dentry->d_inode, oflag2acc[oflag & O_ACCMODE])) { in do_open()
/linux-3.4.99/include/linux/
Dsecurity.h1464 int (*inode_permission) (struct inode *inode, int mask); member
Dfs.h2217 extern int inode_permission(struct inode *, int);
/linux-3.4.99/fs/ocfs2/
Drefcounttree.c4368 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/
Daf_unix.c780 err = inode_permission(inode, MAY_WRITE); in unix_find_other()
/linux-3.4.99/security/smack/
Dsmack_lsm.c3529 .inode_permission = smack_inode_permission,
/linux-3.4.99/kernel/
Dcgroup.c3525 ret = inode_permission(cfile->f_path.dentry->d_inode, MAY_READ); in cgroup_write_event_control()
/linux-3.4.99/security/selinux/
Dhooks.c5694 .inode_permission = selinux_inode_permission,