platform: x86: asus_acpi: world-writable procfs files
commitc904991ebdd0e1c3637f519431f0bea6b56d1741
authorVasiliy Kulikov <segoon@openwall.com>
Fri, 4 Feb 2011 12:23:59 +0000 (4 15:23 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 2 Mar 2011 14:46:54 +0000 (2 09:46 -0500)
tree1851d5fea81c51174485d11db46f08d82f8e78ae
parent21f36372097491d31bb4a375f9a1c81be4ed8a87
platform: x86: asus_acpi: world-writable procfs files

commit 8040835760adf0ef66876c063d47f79f015fb55d upstream.

Don't allow everybody to change ACPI settings.  The comment says that it
is done deliberatelly, however, the comment before disp_proc_write()
says that at least one of these setting is experimental.

Signed-off-by: Vasiliy Kulikov <segoon@openwall.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/platform/x86/asus_acpi.c