1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-22 06:50:52 +03:00

memlock: skip locking unused libs

Skip memlocking libraries unused in critical section.
This commit is contained in:
Zdenek Kabelac 2025-01-09 14:16:32 +01:00
parent a4bf6667f8
commit 8cbd417e7a

View File

@ -127,6 +127,10 @@ static const char * const _blacklist_maps[] = {
"/libuuid.so.", /* not using uuid during mlock (blkid) */
"/libz.so.", /* not using during mlock (udev) */
"/libzstd.so.", /* not using zstd during mlock (systemd) */
"/libjson-c.so.", /* not using json during mlock (systemd) */
"/libkeyutils.so.", /* not using keyutils during mlock (systemd) */
"/libcrypto.so.", /* not using crypto during mlock (systemd) */
"/libnvme.so.", /* not using nvme during mlock */
"/etc/selinux", /* not using selinux during mlock */
/* "/libdevmapper-event.so" */
};