diff options
author | Bastian Germann <bastiangermann@fishpost.de> | 2020-09-26 21:32:55 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2020-09-29 10:13:24 +0200 |
commit | 168e2ffbcd8c8cf20711be36059bfcf999a95012 (patch) | |
tree | 11e8f505fc18344e1a2e45d2534c5164cb73a841 /lib/mm | |
parent | fb96e9ab217641ec3a967d9aa2be01fc936ee038 (diff) | |
download | lvm2-168e2ffbcd8c8cf20711be36059bfcf999a95012.tar.gz |
lvm: add readline alternative editline
LVM2 is distributed under GPLv2 only. The readline library changed its
license long ago to GPLv3. Given that those licenses are incompatible
and you follow the FSF in their interpretation that dynamically linking
creates a derivative work, distributing LVM2 linked against a current
readline version might be legally problematic.
Add support for the BSD licensed editline library as an alternative for
readline.
Link: https://thrysoee.dk/editline
Diffstat (limited to 'lib/mm')
-rw-r--r-- | lib/mm/memlock.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mm/memlock.c b/lib/mm/memlock.c index b06bbc82c..883795d28 100644 --- a/lib/mm/memlock.c +++ b/lib/mm/memlock.c @@ -122,6 +122,7 @@ static const char * const _blacklist_maps[] = { "/libpcre.so.", /* not using pcre during mlock (selinux) */ "/libpcre2-", /* not using pcre during mlock (selinux) */ "/libreadline.so.", /* not using readline during mlock */ + "/libedit.so.", /* not using editline during mlock */ "/libresolv-", /* not using during mlock (udev) */ "/libselinux.so.", /* not using selinux during mlock */ "/libsepol.so.", /* not using sepol during mlock */ |