Home
last modified time | relevance | path

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

/third_party/toybox/porting/liteos_a/toys/posix/
Dmkdir.c41 mode_t mode = (0777&~toys.old_umask); in mkdir_main()
/third_party/toybox/toys/posix/
Dmkdir.c41 mode_t mode = (0777&~toys.old_umask); in mkdir_main()
Duudecode.c50 string_to_mode(mode, 0777^toys.old_umask));
/third_party/toybox/
Dmain.c109 toys.old_umask = umask(0); in toy_singleinit()
110 if (!(which->flags & TOYFLAG_UMASK)) umask(toys.old_umask); in toy_singleinit()
Dtoys.h105 int old_umask; // Old umask preserved by TOYFLAG_UMASK member
/third_party/toybox/porting/liteos_a/
Dtoys.h111 int old_umask; // Old umask preserved by TOYFLAG_UMASK member
Dmain.c109 toys.old_umask = umask(0); in toy_singleinit()
110 if (!(which->flags & TOYFLAG_UMASK)) umask(toys.old_umask); in toy_singleinit()
/third_party/mksh/
Dfuncs.c1407 mode_t old_umask; in c_umask() local
1419 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 …]
/third_party/ntfs-3g/libfuse-lite/
Dfusermount.c672 mode_t old_umask; in fusermount() local
678 old_umask = umask(033); in fusermount()
700 umask(old_umask); in fusermount()
/third_party/python/Lib/test/
Dtest_dbm_dumb.py47 old_umask = os.umask(0o002)
51 os.umask(old_umask)
Dtest_mailbox.py1127 old_umask = os.umask(0o077)
1134 os.umask(old_umask)
/third_party/toybox/toys/pending/
Dsh.c491 if (toys.old_umask) umask(toys.old_umask); in run_command()
/third_party/toybox/lib/
Dlib.c186 mode_t mode = (0777&~toys.old_umask)|0300; in mkpathat()