Subject: Re: user_trans/user_trans_boolean macro From: Ivan Gyurdiev Reply-To: ivg2@cornell.edu To: Stephen Smalley Cc: selinux@tycho.nsa.gov, dwalsh@redhat.com In-Reply-To: <1110831210.21378.235.camel@moss-spartans.epoch.ncsc.mil> References: <1110692016.29852.77.camel@cobra.ivg2.net> <1110804353.21378.8.camel@moss-spartans.epoch.ncsc.mil> <1110820329.16850.8.camel@cobra.ivg2.net> <1110820795.21378.141.camel@moss-spartans.epoch.ncsc.mil> <1110824399.16850.21.camel@cobra.ivg2.net> <1110825077.21378.199.camel@moss-spartans.epoch.ncsc.mil> <1110826572.16850.33.camel@cobra.ivg2.net> <1110829424.16850.39.camel@cobra.ivg2.net> <1110829277.21378.219.camel@moss-spartans.epoch.ncsc.mil> <1110831501.16850.47.camel@cobra.ivg2.net> <1110831210.21378.235.camel@moss-spartans.epoch.ncsc.mil> Content-Type: text/plain Date: Mon, 14 Mar 2005 15:45:56 -0500 Message-Id: <1110833157.16850.63.camel@cobra.ivg2.net> Mime-Version: 1.0 Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov On Mon, 2005-03-14 at 15:13 -0500, Stephen Smalley wrote: > On Mon, 2005-03-14 at 15:18 -0500, Ivan Gyurdiev wrote: > > I guess what I'm trying to figure out is why > > domain_auto_trans doesn't add the role access rule > > by default. Isn't this always necessary if you want > > a transition to occur? > > domain_auto_trans() can be (and is ) used from any domain, not just a > user domain. One could certainly add an optional argument for a role Well, I think I will conclude that I'll leave things exactly as they are :) It seems a bad idea to me to add yet another argument. The macro I was trying to write also seems like a bad idea now. The only thing I will do is add controlling booleans to the domain.te file, and use them in the macros.te file around the auto_trans call (and remove all of this from x_client_macros). -- Ivan Gyurdiev Cornell University -- 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.