Files
linux/Documentation
Peter Jones 05913989c8 efi: Make efivarfs entries immutable by default
commit ed8b0de5a3 upstream.

"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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-03-03 15:07:09 -08:00
..
2015-09-24 15:39:42 -06:00
2015-08-28 22:59:36 -04:00
2015-10-27 18:55:31 -07:00
2015-06-08 16:43:09 -06:00
2015-10-26 16:00:09 +01:00
2015-06-08 23:15:45 +02:00
2015-07-14 12:35:42 -06:00
2015-11-06 17:50:42 -08:00
2015-02-27 11:44:24 -08:00
2015-06-23 06:49:44 -06:00