Re: [PATCH v8 0/7] Add helper for security policies

Sascha Hauer
2026-04-22T06:53:40Z

On Tue, 21 Apr 2026 12:29:29 +0200, Fabian Pflug wrote:
> This series adds helper functions to the security policy framework to
> do additional work based on the selected policy.
> Like adding the policy name to the commandline and configuring pinmux
> based on the selected policy.
>
> If this series is to be applied after Ahamad's bootm change series, then
> the block to change the commandline has to be moved up to roughly line
> 720 into the function bootm_boot_prep, where all the other
> bootm_data->provide_*** checks are, so that the previous context remains
> the same.
>
> [...]

Applied, thanks!

[1/7] of: add of_property_write_string_array()
https://git.pengutronix.de/cgit/barebox/commit/?id=025448cde7f9 (link may not be stable)
[2/7] security: policy: sanity check parameters
https://git.pengutronix.de/cgit/barebox/commit/?id=cb3f0bb0f620 (link may not be stable)
[3/7] security: policy: remove global active_policy var
https://git.pengutronix.de/cgit/barebox/commit/?id=2f9e93cc8fa9 (link may not be stable)
[4/7] security: policy: add notifier chain for name change
https://git.pengutronix.de/cgit/barebox/commit/?id=9f7e1db6b931 (link may not be stable)
[5/7] common: bootm: add policy to commandline
https://git.pengutronix.de/cgit/barebox/commit/?id=3b476a8d8146 (link may not be stable)
[6/7] drivers: pinctrl: configure pinctrl based on policy name
https://git.pengutronix.de/cgit/barebox/commit/?id=646ce6f81faa (link may not be stable)
[7/7] security: kernel_pinctrl: fixup pinctrl in kernel dts
https://git.pengutronix.de/cgit/barebox/commit/?id=eba69cabe145 (link may not be stable)

Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>