1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

memlock: add more libs on ignore list

Udev recently start to 'link-in' major amount of useless libs.
(Seem to be faulty 'systemd' link-in all issue)
Anyway - avoid locking those libs in RAM.
This commit is contained in:
Zdenek Kabelac 2015-11-22 00:26:06 +01:00
parent 6ca5447e0c
commit 15be97d76b
2 changed files with 9 additions and 0 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.136 - Version 2.02.136 -
===================================== =====================================
Extend the list of ignored libraries when locking memory.
Version 2.02.135 - 23rd November 2015 Version 2.02.135 - 23rd November 2015
===================================== =====================================

View File

@ -97,17 +97,25 @@ static const char * const _blacklist_maps[] = {
"locale/locale-archive", "locale/locale-archive",
"/LC_MESSAGES/", "/LC_MESSAGES/",
"gconv/gconv-modules.cache", "gconv/gconv-modules.cache",
"/ld-2.", /* not using dlopen,dlsym during mlock */
"/libattr.so.", /* not using during mlock (udev) */
"/libblkid.so.", /* not using lzma during mlock (selinux) */ "/libblkid.so.", /* not using lzma during mlock (selinux) */
"/libbz2.so.", /* not using during mlock (udev) */
"/libcap.so.", /* not using during mlock (udev) */
"/libdw-", /* not using during mlock (udev) */
"/libelf-", /* not using during mlock (udev) */
"/liblzma.so.", /* not using lzma during mlock (selinux) */ "/liblzma.so.", /* not using lzma during mlock (selinux) */
"/libncurses.so.", /* not using ncurses during mlock */ "/libncurses.so.", /* not using ncurses during mlock */
"/libpcre.so.", /* not using pcre during mlock (selinux) */ "/libpcre.so.", /* not using pcre during mlock (selinux) */
"/libreadline.so.", /* not using readline during mlock */ "/libreadline.so.", /* not using readline during mlock */
"/libresolv-", /* not using during mlock (udev) */
"/libselinux.so.", /* not using selinux during mlock */ "/libselinux.so.", /* not using selinux during mlock */
"/libsepol.so.", /* not using sepol during mlock */ "/libsepol.so.", /* not using sepol during mlock */
"/libtinfo.so.", /* not using tinfo during mlock */ "/libtinfo.so.", /* not using tinfo during mlock */
"/libudev.so.", /* not using udev during mlock */ "/libudev.so.", /* not using udev during mlock */
"/libuuid.so.", /* not using uuid during mlock (blkid) */ "/libuuid.so.", /* not using uuid during mlock (blkid) */
"/libdl-", /* not using dlopen,dlsym during mlock */ "/libdl-", /* not using dlopen,dlsym during mlock */
"/libz.so.", /* not using during mlock (udev) */
"/etc/selinux", /* not using selinux during mlock */ "/etc/selinux", /* not using selinux during mlock */
/* "/libdevmapper-event.so" */ /* "/libdevmapper-event.so" */
}; };