linux/include/linux
Oleg Nesterov 0347e17739 ptrace: ptrace_reparented() should check same_thread_group()
ptrace_reparented() naively does parent != real_parent, this means
it returns true even if the tracer _is_ the real parent. This is per
process thing, not per-thread. The only reason ->real_parent can
point to the non-leader thread is that we have __WNOTHREAD.

Change it to check !same_thread_group(parent, real_parent).

It has two callers, and in both cases the current check does not
look right.

exit_notify: we should respect ->exit_signal if the exiting leader
is traced by any thread from the parent thread group. It is the
child of the whole group, and we are going to send the signal to
the whole group.

wait_task_zombie: without __WNOTHREAD do_wait() should do the same
for any thread, only sys_ptrace() is "bound" to the single thread.
However do_wait(WEXITED) succeeds but does not release a traced
natural child unless the caller is the tracer.

Test-case:

	void *tfunc(void *arg)
	{
		assert(ptrace(PTRACE_ATTACH, (long)arg, 0,0) == 0);
		pause();
		return NULL;
	}

	int main(void)
	{
		pthread_t thr;
		pid_t pid, stat, ret;

		pid = fork();
		if (!pid) {
			pause();
			assert(0);
		}

		assert(pthread_create(&thr, NULL, tfunc, (void*)(long)pid) == 0);

		assert(waitpid(-1, &stat, 0) == pid);
		assert(WIFSTOPPED(stat));

		kill(pid, SIGKILL);

		assert(waitpid(-1, &stat, 0) == pid);
		assert(WIFSIGNALED(stat) && WTERMSIG(stat) == SIGKILL);

		ret = waitpid(pid, &stat, 0);
		if (ret < 0)
			return 0;

		printf("WTF? %d is dead, but: wait=%d stat=%x\n",
				pid, ret, stat);

		return 1;
	}

Note that the main thread simply does

	pid = fork();
	kill(pid, SIGKILL);

and then without the patch wait4(WEXITED) succeeds twice and reports
WTERMSIG(stat) == SIGKILL.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Tejun Heo <tj@kernel.org>
2011-06-27 20:30:10 +02:00
..
amba
bcma bcma: add missing GPIO defines, use PULL register only when available 2011-05-11 14:50:41 -04:00
byteorder
caif
can
ceph ceph: use LOOKUPINO to make unconnected nfs fh more reliable 2011-05-24 11:52:05 -07:00
crush
decompress
dvb [media] DVB: Add basic API support for DVB-T2 and bump minor version 2011-05-20 18:51:09 -03:00
hdlc
i2c mfd: Fix twl6030 irq definitions 2011-05-26 19:45:40 +02:00
input input: Add support for Qualcomm PMIC8XXX power key 2011-05-26 19:45:54 +02:00
isdn
lockd
mfd TPS65911: Comparator: Add comparator driver 2011-05-27 10:49:29 +01:00
mlx4
mmc Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc 2011-05-25 16:55:55 -07:00
mtd mtd: fix physmap.h warnings 2011-06-01 11:36:49 +01:00
netfilter netfilter: ipset: remove unused variable from type_pf_tdel() 2011-05-26 19:08:05 +02:00
netfilter_arp
netfilter_bridge
netfilter_ipv4
netfilter_ipv6
nfc
nfsd
platform_data
power
raid
regulator regulator: Support voltage offsets to compensate for drops in system 2011-05-27 10:34:37 +01:00
rtc
spi Merge branch 'spi/next' of git://git.secretlab.ca/git/linux-2.6 2011-05-26 12:13:22 -07:00
ssb Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2011-05-20 13:43:21 -07:00
sunrpc Merge branch 'pnfs-submit' of git://git.open-osd.org/linux-open-osd 2011-05-29 14:10:13 -07:00
tc_act
tc_ematch
unaligned
usb Merge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 2011-05-23 12:33:02 -07:00
uwb
wimax
8250_pci.h
Kbuild Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc 2011-05-25 16:55:55 -07:00
a.out.h
ac97_codec.h
acct.h
acpi.h
acpi_io.h
acpi_pmtmr.h
adb.h
adfs_fs.h
aer.h
affs_hardblocks.h
agp_backend.h
agpgart.h
ahci_platform.h
aio.h
aio_abi.h
alarmtimer.h
altera_jtaguart.h
altera_uart.h
amifd.h
amifdreg.h
amigaffs.h
anon_inodes.h
apm-emulation.h
apm_bios.h
arcdevice.h
arcfb.h
async.h
async_tx.h
ata.h
ata_platform.h
atalk.h
ath9k_platform.h
atm.h
atm_eni.h
atm_he.h
atm_idt77105.h
atm_nicstar.h
atm_suni.h
atm_tcp.h
atm_zatm.h
atmapi.h
atmarp.h
atmbr2684.h
atmclip.h
atmdev.h
atmel-mci.h
atmel-pwm-bl.h
atmel-ssc.h
atmel_pdc.h
atmel_pwm.h
atmel_serial.h
atmel_tc.h
atmioc.h
atmlec.h
atmmpc.h
atmppp.h
atmsap.h
atmsvc.h
atomic.h atomic: Add atomic_or() 2011-05-28 17:41:46 +02:00
attribute_container.h
audit.h
auto_dev-ioctl.h
auto_fs.h
auto_fs4.h
auxvec.h
average.h
ax25.h
b1lli.h
b1pcmcia.h
backing-dev.h
backlight.h
basic_mmio_gpio.h basic_mmio_gpio: split into a gpio library and platform device 2011-05-20 00:40:19 -06:00
baycom.h
bcd.h
bch.h
bfin_mac.h
bfs_fs.h
binfmts.h
bio.h
bit_spinlock.h
bitmap.h bitmap, irq: add smp_affinity_list interface to /proc/irq 2011-05-25 08:39:45 -07:00
bitops.h arch: remove CONFIG_GENERIC_FIND_{NEXT_BIT,BIT_LE,LAST_BIT} 2011-05-26 17:12:38 -07:00
bitrev.h
blk-iopoll.h
blk_types.h block: get rid of on-stack plugging debug checks 2011-05-20 20:52:16 +02:00
blkdev.h block: remove unwanted semicolons 2011-05-31 13:45:53 +02:00
blkpg.h
blktrace_api.h
blockgroup_lock.h
bootmem.h memblock/nobootmem: allow alloc_bootmem() to take 0 as low limit 2011-05-25 08:39:30 -07:00
bottom_half.h
bpqether.h
brcmphy.h
bsearch.h lib: Add generic binary search function to the kernel. 2011-05-19 16:55:27 +09:30
bsg.h
btree-128.h
btree-type.h
btree.h
buffer_head.h vfs: Block mmapped writes while the fs is frozen 2011-05-26 07:26:45 -04:00
bug.h
c2port.h include/linux/c2port.h: remove wrong and never used macros 2011-05-25 08:39:43 -07:00
cache.h
can.h
capability.h Merge branch 'next' into for-linus 2011-05-24 22:55:24 +10:00
capi.h
cb710.h
cciss_defs.h
cciss_ioctl.h
cd1400.h
cdev.h
cdk.h
cdrom.h
cfag12864b.h
cgroup.h cgroup: remove the ns_cgroup 2011-05-26 17:12:34 -07:00
cgroup_subsys.h cgroup: remove the ns_cgroup 2011-05-26 17:12:34 -07:00
cgroupstats.h
chio.h
circ_buf.h
cleancache.h mm: cleancache core ops functions and config 2011-05-26 10:01:36 -06:00
clk.h
clkdev.h
clockchips.h clockevents: Provide interface to reconfigure an active clock event device 2011-05-19 14:24:16 +02:00
clocksource.h clocksource: add common mmio clocksource 2011-05-23 18:04:51 +01:00
cm4000_cs.h
cn_proc.h
cnt32_to_63.h
coda.h
coda_psdev.h
coff.h
com20020.h
compaction.h
compat.h compat: include aio_abi.h for aio_context_t 2011-05-24 08:55:20 -04:00
compiler-gcc.h sparse: define __must_be_array() for __CHECKER__ 2011-05-25 08:39:46 -07:00
compiler-gcc3.h
compiler-gcc4.h sparse: Undef __compiletime_{warning,error} if __CHECKER__ is defined 2011-05-25 08:39:47 -07:00
compiler-intel.h
compiler.h
completion.h
comstats.h
concap.h
configfs.h
connector.h
console.h
console_struct.h
consolemap.h
const.h
coredump.h
cper.h
cpu.h
cpu_rmap.h
cpufreq.h
cpuidle.h
cpumask.h bitmap, irq: add smp_affinity_list interface to /proc/irq 2011-05-25 08:39:45 -07:00
cpuset.h cpuset: Fix cpuset_cpus_allowed_fallback(), don't update tsk->rt.nr_cpus_allowed 2011-05-28 17:02:57 +02:00
cramfs_fs.h
cramfs_fs_sb.h
crash_dump.h fs/proc/vmcore.c: add hook to read_from_oldmem() to check for non-ram pages 2011-05-26 17:12:37 -07:00
crc-ccitt.h
crc-itu-t.h
crc-t10dif.h
crc7.h
crc16.h
crc32.h
crc32c.h
cred.h Create Documentation/security/, 2011-05-19 15:59:38 -07:00
crypto.h
cryptohash.h
cs5535.h
ctype.h
cuda.h
cyclades.h
cyclomx.h
cycx_cfm.h
cycx_drv.h
cycx_x25.h
davinci_emac.h
dca.h
dcache.h
dcbnl.h
dccp.h
dcookies.h
debug_locks.h
debugfs.h
debugobjects.h
delay.h
delayacct.h
device-mapper.h dm table: allow targets to support discards internally 2011-05-29 12:52:55 +01:00
device.h Merge branch 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6 2011-05-19 18:24:11 -07:00
device_cgroup.h
devpts_fs.h
dio.h
dirent.h
display.h
dlm.h
dlm_device.h
dlm_netlink.h
dlm_plock.h dlm: make plock operation killable 2011-05-23 10:47:06 -05:00
dlmconstants.h
dm-dirty-log.h
dm-io.h dm io: use fixed initial mempool size 2011-05-29 13:03:09 +01:00
dm-ioctl.h
dm-kcopyd.h dm kcopyd: return client directly and not through a pointer 2011-05-29 13:03:13 +01:00
dm-log-userspace.h
dm-region-hash.h
dm9000.h
dma-attrs.h
dma-debug.h
dma-mapping.h
dma_remapping.h intel-iommu: Enable super page (2MiB, 1GiB, etc.) support 2011-06-01 12:26:35 +01:00
dmaengine.h
dmapool.h
dmar.h
dmi.h
dn.h
dnotify.h
dns_resolver.h
dqblk_qtree.h
dqblk_v1.h
dqblk_v2.h
dqblk_xfs.h
drbd.h drbd: Fix spelling 2011-05-24 10:21:29 +02:00
drbd_limits.h
drbd_nl.h
drbd_tag_magic.h drbd: Fix spelling 2011-05-24 10:21:29 +02:00
ds1286.h
ds2782_battery.h
ds17287rtc.h
dtlk.h
dw_dmac.h dmaengine/dw_dmac: Update maintainer-ship 2011-05-25 18:30:37 +05:30
dynamic_debug.h
edac.h
edac_mce.h
edd.h
eeprom_93cx6.h
efi.h x86, efi: Retain boot service code until after switching to virtual mode 2011-05-25 17:03:53 -07:00
efs_fs_sb.h
efs_vh.h
eisa.h
elevator.h
elf-em.h
elf-fdpic.h
elf.h ARM: 6882/1: ELF: Define new core note type for VFP registers 2011-05-14 21:36:55 +01:00
elfcore-compat.h
elfcore.h
elfnote.h
enclosure.h
err.h
errno.h
errqueue.h
etherdevice.h
ethtool.h ethtool: Added support for FW dump 2011-05-13 14:37:28 -04:00
eventfd.h
eventpoll.h
exportfs.h
ext2_fs.h
ext2_fs_sb.h
ext3_fs.h fs: pass exact type of data dirties to ->dirty_inode 2011-05-27 07:04:40 -04:00
ext3_fs_i.h
ext3_fs_sb.h
ext3_jbd.h
f75375s.h
fadvise.h
falloc.h
fanotify.h
fault-inject.h
fb.h fbcon: add lifetime refcount to opened frame buffers 2011-05-12 07:37:51 -07:00
fcdevice.h
fcntl.h
fd.h
fddidevice.h
fdreg.h
fdtable.h
fec.h
fib_rules.h
fiemap.h
file.h
filter.h net: filter: move forward declarations to avoid compile warnings 2011-05-22 21:01:22 -04:00
fips.h
firewire-cdev.h
firewire-constants.h
firewire.h firewire: sbp2: parallelize login, reconnect, logout 2011-05-10 22:53:46 +02:00
firmware-map.h
firmware.h
flat.h
flex_array.h flex_array: avoid divisions when accessing elements 2011-05-26 17:12:33 -07:00
font.h
freezer.h
fs.h Cache xattr security drop check for write v2 2011-05-28 12:02:09 -04:00
fs_enet_pd.h
fs_stack.h
fs_struct.h
fs_uart_pd.h
fscache-cache.h fscache: remove dead code under CONFIG_WORKQUEUE_DEBUGFS 2011-05-25 08:39:44 -07:00
fscache.h
fsl-diu-fb.h
fsl_devices.h
fsnotify.h
fsnotify_backend.h
ftrace.h ftrace: Modify ftrace_set_filter/notrace to take ops 2011-05-18 19:22:52 -04:00
ftrace_event.h tracing: Add __print_symbolic_u64 to avoid warnings on 32bit machine 2011-05-25 22:13:44 -04:00
ftrace_irq.h
fuse.h
futex.h
gameport.h
gcd.h
gen_stats.h
genalloc.h lib/genalloc.c: add support for specifying the physical address 2011-05-25 08:39:54 -07:00
generic_acl.h
generic_serial.h
genetlink.h
genhd.h Revert "block: Remove extra discard_alignment from hd_struct." 2011-05-30 07:42:51 +02:00
getcpu.h
gfp.h include/linux/gfp.h: convert BUG_ON() into VM_BUG_ON() 2011-05-25 08:39:11 -07:00
gfs2_ondisk.h
gigaset_dev.h
gpio-fan.h
gpio-i2cmux.h
gpio.h gpio: make gpio_{request,free}_array gpio array parameter const 2011-05-27 17:56:45 -06:00
gpio_keys.h
gpio_mouse.h
gsmmux.h
hardirq.h
hash.h
hdlc.h
hdlcdrv.h
hdreg.h
hid-debug.h
hid-roccat.h
hid.h
hiddev.h
hidraw.h
highmem.h
highuid.h
hil.h
hil_mlc.h
hippidevice.h
hp_sdc.h
hpet.h
hrtimer.h hrtimers: Reorder clock bases 2011-05-23 13:59:54 +02:00
htcpld.h
htirq.h
huge_mm.h mm: convert anon_vma->lock to a mutex 2011-05-25 08:39:19 -07:00
hugetlb.h Fix build with !HUGETLBFS 2011-05-26 12:03:50 -07:00
hugetlb_inline.h mm: don't access vm_flags as 'int' 2011-05-26 09:20:31 -07:00
hw_breakpoint.h
hw_random.h
hwmon-sysfs.h
hwmon-vid.h
hwmon.h
hwspinlock.h
hysdn_if.h
i2c-algo-bit.h
i2c-algo-pca.h
i2c-algo-pcf.h
i2c-dev.h
i2c-gpio.h
i2c-mux.h
i2c-ocores.h
i2c-omap.h
i2c-pca-platform.h
i2c-pnx.h
i2c-pxa.h
i2c-smbus.h
i2c-tegra.h
i2c-xiic.h
i2c.h hwmon: (jc42) Change detection class 2011-05-25 20:43:32 +02:00
i2o-dev.h
i2o.h
i8k.h
i7300_idle.h
i8042.h
i82593.h
ibmtr.h
icmp.h
icmpv6.h
ide.h ide: Use linux/mutex.h 2011-05-08 16:41:45 -07:00
idr.h
ieee80211.h cfg80211: don't drop p2p probe responses 2011-06-01 14:34:01 -04:00
if.h
if_addr.h
if_addrlabel.h
if_alg.h
if_arcnet.h
if_arp.h
if_bonding.h
if_bridge.h
if_cablemodem.h
if_ec.h
if_eql.h
if_ether.h net: Kill ether_table[] declaration. 2011-05-27 13:40:54 -04:00
if_fc.h
if_fddi.h
if_frad.h
if_hippi.h
if_infiniband.h
if_link.h net: Allow setting the network namespace by fd 2011-05-10 14:36:03 -07:00
if_ltalk.h
if_macvlan.h
if_packet.h af-packet: Add flag to distinguish VID 0 from no-vlan. 2011-06-01 21:18:03 -07:00
if_phonet.h
if_plip.h
if_ppp.h
if_pppol2tp.h
if_pppox.h
if_slip.h
if_strip.h
if_tr.h
if_tun.h
if_tunnel.h
if_vlan.h net: move is_vlan_dev into public header file (v2) 2011-05-25 17:55:23 -04:00
if_x25.h
igmp.h
ihex.h
ima.h
in.h
in6.h
in_route.h
inet.h
inet_diag.h
inet_lro.h
inetdevice.h
init.h ftrace: Avoid recording mcount on .init sections directly 2011-05-16 14:46:30 -04:00
init_ohci1394_dma.h
init_task.h cgroups: read-write lock CLONE_THREAD forking per threadgroup 2011-05-26 17:12:34 -07:00
initrd.h
inotify.h
input-polldev.h
input.h
intel-iommu.h
intel_mid_dma.h
intel_pmic_gpio.h
interrupt.h rcu: move TREE_RCU from softirq to kthread 2011-05-05 23:16:54 -07:00
io-mapping.h
io.h
ioc3.h
ioc4.h
iocontext.h
ioctl.h
iommu-helper.h
iommu.h
ioport.h
ioprio.h
iova.h
ip.h
ip6_tunnel.h
ip_vs.h
ipc.h
ipc_namespace.h
ipmi.h
ipmi_msgdefs.h
ipmi_smi.h ipmi: convert to seq_file interface 2011-05-26 17:12:37 -07:00
ipsec.h
ipv6.h
ipv6_route.h
ipx.h
irda.h
irq.h
irq_cpustat.h
irq_work.h
irqdesc.h genirq: Uninline and sanity check generic_handle_irq() 2011-05-18 14:59:08 +02:00
irqflags.h
irqnr.h
irqreturn.h
isa.h
isapnp.h
iscsi_boot_sysfs.h
iscsi_ibft.h
isdn.h
isdn_divertif.h
isdn_ppp.h
isdnif.h
isicom.h
iso_fs.h
istallion.h
ivtv.h
ivtvfb.h
ixjuser.h
jbd.h
jbd2.h jbd2: Add function jbd2_trans_will_send_data_barrier() 2011-05-24 11:59:18 -04:00
jffs2.h
jhash.h
jiffies.h
journal-head.h
joystick.h
jump_label.h
jz4740-adc.h
kallsyms.h
kbd_diacr.h
kbd_kern.h
kbuild.h
kd.h
kdb.h
kdebug.h
kdev_t.h
kernel-page-flags.h
kernel.h lib: add kstrto*_from_user() 2011-05-25 08:39:52 -07:00
kernel_stat.h
kernelcapi.h
kexec.h
key-type.h
key.h Merge branch 'docs-move' of git://git.kernel.org/pub/scm/linux/kernel/git/rdunlap/linux-docs 2011-05-27 10:25:02 -07:00
keyboard.h
keyctl.h
kfifo.h
kgdb.h
khugepaged.h
klist.h
kmalloc_sizes.h
kmemcheck.h
kmemleak.h
kmod.h Merge branch 'next' into for-linus 2011-05-24 22:55:24 +10:00
kmsg_dump.h
kobj_map.h
kobject.h
kobject_ns.h
kprobes.h
kref.h
ks0108.h
ks8842.h
ksm.h
kthread.h
ktime.h
kvm.h KVM: PPC: booke: add sregs support 2011-05-22 08:47:53 -04:00
kvm_host.h Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 2011-05-23 15:39:34 -07:00
kvm_para.h
kvm_types.h
l2tp.h
lapb.h
latencytop.h
lcd.h
lcm.h
led-lm3530.h
leds-bd2802.h
leds-lp3944.h
leds-lp5521.h
leds-lp5523.h
leds-pca9532.h drivers/leds/leds-pca9532.c: add gpio capability 2011-05-25 08:39:50 -07:00
leds-regulator.h
leds.h leds: provide helper to register "leds-gpio" devices 2011-05-25 08:39:51 -07:00
leds_pwm.h
lglock.h
lguest.h
lguest_launcher.h
libata.h libata: Power off empty ports 2011-05-19 20:50:53 -04:00
libps2.h
license.h
limits.h
linkage.h x86: Get rid of asmregparm 2011-05-24 14:33:35 +02:00
linux_logo.h
lis3lv02d.h
list.h list: remove prefetching from regular list iterators 2011-05-19 14:15:29 -07:00
list_bl.h
list_nulls.h
list_sort.h
llc.h
lockdep.h lockdep, mutex: provide mutex_lock_nest_lock 2011-05-25 08:39:17 -07:00
log2.h
loop.h
lp.h
lru_cache.h lru_cache.h: fix comments referring to ts_ instead of lc_ 2011-05-24 10:01:37 +02:00
lsm_audit.h
lzo.h
m48t86.h
mISDNdsp.h
mISDNhw.h
mISDNif.h
magic.h
major.h
map_to_7segment.h
maple.h
marvell_phy.h
math64.h
matroxfb.h
max17040_battery.h
mbcache.h
mbus.h
mc6821.h
mc146818rtc.h
mca-legacy.h
mca.h
mdio-bitbang.h
mdio-gpio.h
mdio.h
media.h
memblock.h memblock: add error return when CONFIG_HAVE_MEMBLOCK is not set 2011-05-25 08:39:48 -07:00
memcontrol.h memcg: add the pagefault count into memcg stats 2011-05-26 17:12:36 -07:00
memory.h
memory_hotplug.h
mempolicy.h mm: declare mpol_to_str() when CONFIG_TMPFS=n 2011-05-25 08:39:34 -07:00
mempool.h
memstick.h
meye.h
mg_disk.h
micrel_phy.h
migrate.h
mii.h
minix_fs.h
miscdevice.h
mm.h mm: extract exe_file handling from procfs 2011-05-26 17:12:36 -07:00
mm_inline.h
mm_types.h mm: Fix boot crash in mm_alloc() 2011-05-29 11:32:28 -07:00
mman.h
mmdebug.h
mmiotrace.h
mmtimer.h
mmu_context.h
mmu_notifier.h mm: convert anon_vma->lock to a mutex 2011-05-25 08:39:19 -07:00
mmzone.h Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2011-05-27 19:51:32 -07:00
mnt_namespace.h
mod_devicetable.h bcma: add Broadcom specific AMBA bus driver 2011-05-10 15:54:54 -04:00
module.h module: Sort exported symbols 2011-05-19 16:55:27 +09:30
moduleloader.h
moduleparam.h module: reorder kparam_array to remove alignment padding on 64 bit builds 2011-05-19 16:55:25 +09:30
mount.h
mpage.h
mqueue.h
mroute.h
mroute6.h
msdos_fs.h
msg.h
msi.h
msm_mdp.h
mtio.h
mutex-debug.h
mutex.h lockdep, mutex: provide mutex_lock_nest_lock 2011-05-25 08:39:17 -07:00
mv643xx.h
mv643xx_eth.h
mv643xx_i2c.h
mxm-wmi.h mxm/wmi: add MXMX interface entry point. 2011-05-09 11:40:38 +10:00
n_r3964.h
namei.h
nbd.h
ncp.h
ncp_fs.h
ncp_mount.h
ncp_no.h
neighbour.h
net.h net: Kill ratelimit.h dependency in linux/net.h 2011-05-27 13:41:33 -04:00
net_dropmon.h
net_tstamp.h
netdevice.h macvlan: remove one synchronize_rcu() call 2011-05-20 00:33:18 -04:00
netfilter.h net: Add linux/sysctl.h includes where needed. 2011-05-27 13:40:58 -04:00
netfilter_arp.h
netfilter_bridge.h
netfilter_decnet.h
netfilter_ipv4.h
netfilter_ipv6.h
netlink.h RDMA: Add netlink infrastructure 2011-05-20 11:46:11 -07:00
netpoll.h
netrom.h
nfs.h
nfs2.h
nfs3.h
nfs4.h Merge branch 'pnfs-submit' of git://git.open-osd.org/linux-open-osd 2011-05-29 14:10:13 -07:00
nfs4_mount.h
nfs_fs.h
nfs_fs_i.h
nfs_fs_sb.h
nfs_idmap.h
nfs_iostat.h
nfs_mount.h
nfs_page.h NFSv4.1: change pg_test return type to bool 2011-05-29 20:56:54 +03:00
nfs_xdr.h pnfs: layoutreturn 2011-05-29 20:54:36 +03:00
nfsacl.h
nilfs2_fs.h nilfs2: add ioctl which limits range of segment to be allocated 2011-05-10 22:21:45 +09:00
nl80211.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2011-05-16 19:32:19 -04:00
nl802154.h
nls.h
nmi.h watchdog: Change the default timeout and configure nmi watchdog period based on watchdog_thresh 2011-05-23 11:58:59 +02:00
node.h
nodemask.h
notifier.h net: rename NETDEV_BONDING_DESLAVE to NETDEV_RELEASE 2011-05-22 21:01:19 -04:00
nsc_gpio.h
nsproxy.h cgroup: remove the ns_cgroup 2011-05-26 17:12:34 -07:00
nubus.h
numa.h
nvram.h
nwpserial.h
of.h
of_address.h
of_device.h drivercore: revert addition of of_match to struct device 2011-05-18 12:32:23 -06:00
of_fdt.h
of_gpio.h
of_i2c.h
of_irq.h
of_mdio.h
of_net.h
of_pci.h
of_pdt.h
of_platform.h
of_spi.h
omap3isp.h
omapfb.h
oom.h oom: replace PF_OOM_ORIGIN with toggling oom_score_adj 2011-05-25 08:39:10 -07:00
opp.h
oprofile.h
oxu210hp.h
padata.h
page-debug-flags.h
page-flags.h [S390] mm: fix storage key handling 2011-05-29 12:40:51 +02:00
page-isolation.h
page_cgroup.h
pageblock-flags.h
pagemap.h readahead: readahead page allocations are OK to fail 2011-05-25 08:39:25 -07:00
pagevec.h
param.h
parport.h
parport_pc.h
parser.h
pata_arasan_cf_data.h
patchkey.h
path.h
pch_dma.h
pci-acpi.h
pci-aspm.h PCI/e1000e: Add and use pci_disable_link_state_locked() 2011-05-21 12:16:44 -07:00
pci-ats.h
pci-dma.h
pci.h Merge branch 'drm-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 2011-05-24 12:06:40 -07:00
pci_hotplug.h
pci_ids.h Intel xhci: Add PCI id for Panther Point xHCI host. 2011-05-26 16:24:48 -07:00
pci_regs.h PCI: add latency tolerance reporting enable/disable support 2011-05-11 15:18:53 -07:00
pcieport_if.h
pda_power.h
percpu-defs.h
percpu.h
percpu_counter.h percpu_counter: change return value and add comments 2011-05-25 08:39:54 -07:00
perf_event.h Merge branch 'perf/stat' into perf/core 2011-05-06 21:07:38 +02:00
personality.h
pfkeyv2.h
pfn.h
pg.h
phantom.h
phonedev.h
phonet.h
phy.h
phy_fixed.h
pid.h pid: fix typo in function description 2011-05-26 17:12:37 -07:00
pid_namespace.h
pim.h
pipe_fs_i.h
pkt_cls.h
pkt_sched.h
pktcdvd.h
platform_device.h PM: Revert "driver core: platform_bus: allow runtime override of dev_pm_ops" 2011-05-16 20:17:47 +02:00
plist.h
pm.h PM: Introduce generic prepare and complete callbacks for subsystems 2011-05-17 23:26:21 +02:00
pm_qos_params.h idle governor: Avoid lock acquisition to read pm_qos before entering idle 2011-05-29 00:50:59 -04:00
pm_runtime.h
pm_wakeup.h
pmu.h
pnfs_osd_xdr.h pnfs-obj: pnfs_osd XDR definitions 2011-05-29 20:52:36 +03:00
pnp.h
poison.h
poll.h
posix-clock.h treewide: fix a few typos in comments 2011-05-10 10:16:21 +02:00
posix-timers.h posix-timers: RCU conversion 2011-05-24 12:10:51 +02:00
posix_acl.h
posix_acl_xattr.h
posix_types.h
power_supply.h
ppdev.h
ppp-comp.h
ppp_channel.h
ppp_defs.h
pps.h
pps_kernel.h
prctl.h
preempt.h
prefetch.h
printk.h printk: allocate kernel log buffer earlier 2011-05-25 08:39:48 -07:00
prio_heap.h
prio_tree.h
proc_fs.h mm: extract exe_file handling from procfs 2011-05-26 17:12:36 -07:00
profile.h
proportions.h
pstore.h pstore: fix pstore filesystem mount/remount issue 2011-05-16 11:05:00 -07:00
pti.h Intel PTI implementaiton of MIPI 1149.7. 2011-05-13 16:31:00 -07:00
ptp_classify.h ptp: Added a brand new class driver for ptp clocks. 2011-05-23 13:01:00 -07:00
ptp_clock.h ptp: Added a brand new class driver for ptp clocks. 2011-05-23 13:01:00 -07:00
ptp_clock_kernel.h ptp: Added a brand new class driver for ptp clocks. 2011-05-23 13:01:00 -07:00
ptrace.h ptrace: ptrace_reparented() should check same_thread_group() 2011-06-27 20:30:10 +02:00
pwm.h
pwm_backlight.h
pxa2xx_ssp.h
pxa168_eth.h
qnx4_fs.h
qnxtypes.h
quicklist.h
quota.h
quotaops.h
radeonfb.h
radix-tree.h
raid_class.h
ramfs.h
ramoops.h
random.h
range.h
rar_register.h
ratelimit.h bug.h: Move ratelimit warn interfaces to ratelimit.h 2011-05-26 15:00:31 -04:00
rational.h
raw.h
rbtree.h
rculist.h list: remove prefetching from regular list iterators 2011-05-19 14:15:29 -07:00
rculist_bl.h
rculist_nulls.h
rcupdate.h rcu: introduce kfree_rcu() 2011-05-05 23:16:59 -07:00
rcutiny.h rcu: provide rcu_virt_note_context_switch() function. 2011-05-05 23:16:59 -07:00
rcutree.h rcu: provide rcu_virt_note_context_switch() function. 2011-05-05 23:16:59 -07:00
rds.h
reboot.h
reciprocal_div.h
regset.h
reiserfs_acl.h
reiserfs_fs.h
reiserfs_fs_i.h
reiserfs_fs_sb.h
reiserfs_xattr.h
relay.h
res_counter.h
resource.h
resume-trace.h
rfkill-gpio.h net: rfkill: add generic gpio rfkill driver 2011-05-19 13:53:54 -04:00
rfkill-regulator.h
rfkill.h
ring_buffer.h
rio.h
rio_drv.h
rio_ids.h
rio_regs.h
rmap.h mm: convert anon_vma->lock to a mutex 2011-05-25 08:39:19 -07:00
romfs_fs.h
root_dev.h
rose.h
rotary_encoder.h Input: rotary-encoder - add support for half-period encoders 2011-05-12 08:28:47 -07:00
route.h
rslib.h
rtc-v3020.h
rtc.h drivers/rtc/rtc-mxc.c: remove defines already included in rtc.h 2011-05-26 17:12:33 -07:00
rtmutex.h
rtnetlink.h
rwlock.h
rwlock_api_smp.h
rwlock_types.h
rwsem-spinlock.h
rwsem.h
rxrpc.h
s3c_adc_battery.h
sc26198.h
scatterlist.h
scc.h
sched.h redefine thread_group_leader() as exit_signal >= 0 2011-06-27 20:30:10 +02:00
screen_info.h
sctp.h
scx200.h
scx200_gpio.h
sdla.h
seccomp.h
securebits.h
security.h
selection.h
selinux.h
selinux_netlink.h
sem.h
semaphore.h
seq_file.h
seq_file_net.h
seqlock.h seqlock: Get rid of SEQLOCK_UNLOCKED 2011-05-24 15:22:17 +02:00
serial.h
serial167.h
serialP.h
serial_8250.h
serial_core.h tty/serial: Add explicit PORT_TEGRA type 2011-05-19 16:51:01 -07:00
serial_max3100.h
serial_mfd.h
serial_pnx8xxx.h
serial_reg.h tty/serial: Fix break handling for PORT_TEGRA 2011-05-19 16:51:02 -07:00
serial_sci.h
serio.h
sfi.h
sfi_acpi.h
sh_clk.h
sh_dma.h
sh_intc.h
sh_pfc.h
sh_timer.h
shm.h
shmem_fs.h tmpfs: implement generic xattr support 2011-05-25 08:39:31 -07:00
sht15.h hwmon: (sht15) add support for CRC validation 2011-05-19 08:19:36 -07:00
sigma.h
signal.h Merge branch 'ptrace' of git://git.kernel.org/pub/scm/linux/kernel/git/oleg/misc 2011-05-20 13:33:21 -07:00
signalfd.h
skbuff.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2011-05-23 08:39:24 -07:00
slab.h
slab_def.h
slob_def.h
slub_def.h slub: Deal with hyperthetical case of PAGE_SIZE > 2M 2011-05-21 12:53:53 +03:00
sm501-regs.h
sm501.h
smc91x.h
smc911x.h
smp.h Remove unused MSG_ flags in linux/smp.h 2011-05-26 13:38:58 +10:00
smsc911x.h
snmp.h
socket.h net: Add sendmmsg socket system call 2011-05-05 11:10:14 -07:00
sockios.h
som.h
sonet.h
sony-laptop.h
sonypi.h
sort.h
sound.h
soundcard.h
spinlock.h
spinlock_api_smp.h
spinlock_api_up.h
spinlock_types.h
spinlock_types_up.h
spinlock_up.h spinlock_up.h: include asm/processor.h in for cpu_relax 2011-05-20 12:51:07 -07:00
splice.h
srcu.h
stackprotector.h
stacktrace.h
stallion.h
start_kernel.h
stat.h
statfs.h
stddef.h
stmmac.h
stop_machine.h
string.h Add a strtobool function matching semantics of existing in kernel equivalents 2011-05-19 16:55:28 +09:30
string_helpers.h
stringify.h
superhyway.h
suspend.h
suspend_ioctls.h
svga.h
swab.h
swap.h memcg: count the soft_limit reclaim in global background reclaim 2011-05-26 17:12:35 -07:00
swapops.h
swiotlb.h
synclink.h
sys.h
syscalls.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/linux-2.6-nsfd 2011-05-25 18:10:16 -07:00
syscore_ops.h
sysctl.h
sysdev.h PM: Remove sysdev suspend, resume and shutdown operations 2011-05-11 21:37:15 +02:00
sysfs.h sysfs: remove "last sysfs file:" line from the oops messages 2011-05-13 16:05:51 -07:00
syslog.h
sysrq.h
sysv_fs.h
task_io_accounting.h
task_io_accounting_ops.h
taskstats.h
taskstats_kern.h
tboot.h
tc.h
tca6416_keypad.h
tcp.h
telephony.h
termios.h
textsearch.h
textsearch_fsm.h
tfrc.h
thermal.h
thread_info.h hrtimers: Avoid touching inactive timer bases 2011-05-23 13:59:54 +02:00
threads.h
ti_wilink_st.h
tick.h
tifm.h
timb_dma.h
timb_gpio.h
time.h timerfd: Manage cancelable timers in timerfd 2011-05-23 13:59:53 +02:00
timecompare.h
timer.h
timerfd.h timerfd: Manage cancelable timers in timerfd 2011-05-23 13:59:53 +02:00
timeriomem-rng.h
timerqueue.h
times.h
timex.h
tiocl.h
tipc.h tipc: Abort excessive send requests as early as possible 2011-05-10 16:03:56 -04:00
tipc_config.h
topology.h
toshiba.h
tpm.h
tpm_command.h
trace_clock.h
trace_seq.h
tracehook.h kill tracehook_notify_death() 2011-06-27 20:30:08 +02:00
tracepoint.h
transport_class.h
trdevice.h
tsacct_kern.h
tty.h n_tracerouter and n_tracesink ldisc additions. 2011-05-13 16:31:00 -07:00
tty_driver.h
tty_flip.h
tty_ldisc.h Revert "tty: make receive_buf() return the amout of bytes received" 2011-06-04 06:33:24 +09:00
typecheck.h
types.h
u64_stats_sync.h
uaccess.h maccess,probe_kernel: Make write/read src const void * 2011-05-25 19:56:23 -04:00
ucb1400.h
udf_fs_i.h
udp.h
uinput.h
uio.h
uio_driver.h
ultrasound.h
un.h
unistd.h
usb.h
usb_usual.h
usbdevice_fs.h
user-return-notifier.h
user.h
user_namespace.h
utime.h
uts.h
utsname.h
uuid.h
uvcvideo.h [media] uvcvideo: Make the API public 2011-05-20 09:30:46 -03:00
uwb.h
v4l2-mediabus.h [media] v4l: Add V4L2_MBUS_FMT_JPEG_1X8 media bus format 2011-05-20 11:28:49 -03:00
v4l2-subdev.h
vermagic.h
veth.h
vfs.h
vga_switcheroo.h
vgaarb.h
vhost.h
via-core.h
via-gpio.h
via.h
via_i2c.h
video_output.h
videodev2.h [media] v4l: Add M420 format definition 2011-05-20 12:17:35 -03:00
virtio.h virtio: add api for delayed callbacks 2011-05-30 11:14:16 +09:30
virtio_9p.h virtio: add full three-clause BSD text to headers. 2011-05-30 11:14:14 +09:30
virtio_balloon.h virtio: add full three-clause BSD text to headers. 2011-05-30 11:14:14 +09:30
virtio_blk.h virtio: add full three-clause BSD text to headers. 2011-05-30 11:14:14 +09:30
virtio_config.h virtio: add full three-clause BSD text to headers. 2011-05-30 11:14:14 +09:30
virtio_console.h virtio: add full three-clause BSD text to headers. 2011-05-30 11:14:14 +09:30
virtio_ids.h virtio: add full three-clause BSD text to headers. 2011-05-30 11:14:14 +09:30
virtio_net.h virtio: add full three-clause BSD text to headers. 2011-05-30 11:14:14 +09:30
virtio_pci.h virtio: add full three-clause BSD text to headers. 2011-05-30 11:14:14 +09:30
virtio_ring.h virtio ring: inline function to check for events 2011-05-30 11:14:14 +09:30
virtio_rng.h
vlynq.h
vm_event_item.h mm: move enum vm_event_item into a standalone header file 2011-05-26 17:12:34 -07:00
vmalloc.h
vmstat.h mm: move enum vm_event_item into a standalone header file 2011-05-26 17:12:34 -07:00
vt.h
vt_buffer.h
vt_kern.h
w1-gpio.h
wait.h
wanrouter.h
watchdog.h
wimax.h
wireless.h
wl12xx.h
wm97xx.h
workqueue.h
writeback.h
x25.h
xattr.h xattr.h: expose string defines to userspace 2011-05-25 08:39:45 -07:00
xfrm.h
xilinxfb.h
xz.h
yam.h
z2_battery.h
zconf.h
zlib.h
zorro.h
zorro_ids.h
zutil.h