summaryrefslogtreecommitdiffstats
path: root/scripts/mod
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2014-07-26 23:56:01 +0200
committerRusty Russell <rusty@rustcorp.com.au>2014-07-27 13:22:45 +0200
commit37549e94c77a94a9c32b5ae3313a3801cb66adf9 (patch)
tree5fc99f283d749e7ff869e3c0253979be5bb0d15f /scripts/mod
parentmodule: return bool from within_module*() (diff)
downloadlinux-37549e94c77a94a9c32b5ae3313a3801cb66adf9.tar.xz
linux-37549e94c77a94a9c32b5ae3313a3801cb66adf9.zip
sysfs: disallow world-writable files.
This check was introduced in 2006 by Alexey Dobriyan (9774a1f54f173) for module parameters; we removed it when we unified the check into VERIFY_OCTAL_PERMISSIONS() as sysfs didn't have the same requirement. Now all those users are fixed, reintroduce it. Cc: Alexey Dobriyan <adobriyan@gmail.com> Cc: Dave Jones <davej@redhat.com> Cc: Joe Perches <joe@perches.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'scripts/mod')
0 files changed, 0 insertions, 0 deletions