Home
last modified time | relevance | path

Searched refs:write_exception_policy (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_new_test.c151 write_exception_policy("path_group CHMOD_TARGET /dev/null", 0); in setup_chmod_group()
152 write_exception_policy("number_group CHMOD_MODES 0666", 0); in setup_chmod_group()
157 write_exception_policy("path_group CHMOD_TARGET /dev/null", 1); in cleanup_chmod_group()
158 write_exception_policy("number_group CHMOD_MODES 0666", 1); in cleanup_chmod_group()
163 write_exception_policy("path_group CHOWN_TARGET /dev/\\*", 0); in setup_chown_group()
164 write_exception_policy("number_group CHOWN_IDS 0x0-0xFFFE", 0); in setup_chown_group()
169 write_exception_policy("path_group CHOWN_TARGET /dev/\\*", 1); in cleanup_chown_group()
170 write_exception_policy("number_group CHOWN_IDS 0x0-0xFFFE", 1); in cleanup_chown_group()
175 write_exception_policy("path_group IOCTL_TARGET /dev/\\*", 0); in setup_ioctl_group()
176 write_exception_policy("number_group IOCTL_NUMBERS 0x5450-0x5452", 0); in setup_ioctl_group()
[all …]
Dtomoyo_rewrite_test.c65 write_exception_policy("deny_rewrite " REWRITE_PATH, 0); in stage_rewrite_test()
159 write_exception_policy("deny_rewrite " REWRITE_PATH, 0); in stage_rewrite_test()
Dinclude.h312 int write_exception_policy(const char *policy, int is_delete) in write_exception_policy() function
Dtomoyo_new_file_test.c552 write_exception_policy("deny_rewrite /tmp/rewrite_test", 0); in stage_file_test()
596 write_exception_policy("deny_rewrite /tmp/rewrite_test", 1); in stage_file_test()