Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/kernel/
Date: Mon, 05 Jun 2017 17:34:33
Message-Id: 1496684022.9db4609a99bf45fc3f716fa52955a4982dffb145.perfinion@gentoo
1 commit: 9db4609a99bf45fc3f716fa52955a4982dffb145
2 Author: Jason Zaman <jason <AT> perfinion <DOT> com>
3 AuthorDate: Mon Jun 5 17:33:42 2017 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 5 17:33:42 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=9db4609a
7
8 filesystem: remove gentoo specific duplicated fs_cgroup_filetrans
9
10 policy/modules/kernel/filesystem.if | 37 -------------------------------------
11 1 file changed, 37 deletions(-)
12
13 diff --git a/policy/modules/kernel/filesystem.if b/policy/modules/kernel/filesystem.if
14 index 1db23012..295f3698 100644
15 --- a/policy/modules/kernel/filesystem.if
16 +++ b/policy/modules/kernel/filesystem.if
17 @@ -5399,40 +5399,3 @@ interface(`fs_unconfined',`
18
19 typeattribute $1 filesystem_unconfined_type;
20 ')
21 -
22 -# gentoo specific under here but not allowed ifdef
23 -
24 -########################################
25 -## <summary>
26 -## Create an object in a cgroup tmpfs filesystem, with a private
27 -## type using a type transition.
28 -## </summary>
29 -## <param name="domain">
30 -## <summary>
31 -## Domain allowed access.
32 -## </summary>
33 -## </param>
34 -## <param name="private type">
35 -## <summary>
36 -## The type of the object to be created.
37 -## </summary>
38 -## </param>
39 -## <param name="object">
40 -## <summary>
41 -## The object class of the object being created.
42 -## </summary>
43 -## </param>
44 -## <param name="name" optional="true">
45 -## <summary>
46 -## The name of the object being created.
47 -## </summary>
48 -## </param>
49 -#
50 -interface(`fs_cgroup_filetrans',`
51 - gen_require(`
52 - type cgroup_t;
53 - ')
54 -
55 - allow $2 tmpfs_t:filesystem associate;
56 - filetrans_pattern($1, cgroup_t, $2, $3, $4)
57 -')