Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1271752

Re: [PATCH v3 5/7] selinux: Add support for unprivileged mounts from user namespaces

From James Morris <jmorris@namei.org>
Newsgroups linux.kernel
Subject Re: [PATCH v3 5/7] selinux: Add support for unprivileged mounts from user namespaces
Date 2015-11-18 01:10 +0100
Message-ID <qvYtY-3GN-9@gated-at.bofh.it> (permalink)
References <qvRC9-7wq-11@gated-at.bofh.it> <qvRC9-7wq-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 17 Nov 2015, Seth Forshee wrote:

> Security labels from unprivileged mounts in user namespaces must
> be ignored. Force superblocks from user namespaces whose labeling
> behavior is to use xattrs to use mountpoint labeling instead.
> For the mountpoint label, default to converting the current task
> context into a form suitable for file objects, but also allow the
> policy writer to specify a different label through policy
> transition rules.
> 
> Pieced together from code snippets provided by Stephen Smalley.
> 
> Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
> Acked-by: Stephen Smalley <sds@tycho.nsa.gov>


Acked-by: James Morris <james.l.morris@oracle.com>

-- 
James Morris
<jmorris@namei.org>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH v3 5/7] selinux: Add support for unprivileged mounts from user namespaces Seth Forshee <seth.forshee@canonical.com> - 2015-11-17 17:50 +0100
  Re: [PATCH v3 5/7] selinux: Add support for unprivileged mounts from  user namespaces James Morris <jmorris@namei.org> - 2015-11-18 01:10 +0100

csiph-web