From: Fabian Pflug <f.pflug@pengutronix.de>
To: BAREBOX <barebox@lists.infradead.org>
Cc: Fabian Pflug <f.pflug@pengutronix.de>
Subject: [PATCH 0/4] Add helper for security policies
Date: Thu, 12 Mar 2026 10:16:41 +0100 [thread overview]
Message-ID: <20260312-v2026-02-0-topic-sconfig_console-v1-0-4c3fccafab1e@pengutronix.de> (raw)
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.
Signed-off-by: Fabian Pflug <f.pflug@pengutronix.de>
---
Fabian Pflug (4):
common: bootm: add policy to commandline
security: policy: set active policy on boot
security: configure pinctrl based on policy name
security: kernel_pinctrl: fixup pinctrl in kernel dts
common/bootm.c | 23 ++++++++++++++++
drivers/base/driver.c | 12 +++++++-
include/bootm.h | 5 ++++
security/Kconfig.policy | 8 ++++++
security/Makefile | 1 +
security/kernel_pinctrl.c | 70 +++++++++++++++++++++++++++++++++++++++++++++++
security/policy.c | 15 ++++++++++
7 files changed, 133 insertions(+), 1 deletion(-)
---
base-commit: 8c9d58cef2c65434e719ccbd3799b23014cb779d
change-id: 20260311-v2026-02-0-topic-sconfig_console-194842a14e1d
Best regards,
--
Fabian Pflug <f.pflug@pengutronix.de>
next reply other threads:[~2026-03-12 9:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-12 9:16 Fabian Pflug [this message]
2026-03-12 9:16 ` [PATCH 1/4] common: bootm: add policy to commandline Fabian Pflug
2026-03-13 13:36 ` Sascha Hauer
2026-03-13 14:26 ` Fabian Pflug
2026-03-13 14:30 ` Sascha Hauer
2026-03-12 9:16 ` [PATCH 2/4] security: policy: set active policy on boot Fabian Pflug
2026-03-12 9:16 ` [PATCH 3/4] security: configure pinctrl based on policy name Fabian Pflug
2026-03-12 9:16 ` [PATCH 4/4] security: kernel_pinctrl: fixup pinctrl in kernel dts Fabian Pflug
2026-03-13 14:10 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260312-v2026-02-0-topic-sconfig_console-v1-0-4c3fccafab1e@pengutronix.de \
--to=f.pflug@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox