summaryrefslogtreecommitdiff
path: root/util/sbase/nohup.c
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-10 01:02:45 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-10 01:04:28 +0000
commitbb9010fdc144edd98963efcdf876cd87e61eeb98 (patch)
tree27c3945543ded98f7c9f9133645545c0adf0326b /util/sbase/nohup.c
parent08b1d9587427dd5e6c047b4e5bb92e99ad3df732 (diff)
util/nvmutil: require good checksum on cat
since the cat command can be used to create bad gbe files, if the checksums don't match. my rule is that nvmutil must never be used to destroy data, only correct it (e.g. a file with just one valid part can have it copied to the other part, but you can't copy a bad part - and i removed the "brick" command). i *did* disable checksum requirements on the dump command. with this, you can check the nvm area and it tells you what the correct checksum could be. then you could just correct it in a hex editor if you wanted to, quite easily. the idea is to slow down the act of destroying or corrupting data as much as possible. someone wily enough can use a hex editor to patch up some files just fine. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/sbase/nohup.c')
0 files changed, 0 insertions, 0 deletions