uipc_shm.c (c7aebda8a14a3bb94bb038df338549ccde5b56ea) uipc_shm.c (ca04d21d5fdff6e58af745766024088091fe3d90)
1/*-
2 * Copyright (c) 2006, 2011 Robert N. M. Watson
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

127 .fo_truncate = shm_truncate,
128 .fo_ioctl = shm_ioctl,
129 .fo_poll = shm_poll,
130 .fo_kqfilter = shm_kqfilter,
131 .fo_stat = shm_stat,
132 .fo_close = shm_close,
133 .fo_chmod = shm_chmod,
134 .fo_chown = shm_chown,
1/*-
2 * Copyright (c) 2006, 2011 Robert N. M. Watson
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

127 .fo_truncate = shm_truncate,
128 .fo_ioctl = shm_ioctl,
129 .fo_poll = shm_poll,
130 .fo_kqfilter = shm_kqfilter,
131 .fo_stat = shm_stat,
132 .fo_close = shm_close,
133 .fo_chmod = shm_chmod,
134 .fo_chown = shm_chown,
135 .fo_sendfile = invfo_sendfile,
135 .fo_flags = DFLAG_PASSABLE
136};
137
138FEATURE(posix_shm, "POSIX shared memory");
139
140static int
141shm_read(struct file *fp, struct uio *uio, struct ucred *active_cred,
142 int flags, struct thread *td)

--- 712 unchanged lines hidden ---
136 .fo_flags = DFLAG_PASSABLE
137};
138
139FEATURE(posix_shm, "POSIX shared memory");
140
141static int
142shm_read(struct file *fp, struct uio *uio, struct ucred *active_cred,
143 int flags, struct thread *td)

--- 712 unchanged lines hidden ---