F_SETOWN
fcntl(s, F_SETOWN, pid);
case F_SETOWN:
if (fcntl(fileno(stdin), F_SETOWN, getpid()) == -1)
if (fcntl(fd, F_SETOWN, arg) == -1)
if (fcntl(fd, F_SETOWN, arg) == -1)
if (fcntl(fd, F_SETOWN, arg) != -1)
if (fcntl(fd, F_SETOWN, arg) != -1)
assert(fcntl(fds[0], F_SETOWN, ppid) == 0);
assert(fcntl(fd, F_SETOWN, pgid) == 0);
assert(fcntl(fd, F_SETOWN, pgid) == 0);
assert(fcntl(fd, F_SETOWN, 0) == 0);
assert(fcntl(fds[0], F_SETOWN, getpid()) == 0);
assert(fcntl(fds[0], F_SETOWN, getpid()) == 0);
assert(fcntl(fd, F_SETOWN, pgid) == -1);
assert(fcntl(fd, F_SETOWN, pgid) == -1);
assert(fcntl(fd, F_SETOWN, ppid) == -1);
assert(fcntl(fd, F_SETOWN, -ppid) == -1);
assert(fcntl(sock, F_SETOWN, getpid()) == 0);
if (fcntl(0, F_SETOWN, getpid()) == -1)
case F_SETOWN:
if ((p->p_pledge & PLEDGE_PROC) == 0 && cmd == F_SETOWN)