Home
last modified time | relevance | path

Searched refs:S_IWUSR (Results 1 – 25 of 39) sorted by relevance

12

/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dtempname.c77 #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 Dxsi_msg_queue_test1.cpp46 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 Dxsi_sem_test1.cpp50 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 Drealtime_sem_test1.cpp64 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 Dstat.h83 #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 Dtime_stats.cpp101 S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP| S_IROTH | S_IWOTH); in main()
/haiku/src/tools/fs_shell/
H A Dstat_util.cpp73 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 Ddata_to_source.cpp54 S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in main()
/haiku/src/bin/
H A Ddstcheck.cpp125 int fd = open(path, O_RDWR | O_EXCL | O_CREAT, S_IRUSR | S_IWUSR); in main()
/haiku/src/kits/tracker/infowindow/
H A DFilePermissionsView.cpp251 fWriteUserCheckBox->SetValue((int32)(perms & S_IWUSR)); in ModelChanged()
331 | (fWriteUserCheckBox->Value() ? S_IWUSR : 0) in MessageReceived()
/haiku/headers/build/
H A DHaikuBuildCompatibility.h49 # define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
H A DBeOSBuildCompatibility.h6 #define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
/haiku/src/add-ons/kernel/file_systems/exfat/
H A DInode.cpp144 mode |= S_IWUSR | S_IWGRP | S_IWOTH; in Mode()
/haiku/src/tools/anyboot/
H A Danyboot.cpp231 S_IRUSR | S_IWUSR); in main()
/haiku/src/build/libroot/
H A Dfs_darwin.cpp78 if ((st.st_mode & S_IWUSR) != 0) in eaccess()
/haiku/src/add-ons/kernel/drivers/pty/
H A Ddriver.cpp413 || chmod(path, S_IRUSR | S_IWUSR | S_IWGRP) != 0) { in pty_ioctl()
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dsecurity.c2773 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 DDeskWindow.cpp249 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 DPackage.cpp137 mode_t mode = entry->Mode() & ~(mode_t)(S_IWUSR | S_IWGRP | S_IWOTH); in HandleEntry()
/haiku/src/system/kernel/posix/
H A Dxsi_message_queue.cpp152 && (fMessageQueue.msg_perm.mode & S_IWUSR) != 0)) in HasPermission()
H A Drealtime_sem.cpp113 if (uid == 0 || (uid == fUID && (fPermissions & S_IWUSR) != 0)) in HasPermissions()
/haiku/src/apps/stylededit/
H A DStyledEditWindow.cpp834 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 Dpackagefs.cpp425 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 Dkernel_interface.cpp1873 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 Dkernel_interface.cpp389 & ~(S_IWUSR | S_IWGRP | S_IWOTH); in fs_read_vnode()

12