Searched refs:TEST_SYSCTL_PATH (Results 1 – 4 of 4) sorted by relevance
/external/autotest/client/tests/ltp/patches/ |
D | sysctl.patch | 200 +#define TEST_SYSCTL_PATH "/proc/sys/net/ipv4/ip_local_port_range" 220 + show_result(read_sysctl(TEST_SYSCTL_PATH, NULL, 0)); 223 + show_result(write_sysctl(TEST_SYSCTL_PATH, buffer)); 247 + show_result(read_sysctl(TEST_SYSCTL_PATH, NULL, 0), 1); 250 + show_result(read_sysctl(TEST_SYSCTL_PATH, NULL, 0), 0); 255 + show_result(write_sysctl(TEST_SYSCTL_PATH, buffer), 1); 258 + show_result(write_sysctl(TEST_SYSCTL_PATH, buffer), 0); 263 + show_result(read_sysctl(TEST_SYSCTL_PATH, NULL, 0) && 264 + write_sysctl(TEST_SYSCTL_PATH, buffer), 1); 267 + show_result(read_sysctl(TEST_SYSCTL_PATH, NULL, 0) && [all …]
|
/external/ltp/testcases/kernel/security/tomoyo/ |
D | tomoyo_new_file_test.c | 128 show_result(read_sysctl(TEST_SYSCTL_PATH, NULL, 0), 1); in stage_file_test() 130 show_result(read_sysctl(TEST_SYSCTL_PATH, NULL, 0), 0); in stage_file_test() 134 show_result(write_sysctl(TEST_SYSCTL_PATH, buffer), 1); in stage_file_test() 136 show_result(write_sysctl(TEST_SYSCTL_PATH, buffer), 0); in stage_file_test() 140 show_result(read_sysctl(TEST_SYSCTL_PATH, NULL, 0) && in stage_file_test() 141 write_sysctl(TEST_SYSCTL_PATH, buffer), 1); in stage_file_test() 143 show_result(read_sysctl(TEST_SYSCTL_PATH, NULL, 0) && in stage_file_test() 144 write_sysctl(TEST_SYSCTL_PATH, buffer), 0); in stage_file_test()
|
D | tomoyo_file_test.c | 82 show_result(read_sysctl(TEST_SYSCTL_PATH, NULL, 0)); in stage_file_test() 84 show_result(write_sysctl(TEST_SYSCTL_PATH, buffer)); in stage_file_test()
|
D | include.h | 114 #define TEST_SYSCTL_PATH "/proc/sys/net/ipv4/ip_local_port_range" macro
|