android_kernel_google_msm/include/linux
Kees Cook b0cce01be5 fs: create and use seq_show_option for escaping
commit a068acf2ee77693e0bf39d6e07139ba704f461c3 upstream.

Many file systems that implement the show_options hook fail to correctly
escape their output which could lead to unescaped characters (e.g.  new
lines) leaking into /proc/mounts and /proc/[pid]/mountinfo files.  This
could lead to confusion, spoofed entries (resulting in things like
systemd issuing false d-bus "mount" notifications), and who knows what
else.  This looks like it would only be the root user stepping on
themselves, but it's possible weird things could happen in containers or
in other situations with delegated mount privileges.

Here's an example using overlay with setuid fusermount trusting the
contents of /proc/mounts (via the /etc/mtab symlink).  Imagine the use
of "sudo" is something more sneaky:

  $ BASE="ovl"
  $ MNT="$BASE/mnt"
  $ LOW="$BASE/lower"
  $ UP="$BASE/upper"
  $ WORK="$BASE/work/ 0 0
  none /proc fuse.pwn user_id=1000"
  $ mkdir -p "$LOW" "$UP" "$WORK"
  $ sudo mount -t overlay -o "lowerdir=$LOW,upperdir=$UP,workdir=$WORK" none /mnt
  $ cat /proc/mounts
  none /root/ovl/mnt overlay rw,relatime,lowerdir=ovl/lower,upperdir=ovl/upper,workdir=ovl/work/ 0 0
  none /proc fuse.pwn user_id=1000 0 0
  $ fusermount -u /proc
  $ cat /proc/mounts
  cat: /proc/mounts: No such file or directory

This fixes the problem by adding new seq_show_option and
seq_show_option_n helpers, and updating the vulnerable show_option
handlers to use them as needed.  Some, like SELinux, need to be open
coded due to unusual existing escape mechanisms.

[akpm@linux-foundation.org: add lost chunk, per Kees]
[keescook@chromium.org: seq_show_option should be using const parameters]
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Acked-by: Jan Kara <jack@suse.com>
Acked-by: Paul Moore <paul@paul-moore.com>
Cc: J. R. Okajima <hooanon05g@gmail.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
[lizf: Backported to 3.4:
 - adjust context
 - one more place in ceph needs to be changed
 - drop changes to overlayfs
 - drop showing vers in cifs]
Signed-off-by: Zefan Li <lizefan@huawei.com>
2016-04-27 18:55:18 +08:00
..
amba
bcma
byteorder
caif
can
ceph libceph: wrap auth methods in a mutex 2013-06-20 11:58:47 -07:00
crush crush: fix tree node weight lookup 2012-11-26 11:38:03 -08:00
decompress
dvb
fsl
hdlc
hsi
i2c
input Input: eeti_ts: pass gpio value instead of IRQ 2012-08-15 08:10:33 -07:00
isdn
lockd Lockd: pass network namespace to creation and destruction routines 2012-07-16 09:04:39 -07:00
mfd ARM: pxa: remove irq_to_gpio from ezx-pcap driver 2012-08-15 08:10:32 -07:00
mlx4
mmc mmc: card: Skip secure erase on MoviNAND; causes unrecoverable corruption. 2012-10-02 10:29:54 -07:00
mtd mtd: map: fixed bug in 64-bit systems 2013-12-04 10:50:29 -08:00
netfilter netfilter: ipset: fix timeout value overflow bug 2012-10-21 09:28:00 -07:00
netfilter_arp
netfilter_bridge
netfilter_ipv4
netfilter_ipv6
nfc
nfsd
pinctrl
platform_data
power
raid
regulator
rtc
spi
ssb ssb: implement spurious tone avoidance 2013-04-25 21:19:55 -07:00
sunrpc nfsd: check passed socket's net matches NFSd superblock's one 2014-06-11 12:04:19 -07:00
tc_act
tc_ematch
unaligned
usb USB: add flag for HCDs that can't receive wakeup requests (isp1760-hcd) 2015-06-19 11:40:13 +08:00
uwb
wimax
8250_pci.h
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: make kiocb->private NUll in init_sync_kiocb() 2012-07-16 09:04:23 -07:00
aio_abi.h
alarmtimer.h
altera_jtaguart.h
altera_uart.h
amd-iommu.h
amifd.h
amifdreg.h
amigaffs.h
anon_inodes.h
apm-emulation.h
apm_bios.h
apple_bl.h
arcdevice.h
arcfb.h
async.h
async_tx.h
ata.h libata: Use integer return value for atapi_command_packet_set 2013-04-12 09:38:44 -07:00
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
attribute_container.h
audit.h audit: correct a type mismatch in audit_syscall_exit() 2014-02-13 11:51:08 -08:00
auto_dev-ioctl.h
auto_fs.h unbreak automounter support on 64-bit kernel with 32-bit userspace (v2) 2013-03-04 06:06:43 +08:00
auto_fs4.h
auxvec.h
average.h
ax25.h
b1lli.h
b1pcmcia.h
backing-dev.h
backlight.h
basic_mmio_gpio.h
baycom.h
bcd.h
bch.h
bfin_mac.h
bfs_fs.h
binfmts.h exec/ptrace: fix get_dumpable() incorrect tests 2013-11-29 10:50:34 -08:00
bio.h
bit_spinlock.h
bitmap.h
bitops.h ext4: atomically set inode->i_flags in ext4_set_inode_flags() 2014-04-03 11:58:46 -07:00
bitrev.h
blk-iopoll.h
blk_types.h Defer processing of REQ_PREEMPT requests for blocked devices 2015-06-19 11:40:31 +08:00
blkdev.h block: fix alignment_offset math that assumes io_min is a power-of-2 2015-02-02 17:04:48 +08:00
blkpg.h
blktrace_api.h
blockgroup_lock.h
bma150.h
bootmem.h
bottom_half.h
bpqether.h
brcmphy.h
bsearch.h
bsg-lib.h
bsg.h
btree-128.h
btree-type.h
btree.h
buffer_head.h bufferhead: Add _gfp version for sb_getblk() 2016-03-21 09:17:40 +08:00
bug.h
c2port.h
cache.h
can.h
capability.h
capi.h
cb710.h
cciss_defs.h
cciss_ioctl.h
cd1400.h
cdev.h
cdk.h
cdrom.h
cfag12864b.h
cgroup.h cgroup: fix RCU accesses to task->cgroups 2014-03-11 16:10:04 -07:00
cgroup_subsys.h
cgroupstats.h
chio.h
circ_buf.h
cleancache.h
clk-private.h
clk-provider.h
clk.h
clkdev.h
clksrc-dbx500-prcmu.h
clockchips.h
clocksource.h
cm4000_cs.h
cn_proc.h
cnt32_to_63.h
coda.h
coda_psdev.h
coff.h
com20020.h
compaction.h
compat.h
compiler-gcc.h crypto: more robust crypto_memneq 2015-02-02 17:04:53 +08:00
compiler-gcc3.h
compiler-gcc4.h compiler/gcc4: Add quirk for 'asm goto' miscompilation bug 2014-04-14 06:44:16 -07:00
compiler-gcc5.h kernel: add support for gcc 5 2015-02-02 17:04:49 +08:00
compiler-intel.h crypto: more robust crypto_memneq 2015-02-02 17:04:53 +08:00
compiler.h
completion.h
comstats.h
concap.h
configfs.h
connector.h
console.h fb: Yet another band-aid for fixing lockdep mess 2013-02-28 06:59:05 -08:00
console_struct.h
consolemap.h
const.h
cordic.h
coredump.h
cper.h
cpu.h CPU hotplug: provide a generic helper to disable/enable CPU hotplug 2013-06-20 11:58:44 -07:00
cpu_pm.h
cpu_rmap.h
cpufreq.h
cpuidle.h
cpumask.h
cpuset.h cpuset: PF_SPREAD_PAGE and PF_SPREAD_SLAB should be atomic flags 2014-12-01 18:02:38 +08:00
cramfs_fs.h
cramfs_fs_sb.h
crash_dump.h
crc-ccitt.h
crc-itu-t.h
crc-t10dif.h
crc7.h
crc8.h
crc16.h
crc32.h
crc32c.h
cred.h
crypto.h
cryptohash.h
cryptouser.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 move d_rcu from overlapping d_child to overlapping d_alias 2015-04-14 17:33:58 +08:00
dcbnl.h
dccp.h
dcookies.h
debug_locks.h
debugfs.h
debugobjects.h
delay.h
delayacct.h
devfreq.h
device-mapper.h dm: fix truncated status strings 2013-12-08 07:29:43 -08:00
device.h driver core: Introduce device_create_groups 2015-04-14 17:33:53 +08:00
device_cgroup.h
devpts_fs.h
digsig.h
dio.h
dirent.h
dlm.h
dlm_device.h
dlm_netlink.h
dlm_plock.h
dlmconstants.h
dm-dirty-log.h
dm-io.h
dm-ioctl.h
dm-kcopyd.h
dm-log-userspace.h
dm-region-hash.h
dm9000.h
dma-attrs.h
dma-buf.h
dma-debug.h
dma-direction.h
dma-mapping.h
dma_remapping.h
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_limits.h
drbd_nl.h
drbd_tag_magic.h
ds1286.h
ds2782_battery.h
ds17287rtc.h
dtlk.h
dw_apb_timer.h
dw_dmac.h
dynamic_debug.h
dynamic_queue_limits.h
ecryptfs.h
edac.h
edd.h
eeprom_93cx6.h
eeprom_93xx46.h
efi.h x86, efivars: firmware bug workarounds should be in platform code 2014-06-07 16:02:10 -07:00
efs_fs_sb.h
efs_vh.h
eisa.h
elevator.h
elf-em.h
elf-fdpic.h
elf.h
elfcore-compat.h
elfcore.h
elfnote.h
enclosure.h
err.h
errno.h
errqueue.h
etherdevice.h
ethtool.h
eventfd.h
eventpoll.h
evm.h
export.h
exportfs.h
ext2_fs.h
f75375s.h
fadvise.h
falloc.h
fanotify.h
fault-inject.h
fb.h
fcdevice.h
fcntl.h
fd.h
fddidevice.h
fdreg.h
fdtable.h
fec.h
fib_rules.h
fiemap.h
file.h
filter.h
fips.h
firewire-cdev.h firewire: fix libdc1394/FlyCap2 iso event regression 2013-08-04 16:26:02 +08:00
firewire-constants.h
firewire.h firewire: don't use PREPARE_DELAYED_WORK 2014-03-23 21:37:06 -07:00
firmware-map.h
firmware.h
flat.h
flex_array.h
font.h
freezer.h freezer: add missing mb's to freezer_count() and freezer_should_skip() 2013-01-11 09:06:58 -08:00
fs.h get rid of s_files and files_lock 2016-03-21 09:17:55 +08:00
fs_enet_pd.h
fs_stack.h
fs_struct.h
fs_uart_pd.h
fscache-cache.h
fscache.h
fsl-diu-fb.h
fsl_devices.h
fsl_hypervisor.h
fsnotify.h fsnotify: fix handling of renames in audit 2015-06-19 11:40:14 +08:00
fsnotify_backend.h
ftrace.h ftrace/module: Hardcode ftrace_module_init() call into load_module() 2014-06-07 16:02:00 -07:00
ftrace_event.h tracing: Fix fields of struct trace_iterator that are zeroed by mistake 2013-08-14 22:57:08 -07:00
ftrace_irq.h
fuse.h
futex.h
gameport.h
gcd.h
gen_stats.h
genalloc.h
generic_acl.h
generic_serial.h
genetlink.h
genhd.h block: fix buffer overflow when printing partition UUIDs 2012-05-15 08:22:04 +02:00
getcpu.h
gfp.h
gfs2_ondisk.h
gigaset_dev.h
gpio-fan.h
gpio-i2cmux.h
gpio-pxa.h
gpio.h
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 HID: hidraw: add proper error handling to raw event reporting 2014-04-14 06:44:18 -07:00
hiddev.h
hidraw.h HID: fix return value of hidraw_report_event() when !CONFIG_HIDRAW 2014-04-14 06:44:18 -07:00
highmem.h mm: add kmap_to_page() 2014-06-11 12:04:17 -07:00
highuid.h
hil.h
hil_mlc.h
hippidevice.h
hp_sdc.h
hpet.h
hrtimer.h timekeeping: Provide hrtimer update function 2012-07-19 08:59:00 -07:00
htcpld.h
htirq.h
huge_mm.h
hugetlb.h mm: hugetlbfs: fix hugetlbfs optimization 2014-02-06 11:05:46 -08:00
hugetlb_inline.h
hw_breakpoint.h
hw_random.h
hwmon-sysfs.h
hwmon-vid.h
hwmon.h
hwspinlock.h
hyperv.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
i2o-dev.h
i2o.h
i8k.h
i7300_idle.h
i8042.h
i8253.h
i82593.h
ibmtr.h
icmp.h
icmpv6.h ICMPv6: treat dest unreachable codes 5 and 6 as EACCES, not EPROTO 2013-09-14 06:02:10 -07:00
ide.h
idr.h idr: idr_for_each_entry() macro 2014-04-14 06:44:16 -07:00
ieee80211.h
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_cablemodem.h: Add parenthesis around ioctl macros 2013-05-19 10:54:47 -07:00
if_ec.h
if_eql.h
if_ether.h
if_fc.h
if_fddi.h
if_frad.h
if_hippi.h
if_infiniband.h
if_link.h
if_ltalk.h
if_macvlan.h
if_packet.h
if_phonet.h
if_plip.h
if_ppp.h
if_pppol2tp.h
if_pppox.h net: Swap ver and type in pppoe_hdr 2013-07-28 16:25:59 -07:00
if_slip.h
if_strip.h
if_team.h team: fix mtu setting 2014-06-26 15:10:28 -04:00
if_tr.h
if_tun.h
if_tunnel.h
if_vlan.h vlan: adjust vlan_set_encap_proto() for its callers 2013-02-28 06:59:06 -08: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
init_ohci1394_dma.h
init_task.h introduce for_each_thread() to replace the buggy while_each_thread() 2015-02-02 17:04:55 +08:00
initrd.h
inotify.h
input-polldev.h
input.h
integrity.h
intel-iommu.h
intel_mid_dma.h
intel_pmic_gpio.h
interrupt.h
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 ipc: sysv shared memory limited to 8TiB 2013-05-07 19:51:56 -07:00
ipmi.h
ipmi_msgdefs.h
ipmi_smi.h
ipsec.h
ipv6.h ipv6: drop packets with multiple fragmentation headers 2013-09-14 06:02:10 -07:00
ipv6_route.h
ipx.h
irda.h
irq.h
irq_cpustat.h
irq_work.h
irqdesc.h genirq: Sanitize spurious interrupt detection of threaded irqs 2014-06-30 20:01:33 -07:00
irqdomain.h
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: avoid infinite loop when destroying aborted journal 2015-10-22 09:20:08 +08:00
jbd_common.h
jffs2.h
jhash.h jhash: Update jhash_[321]words functions to use correct initval 2015-09-18 09:20:27 +08:00
jiffies.h jiffies: Fix timeval conversion to jiffies 2014-12-01 18:02:32 +08:00
journal-head.h
joystick.h
jump_label.h
jz4740-adc.h
kallsyms.h
kbd_diacr.h
kbd_kern.h
Kbuild NFC: Export nfc.h to userland 2012-07-19 08:59:00 -07:00
kbuild.h
kconfig.h
kd.h
kdb.h
kdebug.h
kdev_t.h
kernel-page-flags.h kbuild: install kernel-page-flags.h 2012-06-10 00:36:11 +09:00
kernel.h introduce SIZE_MAX 2014-07-31 12:54:53 -07:00
kernel_stat.h genirq: Prevent proc race against freeing of irq descriptors 2015-04-14 17:33:46 +08:00
kernelcapi.h
kexec.h
key-type.h
key.h
keyboard.h
keyctl.h
kfifo.h
kgdb.h
khugepaged.h mm, thp: fix collapsing of hugepages on madvise 2015-02-02 17:05:07 +08:00
klist.h
kmalloc_sizes.h
kmemcheck.h
kmemleak.h
kmod.h
kmsg_dump.h
kobj_map.h
kobject.h kobject: fix oops with "input0: bad kobj_uevent_env content in show_uevent()" 2012-10-02 10:29:55 -07:00
kobject_ns.h
kprobes.h
kref.h kref: Implement kref_get_unless_zero v3 2013-04-16 21:27:26 -07:00
ks0108.h
ks8842.h
ksm.h
kthread.h kthread_worker: reimplement flush_kthread_work() to allow freeing the work item being executed 2012-10-02 10:30:40 -07:00
ktime.h time: Improve sanity checking of timekeeping inputs 2012-10-02 10:30:36 -07:00
kvm.h
kvm_host.h KVM: Allow cross page reads and writes from cached translations. 2013-04-25 21:19:55 -07:00
kvm_para.h
kvm_types.h KVM: Allow cross page reads and writes from cached translations. 2013-04-25 21:19:55 -07:00
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
leds-regulator.h
leds-tca6507.h
leds.h
leds_pwm.h
lglock.h
lguest.h
lguest_launcher.h
libata.h libata: add ATA_HORKAGE_NOTRIM 2016-03-21 09:17:45 +08:00
libps2.h
license.h
limits.h
linkage.h
linux_logo.h
lis3lv02d.h
list.h list: introduce list_next_entry() and list_prev_entry() 2014-06-07 16:01:58 -07:00
list_bl.h
list_nulls.h
list_sort.h
llc.h
llist.h
lockdep.h
log2.h
loop.h
lp.h
lp855x.h
lp8727.h
lru_cache.h
lsm_audit.h
lzo.h lib/lzo: Update LZO compression to current upstream version 2014-06-26 15:10:29 -04:00
m48t86.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 x86, mm: Trim memory in memblock to be page aligned 2012-10-31 10:02:56 -07:00
memcontrol.h
memory.h mm/ia64: fix a memory block size bug 2012-10-02 10:30:05 -07:00
memory_hotplug.h
mempolicy.h slab/mempolicy: always use local policy from interrupt context 2014-09-25 11:49:17 +08:00
mempool.h
memstick.h
meye.h
mg_disk.h
micrel_phy.h
migrate.h
migrate_mode.h
mii.h
minix_fs.h
miscdevice.h
mISDNdsp.h
mISDNhw.h
mISDNif.h
mm.h vm: add VM_FAULT_SIGSEGV handling support 2015-04-14 17:33:57 +08:00
mm_inline.h
mm_types.h x86 get_unmapped_area: Access mmap_legacy_base through mm_struct member 2014-06-07 16:02:09 -07:00
mman.h
mmdebug.h
mmiotrace.h
mmtimer.h
mmu_context.h
mmu_notifier.h mm: mmu_notifier: have mmu_notifiers use a global SRCU so they may safely schedule 2013-02-28 06:59:00 -08:00
mmzone.h memory hotplug: fix invalid memory access caused by stale kswapd pointer 2012-07-16 09:04:44 -07:00
mnt_namespace.h
mod_devicetable.h
module.h
moduleloader.h
moduleparam.h module_param: stop double-calling parameters. 2012-06-17 11:21:23 -07:00
mount.h mnt: Only change user settable mount flags in remount 2014-12-01 18:02:42 +08:00
mpage.h
mpi.h
mqueue.h
mroute.h
mroute6.h
msdos_fs.h
msg.h ipc, msg: fix message length check for negative values 2014-04-14 06:44:16 -07:00
msi.h
msm_mdp.h
mtio.h
mutex-debug.h
mutex.h
mv643xx.h
mv643xx_eth.h ARM: Orion: Set eth packet size csum offload limit 2014-04-14 06:44:20 -07:00
mv643xx_i2c.h
mxm-wmi.h
n_r3964.h
namei.h
nbd.h nbd: correct disconnect behavior 2014-03-11 16:10:06 -07:00
ncp.h
ncp_fs.h
ncp_mount.h
ncp_no.h
neighbour.h
net.h net: Add net_ratelimited_function and net_<level>_ratelimited macros 2014-06-07 16:02:15 -07:00
net_dropmon.h
net_tstamp.h
netdev_features.h
netdevice.h vlan: Fix header ops passthru when doing TX VLAN offload. 2014-01-15 15:27:11 -08:00
netfilter.h
netfilter_arp.h
netfilter_bridge.h
netfilter_decnet.h
netfilter_ipv4.h
netfilter_ipv6.h
netlink.h netlink: add reference of module in netlink_dump_start 2012-10-28 10:14:15 -07:00
netpoll.h
netrom.h
nfc.h
nfs.h
nfs2.h
nfs3.h
nfs4.h
nfs4_mount.h
nfs_fs.h NFS: Fix the initialisation of the readdir 'cookieverf' array 2012-10-02 10:30:19 -07:00
nfs_fs_i.h
nfs_fs_sb.h
nfs_idmap.h
nfs_iostat.h
nfs_mount.h
nfs_page.h
nfs_xdr.h nfs: increase size of EXCHANGE_ID name string buffer 2015-10-22 09:20:05 +08:00
nfsacl.h
nilfs2_fs.h nilfs2: fix sanity check of btree level in nilfs_btree_root_broken() 2015-09-18 09:20:36 +08:00
nl80211.h
nl802154.h
nls.h
nmi.h
node.h
nodemask.h
notifier.h
nsc_gpio.h
nsproxy.h
nubus.h
numa.h
nvme.h
nvram.h
nwpserial.h
of.h of: Fix overflow bug in string property parsing functions 2015-02-02 17:05:13 +08:00
of_address.h
of_device.h
of_fdt.h
of_gpio.h
of_i2c.h
of_irq.h
of_mdio.h
of_mtd.h
of_net.h
of_pci.h
of_pdt.h
of_platform.h
of_spi.h
omap3isp.h
omapfb.h
oom.h OOM, PM: OOM killed task shouldn't escape PM suspend 2015-02-02 17:04:55 +08:00
openvswitch.h
opp.h
oprofile.h
oxu210hp.h
padata.h
page-debug-flags.h
page-flags.h mm: Fix PageHead when !CONFIG_PAGEFLAGS_EXTENDED 2013-01-11 09:06:48 -08:00
page-isolation.h
page_cgroup.h
pageblock-flags.h
pagemap.h
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-ats.h
pci-dma.h
pci.h PCI: Add dev_flags bit to access VPD through function 0 2016-04-27 18:55:13 +08:00
pci_hotplug.h
pci_ids.h hpsa: gen8plus Smart Array IDs 2014-06-11 12:04:20 -07:00
pci_regs.h
pcieport_if.h
pda_power.h
percpu-defs.h
percpu.h
percpu_counter.h
perf_event.h perf: Fix perf ring buffer memory ordering 2014-06-07 16:02:04 -07:00
personality.h
pfkeyv2.h
pfn.h
pg.h
phantom.h
phonedev.h
phonet.h
phy.h
phy_fixed.h
pid.h
pid_namespace.h
pim.h
pipe_fs_i.h
pkt_cls.h
pkt_sched.h
pktcdvd.h
platform_device.h
plist.h
pm.h
pm_clock.h
pm_domain.h
pm_qos.h
pm_runtime.h
pm_wakeup.h
pmu.h
pnfs_osd_xdr.h
pnp.h
poison.h
poll.h
posix-clock.h
posix-timers.h
posix_acl.h
posix_acl_xattr.h
posix_types.h posix_types.h: Cleanup stale __NFDBITS and related definitions 2012-08-09 08:31:39 -07:00
power_supply.h
ppdev.h
ppp-comp.h
ppp-ioctl.h
ppp_channel.h
ppp_defs.h
pps-gpio.h
pps.h
pps_kernel.h pps: Add pps_lookup_dev() function 2014-04-14 06:44:17 -07:00
prctl.h
preempt.h spinlocks and preemption points need to be at least compiler barriers 2013-04-12 09:38:46 -07:00
prefetch.h
printk.h printk: rename printk_sched to printk_deferred 2014-08-07 12:00:10 -07:00
prio_heap.h
prio_tree.h
proc_fs.h
profile.h
proportions.h
pstore.h pstore: Avoid deadlock in panic and emergency-restart path 2013-03-04 06:06:43 +08:00
pti.h
ptp_classify.h
ptp_clock.h
ptp_clock_kernel.h
ptrace.h ptrace,x86: force IRET path after a ptrace_stop() 2014-07-06 18:49:20 -07:00
pwm.h
pwm_backlight.h
pxa2xx_ssp.h
pxa168_eth.h
qnx4_fs.h
qnx6_fs.h
qnxtypes.h
quicklist.h
quota.h quota: autoload the quota_v2 module for QFMT_VFS_V1 quota format 2013-03-04 06:06:37 +08:00
quotaops.h
radeonfb.h
radix-tree.h radix-tree: fix contiguous iterator 2012-06-10 00:36:17 +09:00
raid_class.h
ramfs.h
ramoops.h
random.h random32: fix off-by-one in seeding requirement 2013-12-08 07:29:41 -08:00
range.h
ratelimit.h
rational.h
raw.h
rbtree.h
rculist.h rculist: list_first_or_null_rcu() should use list_entry_rcu() 2013-09-26 17:15:32 -07:00
rculist_bl.h
rculist_nulls.h net: force a reload of first item in hlist_nulls_for_each_entry_rcu 2013-06-27 11:27:32 -07:00
rcupdate.h
rcutiny.h
rcutree.h
rds.h
reboot.h
reciprocal_div.h
regmap.h
regset.h
reiserfs_fs.h
reiserfs_xattr.h
relay.h
remoteproc.h
res_counter.h
resource.h
resume-trace.h
rfkill-gpio.h
rfkill-regulator.h
rfkill.h
ring_buffer.h
rio.h
rio_drv.h
rio_ids.h
rio_regs.h
rmap.h mm: prevent endless growth of anon_vma hierarchy 2015-04-14 17:33:51 +08:00
romfs_fs.h
root_dev.h
rose.h
rotary_encoder.h
route.h
rpmsg.h rpmsg: make sure inflight messages don't invoke just-removed callbacks 2012-07-16 09:03:52 -07:00
rslib.h
rtc-v3020.h
rtc.h
rtmutex.h
rtnetlink.h
rwlock.h
rwlock_api_smp.h
rwlock_types.h
rwsem-spinlock.h
rwsem.h
rxrpc.h
s3c_adc_battery.h
sa11x0-dma.h
sc26198.h
scatterlist.h
scc.h
sched.h introduce for_each_thread() to replace the buggy while_each_thread() 2015-02-02 17:04:55 +08: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 fs: create and use seq_show_option for escaping 2016-04-27 18:55:18 +08:00
seq_file_net.h
seqlock.h
serial.h
serial167.h
serial_8250.h
serial_core.h tty/serial: Add support for Altera serial port 2014-06-11 12:04:22 -07:00
serial_max3100.h
serial_mfd.h
serial_pnx8xxx.h
serial_reg.h
serial_sci.h
serio.h
sfi.h
sfi_acpi.h
sh_clk.h
sh_dma.h
sh_eth.h
sh_intc.h
sh_pfc.h
sh_timer.h
shm.h
shmem_fs.h
shrinker.h
sht15.h
signal.h
signalfd.h
sirfsoc_dma.h
skbuff.h Revert: "net: ip, ipv6: handle gso skbs in forwarding path" 2014-08-07 12:00:11 -07:00
slab.h introduce SIZE_MAX 2014-07-31 12:54:53 -07:00
slab_def.h
slob_def.h
slub_def.h
sm501-regs.h
sm501.h
smc91x.h
smc911x.h
smp.h
smsc911x.h
smscphy.h
snmp.h tcp: implement RFC 5961 4.2 2013-01-11 09:07:15 -08:00
sock_diag.h
socket.h net: Block MSG_CMSG_COMPAT in send(m)msg and recv(m)msg 2013-06-27 11:27:32 -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 spinlocks and preemption points need to be at least compiler barriers 2013-04-12 09:38:46 -07:00
splice.h splice: fix racy pipe->buffers uses 2012-07-16 09:04:42 -07:00
srcu.h
stackprotector.h
stacktrace.h
stallion.h
start_kernel.h
stat.h
statfs.h
static_key.h
stddef.h
stmmac.h
stop_machine.h
string.h random: add and use memzero_explicit() for clearing data 2015-02-02 17:04:54 +08:00
string_helpers.h
stringify.h
sungem_phy.h
sunserialcore.h
superhyway.h
suspend.h
suspend_ioctls.h
svga.h
swab.h
swap.h
swapops.h mm: migration: add migrate_entry_wait_huge() 2013-06-20 11:58:46 -07:00
swiotlb.h
synclink.h
sys.h
sys_soc.h
syscalls.h
syscore_ops.h
sysctl.h
sysfs.h sysfs.h: add ATTRIBUTE_GROUPS() macro 2015-04-14 17:33:53 +08:00
sysinfo.h
syslog.h printk: fix buffer overflow when calling log_prefix function from call_console_drivers 2013-02-21 10:04:57 -08:00
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 thermal: shorten too long mcast group name 2013-04-05 10:04:38 -07:00
thread_info.h
threads.h
ti_wilink_st.h
tick.h
tifm.h
timb_dma.h
timb_gpio.h
time.h time: settimeofday: Validate the values of tv from user 2015-04-14 17:33:50 +08:00
timecompare.h
timer.h
timerfd.h
timeriomem-rng.h
timerqueue.h
times.h
timex.h
tiocl.h
tipc.h
tipc_config.h
topology.h
toshiba.h
tpm.h
tpm_command.h
trace_clock.h
trace_seq.h
tracehook.h
tracepoint.h tracing: Do not add event files for modules that fail tracepoints 2014-03-23 21:37:06 -07:00
transport_class.h
trdevice.h
tsacct_kern.h
tty.h
tty_driver.h
tty_flip.h
tty_ldisc.h
typecheck.h
types.h
u64_stats_sync.h
uaccess.h
ucb1400.h
udf_fs_i.h
udp.h
uinput.h
uio.h
uio_driver.h
ultrasound.h
un.h
unistd.h
unix_diag.h net: fix *_DIAG_MAX constants 2013-04-05 10:04:40 -07:00
usb.h USB: add USB_DEVICE_INTERFACE_CLASS macro 2014-07-09 10:51:19 -07:00
usb_usual.h usb-storage/SCSI: Add broken_fua blacklist flag 2015-04-14 17:33:56 +08:00
usbdevice_fs.h
user-return-notifier.h
user.h
user_namespace.h
utime.h
uts.h
utsname.h
uuid.h
uvcvideo.h
uwb.h
v4l2-mediabus.h
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
virtio.h virtio: use dev_to_virtio wrapper in virtio 2015-04-14 17:33:49 +08:00
virtio_9p.h
virtio_balloon.h
virtio_blk.h
virtio_config.h
virtio_console.h virtio_console: fix uapi header 2014-06-11 12:04:18 -07:00
virtio_ids.h
virtio_mmio.h
virtio_net.h
virtio_pci.h
virtio_ring.h
virtio_rng.h
virtio_scsi.h
vlynq.h
vm_event_item.h
vmalloc.h
vmstat.h
vt.h
vt_buffer.h
vt_kern.h fb: Yet another band-aid for fixing lockdep mess 2013-02-28 06:59:05 -08:00
w1-gpio.h
wait.h SCSI: zfcp: fix lock imbalance by reworking request queue locking 2013-08-29 09:50:13 -07:00
wanrouter.h
watchdog.h
wimax.h
wireless.h
wl12xx.h
wm97xx.h
workqueue.h
writeback.h mm: protect set_page_dirty() from ongoing truncation 2015-04-14 17:33:51 +08:00
x25.h
xattr.h
xfrm.h xfrm_user: ensure user supplied esn replay window is valid 2012-10-13 05:38:41 +09:00
xilinxfb.h
xz.h
yam.h
z2_battery.h
zconf.h
zlib.h
zorro.h
zorro_ids.h
zutil.h