/macosx-10.9.5/xnu-2422.115.4/security/ |
H A D | mac_posix_sem.c | 85 mac_posixsem_label_init(struct pseminfo *psem) argument 88 psem->psem_label = mac_posixsem_label_alloc(); 100 mac_posixsem_label_destroy(struct pseminfo *psem) argument 103 mac_posixsem_label_free(psem->psem_label); 104 psem->psem_label = NULL; 108 mac_posixsem_label_associate(kauth_cred_t cred, struct pseminfo *psem, argument 112 MAC_PERFORM(posixsem_label_associate, cred, psem, psem->psem_label, name); 118 struct pseminfo *psem, struct label *plabel, 122 psem, plabe 117 mac_posixsem_vnode_label_associate(kauth_cred_t cred, struct pseminfo *psem, struct label *plabel, vnode_t vp, struct label *vlabel) argument 139 mac_posixsem_check_open(kauth_cred_t cred, struct pseminfo *psem) argument 153 mac_posixsem_check_post(kauth_cred_t cred, struct pseminfo *psem) argument 166 mac_posixsem_check_unlink(kauth_cred_t cred, struct pseminfo *psem, const char *name) argument 180 mac_posixsem_check_wait(kauth_cred_t cred, struct pseminfo *psem) argument [all...] |
H A D | mac_framework.h | 305 int mac_posixsem_check_open(kauth_cred_t cred, struct pseminfo *psem); 306 int mac_posixsem_check_post(kauth_cred_t cred, struct pseminfo *psem); 307 int mac_posixsem_check_unlink(kauth_cred_t cred, struct pseminfo *psem, 309 int mac_posixsem_check_wait(kauth_cred_t cred, struct pseminfo *psem); 311 struct pseminfo *psem, struct label *plabel, 314 struct pseminfo *psem, const char *name); 315 void mac_posixsem_label_destroy(struct pseminfo *psem); 316 void mac_posixsem_label_init(struct pseminfo *psem);
|
H A D | mac_policy.h | 5791 @param cred User credential for the process that create psem 5792 @param psem POSIX semaphore structure 5793 @param psemlabel Label associated with psem 5798 the POSIX semaphore described by psem. 5803 struct pseminfo *psem,
|
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/locks/unix/ |
H A D | proc_mutex.c | 74 sem_t *psem; local 117 psem = sem_open(semname, O_CREAT | O_EXCL, 0644, 1); 118 if (psem == (sem_t *)SEM_FAILED) { 125 psem = sem_open(semname, O_CREAT | O_EXCL, 0644, 1); 128 if (psem == (sem_t *)SEM_FAILED) { 133 new_mutex->psem_interproc = psem;
|
/macosx-10.9.5/apr-30/apr/apr/locks/unix/ |
H A D | proc_mutex.c | 74 sem_t *psem; local 117 psem = sem_open(semname, O_CREAT | O_EXCL, 0644, 1); 118 if (psem == (sem_t *)SEM_FAILED) { 125 psem = sem_open(semname, O_CREAT | O_EXCL, 0644, 1); 128 if (psem == (sem_t *)SEM_FAILED) { 133 new_mutex->psem_interproc = psem;
|
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/ |
H A D | posix_sem.c | 306 panic("psem:cache_enter duplicate"); 327 panic("psem namecache purge le_prev"); 1159 struct pseminfo *psem; local 1164 psem = pnode->pinfo; 1165 if (psem != NULL) 1167 vfs_context_ucred(ctx), psem, psem->psem_label, local
|
H A D | proc_info.c | 128 int pid_pseminfo(struct psemnode * psem, struct fileproc * fp, int closeonexec, user_addr_t buffer, uint32_t buffersize, int32_t * retval); 1394 pid_pseminfo(struct psemnode *psem, struct fileproc *fp, int closeonexec, user_addr_t buffer, __unused uint32_t buffersize, int32_t * retval) argument 1402 if ((error = fill_pseminfo(psem, &pseminfo.pseminfo)) == 0) { 1563 struct psemnode * psem; local 1565 if ((error = fp_getfpsem(p, fd, &fp, &psem)) !=0) { 1570 error = pid_pseminfo(psem, fp, closeonexec, buffer, buffersize, retval);
|
/macosx-10.9.5/xnu-2422.115.4/bsd/sys/ |
H A D | proc_info.h | 789 extern int fill_pseminfo(struct psemnode * psem, struct psem_info * pinfo);
|
/macosx-10.9.5/apr-30/apr/apr/ |
H A D | configure | 31482 sem_t *psem; 31485 psem = sem_open(sem_name, O_CREAT, 0644, 1); 31486 if (psem == (sem_t *)SEM_FAILED) { 31489 sem_close(psem); 31490 psem = sem_open(sem_name, O_CREAT | O_EXCL, 0644, 1); 31491 if (psem != (sem_t *)SEM_FAILED) { 31492 sem_close(psem); [all...] |