Re: [PATCH BUGFIX -rc4] Smack: Respect 'unlabeled' netlabel mode

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Paul Moore
Date: Saturday, May 31, 2008 - 6:08 am

Sorry I'm late to the party ...

On Friday 30 May 2008 8:58:26 pm Ahmed S. Darwish wrote:

From my understanding of Smack that is what the ambient label does 
currently.  Does this not work correctly for you?


Well, what are you trying to do (it isn't clear to me from the code 
snippet above)?  The netlbl_sock_setattr() function looks at the 
secattr->domain field and uses the value their to lookup the desired 
labeling protocol (currently either CIPSO or unlabeled) and then the 
NetLabel subsystem passes the socket and the secattr information onto 
the specific protocol handler where the secattr->attr information is 
used to assign on-the-wire labels to the socket.

-- 
paul moore
linux @ hp
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH BUGFIX -rc4] Smack: Respect 'unlabeled' netlabel mode, Ahmed S. Darwish, (Fri May 30, 4:36 pm)
Re: [PATCH BUGFIX -rc4] Smack: Respect 'unlabeled' netlabe ..., Paul Moore, (Sat May 31, 6:08 am)