Home
last modified time | relevance | path

Searched refs:F_SETOWN (Results 1 – 16 of 16) sorted by relevance

/openbsd/src/regress/sys/kern/signal/sigio/
Dsigio_common.c40 assert(fcntl(fd, F_SETOWN, pgid) == -1); in test_common_badpgid()
49 assert(fcntl(fd, F_SETOWN, pgid) == -1); in test_common_badpgid()
73 assert(fcntl(fd, F_SETOWN, ppid) == -1); in test_common_badsession()
76 assert(fcntl(fd, F_SETOWN, -ppid) == -1); in test_common_badsession()
127 assert(fcntl(fds[0], F_SETOWN, ppid) == 0); in test_common_cansigio()
154 assert(fcntl(fd, F_SETOWN, pgid) == 0); in test_common_getown()
158 assert(fcntl(fd, F_SETOWN, pgid) == 0); in test_common_getown()
161 assert(fcntl(fd, F_SETOWN, 0) == 0); in test_common_getown()
201 assert(fcntl(fds[0], F_SETOWN, getpid()) == 0); in test_common_read()
233 assert(fcntl(fds[0], F_SETOWN, getpid()) == 0); in test_common_write()
Dsigio_socket.c98 assert(fcntl(sock, F_SETOWN, getpid()) == 0); in test_socket_inherit()
/openbsd/src/regress/sys/dev/wscons/
Dsigio.c240 if (fcntl(fd, F_SETOWN, arg) == -1) in test_common_setown()
250 if (fcntl(fd, F_SETOWN, arg) == -1) in test_common_setown()
260 if (fcntl(fd, F_SETOWN, arg) != -1) in test_common_setown()
270 if (fcntl(fd, F_SETOWN, arg) != -1) in test_common_setown()
/openbsd/src/gnu/usr.bin/binutils/gdb/
Dinflow.c49 #if defined (SIGIO) && defined (FASYNC) && defined (FD_SET) && defined (F_SETOWN)
633 #if defined (SIGIO) && defined (FASYNC) && defined (FD_SET) && defined (F_SETOWN)
664 fcntl (target_activity_fd, F_SETOWN, getpid ()); in set_sigio_trap()
DChangeLog-19942265 * inflow.c: Add F_SETOWN to list of defines to check
2266 around code that uses F_SETOWN.
DChangeLog-20014056 check for F_SETOWN if we had F_SETFL and FASYNC.
/openbsd/src/lib/libc/sys/
Dw_fcntl.c34 case F_SETOWN: in fcntl()
/openbsd/src/sys/sys/
Dfcntl.h150 #define F_SETOWN 6 /* set SIGIO/SIGURG proc/pgrp */ macro
/openbsd/src/gnu/usr.bin/perl/ext/Fcntl/
DMakefile.PL21 F_SETOWN F_SETPIPE_SZ F_SETSIG F_SHARE F_SHLCK F_UNLCK F_UNSHARE
/openbsd/src/gnu/usr.bin/binutils/gdb/gdbserver/
Dremote-utils.c179 #if defined (F_SETOWN) in remote_open()
180 fcntl (remote_desc, F_SETOWN, getpid ()); in remote_open()
/openbsd/src/regress/usr.sbin/syslogd/
Dttylog.c108 if (fcntl(0, F_SETOWN, getpid()) == -1) in main()
/openbsd/src/lib/libc/net/
Drcmd.c137 fcntl(s, F_SETOWN, pid); in rcmd_af()
/openbsd/src/sys/kern/
Dkern_pledge.c1583 if ((p->p_p->ps_pledge & PLEDGE_PROC) == 0 && cmd == F_SETOWN) in pledge_fcntl()
Dkern_descrip.c498 case F_SETOWN: in sys_fcntl()
/openbsd/src/libexec/ftpd/
Dftpd.c2808 if (fcntl(fileno(stdin), F_SETOWN, getpid()) == -1) in set_slave_signals()
/openbsd/src/gnu/usr.bin/perl/pod/
Dperl5004delta.pod921 F_GETOWN F_SETOWN