diff --git a/WHATS_NEW b/WHATS_NEW index e7e74edd8..4a35b7e41 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.107 - ================================== + Skip more libraries to be mlocked in memory. Remove LOCKED flag for pvmove replaced with error target. Return invalid command when specifying negative polling interval. diff --git a/lib/mm/memlock.c b/lib/mm/memlock.c index e626a6ab9..153ae1790 100644 --- a/lib/mm/memlock.c +++ b/lib/mm/memlock.c @@ -92,9 +92,15 @@ static const char * const _blacklist_maps[] = { "locale/locale-archive", "/LC_MESSAGES/", "gconv/gconv-modules.cache", - "/libreadline.so.", /* not using readline during mlock */ + "/libblkid.so.", /* not using lzma during mlock (selinux) */ + "/liblzma.so.", /* not using lzma during mlock (selinux) */ "/libncurses.so.", /* not using ncurses during mlock */ + "/libpcre.so.", /* not using pcre during mlock (selinux) */ + "/libreadline.so.", /* not using readline during mlock */ + "/libselinux.so.", /* not using selinux during mlock */ + "/libsepol.so.", /* not using sepol during mlock */ "/libtinfo.so.", /* not using tinfo during mlock */ + "/libuuid.so.", /* not using uuid during mlock (blkid) */ "/libdl-", /* not using dlopen,dlsym during mlock */ /* "/libdevmapper-event.so" */ };