linux/tools/testing/selftests
Peter Jones ed8b0de5a3 efi: Make efivarfs entries immutable by default
"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>
2016-02-10 16:25:52 +00:00
..
breakpoints add breakpoints/.gitignore 2016-01-07 13:38:24 -07:00
capabilities selftests/capabilities: clean up for Makefile 2015-11-23 13:20:10 -07:00
cpu-hotplug
efivarfs efi: Make efivarfs entries immutable by default 2016-02-10 16:25:52 +00:00
exec selftests: exec: revert to default emit rule 2015-09-14 16:45:05 -06:00
firmware selftests: firmware: add empty string and async tests 2016-01-07 14:41:07 -07:00
ftrace ftracetest: Add instance create and delete test 2015-11-24 09:29:14 -05:00
futex tools:testing/selftests: fix typo in futex/README 2015-11-16 19:22:49 -07:00
intel_pstate tools, testing, add test for intel_pstate driver 2015-11-23 13:30:59 -07:00
ipc
kcmp
lib selftests: run lib/test_printf module 2015-11-06 17:50:42 -08:00
membarrier membarrier: clean up selftest 2015-09-22 15:09:53 -07:00
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 soreuseport: pass skb to secondary UDP socket lookup 2016-01-06 01:28:04 -05:00
powerpc selftests/powerpc: Add script to test HMI functionality 2015-12-17 10:46:43 +11:00
pstore selftests/pstore: add pstore test scripts going with reboot 2015-10-15 20:00:32 -06:00
ptrace add ptrace/.gitignore 2016-01-07 13:38:11 -07:00
rcutorture torture: Place console.log files correctly from the get-go 2015-12-05 17:58:34 -08:00
seccomp linux-kselftest-4.5-rc1 2016-01-17 13:31:50 -08:00
size
static_keys selftests: Make scripts executable 2015-11-03 16:54:57 -07:00
sysctl
timers Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-01-31 15:49:06 -08:00
user
vm update .gitignore in selftests/vm 2016-01-07 13:37:41 -07:00
x86 selftests/x86: Test __kernel_sigreturn and __kernel_rt_sigreturn 2016-01-13 10:34:40 +01:00
zram seltests/zram: fix syntax error 2015-09-14 16:40:57 -06:00
Makefile selftest/ipc: actually test it 2015-11-23 13:21:15 -07:00
gen_kselftest_tar.sh
kselftest.h
kselftest_install.sh
lib.mk selftests: change install command to rsync 2015-09-14 16:43:51 -06:00