Lines Matching refs:targ_flags
212 oclo_setfd_common(const clo_create_t *c, int targ_flags) in oclo_setfd_common() argument
215 if (fcntl(fd, F_SETFD, targ_flags) < 0) { in oclo_setfd_common()
217 "flags to %d", c->clo_desc, targ_flags); in oclo_setfd_common()
220 oclo_record(c, fd, targ_flags, NULL); in oclo_setfd_common()
252 oclo_fdup_common(const clo_create_t *c, int targ_flags, int cmd) in oclo_fdup_common() argument
270 dup = fcntl(fd, cmd, fd + 1, targ_flags); in oclo_fdup_common()
282 oclo_record(c, dup, targ_flags, "dup"); in oclo_fdup_common()
346 oclo_dup_common(const clo_create_t *c, int targ_flags, bool v3) in oclo_dup_common() argument
353 if ((targ_flags & FD_CLOEXEC) != 0) in oclo_dup_common()
355 if ((targ_flags & FD_CLOFORK) != 0) in oclo_dup_common()
362 oclo_record(c, dup, targ_flags, "dup"); in oclo_dup_common()
433 oclo_accept_common(const clo_create_t *c, int targ_flags, bool a4) in oclo_accept_common() argument
445 if ((targ_flags & FD_CLOEXEC) != 0) in oclo_accept_common()
447 if ((targ_flags & FD_CLOFORK) != 0) in oclo_accept_common()
499 oclo_record(c, asock, targ_flags, "accept"); in oclo_accept_common()
536 oclo_rights_common(const clo_create_t *c, int targ_flags) in oclo_rights_common() argument
580 if ((targ_flags & FD_CLOEXEC) != 0) in oclo_rights_common()
582 if ((targ_flags & FD_CLOFORK) != 0) in oclo_rights_common()
622 oclo_record(c, recvfd, targ_flags, "SCM_RIGHTS"); in oclo_rights_common()