groups: move code to kernel/groups.c
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 16 Jun 2009 22:33:40 +0000 (15:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jun 2009 02:47:48 +0000 (19:47 -0700)
commit30639b6af85a92491b22dd14c17b14ca11da60e6
treef21c4dd631da5b8750678958b29947d4d0e90cb0
parent8b0b1db0133e4218a9b45c09e53793c039edebe1
groups: move code to kernel/groups.c

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@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/Makefile
kernel/groups.c [new file with mode: 0644]
kernel/sys.c