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/
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()
Dfchmod04.c100 mode_t dir_mode; /* mode permissions set on testdirectory */ in main() local
123 dir_mode = stat_buf.st_mode; in main()
125 if ((dir_mode & PERMS) == PERMS) in main()
131 TESTDIR, dir_mode, PERMS); in main()
/third_party/ltp/testcases/kernel/syscalls/chmod/
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/
Drmdir03.c36 mode_t dir_mode; member
54 if (tc->dir_mode & S_ISVTX && TST_ERR == EPERM) in do_rmdir()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h42529 umode_t dir_mode; member