Home
last modified time | relevance | path

Searched refs:umask (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/ELF/
H A Drespect-umask.test1 ## 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
H A Dmirror-permissions-unix.test4 ## 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
52 ## Ignore umask if the output filename is the same as the input filename.
53 # RUN: umask 022
H A Dmirror-permissions-win.test5 ## to use umask(1). Windows has no umask, so it can be considered
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/
H A Dcreate_directory.pass.cpp35 auto old_mask = umask(0); // int on Windows, mode_t on POSIX. in read_umask()
36 umask(old_mask); // reset the mask to the old value. in read_umask()
/llvm-project-15.0.7/clang/test/CodeGen/
H A D2003-11-04-EmptyStruct.c4 struct fs_struct { rwlock_t lock; int umask; }; member
/llvm-project-15.0.7/compiler-rt/test/profile/
H A Dinstrprof-set-dir-mode.c33 const unsigned Expected = ~umask(0) & Mode; in test()
/llvm-project-15.0.7/llvm/test/tools/llvm-readobj/ELF/
H A Dnote-freebsd-core.test58 # GNU-NEXT: FreeBSD 0x00000000 NT_PROCSTAT_UMASK (umask data)
104 # LLVM-NEXT: Type: NT_PROCSTAT_UMASK (umask data)
/llvm-project-15.0.7/lldb/test/API/tools/lldb-server/
H A DTestGdbRemotePlatformFile.py315 old_umask = os.umask(0o22)
319 os.umask(old_umask)
/llvm-project-15.0.7/llvm/unittests/Support/
H A DPath.cpp977 mode_t OldUmask = ::umask(0000); in TEST_F()
992 ::umask(OldUmask); in TEST_F()
2050 unsigned OldMask = ::umask(0022); in TEST_F()
2054 EXPECT_EQ(::umask(OldMask), mode_t(0022U)) in TEST_F()
2061 unsigned OldMask = ::umask(0022); in TEST_F()
2088 (void)::umask(0057); in TEST_F()
2097 (void)::umask(OldMask); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Support/Unix/
H A DPath.inc769 // Chose arbitary new mask and reset the umask to the old mask.
770 // umask(2) never fails so ignore the return of the second call.
771 unsigned Mask = ::umask(0);
772 (void) ::umask(Mask);
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc2256 PRE_SYSCALL(umask)(long mask) {}
2258 POST_SYSCALL(umask)(long res, long mask) {}
H A Dsanitizer_syscalls_netbsd.inc728 PRE_SYSCALL(umask)(long long newmask_) { /* Nothing to do */ }
729 POST_SYSCALL(umask)(long long res, long long newmask_) { /* Nothing to do */ }
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Dlibc_ubuntu1404_abilist.txt3177 fun:umask=uninstrumented