Searched refs:show_prompt (Results 1 – 4 of 4) sorted by relevance
/external/ltp/testcases/kernel/security/tomoyo/ |
D | tomoyo_filesystem_test.c | 27 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 …]
|
D | tomoyo_file_test.c | 28 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 …]
|
D | tomoyo_rewrite_test.c | 28 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/ |
D | more.c | 90 int ch, input_key = 0, show_prompt; in more_main() local 116 st.st_size = show_prompt = col = row = 0; in more_main() 135 if (input_key != 'r' && show_prompt) { in more_main() 144 col = row = show_prompt = 0; in more_main() 155 if (++row >= rows || input_key == '\n') show_prompt = 1; in more_main()
|