Skip to contentSkip to conversation

NFSv4: Add label recommended attribute and NFSv4 flags (#6127-130006249-0129)

PATCH Sun Microsystems Sales Support 1 participant 1 message Apr 3, 2009 VFS

lore
Share & tools
lore
#0 lore raw

-----Original Message-----
From: David P. Quigley ([email protected])
Sent: Apr 3, 2009 8:32:49 AM
Subject: Re: [PATCH 08/14] NFSv4: Add label recommended attribute and NFSv4 flags

Quoted 11 lines · James Morris
Quoted 8 lines · David P. Quigley

We tried to change this to be dynamically allocated based on what was coming off of the wire but we ran into a problem that it required us to do allocations where they really shouldn't be done in the rpc/nfsv4 code. Trond suggested to make this static and that if someone really needed more than a page for their label that something was horrifically wrong. I'm tempted to agree with him on this but there are people trying to send contexts with an MLS component with every other compartment set which tend to be really large.

Quoted 1 line

Well, future labels might include cryptographic information, for example.

This report relates to a message you sent with the following header fields:

Message - ID: 134806025
From: [email protected]
Subject: Re: [PATCH 08/14] NFSv4: Add label recommended attribute and NFSv4 flags

Your message cannot be delivered to the following recipients:

Recipient Address:  [email protected] 
Reason:  This address is no longer available
Quoted 1 line

<removing people from the CC who probably don't care about this>

Could you expand on why this might be needed or what applications would use this? It's unclear to me what sort of crypto information would be in a context. I know the ecryptfs guys were trying to make crypto decisions based on SELinux context in some cases but I never heard of wanting to put that kind of information into the context.

Dave

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.