]> git.baikalelectronics.ru Git - uboot.git/commit
env: Add support for explicit write access list
authorMarek Vasut <marex@denx.de>
Tue, 7 Jul 2020 18:51:39 +0000 (20:51 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 31 Jul 2020 14:13:00 +0000 (10:13 -0400)
commit5fb13235612a853e384de8a1e0b8da81457d659a
tree1ce79c821d8045d76694786bfabb37aaf1bc12ea
parent9bcff06814ba820306704c8fb9a81c16cc3533c9
env: Add support for explicit write access list

This option marks any U-Boot variable which does not have explicit 'w'
writeable flag set as read-only. This way the environment can be locked
down and only variables explicitly configured to be writeable can ever
be changed by either 'env import', 'env set' or loading user environment
from environment storage.

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
env/Kconfig
env/flags.c
include/env_flags.h
lib/hashtable.c