diff options
author | Jason Zaman <jason@perfinion.com> | 2017-06-06 01:33:42 +0800 |
---|---|---|
committer | Jason Zaman <jason@perfinion.com> | 2017-06-06 01:33:42 +0800 |
commit | 9db4609a99bf45fc3f716fa52955a4982dffb145 (patch) | |
tree | 28a61877007d990220ad5af6b34d4418db822fa4 | |
parent | portage: add filetrans for go and hg src dirs (diff) | |
download | hardened-refpolicy-9db4609a99bf45fc3f716fa52955a4982dffb145.tar.gz hardened-refpolicy-9db4609a99bf45fc3f716fa52955a4982dffb145.tar.bz2 hardened-refpolicy-9db4609a99bf45fc3f716fa52955a4982dffb145.zip |
filesystem: remove gentoo specific duplicated fs_cgroup_filetrans
-rw-r--r-- | policy/modules/kernel/filesystem.if | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/policy/modules/kernel/filesystem.if b/policy/modules/kernel/filesystem.if index 1db23012..295f3698 100644 --- a/policy/modules/kernel/filesystem.if +++ b/policy/modules/kernel/filesystem.if @@ -5399,40 +5399,3 @@ interface(`fs_unconfined',` typeattribute $1 filesystem_unconfined_type; ') - -# gentoo specific under here but not allowed ifdef - -######################################## -## <summary> -## Create an object in a cgroup tmpfs filesystem, with a private -## type using a type transition. -## </summary> -## <param name="domain"> -## <summary> -## Domain allowed access. -## </summary> -## </param> -## <param name="private type"> -## <summary> -## The type of the object to be created. -## </summary> -## </param> -## <param name="object"> -## <summary> -## The object class of the object being created. -## </summary> -## </param> -## <param name="name" optional="true"> -## <summary> -## The name of the object being created. -## </summary> -## </param> -# -interface(`fs_cgroup_filetrans',` - gen_require(` - type cgroup_t; - ') - - allow $2 tmpfs_t:filesystem associate; - filetrans_pattern($1, cgroup_t, $2, $3, $4) -') |