From 20cce006fa6c411d1af294739c171a0ae68d7f21 Mon Sep 17 00:00:00 2001 From: Harry Ciao Date: Tue, 2 Nov 2010 12:20:27 +0800 Subject: [PATCH] Make auditadm & secadm able to use vlock Make the auditadm and secadm able to use the vlock program. Also bump their module versions. Signed-off-by: Harry Ciao --- policy/modules/roles/auditadm.te | 5 ++++- policy/modules/roles/secadm.te | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/policy/modules/roles/auditadm.te b/policy/modules/roles/auditadm.te index 252913b13..d31b46da3 100644 --- a/policy/modules/roles/auditadm.te +++ b/policy/modules/roles/auditadm.te @@ -1,4 +1,4 @@ -policy_module(auditadm, 2.1.0) +policy_module(auditadm, 2.1.1) ######################################## # @@ -60,3 +60,6 @@ optional_policy(` sysadm_role_change(auditadm_r) ') +optional_policy(` + vlock_run(auditadm_t, auditadm_r) +') diff --git a/policy/modules/roles/secadm.te b/policy/modules/roles/secadm.te index ebe6a9c28..fc875f739 100644 --- a/policy/modules/roles/secadm.te +++ b/policy/modules/roles/secadm.te @@ -1,4 +1,4 @@ -policy_module(secadm, 2.1.0) +policy_module(secadm, 2.1.1) ######################################## # @@ -71,3 +71,6 @@ optional_policy(` sysadm_role_change(secadm_r) ') +optional_policy(` + vlock_run(secadm_t, secadm_r) +')