From 14c7865f1f7eebb29ee263bb56fa4136d21e5515 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Thu, 7 Jan 2010 11:50:35 -0500 Subject: [PATCH] Ddclient patch from Dan Walsh. --- policy/modules/services/ddclient.if | 27 ++++++++++++++++++++++++++- policy/modules/services/ddclient.te | 2 +- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/policy/modules/services/ddclient.if b/policy/modules/services/ddclient.if index c1e04cea6..ead762ac8 100644 --- a/policy/modules/services/ddclient.if +++ b/policy/modules/services/ddclient.if @@ -21,7 +21,32 @@ interface(`ddclient_domtrans',` ######################################## ## -## All of the rules required to administrate +## Execute ddclient daemon on behalf of a user or staff type. +## +## +## +## Domain allowed access. +## +## +## +## +## Role allowed access. +## +## +## +# +interface(`ddclient_run',` + gen_require(` + type ddclient_t; + ') + + ddclient_domtrans($1) + role $2 types ddclient_t; +') + +######################################## +## +## All of the rules required to administrate ## an ddclient environment ## ## diff --git a/policy/modules/services/ddclient.te b/policy/modules/services/ddclient.te index cec67d20f..79d631e8c 100644 --- a/policy/modules/services/ddclient.te +++ b/policy/modules/services/ddclient.te @@ -1,5 +1,5 @@ -policy_module(ddclient, 1.8.0) +policy_module(ddclient, 1.8.1) ######################################## #