Home
last modified time | relevance | path

Searched refs:show_prompt (Results 1 – 5 of 5) sorted by relevance

/external/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_filesystem_test.c27 static void show_prompt(const char *str, const int should_fail) in show_prompt() function
180 show_prompt("mount('dev\\011name', '/', 'fs\\011name') ", 1); in main()
189 show_prompt("mount('dev\\011name', '/', 'fs\\011name') ", 0); in main()
198 show_prompt("mount('dev\\011name', '/', 'fs\\011name') ", 0); in main()
208 show_prompt("mount('dev\\011name', '/', 'fs\\011name') ", 1); in main()
217 show_prompt("mount(NULL, '/', 'tmpfs') ", 0); in main()
223 show_prompt("mount(NULL, '/', 'tmpfs') ", 0); in main()
228 show_prompt("mount('anydev', '/', 'tmpfs') ", 0); in main()
235 show_prompt("mount(NULL, '/', 'tmpfs') ", 0); in main()
242 show_prompt("mount(NULL, NULL, 'tmpfs') ", 1); in main()
[all …]
Dtomoyo_file_test.c28 static void show_prompt(const char *str) in show_prompt() function
81 show_prompt("sysctl(READ)"); in stage_file_test()
83 show_prompt("sysctl(WRITE)"); in stage_file_test()
88 show_prompt("uselib()"); in stage_file_test()
106 show_prompt("execve()"); in stage_file_test()
111 show_prompt("open(O_RDONLY)"); in stage_file_test()
117 show_prompt("open(O_WRONLY)"); in stage_file_test()
123 show_prompt("open(O_RDWR)"); in stage_file_test()
129 show_prompt("open(O_CREAT | O_EXCL)"); in stage_file_test()
135 show_prompt("open(O_TRUNC)"); in stage_file_test()
[all …]
Dtomoyo_rewrite_test.c28 static void show_prompt(const char *str) in show_prompt() function
76 show_prompt("open(O_RDONLY)"); in stage_rewrite_test()
81 show_prompt("open(O_WRONLY | O_APPEND)"); in stage_rewrite_test()
87 show_prompt("open(O_WRONLY)"); in stage_rewrite_test()
92 show_prompt("open(O_WRONLY | O_TRUNC)"); in stage_rewrite_test()
97 show_prompt("open(O_WRONLY | O_TRUNC | O_APPEND)"); in stage_rewrite_test()
102 show_prompt("truncate()"); in stage_rewrite_test()
106 show_prompt("ftruncate()"); in stage_rewrite_test()
109 show_prompt("fcntl(F_SETFL, ~O_APPEND)"); in stage_rewrite_test()
121 show_prompt("open(O_RDONLY)"); in stage_rewrite_test()
[all …]
/external/toybox/toys/pending/
Dmore.c76 int ch, input_key = 0, show_prompt; in more_main() local
105 st.st_size = show_prompt = col = row = 0; in more_main()
116 if (input_key != 'r' && show_prompt) { in more_main()
125 col = row = show_prompt = 0; in more_main()
136 if (++row >= rows || input_key == '\n') show_prompt = 1; in more_main()
/external/autotest/client/tests/ltp/patches/
Dsysctl.patch218 show_prompt("sysctl(READ)");
221 show_prompt("sysctl(WRITE)");