/external/llvm-project/llvm/test/tools/llvm-objcopy/ELF/ |
D | respect-umask.test | 1 ## This tests that the umask is respected when 4 ## Windows has no umask so this test makes no sense, nor would 5 ## it work because there is no umask(1) in a Windows environment 20 # RUN: umask 0022 25 # RUN: umask 0177 29 # RUN: umask 0122
|
D | mirror-permissions-unix.test | 4 ## The Unix version of this test must use umask(1) because 5 ## llvm-objcopy respects the umask in setting output permissions. 6 ## Setting the umask to 0 ensures deterministic permissions across 19 ## Set umask to be permissive of all permissions, 21 # RUN: umask 0
|
D | mirror-permissions-win.test | 5 ## to use umask(1). Windows has no umask, so it can be considered
|
/external/python/cpython2/Lib/distutils/tests/ |
D | test_dir_util.py | 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/ |
D | test_dir_util.py | 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/libbrillo/brillo/ |
D | file_utils_test.cc | 89 mode_t old_umask = umask(kPermissions777); in TEST_F() 91 umask(old_umask); in TEST_F() 263 const mode_t old_mask = umask(mask); in TEST_F() 268 umask(old_mask); in TEST_F() 285 const mode_t old_mask = umask(mask); in TEST_F() 286 umask(old_mask); in TEST_F() 304 const mode_t old_mask = umask(mask); in TEST_F() 310 umask(old_mask); in TEST_F() 318 const mode_t old_mask = umask(mask); in TEST_F() 324 umask(old_mask); in TEST_F() [all …]
|
D | scoped_umask.cc | 12 saved_umask_ = umask(new_umask); in ScopedUmask() 16 umask(saved_umask_); in ~ScopedUmask()
|
/external/ltp/testcases/kernel/syscalls/vfork/ |
D | vfork01.c | 155 Cumask = umask(0); in main() 161 umask(Cumask); in main() 311 Pumask = umask(0); in setup() 312 umask(Pumask); /* in setup()
|
/external/selinux/libsemanage/src/ |
D | semanage_store.c | 548 mask = umask(0077); in semanage_create_store() 550 umask(mask); in semanage_create_store() 555 umask(mask); in semanage_create_store() 574 mask = umask(0077); in semanage_create_store() 576 umask(mask); in semanage_create_store() 582 umask(mask); in semanage_create_store() 600 mask = umask(0077); in semanage_create_store() 602 umask(mask); in semanage_create_store() 608 umask(mask); in semanage_create_store() 626 mask = umask(0077); in semanage_create_store() [all …]
|
D | database_file.c | 129 mask = umask(0077); in dbase_file_flush() 131 umask(mask); in dbase_file_flush()
|
/external/llvm/test/Other/ |
D | umask.ll | 4 ; RUN: umask 000 10 ; RUN: umask 002
|
/external/python/oauth2client/oauth2client/ |
D | file.py | 79 old_umask = os.umask(0o177) 83 os.umask(old_umask)
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/ |
D | create_directory.pass.cpp | 33 mode_t old_mask = umask(0); in read_umask() 34 umask(old_mask); // reset the mask to the old value. in read_umask()
|
/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/ |
D | create_directory.pass.cpp | 32 mode_t old_mask = umask(0); in read_umask() 33 umask(old_mask); // reset the mask to the old value. in read_umask()
|
/external/ipsec-tools/src/racoon/ |
D | main.c | 159 umask(077); 160 if (umask(077) != 077) {
|
/external/strace/ |
D | umask.c | 3 SYS_FUNC(umask) in SYS_FUNC() argument
|
/external/e2fsprogs/lib/blkid/ |
D | save.c | 101 mode_t save_umask = umask(022); in blkid_flush_cache() 104 umask(save_umask); in blkid_flush_cache()
|
/external/clang/test/CodeGen/ |
D | 2003-11-04-EmptyStruct.c | 4 struct fs_struct { rwlock_t lock; int umask; }; member
|
/external/llvm-project/clang/test/CodeGen/ |
D | 2003-11-04-EmptyStruct.c | 4 struct fs_struct { rwlock_t lock; int umask; }; member
|
/external/strace/tests-m32/ |
D | umask.c | 7 mode_t rc = umask(0xffff0000 | mode); in test_umask()
|
/external/strace/tests/ |
D | umask.c | 7 mode_t rc = umask(0xffff0000 | mode); in test_umask()
|
/external/strace/tests-mx32/ |
D | umask.c | 7 mode_t rc = umask(0xffff0000 | mode); in test_umask()
|
/external/crosvm/devices/src/virtio/fs/ |
D | passthrough.rs | 266 let previous = unsafe { libc::umask(self.old) }; in drop() 280 old: unsafe { libc::umask(mask) }, in set() 503 umask: Mutex<Umask>, field 542 umask: Mutex::new(Umask), in new() 1073 unsafe { libc::umask(0o000) }; in init() 1192 umask: u32, in mkdir() 1198 let mut um = self.umask.lock(); in mkdir() 1199 let _scoped_umask = um.set(umask); in mkdir() 1273 umask: u32, in chromeos_tmpfile() 1285 let mut um = self.umask.lock(); in chromeos_tmpfile() [all …]
|
/external/ltp/testcases/kernel/syscalls/setuid/ |
D | setuid03.c | 47 umask(0); in setup()
|
/external/ltp/testcases/kernel/syscalls/close/ |
D | close02.c | 109 umask(0); in setup()
|