android_kernel_samsung_univ.../tools/testing/selftests
Peter Jones 05913989c8 efi: Make efivarfs entries immutable by default
commit ed8b0de5a33d2a2557dce7f9429dca8cb5bc5879 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
..
breakpoints selftests: breakpoint: Actually build it 2015-11-03 16:55:08 -07:00
capabilities
cpu-hotplug
efivarfs efi: Make efivarfs entries immutable by default 2016-03-03 15:07:09 -08:00
exec
firmware
ftrace selftests: kprobe: Choose an always-defined function to probe 2015-11-03 16:54:51 -07:00
futex tools:testing/selftests: fix typo in futex/README 2015-11-16 19:22:49 -07:00
ipc
kcmp
lib selftests: run lib/test_printf module 2015-11-06 17:50:42 -08:00
membarrier
memfd selftests: Make scripts executable 2015-11-03 16:54:57 -07:00
memory-hotplug
mount
mqueue selftests: Add missing #include directives 2015-11-03 16:53:53 -07:00
net
powerpc powerpc updates for 4.4 2015-11-05 23:38:43 -08:00
pstore
ptrace
rcutorture
seccomp selftests/seccomp: Get page size from sysconf 2015-11-18 16:56:53 -07:00
size
static_keys selftests: Make scripts executable 2015-11-03 16:54:57 -07:00
sysctl
timers linux-kselftest-4.4-rc1 2015-11-10 20:46:45 -08:00
user
vm Merge branch 'akpm' (patches from Andrew) 2015-11-10 21:14:23 -08:00
x86 Merge branch 'x86-fpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-11-03 20:50:26 -08:00
zram
gen_kselftest_tar.sh
kselftest_install.sh
kselftest.h
lib.mk
Makefile linux-kselftest-4.4-rc1 2015-11-10 20:46:45 -08:00