Set CAP_IPC_LOCK capability if possible
As done in upstream 8a1904d7 about MDEV-33301, set the capability CAP_IPC_LOCK when possible to facilitate the mmaping of huge memory pages (see man mmap), like MariaDB uses with --large-pages.
As done in upstream 8a1904d7 about MDEV-33301, set the capability CAP_IPC_LOCK when possible to facilitate the mmaping of huge memory pages (see man mmap), like MariaDB uses with --large-pages.