Searched refs:fcaps (Results 1 – 8 of 8) sorted by relevance
| /f-stack/freebsd/sys/ |
| H A D | filedesc.h | 220 filecaps_init(struct filecaps *fcaps) in filecaps_init() argument 223 bzero(fcaps, sizeof(*fcaps)); in filecaps_init() 224 fcaps->fc_nioctls = -1; in filecaps_init() 229 void filecaps_free(struct filecaps *fcaps); 236 int flags, struct filecaps *fcaps); 241 struct filecaps *fcaps); 243 struct filecaps *fcaps); 245 struct filecaps *fcaps);
|
| H A D | syscallsubr.h | 182 int kern_kqueue(struct thread *td, int flags, struct filecaps *fcaps); 284 mode_t mode, struct filecaps *fcaps); 286 mode_t mode, int shmflags, struct filecaps *fcaps,
|
| /f-stack/freebsd/kern/ |
| H A D | kern_descrip.c | 1725 fcaps->fc_ioctls = NULL; in filecaps_fill() 1726 fcaps->fc_nioctls = -1; in filecaps_fill() 1738 bzero(fcaps, sizeof(*fcaps)); in filecaps_free() 1746 ioctls = fcaps->fc_ioctls; in filecaps_free_prep() 1747 bzero(fcaps, sizeof(*fcaps)); in filecaps_free_prep() 1772 KASSERT(fcaps->fc_ioctls != NULL ? fcaps->fc_nioctls > 0 : in filecaps_validate() 1773 (fcaps->fc_nioctls == -1 || fcaps->fc_nioctls == 0), in filecaps_validate() 1984 struct filecaps *fcaps) in falloc_caps() argument 2060 struct filecaps *fcaps) in _finstall() argument 2065 if (fcaps != NULL) in _finstall() [all …]
|
| H A D | sys_procdesc.c | 238 int flags, struct filecaps *fcaps) in procdesc_falloc() argument 246 return (falloc_caps(td, resultfp, resultfd, fflags, fcaps)); in procdesc_falloc()
|
| H A D | uipc_syscalls.c | 330 struct filecaps fcaps; in kern_accept4() local 340 &headfp, &fflag, &fcaps); in kern_accept4() 354 (flags & SOCK_CLOEXEC) ? O_CLOEXEC : 0, &fcaps); in kern_accept4() 426 filecaps_free(&fcaps); in kern_accept4()
|
| H A D | uipc_shm.c | 1032 int shmflags, struct filecaps *fcaps, const char *name __unused) in kern_shm_open2() argument 1094 error = falloc_caps(td, &fp, &fd, flags & O_CLOEXEC, fcaps); in kern_shm_open2()
|
| H A D | vfs_syscalls.c | 1200 struct filecaps *fcaps; in kern_openat() local 1204 fcaps = &nd.ni_filecaps; in kern_openat() 1207 fcaps = NULL; in kern_openat() 1208 error = finstall_refed(td, fp, &indx, flags, fcaps); in kern_openat()
|
| H A D | kern_event.c | 973 kern_kqueue(struct thread *td, int flags, struct filecaps *fcaps) in kern_kqueue() argument 986 error = falloc_caps(td, &fp, &fd, flags, fcaps); in kern_kqueue()
|