Re: [PATCH] gadget: f_fastboot: New Kconfig option USB_GADGET_FASTBOOT_CMD_OEM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>
> ---
>  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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux