/llvm-project/llvm/test/tools/llvm-objcopy/ELF/ |
H A 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
|
H A 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 52 ## Ignore umask if the output filename is the same as the input filename. 53 # RUN: umask 022
|
H A D | mirror-permissions-win.test | 5 ## to use umask(1). Windows has no umask, so it can be considered
|
/llvm-project/llvm/test/tools/llvm-dwarfutil/ELF/X86/ |
H A D | mirror-permissions-unix.test | 1 ## The Unix version of this test must use umask(1) because 2 ## llvm-dwarfutil respects the umask in setting output permissions. 3 ## Setting the umask to 0 ensures deterministic permissions across 16 ## Set umask to be permissive of all permissions, 18 # RUN: umask 0
|
/llvm-project/bolt/test/ |
H A D | permission.test | 2 # system's umask. 5 # %t.bolt` and `umask` commands (both results are displayed in octal), and 11 RUN: echo $(( 8#$(stat -c %a %t.bolt) & 8#$(umask) )) | FileCheck %s
|
/llvm-project/llvm/test/tools/llvm-readobj/ELF/ |
H A D | note-freebsd-core.test | 58 # GNU-NEXT: FreeBSD 0x00000000 NT_PROCSTAT_UMASK (umask data) 105 # LLVM-NEXT: Type: NT_PROCSTAT_UMASK (umask data)
|
/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/ |
H A D | create_directory.pass.cpp | 37 auto old_mask = umask(0); // int on Windows, mode_t on POSIX. in read_umask() 38 umask(old_mask); // reset the mask to the old value. in read_umask()
|
/llvm-project/clang/test/CodeGen/ |
H A D | 2003-11-04-EmptyStruct.c | 4 struct fs_struct { rwlock_t lock; int umask; }; member
|
/llvm-project/lldb/test/API/functionalities/postmortem/minidump-new/ |
H A D | linux-x86_64_null_signal.yaml | 22 Umask: 0002
|
/llvm-project/llvm/utils/release/ |
H A D | export.sh | 183 # Make sure umask is not overly restrictive. 184 umask 0022
|
/llvm-project/compiler-rt/test/profile/ |
H A D | instrprof-set-dir-mode.c | 32 const unsigned Expected = ~umask(0) & Mode; in test()
|
/llvm-project/llvm/unittests/Support/ |
H A D | Path.cpp | 1008 // Set a 0000 umask so that we can test our directory permissions. in TEST_F() 1009 mode_t OldUmask = ::umask(0000); in TEST_F() 1023 // Restore umask to be safe. in TEST_F() 1024 ::umask(OldUmask); in TEST_F() 2107 unsigned OldMask = ::umask(0022); in TEST_F() 2110 << "getUmask() didn't return previously set umask()"; in TEST_F() 2111 EXPECT_EQ(::umask(OldMask), mode_t(0022U)) 2112 << "getUmask() may have changed umask()"; in TEST_F() 2118 unsigned OldMask = ::umask(0022); in TEST_F() 2130 EXPECT_EQ(Perms.get(), AllRWE) << "Should have ignored umask b in TEST_F() [all...] |
H A D | raw_ostream_test.cpp | 577 // Set umask to be permissive of all permissions. in TEST() 578 unsigned OldMask = ::umask(0); in TEST() 596 ::umask(OldMask); in TEST()
|
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/bugprone/ |
H A D | signal-handler.rst | 87 ``times``, ``umask``, ``uname``, ``unlink``, ``unlinkat``, ``utime``,
|
/llvm-project/lldb/test/API/tools/lldb-server/ |
H A D | TestGdbRemotePlatformFile.py | 369 old_umask = os.umask(0o22) 373 os.umask(old_umask)
|
/llvm-project/llvm/lib/Support/Unix/ |
H A D | Path.inc | 768 // Chose arbitary new mask and reset the umask to the old mask. 769 // umask(2) never fails so ignore the return of the second call. 770 unsigned Mask = ::umask(0); 771 (void)::umask(Mask);
|
/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
H A D | SignalHandlerCheck.cpp | 187 "umask",
|
/llvm-project/llvm/include/llvm/Support/ |
H A D | FileSystem.h | 646 /// @returns Mask reported by umask(2) 647 /// @note There is no umask on Windows. This function returns 0 always 649 /// umask(2) never fails. It is not thread safe.
|
/llvm-project/llvm/cmake/ |
H A D | config.guess | 111 …{ tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp… 112 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || 113 …{ tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp director…
|
/llvm-project/clang/include/clang/AST/ |
H A D | Type.h | 482 unsigned getCVRUQualifiers() const { return Mask & (CVRMask | UMask); } 500 assert(!(mask & ~CVRMask & ~UMask) && "bitmask contains non-CVRU bits"); 504 bool hasUnaligned() const { return Mask & UMask; } 506 Mask = (Mask & ~UMask) | (flag ? UMask : 0); 508 void removeUnaligned() { Mask &= ~UMask; } 509 void addUnaligned() { Mask |= UMask; } 806 static constexpr uint64_t UMask = 0x8; 813 ~(CVRMask | UMask | GCAttrMask | LifetimeMask);
|
/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_syscalls.inc | 2275 PRE_SYSCALL(umask)(long mask) {} 2277 POST_SYSCALL(umask)(long res, long mask) {}
|
H A D | sanitizer_syscalls_netbsd.inc | 728 PRE_SYSCALL(umask)(long long newmask_) { /* Nothing to do */ } 729 POST_SYSCALL(umask)(long long res, long long newmask_) { /* Nothing to do */ }
|
/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | CombinerHelper.cpp | 4717 uint64_t UMask = SMask; in reassociationCanBreakAddressingModePattern() 4718 UMask |= maskTrailingOnes<uint64_t>(ShrAmt); in reassociationCanBreakAddressingModePattern() 4719 UMask &= maskTrailingOnes<uint64_t>(Size); in reassociationCanBreakAddressingModePattern() 4720 if (!isMask_64(UMask)) in reassociationCanBreakAddressingModePattern() 4725 const int64_t Width = llvm::countr_one(UMask) - ShrAmt; in reassociationCanBreakAddressingModePattern() 4647 uint64_t UMask = SMask; matchBitfieldExtractFromShrAnd() local
|
/llvm-project/compiler-rt/lib/dfsan/ |
H A D | libc_ubuntu1404_abilist.txt | 3182 fun:umask=uninstrumented
|
/llvm-project/compiler-rt/utils/ |
H A D | generate_netbsd_syscalls.awk | 1084 } else if (syscall == "umask") {
|