* [refpolicy] [PATCH 1/1] HAL support is not mandatory for ConsoleKit
@ 2011-08-13 19:01 Sven Vermeulen
2011-08-16 19:11 ` Christopher J. PeBenito
0 siblings, 1 reply; 2+ messages in thread
From: Sven Vermeulen @ 2011-08-13 19:01 UTC (permalink / raw)
To: refpolicy
The current consolekit policy definition has hal_ptrace(consolekit_t) in its
main body. However, HAL support within consolekit is not mandatory. As such,
this call should be within an optional_policy().
Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
---
policy/modules/services/consolekit.te | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/policy/modules/services/consolekit.te b/policy/modules/services/consolekit.te
index dd71359..46cd222 100644
--- a/policy/modules/services/consolekit.te
+++ b/policy/modules/services/consolekit.te
@@ -72,8 +72,6 @@ miscfiles_read_localization(consolekit_t)
userdom_dontaudit_read_user_home_content_files(consolekit_t)
userdom_read_user_tmp_files(consolekit_t)
-hal_ptrace(consolekit_t)
-
tunable_policy(`use_nfs_home_dirs',`
fs_read_nfs_files(consolekit_t)
')
@@ -99,6 +97,10 @@ optional_policy(`
')
optional_policy(`
+ hal_ptrace(consolekit_t)
+')
+
+optional_policy(`
policykit_dbus_chat(consolekit_t)
policykit_domtrans_auth(consolekit_t)
policykit_read_lib(consolekit_t)
--
1.7.3.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [refpolicy] [PATCH 1/1] HAL support is not mandatory for ConsoleKit
2011-08-13 19:01 [refpolicy] [PATCH 1/1] HAL support is not mandatory for ConsoleKit Sven Vermeulen
@ 2011-08-16 19:11 ` Christopher J. PeBenito
0 siblings, 0 replies; 2+ messages in thread
From: Christopher J. PeBenito @ 2011-08-16 19:11 UTC (permalink / raw)
To: refpolicy
On 8/13/2011 3:01 PM, Sven Vermeulen wrote:
> The current consolekit policy definition has hal_ptrace(consolekit_t) in its
> main body. However, HAL support within consolekit is not mandatory. As such,
> this call should be within an optional_policy().
Merged.
> Signed-off-by: Sven Vermeulen<sven.vermeulen@siphos.be>
> ---
> policy/modules/services/consolekit.te | 6 ++++--
> 1 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/policy/modules/services/consolekit.te b/policy/modules/services/consolekit.te
> index dd71359..46cd222 100644
> --- a/policy/modules/services/consolekit.te
> +++ b/policy/modules/services/consolekit.te
> @@ -72,8 +72,6 @@ miscfiles_read_localization(consolekit_t)
> userdom_dontaudit_read_user_home_content_files(consolekit_t)
> userdom_read_user_tmp_files(consolekit_t)
>
> -hal_ptrace(consolekit_t)
> -
> tunable_policy(`use_nfs_home_dirs',`
> fs_read_nfs_files(consolekit_t)
> ')
> @@ -99,6 +97,10 @@ optional_policy(`
> ')
>
> optional_policy(`
> + hal_ptrace(consolekit_t)
> +')
> +
> +optional_policy(`
> policykit_dbus_chat(consolekit_t)
> policykit_domtrans_auth(consolekit_t)
> policykit_read_lib(consolekit_t)
--
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-16 19:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-13 19:01 [refpolicy] [PATCH 1/1] HAL support is not mandatory for ConsoleKit Sven Vermeulen
2011-08-16 19:11 ` Christopher J. PeBenito
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.