/haiku/src/system/libroot/posix/unistd/ |
H A D | access.c | 16 access(const char* path, int accessMode) in access() argument 18 return faccessat(AT_FDCWD, path, accessMode, 0); in access() 23 faccessat(int fd, const char* path, int accessMode, int flag) in faccessat() argument 25 RETURN_AND_SET_ERRNO(_kern_access(fd, path, accessMode, in faccessat()
|
/haiku/src/build/libroot/ |
H A D | fs_darwin.cpp | 21 static int eaccess(const char* path, int accessMode); 56 eaccess(const char* path, int accessMode) in eaccess() argument 100 if ((accessMode & ~fileMode) != 0) { in eaccess() 110 faccessat(int fd, const char* path, int accessMode, int flag) in faccessat() argument 120 return (flag & AT_EACCESS) != 0 ? eaccess(path, accessMode) in faccessat() 121 : access(path, accessMode); in faccessat() 134 return (flag & AT_EACCESS) != 0 ? eaccess(fullPath, accessMode) in faccessat() 135 : access(fullPath, accessMode); in faccessat()
|
H A D | function_remapper.cpp | 88 faccessat(int fd, const char* path, int accessMode, int flag) in faccessat() argument 92 return _haiku_build_faccessat(fd, path, accessMode, flag); in faccessat()
|
H A D | remapped_functions.h | 23 int _haiku_build_faccessat(int fd, const char* path, int accessMode,
|
/haiku/src/add-ons/kernel/file_systems/exfat/ |
H A D | Inode.cpp | 154 Inode::CheckPermissions(int accessMode) const in CheckPermissions() 157 if ((accessMode & W_OK) != 0 && fVolume->IsReadOnly()) in CheckPermissions() 160 return check_access_permissions(accessMode, Mode(), (gid_t)GroupID(), in CheckPermissions()
|
H A D | Inode.h | 60 status_t CheckPermissions(int accessMode) const;
|
H A D | kernel_interface.cpp | 532 exfat_access(fs_volume* _volume, fs_vnode* _node, int accessMode) in exfat_access() argument 535 return inode->CheckPermissions(accessMode); in exfat_access()
|
/haiku/headers/build/host/darwin/ |
H A D | unistd.h | 10 int faccessat(int fd, const char* path, int accessMode, int flag);
|
/haiku/src/add-ons/kernel/file_systems/ufs2/ |
H A D | Inode.cpp | 238 Inode::CheckPermissions(int accessMode) const in CheckPermissions() 241 if ((accessMode & W_OK) != 0/* && fVolume->IsReadOnly()*/) in CheckPermissions() 244 return check_access_permissions(accessMode, Mode(), (gid_t)GroupID(), in CheckPermissions()
|
H A D | Inode.h | 115 status_t CheckPermissions(int accessMode) const;
|
H A D | kernel_interface.cpp | 321 ufs2_access(fs_volume *_volume, fs_vnode *_node, int accessMode) in ufs2_access() argument 324 return inode->CheckPermissions(accessMode); in ufs2_access()
|
/haiku/headers/build/ |
H A D | BeOSBuildCompatibility.h | 95 int _haiku_build_faccessat(int fd, const char* path, int accessMode, 138 # define faccessat(fd, path, accessMode, flag) \ argument 139 _haiku_build_faccessat(fd, path, accessMode, flag)
|
/haiku/src/add-ons/kernel/file_systems/ramfs/ |
H A D | kernel_interface.cpp | 899 int accessMode = open_mode_to_access(openMode); in ramfs_open() local 902 accessMode |= ACCESS_W; in ramfs_open() 905 error = node->CheckPermissions(accessMode); in ramfs_open() 1531 int accessMode = open_mode_to_access(openMode); in ramfs_create_attr() local 1533 accessMode |= ACCESS_W; in ramfs_create_attr() 1536 status_t error = node->CheckPermissions(accessMode); in ramfs_create_attr() 1602 int accessMode = open_mode_to_access(openMode); in ramfs_open_attr() local 1604 accessMode |= ACCESS_W; in ramfs_open_attr() 1608 error = node->CheckPermissions(accessMode); in ramfs_open_attr() 1693 int accessMode = open_mode_to_access(cookie->GetOpenMode()); in ramfs_read_attr() local [all …]
|
/haiku/headers/private/fs_shell/ |
H A D | fssh_unistd.h | 40 extern int fssh_access(const char *path, int accessMode);
|
/haiku/src/add-ons/kernel/file_systems/xfs/ |
H A D | kernel_interface.cpp | 339 xfs_access(fs_volume *_volume, fs_vnode *_node, int accessMode) in xfs_access() argument 342 return inode->CheckPermissions(accessMode); in xfs_access() 559 int accessMode = open_mode_to_access(openMode) | (openMode & O_TRUNC ? W_OK : 0); in xfs_open_attr() local 560 status = inode->CheckPermissions(accessMode); in xfs_open_attr()
|
H A D | Inode.cpp | 340 Inode::CheckPermissions(int accessMode) const in CheckPermissions() 343 if ((accessMode & W_OK) != 0 && fVolume->IsReadOnly()) in CheckPermissions() 346 return check_access_permissions(accessMode, Mode(), (uint32)GroupId(), (uint32)UserId()); in CheckPermissions()
|
H A D | Inode.h | 305 status_t CheckPermissions(int accessMode) const;
|
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | Inode.cpp | 161 Inode::CheckPermissions(int accessMode) const in CheckPermissions() 164 if ((accessMode & W_OK) != 0 && fVolume->IsReadOnly()) in CheckPermissions() 167 return check_access_permissions(accessMode, Mode(), (gid_t)fNode.GroupID(), in CheckPermissions()
|
H A D | Inode.h | 47 status_t CheckPermissions(int accessMode) const;
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | support.h | 234 status_t check_access_permissions_internal(int accessMode, mode_t mode, gid_t nodeGroupID,
|
/haiku/headers/posix/ |
H A D | unistd.h | 336 extern int access(const char *path, int accessMode); 337 extern int faccessat(int fd, const char *path, int accessMode, int flag);
|
/haiku/src/add-ons/kernel/file_systems/ext2/ |
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() 218 if ((accessMode & W_OK) != 0 && fVolume->IsReadOnly()) in CheckPermissions() 221 return check_access_permissions(accessMode, Mode(), (gid_t)fNode.GroupID(), in CheckPermissions()
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/ |
H A D | BeOSKernelVolume.cpp | 839 int accessMode = open_mode_to_access(openMode) | (create ? W_OK : 0); in _OpenAttr() local 840 status_t error = Access(node, accessMode); in _OpenAttr()
|
/haiku/src/add-ons/kernel/file_systems/ntfs/ |
H A D | kernel_interface.cpp | 49 static status_t fs_access(fs_volume* _volume, fs_vnode* _node, int accessMode); 1073 fs_access(fs_volume* _volume, fs_vnode* _node, int accessMode) in fs_access() argument 1079 if ((accessMode & W_OK) != 0 && (volume->fs_info_flags & B_FS_IS_READONLY) != 0) in fs_access() 1082 return check_access_permissions(accessMode, node->mode, node->gid, node->uid); in fs_access()
|