Eric W. Biederman
3e7cd6c413
[PATCH] pid: replace is_orphaned_pgrp with is_current_pgrp_orphaned
...
Every call to is_orphaned_pgrp passed in process_group(current) which is racy
with respect to another thread changing our process group. It didn't bite us
because we were dealing with integers and the worse we would get would be a
stale answer.
In switching the checks to use struct pid to be a little more efficient and
prepare the way for pid namespaces this race became apparent.
So I simplified the calls to the more specialized is_current_pgrp_orphaned so
I didn't have to worry about making logic changes to avoid the race.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-12 09:48:32 -08:00
..
acpi
asm-alpha
[PATCH] consolidate line discipline number definitions
2007-02-11 10:51:26 -08:00
asm-arm
[PATCH] SPI: Freescale iMX SPI controller driver (BIS+)
2007-02-12 09:48:30 -08:00
asm-arm26
[PATCH] fix sparse warnings from {asm,net}/checksum.h
2007-02-11 10:51:31 -08:00
asm-avr32
[PATCH] consolidate line discipline number definitions
2007-02-11 10:51:26 -08:00
asm-cris
[PATCH] consolidate line discipline number definitions
2007-02-11 10:51:26 -08:00
asm-frv
[PATCH] consolidate line discipline number definitions
2007-02-11 10:51:26 -08:00
asm-generic
[PATCH] one more iomap s390 build fix
2007-02-11 20:06:39 -08:00
asm-h8300
[PATCH] consolidate line discipline number definitions
2007-02-11 10:51:26 -08:00
asm-i386
[PATCH] Numerous fixes to kernel-doc info in source files.
2007-02-11 10:51:32 -08:00
asm-ia64
[PATCH] consolidate line discipline number definitions
2007-02-11 10:51:26 -08:00
asm-m32r
[PATCH] fix sparse warnings from {asm,net}/checksum.h
2007-02-11 10:51:31 -08:00
asm-m68k
[PATCH] consolidate line discipline number definitions
2007-02-11 10:51:26 -08:00
asm-m68knommu
[PATCH] m68knommu: removed include of system.h from bitops
2007-02-09 10:45:33 -08:00
asm-mips
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
2007-02-11 11:40:04 -08:00
asm-parisc
[PATCH] consolidate line discipline number definitions
2007-02-11 10:51:26 -08:00
asm-powerpc
[PATCH] consolidate line discipline number definitions
2007-02-11 10:51:26 -08:00
asm-ppc
[PATCH] kill eth_io_copy_and_sum()
2007-02-09 09:14:07 -08:00
asm-s390
[PATCH] Switch s390 to NO_IOMEM
2007-02-11 11:18:07 -08:00
asm-sh
[PATCH] consolidate line discipline number definitions
2007-02-11 10:51:26 -08:00
asm-sh64
[PATCH] consolidate line discipline number definitions
2007-02-11 10:51:26 -08:00
asm-sparc
[PATCH] add missing io...._rep() on sparc32
2007-02-11 11:18:07 -08:00
asm-sparc64
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
2007-02-11 11:37:45 -08:00
asm-um
[PATCH] uml: x86_64 ptrace fixes
2007-02-11 10:51:24 -08:00
asm-v850
[PATCH] consolidate line discipline number definitions
2007-02-11 10:51:26 -08:00
asm-x86_64
[PATCH] fix sparse warnings from {asm,net}/checksum.h
2007-02-11 10:51:31 -08:00
asm-xtensa
[PATCH] consolidate line discipline number definitions
2007-02-11 10:51:26 -08:00
crypto
keys
linux
[PATCH] pid: replace is_orphaned_pgrp with is_current_pgrp_orphaned
2007-02-12 09:48:32 -08:00
math-emu
media
mtd
net
[NET]: Reorder fields of struct dst_entry
2007-02-10 23:20:45 -08:00
pcmcia
rdma
rxrpc
scsi
Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
2007-02-11 11:44:25 -08:00
sound
[PATCH] Fix breakage with CONFIG_SYSFS_DEPRECATED
2007-02-09 16:25:48 +01:00
video
Kbuild