Update for the telepathy module
PATCH 1/1 Update for the telepathy module
Update the telepathy module:
- add an interface to support chat over dbus in the mission control domain;
- add support for dbus chat in the mission control domain for the telepathy role.
--- policy/modules/contrib/telepathy.if | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)
--- refpolicy-git-06082016-orig/policy/modules/contrib/telepathy.if 2016-08-06
21:27:11.430095204 +0200
+++ refpolicy-git-06082016/policy/modules/contrib/telepathy.if 2016-08-13
20:34:01.475608454 +0200
@@ -114,6 +114,8 @@ template(telepathy_role_template',
allow $3 telepathy_tmp_content:dir { manage_dir_perms relabel_dir_perms }; allow $3 telepathy_tmp_content:file { manage_file_perms relabel_file_perms }; allow $3 telepathy_tmp_content:sock_file { manage_sock_file_permsrelabel_sock_file_perms };
+
+ telepathy_mission_control_dbus_chat($1)
')
########################################
@@ -158,6 +160,27 @@ interface(telepathy_gabble_dbus_chat',
')
########################################
+## <summary>
+## Send dbus messages to and from
+## mission control.
+## </summary>
+## <param name="domain">
+## <summary>
+## Domain allowed access.
+## </summary>
+## </param>
+# +interface(telepathy_mission_control_dbus_chat',
+ gen_require(`
+ type telepathy_mission_control_t;
+ class dbus send_msg;
+ ')
+
+ allow $1 telepathy_mission_control_t:dbus send_msg;
+ allow telepathy_mission_control_t $1:dbus send_msg;
+')
+
+########################################
## <summary>
## Read mission control process state files.
## </summary>
PATCH v2 1/1 Update for the telepathy module
Update the telepathy module:
- add an interface to support chat over dbus in the mission control domain;
- add support for dbus chat in the mission control domain for the telepathy role.
--- policy/modules/contrib/telepathy.if | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)
--- refpolicy-git-06082016-orig/policy/modules/contrib/telepathy.if 2016-08-06
21:27:11.430095204 +0200
+++ refpolicy-git-06082016/policy/modules/contrib/telepathy.if 2016-08-14
00:20:25.382226265 +0200
@@ -114,6 +114,8 @@ template(telepathy_role_template',
allow $3 telepathy_tmp_content:dir { manage_dir_perms relabel_dir_perms }; allow $3 telepathy_tmp_content:file { manage_file_perms relabel_file_perms }; allow $3 telepathy_tmp_content:sock_file { manage_sock_file_permsrelabel_sock_file_perms };
+
+ telepathy_mission_control_dbus_chat($3)
')
########################################
@@ -158,6 +160,27 @@ interface(telepathy_gabble_dbus_chat',
')
########################################
+## <summary>
+## Send dbus messages to and from
+## mission control.
+## </summary>
+## <param name="domain">
+## <summary>
+## Domain allowed access.
+## </summary>
+## </param>
+# +interface(telepathy_mission_control_dbus_chat',
+ gen_require(`
+ type telepathy_mission_control_t;
+ class dbus send_msg;
+ ')
+
+ allow $1 telepathy_mission_control_t:dbus send_msg;
+ allow telepathy_mission_control_t $1:dbus send_msg;
+')
+
+########################################
## <summary>
## Read mission control process state files.
## </summary>
PATCH v2 1/1 Update for the telepathy module
Quoted 6 lines · Guido Trentalancia
Update the telepathy module:
- add an interface to support chat over dbus in the mission control domain;
- add support for dbus chat in the mission control domain for the telepathy role.
Merged.
Quoted 52 lines
Signed-off-by Guido Trentalancia <[email protected]>--- policy/modules/contrib/telepathy.if | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)--- refpolicy-git-06082016-orig/policy/modules/contrib/telepathy.if 2016-08-06
21:27:11.430095204 +0200
+++ refpolicy-git-06082016/policy/modules/contrib/telepathy.if 2016-08-14
00:20:25.382226265 +0200(quoted diff) +2
-0@@ -114,6 +114,8 @@ template(`telepathy_role_template',` allow $3 telepathy_tmp_content:dir { manage_dir_perms relabel_dir_perms }; allow $3 telepathy_tmp_content:file { manage_file_perms relabel_file_perms }; allow $3 telepathy_tmp_content:sock_file { manage_sock_file_perms relabel_sock_file_perms }; + + telepathy_mission_control_dbus_chat($3) ')########################################
(quoted diff) +21
-0@@ -158,6 +160,27 @@ interface(`telepathy_gabble_dbus_chat',` ') ######################################## +## <summary> +## Send dbus messages to and from +## mission control. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`telepathy_mission_control_dbus_chat',` + gen_require(` + type telepathy_mission_control_t; + class dbus send_msg; + ') + + allow $1 telepathy_mission_control_t:dbus send_msg; + allow telepathy_mission_control_t $1:dbus send_msg; +') + +######################################## ## <summary> ## Read mission control process state files. ## </summary>_______________________________________________
refpolicy mailing list
refpolicy at oss.tresys.com
http://oss.tresys.com/mailman/listinfo/refpolicy
Signature · 1 line
Chris PeBenito