HAL support is not mandatory for ConsoleKit

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>
This commit is contained in:
Sven Vermeulen 2011-08-13 21:01:20 +02:00 committed by Chris PeBenito
parent adddcf93f6
commit 8365be4394
1 changed files with 4 additions and 2 deletions

View File

@ -72,8 +72,6 @@ miscfiles_read_localization(consolekit_t)
userdom_dontaudit_read_user_home_content_files(consolekit_t) userdom_dontaudit_read_user_home_content_files(consolekit_t)
userdom_read_user_tmp_files(consolekit_t) userdom_read_user_tmp_files(consolekit_t)
hal_ptrace(consolekit_t)
tunable_policy(`use_nfs_home_dirs',` tunable_policy(`use_nfs_home_dirs',`
fs_read_nfs_files(consolekit_t) fs_read_nfs_files(consolekit_t)
') ')
@ -98,6 +96,10 @@ optional_policy(`
') ')
') ')
optional_policy(`
hal_ptrace(consolekit_t)
')
optional_policy(` optional_policy(`
policykit_dbus_chat(consolekit_t) policykit_dbus_chat(consolekit_t)
policykit_domtrans_auth(consolekit_t) policykit_domtrans_auth(consolekit_t)