Home
last modified time | relevance | path

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

/external/openssh/openbsd-compat/
Dport-linux.c248 static char *oom_adj_path = NULL; variable
270 oom_adj_path = oom_adjust[i].path; in oom_adjust_setup()
272 if ((fp = fopen(oom_adj_path, "r+")) != NULL) { in oom_adjust_setup()
274 verbose("error reading %s: %s", oom_adj_path, in oom_adjust_setup()
280 oom_adj_path, strerror(errno)); in oom_adjust_setup()
283 oom_adj_path, oom_adj_save, value); in oom_adjust_setup()
289 oom_adj_path = NULL; in oom_adjust_setup()
299 if (oom_adj_save == INT_MIN || oom_adj_path == NULL || in oom_adjust_restore()
300 (fp = fopen(oom_adj_path, "w")) == NULL) in oom_adjust_restore()
304 verbose("error writing %s: %s", oom_adj_path, strerror(errno)); in oom_adjust_restore()
[all …]