The patch titled drivers/rtc/rtc-ds1511.c: world-writable sysfs nvram file has been added to the -mm tree. Its filename is drivers-rtc-rtc-ds1511c-world-writable-sysfs-nvram-file.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: drivers/rtc/rtc-ds1511.c: world-writable sysfs nvram file From: Vasiliy Kulikov <segoon@xxxxxxxxxxxx> Don't allow everybogy to write to NVRAM. Signed-off-by: Vasiliy Kulikov <segoon@xxxxxxxxxxxx> Cc: Andy Sharp <andy.sharp@xxxxxxxxxx> Cc: Alessandro Zummo <a.zummo@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/rtc/rtc-ds1511.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/rtc/rtc-ds1511.c~drivers-rtc-rtc-ds1511c-world-writable-sysfs-nvram-file drivers/rtc/rtc-ds1511.c --- a/drivers/rtc/rtc-ds1511.c~drivers-rtc-rtc-ds1511c-world-writable-sysfs-nvram-file +++ a/drivers/rtc/rtc-ds1511.c @@ -468,7 +468,7 @@ ds1511_nvram_write(struct file *filp, st static struct bin_attribute ds1511_nvram_attr = { .attr = { .name = "nvram", - .mode = S_IRUGO | S_IWUGO, + .mode = S_IRUGO | S_IWUSR, }, .size = DS1511_RAM_MAX, .read = ds1511_nvram_read, _ Patches currently in -mm which might be from segoon@xxxxxxxxxxxx are origin.patch linux-next.patch arch-arm-mach-ux500-mbox-db5500c-world-writable-sysfs-fifo-file.patch drivers-leds-leds-lp5521c-world-writable-sysfs-engine-files.patch drivers-leds-leds-lp5523c-world-writable-engine-sysfs-files.patch drivers-misc-ep93xx_pwmc-world-writable-sysfs-files.patch drivers-rtc-rtc-ds1511c-world-writable-sysfs-nvram-file.patch aic94xx-world-writable-sysfs-update_bios-file.patch drivers-scsi-scsi_transport_iscsic-world-writable-sysfs-priv_sess-file.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html