android_kernel_motorola_sm6225/include
Pavel Emelyanov 9a2e70572e Isolate the explicit usage of signal->pgrp
The pgrp field is not used widely around the kernel so it is now marked as
deprecated with appropriate comment.

The initialization of INIT_SIGNALS is trimmed because
a) they are set to 0 automatically;
b) gcc cannot properly initialize two anonymous (the second one
   is the one with the session) unions. In this particular case
   to make it compile we'd have to add some field initialized
   right before the .pgrp.

This is the same patch as the 1ec320afdc one
(from Cedric), but for the pgrp field.

Some progress report:

We have to deprecate the pid, tgid, session and pgrp fields on struct
task_struct and struct signal_struct.  The session and pgrp are already
deprecated.  The tgid value is close to being such - the worst known usage
in in fs/locks.c and audit code.  The pid field deprecation is mainly
blocked by numerous printk-s around the kernel that print the tsk->pid to
log.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Cc: Cedric Le Goater <clg@fr.ibm.com>
Cc: Serge Hallyn <serue@us.ibm.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Herbert Poetzl <herbert@13thfloor.at>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-19 11:53:43 -07:00
..
acpi ACPI: CONFIG_ACPI_SLEEP=n power off regression in 2.6.23-rc8 (NOT in rc7) 2007-09-25 17:58:52 -04:00
asm-alpha forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-arm define global BIT macro 2007-10-19 11:53:42 -07:00
asm-arm26 softlockup: make asm/irq_regs.h available on every platform 2007-10-17 08:42:47 -07:00
asm-avr32 forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-blackfin forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-cris forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-frv forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-generic define first set of BIT* macros 2007-10-19 11:53:42 -07:00
asm-h8300 forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-ia64 forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-m32r forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-m68k forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-m68knommu forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-mips define global BIT macro 2007-10-19 11:53:42 -07:00
asm-parisc forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-powerpc forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-ppc remove asm/bitops.h includes 2007-10-19 11:53:41 -07:00
asm-s390 forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-sh forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-sh64 forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-sparc forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-sparc64 forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-um forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-v850 forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-x86 forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-xtensa forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
crypto [CRYPTO] sha: Add header file for SHA definitions 2007-10-10 16:55:50 -07:00
keys KEYS: Make request_key() and co fundamentally asynchronous 2007-10-17 08:42:57 -07:00
linux Isolate the explicit usage of signal->pgrp 2007-10-19 11:53:43 -07:00
math-emu Fix <math-emu/soft-fp.h> tpyo 2007-08-18 17:15:17 -07:00
media v4l: copy_to_user() is not a good method name 2007-10-13 09:58:59 -07:00
mtd
net pid namespaces: changes to show virtual ids to user 2007-10-19 11:53:40 -07:00
pcmcia pcmcia: use DMA_MASK_NONE for the default for all pcmcia devices 2007-10-16 09:42:50 -07:00
rdma IB/cm: Modify interface to send MRAs in response to duplicate messages 2007-10-09 19:59:17 -07:00
rxrpc
scsi do not export /usr/include/scsi in make headers_install 2007-10-17 08:42:52 -07:00
sound [ALSA] version 1.0.15 2007-10-16 16:57:46 +02:00
video define global BIT macro 2007-10-19 11:53:42 -07:00
xen xen: fix incorrect vcpu_register_vcpu_info hypercall argument 2007-10-16 11:51:31 -07:00
Kbuild do not export /usr/include/scsi in make headers_install 2007-10-17 08:42:52 -07:00