]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ACPI: debugfs custom_method open to non-root
authorDave Jones <davej@redhat.com>
Sat, 13 Nov 2010 05:58:54 +0000 (00:58 -0500)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 13 Nov 2010 17:52:16 +0000 (09:52 -0800)
commited3aada1bf34c5a9e98af167f125f8a740fc726a
tree017e81b8816dbf234117c29cdff1ec1f99bd11b7
parent9457b24a0955bbdd2e89220a75de69fe09501bba
ACPI: debugfs custom_method open to non-root

Currently we have:

  --w--w--w-. 1 root root 0 2010-11-11 14:56 /sys/kernel/debug/acpi/custom_method

which is just crazy. Change this to --w-------.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Cc: stable@kernel.org (for 2.6.36)
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/acpi/debugfs.c