Add policy for kup server utilities.
PATCH 1/1 Add policy for kup server utilities.
As requested, in patch format, plus changes after
talking to grift on IRC.
--- kup.fc | 8 ++++ kup.if | 128 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ kup.te | 70 +++++++++++++++++++++++++++++++++++ 3 files changed, 206 insertions(+), 0 deletions(-) create mode 100644 kup.fc create mode 100644 kup.if create mode 100644 kup.te
kup.fc new file +8 -0
@@ -0,0 +1,8 @@ +/usr/bin/kup-server -- gen_context(system_u:object_r:kup_server_exec_t,s0) +/etc/kup(/.*)? gen_context(system_u:object_r:kup_server_etc_t,s0) +/var/lib/kup -d gen_context(system_u:object_r:kup_server_var_lib_t,s0) +/var/lib/kup/pgp(/.*)? gen_context(system_u:object_r:kup_server_var_lib_t,s0) +/var/lib/kup/pub(/.*)? gen_context(system_u:object_r:kup_server_content_rw_t,s0) +/var/lib/kup/tmp(/.*)? gen_context(system_u:object_r:kup_server_content_rw_t,s0) +/var/run/kup(/.*)? gen_context(system_u:object_r:kup_server_var_run_t,s0) +
kup.if new file +128 -0
128 lines not on this page · raw message
kup.te new file +70 -0
70 lines not on this page · raw message
Signature · 10 lines
1.7.7.6 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 665 bytes Desc: This is a digitally signed message part Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20120214/b24531ed/attachment.bin