Home
last modified time | relevance | path

Searched refs:S_IRWXU (Results 1 – 25 of 69) sorted by relevance

123

/freebsd/tests/sys/fifo/
H A Dfifo_create.c190 {0000, S_IRWXU, S_IFIFO | S_IRWXU},
191 {0000, S_IRWXU | S_IRWXG | S_IRWXO, S_IFIFO | S_IRWXU | S_IRWXG |
193 {0077, S_IRWXU, S_IFIFO | S_IRWXU},
194 {0077, S_IRWXU | S_IRWXG | S_IRWXO, S_IFIFO | S_IRWXU},
/freebsd/contrib/netbsd-tests/kernel/kqueue/
H A Dt_vnode.c35 if (mkdir(dir_target, S_IRWXU) < 0) { in init_target()
143 ATF_REQUIRE(mkdir(dir_inside1, S_IRWXU) != -1); in ATF_TC_BODY()
193 ATF_REQUIRE(mkdir(dir_inside1, S_IRWXU) != -1); in ATF_TC_BODY()
214 ATF_REQUIRE(mkdir(dir_inside1, S_IRWXU) != -1); in ATF_TC_BODY()
238 ATF_REQUIRE(mkdir(dir_outside, S_IRWXU) != -1); in ATF_TC_BODY()
262 ATF_REQUIRE(mkdir(dir_inside1, S_IRWXU) != -1); in ATF_TC_BODY()
288 ATF_REQUIRE(mkdir(dir_inside1, S_IRWXU) != -1); in ATF_TC_BODY()
332 ATF_REQUIRE(mkdir(dir_inside1, S_IRWXU) != -1); in ATF_TC_BODY()
380 ATF_REQUIRE(mkdir(dir_outside, S_IRWXU) != -1); in ATF_TC_BODY()
404 ATF_REQUIRE(mkdir(dir_inside1, S_IRWXU) != -1); in ATF_TC_BODY()
[all …]
/freebsd/bin/mkdir/
H A Dmkdir.c81 omode = S_IRWXU | S_IRWXG | S_IRWXO; in main()
85 omode = getmode(set, S_IRWXU | S_IRWXG | S_IRWXO); in main()
167 if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) { in build()
/freebsd/bin/pax/
H A Dfile_subs.c57 #define FILEBITS (S_ISVTX | S_IRWXU | S_IRWXG | S_IRWXO)
449 set_pmode(arcn->name,file_mode | S_IRWXU); in node_creat()
458 ((sb.st_mode & FILEBITS) | S_IRWXU)); in node_creat()
585 if (mkdir(name, S_IRWXU | S_IRWXG | S_IRWXO) < 0) { in chk_path()
608 set_pmode(name, ((sb.st_mode & FILEBITS) | S_IRWXU)); in chk_path()
/freebsd/sys/sys/
H A Dstat.h246 #define S_IRWXU 0000700 /* RWX mask for owner */
296 #define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO) /* 0777 */
298 #define ALLPERMS (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO)
245 #define S_IRWXU global() macro
/freebsd/lib/libc/gen/
H A Dsetmode.c99 value = (newmode & S_IRWXU) >> 6; in getmode()
163 #define STANDARD_BITS (S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO)
230 who |= S_ISUID|S_IRWXU; in setmode()
/freebsd/contrib/diff/src/
H A Dsystem.h64 #ifndef S_IRWXU
65 # define S_IRWXU 0700 macro
/freebsd/contrib/unifdef/
H A Dunifdef.h51 fchmod(fd, mode & (S_IRWXU|S_IRWXG|S_IRWXO)); in mktempmode()
/freebsd/contrib/atf/atf-c/detail/
H A Dfs.c798 if (!check_umask(S_IRWXU, S_IRWXU)) { in atf_fs_mkdtemp()
827 if (!check_umask(S_IRWXU, S_IRWXU)) { in atf_fs_mkstemp()
/freebsd/contrib/tcsh/
H A Dtc.os.h325 #ifndef S_IRWXU
326 # define S_IRWXU (S_IRUSR | S_IWUSR | S_IXUSR) macro
/freebsd/tools/test/stress2/misc/
H A Dtmpfs6.sh77 if ((fd = open(filename, O_CREAT | O_TRUNC | O_RDWR, S_IRWXU)) == -1)
H A Dnamecache2.sh140 fd = open(filename1, O_CREAT, S_IRWXU);
/freebsd/contrib/mtree/
H A Dmtree.h50 #define MBITS (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO)
H A Dcompare.c272 if (!((tmode & ~(S_IRWXU|S_IRWXG|S_IRWXO)) || in compare()
273 (mode & ~(S_IRWXU|S_IRWXG|S_IRWXO)))) in compare()
/freebsd/tools/test/upsdl/
H A Dupsdl.c54 fd = open(filename,O_CREAT | O_TRUNC | O_RDWR,S_IRWXU); in prepareFile()
/freebsd/usr.sbin/pw/
H A Dpw.h64 #define _DEF_DIRMODE (S_IRWXU | S_IRWXG | S_IRWXO)
/freebsd/sys/fs/smbfs/
H A Dsmbfs_vfsops.c202 smp->sm_file_mode = (v & (S_IRWXU|S_IRWXG|S_IRWXO)) | S_IFREG; in smbfs_mount()
209 smp->sm_dir_mode = (v & (S_IRWXU|S_IRWXG|S_IRWXO)) | S_IFDIR; in smbfs_mount()
/freebsd/bin/cp/
H A Dcp.c427 ((mode | S_IRWXU) & mask) != (mode & mask)) in copy()
488 mode = curr->fts_statp->st_mode | S_IRWXU; in copy()
/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_umask.c45 S_IRWXU,
/freebsd/contrib/wpa/wpa_supplicant/
H A Dctrl_iface_unix.c541 if (mkdir(dir, S_IRWXU | S_IRWXG) < 0) { in wpas_ctrl_iface_open_sock()
561 if (chmod(dir, S_IRWXU | S_IRWXG) < 0) { in wpas_ctrl_iface_open_sock()
664 if (chmod(fname, S_IRWXU | S_IRWXG) < 0) { in wpas_ctrl_iface_open_sock()
1329 if (chmod(ctrl, S_IRWXU | S_IRWXG) < 0) { in wpas_global_ctrl_iface_open_sock()
1336 if (chmod(ctrl, S_IRWXU) < 0) { in wpas_global_ctrl_iface_open_sock()
/freebsd/crypto/openssh/
H A Dsshpty.c207 if ((st.st_mode & (S_IRWXU|S_IRWXG|S_IRWXO)) != mode) { in pty_setowner()
/freebsd/tools/test/stress2/lib/
H A Dmain.c195 } else if ((sb.st_mode & S_IRWXU) == 0) in main()
/freebsd/usr.bin/bintrans/
H A Duuencode.c122 #define RWX (S_IRWXU|S_IRWXG|S_IRWXO) in main_encode()
/freebsd/contrib/mandoc/
H A Dcatman.c180 mkdirat(dstdir_fd, path, S_IRWXU | S_IRGRP | in process_tree()
/freebsd/sys/fs/unionfs/
H A Dunion_vfsops.c137 udir &= S_IRWXU | S_IRWXG | S_IRWXO; in unionfs_domount()
146 ufile &= S_IRWXU | S_IRWXG | S_IRWXO; in unionfs_domount()

123