/openbmc/qemu/authz/ |
H A D | list.c | 33 QAuthZListRuleList *rules = lauthz->rules; in qauthz_list_is_allowed() local 35 while (rules) { in qauthz_list_is_allowed() 57 rules = rules->next; in qauthz_list_is_allowed() 169 rules = auth->rules; in qauthz_list_append_rule() 170 if (rules) { in qauthz_list_append_rule() 173 rules = rules->next; in qauthz_list_append_rule() 204 rules = auth->rules; in qauthz_list_insert_rule() 208 rules = rules->next; in qauthz_list_insert_rule() 228 rules = auth->rules; in qauthz_list_delete_rule() 235 auth->rules = rules->next; in qauthz_list_delete_rule() [all …]
|
/openbmc/phosphor-fan-presence/monitor/test/ |
H A D | power_off_rule_test.cpp | 64 ASSERT_EQ(rules.size(), 4); in TEST() 74 EXPECT_FALSE(rules[0]->active()); in TEST() 77 EXPECT_TRUE(rules[0]->active()); in TEST() 85 rules[0]->cancel(); in TEST() 86 EXPECT_FALSE(rules[0]->active()); in TEST() 92 EXPECT_FALSE(rules[1]->active()); in TEST() 99 EXPECT_TRUE(rules[1]->active()); in TEST() 113 EXPECT_TRUE(rules[2]->active()); in TEST() 117 rules[2]->cancel(); in TEST() 118 EXPECT_FALSE(rules[2]->active()); in TEST() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/multipath-tools/files/ |
H A D | 0001-RH-fixup-udev-rules-for-redhat.patch | 4 Subject: [PATCH 01/12] RH: fixup udev rules for redhat 23 kpartx/kpartx.rules | 2 +- 34 udevrulesdir := $(libudevdir)/rules.d 40 diff --git a/kpartx/kpartx.rules b/kpartx/kpartx.rules 42 --- a/kpartx/kpartx.rules 43 +++ b/kpartx/kpartx.rules 60 - $(Q)$(INSTALL_PROGRAM) -m 644 multipath.rules $(DESTDIR)$(udevrulesdir)/56-multipath.rules 61 + $(Q)$(INSTALL_PROGRAM) -m 644 multipath.rules $(DESTDIR)$(udevrulesdir)/62-multipath.rules 66 $(Q)$(RM) $(DESTDIR)$(udevrulesdir)/99-z-dm-mpath-late.rules 69 - $(Q)$(RM) $(DESTDIR)$(libudevdir)/rules.d/56-multipath.rules [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/udev/ |
H A D | udev-extraconf_1.1.bb | 8 file://automount.rules \ 11 file://autonet.rules \ 13 file://localextra.rules \ 21 install -d ${D}${sysconfdir}/udev/rules.d 23 install -m 0644 ${WORKDIR}/automount.rules ${D}${sysconfdir}/udev/rules.d/automount.rules 24 install -m 0644 ${WORKDIR}/autonet.rules ${D}${sysconfdir}/udev/rules.d/autonet.rules 25 install -m 0644 ${WORKDIR}/localextra.rules ${D}${sysconfdir}/udev/rules.d/localextra.rules 55 # to replace udev-extra-rules from meta-oe 56 RPROVIDES:${PN} = "udev-extra-rules" 57 RREPLACES:${PN} = "udev-extra-rules" [all …]
|
/openbmc/linux/security/apparmor/ |
H A D | resource.c | 92 struct aa_ruleset *rules = list_first_entry(&profile->rules, in profile_setrlimit() local 93 typeof(*rules), list); in profile_setrlimit() 97 rules->rlimits.limits[resource].rlim_max) in profile_setrlimit() 168 struct aa_ruleset *rules = list_first_entry(&old->rules, in __aa_transition_rlimits() local 169 typeof(*rules), in __aa_transition_rlimits() 171 if (rules->rlimits.mask) { in __aa_transition_rlimits() 176 if (rules->rlimits.mask & mask) { in __aa_transition_rlimits() 188 struct aa_ruleset *rules = list_first_entry(&new->rules, in __aa_transition_rlimits() local 189 typeof(*rules), in __aa_transition_rlimits() 193 if (!rules->rlimits.mask) in __aa_transition_rlimits() [all …]
|
H A D | policy_unpack.c | 577 if (!rules->secmark) in unpack_secmark() 847 rules = list_first_entry(&profile->rules, typeof(*rules), list); in unpack_profile() 988 if (aa_dfa_next(rules->policy.dfa, rules->policy.start[0], in unpack_profile() 1026 rules->file.dfa = aa_get_dfa(rules->policy.dfa); in unpack_profile() 1027 rules->file.start[AA_CLASS_FILE] = rules->policy.start[AA_CLASS_FILE]; in unpack_profile() 1028 rules->file.perms = kcalloc(rules->policy.size, in unpack_profile() 1033 memcpy(rules->file.perms, rules->policy.perms, in unpack_profile() 1035 rules->file.size = rules->policy.size; in unpack_profile() 1245 struct aa_ruleset *rules = list_first_entry(&profile->rules, in verify_profile() local 1247 if (!rules) in verify_profile() [all …]
|
H A D | capability.c | 67 struct aa_ruleset *rules = list_first_entry(&profile->rules, in audit_caps() local 68 typeof(*rules), list); in audit_caps() 77 !cap_raised(rules->caps.audit, cap))) in audit_caps() 81 cap_raised(rules->caps.kill, cap)) { in audit_caps() 83 } else if (cap_raised(rules->caps.quiet, cap) && in audit_caps() 119 struct aa_ruleset *rules = list_first_entry(&profile->rules, in profile_capable() local 120 typeof(*rules), list); in profile_capable() 123 if (cap_raised(rules->caps.allow, cap) && in profile_capable() 124 !cap_raised(rules->caps.denied, cap)) in profile_capable()
|
H A D | net.c | 113 struct aa_ruleset *rules = list_first_entry(&profile->rules, in aa_profile_af_perm() local 114 typeof(*rules), list); in aa_profile_af_perm() 124 state = RULE_MEDIATES(rules, AA_CLASS_NET); in aa_profile_af_perm() 226 struct aa_ruleset *rules = list_first_entry(&profile->rules, in aa_secmark_perm() local 227 typeof(*rules), list); in aa_secmark_perm() 229 if (rules->secmark_count == 0) in aa_secmark_perm() 232 for (i = 0; i < rules->secmark_count; i++) { in aa_secmark_perm() 233 if (!rules->secmark[i].secid) { in aa_secmark_perm() 239 if (rules->secmark[i].secid == secid || in aa_secmark_perm() 241 if (rules->secmark[i].deny) in aa_secmark_perm() [all …]
|
/openbmc/openbmc/meta-raspberrypi/recipes-core/udev/ |
H A D | udev-rules-rpi.bb | 1 DESCRIPTION = "udev rules for Raspberry Pi Boards" 7 file://can.rules \ 16 install -d ${D}${sysconfdir}/udev/rules.d 17 install -m 0644 ${S}/etc.armhf/udev/rules.d/99-com.rules ${D}${sysconfdir}/udev/rules.d/ 18 install -m 0644 ${WORKDIR}/can.rules ${D}${sysconfdir}/udev/rules.d/
|
/openbmc/openbmc/meta-google/recipes-google/nftables/files/ |
H A D | nft-configure.sh | 6 for file in "$dir"/*.rules; do 12 rules="" 14 rules="$(mktemp)" || exit 15 echo 'flush ruleset' >"$rules" 18 echo '' >>"$rules" 19 cat "${basemap[$key]}" >>"$rules" 21 nft -f "$rules" || exit
|
/openbmc/linux/drivers/gpu/drm/ci/ |
H A D | container.yml | 24 rules: 28 rules: 32 rules: 36 rules: 40 rules: 44 rules: 48 rules: 52 rules: 56 rules: 60 rules: [all …]
|
H A D | gitlab-ci.yml | 127 rules: 152 rules: 159 rules: 165 rules: 166 - !reference [.no_scheduled_pipelines-rules, rules] 172 rules: 190 rules: 217 rules: 218 - !reference [.scheduled_pipeline-rules, rules] 240 rules: [all …]
|
/openbmc/openbmc/meta-facebook/meta-minerva/recipes-phosphor/console/ |
H A D | obmc-console_%.bbappend | 8 file://80-minerva-obmc-console-uart.rules \ 15 # Replace upstream-provided udev rules 16 install -d ${D}/${nonarch_base_libdir}/udev/rules.d 17 rm -f ${D}/${nonarch_base_libdir}/udev/rules.d/80-obmc-console-uart.rules 18 …stall -m 0644 ${WORKDIR}/80-minerva-obmc-console-uart.rules ${D}/${nonarch_base_libdir}/udev/rules…
|
/openbmc/openbmc/meta-google/recipes-core/dropbear/ |
H A D | dropbear_%.bbappend | 11 rules=$nftables_dir/50-dropbear-dev.rules 13 echo 'table inet filter {' >"$rules" 14 echo ' chain gbmc_br_pub_input {' >>"$rules" 15 echo ' tcp dport 22 accept' >>"$rules" 16 echo ' }' >>"$rules" 17 echo '}' >>"$rules"
|
/openbmc/openbmc/meta-facebook/meta-catalina/recipes-phosphor/network/ |
H A D | phosphor-network_%.bbappend | 5 file://90-hmc-usb0-network.rules \ 10 ${sysconfdir}/udev/rules.d/90-hmc-usb0-network.rules \ 17 install -d ${D}${sysconfdir}/udev/rules.d 18 …stall -m 0644 ${WORKDIR}/90-hmc-usb0-network.rules ${D}${sysconfdir}/udev/rules.d/90-hmc-usb0-netw…
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/linuxconsole/ |
H A D | linuxconsole_1.7.1.bb | 16 file://51-these-are-not-joysticks-rm.rules \ 17 file://60-joystick.rules \ 53 …KDIR}/51-these-are-not-joysticks-rm.rules ${D}${nonarch_base_libdir}/udev/rules.d/51-these-are-not… 54 …install -Dm 0644 ${WORKDIR}/60-joystick.rules ${D}${nonarch_base_libdir}/udev/rules.d/60-joystick.… 79 ${nonarch_base_libdir}/udev/rules.d/51-these-are-not-joysticks-rm.rules \ 81 ${nonarch_base_libdir}/udev/rules.d/60-joystick.rules \ 82 ${nonarch_base_libdir}/udev/rules.d/80-stelladaptor-joystick.rules \
|
/openbmc/openbmc/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/ |
H A D | phosphor-ipmi-kcs_%.bbappend | 3 SRC_URI:append:olympus-nuvoton = " file://99-ipmi-kcs.rules.rules" 8 install -d ${D}/${nonarch_base_libdir}/udev/rules.d 9 install -m 0644 ${WORKDIR}/99-ipmi-kcs.rules.rules ${D}/${nonarch_base_libdir}/udev/rules.d
|
/openbmc/openbmc/meta-google/recipes-google/networking/ |
H A D | gbmc-iperf3.bb | 23 rules=$nftables_dir/50-gbmc-iperf3-dev.rules 25 echo 'table inet filter {' >"$rules" 26 echo ' chain gbmc_br_pub_input {' >>"$rules" 27 echo ' tcp dport 5201 accept' >>"$rules" 28 echo ' }' >>"$rules" 29 echo '}' >>"$rules"
|
/openbmc/linux/drivers/net/dsa/qca/ |
H A D | qca8k-leds.c | 68 if (test_bit(TRIGGER_NETDEV_TX, &rules)) in qca8k_parse_netdev() 70 if (test_bit(TRIGGER_NETDEV_RX, &rules)) in qca8k_parse_netdev() 72 if (test_bit(TRIGGER_NETDEV_LINK_10, &rules)) in qca8k_parse_netdev() 74 if (test_bit(TRIGGER_NETDEV_LINK_100, &rules)) in qca8k_parse_netdev() 76 if (test_bit(TRIGGER_NETDEV_LINK_1000, &rules)) in qca8k_parse_netdev() 83 if (rules && !*offload_trigger) in qca8k_parse_netdev() 333 set_bit(TRIGGER_NETDEV_TX, rules); in qca8k_cled_hw_control_get() 335 set_bit(TRIGGER_NETDEV_RX, rules); in qca8k_cled_hw_control_get() 337 set_bit(TRIGGER_NETDEV_LINK_10, rules); in qca8k_cled_hw_control_get() 339 set_bit(TRIGGER_NETDEV_LINK_100, rules); in qca8k_cled_hw_control_get() [all …]
|
/openbmc/openbmc/meta-aspeed/recipes-core/udev/ |
H A D | udev-aspeed-vuart.bb | 1 SUMMARY = "udev rules for Aspeed VUART" 2 DESCRIPTION = "udev rules for Aspeed VUART" 8 SRC_URI += "file://61-aspeed-vuart.rules" 13 install -d ${D}/${nonarch_base_libdir}/udev/rules.d 14 install -m 0644 ${WORKDIR}/61-aspeed-vuart.rules ${D}/${nonarch_base_libdir}/udev/rules.d
|
H A D | udev-aspeed-mtd-partitions.bb | 1 SUMMARY = "udev rules for MTD partitions" 2 DESCRIPTION = "udev rules for MTD partitions" 8 SRC_URI += "file://76-aspeed-mtd-partitions.rules" 13 install -d ${D}/${nonarch_base_libdir}/udev/rules.d 14 … install -m 0644 ${WORKDIR}/76-aspeed-mtd-partitions.rules ${D}/${nonarch_base_libdir}/udev/rules.d
|
/openbmc/openbmc/meta-hpe/meta-gxp/recipes-core/udev/ |
H A D | udev-gxp-mtd-partitions.bb | 1 SUMMARY = "udev rules for MTD partitions" 2 DESCRIPTION = "udev rules for MTD partitions" 8 SRC_URI += "file://76-gxp-mtd-partitions.rules" 13 install -d ${D}/${nonarch_base_libdir}/udev/rules.d 14 install -m 0644 ${WORKDIR}/76-gxp-mtd-partitions.rules ${D}/${nonarch_base_libdir}/udev/rules.d
|
/openbmc/openbmc/meta-nuvoton/recipes-core/udev/ |
H A D | udev-nuvoton-mtd-partitions.bb | 1 SUMMARY = "udev rules for MTD partitions" 2 DESCRIPTION = "udev rules for MTD partitions" 8 SRC_URI = "file://76-nuvoton-mtd-partitions.rules" 13 install -d ${D}/${base_libdir}/udev/rules.d 14 install -m 0644 ${WORKDIR}/76-nuvoton-mtd-partitions.rules ${D}/${base_libdir}/udev/rules.d
|
/openbmc/openbmc/meta-nuvoton/meta-evb-npcm845/recipes-phosphor/network/ |
H A D | persistent-net-name.bb | 1 SUMMARY = "udev rules for persistent net name" 2 DESCRIPTION = "udev rules for persistent net name" 8 SRC_URI += "file://85-persistent-net.rules" 13 install -d ${D}/${base_libdir}/udev/rules.d 14 install -m 0644 ${WORKDIR}/85-persistent-net.rules ${D}/${base_libdir}/udev/rules.d
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/triggerhappy/ |
H A D | triggerhappy_git.bb | 27 ${nonarch_base_libdir}/udev/rules.d/80-triggerhappy.rules \ 31 CONFFILES:${PN} = "${sysconfdir}/udev/rules.d/80-triggerhappy.rules" 36 install -d ${D}${nonarch_base_libdir}/udev/rules.d 37 …nstall -m 0644 ${S}/udev/triggerhappy-udev.rules ${D}${nonarch_base_libdir}/udev/rules.d/80-trigge…
|