diff options
author | Peter Jones <pjones@redhat.com> | 2016-02-08 22:48:15 +0300 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2016-04-13 00:06:28 +0300 |
commit | 0dc03db627e3e900f329ba34f827be27851f1d7b (patch) | |
tree | 2f89895e701ad8c965ac43a8ebf6abeeb12ad888 /drivers/atm/iphase.c | |
parent | 414f7950ec63762b79a1738c5c5de76809d3ce1e (diff) | |
download | linux-0dc03db627e3e900f329ba34f827be27851f1d7b.tar.xz |
efi: Make efivarfs entries immutable by default
[ Upstream commit ed8b0de5a33d2a2557dce7f9429dca8cb5bc5879 ]
"rm -rf" is bricking some peoples' laptops because of variables being
used to store non-reinitializable firmware driver data that's required
to POST the hardware.
These are 100% bugs, and they need to be fixed, but in the mean time it
shouldn't be easy to *accidentally* brick machines.
We have to have delete working, and picking which variables do and don't
work for deletion is quite intractable, so instead make everything
immutable by default (except for a whitelist), and make tools that
aren't quite so broad-spectrum unset the immutable flag.
Signed-off-by: Peter Jones <pjones@redhat.com>
Tested-by: Lee, Chun-Yi <jlee@suse.com>
Acked-by: Matthew Garrett <mjg59@coreos.com>
Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'drivers/atm/iphase.c')
0 files changed, 0 insertions, 0 deletions