Searched refs:umask (Results 1 – 13 of 13) sorted by relevance
1 ## This tests that the umask is respected when4 ## Windows has no umask so this test makes no sense, nor would5 ## it work because there is no umask(1) in a Windows environment20 # RUN: umask 002225 # RUN: umask 017729 # RUN: umask 0122
4 ## The Unix version of this test must use umask(1) because5 ## llvm-objcopy respects the umask in setting output permissions.6 ## Setting the umask to 0 ensures deterministic permissions across19 ## Set umask to be permissive of all permissions,21 # RUN: umask 052 ## Ignore umask if the output filename is the same as the input filename.53 # RUN: umask 022
5 ## to use umask(1). Windows has no umask, so it can be considered
35 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()
4 struct fs_struct { rwlock_t lock; int umask; }; member
33 const unsigned Expected = ~umask(0) & Mode; in test()
58 # GNU-NEXT: FreeBSD 0x00000000 NT_PROCSTAT_UMASK (umask data)104 # LLVM-NEXT: Type: NT_PROCSTAT_UMASK (umask data)
315 old_umask = os.umask(0o22)319 os.umask(old_umask)
977 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()
769 // 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);
2256 PRE_SYSCALL(umask)(long mask) {}2258 POST_SYSCALL(umask)(long res, long mask) {}
728 PRE_SYSCALL(umask)(long long newmask_) { /* Nothing to do */ }729 POST_SYSCALL(umask)(long long res, long long newmask_) { /* Nothing to do */ }
3177 fun:umask=uninstrumented