Re: Stacking LSM proof-of-concept

From: John Richard Moser (nigelenki@private)
Date: Fri Jan 28 2005 - 11:47:50 PST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Valdis.Kletnieks@private wrote:
> On Fri, 28 Jan 2005 14:24:49 EST, John Richard Moser said:
> 
> 
>>>My point was that inode_handle_create() probably *SHOULD* be able to
>>>throw an error....
>>
>>yeah but I didn't know what to do if it did :)
> 
> 
> Well, that *does* follow Duff's First Law of Systems Programming:
> 
> "Never test for an error condition you don't know how to handle"
> 
> (No, I don't know if Tom Duff actually said that, but it's attributed
> to him anyhow.)

haha!  ^_^

Anyway, what about the code that does the stacking itself?  Any comments
on my approach to the problem?  Good, bad, problems?  I can probably
port the behavior into LSM for 2.6.10 itself, though it'd have to
actually be better*cough* err, more appropriate than Serge's for it to
be worth the time =P

- --
All content of all messages exchanged herein are left in the
Public Domain, unless otherwise explicitly stated.

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

iD8DBQFB+pbkhDd4aOud5P8RApYnAJ97+asELRwEmOgsMPJE5aqQoICZyACbBICs
pLpJVq4NIErCF99FsCaUvrU=
=TaEs
-----END PGP SIGNATURE-----



This archive was generated by hypermail 2.1.3 : Fri Jan 28 2005 - 11:47:41 PST