Lines Matching refs:POSIX_CALL
61 #define POSIX_CALL(call) do { if ((call) == -1) goto error; } while (0) macro
460 POSIX_CALL(close(p2cwrite)); in child_exec()
462 POSIX_CALL(close(c2pread)); in child_exec()
464 POSIX_CALL(close(errread)); in child_exec()
465 POSIX_CALL(close(errpipe_read)); in child_exec()
470 POSIX_CALL(c2pwrite = dup(c2pwrite)); in child_exec()
477 POSIX_CALL(errwrite = dup(errwrite)); in child_exec()
492 POSIX_CALL(dup2(p2cread, 0)); /* stdin */ in child_exec()
499 POSIX_CALL(dup2(c2pwrite, 1)); /* stdout */ in child_exec()
506 POSIX_CALL(dup2(errwrite, 2)); /* stderr */ in child_exec()
512 POSIX_CALL(chdir(cwd)); in child_exec()
522 POSIX_CALL(setsid()); in child_exec()
527 POSIX_CALL(setgroups(groups_size, groups)); in child_exec()
532 POSIX_CALL(setregid(gid, gid)); in child_exec()
537 POSIX_CALL(setreuid(uid, uid)); in child_exec()