Searched refs:old_umask (Results 1 – 13 of 13) sorted by relevance
41 mode_t mode = (0777&~toys.old_umask); in mkdir_main()
50 string_to_mode(mode, 0777^toys.old_umask));
109 toys.old_umask = umask(0); in toy_singleinit()110 if (!(which->flags & TOYFLAG_UMASK)) umask(toys.old_umask); in toy_singleinit()
105 int old_umask; // Old umask preserved by TOYFLAG_UMASK member
111 int old_umask; // Old umask preserved by TOYFLAG_UMASK member
1407 mode_t old_umask; in c_umask() local1419 old_umask = umask((mode_t)0); in c_umask()1420 umask(old_umask); in c_umask()1425 old_umask = ~old_umask; in c_umask()1431 if (old_umask & (1 << (8 - (3*i + j)))) in c_umask()1438 shprintf("%#3.3o\n", (unsigned int)old_umask); in c_umask()1457 old_umask = umask((mode_t)0); in c_umask()1459 umask(old_umask); in c_umask()1460 old_umask = ~old_umask; in c_umask()1461 new_umask = old_umask; in c_umask()[all …]
672 mode_t old_umask; in fusermount() local678 old_umask = umask(033); in fusermount()700 umask(old_umask); in fusermount()
47 old_umask = os.umask(0o002)51 os.umask(old_umask)
1127 old_umask = os.umask(0o077)1134 os.umask(old_umask)
491 if (toys.old_umask) umask(toys.old_umask); in run_command()
186 mode_t mode = (0777&~toys.old_umask)|0300; in mkpathat()