Searched refs:perms (Results 1 - 25 of 83) sorted by relevance

1234

/haiku-fatelf/src/bin/coreutils/man/
H A Dchmod.x22 .I "perms"
/haiku-fatelf/src/system/libroot/posix/
H A Dfcntl.cpp34 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-fatelf/src/bin/network/wget/src/
H A Dftp-ls.c53 int perms = 0, i; local
59 perms <<= 3;
60 perms += (((s[0] == 'r') << 2) + ((s[1] == 'w') << 1) +
63 return perms;
165 cur.perms = 0644;
168 cur.perms = 0755;
171 /*cur.perms = 1023;*/ /* #### What is this? --hniksic */
172 cur.perms = 0644;
174 DEBUGP (("implicit perms %0o; ", cur.perms));
676 int perms; local
[all...]
H A Dftp.h97 int perms; /* file permissions */ member in struct:fileinfo
/haiku-fatelf/src/tools/unzip/unix/
H A Dunxcfg.h33 extern int _kern_open(int fd, const char *path, int openMode, int perms);
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dacls.c798 int perms; local
838 perms = pacl->ace[i].perms;
842 if (perms & ~7) ok = FALSE;
855 pchk->mode |= perms << 6;
862 pchk->mode = (pchk->mode & 07707) | (perms << 3);
869 pchk->mode |= perms;
879 pchk->mode = (pchk->mode & 07707) | (perms << 3);
927 mode |= (pace->perms & 7) << 6;
931 mode = (mode & 07707) | ((pace->perms
1400 u16 perms; local
1561 u16 perms; local
1644 u16 perms; local
1899 u16 perms; local
2825 mode_t perms; local
3140 mode_t perms; local
[all...]
/haiku-fatelf/src/kits/tracker/
H A DFilePermissionsView.cpp215 mode_t perms = 0; local
233 if (node.GetPermissions(&perms) == B_OK) {
234 fReadUserCheckBox->SetValue((int32)(perms & S_IRUSR));
235 fReadGroupCheckBox->SetValue((int32)(perms & S_IRGRP));
236 fReadOtherCheckBox->SetValue((int32)(perms & S_IROTH));
237 fWriteUserCheckBox->SetValue((int32)(perms & S_IWUSR));
238 fWriteGroupCheckBox->SetValue((int32)(perms & S_IWGRP));
239 fWriteOtherCheckBox->SetValue((int32)(perms & S_IWOTH));
240 fExecuteUserCheckBox->SetValue((int32)(perms & S_IXUSR));
241 fExecuteGroupCheckBox->SetValue((int32)(perms
[all...]
/haiku-fatelf/headers/build/os/storage/
H A DStatable.h36 status_t GetPermissions(mode_t *perms) const;
37 status_t SetPermissions(mode_t perms);
/haiku-fatelf/headers/os/storage/
H A DStatable.h45 status_t GetPermissions(mode_t *perms) const;
46 status_t SetPermissions(mode_t perms);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/dos/r5/
H A Dfile.h20 int perms, int omode, vnode_id *vnid, void **cookie);
21 int dosfs_mkdir(void *vol, void *dir, const char *name, int perms);
/haiku-fatelf/src/build/libbe/storage/
H A DStatable.cpp149 \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-fatelf/src/tests/kits/storage/
H A DStatableTest.cpp106 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-fatelf/src/system/boot/arch/m68k/
H A Dmmu.h31 status_t (*set_tt)(int which, addr_t pa, size_t len, uint32 perms);
H A Dmmu_030.cpp45 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));
/haiku-fatelf/src/system/boot/platform/amiga_m68k/
H A Dmmu.h31 status_t (*set_tt)(int which, addr_t pa, size_t len, uint32 perms);
/haiku-fatelf/src/system/boot/platform/atari_m68k/
H A Dmmu.h32 status_t (*set_tt)(int which, addr_t pa, size_t len, uint32 perms);
/haiku-fatelf/src/tools/fs_shell/
H A Dfcntl.cpp22 int perms);
H A Dsyscalls.h32 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);
/haiku-fatelf/src/kits/storage/
H A DStatable.cpp179 \param perms a pointer to a mode_t variable to be set to the result
183 BStatable::GetPermissions(mode_t *perms) const
185 status_t error = (perms ? B_OK : B_BAD_VALUE);
190 *perms = (statData.st_mode & S_IUMSK);
195 \param perms the new permissions
199 BStatable::SetPermissions(mode_t perms) argument
204 statData.st_mode = perms;
/haiku-fatelf/src/add-ons/kernel/file_systems/fat/
H A Dfile.h25 int omode, int perms, void **cookie, ino_t *vnid);
27 int perms);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/server-1.2.6/
H A Drpc_workers.h27 int btCreate(char *pathBuf, vnode_id dir_vnid, char *name, int omode, int perms, vnode_id *file_vnid);
29 int btCreateDir(char *pathBuf, vnode_id dir_vnid, char *name, int perms, vnode_id *file_vnid, struct stat *st);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/fs_shell/
H A Dkprotos.h15 int sys_mkdir(int kernel, int fd, const char *path, int perms);
17 int perms, int coe);
/haiku-fatelf/src/bin/coreutils/src/
H A Dchmod.c143 char perms[12]; /* "-rwxrwxrwx" ls-style modes. */ local
153 strmode (mode, perms);
154 perms[10] = '\0'; /* Remove trailing space. */
170 (unsigned long int) (mode & CHMOD_MODE_BITS), &perms[1]);
/haiku-fatelf/src/add-ons/kernel/file_systems/netfs/netfs_server_prefs/
H A DNetFSServerPrefs.cpp476 uint32 perms = 0; local
478 if (!get_permissions(arg, &perms))
480 permissions |= perms;
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/netfs_server_prefs/
H A DNetFSServerPrefs.cpp476 uint32 perms = 0; local
478 if (!get_permissions(arg, &perms))
480 permissions |= perms;

Completed in 334 milliseconds

1234