/haiku/src/system/libroot/posix/glibc/stdio-common/ |
H A D | tempname.c | 77 #if !S_IWUSR && S_IWRITE 78 # define S_IWUSR S_IWRITE macro 80 #if !S_IWUSR 81 # define S_IWUSR 00200 macro 300 fd = open(tmpl, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in __gen_tempname() 304 fd = mkdir(tmpl, S_IRUSR | S_IWUSR | S_IXUSR); in __gen_tempname()
|
/haiku/src/tests/system/libroot/posix/ |
H A D | xsi_msg_queue_test1.cpp | 46 int msgID = msgget(IPC_PRIVATE, S_IRUSR | S_IWUSR); in test_msgget() 56 msgID = msgget(KEY, IPC_CREAT | IPC_EXCL | S_IRUSR | S_IWUSR in test_msgget() 77 msgID = msgget(KEY, IPC_EXCL | S_IRUSR | S_IWUSR in test_msgget() 99 int msgID = msgget(KEY, IPC_CREAT | IPC_EXCL | S_IRUSR | S_IWUSR in test_msgctl() 144 int msgID = msgget(KEY, IPC_CREAT | IPC_EXCL | S_IRUSR | S_IWUSR in test_msgsnd() 190 int msgID = msgget(KEY, IPC_CREAT | IPC_EXCL | S_IRUSR | S_IWUSR in test_msgrcv()
|
H A D | xsi_sem_test1.cpp | 50 int semID = semget(IPC_PRIVATE, NUM_OF_SEMS, S_IRUSR | S_IWUSR); in test_semget() 60 semID = semget(KEY, NUM_OF_SEMS, IPC_CREAT | IPC_EXCL | S_IRUSR | S_IWUSR in test_semget() 81 semID = semget(KEY, NUM_OF_SEMS, IPC_EXCL | S_IRUSR | S_IWUSR in test_semget() 174 int semID = semget(KEY, NUM_OF_SEMS, IPC_CREAT | IPC_EXCL | S_IRUSR | S_IWUSR in test_semop() 234 int semID = semget(KEY, NUM_OF_SEMS, IPC_CREAT | IPC_EXCL | S_IRUSR | S_IWUSR in test_semctl()
|
H A D | realtime_sem_test1.cpp | 64 sem_t* sem = sem_open(kSemName1, O_CREAT, S_IRUSR | S_IWUSR, 1); in test_open_close_unlink() 73 sem = sem_open(kSemName1, O_CREAT, S_IRUSR | S_IWUSR, 1); in test_open_close_unlink() 101 sem = sem_open(kSemName1, O_CREAT | O_EXCL, S_IRUSR | S_IWUSR, 1); in test_open_close_unlink() 115 sem2 = sem_open(kSemName1, O_CREAT | O_EXCL, S_IRUSR | S_IWUSR, 2); in test_open_close_unlink() 185 sem_t* sem = sem_open(kSemName1, O_CREAT, S_IRUSR | S_IWUSR, 1); in test_open_close_fork() 265 sem_t* sem = sem_open(kSemName1, O_CREAT, S_IRUSR | S_IWUSR, 1); in test_post_wait_named() 550 sem_t* sem = sem_open(kSemName1, O_CREAT, S_IRUSR | S_IWUSR, 0); in test_post_wait_named_fork() 676 sem_t* sem = sem_open(kSemName1, O_CREAT, S_IRUSR | S_IWUSR, 0); in test_post_wait_named_fork2()
|
/haiku/headers/posix/sys/ |
H A D | stat.h | 83 #define S_IWUSR 00200 /* write permission: owner */ macro 96 #define S_IWRITE S_IWUSR 101 #define DEFFILEMODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)
|
/haiku/src/bin/debug/time_stats/ |
H A D | time_stats.cpp | 101 S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP| S_IROTH | S_IWOTH); in main()
|
/haiku/src/tools/fs_shell/ |
H A D | stat_util.cpp | 73 SET_ST_MODE_BIT(FSSH_S_IWUSR, S_IWUSR); in from_platform_mode() 135 SET_ST_MODE_BIT(FSSH_S_IWUSR, S_IWUSR); in to_platform_mode()
|
/haiku/src/tools/ |
H A D | data_to_source.cpp | 54 S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in main()
|
/haiku/src/bin/ |
H A D | dstcheck.cpp | 125 int fd = open(path, O_RDWR | O_EXCL | O_CREAT, S_IRUSR | S_IWUSR); in main()
|
/haiku/src/kits/tracker/infowindow/ |
H A D | FilePermissionsView.cpp | 251 fWriteUserCheckBox->SetValue((int32)(perms & S_IWUSR)); in ModelChanged() 331 | (fWriteUserCheckBox->Value() ? S_IWUSR : 0) in MessageReceived()
|
/haiku/headers/build/ |
H A D | HaikuBuildCompatibility.h | 49 # define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
|
H A D | BeOSBuildCompatibility.h | 6 #define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
|
/haiku/src/add-ons/kernel/file_systems/exfat/ |
H A D | Inode.cpp | 144 mode |= S_IWUSR | S_IWGRP | S_IWOTH; in Mode()
|
/haiku/src/tools/anyboot/ |
H A D | anyboot.cpp | 231 S_IRUSR | S_IWUSR); in main()
|
/haiku/src/build/libroot/ |
H A D | fs_darwin.cpp | 78 if ((st.st_mode & S_IWUSR) != 0) in eaccess()
|
/haiku/src/add-ons/kernel/drivers/pty/ |
H A D | driver.cpp | 413 || chmod(path, S_IRUSR | S_IWUSR | S_IWGRP) != 0) { in pty_ioctl()
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | security.c | 2773 if (mode & S_IWUSR) in ntfs_set_inherited_posix() 2932 if (mode & S_IWUSR) in ntfs_set_owner_mode() 2970 if (mode & S_IWUSR) in ntfs_set_owner_mode() 3481 allow = (perm & (S_IWUSR | S_IWGRP | S_IWOTH)) != 0; in ntfs_allowed_access() 3484 allow = ((perm & (S_IWUSR | S_IWGRP | S_IWOTH)) != 0) in ntfs_allowed_access() 3496 && ((perm & (S_IWUSR | S_IWGRP | S_IWOTH)) != 0); in ntfs_allowed_access() 3506 allow = ((perm & (S_IWUSR | S_IWGRP | S_IWOTH)) != 0) in ntfs_allowed_access() 3511 && ((perm & (S_IWUSR | S_IWGRP | S_IWOTH)) != 0) in ntfs_allowed_access() 3557 allow = ((perm & (S_IWUSR | S_IWGRP | S_IWOTH)) != 0) in ntfs_allowed_create()
|
/haiku/src/kits/tracker/ |
H A D | DeskWindow.cpp | 249 close(open(path.Path(), O_RDONLY | O_CREAT, S_IRUSR | S_IWUSR in Init()
|
/haiku/src/add-ons/kernel/file_systems/packagefs/package/ |
H A D | Package.cpp | 137 mode_t mode = entry->Mode() & ~(mode_t)(S_IWUSR | S_IWGRP | S_IWOTH); in HandleEntry()
|
/haiku/src/system/kernel/posix/ |
H A D | xsi_message_queue.cpp | 152 && (fMessageQueue.msg_perm.mode & S_IWUSR) != 0)) in HasPermission()
|
H A D | realtime_sem.cpp | 113 if (uid == 0 || (uid == fUID && (fPermissions & S_IWUSR) != 0)) in HasPermissions()
|
/haiku/src/apps/stylededit/ |
H A D | StyledEditWindow.cpp | 834 if (!((getuid() == st.st_uid && (S_IWUSR & st.st_mode)) in Save() 1549 bool editable = (getuid() == st.st_uid && S_IWUSR & st.st_mode) in _LoadFile() 1716 st.st_mode |= S_IWUSR; in _UnlockFile()
|
/haiku/src/system/boot/loader/file_systems/packagefs/ |
H A D | packagefs.cpp | 425 mode_t mode = entry->Mode() & ~(mode_t)(S_IWUSR | S_IWGRP | S_IWOTH); in HandleEntry()
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | kernel_interface.cpp | 1873 if ((stat->st_mode & S_IWUSR) == 0) in dosfs_wstat() 2061 if ((perms & (S_IWUSR | S_IWGRP | S_IWOTH)) == 0) in dosfs_create() 2551 if ((perms & (S_IWUSR | S_IWGRP | S_IWOTH)) == 0) in dosfs_mkdir() 3276 geometry->read_only = !(imageStat.st_mode & S_IWUSR); in bsd_device_init() 3578 fatVolume->pm_dirmask = S_IXUSR | S_IXGRP | S_IXOTH | S_IRUSR | S_IRGRP | S_IROTH | S_IWUSR; in fat_volume_init() 3579 fatVolume->pm_mask = S_IXUSR | S_IXGRP | S_IXOTH | S_IRUSR | S_IRGRP | S_IROTH | S_IWUSR; in fat_volume_init()
|
/haiku/src/add-ons/kernel/file_systems/iso9660/ |
H A D | kernel_interface.cpp | 389 & ~(S_IWUSR | S_IWGRP | S_IWOTH); in fs_read_vnode()
|