ipc: unify the syscalls code
authorNadia Derbey <Nadia.Derbey@bull.net>
Fri, 19 Oct 2007 06:40:49 +0000 (23:40 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 19 Oct 2007 18:53:44 +0000 (11:53 -0700)
commit7748dbfaa010b12d5fb9ddf80199534c565c6bce
treec6756de4007c29fdcb405d54173a4322d48ff631
parent7ca7e564e049d8b350ec9d958ff25eaa24226352
ipc: unify the syscalls code

This patch introduces a change into the sys_msgget(), sys_semget() and
sys_shmget() routines: they now share a common code, which is better for
maintainability.

Signed-off-by: Nadia Derbey <Nadia.Derbey@bull.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/msg.c
ipc/sem.c
ipc/shm.c
ipc/util.c
ipc/util.h