Home
last modified time | relevance | path

Searched refs:dir_mode (Results 1 - 5 of 5) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/fchmod/
H A Dfchmod04.c29 mode_t dir_mode; in verify_fchmod() local
35 dir_mode = stat_buf.st_mode; in verify_fchmod()
37 if ((dir_mode & PERMS) == PERMS) in verify_fchmod()
43 TESTDIR, dir_mode, PERMS); in verify_fchmod()
H A Dfchmod05.c33 mode_t dir_mode; in verify_fchmod() local
40 dir_mode = stat_buf.st_mode; in verify_fchmod()
42 if ((PERMS_DIR & ~S_ISGID) != dir_mode) { in verify_fchmod()
44 TESTDIR, dir_mode & ~S_ISGID, PERMS_DIR); in verify_fchmod()
/third_party/ltp/testcases/kernel/syscalls/chmod/
H A Dchmod05.c50 mode_t dir_mode; in test_chmod() local
59 dir_mode = stat_buf.st_mode; in test_chmod()
60 if ((PERMS & ~S_ISGID) != dir_mode) { in test_chmod()
62 "Expected 0%03o", TESTDIR, dir_mode, in test_chmod()
/third_party/ltp/testcases/kernel/syscalls/rmdir/
H A Drmdir03.c36 mode_t dir_mode; member
54 if (tc->dir_mode & S_ISVTX && TST_ERR == EPERM) in do_rmdir()
/third_party/python/Lib/test/
H A Dtest_tarfile.py3091 dir_mode = pathlib.Path(TEMPDIR).stat().st_mode
3099 self.assertEqual(path.stat().st_mode, dir_mode)

Completed in 7 milliseconds