Re: [RFC] LSM fix for stupid "empty" functions

Crispin Cowan (crispin@wirex.com)
Sun, 01 Dec 2002 00:17:54 -0800


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig14779EA52B3E854D27FF0E32
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Greg KH wrote:

>I'm _really_ tired of all of the "empty" functions that all security
>modules need to provide. So here's a brute force patch that lets any
>security module only set the functions that it wants to override. If
>the function is NULL, then the "dummy" function will be used instead.
>
Sounds good to me. So you're just creating a default null function, and
then stuffing all the stubs with a pointer to that function?

>Comments welcome (if there are none, I'll send it on to Linus.)
>
I suggest holding that post to Linus until Tuesday am. Lots of people
are likely taking a long weekend away from software, and won't see your
post until Monday morning.

Thanks,
Crispin

-- 
Crispin Cowan, Ph.D.
Chief Scientist, WireX                      http://wirex.com/~crispin/
Security Hardened Linux Distribution:       http://immunix.org
Available for purchase: http://wirex.com/Products/Immunix/purchase.html
			    Just say ".Nyet"

--------------enig14779EA52B3E854D27FF0E32 Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE96cW+5ZkfjX2CNDARAQKEAJ0ZGqxFpQIFgq1RiU/llsFATivCZQCgkTyW S8KdUL/yXFMrWcBy2u72ePI= =GFZj -----END PGP SIGNATURE-----

--------------enig14779EA52B3E854D27FF0E32--

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