[selinux-policy: 938/3172] correct shlib_t alias
Daniel J Walsh
dwalsh at fedoraproject.org
Thu Oct 7 20:26:07 UTC 2010
commit 33faf59e07e90ba4b3e6fcc0da4b68d18ab4eaeb
Author: Chris PeBenito <cpebenito at tresys.com>
Date: Wed Nov 9 20:48:20 2005 +0000
correct shlib_t alias
refpolicy/policy/modules/system/libraries.te | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/refpolicy/policy/modules/system/libraries.te b/refpolicy/policy/modules/system/libraries.te
index 3ff19d7..b0ab6c1 100644
--- a/refpolicy/policy/modules/system/libraries.te
+++ b/refpolicy/policy/modules/system/libraries.te
@@ -28,14 +28,17 @@ files_type(lib_t)
# shlib_t is the type of shared objects in the system lib
# directories.
#
-type shlib_t;
-files_type(shlib_t)
+ifdef(`targeted_policy',`
+ typealias lib_t alias shlib_t;
+',`
+ type shlib_t;
+ files_type(shlib_t)
+')
#
# texrel_shlib_t is the type of shared objects in the system lib
# directories, which require text relocation.
#
-
ifdef(`targeted_policy',`
typealias lib_t alias texrel_shlib_t;
',`
More information about the scm-commits
mailing list