Received: from goalie.tycho.ncsc.mil (goalie [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id s09Mo0Ri026439 for ; Thu, 9 Jan 2014 17:50:00 -0500 Received: by mail-wg0-f45.google.com with SMTP id y10so3440032wgg.24 for ; Thu, 09 Jan 2014 14:49:58 -0800 (PST) Message-ID: <1389307796.15747.47.camel@x220.localdomain> Subject: Re: Changing unlabeled_t on files to invalid_label_t. From: Dominick Grift To: Daniel J Walsh Date: Thu, 09 Jan 2014 23:49:56 +0100 In-Reply-To: <1389306084.15747.41.camel@x220.localdomain> References: <52CF1A53.9080501@redhat.com> <1389306084.15747.41.camel@x220.localdomain> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: SELinux List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: On Thu, 2014-01-09 at 23:21 +0100, Dominick Grift wrote: > On Thu, 2014-01-09 at 16:53 -0500, Daniel J Walsh wrote: > Then leave the unlabeled isid for netlabel ( i think netlabel also uses > the unlabeled isid ) > > That way we can also get rid of the inconsistency where "unlabeled" > nodes are labeled with the object_r role. (nodes are active entities so > i would argue the system_r role would be more sensible for nodes) Not sure if it was peers, nodes or both but i know i was a little annoyed by the inconsistency. I like consistency and intuitiveness. ( on a side note: "system_u:object_r:node_t" is also associated with the node isid currently, not sure if "system_u:system_r:node_t" would be more appropriate -- same for netlabel_peer i guess ) > Then maybe while we are at it also see if we can fix that isid ordering > issue. If one in ones policy messes up the ordering of the isid context > specs one gets all kinds of weird behavior. Not the isid contexts specification ordering but the isid declarations ordering (in the initial_sids file)