lkml.org 
[lkml]   [2010]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 06/10] NFSv4: Add label recommended attribute and NFSv4 flags
On Wed, 7 Jul 2010, J. Bruce Fields wrote:

> On Wed, Jul 07, 2010 at 10:31:22AM -0400, David P. Quigley wrote:
>
> > +#define NFS4_MAXLABELLEN 4096
>
> Idle curiosity--why 4096? (Why couldn't it be 16? And how do we know
> people will never want 8192?)

I think I raised this a while back, too.

The maximum security label size on Linux is:

#define XATTR_SIZE_MAX 65536

Why arbitrarily limit this over the network?

Someone could have a valid local security label which can't be conveyed
via NFS.



- James
--
James Morris
<jmorris@namei.org>


\
 
 \ /
  Last update: 2010-07-08 01:33    [from the cache]
©2003-2011 Jasper Spaans