summaryrefslogtreecommitdiffstats
path: root/sys/kern/sys_pipe.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2003-02-15 06:04:55 +0000
committeralfred <alfred@FreeBSD.org>2003-02-15 06:04:55 +0000
commit29fb7c2bce463e61580d0653a141df43ac982c4f (patch)
tree6c098d97cace4a0b11af4f27480aefdb513d245a /sys/kern/sys_pipe.c
parent4d9a4192f7eb015a646c0400dfb5aa7099a3a402 (diff)
downloadFreeBSD-src-29fb7c2bce463e61580d0653a141df43ac982c4f.zip
FreeBSD-src-29fb7c2bce463e61580d0653a141df43ac982c4f.tar.gz
Do not allow kqueues to be passed via unix domain sockets.
Diffstat (limited to 'sys/kern/sys_pipe.c')
-rw-r--r--sys/kern/sys_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c
index 7fbceb5..2612101 100644
--- a/sys/kern/sys_pipe.c
+++ b/sys/kern/sys_pipe.c
@@ -104,7 +104,7 @@ static fo_close_t pipe_close;
static struct fileops pipeops = {
pipe_read, pipe_write, pipe_ioctl, pipe_poll, pipe_kqfilter,
- pipe_stat, pipe_close
+ pipe_stat, pipe_close, DFLAG_PASSABLE
};
static void filt_pipedetach(struct knote *kn);
OpenPOWER on IntegriCloud