Home
last modified time | relevance | path

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

/external/autotest/client/tests/ltp/patches/
Dsysctl.patch173 +static inline int write_sysctl(const char *path, const char *value)
223 + show_result(write_sysctl(TEST_SYSCTL_PATH, buffer));
255 + show_result(write_sysctl(TEST_SYSCTL_PATH, buffer), 1);
258 + show_result(write_sysctl(TEST_SYSCTL_PATH, buffer), 0);
264 + write_sysctl(TEST_SYSCTL_PATH, buffer), 1);
268 + write_sysctl(TEST_SYSCTL_PATH, buffer), 0);
/external/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_new_file_test.c134 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()
141 write_sysctl(TEST_SYSCTL_PATH, buffer), 1); in stage_file_test()
144 write_sysctl(TEST_SYSCTL_PATH, buffer), 0); in stage_file_test()
Dtomoyo_file_test.c84 show_result(write_sysctl(TEST_SYSCTL_PATH, buffer)); in stage_file_test()
Dinclude.h87 static inline int write_sysctl(const char *path, const char *value) in write_sysctl() function