From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 10 Oct 2017 10:04:15 +1100 (AEDT) From: James Morris To: Stephen Smalley cc: "Stephen D. Smalley" , selinux In-Reply-To: Message-ID: References: <20171002155825.28620-1-sds@tycho.nsa.gov> <20171002155825.28620-10-sds@tycho.nsa.gov> <1507217234.27146.14.camel@tycho.nsa.gov> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Re: [RFC 09/10] selinux: add a selinuxfs interface to unshare selinux namespace List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: On Mon, 9 Oct 2017, Stephen Smalley wrote: > On Oct 8, 2017 9:54 PM, "James Morris" wrote: > > On Thu, 5 Oct 2017, Stephen Smalley wrote: > > > inet_socket test failures are expected due to running in a non-init > > network namespace; they don't work even without unsharing the selinux > > namespace. > > Do these results all look as expected? > > > No, that suggests that you either didn't insert the policy module allowing > access to unlabeled fds or you didn't run restorecon -R /dev before running > the tests. The only expected failures are the inet socket ones. > Looking better now -- I think it was the restorecon. -- James Morris