Home
last modified time | relevance | path

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

/illumos-gate/usr/src/test/os-tests/tests/oclo/
H A Doclo.c212 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()
[all …]
H A Docloexec_verify.c109 long long targ_flags = strtonumx(argv[i], 0, in main() local
117 if (!verify_flags(targ_fd, (int)targ_flags)) in main()