From: Sascha Hauer <s.hauer@pengutronix.de>
To: Christian Eggers <ceggers@arri.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] gadget: f_fastboot: New Kconfig option USB_GADGET_FASTBOOT_CMD_OEM
Date: Tue, 25 Feb 2020 09:02:36 +0100 [thread overview]
Message-ID: <20200225080236.GJ3335@pengutronix.de> (raw)
In-Reply-To: <20200221121512.15942-1-ceggers@arri.de>
On Fri, Feb 21, 2020 at 01:15:12PM +0100, Christian Eggers wrote:
> Most fastboot commands are suitable for a secure boot environment as
> they only allow to download/flash/erase to files/partitions which were
> explicitly specified in the usbgadget command.
>
> The "oem" group of commands allows execution of arbitrary barebox
> commands. This needs to be disabled for secure boot devices.
>
> Signed-off-by: Christian Eggers <ceggers@arri.de>
> ---
> drivers/usb/gadget/Kconfig | 11 +++++++++++
> drivers/usb/gadget/f_fastboot.c | 4 +++-
> 2 files changed, 14 insertions(+), 1 deletion(-)
Applied, thanks
I squashed some defconfig changes into this so that the configs that has
the oem commands before this still have it.
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2020-02-25 8:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-21 12:15 Christian Eggers
2020-02-25 8:02 ` Sascha Hauer [this message]
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=20200225080236.GJ3335@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=ceggers@arri.de \
/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