2016-12-29 22:07:36

by guido

[permalink] [raw]
Subject: [refpolicy] [PATCH] sysadm: add the shutdown role

Add the shutdown role interface call to the sysadm role module.

Signed-off-by: Guido Trentalancia <[email protected]>
---
policy/modules/roles/sysadm.te | 4 ++++
1 file changed, 4 insertions(+)

diff -pru a/policy/modules/roles/sysadm.te b/policy/modules/roles/sysadm.te
--- a/policy/modules/roles/sysadm.te 2016-12-22 00:49:43.633928819 +0100
+++ b/policy/modules/roles/sysadm.te 2016-12-29 23:04:05.385154436 +0100
@@ -991,6 +991,10 @@ optional_policy(`
')

optional_policy(`
+ shutdown_role(sysadm_r, sysadm_t)
+')
+
+optional_policy(`
slpd_admin(sysadm_t, sysadm_r)
')



2016-12-30 19:17:22

by Chris PeBenito

[permalink] [raw]
Subject: [refpolicy] [PATCH] sysadm: add the shutdown role

On 12/29/16 17:07, Guido Trentalancia via refpolicy wrote:
> Add the shutdown role interface call to the sysadm role module.
>
> Signed-off-by: Guido Trentalancia <[email protected]>
> ---
> policy/modules/roles/sysadm.te | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff -pru a/policy/modules/roles/sysadm.te b/policy/modules/roles/sysadm.te
> --- a/policy/modules/roles/sysadm.te 2016-12-22 00:49:43.633928819 +0100
> +++ b/policy/modules/roles/sysadm.te 2016-12-29 23:04:05.385154436 +0100
> @@ -991,6 +991,10 @@ optional_policy(`
> ')
>
> optional_policy(`
> + shutdown_role(sysadm_r, sysadm_t)
> +')
> +
> +optional_policy(`
> slpd_admin(sysadm_t, sysadm_r)
> ')
>

Merged.

--
Chris PeBenito