From 33faf59e07e90ba4b3e6fcc0da4b68d18ab4eaeb Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Wed, 9 Nov 2005 20:48:20 +0000 Subject: [PATCH] correct shlib_t alias --- refpolicy/policy/modules/system/libraries.te | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/refpolicy/policy/modules/system/libraries.te b/refpolicy/policy/modules/system/libraries.te index 3ff19d70..b0ab6c10 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; ',`