This adds checking for world-writable sysfs files, after cleaning up all the users. This check has been in module sysfs params since 2006.
If you have a reason for being world-writable, please tell me now! Rusty Russell (9): drivers/mtd/devices/docg3.c: avoid world-writable sysfs files. drivers/video/fbdev/sm501fb.c: avoid world-writable sysfs files. drivers/hid/hid-lg4ff.c: avoid world-writable sysfs files. drivers/scsi/pm8001/pm8001_ctl.c: avoid world-writable sysfs files. drivers/regulator/virtual: avoid world-writable sysfs files. drivers/staging/speakup/: avoid world-writable sysfs files. drivers/hid/hid-picolcd_fb: avoid world-writable sysfs files. samples/kobject/: avoid world-writable sysfs files. sysfs: disallow world-writable files. drivers/hid/hid-lg4ff.c | 2 +- drivers/hid/hid-picolcd_fb.c | 2 +- drivers/mtd/devices/docg3.c | 4 +-- drivers/regulator/virtual.c | 10 +++--- drivers/scsi/pm8001/pm8001_ctl.c | 2 +- drivers/staging/speakup/kobjects.c | 60 ++++++++++++++++---------------- drivers/staging/speakup/speakup_acntpc.c | 14 ++++---- drivers/staging/speakup/speakup_acntsa.c | 14 ++++---- drivers/staging/speakup/speakup_apollo.c | 16 ++++----- drivers/staging/speakup/speakup_audptr.c | 16 ++++----- drivers/staging/speakup/speakup_bns.c | 14 ++++---- drivers/staging/speakup/speakup_decext.c | 16 ++++----- drivers/staging/speakup/speakup_decpc.c | 16 ++++----- drivers/staging/speakup/speakup_dectlk.c | 16 ++++----- drivers/staging/speakup/speakup_dtlk.c | 20 +++++------ drivers/staging/speakup/speakup_dummy.c | 14 ++++---- drivers/staging/speakup/speakup_keypc.c | 10 +++--- drivers/staging/speakup/speakup_ltlk.c | 20 +++++------ drivers/staging/speakup/speakup_soft.c | 22 ++++++------ drivers/staging/speakup/speakup_spkout.c | 16 ++++----- drivers/staging/speakup/speakup_txprt.c | 14 ++++---- drivers/video/fbdev/sm501fb.c | 2 +- include/linux/kernel.h | 2 ++ samples/kobject/kobject-example.c | 7 ++-- samples/kobject/kset-example.c | 7 ++-- 25 files changed, 170 insertions(+), 166 deletions(-) -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/