Received: from jazzdrum.ncsc.mil (zombie.ncsc.mil [144.51.88.131]) by tarius.tycho.ncsc.mil (8.13.1/8.13.1) with SMTP id l9BDcXlm032066 for ; Thu, 11 Oct 2007 09:38:34 -0400 Received: from mailmac.ads-oh.atg.titan.com (jazzdrum.ncsc.mil [144.51.5.7]) by jazzdrum.ncsc.mil (8.12.10/8.12.10) with ESMTP id l9BDcQK4021371 for ; Thu, 11 Oct 2007 13:38:26 GMT Received: from [192.168.50.32] (unknown [66.218.141.135]) by mailmac.ads-oh.atg.titan.com (Postfix) with ESMTP id 40712EE349 for ; Thu, 11 Oct 2007 09:37:38 -0400 (EDT) Mime-Version: 1.0 Message-Id: Date: Thu, 11 Oct 2007 09:38:20 -0400 To: selinux@tycho.nsa.gov From: Rosalie Hiebel Subject: Question about domain transition and MLS Content-Type: multipart/alternative; boundary="============_-1020012592==_ma============" Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov --============_-1020012592==_ma============ Content-Type: text/plain; charset="us-ascii" ; format="flowed" I am writing policy for an application which runs in a domain with a SystemHigh range and attempts to launch (via fork/exec) an application (/bin/df) having it run in a domain with SystemLow range. My application performs a setexeccon, passing it the domain root:sysadm_r:sysadm_t:SystemLow, prior to the fork and exec. My policy contains a rule to allow the application's domain type to do a process dyntransition to sysadm_t, but I continue to get an audit message indicating it cannot perform a dyntransition from its domain, system_u:system_r:my_app_t:SystemHigh to root:sysadm_r:sysadm_t:SystemLow. I have added numerous mls macros to try to allow the process transition, such as mls_rangetrans_source, mls_rangetrans_target, and mls_process_set_level, but I still get the dyntransition audit message. Any suggestions for what mls attributes my application needs? Thanks, Rosalie --============_-1020012592==_ma============ Content-Type: text/html; charset="us-ascii" Question about domain transition and MLS
I am writing policy for an application which runs in a domain with a SystemHigh range and attempts to launch (via fork/exec) an application (/bin/df) having it run in a domain with SystemLow range.  My application performs a setexeccon, passing it the domain root:sysadm_r:sysadm_t:SystemLow,  prior to the fork and exec.

My policy contains a rule to allow the application's domain type to do a process dyntransition to sysadm_t, but I continue to get an audit message indicating it cannot perform a dyntransition from its domain, system_u:system_r:my_app_t:SystemHigh to root:sysadm_r:sysadm_t:SystemLow.

I have added numerous mls macros to try to allow the process transition, such as mls_rangetrans_source, mls_rangetrans_target, and mls_process_set_level, but I still get the dyntransition audit message.  Any suggestions for what mls attributes my application needs?

Thanks,
Rosalie
--============_-1020012592==_ma============-- -- 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.