Lines Matching refs:file
23 int safe_access(const char *file, const int lineno,
31 tst_brk_(file, lineno, TBROK | TERRNO,
34 tst_brk_(file, lineno, TBROK | TERRNO,
42 int safe_setpgid(const char *file, const int lineno, pid_t pid, pid_t pgid)
49 tst_brk_(file, lineno, TBROK | TERRNO,
52 tst_brk_(file, lineno, TBROK | TERRNO,
60 pid_t safe_getpgid(const char *file, const int lineno, pid_t pid)
67 tst_brk_(file, lineno, TBROK | TERRNO, "getpgid(%i) failed",
70 tst_brk_(file, lineno, TBROK | TERRNO,
77 int safe_setgroups(const char *file, const int lineno, size_t size, const gid_t *list)
84 tst_brk_(file, lineno, TBROK | TERRNO,
87 tst_brk_(file, lineno, TBROK | TERRNO,
95 int safe_getgroups(const char *file, const int lineno, int size, gid_t list[])
102 tst_brk_(file, lineno, TBROK | TERRNO,
105 tst_brk_(file, lineno, TBROK | TERRNO,
130 int safe_pidfd_open(const char *file, const int lineno, pid_t pid,
138 tst_brk_(file, lineno, TBROK | TERRNO,
141 tst_brk_(file, lineno, TBROK | TERRNO,
149 int safe_setregid(const char *file, const int lineno,
157 tst_brk_(file, lineno, TBROK | TERRNO,
160 tst_brk_(file, lineno, TBROK | TERRNO,
168 int safe_setreuid(const char *file, const int lineno,
176 tst_brk_(file, lineno, TBROK | TERRNO,
179 tst_brk_(file, lineno, TBROK | TERRNO,
187 int safe_setresgid(const char *file, const int lineno,
195 tst_brk_(file, lineno, TBROK | TERRNO,
199 tst_brk_(file, lineno, TBROK | TERRNO,
207 int safe_setresuid(const char *file, const int lineno,
215 tst_brk_(file, lineno, TBROK | TERRNO,
219 tst_brk_(file, lineno, TBROK | TERRNO,
227 int safe_sigaction(const char *file, const int lineno,
236 tst_brk_(file, lineno, TBROK | TERRNO,
240 tst_brk_(file, lineno, TBROK | TERRNO,
248 int safe_sigaddset(const char *file, const int lineno,
256 tst_brk_(file, lineno, TBROK | TERRNO,
260 tst_brk_(file, lineno, TBROK | TERRNO,
268 int safe_sigdelset(const char *file, const int lineno,
276 tst_brk_(file, lineno, TBROK | TERRNO,
280 tst_brk_(file, lineno, TBROK | TERRNO,
288 int safe_sigemptyset(const char *file, const int lineno,
296 tst_brk_(file, lineno, TBROK | TERRNO, "sigemptyset() failed");
298 tst_brk_(file, lineno, TBROK | TERRNO,
305 int safe_sigfillset(const char *file, const int lineno,
313 tst_brk_(file, lineno, TBROK | TERRNO, "sigfillset() failed");
315 tst_brk_(file, lineno, TBROK | TERRNO,
336 int safe_sigprocmask(const char *file, const int lineno,
344 tst_brk_(file, lineno, TBROK | TERRNO,
348 tst_brk_(file, lineno, TBROK | TERRNO,
356 int safe_sigwait(const char *file, const int lineno,
365 tst_brk_(file, lineno, TBROK | TERRNO,
368 tst_brk_(file, lineno, TBROK,
376 struct group *safe_getgrnam(const char *file, const int lineno,
384 tst_brk_(file, lineno, TBROK | TERRNO,
391 struct group *safe_getgrnam_fallback(const char *file, const int lineno,
399 tst_res_(file, lineno, TINFO,
402 rval = safe_getgrnam(file, lineno, fallback);
408 struct group *safe_getgrgid(const char *file, const int lineno, gid_t gid)
415 tst_brk_(file, lineno, TBROK | TERRNO,
422 int safe_chroot(const char *file, const int lineno, const char *path)
429 tst_brk_(file, lineno, TBROK | TERRNO, "chroot(%s) failed",
432 tst_brk_(file, lineno, TBROK | TERRNO,
439 int safe_unshare(const char *file, const int lineno, int flags)
447 tst_brk_(file, lineno, TCONF | TERRNO,
450 tst_brk_(file, lineno, TBROK | TERRNO,
454 tst_brk_(file, lineno, TBROK | TERRNO,
461 int safe_setns(const char *file, const int lineno, int fd, int nstype)
468 tst_brk_(file, lineno, TBROK | TERRNO, "setns(%i, %i) failed",
471 tst_brk_(file, lineno, TBROK | TERRNO,
479 long tst_safe_ptrace(const char *file, const int lineno, int req, pid_t pid,
488 tst_brk_(file, lineno, TBROK | TERRNO, "ptrace() failed");
490 tst_brk_(file, lineno, TBROK | TERRNO,
497 int safe_pipe2(const char *file, const int lineno, int fildes[2], int flags)
504 tst_brk_(file, lineno, TBROK | TERRNO,
508 tst_brk_(file, lineno, TBROK | TERRNO,
516 int safe_dup(const char *file, const int lineno, int oldfd)
523 tst_brk_(file, lineno, TBROK | TERRNO,
526 tst_brk_(file, lineno, TBROK | TERRNO,
533 int safe_dup2(const char *file, const int lineno, int oldfd, int newfd)
540 tst_brk_(file, lineno, TBROK | TERRNO,
543 tst_brk_(file, lineno, TBROK | TERRNO,
551 void *safe_realloc(const char *file, const int lineno, void *ptr, size_t size)
558 tst_brk_(file, lineno, TBROK | TERRNO,
565 sighandler_t safe_signal(const char *file, const int lineno,
573 tst_brk_(file, lineno, TBROK | TERRNO,
581 void safe_cmd(const char *file, const int lineno, const char *const argv[],
591 tst_brk_(file, lineno, TBROK, "%s failed (%d)", argv[0], rval);