/haiku/src/add-ons/kernel/file_systems/ramfs/ |
H A D | kernel_interface.cpp | 422 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 D | Node.h | 90 status_t CheckPermissions(int mode) const;
|
H A D | Node.cpp | 138 Node::CheckPermissions(int mode) const in CheckPermissions() function in Node
|
/haiku/src/add-ons/kernel/file_systems/xfs/ |
H A D | kernel_interface.cpp | 204 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 D | Inode.h | 305 status_t CheckPermissions(int accessMode) const;
|
H A D | Inode.cpp | 340 Inode::CheckPermissions(int accessMode) const in CheckPermissions() function in Inode
|
/haiku/src/add-ons/kernel/file_systems/ufs2/ |
H A D | kernel_interface.cpp | 210 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 D | Inode.h | 115 status_t CheckPermissions(int accessMode) const;
|
H A D | Inode.cpp | 238 Inode::CheckPermissions(int accessMode) const in CheckPermissions() function in Inode
|
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | kernel_interface.cpp | 456 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 D | Inode.h | 49 status_t CheckPermissions(int accessMode) const;
|
H A D | Inode.cpp | 215 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 D | Attribute.cpp | 67 return fInode->CheckPermissions(open_mode_to_access(openMode) in CheckAccess()
|
/haiku/src/add-ons/kernel/file_systems/exfat/ |
H A D | kernel_interface.cpp | 397 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 D | Inode.h | 60 status_t CheckPermissions(int accessMode) const;
|
H A D | Inode.cpp | 154 Inode::CheckPermissions(int accessMode) const in CheckPermissions() function in Inode
|
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | kernel_interface.cpp | 386 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 D | Inode.h | 47 status_t CheckPermissions(int accessMode) const;
|
H A D | Attribute.cpp | 52 return fInode->CheckPermissions(open_mode_to_access(openMode) in CheckAccess()
|
H A D | Inode.cpp | 161 Inode::CheckPermissions(int accessMode) const in CheckPermissions() function in Inode
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | kernel_interface.cpp | 604 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 D | Attribute.cpp | 72 return fInode->CheckPermissions(open_mode_to_access(openMode) in CheckAccess()
|
H A D | Inode.h | 109 status_t CheckPermissions(int accessMode) const;
|
H A D | Inode.cpp | 525 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()
|