/freebsd/sys/security/mac_seeotheruids/ |
H A D | mac_seeotheruids.c | 104 seeotheruids_check(struct ucred *cr1, struct ucred *cr2) in seeotheruids_check() argument 111 if (cr1->cr_rgid == cr2->cr_rgid) in seeotheruids_check() 116 if (cr1->cr_rgid == specificgid || in seeotheruids_check() 117 groupmember(specificgid, cr1)) in seeotheruids_check() 121 if (cr1->cr_ruid == cr2->cr_ruid) in seeotheruids_check() 125 if (priv_check_cred(cr1, PRIV_SEEOTHERUIDS) == 0) in seeotheruids_check() 155 seeotheruids_cred_check_visible(struct ucred *cr1, struct ucred *cr2) in seeotheruids_cred_check_visible() argument 158 return (seeotheruids_check(cr1, cr2)); in seeotheruids_cred_check_visible()
|
/freebsd/sys/security/mac/ |
H A D | mac_cred.c | 342 mac_cred_check_visible(struct ucred *cr1, struct ucred *cr2) in mac_cred_check_visible() argument 346 MAC_POLICY_CHECK_NOSLEEP(cred_check_visible, cr1, cr2); in mac_cred_check_visible() 347 MAC_CHECK_PROBE2(cred_check_visible, error, cr1, cr2); in mac_cred_check_visible()
|
H A D | mac_framework.h | 130 int mac_cred_check_visible(struct ucred *cr1, struct ucred *cr2); 131 void mac_cred_copy(struct ucred *cr1, struct ucred *cr2);
|
H A D | mac_policy.h | 161 typedef int (*mpo_cred_check_visible_t)(struct ucred *cr1,
|
/freebsd/tools/test/stress2/tools/ |
H A D | bench.c | 48 static void cr1(void); 54 static void (*functions[])(void) = {&cr1, &cr2, &cr3, &rn1, &rw1, &rw2}; 60 cr1(void) in cr1() function
|
/freebsd/sys/security/mac_partition/ |
H A D | mac_partition.c | 137 partition_cred_check_visible(struct ucred *cr1, struct ucred *cr2) in partition_cred_check_visible() argument 141 error = partition_check(cr1->cr_label, cr2->cr_label); in partition_cred_check_visible()
|
/freebsd/sys/arm/include/ |
H A D | vfp.h | 35 #define VFPSCR cr1
|
/freebsd/sys/dev/vr/ |
H A D | if_vr.c | 299 uint8_t cr0, cr1, fc; in vr_miibus_statchg() local 323 cr1 = CSR_READ_1(sc, VR_CR1); in vr_miibus_statchg() 324 mfdx = (cr1 & VR_CR1_FULLDUPLEX) != 0; in vr_miibus_statchg() 339 cr1 |= VR_CR1_FULLDUPLEX; in vr_miibus_statchg() 341 cr1 &= ~VR_CR1_FULLDUPLEX; in vr_miibus_statchg() 342 CSR_WRITE_1(sc, VR_CR1, cr1); in vr_miibus_statchg()
|
/freebsd/sys/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()
|
/freebsd/sys/kern/ |
H A D | kern_sig.c | 178 * Policy -- Can ucred cr1 send SIGIO to process cr2? 182 #define CANSIGIO(cr1, cr2) \ 183 ((cr1)->cr_uid == 0 || \ argument 184 (cr1)->cr_ruid == (cr2)->cr_ruid || \ 185 (cr1)->cr_uid == (cr2)->cr_ruid || \ 186 (cr1)->cr_ruid == (cr2)->cr_uid || \ 187 (cr1)->cr_uid == (cr2)->cr_uid)
|
/freebsd/usr.sbin/mountd/ |
H A D | mountd.c | 2385 compare_cred(struct expcred *cr0, struct expcred *cr1) in compare_cred() argument 2388 if (cr0->cr_uid != cr1->cr_uid || cr0->cr_ngroups != cr1->cr_ngroups) in compare_cred() 2391 COMPARE_ARRAYS(cr0->cr_groups, cr1->cr_groups, cr0->cr_ngroups); in compare_cred()
|
/freebsd/sys/security/mac_lomac/ |
H A D | mac_lomac.c | 983 lomac_cred_check_visible(struct ucred *cr1, struct ucred *cr2) in lomac_cred_check_visible() argument 990 subj = SLOT(cr1->cr_label); in lomac_cred_check_visible()
|
/freebsd/sys/security/mac_stub/ |
H A D | mac_stub.c | 294 stub_cred_check_visible(struct ucred *cr1, struct ucred *cr2) in stub_cred_check_visible() argument
|
/freebsd/sys/security/mac_mls/ |
H A D | mac_mls.c | 850 mls_cred_check_visible(struct ucred *cr1, struct ucred *cr2) in mls_cred_check_visible() argument 857 subj = SLOT(cr1->cr_label); in mls_cred_check_visible()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86RegisterInfo.td | 505 def CR1 : X86Reg<"cr1", 1>;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCRegisterInfo.td | 281 def CR1 : CR<1, "cr1", [CR1LT, CR1GT, CR1EQ, CR1UN]>, DwarfRegNum<[69, 69]>;
|