Home
last modified time | relevance | path

Searched refs:S_IRUSR (Results 1 – 25 of 43) sorted by relevance

12

/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dtempname.c71 #if !S_IRUSR && S_IREAD
72 # define S_IRUSR S_IREAD macro
74 #if !S_IRUSR
75 # define S_IRUSR 00400 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.h82 #define S_IRUSR 00400 /* read permission: owner */ macro
95 #define S_IREAD S_IRUSR
101 #define DEFFILEMODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)
/haiku/src/kits/package/hpkg/
H A DPackageEntry.cpp20 fMode(S_IFREG | S_IRUSR | S_IRGRP | S_IROTH), in BPackageEntry()
/haiku/src/kits/package/hpkg/v1/
H A DPackageEntryV1.cpp22 fMode(S_IFREG | S_IRUSR | S_IRGRP | S_IROTH), in BPackageEntry()
/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.cpp72 SET_ST_MODE_BIT(FSSH_S_IRUSR, S_IRUSR); in from_platform_mode()
134 SET_ST_MODE_BIT(FSSH_S_IRUSR, S_IRUSR); 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/add-ons/kernel/file_systems/packagefs/nodes/
H A DDirectory.cpp51 return S_IFDIR | S_IRUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH; in Mode()
H A DUnpackingDirectory.cpp59 return S_IFDIR | S_IRUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH; in Mode()
H A DUnpackingLeafNode.cpp62 return S_IFREG | S_IRUSR | S_IRGRP | S_IROTH; in Mode()
/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/add-ons/kernel/file_systems/packagefs/package_links/
H A DPackageLinkSymlink.cpp127 return S_IFLNK | S_IRUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH; in Mode()
/haiku/src/kits/tracker/infowindow/
H A DFilePermissionsView.cpp248 fReadUserCheckBox->SetValue((int32)(perms & S_IRUSR)); in ModelChanged()
327 = (mode_t)((fReadUserCheckBox->Value() ? S_IRUSR : 0) in MessageReceived()
/haiku/src/add-ons/kernel/file_systems/udf/
H A DIcb.h99 | S_IRUSR | S_IRGRP | S_IROTH; } in Mode()
/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.cpp142 mode_t mode = S_IRUSR | S_IRGRP | S_IROTH; in Mode()
/haiku/src/tools/anyboot/
H A Danyboot.cpp231 S_IRUSR | S_IWUSR); in main()
/haiku/src/add-ons/kernel/file_systems/netfs/client/
H A DShareNode.cpp93 fInfo.st.st_mode = S_IFDIR | S_IRUSR | S_IXUSR | S_IRGRP | S_IXGRP in ShareNode()
/haiku/src/build/libroot/
H A Dfs_darwin.cpp76 if ((st.st_mode & S_IRUSR) != 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/iso9660/
H A Diso9660.cpp917 ? S_IFDIR | S_IXUSR | S_IRUSR | S_IXGRP | S_IRGRP | S_IXOTH | S_IROTH in InitNode()
918 : S_IFREG | S_IRUSR | S_IRGRP | S_IROTH; in InitNode()

12