Home
last modified time | relevance | path

Searched refs:cr1 (Results 1 – 12 of 12) sorted by relevance

/f-stack/freebsd/security/mac_seeotheruids/
H A Dmac_seeotheruids.c106 seeotheruids_check(struct ucred *cr1, struct ucred *cr2) in seeotheruids_check() argument
113 if (cr1->cr_rgid == cr2->cr_rgid) in seeotheruids_check()
118 if (cr1->cr_rgid == specificgid || in seeotheruids_check()
119 groupmember(specificgid, cr1)) in seeotheruids_check()
123 if (cr1->cr_ruid == cr2->cr_ruid) in seeotheruids_check()
127 if (priv_check_cred(cr1, PRIV_SEEOTHERUIDS) == 0) in seeotheruids_check()
157 seeotheruids_cred_check_visible(struct ucred *cr1, struct ucred *cr2) in seeotheruids_cred_check_visible() argument
160 return (seeotheruids_check(cr1, cr2)); in seeotheruids_cred_check_visible()
/f-stack/freebsd/security/mac/
H A Dmac_cred.c344 mac_cred_check_visible(struct ucred *cr1, struct ucred *cr2) in mac_cred_check_visible() argument
348 MAC_POLICY_CHECK_NOSLEEP(cred_check_visible, cr1, cr2); in mac_cred_check_visible()
349 MAC_CHECK_PROBE2(cred_check_visible, error, cr1, cr2); in mac_cred_check_visible()
H A Dmac_framework.h126 int mac_cred_check_visible(struct ucred *cr1, struct ucred *cr2);
127 void mac_cred_copy(struct ucred *cr1, struct ucred *cr2);
H A Dmac_policy.h156 typedef int (*mpo_cred_check_visible_t)(struct ucred *cr1,
/f-stack/freebsd/security/mac_partition/
H A Dmac_partition.c139 partition_cred_check_visible(struct ucred *cr1, struct ucred *cr2) in partition_cred_check_visible() argument
143 error = partition_check(cr1->cr_label, cr2->cr_label); in partition_cred_check_visible()
/f-stack/freebsd/arm/include/
H A Dvfp.h36 #define VFPSCR cr1
/f-stack/freebsd/contrib/alpine-hal/
H A Dal_hal_pcie_regs.h72 uint32_t cr1; member
H A Dal_hal_pcie.c952 reg = al_reg_read32(&regs->port_regs->iatu.cr1); in al_pcie_ecrc_gen_ob_atu_enable()
959 al_reg_write32(&regs->port_regs->iatu.cr1, reg); in al_pcie_ecrc_gen_ob_atu_enable()
2540 al_reg_write32(&regs->port_regs->iatu.cr1, reg); in al_pcie_atu_region_set()
2595 reg = al_reg_read32(&regs->port_regs->iatu.cr1); in al_pcie_atu_region_get_fields()
/f-stack/freebsd/kern/
H A Dkern_sig.c173 #define CANSIGIO(cr1, cr2) \ argument
174 ((cr1)->cr_uid == 0 || \
175 (cr1)->cr_ruid == (cr2)->cr_ruid || \
176 (cr1)->cr_uid == (cr2)->cr_ruid || \
177 (cr1)->cr_ruid == (cr2)->cr_uid || \
178 (cr1)->cr_uid == (cr2)->cr_uid)
/f-stack/freebsd/security/mac_lomac/
H A Dmac_lomac.c975 lomac_cred_check_visible(struct ucred *cr1, struct ucred *cr2) in lomac_cred_check_visible() argument
982 subj = SLOT(cr1->cr_label); in lomac_cred_check_visible()
/f-stack/freebsd/security/mac_stub/
H A Dmac_stub.c293 stub_cred_check_visible(struct ucred *cr1, struct ucred *cr2) in stub_cred_check_visible() argument
/f-stack/freebsd/security/mac_mls/
H A Dmac_mls.c852 mls_cred_check_visible(struct ucred *cr1, struct ucred *cr2) in mls_cred_check_visible() argument
859 subj = SLOT(cr1->cr_label); in mls_cred_check_visible()