sys_pipe.c (fdafd315ad0d0f28a11b9fb4476a9ab059c62b92) sys_pipe.c (f28526e9466cd60ed33053e922238ba1c9040341)
1/*-
2 * Copyright (c) 1996 John S. Dyson
3 * Copyright (c) 2012 Giovanni Trematerra
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 151 unchanged lines hidden (view full) ---

160 .fo_poll = pipe_poll,
161 .fo_kqfilter = pipe_kqfilter,
162 .fo_stat = pipe_stat,
163 .fo_close = pipe_close,
164 .fo_chmod = pipe_chmod,
165 .fo_chown = pipe_chown,
166 .fo_sendfile = invfo_sendfile,
167 .fo_fill_kinfo = pipe_fill_kinfo,
1/*-
2 * Copyright (c) 1996 John S. Dyson
3 * Copyright (c) 2012 Giovanni Trematerra
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 151 unchanged lines hidden (view full) ---

160 .fo_poll = pipe_poll,
161 .fo_kqfilter = pipe_kqfilter,
162 .fo_stat = pipe_stat,
163 .fo_close = pipe_close,
164 .fo_chmod = pipe_chmod,
165 .fo_chown = pipe_chown,
166 .fo_sendfile = invfo_sendfile,
167 .fo_fill_kinfo = pipe_fill_kinfo,
168 .fo_cmp = file_kcmp_generic,
168 .fo_flags = DFLAG_PASSABLE
169};
170
171static void filt_pipedetach(struct knote *kn);
172static void filt_pipedetach_notsup(struct knote *kn);
173static int filt_pipenotsup(struct knote *kn, long hint);
174static int filt_piperead(struct knote *kn, long hint);
175static int filt_pipewrite(struct knote *kn, long hint);

--- 1689 unchanged lines hidden ---
169 .fo_flags = DFLAG_PASSABLE
170};
171
172static void filt_pipedetach(struct knote *kn);
173static void filt_pipedetach_notsup(struct knote *kn);
174static int filt_pipenotsup(struct knote *kn, long hint);
175static int filt_piperead(struct knote *kn, long hint);
176static int filt_pipewrite(struct knote *kn, long hint);

--- 1689 unchanged lines hidden ---