83
83
/* list of maps, that are unconditionaly ignored */
84
84
static const char * const _ignore_maps[] = {
90
90
/* default blacklist for maps */
91
91
static const char * const _blacklist_maps[] = {
92
"locale/locale-archive",
94
"gconv/gconv-modules.cache",
95
"/libreadline.so.", /* not using readline during mlock */
96
"/libncurses.so.", /* not using ncurses during mlock */
97
"/libtinfo.so.", /* not using tinfo during mlock */
98
"/libdl-", /* not using dlopen,dlsym during mlock */
99
/* "/libdevmapper-event.so" */
92
"locale/locale-archive",
94
"gconv/gconv-modules.cache",
95
"/libblkid.so.", /* not using lzma during mlock (selinux) */
96
"/liblzma.so.", /* not using lzma during mlock (selinux) */
97
"/libncurses.so.", /* not using ncurses during mlock */
98
"/libpcre.so.", /* not using pcre during mlock (selinux) */
99
"/libreadline.so.", /* not using readline during mlock */
100
"/libselinux.so.", /* not using selinux during mlock */
101
"/libsepol.so.", /* not using sepol during mlock */
102
"/libtinfo.so.", /* not using tinfo during mlock */
103
"/libudev.so.", /* not using udev during mlock */
104
"/libuuid.so.", /* not using uuid during mlock (blkid) */
105
"/libdl-", /* not using dlopen,dlsym during mlock */
106
"/etc/selinux", /* not using selinux during mlock */
107
/* "/libdevmapper-event.so" */
102
110
typedef enum { LVM_MLOCK, LVM_MUNLOCK } lvmlock_t;
411
419
* entering the critical section all needed profiles are
412
420
* loaded to avoid the disk access later.
414
load_pending_profiles(cmd);
422
(void) load_pending_profiles(cmd);
416
424
if (!_critical_section) {
417
425
_critical_section = 1;