/haiku/src/system/libroot/posix/ |
H A D | fcntl.cpp | 34 int perms = 0; local 38 perms = va_arg(args, int) & ~__gUmask; 43 RETURN_AND_SET_ERRNO_TEST_CANCEL(_kern_open(-1, path, openMode, perms)); 50 int perms = 0; local 54 perms = va_arg(args, int) & ~__gUmask; 59 RETURN_AND_SET_ERRNO_TEST_CANCEL(_kern_open(fd, path, openMode, perms));
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | acls.c | 976 int perms; local 1016 perms = pacl->ace[i].perms; 1020 if (perms & ~7) ok = FALSE; 1033 pchk->mode |= perms << 6; 1040 pchk->mode = (pchk->mode & 07707) | (perms << 3); 1047 pchk->mode |= perms; 1057 pchk->mode = (pchk->mode & 07707) | (perms << 3); 1105 mode |= (pace->perms & 7) << 6; 1109 mode = (mode & 07707) | ((pace->perms 1621 u16 perms; local 1782 u16 perms; local 1865 u16 perms; local 2120 u16 perms; local 3056 mode_t perms; local 3379 mode_t perms; local [all...] |
H A D | security.c | 1370 int perms; local 1375 perms = pxdesc->mode; 1379 perms = (perms & 07707) 1380 | ((pace->perms & 7) << 3); 1388 perms |= pace->perms & 7; 1391 return (perms); 1953 mode_t perms; local 1958 perms [all...] |
H A D | xattrs.c | 70 le16 perms; member in struct:LE_POSIX_ACE 166 acl->ace[i].perms = le16_to_cpu(le_acl->ace[i].perms); 188 le_acl->ace[i].perms = cpu_to_le16(acl->ace[i].perms);
|
/haiku/src/kits/tracker/infowindow/ |
H A D | FilePermissionsView.cpp | 228 mode_t perms = 0; local 246 if (node.GetPermissions(&perms) == B_OK) { 247 fReadUserCheckBox->SetValue((int32)(perms & S_IRUSR)); 248 fReadGroupCheckBox->SetValue((int32)(perms & S_IRGRP)); 249 fReadOtherCheckBox->SetValue((int32)(perms & S_IROTH)); 250 fWriteUserCheckBox->SetValue((int32)(perms & S_IWUSR)); 251 fWriteGroupCheckBox->SetValue((int32)(perms & S_IWGRP)); 252 fWriteOtherCheckBox->SetValue((int32)(perms & S_IWOTH)); 253 fExecuteUserCheckBox->SetValue((int32)(perms & S_IXUSR)); 254 fExecuteGroupCheckBox->SetValue((int32)(perms [all...] |
/haiku/headers/build/os/storage/ |
H A D | Statable.h | 36 status_t GetPermissions(mode_t *perms) const; 37 status_t SetPermissions(mode_t perms);
|
/haiku/src/build/libbe/storage/ |
H A D | Statable.cpp | 149 \param perms a pointer to a mode_t variable to be set to the result 153 BStatable::GetPermissions(mode_t *perms) const 155 status_t error = (perms ? B_OK : B_BAD_VALUE); 160 *perms = (statData.st_mode & S_IUMSK); 165 \param perms the new permissions 169 BStatable::SetPermissions(mode_t perms) argument 174 statData.st_mode = perms;
|
/haiku/src/tests/kits/storage/ |
H A D | StatableTest.cpp | 106 mode_t perms; local 119 CPPUNIT_ASSERT( statable->GetPermissions(&perms) == B_OK ); 131 // CPPUNIT_ASSERT( perms == (st.st_mode & S_IUMSK) ); 132 CPPUNIT_ASSERT( (perms & S_IUMSK) == (st.st_mode & S_IUMSK) ); 149 mode_t perms; local 158 CPPUNIT_ASSERT( statable->GetPermissions(&perms) == B_NO_INIT ); 200 mode_t perms = 0x0ab; // -w- r-x -wx -- unusual enough? ;-) local 209 CPPUNIT_ASSERT( statable->SetPermissions(perms) == B_OK ); 218 CPPUNIT_ASSERT( perms == (st.st_mode & S_IUMSK) ); 232 mode_t perms local [all...] |
/haiku/src/system/boot/arch/m68k/ |
H A D | mmu.h | 31 status_t (*set_tt)(int which, addr_t pa, size_t len, uint32 perms);
|
H A D | mmu_030.cpp | 45 set_tt(int which, addr_t pa, size_t len, uint32 perms) argument 47 TRACE(("mmu_030:set_tt(%d, 0x%lx, 0x%lx, 0x%08lx)\n", which, pa, len, perms));
|
H A D | mmu_040.cpp | 87 set_tt(int which, addr_t pa, size_t len, uint32 perms /* NOTUSED */) 89 TRACE(("mmu_040:set_tt(%d, 0x%lx, 0x%lx, 0x%08lx)\n", which, pa, len, perms));
|
/haiku/src/system/boot/platform/amiga_m68k/ |
H A D | mmu.h | 31 status_t (*set_tt)(int which, addr_t pa, size_t len, uint32 perms);
|
/haiku/src/system/boot/platform/atari_m68k/ |
H A D | mmu.h | 32 status_t (*set_tt)(int which, addr_t pa, size_t len, uint32 perms);
|
/haiku/src/tools/fs_shell/ |
H A D | syscalls.h | 32 const char *name, int openMode, int perms); 33 int _kern_open(int fd, const char *path, int openMode, int perms); 42 const char *name, int perms); 43 fssh_status_t _kern_create_dir(int fd, const char *path, int perms);
|
H A D | fcntl.cpp | 23 int perms);
|
/haiku/src/tools/unzip/unix/ |
H A D | unxcfg.h | 34 extern int _kern_open(int fd, const char *path, int openMode, int perms);
|
/haiku/src/system/boot/platform/next_m68k/ |
H A D | mmu.h | 32 status_t (*set_tt)(int which, addr_t pa, size_t len, uint32 perms);
|
/haiku/headers/build/private/kernel/ |
H A D | syscalls.h | 57 const char *name, int openMode, int perms); 59 int perms); 68 const char *name, int perms); 69 extern status_t _kern_create_dir(int fd, const char *path, int perms);
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | file.h | 25 int omode, int perms, void **cookie, ino_t *vnid); 27 int perms);
|
/haiku/src/add-ons/kernel/file_systems/netfs/netfs_server_prefs/ |
H A D | NetFSServerPrefs.cpp | 476 uint32 perms = 0; local 478 if (!get_permissions(arg, &perms)) 480 permissions |= perms;
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | NFS4Inode.h | 49 status_t CreateFile(const char* name, int mode, int perms,
|
H A D | InodeRegular.cpp | 24 Inode::CreateState(const char* name, int mode, int perms, OpenState* state, argument 34 status_t result = CreateFile(name, mode, perms, state, &changeInfo, 66 Inode::Create(const char* name, int mode, int perms, OpenFileCookie* cookie, argument 80 status_t result = CreateState(name, mode, perms, state, data);
|
H A D | Inode.h | 73 status_t Create(const char* name, int mode, int perms, 127 int perms, OpenState* state,
|
/haiku/headers/private/kernel/ |
H A D | vfs.h | 179 int openMode, int perms); 180 int _user_open(int fd, const char *path, int openMode, int perms); 195 const char *name, int perms); 196 status_t _user_create_dir(int fd, const char *path, int perms); 208 status_t _user_create_fifo(int fd, const char *path, mode_t perms);
|
/haiku/src/build/libroot/ |
H A D | fs.cpp | 481 _kern_create_dir(int fd, const char *path, int perms) argument 490 if (mkdir(realPath.c_str(), perms) < 0) 499 int perms) 508 if (mkdir(realPath.c_str(), perms) < 0) 662 open_file(const char *path, int openMode, int perms) argument 686 int newFD = open(path, openMode, perms); 702 _kern_open(int fd, const char *path, int openMode, int perms) argument 710 return open_file(realPath.c_str(), openMode, perms); 716 int openMode, int perms) 724 return open_file(realPath.c_str(), openMode, perms); 498 _kern_create_dir_entry_ref(dev_t device, ino_t node, const char *name, int perms) argument 715 _kern_open_entry_ref(dev_t device, ino_t node, const char *name, int openMode, int perms) argument [all...] |