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: <44CF69F0.6040801@redhat.com>
Date:	Tue, 01 Aug 2006 10:49:20 -0400
From:	Amit Gud <agud@...hat.com>
To:	linux-kernel@...r.kernel.org
Subject: [RFC] [PATCH] sysctl for the latecomers

/etc/sysctl.conf values are of no use to kernel modules that are 
inserted after init scripts call sysctl for the values in /etc/sysctl.conf

For modules to use the values stored in the file /etc/sysctl.conf, 
sysctl kernel code can keep record of 'limited' values, for sysctl 
entries which haven't been registered yet. During registration, sysctl 
code can check against the stored values and call the appropriate 
strategy and proc_handler routines if a match is found.

Attached patch does just that. This patch is NOT tested and is just to 
get opinions, if something like this is a right way of addressing this 
problem.


Thanks,
AG
-- 
May the source be with you.
http://www.cis.ksu.edu/~gud


View attachment "sysctl-pending-values-v0.1.patch" of type "text/plain" (3652 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ