Searched refs:PID_MAX_PATH (Results 1 – 2 of 2) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/fork/ |
D | fork13.c | 64 #define PID_MAX_PATH "/proc/sys/kernel/pid_max" macro 138 SAFE_FILE_SCANF(NULL, PID_MAX_PATH, "%lu", &pid_max); in setup() 140 SAFE_FILE_PRINTF(NULL, PID_MAX_PATH, "%d", PID_MAX); in setup() 146 FILE_PRINTF(PID_MAX_PATH, "%lu", pid_max); in cleanup()
|
/third_party/ltp/lib/ |
D | tst_pid.c | 33 #define PID_MAX_PATH "/proc/sys/kernel/pid_max" macro 43 SAFE_FILE_SCANF(cleanup_fn, PID_MAX_PATH, "%d", &pid); in tst_get_unused_pid_() 87 SAFE_FILE_SCANF(cleanup_fn, PID_MAX_PATH, "%d", &max_pids); in read_session_pids_limit() 131 SAFE_FILE_SCANF(cleanup_fn, PID_MAX_PATH, "%d", &max_pids); in tst_get_free_pids_()
|