From 35d2ea025828ff5e2c5cc945d4d7f9fdaaf54643 Mon Sep 17 00:00:00 2001 From: Dominick Grift Date: Sep 20 2012 09:12:07 +0000 Subject: Changes to the blueman policy module Module clean up Signed-off-by: Dominick Grift --- diff --git a/blueman.fc b/blueman.fc index 6355318..c295d2e 100644 --- a/blueman.fc +++ b/blueman.fc @@ -1,3 +1,3 @@ /usr/libexec/blueman-mechanism -- gen_context(system_u:object_r:blueman_exec_t,s0) -/var/lib/blueman(/.*)? gen_context(system_u:object_r:blueman_var_lib_t,s0) +/var/lib/blueman(/.*)? gen_context(system_u:object_r:blueman_var_lib_t,s0) diff --git a/blueman.if b/blueman.if index 6b081c4..16ec525 100644 --- a/blueman.if +++ b/blueman.if @@ -1,8 +1,8 @@ -## Blueman is a tool to manage Bluetooth devices +## Tool to manage Bluetooth devices. ######################################## ## -## Execute blueman in the blueman domain.. +## Execute blueman in the blueman domain. ## ## ## diff --git a/blueman.te b/blueman.te index 70969fa..e780c41 100644 --- a/blueman.te +++ b/blueman.te @@ -1,4 +1,4 @@ -policy_module(blueman, 1.0.0) +policy_module(blueman, 1.0.1) ######################################## # @@ -8,15 +8,15 @@ policy_module(blueman, 1.0.0) type blueman_t; type blueman_exec_t; dbus_system_domain(blueman_t, blueman_exec_t) -init_daemon_domain(blueman_t, blueman_exec_t) type blueman_var_lib_t; files_type(blueman_var_lib_t) ######################################## # -# blueman local policy +# Local policy # + allow blueman_t self:fifo_file rw_fifo_file_perms; manage_dirs_pattern(blueman_t, blueman_var_lib_t, blueman_var_lib_t)