Searched refs:semakptr (Results 1 - 4 of 4) sorted by relevance
/darwin-on-arm/xnu/security/ |
H A D | mac_sysv_sem.c | 91 mac_sysvsem_label_init(struct semid_kernel *semakptr) argument 94 semakptr->label = mac_sysv_sem_label_alloc(); 106 mac_sysvsem_label_destroy(struct semid_kernel *semakptr) argument 109 mac_sysv_sem_label_free(semakptr->label); 110 semakptr->label = NULL; 114 mac_sysvsem_label_associate(kauth_cred_t cred, struct semid_kernel *semakptr) argument 117 MAC_PERFORM(sysvsem_label_associate, cred, semakptr, semakptr->label); 121 mac_sysvsem_label_recycle(struct semid_kernel *semakptr) argument 124 MAC_PERFORM(sysvsem_label_recycle, semakptr 128 mac_sysvsem_check_semctl(kauth_cred_t cred, struct semid_kernel *semakptr, int cmd) argument 142 mac_sysvsem_check_semget(kauth_cred_t cred, struct semid_kernel *semakptr) argument 155 mac_sysvsem_check_semop(kauth_cred_t cred, struct semid_kernel *semakptr, size_t accesstype) argument [all...] |
H A D | mac_framework.h | 430 struct semid_kernel *semakptr, int cmd); 432 struct semid_kernel *semakptr); 434 struct semid_kernel *semakptr, size_t accesstype); 436 struct semid_kernel *semakptr); 437 void mac_sysvsem_label_destroy(struct semid_kernel *semakptr); 438 void mac_sysvsem_label_init(struct semid_kernel *semakptr); 439 void mac_sysvsem_label_recycle(struct semid_kernel *semakptr);
|
H A D | mac_policy.h | 4346 @param semakptr Pointer to semaphore identifier 4351 the operation indicated by cmd on the System V semaphore semakptr. 4358 struct semid_kernel *semakptr, 4365 @param semakptr Pointer to semaphore identifier 4376 struct semid_kernel *semakptr, 4382 @param semakptr Pointer to semaphore identifier 4388 semakptr. The accesstype flags hold the maximum set of permissions 4398 struct semid_kernel *semakptr, 4405 @param semakptr The semaphore being created 4415 struct semid_kernel *semakptr, [all...] |
/darwin-on-arm/xnu/bsd/kern/ |
H A D | sysv_sem.c | 686 struct semid_kernel *semakptr; local 708 semakptr = &sema[semid]; 709 if ((semakptr->u.sem_perm.mode & SEM_ALLOC) == 0 || 710 semakptr->u.sem_perm._seq != IPCID_TO_SEQ(uap->semid)) { 715 eval = mac_sysvsem_check_semctl(cred, semakptr, cmd); 725 if ((eval = ipcperm(cred, &semakptr->u.sem_perm, IPC_M))) 728 semakptr->u.sem_perm.cuid = kauth_cred_getuid(cred); 729 semakptr->u.sem_perm.uid = kauth_cred_getuid(cred); 730 semtot -= semakptr->u.sem_nsems; 731 for (i = semakptr 1048 register struct semid_kernel *semakptr; local 1424 struct semid_kernel *semakptr; local [all...] |
Completed in 34 milliseconds