selinux-refpolicy/config/appconfig-mcs
Laurent Bigonville 624abc4f54 Allow the user cronjobs to run in their userdomain
When cron_userdomain_transition boolean is set to on, the user cronjobs
are supposed to run in their domains. Without this patch the default
context is not properly computed:

    $ /usr/sbin/getdefaultcon user_u system_u:system_r:crond_t:s0
    /usr/sbin/getdefaultcon: Invalid argument
    $ /usr/sbin/getdefaultcon staff_u system_u:system_r:crond_t:s0
    staff_u:sysadm_r:sysadm_t:s0

With this patch applied:

    $ /usr/sbin/getdefaultcon user_u system_u:system_r:crond_t:s0
    user_u:user_r:user_t:s0
    $ /usr/sbin/getdefaultcon staff_ system_u:system_r:crond_t:s0
    staff_u:staff_r:staff_t:s0
2015-12-08 09:35:55 -05:00
..
dbus_contexts trunk: merge strict and targeted policies. merge shlib_t into lib_t. 2007-10-02 16:04:50 +00:00
default_contexts Allow the user cronjobs to run in their userdomain 2015-12-08 09:35:55 -05:00
default_type trunk: add secadm and auditadm bits to appconfig files now that they are available beyond the MLS policy. 2008-04-30 18:55:41 +00:00
failsafe_context trunk: merge strict and targeted policies. merge shlib_t into lib_t. 2007-10-02 16:04:50 +00:00
guest_u_default_contexts trunk: 6 patches from dan. 2009-03-31 13:40:59 +00:00
initrc_context trunk: merge strict and targeted policies. merge shlib_t into lib_t. 2007-10-02 16:04:50 +00:00
media trunk: merge strict and targeted policies. merge shlib_t into lib_t. 2007-10-02 16:04:50 +00:00
removable_context trunk: merge strict and targeted policies. merge shlib_t into lib_t. 2007-10-02 16:04:50 +00:00
root_default_contexts trunk: merge UBAC. 2008-11-05 16:10:46 +00:00
securetty_types trunk: missed UBAC change: update securetty_types for merged user tty type. 2009-06-01 17:41:34 +00:00
sepgsql_contexts Fix db_blob typo in sepgsql_contexts. 2011-03-22 09:31:21 -04:00
seusers trunk: merge strict and targeted policies. merge shlib_t into lib_t. 2007-10-02 16:04:50 +00:00
staff_u_default_contexts Allow the user cronjobs to run in their userdomain 2015-12-08 09:35:55 -05:00
unconfined_u_default_contexts trunk: merge UBAC. 2008-11-05 16:10:46 +00:00
user_u_default_contexts Allow the user cronjobs to run in their userdomain 2015-12-08 09:35:55 -05:00
userhelper_context trunk: merge strict and targeted policies. merge shlib_t into lib_t. 2007-10-02 16:04:50 +00:00
virtual_domain_context Adding default context rules for libvirt 2012-04-23 10:18:45 -04:00
virtual_image_context Adding default context rules for libvirt 2012-04-23 10:18:45 -04:00
x_contexts X Object manager policy revisions to x_contexts. 2009-10-28 10:03:35 -04:00
xguest_u_default_contexts trunk: 6 patches from dan. 2009-03-31 13:40:59 +00:00