lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1319679966.git.david.decotigny@google.com>
Date:	Wed, 26 Oct 2011 19:22:24 -0700
From:	David Decotigny <david.decotigny@...gle.com>
To:	linux-kernel@...r.kernel.org
Cc:	Rusty Russell <rusty@...tcorp.com.au>,
	Randy Dunlap <rdunlap@...otime.net>,
	Michal Schmidt <mschmidt@...hat.com>,
	Linus Walleij <linus.walleij@...ricsson.com>,
	David Decotigny <david.decotigny@...gle.com>
Subject: [PATCH v1 0/3] param: configurable /sys/module/*/paramaters

These changes allow to compile kernels with sysfs but without
/sys/module/*/paramaters/. This should allow:
 - on small systems: no memory pressure caused by unneeded sysfs
   attributes.
 - on large systems: more modules could be converted to have their
   perm != 0 in module_param(): better for audit, debug, etc. For
   example, on my copy, 1658 module attributes have perm == 0,
   presumably to spare some memory, but it can be interesting to have
   access to those at runtime.

By default, /sys/module/*/paramaters/ is enabled, but can be disabled
in expert mode (CONFIG_SYSFS_MODULE_PARAM is not set).

David Decotigny (3):
  param: make destroy_params() private
  param: simple refactoring
  param: allow to selectively enable /sys/module/MOD/paramaters nodes

 fs/sysfs/Kconfig            |   15 ++++++-
 include/linux/moduleparam.h |   14 +-----
 kernel/module.c             |    9 ++++
 kernel/params.c             |  108 +++++++++++++++++++++----------------------
 4 files changed, 77 insertions(+), 69 deletions(-)

-- 
1.7.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ