Home
last modified time | relevance | path

Searched refs:rules (Results 1 – 25 of 968) sorted by relevance

12345678910>>...39

/openbmc/qemu/authz/
H A Dlist.c33 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 Dpower_off_rule_test.cpp64 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 D0001-RH-fixup-udev-rules-for-redhat.patch4 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 Dudev-extraconf_1.1.bb8 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 Dresource.c92 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 Dpolicy_unpack.c577 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 Dcapability.c67 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 Dnet.c113 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 Dudev-rules-rpi.bb1 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 Dnft-configure.sh6 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 Dcontainer.yml24 rules:
28 rules:
32 rules:
36 rules:
40 rules:
44 rules:
48 rules:
52 rules:
56 rules:
60 rules:
[all …]
H A Dgitlab-ci.yml127 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 Dobmc-console_%.bbappend8 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 Ddropbear_%.bbappend11 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 Dphosphor-network_%.bbappend5 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 Dlinuxconsole_1.7.1.bb16 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 Dphosphor-ipmi-kcs_%.bbappend3 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 Dgbmc-iperf3.bb23 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 Dqca8k-leds.c68 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 Dudev-aspeed-vuart.bb1 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 Dudev-aspeed-mtd-partitions.bb1 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 Dudev-gxp-mtd-partitions.bb1 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 Dudev-nuvoton-mtd-partitions.bb1 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 Dpersistent-net-name.bb1 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 Dtriggerhappy_git.bb27 ${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…

12345678910>>...39