Re: [lxc-devel] [PATCH] define PR_SET_MM_MAP & friends if necessary

2015-11-06 Thread Stéphane Graber
On Fri, Nov 06, 2015 at 01:50:33PM -0700, Tycho Andersen wrote: > 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

[lxc-devel] [PATCH] define PR_SET_MM_MAP & friends if necessary

2015-11-06 Thread Tycho Andersen
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