Searched refs:umask (Results 1 - 25 of 165) sorted by relevance

1234567

/external/strace/
H A Dumask.c3 SYS_FUNC(umask)
/external/clang/test/CodeGen/
H A D2003-11-04-EmptyStruct.c4 struct fs_struct { rwlock_t lock; int umask; }; member in struct:fs_struct
/external/strace/tests/
H A Dumask.c7 mode_t rc = umask(0xffff0000 | mode);
8 printf("umask(%#03ho) = %#03o\n", (unsigned short) mode, rc);
/external/strace/tests-m32/
H A Dumask.c7 mode_t rc = umask(0xffff0000 | mode);
8 printf("umask(%#03ho) = %#03o\n", (unsigned short) mode, rc);
/external/strace/tests-mx32/
H A Dumask.c7 mode_t rc = umask(0xffff0000 | mode);
8 printf("umask(%#03ho) = %#03o\n", (unsigned short) mode, rc);
/external/ltp/testcases/kernel/syscalls/close/
H A Dclose02.c109 umask(0);
H A Dclose01.c108 umask(0);
/external/ltp/testcases/kernel/syscalls/setuid/
H A Dsetuid03.c92 umask(0);
/external/ltp/testcases/kernel/syscalls/sysinfo/
H A Dsysinfo02.c138 umask(0);
/external/ltp/testcases/kernel/syscalls/umask/
H A Dumask01.c21 * umask(2) sets the mask from 0000 to 0777 while we create files,
41 TEST(umask(mskval));
43 tst_brk(TFAIL, "umask(%o) result outside range %ld",
49 tst_res(TFAIL, "umask(%o) returned %ld, expected %d",
/external/ltp/testcases/kernel/syscalls/vfork/
H A Dvfork01.c25 * euid, ruid, suid, egid, rgid, sgid, umask, inode and device number of
30 * The attribute values like euid, ruid, suid, egid, rgid, sgid, umask, inode
132 * Get the euid, ruid, egid, rgid, umask value
155 Cumask = umask(0);
161 umask(Cumask);
286 * This function gets real/effective/saved uid/gid, umask, the device/inode
297 * Get the euid, ruid, egid, rgid, umask value
311 Pumask = umask(0);
312 umask(Pumask); /*
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
H A D18-1.c16 * 1. Set umask to UMASK_FLAGS.
44 umask(UMASK_FLAGS);
/external/python/cpython2/Lib/distutils/tests/
H A Dtest_dir_util.py57 # Get and set the current umask value for testing mode bits.
58 umask = os.umask(0o002)
59 os.umask(umask)
62 stat.S_IMODE(os.stat(self.target).st_mode), 0o700 & ~umask)
65 stat.S_IMODE(os.stat(self.target2).st_mode), 0o555 & ~umask)
/external/python/cpython3/Lib/distutils/tests/
H A Dtest_dir_util.py59 # Get and set the current umask value for testing mode bits.
60 umask = os.umask(0o002)
61 os.umask(umask)
64 stat.S_IMODE(os.stat(self.target).st_mode), 0o700 & ~umask)
67 stat.S_IMODE(os.stat(self.target2).st_mode), 0o555 & ~umask)
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.create_directory/
H A Dcreate_directory.pass.cpp34 mode_t old_mask = umask(0);
35 umask(old_mask); // reset the mask to the old value.
/external/e2fsprogs/lib/ext2fs/
H A Dtst_fs_struct.c65 check_field(umask);
/external/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl06.c123 umask(0);
/external/ltp/testcases/kernel/syscalls/read/
H A Dread04.c122 umask(0);
/external/ltp/testcases/kernel/syscalls/setreuid/
H A Dsetreuid06.c82 umask(0);
/external/python/cpython2/Misc/
H A Dsetuid-prog.c34 not trust the old value of PATH. You should then set the umask of
36 umask 077 # or 022 if you want the files to be readable
44 umask using the command
45 umask 077 # or 022 if you want the files to be readable
169 umask(UMASK);
/external/e2fsprogs/lib/blkid/
H A Dsave.c101 mode_t save_umask = umask(022);
104 umask(save_umask);
/external/ipsec-tools/src/racoon/
H A Dmain.c159 umask(077);
160 if (umask(077) != 077) {
161 errx(1, "could not set umask");
/external/libbrillo/brillo/
H A Dfile_utils_unittest.cc70 mode_t old_umask = umask(kPermissions777);
72 umask(old_umask);
/external/ltp/testcases/kernel/syscalls/chdir/
H A Dchdir01.c143 umask(0);
/external/ltp/testcases/kernel/syscalls/dup2/
H A Ddup202.c155 (void)umask(0);

Completed in 2062 milliseconds

1234567