| /xnu-12377.61.12/bsd/sys/ |
| H A D | codesign.h | 86 struct fileglob; 175 const char * csfg_get_teamid(struct fileglob *); 176 const char * csfg_get_supplement_teamid(struct fileglob *); 177 int csfg_get_path(struct fileglob *, char *, int *); 178 int csfg_get_platform_binary(struct fileglob *); 179 int csfg_get_supplement_platform_binary(struct fileglob *); 180 uint8_t * csfg_get_cdhash(struct fileglob *, uint64_t, size_t *); 181 uint8_t * csfg_get_supplement_cdhash(struct fileglob *, uint64_t, size_t *); 182 const uint8_t * csfg_get_supplement_linkage_cdhash(struct fileglob *, uint64_t, size_t *); 183 int csfg_get_prod_signed(struct fileglob *); [all …]
|
| H A D | file_internal.h | 125 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 */ 198 ofd_to_id(const struct fileglob *fg) in ofd_to_id() argument 213 #pragma mark files (struct fileglob) 225 struct fileglob * 246 fg_ref(proc_t proc, struct fileglob *fg); 258 fg_drop_live(struct fileglob *fg); 281 fg_drop(proc_t p, struct fileglob *fg); [all …]
|
| H A D | file.h | 98 struct fileglob; 103 struct vnode *fg_get_vnode(struct fileglob *fg);
|
| H A D | guarded.h | 172 struct fileglob; 176 extern void vng_file_label_destroy(struct fileglob *fg);
|
| H A D | vnode_internal.h | 141 struct fileglob *fl_fg; /* The file that the lease is placed on */ 691 int vnode_setlease(vnode_t vp, struct fileglob *fg, int fl_type, int expcounts,
|
| /xnu-12377.61.12/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; 190 int mac_file_check_change_offset(kauth_cred_t cred, struct fileglob *fg) __result_use_check; 192 int mac_file_check_dup(kauth_cred_t cred, struct fileglob *fg, int newfd) __result_use_check; 193 int mac_file_check_fcntl(kauth_cred_t cred, struct fileglob *fg, int cmd, 195 int mac_file_check_get(kauth_cred_t cred, struct fileglob *fg, 197 int mac_file_check_get_offset(kauth_cred_t cred, struct fileglob *fg) __result_use_check; 198 int mac_file_check_inherit(kauth_cred_t cred, struct fileglob *fg) __result_use_check; 199 int mac_file_check_ioctl(kauth_cred_t cred, struct fileglob *fg, 201 int mac_file_check_lock(kauth_cred_t cred, struct fileglob *fg, int op, 204 struct fileglob *fg, off_t slice_offset, [all …]
|
| H A D | mac_policy.h | 96 struct fileglob; 783 struct fileglob *fg, 815 struct fileglob *fg, 835 struct fileglob *fg, 855 struct fileglob *fg, 873 struct fileglob *fg, 890 struct fileglob *fg, 913 struct fileglob *fg, 934 struct fileglob *fg, 959 struct fileglob *fg, [all …]
|
| H A D | mac_necp.c | 56 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 | 1769 mac_file_setxattr(struct fileglob *fg __unused, const char *name __unused, char *buf __unused, size… in mac_file_setxattr() 1775 mac_file_getxattr(struct fileglob *fg __unused, const char *name __unused, in mac_file_getxattr() 1782 mac_file_removexattr(struct fileglob *fg __unused, const char *name __unused) in mac_file_removexattr()
|
| /xnu-12377.61.12/osfmk/kern/ |
| 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 *));
|
| H A D | ipc_misc.c | 40 extern void fileport_releasefg(struct fileglob *); 54 fileport_alloc(struct fileglob *fg) in fileport_alloc() 75 struct fileglob * 97 struct fileglob *fg; in fileport_no_senders() 122 int (*action)(mach_port_name_t, struct fileglob *, void *), in fileport_invoke() argument 127 struct fileglob *fg; in fileport_invoke() 155 bool (^cb)(size_t i, mach_port_name_t, struct fileglob *)) 180 struct fileglob *fg;
|
| /xnu-12377.61.12/bsd/kern/ |
| H A D | kern_cs.c | 1074 csfg_get_platform_binary(struct fileglob *fg) in csfg_get_platform_binary() 1113 csfg_get_supplement_platform_binary(struct fileglob *fg __unused) in csfg_get_supplement_platform_binary() 1156 csfg_get_cdhash(struct fileglob *fg, uint64_t offset, size_t *cdhash_size) in csfg_get_cdhash() 1181 csfg_get_supplement_cdhash(struct fileglob *fg __unused, uint64_t offset __unused, size_t *cdhash_s… in csfg_get_supplement_cdhash() 1212 csfg_get_supplement_linkage_cdhash(struct fileglob *fg __unused, uint64_t offset __unused, size_t *… in csfg_get_supplement_linkage_cdhash() 1250 csfg_get_signer_type(struct fileglob *fg) in csfg_get_signer_type() 1289 csfg_get_supplement_signer_type(struct fileglob *fg __unused) in csfg_get_supplement_signer_type() 1338 csfg_get_validation_category(struct fileglob *fg, uint64_t offset) in csfg_get_validation_category() 1367 csfg_get_supplement_validation_category(struct fileglob *fg __unused, uint64_t offset __unused) in csfg_get_supplement_validation_category() 1408 csfg_get_teamid(struct fileglob *fg) in csfg_get_teamid() [all …]
|
| H A D | uipc_usrreq.c | 140 static LIST_HEAD(, fileglob) unp_msghead = LIST_HEAD_INITIALIZER(unp_msghead); 212 static void unp_scan(struct mbuf *, void (*)(struct fileglob *, void *arg), void *arg); 213 static void unp_mark(struct fileglob *, __unused void *); 214 static void unp_discard(struct fileglob *, void *); 2260 fg_insertuipc_mark(struct fileglob * fg) in fg_insertuipc_mark() 2297 fg_insertuipc(struct fileglob * fg) in fg_insertuipc() 2326 fg_removeuipc_mark(struct fileglob * fg) in fg_removeuipc_mark() 2361 fg_removeuipc(struct fileglob * fg) in fg_removeuipc() 2387 struct fileglob **rp = (struct fileglob **)(cm + 1); in unp_externalize() 2455 if (sizeof(struct fileglob *) != sizeof(int)) { in unp_externalize() [all …]
|
| H A D | kern_descrip.c | 131 void fileport_releasefg(struct fileglob *fg); 150 ZONE_DEFINE_TYPE(fg_zone, "fileglob", struct fileglob, ZC_ZFREE_CLEARMEM); 174 struct fileglob * 177 struct fileglob *fg; in fg_alloc_init() 200 fg_free(struct fileglob *fg) in fg_free() 224 fg_ref(proc_t p, struct fileglob *fg) in fg_ref() 238 fg_drop_live(struct fileglob *fg) in fg_drop_live() 244 fg_drop(proc_t p, struct fileglob *fg) in fg_drop() 300 struct fileglob *fg, in fg_set_data() 321 fg_get_data_volatile(struct fileglob *fg) in fg_get_data_volatile() [all …]
|
| H A D | sys_socket.c | 97 static int soo_close(struct fileglob *, vfs_context_t ctx); 405 soo_close(struct fileglob *fg, __unused vfs_context_t ctx) in soo_close()
|
| H A D | posix_shm.c | 186 static int pshm_closefile(struct fileglob *fg, vfs_context_t ctx); 1067 pshm_closefile(struct fileglob *fg, __unused vfs_context_t ctx) in pshm_closefile()
|
| H A D | kern_guarded.c | 932 struct fileglob *fg = fp->fp_glob; in vnguard_sysc_getguardattr() 994 struct fileglob *fg = fp->fp_glob; in vnguard_sysc_setguard() 1132 vng_file_label_destroy(struct fileglob *fg) in vng_file_label_destroy()
|
| H A D | posix_sem.c | 208 static int psem_closefile(struct fileglob *fp, vfs_context_t ctx); 1197 psem_closefile(struct fileglob *fg, __unused vfs_context_t ctx) in psem_closefile()
|
| /xnu-12377.61.12/bsd/dev/dtrace/scripts/ |
| H A D | io.d | 201 translator fileinfo_t < struct fileglob *F > { 246 (struct fileglob *)(curproc->p_fd.fd_ofiles[fd]->fp_glob) : 247 (struct fileglob *)NULL);
|
| /xnu-12377.61.12/bsd/miscfs/fifofs/ |
| H A D | fifo_vnops.c | 404 struct fileglob filefg; in fifo_ioctl() 411 bzero(&filefg, sizeof(struct fileglob)); in fifo_ioctl() 437 struct fileglob filefg; in fifo_select() 441 bzero(&filefg, sizeof(struct fileglob)); in fifo_select()
|
| /xnu-12377.61.12/bsd/vfs/ |
| H A D | vfs_xattr.c | 1538 static void close_xattrfile(struct fileglob *xfg, bool have_iocount, bool drop_iocount, vfs_context… 1540 static int open_xattrfile(vnode_t vp, int fileflags, struct fileglob **xfgp, 1543 static void remove_xattrfile(struct fileglob *xfg, vnode_t xvp, vfs_context_t context); 1545 static int make_xattrfile_port(struct fileglob *xfg, ipc_port_t *portp); 1656 struct fileglob *xfg = NULL; in default_getxattr_doubleagent() 1747 struct fileglob *xfg = NULL; in default_listxattr_doubleagent() 1840 struct fileglob *xfg = NULL; in default_setxattr_doubleagent() 2016 struct fileglob *xfg = NULL; in default_removexattr_doubleagent() 2093 open_xattrfile(vnode_t vp, int fileflags, struct fileglob **xfgp, in open_xattrfile() 2099 struct fileglob *fg = NULL; in open_xattrfile() [all …]
|
| H A D | vfs_vnops.c | 114 static int vn_closefile(struct fileglob *fp, vfs_context_t ctx); 1075 vn_offset_lock(struct fileglob *fg) in vn_offset_lock() 1088 vn_offset_unlock(struct fileglob *fg) in vn_offset_unlock() 1862 vn_closefile(struct fileglob *fg, vfs_context_t ctx) in vn_closefile()
|
| /xnu-12377.61.12/bsd/skywalk/nexus/ |
| H A D | nexus_syscalls.c | 40 static int nxop_close(struct fileglob *, vfs_context_t); 67 nxop_close(struct fileglob *fg, vfs_context_t ctx) in nxop_close()
|
| /xnu-12377.61.12/bsd/skywalk/channel/ |
| H A D | channel_syscalls.c | 43 static int chop_close(struct fileglob *, vfs_context_t); 109 chop_close(struct fileglob *fg, vfs_context_t ctx) in chop_close()
|