Home
last modified time | relevance | path

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

/xnu-12377.41.6/tests/
H A Dtestposixshm.c30 myfd = shm_open("abcd", O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in worker_thread_func()
115 fd1 = shm_open(maxname, O_RDWR, S_IRUSR | S_IWUSR);
121 fd1 = shm_open(toolong, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
127 fd1 = shm_open(noname, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
133 fd1 = shm_open(maxname, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
137 fd2 = shm_open(maxname, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
144 fd2 = shm_open(maxname, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR);
169 fd2 = shm_open(maxname, O_RDWR, S_IRUSR | S_IWUSR);
H A Dxnu_quick_test_helpers.c86 (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)); in create_random_name()
H A Dprng.c87 int rndfd = open("/dev/random", O_WRONLY, S_IWUSR);
H A Darm_mte_unentitled.c81 int fd = shm_open(shm_name, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
H A Dpwrite.c112 int shm_fd = shm_open(memory_path, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
H A Dpread.c144 int shm_fd = shm_open(memory_path, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
/xnu-12377.41.6/bsd/sys/_types/
H A D_s_ifmt.h51 #define S_IWUSR 0000200 /* [XSI] W for owner */ macro
71 #define S_IWRITE S_IWUSR /* backward compatability */
/xnu-12377.41.6/tests/vfs/
H A Dlseek.c70 …T_ASSERT_POSIX_SUCCESS(mkfifo(path_template, (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)), "setup: cre…
/xnu-12377.41.6/bsd/kern/
H A Dsys_socket.c379 sb64->st_mode |= S_IWUSR | S_IWGRP | S_IWOTH; in soo_stat()
391 sb->st_mode |= S_IWUSR | S_IWGRP | S_IWOTH; in soo_stat()
H A Dsys_pipe.c503 sb64->st_mode = S_IFIFO | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP; in pipe_stat()
530 sb->st_mode = S_IFIFO | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP; in pipe_stat()
1718 ub->vst_mode = S_IFIFO | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP; in fill_pipeinfo()
H A Dposix_shm.c724 ((mode & FWRITE) ? S_IWUSR : 0); in pshm_access()
H A Dkern_symfile.c265 cmode = S_IRUSR | S_IWUSR; in kern_open_file_for_direct_io()
H A Dposix_sem.c814 ((mode & FWRITE) ? S_IWUSR : 0); in psem_access()
/xnu-12377.41.6/bsd/vm/
H A Dvm_compressor_backing_file.c52 …if ((error = vnode_open(path, (O_CREAT | O_TRUNC | FREAD | FWRITE), S_IRUSR | S_IWUSR, 0, vp, ctx)… in vm_swapfile_open()
/xnu-12377.41.6/bsd/sys/
H A Dstat.h462 #define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
/xnu-12377.41.6/bsd/vfs/
H A Dvfs_xattr.c790 va.va_mode = S_IRUSR | S_IWUSR; in getshadowfile()
1149 (va.va_mode & (S_IWUSR | S_IRWXG | S_IRWXO)) || in is_shadow_dir_valid()
2190 umode = va->va_mode & (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); in open_xattrfile()
2194 umode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; in open_xattrfile()
H A Dvfs_exclave_fs.c1083 VATTR_SET(vap, va_mode, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP); in exclave_fs_open_internal()
H A Dvfs_subr.c9325 needed |= S_IWUSR; in vnode_authorize_posix()
9444 (vap->va_mode & S_IWUSR) ? "w" : "-", in vnode_authorize_posix()
H A Dvfs_attrlist.c4785 (al.commonattr & ATTR_CMN_ACCESSMASK) && !(va.va_mode & S_IWUSR)) { in setattrlist_internal()
/xnu-12377.41.6/bsd/miscfs/devfs/
H A Ddevfs_fdesc_support.c495 vap->va_mode &= ~(S_IWUSR | S_IWGRP | S_IWOTH); in fdesc_attr()
/xnu-12377.41.6/tests/vm/
H A Dvm_stress.cpp496 fd = open(slow_file.c_str(), O_CREAT | O_RDWR, S_IWUSR | S_IRUSR); in open_file_slow_paging()
/xnu-12377.41.6/tests/ktrace/
H A Dkdebug_tests.c1538 ret = mkdir(dir, S_IRUSR | S_IWUSR | S_IXUSR);