Home
last modified time | relevance | path

Searched refs:CheckPermissions (Results 1 – 24 of 24) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/ramfs/
H A Dkernel_interface.cpp422 error = dir->CheckPermissions(ACCESS_W); in ramfs_create_symlink()
479 error = dir->CheckPermissions(ACCESS_W); in ramfs_link()
519 error = dir->CheckPermissions(ACCESS_W); in ramfs_unlink()
575 error = oldDir->CheckPermissions(ACCESS_W); in ramfs_rename()
577 error = newDir->CheckPermissions(ACCESS_W); in ramfs_rename()
674 status_t error = node->CheckPermissions(mode); in ramfs_access()
726 error = node->CheckPermissions(ACCESS_W); in ramfs_write_stat()
833 } else if ((error = node->CheckPermissions(ACCESS_W)) == B_OK) { in ramfs_create()
845 } else if ((error = dir->CheckPermissions(ACCESS_W)) == B_OK) { in ramfs_create()
905 error = node->CheckPermissions(accessMode); in ramfs_open()
[all …]
H A DNode.h90 status_t CheckPermissions(int mode) const;
H A DNode.cpp138 Node::CheckPermissions(int mode) const in CheckPermissions() function in Node
/haiku/src/add-ons/kernel/file_systems/xfs/
H A Dkernel_interface.cpp204 status_t status = directory->CheckPermissions(X_OK); in xfs_lookup()
277 status_t status = inode->CheckPermissions(open_mode_to_access(openMode) in xfs_open()
342 return inode->CheckPermissions(accessMode); in xfs_access()
396 status_t status = inode->CheckPermissions(R_OK); in xfs_open_dir()
560 status = inode->CheckPermissions(accessMode); in xfs_open_attr()
H A DInode.h305 status_t CheckPermissions(int accessMode) const;
H A DInode.cpp340 Inode::CheckPermissions(int accessMode) const in CheckPermissions() function in Inode
/haiku/src/add-ons/kernel/file_systems/ufs2/
H A Dkernel_interface.cpp210 status_t status = directory->CheckPermissions(X_OK); in ufs2_lookup()
269 status_t status = inode->CheckPermissions(open_mode_to_access(openMode) in ufs2_open()
324 return inode->CheckPermissions(accessMode); in ufs2_access()
367 status_t status = inode->CheckPermissions(R_OK); in ufs2_open_dir()
H A DInode.h115 status_t CheckPermissions(int accessMode) const;
H A DInode.cpp238 Inode::CheckPermissions(int accessMode) const in CheckPermissions() function in Inode
/haiku/src/add-ons/kernel/file_systems/ext2/
H A Dkernel_interface.cpp456 status_t status = directory->CheckPermissions(X_OK); in ext2_lookup()
631 bool hasWriteAccess = inode->CheckPermissions(W_OK) == B_OK; in ext2_write_stat()
805 status_t status = directory->CheckPermissions(W_OK); in ext2_create_symlink()
881 status_t status = directory->CheckPermissions(W_OK); in ext2_unlink()
951 status_t status = oldDirectory->CheckPermissions(W_OK); in ext2_rename()
953 status = newDirectory->CheckPermissions(W_OK); in ext2_rename()
1151 status_t status = inode->CheckPermissions(open_mode_to_access(openMode) in ext2_open()
1295 return inode->CheckPermissions(accessMode); in ext2_access()
1342 status_t status = directory->CheckPermissions(W_OK); in ext2_create_dir()
1381 status_t status = directory->CheckPermissions(W_OK); in ext2_remove_dir()
[all …]
H A DInode.h49 status_t CheckPermissions(int accessMode) const;
H A DInode.cpp215 Inode::CheckPermissions(int accessMode) const in CheckPermissions() function in Inode
549 if (inode->CheckPermissions(open_mode_to_access(openMode) in Create()
590 status = parent->CheckPermissions(W_OK); in Create()
H A DAttribute.cpp67 return fInode->CheckPermissions(open_mode_to_access(openMode) in CheckAccess()
/haiku/src/add-ons/kernel/file_systems/exfat/
H A Dkernel_interface.cpp397 status_t status = directory->CheckPermissions(X_OK); in exfat_lookup()
465 status_t status = inode->CheckPermissions(open_mode_to_access(openMode) in exfat_open()
535 return inode->CheckPermissions(accessMode); in exfat_access()
566 status_t status = inode->CheckPermissions(R_OK); in exfat_open_dir()
H A DInode.h60 status_t CheckPermissions(int accessMode) const;
H A DInode.cpp154 Inode::CheckPermissions(int accessMode) const in CheckPermissions() function in Inode
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A Dkernel_interface.cpp386 status_t status = directory->CheckPermissions(X_OK); in btrfs_lookup()
457 bool hasWriteAccess = inode->CheckPermissions(W_OK) == B_OK; in btrfs_write_stat()
544 status_t status = inode->CheckPermissions(open_mode_to_access(openMode) in btrfs_open()
635 return inode->CheckPermissions(accessMode); in btrfs_access()
668 status_t status = directory->CheckPermissions(W_OK); in btrfs_unlink()
721 status_t status = directory->CheckPermissions(W_OK); in btrfs_create_dir()
799 status_t status = inode->CheckPermissions(R_OK); in btrfs_open_dir()
H A DInode.h47 status_t CheckPermissions(int accessMode) const;
H A DAttribute.cpp52 return fInode->CheckPermissions(open_mode_to_access(openMode) in CheckAccess()
H A DInode.cpp161 Inode::CheckPermissions(int accessMode) const in CheckPermissions() function in Inode
/haiku/src/add-ons/kernel/file_systems/bfs/
H A Dkernel_interface.cpp604 status_t status = directory->CheckPermissions(X_OK); in bfs_lookup()
892 bool hasWriteAccess = inode->CheckPermissions(W_OK) == B_OK; in bfs_write_stat()
1082 status_t status = directory->CheckPermissions(W_OK); in bfs_create_symlink()
1154 status_t status = directory->CheckPermissions(W_OK); in bfs_unlink()
1197 status_t status = oldDirectory->CheckPermissions(W_OK); in bfs_rename()
1199 status = newDirectory->CheckPermissions(W_OK); in bfs_rename()
1371 status_t status = inode->CheckPermissions(open_mode_to_access(openMode) in bfs_open()
1591 status_t status = inode->CheckPermissions(accessMode); in bfs_access()
1648 status_t status = directory->CheckPermissions(W_OK); in bfs_create_dir()
1715 status_t status = inode->CheckPermissions(R_OK); in bfs_open_dir()
[all …]
H A DAttribute.cpp72 return fInode->CheckPermissions(open_mode_to_access(openMode) in CheckAccess()
H A DInode.h109 status_t CheckPermissions(int accessMode) const;
H A DInode.cpp525 Inode::CheckPermissions(int accessMode) const in CheckPermissions() function in Inode
2672 if (inode->CheckPermissions(open_mode_to_access(openMode) in Create()
2712 if (parent != NULL && (status = parent->CheckPermissions(W_OK)) != B_OK) in Create()