Gentoo Archives: gentoo-commits

From: Sven Vermeulen <sven.vermeulen@××××××.be>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/
Date: Mon, 29 Oct 2012 14:55:18
Message-Id: 1351522128.49be4d1fd37fffd940c8ea07de72fbbc72706f21.SwifT@gentoo
1 commit: 49be4d1fd37fffd940c8ea07de72fbbc72706f21
2 Author: Dominick Grift <dominick.grift <AT> gmail <DOT> com>
3 AuthorDate: Mon Oct 29 09:52:55 2012 +0000
4 Commit: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
5 CommitDate: Mon Oct 29 14:48:48 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=49be4d1f
7
8 Changes to the tcsd policy module
9
10 Module clean up
11
12 Signed-off-by: Dominick Grift <dominick.grift <AT> gmail.com>
13
14 ---
15 policy/modules/contrib/tcsd.if | 9 +++++----
16 policy/modules/contrib/tcsd.te | 7 +++----
17 2 files changed, 8 insertions(+), 8 deletions(-)
18
19 diff --git a/policy/modules/contrib/tcsd.if b/policy/modules/contrib/tcsd.if
20 index c5f77e0..b42ec1d 100644
21 --- a/policy/modules/contrib/tcsd.if
22 +++ b/policy/modules/contrib/tcsd.if
23 @@ -5,9 +5,9 @@
24 ## Execute a domain transition to run tcsd.
25 ## </summary>
26 ## <param name="domain">
27 -## <summary>
28 +## <summary>
29 ## Domain allowed to transition.
30 -## </summary>
31 +## </summary>
32 ## </param>
33 #
34 interface(`tcsd_domtrans',`
35 @@ -21,7 +21,8 @@ interface(`tcsd_domtrans',`
36
37 ########################################
38 ## <summary>
39 -## Execute tcsd server in the tcsd domain.
40 +## Execute tcsd init scripts in the
41 +## initrc domain.
42 ## </summary>
43 ## <param name="domain">
44 ## <summary>
45 @@ -52,8 +53,8 @@ interface(`tcsd_search_lib',`
46 type tcsd_var_lib_t;
47 ')
48
49 - allow $1 tcsd_var_lib_t:dir search_dir_perms;
50 files_search_var_lib($1)
51 + allow $1 tcsd_var_lib_t:dir search_dir_perms;
52 ')
53
54 ########################################
55
56 diff --git a/policy/modules/contrib/tcsd.te b/policy/modules/contrib/tcsd.te
57 index 671ca5e..ac8213a 100644
58 --- a/policy/modules/contrib/tcsd.te
59 +++ b/policy/modules/contrib/tcsd.te
60 @@ -1,4 +1,4 @@
61 -policy_module(tcsd, 1.0.2)
62 +policy_module(tcsd, 1.0.3)
63
64 ########################################
65 #
66 @@ -32,10 +32,11 @@ corenet_all_recvfrom_unlabeled(tcsd_t)
67 corenet_all_recvfrom_netlabel(tcsd_t)
68 corenet_tcp_sendrecv_generic_if(tcsd_t)
69 corenet_tcp_sendrecv_generic_node(tcsd_t)
70 -corenet_tcp_sendrecv_tcs_port(tcsd_t)
71 corenet_tcp_bind_generic_node(tcsd_t)
72 +
73 corenet_sendrecv_tcs_server_packets(tcsd_t)
74 corenet_tcp_bind_tcs_port(tcsd_t)
75 +corenet_tcp_sendrecv_tcs_port(tcsd_t)
76
77 dev_read_urand(tcsd_t)
78 dev_rw_tpm(tcsd_t)
79 @@ -47,5 +48,3 @@ auth_use_nsswitch(tcsd_t)
80 logging_send_syslog_msg(tcsd_t)
81
82 miscfiles_read_localization(tcsd_t)
83 -
84 -sysnet_dns_name_resolve(tcsd_t)