[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <16216.1417109138@warthog.procyon.org.uk>
Date: Thu, 27 Nov 2014 17:25:38 +0000
From: David Howells <dhowells@...hat.com>
To: Stephen Smalley <sds@...ho.nsa.gov>
Cc: dhowells@...hat.com, linux-unionfs@...r.kernel.org,
selinux@...ho.nsa.gov, linux-fsdevel@...r.kernel.org,
linux-security-module@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 5/7] SELinux: Handle opening of a unioned file
Stephen Smalley <sds@...ho.nsa.gov> wrote:
> Also, would be good to create a common helper for use here, by
> selinux_dentry_init_security(), selinux_inode_init_security(), and
> may_create(). Already some seeming potential for inconsistencies there.
selinux_dentry_init_security() and selinux_inode_init_security() do something
different depending on SECURITY_FS_USE_MNTPOINT. Is the dentry variant wrong?
Shouldn't it be using the mountpoint label if that flag _is_ set?
David
--
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