[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 8 Jul 2010 09:30:08 +1000 (EST)
From: James Morris <jmorris@...ei.org>
To: "J. Bruce Fields" <bfields@...ldses.org>
cc: "David P. Quigley" <dpquigl@...ho.nsa.gov>, hch@...radead.org,
viro@...iv.linux.org.uk, casey@...aufler-ca.com, sds@...ho.nsa.gov,
matthew.dodd@...rta.com, trond.myklebust@....uio.no,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linux-security-module@...r.kernel.org, selinux@...ho.nsa.gov,
linux-nfs@...r.kernel.org
Subject: Re: [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@...ei.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists