This is a note to let you know that I've just added the patch titled

    USB: atm: ueagle-atm: fix up some permissions on the sysfs files

to the 2.6.27-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:
     usb-atm-ueagle-atm-fix-up-some-permissions-on-the-sysfs-files.patch
and it can be found in the queue-2.6.27 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From e502ac5e1eca99d7dc3f12b2a6780ccbca674858 Mon Sep 17 00:00:00 2001
From: Greg Kroah-Hartman <[email protected]>
Date: Mon, 15 Nov 2010 11:11:45 -0800
Subject: USB: atm: ueagle-atm: fix up some permissions on the sysfs files

From: Greg Kroah-Hartman <[email protected]>

commit e502ac5e1eca99d7dc3f12b2a6780ccbca674858 upstream.

Some of the sysfs files had the incorrect permissions.  Some didn't make
sense at all (writable for a file that you could not write to?)

Reported-by: Linus Torvalds <[email protected]>
Cc: Matthieu Castet <[email protected]>
Cc: Stanislaw Gruszka <[email protected]>
Cc: Damien Bergamini <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/usb/atm/ueagle-atm.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- a/drivers/usb/atm/ueagle-atm.c
+++ b/drivers/usb/atm/ueagle-atm.c
@@ -2258,7 +2258,7 @@ out:
        return ret;
 }
 
-static DEVICE_ATTR(stat_status, S_IWUGO | S_IRUGO, read_status, reboot);
+static DEVICE_ATTR(stat_status, S_IWUSR | S_IRUGO, read_status, reboot);
 
 static ssize_t read_human_status(struct device *dev, struct device_attribute 
*attr,
                char *buf)
@@ -2321,7 +2321,7 @@ out:
        return ret;
 }
 
-static DEVICE_ATTR(stat_human_status, S_IWUGO | S_IRUGO, read_human_status, 
NULL);
+static DEVICE_ATTR(stat_human_status, S_IRUGO, read_human_status, NULL);
 
 static ssize_t read_delin(struct device *dev, struct device_attribute *attr,
                char *buf)
@@ -2353,7 +2353,7 @@ out:
        return ret;
 }
 
-static DEVICE_ATTR(stat_delin, S_IWUGO | S_IRUGO, read_delin, NULL);
+static DEVICE_ATTR(stat_delin, S_IRUGO, read_delin, NULL);
 
 #define UEA_ATTR(name, reset)                                  \
                                                                \


Patches currently in stable-queue which might be from [email protected] are

queue-2.6.27/um-fix-global-timer-issue-when-using-config_no_hz.patch
queue-2.6.27/acpi-cpufreq-fix-a-memleak-when-unloading-driver.patch
queue-2.6.27/libata-fix-null-sdev-dereference-race-in-atapi_qc_complete.patch
queue-2.6.27/drivers-char-vt_ioctl.c-fix-vt_openqry-error-value.patch
queue-2.6.27/ecryptfs-clear-lookup_open-flag-when-creating-lower-file.patch
queue-2.6.27/usb-misc-sisusbvga-fix-information-leak-to-userland.patch
queue-2.6.27/irda-fix-parameter-extraction-stack-overflow.patch
queue-2.6.27/percpu-fix-list_head-init-bug-in-__percpu_counter_init.patch
queue-2.6.27/usb-misc-usbled-fix-up-some-sysfs-attribute-permissions.patch
queue-2.6.27/usb-storage-sierra_ms-fix-sysfs-file-attribute.patch
queue-2.6.27/usb-atm-ueagle-atm-fix-up-some-permissions-on-the-sysfs-files.patch
queue-2.6.27/usb-misc-iowarrior-fix-information-leak-to-userland.patch
queue-2.6.27/bio-take-care-not-overflow-page-count-when-mapping-copying-user-data.patch
queue-2.6.27/sys_semctl-fix-kernel-stack-leakage.patch
queue-2.6.27/block-check-for-proper-length-of-iov-entries-in-blk_rq_map_user_iov.patch
queue-2.6.27/ipc-shm-fix-information-leak-to-userland.patch
queue-2.6.27/do_exit-make-sure-that-we-run-with-get_fs-user_ds.patch
queue-2.6.27/mm-fix-return-value-of-scan_lru_pages-in-memory-unplug.patch
queue-2.6.27/usb-core-fix-information-leak-to-userland.patch
queue-2.6.27/ipc-initialize-structure-memory-to-zero-for-compat-functions.patch
queue-2.6.27/usb-ehci-fix-obscure-race-in-ehci_endpoint_disable.patch
queue-2.6.27/decnet-don-t-leak-uninitialized-stack-byte.patch
queue-2.6.27/usb-misc-cypress_cy7c63-fix-up-some-sysfs-attribute-permissions.patch
queue-2.6.27/mm-fix-is_mem_section_removable-page_order-bug_on-check.patch
queue-2.6.27/arm-6482-2-fix-find_next_zero_bit-and-related-assembly.patch
queue-2.6.27/numa-fix-slab_node-mpol_bind.patch
queue-2.6.27/irda-fix-heap-memory-corruption-in-iriap.c.patch
queue-2.6.27/usb-misc-trancevibrator-fix-up-a-sysfs-attribute-permission.patch

_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable

Reply via email to