Home
last modified time | relevance | path

Searched refs:filecaps (Results 1 – 15 of 15) sorted by relevance

/freebsd/sys/sys/
H A Dfiledesc.h49 struct filecaps { struct
58 struct filecaps fde_caps; /* per-descriptor rights */ argument
232 filecaps_init(struct filecaps *fcaps) in filecaps_init()
238 bool filecaps_copy(const struct filecaps *src, struct filecaps *dst,
240 void filecaps_move(struct filecaps *src, struct filecaps *dst);
241 void filecaps_free(struct filecaps *fcaps);
249 int flags, struct filecaps *fcaps);
254 struct filecaps *fcaps);
256 struct filecaps *fcaps);
258 struct filecaps *fcaps);
[all …]
H A Dsyscallsubr.h43 struct filecaps;
213 int kern_kqueue(struct thread *td, int flags, struct filecaps *fcaps);
272 struct filecaps *fcaps1, struct filecaps *fcaps2);
336 mode_t mode, struct filecaps *fcaps);
338 mode_t mode, int shmflags, struct filecaps *fcaps,
H A Dprocdesc.h105 struct filecaps *);
H A Dfile.h78 struct filecaps;
294 struct filecaps *havecaps, struct vnode **vpp);
H A Dnamei.h85 struct filecaps ni_filecaps; /* rights the *at base has */
H A Dsocketvar.h474 struct filecaps;
492 struct file **fpp, struct filecaps *havecaps);
H A Dproc.h176 struct filecaps;
1112 struct filecaps *fr_pd_fcaps;
/freebsd/sys/kern/
H A Dkern_descrip.c95 MALLOC_DEFINE(M_FILECAPS, "filecaps", "descriptor capabilities");
117 static u_long *filecaps_copy_prep(const struct filecaps *src);
118 static void filecaps_copy_finish(const struct filecaps *src,
119 struct filecaps *dst, u_long *ioctls);
120 static u_long *filecaps_free_prep(struct filecaps *fcaps);
1725 * Copy filecaps structure allocating memory for ioctls array if needed.
1734 filecaps_copy(const struct filecaps *src, struct filecaps *dst, bool locked) in filecaps_copy()
1754 filecaps_copy_prep(const struct filecaps *src) in filecaps_copy_prep()
1771 filecaps_copy_finish(const struct filecaps *sr in filecaps_copy_finish()
[all...]
H A Dsys_procdesc.c235 int flags, struct filecaps *fcaps) in procdesc_falloc()
H A Duipc_syscalls.c89 struct file **fpp, struct filecaps *havecapsp) in getsock_cap()
332 struct filecaps fcaps; in kern_accept4()
1223 struct filecaps fcaps; in kern_setsockopt()
1290 struct filecaps fcaps; in kern_getsockopt()
H A Dsys_pipe.c477 kern_pipe(struct thread *td, int fildes[2], int flags, struct filecaps *fcaps1, in kern_pipe()
478 struct filecaps *fcaps2) in kern_pipe()
H A Duipc_shm.c1129 int shmflags, struct filecaps *fcaps, const char *name __unused) in kern_shm_open2()
2165 struct filecaps *caps) in kern_shm_open()
H A Dkern_event.c1083 kern_kqueue(struct thread *td, int flags, struct filecaps *fcaps) in kern_kqueue()
H A Dvfs_syscalls.c1167 struct filecaps *fcaps; in openatfp()
/freebsd/sys/netinet/
H A Dsctp_syscalls.c144 struct filecaps fcaps; in sys_sctp_peeloff()