lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111020091946.GA23773@infradead.org>
Date:	Thu, 20 Oct 2011 05:19:46 -0400
From:	Christoph Hellwig <hch@...radead.org>
To:	"J. Bruce Fields" <bfields@...ldses.org>
Cc:	"Aneesh Kumar K.V" <aneesh.kumar@...ux.vnet.ibm.com>,
	agruen@...nel.org, akpm@...ux-foundation.org,
	viro@...iv.linux.org.uk, dhowells@...hat.com,
	linux-fsdevel@...r.kernel.org, linux-nfs@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH -V7 21/26] richacl: xattr mapping functions

On Thu, Oct 20, 2011 at 05:14:34AM -0400, J. Bruce Fields wrote:
> > > Does it really make sense to use a string here just to pick between the
> > > three choices OWNER@, GROUP@, and EVERYONE@?  Why not just another small
> > > integer?  Is the goal to expand this somehow eventually?
> > 

> > I guess Andreas wanted the disk layout to be able to store user@...ain
> > format if needed.
> 
> Is that likely?  For that to be useful, tasks would need to be able to
> run as user@...ain strings.  And we'd probably want owners and groups to
> also be user@...ain strings.
> 
> The container people seem to eventually want to add some kind of
> namespace identifier everywhere:
> 
> 	http://marc.info/?l=linux-kernel&m=131836778427871&w=2
> 
> in which case I guess we'd likely end up with (uid, user namespace id)
> instead of user@...ain?


Storing strings is an extremly stupid idea.  The only thing that would
make sense would be storing a windows-style 128-bit GUID.

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ