platform: x86: asus_acpi: world-writable procfs files
commitb84f59ca53030995f495a3cd1721f2d3859684bd
authorVasiliy Kulikov <segoon@openwall.com>
Fri, 4 Feb 2011 12:23:59 +0000 (4 15:23 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 24 Feb 2011 22:54:42 +0000 (24 14:54 -0800)
treef2622aebe94caa8c70b187e35b23f35d9ded914a
parent745b0953ec4af6e71ab82e858e928645d6fca819
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