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-12-10 19:13:26 +01:00
2015-11-13 21:53:18 -08:00
2015-12-08 12:42:44 -05:00
2016-01-31 11:29:01 -08:00
2016-01-05 16:00:03 -08:00
2015-12-10 13:49:24 +01:00
2015-12-10 08:31:10 +05:30
2015-12-07 14:14:03 -05:00
2015-11-10 15:00:03 -08:00
2015-11-10 14:48:36 -08:00
2015-11-11 20:11:28 -08:00
2015-12-23 22:52:08 -05:00
2015-12-04 14:01:17 +01:00
2015-12-09 10:35:16 -08:00
2015-11-11 09:37:34 -07:00
2015-11-07 10:40:47 -07:00
2015-12-28 13:07:07 -07:00
2015-11-25 12:14:09 -05:00
2015-11-11 02:19:33 -05:00
2015-12-03 10:18:21 -05:00
2015-12-03 10:18:21 -05:00
2016-02-25 12:01:16 -08:00
2015-11-20 16:17:32 -08:00
2016-02-17 12:30:57 -08:00
2015-11-10 12:06:23 +01:00
2015-12-02 23:50:33 +01:00
2016-02-25 12:01:14 -08:00
2015-11-06 17:50:42 -08:00
2015-11-18 16:27:46 -05:00
2016-03-03 15:07:09 -08:00
2015-12-11 11:05:57 -08:00
2015-11-10 09:33:06 -08:00
2016-01-06 00:43:52 -05:00
2015-11-11 09:45:24 -08:00
2016-01-07 12:17:39 -05:00
2015-11-20 16:17:32 -08:00
2015-11-09 15:11:24 -08:00
2016-02-17 12:30:57 -08:00
2016-02-25 12:01:22 -08:00
2015-12-02 23:37:16 -05:00
2015-11-23 09:44:58 +01:00
2015-11-09 15:11:24 -08:00
2015-11-09 15:11:24 -08:00
2015-12-12 10:15:34 -08:00
2015-11-28 19:33:29 -08:00
2015-11-19 14:25:32 +01:00
2015-12-07 10:25:57 -05:00
2015-12-07 09:14:19 -07:00
2015-11-23 09:44:58 +01:00
2015-11-17 15:25:43 -05:00
2015-11-10 12:06:16 +01:00
2015-12-18 14:25:40 -08:00
2015-12-01 15:45:05 -05:00
2015-12-06 22:32:32 -05:00
2015-11-23 21:57:44 -05:00
2015-11-10 17:27:12 -06:00
2015-11-16 09:03:21 +05:30
2015-12-09 09:23:28 -06:00
2015-11-12 11:50:33 -08:00
2015-11-10 17:27:12 -06:00
2015-11-25 13:23:38 -06:00
2015-11-23 09:21:03 +01:00
2015-11-23 09:44:58 +01:00
2016-02-25 12:01:16 -08:00
2015-11-10 13:06:16 +01:00
2016-02-25 12:01:23 -08:00
2015-11-06 17:50:42 -08:00
2015-12-04 14:38:26 -05:00
2016-02-25 12:01:21 -08:00
2016-01-31 11:28:59 -08:00
2015-11-19 16:22:43 +01:00
2015-11-20 16:17:32 -08:00
2016-03-03 15:07:05 -08:00
2015-11-22 11:58:44 -08:00
2015-12-12 10:15:34 -08:00
2015-11-25 15:49:13 +00:00
2015-11-13 21:53:18 -08:00
2015-11-23 15:34:34 -08:00
2016-02-25 12:01:16 -08:00
2016-02-17 12:31:02 -08:00
2015-11-25 15:49:13 +00:00
2016-03-03 15:07:08 -08:00
2015-11-23 09:44:58 +01:00
2016-01-31 11:28:58 -08:00
2015-12-04 08:38:42 -07:00
2015-12-29 17:45:49 -08:00
2015-12-13 14:30:59 -08:00
2015-11-13 20:34:33 -05:00
2015-11-06 17:50:42 -08:00