<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/security/seclvl.c, branch docs-5.0-fix</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=docs-5.0-fix</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=docs-5.0-fix'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2006-09-29T16:18:10+00:00</updated>
<entry>
<title>[PATCH] LSM: remove BSD secure level security module</title>
<updated>2006-09-29T16:18:10+00:00</updated>
<author>
<name>Chris Wright</name>
<email>chrisw@sous-sol.org</email>
</author>
<published>2006-09-29T08:59:49+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=3bc1fa8ae18f281b40903cce94baba10c3cf9d88'/>
<id>urn:sha1:3bc1fa8ae18f281b40903cce94baba10c3cf9d88</id>
<content type='text'>
This code has suffered from broken core design and lack of developer
attention.  Broken security modules are too dangerous to leave around.  It
is time to remove this one.

Signed-off-by: Chris Wright &lt;chrisw@sous-sol.org&gt;
Acked-by: Michael Halcrow &lt;mhalcrow@us.ibm.com&gt;
Acked-by: Serge Hallyn &lt;serue@us.ibm.com&gt;
Cc: Davi Arnaut &lt;davi.arnaut@gmail.com&gt;
Acked-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Acked-by: James Morris &lt;jmorris@namei.org&gt;
Acked-by: Alan Cox &lt;alan@redhat.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[CRYPTO] users: Use crypto_hash interface instead of crypto_digest</title>
<updated>2006-09-21T01:46:21+00:00</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2006-08-24T09:10:20+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=35058687912aa2f0b4554383cc10be4e0683b9a4'/>
<id>urn:sha1:35058687912aa2f0b4554383cc10be4e0683b9a4</id>
<content type='text'>
This patch converts all remaining crypto_digest users to use the new
crypto_hash interface.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>Remove obsolete #include &lt;linux/config.h&gt;</title>
<updated>2006-06-30T17:25:36+00:00</updated>
<author>
<name>Jörn Engel</name>
<email>joern@wohnheim.fh-wedel.de</email>
</author>
<published>2006-06-30T17:25:36+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=6ab3d5624e172c553004ecc862bfeac16d9d68b7'/>
<id>urn:sha1:6ab3d5624e172c553004ecc862bfeac16d9d68b7</id>
<content type='text'>
Signed-off-by: Jörn Engel &lt;joern@wohnheim.fh-wedel.de&gt;
Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] Bug fixes and cleanup for the BSD Secure Levels LSM</title>
<updated>2006-03-23T15:38:03+00:00</updated>
<author>
<name>Davi Arnaut</name>
<email>davi.arnaut@gmail.com</email>
</author>
<published>2006-03-23T10:59:25+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=6bb08da4773f584a7b4a838b6b770d7d18033af7'/>
<id>urn:sha1:6bb08da4773f584a7b4a838b6b770d7d18033af7</id>
<content type='text'>
This patch address several issues in the current BSD Secure Levels code:

o plaintext_to_sha1: Missing check for a NULL return from __get_free_page

o passwd_write_file: A page is leaked if the password is wrong.

o fix securityfs registration order

o seclvl_init is a mess and can't properly tolerate failures, failure
  path is upside down (deldif and delf should be switched)

Cleanups:

o plaintext_to_sha1: Use buffers passed in
o passwd_write_file: Use kmalloc() instead of get_zeroed_page()
o passwd_write_file: hashedPassword comparison is just memcmp
o s/ENOSYS/EINVAL/
o misc

(akpm: after some discussion it appears that the BSD secure levels feature
should be scheduled for removal.  But for now, let's fix these problems up).

Signed-off-by: Davi Arnaut &lt;davi.arnaut@gmail.com&gt;
Cc: Michael Halcrow &lt;mhalcrow@us.ibm.com&gt;
Cc: Chris Wright &lt;chrisw@sous-sol.org&gt;
Cc: Stephen Smalley &lt;sds@epoch.ncsc.mil&gt;
Cc: James Morris &lt;jmorris@namei.org&gt;
Cc: Serge Hallyn &lt;serue@us.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>Don't try to "validate" a non-existing timeval.</title>
<updated>2006-01-31T18:16:55+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2006-01-31T18:16:55+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=951069e311a2a931bf7c9d838db860f90bf14c45'/>
<id>urn:sha1:951069e311a2a931bf7c9d838db860f90bf14c45</id>
<content type='text'>
settime() with a NULL timeval is silly but legal.

Noticed by Dave Jones &lt;davej@redhat.com&gt;

Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] seclvl: use securityfs (fix)</title>
<updated>2005-09-17T18:50:01+00:00</updated>
<author>
<name>Serge Hallyn</name>
<email>serue@us.ibm.com</email>
</author>
<published>2005-09-17T02:27:57+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=9afa57b04ca08ff061e54787e3becf5c40283149'/>
<id>urn:sha1:9afa57b04ca08ff061e54787e3becf5c40283149</id>
<content type='text'>
That should be -EINVAL for both.

Signed-off-by: Serge Hallyn &lt;serue@us.ibm.com&gt;
Cc: Greg KH &lt;greg@kroah.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] seclvl-use-securityfs tidy</title>
<updated>2005-09-17T18:50:01+00:00</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@osdl.org</email>
</author>
<published>2005-09-17T02:27:56+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=d15c5749eb81dee94d40fe12584ca8461858b4cb'/>
<id>urn:sha1:d15c5749eb81dee94d40fe12584ca8461858b4cb</id>
<content type='text'>
We don't put braces around single statements, thanks.

Cc: Serge Hallyn &lt;serue@us.ibm.com&gt;
Cc: James Morris &lt;jmorris@namei.org&gt;
Cc: Chris Wright &lt;chrisw@osdl.org&gt;
Cc: Greg KH &lt;greg@kroah.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>Merge master.kernel.org:/pub/scm/linux/kernel/git/chrisw/lsm-2.6 </title>
<updated>2005-09-13T16:48:54+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2005-09-13T16:48:54+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=ddbf9ef385bfbef897210733abfb73cb9b94ecec'/>
<id>urn:sha1:ddbf9ef385bfbef897210733abfb73cb9b94ecec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[CRYPTO]: Use CRYPTO_TFM_REQ_MAY_SLEEP where appropriate</title>
<updated>2005-09-02T00:43:25+00:00</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2005-09-02T00:43:25+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=eb6f1160ddb2fdadf50f350da79d0796c37f17e2'/>
<id>urn:sha1:eb6f1160ddb2fdadf50f350da79d0796c37f17e2</id>
<content type='text'>
This patch goes through the current users of the crypto layer and sets
CRYPTO_TFM_REQ_MAY_SLEEP at crypto_alloc_tfm() where all crypto operations
are performed in process context.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] seclvl securityfs</title>
<updated>2005-07-09T01:49:05+00:00</updated>
<author>
<name>serue@us.ibm.com</name>
<email>serue@us.ibm.com</email>
</author>
<published>2005-07-08T20:44:19+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=5a73c308754e27829c94544e010f133019cbd432'/>
<id>urn:sha1:5a73c308754e27829c94544e010f133019cbd432</id>
<content type='text'>
Once again, the simple_attr in libfs was actually sufficient - I'd
thought the __attribute__(format(printk(1,2))) was more mysterious than
it really is.

At last, here is the full patch to make seclvl use securityfs.

Signed-off-by: Serge Hallyn &lt;serue@us.ibm.com&gt;
Signed-off-by: Chris Wright &lt;chrisw@osdl.org&gt;
--

 seclvl.c |  228 +++++++++++++++++++--------------------------------------------
 1 files changed, 70 insertions(+), 158 deletions(-)

Index: linux-2.6.13-rc1/security/seclvl.c
===================================================================
</content>
</entry>
</feed>
