Re: [PATCH] Smack: Simplified Mandatory Access Control Kernel

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Casey Schaufler
Date: Saturday, August 11, 2007 - 4:22 pm

--- Jan Engelhardt <jengelh@computergmbh.de> wrote:


It's almost worth considering the change for the joke. Almost.


Smack uses netlabel to communicate label information even locally.
Without this only processes running with the ambient label would
be able to use sockets.


Yup. Fixed.
 

Added.


I've hit a few places.


Err, yeah. Okay.


Done.


Ok.


Small string stuck in a large integer. The only operation is
comparison. Big or little endian the string will come out right,
and that's what's important.


I have to look into that for the configuration values. I don't
think I can do it for the symlinks.


It's pretty inconsistant, but that's what I prefer, too. I'll do it.


This is the correct tinitial value, but could be changed.


Yes. "s == o" vs "strcmp(s,o) == 0".


Changed, although it's used extensively elsewhere.


No clue. Leaving it as is.


Makes it a little cleaner. Thank you.


Thank you again.


No problem. Changed.


Better.


Yeah, it's clearer.



Spiffy. Used.


Constant strings all fit.


Removed.



/tmp -> /smack/tmp -> /moldy/<yoursmacklabelhere>


printks in excess. Cleanup and correction in order.


Worth looking into.
 

the others?


Yup. Fixed.


That was a little excessive, wasn't it?


Fixxxed.

 

Fixed.


Better yet, no one is using the hook. nuked.


The variable is really pointless. Repaired.


Fixed


It's a summer Saturday. Thank you for your helpful comments.
 

Thank you.


Casey Schaufler
casey@schaufler-ca.com
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Smack: Simplified Mandatory Access Control Kernel, Casey Schaufler, (Sat Aug 11, 10:57 am)
Re: [PATCH] Smack: Simplified Mandatory Access Control Kernel, Arjan van de Ven, (Sat Aug 11, 12:12 pm)
Re: [PATCH] Smack: Simplified Mandatory Access Control Kernel, Casey Schaufler, (Sat Aug 11, 12:56 pm)
Re: [PATCH] Smack: Simplified Mandatory Access Control Kernel, Casey Schaufler, (Sat Aug 11, 4:22 pm)
Re: [PATCH] Smack: Simplified Mandatory Access Control Kernel, Casey Schaufler, (Sun Aug 12, 10:48 am)
Re: [PATCH] Smack: Simplified Mandatory Access Control Kernel, Casey Schaufler, (Sun Aug 12, 12:41 pm)
Re: [PATCH] Smack: Simplified Mandatory Access Control Kernel, Casey Schaufler, (Sun Aug 12, 12:50 pm)
Re: [PATCH] Smack: Simplified Mandatory Access Control Kernel, Valdis.Kletnieks, (Sun Aug 19, 2:12 pm)
Re: [PATCH] Smack: Simplified Mandatory Access Control Kernel, Casey Schaufler, (Wed Aug 22, 11:47 am)