This is a note to let you know that I've just added the patch titled
net: can: janz-ican3: world-writable sysfs termination file
to the 2.6.37-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
net-can-janz-ican3-world-writable-sysfs-termination-file.patch
and it can be found in the queue-2.6.37 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From 1e6d93e45b231b3ae87c01902ede2315aacfe976 Mon Sep 17 00:00:00 2001
From: Vasiliy Kulikov <[email protected]>
Date: Fri, 4 Feb 2011 02:23:53 +0000
Subject: net: can: janz-ican3: world-writable sysfs termination file
From: Vasiliy Kulikov <[email protected]>
commit 1e6d93e45b231b3ae87c01902ede2315aacfe976 upstream.
Don't allow everybody to set terminator via sysfs.
Signed-off-by: Vasiliy Kulikov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/net/can/janz-ican3.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/net/can/janz-ican3.c
+++ b/drivers/net/can/janz-ican3.c
@@ -1627,7 +1627,7 @@ static ssize_t ican3_sysfs_set_term(stru
return count;
}
-static DEVICE_ATTR(termination, S_IWUGO | S_IRUGO, ican3_sysfs_show_term,
+static DEVICE_ATTR(termination, S_IWUSR | S_IRUGO, ican3_sysfs_show_term,
ican3_sysfs_set_term);
static struct attribute *ican3_sysfs_attrs[] = {
Patches currently in stable-queue which might be from [email protected] are
queue-2.6.37/net-can-janz-ican3-world-writable-sysfs-termination-file.patch
queue-2.6.37/platform-x86-asus_acpi-world-writable-procfs-files.patch
queue-2.6.37/platform-x86-tc1100-wmi-world-writable-sysfs-wireless-and-jogdial-files.patch
queue-2.6.37/platform-x86-acer-wmi-world-writable-sysfs-threeg-file.patch
_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable