diff --git a/lib/mm/memlock.c b/lib/mm/memlock.c index 153ae1790..5382b69f7 100644 --- a/lib/mm/memlock.c +++ b/lib/mm/memlock.c @@ -82,27 +82,27 @@ static int _default_priority; /* list of maps, that are unconditionaly ignored */ static const char * const _ignore_maps[] = { - "[vdso]", - "[vsyscall]", - "[vectors]", + "[vdso]", + "[vsyscall]", + "[vectors]", }; /* default blacklist for maps */ static const char * const _blacklist_maps[] = { - "locale/locale-archive", - "/LC_MESSAGES/", - "gconv/gconv-modules.cache", - "/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" */ + "locale/locale-archive", + "/LC_MESSAGES/", + "gconv/gconv-modules.cache", + "/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" */ }; typedef enum { LVM_MLOCK, LVM_MUNLOCK } lvmlock_t;