Searched refs:write_domain_policy (Results 1 – 5 of 5) sorted by relevance
/external/ltp/testcases/kernel/security/tomoyo/ |
D | tomoyo_new_file_test.c | 127 write_domain_policy(policy, 0); in stage_file_test() 129 write_domain_policy(policy, 1); in stage_file_test() 133 write_domain_policy(policy, 0); in stage_file_test() 135 write_domain_policy(policy, 1); in stage_file_test() 139 write_domain_policy(policy, 0); in stage_file_test() 142 write_domain_policy(policy, 1); in stage_file_test() 147 write_domain_policy(policy, 0); in stage_file_test() 149 write_domain_policy(policy, 1); in stage_file_test() 153 write_domain_policy(policy, 0); in stage_file_test() 170 write_domain_policy(policy, 1); in stage_file_test() [all …]
|
D | tomoyo_rewrite_test.c | 61 write_domain_policy("allow_read/write " REWRITE_PATH, 0); in stage_rewrite_test() 62 write_domain_policy("allow_truncate " REWRITE_PATH, 0); in stage_rewrite_test() 63 write_domain_policy("allow_create " REWRITE_PATH " 0600", 0); in stage_rewrite_test() 64 write_domain_policy("allow_unlink " REWRITE_PATH, 0); in stage_rewrite_test()
|
D | tomoyo_new_test.c | 336 write_domain_policy("allow_truncate /tmp/testfile\\$", 0); in setup_test_file_truncate() 355 write_domain_policy("allow_truncate /tmp/testfile\\$", 0); in setup_all_test_file_truncate() 375 write_domain_policy("allow_truncate /tmp/testfile\\$", 1); in cleanup_test_file_truncate() 625 write_domain_policy(tests[i].policy, 0); in main() 633 write_domain_policy(tests[i].policy, 1); in main()
|
D | include.h | 273 int write_domain_policy(const char *policy, int is_delete) in write_domain_policy() function
|
/external/autotest/client/tests/ltp/patches/ |
D | sysctl.patch | 245 write_domain_policy(policy, 0); 248 write_domain_policy(policy, 1); 253 write_domain_policy(policy, 0); 256 write_domain_policy(policy, 1); 261 write_domain_policy(policy, 0); 265 write_domain_policy(policy, 1); 271 write_domain_policy(policy, 0);
|