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: Tue, 30 Oct 2012 18:45:23
Message-Id: 1351622545.ccf8ec9818944faaa52acb7f47706414655760ab.SwifT@gentoo
1 commit: ccf8ec9818944faaa52acb7f47706414655760ab
2 Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
3 AuthorDate: Tue Oct 30 18:42:25 2012 +0000
4 Commit: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
5 CommitDate: Tue Oct 30 18:42:25 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=ccf8ec98
7
8 Remove duplicate interfaces
9
10 The merger didn't detect that the interfaces were already defined.
11
12 ---
13 policy/modules/contrib/cron.if | 83 ----------------------------------------
14 1 files changed, 0 insertions(+), 83 deletions(-)
15
16 diff --git a/policy/modules/contrib/cron.if b/policy/modules/contrib/cron.if
17 index 8a40b3d..a1ecb7f 100644
18 --- a/policy/modules/contrib/cron.if
19 +++ b/policy/modules/contrib/cron.if
20 @@ -492,89 +492,6 @@ interface(`cron_generic_log_filetrans_log',`
21
22 ########################################
23 ## <summary>
24 -## Set the attributes of cron log files.
25 -## </summary>
26 -## <param name="domain">
27 -## <summary>
28 -## Domain allowed access.
29 -## </summary>
30 -## </param>
31 -#
32 -interface(`cron_setattr_log_files',`
33 - gen_require(`
34 - type cron_log_t;
35 - ')
36 -
37 - allow $1 cron_log_t:file setattr_file_perms;
38 -')
39 -
40 -########################################
41 -## <summary>
42 -## Create cron log files.
43 -## </summary>
44 -## <param name="domain">
45 -## <summary>
46 -## Domain allowed access.
47 -## </summary>
48 -## </param>
49 -#
50 -interface(`cron_create_log_files',`
51 - gen_require(`
52 - type cron_log_t;
53 - ')
54 -
55 - create_files_pattern($1, cron_log_t, cron_log_t)
56 -')
57 -
58 -########################################
59 -## <summary>
60 -## Write to cron log files.
61 -## </summary>
62 -## <param name="domain">
63 -## <summary>
64 -## Domain allowed access.
65 -## </summary>
66 -## </param>
67 -#
68 -interface(`cron_write_log_files',`
69 - gen_require(`
70 - type cron_log_t;
71 - ')
72 -
73 - allow $1 cron_log_t:file write_file_perms;
74 -')
75 -
76 -########################################
77 -## <summary>
78 -## Create specified objects in generic
79 -## log directories with the cron log file type.
80 -## </summary>
81 -## <param name="domain">
82 -## <summary>
83 -## Domain allowed access.
84 -## </summary>
85 -## </param>
86 -## <param name="object_class">
87 -## <summary>
88 -## Class of the object being created.
89 -## </summary>
90 -## </param>
91 -## <param name="name" optional="true">
92 -## <summary>
93 -## The name of the object being created.
94 -## </summary>
95 -## </param>
96 -#
97 -interface(`cron_generic_log_filetrans_log',`
98 - gen_require(`
99 - type cron_log_t;
100 - ')
101 -
102 - logging_log_filetrans($1, cron_log_t, $2, $3)
103 -')
104 -
105 -########################################
106 -## <summary>
107 ## Read cron daemon unnamed pipes.
108 ## </summary>
109 ## <param name="domain">