| /xnu-8019.80.24/security/ |
| H A D | mac_file.c | 60 mac_file_check_dup(struct ucred *cred, struct fileglob *fg, int newfd) in mac_file_check_dup() 69 mac_file_check_fcntl(struct ucred *cred, struct fileglob *fg, int cmd, in mac_file_check_fcntl() 79 mac_file_check_ioctl(struct ucred *cred, struct fileglob *fg, u_long cmd) in mac_file_check_ioctl() 88 mac_file_check_inherit(struct ucred *cred, struct fileglob *fg) in mac_file_check_inherit() 97 mac_file_check_receive(struct ucred *cred, struct fileglob *fg) in mac_file_check_receive() 106 mac_file_check_get_offset(struct ucred *cred, struct fileglob *fg) in mac_file_check_get_offset() 115 mac_file_check_change_offset(struct ucred *cred, struct fileglob *fg) in mac_file_check_change_offset() 124 mac_file_check_get(struct ucred *cred, struct fileglob *fg, char *elements, in mac_file_check_get() 134 mac_file_check_set(struct ucred *cred, struct fileglob *fg, char *buf, in mac_file_check_set() 144 mac_file_check_lock(struct ucred *cred, struct fileglob *fg, int op, in mac_file_check_lock() [all …]
|
| H A D | mac_framework.h | 92 struct fileglob; 185 int mac_file_check_change_offset(kauth_cred_t cred, struct fileglob *fg) __result_use_check; 187 int mac_file_check_dup(kauth_cred_t cred, struct fileglob *fg, int newfd) __result_use_check; 188 int mac_file_check_fcntl(kauth_cred_t cred, struct fileglob *fg, int cmd, 190 int mac_file_check_get(kauth_cred_t cred, struct fileglob *fg, 192 int mac_file_check_get_offset(kauth_cred_t cred, struct fileglob *fg) __result_use_check; 193 int mac_file_check_inherit(kauth_cred_t cred, struct fileglob *fg) __result_use_check; 194 int mac_file_check_ioctl(kauth_cred_t cred, struct fileglob *fg, 196 int mac_file_check_lock(kauth_cred_t cred, struct fileglob *fg, int op, 199 struct fileglob *fg, off_t slice_offset, [all …]
|
| H A D | mac_policy.h | 95 struct fileglob; 747 struct fileglob *fg, 779 struct fileglob *fg, 799 struct fileglob *fg, 819 struct fileglob *fg, 837 struct fileglob *fg, 854 struct fileglob *fg, 877 struct fileglob *fg, 898 struct fileglob *fg, 923 struct fileglob *fg, [all …]
|
| H A D | mac_necp.c | 60 mac_necp_check_client_action(proc_t proc, struct fileglob *fg, uint32_t action) in mac_necp_check_client_action()
|
| H A D | mac_base.c | 1986 mac_file_setxattr(struct fileglob *fg __unused, const char *name __unused, char *buf __unused, size… in mac_file_setxattr() 1992 mac_file_getxattr(struct fileglob *fg __unused, const char *name __unused, in mac_file_getxattr() 1999 mac_file_removexattr(struct fileglob *fg __unused, const char *name __unused) in mac_file_removexattr()
|
| /xnu-8019.80.24/bsd/sys/ |
| H A D | codesign.h | 84 struct fileglob; 154 const char * csfg_get_teamid(struct fileglob *); 155 const char * csfg_get_supplement_teamid(struct fileglob *); 156 int csfg_get_path(struct fileglob *, char *, int *); 157 int csfg_get_platform_binary(struct fileglob *); 158 int csfg_get_supplement_platform_binary(struct fileglob *); 159 uint8_t * csfg_get_cdhash(struct fileglob *, uint64_t, size_t *); 160 uint8_t * csfg_get_supplement_cdhash(struct fileglob *, uint64_t, size_t *); 161 const uint8_t * csfg_get_supplement_linkage_cdhash(struct fileglob *, uint64_t, size_t *); 162 int csfg_get_prod_signed(struct fileglob *); [all …]
|
| H A D | file_internal.h | 124 struct fileglob *XNU_PTRAUTH_SIGNED_PTR("fileproc.fp_glob") fp_glob; 173 int (*fo_close) (struct fileglob *fg, vfs_context_t ctx); 178 struct fileglob { struct 179 LIST_ENTRY(fileglob) f_msglist; /* list of files in unix messages */ 202 #pragma mark files (struct fileglob) argument 221 fg_ref(proc_t proc, struct fileglob *fg); 233 fg_drop_live(struct fileglob *fg); 256 fg_drop(proc_t p, struct fileglob *fg); 265 fg_sendable(struct fileglob *fg); 281 fg_get_data_volatile(struct fileglob *fg); [all …]
|
| H A D | file.h | 100 struct fileglob; 105 struct vnode *fg_get_vnode(struct fileglob *fg);
|
| H A D | guarded.h | 170 struct fileglob; 174 extern void vng_file_label_destroy(struct fileglob *fg);
|
| /xnu-8019.80.24/osfmk/kern/ |
| H A D | ipc_misc.c | 39 extern void fileport_releasefg(struct fileglob *); 53 fileport_alloc(struct fileglob *fg) in fileport_alloc() 74 struct fileglob * 96 struct fileglob *fg; in fileport_no_senders() 120 int (*action)(mach_port_name_t, struct fileglob *, void *), in fileport_invoke() argument 125 struct fileglob *fg; in fileport_invoke() 154 bool (^cb)(size_t i, mach_port_name_t, struct fileglob *)) 174 struct fileglob *fg;
|
| H A D | ipc_misc.h | 32 struct fileglob; 33 ipc_port_t fileport_alloc(struct fileglob *); 34 struct fileglob *fileport_port_to_fileglob(ipc_port_t); 37 int (*)(mach_port_name_t, struct fileglob *, void *), void *, int *); 39 bool (^cb)(size_t i, mach_port_name_t, struct fileglob *));
|
| /xnu-8019.80.24/bsd/kern/ |
| H A D | kern_cs.c | 869 csfg_get_platform_binary(struct fileglob *fg) in csfg_get_platform_binary() 908 csfg_get_supplement_platform_binary(struct fileglob *fg __unused) in csfg_get_supplement_platform_binary() 951 csfg_get_cdhash(struct fileglob *fg, uint64_t offset, size_t *cdhash_size) in csfg_get_cdhash() 976 csfg_get_supplement_cdhash(struct fileglob *fg __unused, uint64_t offset __unused, size_t *cdhash_s… in csfg_get_supplement_cdhash() 1007 csfg_get_supplement_linkage_cdhash(struct fileglob *fg __unused, uint64_t offset __unused, size_t *… in csfg_get_supplement_linkage_cdhash() 1045 csfg_get_signer_type(struct fileglob *fg) in csfg_get_signer_type() 1084 csfg_get_supplement_signer_type(struct fileglob *fg __unused) in csfg_get_supplement_signer_type() 1133 csfg_get_teamid(struct fileglob *fg) in csfg_get_teamid() 1172 csfg_get_supplement_teamid(struct fileglob *fg __unused) in csfg_get_supplement_teamid() 1222 csfg_get_prod_signed(struct fileglob *fg) in csfg_get_prod_signed() [all …]
|
| H A D | uipc_usrreq.c | 126 static LIST_HEAD(, fileglob) unp_msghead = LIST_HEAD_INITIALIZER(unp_msghead); 175 static void unp_scan(struct mbuf *, void (*)(struct fileglob *, void *arg), void *arg); 176 static void unp_mark(struct fileglob *, __unused void *); 177 static void unp_discard(struct fileglob *, void *); 2017 fg_insertuipc_mark(struct fileglob * fg) in fg_insertuipc_mark() 2054 fg_insertuipc(struct fileglob * fg) in fg_insertuipc() 2083 fg_removeuipc_mark(struct fileglob * fg) in fg_removeuipc_mark() 2118 fg_removeuipc(struct fileglob * fg) in fg_removeuipc() 2144 struct fileglob **rp = (struct fileglob **)(cm + 1); in unp_externalize() 2212 if (sizeof(struct fileglob *) != sizeof(int)) { in unp_externalize() [all …]
|
| H A D | kern_descrip.c | 135 void fileport_releasefg(struct fileglob *fg); 158 ZONE_DECLARE(fg_zone, "fileglob", sizeof(struct fileglob), ZC_ZFREE_CLEARMEM); 187 fg_free(struct fileglob *fg) in fg_free() 211 fg_ref(proc_t p, struct fileglob *fg) in fg_ref() 222 fg_drop_live(struct fileglob *fg) in fg_drop_live() 228 fg_drop(proc_t p, struct fileglob *fg) in fg_drop() 284 struct fileglob *fg, in fg_set_data() 305 fg_get_data_volatile(struct fileglob *fg) in fg_get_data_volatile() 326 fg_sendable(struct fileglob *fg) in fg_sendable() 1234 struct fileglob *fg; in falloc_withinit() [all …]
|
| H A D | sys_socket.c | 97 static int soo_close(struct fileglob *, vfs_context_t ctx); 409 soo_close(struct fileglob *fg, __unused vfs_context_t ctx) in soo_close()
|
| H A D | posix_shm.c | 184 static int pshm_closefile(struct fileglob *fg, vfs_context_t ctx); 1072 pshm_closefile(struct fileglob *fg, __unused vfs_context_t ctx) in pshm_closefile()
|
| H A D | kern_guarded.c | 1009 struct fileglob *fg = fp->fp_glob; in vnguard_sysc_getguardattr() 1071 struct fileglob *fg = fp->fp_glob; in vnguard_sysc_setguard() 1209 vng_file_label_destroy(struct fileglob *fg) in vng_file_label_destroy()
|
| H A D | posix_sem.c | 169 static int psem_closefile(struct fileglob *fp, vfs_context_t ctx); 1025 psem_closefile(struct fileglob *fg, __unused vfs_context_t ctx) in psem_closefile()
|
| H A D | sys_pipe.c | 175 static int pipe_close(struct fileglob *fg, vfs_context_t ctx); 1306 pipe_close(struct fileglob *fg, __unused vfs_context_t ctx) in pipe_close()
|
| /xnu-8019.80.24/bsd/dev/dtrace/scripts/ |
| H A D | io.d | 199 translator fileinfo_t < struct fileglob *F > { 244 (struct fileglob *)(curproc->p_fd.fd_ofiles[fd]->fp_glob) : 245 (struct fileglob *)NULL);
|
| /xnu-8019.80.24/bsd/miscfs/fifofs/ |
| H A D | fifo_vnops.c | 396 struct fileglob filefg; in fifo_ioctl() 403 bzero(&filefg, sizeof(struct fileglob)); in fifo_ioctl() 429 struct fileglob filefg; in fifo_select() 433 bzero(&filefg, sizeof(struct fileglob)); in fifo_select()
|
| /xnu-8019.80.24/bsd/skywalk/nexus/ |
| H A D | nexus_syscalls.c | 39 static int nxop_close(struct fileglob *, vfs_context_t); 53 nxop_close(struct fileglob *fg, vfs_context_t ctx) in nxop_close()
|
| /xnu-8019.80.24/bsd/vfs/ |
| H A D | vfs_vnops.c | 117 static int vn_closefile(struct fileglob *fp, vfs_context_t ctx); 985 vn_offset_lock(struct fileglob *fg) in vn_offset_lock() 998 vn_offset_unlock(struct fileglob *fg) in vn_offset_unlock() 1745 vn_closefile(struct fileglob *fg, vfs_context_t ctx) in vn_closefile()
|
| /xnu-8019.80.24/bsd/skywalk/channel/ |
| H A D | channel_syscalls.c | 41 static int chop_close(struct fileglob *, vfs_context_t); 95 chop_close(struct fileglob *fg, vfs_context_t ctx) in chop_close()
|
| /xnu-8019.80.24/bsd/netinet/ |
| H A D | in_pcblist.c | 792 struct fileglob *fg = fp->fp_glob; in shutdown_sockets_on_interface_proc_callout()
|