Gentoo Archives: gentoo-commits

From: Sven Vermeulen <swift@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/kernel/
Date: Sun, 09 Feb 2014 10:54:51
Message-Id: 1391943164.d0d2ffe60be2a9fda03bcac8dabde1d51a67dff0.swift@gentoo
1 commit: d0d2ffe60be2a9fda03bcac8dabde1d51a67dff0
2 Author: Chris PeBenito <pebenito <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 8 15:48:50 2014 +0000
4 Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 9 10:52:44 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=d0d2ffe6
7
8 Move loop control interface definition.
9
10 ---
11 policy/modules/kernel/devices.if | 28 ++++++++++++++--------------
12 1 file changed, 14 insertions(+), 14 deletions(-)
13
14 diff --git a/policy/modules/kernel/devices.if b/policy/modules/kernel/devices.if
15 index b1c505f..41eb2ca 100644
16 --- a/policy/modules/kernel/devices.if
17 +++ b/policy/modules/kernel/devices.if
18 @@ -2397,44 +2397,44 @@ interface(`dev_rw_lirc',`
19
20 ######################################
21 ## <summary>
22 -## Read and write the loop-control device.
23 +## Automatic type transition to the type
24 +## for lirc device nodes when created in /dev.
25 ## </summary>
26 ## <param name="domain">
27 ## <summary>
28 ## Domain allowed access.
29 ## </summary>
30 ## </param>
31 +## <param name="name" optional="true">
32 +## <summary>
33 +## The name of the object being created.
34 +## </summary>
35 +## </param>
36 #
37 -interface(`dev_rw_loop_control',`
38 +interface(`dev_filetrans_lirc',`
39 gen_require(`
40 - type device_t, loop_control_device_t;
41 + type device_t, lirc_device_t;
42 ')
43
44 - rw_chr_files_pattern($1, device_t, loop_control_device_t)
45 + filetrans_pattern($1, device_t, lirc_device_t, chr_file, $2)
46 ')
47
48 ######################################
49 ## <summary>
50 -## Automatic type transition to the type
51 -## for lirc device nodes when created in /dev.
52 +## Read and write the loop-control device.
53 ## </summary>
54 ## <param name="domain">
55 ## <summary>
56 ## Domain allowed access.
57 ## </summary>
58 ## </param>
59 -## <param name="name" optional="true">
60 -## <summary>
61 -## The name of the object being created.
62 -## </summary>
63 -## </param>
64 #
65 -interface(`dev_filetrans_lirc',`
66 +interface(`dev_rw_loop_control',`
67 gen_require(`
68 - type device_t, lirc_device_t;
69 + type device_t, loop_control_device_t;
70 ')
71
72 - filetrans_pattern($1, device_t, lirc_device_t, chr_file, $2)
73 + rw_chr_files_pattern($1, device_t, loop_control_device_t)
74 ')
75
76 ########################################