Home
last modified time | relevance | path

Searched refs:read_sysctl (Results 1 – 4 of 4) sorted by relevance

/external/autotest/client/tests/ltp/patches/
Dsysctl.patch183 +static inline int read_sysctl(const char *path, char *value, int len)
220 + show_result(read_sysctl(TEST_SYSCTL_PATH, NULL, 0));
247 + show_result(read_sysctl(TEST_SYSCTL_PATH, NULL, 0), 1);
250 + show_result(read_sysctl(TEST_SYSCTL_PATH, NULL, 0), 0);
263 + show_result(read_sysctl(TEST_SYSCTL_PATH, NULL, 0) &&
267 + show_result(read_sysctl(TEST_SYSCTL_PATH, NULL, 0) &&
/external/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_new_file_test.c128 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()
140 show_result(read_sysctl(TEST_SYSCTL_PATH, NULL, 0) && in stage_file_test()
143 show_result(read_sysctl(TEST_SYSCTL_PATH, NULL, 0) && in stage_file_test()
Dtomoyo_file_test.c82 show_result(read_sysctl(TEST_SYSCTL_PATH, NULL, 0)); in stage_file_test()
Dinclude.h97 static inline int read_sysctl(const char *path, char *value, int len) in read_sysctl() function