/freebsd/sys/kern/ |
H A D | sysv_ipc.c | 99 if (cred->cr_uid == perm->cuid || cred->cr_uid == perm->uid) { in ipcperm() 165 new->cuid = old->cuid; in ipcperm_old2new() 179 old->cuid = new->cuid; in ipcperm_new2old() 205 CP(*ip32, *ip, cuid); in freebsd32_ipcperm_old_in() 218 CP(*ip, *ip32, cuid); in freebsd32_ipcperm_old_out() 232 CP(*ip32, *ip, cuid); in freebsd32_ipcperm_in() 245 CP(*ip, *ip32, cuid); in freebsd32_ipcperm_out()
|
H A D | sysv_sem.c | 566 semakptr->u.sem_perm.cuid = cred ? cred->cr_uid : 0; in sem_remove() 1054 sema[semid].u.sem_perm.cuid = cred->cr_uid; in sys_semget()
|
/freebsd/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_kill.c | 136 uid_t cuid = 0; in ATF_TC_BODY() local 147 cuid = pw->pw_uid; in ATF_TC_BODY() 154 if (cuid == 0 || puid == 0 || cuid == puid) in ATF_TC_BODY() 171 if (setuid(cuid) < 0) in ATF_TC_BODY()
|
H A D | t_msgget.c | 177 ATF_CHECK(msgds.msg_perm.cuid == uid); in ATF_TC_BODY()
|
/freebsd/sys/sys/ |
H A D | ipc.h | 75 unsigned short cuid; /* creator user id */ member 86 uid_t cuid; /* creator user id */ member
|
/freebsd/contrib/netbsd-tests/kernel/ |
H A D | t_sysv.c | 318 mp->msg_perm.cuid, mp->msg_perm.cgid, in print_msqid_ds() 333 ATF_REQUIRE_MSG(mp->msg_perm.uid == uid && mp->msg_perm.cuid == uid, in print_msqid_ds() 535 sp->sem_perm.cuid, sp->sem_perm.cgid, in print_semid_ds() 547 ATF_REQUIRE_MSG(sp->sem_perm.uid == uid && sp->sem_perm.cuid == uid, in print_semid_ds() 723 sp->shm_perm.cuid, sp->shm_perm.cgid, in print_shmid_ds() 738 ATF_REQUIRE_MSG(sp->shm_perm.uid == uid && sp->shm_perm.cuid == uid, in print_shmid_ds()
|
/freebsd/sys/compat/linux/ |
H A D | linux_ipc.c | 59 l_uid16_t cuid; member 136 bpp->cuid = lpp->cuid; in linux_to_bsd_ipc_perm() 149 lpp->cuid = bpp->cuid; in bsd_to_linux_ipc_perm() 281 out->cuid = in->cuid; in linux_ipc64_perm_to_ipc_perm() 288 out->cuid != in->cuid || out->cgid != in->cgid || in linux_ipc64_perm_to_ipc_perm()
|
H A D | linux_ipc64.h | 47 l_uid_t cuid; member
|
/freebsd/sys/compat/freebsd32/ |
H A D | freebsd32_ipc.h | 33 uid_t cuid; member 132 uint16_t cuid; member
|
/freebsd/tools/regression/sysvshm/ |
H A D | shmtest.c | 230 sp->shm_perm.cuid, sp->shm_perm.cgid, in print_shmid_ds() 245 if (sp->shm_perm.uid != uid || sp->shm_perm.cuid != uid) in print_shmid_ds()
|
/freebsd/tools/regression/sysvsem/ |
H A D | semtest.c | 285 sp->sem_perm.cuid, sp->sem_perm.cgid, in print_semid_ds() 297 if (sp->sem_perm.uid != uid || sp->sem_perm.cuid != uid) in print_semid_ds()
|
/freebsd/tools/regression/sysvmsg/ |
H A D | msgtest.c | 266 mp->msg_perm.cuid, mp->msg_perm.cgid, in print_msqid_ds() 281 if (mp->msg_perm.uid != uid || mp->msg_perm.cuid != uid) in print_msqid_ds()
|
/freebsd/usr.bin/ipcs/ |
H A D | ipcs.c | 353 user_from_uid(kmsqptr->u.msg_perm.cuid, 0), in print_kmsqptr() 433 user_from_uid(kshmptr->u.shm_perm.cuid, 0), in print_kshmptr() 516 user_from_uid(ksemaptr->u.sem_perm.cuid, 0), in print_ksemptr()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_platform_limits_solaris.h | 64 unsigned int cuid; // uid_t member
|
H A D | sanitizer_platform_limits_solaris.cpp | 301 CHECK_SIZE_AND_OFFSET(ipc_perm, cuid);
|
H A D | sanitizer_platform_limits_freebsd.h | 108 unsigned int cuid; member
|
H A D | sanitizer_platform_limits_freebsd.cpp | 509 CHECK_SIZE_AND_OFFSET(ipc_perm, cuid);
|
H A D | sanitizer_platform_limits_posix.h | 218 int cuid; member
|
/freebsd/sys/netpfil/pf/ |
H A D | if_pflog.c | 260 hdr.rule_uid = rm->cuid; in pflog_packet()
|
H A D | pf.h | 539 uid_t cuid; member
|
H A D | pf_nv.c | 581 PFNV_CHK(pf_nvuint32(nvl, "cuid", &rule->cuid)); in pf_nvrule_to_krule() 755 nvlist_add_number(nvl, "cuid", rule->cuid); in pf_krule_to_nvrule()
|
/freebsd/lib/libpfctl/ |
H A D | libpfctl.h | 207 uid_t cuid; member
|
/freebsd/contrib/openbsm/libbsm/ |
H A D | bsm_token.c | 566 ADD_U_INT16(dptr, perm->cuid); in au_to_ipc_perm() 572 ADD_U_INT32(dptr, perm->cuid); in au_to_ipc_perm()
|
/freebsd/sys/security/audit/ |
H A D | bsm_token.c | 510 ADD_U_INT16(dptr, perm->cuid); in au_to_ipc_perm() 516 ADD_U_INT32(dptr, perm->cuid); in au_to_ipc_perm()
|
H A D | audit_bsm.c | 1671 perm.cuid = ar->ar_arg_pipc_perm.pipc_uid; in kaudit_to_bsm() 1706 perm.cuid = ar->ar_arg_pipc_perm.pipc_uid; in kaudit_to_bsm()
|