From: Marco Felsch <m.felsch@pengutronix.de>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH master] environment: autoprobe environment only when CONFIG_INSECURE=y
Date: Thu, 23 Jan 2025 18:09:17 +0100 [thread overview]
Message-ID: <20250123170917.oyeja5kb4azadh4a@pengutronix.de> (raw)
In-Reply-To: <20250123161849.1933987-1-a.fatoum@pengutronix.de>
Hi Ahmad,
On 25-01-23, Ahmad Fatoum wrote:
> As things are, secure booting systems are expected to disable
> CONFIG_ENV_HANDLING to avoid their behavior changing due to a barebox
> environment loaded at runtime.
>
> Still, some users may want to keep CONFIG_ENV_HANDLING enabled, but
> activated only selectively. For those users, barebox autoprobing block
> devices for a GPT partition with the matching UUID is undesirable.
Good catch!
> Therefore, allow disabling this autoprobe behavior via a globalvar.
> To balance convenience against security, the default for the globalvar
> will depend on whether the CONFIG_INSECURE option is set.
A global INSECURE option like OP-TEE does seems reasonable to avoid
flooding the Kconfig.
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Reviewed-by: Marco Felsch <m.felsch@pengutronix.de>
next prev parent reply other threads:[~2025-01-23 17:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-23 16:18 Ahmad Fatoum
2025-01-23 17:09 ` Marco Felsch [this message]
2025-01-28 10:29 ` 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=20250123170917.oyeja5kb4azadh4a@pengutronix.de \
--to=m.felsch@pengutronix.de \
--cc=a.fatoum@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