1
0
Fork 0
remarkable-linux/ipc
Pierre Peiffer 4b9fcb0ec6 IPC/semaphores: consolidate SEM_STAT and IPC_STAT commands
These commands (SEM_STAT and IPC_STAT) are rather doing the same things
(only the meaning of the id given as input and the return value differ).
However, for the semaphores, they are handled in two different places (two
different functions).

This patch consolidates this for clarification by handling these both
commands in the same place in semctl_nolock().  It also removes one unused
parameter for this function.

Signed-off-by: Pierre Peiffer <pierre.peiffer@bull.net>
Cc: Nadia Derbey <Nadia.Derbey@bull.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-08 09:22:26 -08:00
..
Makefile namespaces: move the IPC namespace under IPC_NS option 2008-02-08 09:22:23 -08:00
compat.c fix logic error in ipc compat semctl() 2007-07-06 10:23:43 -07:00
compat_mq.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ipc_sysctl.c namespaces: move the IPC namespace under IPC_NS option 2008-02-08 09:22:23 -08:00
mqueue.c ipc: lost unlock and fput in mqueue.c on error path 2007-11-29 09:24:52 -08:00
msg.c namespaces: move the IPC namespace under IPC_NS option 2008-02-08 09:22:23 -08:00
msgutil.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
namespace.c namespaces: move the IPC namespace under IPC_NS option 2008-02-08 09:22:23 -08:00
sem.c IPC/semaphores: consolidate SEM_STAT and IPC_STAT commands 2008-02-08 09:22:26 -08:00
shm.c namespaces: move the IPC namespace under IPC_NS option 2008-02-08 09:22:23 -08:00
util.c ipc: uninline some code from util.h 2008-02-08 09:22:25 -08:00
util.h ipc: uninline some code from util.h 2008-02-08 09:22:25 -08:00