]> 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 21:08:26 +0000 (16:08 -0500)
commit8d2ede581f8ddf84f176ebf73d52b66771a1d91b
treecc332eccce666f6435ffc27c0ade4268e0c07eb0
parentc1fd648dd85fd254e31bb8d3503cb6b7009cfcfc
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