From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <46AFA242.1010903@redhat.com> Date: Tue, 31 Jul 2007 16:57:38 -0400 From: Daniel J Walsh MIME-Version: 1.0 To: Joshua Brindle CC: SE Linux , Stephen Smalley Subject: Re: Problem with semanage, looks like we don't handle the <> context type? References: <46AF3C5E.8080700@redhat.com> <46AFA0C8.90608@tresys.com> In-Reply-To: <46AFA0C8.90608@tresys.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov Joshua Brindle wrote: > Daniel J Walsh wrote: >> cat /tmp/test.py >> #!/usr/bin/python >> from semanage import * >> sh = semanage_handle_create() >> rc, con = semanage_context_from_string(sh, "<>") >> rc,fcontext = semanage_fcontext_create(sh) >> semanage_fcontext_set_con(sh, fcontext, con) >> >> >> # python /tmp/test.py >> Segmentation fault > > Granted the segfault needs to be fixed but what exactly are you trying > to accomplish? <> is not a type, its just something matchpathcon > uses to short circuit its labeling behavior. > I have a request from someone who wants to setup a directory that shortcuts the labeling behaviour. IE wants restorecon and friends to do nothing in the directory. -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.