Home
last modified time | relevance | path

Searched refs:set_profile (Results 1 – 7 of 7) sorted by relevance

/external/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_file_test.c232 set_profile(3, "file::execute"); in set_file_enforce()
233 set_profile(3, "file::open"); in set_file_enforce()
234 set_profile(3, "file::create"); in set_file_enforce()
235 set_profile(3, "file::unlink"); in set_file_enforce()
236 set_profile(3, "file::mkdir"); in set_file_enforce()
237 set_profile(3, "file::rmdir"); in set_file_enforce()
238 set_profile(3, "file::mkfifo"); in set_file_enforce()
239 set_profile(3, "file::mksock"); in set_file_enforce()
240 set_profile(3, "file::truncate"); in set_file_enforce()
241 set_profile(3, "file::symlink"); in set_file_enforce()
[all …]
Dtomoyo_accept_test.c28 set_profile(i, "file::execute"); in set_level()
29 set_profile(i, "file::open"); in set_level()
30 set_profile(i, "file::create"); in set_level()
31 set_profile(i, "file::unlink"); in set_level()
32 set_profile(i, "file::mkdir"); in set_level()
33 set_profile(i, "file::rmdir"); in set_level()
34 set_profile(i, "file::mkfifo"); in set_level()
35 set_profile(i, "file::mksock"); in set_level()
36 set_profile(i, "file::truncate"); in set_level()
37 set_profile(i, "file::symlink"); in set_level()
[all …]
Dtomoyo_new_file_test.c51 set_profile(0, "file::create"); in create2()
52 set_profile(0, "file::open"); in create2()
54 set_profile(3, "file::create"); in create2()
55 set_profile(3, "file::open"); in create2()
61 set_profile(0, "file::mkdir"); in mkdir2()
63 set_profile(3, "file::mkdir"); in mkdir2()
69 set_profile(0, "file::unlink"); in unlink2()
71 set_profile(3, "file::unlink"); in unlink2()
77 set_profile(0, "file::rmdir"); in rmdir2()
79 set_profile(3, "file::rmdir"); in rmdir2()
[all …]
Dtomoyo_filesystem_test.c179 set_profile(3, "file::mount"); in main()
188 set_profile(1, "file::mount"); in main()
197 set_profile(3, "file::mount"); in main()
216 set_profile(1, "file::mount"); in main()
222 set_profile(3, "file::mount"); in main()
241 set_profile(2, "file::mount"); in main()
267 set_profile(0, "file::mount"); in main()
304 set_profile(3, "file::mount"); in main()
371 set_profile(0, "file::mount"); in main()
379 set_profile(3, "file::mount"); in main()
[all …]
Dtomoyo_rewrite_test.c66 set_profile(3, "file::open"); in stage_rewrite_test()
67 set_profile(3, "file::create"); in stage_rewrite_test()
68 set_profile(3, "file::truncate"); in stage_rewrite_test()
69 set_profile(3, "file::rewrite"); in stage_rewrite_test()
70 set_profile(3, "file::unlink"); in stage_rewrite_test()
114 set_profile(2, "file::open"); in stage_rewrite_test()
115 set_profile(2, "file::create"); in stage_rewrite_test()
116 set_profile(2, "file::truncate"); in stage_rewrite_test()
117 set_profile(2, "file::rewrite"); in stage_rewrite_test()
118 set_profile(2, "file::unlink"); in stage_rewrite_test()
Dtomoyo_new_test.c337 set_profile(3, "file::truncate"); in setup_test_file_truncate()
356 set_profile(3, "file::truncate"); in setup_all_test_file_truncate()
376 set_profile(0, "file::truncate"); in cleanup_test_file_truncate()
626 set_profile(3, tests[i].name); in main()
629 set_profile(0, tests[i].name); in main()
642 set_profile(mode, tests[i].name); in main()
645 set_profile(0, tests[i].name); in main()
Dinclude.h345 int set_profile(const int mode, const char *name) in set_profile() function