/external/ltp/testcases/kernel/syscalls/chmod/ |
D | chmod07.c | 35 #define PERMS 01777 /* Permissions with sticky bit set. */ macro 46 TEST(chmod(TESTFILE, PERMS)); in test_chmod() 49 TESTFILE, PERMS); in test_chmod() 57 if ((stat_buf.st_mode & PERMS) == PERMS) { in test_chmod() 59 TESTFILE, PERMS); in test_chmod() 62 TESTFILE, stat_buf.st_mode, PERMS); in test_chmod()
|
D | chmod04.c | 86 #define PERMS 01777 /* macro 118 TEST(chmod(TESTDIR, PERMS)); in main() 122 TESTDIR, PERMS); in main() 138 if ((dir_mode & PERMS) == PERMS) { in main() 141 TESTDIR, PERMS); in main() 145 TESTDIR, dir_mode, PERMS); in main()
|
D | chmod05.c | 43 #define PERMS (mode_t)(MODE_RWX | DIR_MODE) macro 51 TEST(chmod(TESTDIR, PERMS)); in test_chmod() 53 tst_res(TFAIL, "chmod(%s, %#o) failed", TESTDIR, PERMS); in test_chmod() 59 if ((PERMS & ~S_ISGID) != dir_mode) { in test_chmod() 62 PERMS & ~S_ISGID); in test_chmod() 65 TESTDIR, PERMS); in test_chmod()
|
D | chmod03.c | 86 #define PERMS 01777 /* macro 114 TEST(chmod(TESTFILE, PERMS)); in main() 118 TESTFILE, PERMS); in main() 128 if ((file_mode & PERMS) != PERMS) { in main() 134 TESTFILE, PERMS); in main()
|
/external/ltp/testcases/kernel/syscalls/fchmod/ |
D | fchmod04.c | 114 TEST(fchmod(fd, PERMS)); in main() 125 if ((dir_mode & PERMS) == PERMS) in main() 127 "%#o) successful", fd, PERMS); in main() 131 TESTDIR, dir_mode, PERMS); in main()
|
D | fchmod02.c | 32 TEST(fchmod(fd, PERMS)); in verify_fchmod() 39 if ((file_mode & ~S_IFREG) != PERMS) { in verify_fchmod() 41 TESTFILE, file_mode, PERMS); in verify_fchmod() 44 fd, PERMS); in verify_fchmod()
|
D | fchmod03.c | 110 TEST(fchmod(fd, PERMS)); in main() 126 if ((file_mode & PERMS) != PERMS) in main() 131 "%#o) successful", fd, PERMS); in main()
|
D | fchmod.h | 12 #define PERMS 01777 macro
|
/external/ltp/testcases/kernel/syscalls/rename/ |
D | rename09.c | 87 #define PERMS 0700 macro 137 if (mkdir(fdir, PERMS) == -1) { in main() 139 fdir, PERMS); in main() 169 if (mkdir(mdir, PERMS) == -1) { in main() 171 mdir, PERMS); in main()
|
D | rename12.c | 81 #define PERMS 0777 macro 197 SAFE_MKDIR(cleanup, fdir, PERMS); in setup()
|
/external/ltp/testcases/kernel/syscalls/mkdir/ |
D | mkdir05.c | 18 #define PERMS 0777 macro 25 TEST(mkdir(TESTDIR, PERMS)); in verify_mkdir()
|
/external/selinux/python/sepolicy/sepolicy/ |
D | booleans.py | 33 …licy.search([sepolicy.ALLOW], {sepolicy.SOURCE: src, sepolicy.CLASS: tclass, sepolicy.PERMS: perm}) 38 …for l in map(lambda y: y[sepolicy.TARGET], filter(lambda x: set(perm).issubset(x[sepolicy.PERMS]),…
|
D | communicate.py | 42 …licy.search([sepolicy.ALLOW], {sepolicy.SOURCE: src, sepolicy.CLASS: tclass, sepolicy.PERMS: perm}) 47 …for l in map(lambda y: y[sepolicy.TARGET], filter(lambda x: set(perm).issubset(x[sepolicy.PERMS]),…
|
D | network.py | 26 …licy.search([sepolicy.ALLOW], {sepolicy.SOURCE: src, sepolicy.CLASS: tclass, sepolicy.PERMS: perm}) 29 …bda y: y[sepolicy.TARGET], filter(lambda x: set(perm).issubset(x[sepolicy.PERMS]) and (not check_b…
|
D | __init__.py | 48 PERMS = 'permlist' variable 378 if PERMS in seinfo: 379 q.perms = seinfo[PERMS] 391 if PERMS in seinfo: 392 q.perms = seinfo[PERMS] 428 set(perm).issubset(x[PERMS]) and 1089 if perm not in dict[PERMS]:
|
D | transition.py | 28 …return map(lambda y: y[sepolicy.TARGET], filter(lambda x: "entrypoint" in x[sepolicy.PERMS], trans…
|
/external/selinux/python/sepolgen/src/sepolgen/ |
D | policygen.py | 205 …ONTEXT] for x in sesearch([ALLOW], {SCONTEXT: av.src_type, CLASS: av.obj_class, PERMS: av.perms})]:
|
D | refpolicy.py | 41 PERMS = 3 variable 48 "permission" : PERMS, "role" : ROLE, "destination" : DEST_TYPE }
|