Searched refs:pshminfo (Results 1 - 7 of 7) sorted by relevance
/darwin-on-arm/xnu/security/ |
H A D | mac_posix_shm.c | 86 mac_posixshm_label_init(struct pshminfo *pshm) 101 mac_posixshm_label_destroy(struct pshminfo *pshm) 110 struct pshminfo *pshm, struct label *plabel, 118 mac_posixshm_label_associate(kauth_cred_t cred, struct pshminfo *pshm, 139 mac_posixshm_check_open(kauth_cred_t cred, struct pshminfo *shm, int fflags) 152 mac_posixshm_check_mmap(kauth_cred_t cred, struct pshminfo *shm, 167 mac_posixshm_check_stat(kauth_cred_t cred, struct pshminfo *shm) 180 mac_posixshm_check_truncate(kauth_cred_t cred, struct pshminfo *shm, 194 mac_posixshm_check_unlink(kauth_cred_t cred, struct pshminfo *shm,
|
H A D | mac_framework.h | 108 struct pshminfo; 313 int mac_posixshm_check_mmap(kauth_cred_t cred, struct pshminfo *pshm, 315 int mac_posixshm_check_open(kauth_cred_t cred, struct pshminfo *pshm, 317 int mac_posixshm_check_stat(kauth_cred_t cred, struct pshminfo *pshm); 318 int mac_posixshm_check_truncate(kauth_cred_t cred, struct pshminfo *pshm, 320 int mac_posixshm_check_unlink(kauth_cred_t cred, struct pshminfo *pshm, 323 struct pshminfo *pshm, struct label *plabel, 326 struct pshminfo *pshm, const char *name); 327 void mac_posixshm_label_destroy(struct pshminfo *pshm); 328 void mac_posixshm_label_init(struct pshminfo *psh [all...] |
H A D | mac_policy.h | 101 struct pshminfo; 2874 struct pshminfo *ps, 2894 struct pshminfo *ps, 2912 struct pshminfo *ps, 2930 struct pshminfo *ps, 2949 struct pshminfo *ps, 2967 struct pshminfo *ps, 5746 struct pshminfo *pshm,
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | posix_shm.h | 55 struct pshminfo { struct 71 #define PSHMINFO_NULL (struct pshminfo *)0
|
H A D | proc_info.h | 540 struct pshm_info pshminfo; member in struct:pshm_fdinfo
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | posix_shm.c | 102 struct pshminfo { struct 118 #define PSHMINFO_NULL (struct pshminfo *)0 132 struct pshminfo *pshminfo; /* vnode the name refers to */ member in struct:pshmcache 156 struct pshminfo *pinfo; 181 static int pshm_close(struct pshminfo *pinfo, int dropref); 186 int pshm_access(struct pshminfo *pinfo, int mode, kauth_cred_t cred, proc_t p); 187 static int pshm_cache_add(struct pshminfo *pshmp, struct pshmname *pnp, struct pshmcache *pcp); 192 static int pshm_cache_search(struct pshminfo **pshmp, struct pshmname *pnp, 231 pshm_cache_search(struct pshminfo **pshm [all...] |
H A D | proc_info.c | 1344 struct pshm_fdinfo pshminfo; local 1347 bzero(&pshminfo, sizeof(struct pshm_fdinfo)); 1348 fill_fileinfo(fp, closeonexec, &pshminfo.pfi); 1350 if ((error = fill_pshminfo(pshm, &pshminfo.pshminfo)) == 0) { 1351 if ((error = copyout(&pshminfo, buffer, sizeof(struct pshm_fdinfo))) == 0)
|
Completed in 46 milliseconds