]> git.ipfire.org Git - thirdparty/lxc.git/commit
define PR_SET_MM_MAP & friends if necessary
authorTycho Andersen <tycho.andersen@canonical.com>
Fri, 6 Nov 2015 20:50:33 +0000 (13:50 -0700)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 6 Nov 2015 22:15:31 +0000 (17:15 -0500)
commit5ce1db75fd406a67a98e69024d7478f1e58c2b10
treea3e61a5c1536a90792aa4fdb63068a73b007c5cb
parentad60725eeac68317e9ab28ea5d0d5d7fd90e2f4c
define PR_SET_MM_MAP & friends if necessary

PR_SET_MM_MAP only went in to the kernel at 3.18 (or 3.19), so we need to
define these for kernels before then. If there was an error, the code
simply logs the failure and continues on.

Also, we can drop the PR_SET_MM_otherstuff contstants since those were
dropped in 93525c00c76b2804c46cf3c275d610ebe71cb4be.

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/utils.c