MLS newrole avcs and polyinstantiation avcs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm using newrole to run apps at level but am getting mls constraint
related avcs like:

type=AVC msg=audit(1198086275.274:1836): avc:  denied  { transition }
for  pid=4815 comm="newrole" path="/bin/bash" dev=dm-0 ino=14843920
scontext=user_u:user_r:newrole_t:s0
tcontext=user_u:user_r:user_t:s2:c0.c253,c255,c256 tclass=process

I have :
ifdef(`enable_mls',`
      mls_process_set_level(newrole_t)
')

 in my policy but it either isn't the right thing or isn't enough. Can
anyone help with this?

Also I have pam_namespace configured for newrole and am getting mls
constraint avcs related to relabeling directories, for example:

type=AVC msg=audit(1198086274.884:1793): avc:  denied  { relabelto }
for  pid=4815 comm="newrole" name="eb3ba083bd05d11d8c0e697ad725e391"
dev=dm-0 ino=35323932 scontext=user_u:user_r:newrole_t:s0
tcontext=user_u:object_r:user_home_t:s2:c0.c253,c255,c256 tclass=dir

I have :
files_poly_parent(user_home_t)
files_poly_member(user_home_t)

in my policy but ...

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux