Quoting Alexey Dobriyan (adobriyan@xxxxxxxxx): > Move supplementary groups implementation to kernel/groups.c . > kernel/sys.c already accumulated quite a few random stuff. > > Do strictly copy/paste + add required headers to compile. > Compile-tested on many configs and archs. > > Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx> Actually I needed the following change: >From 81e683ae07cfe24d98d6df384bbd37f1f7f80c38 Mon Sep 17 00:00:00 2001 From: Serge E. Hallyn <serue@xxxxxxxxxx> Date: Tue, 26 May 2009 10:39:47 -0400 Subject: [PATCH 1/1] groups: allow compilation on s390x Signed-off-by: Serge E. Hallyn <serue@xxxxxxxxxx> --- kernel/groups.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/kernel/groups.c b/kernel/groups.c index 1b95b2f..14ebc6a 100644 --- a/kernel/groups.c +++ b/kernel/groups.c @@ -1,6 +1,7 @@ /* * Supplementary group IDs */ +#include <linux/init.h> #include <linux/cred.h> #include <linux/module.h> #include <linux/slab.h> -- 1.6.1 _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers