Searched refs:cr1 (Results 1 – 12 of 12) sorted by relevance
| /f-stack/freebsd/security/mac_seeotheruids/ |
| H A D | mac_seeotheruids.c | 106 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 D | mac_cred.c | 344 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 D | mac_framework.h | 126 int mac_cred_check_visible(struct ucred *cr1, struct ucred *cr2); 127 void mac_cred_copy(struct ucred *cr1, struct ucred *cr2);
|
| H A D | mac_policy.h | 156 typedef int (*mpo_cred_check_visible_t)(struct ucred *cr1,
|
| /f-stack/freebsd/security/mac_partition/ |
| H A D | mac_partition.c | 139 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 D | vfp.h | 36 #define VFPSCR cr1
|
| /f-stack/freebsd/contrib/alpine-hal/ |
| H A D | al_hal_pcie_regs.h | 72 uint32_t cr1; member
|
| H A D | al_hal_pcie.c | 952 reg = al_reg_read32(®s->port_regs->iatu.cr1); in al_pcie_ecrc_gen_ob_atu_enable() 959 al_reg_write32(®s->port_regs->iatu.cr1, reg); in al_pcie_ecrc_gen_ob_atu_enable() 2540 al_reg_write32(®s->port_regs->iatu.cr1, reg); in al_pcie_atu_region_set() 2595 reg = al_reg_read32(®s->port_regs->iatu.cr1); in al_pcie_atu_region_get_fields()
|
| /f-stack/freebsd/kern/ |
| H A D | kern_sig.c | 173 #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 D | mac_lomac.c | 975 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 D | mac_stub.c | 293 stub_cred_check_visible(struct ucred *cr1, struct ucred *cr2) in stub_cred_check_visible() argument
|
| /f-stack/freebsd/security/mac_mls/ |
| H A D | mac_mls.c | 852 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()
|