/external/ltp/testcases/kernel/security/tomoyo/ |
tomoyo_rewrite_test.c | 28 static void show_prompt(const char *str) function 76 show_prompt("open(O_RDONLY)"); 81 show_prompt("open(O_WRONLY | O_APPEND)"); 87 show_prompt("open(O_WRONLY)"); 92 show_prompt("open(O_WRONLY | O_TRUNC)"); 97 show_prompt("open(O_WRONLY | O_TRUNC | O_APPEND)"); 102 show_prompt("truncate()"); 106 show_prompt("ftruncate()"); 109 show_prompt("fcntl(F_SETFL, ~O_APPEND)"); 121 show_prompt("open(O_RDONLY)") [all...] |
tomoyo_file_test.c | 28 static void show_prompt(const char *str) function 81 show_prompt("sysctl(READ)"); 83 show_prompt("sysctl(WRITE)"); 88 show_prompt("uselib()"); 106 show_prompt("execve()"); 111 show_prompt("open(O_RDONLY)"); 117 show_prompt("open(O_WRONLY)"); 123 show_prompt("open(O_RDWR)"); 129 show_prompt("open(O_CREAT | O_EXCL)"); 135 show_prompt("open(O_TRUNC)") [all...] |
tomoyo_filesystem_test.c | 27 static void show_prompt(const char *str, const int should_fail) function 180 show_prompt("mount('dev\\011name', '/', 'fs\\011name') ", 1); 189 show_prompt("mount('dev\\011name', '/', 'fs\\011name') ", 0); 198 show_prompt("mount('dev\\011name', '/', 'fs\\011name') ", 0); 208 show_prompt("mount('dev\\011name', '/', 'fs\\011name') ", 1); 217 show_prompt("mount(NULL, '/', 'tmpfs') ", 0); 223 show_prompt("mount(NULL, '/', 'tmpfs') ", 0); 228 show_prompt("mount('anydev', '/', 'tmpfs') ", 0); 235 show_prompt("mount(NULL, '/', 'tmpfs') ", 0); 242 show_prompt("mount(NULL, NULL, 'tmpfs') ", 1) [all...] |
/external/toybox/toys/pending/ |
more.c | 76 int ch, input_key = 0, show_prompt; local 105 st.st_size = show_prompt = col = row = 0; 116 if (input_key != 'r' && show_prompt) { 125 col = row = show_prompt = 0; 136 if (++row >= rows || input_key == '\n') show_prompt = 1;
|
/bootable/recovery/ |
screen_ui.cpp | 799 bool show_prompt = false; local 801 if (show_prompt) { 806 while (show_prompt) { 807 show_prompt = false; 813 show_prompt = true; 831 show_prompt = true; 835 show_prompt = true;
|