diff --git a/policy/modules/system/libraries.te b/policy/modules/system/libraries.te index 185a7d1..b395b28 100644 --- a/policy/modules/system/libraries.te +++ b/policy/modules/system/libraries.te @@ -1,5 +1,5 @@ -policy_module(libraries, 2.4.1) +policy_module(libraries, 2.4.2) ######################################## # @@ -42,6 +42,12 @@ files_type(lib_t) type textrel_shlib_t alias texrel_shlib_t; files_type(textrel_shlib_t) +ifdef(`distro_gentoo',` + # openrc unfortunately mounts a tmpfs + # at /lib/rc/ + files_mountpoint(lib_t) +') + optional_policy(` postgresql_loadable_module(lib_t) postgresql_loadable_module(textrel_shlib_t)