[PATCH] add process_session() helper routine
authorCedric Le Goater <clg@fr.ibm.com>
Fri, 8 Dec 2006 10:37:54 +0000 (02:37 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:51 +0000 (08:28 -0800)
commit937949d9edbf4049bd41af6c9f92c26280584564
treed0a28f503b082f890cfa1f7fe952fda8fc771752
parentef55d53caa055aedee13e77da82740987dd64f2d
[PATCH] add process_session() helper routine

Replace occurences of task->signal->session by a new process_session() helper
routine.

It will be useful for pid namespaces to abstract the session pid number.

Signed-off-by: Cedric Le Goater <clg@fr.ibm.com>
Cc: Kirill Korotaev <dev@openvz.org>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Cc: Herbert Poetzl <herbert@13thfloor.at>
Cc: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/mips/kernel/irixelf.c
drivers/char/mxser.c
drivers/char/rocket.c
drivers/char/tty_io.c
fs/binfmt_elf.c
fs/binfmt_elf_fdpic.c
include/linux/sched.h
kernel/exit.c
kernel/fork.c
kernel/signal.c
kernel/sys.c