Re: per role template confusion

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

 



Joe Nall wrote:
Can someone explain the per role template implementation? I am confused.

During policy compilation, a .mod.role file is created that just references the roles in /usr/share/selinux/devel/include/rolemap regardless of the roles defined via semanage. Should semanage add roles to rolemap? Is there additional magic in semodule?

joe

Roles aren't created by semanage, only user->role mappings. The per_role_template creates derived types for each role (eg., staff_mozilla_t, sysadm_mozilla_t). These roles are defined in the policy only.


--
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