]> git.ipfire.org Git - thirdparty/grsecurity-scrape.git/blob - test/changelog-test.txt
Auto commit, 1 new patch{es}.
[thirdparty/grsecurity-scrape.git] / test / changelog-test.txt
1 commit 1646af929d2465bc7a21a3c180de677e0b0b7950
2 Author: Dave Chinner <dchinner@redhat.com>
3 Date: Wed May 18 14:09:12 2016 +1000
4
5 xfs: mark reclaimed inodes invalid earlier
6
7 The last thing we do before using call_rcu() on an xfs_inode to be
8 freed is mark it as invalid. This means there is a window between
9 when we know for certain that the inode is going to be freed and
10 when we do actually mark it as "freed".
11
12 This is important in the context of RCU lookups - we can look up the
13 inode, find that it is valid, and then use it as such not realising
14 that it is in the final stages of being freed.
15
16 As such, mark the inode as being invalid the moment we know it is
17 going to be reclaimed. This can be done while we still hold the
18 XFS_ILOCK_EXCL and the flush lock in xfs_inode_reclaim, meaning that
19 it occurs well before we remove it from the radix tree, and that
20 the i_flags_lock, the XFS_ILOCK and the inode flush lock all act as
21 synchronisation points for detecting that an inode is about to go
22 away.
23
24 For defensive purposes, this allows us to add a further check to
25 xfs_iflush_cluster to ensure we skip inodes that are being freed
26 after we grab the XFS_ILOCK_SHARED and the flush lock - we know that
27 if the inode number if valid while we have these locks held we know
28 that it has not progressed through reclaim to the point where it is
29 clean and is about to be freed.
30
31 [bfoster: fixed __xfs_inode_clear_reclaim() using ip->i_ino after it
32 had already been zeroed.]
33
34 Signed-off-by: Dave Chinner <dchinner@redhat.com>
35 Reviewed-by: Brian Foster <bfoster@redhat.com>
36 Signed-off-by: Dave Chinner <david@fromorbit.com>
37
38 fs/xfs/xfs_icache.c | 46 ++++++++++++++++++++++++++++++++++------------
39 fs/xfs/xfs_inode.c | 13 +++++++++++++
40 2 files changed, 47 insertions(+), 12 deletions(-)
41
42 commit 096f3d24e77f4cd8fe50008623b26c89cb00ccda
43 Author: Dave Chinner <dchinner@redhat.com>
44 Date: Wed May 18 14:01:53 2016 +1000
45
46 xfs: xfs_inode_free() isn't RCU safe
47
48 The xfs_inode freed in xfs_inode_free() has multiple allocated
49 structures attached to it. We free these in xfs_inode_free() before
50 we mark the inode as invalid, and before we run call_rcu() to queue
51 the structure for freeing.
52
53 Unfortunately, this freeing can race with other accesses that are in
54 the RCU current grace period that have found the inode in the radix
55 tree with a valid state. This includes xfs_iflush_cluster(), which
56 calls xfs_inode_clean(), and that accesses the inode log item on the
57 xfs_inode.
58
59 The log item structure is freed in xfs_inode_free(), so there is the
60 possibility we can be accessing freed memory in xfs_iflush_cluster()
61 after validating the xfs_inode structure as being valid for this RCU
62 context. Hence we can get spuriously incorrect clean state returned
63 from such checks. This can lead to use thinking the inode is dirty
64 when it is, in fact, clean, and so incorrectly attaching it to the
65 buffer for IO and completion processing.
66
67 This then leads to use-after-free situations on the xfs_inode itself
68 if the IO completes after the current RCU grace period expires. The
69 buffer callbacks will access the xfs_inode and try to do all sorts
70 of things it shouldn't with freed memory.
71
72 IOWs, xfs_iflush_cluster() only works correctly when racing with
73 inode reclaim if the inode log item is present and correctly stating
74 the inode is clean. If the inode is being freed, then reclaim has
75 already made sure the inode is clean, and hence xfs_iflush_cluster
76 can skip it. However, we are accessing the inode inode under RCU
77 read lock protection and so also must ensure that all dynamically
78 allocated memory we reference in this context is not freed until the
79 RCU grace period expires.
80
81 To fix this, move all the potential memory freeing into
82 xfs_inode_free_callback() so that we are guarantee RCU protected
83 lookup code will always have the memory structures it needs
84 available during the RCU grace period that lookup races can occur
85 in.
86
87 Discovered-by: Brain Foster <bfoster@redhat.com>
88 Signed-off-by: Dave Chinner <dchinner@redhat.com>
89 Reviewed-by: Christoph Hellwig <hch@lst.de>
90 Signed-off-by: Dave Chinner <david@fromorbit.com>
91
92 fs/xfs/xfs_icache.c | 14 +++++++-------
93 1 file changed, 7 insertions(+), 7 deletions(-)
94
95 commit eaec09dbc18fe0ae7905b33b4c819a467a0e801d
96 Author: Jann Horn <jannh@google.com>
97 Date: Wed Jun 1 11:55:07 2016 +0200
98
99 sched: panic on corrupted stack end
100
101 Until now, hitting this BUG_ON caused a recursive oops (because oops
102 handling involves do_exit(), which calls into the scheduler, which in
103 turn raises an oops), which caused stuff below the stack to be
104 overwritten until a panic happened (e.g. via an oops in interrupt
105 context, caused by the overwritten CPU index in the thread_info).
106
107 Just panic directly.
108
109 Signed-off-by: Jann Horn <jannh@google.com>
110 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
111
112 kernel/sched/core.c | 3 ++-
113 1 file changed, 2 insertions(+), 1 deletion(-)
114
115 commit 96894afd3cbd735ed9230f058a32865dec270da2
116 Author: Jann Horn <jannh@google.com>
117 Date: Wed Jun 1 11:55:06 2016 +0200
118
119 ecryptfs: forbid opening files without mmap handler
120
121 This prevents users from triggering a stack overflow through a recursive
122 invocation of pagefault handling that involves mapping procfs files into
123 virtual memory.
124
125 Signed-off-by: Jann Horn <jannh@google.com>
126 Acked-by: Tyler Hicks <tyhicks@canonical.com>
127 Cc: stable@vger.kernel.org
128 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
129
130 fs/ecryptfs/kthread.c | 13 +++++++++++--
131 1 file changed, 11 insertions(+), 2 deletions(-)
132
133 commit 06608cb36ab8329c7cf03fdabc86fb7f64a2656d
134 Author: Jann Horn <jannh@google.com>
135 Date: Wed Jun 1 11:55:05 2016 +0200
136
137 proc: prevent stacking filesystems on top
138
139 This prevents stacking filesystems (ecryptfs and overlayfs) from using
140 procfs as lower filesystem. There is too much magic going on inside
141 procfs, and there is no good reason to stack stuff on top of procfs.
142
143 (For example, procfs does access checks in VFS open handlers, and
144 ecryptfs by design calls open handlers from a kernel thread that doesn't
145 drop privileges or so.)
146
147 Signed-off-by: Jann Horn <jannh@google.com>
148 Cc: stable@vger.kernel.org
149 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
150
151 fs/proc/root.c | 7 +++++++
152 1 file changed, 7 insertions(+)
153
154 commit 7cff8ffababda8d77e7e3a3f2621b26269279b9a
155 Author: Al Viro <viro@zeniv.linux.org.uk>
156 Date: Wed May 4 14:04:13 2016 -0400
157
158 ecryptfs: fix handling of directory opening
159
160 First of all, trying to open them r/w is idiocy; it's guaranteed to fail.
161 Moreover, assigning ->f_pos and assuming that everything will work is
162 blatantly broken - try that with e.g. tmpfs as underlying layer and watch
163 the fireworks. There may be a non-trivial amount of state associated with
164 current IO position, well beyond the numeric offset. Using the single
165 struct file associated with underlying inode is really not a good idea;
166 we ought to open one for each ecryptfs directory struct file.
167
168 Additionally, file_operations both for directories and non-directories are
169 full of pointless methods; non-directories should *not* have ->iterate(),
170 directories should not have ->flush(), ->fasync() and ->splice_read().
171
172 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
173
174 fs/ecryptfs/file.c | 71 ++++++++++++++++++++++++++++++++++++++++++------------
175 1 file changed, 55 insertions(+), 16 deletions(-)
176
177 commit b690dcd62ad1433e69d391a267ce01534c19d20a
178 Author: Brad Spengler <spender@grsecurity.net>
179 Date: Wed Jun 8 20:59:28 2016 -0400
180
181 fix compiler warnings
182
183 fs/exec.c | 4 ++--
184 1 file changed, 2 insertions(+), 2 deletions(-)
185
186 commit 5d43ec1fb9c94f0c2644e0d09a8257442134a0ce
187 Author: Brad Spengler <spender@grsecurity.net>
188 Date: Wed Jun 8 20:52:00 2016 -0400
189
190 Avoid some UB
191
192 fs/exec.c | 8 ++++----
193 1 file changed, 4 insertions(+), 4 deletions(-)
194
195 commit d34347de1cae1f7bd8ea4223d5baca5da8ea4529
196 Author: Brad Spengler <spender@grsecurity.net>
197 Date: Wed Jun 8 20:23:27 2016 -0400
198
199 compile fix
200
201 kernel/smpboot.c | 1 +
202 1 file changed, 1 insertion(+)
203
204 commit 4dfdd6b803d58fec94306a4ff437d500a9c80908
205 Author: Brad Spengler <spender@grsecurity.net>
206 Date: Wed Jun 8 20:13:34 2016 -0400
207
208 Add open/close around cpumask modification, reported by shadowdaemon
209 Triggered by writing to /proc/sys/kernel/watchdog_cpumask
210
211 kernel/smpboot.c | 2 ++
212 1 file changed, 2 insertions(+)
213
214 commit 1ee24693e22a535dbede927beba7b90cd8559eb4
215 Merge: 11150b9 dec4686
216 Author: Brad Spengler <spender@grsecurity.net>
217 Date: Wed Jun 8 07:39:26 2016 -0400
218
219 Merge branch 'pax-test' into grsec-test
220
221 commit dec468678ead461fc786adfbb2505b6ef66a371a
222 Merge: 85a5882 8c596d1
223 Author: Brad Spengler <spender@grsecurity.net>
224 Date: Wed Jun 8 07:39:18 2016 -0400
225
226 Merge branch 'linux-4.5.y' into pax-test
227
228 commit 11150b92c4cd78ec6a22ad0ff682faf2354b4445
229 Author: Brad Spengler <spender@grsecurity.net>
230 Date: Sun Jun 5 14:18:34 2016 -0400
231
232 compile fix
233
234 grsecurity/grsec_tpe.c | 4 ++--
235 include/linux/uidgid.h | 1 +
236 2 files changed, 3 insertions(+), 2 deletions(-)
237
238 commit 6e548aad3425733ed443e4a3232205935f0d4939
239 Author: Brad Spengler <spender@grsecurity.net>
240 Date: Sun Jun 5 08:19:09 2016 -0400
241
242 Workaround some Debian bike-shedding so that group-writable /bin dirs
243 (with group ownership of root) don't trigger TPE violations
244 Reported by jvoisin
245
246 grsecurity/grsec_tpe.c | 4 ++--
247 1 file changed, 2 insertions(+), 2 deletions(-)
248
249 commit 735ea2028ce017246358d22ec81dc6db73499770
250 Author: Brad Spengler <spender@grsecurity.net>
251 Date: Sun Jun 5 04:23:15 2016 -0400
252
253 move another instance of is_privileged_binary outside of atomic
254
255 grsecurity/gracl_segv.c | 4 +++-
256 1 file changed, 3 insertions(+), 1 deletion(-)
257
258 commit e08a7bcc7b7a1e423b5346bcef85d9a92185f65f
259 Merge: d094457 85a5882
260 Author: Brad Spengler <spender@grsecurity.net>
261 Date: Sun Jun 5 04:09:29 2016 -0400
262
263 Merge branch 'pax-test' into grsec-test
264
265 commit 85a588299f41d6a116b8d07d902de986968a84b0
266 Merge: 89f00c3 ec2a755
267 Author: Brad Spengler <spender@grsecurity.net>
268 Date: Sun Jun 5 04:08:42 2016 -0400
269
270 Merge branch 'linux-4.5.y' into pax-test
271
272 commit d094457eb90a693f7007b7f4b26c2132137c7ed2
273 Author: Brad Spengler <spender@grsecurity.net>
274 Date: Mon May 30 10:15:11 2016 -0400
275
276 move privilege/xattr check outside of locks to prevent warning, reported by shadowdaemon
277
278 grsecurity/grsec_sig.c | 7 +++++--
279 1 file changed, 5 insertions(+), 2 deletions(-)
280
281 commit 2fad2bb3392409d98498b3af53cf39f2475e4b70
282 Author: Brad Spengler <spender@grsecurity.net>
283 Date: Sun May 29 10:11:27 2016 -0400
284
285 Fix another harmless warning
286
287 fs/proc/proc_sysctl.c | 2 +-
288 1 file changed, 1 insertion(+), 1 deletion(-)
289
290 commit d62f996e40c87e46b20f45e16819f92d49f3e926
291 Author: Brad Spengler <spender@grsecurity.net>
292 Date: Sun May 29 09:56:32 2016 -0400
293
294 Fix more harmless compiler warnings
295
296 grsecurity/gracl_policy.c | 8 ++++----
297 1 file changed, 4 insertions(+), 4 deletions(-)
298
299 commit 558b784a2b87e337d12bae07d60f435c2f06d849
300 Author: Brad Spengler <spender@grsecurity.net>
301 Date: Sun May 29 09:47:50 2016 -0400
302
303 Fix more harmless warnings
304
305 grsecurity/gracl.c | 6 +++---
306 1 file changed, 3 insertions(+), 3 deletions(-)
307
308 commit 32ec63339ab130758e6941d7f1d8993e41956980
309 Author: Brad Spengler <spender@grsecurity.net>
310 Date: Sun May 29 09:41:23 2016 -0400
311
312 Fix another warning
313
314 include/linux/sched.h | 1 +
315 1 file changed, 1 insertion(+)
316
317 commit 789369de0dbde1fedd2d5cb0ee3474e160af187c
318 Author: Brad Spengler <spender@grsecurity.net>
319 Date: Sun May 29 09:22:05 2016 -0400
320
321 Fix some harmless compiler warnings
322
323 grsecurity/grsum.c | 4 ++--
324 1 file changed, 2 insertions(+), 2 deletions(-)
325
326 commit ed18543a205c206d0aa8ee6b04c606579823b7b3
327 Merge: b0b4143 89f00c3
328 Author: Brad Spengler <spender@grsecurity.net>
329 Date: Sun May 29 08:34:18 2016 -0400
330
331 Merge branch 'pax-test' into grsec-test
332
333 commit 89f00c3b596a62ae5bcfe4920e9d05b9a94be7fa
334 Author: Brad Spengler <spender@grsecurity.net>
335 Date: Sun May 29 08:26:37 2016 -0400
336
337 Update to pax-linux-4.5.5-test11.patch:
338 - fixed arm kuser helper emulation for thumb mode userland, reported by Wizzup(https://forums.grsecurity.net/viewtopic.php?f=3&t=4479)
339 - fixed incorrect function pointer casts in bcache caught by RAP, reported by torsten (https://forums.grsecurity.net/viewtopic.php?f=3&t=4482)
340 - worked around a few intentional integer underflows in the xhci driver caught by the size overflow plugin, reported by Dennis Wassenberg <dennis.wassenberg@secunet.com>
341 - moved gcc plugins from tools/gcc to scripts/gcc-plugins and simplified the plugin build system, by Emese
342 - changed the constify and latent entropy plugins to use a consistent command line switch for compile-time disabling
343 - cleaned up a few unusued macros, whitespace, inline asm constraints, etc
344 - hid the lvalue casts needed for constify behind the const_cast macro, by Mathias Krause <minipli@ld-linux.so>
345
346 Makefile | 50 +-
347 arch/Kconfig | 14 +
348 arch/arm/Kconfig | 1 +
349 arch/arm/boot/compressed/Makefile | 2 +
350 arch/arm/mach-exynos/suspend.c | 4 +-
351 arch/arm/mach-omap2/powerdomains43xx_data.c | 2 +-
352 arch/arm/mach-shmobile/platsmp-apmu.c | 2 +-
353 arch/arm/mm/fault.c | 14 +
354 arch/arm64/Kconfig | 1 +
355 arch/mips/Kconfig | 1 +
356 arch/powerpc/Kconfig | 1 +
357 arch/powerpc/include/asm/atomic.h | 7 +-
358 arch/powerpc/kernel/Makefile | 8 +-
359 arch/sparc/Kconfig | 1 +
360 arch/um/Makefile | 4 +-
361 arch/x86/Kconfig | 1 +
362 arch/x86/boot/Makefile | 3 -
363 arch/x86/boot/compressed/Makefile | 3 -
364 arch/x86/entry/common.c | 2 +-
365 arch/x86/include/asm/thread_info.h | 27 -
366 arch/x86/kernel/cpu/perf_event_intel_cqm.c | 2 +-
367 arch/x86/kernel/cpu/perf_event_intel_pt.c | 10 +-
368 arch/x86/kernel/i8259.c | 4 +-
369 arch/x86/kernel/paravirt-spinlocks.c | 2 +-
370 arch/x86/oprofile/nmi_int.c | 2 +-
371 arch/x86/oprofile/op_model_amd.c | 6 +-
372 arch/x86/oprofile/op_model_ppro.c | 4 +-
373 arch/x86/pci/vmd.c | 2 +-
374 arch/x86/realmode/rm/Makefile | 3 -
375 drivers/acpi/bgrt.c | 4 +-
376 drivers/ata/libata-core.c | 2 +-
377 drivers/ata/pata_arasan_cf.c | 2 +-
378 drivers/base/platform-msi.c | 14 +-
379 drivers/base/power/domain.c | 4 +-
380 drivers/bus/arm-cci.c | 6 +-
381 drivers/cdrom/cdrom.c | 2 +-
382 drivers/clk/socfpga/clk-gate.c | 4 +-
383 drivers/clk/socfpga/clk-pll.c | 4 +-
384 drivers/clk/ti/clk.c | 4 +-
385 drivers/cpufreq/acpi-cpufreq.c | 8 +-
386 drivers/cpufreq/cpufreq-dt.c | 2 +-
387 drivers/cpufreq/cpufreq.c | 8 +-
388 drivers/cpufreq/cpufreq_ondemand.c | 4 +-
389 drivers/cpufreq/p4-clockmod.c | 6 +-
390 drivers/cpufreq/speedstep-centrino.c | 2 +-
391 drivers/firmware/dmi_scan.c | 8 +-
392 drivers/firmware/efi/efi.c | 10 +-
393 drivers/firmware/google/memconsole.c | 2 +-
394 drivers/gpio/gpiolib.c | 8 +-
395 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +-
396 drivers/gpu/drm/i810/i810_drv.c | 2 +-
397 drivers/gpu/drm/i915/i915_irq.c | 86 +-
398 drivers/gpu/drm/i915/intel_display.c | 6 +-
399 drivers/gpu/drm/mga/mga_drv.c | 2 +-
400 drivers/gpu/drm/omapdrm/dss/display.c | 6 +-
401 drivers/gpu/drm/qxl/qxl_drv.c | 2 +-
402 drivers/gpu/drm/qxl/qxl_ttm.c | 4 +-
403 drivers/gpu/drm/r128/r128_drv.c | 2 +-
404 drivers/gpu/drm/radeon/radeon_drv.c | 2 +-
405 drivers/gpu/drm/savage/savage_drv.c | 2 +-
406 drivers/gpu/drm/sis/sis_drv.c | 2 +-
407 drivers/gpu/drm/tegra/dc.c | 2 +-
408 drivers/gpu/drm/tegra/sor.c | 2 +-
409 drivers/gpu/drm/via/via_drv.c | 2 +-
410 drivers/idle/intel_idle.c | 4 +-
411 drivers/infiniband/hw/qib/qib.h | 1 -
412 drivers/iommu/arm-smmu.c | 4 +-
413 drivers/isdn/hardware/eicon/mntfunc.c | 2 +-
414 drivers/md/bcache/btree.c | 11 +-
415 drivers/md/bcache/closure.c | 4 +-
416 drivers/md/bcache/closure.h | 8 +-
417 drivers/md/bcache/journal.c | 16 +-
418 drivers/md/bcache/movinggc.c | 12 +-
419 drivers/md/bcache/request.c | 54 +-
420 drivers/md/bcache/request.h | 2 +-
421 drivers/md/bcache/super.c | 30 +-
422 drivers/md/bcache/writeback.c | 12 +-
423 drivers/media/platform/am437x/am437x-vpfe.c | 2 +-
424 drivers/mfd/twl4030-irq.c | 4 +-
425 drivers/misc/c2port/core.c | 2 +-
426 drivers/misc/mic/scif/scif_api.c | 8 +-
427 drivers/mmc/host/mmci.c | 2 +-
428 drivers/mmc/host/omap_hsmmc.c | 2 +-
429 drivers/mmc/host/sdhci-esdhc-imx.c | 2 +-
430 drivers/mmc/host/sdhci-s3c.c | 6 +-
431 drivers/net/ethernet/cavium/liquidio/lio_main.c | 2 +-
432 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 4 +-
433 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 2 +-
434 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c | 6 +-
435 drivers/net/macvlan.c | 14 +-
436 drivers/net/wireless/ath/ath9k/main.c | 20 +-
437 drivers/net/wireless/intel/iwlegacy/3945-mac.c | 2 +-
438 drivers/net/wireless/mac80211_hwsim.c | 22 +-
439 drivers/net/wireless/ti/wl1251/sdio.c | 8 +-
440 drivers/net/wireless/ti/wl12xx/main.c | 4 +-
441 drivers/net/wireless/ti/wl18xx/main.c | 4 +-
442 drivers/of/fdt.c | 2 +-
443 drivers/pci/hotplug/acpiphp_ibm.c | 2 +-
444 drivers/pci/hotplug/cpcihp_zt5550.c | 6 +-
445 drivers/pci/hotplug/pci_hotplug_core.c | 4 +-
446 drivers/pci/msi.c | 12 +-
447 drivers/pinctrl/pinctrl-at91.c | 2 +-
448 drivers/platform/x86/msi-laptop.c | 12 +-
449 drivers/power/reset/at91-reset.c | 2 +-
450 drivers/powercap/powercap_sys.c | 6 +-
451 drivers/regulator/max8660.c | 4 +-
452 drivers/regulator/max8973-regulator.c | 12 +-
453 drivers/regulator/mc13892-regulator.c | 4 +-
454 drivers/rtc/rtc-armada38x.c | 4 +-
455 drivers/rtc/rtc-cmos.c | 2 +-
456 drivers/rtc/rtc-m48t59.c | 2 +-
457 drivers/rtc/rtc-rx8010.c | 6 +-
458 drivers/rtc/rtc-test.c | 4 +-
459 drivers/scsi/aacraid/aachba.c | 4 +-
460 drivers/scsi/lpfc/lpfc_init.c | 4 +-
461 drivers/scsi/qla2xxx/qla_os.c | 4 +-
462 drivers/staging/sm750fb/sm750.c | 8 +-
463 drivers/thermal/cpu_cooling.c | 6 +-
464 drivers/thermal/int340x_thermal/int3400_thermal.c | 4 +-
465 drivers/thermal/of-thermal.c | 12 +-
466 drivers/tty/pty.c | 2 +-
467 drivers/tty/serial/8250/8250_core.c | 6 +-
468 drivers/tty/serial/kgdb_nmi.c | 2 +-
469 drivers/usb/host/xhci-ring.c | 52 +-
470 drivers/video/fbdev/aty/atyfb_base.c | 4 +-
471 drivers/video/fbdev/aty/mach64_cursor.c | 2 +-
472 drivers/video/fbdev/core/fb_defio.c | 6 +-
473 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c | 12 +-
474 drivers/video/fbdev/nvidia/nvidia.c | 18 +-
475 drivers/video/fbdev/omap2/omapfb/dss/display.c | 6 +-
476 drivers/video/fbdev/s1d13xxxfb.c | 4 +-
477 drivers/video/fbdev/smscufx.c | 2 +-
478 drivers/video/fbdev/udlfb.c | 2 +-
479 drivers/video/fbdev/uvesafb.c | 4 +-
480 drivers/video/fbdev/vesafb.c | 2 +-
481 fs/fuse/cuse.c | 6 +-
482 fs/jffs2/file.c | 2 +-
483 fs/nls/nls_base.c | 4 +-
484 fs/nls/nls_euc-jp.c | 4 +-
485 fs/nls/nls_koi8-ru.c | 4 +-
486 fs/proc/proc_sysctl.c | 4 +-
487 fs/tracefs/inode.c | 4 +-
488 include/linux/compiler-gcc.h | 1 +
489 include/linux/compiler.h | 4 +
490 include/linux/seq_buf.h | 2 +-
491 include/linux/sysfs.h | 2 +-
492 kernel/cgroup.c | 14 +-
493 kernel/irq/msi.c | 12 +-
494 kernel/notifier.c | 4 +-
495 kernel/pid.c | 2 +-
496 kernel/trace/trace_output.c | 8 +-
497 net/core/rtnetlink.c | 2 +-
498 net/xfrm/xfrm_state.c | 2 +-
499 scripts/Makefile | 1 +
500 scripts/Makefile.gcc-plugins | 138 +-
501 scripts/Makefile.host | 6 +-
502 scripts/gcc-plugin.sh | 4 +-
503 scripts/gcc-plugins/Makefile | 45 +
504 scripts/gcc-plugins/checker_plugin.c | 496 +
505 scripts/gcc-plugins/colorize_plugin.c | 162 +
506 scripts/gcc-plugins/constify_plugin.c | 521 +
507 scripts/gcc-plugins/gcc-common.h | 879 +
508 scripts/gcc-plugins/gcc-generate-gimple-pass.h | 175 +
509 scripts/gcc-plugins/gcc-generate-ipa-pass.h | 289 +
510 scripts/gcc-plugins/gcc-generate-rtl-pass.h | 175 +
511 scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | 175 +
512 scripts/gcc-plugins/initify_plugin.c | 536 +
513 scripts/gcc-plugins/kallocstat_plugin.c | 135 +
514 scripts/gcc-plugins/kernexec_plugin.c | 407 +
515 scripts/gcc-plugins/latent_entropy_plugin.c | 438 +
516 scripts/gcc-plugins/rap_plugin/Makefile | 4 +
517 scripts/gcc-plugins/rap_plugin/rap.h | 36 +
518 scripts/gcc-plugins/rap_plugin/rap_fptr_pass.c | 220 +
519 scripts/gcc-plugins/rap_plugin/rap_hash.c | 382 +
520 scripts/gcc-plugins/rap_plugin/rap_plugin.c | 511 +
521 scripts/gcc-plugins/rap_plugin/sip.c | 96 +
522 .../gcc-plugins/size_overflow_plugin/.gitignore | 3 +
523 scripts/gcc-plugins/size_overflow_plugin/Makefile | 28 +
524 .../disable_size_overflow_hash.data | 12444 +++++++++++
525 .../generate_size_overflow_hash.sh | 103 +
526 .../insert_size_overflow_asm.c | 369 +
527 .../size_overflow_plugin/intentional_overflow.c | 1166 +
528 .../size_overflow_plugin/remove_unnecessary_dup.c | 137 +
529 .../size_overflow_plugin/size_overflow.h | 331 +
530 .../size_overflow_plugin/size_overflow_debug.c | 194 +
531 .../size_overflow_plugin/size_overflow_hash.data | 21504 +++++++++++++++++++
532 .../size_overflow_hash_aux.data | 92 +
533 .../size_overflow_plugin/size_overflow_ipa.c | 1163 +
534 .../size_overflow_plugin/size_overflow_misc.c | 505 +
535 .../size_overflow_plugin/size_overflow_plugin.c | 290 +
536 .../size_overflow_plugin_hash.c | 352 +
537 .../size_overflow_plugin/size_overflow_transform.c | 743 +
538 .../size_overflow_transform_core.c | 1025 +
539 scripts/gcc-plugins/stackleak_plugin.c | 350 +
540 scripts/gcc-plugins/structleak_plugin.c | 239 +
541 scripts/package/builddeb | 2 +-
542 security/Kconfig | 8 +-
543 sound/soc/codecs/sti-sas.c | 8 +-
544 sound/soc/soc-ac97.c | 4 +-
545 tools/gcc/Makefile | 46 -
546 tools/gcc/checker_plugin.c | 496 -
547 tools/gcc/colorize_plugin.c | 162 -
548 tools/gcc/constify_plugin.c | 521 -
549 tools/gcc/gcc-common.h | 879 -
550 tools/gcc/gcc-generate-gimple-pass.h | 175 -
551 tools/gcc/gcc-generate-ipa-pass.h | 289 -
552 tools/gcc/gcc-generate-rtl-pass.h | 175 -
553 tools/gcc/gcc-generate-simple_ipa-pass.h | 175 -
554 tools/gcc/initify_plugin.c | 536 -
555 tools/gcc/kallocstat_plugin.c | 135 -
556 tools/gcc/kernexec_plugin.c | 407 -
557 tools/gcc/latent_entropy_plugin.c | 422 -
558 tools/gcc/rap_plugin/Makefile | 4 -
559 tools/gcc/rap_plugin/rap.h | 36 -
560 tools/gcc/rap_plugin/rap_fptr_pass.c | 220 -
561 tools/gcc/rap_plugin/rap_hash.c | 382 -
562 tools/gcc/rap_plugin/rap_plugin.c | 511 -
563 tools/gcc/rap_plugin/sip.c | 96 -
564 tools/gcc/size_overflow_plugin/.gitignore | 3 -
565 tools/gcc/size_overflow_plugin/Makefile | 28 -
566 .../disable_size_overflow_hash.data | 12444 -----------
567 .../generate_size_overflow_hash.sh | 103 -
568 .../insert_size_overflow_asm.c | 369 -
569 .../size_overflow_plugin/intentional_overflow.c | 1166 -
570 .../size_overflow_plugin/remove_unnecessary_dup.c | 137 -
571 tools/gcc/size_overflow_plugin/size_overflow.h | 331 -
572 .../gcc/size_overflow_plugin/size_overflow_debug.c | 194 -
573 .../size_overflow_plugin/size_overflow_hash.data | 21504 -------------------
574 .../size_overflow_hash_aux.data | 92 -
575 tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 1163 -
576 .../gcc/size_overflow_plugin/size_overflow_misc.c | 505 -
577 .../size_overflow_plugin/size_overflow_plugin.c | 290 -
578 .../size_overflow_plugin_hash.c | 352 -
579 .../size_overflow_plugin/size_overflow_transform.c | 743 -
580 .../size_overflow_transform_core.c | 1025 -
581 tools/gcc/stackleak_plugin.c | 350 -
582 tools/gcc/structleak_plugin.c | 239 -
583 237 files changed, 47340 insertions(+), 47276 deletions(-)
584
585 commit b0b41430a8c9e6e5067c896c07d361e527e298e8
586 Author: Brad Spengler <spender@grsecurity.net>
587 Date: Sat May 21 13:59:19 2016 -0400
588
589 Fix gcc assert properly, from Emese Revfy
590
591 tools/gcc/size_overflow_plugin/intentional_overflow.c | 2 +-
592 tools/gcc/size_overflow_plugin/size_overflow_plugin.c | 2 +-
593 2 files changed, 2 insertions(+), 2 deletions(-)
594
595 commit 5e7a47f06420603b0f26f1b45fe2ab02838795c9
596 Merge: f844209 5929595
597 Author: Brad Spengler <spender@grsecurity.net>
598 Date: Fri May 20 20:19:27 2016 -0400
599
600 Merge branch 'pax-test' into grsec-test
601
602 commit 5929595ec558e9282901842bdf9e4a981751fb08
603 Author: Brad Spengler <spender@grsecurity.net>
604 Date: Fri May 20 20:18:58 2016 -0400
605
606 Update to pax-linux-4.5.5-test9.patch:
607 - fixed a few more incorrect fptr casts for RAP
608
609 arch/x86/math-emu/fpu_etc.c | 9 +++++++--
610 arch/x86/math-emu/fpu_trig.c | 13 +++++++++----
611 arch/x86/math-emu/reg_constant.c | 7 ++++++-
612 drivers/isdn/hisax/hfc_2bds0.c | 4 ++--
613 drivers/isdn/hisax/hfcscard.c | 6 ++++--
614 drivers/isdn/hisax/saphir.c | 5 +++--
615 drivers/isdn/hisax/teleint.c | 5 +++--
616 drivers/media/pci/sta2x11/sta2x11_vip.c | 5 +++--
617 drivers/net/hamradio/baycom_epp.c | 2 +-
618 9 files changed, 38 insertions(+), 18 deletions(-)
619
620 commit f84420916698cdf33a81f046206d050e2c3e6966
621 Merge: fa18ce2 445754e
622 Author: Brad Spengler <spender@grsecurity.net>
623 Date: Fri May 20 18:52:20 2016 -0400
624
625 Merge branch 'pax-test' into grsec-test
626
627 commit 445754e5717176c2b3431a0cde1e90df51cc43e2
628 Author: Brad Spengler <spender@grsecurity.net>
629 Date: Fri May 20 18:51:52 2016 -0400
630
631 Update to pax-linux-4.5.4-test8.patch:
632 - fixed a USERCOPY report in the mwifiex driver, by Dennis Wassenberg <dennis.wassenberg@secunet.com> and Mathias Krause <minipli@ld-linux.so>
633
634 drivers/net/wireless/marvell/mwifiex/11n_aggr.c | 2 +-
635 drivers/net/wireless/marvell/mwifiex/pcie.c | 4 ++--
636 drivers/net/wireless/marvell/mwifiex/sdio.c | 10 ++++------
637 3 files changed, 7 insertions(+), 9 deletions(-)
638
639 commit fa18ce2d37a92442162fb72b8f85ee86120ffacb
640 Author: Brad Spengler <spender@grsecurity.net>
641 Date: Thu May 19 18:30:08 2016 -0400
642
643 Update size_overflow hash, from Dr. Toth
644
645 tools/gcc/size_overflow_plugin/size_overflow_hash.data | 1 +
646 1 file changed, 1 insertion(+)
647
648 commit 61c487965dbc34618fe292663759d6fa0515bcad
649 Merge: fbc84d2 a734dbd
650 Author: Brad Spengler <spender@grsecurity.net>
651 Date: Thu May 19 06:26:52 2016 -0400
652
653 Merge branch 'pax-test' into grsec-test
654
655 commit a734dbda8b785c38baa1858df2bffc89b45d070a
656 Merge: 238dfca 3b41b7e
657 Author: Brad Spengler <spender@grsecurity.net>
658 Date: Thu May 19 06:24:25 2016 -0400
659
660 Merge branch 'linux-4.5.y' into pax-test
661
662 commit fbc84d202d311b4dc09bcc922678df60b6e76614
663 Merge: 84fa82c 238dfca
664 Author: Brad Spengler <spender@grsecurity.net>
665 Date: Fri May 13 18:00:06 2016 -0400
666
667 Merge branch 'pax-test' into grsec-test
668
669 commit 238dfca3ffe87f4410e67c8ceb554b9ce4f3132b
670 Author: Brad Spengler <spender@grsecurity.net>
671 Date: Fri May 13 17:59:42 2016 -0400
672
673 Compile fix for older gcc
674
675 tools/gcc/size_overflow_plugin/intentional_overflow.c | 2 +-
676 1 file changed, 1 insertion(+), 1 deletion(-)
677
678 commit 84fa82c59fa5051e1485a3dcc857b87b70dbc18d
679 Merge: 2cece8e 4654023
680 Author: Brad Spengler <spender@grsecurity.net>
681 Date: Fri May 13 17:31:49 2016 -0400
682
683 Merge branch 'pax-test' into grsec-test
684
685 commit 4654023e72b0834142594eee879e657664498443
686 Author: Brad Spengler <spender@grsecurity.net>
687 Date: Fri May 13 17:29:38 2016 -0400
688
689 Update to pax-linux-4.5.4-test7.patch:
690 - changed the RAP hash emission code to accomodate x86 disassemblers, suggested by Mathias Krause <minipli@ld-linux.so>
691 - fixed a few size overflow false positives in JFS due to the lack of endian conversion macros for signed types, reported by ryonaloli via hunger
692 - fixed a compiler assert triggered by the size overflow plugin
693
694 tools/gcc/rap_plugin/rap_plugin.c | 39 ++++++++++++++++++----
695 .../disable_size_overflow_hash.data | 3 ++
696 .../size_overflow_plugin/intentional_overflow.c | 2 +-
697 .../size_overflow_plugin/size_overflow_hash.data | 3 --
698 4 files changed, 36 insertions(+), 11 deletions(-)
699
700 commit 2cece8e8e0e2fce9943345c0ebebd7436929868e
701 Merge: 6df0471 ea68d2e
702 Author: Brad Spengler <spender@grsecurity.net>
703 Date: Thu May 12 18:41:15 2016 -0400
704
705 Merge branch 'pax-test' into grsec-test
706
707 commit ea68d2e7123a83aba24db99d5ef487b1397fd6d0
708 Author: Brad Spengler <spender@grsecurity.net>
709 Date: Thu May 12 18:40:50 2016 -0400
710
711 Update to pax-linux-4.5.3-test6.patch:
712 - really fixed https://forums.grsecurity.net/viewtopic.php?f=3&t=4473
713 - the nfsd_proc_read fix for RAP had a typo causing an oops, reported by Carlos Carvalho (https://forums.grsecurity.net/viewtopic.php?f=3&t=4471)
714 - fixed a few format string warnings in the RAP hash emission code, reported by Dwokfur
715
716 drivers/net/ppp/pptp.c | 1 -
717 fs/nfsd/nfsproc.c | 2 +-
718 tools/gcc/rap_plugin/rap_fptr_pass.c | 2 +-
719 tools/gcc/rap_plugin/rap_plugin.c | 14 ++++++++++----
720 4 files changed, 12 insertions(+), 7 deletions(-)
721
722 commit 6df04719a7cf4d3f60c9e6190f8eb4b986ce2b1b
723 Author: David Howells <dhowells@redhat.com>
724 Date: Tue Feb 23 11:03:12 2016 +0000
725
726 KEYS: Fix ASN.1 indefinite length object parsing
727
728 This fixes CVE-2016-0758.
729
730 In the ASN.1 decoder, when the length field of an ASN.1 value is extracted,
731 it isn't validated against the remaining amount of data before being added
732 to the cursor. With a sufficiently large size indicated, the check:
733
734 datalen - dp < 2
735
736 may then fail due to integer overflow.
737
738 Fix this by checking the length indicated against the amount of remaining
739 data in both places a definite length is determined.
740
741 Whilst we're at it, make the following changes:
742
743 (1) Check the maximum size of extended length does not exceed the capacity
744 of the variable it's being stored in (len) rather than the type that
745 variable is assumed to be (size_t).
746
747 (2) Compare the EOC tag to the symbolic constant ASN1_EOC rather than the
748 integer 0.
749
750 (3) To reduce confusion, move the initialisation of len outside of:
751
752 for (len = 0; n > 0; n--) {
753
754 since it doesn't have anything to do with the loop counter n.
755
756 Signed-off-by: David Howells <dhowells@redhat.com>
757 Reviewed-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
758 Acked-by: David Woodhouse <David.Woodhouse@intel.com>
759 Acked-by: Peter Jones <pjones@redhat.com>
760
761 lib/asn1_decoder.c | 16 +++++++++-------
762 1 file changed, 9 insertions(+), 7 deletions(-)
763
764 commit acb6cef8047476b8afc3ff3f07286b9e36de1b77
765 Merge: 735f14a a7c9bec
766 Author: Brad Spengler <spender@grsecurity.net>
767 Date: Wed May 11 17:05:21 2016 -0400
768
769 Merge branch 'pax-test' into grsec-test
770
771 commit a7c9bec57dea73ceee1246a64df55038ea840be9
772 Merge: f5bd134 a29ab35
773 Author: Brad Spengler <spender@grsecurity.net>
774 Date: Wed May 11 17:04:48 2016 -0400
775
776 Merge branch 'linux-4.5.y' into pax-test
777
778 commit 735f14a2b5562cd1329b263a81781d59dacffd3e
779 Author: Brad Spengler <spender@grsecurity.net>
780 Date: Wed May 11 06:57:40 2016 -0400
781
782 Fix typo in nfsd RAP changes causing oops reported by Carlos Carvalho
783 at: https://forums.grsecurity.net/viewtopic.php?f=3&t=4471
784
785 fs/nfsd/nfsproc.c | 2 +-
786 1 file changed, 1 insertion(+), 1 deletion(-)
787
788 commit 35e1e615072d0bb885b38ee1b2ada7a0a6a91f9d
789 Merge: 9e3e5ae3e f5bd134
790 Author: Brad Spengler <spender@grsecurity.net>
791 Date: Tue May 10 20:56:54 2016 -0400
792
793 Merge branch 'pax-test' into grsec-test
794
795 commit f5bd1342fa631bb3b69a2e8919785c827c4edf74
796 Author: Brad Spengler <spender@grsecurity.net>
797 Date: Tue May 10 20:55:57 2016 -0400
798
799 Update to pax-linux-4.5.3-test5.patch:
800 - marked all indirectly callable x86 asm crypto functions, reported by Dwokfur and minipli (https://forums.grsecurity.net/viewtopic.php?f=3&t=4468)
801 - worked around an intentional integer overflow introduced by gcc-6 that triggered a size overflow false positive, reported by hooruD, chron and Fen (https://forums.grsecurity.net/viewtopic.php?f=3&t=4469)
802 - made some preparations for enabling RAP on i386 as well, will have to wait due to KERNEXEC
803
804 arch/x86/crypto/aesni-intel_asm.S | 6 +++---
805 arch/x86/crypto/sha-mb/sha1_mb_mgr_flush_avx2.S | 4 ++--
806 arch/x86/crypto/sha-mb/sha1_mb_mgr_submit_avx2.S | 2 +-
807 arch/x86/crypto/sha256_ni_asm.S | 2 +-
808 arch/x86/crypto/twofish-i586-asm_32.S | 2 +-
809 arch/x86/entry/common.c | 1 -
810 include/linux/linkage.h | 22 +++++++++++++++-------
811 tools/gcc/rap_plugin/rap_fptr_pass.c | 2 +-
812 tools/gcc/rap_plugin/rap_hash.c | 1 +
813 tools/gcc/rap_plugin/rap_plugin.c | 18 +++++++++---------
814 .../disable_size_overflow_hash.data | 1 +
815 .../size_overflow_plugin/size_overflow_hash.data | 1 -
816 12 files changed, 35 insertions(+), 27 deletions(-)
817
818 commit 9e3e5ae3e9ed69452d4133490dd1831376b9a1e8
819 Merge: e5983fd cfcaa03
820 Author: Brad Spengler <spender@grsecurity.net>
821 Date: Sun May 8 08:04:18 2016 -0400
822
823 Merge branch 'pax-test' into grsec-test
824
825 commit cfcaa036dd3756fc32e083a7c486c1143d93fd22
826 Author: Brad Spengler <spender@grsecurity.net>
827 Date: Sun May 8 08:03:53 2016 -0400
828
829 Update to pax-linux-4.5.3-test4.patch:
830 - fixed a few incorrect function types (mostly start_xmit callbacks) found by RAP, reported by cinder (https://forums.grsecurity.net/viewtopic.php?f=3&t=4466)
831
832 drivers/char/tpm/tpm-chip.c | 7 ++++++-
833 drivers/net/can/bfin_can.c | 2 +-
834 drivers/net/can/flexcan.c | 2 +-
835 drivers/net/ethernet/adi/bfin_mac.c | 2 +-
836 drivers/net/ethernet/allwinner/sun4i-emac.c | 2 +-
837 drivers/net/ethernet/amd/7990.c | 2 +-
838 drivers/net/ethernet/amd/7990.h | 2 +-
839 drivers/net/ethernet/amd/atarilance.c | 4 ++--
840 drivers/net/ethernet/amd/declance.c | 2 +-
841 drivers/net/ethernet/amd/sun3lance.c | 4 ++--
842 drivers/net/ethernet/amd/sunlance.c | 2 +-
843 drivers/net/ethernet/broadcom/bcm63xx_enet.c | 2 +-
844 drivers/net/ethernet/davicom/dm9000.c | 2 +-
845 drivers/net/ethernet/faraday/ftgmac100.c | 2 +-
846 drivers/net/ethernet/faraday/ftmac100.c | 2 +-
847 drivers/net/ethernet/freescale/fec_mpc52xx.c | 2 +-
848 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c | 2 +-
849 drivers/net/ethernet/freescale/gianfar.c | 4 ++--
850 drivers/net/ethernet/freescale/ucc_geth.c | 2 +-
851 drivers/net/ethernet/i825xx/lib82596.c | 4 ++--
852 drivers/net/ethernet/ibm/ehea/ehea_main.c | 2 +-
853 drivers/net/ethernet/ibm/emac/core.c | 4 ++--
854 drivers/net/ethernet/micrel/ks8695net.c | 2 +-
855 drivers/net/ethernet/moxa/moxart_ether.c | 2 +-
856 drivers/net/ethernet/netx-eth.c | 2 +-
857 drivers/net/ethernet/nuvoton/w90p910_ether.c | 2 +-
858 drivers/net/ethernet/nxp/lpc_eth.c | 2 +-
859 drivers/net/ethernet/seeq/sgiseeq.c | 2 +-
860 drivers/net/ethernet/sgi/ioc3-eth.c | 4 ++--
861 drivers/net/ethernet/smsc/smc911x.c | 2 +-
862 drivers/net/ethernet/smsc/smc91x.c | 2 +-
863 drivers/net/ethernet/sun/sunbmac.c | 2 +-
864 drivers/net/ethernet/sun/sunqe.c | 2 +-
865 drivers/net/ethernet/sun/sunvnet.c | 10 +++++-----
866 drivers/net/ethernet/ti/cpmac.c | 2 +-
867 drivers/net/ethernet/ti/netcp_core.c | 2 +-
868 drivers/net/ethernet/xilinx/ll_temac_main.c | 2 +-
869 drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 2 +-
870 drivers/net/xen-netback/interface.c | 2 +-
871 drivers/net/xen-netfront.c | 2 +-
872 40 files changed, 55 insertions(+), 50 deletions(-)
873
874 commit e5983fd19799feb3bf947cd0dc2b5435deee3332
875 Merge: 5ecb84f a235ecd
876 Author: Brad Spengler <spender@grsecurity.net>
877 Date: Sat May 7 00:00:42 2016 -0400
878
879 Merge branch 'pax-test' into grsec-test
880
881 commit a235ecd8bdece417e83f9cf89c76607bf15955dc
882 Author: Brad Spengler <spender@grsecurity.net>
883 Date: Fri May 6 23:59:34 2016 -0400
884
885 Update to pax-linux-4.5.3-test3.patch:
886 - fixed some more of PARAVIRT for RAP, reported by hunger
887 - Emese increased the coverage of initify by marking up str* and mem* functions
888 - added error reporting for refusing to load modules incompatible with KERNEXEC's 'or' method, reported by Martin Väth (https://bugs.gentoo.org/show_bug.cgi?id=581726)
889
890 arch/arm/include/asm/string.h | 10 ++---
891 arch/arm64/include/asm/string.h | 22 +++++------
892 arch/x86/boot/string.h | 4 +-
893 arch/x86/include/asm/string_32.h | 20 +++++-----
894 arch/x86/include/asm/string_64.h | 16 ++++----
895 arch/x86/kernel/paravirt-spinlocks.c | 22 +++++++++--
896 arch/x86/xen/mmu.c | 6 ++-
897 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 10 ++---
898 include/linux/string.h | 70 +++++++++++++++++-----------------
899 include/linux/syscalls.h | 2 +-
900 kernel/module.c | 4 +-
901 mm/fadvise.c | 2 +-
902 tools/gcc/randomize_layout_seed.h | 1 -
903 tools/gcc/rap_plugin/rap_plugin.c | 7 +++-
904 14 files changed, 109 insertions(+), 87 deletions(-)
905
906 commit 5ecb84f55a9bdf8b39054c23d90646ba0591ce1c
907 Author: Brad Spengler <spender@grsecurity.net>
908 Date: Fri May 6 08:51:58 2016 -0400
909
910 Remove !PARAVIRT dependency on RAP
911
912 security/Kconfig | 2 +-
913 1 file changed, 1 insertion(+), 1 deletion(-)
914
915 commit eecd10d7c579d2601c384c1e9e0f062a8dda40e7
916 Author: Brad Spengler <spender@grsecurity.net>
917 Date: Fri May 6 06:34:48 2016 -0400
918
919 Update copyright year
920
921 tools/gcc/randomize_layout_plugin.c | 2 +-
922 1 file changed, 1 insertion(+), 1 deletion(-)
923
924 commit 7d7e01439c2601abcae2ecfc66a883be258a2691
925 Merge: 3315e83 c2aa83b
926 Author: Brad Spengler <spender@grsecurity.net>
927 Date: Fri May 6 06:34:25 2016 -0400
928
929 Merge branch 'pax-test' into grsec-test
930
931 commit c2aa83bf2d65989c262ff33312874ee7fe38606a
932 Author: Brad Spengler <spender@grsecurity.net>
933 Date: Fri May 6 06:34:04 2016 -0400
934
935 Update to pax-linux-4.5.2-test2.patch:
936 - minipli fixed a few missing hunks left out from the 4.5 port
937 - fixed a regression in handling user.pax.flags on tmpfs, reported by blueness and Stebalien (https://forums.grsecurity.net/viewtopic.php?f=3&t=4462)
938 - fixed a few compile regressions on arm, reported by Wizzup
939 - fixed PARAVIRT for RAP, reported by spender
940 - fixed the very old PAGEEXEC/i386 TLB reload code for SMAP (not that it could work there), reported by spender
941 - Emese fixed a false positive size overflow report caused by gcc-5 and newer, reported by quasar366 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4455)
942
943 arch/arm/Kconfig | 2 +-
944 arch/arm/include/asm/domain.h | 2 +-
945 arch/arm/kernel/process.c | 6 +
946 arch/mips/mm/mmap.c | 27 ++++
947 arch/powerpc/kernel/process.c | 39 +++++
948 arch/s390/kernel/process.c | 13 ++
949 arch/x86/entry/entry_32.S | 2 +-
950 arch/x86/include/asm/fixmap.h | 2 +-
951 arch/x86/kernel/paravirt.c | 90 +++++++++--
952 arch/x86/mm/fault.c | 2 +
953 arch/x86/mm/pgtable.c | 2 +-
954 drivers/cpufreq/intel_pstate.c | 2 +-
955 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 7 +-
956 drivers/net/ethernet/8390/ax88796.c | 4 +-
957 drivers/oprofile/oprofilefs.c | 4 +-
958 drivers/platform/x86/thinkpad_acpi.c | 1 -
959 fs/xattr.c | 2 +-
960 include/asm-generic/atomic-long.h | 4 +
961 include/uapi/linux/xattr.h | 3 +-
962 kernel/module.c | 2 +-
963 mm/shmem.c | 2 -
964 security/Kconfig | 2 +
965 .../insert_size_overflow_asm.c | 2 +-
966 .../size_overflow_plugin/intentional_overflow.c | 80 ++++++++--
967 .../size_overflow_plugin/remove_unnecessary_dup.c | 2 +-
968 tools/gcc/size_overflow_plugin/size_overflow.h | 8 +-
969 .../gcc/size_overflow_plugin/size_overflow_debug.c | 2 +-
970 tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 2 +-
971 .../gcc/size_overflow_plugin/size_overflow_misc.c | 2 +-
972 .../size_overflow_plugin/size_overflow_plugin.c | 2 +-
973 .../size_overflow_plugin_hash.c | 2 +-
974 .../size_overflow_plugin/size_overflow_transform.c | 34 ++---
975 .../size_overflow_transform_core.c | 170 +++++++++++----------
976 33 files changed, 370 insertions(+), 156 deletions(-)
977
978 commit 3315e83c1e9738784da3c1c5836dd13b7593a8f1
979 Author: Brad Spengler <spender@grsecurity.net>
980 Date: Wed May 4 21:03:36 2016 -0400
981
982 Add PAGEEXEC support for i386 !PAE on SMAP-capable processors
983 (won't be used by anyone, just for correctness sake)
984
985 arch/x86/mm/fault.c | 2 ++
986 1 file changed, 2 insertions(+)
987
988 commit b9e96108d2092c12e42e1810a62aec85f6ddc501
989 Merge: 6d98323 a3273aa
990 Author: Brad Spengler <spender@grsecurity.net>
991 Date: Wed May 4 19:06:44 2016 -0400
992
993 Merge branch 'pax-test' into grsec-test
994
995 commit a3273aa2488f9e201620ee53af1acfd99c58650a
996 Merge: e0e4c2c fbc310e
997 Author: Brad Spengler <spender@grsecurity.net>
998 Date: Wed May 4 19:06:36 2016 -0400
999
1000 Merge branch 'linux-4.5.y' into pax-test
1001
1002 commit 6d98323e0b511bdb77b9ef11d84207219331ac69
1003 Author: Brad Spengler <spender@grsecurity.net>
1004 Date: Tue May 3 21:58:09 2016 -0400
1005
1006 Backport fix from http://www.spinics.net/lists/linux-usb/msg140243.html
1007
1008 drivers/usb/core/devio.c | 9 +++++----
1009 1 file changed, 5 insertions(+), 4 deletions(-)
1010
1011 commit b003c68f96dd6a483b515290756816b6c909f34f
1012 Author: Brad Spengler <spender@grsecurity.net>
1013 Date: Sun May 1 12:06:48 2016 -0400
1014
1015 Add note about RANDSTRUCT and the gcc runtime library exception
1016
1017 tools/gcc/randomize_layout_plugin.c | 5 +++++
1018 1 file changed, 5 insertions(+)
1019
1020 commit fe375f07d31c5d561fcca4016f7c33e885fa3586
1021 Author: Brad Spengler <spender@grsecurity.net>
1022 Date: Fri Apr 29 06:22:29 2016 -0400
1023
1024 Revert change to regmap_access_show()
1025
1026 drivers/base/regmap/regmap-debugfs.c | 3 +--
1027 1 file changed, 1 insertion(+), 2 deletions(-)
1028
1029 commit 3f5df6e7cf9716b4854fb282b6eb22cb1e52e92a
1030 Author: Brad Spengler <spender@grsecurity.net>
1031 Date: Fri Apr 29 06:20:12 2016 -0400
1032
1033 Merge a number of fixes from Mathias Krause
1034
1035 arch/x86/entry/entry_32.S | 2 +-
1036 drivers/base/regmap/regmap-debugfs.c | 3 ++-
1037 drivers/cpufreq/intel_pstate.c | 2 +-
1038 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 7 ++++++-
1039 drivers/oprofile/oprofilefs.c | 4 ++--
1040 drivers/platform/x86/thinkpad_acpi.c | 1 -
1041 init/Kconfig | 1 -
1042 kernel/module.c | 4 +---
1043 8 files changed, 13 insertions(+), 11 deletions(-)
1044
1045 commit 127927d7e57793eca299226cb31ecd9d235bbd62
1046 Author: Brad Spengler <spender@grsecurity.net>
1047 Date: Thu Apr 28 20:58:04 2016 -0400
1048
1049 Add temporary dependency on !PARAVIRT for RAP until some fallout can be fixed
1050
1051 security/Kconfig | 2 +-
1052 1 file changed, 1 insertion(+), 1 deletion(-)
1053
1054 commit d37fff4904eee095ce50ea522efbfaf2a4bcb47e
1055 Author: Brad Spengler <spender@grsecurity.net>
1056 Date: Thu Apr 28 18:44:18 2016 -0400
1057
1058 Update to pax-linux-4.5.2-test1y.patch
1059
1060 tools/gcc/rap_plugin/rap_plugin.c | 6 ++++--
1061 1 file changed, 4 insertions(+), 2 deletions(-)
1062
1063 commit 5e309719b190a24dccd73c8b6ae388bd7f34660b
1064 Merge: ac01f5e e0e4c2c
1065 Author: Brad Spengler <spender@grsecurity.net>
1066 Date: Thu Apr 28 17:37:37 2016 -0400
1067
1068 Merge branch 'pax-test' into grsec-test
1069
1070 commit e0e4c2ce05e0cd594b716a1e12d91928a0d083fd
1071 Author: Brad Spengler <spender@grsecurity.net>
1072 Date: Thu Apr 28 17:36:23 2016 -0400
1073
1074 Update to pax-linux-4.5.2-test1x.patch
1075
1076 arch/x86/include/asm/alternative-asm.h | 8 --------
1077 drivers/lguest/core.c | 2 +-
1078 kernel/sched/deadline.c | 4 ++--
1079 mm/swap.c | 7 ++++++-
1080 tools/gcc/colorize_plugin.c | 2 +-
1081 tools/gcc/gcc-common.h | 21 +++++++++++++++++++++
1082 6 files changed, 31 insertions(+), 13 deletions(-)
1083
1084 commit ac01f5eb279d93b10d63f87c9d851e039ab1bc3e
1085 Author: Brad Spengler <spender@grsecurity.net>
1086 Date: Thu Apr 28 17:35:14 2016 -0400
1087
1088 Initial import of grsecurity 3.1 for 4.5.2 with limited RAP support
1089
1090 Documentation/dontdiff | 2 +
1091 Documentation/kernel-parameters.txt | 11 +
1092 Documentation/sysctl/kernel.txt | 15 +
1093 Makefile | 5 +-
1094 arch/alpha/include/asm/cache.h | 4 +-
1095 arch/alpha/kernel/osf_sys.c | 12 +-
1096 arch/arc/Kconfig | 1 +
1097 arch/arm/Kconfig | 1 +
1098 arch/arm/Kconfig.debug | 1 +
1099 arch/arm/include/asm/thread_info.h | 7 +-
1100 arch/arm/kernel/entry-common.S | 8 +-
1101 arch/arm/kernel/process.c | 4 +-
1102 arch/arm/kernel/ptrace.c | 9 +
1103 arch/arm/kernel/traps.c | 7 +-
1104 arch/arm/mm/Kconfig | 4 +-
1105 arch/arm/mm/fault.c | 40 +-
1106 arch/arm/mm/mmap.c | 8 +-
1107 arch/arm/net/bpf_jit_32.c | 51 +-
1108 arch/arm64/Kconfig.debug | 1 +
1109 arch/avr32/include/asm/cache.h | 4 +-
1110 arch/blackfin/Kconfig.debug | 1 +
1111 arch/blackfin/include/asm/cache.h | 3 +-
1112 arch/cris/include/arch-v10/arch/cache.h | 3 +-
1113 arch/cris/include/arch-v32/arch/cache.h | 3 +-
1114 arch/frv/include/asm/cache.h | 3 +-
1115 arch/frv/mm/elf-fdpic.c | 4 +-
1116 arch/hexagon/include/asm/cache.h | 6 +-
1117 arch/ia64/Kconfig | 1 +
1118 arch/ia64/include/asm/cache.h | 3 +-
1119 arch/ia64/kernel/sys_ia64.c | 2 +
1120 arch/ia64/mm/hugetlbpage.c | 2 +
1121 arch/m32r/include/asm/cache.h | 4 +-
1122 arch/m68k/include/asm/cache.h | 4 +-
1123 arch/metag/mm/hugetlbpage.c | 1 +
1124 arch/microblaze/include/asm/cache.h | 3 +-
1125 arch/mips/Kconfig | 1 +
1126 arch/mips/include/asm/thread_info.h | 11 +-
1127 arch/mips/kernel/irq.c | 3 +
1128 arch/mips/kernel/ptrace.c | 9 +
1129 arch/mips/mm/mmap.c | 4 +-
1130 arch/mn10300/proc-mn103e010/include/proc/cache.h | 4 +-
1131 arch/mn10300/proc-mn2ws0050/include/proc/cache.h | 4 +-
1132 arch/nios2/lib/memset.c | 2 +-
1133 arch/openrisc/include/asm/cache.h | 4 +-
1134 arch/parisc/include/asm/cache.h | 3 +
1135 arch/parisc/kernel/sys_parisc.c | 4 +
1136 arch/powerpc/Kconfig | 1 +
1137 arch/powerpc/include/asm/cache.h | 4 +-
1138 arch/powerpc/include/asm/thread_info.h | 5 +-
1139 arch/powerpc/kernel/Makefile | 2 +
1140 arch/powerpc/kernel/irq.c | 3 +
1141 arch/powerpc/kernel/process.c | 10 +-
1142 arch/powerpc/kernel/ptrace.c | 14 +
1143 arch/powerpc/kernel/traps.c | 5 +
1144 arch/powerpc/mm/slice.c | 2 +-
1145 arch/s390/Kconfig.debug | 1 +
1146 arch/s390/include/asm/cache.h | 4 +-
1147 arch/score/include/asm/cache.h | 4 +-
1148 arch/sh/include/asm/cache.h | 3 +-
1149 arch/sh/mm/mmap.c | 6 +-
1150 arch/sparc/include/asm/cache.h | 4 +-
1151 arch/sparc/include/asm/pgalloc_64.h | 1 +
1152 arch/sparc/include/asm/thread_info_64.h | 8 +-
1153 arch/sparc/kernel/process_32.c | 6 +-
1154 arch/sparc/kernel/process_64.c | 8 +-
1155 arch/sparc/kernel/ptrace_64.c | 14 +
1156 arch/sparc/kernel/sys_sparc_64.c | 8 +-
1157 arch/sparc/kernel/syscalls.S | 8 +-
1158 arch/sparc/kernel/traps_32.c | 8 +-
1159 arch/sparc/kernel/traps_64.c | 28 +-
1160 arch/sparc/kernel/unaligned_64.c | 2 +-
1161 arch/sparc/mm/fault_64.c | 2 +-
1162 arch/sparc/mm/hugetlbpage.c | 15 +-
1163 arch/tile/Kconfig | 1 +
1164 arch/tile/include/asm/cache.h | 3 +-
1165 arch/tile/mm/hugetlbpage.c | 2 +
1166 arch/um/include/asm/cache.h | 3 +-
1167 arch/unicore32/include/asm/cache.h | 6 +-
1168 arch/x86/Kconfig | 21 +
1169 arch/x86/Kconfig.debug | 2 +
1170 arch/x86/crypto/sha-mb/sha1_mb.c | 4 +-
1171 arch/x86/entry/common.c | 14 +
1172 arch/x86/entry/entry_32.S | 2 +-
1173 arch/x86/entry/entry_64.S | 2 +-
1174 arch/x86/ia32/ia32_aout.c | 2 +
1175 arch/x86/include/asm/floppy.h | 20 +-
1176 arch/x86/include/asm/fpu/types.h | 69 +-
1177 arch/x86/include/asm/io.h | 2 +-
1178 arch/x86/include/asm/page.h | 12 +-
1179 arch/x86/include/asm/paravirt_types.h | 21 +-
1180 arch/x86/include/asm/processor.h | 12 +-
1181 arch/x86/include/asm/thread_info.h | 6 +-
1182 arch/x86/kernel/dumpstack.c | 10 +-
1183 arch/x86/kernel/dumpstack_32.c | 2 +-
1184 arch/x86/kernel/dumpstack_64.c | 2 +-
1185 arch/x86/kernel/ioport.c | 13 +
1186 arch/x86/kernel/irq_32.c | 3 +
1187 arch/x86/kernel/irq_64.c | 4 +
1188 arch/x86/kernel/ldt.c | 18 +
1189 arch/x86/kernel/msr.c | 10 +
1190 arch/x86/kernel/ptrace.c | 14 +
1191 arch/x86/kernel/signal.c | 9 +-
1192 arch/x86/kernel/sys_i386_32.c | 9 +-
1193 arch/x86/kernel/sys_x86_64.c | 8 +-
1194 arch/x86/kernel/traps.c | 5 +
1195 arch/x86/kernel/verify_cpu.S | 1 +
1196 arch/x86/kernel/vm86_32.c | 15 +
1197 arch/x86/mm/fault.c | 12 +-
1198 arch/x86/mm/hugetlbpage.c | 15 +-
1199 arch/x86/mm/init.c | 66 +-
1200 arch/x86/mm/init_32.c | 6 +-
1201 arch/x86/net/bpf_jit_comp.c | 4 +
1202 arch/x86/platform/efi/efi_64.c | 2 +-
1203 arch/x86/xen/Kconfig | 1 +
1204 arch/xtensa/variants/dc232b/include/variant/core.h | 2 +-
1205 arch/xtensa/variants/fsf/include/variant/core.h | 3 +-
1206 crypto/scatterwalk.c | 10 +-
1207 drivers/acpi/acpica/hwxfsleep.c | 11 +-
1208 drivers/acpi/custom_method.c | 4 +
1209 drivers/block/cciss.h | 30 +-
1210 drivers/block/smart1,2.h | 40 +-
1211 drivers/cdrom/cdrom.c | 2 +-
1212 drivers/char/Kconfig | 4 +-
1213 drivers/char/genrtc.c | 1 +
1214 drivers/char/mem.c | 17 +
1215 drivers/char/random.c | 5 +-
1216 drivers/cpufreq/sparc-us3-cpufreq.c | 2 -
1217 drivers/crypto/ccp/ccp-crypto-aes-cmac.c | 3 +
1218 drivers/crypto/ccp/ccp-crypto-sha.c | 3 +
1219 drivers/crypto/marvell/cesa.h | 3 +-
1220 drivers/crypto/marvell/hash.c | 106 +-
1221 drivers/firewire/ohci.c | 4 +
1222 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 78 +-
1223 drivers/gpu/drm/nouveau/nouveau_ttm.c | 28 +-
1224 drivers/gpu/drm/ttm/ttm_bo_manager.c | 10 +-
1225 drivers/gpu/drm/virtio/virtgpu_ttm.c | 10 +-
1226 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c | 10 +-
1227 drivers/hid/hid-wiimote-debug.c | 2 +-
1228 drivers/infiniband/hw/nes/nes_cm.c | 22 +-
1229 drivers/input/touchscreen/sur40.c | 21 +-
1230 drivers/iommu/Kconfig | 1 +
1231 drivers/iommu/amd_iommu.c | 14 +-
1232 drivers/isdn/gigaset/bas-gigaset.c | 32 +-
1233 drivers/isdn/gigaset/ser-gigaset.c | 32 +-
1234 drivers/isdn/gigaset/usb-gigaset.c | 32 +-
1235 drivers/isdn/i4l/isdn_concap.c | 6 +-
1236 drivers/isdn/i4l/isdn_x25iface.c | 16 +-
1237 drivers/lguest/core.c | 2 +-
1238 drivers/md/bcache/Kconfig | 1 +
1239 drivers/md/raid5.c | 8 +
1240 drivers/media/pci/solo6x10/solo6x10-g723.c | 2 +-
1241 drivers/media/platform/sti/c8sectpfe/Kconfig | 1 +
1242 drivers/media/radio/radio-cadet.c | 5 +-
1243 drivers/media/usb/dvb-usb/cinergyT2-core.c | 91 +-
1244 drivers/media/usb/dvb-usb/cinergyT2-fe.c | 182 +-
1245 drivers/media/usb/dvb-usb/dvb-usb-firmware.c | 37 +-
1246 drivers/media/usb/dvb-usb/technisat-usb2.c | 75 +-
1247 drivers/message/fusion/mptbase.c | 9 +
1248 drivers/misc/sgi-xp/xp_main.c | 12 +-
1249 drivers/net/ethernet/brocade/bna/bna_enet.c | 8 +-
1250 drivers/net/ethernet/mellanox/mlx4/en_rx.c | 2 +-
1251 drivers/net/hyperv/hyperv_net.h | 7 +-
1252 drivers/net/hyperv/netvsc_drv.c | 5 +-
1253 drivers/net/hyperv/rndis_filter.c | 4 +-
1254 drivers/net/wan/lmc/lmc_media.c | 97 +-
1255 drivers/net/wan/z85230.c | 24 +-
1256 drivers/net/wireless/ath/ath9k/Kconfig | 1 -
1257 drivers/net/wireless/zydas/zd1211rw/zd_usb.c | 2 +-
1258 drivers/pci/proc.c | 9 +
1259 drivers/platform/x86/asus-wmi.c | 12 +
1260 drivers/rtc/rtc-dev.c | 3 +
1261 drivers/scsi/bfa/bfa_fcs.c | 19 +-
1262 drivers/scsi/bfa/bfa_fcs_lport.c | 29 +-
1263 drivers/scsi/bfa/bfa_modules.h | 12 +-
1264 drivers/scsi/cxgbi/libcxgbi.c | 1 +
1265 drivers/scsi/hpsa.h | 40 +-
1266 drivers/staging/lustre/lustre/ldlm/ldlm_flock.c | 2 +-
1267 drivers/staging/lustre/lustre/libcfs/module.c | 10 +-
1268 drivers/staging/wilc1000/host_interface.h | 1 +
1269 drivers/staging/wilc1000/wilc_spi.c | 1 +
1270 drivers/tty/serial/uartlite.c | 4 +-
1271 drivers/tty/sysrq.c | 2 +-
1272 drivers/tty/tty_io.c | 4 +
1273 drivers/tty/vt/keyboard.c | 22 +-
1274 drivers/uio/uio.c | 6 +-
1275 drivers/usb/core/hub.c | 5 +
1276 drivers/usb/gadget/function/f_uac1.c | 1 +
1277 drivers/usb/gadget/function/u_uac1.c | 1 +
1278 drivers/usb/host/hwa-hc.c | 9 +-
1279 drivers/usb/usbip/usbip_common.c | 11 +
1280 drivers/usb/usbip/vhci_sysfs.c | 2 +-
1281 drivers/video/fbdev/arcfb.c | 2 +-
1282 drivers/video/fbdev/matrox/matroxfb_DAC1064.c | 10 +-
1283 drivers/video/fbdev/matrox/matroxfb_Ti3026.c | 5 +-
1284 drivers/video/fbdev/sh_mobile_lcdcfb.c | 6 +-
1285 drivers/video/logo/logo_linux_clut224.ppm | 2720 ++++----
1286 drivers/xen/xenfs/xenstored.c | 5 +
1287 firmware/Makefile | 2 +
1288 firmware/WHENCE | 20 +-
1289 firmware/bnx2/bnx2-mips-06-6.2.3.fw.ihex | 5804 +++++++++++++++++
1290 firmware/bnx2/bnx2-mips-09-6.2.1b.fw.ihex | 6496 ++++++++++++++++++++
1291 fs/attr.c | 4 +
1292 fs/autofs4/waitq.c | 9 +
1293 fs/binfmt_aout.c | 7 +
1294 fs/binfmt_elf.c | 40 +-
1295 fs/compat.c | 20 +-
1296 fs/coredump.c | 17 +-
1297 fs/dcache.c | 3 +
1298 fs/debugfs/inode.c | 19 +-
1299 fs/ecryptfs/keystore.c | 6 +-
1300 fs/exec.c | 235 +-
1301 fs/ext2/balloc.c | 4 +-
1302 fs/ext2/super.c | 8 +-
1303 fs/ext4/balloc.c | 4 +-
1304 fs/ext4/extents.c | 2 +-
1305 fs/fcntl.c | 4 +
1306 fs/fhandle.c | 3 +-
1307 fs/file.c | 4 +
1308 fs/filesystems.c | 4 +
1309 fs/fs_struct.c | 20 +-
1310 fs/hugetlbfs/inode.c | 5 +-
1311 fs/inode.c | 8 +-
1312 fs/kernfs/dir.c | 6 +
1313 fs/mount.h | 4 +-
1314 fs/namei.c | 295 +-
1315 fs/namespace.c | 24 +
1316 fs/nfsd/nfscache.c | 2 +-
1317 fs/open.c | 38 +
1318 fs/overlayfs/inode.c | 3 +
1319 fs/overlayfs/super.c | 6 +-
1320 fs/pipe.c | 2 +-
1321 fs/posix_acl.c | 15 +-
1322 fs/proc/Kconfig | 10 +-
1323 fs/proc/array.c | 67 +-
1324 fs/proc/base.c | 175 +-
1325 fs/proc/cmdline.c | 4 +
1326 fs/proc/devices.c | 4 +
1327 fs/proc/fd.c | 13 +-
1328 fs/proc/generic.c | 64 +
1329 fs/proc/inode.c | 17 +
1330 fs/proc/internal.h | 11 +-
1331 fs/proc/interrupts.c | 4 +
1332 fs/proc/kcore.c | 3 +
1333 fs/proc/proc_net.c | 31 +
1334 fs/proc/proc_sysctl.c | 52 +-
1335 fs/proc/root.c | 8 +
1336 fs/proc/stat.c | 69 +-
1337 fs/proc/task_mmu.c | 66 +-
1338 fs/readdir.c | 19 +
1339 fs/reiserfs/item_ops.c | 24 +-
1340 fs/reiserfs/super.c | 4 +
1341 fs/select.c | 2 +
1342 fs/seq_file.c | 30 +-
1343 fs/stat.c | 20 +-
1344 fs/sysfs/dir.c | 30 +-
1345 fs/utimes.c | 7 +
1346 fs/xattr.c | 26 +-
1347 grsecurity/Kconfig | 1205 ++++
1348 grsecurity/Makefile | 54 +
1349 grsecurity/gracl.c | 2757 +++++++++
1350 grsecurity/gracl_alloc.c | 105 +
1351 grsecurity/gracl_cap.c | 127 +
1352 grsecurity/gracl_compat.c | 269 +
1353 grsecurity/gracl_fs.c | 448 ++
1354 grsecurity/gracl_ip.c | 386 ++
1355 grsecurity/gracl_learn.c | 207 +
1356 grsecurity/gracl_policy.c | 1784 ++++++
1357 grsecurity/gracl_res.c | 68 +
1358 grsecurity/gracl_segv.c | 304 +
1359 grsecurity/gracl_shm.c | 40 +
1360 grsecurity/grsec_chdir.c | 19 +
1361 grsecurity/grsec_chroot.c | 506 ++
1362 grsecurity/grsec_disabled.c | 445 ++
1363 grsecurity/grsec_exec.c | 189 +
1364 grsecurity/grsec_fifo.c | 26 +
1365 grsecurity/grsec_fork.c | 23 +
1366 grsecurity/grsec_init.c | 294 +
1367 grsecurity/grsec_ipc.c | 48 +
1368 grsecurity/grsec_link.c | 65 +
1369 grsecurity/grsec_log.c | 340 +
1370 grsecurity/grsec_mem.c | 48 +
1371 grsecurity/grsec_mount.c | 65 +
1372 grsecurity/grsec_pax.c | 47 +
1373 grsecurity/grsec_proc.c | 20 +
1374 grsecurity/grsec_ptrace.c | 30 +
1375 grsecurity/grsec_sig.c | 245 +
1376 grsecurity/grsec_sock.c | 244 +
1377 grsecurity/grsec_sysctl.c | 497 ++
1378 grsecurity/grsec_time.c | 16 +
1379 grsecurity/grsec_tpe.c | 78 +
1380 grsecurity/grsec_tty.c | 18 +
1381 grsecurity/grsec_usb.c | 15 +
1382 grsecurity/grsum.c | 54 +
1383 include/linux/binfmts.h | 5 +-
1384 include/linux/capability.h | 13 +
1385 include/linux/compiler-gcc.h | 5 +
1386 include/linux/compiler.h | 8 +
1387 include/linux/cred.h | 8 +-
1388 include/linux/dcache.h | 5 +-
1389 include/linux/fs.h | 24 +-
1390 include/linux/fs_struct.h | 2 +-
1391 include/linux/fsnotify.h | 6 +
1392 include/linux/gracl.h | 342 ++
1393 include/linux/gracl_compat.h | 156 +
1394 include/linux/gralloc.h | 9 +
1395 include/linux/grdefs.h | 140 +
1396 include/linux/grinternal.h | 231 +
1397 include/linux/grmsg.h | 120 +
1398 include/linux/grsecurity.h | 259 +
1399 include/linux/grsock.h | 19 +
1400 include/linux/ipc.h | 2 +-
1401 include/linux/ipc_namespace.h | 2 +-
1402 include/linux/kallsyms.h | 18 +-
1403 include/linux/key-type.h | 4 +-
1404 include/linux/kmod.h | 5 +
1405 include/linux/kobject.h | 2 +-
1406 include/linux/lsm_hooks.h | 4 +-
1407 include/linux/mm.h | 12 +
1408 include/linux/mm_types.h | 4 +-
1409 include/linux/module.h | 5 +-
1410 include/linux/mount.h | 2 +-
1411 include/linux/msg.h | 2 +-
1412 include/linux/netfilter/xt_gradm.h | 9 +
1413 include/linux/path.h | 4 +-
1414 include/linux/perf_event.h | 13 +-
1415 include/linux/pid_namespace.h | 2 +-
1416 include/linux/printk.h | 2 +-
1417 include/linux/proc_fs.h | 22 +-
1418 include/linux/proc_ns.h | 2 +-
1419 include/linux/random.h | 2 +-
1420 include/linux/rbtree_augmented.h | 4 +-
1421 include/linux/scatterlist.h | 12 +-
1422 include/linux/sched.h | 114 +-
1423 include/linux/security.h | 1 +
1424 include/linux/sem.h | 2 +-
1425 include/linux/seq_file.h | 5 +
1426 include/linux/shm.h | 6 +-
1427 include/linux/skbuff.h | 3 +
1428 include/linux/slab.h | 9 -
1429 include/linux/sysctl.h | 8 +-
1430 include/linux/thread_info.h | 6 +-
1431 include/linux/tty.h | 2 +-
1432 include/linux/tty_driver.h | 4 +-
1433 include/linux/uidgid.h | 5 +
1434 include/linux/user_namespace.h | 2 +-
1435 include/linux/utsname.h | 2 +-
1436 include/linux/vermagic.h | 16 +-
1437 include/linux/vmalloc.h | 8 +
1438 include/net/af_unix.h | 2 +-
1439 include/net/ip.h | 2 +-
1440 include/net/neighbour.h | 2 +-
1441 include/net/net_namespace.h | 2 +-
1442 include/net/sctp/structs.h | 2 +-
1443 include/net/sock.h | 2 +-
1444 include/trace/events/fs.h | 53 +
1445 include/uapi/linux/personality.h | 1 +
1446 init/Kconfig | 4 +
1447 init/main.c | 46 +-
1448 ipc/mqueue.c | 1 +
1449 ipc/msg.c | 3 +-
1450 ipc/msgutil.c | 4 +-
1451 ipc/sem.c | 3 +-
1452 ipc/shm.c | 26 +-
1453 ipc/util.c | 6 +
1454 kernel/auditsc.c | 2 +-
1455 kernel/bpf/syscall.c | 10 +-
1456 kernel/bpf/verifier.c | 1 -
1457 kernel/capability.c | 41 +-
1458 kernel/cgroup.c | 5 +-
1459 kernel/compat.c | 1 +
1460 kernel/configs.c | 11 +
1461 kernel/cred.c | 112 +-
1462 kernel/events/core.c | 14 +-
1463 kernel/exit.c | 10 +-
1464 kernel/fork.c | 86 +-
1465 kernel/futex.c | 4 +-
1466 kernel/kallsyms.c | 9 +
1467 kernel/kcmp.c | 4 +
1468 kernel/kexec_core.c | 2 +-
1469 kernel/kmod.c | 96 +-
1470 kernel/kprobes.c | 9 +-
1471 kernel/ksysfs.c | 2 +
1472 kernel/locking/lockdep_proc.c | 10 +-
1473 kernel/module.c | 110 +-
1474 kernel/panic.c | 4 +-
1475 kernel/pid.c | 18 +-
1476 kernel/power/Kconfig | 2 +
1477 kernel/printk/printk.c | 7 +-
1478 kernel/ptrace.c | 50 +-
1479 kernel/resource.c | 10 +
1480 kernel/sched/core.c | 11 +-
1481 kernel/sched/debug.c | 4 +
1482 kernel/signal.c | 37 +-
1483 kernel/sys.c | 64 +-
1484 kernel/sysctl.c | 172 +-
1485 kernel/taskstats.c | 6 +
1486 kernel/time/posix-timers.c | 8 +
1487 kernel/time/time.c | 5 +
1488 kernel/time/timekeeping.c | 3 +
1489 kernel/time/timer_list.c | 13 +-
1490 kernel/time/timer_stats.c | 10 +-
1491 kernel/trace/Kconfig | 2 +
1492 kernel/trace/trace_syscalls.c | 8 +
1493 kernel/user_namespace.c | 15 +
1494 kernel/workqueue.c | 29 +
1495 lib/Kconfig.debug | 12 +-
1496 lib/Kconfig.kasan | 2 +-
1497 lib/is_single_threaded.c | 3 +
1498 lib/list_debug.c | 65 +-
1499 lib/nlattr.c | 2 +
1500 lib/rbtree.c | 4 +-
1501 lib/vsprintf.c | 39 +-
1502 localversion-grsec | 1 +
1503 mm/Kconfig | 8 +-
1504 mm/Kconfig.debug | 1 +
1505 mm/filemap.c | 8 +-
1506 mm/kmemleak.c | 4 +-
1507 mm/memory.c | 2 +-
1508 mm/mempolicy.c | 12 +-
1509 mm/migrate.c | 3 +-
1510 mm/mlock.c | 11 +-
1511 mm/mmap.c | 127 +-
1512 mm/mprotect.c | 8 +
1513 mm/oom_kill.c | 4 +
1514 mm/page_alloc.c | 2 +-
1515 mm/process_vm_access.c | 6 +
1516 mm/shmem.c | 2 +-
1517 mm/slab.c | 14 +-
1518 mm/slab_common.c | 2 +-
1519 mm/slob.c | 12 +
1520 mm/slub.c | 33 +-
1521 mm/swap.c | 6 +-
1522 mm/util.c | 3 +
1523 mm/vmalloc.c | 82 +-
1524 mm/vmstat.c | 29 +-
1525 net/appletalk/atalk_proc.c | 2 +-
1526 net/atm/lec.c | 6 +-
1527 net/atm/mpoa_caches.c | 43 +-
1528 net/bridge/netfilter/ebtables.c | 4 +
1529 net/can/bcm.c | 2 +-
1530 net/can/proc.c | 2 +-
1531 net/core/dev_ioctl.c | 7 +-
1532 net/core/filter.c | 8 +-
1533 net/core/net-procfs.c | 17 +-
1534 net/core/pktgen.c | 2 +-
1535 net/core/sock.c | 23 +-
1536 net/core/sysctl_net_core.c | 2 +-
1537 net/decnet/dn_dev.c | 2 +-
1538 net/ipv4/devinet.c | 6 +-
1539 net/ipv4/inet_hashtables.c | 4 +
1540 net/ipv4/ip_input.c | 7 +
1541 net/ipv4/ip_sockglue.c | 3 +-
1542 net/ipv4/netfilter/arp_tables.c | 43 +-
1543 net/ipv4/netfilter/ip_tables.c | 48 +-
1544 net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 +-
1545 net/ipv4/route.c | 6 +-
1546 net/ipv4/tcp_input.c | 6 +-
1547 net/ipv4/tcp_ipv4.c | 24 +-
1548 net/ipv4/tcp_minisocks.c | 9 +-
1549 net/ipv4/tcp_timer.c | 11 +
1550 net/ipv4/udp.c | 24 +
1551 net/ipv6/addrconf.c | 13 +-
1552 net/ipv6/netfilter/ip6_tables.c | 48 +-
1553 net/ipv6/proc.c | 2 +-
1554 net/ipv6/tcp_ipv6.c | 23 +-
1555 net/ipv6/udp.c | 7 +
1556 net/ipx/ipx_proc.c | 2 +-
1557 net/irda/irproc.c | 2 +-
1558 net/llc/llc_proc.c | 2 +-
1559 net/netfilter/Kconfig | 10 +
1560 net/netfilter/Makefile | 1 +
1561 net/netfilter/nf_conntrack_core.c | 8 +
1562 net/netfilter/xt_gradm.c | 51 +
1563 net/netfilter/xt_hashlimit.c | 4 +-
1564 net/netfilter/xt_recent.c | 2 +-
1565 net/packet/af_packet.c | 1 +
1566 net/sctp/bind_addr.c | 14 +-
1567 net/sctp/protocol.c | 1 +
1568 net/sctp/sm_make_chunk.c | 3 +-
1569 net/sctp/socket.c | 4 +-
1570 net/socket.c | 75 +-
1571 net/sunrpc/Kconfig | 1 +
1572 net/sunrpc/cache.c | 2 +-
1573 net/sunrpc/stats.c | 2 +-
1574 net/sysctl_net.c | 2 +-
1575 net/unix/af_unix.c | 52 +-
1576 net/vmw_vsock/vmci_transport_notify.c | 30 +-
1577 net/vmw_vsock/vmci_transport_notify_qstate.c | 30 +-
1578 net/x25/sysctl_net_x25.c | 2 +-
1579 net/x25/x25_proc.c | 2 +-
1580 scripts/package/Makefile | 2 +-
1581 scripts/package/mkspec | 41 +-
1582 security/Kconfig | 364 +-
1583 security/apparmor/file.c | 4 +-
1584 security/apparmor/lsm.c | 8 +-
1585 security/commoncap.c | 29 +
1586 security/keys/internal.h | 2 +-
1587 security/min_addr.c | 2 +
1588 security/tomoyo/file.c | 12 +-
1589 security/tomoyo/mount.c | 4 +
1590 security/tomoyo/tomoyo.c | 20 +-
1591 security/yama/Kconfig | 2 +-
1592 sound/synth/emux/emux_seq.c | 14 +-
1593 sound/usb/line6/driver.c | 40 +-
1594 sound/usb/line6/toneport.c | 12 +-
1595 tools/gcc/.gitignore | 1 +
1596 tools/gcc/Makefile | 12 +
1597 tools/gcc/gen-random-seed.sh | 8 +
1598 tools/gcc/randomize_layout_plugin.c | 935 +++
1599 tools/gcc/randomize_layout_seed.h | 1 -
1600 .../size_overflow_plugin/size_overflow_hash.data | 202 +-
1601 511 files changed, 32630 insertions(+), 3134 deletions(-)
1602
1603 commit a89837d0fc99aab94b5c8b975215de260271c1f7
1604 Author: Brad Spengler <spender@grsecurity.net>
1605 Date: Wed Apr 27 20:43:37 2016 -0400
1606
1607 Initial port of PaX to 4.5.2 with a limited form of RAP
1608 (< 1/5th the total size of the full developed RAP plugin)
1609 No retaddr protection via XOR canary
1610 No C++ support
1611 No LTO support
1612 Removal of a few optimization passes
1613 No compile time reporting of bad fptr casts
1614
1615 The RAP plugin should therefore be used only to compile an
1616 appropriate vanilla kernel with this patch.
1617
1618 Documentation/dontdiff | 46 +-
1619 Documentation/kbuild/makefiles.txt | 39 +-
1620 Documentation/kernel-parameters.txt | 28 +
1621 Makefile | 52 +-
1622 arch/alpha/include/asm/atomic.h | 10 +
1623 arch/alpha/include/asm/elf.h | 7 +
1624 arch/alpha/include/asm/pgalloc.h | 6 +
1625 arch/alpha/include/asm/pgtable.h | 11 +
1626 arch/alpha/kernel/module.c | 2 +-
1627 arch/alpha/kernel/osf_sys.c | 8 +-
1628 arch/alpha/mm/fault.c | 141 +-
1629 arch/arm/Kconfig | 3 +-
1630 arch/arm/include/asm/atomic.h | 323 +-
1631 arch/arm/include/asm/cache.h | 5 +-
1632 arch/arm/include/asm/cacheflush.h | 2 +-
1633 arch/arm/include/asm/checksum.h | 14 +-
1634 arch/arm/include/asm/cmpxchg.h | 4 +
1635 arch/arm/include/asm/cpuidle.h | 2 +-
1636 arch/arm/include/asm/domain.h | 42 +-
1637 arch/arm/include/asm/elf.h | 9 +-
1638 arch/arm/include/asm/fncpy.h | 2 +
1639 arch/arm/include/asm/futex.h | 1 +
1640 arch/arm/include/asm/kmap_types.h | 2 +-
1641 arch/arm/include/asm/mach/dma.h | 2 +-
1642 arch/arm/include/asm/mach/map.h | 16 +-
1643 arch/arm/include/asm/outercache.h | 2 +-
1644 arch/arm/include/asm/page.h | 3 +-
1645 arch/arm/include/asm/pgalloc.h | 20 +
1646 arch/arm/include/asm/pgtable-2level-hwdef.h | 4 +-
1647 arch/arm/include/asm/pgtable-2level.h | 3 +
1648 arch/arm/include/asm/pgtable-3level.h | 3 +
1649 arch/arm/include/asm/pgtable.h | 54 +-
1650 arch/arm/include/asm/smp.h | 2 +-
1651 arch/arm/include/asm/thread_info.h | 3 +
1652 arch/arm/include/asm/tls.h | 3 +
1653 arch/arm/include/asm/uaccess.h | 113 +-
1654 arch/arm/include/uapi/asm/ptrace.h | 2 +-
1655 arch/arm/kernel/armksyms.c | 2 +-
1656 arch/arm/kernel/cpuidle.c | 2 +-
1657 arch/arm/kernel/entry-armv.S | 109 +-
1658 arch/arm/kernel/entry-common.S | 40 +-
1659 arch/arm/kernel/entry-header.S | 55 +
1660 arch/arm/kernel/fiq.c | 3 +
1661 arch/arm/kernel/module-plts.c | 7 +-
1662 arch/arm/kernel/module.c | 38 +-
1663 arch/arm/kernel/patch.c | 2 +
1664 arch/arm/kernel/process.c | 92 +-
1665 arch/arm/kernel/reboot.c | 1 +
1666 arch/arm/kernel/setup.c | 20 +-
1667 arch/arm/kernel/signal.c | 35 +-
1668 arch/arm/kernel/smp.c | 2 +-
1669 arch/arm/kernel/tcm.c | 4 +-
1670 arch/arm/kernel/vmlinux.lds.S | 6 +-
1671 arch/arm/kvm/arm.c | 8 +-
1672 arch/arm/lib/copy_page.S | 1 +
1673 arch/arm/lib/csumpartialcopyuser.S | 4 +-
1674 arch/arm/lib/delay.c | 2 +-
1675 arch/arm/lib/uaccess_with_memcpy.c | 4 +-
1676 arch/arm/mach-exynos/suspend.c | 6 +-
1677 arch/arm/mach-mvebu/coherency.c | 4 +-
1678 arch/arm/mach-omap2/board-n8x0.c | 2 +-
1679 arch/arm/mach-omap2/omap-mpuss-lowpower.c | 4 +-
1680 arch/arm/mach-omap2/omap-smp.c | 1 +
1681 arch/arm/mach-omap2/omap_device.c | 4 +-
1682 arch/arm/mach-omap2/omap_device.h | 4 +-
1683 arch/arm/mach-omap2/omap_hwmod.c | 4 +-
1684 arch/arm/mach-omap2/powerdomains43xx_data.c | 5 +-
1685 arch/arm/mach-omap2/wd_timer.c | 6 +-
1686 arch/arm/mach-shmobile/platsmp-apmu.c | 5 +-
1687 arch/arm/mach-tegra/cpuidle-tegra20.c | 2 +-
1688 arch/arm/mach-tegra/irq.c | 1 +
1689 arch/arm/mach-ux500/pm.c | 1 +
1690 arch/arm/mach-zynq/platsmp.c | 1 +
1691 arch/arm/mm/Kconfig | 6 +-
1692 arch/arm/mm/cache-l2x0.c | 2 +-
1693 arch/arm/mm/context.c | 10 +-
1694 arch/arm/mm/fault.c | 146 +
1695 arch/arm/mm/fault.h | 12 +
1696 arch/arm/mm/init.c | 39 +
1697 arch/arm/mm/ioremap.c | 4 +-
1698 arch/arm/mm/mmap.c | 36 +-
1699 arch/arm/mm/mmu.c | 162 +-
1700 arch/arm/net/bpf_jit_32.c | 3 +
1701 arch/arm/plat-iop/setup.c | 2 +-
1702 arch/arm/plat-omap/sram.c | 2 +
1703 arch/arm64/include/asm/atomic.h | 10 +
1704 arch/arm64/include/asm/percpu.h | 8 +-
1705 arch/arm64/include/asm/pgalloc.h | 5 +
1706 arch/arm64/include/asm/uaccess.h | 1 +
1707 arch/arm64/mm/dma-mapping.c | 2 +-
1708 arch/avr32/include/asm/elf.h | 8 +-
1709 arch/avr32/include/asm/kmap_types.h | 4 +-
1710 arch/avr32/mm/fault.c | 27 +
1711 arch/frv/include/asm/atomic.h | 10 +
1712 arch/frv/include/asm/kmap_types.h | 2 +-
1713 arch/frv/mm/elf-fdpic.c | 3 +-
1714 arch/ia64/Makefile | 1 +
1715 arch/ia64/include/asm/atomic.h | 10 +
1716 arch/ia64/include/asm/elf.h | 7 +
1717 arch/ia64/include/asm/pgalloc.h | 12 +
1718 arch/ia64/include/asm/pgtable.h | 13 +-
1719 arch/ia64/include/asm/spinlock.h | 2 +-
1720 arch/ia64/include/asm/uaccess.h | 27 +-
1721 arch/ia64/kernel/module.c | 20 +-
1722 arch/ia64/kernel/palinfo.c | 2 +-
1723 arch/ia64/kernel/sys_ia64.c | 7 +
1724 arch/ia64/kernel/vmlinux.lds.S | 2 +-
1725 arch/ia64/mm/fault.c | 32 +-
1726 arch/ia64/mm/init.c | 15 +-
1727 arch/m32r/lib/usercopy.c | 6 +
1728 arch/mips/cavium-octeon/dma-octeon.c | 2 +-
1729 arch/mips/include/asm/atomic.h | 372 +-
1730 arch/mips/include/asm/cache.h | 3 +-
1731 arch/mips/include/asm/elf.h | 7 +
1732 arch/mips/include/asm/exec.h | 2 +-
1733 arch/mips/include/asm/hw_irq.h | 2 +-
1734 arch/mips/include/asm/local.h | 57 +
1735 arch/mips/include/asm/page.h | 2 +-
1736 arch/mips/include/asm/pgalloc.h | 5 +
1737 arch/mips/include/asm/pgtable.h | 3 +
1738 arch/mips/include/asm/uaccess.h | 1 +
1739 arch/mips/kernel/binfmt_elfn32.c | 7 +
1740 arch/mips/kernel/binfmt_elfo32.c | 7 +
1741 arch/mips/kernel/irq-gt641xx.c | 2 +-
1742 arch/mips/kernel/irq.c | 6 +-
1743 arch/mips/kernel/pm-cps.c | 2 +-
1744 arch/mips/kernel/process.c | 12 -
1745 arch/mips/kernel/sync-r4k.c | 24 +-
1746 arch/mips/kernel/traps.c | 13 +-
1747 arch/mips/lib/ashldi3.c | 21 +-
1748 arch/mips/lib/ashrdi3.c | 19 +-
1749 arch/mips/lib/libgcc.h | 12 +-
1750 arch/mips/mm/fault.c | 25 +
1751 arch/mips/mm/init.c | 4 +-
1752 arch/mips/mm/mmap.c | 51 +-
1753 arch/mips/sgi-ip27/ip27-nmi.c | 6 +-
1754 arch/mips/sni/rm200.c | 2 +-
1755 arch/mips/vr41xx/common/icu.c | 2 +-
1756 arch/mips/vr41xx/common/irq.c | 4 +-
1757 arch/parisc/include/asm/atomic.h | 10 +
1758 arch/parisc/include/asm/elf.h | 7 +
1759 arch/parisc/include/asm/pgalloc.h | 6 +
1760 arch/parisc/include/asm/pgtable.h | 11 +
1761 arch/parisc/include/asm/uaccess.h | 4 +-
1762 arch/parisc/kernel/module.c | 26 +-
1763 arch/parisc/kernel/sys_parisc.c | 15 +
1764 arch/parisc/kernel/traps.c | 4 +-
1765 arch/parisc/mm/fault.c | 140 +-
1766 arch/powerpc/include/asm/atomic.h | 329 +-
1767 arch/powerpc/include/asm/book3s/32/hash.h | 1 +
1768 arch/powerpc/include/asm/elf.h | 12 +
1769 arch/powerpc/include/asm/exec.h | 2 +-
1770 arch/powerpc/include/asm/kmap_types.h | 2 +-
1771 arch/powerpc/include/asm/local.h | 46 +
1772 arch/powerpc/include/asm/mman.h | 2 +-
1773 arch/powerpc/include/asm/page.h | 8 +-
1774 arch/powerpc/include/asm/page_64.h | 7 +-
1775 arch/powerpc/include/asm/pgalloc-64.h | 7 +
1776 arch/powerpc/include/asm/pgtable.h | 1 +
1777 arch/powerpc/include/asm/reg.h | 1 +
1778 arch/powerpc/include/asm/smp.h | 2 +-
1779 arch/powerpc/include/asm/spinlock.h | 42 +-
1780 arch/powerpc/include/asm/uaccess.h | 141 +-
1781 arch/powerpc/kernel/Makefile | 5 +
1782 arch/powerpc/kernel/exceptions-64e.S | 4 +-
1783 arch/powerpc/kernel/exceptions-64s.S | 2 +-
1784 arch/powerpc/kernel/module_32.c | 15 +-
1785 arch/powerpc/kernel/process.c | 46 -
1786 arch/powerpc/kernel/signal_32.c | 2 +-
1787 arch/powerpc/kernel/signal_64.c | 2 +-
1788 arch/powerpc/kernel/traps.c | 21 +
1789 arch/powerpc/kernel/vdso.c | 5 +-
1790 arch/powerpc/lib/usercopy_64.c | 18 -
1791 arch/powerpc/mm/fault.c | 56 +-
1792 arch/powerpc/mm/mmap.c | 16 +
1793 arch/powerpc/mm/slice.c | 21 +-
1794 arch/powerpc/platforms/cell/spufs/file.c | 4 +-
1795 arch/s390/include/asm/atomic.h | 10 +
1796 arch/s390/include/asm/elf.h | 7 +
1797 arch/s390/include/asm/exec.h | 2 +-
1798 arch/s390/include/asm/uaccess.h | 13 +-
1799 arch/s390/kernel/module.c | 22 +-
1800 arch/s390/kernel/process.c | 20 -
1801 arch/s390/mm/mmap.c | 22 +-
1802 arch/score/include/asm/exec.h | 2 +-
1803 arch/score/kernel/process.c | 5 -
1804 arch/sh/mm/mmap.c | 28 +-
1805 arch/sparc/include/asm/atomic_64.h | 110 +-
1806 arch/sparc/include/asm/cache.h | 2 +-
1807 arch/sparc/include/asm/elf_32.h | 7 +
1808 arch/sparc/include/asm/elf_64.h | 7 +
1809 arch/sparc/include/asm/pgalloc_32.h | 1 +
1810 arch/sparc/include/asm/pgalloc_64.h | 1 +
1811 arch/sparc/include/asm/pgtable.h | 4 +
1812 arch/sparc/include/asm/pgtable_32.h | 15 +-
1813 arch/sparc/include/asm/pgtsrmmu.h | 5 +
1814 arch/sparc/include/asm/setup.h | 4 +-
1815 arch/sparc/include/asm/spinlock_64.h | 35 +-
1816 arch/sparc/include/asm/thread_info_32.h | 1 +
1817 arch/sparc/include/asm/thread_info_64.h | 2 +
1818 arch/sparc/include/asm/uaccess.h | 1 +
1819 arch/sparc/include/asm/uaccess_32.h | 28 +-
1820 arch/sparc/include/asm/uaccess_64.h | 24 +-
1821 arch/sparc/kernel/Makefile | 2 +-
1822 arch/sparc/kernel/prom_common.c | 2 +-
1823 arch/sparc/kernel/smp_64.c | 8 +-
1824 arch/sparc/kernel/sys_sparc_32.c | 2 +-
1825 arch/sparc/kernel/sys_sparc_64.c | 58 +-
1826 arch/sparc/kernel/traps_64.c | 27 +-
1827 arch/sparc/lib/Makefile | 2 +-
1828 arch/sparc/lib/atomic_64.S | 57 +-
1829 arch/sparc/lib/ksyms.c | 6 +-
1830 arch/sparc/mm/Makefile | 2 +-
1831 arch/sparc/mm/fault_32.c | 292 +
1832 arch/sparc/mm/fault_64.c | 486 +
1833 arch/sparc/mm/hugetlbpage.c | 30 +-
1834 arch/sparc/mm/init_64.c | 10 +-
1835 arch/tile/include/asm/atomic_64.h | 10 +
1836 arch/tile/include/asm/uaccess.h | 4 +-
1837 arch/um/Makefile | 4 +
1838 arch/um/include/asm/kmap_types.h | 2 +-
1839 arch/um/include/asm/page.h | 3 +
1840 arch/um/include/asm/pgtable-3level.h | 1 +
1841 arch/um/kernel/process.c | 16 -
1842 arch/x86/Kconfig | 26 +-
1843 arch/x86/Kconfig.cpu | 6 +-
1844 arch/x86/Kconfig.debug | 4 +-
1845 arch/x86/Makefile | 13 +-
1846 arch/x86/boot/Makefile | 3 +
1847 arch/x86/boot/bitops.h | 4 +-
1848 arch/x86/boot/boot.h | 2 +-
1849 arch/x86/boot/compressed/Makefile | 20 +
1850 arch/x86/boot/compressed/efi_stub_32.S | 16 +-
1851 arch/x86/boot/compressed/efi_thunk_64.S | 4 +-
1852 arch/x86/boot/compressed/head_32.S | 4 +-
1853 arch/x86/boot/compressed/head_64.S | 12 +-
1854 arch/x86/boot/compressed/misc.c | 11 +-
1855 arch/x86/boot/cpucheck.c | 16 +-
1856 arch/x86/boot/header.S | 6 +-
1857 arch/x86/boot/memory.c | 2 +-
1858 arch/x86/boot/video-vesa.c | 1 +
1859 arch/x86/boot/video.c | 2 +-
1860 arch/x86/crypto/aes-x86_64-asm_64.S | 4 +
1861 arch/x86/crypto/aesni-intel_asm.S | 110 +-
1862 arch/x86/crypto/aesni-intel_glue.c | 4 +-
1863 arch/x86/crypto/blowfish-x86_64-asm_64.S | 11 +-
1864 arch/x86/crypto/camellia-aesni-avx-asm_64.S | 22 +-
1865 arch/x86/crypto/camellia-aesni-avx2-asm_64.S | 22 +-
1866 arch/x86/crypto/camellia-x86_64-asm_64.S | 11 +-
1867 arch/x86/crypto/camellia_aesni_avx2_glue.c | 18 +-
1868 arch/x86/crypto/camellia_aesni_avx_glue.c | 18 +-
1869 arch/x86/crypto/camellia_glue.c | 8 +-
1870 arch/x86/crypto/cast5-avx-x86_64-asm_64.S | 55 +-
1871 arch/x86/crypto/cast6-avx-x86_64-asm_64.S | 37 +-
1872 arch/x86/crypto/cast6_avx_glue.c | 16 +-
1873 arch/x86/crypto/crc32c-pcl-intel-asm_64.S | 2 +
1874 arch/x86/crypto/ghash-clmulni-intel_asm.S | 4 +
1875 arch/x86/crypto/glue_helper.c | 2 +-
1876 arch/x86/crypto/salsa20-x86_64-asm_64.S | 4 +
1877 arch/x86/crypto/serpent-avx-x86_64-asm_64.S | 21 +-
1878 arch/x86/crypto/serpent-avx2-asm_64.S | 21 +-
1879 arch/x86/crypto/serpent-sse2-x86_64-asm_64.S | 4 +
1880 arch/x86/crypto/serpent_avx2_glue.c | 14 +-
1881 arch/x86/crypto/serpent_avx_glue.c | 18 +-
1882 arch/x86/crypto/serpent_sse2_glue.c | 4 +-
1883 arch/x86/crypto/sha1_ssse3_asm.S | 13 +-
1884 arch/x86/crypto/sha1_ssse3_glue.c | 56 +-
1885 arch/x86/crypto/sha256-avx-asm.S | 5 +-
1886 arch/x86/crypto/sha256-avx2-asm.S | 5 +-
1887 arch/x86/crypto/sha256-ssse3-asm.S | 6 +-
1888 arch/x86/crypto/sha256_ssse3_glue.c | 26 +-
1889 arch/x86/crypto/sha512-avx-asm.S | 5 +-
1890 arch/x86/crypto/sha512-avx2-asm.S | 5 +-
1891 arch/x86/crypto/sha512-ssse3-asm.S | 5 +-
1892 arch/x86/crypto/sha512_ssse3_glue.c | 22 +-
1893 arch/x86/crypto/twofish-avx-x86_64-asm_64.S | 37 +-
1894 arch/x86/crypto/twofish-i586-asm_32.S | 2 +-
1895 arch/x86/crypto/twofish-x86_64-asm_64-3way.S | 6 +-
1896 arch/x86/crypto/twofish-x86_64-asm_64.S | 7 +-
1897 arch/x86/crypto/twofish_avx_glue.c | 21 +-
1898 arch/x86/crypto/twofish_glue.c | 4 +-
1899 arch/x86/crypto/twofish_glue_3way.c | 12 +-
1900 arch/x86/entry/Makefile | 2 +
1901 arch/x86/entry/calling.h | 86 +-
1902 arch/x86/entry/common.c | 70 +-
1903 arch/x86/entry/entry_32.S | 311 +-
1904 arch/x86/entry/entry_64.S | 629 +-
1905 arch/x86/entry/entry_64_compat.S | 115 +-
1906 arch/x86/entry/thunk_64.S | 2 +
1907 arch/x86/entry/vdso/Makefile | 5 +-
1908 arch/x86/entry/vdso/vclock_gettime.c | 2 +-
1909 arch/x86/entry/vdso/vdso2c.h | 8 +-
1910 arch/x86/entry/vdso/vma.c | 37 +-
1911 arch/x86/entry/vsyscall/vsyscall_64.c | 20 +-
1912 arch/x86/entry/vsyscall/vsyscall_emu_64.S | 2 +-
1913 arch/x86/ia32/ia32_signal.c | 23 +-
1914 arch/x86/ia32/sys_ia32.c | 42 +-
1915 arch/x86/include/asm/alternative-asm.h | 51 +-
1916 arch/x86/include/asm/alternative.h | 4 +-
1917 arch/x86/include/asm/apic.h | 2 +-
1918 arch/x86/include/asm/apm.h | 4 +-
1919 arch/x86/include/asm/atomic.h | 230 +-
1920 arch/x86/include/asm/atomic64_32.h | 100 +
1921 arch/x86/include/asm/atomic64_64.h | 164 +-
1922 arch/x86/include/asm/bitops.h | 18 +-
1923 arch/x86/include/asm/boot.h | 2 +-
1924 arch/x86/include/asm/cache.h | 5 +-
1925 arch/x86/include/asm/checksum_32.h | 12 +-
1926 arch/x86/include/asm/cmpxchg.h | 39 +
1927 arch/x86/include/asm/compat.h | 4 +
1928 arch/x86/include/asm/cpufeature.h | 16 +-
1929 arch/x86/include/asm/crypto/camellia.h | 30 +-
1930 arch/x86/include/asm/crypto/glue_helper.h | 10 +-
1931 arch/x86/include/asm/crypto/serpent-avx.h | 18 +-
1932 arch/x86/include/asm/crypto/serpent-sse2.h | 8 +-
1933 arch/x86/include/asm/crypto/twofish.h | 10 +-
1934 arch/x86/include/asm/desc.h | 78 +-
1935 arch/x86/include/asm/desc_defs.h | 6 +
1936 arch/x86/include/asm/div64.h | 2 +-
1937 arch/x86/include/asm/dma.h | 2 +
1938 arch/x86/include/asm/elf.h | 33 +-
1939 arch/x86/include/asm/emergency-restart.h | 2 +-
1940 arch/x86/include/asm/fpu/internal.h | 38 +-
1941 arch/x86/include/asm/fpu/types.h | 5 +-
1942 arch/x86/include/asm/futex.h | 14 +-
1943 arch/x86/include/asm/hw_irq.h | 4 +-
1944 arch/x86/include/asm/hypervisor.h | 2 +-
1945 arch/x86/include/asm/i8259.h | 2 +-
1946 arch/x86/include/asm/io.h | 22 +-
1947 arch/x86/include/asm/irqflags.h | 5 +
1948 arch/x86/include/asm/kprobes.h | 9 +-
1949 arch/x86/include/asm/kvm_emulate.h | 7 +-
1950 arch/x86/include/asm/local.h | 106 +-
1951 arch/x86/include/asm/mman.h | 15 +
1952 arch/x86/include/asm/mmu.h | 14 +-
1953 arch/x86/include/asm/mmu_context.h | 133 +-
1954 arch/x86/include/asm/module.h | 23 +-
1955 arch/x86/include/asm/nmi.h | 19 +-
1956 arch/x86/include/asm/page.h | 1 +
1957 arch/x86/include/asm/page_32.h | 12 +-
1958 arch/x86/include/asm/page_64.h | 14 +-
1959 arch/x86/include/asm/paravirt.h | 46 +-
1960 arch/x86/include/asm/paravirt_types.h | 13 +-
1961 arch/x86/include/asm/pgalloc.h | 23 +
1962 arch/x86/include/asm/pgtable-2level.h | 2 +
1963 arch/x86/include/asm/pgtable-3level.h | 7 +
1964 arch/x86/include/asm/pgtable.h | 126 +-
1965 arch/x86/include/asm/pgtable_32.h | 14 +-
1966 arch/x86/include/asm/pgtable_32_types.h | 24 +-
1967 arch/x86/include/asm/pgtable_64.h | 23 +-
1968 arch/x86/include/asm/pgtable_64_types.h | 5 +
1969 arch/x86/include/asm/pgtable_types.h | 27 +-
1970 arch/x86/include/asm/pmem.h | 2 +-
1971 arch/x86/include/asm/preempt.h | 2 +-
1972 arch/x86/include/asm/processor.h | 57 +-
1973 arch/x86/include/asm/ptrace.h | 15 +-
1974 arch/x86/include/asm/realmode.h | 4 +-
1975 arch/x86/include/asm/reboot.h | 10 +-
1976 arch/x86/include/asm/rmwcc.h | 84 +-
1977 arch/x86/include/asm/rwsem.h | 60 +-
1978 arch/x86/include/asm/segment.h | 27 +-
1979 arch/x86/include/asm/smap.h | 43 +
1980 arch/x86/include/asm/smp.h | 14 +-
1981 arch/x86/include/asm/stackprotector.h | 4 +-
1982 arch/x86/include/asm/stacktrace.h | 34 +-
1983 arch/x86/include/asm/switch_to.h | 4 +-
1984 arch/x86/include/asm/sys_ia32.h | 6 +-
1985 arch/x86/include/asm/thread_info.h | 27 +-
1986 arch/x86/include/asm/tlbflush.h | 77 +-
1987 arch/x86/include/asm/traps.h | 4 +-
1988 arch/x86/include/asm/uaccess.h | 210 +-
1989 arch/x86/include/asm/uaccess_32.h | 28 +-
1990 arch/x86/include/asm/uaccess_64.h | 169 +-
1991 arch/x86/include/asm/word-at-a-time.h | 2 +-
1992 arch/x86/include/asm/x86_init.h | 10 +-
1993 arch/x86/include/asm/xen/page.h | 2 +-
1994 arch/x86/include/uapi/asm/e820.h | 2 +-
1995 arch/x86/kernel/Makefile | 2 +-
1996 arch/x86/kernel/acpi/boot.c | 4 +-
1997 arch/x86/kernel/acpi/sleep.c | 4 +
1998 arch/x86/kernel/acpi/wakeup_32.S | 6 +-
1999 arch/x86/kernel/alternative.c | 124 +-
2000 arch/x86/kernel/apic/apic.c | 4 +-
2001 arch/x86/kernel/apic/apic_flat_64.c | 6 +-
2002 arch/x86/kernel/apic/apic_noop.c | 2 +-
2003 arch/x86/kernel/apic/bigsmp_32.c | 2 +-
2004 arch/x86/kernel/apic/io_apic.c | 10 +-
2005 arch/x86/kernel/apic/msi.c | 2 +-
2006 arch/x86/kernel/apic/probe_32.c | 4 +-
2007 arch/x86/kernel/apic/vector.c | 2 +
2008 arch/x86/kernel/apic/x2apic_cluster.c | 2 +-
2009 arch/x86/kernel/apic/x2apic_phys.c | 2 +-
2010 arch/x86/kernel/apic/x2apic_uv_x.c | 2 +-
2011 arch/x86/kernel/apm_32.c | 21 +-
2012 arch/x86/kernel/asm-offsets.c | 20 +
2013 arch/x86/kernel/asm-offsets_64.c | 1 +
2014 arch/x86/kernel/cpu/Makefile | 4 -
2015 arch/x86/kernel/cpu/amd.c | 2 +-
2016 arch/x86/kernel/cpu/bugs_64.c | 2 +
2017 arch/x86/kernel/cpu/common.c | 202 +-
2018 arch/x86/kernel/cpu/intel_cacheinfo.c | 14 +-
2019 arch/x86/kernel/cpu/mcheck/mce.c | 34 +-
2020 arch/x86/kernel/cpu/mcheck/p5.c | 3 +
2021 arch/x86/kernel/cpu/mcheck/winchip.c | 3 +
2022 arch/x86/kernel/cpu/microcode/intel.c | 4 +-
2023 arch/x86/kernel/cpu/mshyperv.c | 2 +-
2024 arch/x86/kernel/cpu/mtrr/generic.c | 6 +-
2025 arch/x86/kernel/cpu/mtrr/main.c | 2 +-
2026 arch/x86/kernel/cpu/mtrr/mtrr.h | 2 +-
2027 arch/x86/kernel/cpu/perf_event.c | 10 +-
2028 arch/x86/kernel/cpu/perf_event.h | 2 +-
2029 arch/x86/kernel/cpu/perf_event_amd_iommu.c | 8 +-
2030 arch/x86/kernel/cpu/perf_event_intel.c | 34 +-
2031 arch/x86/kernel/cpu/perf_event_intel_bts.c | 6 +-
2032 arch/x86/kernel/cpu/perf_event_intel_cqm.c | 4 +-
2033 arch/x86/kernel/cpu/perf_event_intel_ds.c | 7 +-
2034 arch/x86/kernel/cpu/perf_event_intel_lbr.c | 4 +-
2035 arch/x86/kernel/cpu/perf_event_intel_pt.c | 42 +-
2036 arch/x86/kernel/cpu/perf_event_intel_rapl.c | 8 +-
2037 arch/x86/kernel/cpu/perf_event_intel_uncore.c | 6 +-
2038 arch/x86/kernel/cpu/perf_event_intel_uncore.h | 14 +-
2039 arch/x86/kernel/cpu/vmware.c | 2 +-
2040 arch/x86/kernel/crash_dump_64.c | 2 +-
2041 arch/x86/kernel/doublefault.c | 8 +-
2042 arch/x86/kernel/dumpstack.c | 24 +-
2043 arch/x86/kernel/dumpstack_32.c | 25 +-
2044 arch/x86/kernel/dumpstack_64.c | 72 +-
2045 arch/x86/kernel/e820.c | 4 +-
2046 arch/x86/kernel/early_printk.c | 1 +
2047 arch/x86/kernel/espfix_64.c | 44 +-
2048 arch/x86/kernel/fpu/core.c | 24 +-
2049 arch/x86/kernel/fpu/init.c | 49 +-
2050 arch/x86/kernel/fpu/regset.c | 22 +-
2051 arch/x86/kernel/fpu/signal.c | 20 +-
2052 arch/x86/kernel/fpu/xstate.c | 6 +-
2053 arch/x86/kernel/ftrace.c | 18 +-
2054 arch/x86/kernel/head64.c | 14 +-
2055 arch/x86/kernel/head_32.S | 237 +-
2056 arch/x86/kernel/head_64.S | 173 +-
2057 arch/x86/kernel/i386_ksyms_32.c | 12 +
2058 arch/x86/kernel/i8259.c | 10 +-
2059 arch/x86/kernel/io_delay.c | 2 +-
2060 arch/x86/kernel/ioport.c | 2 +-
2061 arch/x86/kernel/irq.c | 8 +-
2062 arch/x86/kernel/irq_32.c | 45 +-
2063 arch/x86/kernel/jump_label.c | 10 +-
2064 arch/x86/kernel/kgdb.c | 21 +-
2065 arch/x86/kernel/kprobes/core.c | 28 +-
2066 arch/x86/kernel/kprobes/opt.c | 16 +-
2067 arch/x86/kernel/ksysfs.c | 2 +-
2068 arch/x86/kernel/kvm.c | 2 +-
2069 arch/x86/kernel/kvmclock.c | 20 +-
2070 arch/x86/kernel/ldt.c | 25 +
2071 arch/x86/kernel/livepatch.c | 9 +-
2072 arch/x86/kernel/machine_kexec_32.c | 6 +-
2073 arch/x86/kernel/mcount_64.S | 21 +-
2074 arch/x86/kernel/module.c | 78 +-
2075 arch/x86/kernel/msr.c | 2 +-
2076 arch/x86/kernel/nmi.c | 34 +-
2077 arch/x86/kernel/nmi_selftest.c | 4 +-
2078 arch/x86/kernel/paravirt-spinlocks.c | 2 +-
2079 arch/x86/kernel/paravirt.c | 43 +-
2080 arch/x86/kernel/paravirt_patch_64.c | 8 +
2081 arch/x86/kernel/pci-calgary_64.c | 2 +-
2082 arch/x86/kernel/pci-iommu_table.c | 2 +-
2083 arch/x86/kernel/pci-swiotlb.c | 2 +-
2084 arch/x86/kernel/process.c | 80 +-
2085 arch/x86/kernel/process_32.c | 29 +-
2086 arch/x86/kernel/process_64.c | 14 +-
2087 arch/x86/kernel/ptrace.c | 20 +-
2088 arch/x86/kernel/pvclock.c | 8 +-
2089 arch/x86/kernel/reboot.c | 44 +-
2090 arch/x86/kernel/reboot_fixups_32.c | 2 +-
2091 arch/x86/kernel/relocate_kernel_64.S | 3 +-
2092 arch/x86/kernel/setup.c | 29 +-
2093 arch/x86/kernel/setup_percpu.c | 29 +-
2094 arch/x86/kernel/signal.c | 17 +-
2095 arch/x86/kernel/smp.c | 2 +-
2096 arch/x86/kernel/smpboot.c | 29 +-
2097 arch/x86/kernel/step.c | 6 +-
2098 arch/x86/kernel/sys_i386_32.c | 184 +
2099 arch/x86/kernel/sys_x86_64.c | 28 +-
2100 arch/x86/kernel/tboot.c | 22 +-
2101 arch/x86/kernel/time.c | 8 +-
2102 arch/x86/kernel/tls.c | 7 +-
2103 arch/x86/kernel/tracepoint.c | 4 +-
2104 arch/x86/kernel/traps.c | 64 +-
2105 arch/x86/kernel/tsc.c | 2 +-
2106 arch/x86/kernel/uprobes.c | 4 +-
2107 arch/x86/kernel/vm86_32.c | 6 +-
2108 arch/x86/kernel/vmlinux.lds.S | 153 +-
2109 arch/x86/kernel/x8664_ksyms_64.c | 6 +-
2110 arch/x86/kernel/x86_init.c | 6 +-
2111 arch/x86/kvm/cpuid.c | 21 +-
2112 arch/x86/kvm/emulate.c | 20 +-
2113 arch/x86/kvm/i8259.c | 10 +-
2114 arch/x86/kvm/ioapic.c | 2 +
2115 arch/x86/kvm/lapic.c | 2 +-
2116 arch/x86/kvm/paging_tmpl.h | 2 +-
2117 arch/x86/kvm/svm.c | 10 +-
2118 arch/x86/kvm/vmx.c | 60 +-
2119 arch/x86/kvm/x86.c | 44 +-
2120 arch/x86/lguest/boot.c | 3 +-
2121 arch/x86/lib/atomic64_386_32.S | 164 +
2122 arch/x86/lib/atomic64_cx8_32.S | 98 +-
2123 arch/x86/lib/checksum_32.S | 99 +-
2124 arch/x86/lib/clear_page_64.S | 3 +
2125 arch/x86/lib/cmpxchg16b_emu.S | 3 +
2126 arch/x86/lib/copy_page_64.S | 14 +-
2127 arch/x86/lib/copy_user_64.S | 66 +-
2128 arch/x86/lib/csum-copy_64.S | 14 +-
2129 arch/x86/lib/csum-wrappers_64.c | 8 +-
2130 arch/x86/lib/getuser.S | 74 +-
2131 arch/x86/lib/insn.c | 8 +-
2132 arch/x86/lib/iomap_copy_64.S | 2 +
2133 arch/x86/lib/memcpy_64.S | 6 +
2134 arch/x86/lib/memmove_64.S | 3 +-
2135 arch/x86/lib/memset_64.S | 3 +
2136 arch/x86/lib/mmx_32.c | 243 +-
2137 arch/x86/lib/msr-reg.S | 2 +
2138 arch/x86/lib/putuser.S | 87 +-
2139 arch/x86/lib/rwsem.S | 6 +-
2140 arch/x86/lib/usercopy_32.c | 359 +-
2141 arch/x86/lib/usercopy_64.c | 22 +-
2142 arch/x86/math-emu/fpu_aux.c | 2 +-
2143 arch/x86/math-emu/fpu_entry.c | 4 +-
2144 arch/x86/math-emu/fpu_system.h | 2 +-
2145 arch/x86/mm/Makefile | 4 +
2146 arch/x86/mm/extable.c | 26 +-
2147 arch/x86/mm/fault.c | 570 +-
2148 arch/x86/mm/gup.c | 6 +-
2149 arch/x86/mm/highmem_32.c | 6 +
2150 arch/x86/mm/hugetlbpage.c | 24 +-
2151 arch/x86/mm/init.c | 111 +-
2152 arch/x86/mm/init_32.c | 111 +-
2153 arch/x86/mm/init_64.c | 46 +-
2154 arch/x86/mm/iomap_32.c | 4 +
2155 arch/x86/mm/ioremap.c | 52 +-
2156 arch/x86/mm/kmemcheck/kmemcheck.c | 4 +-
2157 arch/x86/mm/mmap.c | 40 +-
2158 arch/x86/mm/mmio-mod.c | 10 +-
2159 arch/x86/mm/mpx.c | 6 +-
2160 arch/x86/mm/numa.c | 2 +-
2161 arch/x86/mm/pageattr.c | 42 +-
2162 arch/x86/mm/pat.c | 12 +-
2163 arch/x86/mm/pat_rbtree.c | 2 +-
2164 arch/x86/mm/pf_in.c | 10 +-
2165 arch/x86/mm/pgtable.c | 209 +-
2166 arch/x86/mm/pgtable_32.c | 3 +
2167 arch/x86/mm/setup_nx.c | 7 +
2168 arch/x86/mm/tlb.c | 4 +
2169 arch/x86/mm/uderef_64.c | 37 +
2170 arch/x86/net/bpf_jit.S | 11 +
2171 arch/x86/net/bpf_jit_comp.c | 13 +-
2172 arch/x86/oprofile/backtrace.c | 6 +-
2173 arch/x86/oprofile/nmi_int.c | 10 +-
2174 arch/x86/oprofile/op_model_amd.c | 8 +-
2175 arch/x86/oprofile/op_model_ppro.c | 7 +-
2176 arch/x86/oprofile/op_x86_model.h | 2 +-
2177 arch/x86/pci/intel_mid_pci.c | 2 +-
2178 arch/x86/pci/irq.c | 8 +-
2179 arch/x86/pci/pcbios.c | 112 +-
2180 arch/x86/pci/vmd.c | 4 +-
2181 arch/x86/platform/efi/efi_32.c | 24 +
2182 arch/x86/platform/efi/efi_64.c | 26 +-
2183 arch/x86/platform/efi/efi_stub_32.S | 64 +-
2184 arch/x86/platform/efi/efi_stub_64.S | 2 +
2185 arch/x86/platform/intel-mid/intel-mid.c | 5 +-
2186 arch/x86/platform/intel-mid/intel_mid_weak_decls.h | 6 +-
2187 arch/x86/platform/intel-mid/mfld.c | 4 +-
2188 arch/x86/platform/intel-mid/mrfl.c | 2 +-
2189 arch/x86/platform/intel-quark/imr_selftest.c | 2 +-
2190 arch/x86/platform/olpc/olpc_dt.c | 2 +-
2191 arch/x86/power/cpu.c | 11 +-
2192 arch/x86/realmode/init.c | 10 +-
2193 arch/x86/realmode/rm/Makefile | 3 +
2194 arch/x86/realmode/rm/header.S | 4 +-
2195 arch/x86/realmode/rm/reboot.S | 4 +
2196 arch/x86/realmode/rm/trampoline_32.S | 12 +-
2197 arch/x86/realmode/rm/trampoline_64.S | 3 +-
2198 arch/x86/realmode/rm/wakeup_asm.S | 5 +-
2199 arch/x86/tools/Makefile | 2 +-
2200 arch/x86/tools/relocs.c | 97 +-
2201 arch/x86/um/mem_32.c | 2 +-
2202 arch/x86/um/tls_32.c | 2 +-
2203 arch/x86/xen/enlighten.c | 52 +-
2204 arch/x86/xen/mmu.c | 19 +-
2205 arch/x86/xen/smp.c | 16 +-
2206 arch/x86/xen/xen-asm_32.S | 2 +-
2207 arch/x86/xen/xen-head.S | 11 +
2208 arch/x86/xen/xen-ops.h | 2 -
2209 block/bio.c | 4 +-
2210 block/blk-cgroup.c | 18 +-
2211 block/blk-map.c | 2 +-
2212 block/blk-softirq.c | 2 +-
2213 block/bsg.c | 12 +-
2214 block/cfq-iosched.c | 4 +-
2215 block/compat_ioctl.c | 4 +-
2216 block/genhd.c | 9 +-
2217 block/partitions/efi.c | 8 +-
2218 block/scsi_ioctl.c | 29 +-
2219 crypto/cast6_generic.c | 6 +-
2220 crypto/cryptd.c | 4 +-
2221 crypto/crypto_user.c | 2 +-
2222 crypto/pcrypt.c | 2 +-
2223 crypto/salsa20_generic.c | 16 +-
2224 crypto/serpent_generic.c | 6 +-
2225 crypto/zlib.c | 12 +-
2226 drivers/acpi/ac.c | 2 +-
2227 drivers/acpi/acpi_video.c | 2 +-
2228 drivers/acpi/apei/apei-internal.h | 2 +-
2229 drivers/acpi/apei/ghes.c | 10 +-
2230 drivers/acpi/battery.c | 2 +-
2231 drivers/acpi/bgrt.c | 6 +-
2232 drivers/acpi/blacklist.c | 4 +-
2233 drivers/acpi/bus.c | 4 +-
2234 drivers/acpi/device_pm.c | 4 +-
2235 drivers/acpi/ec.c | 6 +-
2236 drivers/acpi/pci_slot.c | 2 +-
2237 drivers/acpi/processor_idle.c | 2 +-
2238 drivers/acpi/processor_pdc.c | 2 +-
2239 drivers/acpi/sleep.c | 2 +-
2240 drivers/acpi/sysfs.c | 14 +-
2241 drivers/acpi/thermal.c | 2 +-
2242 drivers/acpi/video_detect.c | 7 +-
2243 drivers/android/binder.c | 2 +-
2244 drivers/ata/libata-core.c | 12 +-
2245 drivers/ata/libata-scsi.c | 2 +-
2246 drivers/ata/libata.h | 2 +-
2247 drivers/ata/pata_arasan_cf.c | 4 +-
2248 drivers/atm/adummy.c | 2 +-
2249 drivers/atm/ambassador.c | 8 +-
2250 drivers/atm/atmtcp.c | 14 +-
2251 drivers/atm/eni.c | 10 +-
2252 drivers/atm/firestream.c | 8 +-
2253 drivers/atm/fore200e.c | 14 +-
2254 drivers/atm/he.c | 18 +-
2255 drivers/atm/horizon.c | 4 +-
2256 drivers/atm/idt77252.c | 36 +-
2257 drivers/atm/iphase.c | 34 +-
2258 drivers/atm/lanai.c | 12 +-
2259 drivers/atm/nicstar.c | 46 +-
2260 drivers/atm/solos-pci.c | 4 +-
2261 drivers/atm/suni.c | 4 +-
2262 drivers/atm/uPD98402.c | 16 +-
2263 drivers/atm/zatm.c | 6 +-
2264 drivers/base/bus.c | 4 +-
2265 drivers/base/devres.c | 4 +-
2266 drivers/base/devtmpfs.c | 8 +-
2267 drivers/base/node.c | 2 +-
2268 drivers/base/platform-msi.c | 20 +-
2269 drivers/base/power/domain.c | 6 +-
2270 drivers/base/power/runtime.c | 61 +-
2271 drivers/base/power/sysfs.c | 2 +-
2272 drivers/base/power/wakeup.c | 8 +-
2273 drivers/base/regmap/regmap-debugfs.c | 4 +-
2274 drivers/base/regmap/regmap.c | 4 +-
2275 drivers/base/syscore.c | 4 +-
2276 drivers/block/cciss.c | 28 +-
2277 drivers/block/cciss.h | 2 +-
2278 drivers/block/cpqarray.c | 28 +-
2279 drivers/block/cpqarray.h | 2 +-
2280 drivers/block/drbd/drbd_bitmap.c | 2 +-
2281 drivers/block/drbd/drbd_int.h | 8 +-
2282 drivers/block/drbd/drbd_main.c | 12 +-
2283 drivers/block/drbd/drbd_nl.c | 16 +-
2284 drivers/block/drbd/drbd_receiver.c | 38 +-
2285 drivers/block/drbd/drbd_state.c | 12 +-
2286 drivers/block/drbd/drbd_state.h | 2 +-
2287 drivers/block/drbd/drbd_state_change.h | 8 +-
2288 drivers/block/drbd/drbd_worker.c | 14 +-
2289 drivers/block/floppy.c | 8 +-
2290 drivers/block/pktcdvd.c | 4 +-
2291 drivers/block/rbd.c | 2 +-
2292 drivers/bluetooth/btwilink.c | 2 +-
2293 drivers/bus/arm-cci.c | 12 +-
2294 drivers/cdrom/cdrom.c | 11 +-
2295 drivers/cdrom/gdrom.c | 1 -
2296 drivers/char/agp/compat_ioctl.c | 2 +-
2297 drivers/char/agp/frontend.c | 4 +-
2298 drivers/char/agp/intel-gtt.c | 4 +-
2299 drivers/char/hpet.c | 2 +-
2300 drivers/char/ipmi/ipmi_msghandler.c | 8 +-
2301 drivers/char/ipmi/ipmi_poweroff.c | 2 +-
2302 drivers/char/ipmi/ipmi_si_intf.c | 12 +-
2303 drivers/char/ipmi/ipmi_ssif.c | 12 +-
2304 drivers/char/mem.c | 47 +-
2305 drivers/char/nvram.c | 2 +-
2306 drivers/char/pcmcia/synclink_cs.c | 16 +-
2307 drivers/char/random.c | 12 +-
2308 drivers/char/sonypi.c | 11 +-
2309 drivers/char/tpm/tpm_acpi.c | 3 +-
2310 drivers/char/tpm/tpm_eventlog.c | 5 +-
2311 drivers/char/virtio_console.c | 6 +-
2312 drivers/clk/clk-composite.c | 2 +-
2313 drivers/clk/samsung/clk.h | 2 +-
2314 drivers/clk/socfpga/clk-gate.c | 9 +-
2315 drivers/clk/socfpga/clk-pll.c | 9 +-
2316 drivers/clk/ti/clk.c | 8 +-
2317 drivers/cpufreq/acpi-cpufreq.c | 17 +-
2318 drivers/cpufreq/cpufreq-dt.c | 4 +-
2319 drivers/cpufreq/cpufreq.c | 27 +-
2320 drivers/cpufreq/cpufreq_governor.c | 2 +-
2321 drivers/cpufreq/cpufreq_governor.h | 10 +-
2322 drivers/cpufreq/cpufreq_ondemand.c | 10 +-
2323 drivers/cpufreq/intel_pstate.c | 54 +-
2324 drivers/cpufreq/p4-clockmod.c | 12 +-
2325 drivers/cpufreq/sparc-us3-cpufreq.c | 67 +-
2326 drivers/cpufreq/speedstep-centrino.c | 7 +-
2327 drivers/cpuidle/driver.c | 2 +-
2328 drivers/cpuidle/dt_idle_states.c | 2 +-
2329 drivers/cpuidle/governor.c | 2 +-
2330 drivers/cpuidle/governors/ladder.c | 13 +-
2331 drivers/cpuidle/sysfs.c | 2 +-
2332 drivers/crypto/hifn_795x.c | 4 +-
2333 drivers/crypto/qat/qat_common/adf_aer.c | 2 +-
2334 drivers/crypto/qat/qat_common/adf_sriov.c | 4 +-
2335 drivers/crypto/qat/qat_common/adf_vf_isr.c | 6 +-
2336 drivers/devfreq/devfreq.c | 4 +-
2337 drivers/dma/sh/shdma-base.c | 4 +-
2338 drivers/dma/sh/shdmac.c | 2 +-
2339 drivers/edac/edac_device.c | 4 +-
2340 drivers/edac/edac_device_sysfs.c | 2 +-
2341 drivers/edac/edac_mc_sysfs.c | 4 +-
2342 drivers/edac/edac_module.c | 2 +-
2343 drivers/edac/edac_pci.c | 4 +-
2344 drivers/edac/edac_pci_sysfs.c | 22 +-
2345 drivers/edac/mce_amd.h | 2 +-
2346 drivers/firewire/core-card.c | 6 +-
2347 drivers/firewire/core-cdev.c | 4 +-
2348 drivers/firewire/core-device.c | 2 +-
2349 drivers/firewire/core-iso.c | 2 +-
2350 drivers/firewire/core-transaction.c | 1 +
2351 drivers/firewire/core.h | 1 +
2352 drivers/firmware/dmi-id.c | 9 +-
2353 drivers/firmware/dmi_scan.c | 12 +-
2354 drivers/firmware/efi/cper.c | 8 +-
2355 drivers/firmware/efi/efi.c | 12 +-
2356 drivers/firmware/efi/efivars.c | 2 +-
2357 drivers/firmware/efi/runtime-map.c | 2 +-
2358 drivers/firmware/google/gsmi.c | 2 +-
2359 drivers/firmware/google/memconsole.c | 7 +-
2360 drivers/firmware/memmap.c | 2 +-
2361 drivers/firmware/psci.c | 2 +-
2362 drivers/gpio/gpio-davinci.c | 6 +-
2363 drivers/gpio/gpio-em.c | 2 +-
2364 drivers/gpio/gpio-ich.c | 2 +-
2365 drivers/gpio/gpio-omap.c | 4 +-
2366 drivers/gpio/gpio-rcar.c | 2 +-
2367 drivers/gpio/gpio-vr41xx.c | 2 +-
2368 drivers/gpio/gpiolib.c | 12 +-
2369 drivers/gpu/drm/amd/amdgpu/amdgpu.h | 4 +-
2370 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | 2 +-
2371 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c | 8 +-
2372 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-
2373 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 18 +-
2374 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +-
2375 drivers/gpu/drm/amd/amdgpu/fiji_smc.c | 4 +-
2376 drivers/gpu/drm/amd/amdgpu/iceland_smc.c | 4 +-
2377 drivers/gpu/drm/amd/amdgpu/tonga_smc.c | 4 +-
2378 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 2 +-
2379 drivers/gpu/drm/amd/amdkfd/kfd_device.c | 6 +-
2380 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 90 +-
2381 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 8 +-
2382 .../drm/amd/amdkfd/kfd_device_queue_manager_cik.c | 14 +-
2383 .../drm/amd/amdkfd/kfd_device_queue_manager_vi.c | 14 +-
2384 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c | 4 +-
2385 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 2 +-
2386 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.h | 2 +-
2387 .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 16 +-
2388 drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 2 +-
2389 drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | 2 +-
2390 drivers/gpu/drm/amd/scheduler/sched_fence.c | 2 +-
2391 drivers/gpu/drm/armada/armada_drv.c | 3 +-
2392 drivers/gpu/drm/ast/ast_mode.c | 2 +-
2393 drivers/gpu/drm/bochs/bochs_kms.c | 2 +-
2394 drivers/gpu/drm/drm_atomic.c | 7 +-
2395 drivers/gpu/drm/drm_crtc.c | 10 +-
2396 drivers/gpu/drm/drm_drv.c | 2 +-
2397 drivers/gpu/drm/drm_fops.c | 12 +-
2398 drivers/gpu/drm/drm_global.c | 14 +-
2399 drivers/gpu/drm/drm_info.c | 13 +-
2400 drivers/gpu/drm/drm_ioc32.c | 13 +-
2401 drivers/gpu/drm/drm_ioctl.c | 2 +-
2402 drivers/gpu/drm/drm_irq.c | 7 +-
2403 drivers/gpu/drm/drm_pci.c | 9 +-
2404 drivers/gpu/drm/exynos/exynos_drm_drv.c | 1 -
2405 drivers/gpu/drm/exynos/exynos_drm_g2d.c | 7 +-
2406 drivers/gpu/drm/gma500/cdv_intel_crt.c | 2 +-
2407 drivers/gpu/drm/gma500/cdv_intel_dp.c | 2 +-
2408 drivers/gpu/drm/gma500/cdv_intel_hdmi.c | 2 +-
2409 drivers/gpu/drm/gma500/cdv_intel_lvds.c | 2 +-
2410 drivers/gpu/drm/gma500/mdfld_dsi_output.c | 8 +-
2411 drivers/gpu/drm/gma500/oaktrail_hdmi.c | 2 +-
2412 drivers/gpu/drm/gma500/psb_drv.c | 1 -
2413 drivers/gpu/drm/gma500/psb_intel_drv.h | 2 +-
2414 drivers/gpu/drm/gma500/psb_intel_lvds.c | 2 +-
2415 drivers/gpu/drm/gma500/psb_intel_sdvo.c | 2 +-
2416 drivers/gpu/drm/i2c/tda998x_drv.c | 2 +-
2417 drivers/gpu/drm/i810/i810_dma.c | 2 +-
2418 drivers/gpu/drm/i810/i810_drv.c | 6 +-
2419 drivers/gpu/drm/i810/i810_drv.h | 6 +-
2420 drivers/gpu/drm/i915/dvo.h | 2 +-
2421 drivers/gpu/drm/i915/i915_dma.c | 4 +-
2422 drivers/gpu/drm/i915/i915_drv.c | 7 +-
2423 drivers/gpu/drm/i915/i915_drv.h | 2 +-
2424 drivers/gpu/drm/i915/i915_gem_execbuffer.c | 4 +-
2425 drivers/gpu/drm/i915/i915_gem_gtt.c | 16 +-
2426 drivers/gpu/drm/i915/i915_gem_gtt.h | 6 +-
2427 drivers/gpu/drm/i915/i915_ioc32.c | 10 +-
2428 drivers/gpu/drm/i915/i915_irq.c | 88 +-
2429 drivers/gpu/drm/i915/intel_display.c | 26 +-
2430 drivers/gpu/drm/imx/imx-drm-core.c | 2 +-
2431 drivers/gpu/drm/mga/mga_drv.c | 5 +-
2432 drivers/gpu/drm/mga/mga_drv.h | 6 +-
2433 drivers/gpu/drm/mga/mga_ioc32.c | 10 +-
2434 drivers/gpu/drm/mga/mga_irq.c | 8 +-
2435 drivers/gpu/drm/mga/mga_state.c | 2 +-
2436 drivers/gpu/drm/mgag200/mgag200_mode.c | 2 +-
2437 drivers/gpu/drm/nouveau/nouveau_acpi.c | 2 +-
2438 drivers/gpu/drm/nouveau/nouveau_bios.c | 2 +-
2439 drivers/gpu/drm/nouveau/nouveau_connector.c | 2 +-
2440 drivers/gpu/drm/nouveau/nouveau_drm.c | 13 +-
2441 drivers/gpu/drm/nouveau/nouveau_drm.h | 1 -
2442 drivers/gpu/drm/nouveau/nouveau_ioc32.c | 2 +-
2443 drivers/gpu/drm/nouveau/nouveau_usif.c | 7 +-
2444 drivers/gpu/drm/nouveau/nouveau_vga.c | 2 +-
2445 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c | 7 +-
2446 .../gpu/drm/nouveau/nvkm/subdev/bios/shadowpci.c | 7 +-
2447 drivers/gpu/drm/omapdrm/Makefile | 2 +-
2448 drivers/gpu/drm/omapdrm/dss/display.c | 8 +-
2449 drivers/gpu/drm/qxl/qxl_cmd.c | 12 +-
2450 drivers/gpu/drm/qxl/qxl_debugfs.c | 8 +-
2451 drivers/gpu/drm/qxl/qxl_display.c | 2 +-
2452 drivers/gpu/drm/qxl/qxl_drv.c | 8 +-
2453 drivers/gpu/drm/qxl/qxl_drv.h | 8 +-
2454 drivers/gpu/drm/qxl/qxl_ioctl.c | 12 +-
2455 drivers/gpu/drm/qxl/qxl_irq.c | 16 +-
2456 drivers/gpu/drm/qxl/qxl_ttm.c | 38 +-
2457 drivers/gpu/drm/r128/r128_cce.c | 2 +-
2458 drivers/gpu/drm/r128/r128_drv.c | 4 +-
2459 drivers/gpu/drm/r128/r128_drv.h | 6 +-
2460 drivers/gpu/drm/r128/r128_ioc32.c | 10 +-
2461 drivers/gpu/drm/r128/r128_irq.c | 4 +-
2462 drivers/gpu/drm/r128/r128_state.c | 6 +-
2463 drivers/gpu/drm/radeon/mkregtable.c | 4 +-
2464 drivers/gpu/drm/radeon/radeon_atpx_handler.c | 2 +-
2465 drivers/gpu/drm/radeon/radeon_connectors.c | 10 +-
2466 drivers/gpu/drm/radeon/radeon_device.c | 2 +-
2467 drivers/gpu/drm/radeon/radeon_drv.c | 11 +-
2468 drivers/gpu/drm/radeon/radeon_ioc32.c | 12 +-
2469 drivers/gpu/drm/radeon/radeon_kms.c | 8 +-
2470 drivers/gpu/drm/radeon/radeon_ttm.c | 4 +-
2471 drivers/gpu/drm/savage/savage_bci.c | 2 +-
2472 drivers/gpu/drm/savage/savage_drv.c | 5 +-
2473 drivers/gpu/drm/savage/savage_drv.h | 2 +-
2474 drivers/gpu/drm/sis/sis_drv.c | 5 +-
2475 drivers/gpu/drm/sis/sis_drv.h | 2 +-
2476 drivers/gpu/drm/sis/sis_mm.c | 2 +-
2477 drivers/gpu/drm/tegra/dc.c | 2 +-
2478 drivers/gpu/drm/tegra/dsi.c | 2 +-
2479 drivers/gpu/drm/tegra/hdmi.c | 2 +-
2480 drivers/gpu/drm/tegra/sor.c | 7 +-
2481 drivers/gpu/drm/tilcdc/Makefile | 6 +-
2482 drivers/gpu/drm/ttm/ttm_memory.c | 4 +-
2483 drivers/gpu/drm/ttm/ttm_page_alloc.c | 18 +-
2484 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 18 +-
2485 drivers/gpu/drm/udl/udl_connector.c | 2 +-
2486 drivers/gpu/drm/udl/udl_fb.c | 1 -
2487 drivers/gpu/drm/vc4/vc4_drv.c | 8 +-
2488 drivers/gpu/drm/via/via_dma.c | 2 +-
2489 drivers/gpu/drm/via/via_drv.c | 5 +-
2490 drivers/gpu/drm/via/via_drv.h | 6 +-
2491 drivers/gpu/drm/via/via_irq.c | 18 +-
2492 drivers/gpu/drm/virtio/virtgpu_display.c | 2 +-
2493 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 2 +-
2494 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 7 +-
2495 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c | 8 +-
2496 drivers/gpu/drm/vmwgfx/vmwgfx_irq.c | 4 +-
2497 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c | 2 +-
2498 drivers/gpu/vga/vga_switcheroo.c | 4 +-
2499 drivers/hid/hid-core.c | 4 +-
2500 drivers/hid/hid-magicmouse.c | 2 +-
2501 drivers/hid/hid-sensor-custom.c | 2 +-
2502 drivers/hv/channel.c | 6 +-
2503 drivers/hv/hv.c | 4 +-
2504 drivers/hv/hv_balloon.c | 18 +-
2505 drivers/hv/hyperv_vmbus.h | 2 +-
2506 drivers/hwmon/acpi_power_meter.c | 6 +-
2507 drivers/hwmon/applesmc.c | 2 +-
2508 drivers/hwmon/asus_atk0110.c | 10 +-
2509 drivers/hwmon/coretemp.c | 2 +-
2510 drivers/hwmon/dell-smm-hwmon.c | 2 +-
2511 drivers/hwmon/ibmaem.c | 2 +-
2512 drivers/hwmon/iio_hwmon.c | 2 +-
2513 drivers/hwmon/nct6683.c | 6 +-
2514 drivers/hwmon/nct6775.c | 6 +-
2515 drivers/hwmon/pmbus/pmbus_core.c | 10 +-
2516 drivers/hwmon/sht15.c | 12 +-
2517 drivers/hwmon/via-cputemp.c | 2 +-
2518 drivers/i2c/busses/i2c-amd756-s4882.c | 2 +-
2519 drivers/i2c/busses/i2c-designware-pcidrv.c | 2 +-
2520 drivers/i2c/busses/i2c-nforce2-s4985.c | 2 +-
2521 drivers/i2c/i2c-dev.c | 2 +-
2522 drivers/ide/ide-cd.c | 2 +-
2523 drivers/ide/ide-disk.c | 2 +-
2524 drivers/ide/ide.c | 4 +-
2525 drivers/idle/intel_idle.c | 6 +-
2526 drivers/iio/industrialio-core.c | 2 +-
2527 drivers/iio/magnetometer/ak8975.c | 2 +-
2528 drivers/infiniband/core/cm.c | 46 +-
2529 drivers/infiniband/core/fmr_pool.c | 20 +-
2530 drivers/infiniband/core/netlink.c | 5 +-
2531 drivers/infiniband/core/ucm.c | 4 +-
2532 drivers/infiniband/core/uverbs_cmd.c | 3 +
2533 drivers/infiniband/hw/cxgb4/device.c | 6 +-
2534 drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 2 +-
2535 drivers/infiniband/hw/cxgb4/mem.c | 4 +-
2536 drivers/infiniband/hw/mlx4/mad.c | 2 +-
2537 drivers/infiniband/hw/mlx4/mcg.c | 2 +-
2538 drivers/infiniband/hw/mlx4/mlx4_ib.h | 2 +-
2539 drivers/infiniband/hw/mthca/mthca_cmd.c | 8 +-
2540 drivers/infiniband/hw/mthca/mthca_main.c | 2 +-
2541 drivers/infiniband/hw/mthca/mthca_mr.c | 6 +-
2542 drivers/infiniband/hw/mthca/mthca_provider.c | 2 +-
2543 drivers/infiniband/hw/nes/nes.c | 4 +-
2544 drivers/infiniband/hw/nes/nes.h | 40 +-
2545 drivers/infiniband/hw/nes/nes_cm.c | 62 +-
2546 drivers/infiniband/hw/nes/nes_mgt.c | 8 +-
2547 drivers/infiniband/hw/nes/nes_nic.c | 42 +-
2548 drivers/infiniband/hw/nes/nes_verbs.c | 10 +-
2549 drivers/infiniband/hw/qib/qib.h | 1 +
2550 drivers/infiniband/hw/qib/qib_iba7322.c | 4 +-
2551 drivers/infiniband/hw/qib/qib_pcie.c | 2 +-
2552 drivers/infiniband/ulp/ipoib/ipoib_main.c | 2 +-
2553 drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 2 +-
2554 drivers/infiniband/ulp/srpt/ib_srpt.c | 8 +-
2555 drivers/input/evdev.c | 2 +-
2556 drivers/input/gameport/gameport.c | 4 +-
2557 drivers/input/input.c | 4 +-
2558 drivers/input/joystick/sidewinder.c | 1 +
2559 drivers/input/misc/ims-pcu.c | 4 +-
2560 drivers/input/mouse/psmouse.h | 2 +-
2561 drivers/input/mousedev.c | 2 +-
2562 drivers/input/serio/serio.c | 4 +-
2563 drivers/input/serio/serio_raw.c | 4 +-
2564 drivers/input/touchscreen/htcpen.c | 2 +-
2565 drivers/iommu/arm-smmu-v3.c | 2 +-
2566 drivers/iommu/arm-smmu.c | 42 +-
2567 drivers/iommu/io-pgtable-arm.c | 98 +-
2568 drivers/iommu/io-pgtable.c | 11 +-
2569 drivers/iommu/io-pgtable.h | 21 +-
2570 drivers/iommu/iommu.c | 2 +-
2571 drivers/iommu/ipmmu-vmsa.c | 13 +-
2572 drivers/iommu/irq_remapping.c | 2 +-
2573 drivers/irqchip/irq-gic.c | 2 +-
2574 drivers/irqchip/irq-i8259.c | 2 +-
2575 drivers/irqchip/irq-renesas-intc-irqpin.c | 2 +-
2576 drivers/irqchip/irq-ts4800.c | 2 +-
2577 drivers/isdn/capi/capi.c | 10 +-
2578 drivers/isdn/gigaset/interface.c | 8 +-
2579 drivers/isdn/gigaset/usb-gigaset.c | 2 +-
2580 drivers/isdn/hardware/avm/b1.c | 4 +-
2581 drivers/isdn/hardware/eicon/capifunc.c | 6 +-
2582 drivers/isdn/hardware/eicon/dadapter.c | 18 +-
2583 drivers/isdn/hardware/eicon/diddfunc.c | 7 +-
2584 drivers/isdn/hardware/eicon/divasfunc.c | 9 +-
2585 drivers/isdn/hardware/eicon/divasync.h | 2 +-
2586 drivers/isdn/hardware/eicon/idifunc.c | 9 +-
2587 drivers/isdn/hardware/eicon/mntfunc.c | 13 +-
2588 drivers/isdn/hardware/mISDN/avmfritz.c | 2 +-
2589 drivers/isdn/hardware/mISDN/hfcmulti.c | 7 +-
2590 drivers/isdn/hardware/mISDN/hfcpci.c | 16 +-
2591 drivers/isdn/hardware/mISDN/mISDNinfineon.c | 7 +-
2592 drivers/isdn/hardware/mISDN/mISDNipac.c | 5 +-
2593 drivers/isdn/hardware/mISDN/netjet.c | 2 +-
2594 drivers/isdn/hardware/mISDN/speedfax.c | 7 +-
2595 drivers/isdn/hardware/mISDN/w6692.c | 7 +-
2596 drivers/isdn/hisax/amd7930_fn.c | 5 +-
2597 drivers/isdn/hisax/arcofi.c | 5 +-
2598 drivers/isdn/hisax/diva.c | 7 +-
2599 drivers/isdn/hisax/elsa.c | 9 +-
2600 drivers/isdn/hisax/fsm.c | 5 +-
2601 drivers/isdn/hisax/hfc4s8s_l1.c | 14 +-
2602 drivers/isdn/hisax/hfc_pci.c | 10 +-
2603 drivers/isdn/hisax/hfc_sx.c | 10 +-
2604 drivers/isdn/hisax/hfc_usb.c | 12 +-
2605 drivers/isdn/hisax/icc.c | 5 +-
2606 drivers/isdn/hisax/ipacx.c | 7 +-
2607 drivers/isdn/hisax/isac.c | 5 +-
2608 drivers/isdn/hisax/isar.c | 5 +-
2609 drivers/isdn/hisax/isdnl3.c | 5 +-
2610 drivers/isdn/hisax/w6692.c | 5 +-
2611 drivers/isdn/i4l/isdn_common.c | 2 +
2612 drivers/isdn/i4l/isdn_tty.c | 22 +-
2613 drivers/isdn/icn/icn.c | 2 +-
2614 drivers/isdn/mISDN/dsp.h | 4 +-
2615 drivers/isdn/mISDN/dsp_cmx.c | 4 +-
2616 drivers/isdn/mISDN/dsp_core.c | 4 +-
2617 drivers/isdn/mISDN/dsp_tones.c | 4 +-
2618 drivers/isdn/mISDN/fsm.c | 5 +-
2619 drivers/isdn/mISDN/l1oip_core.c | 8 +-
2620 drivers/lguest/core.c | 9 +-
2621 drivers/lguest/page_tables.c | 2 +-
2622 drivers/lguest/x86/core.c | 12 +-
2623 drivers/lguest/x86/switcher_32.S | 27 +-
2624 drivers/lightnvm/rrpc.c | 4 +-
2625 drivers/lightnvm/rrpc.h | 2 +-
2626 drivers/md/bcache/alloc.c | 2 +-
2627 drivers/md/bcache/bcache.h | 10 +-
2628 drivers/md/bcache/btree.c | 2 +-
2629 drivers/md/bcache/closure.h | 2 +-
2630 drivers/md/bcache/io.c | 10 +-
2631 drivers/md/bcache/journal.c | 2 +-
2632 drivers/md/bcache/stats.c | 26 +-
2633 drivers/md/bcache/stats.h | 16 +-
2634 drivers/md/bcache/super.c | 2 +-
2635 drivers/md/bcache/sysfs.c | 20 +-
2636 drivers/md/bitmap.c | 2 +-
2637 drivers/md/dm-cache-target.c | 116 +-
2638 drivers/md/dm-ioctl.c | 2 +-
2639 drivers/md/dm-raid.c | 2 +-
2640 drivers/md/dm-raid1.c | 18 +-
2641 drivers/md/dm-stats.c | 6 +-
2642 drivers/md/dm-stripe.c | 10 +-
2643 drivers/md/dm-table.c | 2 +-
2644 drivers/md/dm-thin-metadata.c | 4 +-
2645 drivers/md/dm.c | 28 +-
2646 drivers/md/md.c | 41 +-
2647 drivers/md/md.h | 8 +-
2648 drivers/md/persistent-data/dm-space-map-metadata.c | 4 +-
2649 drivers/md/persistent-data/dm-space-map.h | 1 +
2650 drivers/md/raid1.c | 8 +-
2651 drivers/md/raid10.c | 20 +-
2652 drivers/md/raid5.c | 26 +-
2653 drivers/media/dvb-core/dvb_net.c | 2 +-
2654 drivers/media/dvb-core/dvbdev.c | 2 +-
2655 drivers/media/dvb-frontends/af9033.h | 2 +-
2656 drivers/media/dvb-frontends/cx24116.c | 2 +-
2657 drivers/media/dvb-frontends/cx24117.c | 2 +-
2658 drivers/media/dvb-frontends/cx24120.c | 2 +-
2659 drivers/media/dvb-frontends/cx24123.c | 2 +-
2660 drivers/media/dvb-frontends/cxd2820r_core.c | 2 +-
2661 drivers/media/dvb-frontends/dib3000.h | 2 +-
2662 drivers/media/dvb-frontends/dib7000p.h | 2 +-
2663 drivers/media/dvb-frontends/dib8000.h | 2 +-
2664 drivers/media/dvb-frontends/hd29l2.c | 2 +-
2665 drivers/media/dvb-frontends/lgdt3306a.c | 2 +-
2666 drivers/media/dvb-frontends/mt312.c | 6 +-
2667 drivers/media/dvb-frontends/s921.c | 2 +-
2668 drivers/media/pci/bt8xx/dst.c | 2 +-
2669 drivers/media/pci/cx88/cx88-video.c | 6 +-
2670 drivers/media/pci/ivtv/ivtv-driver.c | 2 +-
2671 drivers/media/pci/pt1/va1j5jf8007s.c | 2 +-
2672 drivers/media/pci/pt1/va1j5jf8007t.c | 2 +-
2673 drivers/media/pci/solo6x10/solo6x10-core.c | 2 +-
2674 drivers/media/pci/solo6x10/solo6x10-p2m.c | 2 +-
2675 drivers/media/pci/solo6x10/solo6x10.h | 2 +-
2676 drivers/media/pci/tw68/tw68-core.c | 2 +-
2677 drivers/media/pci/zoran/zoran.h | 1 -
2678 drivers/media/pci/zoran/zoran_card.c | 4 +-
2679 drivers/media/pci/zoran/zoran_driver.c | 3 -
2680 drivers/media/platform/omap/omap_vout.c | 11 +-
2681 drivers/media/platform/s5p-tv/mixer.h | 2 +-
2682 drivers/media/platform/s5p-tv/mixer_grp_layer.c | 2 +-
2683 drivers/media/platform/s5p-tv/mixer_reg.c | 2 +-
2684 drivers/media/platform/s5p-tv/mixer_video.c | 24 +-
2685 drivers/media/platform/s5p-tv/mixer_vp_layer.c | 2 +-
2686 drivers/media/platform/soc_camera/soc_camera.c | 2 +-
2687 drivers/media/radio/radio-cadet.c | 2 +
2688 drivers/media/radio/radio-maxiradio.c | 2 +-
2689 drivers/media/radio/radio-shark.c | 2 +-
2690 drivers/media/radio/radio-shark2.c | 2 +-
2691 drivers/media/radio/radio-si476x.c | 2 +-
2692 drivers/media/radio/wl128x/fmdrv_common.c | 2 +-
2693 drivers/media/usb/pvrusb2/pvrusb2-context.c | 8 +-
2694 drivers/media/usb/pvrusb2/pvrusb2-dvb.c | 7 +-
2695 drivers/media/usb/pvrusb2/pvrusb2-hdw.c | 2 +-
2696 drivers/media/usb/pvrusb2/pvrusb2-std.c | 2 +-
2697 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c | 6 +-
2698 drivers/media/usb/uvc/uvc_driver.c | 4 +-
2699 drivers/media/v4l2-core/v4l2-common.c | 2 +-
2700 drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 12 +-
2701 drivers/media/v4l2-core/v4l2-device.c | 4 +-
2702 drivers/media/v4l2-core/v4l2-ioctl.c | 293 +-
2703 drivers/memory/omap-gpmc.c | 21 +-
2704 drivers/message/fusion/mptbase.c | 4 +-
2705 drivers/message/fusion/mptlan.c | 2 +-
2706 drivers/message/fusion/mptsas.c | 34 +-
2707 drivers/mfd/ab8500-debugfs.c | 2 +-
2708 drivers/mfd/kempld-core.c | 2 +-
2709 drivers/mfd/max8925-i2c.c | 2 +-
2710 drivers/mfd/tps65910.c | 2 +-
2711 drivers/mfd/twl4030-irq.c | 9 +-
2712 drivers/misc/c2port/core.c | 4 +-
2713 drivers/misc/kgdbts.c | 6 +-
2714 drivers/misc/lis3lv02d/lis3lv02d.c | 8 +-
2715 drivers/misc/lis3lv02d/lis3lv02d.h | 2 +-
2716 drivers/misc/mic/scif/scif_api.c | 10 +-
2717 drivers/misc/mic/scif/scif_rb.c | 8 +-
2718 drivers/misc/sgi-gru/gruhandles.c | 4 +-
2719 drivers/misc/sgi-gru/gruprocfs.c | 8 +-
2720 drivers/misc/sgi-gru/grutables.h | 158 +-
2721 drivers/misc/sgi-xp/xp.h | 2 +-
2722 drivers/misc/sgi-xp/xp_main.c | 57 +-
2723 drivers/misc/sgi-xp/xpc.h | 3 +-
2724 drivers/misc/sgi-xp/xpc_main.c | 2 +-
2725 drivers/misc/sgi-xp/xpnet.c | 2 +-
2726 drivers/misc/ti-st/st_kim.c | 32 +-
2727 drivers/mmc/card/mmc_test.c | 4 +-
2728 drivers/mmc/host/dw_mmc.h | 2 +-
2729 drivers/mmc/host/mmci.c | 4 +-
2730 drivers/mmc/host/omap_hsmmc.c | 4 +-
2731 drivers/mmc/host/sdhci-esdhc-imx.c | 7 +-
2732 drivers/mmc/host/sdhci-s3c.c | 8 +-
2733 drivers/mtd/chips/cfi_cmdset_0020.c | 2 +-
2734 drivers/mtd/devices/block2mtd.c | 2 +-
2735 drivers/mtd/devices/phram.c | 2 +-
2736 drivers/mtd/maps/gpio-addr-flash.c | 2 +-
2737 drivers/mtd/maps/latch-addr-flash.c | 2 +-
2738 drivers/mtd/maps/pci.c | 4 +-
2739 drivers/mtd/maps/pcmciamtd.c | 8 +-
2740 drivers/mtd/maps/sbc_gxx.c | 2 +-
2741 drivers/mtd/nand/cafe_nand.c | 18 +-
2742 drivers/mtd/nand/denali.c | 1 +
2743 drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 2 +-
2744 drivers/mtd/nftlmount.c | 1 +
2745 drivers/mtd/sm_ftl.c | 2 +-
2746 drivers/mtd/ubi/build.c | 2 +-
2747 drivers/net/bonding/bond_netlink.c | 2 +-
2748 drivers/net/caif/caif_hsi.c | 4 +-
2749 drivers/net/caif/caif_serial.c | 2 +-
2750 drivers/net/caif/caif_spi.c | 2 +-
2751 drivers/net/caif/caif_virtio.c | 2 +-
2752 drivers/net/can/Kconfig | 2 +-
2753 drivers/net/can/dev.c | 2 +-
2754 drivers/net/can/janz-ican3.c | 2 +-
2755 drivers/net/can/led.c | 2 +-
2756 drivers/net/can/sun4i_can.c | 2 +-
2757 drivers/net/can/vcan.c | 2 +-
2758 drivers/net/can/xilinx_can.c | 2 +-
2759 drivers/net/dummy.c | 2 +-
2760 drivers/net/ethernet/8390/ax88796.c | 4 +-
2761 drivers/net/ethernet/8390/axnet_cs.c | 4 +-
2762 drivers/net/ethernet/8390/ne2k-pci.c | 6 +-
2763 drivers/net/ethernet/8390/pcnet_cs.c | 4 +-
2764 drivers/net/ethernet/altera/altera_tse_main.c | 6 +-
2765 drivers/net/ethernet/amd/amd8111e.c | 5 +-
2766 drivers/net/ethernet/amd/pcnet32.c | 7 +-
2767 drivers/net/ethernet/amd/xgbe/xgbe-common.h | 4 +-
2768 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c | 4 +-
2769 drivers/net/ethernet/amd/xgbe/xgbe-desc.c | 27 +-
2770 drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 143 +-
2771 drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 66 +-
2772 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 10 +-
2773 drivers/net/ethernet/amd/xgbe/xgbe-main.c | 15 +-
2774 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 27 +-
2775 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c | 4 +-
2776 drivers/net/ethernet/amd/xgbe/xgbe.h | 10 +-
2777 drivers/net/ethernet/apm/xgene/xgene_enet_main.c | 4 +-
2778 drivers/net/ethernet/arc/emac_main.c | 2 +-
2779 drivers/net/ethernet/atheros/alx/main.c | 2 +-
2780 drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 2 +-
2781 drivers/net/ethernet/atheros/atl1e/atl1e_main.c | 2 +-
2782 drivers/net/ethernet/aurora/nb8800.c | 2 +-
2783 drivers/net/ethernet/broadcom/bnx2.c | 2 +-
2784 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 2 +-
2785 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | 216 +-
2786 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h | 4 +-
2787 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 2 +-
2788 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | 11 +-
2789 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h | 3 +-
2790 drivers/net/ethernet/broadcom/tg3.c | 2 +-
2791 drivers/net/ethernet/broadcom/tg3.h | 1 +
2792 drivers/net/ethernet/brocade/bna/bfa_cs.h | 42 +-
2793 drivers/net/ethernet/brocade/bna/bfa_ioc.c | 10 +-
2794 drivers/net/ethernet/brocade/bna/bfa_ioc.h | 4 +-
2795 drivers/net/ethernet/brocade/bna/bfa_msgq.h | 8 +-
2796 drivers/net/ethernet/brocade/bna/bna_enet.c | 6 +-
2797 drivers/net/ethernet/brocade/bna/bna_tx_rx.c | 6 +-
2798 drivers/net/ethernet/brocade/bna/bna_types.h | 24 +-
2799 drivers/net/ethernet/brocade/bna/bnad.c | 11 +-
2800 drivers/net/ethernet/cadence/macb.c | 4 +-
2801 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c | 6 +-
2802 drivers/net/ethernet/cavium/liquidio/lio_main.c | 15 +-
2803 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c | 2 +-
2804 drivers/net/ethernet/chelsio/cxgb3/l2t.h | 2 +-
2805 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 2 +-
2806 drivers/net/ethernet/chelsio/cxgb4vf/adapter.h | 2 +-
2807 drivers/net/ethernet/chelsio/cxgb4vf/sge.c | 2 +-
2808 drivers/net/ethernet/dec/tulip/de4x5.c | 13 +-
2809 drivers/net/ethernet/emulex/benet/be_main.c | 4 +-
2810 drivers/net/ethernet/faraday/ftgmac100.c | 2 +
2811 drivers/net/ethernet/faraday/ftmac100.c | 2 +
2812 drivers/net/ethernet/hisilicon/hip04_eth.c | 2 +-
2813 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c | 2 +-
2814 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 6 +-
2815 drivers/net/ethernet/intel/e100.c | 2 +-
2816 drivers/net/ethernet/intel/e1000/e1000_main.c | 2 +-
2817 drivers/net/ethernet/intel/e1000e/netdev.c | 2 +-
2818 drivers/net/ethernet/intel/fm10k/fm10k_pci.c | 2 +-
2819 drivers/net/ethernet/intel/i40e/i40e_ptp.c | 2 +-
2820 drivers/net/ethernet/intel/igb/igb_main.c | 2 +-
2821 drivers/net/ethernet/intel/igbvf/netdev.c | 2 +-
2822 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 2 +-
2823 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 2 +-
2824 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 4 +-
2825 drivers/net/ethernet/marvell/pxa168_eth.c | 2 +-
2826 drivers/net/ethernet/mellanox/mlx4/en_tx.c | 4 +-
2827 drivers/net/ethernet/mellanox/mlx4/main.c | 2 +-
2828 drivers/net/ethernet/mellanox/mlx5/core/main.c | 2 +-
2829 drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 2 +-
2830 drivers/net/ethernet/micrel/ks8851_mll.c | 2 +-
2831 drivers/net/ethernet/neterion/s2io.c | 2 +-
2832 drivers/net/ethernet/neterion/vxge/vxge-config.c | 7 +-
2833 drivers/net/ethernet/neterion/vxge/vxge-main.c | 2 +-
2834 .../net/ethernet/netronome/nfp/nfp_net_common.c | 2 +-
2835 drivers/net/ethernet/nvidia/forcedeth.c | 4 +-
2836 .../net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c | 4 +-
2837 .../net/ethernet/qlogic/netxen/netxen_nic_main.c | 2 +-
2838 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 4 +-
2839 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c | 12 +-
2840 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c | 2 +-
2841 .../net/ethernet/qlogic/qlcnic/qlcnic_minidump.c | 2 +-
2842 drivers/net/ethernet/realtek/r8169.c | 8 +-
2843 drivers/net/ethernet/renesas/sh_eth.c | 2 +-
2844 drivers/net/ethernet/rocker/rocker.c | 4 +-
2845 drivers/net/ethernet/sfc/ptp.c | 2 +-
2846 drivers/net/ethernet/sfc/selftest.c | 20 +-
2847 drivers/net/ethernet/smsc/smsc911x.c | 2 +-
2848 drivers/net/ethernet/stmicro/stmmac/mmc_core.c | 4 +-
2849 drivers/net/ethernet/synopsys/dwc_eth_qos.c | 2 +-
2850 drivers/net/ethernet/via/via-rhine.c | 2 +-
2851 drivers/net/ethernet/wiznet/w5100.c | 2 +-
2852 drivers/net/ethernet/wiznet/w5300.c | 2 +-
2853 drivers/net/geneve.c | 2 +-
2854 drivers/net/hyperv/hyperv_net.h | 2 +-
2855 drivers/net/hyperv/netvsc_drv.c | 2 +-
2856 drivers/net/hyperv/rndis_filter.c | 7 +-
2857 drivers/net/ifb.c | 2 +-
2858 drivers/net/ipvlan/ipvlan_core.c | 2 +-
2859 drivers/net/ipvlan/ipvlan_main.c | 6 +-
2860 drivers/net/irda/sh_irda.c | 2 +-
2861 drivers/net/irda/vlsi_ir.c | 18 +-
2862 drivers/net/irda/vlsi_ir.h | 14 +-
2863 drivers/net/macvlan.c | 20 +-
2864 drivers/net/macvtap.c | 10 +-
2865 drivers/net/nlmon.c | 2 +-
2866 drivers/net/phy/phy_device.c | 6 +-
2867 drivers/net/plip/plip.c | 2 +-
2868 drivers/net/ppp/ppp_generic.c | 4 +-
2869 drivers/net/ppp/pptp.c | 1 +
2870 drivers/net/rionet.c | 2 +-
2871 drivers/net/slip/slhc.c | 2 +-
2872 drivers/net/team/team.c | 4 +-
2873 drivers/net/tun.c | 7 +-
2874 drivers/net/usb/hso.c | 28 +-
2875 drivers/net/usb/ipheth.c | 2 +-
2876 drivers/net/usb/r8152.c | 2 +-
2877 drivers/net/usb/sierra_net.c | 4 +-
2878 drivers/net/virtio_net.c | 2 +-
2879 drivers/net/vrf.c | 4 +-
2880 drivers/net/vxlan.c | 4 +-
2881 drivers/net/wimax/i2400m/rx.c | 2 +-
2882 drivers/net/wireless/ath/ath10k/ce.c | 6 +-
2883 drivers/net/wireless/ath/ath10k/htc.h | 4 +-
2884 drivers/net/wireless/ath/ath6kl/core.h | 2 +-
2885 drivers/net/wireless/ath/ath6kl/txrx.c | 2 +-
2886 drivers/net/wireless/ath/ath9k/ar9002_mac.c | 36 +-
2887 drivers/net/wireless/ath/ath9k/ar9003_mac.c | 64 +-
2888 drivers/net/wireless/ath/ath9k/hw.h | 4 +-
2889 drivers/net/wireless/ath/ath9k/main.c | 22 +-
2890 drivers/net/wireless/ath/carl9170/carl9170.h | 6 +-
2891 drivers/net/wireless/ath/carl9170/debug.c | 6 +-
2892 drivers/net/wireless/ath/carl9170/main.c | 10 +-
2893 drivers/net/wireless/ath/carl9170/tx.c | 4 +-
2894 drivers/net/wireless/ath/wil6210/pcie_bus.c | 2 +-
2895 drivers/net/wireless/ath/wil6210/wil_platform.h | 2 +-
2896 drivers/net/wireless/atmel/at76c50x-usb.c | 2 +-
2897 drivers/net/wireless/atmel/atmel.c | 183 +-
2898 drivers/net/wireless/broadcom/b43/phy_lp.c | 2 +-
2899 drivers/net/wireless/broadcom/b43legacy/main.c | 5 +-
2900 .../broadcom/brcm80211/brcmsmac/phy/phy_cmn.c | 3 +-
2901 .../broadcom/brcm80211/brcmsmac/phy_shim.c | 5 +-
2902 .../broadcom/brcm80211/brcmsmac/phy_shim.h | 2 +-
2903 drivers/net/wireless/cisco/airo.c | 201 +-
2904 drivers/net/wireless/intel/ipw2x00/ipw2100.c | 8 +-
2905 drivers/net/wireless/intel/ipw2x00/ipw2200.c | 6 +-
2906 drivers/net/wireless/intel/iwlegacy/3945-mac.c | 11 +-
2907 drivers/net/wireless/intel/iwlegacy/4965-mac.c | 7 +-
2908 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c | 34 +-
2909 drivers/net/wireless/intel/iwlwifi/mvm/d3.c | 4 +-
2910 drivers/net/wireless/intel/iwlwifi/mvm/tx.c | 2 +-
2911 drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 4 +-
2912 .../net/wireless/intersil/hostap/hostap_ioctl.c | 134 +-
2913 drivers/net/wireless/intersil/orinoco/wext.c | 131 +-
2914 drivers/net/wireless/intersil/prism54/isl_ioctl.c | 292 +-
2915 drivers/net/wireless/mac80211_hwsim.c | 28 +-
2916 drivers/net/wireless/marvell/mwifiex/main.c | 2 +-
2917 drivers/net/wireless/ralink/rt2x00/rt2400pci.c | 4 +-
2918 drivers/net/wireless/ralink/rt2x00/rt2500pci.c | 4 +-
2919 drivers/net/wireless/ralink/rt2x00/rt2500usb.c | 4 +-
2920 drivers/net/wireless/ralink/rt2x00/rt2800lib.c | 6 +-
2921 drivers/net/wireless/ralink/rt2x00/rt2x00.h | 2 +-
2922 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c | 4 +-
2923 drivers/net/wireless/ralink/rt2x00/rt61pci.c | 4 +-
2924 drivers/net/wireless/ralink/rt2x00/rt73usb.c | 4 +-
2925 drivers/net/wireless/realtek/rtlwifi/base.c | 14 +-
2926 drivers/net/wireless/realtek/rtlwifi/base.h | 4 +-
2927 drivers/net/wireless/realtek/rtlwifi/pci.c | 15 +-
2928 drivers/net/wireless/realtek/rtlwifi/ps.c | 6 +-
2929 drivers/net/wireless/realtek/rtlwifi/ps.h | 6 +-
2930 drivers/net/wireless/ti/wl1251/sdio.c | 12 +-
2931 drivers/net/wireless/ti/wl12xx/main.c | 8 +-
2932 drivers/net/wireless/ti/wl18xx/main.c | 6 +-
2933 drivers/net/wireless/zydas/zd1201.c | 192 +-
2934 drivers/nvme/host/pci.c | 2 +-
2935 drivers/of/fdt.c | 4 +-
2936 drivers/oprofile/buffer_sync.c | 8 +-
2937 drivers/oprofile/event_buffer.c | 2 +-
2938 drivers/oprofile/oprof.c | 2 +-
2939 drivers/oprofile/oprofile_stats.c | 10 +-
2940 drivers/oprofile/oprofile_stats.h | 10 +-
2941 drivers/oprofile/oprofilefs.c | 2 +-
2942 drivers/oprofile/timer_int.c | 2 +-
2943 drivers/parport/procfs.c | 4 +-
2944 drivers/pci/host/pci-host-generic.c | 2 +-
2945 drivers/pci/hotplug/acpiphp_ibm.c | 4 +-
2946 drivers/pci/hotplug/cpcihp_generic.c | 6 +-
2947 drivers/pci/hotplug/cpcihp_zt5550.c | 14 +-
2948 drivers/pci/hotplug/cpqphp_nvram.c | 2 +
2949 drivers/pci/hotplug/pci_hotplug_core.c | 6 +-
2950 drivers/pci/hotplug/pciehp_core.c | 2 +-
2951 drivers/pci/msi.c | 22 +-
2952 drivers/pci/pci-sysfs.c | 6 +-
2953 drivers/pci/pci.h | 4 +-
2954 drivers/pci/pcie/aspm.c | 10 +-
2955 drivers/pci/pcie/portdrv_pci.c | 2 +-
2956 drivers/pci/probe.c | 2 +-
2957 drivers/pci/setup-bus.c | 2 +-
2958 drivers/pinctrl/nomadik/pinctrl-nomadik.c | 2 +-
2959 drivers/pinctrl/pinctrl-at91.c | 5 +-
2960 drivers/platform/chrome/chromeos_pstore.c | 2 +-
2961 drivers/platform/x86/alienware-wmi.c | 4 +-
2962 drivers/platform/x86/apple-gmux.c | 2 +-
2963 drivers/platform/x86/compal-laptop.c | 2 +-
2964 drivers/platform/x86/hdaps.c | 2 +-
2965 drivers/platform/x86/ibm_rtl.c | 2 +-
2966 drivers/platform/x86/intel_oaktrail.c | 2 +-
2967 drivers/platform/x86/msi-laptop.c | 16 +-
2968 drivers/platform/x86/msi-wmi.c | 2 +-
2969 drivers/platform/x86/samsung-laptop.c | 2 +-
2970 drivers/platform/x86/samsung-q10.c | 2 +-
2971 drivers/platform/x86/sony-laptop.c | 14 +-
2972 drivers/platform/x86/thinkpad_acpi.c | 11 +-
2973 drivers/pnp/pnpbios/bioscalls.c | 14 +-
2974 drivers/pnp/pnpbios/core.c | 2 +-
2975 drivers/power/pda_power.c | 7 +-
2976 drivers/power/power_supply.h | 4 +-
2977 drivers/power/power_supply_core.c | 7 +-
2978 drivers/power/power_supply_sysfs.c | 6 +-
2979 drivers/power/reset/at91-reset.c | 5 +-
2980 drivers/powercap/powercap_sys.c | 136 +-
2981 drivers/ptp/ptp_private.h | 2 +-
2982 drivers/ptp/ptp_sysfs.c | 2 +-
2983 drivers/regulator/core.c | 4 +-
2984 drivers/regulator/max8660.c | 6 +-
2985 drivers/regulator/max8973-regulator.c | 16 +-
2986 drivers/regulator/mc13892-regulator.c | 8 +-
2987 drivers/remoteproc/remoteproc_core.c | 26 +-
2988 drivers/rtc/rtc-armada38x.c | 7 +-
2989 drivers/rtc/rtc-cmos.c | 4 +-
2990 drivers/rtc/rtc-ds1307.c | 2 +-
2991 drivers/rtc/rtc-m48t59.c | 4 +-
2992 drivers/rtc/rtc-rv8803.c | 15 +-
2993 drivers/rtc/rtc-rx8010.c | 8 +-
2994 drivers/rtc/rtc-test.c | 6 +-
2995 drivers/scsi/aacraid/aachba.c | 11 +-
2996 drivers/scsi/aic7xxx/aic79xx.h | 2 +-
2997 drivers/scsi/aic7xxx/aic79xx_core.c | 11 +-
2998 drivers/scsi/be2iscsi/be_main.c | 2 +-
2999 drivers/scsi/bfa/bfa.h | 4 +-
3000 drivers/scsi/bfa/bfa_core.c | 4 +-
3001 drivers/scsi/bfa/bfa_cs.h | 124 +-
3002 drivers/scsi/bfa/bfa_fcpim.h | 14 +-
3003 drivers/scsi/bfa/bfa_fcs.h | 34 +-
3004 drivers/scsi/bfa/bfa_fcs_fcpim.c | 6 +-
3005 drivers/scsi/bfa/bfa_fcs_lport.c | 4 +-
3006 drivers/scsi/bfa/bfa_fcs_rport.c | 4 +-
3007 drivers/scsi/bfa/bfa_ioc.c | 8 +-
3008 drivers/scsi/bfa/bfa_ioc.h | 16 +-
3009 drivers/scsi/bfa/bfa_svc.c | 12 +-
3010 drivers/scsi/bfa/bfa_svc.h | 20 +-
3011 drivers/scsi/bfa/bfad.c | 12 +-
3012 drivers/scsi/bfa/bfad_bsg.c | 8 +-
3013 drivers/scsi/bfa/bfad_drv.h | 5 +-
3014 drivers/scsi/csiostor/csio_defs.h | 19 +-
3015 drivers/scsi/csiostor/csio_hw.c | 67 +-
3016 drivers/scsi/csiostor/csio_init.c | 2 +-
3017 drivers/scsi/csiostor/csio_lnode.c | 32 +-
3018 drivers/scsi/csiostor/csio_rnode.c | 28 +-
3019 drivers/scsi/csiostor/csio_scsi.c | 37 +-
3020 drivers/scsi/fcoe/fcoe_sysfs.c | 12 +-
3021 drivers/scsi/fcoe/fcoe_transport.c | 16 +-
3022 drivers/scsi/hosts.c | 4 +-
3023 drivers/scsi/hpsa.c | 38 +-
3024 drivers/scsi/hpsa.h | 2 +-
3025 drivers/scsi/hptiop.c | 2 -
3026 drivers/scsi/hptiop.h | 1 -
3027 drivers/scsi/ipr.c | 32 +-
3028 drivers/scsi/ipr.h | 2 +-
3029 drivers/scsi/libfc/fc_exch.c | 50 +-
3030 drivers/scsi/libsas/sas_ata.c | 2 +-
3031 drivers/scsi/lpfc/lpfc.h | 8 +-
3032 drivers/scsi/lpfc/lpfc_debugfs.c | 18 +-
3033 drivers/scsi/lpfc/lpfc_init.c | 8 +-
3034 drivers/scsi/lpfc/lpfc_scsi.c | 10 +-
3035 drivers/scsi/megaraid/megaraid_sas.h | 2 +-
3036 drivers/scsi/mpt3sas/mpt3sas_base.c | 2 +-
3037 drivers/scsi/mpt3sas/mpt3sas_scsih.c | 4 +-
3038 drivers/scsi/pmcraid.c | 46 +-
3039 drivers/scsi/pmcraid.h | 8 +-
3040 drivers/scsi/qla2xxx/qla_attr.c | 4 +-
3041 drivers/scsi/qla2xxx/qla_gbl.h | 8 +-
3042 drivers/scsi/qla2xxx/qla_os.c | 15 +-
3043 drivers/scsi/qla2xxx/qla_target.c | 16 +-
3044 drivers/scsi/qla2xxx/qla_target.h | 2 +-
3045 drivers/scsi/qla4xxx/ql4_def.h | 2 +-
3046 drivers/scsi/qla4xxx/ql4_os.c | 15 +-
3047 drivers/scsi/scsi.c | 2 +-
3048 drivers/scsi/scsi_lib.c | 8 +-
3049 drivers/scsi/scsi_sysfs.c | 2 +-
3050 drivers/scsi/scsi_transport_fc.c | 8 +-
3051 drivers/scsi/scsi_transport_iscsi.c | 6 +-
3052 drivers/scsi/scsi_transport_spi.c | 2 +-
3053 drivers/scsi/scsi_transport_srp.c | 8 +-
3054 drivers/scsi/sd.c | 6 +-
3055 drivers/scsi/sg.c | 2 +-
3056 drivers/scsi/sr.c | 21 +-
3057 drivers/soc/tegra/fuse/fuse-tegra.c | 2 +-
3058 drivers/spi/spi.c | 2 +-
3059 drivers/staging/android/timed_output.c | 6 +-
3060 drivers/staging/comedi/comedi_fops.c | 8 +-
3061 drivers/staging/fbtft/fbtft-core.c | 2 +-
3062 drivers/staging/fbtft/fbtft.h | 2 +-
3063 drivers/staging/gdm724x/gdm_lte.c | 2 +-
3064 drivers/staging/gdm724x/gdm_tty.c | 2 +-
3065 drivers/staging/gdm72xx/gdm_wimax.c | 2 +-
3066 drivers/staging/iio/accel/lis3l02dq_ring.c | 2 +-
3067 drivers/staging/iio/adc/ad7280a.c | 4 +-
3068 .../staging/lustre/lnet/klnds/socklnd/socklnd.h | 6 +-
3069 drivers/staging/lustre/lnet/selftest/brw_test.c | 12 +-
3070 drivers/staging/lustre/lnet/selftest/framework.c | 4 -
3071 drivers/staging/lustre/lnet/selftest/ping_test.c | 14 +-
3072 .../lustre/lustre/include/lustre/lustre_idl.h | 92 +-
3073 drivers/staging/lustre/lustre/include/lustre_dlm.h | 8 +-
3074 drivers/staging/lustre/lustre/include/lustre_net.h | 2 +-
3075 drivers/staging/lustre/lustre/include/obd.h | 2 +-
3076 drivers/staging/lustre/lustre/ldlm/ldlm_request.c | 5 +-
3077 drivers/staging/lustre/lustre/llite/dir.c | 2 +-
3078 drivers/staging/lustre/lustre/lov/lov_io.c | 62 +-
3079 drivers/staging/lustre/lustre/obdclass/llog_swab.c | 24 +-
3080 drivers/staging/lustre/lustre/osc/osc_request.c | 24 +-
3081 drivers/staging/lustre/lustre/ptlrpc/layout.c | 7 +-
3082 .../staging/lustre/lustre/ptlrpc/pack_generic.c | 151 +-
3083 drivers/staging/octeon/ethernet-rx.c | 24 +-
3084 drivers/staging/octeon/ethernet.c | 8 +-
3085 drivers/staging/panel/panel.c | 4 +-
3086 drivers/staging/rdma/hfi1/pcie.c | 2 +-
3087 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 18 +-
3088 drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c | 2 +-
3089 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c | 2 +-
3090 drivers/staging/rtl8188eu/include/Hal8188EPhyCfg.h | 8 -
3091 drivers/staging/rtl8188eu/include/hal_intf.h | 5 +-
3092 drivers/staging/rtl8188eu/include/odm_precomp.h | 2 +-
3093 drivers/staging/rtl8188eu/include/recv_osdep.h | 1 -
3094 drivers/staging/rtl8188eu/include/rtl8188e_recv.h | 2 +-
3095 drivers/staging/rtl8188eu/include/rtl8188e_xmit.h | 2 +-
3096 drivers/staging/rtl8188eu/include/rtw_cmd.h | 1 -
3097 drivers/staging/rtl8188eu/include/rtw_eeprom.h | 6 -
3098 drivers/staging/rtl8188eu/include/rtw_ioctl.h | 9 -
3099 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h | 12 +-
3100 drivers/staging/rtl8188eu/include/xmit_osdep.h | 2 +-
3101 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c | 4 +-
3102 drivers/staging/rtl8188eu/os_dep/xmit_linux.c | 2 +-
3103 drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 49 +-
3104 drivers/staging/rtl8192e/rtl8192e/rtl_core.h | 4 +-
3105 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 10 +-
3106 drivers/staging/rtl8192e/rtl8192e/rtl_dm.h | 4 +-
3107 drivers/staging/rtl8192e/rtl8192e/rtl_ps.c | 6 +-
3108 drivers/staging/rtl8192e/rtl8192e/rtl_ps.h | 3 +-
3109 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 48 +-
3110 drivers/staging/rtl8192e/rtllib.h | 4 +-
3111 drivers/staging/rtl8192e/rtllib_softmac.c | 32 +-
3112 drivers/staging/rtl8192e/rtllib_softmac_wx.c | 2 +-
3113 drivers/staging/rtl8192e/rtllib_tx.c | 2 +-
3114 drivers/staging/rtl8192u/ieee80211/ieee80211.h | 2 +-
3115 .../staging/rtl8192u/ieee80211/ieee80211_softmac.c | 6 +-
3116 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c | 2 +-
3117 drivers/staging/rtl8192u/r8192U_core.c | 7 +-
3118 drivers/staging/rtl8712/rtl8712_recv.c | 6 +-
3119 drivers/staging/rtl8712/rtl871x_io.h | 2 +-
3120 drivers/staging/rtl8712/rtl871x_ioctl.h | 14 -
3121 drivers/staging/rtl8712/rtl871x_xmit.c | 2 +-
3122 drivers/staging/rtl8712/rtl871x_xmit.h | 2 +-
3123 drivers/staging/rtl8712/usb_ops_linux.c | 2 +-
3124 drivers/staging/rtl8712/xmit_linux.c | 2 +-
3125 drivers/staging/rtl8712/xmit_osdep.h | 2 +-
3126 drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 12 +-
3127 drivers/staging/rtl8723au/core/rtw_xmit.c | 2 +-
3128 drivers/staging/rtl8723au/hal/rtl8723au_recv.c | 2 +-
3129 drivers/staging/rtl8723au/hal/usb_ops_linux.c | 4 +-
3130 drivers/staging/rtl8723au/include/Hal8723APhyCfg.h | 8 -
3131 drivers/staging/rtl8723au/include/drv_types.h | 2 +-
3132 drivers/staging/rtl8723au/include/hal_intf.h | 2 -
3133 drivers/staging/rtl8723au/include/recv_osdep.h | 1 -
3134 drivers/staging/rtl8723au/include/rtw_ap.h | 2 -
3135 drivers/staging/rtl8723au/include/rtw_cmd.h | 1 -
3136 drivers/staging/rtl8723au/include/rtw_eeprom.h | 7 -
3137 drivers/staging/rtl8723au/include/rtw_mlme_ext.h | 14 +-
3138 drivers/staging/rtl8723au/include/usb_ops.h | 8 +-
3139 drivers/staging/rtl8723au/include/xmit_osdep.h | 2 +-
3140 drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 2 +-
3141 drivers/staging/rtl8723au/os_dep/xmit_linux.c | 2 +-
3142 drivers/staging/sm750fb/sm750.c | 14 +-
3143 drivers/staging/unisys/visorbus/visorbus_private.h | 4 +-
3144 drivers/staging/unisys/visornic/visornic_main.c | 2 +-
3145 drivers/staging/wilc1000/linux_wlan.c | 2 +-
3146 drivers/staging/wilc1000/wilc_spi.c | 2 -
3147 drivers/staging/wilc1000/wilc_wlan.h | 2 +-
3148 drivers/staging/wlan-ng/p80211netdev.c | 2 +-
3149 drivers/target/sbp/sbp_target.c | 4 +-
3150 drivers/thermal/cpu_cooling.c | 9 +-
3151 drivers/thermal/devfreq_cooling.c | 19 +-
3152 drivers/thermal/int340x_thermal/int3400_thermal.c | 6 +-
3153 drivers/thermal/of-thermal.c | 17 +-
3154 drivers/thermal/x86_pkg_temp_thermal.c | 2 +-
3155 drivers/tty/cyclades.c | 6 +-
3156 drivers/tty/hvc/hvc_console.c | 14 +-
3157 drivers/tty/hvc/hvcs.c | 21 +-
3158 drivers/tty/hvc/hvsi.c | 22 +-
3159 drivers/tty/hvc/hvsi_lib.c | 4 +-
3160 drivers/tty/ipwireless/tty.c | 27 +-
3161 drivers/tty/moxa.c | 2 +-
3162 drivers/tty/n_gsm.c | 6 +-
3163 drivers/tty/n_tty.c | 28 +-
3164 drivers/tty/pty.c | 4 +-
3165 drivers/tty/rocket.c | 6 +-
3166 drivers/tty/serial/8250/8250_core.c | 10 +-
3167 drivers/tty/serial/8250/8250_pci.c | 2 +-
3168 drivers/tty/serial/ifx6x60.c | 2 +-
3169 drivers/tty/serial/ioc4_serial.c | 6 +-
3170 drivers/tty/serial/jsm/jsm_driver.c | 2 +-
3171 drivers/tty/serial/kgdb_nmi.c | 4 +-
3172 drivers/tty/serial/kgdboc.c | 34 +-
3173 drivers/tty/serial/msm_serial.c | 4 +-
3174 drivers/tty/serial/samsung.c | 9 +-
3175 drivers/tty/serial/serial_core.c | 8 +-
3176 drivers/tty/synclink.c | 34 +-
3177 drivers/tty/synclink_gt.c | 28 +-
3178 drivers/tty/synclinkmp.c | 34 +-
3179 drivers/tty/tty_io.c | 2 +-
3180 drivers/tty/tty_ldisc.c | 8 +-
3181 drivers/tty/tty_port.c | 22 +-
3182 drivers/uio/uio.c | 13 +-
3183 drivers/usb/atm/cxacru.c | 2 +-
3184 drivers/usb/atm/usbatm.c | 24 +-
3185 drivers/usb/class/cdc-acm.h | 2 +-
3186 drivers/usb/core/devices.c | 6 +-
3187 drivers/usb/core/devio.c | 12 +-
3188 drivers/usb/core/hcd.c | 4 +-
3189 drivers/usb/core/sysfs.c | 2 +-
3190 drivers/usb/core/usb.c | 2 +-
3191 drivers/usb/early/ehci-dbgp.c | 16 +-
3192 drivers/usb/gadget/function/f_phonet.c | 2 +-
3193 drivers/usb/gadget/function/u_serial.c | 22 +-
3194 drivers/usb/gadget/legacy/inode.c | 4 +-
3195 drivers/usb/gadget/udc/dummy_hcd.c | 2 +-
3196 drivers/usb/host/ehci-hcd.c | 2 +-
3197 drivers/usb/host/ehci-hub.c | 4 +-
3198 drivers/usb/host/ehci-q.c | 4 +-
3199 drivers/usb/host/fotg210-hcd.c | 2 +-
3200 drivers/usb/host/hwa-hc.c | 2 +-
3201 drivers/usb/host/ohci-hcd.c | 2 +-
3202 drivers/usb/host/r8a66597.h | 2 +-
3203 drivers/usb/host/uhci-hcd.c | 2 +-
3204 drivers/usb/host/xhci-pci.c | 2 +-
3205 drivers/usb/host/xhci.c | 2 +-
3206 drivers/usb/misc/appledisplay.c | 4 +-
3207 drivers/usb/misc/sisusbvga/sisusb_con.c | 98 +-
3208 drivers/usb/serial/console.c | 8 +-
3209 drivers/usb/storage/transport.c | 2 +-
3210 drivers/usb/storage/usb.c | 2 +-
3211 drivers/usb/storage/usb.h | 2 +-
3212 drivers/usb/usbip/vhci.h | 2 +-
3213 drivers/usb/usbip/vhci_hcd.c | 6 +-
3214 drivers/usb/usbip/vhci_rx.c | 2 +-
3215 drivers/usb/wusbcore/wa-hc.h | 4 +-
3216 drivers/usb/wusbcore/wa-xfer.c | 2 +-
3217 drivers/vfio/pci/vfio_pci.c | 2 +-
3218 drivers/vhost/vringh.c | 20 +-
3219 drivers/video/backlight/kb3886_bl.c | 2 +-
3220 drivers/video/console/dummycon.c | 96 +-
3221 drivers/video/console/fbcon.c | 2 +-
3222 drivers/video/console/vgacon.c | 23 +-
3223 drivers/video/fbdev/aty/aty128fb.c | 2 +-
3224 drivers/video/fbdev/aty/atyfb_base.c | 8 +-
3225 drivers/video/fbdev/aty/mach64_ct.c | 5 +-
3226 drivers/video/fbdev/aty/mach64_cursor.c | 5 +-
3227 drivers/video/fbdev/aty/mach64_gx.c | 17 +-
3228 drivers/video/fbdev/core/fb_defio.c | 6 +-
3229 drivers/video/fbdev/core/fbmem.c | 12 +-
3230 drivers/video/fbdev/hyperv_fb.c | 4 +-
3231 drivers/video/fbdev/i810/i810_accel.c | 1 +
3232 drivers/video/fbdev/matrox/matroxfb_base.c | 2 +-
3233 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c | 16 +-
3234 drivers/video/fbdev/nvidia/nvidia.c | 27 +-
3235 drivers/video/fbdev/omap2/omapfb/dss/display.c | 8 +-
3236 drivers/video/fbdev/s1d13xxxfb.c | 6 +-
3237 drivers/video/fbdev/sis/sis_main.h | 2 +-
3238 drivers/video/fbdev/smscufx.c | 4 +-
3239 drivers/video/fbdev/udlfb.c | 36 +-
3240 drivers/video/fbdev/uvesafb.c | 52 +-
3241 drivers/video/fbdev/vesafb.c | 58 +-
3242 drivers/video/fbdev/via/via_clock.h | 2 +-
3243 drivers/xen/events/events_base.c | 6 +-
3244 drivers/xen/xen-pciback/pci_stub.c | 2 +-
3245 fs/9p/vfs_addr.c | 2 +-
3246 fs/9p/vfs_inode_dotl.c | 4 +-
3247 fs/Kconfig.binfmt | 2 +-
3248 fs/afs/file.c | 8 +-
3249 fs/afs/inode.c | 4 +-
3250 fs/afs/internal.h | 4 +-
3251 fs/aio.c | 2 +-
3252 fs/autofs4/waitq.c | 2 +-
3253 fs/befs/endian.h | 6 +-
3254 fs/binfmt_aout.c | 23 +-
3255 fs/binfmt_elf.c | 670 +-
3256 fs/binfmt_elf_fdpic.c | 4 +-
3257 fs/block_dev.c | 2 +-
3258 fs/btrfs/ctree.c | 11 +-
3259 fs/btrfs/ctree.h | 4 +-
3260 fs/btrfs/delayed-inode.c | 6 +-
3261 fs/btrfs/delayed-inode.h | 4 +-
3262 fs/btrfs/delayed-ref.c | 4 +-
3263 fs/btrfs/disk-io.c | 4 +-
3264 fs/btrfs/extent_map.c | 8 +-
3265 fs/btrfs/file.c | 4 +-
3266 fs/btrfs/free-space-cache.h | 1 +
3267 fs/btrfs/raid56.c | 30 +-
3268 fs/btrfs/super.c | 2 +-
3269 fs/btrfs/sysfs.c | 2 +-
3270 fs/btrfs/tests/btrfs-tests.c | 2 +-
3271 fs/btrfs/tests/free-space-tests.c | 2 +-
3272 fs/btrfs/transaction.c | 2 +-
3273 fs/btrfs/tree-log.c | 8 +-
3274 fs/btrfs/tree-log.h | 2 +-
3275 fs/btrfs/volumes.c | 14 +-
3276 fs/btrfs/volumes.h | 22 +-
3277 fs/buffer.c | 2 +-
3278 fs/cachefiles/bind.c | 6 +-
3279 fs/cachefiles/daemon.c | 8 +-
3280 fs/cachefiles/internal.h | 12 +-
3281 fs/cachefiles/namei.c | 2 +-
3282 fs/cachefiles/proc.c | 12 +-
3283 fs/ceph/dir.c | 12 +-
3284 fs/ceph/super.c | 4 +-
3285 fs/cifs/cifs_debug.c | 12 +-
3286 fs/cifs/cifsfs.c | 8 +-
3287 fs/cifs/cifsglob.h | 54 +-
3288 fs/cifs/file.c | 14 +-
3289 fs/cifs/misc.c | 4 +-
3290 fs/cifs/smb1ops.c | 80 +-
3291 fs/cifs/smb2ops.c | 84 +-
3292 fs/cifs/smb2pdu.c | 3 +-
3293 fs/coda/cache.c | 10 +-
3294 fs/coda/dir.c | 5 +-
3295 fs/compat.c | 9 +-
3296 fs/compat_binfmt_elf.c | 2 +
3297 fs/compat_ioctl.c | 12 +-
3298 fs/configfs/dir.c | 10 +-
3299 fs/coredump.c | 18 +-
3300 fs/dcache.c | 64 +-
3301 fs/ecryptfs/inode.c | 2 +-
3302 fs/ecryptfs/miscdev.c | 2 +-
3303 fs/exec.c | 365 +-
3304 fs/exofs/inode.c | 7 +-
3305 fs/ext2/xattr.c | 5 +-
3306 fs/ext4/ext4.h | 20 +-
3307 fs/ext4/mballoc.c | 44 +-
3308 fs/ext4/resize.c | 16 +-
3309 fs/ext4/super.c | 2 +-
3310 fs/ext4/sysfs.c | 2 +-
3311 fs/ext4/xattr.c | 5 +-
3312 fs/fhandle.c | 5 +-
3313 fs/file.c | 18 +-
3314 fs/freevxfs/vxfs_inode.c | 8 +-
3315 fs/freevxfs/vxfs_inode.h | 4 +-
3316 fs/fs-writeback.c | 11 +-
3317 fs/fs_struct.c | 8 +-
3318 fs/fscache/cookie.c | 40 +-
3319 fs/fscache/internal.h | 202 +-
3320 fs/fscache/object.c | 26 +-
3321 fs/fscache/operation.c | 38 +-
3322 fs/fscache/page.c | 110 +-
3323 fs/fscache/stats.c | 348 +-
3324 fs/fuse/cuse.c | 10 +-
3325 fs/fuse/dev.c | 4 +-
3326 fs/fuse/file.c | 4 +-
3327 fs/fuse/inode.c | 4 +-
3328 fs/gfs2/aops.c | 2 +-
3329 fs/gfs2/file.c | 2 +-
3330 fs/gfs2/glock.c | 22 +-
3331 fs/gfs2/glops.c | 4 +-
3332 fs/gfs2/quota.c | 6 +-
3333 fs/hugetlbfs/inode.c | 13 +-
3334 fs/inode.c | 4 +-
3335 fs/jbd2/commit.c | 2 +-
3336 fs/jbd2/transaction.c | 4 +-
3337 fs/jffs2/erase.c | 3 +-
3338 fs/jffs2/file.c | 3 +-
3339 fs/jffs2/fs.c | 2 +-
3340 fs/jffs2/os-linux.h | 2 +-
3341 fs/jffs2/wbuf.c | 3 +-
3342 fs/jfs/super.c | 2 +-
3343 fs/kernfs/dir.c | 2 +-
3344 fs/kernfs/file.c | 20 +-
3345 fs/libfs.c | 10 +-
3346 fs/lockd/clnt4xdr.c | 46 +-
3347 fs/lockd/clntproc.c | 4 +-
3348 fs/lockd/clntxdr.c | 44 +-
3349 fs/lockd/mon.c | 24 +-
3350 fs/lockd/svc.c | 2 +-
3351 fs/lockd/svc4proc.c | 69 +-
3352 fs/lockd/svcproc.c | 75 +-
3353 fs/lockd/xdr.c | 44 +-
3354 fs/lockd/xdr4.c | 41 +-
3355 fs/logfs/dev_bdev.c | 13 +-
3356 fs/logfs/dev_mtd.c | 13 +-
3357 fs/logfs/dir.c | 4 +-
3358 fs/logfs/logfs.h | 5 +-
3359 fs/logfs/readwrite.c | 2 +-
3360 fs/logfs/segment.c | 2 +-
3361 fs/logfs/super.c | 39 -
3362 fs/namei.c | 16 +-
3363 fs/namespace.c | 16 +-
3364 fs/nfs/callback.h | 18 +-
3365 fs/nfs/callback_proc.c | 26 +-
3366 fs/nfs/callback_xdr.c | 73 +-
3367 fs/nfs/dir.c | 5 +-
3368 fs/nfs/inode.c | 6 +-
3369 fs/nfs/internal.h | 5 +-
3370 fs/nfs/mount_clnt.c | 26 +-
3371 fs/nfs/nfs2xdr.c | 101 +-
3372 fs/nfs/nfs3xdr.c | 201 +-
3373 fs/nfs/nfs42xdr.c | 60 +-
3374 fs/nfs/nfs4xdr.c | 507 +-
3375 fs/nfs/read.c | 2 +-
3376 fs/nfs/symlink.c | 6 +-
3377 fs/nfsd/current_stateid.h | 24 +-
3378 fs/nfsd/nfs2acl.c | 85 +-
3379 fs/nfsd/nfs3acl.c | 44 +-
3380 fs/nfsd/nfs3proc.c | 271 +-
3381 fs/nfsd/nfs3xdr.c | 171 +-
3382 fs/nfsd/nfs4callback.c | 31 +-
3383 fs/nfsd/nfs4proc.c | 320 +-
3384 fs/nfsd/nfs4state.c | 111 +-
3385 fs/nfsd/nfs4xdr.c | 564 +-
3386 fs/nfsd/nfscache.c | 11 +-
3387 fs/nfsd/nfsproc.c | 193 +-
3388 fs/nfsd/nfsxdr.c | 96 +-
3389 fs/nfsd/vfs.c | 6 +-
3390 fs/nfsd/xdr.h | 50 +-
3391 fs/nfsd/xdr3.h | 100 +-
3392 fs/nfsd/xdr4.h | 50 +-
3393 fs/nls/nls_base.c | 26 +-
3394 fs/nls/nls_cp932.c | 2 +-
3395 fs/nls/nls_cp936.c | 2 +-
3396 fs/nls/nls_cp949.c | 2 +-
3397 fs/nls/nls_cp950.c | 2 +-
3398 fs/nls/nls_euc-jp.c | 8 +-
3399 fs/nls/nls_koi8-ru.c | 8 +-
3400 fs/notify/fanotify/fanotify_user.c | 4 +-
3401 fs/notify/notification.c | 4 +-
3402 fs/ntfs/dir.c | 4 +-
3403 fs/ntfs/inode.c | 19 +-
3404 fs/ntfs/inode.h | 4 +-
3405 fs/ntfs/mft.c | 4 +-
3406 fs/ntfs/super.c | 8 +-
3407 fs/ocfs2/dlm/dlmcommon.h | 4 +-
3408 fs/ocfs2/dlm/dlmdebug.c | 10 +-
3409 fs/ocfs2/dlm/dlmdomain.c | 4 +-
3410 fs/ocfs2/dlm/dlmmaster.c | 4 +-
3411 fs/ocfs2/dlmfs/dlmfs.c | 4 +-
3412 fs/ocfs2/localalloc.c | 2 +-
3413 fs/ocfs2/ocfs2.h | 10 +-
3414 fs/ocfs2/suballoc.c | 12 +-
3415 fs/ocfs2/super.c | 20 +-
3416 fs/overlayfs/copy_up.c | 2 +-
3417 fs/pipe.c | 72 +-
3418 fs/posix_acl.c | 4 +-
3419 fs/proc/array.c | 20 +
3420 fs/proc/base.c | 7 +-
3421 fs/proc/kcore.c | 36 +-
3422 fs/proc/meminfo.c | 2 +-
3423 fs/proc/nommu.c | 2 +-
3424 fs/proc/proc_sysctl.c | 26 +-
3425 fs/proc/task_mmu.c | 39 +-
3426 fs/proc/task_nommu.c | 6 +-
3427 fs/proc/vmcore.c | 16 +-
3428 fs/qnx6/qnx6.h | 4 +-
3429 fs/quota/netlink.c | 4 +-
3430 fs/read_write.c | 34 +-
3431 fs/readdir.c | 3 +-
3432 fs/reiserfs/do_balan.c | 2 +-
3433 fs/reiserfs/procfs.c | 2 +-
3434 fs/reiserfs/reiserfs.h | 4 +-
3435 fs/select.c | 2 +-
3436 fs/seq_file.c | 4 +-
3437 fs/splice.c | 43 +-
3438 fs/squashfs/xattr.c | 10 +-
3439 fs/super.c | 3 +-
3440 fs/sysv/sysv.h | 2 +-
3441 fs/tracefs/inode.c | 8 +-
3442 fs/ubifs/find.c | 34 +-
3443 fs/ubifs/lprops.c | 5 +-
3444 fs/udf/misc.c | 2 +-
3445 fs/ufs/swab.h | 4 +-
3446 fs/userfaultfd.c | 2 +-
3447 fs/xattr.c | 21 +
3448 fs/xfs/libxfs/xfs_bmap.c | 2 +-
3449 fs/xfs/libxfs/xfs_da_btree.c | 4 +-
3450 fs/xfs/xfs_dir2_readdir.c | 7 +-
3451 fs/xfs/xfs_ioctl.c | 2 +-
3452 fs/xfs/xfs_linux.h | 4 +-
3453 include/acpi/ghes.h | 2 +-
3454 include/asm-generic/4level-fixup.h | 2 +
3455 include/asm-generic/atomic-long.h | 176 +-
3456 include/asm-generic/atomic64.h | 12 +
3457 include/asm-generic/bitops/__fls.h | 2 +-
3458 include/asm-generic/bitops/fls.h | 2 +-
3459 include/asm-generic/bitops/fls64.h | 4 +-
3460 include/asm-generic/bug.h | 6 +-
3461 include/asm-generic/cache.h | 4 +-
3462 include/asm-generic/emergency-restart.h | 2 +-
3463 include/asm-generic/kmap_types.h | 4 +-
3464 include/asm-generic/local.h | 13 +
3465 include/asm-generic/pgtable-nopmd.h | 18 +-
3466 include/asm-generic/pgtable-nopud.h | 15 +-
3467 include/asm-generic/pgtable.h | 16 +
3468 include/asm-generic/sections.h | 1 +
3469 include/asm-generic/uaccess.h | 16 +
3470 include/asm-generic/vmlinux.lds.h | 15 +-
3471 include/crypto/algapi.h | 2 +-
3472 include/crypto/cast6.h | 4 +-
3473 include/crypto/serpent.h | 4 +-
3474 include/crypto/xts.h | 2 +-
3475 include/drm/drmP.h | 19 +-
3476 include/drm/drm_mm.h | 2 +-
3477 include/drm/drm_modeset_helper_vtables.h | 2 +-
3478 include/drm/i915_pciids.h | 2 +-
3479 include/drm/intel-gtt.h | 4 +-
3480 include/drm/ttm/ttm_memory.h | 2 +-
3481 include/drm/ttm/ttm_page_alloc.h | 1 +
3482 include/keys/asymmetric-subtype.h | 2 +-
3483 include/keys/encrypted-type.h | 2 +-
3484 include/keys/rxrpc-type.h | 2 +-
3485 include/keys/user-type.h | 2 +-
3486 include/linux/atmdev.h | 4 +-
3487 include/linux/atomic.h | 12 +-
3488 include/linux/audit.h | 2 +-
3489 include/linux/average.h | 2 +-
3490 include/linux/binfmts.h | 3 +-
3491 include/linux/bitmap.h | 2 +-
3492 include/linux/bitops.h | 8 +-
3493 include/linux/blk-cgroup.h | 24 +-
3494 include/linux/blkdev.h | 2 +-
3495 include/linux/blktrace_api.h | 2 +-
3496 include/linux/cache.h | 8 +
3497 include/linux/cdrom.h | 1 -
3498 include/linux/cgroup-defs.h | 2 +-
3499 include/linux/cleancache.h | 2 +-
3500 include/linux/clk-provider.h | 1 +
3501 include/linux/compat.h | 15 +-
3502 include/linux/compiler-gcc.h | 30 +-
3503 include/linux/compiler.h | 193 +-
3504 include/linux/configfs.h | 2 +-
3505 include/linux/cpufreq.h | 7 +-
3506 include/linux/cpuidle.h | 5 +-
3507 include/linux/cpumask.h | 14 +-
3508 include/linux/crypto.h | 4 +-
3509 include/linux/ctype.h | 2 +-
3510 include/linux/dcache.h | 4 +-
3511 include/linux/decompress/mm.h | 2 +-
3512 include/linux/devfreq.h | 2 +-
3513 include/linux/device.h | 7 +-
3514 include/linux/dma-mapping.h | 2 +-
3515 include/linux/efi.h | 1 +
3516 include/linux/elf.h | 2 +
3517 include/linux/err.h | 4 +-
3518 include/linux/extcon.h | 2 +-
3519 include/linux/fb.h | 3 +-
3520 include/linux/fdtable.h | 2 +-
3521 include/linux/firewire.h | 2 +-
3522 include/linux/fs.h | 5 +-
3523 include/linux/fs_struct.h | 2 +-
3524 include/linux/fscache-cache.h | 2 +-
3525 include/linux/fscache.h | 2 +-
3526 include/linux/fsnotify.h | 2 +-
3527 include/linux/genhd.h | 4 +-
3528 include/linux/genl_magic_func.h | 2 +-
3529 include/linux/genl_magic_struct.h | 4 +-
3530 include/linux/gfp.h | 14 +-
3531 include/linux/highmem.h | 12 +
3532 include/linux/hugetlb.h | 2 +-
3533 include/linux/hugetlb_cgroup.h | 11 +
3534 include/linux/hwmon-sysfs.h | 6 +-
3535 include/linux/i2c.h | 1 +
3536 include/linux/if_pppox.h | 2 +-
3537 include/linux/init.h | 12 +-
3538 include/linux/init_task.h | 7 +
3539 include/linux/interrupt.h | 6 +-
3540 include/linux/iommu.h | 2 +-
3541 include/linux/ioport.h | 2 +-
3542 include/linux/ipc.h | 2 +-
3543 include/linux/irq.h | 5 +-
3544 include/linux/irqdesc.h | 2 +-
3545 include/linux/irqdomain.h | 3 +
3546 include/linux/jbd2.h | 2 +-
3547 include/linux/jiffies.h | 16 +-
3548 include/linux/kallsyms.h | 18 +-
3549 include/linux/key-type.h | 2 +-
3550 include/linux/kgdb.h | 6 +-
3551 include/linux/kmemleak.h | 4 +-
3552 include/linux/kobject.h | 3 +-
3553 include/linux/kobject_ns.h | 2 +-
3554 include/linux/kref.h | 2 +-
3555 include/linux/libata.h | 2 +-
3556 include/linux/linkage.h | 12 +
3557 include/linux/list.h | 15 +
3558 include/linux/lockd/xdr.h | 34 +-
3559 include/linux/lockd/xdr4.h | 34 +-
3560 include/linux/lockref.h | 26 +-
3561 include/linux/math64.h | 10 +-
3562 include/linux/memcontrol.h | 2 +-
3563 include/linux/mempolicy.h | 7 +
3564 include/linux/mm.h | 97 +-
3565 include/linux/mm_types.h | 20 +
3566 include/linux/mmiotrace.h | 4 +-
3567 include/linux/mmzone.h | 2 +-
3568 include/linux/mod_devicetable.h | 4 +-
3569 include/linux/module.h | 58 +-
3570 include/linux/moduleloader.h | 16 +
3571 include/linux/moduleparam.h | 12 +-
3572 include/linux/net.h | 2 +-
3573 include/linux/netdevice.h | 7 +-
3574 include/linux/netfilter.h | 2 +-
3575 include/linux/netfilter/ipset/ip_set_comment.h | 3 +-
3576 include/linux/netfilter/nfnetlink.h | 2 +-
3577 include/linux/netlink.h | 12 +-
3578 include/linux/nls.h | 4 +-
3579 include/linux/notifier.h | 3 +-
3580 include/linux/oprofile.h | 4 +-
3581 include/linux/padata.h | 2 +-
3582 include/linux/pagemap.h | 4 +-
3583 include/linux/pci_hotplug.h | 3 +-
3584 include/linux/percpu.h | 2 +-
3585 include/linux/perf_event.h | 12 +-
3586 include/linux/pid.h | 4 +-
3587 include/linux/pipe_fs_i.h | 8 +-
3588 include/linux/pm.h | 1 +
3589 include/linux/pm_domain.h | 2 +-
3590 include/linux/pm_runtime.h | 2 +-
3591 include/linux/pnp.h | 2 +-
3592 include/linux/poison.h | 4 +-
3593 include/linux/power/smartreflex.h | 2 +-
3594 include/linux/ppp-comp.h | 2 +-
3595 include/linux/preempt.h | 21 +
3596 include/linux/printk.h | 2 +-
3597 include/linux/proc_ns.h | 2 +-
3598 include/linux/psci.h | 2 +-
3599 include/linux/quota.h | 2 +-
3600 include/linux/random.h | 19 +-
3601 include/linux/rculist.h | 16 +
3602 include/linux/rcupdate.h | 8 +
3603 include/linux/reboot.h | 14 +-
3604 include/linux/regset.h | 3 +-
3605 include/linux/relay.h | 2 +-
3606 include/linux/rio.h | 2 +-
3607 include/linux/rmap.h | 4 +-
3608 include/linux/sched.h | 76 +-
3609 include/linux/sched/sysctl.h | 1 +
3610 include/linux/scif.h | 2 +-
3611 include/linux/semaphore.h | 2 +-
3612 include/linux/seq_file.h | 1 +
3613 include/linux/seqlock.h | 10 +
3614 include/linux/signal.h | 2 +-
3615 include/linux/skbuff.h | 12 +-
3616 include/linux/slab.h | 47 +-
3617 include/linux/slab_def.h | 14 +-
3618 include/linux/slub_def.h | 2 +-
3619 include/linux/smp.h | 2 +
3620 include/linux/sock_diag.h | 2 +-
3621 include/linux/sonet.h | 2 +-
3622 include/linux/spinlock.h | 17 +-
3623 include/linux/srcu.h | 5 +-
3624 include/linux/sunrpc/addr.h | 8 +-
3625 include/linux/sunrpc/clnt.h | 2 +-
3626 include/linux/sunrpc/svc.h | 2 +-
3627 include/linux/sunrpc/svc_rdma.h | 18 +-
3628 include/linux/sunrpc/svcauth.h | 2 +-
3629 include/linux/swapops.h | 10 +-
3630 include/linux/swiotlb.h | 3 +-
3631 include/linux/syscalls.h | 34 +-
3632 include/linux/syscore_ops.h | 2 +-
3633 include/linux/sysctl.h | 3 +-
3634 include/linux/sysfs.h | 9 +-
3635 include/linux/sysrq.h | 3 +-
3636 include/linux/tcp.h | 14 +-
3637 include/linux/thread_info.h | 7 +
3638 include/linux/tty.h | 4 +-
3639 include/linux/tty_driver.h | 2 +-
3640 include/linux/tty_ldisc.h | 2 +-
3641 include/linux/types.h | 16 +
3642 include/linux/uaccess.h | 2 +-
3643 include/linux/uio_driver.h | 2 +-
3644 include/linux/unaligned/access_ok.h | 24 +-
3645 include/linux/usb.h | 12 +-
3646 include/linux/usb/hcd.h | 1 +
3647 include/linux/usb/renesas_usbhs.h | 2 +-
3648 include/linux/vermagic.h | 21 +-
3649 include/linux/vga_switcheroo.h | 8 +-
3650 include/linux/vmalloc.h | 7 +-
3651 include/linux/vmstat.h | 24 +-
3652 include/linux/writeback.h | 3 +-
3653 include/linux/xattr.h | 5 +-
3654 include/linux/zlib.h | 3 +-
3655 include/media/v4l2-dev.h | 2 +-
3656 include/media/v4l2-device.h | 2 +-
3657 include/net/9p/transport.h | 2 +-
3658 include/net/bluetooth/l2cap.h | 2 +-
3659 include/net/bonding.h | 2 +-
3660 include/net/caif/cfctrl.h | 6 +-
3661 include/net/cfg80211-wext.h | 20 +-
3662 include/net/cfg802154.h | 2 +-
3663 include/net/fib_rules.h | 3 +-
3664 include/net/flow.h | 2 +-
3665 include/net/genetlink.h | 2 +-
3666 include/net/gro_cells.h | 2 +-
3667 include/net/inet_connection_sock.h | 2 +-
3668 include/net/inet_sock.h | 2 +-
3669 include/net/inetpeer.h | 2 +-
3670 include/net/ip_fib.h | 2 +-
3671 include/net/ip_vs.h | 8 +-
3672 include/net/ipv6.h | 2 +-
3673 include/net/irda/ircomm_tty.h | 1 +
3674 include/net/irda/irias_object.h | 2 +-
3675 include/net/irda/irlmp.h | 1 +
3676 include/net/irda/irlmp_event.h | 6 +-
3677 include/net/irda/timer.h | 6 +-
3678 include/net/iucv/af_iucv.h | 2 +-
3679 include/net/llc_c_ac.h | 2 +-
3680 include/net/llc_c_ev.h | 4 +-
3681 include/net/llc_c_st.h | 2 +-
3682 include/net/llc_s_ac.h | 2 +-
3683 include/net/llc_s_st.h | 2 +-
3684 include/net/mac80211.h | 6 +-
3685 include/net/neighbour.h | 4 +-
3686 include/net/net_namespace.h | 18 +-
3687 include/net/netfilter/nf_conntrack.h | 2 +-
3688 include/net/netlink.h | 2 +-
3689 include/net/netns/conntrack.h | 6 +-
3690 include/net/netns/ipv4.h | 4 +-
3691 include/net/netns/ipv6.h | 4 +-
3692 include/net/netns/xfrm.h | 2 +-
3693 include/net/ping.h | 2 +-
3694 include/net/protocol.h | 4 +-
3695 include/net/rtnetlink.h | 2 +-
3696 include/net/sctp/checksum.h | 4 +-
3697 include/net/sctp/sm.h | 4 +-
3698 include/net/sctp/structs.h | 2 +-
3699 include/net/snmp.h | 10 +-
3700 include/net/sock.h | 12 +-
3701 include/net/tcp.h | 8 +-
3702 include/net/xfrm.h | 15 +-
3703 include/rdma/ib_cm.h | 8 +-
3704 include/rdma/iw_cm.h | 2 +-
3705 include/scsi/libfc.h | 3 +-
3706 include/scsi/scsi_device.h | 6 +-
3707 include/scsi/scsi_driver.h | 2 +-
3708 include/scsi/scsi_transport_fc.h | 3 +-
3709 include/scsi/sg.h | 2 +-
3710 include/sound/compress_driver.h | 2 +-
3711 include/sound/control.h | 4 +-
3712 include/sound/pcm.h | 2 +-
3713 include/sound/rawmidi.h | 3 +-
3714 include/sound/seq_kernel.h | 2 +-
3715 include/sound/soc.h | 4 +-
3716 include/trace/events/irq.h | 4 +-
3717 include/uapi/linux/a.out.h | 8 +
3718 include/uapi/linux/bcache.h | 5 +-
3719 include/uapi/linux/byteorder/little_endian.h | 28 +-
3720 include/uapi/linux/connector.h | 2 +-
3721 include/uapi/linux/elf.h | 28 +
3722 include/uapi/linux/screen_info.h | 2 +-
3723 include/uapi/linux/swab.h | 6 +-
3724 include/uapi/linux/xattr.h | 4 +
3725 include/video/udlfb.h | 8 +-
3726 include/video/uvesafb.h | 1 +
3727 init/Kconfig | 2 +-
3728 init/Makefile | 3 +
3729 init/do_mounts.c | 16 +-
3730 init/do_mounts.h | 8 +-
3731 init/do_mounts_initrd.c | 30 +-
3732 init/do_mounts_md.c | 6 +-
3733 init/init_task.c | 4 +
3734 init/initramfs.c | 38 +-
3735 init/main.c | 30 +-
3736 ipc/compat.c | 4 +-
3737 ipc/ipc_sysctl.c | 14 +-
3738 ipc/mq_sysctl.c | 4 +-
3739 ipc/sem.c | 4 +-
3740 ipc/shm.c | 8 +-
3741 kernel/audit.c | 8 +-
3742 kernel/auditsc.c | 4 +-
3743 kernel/bpf/core.c | 28 +-
3744 kernel/capability.c | 3 +
3745 kernel/cgroup.c | 29 +-
3746 kernel/compat.c | 38 +-
3747 kernel/debug/debug_core.c | 16 +-
3748 kernel/debug/kdb/kdb_main.c | 4 +-
3749 kernel/events/core.c | 38 +-
3750 kernel/events/internal.h | 10 +-
3751 kernel/events/uprobes.c | 2 +-
3752 kernel/exit.c | 27 +-
3753 kernel/fork.c | 175 +-
3754 kernel/futex.c | 11 +-
3755 kernel/futex_compat.c | 2 +-
3756 kernel/irq/manage.c | 2 +-
3757 kernel/irq/msi.c | 19 +-
3758 kernel/irq/spurious.c | 2 +-
3759 kernel/jump_label.c | 5 +
3760 kernel/kallsyms.c | 40 +-
3761 kernel/kexec.c | 3 +-
3762 kernel/kmod.c | 8 +-
3763 kernel/kprobes.c | 4 +-
3764 kernel/ksysfs.c | 2 +-
3765 kernel/locking/lockdep.c | 7 +-
3766 kernel/locking/mutex-debug.c | 12 +-
3767 kernel/locking/mutex-debug.h | 4 +-
3768 kernel/locking/mutex.c | 6 +-
3769 kernel/module.c | 403 +-
3770 kernel/notifier.c | 17 +-
3771 kernel/padata.c | 4 +-
3772 kernel/panic.c | 11 +-
3773 kernel/pid.c | 6 +-
3774 kernel/pid_namespace.c | 2 +-
3775 kernel/power/process.c | 12 +-
3776 kernel/profile.c | 14 +-
3777 kernel/ptrace.c | 8 +-
3778 kernel/rcu/rcutorture.c | 60 +-
3779 kernel/rcu/tiny.c | 4 +-
3780 kernel/rcu/tree.c | 42 +-
3781 kernel/rcu/tree.h | 16 +-
3782 kernel/rcu/tree_plugin.h | 18 +-
3783 kernel/rcu/tree_trace.c | 14 +-
3784 kernel/resource.c | 4 +-
3785 kernel/sched/auto_group.c | 4 +-
3786 kernel/sched/core.c | 49 +-
3787 kernel/sched/fair.c | 2 +-
3788 kernel/sched/rt.c | 4 +-
3789 kernel/sched/sched.h | 13 +-
3790 kernel/signal.c | 28 +-
3791 kernel/smp.c | 2 +-
3792 kernel/smpboot.c | 4 +-
3793 kernel/softirq.c | 12 +-
3794 kernel/stop_machine.c | 2 +-
3795 kernel/sys.c | 10 +-
3796 kernel/sys_ni.c | 4 +-
3797 kernel/sysctl.c | 34 +-
3798 kernel/time/alarmtimer.c | 4 +-
3799 kernel/time/posix-clock.c | 8 +-
3800 kernel/time/posix-cpu-timers.c | 4 +-
3801 kernel/time/posix-timers.c | 36 +-
3802 kernel/time/timer.c | 2 +-
3803 kernel/time/timer_stats.c | 10 +-
3804 kernel/trace/blktrace.c | 6 +-
3805 kernel/trace/ftrace.c | 33 +-
3806 kernel/trace/ring_buffer.c | 96 +-
3807 kernel/trace/trace.c | 2 +-
3808 kernel/trace/trace.h | 2 +-
3809 kernel/trace/trace_clock.c | 4 +-
3810 kernel/trace/trace_events.c | 1 -
3811 kernel/trace/trace_functions_graph.c | 4 +-
3812 kernel/trace/trace_mmiotrace.c | 8 +-
3813 kernel/trace/trace_output.c | 10 +-
3814 kernel/trace/trace_seq.c | 2 +-
3815 kernel/trace/trace_stack.c | 2 +-
3816 kernel/user.c | 2 +-
3817 kernel/user_namespace.c | 2 +-
3818 kernel/utsname_sysctl.c | 2 +-
3819 kernel/watchdog.c | 2 +-
3820 kernel/workqueue.c | 8 +-
3821 lib/Kconfig.debug | 8 +-
3822 lib/Makefile | 2 +-
3823 lib/bitmap.c | 8 +-
3824 lib/bug.c | 2 +
3825 lib/debugobjects.c | 2 +-
3826 lib/decompress_bunzip2.c | 3 +-
3827 lib/decompress_unlzma.c | 4 +-
3828 lib/div64.c | 4 +-
3829 lib/dma-debug.c | 4 +-
3830 lib/inflate.c | 2 +-
3831 lib/ioremap.c | 4 +-
3832 lib/irq_poll.c | 2 +-
3833 lib/kobject.c | 4 +-
3834 lib/list_debug.c | 126 +-
3835 lib/lockref.c | 44 +-
3836 lib/percpu-refcount.c | 2 +-
3837 lib/radix-tree.c | 2 +-
3838 lib/random32.c | 2 +-
3839 lib/rhashtable.c | 4 +-
3840 lib/show_mem.c | 2 +-
3841 lib/strncpy_from_user.c | 2 +-
3842 lib/strnlen_user.c | 2 +-
3843 lib/swiotlb.c | 2 +-
3844 lib/usercopy.c | 6 +
3845 lib/vsprintf.c | 12 +-
3846 mm/Kconfig | 6 +-
3847 mm/backing-dev.c | 4 +-
3848 mm/debug.c | 3 +
3849 mm/filemap.c | 10 +-
3850 mm/gup.c | 13 +-
3851 mm/highmem.c | 6 +-
3852 mm/hugetlb.c | 125 +-
3853 mm/hugetlb_cgroup.c | 60 +-
3854 mm/internal.h | 3 +-
3855 mm/maccess.c | 12 +-
3856 mm/madvise.c | 37 +
3857 mm/memcontrol.c | 6 +-
3858 mm/memory-failure.c | 6 +-
3859 mm/memory.c | 424 +-
3860 mm/mempolicy.c | 25 +
3861 mm/mlock.c | 18 +-
3862 mm/mm_init.c | 2 +-
3863 mm/mmap.c | 573 +-
3864 mm/mprotect.c | 137 +-
3865 mm/mremap.c | 39 +-
3866 mm/nommu.c | 21 +-
3867 mm/page-writeback.c | 2 +-
3868 mm/page_alloc.c | 53 +-
3869 mm/percpu.c | 2 +-
3870 mm/process_vm_access.c | 14 +-
3871 mm/readahead.c | 2 +-
3872 mm/rmap.c | 43 +-
3873 mm/shmem.c | 37 +-
3874 mm/slab.c | 111 +-
3875 mm/slab.h | 22 +-
3876 mm/slab_common.c | 86 +-
3877 mm/slob.c | 218 +-
3878 mm/slub.c | 111 +-
3879 mm/sparse-vmemmap.c | 4 +-
3880 mm/sparse.c | 2 +-
3881 mm/swap.c | 2 +
3882 mm/swapfile.c | 12 +-
3883 mm/util.c | 6 +
3884 mm/vmalloc.c | 116 +-
3885 mm/vmstat.c | 12 +-
3886 net/8021q/vlan.c | 5 +-
3887 net/8021q/vlan_netlink.c | 2 +-
3888 net/9p/mod.c | 4 +-
3889 net/9p/trans_fd.c | 2 +-
3890 net/atm/atm_misc.c | 8 +-
3891 net/atm/lec.h | 2 +-
3892 net/atm/proc.c | 6 +-
3893 net/atm/resources.c | 4 +-
3894 net/ax25/sysctl_net_ax25.c | 2 +-
3895 net/batman-adv/bat_iv_ogm.c | 8 +-
3896 net/batman-adv/fragmentation.c | 2 +-
3897 net/batman-adv/routing.c | 4 +-
3898 net/batman-adv/soft-interface.c | 12 +-
3899 net/batman-adv/sysfs.c | 40 +-
3900 net/batman-adv/sysfs.h | 4 +-
3901 net/batman-adv/translation-table.c | 14 +-
3902 net/batman-adv/types.h | 8 +-
3903 net/bluetooth/hci_sock.c | 2 +-
3904 net/bluetooth/l2cap_core.c | 6 +-
3905 net/bluetooth/l2cap_sock.c | 12 +-
3906 net/bluetooth/rfcomm/sock.c | 4 +-
3907 net/bluetooth/rfcomm/tty.c | 4 +-
3908 net/bridge/br_netlink.c | 2 +-
3909 net/bridge/netfilter/ebtables.c | 6 +-
3910 net/caif/cfctrl.c | 11 +-
3911 net/caif/chnl_net.c | 4 +-
3912 net/can/af_can.c | 2 +-
3913 net/can/gw.c | 6 +-
3914 net/ceph/ceph_common.c | 2 +-
3915 net/ceph/messenger.c | 4 +-
3916 net/compat.c | 26 +-
3917 net/core/datagram.c | 2 +-
3918 net/core/dev.c | 16 +-
3919 net/core/filter.c | 2 +-
3920 net/core/flow.c | 6 +-
3921 net/core/neighbour.c | 18 +-
3922 net/core/net-sysfs.c | 2 +-
3923 net/core/net_namespace.c | 8 +-
3924 net/core/netpoll.c | 4 +-
3925 net/core/rtnetlink.c | 17 +-
3926 net/core/scm.c | 12 +-
3927 net/core/skbuff.c | 11 +-
3928 net/core/sock.c | 28 +-
3929 net/core/sock_diag.c | 15 +-
3930 net/core/sysctl_net_core.c | 22 +-
3931 net/decnet/af_decnet.c | 1 +
3932 net/decnet/sysctl_net_decnet.c | 4 +-
3933 net/dsa/dsa.c | 2 +-
3934 net/hsr/hsr_device.c | 2 +-
3935 net/hsr/hsr_netlink.c | 2 +-
3936 net/ieee802154/6lowpan/core.c | 2 +-
3937 net/ieee802154/6lowpan/reassembly.c | 14 +-
3938 net/ipv4/af_inet.c | 2 +-
3939 net/ipv4/arp.c | 2 +-
3940 net/ipv4/devinet.c | 18 +-
3941 net/ipv4/fib_frontend.c | 6 +-
3942 net/ipv4/fib_semantics.c | 2 +-
3943 net/ipv4/inet_connection_sock.c | 4 +-
3944 net/ipv4/inet_diag.c | 4 +-
3945 net/ipv4/inet_timewait_sock.c | 2 +-
3946 net/ipv4/inetpeer.c | 2 +-
3947 net/ipv4/ip_fragment.c | 15 +-
3948 net/ipv4/ip_gre.c | 6 +-
3949 net/ipv4/ip_sockglue.c | 2 +-
3950 net/ipv4/ip_vti.c | 4 +-
3951 net/ipv4/ipconfig.c | 6 +-
3952 net/ipv4/ipip.c | 4 +-
3953 net/ipv4/netfilter/arp_tables.c | 12 +-
3954 net/ipv4/netfilter/ip_tables.c | 12 +-
3955 net/ipv4/ping.c | 14 +-
3956 net/ipv4/proc.c | 8 +-
3957 net/ipv4/raw.c | 14 +-
3958 net/ipv4/route.c | 32 +-
3959 net/ipv4/sysctl_net_ipv4.c | 22 +-
3960 net/ipv4/tcp_input.c | 6 +-
3961 net/ipv4/tcp_probe.c | 2 +-
3962 net/ipv4/udp.c | 10 +-
3963 net/ipv4/xfrm4_mode_transport.c | 2 +-
3964 net/ipv4/xfrm4_policy.c | 17 +-
3965 net/ipv4/xfrm4_state.c | 4 +-
3966 net/ipv6/addrconf.c | 24 +-
3967 net/ipv6/af_inet6.c | 2 +-
3968 net/ipv6/datagram.c | 2 +-
3969 net/ipv6/icmp.c | 2 +-
3970 net/ipv6/inet6_hashtables.c | 2 +-
3971 net/ipv6/ip6_fib.c | 4 +-
3972 net/ipv6/ip6_gre.c | 10 +-
3973 net/ipv6/ip6_tunnel.c | 4 +-
3974 net/ipv6/ip6_vti.c | 4 +-
3975 net/ipv6/ipv6_sockglue.c | 2 +-
3976 net/ipv6/ndisc.c | 2 +-
3977 net/ipv6/netfilter/ip6_tables.c | 12 +-
3978 net/ipv6/netfilter/nf_conntrack_reasm.c | 14 +-
3979 net/ipv6/ping.c | 33 +-
3980 net/ipv6/proc.c | 10 +-
3981 net/ipv6/raw.c | 17 +-
3982 net/ipv6/reassembly.c | 13 +-
3983 net/ipv6/route.c | 2 +-
3984 net/ipv6/sit.c | 4 +-
3985 net/ipv6/sysctl_net_ipv6.c | 2 +-
3986 net/ipv6/udp.c | 6 +-
3987 net/ipv6/xfrm6_mode_transport.c | 2 +-
3988 net/ipv6/xfrm6_policy.c | 17 +-
3989 net/irda/discovery.c | 2 +-
3990 net/irda/ircomm/ircomm_core.c | 13 +-
3991 net/irda/ircomm/ircomm_tty.c | 24 +-
3992 net/irda/ircomm/ircomm_tty_attach.c | 4 +-
3993 net/irda/irda_device.c | 14 +-
3994 net/irda/iriap.c | 14 +-
3995 net/irda/irias_object.c | 10 +-
3996 net/irda/irlan/irlan_client.c | 2 +-
3997 net/irda/irlap.c | 15 +-
3998 net/irda/irlap_event.c | 2 +-
3999 net/irda/irlmp.c | 21 +-
4000 net/irda/irlmp_event.c | 6 +-
4001 net/irda/irnet/irnet.h | 2 +-
4002 net/irda/irnet/irnet_irda.c | 6 +-
4003 net/irda/irttp.c | 8 +-
4004 net/irda/timer.c | 24 +-
4005 net/iucv/af_iucv.c | 4 +-
4006 net/iucv/iucv.c | 2 +-
4007 net/key/af_key.c | 4 +-
4008 net/l2tp/l2tp_eth.c | 40 +-
4009 net/l2tp/l2tp_ip.c | 2 +-
4010 net/l2tp/l2tp_ip6.c | 2 +-
4011 net/mac80211/cfg.c | 10 +-
4012 net/mac80211/debugfs.c | 2 +-
4013 net/mac80211/debugfs_key.c | 4 +-
4014 net/mac80211/ieee80211_i.h | 3 +-
4015 net/mac80211/iface.c | 20 +-
4016 net/mac80211/key.c | 4 +-
4017 net/mac80211/main.c | 2 +-
4018 net/mac80211/pm.c | 4 +-
4019 net/mac80211/rate.c | 2 +-
4020 net/mac80211/sta_info.c | 2 +-
4021 net/mac80211/tx.c | 2 +-
4022 net/mac80211/util.c | 8 +-
4023 net/mac80211/wpa.c | 10 +-
4024 net/mac802154/iface.c | 6 +-
4025 net/mpls/af_mpls.c | 10 +-
4026 net/netfilter/ipset/ip_set_core.c | 7 +-
4027 net/netfilter/ipvs/ip_vs_conn.c | 6 +-
4028 net/netfilter/ipvs/ip_vs_core.c | 4 +-
4029 net/netfilter/ipvs/ip_vs_ctl.c | 14 +-
4030 net/netfilter/ipvs/ip_vs_lblc.c | 2 +-
4031 net/netfilter/ipvs/ip_vs_lblcr.c | 2 +-
4032 net/netfilter/ipvs/ip_vs_sync.c | 6 +-
4033 net/netfilter/ipvs/ip_vs_xmit.c | 4 +-
4034 net/netfilter/nf_conntrack_acct.c | 2 +-
4035 net/netfilter/nf_conntrack_core.c | 2 +-
4036 net/netfilter/nf_conntrack_ecache.c | 2 +-
4037 net/netfilter/nf_conntrack_helper.c | 2 +-
4038 net/netfilter/nf_conntrack_netlink.c | 22 +-
4039 net/netfilter/nf_conntrack_proto.c | 2 +-
4040 net/netfilter/nf_conntrack_standalone.c | 2 +-
4041 net/netfilter/nf_conntrack_timestamp.c | 2 +-
4042 net/netfilter/nf_log.c | 10 +-
4043 net/netfilter/nf_nat_ftp.c | 2 +-
4044 net/netfilter/nf_nat_irc.c | 2 +-
4045 net/netfilter/nf_sockopt.c | 4 +-
4046 net/netfilter/nf_tables_api.c | 13 +-
4047 net/netfilter/nfnetlink_acct.c | 7 +-
4048 net/netfilter/nfnetlink_cthelper.c | 2 +-
4049 net/netfilter/nfnetlink_cttimeout.c | 2 +-
4050 net/netfilter/nfnetlink_log.c | 4 +-
4051 net/netfilter/nft_compat.c | 9 +-
4052 net/netfilter/xt_IDLETIMER.c | 12 +-
4053 net/netfilter/xt_statistic.c | 8 +-
4054 net/netlink/af_netlink.c | 14 +-
4055 net/netlink/diag.c | 2 +-
4056 net/netlink/genetlink.c | 14 +-
4057 net/openvswitch/vport-geneve.c | 7 +-
4058 net/openvswitch/vport-gre.c | 7 +-
4059 net/openvswitch/vport-internal_dev.c | 4 +-
4060 net/openvswitch/vport-netdev.c | 7 +-
4061 net/openvswitch/vport-vxlan.c | 7 +-
4062 net/packet/af_packet.c | 26 +-
4063 net/packet/diag.c | 2 +-
4064 net/packet/internal.h | 6 +-
4065 net/phonet/pep.c | 6 +-
4066 net/phonet/socket.c | 2 +-
4067 net/phonet/sysctl.c | 2 +-
4068 net/rds/cong.c | 6 +-
4069 net/rds/ib.h | 2 +-
4070 net/rds/ib_cm.c | 2 +-
4071 net/rds/ib_recv.c | 4 +-
4072 net/rds/iw.h | 2 +-
4073 net/rds/iw_cm.c | 2 +-
4074 net/rds/iw_recv.c | 4 +-
4075 net/rds/rds.h | 2 +-
4076 net/rds/tcp.c | 2 +-
4077 net/rds/tcp.h | 6 +-
4078 net/rds/tcp_send.c | 2 +-
4079 net/rxrpc/af_rxrpc.c | 2 +-
4080 net/rxrpc/ar-ack.c | 14 +-
4081 net/rxrpc/ar-call.c | 2 +-
4082 net/rxrpc/ar-connection.c | 2 +-
4083 net/rxrpc/ar-connevent.c | 2 +-
4084 net/rxrpc/ar-input.c | 4 +-
4085 net/rxrpc/ar-internal.h | 8 +-
4086 net/rxrpc/ar-local.c | 2 +-
4087 net/rxrpc/ar-output.c | 4 +-
4088 net/rxrpc/ar-peer.c | 2 +-
4089 net/rxrpc/ar-proc.c | 4 +-
4090 net/rxrpc/ar-transport.c | 2 +-
4091 net/rxrpc/rxkad.c | 4 +-
4092 net/sched/sch_generic.c | 4 +-
4093 net/sched/sch_tbf.c | 9 +-
4094 net/sctp/ipv6.c | 6 +-
4095 net/sctp/protocol.c | 10 +-
4096 net/sctp/sm_sideeffect.c | 4 +-
4097 net/sctp/socket.c | 21 +-
4098 net/sctp/sysctl.c | 10 +-
4099 net/socket.c | 18 +-
4100 net/sunrpc/auth_gss/gss_rpc_upcall.c | 4 +-
4101 net/sunrpc/auth_gss/gss_rpc_xdr.c | 11 +-
4102 net/sunrpc/auth_gss/gss_rpc_xdr.h | 8 +-
4103 net/sunrpc/auth_gss/svcauth_gss.c | 4 +-
4104 net/sunrpc/clnt.c | 4 +-
4105 net/sunrpc/rpcb_clnt.c | 66 +-
4106 net/sunrpc/sched.c | 4 +-
4107 net/sunrpc/svc.c | 8 +-
4108 net/sunrpc/svcauth_unix.c | 2 +-
4109 net/sunrpc/xprtrdma/svc_rdma.c | 44 +-
4110 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 8 +-
4111 net/sunrpc/xprtrdma/svc_rdma_sendto.c | 2 +-
4112 net/sunrpc/xprtrdma/svc_rdma_transport.c | 10 +-
4113 net/tipc/netlink_compat.c | 12 +-
4114 net/tipc/subscr.c | 2 +-
4115 net/unix/diag.c | 2 +-
4116 net/unix/sysctl_net_unix.c | 2 +-
4117 net/wireless/scan.c | 3 +-
4118 net/wireless/wext-compat.c | 140 +-
4119 net/wireless/wext-compat.h | 8 +-
4120 net/wireless/wext-core.c | 19 +-
4121 net/wireless/wext-sme.c | 5 +-
4122 net/xfrm/xfrm_policy.c | 16 +-
4123 net/xfrm/xfrm_state.c | 37 +-
4124 net/xfrm/xfrm_sysctl.c | 2 +-
4125 net/xfrm/xfrm_user.c | 2 +-
4126 scripts/Kbuild.include | 2 +-
4127 scripts/Makefile.build | 2 +-
4128 scripts/Makefile.clean | 3 +-
4129 scripts/Makefile.extrawarn | 4 +
4130 scripts/Makefile.gcc-plugins | 69 +
4131 scripts/Makefile.host | 68 +-
4132 scripts/basic/fixdep.c | 12 +-
4133 scripts/dtc/checks.c | 14 +-
4134 scripts/dtc/data.c | 6 +-
4135 scripts/dtc/flattree.c | 8 +-
4136 scripts/dtc/livetree.c | 4 +-
4137 scripts/gcc-plugin.sh | 51 +
4138 scripts/headers_install.sh | 1 +
4139 scripts/kallsyms.c | 4 +-
4140 scripts/kconfig/lkc.h | 5 +-
4141 scripts/kconfig/menu.c | 2 +-
4142 scripts/kconfig/symbol.c | 6 +-
4143 scripts/link-vmlinux.sh | 2 +-
4144 scripts/mod/file2alias.c | 14 +-
4145 scripts/mod/modpost.c | 40 +-
4146 scripts/mod/modpost.h | 6 +-
4147 scripts/mod/sumversion.c | 2 +-
4148 scripts/module-common.lds | 4 +
4149 scripts/package/builddeb | 1 +
4150 scripts/pnmtologo.c | 6 +-
4151 scripts/sortextable.h | 6 +-
4152 scripts/tags.sh | 2 +-
4153 security/Kconfig | 703 +-
4154 security/apparmor/include/policy.h | 2 +-
4155 security/apparmor/lsm.c | 16 +-
4156 security/apparmor/policy.c | 4 +-
4157 security/integrity/ima/ima.h | 4 +-
4158 security/integrity/ima/ima_api.c | 2 +-
4159 security/integrity/ima/ima_fs.c | 4 +-
4160 security/integrity/ima/ima_queue.c | 2 +-
4161 security/keys/internal.h | 8 +-
4162 security/keys/key.c | 18 +-
4163 security/keys/keyring.c | 4 -
4164 security/selinux/avc.c | 6 +-
4165 security/selinux/include/xfrm.h | 2 +-
4166 security/yama/yama_lsm.c | 2 +-
4167 sound/aoa/codecs/onyx.c | 7 +-
4168 sound/aoa/codecs/onyx.h | 1 +
4169 sound/core/oss/pcm_oss.c | 18 +-
4170 sound/core/pcm_compat.c | 2 +-
4171 sound/core/pcm_lib.c | 3 +-
4172 sound/core/pcm_native.c | 4 +-
4173 sound/core/rawmidi.c | 5 +-
4174 sound/core/seq/oss/seq_oss_synth.c | 4 +-
4175 sound/core/seq/seq_clientmgr.c | 10 +-
4176 sound/core/seq/seq_compat.c | 2 +-
4177 sound/core/seq/seq_fifo.c | 6 +-
4178 sound/core/seq/seq_fifo.h | 2 +-
4179 sound/core/seq/seq_memory.c | 18 +-
4180 sound/core/seq/seq_midi.c | 5 +-
4181 sound/core/seq/seq_virmidi.c | 2 +-
4182 sound/core/sound.c | 2 +-
4183 sound/drivers/mts64.c | 14 +-
4184 sound/drivers/opl4/opl4_lib.c | 2 +-
4185 sound/drivers/portman2x4.c | 3 +-
4186 sound/firewire/amdtp-am824.c | 2 +-
4187 sound/firewire/amdtp-stream.c | 4 +-
4188 sound/firewire/amdtp-stream.h | 2 +-
4189 sound/firewire/digi00x/amdtp-dot.c | 2 +-
4190 sound/firewire/isight.c | 10 +-
4191 sound/firewire/oxfw/oxfw-scs1x.c | 8 +-
4192 sound/oss/sb_audio.c | 2 +-
4193 sound/oss/swarm_cs4297a.c | 6 +-
4194 sound/pci/als300.c | 2 +-
4195 sound/pci/aw2/aw2-alsa.c | 2 -
4196 sound/pci/aw2/aw2-saa7146.c | 4 +-
4197 sound/pci/ctxfi/ctamixer.c | 14 +-
4198 sound/pci/ctxfi/ctamixer.h | 8 +-
4199 sound/pci/ctxfi/ctatc.c | 20 +-
4200 sound/pci/ctxfi/ctdaio.c | 6 +-
4201 sound/pci/ctxfi/ctdaio.h | 4 +-
4202 sound/pci/ctxfi/ctsrc.c | 13 +-
4203 sound/pci/ctxfi/ctsrc.h | 8 +-
4204 sound/pci/hda/hda_codec.c | 2 +-
4205 sound/pci/ymfpci/ymfpci.h | 2 +-
4206 sound/pci/ymfpci/ymfpci_main.c | 12 +-
4207 sound/soc/codecs/cx20442.c | 8 +-
4208 sound/soc/codecs/sti-sas.c | 10 +-
4209 sound/soc/codecs/tlv320dac33.c | 7 +-
4210 sound/soc/codecs/uda1380.c | 7 +-
4211 sound/soc/intel/skylake/skl-sst-dsp.h | 4 +-
4212 sound/soc/soc-ac97.c | 6 +-
4213 sound/soc/xtensa/xtfpga-i2s.c | 2 +-
4214 tools/gcc/Makefile | 46 +
4215 tools/gcc/checker_plugin.c | 496 +
4216 tools/gcc/colorize_plugin.c | 162 +
4217 tools/gcc/constify_plugin.c | 521 +
4218 tools/gcc/gcc-common.h | 858 +
4219 tools/gcc/gcc-generate-gimple-pass.h | 175 +
4220 tools/gcc/gcc-generate-ipa-pass.h | 289 +
4221 tools/gcc/gcc-generate-rtl-pass.h | 175 +
4222 tools/gcc/gcc-generate-simple_ipa-pass.h | 175 +
4223 tools/gcc/initify_plugin.c | 536 +
4224 tools/gcc/kallocstat_plugin.c | 135 +
4225 tools/gcc/kernexec_plugin.c | 407 +
4226 tools/gcc/latent_entropy_plugin.c | 422 +
4227 tools/gcc/randomize_layout_seed.h | 1 +
4228 tools/gcc/rap_plugin/Makefile | 4 +
4229 tools/gcc/rap_plugin/rap.h | 36 +
4230 tools/gcc/rap_plugin/rap_fptr_pass.c | 220 +
4231 tools/gcc/rap_plugin/rap_hash.c | 381 +
4232 tools/gcc/rap_plugin/rap_plugin.c | 477 +
4233 tools/gcc/rap_plugin/sip.c | 96 +
4234 tools/gcc/size_overflow_plugin/.gitignore | 3 +
4235 tools/gcc/size_overflow_plugin/Makefile | 28 +
4236 .../disable_size_overflow_hash.data | 12440 +++++++++++
4237 .../generate_size_overflow_hash.sh | 103 +
4238 .../insert_size_overflow_asm.c | 369 +
4239 .../size_overflow_plugin/intentional_overflow.c | 1118 +
4240 .../size_overflow_plugin/remove_unnecessary_dup.c | 137 +
4241 tools/gcc/size_overflow_plugin/size_overflow.h | 329 +
4242 .../gcc/size_overflow_plugin/size_overflow_debug.c | 194 +
4243 .../size_overflow_plugin/size_overflow_hash.data | 21508 +++++++++++++++++++
4244 .../size_overflow_hash_aux.data | 92 +
4245 tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 1163 +
4246 .../gcc/size_overflow_plugin/size_overflow_misc.c | 505 +
4247 .../size_overflow_plugin/size_overflow_plugin.c | 290 +
4248 .../size_overflow_plugin_hash.c | 352 +
4249 .../size_overflow_plugin/size_overflow_transform.c | 745 +
4250 .../size_overflow_transform_core.c | 1015 +
4251 tools/gcc/stackleak_plugin.c | 350 +
4252 tools/gcc/structleak_plugin.c | 239 +
4253 tools/include/linux/compiler.h | 8 +
4254 tools/perf/util/include/asm/alternative-asm.h | 3 +
4255 tools/virtio/linux/uaccess.h | 2 +-
4256 virt/kvm/kvm_main.c | 42 +-
4257 2639 files changed, 76327 insertions(+), 13888 deletions(-)
4258 commit 5988c8dba8a5da45e35d71f4a8fec34c267258c5
4259 Author: Brad Spengler <spender@grsecurity.net>
4260 Date: Mon Apr 25 20:40:53 2016 -0400
4261
4262 Fix DoS in n_tty_receive_buf_common reported by marcan at:
4263 https://forums.grsecurity.net/viewtopic.php?t=4342&p=16222
4264 and via lengthy diatribe on Twitter:
4265 https://twitter.com/marcan42/status/724740708104474626
4266 https://twitter.com/marcan42/status/724740985146609664
4267 https://twitter.com/marcan42/status/724741270325760000
4268 https://twitter.com/marcan42/status/724742465199050752
4269 https://twitter.com/marcan42/status/724745886794833920
4270 https://twitter.com/marcan42/status/724749571495075840
4271 https://twitter.com/marcan42/status/724746427285409796
4272 https://twitter.com/marcan42/status/724743150263095296
4273 https://twitter.com/marcan42/status/724757473433808896
4274
4275 Fix it correctly instead of using the incorrect fix suggested
4276 by marcan (aka "try reading the code next time")
4277 The original code was meant to fix an integer truncation issue
4278 that would also have caused a SIZE_OVERFLOW "DoS".
4279
4280 drivers/tty/n_tty.c | 9 +++++----
4281 1 file changed, 5 insertions(+), 4 deletions(-)
4282
4283 commit 5459ff57d8987389fa17d5d6f55b70a789347c2f
4284 Author: Brad Spengler <spender@grsecurity.net>
4285 Date: Mon Apr 25 19:52:33 2016 -0400
4286
4287 Avoid overflow in environ_read() caught by SIZE_OVERFLOW,
4288 reported by jotik at:
4289 https://forums.grsecurity.net/viewtopic.php?t=4363&p=16217
4290 patch from Mathias Krause
4291
4292 fs/proc/base.c | 2 +-
4293 1 file changed, 1 insertion(+), 1 deletion(-)
4294
4295 commit 24a5c92e147af1e739e9eeca020c61ad2674e784
4296 Author: Jiri Benc <jbenc@redhat.com>
4297 Date: Fri Apr 22 13:09:13 2016 +0200
4298
4299 cxgbi: fix uninitialized flowi6
4300
4301 ip6_route_output looks into different fields in the passed flowi6 structure,
4302 yet cxgbi passes garbage in nearly all those fields. Zero the structure out
4303 first.
4304
4305 Fixes: fc8d0590d9142 ("libcxgbi: Add ipv6 api to driver")
4306 Signed-off-by: Jiri Benc <jbenc@redhat.com>
4307 Signed-off-by: David S. Miller <davem@davemloft.net>
4308
4309 drivers/scsi/cxgbi/libcxgbi.c | 1 +
4310 1 file changed, 1 insertion(+)
4311
4312 commit ec65caa32652841a5be21d6e73146921af16d7a8
4313 Author: Brad Spengler <spender@grsecurity.net>
4314 Date: Wed Apr 20 20:59:43 2016 -0400
4315
4316 Make /proc/sched_debug only readable by root, mentioned in
4317 recent NCC Group paper on Linux containers
4318
4319 kernel/sched/debug.c | 4 ++++
4320 1 file changed, 4 insertions(+)
4321
4322 commit 7957d30730bb26a4aef54ab484dc3b4108f1fdb1
4323 Merge: 463149f ff26083
4324 Author: Brad Spengler <spender@grsecurity.net>
4325 Date: Wed Apr 20 17:55:53 2016 -0400
4326
4327 Merge branch 'pax-test' into grsec-test
4328
4329 commit ff260839e610d2bc1b0c579edd7deb0028198f01
4330 Author: Brad Spengler <spender@grsecurity.net>
4331 Date: Wed Apr 20 17:55:24 2016 -0400
4332
4333 Update to pax-linux-4.4.8-test14.patch:
4334 - Emese fixed some CodingStyle issues in the latent entropy plugin
4335 - fixed some build problems on mips, reported by Steve Arnold (https://bugs.gentoo.org/show_bug.cgi?id=578394)
4336
4337 arch/mips/include/asm/cache.h | 3 ++-
4338 arch/mips/lib/ashldi3.c | 21 ++++++++++++++-------
4339 arch/mips/lib/ashrdi3.c | 19 +++++++++++++------
4340 arch/mips/lib/libgcc.h | 12 +++++++++---
4341 drivers/idle/intel_idle.c | 6 ++++--
4342 tools/gcc/latent_entropy_plugin.c | 29 +++++++++++++++--------------
4343 6 files changed, 57 insertions(+), 33 deletions(-)
4344
4345 commit 463149f47a64db4b26a13009f83ed73d393a209c
4346 Author: Xiaodong Liu <xiaodong.liu@intel.com>
4347 Date: Tue Apr 12 09:45:51 2016 +0000
4348
4349 crypto: sha1-mb - use corrcet pointer while completing jobs
4350
4351 In sha_complete_job, incorrect mcryptd_hash_request_ctx pointer is used
4352 when check and complete other jobs. If the memory of first completed req
4353 is freed, while still completing other jobs in the func, kernel will
4354 crash since NULL pointer is assigned to RIP.
4355
4356 Cc: <stable@vger.kernel.org>
4357 Signed-off-by: Xiaodong Liu <xiaodong.liu@intel.com>
4358 Acked-by: Tim Chen <tim.c.chen@linux.intel.com>
4359 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
4360
4361 arch/x86/crypto/sha-mb/sha1_mb.c | 4 ++--
4362 1 file changed, 2 insertions(+), 2 deletions(-)
4363
4364 commit b4e6484e67b917afb77478cab1260f41dbbc92fc
4365 Author: Tom Lendacky <thomas.lendacky@amd.com>
4366 Date: Wed Apr 13 10:52:25 2016 -0500
4367
4368 crypto: ccp - Prevent information leakage on export
4369
4370 Prevent information from leaking to userspace by doing a memset to 0 of
4371 the export state structure before setting the structure values and copying
4372 it. This prevents un-initialized padding areas from being copied into the
4373 export area.
4374
4375 Cc: <stable@vger.kernel.org> # 3.14.x-
4376 Reported-by: Ben Hutchings <ben@decadent.org.uk>
4377 Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
4378 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
4379
4380 drivers/crypto/ccp/ccp-crypto-aes-cmac.c | 3 +++
4381 drivers/crypto/ccp/ccp-crypto-sha.c | 3 +++
4382 2 files changed, 6 insertions(+)
4383
4384 commit 7d7e961d3f4e4614b22518d8e410e6cf4108f1b0
4385 Author: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
4386 Date: Mon Apr 18 14:33:54 2016 +0300
4387
4388 net/mlx4_en: allocate non 0-order pages for RX ring with __GFP_NOMEMALLOC
4389
4390 High order pages are optional here since commit 51151a16a60f ("mlx4: allow
4391 order-0 memory allocations in RX path"), so here is no reason for depleting
4392 reserves. Generic __netdev_alloc_frag() implements the same logic.
4393
4394 Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
4395 Acked-by: Eric Dumazet <edumazet@google.com>
4396 Signed-off-by: David S. Miller <davem@davemloft.net>
4397
4398 drivers/net/ethernet/mellanox/mlx4/en_rx.c | 2 +-
4399 1 file changed, 1 insertion(+), 1 deletion(-)
4400
4401 commit 6b80edde2edc7fd055f9be8ec42b88abbe328639
4402 Author: Ignat Korchagin <ignat.korchagin@gmail.com>
4403 Date: Thu Mar 17 18:00:29 2016 +0000
4404
4405 USB: usbip: fix potential out-of-bounds write
4406
4407 Fix potential out-of-bounds write to urb->transfer_buffer
4408 usbip handles network communication directly in the kernel. When receiving a
4409 packet from its peer, usbip code parses headers according to protocol. As
4410 part of this parsing urb->actual_length is filled. Since the input for
4411 urb->actual_length comes from the network, it should be treated as untrusted.
4412 Any entity controlling the network may put any value in the input and the
4413 preallocated urb->transfer_buffer may not be large enough to hold the data.
4414 Thus, the malicious entity is able to write arbitrary data to kernel memory.
4415
4416 Signed-off-by: Ignat Korchagin <ignat.korchagin@gmail.com>
4417 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
4418
4419 drivers/usb/usbip/usbip_common.c | 11 +++++++++++
4420 1 file changed, 11 insertions(+)
4421
4422 commit 0ce101ec9e74c2cfcd28cbcd18b0626e3d9a2482
4423 Merge: d60a24d f5fe5fd
4424 Author: Brad Spengler <spender@grsecurity.net>
4425 Date: Wed Apr 20 17:35:58 2016 -0400
4426
4427 Merge branch 'pax-test' into grsec-test
4428
4429 commit f5fe5fddf49f1b81a2a3bb43b1e0a8c087aba438
4430 Merge: a107ba2 8c9aef0
4431 Author: Brad Spengler <spender@grsecurity.net>
4432 Date: Wed Apr 20 17:35:29 2016 -0400
4433
4434 Merge branch 'linux-4.4.y' into pax-test
4435
4436 commit d60a24d6e4f61072d0bd1dc12be1177181fa8c2b
4437 Author: Brad Spengler <spender@grsecurity.net>
4438 Date: Mon Apr 18 17:48:10 2016 -0400
4439
4440 fix cast for constify change, reported by pipacs
4441
4442 drivers/idle/intel_idle.c | 4 ++--
4443 1 file changed, 2 insertions(+), 2 deletions(-)
4444
4445 commit 1d376287aeba7a53c91d5ee49ef0a11d02193964
4446 Author: Brad Spengler <spender@grsecurity.net>
4447 Date: Fri Apr 15 21:31:07 2016 -0400
4448
4449 Use proper type for function pointer
4450
4451 drivers/gpu/drm/gma500/mdfld_dsi_output.c | 6 +++---
4452 1 file changed, 3 insertions(+), 3 deletions(-)
4453
4454 commit 0a4104a2fa32904102fac07245426d78a1e9dfab
4455 Author: Brad Spengler <spender@grsecurity.net>
4456 Date: Fri Apr 15 21:24:04 2016 -0400
4457
4458 Fix skylake cstates compat with constify
4459
4460 drivers/idle/intel_idle.c | 6 ++++--
4461 1 file changed, 4 insertions(+), 2 deletions(-)
4462
4463 commit f433f8fd372253c9e78e307afe5b800c5ab0ea61
4464 Author: Brad Spengler <spender@grsecurity.net>
4465 Date: Fri Apr 15 21:10:44 2016 -0400
4466
4467 Update size_overflow hash table
4468
4469 tools/gcc/size_overflow_plugin/size_overflow_hash.data | 3 ++-
4470 1 file changed, 2 insertions(+), 1 deletion(-)
4471
4472 commit ef7804da81cb3c6b6a4c985a3c14ee230a03f26a
4473 Author: Brad Spengler <spender@grsecurity.net>
4474 Date: Fri Apr 15 20:52:37 2016 -0400
4475
4476 compile fix
4477
4478 fs/coredump.c | 3 ---
4479 1 file changed, 3 deletions(-)
4480
4481 commit 967224da52bd98d078b1237aea5ec9e622238fba
4482 Merge: 92771d6 a107ba2
4483 Author: Brad Spengler <spender@grsecurity.net>
4484 Date: Fri Apr 15 20:30:23 2016 -0400
4485
4486 Merge branch 'pax-test' into grsec-test
4487
4488 commit a107ba25214d9694eb836fb04c782ad694977b91
4489 Merge: 4d8fc00 b40108b
4490 Author: Brad Spengler <spender@grsecurity.net>
4491 Date: Fri Apr 15 20:18:26 2016 -0400
4492
4493 Merge branch 'linux-4.4.y' into pax-test
4494
4495 commit 92771d60677d68e8f6ea7a91ff34dd6e24b6d4cf
4496 Author: Brad Spengler <spender@grsecurity.net>
4497 Date: Sun Apr 10 07:18:03 2016 -0400
4498
4499 From: Mathias Krause <minipli@googlemail.com>
4500 To: "David S. Miller" <davem@davemloft.net>
4501 Cc: netdev@vger.kernel.org, "Eric W. Biederman" <ebiederm@xmission.com>, Pavel
4502 Emelyanov <xemul@parallels.com>
4503 Subject: [PATCH net] packet: fix heap info leak in PACKET_DIAG_MCLIST sock_diag
4504 interface
4505
4506 Because we miss to wipe the remainder of i->addr[] in packet_mc_add(),
4507 pdiag_put_mclist() leaks uninitialized heap bytes via the
4508 PACKET_DIAG_MCLIST netlink attribute.
4509
4510 Fix this by explicitly memset(0)ing the remaining bytes in i->addr[].
4511
4512 Fixes: eea68e2f1a00 ("packet: Report socket mclist info via diag module")
4513 Signed-off-by: Mathias Krause <minipli@googlemail.com>
4514 Cc: Eric W. Biederman <ebiederm@xmission.com>
4515 Cc: Pavel Emelyanov <xemul@parallels.com>
4516 ---
4517 The bug itself precedes commit eea68e2f1a00 but the list wasn't exposed
4518 to userland before the introduction of the packet_diag interface.
4519 Therefore the "Fixes:" line on that commit.
4520
4521 net/packet/af_packet.c | 1 +
4522 1 file changed, 1 insertion(+)
4523
4524 commit 4286ce3f9e9db4d68870af46ae1d5f9b90b920dd
4525 Author: Jakub Sitnicki <jkbs@redhat.com>
4526 Date: Tue Apr 5 18:41:08 2016 +0200
4527
4528 ipv6: Count in extension headers in skb->network_header
4529
4530 When sending a UDPv6 message longer than MTU, account for the length
4531 of fragmentable IPv6 extension headers in skb->network_header offset.
4532 Same as we do in alloc_new_skb path in __ip6_append_data().
4533
4534 This ensures that later on __ip6_make_skb() will make space in
4535 headroom for fragmentable extension headers:
4536
4537 /* move skb->data to ip header from ext header */
4538 if (skb->data < skb_network_header(skb))
4539 __skb_pull(skb, skb_network_offset(skb));
4540
4541 Prevents a splat due to skb_under_panic:
4542
4543 skbuff: skb_under_panic: text:ffffffff8143397b len:2126 put:14 \
4544 head:ffff880005bacf50 data:ffff880005bacf4a tail:0x48 end:0xc0 dev:lo
4545 ------------[ cut here ]------------
4546 kernel BUG at net/core/skbuff.c:104!
4547 invalid opcode: 0000 [#1] KASAN
4548 CPU: 0 PID: 160 Comm: reproducer Not tainted 4.6.0-rc2 #65
4549 [...]
4550 Call Trace:
4551 [<ffffffff813eb7b9>] skb_push+0x79/0x80
4552 [<ffffffff8143397b>] eth_header+0x2b/0x100
4553 [<ffffffff8141e0d0>] neigh_resolve_output+0x210/0x310
4554 [<ffffffff814eab77>] ip6_finish_output2+0x4a7/0x7c0
4555 [<ffffffff814efe3a>] ip6_output+0x16a/0x280
4556 [<ffffffff815440c1>] ip6_local_out+0xb1/0xf0
4557 [<ffffffff814f1115>] ip6_send_skb+0x45/0xd0
4558 [<ffffffff81518836>] udp_v6_send_skb+0x246/0x5d0
4559 [<ffffffff8151985e>] udpv6_sendmsg+0xa6e/0x1090
4560 [...]
4561
4562 Reported-by: Ji Jianwen <jiji@redhat.com>
4563 Signed-off-by: Jakub Sitnicki <jkbs@redhat.com>
4564 Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
4565 Signed-off-by: David S. Miller <davem@davemloft.net>
4566
4567 net/ipv6/ip6_output.c | 8 ++++----
4568 1 file changed, 4 insertions(+), 4 deletions(-)
4569
4570 commit 638dad49a9ba3d86f627adb58b2f4636ed253685
4571 Author: Thadeu Lima de Souza Cascardo <cascardo@redhat.com>
4572 Date: Fri Apr 1 17:17:50 2016 -0300
4573
4574 ip6_tunnel: set rtnl_link_ops before calling register_netdevice
4575
4576 When creating an ip6tnl tunnel with ip tunnel, rtnl_link_ops is not set
4577 before ip6_tnl_create2 is called. When register_netdevice is called, there
4578 is no linkinfo attribute in the NEWLINK message because of that.
4579
4580 Setting rtnl_link_ops before calling register_netdevice fixes that.
4581
4582 Fixes: 0b112457229d ("ip6tnl: add support of link creation via rtnl")
4583 Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com>
4584 Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
4585 Signed-off-by: David S. Miller <davem@davemloft.net>
4586
4587 net/ipv6/ip6_tunnel.c | 2 +-
4588 1 file changed, 1 insertion(+), 1 deletion(-)
4589
4590 commit 14146a0bfaf2ced0055fe549c8fa0941c61e2457
4591 Author: Brad Spengler <spender@grsecurity.net>
4592 Date: Tue Apr 5 21:12:44 2016 -0400
4593
4594 Code cleanups to RANDSTRUCT based on feedback from the PaX Team
4595
4596 tools/gcc/randomize_layout_plugin.c | 18 ++++++++++++------
4597 1 file changed, 12 insertions(+), 6 deletions(-)
4598
4599 commit 3f7dea5e59b0bb34f6bdb628c87251f0105b3d57
4600 Author: Brad Spengler <spender@grsecurity.net>
4601 Date: Sun Apr 3 20:10:10 2016 -0400
4602
4603 Fix RANDSTRUCT support on ARM
4604
4605 tools/gcc/randomize_layout_plugin.c | 54 +++++++++++++++++++++++++++++++++++--
4606 1 file changed, 52 insertions(+), 2 deletions(-)
4607
4608 commit bd893a75ab49f6ea5a216eb334471507337118ba
4609 Merge: 87b7f1d 4d8fc00
4610 Author: Brad Spengler <spender@grsecurity.net>
4611 Date: Sat Apr 2 11:54:20 2016 -0400
4612
4613 Merge branch 'pax-test' into grsec-test
4614
4615 commit 4d8fc00c0066b1921e233123b346efe6ffb27691
4616 Author: Brad Spengler <spender@grsecurity.net>
4617 Date: Sat Apr 2 11:53:53 2016 -0400
4618
4619 Update to pax-linux-4.4.6-test13.patch:
4620 - fixed a REFCOUNT related compile regression on mips, reported by Steve Arnold (https://bugs.gentoo.org/show_bug.cgi?id=578394)
4621 - worked around an integer signedness mixup in md causing a size overflow false positive, reported by Étienne Buira (https://bugs.gentoo.org/show_bug.cgi?id=578502)
4622
4623 arch/mips/include/asm/atomic.h | 4 ----
4624 tools/gcc/size_overflow_plugin/disable_size_overflow_hash.data | 1 +
4625 tools/gcc/size_overflow_plugin/size_overflow_hash.data | 1 -
4626 3 files changed, 1 insertion(+), 5 deletions(-)
4627
4628 commit 87b7f1d200023ba826b9d552834a2ee85e67526c
4629 Merge: 3335266 3abdad0
4630 Author: Brad Spengler <spender@grsecurity.net>
4631 Date: Sat Apr 2 11:19:17 2016 -0400
4632
4633 Merge branch 'pax-test' into grsec-test
4634
4635 commit 3abdad0c3b436c076c88289f07a250b811d6f79d
4636 Author: Brad Spengler <spender@grsecurity.net>
4637 Date: Sat Apr 2 11:12:56 2016 -0400
4638
4639 Update to pax-linux-4.4.6-test12.patch:
4640 - fixed vmalloc_fault on i386/PAE to use the correct percpu userland pgd table/entry
4641 - fixed a size overflow false positive report in pptp, reported by Pinkbyte (https://forums.grsecurity.net/viewtopic.php?f=3&t=4437)
4642 - fixed a size overflow false positive report in tbf_segment, reported by audiocricket (https://forums.grsecurity.net/viewtopic.php?f=3&t=4438)
4643 - Emese fixed the x86 vdso32 CFLAGS to omit the gcc plugins
4644 - Emese simplified the gcc plugin related make rules, suggested by Masahiro Yamada
4645 - André Fabian Silva Delgado fixed a compile regression on arm, reported by coadde (https://forums.grsecurity.net/viewtopic.php?f=3&t=4435)
4646 - fixed an integer sign conversion error in nfs_super_set_maxbytes caught by the size overflow plugin, reported by Alexey Dvoichenkov <xale@hyperplane.net>
4647 - fixed a size overflow false positive in squashfs, reported by Mathias Krause <minipli@ld-linux.so>
4648 - fixed a size overflow false positive in xfrm6_transport_output, reported by marcan (https://forums.grsecurity.net/viewtopic.php?f=3&t=4426)
4649 - fixed an integer truncation bug in elf_kcore_store_hdr caught by the size overflow plugin
4650 - fixed a gratuitous userland dereference in the amd64 stack walker
4651 - added latent entropy gathering to a few more functions
4652 - constified a few smp_hotplug_thread instances
4653
4654 arch/x86/entry/vdso/Makefile | 1 +
4655 arch/x86/include/asm/cpufeature.h | 1 -
4656 arch/x86/kernel/dumpstack_64.c | 17 ++++++-----------
4657 arch/x86/kernel/head_32.S | 6 +++---
4658 arch/x86/mm/fault.c | 2 +-
4659 drivers/iommu/arm-smmu.c | 2 +-
4660 drivers/net/ppp/pptp.c | 1 +
4661 drivers/staging/rdma/ehca/ehca_irq.c | 2 +-
4662 fs/nfs/internal.h | 5 +++--
4663 fs/proc/kcore.c | 2 +-
4664 kernel/module.c | 6 +++---
4665 kernel/rcu/tree.c | 2 +-
4666 kernel/softirq.c | 2 +-
4667 kernel/stop_machine.c | 2 +-
4668 net/ipv6/xfrm6_mode_transport.c | 2 +-
4669 net/sched/sch_tbf.c | 9 ++++++---
4670 scripts/Makefile.gcc-plugins | 13 +++----------
4671 scripts/Makefile.host | 3 +--
4672 .../disable_size_overflow_hash.data | 4 +++-
4673 tools/gcc/size_overflow_plugin/size_overflow_hash.data | 6 ++----
4674 20 files changed, 40 insertions(+), 48 deletions(-)
4675
4676 commit 3335266d5bec9bc01580736c0a7026ed96cf25e5
4677 Author: Mika Penttilä <mika.penttila@nextfour.com>
4678 Date: Mon Feb 22 17:56:52 2016 +0100
4679
4680 ARM: 8544/1: set_memory_xx fixes
4681
4682 Allow zero size updates. This makes set_memory_xx() consistent with x86, s390 and arm64 and makes apply_to_page_range() not to BUG() when loading modules.
4683
4684 Signed-off-by: Mika Penttilä mika.penttila@nextfour.com
4685 Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
4686
4687 arch/arm/mm/pageattr.c | 3 +++
4688 1 file changed, 3 insertions(+)
4689
4690 commit d6d6499b22c0e5593a16f41c516041b23fbf9eeb
4691 Author: Josh Boyer <jwboyer@fedoraproject.org>
4692 Date: Mon Mar 14 10:42:38 2016 -0400
4693
4694 USB: iowarrior: fix oops with malicious USB descriptors
4695
4696 The iowarrior driver expects at least one valid endpoint. If given
4697 malicious descriptors that specify 0 for the number of endpoints,
4698 it will crash in the probe function. Ensure there is at least
4699 one endpoint on the interface before using it.
4700
4701 The full report of this issue can be found here:
4702 http://seclists.org/bugtraq/2016/Mar/87
4703
4704 Reported-by: Ralf Spenneberg <ralf@spenneberg.net>
4705 Cc: stable <stable@vger.kernel.org>
4706 Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
4707 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
4708
4709 drivers/usb/misc/iowarrior.c | 6 ++++++
4710 1 file changed, 6 insertions(+)
4711
4712 commit 79a1fb47ab1245e81040bcd45b3e44e65d282684
4713 Author: Oliver Neukum <oneukum@suse.com>
4714 Date: Tue Mar 15 10:14:04 2016 +0100
4715
4716 USB: cdc-acm: more sanity checking
4717
4718 An attack has become available which pretends to be a quirky
4719 device circumventing normal sanity checks and crashes the kernel
4720 by an insufficient number of interfaces. This patch adds a check
4721 to the code path for quirky devices.
4722
4723 Signed-off-by: Oliver Neukum <ONeukum@suse.com>
4724 CC: stable@vger.kernel.org
4725 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
4726
4727 drivers/usb/class/cdc-acm.c | 3 +++
4728 1 file changed, 3 insertions(+)
4729
4730 commit 6ee21acdf0da6602671cb50edeca0abfba3955f7
4731 Author: Oliver Neukum <oneukum@suse.com>
4732 Date: Wed Mar 16 13:26:17 2016 +0100
4733
4734 USB: usb_driver_claim_interface: add sanity checking
4735
4736 Attacks that trick drivers into passing a NULL pointer
4737 to usb_driver_claim_interface() using forged descriptors are
4738 known. This thwarts them by sanity checking.
4739
4740 Signed-off-by: Oliver Neukum <ONeukum@suse.com>
4741 CC: stable@vger.kernel.org
4742 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
4743
4744 drivers/usb/core/driver.c | 6 +++++-
4745 1 file changed, 5 insertions(+), 1 deletion(-)
4746
4747 commit 44247834ddab762509eaaf5c742e15bfadcd9d94
4748 Author: Paolo Bonzini <pbonzini@redhat.com>
4749 Date: Mon Mar 21 10:15:25 2016 +0100
4750
4751 KVM: fix spin_lock_init order on x86
4752
4753 Moving the initialization earlier is needed in 4.6 because
4754 kvm_arch_init_vm is now using mmu_lock, causing lockdep to
4755 complain:
4756
4757 [ 284.440294] INFO: trying to register non-static key.
4758 [ 284.445259] the code is fine but needs lockdep annotation.
4759 [ 284.450736] turning off the locking correctness validator.
4760 ...
4761 [ 284.528318] [<ffffffff810aecc3>] lock_acquire+0xd3/0x240
4762 [ 284.533733] [<ffffffffa0305aa0>] ? kvm_page_track_register_notifier+0x20/0x60 [kvm]
4763 [ 284.541467] [<ffffffff81715581>] _raw_spin_lock+0x41/0x80
4764 [ 284.546960] [<ffffffffa0305aa0>] ? kvm_page_track_register_notifier+0x20/0x60 [kvm]
4765 [ 284.554707] [<ffffffffa0305aa0>] kvm_page_track_register_notifier+0x20/0x60 [kvm]
4766 [ 284.562281] [<ffffffffa02ece70>] kvm_mmu_init_vm+0x20/0x30 [kvm]
4767 [ 284.568381] [<ffffffffa02dbf7a>] kvm_arch_init_vm+0x1ea/0x200 [kvm]
4768 [ 284.574740] [<ffffffffa02bff3f>] kvm_dev_ioctl+0xbf/0x4d0 [kvm]
4769
4770 However, it also helps fixing a preexisting problem, which is why this
4771 patch is also good for stable kernels: kvm_create_vm was incrementing
4772 current->mm->mm_count but not decrementing it at the out_err label (in
4773 case kvm_init_mmu_notifier failed). The new initialization order makes
4774 it possible to add the required mmdrop without adding a new error label.
4775
4776 Cc: stable@vger.kernel.org
4777 Reported-by: Borislav Petkov <bp@alien8.de>
4778 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
4779
4780 virt/kvm/kvm_main.c | 21 +++++++++++----------
4781 1 file changed, 11 insertions(+), 10 deletions(-)
4782
4783 commit 9d0cf281d74a9fe490f3ba5ca3d0e57eac066e1c
4784 Author: Paolo Bonzini <pbonzini@redhat.com>
4785 Date: Fri Mar 18 16:53:42 2016 +0100
4786
4787 KVM: VMX: avoid guest hang on invalid invvpid instruction
4788
4789 A guest executing an invalid invvpid instruction would hang
4790 because the instruction pointer was not updated.
4791
4792 Reported-by: jmontleo@redhat.com
4793 Tested-by: jmontleo@redhat.com
4794 Cc: stable@vger.kernel.org
4795 Fixes: 99b83ac893b84ed1a62ad6d1f2b6cc32026b9e85
4796 Reviewed-by: David Matlack <dmatlack@google.com>
4797 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
4798
4799 arch/x86/kvm/vmx.c | 1 +
4800 1 file changed, 1 insertion(+)
4801
4802 commit 602caaece277e5e21ae43771398bbf7778061beb
4803 Author: Paolo Bonzini <pbonzini@redhat.com>
4804 Date: Fri Mar 18 16:53:29 2016 +0100
4805
4806 KVM: VMX: avoid guest hang on invalid invept instruction
4807
4808 A guest executing an invalid invept instruction would hang
4809 because the instruction pointer was not updated.
4810
4811 Cc: stable@vger.kernel.org
4812 Fixes: bfd0a56b90005f8c8a004baf407ad90045c2b11e
4813 Reviewed-by: David Matlack <dmatlack@google.com>
4814 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
4815
4816 arch/x86/kvm/vmx.c | 1 +
4817 1 file changed, 1 insertion(+)
4818
4819 commit 3309ac82d6596de8abc6ea51dd0a942416da1cc1
4820 Author: Jann Horn <jann@thejh.net>
4821 Date: Tue Mar 22 14:25:36 2016 -0700
4822
4823 fs/coredump: prevent fsuid=0 dumps into user-controlled directories
4824
4825 This commit fixes the following security hole affecting systems where
4826 all of the following conditions are fulfilled:
4827
4828 - The fs.suid_dumpable sysctl is set to 2.
4829 - The kernel.core_pattern sysctl's value starts with "/". (Systems
4830 where kernel.core_pattern starts with "|/" are not affected.)
4831 - Unprivileged user namespace creation is permitted. (This is
4832 true on Linux >=3.8, but some distributions disallow it by
4833 default using a distro patch.)
4834
4835 Under these conditions, if a program executes under secure exec rules,
4836 causing it to run with the SUID_DUMP_ROOT flag, then unshares its user
4837 namespace, changes its root directory and crashes, the coredump will be
4838 written using fsuid=0 and a path derived from kernel.core_pattern - but
4839 this path is interpreted relative to the root directory of the process,
4840 allowing the attacker to control where a coredump will be written with
4841 root privileges.
4842
4843 To fix the security issue, always interpret core_pattern for dumps that
4844 are written under SUID_DUMP_ROOT relative to the root directory of init.
4845
4846 Signed-off-by: Jann Horn <jann@thejh.net>
4847 Acked-by: Kees Cook <keescook@chromium.org>
4848 Cc: Al Viro <viro@zeniv.linux.org.uk>
4849 Cc: "Eric W. Biederman" <ebiederm@xmission.com>
4850 Cc: Andy Lutomirski <luto@kernel.org>
4851 Cc: Oleg Nesterov <oleg@redhat.com>
4852 Cc: <stable@vger.kernel.org>
4853 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
4854 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
4855
4856 arch/um/drivers/mconsole_kern.c | 2 +-
4857 fs/coredump.c | 31 +++++++++++++++++++++++++++----
4858 fs/fhandle.c | 2 +-
4859 fs/open.c | 6 ++----
4860 include/linux/fs.h | 2 +-
4861 kernel/sysctl_binary.c | 2 +-
4862 6 files changed, 33 insertions(+), 12 deletions(-)
4863
4864 commit a7c8d3c91a3e50d0873942f09afbb5071382d5e7
4865 Author: Takashi Iwai <tiwai@suse.de>
4866 Date: Fri Apr 1 12:28:16 2016 +0200
4867
4868 ALSA: timer: Use mod_timer() for rearming the system timer
4869
4870 ALSA system timer backend stops the timer via del_timer() without sync
4871 and leaves del_timer_sync() at the close instead. This is because of
4872 the restriction by the design of ALSA timer: namely, the stop callback
4873 may be called from the timer handler, and calling the sync shall lead
4874 to a hangup. However, this also triggers a kernel BUG() when the
4875 timer is rearmed immediately after stopping without sync:
4876 kernel BUG at kernel/time/timer.c:966!
4877 Call Trace:
4878 <IRQ>
4879 [<ffffffff8239c94e>] snd_timer_s_start+0x13e/0x1a0
4880 [<ffffffff8239e1f4>] snd_timer_interrupt+0x504/0xec0
4881 [<ffffffff8122fca0>] ? debug_check_no_locks_freed+0x290/0x290
4882 [<ffffffff8239ec64>] snd_timer_s_function+0xb4/0x120
4883 [<ffffffff81296b72>] call_timer_fn+0x162/0x520
4884 [<ffffffff81296add>] ? call_timer_fn+0xcd/0x520
4885 [<ffffffff8239ebb0>] ? snd_timer_interrupt+0xec0/0xec0
4886 ....
4887
4888 It's the place where add_timer() checks the pending timer. It's clear
4889 that this may happen after the immediate restart without sync in our
4890 cases.
4891
4892 So, the workaround here is just to use mod_timer() instead of
4893 add_timer(). This looks like a band-aid fix, but it's a right move,
4894 as snd_timer_interrupt() takes care of the continuous rearm of timer.
4895
4896 Reported-by: Jiri Slaby <jslaby@suse.cz>
4897 Cc: <stable@vger.kernel.org>
4898 Signed-off-by: Takashi Iwai <tiwai@suse.de>
4899
4900 sound/core/timer.c | 4 ++--
4901 1 file changed, 2 insertions(+), 2 deletions(-)
4902
4903 commit 2de05c5fc90b461d78a54a7240b664a068844c8c
4904 Author: Daniel Vetter <daniel.vetter@ffwll.ch>
4905 Date: Wed Mar 30 11:40:43 2016 +0200
4906
4907 drm/udl: Use unlocked gem unreferencing
4908
4909 For drm_gem_object_unreference callers are required to hold
4910 dev->struct_mutex, which these paths don't. Enforcing this requirement
4911 has become a bit more strict with
4912
4913 commit ef4c6270bf2867e2f8032e9614d1a8cfc6c71663
4914 Author: Daniel Vetter <daniel.vetter@ffwll.ch>
4915 Date: Thu Oct 15 09:36:25 2015 +0200
4916
4917 drm/gem: Check locking in drm_gem_object_unreference
4918
4919 Cc: stable@vger.kernel.org
4920 Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
4921 Signed-off-by: Dave Airlie <airlied@redhat.com>
4922
4923 drivers/gpu/drm/udl/udl_fb.c | 2 +-
4924 drivers/gpu/drm/udl/udl_gem.c | 2 +-
4925 2 files changed, 2 insertions(+), 2 deletions(-)
4926
4927 commit c8153b6b1731b8fee33966dd8d148643240f1dc0
4928 Author: Jan Kara <jack@suse.com>
4929 Date: Mon Dec 7 14:34:49 2015 -0500
4930
4931 ext4: fix races of writeback with punch hole and zero range
4932
4933 When doing delayed allocation, update of on-disk inode size is postponed
4934 until IO submission time. However hole punch or zero range fallocate
4935 calls can end up discarding the tail page cache page and thus on-disk
4936 inode size would never be properly updated.
4937
4938 Make sure the on-disk inode size is updated before truncating page
4939 cache.
4940
4941 Signed-off-by: Jan Kara <jack@suse.com>
4942 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
4943
4944 fs/ext4/ext4.h | 3 +++
4945 fs/ext4/extents.c | 5 +++++
4946 fs/ext4/inode.c | 35 ++++++++++++++++++++++++++++++++++-
4947 3 files changed, 42 insertions(+), 1 deletion(-)
4948
4949 commit d64beb441579f2667e99eb9d4d6e83deb88bf59b
4950 Author: Jan Kara <jack@suse.com>
4951 Date: Mon Dec 7 14:31:11 2015 -0500
4952
4953 ext4: fix races between buffered IO and collapse / insert range
4954
4955 Current code implementing FALLOC_FL_COLLAPSE_RANGE and
4956 FALLOC_FL_INSERT_RANGE is prone to races with buffered writes and page
4957 faults. If buffered write or write via mmap manages to squeeze between
4958 filemap_write_and_wait_range() and truncate_pagecache() in the fallocate
4959 implementations, the written data is simply discarded by
4960 truncate_pagecache() although it should have been shifted.
4961
4962 Fix the problem by moving filemap_write_and_wait_range() call inside
4963 i_mutex and i_mmap_sem. That way we are protected against races with
4964 both buffered writes and page faults.
4965
4966 Signed-off-by: Jan Kara <jack@suse.com>
4967 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
4968
4969 fs/ext4/extents.c | 59 +++++++++++++++++++++++++++++--------------------------
4970 1 file changed, 31 insertions(+), 28 deletions(-)
4971
4972 commit b1ae49aa4dad39233b16456e0765a23ba4e0546c
4973 Author: Jan Kara <jack@suse.com>
4974 Date: Mon Dec 7 14:29:17 2015 -0500
4975
4976 ext4: move unlocked dio protection from ext4_alloc_file_blocks()
4977
4978 Currently ext4_alloc_file_blocks() was handling protection against
4979 unlocked DIO. However we now need to sometimes call it under i_mmap_sem
4980 and sometimes not and DIO protection ranks above it (although strictly
4981 speaking this cannot currently create any deadlocks). Also
4982 ext4_zero_range() was actually getting & releasing unlocked DIO
4983 protection twice in some cases. Luckily it didn't introduce any real bug
4984 but it was a land mine waiting to be stepped on. So move DIO protection
4985 out from ext4_alloc_file_blocks() into the two callsites.
4986
4987 Signed-off-by: Jan Kara <jack@suse.com>
4988 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
4989
4990 fs/ext4/extents.c | 21 ++++++++++-----------
4991 1 file changed, 10 insertions(+), 11 deletions(-)
4992
4993 commit f9329a4ec30a26f0fababf809c5f1a3ef851b625
4994 Author: Jan Kara <jack@suse.com>
4995 Date: Mon Dec 7 14:28:03 2015 -0500
4996
4997 ext4: fix races between page faults and hole punching
4998
4999 Currently, page faults and hole punching are completely unsynchronized.
5000 This can result in page fault faulting in a page into a range that we
5001 are punching after truncate_pagecache_range() has been called and thus
5002 we can end up with a page mapped to disk blocks that will be shortly
5003 freed. Filesystem corruption will shortly follow. Note that the same
5004 race is avoided for truncate by checking page fault offset against
5005 i_size but there isn't similar mechanism available for punching holes.
5006
5007 Fix the problem by creating new rw semaphore i_mmap_sem in inode and
5008 grab it for writing over truncate, hole punching, and other functions
5009 removing blocks from extent tree and for read over page faults. We
5010 cannot easily use i_data_sem for this since that ranks below transaction
5011 start and we need something ranking above it so that it can be held over
5012 the whole truncate / hole punching operation. Also remove various
5013 workarounds we had in the code to reduce race window when page fault
5014 could have created pages with stale mapping information.
5015
5016 Signed-off-by: Jan Kara <jack@suse.com>
5017 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
5018
5019 fs/ext4/ext4.h | 10 +++++++++
5020 fs/ext4/extents.c | 54 ++++++++++++++++++++++++--------------------
5021 fs/ext4/file.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++--------
5022 fs/ext4/inode.c | 36 +++++++++++++++++++++--------
5023 fs/ext4/super.c | 1 +
5024 fs/ext4/truncate.h | 2 ++
5025 6 files changed, 127 insertions(+), 42 deletions(-)
5026
5027 commit 572a615b85c1d5c8aeea4ffd24ab428775a1cca9
5028 Author: Guenter Roeck <linux@roeck-us.net>
5029 Date: Sat Mar 26 12:28:05 2016 -0700
5030
5031 hwmon: (max1111) Return -ENODEV from max1111_read_channel if not instantiated
5032
5033 arm:pxa_defconfig can result in the following crash if the max1111 driver
5034 is not instantiated.
5035
5036 Unhandled fault: page domain fault (0x01b) at 0x00000000
5037 pgd = c0004000
5038 [00000000] *pgd=00000000
5039 Internal error: : 1b [#1] PREEMPT ARM
5040 Modules linked in:
5041 CPU: 0 PID: 300 Comm: kworker/0:1 Not tainted 4.5.0-01301-g1701f680407c #10
5042 Hardware name: SHARP Akita
5043 Workqueue: events sharpsl_charge_toggle
5044 task: c390a000 ti: c391e000 task.ti: c391e000
5045 PC is at max1111_read_channel+0x20/0x30
5046 LR is at sharpsl_pm_pxa_read_max1111+0x2c/0x3c
5047 pc : [<c03aaab0>] lr : [<c0024b50>] psr: 20000013
5048 ...
5049 [<c03aaab0>] (max1111_read_channel) from [<c0024b50>]
5050 (sharpsl_pm_pxa_read_max1111+0x2c/0x3c)
5051 [<c0024b50>] (sharpsl_pm_pxa_read_max1111) from [<c00262e0>]
5052 (spitzpm_read_devdata+0x5c/0xc4)
5053 [<c00262e0>] (spitzpm_read_devdata) from [<c0024094>]
5054 (sharpsl_check_battery_temp+0x78/0x110)
5055 [<c0024094>] (sharpsl_check_battery_temp) from [<c0024f9c>]
5056 (sharpsl_charge_toggle+0x48/0x110)
5057 [<c0024f9c>] (sharpsl_charge_toggle) from [<c004429c>]
5058 (process_one_work+0x14c/0x48c)
5059 [<c004429c>] (process_one_work) from [<c0044618>] (worker_thread+0x3c/0x5d4)
5060 [<c0044618>] (worker_thread) from [<c004a238>] (kthread+0xd0/0xec)
5061 [<c004a238>] (kthread) from [<c000a670>] (ret_from_fork+0x14/0x24)
5062
5063 This can occur because the SPI controller driver (SPI_PXA2XX) is built as
5064 module and thus not necessarily loaded. While building SPI_PXA2XX into the
5065 kernel would make the problem disappear, it appears prudent to ensure that
5066 the driver is instantiated before accessing its data structures.
5067
5068 Cc: Arnd Bergmann <arnd@arndb.de>
5069 Cc: stable@vger.kernel.org
5070 Signed-off-by: Guenter Roeck <linux@roeck-us.net>
5071
5072 drivers/hwmon/max1111.c | 6 ++++++
5073 1 file changed, 6 insertions(+)
5074
5075 commit f75f1af7a0b4be055855ca5120ee78174f3370f2
5076 Author: Nicolai Stange <nicstange@gmail.com>
5077 Date: Sun Mar 20 23:23:46 2016 +0100
5078
5079 PKCS#7: pkcs7_validate_trust(): initialize the _trusted output argument
5080
5081 Despite what the DocBook comment to pkcs7_validate_trust() says, the
5082 *_trusted argument is never set to false.
5083
5084 pkcs7_validate_trust() only positively sets *_trusted upon encountering
5085 a trusted PKCS#7 SignedInfo block.
5086
5087 This is quite unfortunate since its callers, system_verify_data() for
5088 example, depend on pkcs7_validate_trust() clearing *_trusted on non-trust.
5089
5090 Indeed, UBSAN splats when attempting to load the uninitialized local
5091 variable 'trusted' from system_verify_data() in pkcs7_validate_trust():
5092
5093 UBSAN: Undefined behaviour in crypto/asymmetric_keys/pkcs7_trust.c:194:14
5094 load of value 82 is not a valid value for type '_Bool'
5095 [...]
5096 Call Trace:
5097 [<ffffffff818c4d35>] dump_stack+0xbc/0x117
5098 [<ffffffff818c4c79>] ? _atomic_dec_and_lock+0x169/0x169
5099 [<ffffffff8194113b>] ubsan_epilogue+0xd/0x4e
5100 [<ffffffff819419fa>] __ubsan_handle_load_invalid_value+0x111/0x158
5101 [<ffffffff819418e9>] ? val_to_string.constprop.12+0xcf/0xcf
5102 [<ffffffff818334a4>] ? x509_request_asymmetric_key+0x114/0x370
5103 [<ffffffff814b83f0>] ? kfree+0x220/0x370
5104 [<ffffffff818312c2>] ? public_key_verify_signature_2+0x32/0x50
5105 [<ffffffff81835e04>] pkcs7_validate_trust+0x524/0x5f0
5106 [<ffffffff813c391a>] system_verify_data+0xca/0x170
5107 [<ffffffff813c3850>] ? top_trace_array+0x9b/0x9b
5108 [<ffffffff81510b29>] ? __vfs_read+0x279/0x3d0
5109 [<ffffffff8129372f>] mod_verify_sig+0x1ff/0x290
5110 [...]
5111
5112 The implication is that pkcs7_validate_trust() effectively grants trust
5113 when it really shouldn't have.
5114
5115 Fix this by explicitly setting *_trusted to false at the very beginning
5116 of pkcs7_validate_trust().
5117
5118 Cc: <stable@vger.kernel.org>
5119 Signed-off-by: Nicolai Stange <nicstange@gmail.com>
5120 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
5121
5122 crypto/asymmetric_keys/pkcs7_trust.c | 2 ++
5123 1 file changed, 2 insertions(+)
5124
5125 commit 1052826f7352ccc98167129b0b83222f45d50046
5126 Author: Florian Westphal <fw@strlen.de>
5127 Date: Tue Mar 22 18:02:49 2016 +0100
5128
5129 netfilter: x_tables: validate e->target_offset early
5130
5131 We should check that e->target_offset is sane before
5132 mark_source_chains gets called since it will fetch the target entry
5133 for loop detection.
5134
5135 Signed-off-by: Florian Westphal <fw@strlen.de>
5136 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
5137
5138 net/ipv4/netfilter/arp_tables.c | 17 ++++++++---------
5139 net/ipv4/netfilter/ip_tables.c | 17 ++++++++---------
5140 net/ipv6/netfilter/ip6_tables.c | 17 ++++++++---------
5141 3 files changed, 24 insertions(+), 27 deletions(-)
5142
5143 commit b35d19509e8dab157214e46dd24314663ccf554f
5144 Author: Florian Westphal <fw@strlen.de>
5145 Date: Tue Mar 22 18:02:50 2016 +0100
5146
5147 netfilter: x_tables: make sure e->next_offset covers remaining blob size
5148
5149 Otherwise this function may read data beyond the ruleset blob.
5150
5151 Signed-off-by: Florian Westphal <fw@strlen.de>
5152 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
5153
5154 net/ipv4/netfilter/arp_tables.c | 6 ++++--
5155 net/ipv4/netfilter/ip_tables.c | 6 ++++--
5156 net/ipv6/netfilter/ip6_tables.c | 6 ++++--
5157 3 files changed, 12 insertions(+), 6 deletions(-)
5158
5159 commit 4d7642ed66b69140733a7b51fcd6d37ce4d4514c
5160 Author: Florian Westphal <fw@strlen.de>
5161 Date: Tue Mar 22 18:02:52 2016 +0100
5162
5163 netfilter: x_tables: fix unconditional helper
5164
5165 Ben Hawkes says:
5166
5167 In the mark_source_chains function (net/ipv4/netfilter/ip_tables.c) it
5168 is possible for a user-supplied ipt_entry structure to have a large
5169 next_offset field. This field is not bounds checked prior to writing a
5170 counter value at the supplied offset.
5171
5172 Problem is that mark_source_chains should not have been called --
5173 the rule doesn't have a next entry, so its supposed to return
5174 an absolute verdict of either ACCEPT or DROP.
5175
5176 However, the function conditional() doesn't work as the name implies.
5177 It only checks that the rule is using wildcard address matching.
5178
5179 However, an unconditional rule must also not be using any matches
5180 (no -m args).
5181
5182 The underflow validator only checked the addresses, therefore
5183 passing the 'unconditional absolute verdict' test, while
5184 mark_source_chains also tested for presence of matches, and thus
5185 proceeeded to the next (not-existent) rule.
5186
5187 Unify this so that all the callers have same idea of 'unconditional rule'.
5188
5189 Reported-by: Ben Hawkes <hawkes@google.com>
5190 Signed-off-by: Florian Westphal <fw@strlen.de>
5191 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
5192
5193 net/ipv4/netfilter/arp_tables.c | 18 +++++++++---------
5194 net/ipv4/netfilter/ip_tables.c | 23 +++++++++++------------
5195 net/ipv6/netfilter/ip6_tables.c | 23 +++++++++++------------
5196 3 files changed, 31 insertions(+), 33 deletions(-)
5197
5198 commit e3e51682563f1453dfc4b9ef88b29af4d1a78e78
5199 Author: Pablo Neira Ayuso <pablo@netfilter.org>
5200 Date: Thu Mar 24 21:29:53 2016 +0100
5201
5202 netfilter: x_tables: enforce nul-terminated table name from getsockopt GET_ENTRIES
5203
5204 Make sure the table names via getsockopt GET_ENTRIES is nul-terminated
5205 in ebtables and all the x_tables variants and their respective compat
5206 code. Uncovered by KASAN.
5207
5208 Reported-by: Baozeng Ding <sploving1@gmail.com>
5209 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
5210
5211 net/bridge/netfilter/ebtables.c | 4 ++++
5212 net/ipv4/netfilter/arp_tables.c | 2 ++
5213 net/ipv4/netfilter/ip_tables.c | 2 ++
5214 net/ipv6/netfilter/ip6_tables.c | 2 ++
5215 4 files changed, 10 insertions(+)
5216
5217 commit 7742471b674597627f8f608f6a89c6e5bbd6533d
5218 Author: Nicolai Stange <nicstange@gmail.com>
5219 Date: Fri Mar 25 14:22:14 2016 -0700
5220
5221 mm/filemap: generic_file_read_iter(): check for zero reads unconditionally
5222
5223 If
5224 - generic_file_read_iter() gets called with a zero read length,
5225 - the read offset is at a page boundary,
5226 - IOCB_DIRECT is not set
5227 - and the page in question hasn't made it into the page cache yet,
5228 then do_generic_file_read() will trigger a readahead with a req_size hint
5229 of zero.
5230
5231 Since roundup_pow_of_two(0) is undefined, UBSAN reports
5232
5233 UBSAN: Undefined behaviour in include/linux/log2.h:63:13
5234 shift exponent 64 is too large for 64-bit type 'long unsigned int'
5235 CPU: 3 PID: 1017 Comm: sa1 Tainted: G L 4.5.0-next-20160318+ #14
5236 [...]
5237 Call Trace:
5238 [...]
5239 [<ffffffff813ef61a>] ondemand_readahead+0x3aa/0x3d0
5240 [<ffffffff813ef61a>] ? ondemand_readahead+0x3aa/0x3d0
5241 [<ffffffff813c73bd>] ? find_get_entry+0x2d/0x210
5242 [<ffffffff813ef9c3>] page_cache_sync_readahead+0x63/0xa0
5243 [<ffffffff813cc04d>] do_generic_file_read+0x80d/0xf90
5244 [<ffffffff813cc955>] generic_file_read_iter+0x185/0x420
5245 [...]
5246 [<ffffffff81510b06>] __vfs_read+0x256/0x3d0
5247 [...]
5248
5249 when get_init_ra_size() gets called from ondemand_readahead().
5250
5251 The net effect is that the initial readahead size is arch dependent for
5252 requested read lengths of zero: for example, since
5253
5254 1UL << (sizeof(unsigned long) * 8)
5255
5256 evaluates to 1 on x86 while its result is 0 on ARMv7, the initial readahead
5257 size becomes 4 on the former and 0 on the latter.
5258
5259 What's more, whether or not the file access timestamp is updated for zero
5260 length reads is decided differently for the two cases of IOCB_DIRECT
5261 being set or cleared: in the first case, generic_file_read_iter()
5262 explicitly skips updating that timestamp while in the latter case, it is
5263 always updated through the call to do_generic_file_read().
5264
5265 According to POSIX, zero length reads "do not modify the last data access
5266 timestamp" and thus, the IOCB_DIRECT behaviour is POSIXly correct.
5267
5268 Let generic_file_read_iter() unconditionally check the requested read
5269 length at its entry and return immediately with success if it is zero.
5270
5271 Signed-off-by: Nicolai Stange <nicstange@gmail.com>
5272 Cc: Al Viro <viro@zeniv.linux.org.uk>
5273 Reviewed-by: Jan Kara <jack@suse.cz>
5274 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
5275 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
5276
5277 mm/filemap.c | 7 ++++---
5278 1 file changed, 4 insertions(+), 3 deletions(-)
5279
5280 commit 604785419da498d7e876a0191b2e11626db706bb
5281 Author: Oliver Neukum <oneukum@suse.com>
5282 Date: Thu Mar 17 14:00:17 2016 -0700
5283
5284 Input: ims-pcu - sanity check against missing interfaces
5285
5286 A malicious device missing interface can make the driver oops.
5287 Add sanity checking.
5288
5289 Signed-off-by: Oliver Neukum <ONeukum@suse.com>
5290 CC: stable@vger.kernel.org
5291 Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
5292
5293 drivers/input/misc/ims-pcu.c | 4 ++++
5294 1 file changed, 4 insertions(+)
5295
5296 commit 24c3f4f6652f07eb2c3deea1488ff4de00592e80
5297 Author: Vladis Dronov <vdronov@redhat.com>
5298 Date: Wed Mar 23 11:53:46 2016 -0700
5299
5300 Input: ati_remote2 - fix crashes on detecting device with invalid descriptor
5301
5302 The ati_remote2 driver expects at least two interfaces with one
5303 endpoint each. If given malicious descriptor that specify one
5304 interface or no endpoints, it will crash in the probe function.
5305 Ensure there is at least two interfaces and one endpoint for each
5306 interface before using it.
5307
5308 The full disclosure: http://seclists.org/bugtraq/2016/Mar/90
5309
5310 Reported-by: Ralf Spenneberg <ralf@spenneberg.net>
5311 Signed-off-by: Vladis Dronov <vdronov@redhat.com>
5312 Cc: stable@vger.kernel.org
5313 Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
5314
5315 drivers/input/misc/ati_remote2.c | 36 ++++++++++++++++++++++++++++++------
5316 1 file changed, 30 insertions(+), 6 deletions(-)
5317
5318 commit 262df604d00e72a4b930fbf7fe3a770f0196a5a5
5319 Author: Oliver Neukum <oneukum@suse.com>
5320 Date: Wed Mar 23 14:36:56 2016 -0700
5321
5322 Input: sur40 - fix DMA on stack
5323
5324 During the initialisation the driver uses a buffer on the stack for DMA.
5325 That violates the cache coherency rules. The fix is to allocate the buffer
5326 with kmalloc().
5327
5328 Signed-off-by: Oliver Neukum <ONeukum@suse.com>
5329 Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
5330
5331 drivers/input/touchscreen/sur40.c | 21 ++++++++++++++-------
5332 1 file changed, 14 insertions(+), 7 deletions(-)
5333
5334 commit 015dd03669b2ab646723f6b123377e4ef5694a10
5335 Author: Haiyang Zhang <haiyangz@microsoft.com>
5336 Date: Wed Mar 23 09:43:10 2016 -0700
5337
5338 hv_netvsc: Fix the array sizes to be max supported channels
5339
5340 The VRSS_CHANNEL_MAX is the max number of channels supported by Hyper-V
5341 hosts. We use it for the related array sizes instead of using NR_CPUS,
5342 which may be set to several thousands.
5343 This patch reduces possible memory allocation failures.
5344
5345 Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
5346 Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
5347 Signed-off-by: David S. Miller <davem@davemloft.net>
5348
5349 drivers/net/hyperv/hyperv_net.h | 7 ++++---
5350 drivers/net/hyperv/rndis_filter.c | 4 ++--
5351 2 files changed, 6 insertions(+), 5 deletions(-)
5352
5353 commit a850a78d6393ef22a970266cbbefdf3dba0267b5
5354 Author: Haiyang Zhang <haiyangz@microsoft.com>
5355 Date: Wed Mar 23 09:43:09 2016 -0700
5356
5357 hv_netvsc: Fix accessing freed memory in netvsc_change_mtu()
5358
5359 struct netvsc_device is freed in rndis_filter_device_remove(). So we save
5360 the nvdev->num_chn into a temp variable for later usage.
5361
5362 (Please also include this patch into stable branch.)
5363
5364 Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
5365 Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
5366 Signed-off-by: David S. Miller <davem@davemloft.net>
5367
5368 drivers/net/hyperv/netvsc_drv.c | 5 ++++-
5369 1 file changed, 4 insertions(+), 1 deletion(-)
5370
5371 commit 7409626e43fe871cede30ac926425938f3ccddaf
5372 Author: Guillaume Nault <g.nault@alphalink.fr>
5373 Date: Wed Mar 23 16:38:55 2016 +0100
5374
5375 ppp: take reference on channels netns
5376
5377 Let channels hold a reference on their network namespace.
5378 Some channel types, like ppp_async and ppp_synctty, can have their
5379 userspace controller running in a different namespace. Therefore they
5380 can't rely on them to preclude their netns from being removed from
5381 under them.
5382
5383 ==================================================================
5384 BUG: KASAN: use-after-free in ppp_unregister_channel+0x372/0x3a0 at
5385 addr ffff880064e217e0
5386 Read of size 8 by task syz-executor/11581
5387 =============================================================================
5388 BUG net_namespace (Not tainted): kasan: bad access detected
5389 -----------------------------------------------------------------------------
5390
5391 Disabling lock debugging due to kernel taint
5392 INFO: Allocated in copy_net_ns+0x6b/0x1a0 age=92569 cpu=3 pid=6906
5393 [< none >] ___slab_alloc+0x4c7/0x500 kernel/mm/slub.c:2440
5394 [< none >] __slab_alloc+0x4c/0x90 kernel/mm/slub.c:2469
5395 [< inline >] slab_alloc_node kernel/mm/slub.c:2532
5396 [< inline >] slab_alloc kernel/mm/slub.c:2574
5397 [< none >] kmem_cache_alloc+0x23a/0x2b0 kernel/mm/slub.c:2579
5398 [< inline >] kmem_cache_zalloc kernel/include/linux/slab.h:597
5399 [< inline >] net_alloc kernel/net/core/net_namespace.c:325
5400 [< none >] copy_net_ns+0x6b/0x1a0 kernel/net/core/net_namespace.c:360
5401 [< none >] create_new_namespaces+0x2f6/0x610 kernel/kernel/nsproxy.c:95
5402 [< none >] copy_namespaces+0x297/0x320 kernel/kernel/nsproxy.c:150
5403 [< none >] copy_process.part.35+0x1bf4/0x5760 kernel/kernel/fork.c:1451
5404 [< inline >] copy_process kernel/kernel/fork.c:1274
5405 [< none >] _do_fork+0x1bc/0xcb0 kernel/kernel/fork.c:1723
5406 [< inline >] SYSC_clone kernel/kernel/fork.c:1832
5407 [< none >] SyS_clone+0x37/0x50 kernel/kernel/fork.c:1826
5408 [< none >] entry_SYSCALL_64_fastpath+0x16/0x7a kernel/arch/x86/entry/entry_64.S:185
5409
5410 INFO: Freed in net_drop_ns+0x67/0x80 age=575 cpu=2 pid=2631
5411 [< none >] __slab_free+0x1fc/0x320 kernel/mm/slub.c:2650
5412 [< inline >] slab_free kernel/mm/slub.c:2805
5413 [< none >] kmem_cache_free+0x2a0/0x330 kernel/mm/slub.c:2814
5414 [< inline >] net_free kernel/net/core/net_namespace.c:341
5415 [< none >] net_drop_ns+0x67/0x80 kernel/net/core/net_namespace.c:348
5416 [< none >] cleanup_net+0x4e5/0x600 kernel/net/core/net_namespace.c:448
5417 [< none >] process_one_work+0x794/0x1440 kernel/kernel/workqueue.c:2036
5418 [< none >] worker_thread+0xdb/0xfc0 kernel/kernel/workqueue.c:2170
5419 [< none >] kthread+0x23f/0x2d0 kernel/drivers/block/aoe/aoecmd.c:1303
5420 [< none >] ret_from_fork+0x3f/0x70 kernel/arch/x86/entry/entry_64.S:468
5421 INFO: Slab 0xffffea0001938800 objects=3 used=0 fp=0xffff880064e20000
5422 flags=0x5fffc0000004080
5423 INFO: Object 0xffff880064e20000 @offset=0 fp=0xffff880064e24200
5424
5425 CPU: 1 PID: 11581 Comm: syz-executor Tainted: G B 4.4.0+
5426 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
5427 rel-1.8.2-0-g33fbe13 by qemu-project.org 04/01/2014
5428 00000000ffffffff ffff8800662c7790 ffffffff8292049d ffff88003e36a300
5429 ffff880064e20000 ffff880064e20000 ffff8800662c77c0 ffffffff816f2054
5430 ffff88003e36a300 ffffea0001938800 ffff880064e20000 0000000000000000
5431 Call Trace:
5432 [< inline >] __dump_stack kernel/lib/dump_stack.c:15
5433 [<ffffffff8292049d>] dump_stack+0x6f/0xa2 kernel/lib/dump_stack.c:50
5434 [<ffffffff816f2054>] print_trailer+0xf4/0x150 kernel/mm/slub.c:654
5435 [<ffffffff816f875f>] object_err+0x2f/0x40 kernel/mm/slub.c:661
5436 [< inline >] print_address_description kernel/mm/kasan/report.c:138
5437 [<ffffffff816fb0c5>] kasan_report_error+0x215/0x530 kernel/mm/kasan/report.c:236
5438 [< inline >] kasan_report kernel/mm/kasan/report.c:259
5439 [<ffffffff816fb4de>] __asan_report_load8_noabort+0x3e/0x40 kernel/mm/kasan/report.c:280
5440 [< inline >] ? ppp_pernet kernel/include/linux/compiler.h:218
5441 [<ffffffff83ad71b2>] ? ppp_unregister_channel+0x372/0x3a0 kernel/drivers/net/ppp/ppp_generic.c:2392
5442 [< inline >] ppp_pernet kernel/include/linux/compiler.h:218
5443 [<ffffffff83ad71b2>] ppp_unregister_channel+0x372/0x3a0 kernel/drivers/net/ppp/ppp_generic.c:2392
5444 [< inline >] ? ppp_pernet kernel/drivers/net/ppp/ppp_generic.c:293
5445 [<ffffffff83ad6f26>] ? ppp_unregister_channel+0xe6/0x3a0 kernel/drivers/net/ppp/ppp_generic.c:2392
5446 [<ffffffff83ae18f3>] ppp_asynctty_close+0xa3/0x130 kernel/drivers/net/ppp/ppp_async.c:241
5447 [<ffffffff83ae1850>] ? async_lcp_peek+0x5b0/0x5b0 kernel/drivers/net/ppp/ppp_async.c:1000
5448 [<ffffffff82c33239>] tty_ldisc_close.isra.1+0x99/0xe0 kernel/drivers/tty/tty_ldisc.c:478
5449 [<ffffffff82c332c0>] tty_ldisc_kill+0x40/0x170 kernel/drivers/tty/tty_ldisc.c:744
5450 [<ffffffff82c34943>] tty_ldisc_release+0x1b3/0x260 kernel/drivers/tty/tty_ldisc.c:772
5451 [<ffffffff82c1ef21>] tty_release+0xac1/0x13e0 kernel/drivers/tty/tty_io.c:1901
5452 [<ffffffff82c1e460>] ? release_tty+0x320/0x320 kernel/drivers/tty/tty_io.c:1688
5453 [<ffffffff8174de36>] __fput+0x236/0x780 kernel/fs/file_table.c:208
5454 [<ffffffff8174e405>] ____fput+0x15/0x20 kernel/fs/file_table.c:244
5455 [<ffffffff813595ab>] task_work_run+0x16b/0x200 kernel/kernel/task_work.c:115
5456 [< inline >] exit_task_work kernel/include/linux/task_work.h:21
5457 [<ffffffff81307105>] do_exit+0x8b5/0x2c60 kernel/kernel/exit.c:750
5458 [<ffffffff813fdd20>] ? debug_check_no_locks_freed+0x290/0x290 kernel/kernel/locking/lockdep.c:4123
5459 [<ffffffff81306850>] ? mm_update_next_owner+0x6f0/0x6f0 kernel/kernel/exit.c:357
5460 [<ffffffff813215e6>] ? __dequeue_signal+0x136/0x470 kernel/kernel/signal.c:550
5461 [<ffffffff8132067b>] ? recalc_sigpending_tsk+0x13b/0x180 kernel/kernel/signal.c:145
5462 [<ffffffff81309628>] do_group_exit+0x108/0x330 kernel/kernel/exit.c:880
5463 [<ffffffff8132b9d4>] get_signal+0x5e4/0x14f0 kernel/kernel/signal.c:2307
5464 [< inline >] ? kretprobe_table_lock kernel/kernel/kprobes.c:1113
5465 [<ffffffff8151d355>] ? kprobe_flush_task+0xb5/0x450 kernel/kernel/kprobes.c:1158
5466 [<ffffffff8115f7d3>] do_signal+0x83/0x1c90 kernel/arch/x86/kernel/signal.c:712
5467 [<ffffffff8151d2a0>] ? recycle_rp_inst+0x310/0x310 kernel/include/linux/list.h:655
5468 [<ffffffff8115f750>] ? setup_sigcontext+0x780/0x780 kernel/arch/x86/kernel/signal.c:165
5469 [<ffffffff81380864>] ? finish_task_switch+0x424/0x5f0 kernel/kernel/sched/core.c:2692
5470 [< inline >] ? finish_lock_switch kernel/kernel/sched/sched.h:1099
5471 [<ffffffff81380560>] ? finish_task_switch+0x120/0x5f0 kernel/kernel/sched/core.c:2678
5472 [< inline >] ? context_switch kernel/kernel/sched/core.c:2807
5473 [<ffffffff85d794e9>] ? __schedule+0x919/0x1bd0 kernel/kernel/sched/core.c:3283
5474 [<ffffffff81003901>] exit_to_usermode_loop+0xf1/0x1a0 kernel/arch/x86/entry/common.c:247
5475 [< inline >] prepare_exit_to_usermode kernel/arch/x86/entry/common.c:282
5476 [<ffffffff810062ef>] syscall_return_slowpath+0x19f/0x210 kernel/arch/x86/entry/common.c:344
5477 [<ffffffff85d88022>] int_ret_from_sys_call+0x25/0x9f kernel/arch/x86/entry/entry_64.S:281
5478 Memory state around the buggy address:
5479 ffff880064e21680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
5480 ffff880064e21700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
5481 >ffff880064e21780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
5482 ^
5483 ffff880064e21800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
5484 ffff880064e21880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
5485 ==================================================================
5486
5487 Fixes: 273ec51dd7ce ("net: ppp_generic - introduce net-namespace functionality v2")
5488 Reported-by: Baozeng Ding <sploving1@gmail.com>
5489 Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
5490 Reviewed-by: Cyrill Gorcunov <gorcunov@openvz.org>
5491 Signed-off-by: David S. Miller <davem@davemloft.net>
5492
5493 drivers/net/ppp/ppp_generic.c | 4 +++-
5494 1 file changed, 3 insertions(+), 1 deletion(-)
5495
5496 commit bfb890c1ac9d29b377f6bec4a5aab51d053114c4
5497 Author: Herbert Xu <herbert@gondor.apana.org.au>
5498 Date: Wed Mar 16 17:06:01 2016 +0800
5499
5500 eCryptfs: Use skcipher and shash
5501
5502 eCryptfs: Fix null pointer dereference on kzalloc error path
5503
5504 The conversion to skcipher and shash added a couple of null pointer
5505 dereference bugs on the kzalloc failure path. This patch fixes them.
5506
5507 Fixes: 3095e8e366b4 ("eCryptfs: Use skcipher and shash")
5508 Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
5509 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
5510
5511 fs/ecryptfs/keystore.c | 6 ++----
5512 1 file changed, 2 insertions(+), 4 deletions(-)
5513
5514 commit 58a8421ae537e0609c4ff59bf6b11be869a43cc6
5515 Author: Boris BREZILLON <boris.brezillon@free-electrons.com>
5516 Date: Thu Mar 17 10:21:34 2016 +0100
5517
5518 crypto: marvell/cesa - fix memory leak
5519
5520 Crypto requests are not guaranteed to be finalized (->final() call),
5521 and can be freed at any moment, without getting any notification from
5522 the core. This can lead to memory leaks of the ->cache buffer.
5523
5524 Make this buffer part of the request object, and allocate an extra buffer
5525 from the DMA cache pool when doing DMA operations.
5526
5527 As a side effect, this patch also fixes another bug related to cache
5528 allocation and DMA operations. When the core allocates a new request and
5529 import an existing state, a cache buffer can be allocated (depending
5530 on the state). The problem is, at that very moment, we don't know yet
5531 whether the request will use DMA or not, and since everything is
5532 likely to be initialized to zero, mv_cesa_ahash_alloc_cache() thinks it
5533 should allocate a buffer for standard operation. But when
5534 mv_cesa_ahash_free_cache() is called, req->type has been set to
5535 CESA_DMA_REQ in the meantime, thus leading to an invalind dma_pool_free()
5536 call (the buffer passed in argument has not been allocated from the pool).
5537
5538 Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
5539 Reported-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
5540 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
5541
5542 drivers/crypto/marvell/cesa.h | 3 +-
5543 drivers/crypto/marvell/hash.c | 86 +++++++++----------------------------------
5544 2 files changed, 20 insertions(+), 69 deletions(-)
5545
5546 commit 1ec604f99895b9c37f26a692ff83a7da02d667fd
5547 Author: Boris BREZILLON <boris.brezillon@free-electrons.com>
5548 Date: Thu Mar 17 10:21:35 2016 +0100
5549
5550 crypto: marvell/cesa - initialize hash states
5551
5552 ->export() might be called before we have done an update operation,
5553 and in this case the ->state field is left uninitialized.
5554 Put the correct default value when initializing the request.
5555
5556 Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
5557 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
5558
5559 drivers/crypto/marvell/hash.c | 20 ++++++++++++++++++++
5560 1 file changed, 20 insertions(+)
5561
5562 commit 23879f055d23e82c2f78cceca22c33e631973977
5563 Author: David S. Miller <davem@davemloft.net>
5564 Date: Sun Mar 13 23:28:00 2016 -0400
5565
5566 ipv4: Don't do expensive useless work during inetdev destroy.
5567
5568 When an inetdev is destroyed, every address assigned to the interface
5569 is removed. And in this scenerio we do two pointless things which can
5570 be very expensive if the number of assigned interfaces is large:
5571
5572 1) Address promotion. We are deleting all addresses, so there is no
5573 point in doing this.
5574
5575 2) A full nf conntrack table purge for every address. We only need to
5576 do this once, as is already caught by the existing
5577 masq_dev_notifier so masq_inet_event() can skip this.
5578
5579 Reported-by: Solar Designer <solar@openwall.com>
5580 Signed-off-by: David S. Miller <davem@davemloft.net>
5581 Tested-by: Cyrill Gorcunov <gorcunov@openvz.org>
5582
5583 net/ipv4/devinet.c | 4 ++++
5584 net/ipv4/fib_frontend.c | 4 ++++
5585 net/ipv4/netfilter/nf_nat_masquerade_ipv4.c | 12 ++++++++++--
5586 3 files changed, 18 insertions(+), 2 deletions(-)
5587
5588 commit 60394231e840e884024592a76a6c5612433d3756
5589 Author: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
5590 Date: Tue Mar 8 10:34:28 2016 -0300
5591
5592 sctp: fix copying more bytes than expected in sctp_add_bind_addr
5593
5594 Dmitry reported that sctp_add_bind_addr may read more bytes than
5595 expected in case the parameter is a IPv4 addr supplied by the user
5596 through calls such as sctp_bindx_add(), because it always copies
5597 sizeof(union sctp_addr) while the buffer may be just a struct
5598 sockaddr_in, which is smaller.
5599
5600 This patch then fixes it by limiting the memcpy to the min between the
5601 union size and a (new parameter) provided addr size. Where possible this
5602 parameter still is the size of that union, except for reading from
5603 user-provided buffers, which then it accounts for protocol type.
5604
5605 Reported-by: Dmitry Vyukov <dvyukov@google.com>
5606 Tested-by: Dmitry Vyukov <dvyukov@google.com>
5607 Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
5608 Signed-off-by: David S. Miller <davem@davemloft.net>
5609
5610 include/net/sctp/structs.h | 2 +-
5611 net/sctp/bind_addr.c | 14 ++++++++------
5612 net/sctp/protocol.c | 1 +
5613 net/sctp/sm_make_chunk.c | 3 ++-
5614 net/sctp/socket.c | 4 +++-
5615 5 files changed, 15 insertions(+), 9 deletions(-)
5616
5617 commit 9831caa50e1453818c5ec618890291f028b7992f
5618 Author: Brad Spengler <spender@grsecurity.net>
5619 Date: Mon Mar 28 19:20:28 2016 -0400
5620
5621 Also allow /bin/false as needed by systemd
5622
5623 kernel/kmod.c | 2 +-
5624 1 file changed, 1 insertion(+), 1 deletion(-)
5625
5626 commit bb38a61b496a3f09f4d7b93d2f0fe15476918147
5627 Author: Brad Spengler <spender@grsecurity.net>
5628 Date: Tue Mar 22 16:59:43 2016 -0400
5629
5630 Fix size_overflow FP reported by marcan at:
5631 https://forums.grsecurity.net/viewtopic.php?f=3&t=4426
5632
5633 net/ipv6/xfrm6_mode_transport.c | 2 +-
5634 1 file changed, 1 insertion(+), 1 deletion(-)
5635
5636 commit 523a36a9c845da3051e58c6767c2e1a0f640998a
5637 Merge: 0d0ec9e c0b77a7
5638 Author: Brad Spengler <spender@grsecurity.net>
5639 Date: Wed Mar 16 20:20:40 2016 -0400
5640
5641 Merge branch 'pax-test' into grsec-test
5642
5643 commit c0b77a7cb578199f0b7dc90768a13ca6c044aba9
5644 Merge: 10d57c1 0d19123
5645 Author: Brad Spengler <spender@grsecurity.net>
5646 Date: Wed Mar 16 20:20:27 2016 -0400
5647
5648 Merge branch 'linux-4.4.y' into pax-test
5649
5650 commit 0d0ec9ee83144ab839710a01cfd746bd78257394
5651 Author: Brad Spengler <spender@grsecurity.net>
5652 Date: Mon Mar 14 20:15:47 2016 -0400
5653
5654 Invert logic to clean up code
5655
5656 fs/namei.c | 32 +++++++-------------------------
5657 grsecurity/grsec_chroot.c | 10 +++++-----
5658 2 files changed, 12 insertions(+), 30 deletions(-)
5659
5660 commit 39e0e623c84863af7b3ace759b583ff938fde2b7
5661 Author: Brad Spengler <spender@grsecurity.net>
5662 Date: Mon Mar 14 19:59:36 2016 -0400
5663
5664 compile fix
5665
5666 fs/namei.c | 5 ++---
5667 1 file changed, 2 insertions(+), 3 deletions(-)
5668
5669 commit 2b3ad8bc095fea829275b7fcc7e5671677b8ed33
5670 Author: Brad Spengler <spender@grsecurity.net>
5671 Date: Mon Mar 14 19:57:53 2016 -0400
5672
5673 Also handle renames
5674
5675 fs/namei.c | 9 +++++++++
5676 1 file changed, 9 insertions(+)
5677
5678 commit 54dfd13b19743d4a340de0cd5683b5bde44e7d9c
5679 Author: Brad Spengler <spender@grsecurity.net>
5680 Date: Mon Mar 14 19:45:56 2016 -0400
5681
5682 Add additional check to cover lookup family of functions
5683
5684 fs/namei.c | 9 +++++++++
5685 1 file changed, 9 insertions(+)
5686
5687 commit c3df846baa7873fb99401136f220676b87452918
5688 Author: Brad Spengler <spender@grsecurity.net>
5689 Date: Mon Mar 14 18:42:37 2016 -0400
5690
5691 compile fix
5692
5693 fs/namei.c | 2 +-
5694 1 file changed, 1 insertion(+), 1 deletion(-)
5695
5696 commit 384ea9c0ef9df4298dfa3a71948c08e70f1092bf
5697 Author: Brad Spengler <spender@grsecurity.net>
5698 Date: Mon Mar 14 18:34:40 2016 -0400
5699
5700 Fix recent chroot check on the create side, as reported by
5701 Toralf Foerster
5702
5703 fs/namei.c | 26 ++++++++++++++++----------
5704 1 file changed, 16 insertions(+), 10 deletions(-)
5705
5706 commit 82e7dc61a626c47887d392ff9cd35b104f01fd25
5707 Author: Paolo Bonzini <pbonzini@redhat.com>
5708 Date: Tue Mar 8 12:13:39 2016 +0100
5709
5710 KVM: MMU: fix ept=0/pte.u=1/pte.w=0/CR0.WP=0/CR4.SMEP=1/EFER.NX=0 combo
5711
5712 Yes, all of these are needed. :) This is admittedly a bit odd, but
5713 kvm-unit-tests access.flat tests this if you run it with "-cpu host"
5714 and of course ept=0.
5715
5716 KVM runs the guest with CR0.WP=1, so it must handle supervisor writes
5717 specially when pte.u=1/pte.w=0/CR0.WP=0. Such writes cause a fault
5718 when U=1 and W=0 in the SPTE, but they must succeed because CR0.WP=0.
5719 When KVM gets the fault, it sets U=0 and W=1 in the shadow PTE and
5720 restarts execution. This will still cause a user write to fault, while
5721 supervisor writes will succeed. User reads will fault spuriously now,
5722 and KVM will then flip U and W again in the SPTE (U=1, W=0). User reads
5723 will be enabled and supervisor writes disabled, going back to the
5724 originary situation where supervisor writes fault spuriously.
5725
5726 When SMEP is in effect, however, U=0 will enable kernel execution of
5727 this page. To avoid this, KVM also sets NX=1 in the shadow PTE together
5728 with U=0. If the guest has not enabled NX, the result is a continuous
5729 stream of page faults due to the NX bit being reserved.
5730
5731 The fix is to force EFER.NX=1 even if the CPU is taking care of the EFER
5732 switch. (All machines with SMEP have the CPU_LOAD_IA32_EFER vm-entry
5733 control, so they do not use user-return notifiers for EFER---if they did,
5734 EFER.NX would be forced to the same value as the host).
5735
5736 There is another bug in the reserved bit check, which I've split to a
5737 separate patch for easier application to stable kernels.
5738
5739 Cc: stable@vger.kernel.org
5740 Cc: Andy Lutomirski <luto@amacapital.net>
5741 Reviewed-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
5742 Fixes: f6577a5fa15d82217ca73c74cd2dcbc0f6c781dd
5743 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
5744
5745 Documentation/virtual/kvm/mmu.txt | 3 ++-
5746 arch/x86/kvm/vmx.c | 36 +++++++++++++++++++++++-------------
5747 2 files changed, 25 insertions(+), 14 deletions(-)
5748
5749 commit 802a88e57b141e9643e93afb7805813ad8da22f3
5750 Author: Paolo Bonzini <pbonzini@redhat.com>
5751 Date: Wed Mar 9 14:28:02 2016 +0100
5752
5753 KVM: MMU: fix reserved bit check for ept=0/CR0.WP=0/CR4.SMEP=1/EFER.NX=0
5754
5755 KVM has special logic to handle pages with pte.u=1 and pte.w=0 when
5756 CR0.WP=1. These pages' SPTEs flip continuously between two states:
5757 U=1/W=0 (user and supervisor reads allowed, supervisor writes not allowed)
5758 and U=0/W=1 (supervisor reads and writes allowed, user writes not allowed).
5759
5760 When SMEP is in effect, however, U=0 will enable kernel execution of
5761 this page. To avoid this, KVM also sets NX=1 in the shadow PTE together
5762 with U=0, making the two states U=1/W=0/NX=gpte.NX and U=0/W=1/NX=1.
5763 When guest EFER has the NX bit cleared, the reserved bit check thinks
5764 that the latter state is invalid; teach it that the smep_andnot_wp case
5765 will also use the NX bit of SPTEs.
5766
5767 Cc: stable@vger.kernel.org
5768 Reviewed-by: Xiao Guangrong <guangrong.xiao@linux.inel.com>
5769 Fixes: c258b62b264fdc469b6d3610a907708068145e3b
5770 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
5771
5772 arch/x86/kvm/mmu.c | 4 +++-
5773 1 file changed, 3 insertions(+), 1 deletion(-)
5774
5775 commit 3925851224428c1d2bca32cf33821befb947c4f3
5776 Author: Ming Lei <ming.lei@canonical.com>
5777 Date: Sat Mar 12 22:56:19 2016 +0800
5778
5779 block: don't optimize for non-cloned bio in bio_get_last_bvec()
5780
5781 For !BIO_CLONED bio, we can use .bi_vcnt safely, but it
5782 doesn't mean we can just simply return .bi_io_vec[.bi_vcnt - 1]
5783 because the start postion may have been moved in the middle of
5784 the bvec, such as splitting in the middle of bvec.
5785
5786 Fixes: 7bcd79ac50d9(block: bio: introduce helpers to get the 1st and last bvec)
5787 Cc: stable@vger.kernel.org
5788 Reported-by: Kent Overstreet <kent.overstreet@gmail.com>
5789 Signed-off-by: Ming Lei <ming.lei@canonical.com>
5790 Signed-off-by: Jens Axboe <axboe@fb.com>
5791
5792 include/linux/bio.h | 5 -----
5793 1 file changed, 5 deletions(-)
5794
5795 commit db541463b4a0926bebdbac743c8736fb9e903d58
5796 Author: Borislav Petkov <bp@alien8.de>
5797 Date: Fri Mar 11 12:32:06 2016 +0100
5798
5799 x86/fpu: Fix eager-FPU handling on legacy FPU machines
5800
5801 i486 derived cores like Intel Quark support only the very old,
5802 legacy x87 FPU (FSAVE/FRSTOR, CPUID bit FXSR is not set), and
5803 our FPU code wasn't handling the saving and restoring there
5804 properly in the 'eagerfpu' case.
5805
5806 So after we made eagerfpu the default for all CPU types:
5807
5808 58122bf1d856 x86/fpu: Default eagerfpu=on on all CPUs
5809
5810 these old FPU designs broke. First, Andy Shevchenko reported a splat:
5811
5812 WARNING: CPU: 0 PID: 823 at arch/x86/include/asm/fpu/internal.h:163 fpu__clear+0x8c/0x160
5813
5814 which was us trying to execute FXRSTOR on those machines even though
5815 they don't support it.
5816
5817 After taking care of that, Bryan O'Donoghue reported that a simple FPU
5818 test still failed because we weren't initializing the FPU state properly
5819 on those machines.
5820
5821 Take care of all that.
5822
5823 Reported-and-tested-by: Bryan O'Donoghue <pure.logic@nexus-software.ie>
5824 Reported-by: Andy Shevchenko <andy.shevchenko@gmail.com>
5825 Signed-off-by: Borislav Petkov <bp@suse.de>
5826 Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
5827 Cc: Andrew Morton <akpm@linux-foundation.org>
5828 Cc: Andy Lutomirski <luto@amacapital.net>
5829 Cc: Borislav Petkov <bp@alien8.de>
5830 Cc: Brian Gerst <brgerst@gmail.com>
5831 Cc: Dave Hansen <dave.hansen@linux.intel.com>
5832 Cc: Denys Vlasenko <dvlasenk@redhat.com>
5833 Cc: Fenghua Yu <fenghua.yu@intel.com>
5834 Cc: H. Peter Anvin <hpa@zytor.com>
5835 Cc: Oleg Nesterov <oleg@redhat.com>
5836 Cc: Peter Zijlstra <peterz@infradead.org>
5837 Cc: Quentin Casasnovas <quentin.casasnovas@oracle.com>
5838 Cc: Thomas Gleixner <tglx@linutronix.de>
5839 Cc: Yu-cheng <yu-cheng.yu@intel.com>
5840 Link: http://lkml.kernel.org/r/20160311113206.GD4312@pd.tnic
5841 Signed-off-by: Ingo Molnar <mingo@kernel.org>
5842
5843 arch/x86/kernel/fpu/core.c | 4 +++-
5844 arch/x86/kernel/fpu/init.c | 2 +-
5845 2 files changed, 4 insertions(+), 2 deletions(-)
5846
5847 commit 8fed14e935cb62d2d46e99793d728dc7760dcc87
5848 Author: Brad Spengler <spender@grsecurity.net>
5849 Date: Sun Mar 13 11:35:56 2016 -0400
5850
5851 Compile fixes
5852
5853 fs/namei.c | 2 +-
5854 grsecurity/grsec_chroot.c | 2 +-
5855 include/linux/grsecurity.h | 2 +-
5856 3 files changed, 3 insertions(+), 3 deletions(-)
5857
5858 commit aab25a3496c4683c5858056960010119fb7d9a5a
5859 Author: Brad Spengler <spender@grsecurity.net>
5860 Date: Sun Mar 13 10:53:59 2016 -0400
5861
5862 Use fput instead of put_filp()
5863
5864 fs/namei.c | 4 ++--
5865 1 file changed, 2 insertions(+), 2 deletions(-)
5866
5867 commit 928ddec9dfe5415dff82d941c3b3e76ee6f48761
5868 Author: Brad Spengler <spender@grsecurity.net>
5869 Date: Sun Mar 13 10:30:54 2016 -0400
5870
5871 Update MPROTECT_COMPAT config description, disable by default
5872
5873 security/Kconfig | 18 ++++++------------
5874 1 file changed, 6 insertions(+), 12 deletions(-)
5875
5876 commit 4cc29af2e81e7a4bdfab1afedfdedca6e23362d5
5877 Author: Brad Spengler <spender@grsecurity.net>
5878 Date: Sun Mar 13 10:35:55 2016 -0400
5879
5880 As reported by Jann Horn, chroot scenarios where the chrooting application
5881 brings in a directory fd can be used to access any file outside of the chroot
5882 via *at syscalls. To maintain compatibility with Chromium and other apps,
5883 we specifically only disallow relative accesses off a directory fd when the
5884 final path is not located under that directory described by the fd and exists
5885 outside of the chroot. This additional restriction will exist under the
5886 current GRKERNSEC_CHROOT_FCHDIR option.
5887
5888 fs/namei.c | 9 +++++++++
5889 grsecurity/Kconfig | 10 ++++++----
5890 grsecurity/grsec_chroot.c | 39 +++++++++++++++++++++++++++++++++++++++
5891 include/linux/grmsg.h | 1 +
5892 include/linux/grsecurity.h | 1 +
5893 5 files changed, 56 insertions(+), 4 deletions(-)
5894
5895 commit 7d02a991213f0b07a3677dcc93cdafc3ac309142
5896 Author: Brad Spengler <spender@grsecurity.net>
5897 Date: Thu Mar 10 22:17:16 2016 -0500
5898
5899 Update size_overflow hash table
5900
5901 tools/gcc/size_overflow_plugin/size_overflow_hash.data | 1 +
5902 1 file changed, 1 insertion(+)
5903
5904 commit 29f25ddda6a5625340df26beb394279fefea2b49
5905 Author: Brad Spengler <spender@grsecurity.net>
5906 Date: Thu Mar 10 22:16:04 2016 -0500
5907
5908 Fix module support
5909
5910 kernel/module.c | 3 ++-
5911 1 file changed, 2 insertions(+), 1 deletion(-)
5912
5913 commit b057a45636b626e7eaf03077ed0916b95fea054c
5914 Merge: ba5ee94 10d57c1
5915 Author: Brad Spengler <spender@grsecurity.net>
5916 Date: Thu Mar 10 21:36:10 2016 -0500
5917
5918 Merge branch 'pax-test' into grsec-test
5919
5920 commit 10d57c107e7fabffbe616b14efab73df585576c2
5921 Merge: 1cbae46 62e2195
5922 Author: Brad Spengler <spender@grsecurity.net>
5923 Date: Thu Mar 10 21:34:58 2016 -0500
5924
5925 Update to pax-linux-4.4.5-test9.patch:
5926 - fixed an integer signedness mixup in the old select syscall caught by the size overflow plugin, by Mathias Krause <minipli@ld-linux.so>
5927 - Emese cleaned up a few unnecessary type casts in the size overflow plugin
5928 - fixed the initify plugin to not trigger a compiler assert with gcc 6 in LTO mode
5929 - compile the x86 vdso without plugins, reported by Emese
5930 - fixed a REFCOUNT/arm compile error, reported by coadde (https://forums.grsecurity.net/viewtopic.php?f=3&t=4410)
5931 - fixed gcc-common.h for gcc 6, reported by psturm (https://forums.grsecurity.net/viewtopic.php?f=3&t=4394)
5932
5933 Merge branch 'linux-4.4.y' into pax-test
5934
5935 commit ba5ee94199b11c1429559a08c2158677dd8f1761
5936 Author: Brad Spengler <spender@grsecurity.net>
5937 Date: Thu Mar 3 20:20:19 2016 -0500
5938
5939 Update size_overflow hash table
5940
5941 tools/gcc/size_overflow_plugin/size_overflow_hash.data | 1 +
5942 1 file changed, 1 insertion(+)
5943
5944 commit 50a5cd726362f0988b81a54d4c962acf8fd34a70
5945 Merge: 335c04c 1cbae46
5946 Author: Brad Spengler <spender@grsecurity.net>
5947 Date: Thu Mar 3 20:04:00 2016 -0500
5948
5949 Merge branch 'pax-test' into grsec-test
5950
5951 commit 1cbae46efa0b111ef2d46502f8d34c4c572a0e00
5952 Merge: a51cdb8 c252409
5953 Author: Brad Spengler <spender@grsecurity.net>
5954 Date: Thu Mar 3 19:57:43 2016 -0500
5955
5956 Merge branch 'linux-4.4.y' into pax-test
5957
5958 commit 335c04c8146a696a6101a9c69dbd47f11383549e
5959 Merge: 897877e a51cdb8
5960 Author: Brad Spengler <spender@grsecurity.net>
5961 Date: Tue Mar 1 17:57:24 2016 -0500
5962
5963 Merge branch 'pax-test' into grsec-test
5964
5965 commit a51cdb83569b450858737a30d2be043d87d7ddc1
5966 Author: Brad Spengler <spender@grsecurity.net>
5967 Date: Tue Mar 1 17:56:43 2016 -0500
5968
5969 Update to pax-linux-4.4.3-test6.patch:
5970 - spender fixed the cftype constification fallout, reported by quasar366 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4391)
5971 - fixed a few section mismatches on notifier_block variables
5972 - fixed a few REFCOUNT false positives found by Emese's plugin
5973 - constified hypervisor_x86
5974
5975 arch/x86/include/asm/hypervisor.h | 2 +-
5976 arch/x86/kernel/cpu/mshyperv.c | 2 +-
5977 arch/x86/kernel/cpu/vmware.c | 2 +-
5978 arch/x86/kernel/kvm.c | 2 +-
5979 drivers/lightnvm/rrpc.c | 4 ++--
5980 drivers/lightnvm/rrpc.h | 2 +-
5981 drivers/net/can/led.c | 2 +-
5982 drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 2 +-
5983 drivers/net/ethernet/rocker/rocker.c | 4 ++--
5984 drivers/net/ipvlan/ipvlan_main.c | 6 +++---
5985 drivers/net/vrf.c | 2 +-
5986 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 12 ++++++------
5987 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h | 2 +-
5988 drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 12 ++++++------
5989 drivers/staging/rtl8723au/include/drv_types.h | 2 +-
5990 drivers/staging/rtl8723au/include/rtw_mlme_ext.h | 2 +-
5991 drivers/staging/rtl8723au/include/usb_ops.h | 4 ++--
5992 drivers/thermal/x86_pkg_temp_thermal.c | 2 +-
5993 fs/proc/kcore.c | 2 +-
5994 mm/hugetlb_cgroup.c | 8 ++++----
5995 mm/mm_init.c | 2 +-
5996 mm/slub.c | 2 +-
5997 net/mac802154/iface.c | 2 +-
5998 23 files changed, 41 insertions(+), 41 deletions(-)
5999
6000 commit 897877e79629a0b854e98cb666a9d898256d45a7
6001 Merge: 1ffa5d5 4f4b213
6002 Author: Brad Spengler <spender@grsecurity.net>
6003 Date: Sun Feb 28 20:54:59 2016 -0500
6004
6005 Merge branch 'pax-test' into grsec-test
6006
6007 commit 4f4b21342a4a4f87c01f7909406e6b5f4c9dadbf
6008 Author: Brad Spengler <spender@grsecurity.net>
6009 Date: Sun Feb 28 20:54:06 2016 -0500
6010
6011 Update to pax-linux-4.4.3-test5.patch:
6012 - constified xfrm_mgr and cftype, by Mathias Krause <minipli@ld-linux.so>
6013 - Emese fixed a few checkpatch reports on the gcc plugin generator headers
6014 - Emese fixed a false positive size overflow report in get_next_ino, reported by KARBOWSKI Piotr <piotr.karbowski@gmail.com>
6015 - added a generator for SIMPLE_IPA passes as well
6016
6017 include/linux/cgroup-defs.h | 2 +-
6018 include/linux/hugetlb.h | 2 +-
6019 include/linux/hugetlb_cgroup.h | 11 ++
6020 include/net/xfrm.h | 2 +-
6021 kernel/cgroup.c | 29 ++--
6022 mm/hugetlb.c | 55 ++++++-
6023 mm/hugetlb_cgroup.c | 60 ++-----
6024 mm/mmap.c | 38 ++---
6025 net/xfrm/xfrm_state.c | 4 +-
6026 tools/gcc/constify_plugin.c | 5 +-
6027 tools/gcc/gcc-common.h | 42 +++--
6028 tools/gcc/gcc-generate-gimple-pass.h | 27 ++--
6029 tools/gcc/gcc-generate-ipa-pass.h | 43 ++---
6030 tools/gcc/gcc-generate-rtl-pass.h | 27 ++--
6031 tools/gcc/gcc-generate-simple_ipa-pass.h | 173 +++++++++++++++++++++
6032 tools/gcc/size_overflow_plugin/.gitignore | 1 +
6033 .../disable_size_overflow_hash.data | 7 +-
6034 .../size_overflow_plugin/size_overflow_hash.data | 3 -
6035 18 files changed, 385 insertions(+), 146 deletions(-)
6036
6037 commit 1ffa5d50a2161311d46b56fdef734f309503cb80
6038 Author: Brad Spengler <spender@grsecurity.net>
6039 Date: Sun Feb 28 20:43:02 2016 -0500
6040
6041 Make suid/sgid bruteforce prevention also apply to binaries with fscaps
6042 enabled
6043
6044 grsecurity/grsec_sig.c | 3 +--
6045 1 file changed, 1 insertion(+), 2 deletions(-)
6046
6047 commit cfdb373a77c88d01c1539e605e28143af5981571
6048 Author: Brad Spengler <spender@grsecurity.net>
6049 Date: Sun Feb 28 19:12:39 2016 -0500
6050
6051 compile fix
6052
6053 grsecurity/gracl_segv.c | 2 +-
6054 grsecurity/grsec_sig.c | 2 +-
6055 2 files changed, 2 insertions(+), 2 deletions(-)
6056
6057 commit 67d5160f8c1ee12ee4da1e7ad57f8688fcc77b53
6058 Author: Brad Spengler <spender@grsecurity.net>
6059 Date: Sun Feb 28 18:24:50 2016 -0500
6060
6061 Update the daemon check in handling of anti-bruteforcing of suid binaries
6062 by GRKERNSEC_BRUTE to prevent a bypass reported by Jann Horn where one
6063 could create unprivileged copies of the suid binary via ptrace, inject
6064 code into them, and fork+exec a privileged copy. A crash then in the
6065 privileged copy would trigger the daemon detection which could be avoided
6066 by simply terminating the original process. Defeat this by using our
6067 is_privileged_binary() function against the task's mm->binfmt->file to detect
6068 an fscaps-enabled or suid/sgid binary being involved.
6069
6070 Also update the RBAC RES_CRASH code to use is_privileged_binary().
6071
6072 grsecurity/gracl_segv.c | 15 +--------------
6073 grsecurity/grsec_sig.c | 3 ++-
6074 2 files changed, 3 insertions(+), 15 deletions(-)
6075
6076 commit 7382ec22b0c9627c674ccbb00210276d26f219e3
6077 Author: Brad Spengler <spender@grsecurity.net>
6078 Date: Sun Feb 28 15:06:32 2016 -0500
6079
6080 Fix a GRKERNSEC_PTRACE_READEXEC bypass reported by Jann Horn where one
6081 could dump out an unreadable suid binary by creating a script that used
6082 that binary as an interpreter.
6083
6084 fs/exec.c | 14 +++++++++-----
6085 1 file changed, 9 insertions(+), 5 deletions(-)
6086
6087 commit 3e60eddebe1c59b97c0b5432506bf8e13d84e8e6
6088 Merge: 2d35d52 8327ee6
6089 Author: Brad Spengler <spender@grsecurity.net>
6090 Date: Thu Feb 25 18:44:11 2016 -0500
6091
6092 Merge branch 'pax-test' into grsec-test
6093
6094 Conflicts:
6095 fs/proc/base.c
6096 kernel/ptrace.c
6097 mm/process_vm_access.c
6098
6099 commit 8327ee64e5e24ae6a3446dd96b95d5185f70e1f6
6100 Merge: 09d53c7 2134d97
6101 Author: Brad Spengler <spender@grsecurity.net>
6102 Date: Thu Feb 25 18:36:46 2016 -0500
6103
6104 Merge branch 'linux-4.4.y' into pax-test
6105
6106 Conflicts:
6107 mm/mmap.c
6108
6109 commit 2d35d5276f3feb0c053209f8c3a77b1f55f9d96b
6110 Author: Brad Spengler <spender@grsecurity.net>
6111 Date: Wed Feb 24 07:59:12 2016 -0500
6112
6113 Remove /proc/pid/map_files which we had previously prevented via
6114 an inverted dependency on checkpoint/restart, but clearly should have
6115 guarded independently as upstream in 4.3 enabled it regardless of checkpoint/
6116 restart support. It can be used since 4.3 as an ASLR leak under RBAC to
6117 processes of the same UID. Thanks to Mathias Krause for the report!
6118
6119 fs/proc/base.c | 2 ++
6120 1 file changed, 2 insertions(+)
6121
6122 commit e4f1e517092222aa28179b20e14c0ddfb2796049
6123 Author: Brad Spengler <spender@grsecurity.net>
6124 Date: Thu Feb 18 19:32:39 2016 -0500
6125
6126 Update size_overflow hash table
6127
6128 .../size_overflow_plugin/size_overflow_hash.data | 158 +++++++++++++++++----
6129 1 file changed, 131 insertions(+), 27 deletions(-)
6130
6131 commit d5f895ddfa903d0d70425b8c3d7ef649c7e6943b
6132 Author: Brad Spengler <spender@grsecurity.net>
6133 Date: Thu Feb 18 18:52:37 2016 -0500
6134
6135 Update size_overflow hash table
6136
6137 .../size_overflow_plugin/size_overflow_hash.data | 293 +++++++++++++++++----
6138 1 file changed, 237 insertions(+), 56 deletions(-)
6139
6140 commit 9d198df724c306c36e254fe19d0957fb608c3fa2
6141 Author: Brad Spengler <spender@grsecurity.net>
6142 Date: Thu Feb 18 18:23:03 2016 -0500
6143
6144 compile fix
6145
6146 tools/gcc/randomize_layout_plugin.c | 2 +-
6147 1 file changed, 1 insertion(+), 1 deletion(-)
6148
6149 commit 024d2af98b755712daff6ed7c49af921da4e8883
6150 Author: Brad Spengler <spender@grsecurity.net>
6151 Date: Thu Feb 18 18:19:47 2016 -0500
6152
6153 compile fix
6154
6155 tools/gcc/randomize_layout_plugin.c | 2 +-
6156 1 file changed, 1 insertion(+), 1 deletion(-)
6157
6158 commit 14a7b3bb5c3d8c6ef70c3e0842a5adc7f0f3e2c8
6159 Author: Brad Spengler <spender@grsecurity.net>
6160 Date: Thu Feb 18 18:16:32 2016 -0500
6161
6162 compile fix
6163
6164 tools/gcc/randomize_layout_plugin.c | 9 +++++----
6165 1 file changed, 5 insertions(+), 4 deletions(-)
6166
6167 commit 9b2d0ee62bc66858c274f256c0502cbcbd34b2bf
6168 Author: Brad Spengler <spender@grsecurity.net>
6169 Date: Thu Feb 18 17:54:51 2016 -0500
6170
6171 Compile fix
6172
6173 tools/gcc/randomize_layout_plugin.c | 2 +-
6174 1 file changed, 1 insertion(+), 1 deletion(-)
6175
6176 commit 13823395101c4228ecded4b624583389ee13bfb3
6177 Author: Brad Spengler <spender@grsecurity.net>
6178 Date: Thu Feb 18 17:35:21 2016 -0500
6179
6180 compile fix
6181
6182 Makefile | 5 +----
6183 1 file changed, 1 insertion(+), 4 deletions(-)
6184
6185 commit 0316a42a37e67b0bc8a545c7a8b63db2d25f1ab0
6186 Merge: 45cbb7e 09d53c7
6187 Author: Brad Spengler <spender@grsecurity.net>
6188 Date: Thu Feb 18 16:40:51 2016 -0500
6189
6190 Merge branch 'pax-test' into grsec-test
6191
6192 Conflicts:
6193 Makefile
6194 include/linux/genl_magic_struct.h
6195 scripts/mod/modpost.c
6196 tools/gcc/size_overflow_plugin/size_overflow_hash.data
6197
6198 commit 09d53c74140e87e886a28980cedbb7e771f2a356
6199 Author: Brad Spengler <spender@grsecurity.net>
6200 Date: Thu Feb 18 16:24:02 2016 -0500
6201
6202 Update to pax-linux-4.4.2-test4.patch:
6203 - fixed the initialization of ipc_namespace.shm_ctlmax to prevent the size overflow plugin from catching an integer truncation when calling shmem_kernel_file_setup, reported by Mathias Krause <minipli@ld-linux.so>
6204 - moved gcc plugin related makefile bits into a separate file, by Emese
6205 - changed modpost to report writable function pointers separately
6206 - increased the size of mem_cgroup.numainfo_events to avoid a wraparound caught by REFCOUNT, reported by alexey vlasov
6207 - reduced the size of the compat syscall entry points on amd64
6208 - fixed an integer signedness mixup in drbd caught by the size overflow plugin, reported by iamb and gaima (https://forums.grsecurity.net/viewtopic.php?f=3&t=4366)
6209 - Emese regenerated the size overflow hash table for 4.4
6210 - all plugins now use the new pass generator headers
6211
6212 Makefile | 73 +-
6213 arch/x86/entry/entry_64.S | 2 +-
6214 arch/x86/entry/entry_64_compat.S | 48 +-
6215 fs/exec.c | 3 +
6216 include/linux/genl_magic_struct.h | 4 +-
6217 include/linux/memcontrol.h | 2 +-
6218 ipc/shm.c | 2 +-
6219 mm/memcontrol.c | 6 +-
6220 scripts/Makefile.extrawarn | 4 +
6221 scripts/Makefile.gcc-plugins | 69 +
6222 scripts/mod/modpost.c | 15 +-
6223 tools/gcc/checker_plugin.c | 71 +-
6224 tools/gcc/colorize_plugin.c | 65 +-
6225 tools/gcc/constify_plugin.c | 65 +-
6226 tools/gcc/gcc-generate-gimple-pass.h | 172 +
6227 tools/gcc/gcc-generate-ipa-pass.h | 286 +
6228 tools/gcc/gcc-generate-rtl-pass.h | 172 +
6229 tools/gcc/initify_plugin.c | 74 +-
6230 tools/gcc/kallocstat_plugin.c | 65 +-
6231 tools/gcc/kernexec_plugin.c | 184 +-
6232 tools/gcc/latent_entropy_plugin.c | 71 +-
6233 tools/gcc/randomize_layout_seed.h | 1 -
6234 .../disable_size_overflow_hash.h | 152601 ------------------
6235 .../insert_size_overflow_asm.c | 71 +-
6236 .../size_overflow_plugin/intentional_overflow.c | 6 +-
6237 tools/gcc/size_overflow_plugin/size_overflow.h | 20 +-
6238 .../size_overflow_plugin/size_overflow_hash.data | 2898 +-
6239 tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 94 +-
6240 .../size_overflow_plugin/size_overflow_plugin.c | 14 +-
6241 .../size_overflow_plugin/size_overflow_transform.c | 2 +-
6242 .../size_overflow_transform_core.c | 2 +-
6243 tools/gcc/stackleak_plugin.c | 132 +-
6244 tools/gcc/structleak_plugin.c | 67 +-
6245 33 files changed, 2238 insertions(+), 155123 deletions(-)
6246
6247 commit 45cbb7e015a18625dafb019246e13e8cf3a18ace
6248 Merge: 3b5448b 0c85110
6249 Author: Brad Spengler <spender@grsecurity.net>
6250 Date: Wed Feb 17 19:11:25 2016 -0500
6251
6252 Merge branch 'pax-test' into grsec-test
6253
6254 commit 0c851109f683896aaff8a310bbfa943272b47516
6255 Merge: 6cb4f49 1cb8570
6256 Author: Brad Spengler <spender@grsecurity.net>
6257 Date: Wed Feb 17 19:11:21 2016 -0500
6258
6259 Merge branch 'linux-4.4.y' into pax-test
6260
6261 commit 3b5448bd1d85025d19b2587902e4264eb212a0a3
6262 Author: Brad Spengler <spender@grsecurity.net>
6263 Date: Mon Feb 15 18:02:40 2016 -0500
6264
6265 Fix a drbd bug reported by iamb on the forums:
6266 https://forums.grsecurity.net/viewtopic.php?f=3&t=4366#p16032
6267 which caused a size_overflow report
6268
6269 include/linux/genl_magic_struct.h | 4 ++--
6270 1 file changed, 2 insertions(+), 2 deletions(-)
6271
6272 commit 061fcd0e74441189a87bfe13b55fb02b98f7d7c0
6273 Author: Brad Spengler <spender@grsecurity.net>
6274 Date: Mon Feb 15 13:20:38 2016 -0500
6275
6276 compile fix
6277
6278 drivers/staging/wilc1000/host_interface.h | 1 +
6279 1 file changed, 1 insertion(+)
6280
6281 commit 675f2dcbdd4ea3293eea9c42f0cc427b1c903fc8
6282 Author: Brad Spengler <spender@grsecurity.net>
6283 Date: Mon Feb 15 12:54:52 2016 -0500
6284
6285 Update size_overflow hash table
6286
6287 .../size_overflow_plugin/size_overflow_hash.data | 21 +++++++++++++++++----
6288 1 file changed, 17 insertions(+), 4 deletions(-)
6289
6290 commit c8c50394f0c9f2e9baaeb884a29be2057cadbf7b
6291 Author: Brad Spengler <spender@grsecurity.net>
6292 Date: Mon Feb 15 12:53:54 2016 -0500
6293
6294 compile fix
6295
6296 drivers/staging/wilc1000/wilc_spi.c | 1 -
6297 drivers/staging/wilc1000/wilc_wlan.h | 2 +-
6298 2 files changed, 1 insertion(+), 2 deletions(-)
6299
6300 commit a9dd4481db099082967585be8e153899e5fd24c7
6301 Author: Brad Spengler <spender@grsecurity.net>
6302 Date: Mon Feb 15 12:52:32 2016 -0500
6303
6304 compile fix
6305
6306 fs/proc/fd.c | 2 --
6307 1 file changed, 2 deletions(-)
6308
6309 commit 5acb4fa0063460807096429f073181d1c5a3e566
6310 Author: Brad Spengler <spender@grsecurity.net>
6311 Date: Mon Feb 15 12:32:13 2016 -0500
6312
6313 Update size_overflow hash table
6314
6315 .../size_overflow_plugin/size_overflow_hash.data | 224 +++++++++++++++++----
6316 1 file changed, 182 insertions(+), 42 deletions(-)
6317
6318 commit c0bac9ff9af7ef753740622b5736684a32b49a9f
6319 Author: Brad Spengler <spender@grsecurity.net>
6320 Date: Mon Feb 15 12:31:16 2016 -0500
6321
6322 compile fix
6323
6324 drivers/staging/wilc1000/wilc_spi.c | 1 +
6325 1 file changed, 1 insertion(+)
6326
6327 commit 2f89ebdee131f6a6c85e611e5b993d4b19bc2673
6328 Author: Brad Spengler <spender@grsecurity.net>
6329 Date: Mon Feb 15 12:28:36 2016 -0500
6330
6331 RANDSTRUCT compile fix
6332
6333 drivers/staging/wilc1000/wilc_spi.c | 32 ++++++++++++++++----------------
6334 1 file changed, 16 insertions(+), 16 deletions(-)
6335
6336 commit 693be5d7f5b783f451499bbe83162aeb0f27a09f
6337 Author: Brad Spengler <spender@grsecurity.net>
6338 Date: Mon Feb 15 12:24:49 2016 -0500
6339
6340 RANDSTRUCT compile fix
6341
6342 drivers/staging/wilc1000/wilc_sdio.c | 34 +++++++++++++++++-----------------
6343 1 file changed, 17 insertions(+), 17 deletions(-)
6344
6345 commit bdf3dcd665c1a8ef9b69ad6525760c5160ec19a2
6346 Author: Hariprasad S <hariprasad@chelsio.com>
6347 Date: Fri Dec 11 13:59:17 2015 +0530
6348
6349 iw_cxgb3: Fix incorrectly returning error on success
6350
6351 The cxgb3_*_send() functions return NET_XMIT_ values, which are
6352 positive integers values. So don't treat positive return values
6353 as an error.
6354
6355 Signed-off-by: Steve Wise <swise@opengridcomputing.com>
6356 Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
6357 Signed-off-by: Doug Ledford <dledford@redhat.com>
6358
6359 drivers/infiniband/hw/cxgb3/iwch_cm.c | 4 ++--
6360 1 file changed, 2 insertions(+), 2 deletions(-)
6361
6362 commit 8705fe372dc21046ca3fc55381b70cffb4c60207
6363 Author: Daniel Borkmann <daniel@iogearbox.net>
6364 Date: Wed Feb 10 16:47:11 2016 +0100
6365
6366 bpf: fix branch offset adjustment on backjumps after patching ctx expansion
6367
6368 When ctx access is used, the kernel often needs to expand/rewrite
6369 instructions, so after that patching, branch offsets have to be
6370 adjusted for both forward and backward jumps in the new eBPF program,
6371 but for backward jumps it fails to account the delta. Meaning, for
6372 example, if the expansion happens exactly on the insn that sits at
6373 the jump target, it doesn't fix up the back jump offset.
6374
6375 Analysis on what the check in adjust_branches() is currently doing:
6376
6377 /* adjust offset of jmps if necessary */
6378 if (i < pos && i + insn->off + 1 > pos)
6379 insn->off += delta;
6380 else if (i > pos && i + insn->off + 1 < pos)
6381 insn->off -= delta;
6382
6383 First condition (forward jumps):
6384
6385 Before: After:
6386
6387 insns[0] insns[0]
6388 insns[1] <--- i/insn insns[1] <--- i/insn
6389 insns[2] <--- pos insns[P] <--- pos
6390 insns[3] insns[P] `------| delta
6391 insns[4] <--- target_X insns[P] `-----|
6392 insns[5] insns[3]
6393 insns[4] <--- target_X
6394 insns[5]
6395
6396 First case is if we cross pos-boundary and the jump instruction was
6397 before pos. This is handeled correctly. I.e. if i == pos, then this
6398 would mean our jump that we currently check was the patchlet itself
6399 that we just injected. Since such patchlets are self-contained and
6400 have no awareness of any insns before or after the patched one, the
6401 delta is correctly not adjusted. Also, for the second condition in
6402 case of i + insn->off + 1 == pos, means we jump to that newly patched
6403 instruction, so no offset adjustment are needed. That part is correct.
6404
6405 Second condition (backward jumps):
6406
6407 Before: After:
6408
6409 insns[0] insns[0]
6410 insns[1] <--- target_X insns[1] <--- target_X
6411 insns[2] <--- pos <-- target_Y insns[P] <--- pos <-- target_Y
6412 insns[3] insns[P] `------| delta
6413 insns[4] <--- i/insn insns[P] `-----|
6414 insns[5] insns[3]
6415 insns[4] <--- i/insn
6416 insns[5]
6417
6418 Second interesting case is where we cross pos-boundary and the jump
6419 instruction was after pos. Backward jump with i == pos would be
6420 impossible and pose a bug somewhere in the patchlet, so the first
6421 condition checking i > pos is okay only by itself. However, i +
6422 insn->off + 1 < pos does not always work as intended to trigger the
6423 adjustment. It works when jump targets would be far off where the
6424 delta wouldn't matter. But, for example, where the fixed insn->off
6425 before pointed to pos (target_Y), it now points to pos + delta, so
6426 that additional room needs to be taken into account for the check.
6427 This means that i) both tests here need to be adjusted into pos + delta,
6428 and ii) for the second condition, the test needs to be <= as pos
6429 itself can be a target in the backjump, too.
6430
6431 Fixes: 9bac3d6d548e ("bpf: allow extended BPF programs access skb fields")
6432 Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
6433 Signed-off-by: David S. Miller <davem@davemloft.net>
6434
6435 kernel/bpf/verifier.c | 2 +-
6436 1 file changed, 1 insertion(+), 1 deletion(-)
6437
6438 commit 61b513b644116e77313addf65970db58f4981608
6439 Author: Ryan Ware <ware@linux.intel.com>
6440 Date: Thu Feb 11 15:58:44 2016 -0800
6441
6442 EVM: Use crypto_memneq() for digest comparisons
6443
6444 This patch fixes vulnerability CVE-2016-2085. The problem exists
6445 because the vm_verify_hmac() function includes a use of memcmp().
6446 Unfortunately, this allows timing side channel attacks; specifically
6447 a MAC forgery complexity drop from 2^128 to 2^12. This patch changes
6448 the memcmp() to the cryptographically safe crypto_memneq().
6449
6450 Reported-by: Xiaofei Rex Guo <xiaofei.rex.guo@intel.com>
6451 Signed-off-by: Ryan Ware <ware@linux.intel.com>
6452 Cc: stable@vger.kernel.org
6453 Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
6454 Signed-off-by: James Morris <james.l.morris@oracle.com>
6455
6456 security/integrity/evm/evm_main.c | 3 ++-
6457 1 file changed, 2 insertions(+), 1 deletion(-)
6458
6459 commit 970b961e7d0684624f9c69f0b4367d5c76b65a63
6460 Author: Michael McConville <mmcco@mykolab.com>
6461 Date: Fri Feb 5 20:46:25 2016 -0500
6462
6463 dscc4: Undefined signed int shift
6464
6465 My analysis in the below mail applies, although the second part is
6466 unnecessary because i isn't used in arithmetic operations here:
6467
6468 https://marc.info/?l=openbsd-tech&m=145377854103866&w=2
6469
6470 Thanks for your time.
6471
6472 Signed-off-by: Michael McConville <mmcco@mykolab.com>
6473 Acked-by: Francois Romieu <romieu@fr.zoreil.com>
6474 Signed-off-by: David S. Miller <davem@davemloft.net>
6475
6476 drivers/net/wan/dscc4.c | 2 +-
6477 1 file changed, 1 insertion(+), 1 deletion(-)
6478
6479 commit d843df24b6680b600e87ebfea3b7b198b90b5a2a
6480 Author: Andrey Konovalov <andreyknvl@gmail.com>
6481 Date: Sat Feb 13 11:08:06 2016 +0300
6482
6483 ALSA: usb-audio: avoid freeing umidi object twice
6484
6485 The 'umidi' object will be free'd on the error path by snd_usbmidi_free()
6486 when tearing down the rawmidi interface. So we shouldn't try to free it
6487 in snd_usbmidi_create() after having registered the rawmidi interface.
6488
6489 Found by KASAN.
6490
6491 Signed-off-by: Andrey Konovalov <andreyknvl@gmail.com>
6492 Acked-by: Clemens Ladisch <clemens@ladisch.de>
6493 Cc: <stable@vger.kernel.org>
6494 Signed-off-by: Takashi Iwai <tiwai@suse.de>
6495
6496 sound/usb/midi.c | 1 -
6497 1 file changed, 1 deletion(-)
6498
6499 commit ed3a8ab1976674d56e258da93639e61f1446e703
6500 Author: zengtao <prime.zeng@huawei.com>
6501 Date: Tue Feb 2 11:38:34 2016 +0800
6502
6503 cputime: Prevent 32bit overflow in time[val|spec]_to_cputime()
6504
6505 The datatype __kernel_time_t is u32 on 32bit platform, so its subject to
6506 overflows in the timeval/timespec to cputime conversion.
6507
6508 Currently the following functions are affected:
6509 1. setitimer()
6510 2. timer_create/timer_settime()
6511 3. sys_clock_nanosleep
6512
6513 This can happen on MIPS32 and ARM32 with "Full dynticks CPU time accounting"
6514 enabled, which is required for CONFIG_NO_HZ_FULL.
6515
6516 Enforce u64 conversion to prevent the overflow.
6517
6518 Fixes: 31c1fc818715 ("ARM: Kconfig: allow full nohz CPU accounting")
6519 Signed-off-by: zengtao <prime.zeng@huawei.com>
6520 Reviewed-by: Arnd Bergmann <arnd@arndb.de>
6521 Cc: <fweisbec@gmail.com>
6522 Cc: stable@vger.kernel.org
6523 Link: http://lkml.kernel.org/r/1454384314-154784-1-git-send-email-prime.zeng@huawei.com
6524 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
6525
6526 include/asm-generic/cputime_nsecs.h | 5 +++--
6527 1 file changed, 3 insertions(+), 2 deletions(-)
6528
6529 commit bf8a2de485da37d73850e7cfa31967b7798b6ce0
6530 Author: Brad Spengler <spender@grsecurity.net>
6531 Date: Mon Feb 15 11:55:18 2016 -0500
6532
6533 Fix building with allnoconfig, don't make our added DATA_TO_TEXT mismatch warnings
6534 count as actual mismatches
6535
6536 scripts/mod/modpost.c | 3 ++-
6537 1 file changed, 2 insertions(+), 1 deletion(-)
6538
6539 commit c9d82b6d0f1a2484fea0a516989dbdc6c55e5693
6540 Author: Brad Spengler <spender@grsecurity.net>
6541 Date: Mon Feb 15 11:44:36 2016 -0500
6542
6543 Compile fix
6544
6545 tools/gcc/randomize_layout_seed.h | 1 -
6546 1 file changed, 1 deletion(-)
6547
6548 commit fb68cbb98732e6801e8fc8d1da1f1195e51ff077
6549 Author: Brad Spengler <spender@grsecurity.net>
6550 Date: Mon Feb 15 11:27:32 2016 -0500
6551
6552 disable USELIB
6553
6554 init/Kconfig | 3 ++-
6555 1 file changed, 2 insertions(+), 1 deletion(-)
6556
6557 commit cbda9a44b7f92161eb1e444bf7fe2bbcbedaae65
6558 Author: Brad Spengler <spender@grsecurity.net>
6559 Date: Mon Feb 15 11:23:56 2016 -0500
6560
6561 compile fix
6562
6563 fs/proc/fd.c | 2 +-
6564 1 file changed, 1 insertion(+), 1 deletion(-)
6565
6566 commit 5cf0a2e87ab7105d1ba01f55f7636fa2e1fa4bb4
6567 Author: Brad Spengler <spender@grsecurity.net>
6568 Date: Mon Feb 15 11:19:26 2016 -0500
6569
6570 Initial import of grsecurity for Linux 4.4.1
6571
6572 Documentation/dontdiff | 2 +
6573 Documentation/kernel-parameters.txt | 11 +
6574 Documentation/sysctl/fs.txt | 23 +
6575 Documentation/sysctl/kernel.txt | 15 +
6576 Makefile | 18 +-
6577 arch/alpha/include/asm/cache.h | 4 +-
6578 arch/alpha/kernel/osf_sys.c | 12 +-
6579 arch/arc/Kconfig | 1 +
6580 arch/arm/Kconfig | 1 +
6581 arch/arm/Kconfig.debug | 1 +
6582 arch/arm/include/asm/thread_info.h | 7 +-
6583 arch/arm/kernel/entry-common.S | 8 +-
6584 arch/arm/kernel/process.c | 4 +-
6585 arch/arm/kernel/ptrace.c | 9 +
6586 arch/arm/kernel/traps.c | 7 +-
6587 arch/arm/mm/Kconfig | 4 +-
6588 arch/arm/mm/fault.c | 40 +-
6589 arch/arm/mm/mmap.c | 8 +-
6590 arch/arm/net/bpf_jit_32.c | 51 +-
6591 arch/arm64/Kconfig.debug | 1 +
6592 arch/avr32/include/asm/cache.h | 4 +-
6593 arch/blackfin/Kconfig.debug | 1 +
6594 arch/blackfin/include/asm/cache.h | 3 +-
6595 arch/cris/include/arch-v10/arch/cache.h | 3 +-
6596 arch/cris/include/arch-v32/arch/cache.h | 3 +-
6597 arch/frv/include/asm/cache.h | 3 +-
6598 arch/frv/mm/elf-fdpic.c | 4 +-
6599 arch/hexagon/include/asm/cache.h | 6 +-
6600 arch/ia64/Kconfig | 1 +
6601 arch/ia64/include/asm/cache.h | 3 +-
6602 arch/ia64/kernel/sys_ia64.c | 2 +
6603 arch/ia64/mm/hugetlbpage.c | 2 +
6604 arch/m32r/include/asm/cache.h | 4 +-
6605 arch/m68k/include/asm/cache.h | 4 +-
6606 arch/metag/mm/hugetlbpage.c | 1 +
6607 arch/microblaze/include/asm/cache.h | 3 +-
6608 arch/mips/Kconfig | 1 +
6609 arch/mips/include/asm/cache.h | 3 +-
6610 arch/mips/include/asm/thread_info.h | 11 +-
6611 arch/mips/kernel/irq.c | 3 +
6612 arch/mips/kernel/ptrace.c | 9 +
6613 arch/mips/mm/mmap.c | 4 +-
6614 arch/mn10300/proc-mn103e010/include/proc/cache.h | 4 +-
6615 arch/mn10300/proc-mn2ws0050/include/proc/cache.h | 4 +-
6616 arch/openrisc/include/asm/cache.h | 4 +-
6617 arch/parisc/include/asm/cache.h | 3 +
6618 arch/parisc/kernel/sys_parisc.c | 4 +
6619 arch/powerpc/Kconfig | 1 +
6620 arch/powerpc/include/asm/cache.h | 4 +-
6621 arch/powerpc/include/asm/thread_info.h | 5 +-
6622 arch/powerpc/kernel/Makefile | 2 +
6623 arch/powerpc/kernel/irq.c | 3 +
6624 arch/powerpc/kernel/process.c | 10 +-
6625 arch/powerpc/kernel/ptrace.c | 14 +
6626 arch/powerpc/kernel/traps.c | 5 +
6627 arch/powerpc/mm/slice.c | 2 +-
6628 arch/s390/Kconfig.debug | 1 +
6629 arch/s390/include/asm/cache.h | 4 +-
6630 arch/score/include/asm/cache.h | 4 +-
6631 arch/sh/include/asm/cache.h | 3 +-
6632 arch/sh/mm/mmap.c | 6 +-
6633 arch/sparc/include/asm/cache.h | 4 +-
6634 arch/sparc/include/asm/pgalloc_64.h | 1 +
6635 arch/sparc/include/asm/thread_info_64.h | 8 +-
6636 arch/sparc/kernel/process_32.c | 6 +-
6637 arch/sparc/kernel/process_64.c | 8 +-
6638 arch/sparc/kernel/ptrace_64.c | 14 +
6639 arch/sparc/kernel/sys_sparc_64.c | 8 +-
6640 arch/sparc/kernel/syscalls.S | 8 +-
6641 arch/sparc/kernel/traps_32.c | 8 +-
6642 arch/sparc/kernel/traps_64.c | 28 +-
6643 arch/sparc/kernel/unaligned_64.c | 2 +-
6644 arch/sparc/mm/fault_64.c | 2 +-
6645 arch/sparc/mm/hugetlbpage.c | 15 +-
6646 arch/tile/Kconfig | 1 +
6647 arch/tile/include/asm/cache.h | 3 +-
6648 arch/tile/mm/hugetlbpage.c | 2 +
6649 arch/um/include/asm/cache.h | 3 +-
6650 arch/unicore32/include/asm/cache.h | 6 +-
6651 arch/x86/Kconfig | 21 +
6652 arch/x86/Kconfig.debug | 2 +
6653 arch/x86/entry/common.c | 14 +
6654 arch/x86/entry/entry_32.S | 2 +-
6655 arch/x86/entry/entry_64.S | 2 +-
6656 arch/x86/ia32/ia32_aout.c | 2 +
6657 arch/x86/include/asm/floppy.h | 20 +-
6658 arch/x86/include/asm/fpu/types.h | 69 +-
6659 arch/x86/include/asm/io.h | 2 +-
6660 arch/x86/include/asm/page.h | 12 +-
6661 arch/x86/include/asm/paravirt_types.h | 23 +-
6662 arch/x86/include/asm/pgtable_types.h | 6 +-
6663 arch/x86/include/asm/processor.h | 12 +-
6664 arch/x86/include/asm/thread_info.h | 6 +-
6665 arch/x86/include/asm/uaccess.h | 2 +-
6666 arch/x86/kernel/dumpstack.c | 10 +-
6667 arch/x86/kernel/dumpstack_32.c | 2 +-
6668 arch/x86/kernel/dumpstack_64.c | 2 +-
6669 arch/x86/kernel/ioport.c | 13 +
6670 arch/x86/kernel/irq_32.c | 3 +
6671 arch/x86/kernel/irq_64.c | 4 +
6672 arch/x86/kernel/ldt.c | 18 +
6673 arch/x86/kernel/msr.c | 10 +
6674 arch/x86/kernel/ptrace.c | 14 +
6675 arch/x86/kernel/signal.c | 9 +-
6676 arch/x86/kernel/sys_i386_32.c | 9 +-
6677 arch/x86/kernel/sys_x86_64.c | 8 +-
6678 arch/x86/kernel/traps.c | 5 +
6679 arch/x86/kernel/verify_cpu.S | 1 +
6680 arch/x86/kernel/vm86_32.c | 15 +
6681 arch/x86/mm/fault.c | 12 +-
6682 arch/x86/mm/hugetlbpage.c | 15 +-
6683 arch/x86/mm/init.c | 66 +-
6684 arch/x86/mm/init_32.c | 6 +-
6685 arch/x86/mm/pageattr.c | 4 +-
6686 arch/x86/net/bpf_jit_comp.c | 4 +
6687 arch/x86/platform/efi/efi_64.c | 2 +-
6688 arch/x86/xen/Kconfig | 1 +
6689 arch/xtensa/variants/dc232b/include/variant/core.h | 2 +-
6690 arch/xtensa/variants/fsf/include/variant/core.h | 3 +-
6691 crypto/scatterwalk.c | 10 +-
6692 drivers/acpi/acpica/hwxfsleep.c | 11 +-
6693 drivers/acpi/custom_method.c | 4 +
6694 drivers/block/cciss.h | 30 +-
6695 drivers/block/smart1,2.h | 40 +-
6696 drivers/cdrom/cdrom.c | 2 +-
6697 drivers/char/Kconfig | 4 +-
6698 drivers/char/genrtc.c | 1 +
6699 drivers/char/mem.c | 17 +
6700 drivers/char/random.c | 5 +-
6701 drivers/cpufreq/sparc-us3-cpufreq.c | 2 -
6702 drivers/firewire/ohci.c | 4 +
6703 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 70 +-
6704 drivers/gpu/drm/nouveau/nouveau_ttm.c | 28 +-
6705 drivers/gpu/drm/ttm/ttm_bo_manager.c | 10 +-
6706 drivers/gpu/drm/virtio/virtgpu_ttm.c | 10 +-
6707 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c | 10 +-
6708 drivers/hid/hid-wiimote-debug.c | 2 +-
6709 drivers/infiniband/hw/nes/nes_cm.c | 22 +-
6710 drivers/iommu/Kconfig | 1 +
6711 drivers/iommu/amd_iommu.c | 14 +-
6712 drivers/isdn/gigaset/bas-gigaset.c | 32 +-
6713 drivers/isdn/gigaset/ser-gigaset.c | 32 +-
6714 drivers/isdn/gigaset/usb-gigaset.c | 32 +-
6715 drivers/isdn/i4l/isdn_concap.c | 6 +-
6716 drivers/isdn/i4l/isdn_x25iface.c | 16 +-
6717 drivers/md/bcache/Kconfig | 1 +
6718 drivers/md/raid5.c | 8 +
6719 drivers/media/pci/solo6x10/solo6x10-g723.c | 2 +-
6720 drivers/media/platform/sti/c8sectpfe/Kconfig | 1 +
6721 drivers/media/radio/radio-cadet.c | 5 +-
6722 drivers/media/usb/dvb-usb/cinergyT2-core.c | 91 +-
6723 drivers/media/usb/dvb-usb/cinergyT2-fe.c | 182 +-
6724 drivers/media/usb/dvb-usb/dvb-usb-firmware.c | 37 +-
6725 drivers/media/usb/dvb-usb/technisat-usb2.c | 75 +-
6726 drivers/message/fusion/mptbase.c | 9 +
6727 drivers/misc/sgi-xp/xp_main.c | 12 +-
6728 drivers/net/ethernet/brocade/bna/bna_enet.c | 8 +-
6729 drivers/net/ppp/pptp.c | 34 +-
6730 drivers/net/wan/lmc/lmc_media.c | 97 +-
6731 drivers/net/wan/z85230.c | 24 +-
6732 drivers/net/wireless/ath/ath9k/Kconfig | 1 -
6733 drivers/net/wireless/zd1211rw/zd_usb.c | 2 +-
6734 drivers/pci/proc.c | 9 +
6735 drivers/platform/x86/asus-wmi.c | 12 +
6736 drivers/rtc/rtc-dev.c | 3 +
6737 drivers/scsi/bfa/bfa_fcs.c | 19 +-
6738 drivers/scsi/bfa/bfa_fcs_lport.c | 29 +-
6739 drivers/scsi/bfa/bfa_modules.h | 12 +-
6740 drivers/scsi/hpsa.h | 40 +-
6741 drivers/staging/lustre/lustre/ldlm/ldlm_flock.c | 2 +-
6742 drivers/staging/lustre/lustre/libcfs/module.c | 10 +-
6743 drivers/tty/serial/uartlite.c | 4 +-
6744 drivers/tty/sysrq.c | 2 +-
6745 drivers/tty/tty_io.c | 4 +
6746 drivers/tty/vt/keyboard.c | 22 +-
6747 drivers/uio/uio.c | 6 +-
6748 drivers/usb/core/hub.c | 5 +
6749 drivers/usb/gadget/function/f_uac1.c | 1 +
6750 drivers/usb/gadget/function/u_uac1.c | 1 +
6751 drivers/usb/host/hwa-hc.c | 9 +-
6752 drivers/usb/usbip/vhci_sysfs.c | 2 +-
6753 drivers/video/fbdev/arcfb.c | 2 +-
6754 drivers/video/fbdev/matrox/matroxfb_DAC1064.c | 10 +-
6755 drivers/video/fbdev/matrox/matroxfb_Ti3026.c | 5 +-
6756 drivers/video/fbdev/sh_mobile_lcdcfb.c | 6 +-
6757 drivers/video/logo/logo_linux_clut224.ppm | 2720 ++++----
6758 drivers/xen/xenfs/xenstored.c | 5 +
6759 firmware/Makefile | 2 +
6760 firmware/WHENCE | 20 +-
6761 firmware/bnx2/bnx2-mips-06-6.2.3.fw.ihex | 5804 +++++++++++++++++
6762 firmware/bnx2/bnx2-mips-09-6.2.1b.fw.ihex | 6496 ++++++++++++++++++++
6763 fs/attr.c | 4 +
6764 fs/autofs4/waitq.c | 9 +
6765 fs/binfmt_aout.c | 7 +
6766 fs/binfmt_elf.c | 40 +-
6767 fs/compat.c | 20 +-
6768 fs/compat_ioctl.c | 253 +-
6769 fs/coredump.c | 17 +-
6770 fs/dcache.c | 3 +
6771 fs/debugfs/inode.c | 11 +-
6772 fs/exec.c | 231 +-
6773 fs/ext2/balloc.c | 4 +-
6774 fs/ext2/super.c | 8 +-
6775 fs/ext4/balloc.c | 4 +-
6776 fs/ext4/extents.c | 2 +-
6777 fs/fcntl.c | 4 +
6778 fs/fhandle.c | 3 +-
6779 fs/file.c | 4 +
6780 fs/filesystems.c | 4 +
6781 fs/fs_struct.c | 20 +-
6782 fs/hugetlbfs/inode.c | 24 +-
6783 fs/inode.c | 8 +-
6784 fs/internal.h | 7 +
6785 fs/ioctl.c | 4 +-
6786 fs/kernfs/dir.c | 6 +
6787 fs/mount.h | 4 +-
6788 fs/namei.c | 283 +-
6789 fs/namespace.c | 24 +
6790 fs/nfsd/nfscache.c | 2 +-
6791 fs/open.c | 38 +
6792 fs/overlayfs/inode.c | 3 +
6793 fs/overlayfs/super.c | 6 +-
6794 fs/pipe.c | 49 +-
6795 fs/posix_acl.c | 15 +-
6796 fs/proc/Kconfig | 10 +-
6797 fs/proc/array.c | 69 +-
6798 fs/proc/base.c | 186 +-
6799 fs/proc/cmdline.c | 4 +
6800 fs/proc/devices.c | 4 +
6801 fs/proc/fd.c | 12 +-
6802 fs/proc/generic.c | 64 +
6803 fs/proc/inode.c | 17 +
6804 fs/proc/internal.h | 11 +-
6805 fs/proc/interrupts.c | 4 +
6806 fs/proc/kcore.c | 3 +
6807 fs/proc/namespaces.c | 4 +-
6808 fs/proc/proc_net.c | 31 +
6809 fs/proc/proc_sysctl.c | 52 +-
6810 fs/proc/root.c | 8 +
6811 fs/proc/stat.c | 69 +-
6812 fs/proc/task_mmu.c | 66 +-
6813 fs/readdir.c | 19 +
6814 fs/reiserfs/item_ops.c | 24 +-
6815 fs/reiserfs/super.c | 4 +
6816 fs/select.c | 2 +
6817 fs/seq_file.c | 30 +-
6818 fs/stat.c | 20 +-
6819 fs/sysfs/dir.c | 30 +-
6820 fs/utimes.c | 7 +
6821 fs/xattr.c | 26 +-
6822 grsecurity/Kconfig | 1203 ++++
6823 grsecurity/Makefile | 54 +
6824 grsecurity/gracl.c | 2757 +++++++++
6825 grsecurity/gracl_alloc.c | 105 +
6826 grsecurity/gracl_cap.c | 127 +
6827 grsecurity/gracl_compat.c | 269 +
6828 grsecurity/gracl_fs.c | 448 ++
6829 grsecurity/gracl_ip.c | 386 ++
6830 grsecurity/gracl_learn.c | 207 +
6831 grsecurity/gracl_policy.c | 1786 ++++++
6832 grsecurity/gracl_res.c | 68 +
6833 grsecurity/gracl_segv.c | 304 +
6834 grsecurity/gracl_shm.c | 40 +
6835 grsecurity/grsec_chdir.c | 19 +
6836 grsecurity/grsec_chroot.c | 467 ++
6837 grsecurity/grsec_disabled.c | 445 ++
6838 grsecurity/grsec_exec.c | 189 +
6839 grsecurity/grsec_fifo.c | 26 +
6840 grsecurity/grsec_fork.c | 23 +
6841 grsecurity/grsec_init.c | 294 +
6842 grsecurity/grsec_ipc.c | 48 +
6843 grsecurity/grsec_link.c | 65 +
6844 grsecurity/grsec_log.c | 340 +
6845 grsecurity/grsec_mem.c | 48 +
6846 grsecurity/grsec_mount.c | 65 +
6847 grsecurity/grsec_pax.c | 47 +
6848 grsecurity/grsec_proc.c | 20 +
6849 grsecurity/grsec_ptrace.c | 30 +
6850 grsecurity/grsec_sig.c | 245 +
6851 grsecurity/grsec_sock.c | 244 +
6852 grsecurity/grsec_sysctl.c | 497 ++
6853 grsecurity/grsec_time.c | 16 +
6854 grsecurity/grsec_tpe.c | 78 +
6855 grsecurity/grsec_tty.c | 18 +
6856 grsecurity/grsec_usb.c | 15 +
6857 grsecurity/grsum.c | 54 +
6858 include/linux/binfmts.h | 5 +-
6859 include/linux/capability.h | 13 +
6860 include/linux/compiler-gcc.h | 5 +
6861 include/linux/compiler.h | 8 +
6862 include/linux/cred.h | 8 +-
6863 include/linux/dcache.h | 5 +-
6864 include/linux/fs.h | 26 +-
6865 include/linux/fs_struct.h | 2 +-
6866 include/linux/fsnotify.h | 6 +
6867 include/linux/gracl.h | 342 ++
6868 include/linux/gracl_compat.h | 156 +
6869 include/linux/gralloc.h | 9 +
6870 include/linux/grdefs.h | 140 +
6871 include/linux/grinternal.h | 231 +
6872 include/linux/grmsg.h | 119 +
6873 include/linux/grsecurity.h | 258 +
6874 include/linux/grsock.h | 19 +
6875 include/linux/ipc.h | 2 +-
6876 include/linux/ipc_namespace.h | 2 +-
6877 include/linux/kallsyms.h | 18 +-
6878 include/linux/key-type.h | 4 +-
6879 include/linux/kmod.h | 5 +
6880 include/linux/kobject.h | 2 +-
6881 include/linux/lsm_hooks.h | 4 +-
6882 include/linux/mm.h | 12 +
6883 include/linux/mm_types.h | 4 +-
6884 include/linux/module.h | 5 +-
6885 include/linux/mount.h | 2 +-
6886 include/linux/msg.h | 2 +-
6887 include/linux/netfilter/xt_gradm.h | 9 +
6888 include/linux/path.h | 4 +-
6889 include/linux/perf_event.h | 13 +-
6890 include/linux/pid_namespace.h | 2 +-
6891 include/linux/pipe_fs_i.h | 4 +
6892 include/linux/poison.h | 2 +-
6893 include/linux/printk.h | 2 +-
6894 include/linux/proc_fs.h | 22 +-
6895 include/linux/proc_ns.h | 2 +-
6896 include/linux/ptrace.h | 24 +-
6897 include/linux/radix-tree.h | 22 +-
6898 include/linux/random.h | 2 +-
6899 include/linux/rbtree_augmented.h | 4 +-
6900 include/linux/scatterlist.h | 12 +-
6901 include/linux/sched.h | 115 +-
6902 include/linux/security.h | 1 +
6903 include/linux/sem.h | 2 +-
6904 include/linux/seq_file.h | 5 +
6905 include/linux/shm.h | 6 +-
6906 include/linux/shmem_fs.h | 5 +-
6907 include/linux/skbuff.h | 3 +
6908 include/linux/slab.h | 9 -
6909 include/linux/sysctl.h | 8 +-
6910 include/linux/thread_info.h | 6 +-
6911 include/linux/tty.h | 2 +-
6912 include/linux/tty_driver.h | 4 +-
6913 include/linux/uidgid.h | 5 +
6914 include/linux/user_namespace.h | 2 +-
6915 include/linux/utsname.h | 2 +-
6916 include/linux/vermagic.h | 16 +-
6917 include/linux/vmalloc.h | 8 +
6918 include/net/af_unix.h | 6 +-
6919 include/net/ip.h | 2 +-
6920 include/net/neighbour.h | 2 +-
6921 include/net/net_namespace.h | 2 +-
6922 include/net/netfilter/nf_conntrack_core.h | 8 +-
6923 include/net/scm.h | 1 +
6924 include/net/sock.h | 2 +-
6925 include/trace/events/fs.h | 53 +
6926 include/uapi/linux/personality.h | 1 +
6927 init/Kconfig | 2 +
6928 init/main.c | 46 +-
6929 ipc/mqueue.c | 1 +
6930 ipc/msg.c | 3 +-
6931 ipc/msgutil.c | 4 +-
6932 ipc/sem.c | 3 +-
6933 ipc/shm.c | 26 +-
6934 ipc/util.c | 6 +
6935 kernel/auditsc.c | 2 +-
6936 kernel/bpf/syscall.c | 10 +-
6937 kernel/capability.c | 41 +-
6938 kernel/cgroup.c | 5 +-
6939 kernel/compat.c | 1 +
6940 kernel/configs.c | 11 +
6941 kernel/cred.c | 112 +-
6942 kernel/events/core.c | 16 +-
6943 kernel/exit.c | 10 +-
6944 kernel/fork.c | 86 +-
6945 kernel/futex.c | 6 +-
6946 kernel/futex_compat.c | 2 +-
6947 kernel/kallsyms.c | 9 +
6948 kernel/kcmp.c | 8 +-
6949 kernel/kexec_core.c | 2 +-
6950 kernel/kmod.c | 96 +-
6951 kernel/kprobes.c | 9 +-
6952 kernel/ksysfs.c | 2 +
6953 kernel/locking/lockdep_proc.c | 10 +-
6954 kernel/module.c | 108 +-
6955 kernel/panic.c | 4 +-
6956 kernel/pid.c | 18 +-
6957 kernel/power/Kconfig | 2 +
6958 kernel/printk/printk.c | 7 +-
6959 kernel/ptrace.c | 89 +-
6960 kernel/resource.c | 10 +
6961 kernel/sched/core.c | 11 +-
6962 kernel/seccomp.c | 22 +-
6963 kernel/signal.c | 37 +-
6964 kernel/sys.c | 64 +-
6965 kernel/sysctl.c | 186 +-
6966 kernel/taskstats.c | 6 +
6967 kernel/time/posix-timers.c | 8 +
6968 kernel/time/time.c | 5 +
6969 kernel/time/timekeeping.c | 3 +
6970 kernel/time/timer_list.c | 13 +-
6971 kernel/time/timer_stats.c | 10 +-
6972 kernel/trace/Kconfig | 2 +
6973 kernel/trace/trace_syscalls.c | 8 +
6974 kernel/user_namespace.c | 15 +
6975 lib/Kconfig.debug | 13 +-
6976 lib/Kconfig.kasan | 2 +-
6977 lib/is_single_threaded.c | 3 +
6978 lib/list_debug.c | 65 +-
6979 lib/nlattr.c | 2 +
6980 lib/radix-tree.c | 12 +-
6981 lib/rbtree.c | 4 +-
6982 lib/vsprintf.c | 39 +-
6983 localversion-grsec | 1 +
6984 mm/Kconfig | 8 +-
6985 mm/Kconfig.debug | 1 +
6986 mm/filemap.c | 1 +
6987 mm/kmemleak.c | 4 +-
6988 mm/memory.c | 2 +-
6989 mm/mempolicy.c | 12 +-
6990 mm/migrate.c | 3 +-
6991 mm/mlock.c | 11 +-
6992 mm/mmap.c | 103 +-
6993 mm/mprotect.c | 8 +
6994 mm/oom_kill.c | 4 +
6995 mm/page_alloc.c | 2 +-
6996 mm/process_vm_access.c | 8 +-
6997 mm/shmem.c | 11 +-
6998 mm/slab.c | 14 +-
6999 mm/slab_common.c | 2 +-
7000 mm/slob.c | 12 +
7001 mm/slub.c | 33 +-
7002 mm/util.c | 3 +
7003 mm/vmalloc.c | 82 +-
7004 mm/vmstat.c | 29 +-
7005 net/appletalk/atalk_proc.c | 2 +-
7006 net/atm/lec.c | 6 +-
7007 net/atm/mpoa_caches.c | 42 +-
7008 net/can/bcm.c | 2 +-
7009 net/can/proc.c | 2 +-
7010 net/core/dev_ioctl.c | 7 +-
7011 net/core/filter.c | 8 +-
7012 net/core/net-procfs.c | 17 +-
7013 net/core/pktgen.c | 2 +-
7014 net/core/scm.c | 7 +
7015 net/core/sock.c | 3 +-
7016 net/core/sysctl_net_core.c | 2 +-
7017 net/decnet/dn_dev.c | 2 +-
7018 net/ipv4/Kconfig | 1 +
7019 net/ipv4/devinet.c | 6 +-
7020 net/ipv4/inet_hashtables.c | 4 +
7021 net/ipv4/ip_input.c | 7 +
7022 net/ipv4/ip_sockglue.c | 3 +-
7023 net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 +-
7024 net/ipv4/route.c | 6 +-
7025 net/ipv4/tcp_input.c | 6 +-
7026 net/ipv4/tcp_ipv4.c | 24 +-
7027 net/ipv4/tcp_minisocks.c | 9 +-
7028 net/ipv4/tcp_timer.c | 11 +
7029 net/ipv4/udp.c | 24 +
7030 net/ipv6/Kconfig | 1 +
7031 net/ipv6/addrconf.c | 13 +-
7032 net/ipv6/proc.c | 2 +-
7033 net/ipv6/tcp_ipv6.c | 23 +-
7034 net/ipv6/udp.c | 7 +
7035 net/ipx/ipx_proc.c | 2 +-
7036 net/irda/irproc.c | 2 +-
7037 net/iucv/af_iucv.c | 3 +
7038 net/llc/llc_proc.c | 2 +-
7039 net/netfilter/Kconfig | 10 +
7040 net/netfilter/Makefile | 1 +
7041 net/netfilter/nf_conntrack_core.c | 46 +-
7042 net/netfilter/nf_conntrack_helper.c | 2 +-
7043 net/netfilter/nf_conntrack_netlink.c | 2 +-
7044 net/netfilter/xt_gradm.c | 51 +
7045 net/netfilter/xt_hashlimit.c | 4 +-
7046 net/netfilter/xt_recent.c | 2 +-
7047 net/openvswitch/actions.c | 19 +-
7048 net/sctp/sm_sideeffect.c | 11 +-
7049 net/sctp/sm_statefuns.c | 17 +-
7050 net/socket.c | 75 +-
7051 net/sunrpc/Kconfig | 1 +
7052 net/sunrpc/cache.c | 2 +-
7053 net/sunrpc/stats.c | 2 +-
7054 net/sysctl_net.c | 2 +-
7055 net/unix/af_unix.c | 57 +-
7056 net/unix/garbage.c | 8 +-
7057 net/vmw_vsock/vmci_transport_notify.c | 30 +-
7058 net/vmw_vsock/vmci_transport_notify_qstate.c | 30 +-
7059 net/x25/sysctl_net_x25.c | 2 +-
7060 net/x25/x25_proc.c | 2 +-
7061 scripts/package/Makefile | 2 +-
7062 scripts/package/mkspec | 41 +-
7063 security/Kconfig | 369 +-
7064 security/apparmor/file.c | 4 +-
7065 security/apparmor/lsm.c | 8 +-
7066 security/commoncap.c | 36 +-
7067 security/keys/internal.h | 2 +-
7068 security/min_addr.c | 2 +
7069 security/smack/smack_lsm.c | 8 +-
7070 security/tomoyo/file.c | 12 +-
7071 security/tomoyo/mount.c | 4 +
7072 security/tomoyo/tomoyo.c | 20 +-
7073 security/yama/Kconfig | 2 +-
7074 security/yama/yama_lsm.c | 4 +-
7075 sound/core/timer.c | 4 +-
7076 sound/synth/emux/emux_seq.c | 14 +-
7077 sound/usb/line6/driver.c | 40 +-
7078 sound/usb/line6/toneport.c | 12 +-
7079 tools/gcc/.gitignore | 1 +
7080 tools/gcc/Makefile | 12 +
7081 tools/gcc/gen-random-seed.sh | 8 +
7082 tools/gcc/randomize_layout_plugin.c | 930 +++
7083 tools/gcc/size_overflow_plugin/.gitignore | 1 +
7084 .../size_overflow_plugin/size_overflow_hash.data | 463 +-
7085 513 files changed, 33007 insertions(+), 3251 deletions(-)
7086
7087 commit 6cb4f49b6a55cf16ae82685e1ab9b74c95b2f743
7088 Author: Brad Spengler <spender@grsecurity.net>
7089 Date: Mon Feb 15 10:51:41 2016 -0500
7090
7091 Initial import of pax-linux-4.4.1-test3.patch
7092
7093 Documentation/dontdiff | 46 +-
7094 Documentation/kbuild/makefiles.txt | 39 +-
7095 Documentation/kernel-parameters.txt | 28 +
7096 Makefile | 119 +-
7097 arch/alpha/include/asm/atomic.h | 10 +
7098 arch/alpha/include/asm/elf.h | 7 +
7099 arch/alpha/include/asm/pgalloc.h | 6 +
7100 arch/alpha/include/asm/pgtable.h | 11 +
7101 arch/alpha/kernel/module.c | 2 +-
7102 arch/alpha/kernel/osf_sys.c | 8 +-
7103 arch/alpha/mm/fault.c | 141 +-
7104 arch/arm/Kconfig | 3 +-
7105 arch/arm/include/asm/atomic.h | 323 +-
7106 arch/arm/include/asm/cache.h | 5 +-
7107 arch/arm/include/asm/cacheflush.h | 2 +-
7108 arch/arm/include/asm/checksum.h | 14 +-
7109 arch/arm/include/asm/cmpxchg.h | 4 +
7110 arch/arm/include/asm/cpuidle.h | 2 +-
7111 arch/arm/include/asm/domain.h | 42 +-
7112 arch/arm/include/asm/elf.h | 9 +-
7113 arch/arm/include/asm/fncpy.h | 2 +
7114 arch/arm/include/asm/futex.h | 1 +
7115 arch/arm/include/asm/kmap_types.h | 2 +-
7116 arch/arm/include/asm/mach/dma.h | 2 +-
7117 arch/arm/include/asm/mach/map.h | 16 +-
7118 arch/arm/include/asm/outercache.h | 2 +-
7119 arch/arm/include/asm/page.h | 3 +-
7120 arch/arm/include/asm/pgalloc.h | 20 +
7121 arch/arm/include/asm/pgtable-2level-hwdef.h | 4 +-
7122 arch/arm/include/asm/pgtable-2level.h | 3 +
7123 arch/arm/include/asm/pgtable-3level.h | 3 +
7124 arch/arm/include/asm/pgtable.h | 54 +-
7125 arch/arm/include/asm/smp.h | 2 +-
7126 arch/arm/include/asm/thread_info.h | 3 +
7127 arch/arm/include/asm/tls.h | 3 +
7128 arch/arm/include/asm/uaccess.h | 113 +-
7129 arch/arm/include/uapi/asm/ptrace.h | 2 +-
7130 arch/arm/kernel/armksyms.c | 2 +-
7131 arch/arm/kernel/cpuidle.c | 2 +-
7132 arch/arm/kernel/entry-armv.S | 109 +-
7133 arch/arm/kernel/entry-common.S | 40 +-
7134 arch/arm/kernel/entry-header.S | 55 +
7135 arch/arm/kernel/fiq.c | 3 +
7136 arch/arm/kernel/module-plts.c | 7 +-
7137 arch/arm/kernel/module.c | 38 +-
7138 arch/arm/kernel/patch.c | 2 +
7139 arch/arm/kernel/process.c | 92 +-
7140 arch/arm/kernel/reboot.c | 1 +
7141 arch/arm/kernel/setup.c | 20 +-
7142 arch/arm/kernel/signal.c | 35 +-
7143 arch/arm/kernel/smp.c | 2 +-
7144 arch/arm/kernel/tcm.c | 4 +-
7145 arch/arm/kernel/vmlinux.lds.S | 6 +-
7146 arch/arm/kvm/arm.c | 8 +-
7147 arch/arm/lib/copy_page.S | 1 +
7148 arch/arm/lib/csumpartialcopyuser.S | 4 +-
7149 arch/arm/lib/delay.c | 2 +-
7150 arch/arm/lib/uaccess_with_memcpy.c | 4 +-
7151 arch/arm/mach-exynos/suspend.c | 6 +-
7152 arch/arm/mach-mvebu/coherency.c | 4 +-
7153 arch/arm/mach-omap2/board-n8x0.c | 2 +-
7154 arch/arm/mach-omap2/omap-mpuss-lowpower.c | 4 +-
7155 arch/arm/mach-omap2/omap-smp.c | 1 +
7156 arch/arm/mach-omap2/omap_device.c | 4 +-
7157 arch/arm/mach-omap2/omap_device.h | 4 +-
7158 arch/arm/mach-omap2/omap_hwmod.c | 4 +-
7159 arch/arm/mach-omap2/powerdomains43xx_data.c | 5 +-
7160 arch/arm/mach-omap2/wd_timer.c | 6 +-
7161 arch/arm/mach-shmobile/platsmp-apmu.c | 5 +-
7162 arch/arm/mach-tegra/cpuidle-tegra20.c | 2 +-
7163 arch/arm/mach-tegra/irq.c | 1 +
7164 arch/arm/mach-ux500/pm.c | 1 +
7165 arch/arm/mach-zynq/platsmp.c | 1 +
7166 arch/arm/mm/Kconfig | 6 +-
7167 arch/arm/mm/cache-l2x0.c | 2 +-
7168 arch/arm/mm/context.c | 10 +-
7169 arch/arm/mm/fault.c | 146 +
7170 arch/arm/mm/fault.h | 12 +
7171 arch/arm/mm/init.c | 39 +
7172 arch/arm/mm/ioremap.c | 4 +-
7173 arch/arm/mm/mmap.c | 30 +-
7174 arch/arm/mm/mmu.c | 162 +-
7175 arch/arm/net/bpf_jit_32.c | 3 +
7176 arch/arm/plat-iop/setup.c | 2 +-
7177 arch/arm/plat-omap/sram.c | 2 +
7178 arch/arm64/include/asm/atomic.h | 10 +
7179 arch/arm64/include/asm/percpu.h | 8 +-
7180 arch/arm64/include/asm/pgalloc.h | 5 +
7181 arch/arm64/include/asm/uaccess.h | 1 +
7182 arch/arm64/mm/dma-mapping.c | 2 +-
7183 arch/avr32/include/asm/elf.h | 8 +-
7184 arch/avr32/include/asm/kmap_types.h | 4 +-
7185 arch/avr32/mm/fault.c | 27 +
7186 arch/frv/include/asm/atomic.h | 10 +
7187 arch/frv/include/asm/kmap_types.h | 2 +-
7188 arch/frv/mm/elf-fdpic.c | 3 +-
7189 arch/ia64/Makefile | 1 +
7190 arch/ia64/include/asm/atomic.h | 10 +
7191 arch/ia64/include/asm/elf.h | 7 +
7192 arch/ia64/include/asm/pgalloc.h | 12 +
7193 arch/ia64/include/asm/pgtable.h | 13 +-
7194 arch/ia64/include/asm/spinlock.h | 2 +-
7195 arch/ia64/include/asm/uaccess.h | 27 +-
7196 arch/ia64/kernel/module.c | 45 +-
7197 arch/ia64/kernel/palinfo.c | 2 +-
7198 arch/ia64/kernel/sys_ia64.c | 7 +
7199 arch/ia64/kernel/vmlinux.lds.S | 2 +-
7200 arch/ia64/mm/fault.c | 32 +-
7201 arch/ia64/mm/init.c | 15 +-
7202 arch/m32r/lib/usercopy.c | 6 +
7203 arch/mips/cavium-octeon/dma-octeon.c | 2 +-
7204 arch/mips/include/asm/atomic.h | 368 +-
7205 arch/mips/include/asm/elf.h | 7 +
7206 arch/mips/include/asm/exec.h | 2 +-
7207 arch/mips/include/asm/hw_irq.h | 2 +-
7208 arch/mips/include/asm/local.h | 57 +
7209 arch/mips/include/asm/page.h | 2 +-
7210 arch/mips/include/asm/pgalloc.h | 5 +
7211 arch/mips/include/asm/pgtable.h | 3 +
7212 arch/mips/include/asm/uaccess.h | 1 +
7213 arch/mips/kernel/binfmt_elfn32.c | 7 +
7214 arch/mips/kernel/binfmt_elfo32.c | 7 +
7215 arch/mips/kernel/irq-gt641xx.c | 2 +-
7216 arch/mips/kernel/irq.c | 6 +-
7217 arch/mips/kernel/pm-cps.c | 2 +-
7218 arch/mips/kernel/process.c | 12 -
7219 arch/mips/kernel/sync-r4k.c | 24 +-
7220 arch/mips/kernel/traps.c | 13 +-
7221 arch/mips/mm/fault.c | 25 +
7222 arch/mips/mm/mmap.c | 51 +-
7223 arch/mips/sgi-ip27/ip27-nmi.c | 6 +-
7224 arch/mips/sni/rm200.c | 2 +-
7225 arch/mips/vr41xx/common/icu.c | 2 +-
7226 arch/mips/vr41xx/common/irq.c | 4 +-
7227 arch/parisc/include/asm/atomic.h | 10 +
7228 arch/parisc/include/asm/elf.h | 7 +
7229 arch/parisc/include/asm/pgalloc.h | 6 +
7230 arch/parisc/include/asm/pgtable.h | 11 +
7231 arch/parisc/include/asm/uaccess.h | 4 +-
7232 arch/parisc/kernel/module.c | 50 +-
7233 arch/parisc/kernel/sys_parisc.c | 15 +
7234 arch/parisc/kernel/traps.c | 4 +-
7235 arch/parisc/mm/fault.c | 140 +-
7236 arch/powerpc/include/asm/atomic.h | 329 +-
7237 arch/powerpc/include/asm/elf.h | 12 +
7238 arch/powerpc/include/asm/exec.h | 2 +-
7239 arch/powerpc/include/asm/kmap_types.h | 2 +-
7240 arch/powerpc/include/asm/local.h | 46 +
7241 arch/powerpc/include/asm/mman.h | 2 +-
7242 arch/powerpc/include/asm/page.h | 8 +-
7243 arch/powerpc/include/asm/page_64.h | 7 +-
7244 arch/powerpc/include/asm/pgalloc-64.h | 7 +
7245 arch/powerpc/include/asm/pgtable.h | 1 +
7246 arch/powerpc/include/asm/pte-hash32.h | 1 +
7247 arch/powerpc/include/asm/reg.h | 1 +
7248 arch/powerpc/include/asm/smp.h | 2 +-
7249 arch/powerpc/include/asm/spinlock.h | 42 +-
7250 arch/powerpc/include/asm/uaccess.h | 141 +-
7251 arch/powerpc/kernel/Makefile | 5 +
7252 arch/powerpc/kernel/exceptions-64e.S | 4 +-
7253 arch/powerpc/kernel/exceptions-64s.S | 2 +-
7254 arch/powerpc/kernel/module_32.c | 15 +-
7255 arch/powerpc/kernel/process.c | 46 -
7256 arch/powerpc/kernel/signal_32.c | 2 +-
7257 arch/powerpc/kernel/signal_64.c | 2 +-
7258 arch/powerpc/kernel/traps.c | 21 +
7259 arch/powerpc/kernel/vdso.c | 5 +-
7260 arch/powerpc/lib/usercopy_64.c | 18 -
7261 arch/powerpc/mm/fault.c | 56 +-
7262 arch/powerpc/mm/mmap.c | 16 +
7263 arch/powerpc/mm/slice.c | 13 +-
7264 arch/powerpc/platforms/cell/spufs/file.c | 4 +-
7265 arch/s390/include/asm/atomic.h | 10 +
7266 arch/s390/include/asm/elf.h | 7 +
7267 arch/s390/include/asm/exec.h | 2 +-
7268 arch/s390/include/asm/uaccess.h | 13 +-
7269 arch/s390/kernel/module.c | 22 +-
7270 arch/s390/kernel/process.c | 20 -
7271 arch/s390/mm/mmap.c | 16 +
7272 arch/score/include/asm/exec.h | 2 +-
7273 arch/score/kernel/process.c | 5 -
7274 arch/sh/mm/mmap.c | 22 +-
7275 arch/sparc/include/asm/atomic_64.h | 110 +-
7276 arch/sparc/include/asm/cache.h | 2 +-
7277 arch/sparc/include/asm/elf_32.h | 7 +
7278 arch/sparc/include/asm/elf_64.h | 7 +
7279 arch/sparc/include/asm/pgalloc_32.h | 1 +
7280 arch/sparc/include/asm/pgalloc_64.h | 1 +
7281 arch/sparc/include/asm/pgtable.h | 4 +
7282 arch/sparc/include/asm/pgtable_32.h | 15 +-
7283 arch/sparc/include/asm/pgtsrmmu.h | 5 +
7284 arch/sparc/include/asm/setup.h | 4 +-
7285 arch/sparc/include/asm/spinlock_64.h | 35 +-
7286 arch/sparc/include/asm/thread_info_32.h | 1 +
7287 arch/sparc/include/asm/thread_info_64.h | 2 +
7288 arch/sparc/include/asm/uaccess.h | 1 +
7289 arch/sparc/include/asm/uaccess_32.h | 28 +-
7290 arch/sparc/include/asm/uaccess_64.h | 24 +-
7291 arch/sparc/kernel/Makefile | 2 +-
7292 arch/sparc/kernel/prom_common.c | 2 +-
7293 arch/sparc/kernel/smp_64.c | 8 +-
7294 arch/sparc/kernel/sys_sparc_32.c | 2 +-
7295 arch/sparc/kernel/sys_sparc_64.c | 52 +-
7296 arch/sparc/kernel/traps_64.c | 27 +-
7297 arch/sparc/lib/Makefile | 2 +-
7298 arch/sparc/lib/atomic_64.S | 57 +-
7299 arch/sparc/lib/ksyms.c | 6 +-
7300 arch/sparc/mm/Makefile | 2 +-
7301 arch/sparc/mm/fault_32.c | 292 +
7302 arch/sparc/mm/fault_64.c | 486 +
7303 arch/sparc/mm/hugetlbpage.c | 22 +-
7304 arch/sparc/mm/init_64.c | 10 +-
7305 arch/tile/include/asm/atomic_64.h | 10 +
7306 arch/tile/include/asm/uaccess.h | 4 +-
7307 arch/um/Makefile | 4 +
7308 arch/um/include/asm/kmap_types.h | 2 +-
7309 arch/um/include/asm/page.h | 3 +
7310 arch/um/include/asm/pgtable-3level.h | 1 +
7311 arch/um/kernel/process.c | 16 -
7312 arch/x86/Kconfig | 26 +-
7313 arch/x86/Kconfig.cpu | 6 +-
7314 arch/x86/Kconfig.debug | 4 +-
7315 arch/x86/Makefile | 13 +-
7316 arch/x86/boot/Makefile | 3 +
7317 arch/x86/boot/bitops.h | 4 +-
7318 arch/x86/boot/boot.h | 2 +-
7319 arch/x86/boot/compressed/Makefile | 3 +
7320 arch/x86/boot/compressed/efi_stub_32.S | 16 +-
7321 arch/x86/boot/compressed/efi_thunk_64.S | 4 +-
7322 arch/x86/boot/compressed/head_32.S | 4 +-
7323 arch/x86/boot/compressed/head_64.S | 12 +-
7324 arch/x86/boot/compressed/misc.c | 11 +-
7325 arch/x86/boot/cpucheck.c | 16 +-
7326 arch/x86/boot/header.S | 6 +-
7327 arch/x86/boot/memory.c | 2 +-
7328 arch/x86/boot/video-vesa.c | 1 +
7329 arch/x86/boot/video.c | 2 +-
7330 arch/x86/crypto/aes-x86_64-asm_64.S | 4 +
7331 arch/x86/crypto/aesni-intel_asm.S | 106 +-
7332 arch/x86/crypto/blowfish-x86_64-asm_64.S | 7 +
7333 arch/x86/crypto/camellia-aesni-avx-asm_64.S | 10 +
7334 arch/x86/crypto/camellia-aesni-avx2-asm_64.S | 10 +
7335 arch/x86/crypto/camellia-x86_64-asm_64.S | 7 +
7336 arch/x86/crypto/cast5-avx-x86_64-asm_64.S | 51 +-
7337 arch/x86/crypto/cast6-avx-x86_64-asm_64.S | 25 +-
7338 arch/x86/crypto/crc32c-pcl-intel-asm_64.S | 2 +
7339 arch/x86/crypto/ghash-clmulni-intel_asm.S | 4 +
7340 arch/x86/crypto/salsa20-x86_64-asm_64.S | 4 +
7341 arch/x86/crypto/serpent-avx-x86_64-asm_64.S | 9 +
7342 arch/x86/crypto/serpent-avx2-asm_64.S | 9 +
7343 arch/x86/crypto/serpent-sse2-x86_64-asm_64.S | 4 +
7344 arch/x86/crypto/sha1_ssse3_asm.S | 10 +-
7345 arch/x86/crypto/sha256-avx-asm.S | 2 +
7346 arch/x86/crypto/sha256-avx2-asm.S | 2 +
7347 arch/x86/crypto/sha256-ssse3-asm.S | 2 +
7348 arch/x86/crypto/sha512-avx-asm.S | 2 +
7349 arch/x86/crypto/sha512-avx2-asm.S | 2 +
7350 arch/x86/crypto/sha512-ssse3-asm.S | 2 +
7351 arch/x86/crypto/twofish-avx-x86_64-asm_64.S | 25 +-
7352 arch/x86/crypto/twofish-x86_64-asm_64-3way.S | 4 +
7353 arch/x86/crypto/twofish-x86_64-asm_64.S | 3 +
7354 arch/x86/entry/calling.h | 86 +-
7355 arch/x86/entry/common.c | 28 +-
7356 arch/x86/entry/entry_32.S | 311 +-
7357 arch/x86/entry/entry_64.S | 625 +-
7358 arch/x86/entry/entry_64_compat.S | 67 +-
7359 arch/x86/entry/thunk_64.S | 2 +
7360 arch/x86/entry/vdso/Makefile | 2 +-
7361 arch/x86/entry/vdso/vdso2c.h | 8 +-
7362 arch/x86/entry/vdso/vma.c | 37 +-
7363 arch/x86/entry/vsyscall/vsyscall_64.c | 20 +-
7364 arch/x86/entry/vsyscall/vsyscall_emu_64.S | 2 +-
7365 arch/x86/ia32/ia32_signal.c | 23 +-
7366 arch/x86/ia32/sys_ia32.c | 42 +-
7367 arch/x86/include/asm/alternative-asm.h | 43 +-
7368 arch/x86/include/asm/alternative.h | 4 +-
7369 arch/x86/include/asm/apic.h | 2 +-
7370 arch/x86/include/asm/apm.h | 4 +-
7371 arch/x86/include/asm/atomic.h | 230 +-
7372 arch/x86/include/asm/atomic64_32.h | 100 +
7373 arch/x86/include/asm/atomic64_64.h | 164 +-
7374 arch/x86/include/asm/bitops.h | 18 +-
7375 arch/x86/include/asm/boot.h | 2 +-
7376 arch/x86/include/asm/cache.h | 5 +-
7377 arch/x86/include/asm/checksum_32.h | 12 +-
7378 arch/x86/include/asm/cmpxchg.h | 39 +
7379 arch/x86/include/asm/compat.h | 4 +
7380 arch/x86/include/asm/cpufeature.h | 17 +-
7381 arch/x86/include/asm/desc.h | 78 +-
7382 arch/x86/include/asm/desc_defs.h | 6 +
7383 arch/x86/include/asm/div64.h | 2 +-
7384 arch/x86/include/asm/dma.h | 2 +
7385 arch/x86/include/asm/elf.h | 33 +-
7386 arch/x86/include/asm/emergency-restart.h | 2 +-
7387 arch/x86/include/asm/fpu/internal.h | 42 +-
7388 arch/x86/include/asm/fpu/types.h | 5 +-
7389 arch/x86/include/asm/futex.h | 14 +-
7390 arch/x86/include/asm/hw_irq.h | 4 +-
7391 arch/x86/include/asm/i8259.h | 2 +-
7392 arch/x86/include/asm/io.h | 22 +-
7393 arch/x86/include/asm/irqflags.h | 5 +
7394 arch/x86/include/asm/kprobes.h | 9 +-
7395 arch/x86/include/asm/local.h | 106 +-
7396 arch/x86/include/asm/mman.h | 15 +
7397 arch/x86/include/asm/mmu.h | 14 +-
7398 arch/x86/include/asm/mmu_context.h | 133 +-
7399 arch/x86/include/asm/module.h | 17 +-
7400 arch/x86/include/asm/nmi.h | 19 +-
7401 arch/x86/include/asm/page.h | 1 +
7402 arch/x86/include/asm/page_32.h | 12 +-
7403 arch/x86/include/asm/page_64.h | 14 +-
7404 arch/x86/include/asm/paravirt.h | 46 +-
7405 arch/x86/include/asm/paravirt_types.h | 15 +-
7406 arch/x86/include/asm/pgalloc.h | 23 +
7407 arch/x86/include/asm/pgtable-2level.h | 2 +
7408 arch/x86/include/asm/pgtable-3level.h | 7 +
7409 arch/x86/include/asm/pgtable.h | 126 +-
7410 arch/x86/include/asm/pgtable_32.h | 14 +-
7411 arch/x86/include/asm/pgtable_32_types.h | 24 +-
7412 arch/x86/include/asm/pgtable_64.h | 23 +-
7413 arch/x86/include/asm/pgtable_64_types.h | 5 +
7414 arch/x86/include/asm/pgtable_types.h | 26 +-
7415 arch/x86/include/asm/pmem.h | 2 +-
7416 arch/x86/include/asm/preempt.h | 2 +-
7417 arch/x86/include/asm/processor.h | 57 +-
7418 arch/x86/include/asm/ptrace.h | 15 +-
7419 arch/x86/include/asm/realmode.h | 4 +-
7420 arch/x86/include/asm/reboot.h | 10 +-
7421 arch/x86/include/asm/rmwcc.h | 84 +-
7422 arch/x86/include/asm/rwsem.h | 60 +-
7423 arch/x86/include/asm/segment.h | 27 +-
7424 arch/x86/include/asm/smap.h | 43 +
7425 arch/x86/include/asm/smp.h | 14 +-
7426 arch/x86/include/asm/stackprotector.h | 4 +-
7427 arch/x86/include/asm/stacktrace.h | 34 +-
7428 arch/x86/include/asm/switch_to.h | 4 +-
7429 arch/x86/include/asm/sys_ia32.h | 6 +-
7430 arch/x86/include/asm/thread_info.h | 27 +-
7431 arch/x86/include/asm/tlbflush.h | 77 +-
7432 arch/x86/include/asm/uaccess.h | 210 +-
7433 arch/x86/include/asm/uaccess_32.h | 28 +-
7434 arch/x86/include/asm/uaccess_64.h | 169 +-
7435 arch/x86/include/asm/word-at-a-time.h | 2 +-
7436 arch/x86/include/asm/x86_init.h | 10 +-
7437 arch/x86/include/asm/xen/page.h | 2 +-
7438 arch/x86/include/uapi/asm/e820.h | 2 +-
7439 arch/x86/kernel/Makefile | 2 +-
7440 arch/x86/kernel/acpi/boot.c | 4 +-
7441 arch/x86/kernel/acpi/sleep.c | 4 +
7442 arch/x86/kernel/acpi/wakeup_32.S | 6 +-
7443 arch/x86/kernel/alternative.c | 124 +-
7444 arch/x86/kernel/apic/apic.c | 4 +-
7445 arch/x86/kernel/apic/apic_flat_64.c | 6 +-
7446 arch/x86/kernel/apic/apic_noop.c | 2 +-
7447 arch/x86/kernel/apic/bigsmp_32.c | 2 +-
7448 arch/x86/kernel/apic/io_apic.c | 8 +-
7449 arch/x86/kernel/apic/msi.c | 2 +-
7450 arch/x86/kernel/apic/probe_32.c | 4 +-
7451 arch/x86/kernel/apic/vector.c | 2 +
7452 arch/x86/kernel/apic/x2apic_cluster.c | 2 +-
7453 arch/x86/kernel/apic/x2apic_phys.c | 2 +-
7454 arch/x86/kernel/apic/x2apic_uv_x.c | 2 +-
7455 arch/x86/kernel/apm_32.c | 21 +-
7456 arch/x86/kernel/asm-offsets.c | 20 +
7457 arch/x86/kernel/asm-offsets_64.c | 1 +
7458 arch/x86/kernel/cpu/Makefile | 4 -
7459 arch/x86/kernel/cpu/amd.c | 2 +-
7460 arch/x86/kernel/cpu/bugs_64.c | 2 +
7461 arch/x86/kernel/cpu/common.c | 202 +-
7462 arch/x86/kernel/cpu/intel_cacheinfo.c | 14 +-
7463 arch/x86/kernel/cpu/mcheck/mce.c | 34 +-
7464 arch/x86/kernel/cpu/mcheck/p5.c | 3 +
7465 arch/x86/kernel/cpu/mcheck/winchip.c | 3 +
7466 arch/x86/kernel/cpu/microcode/intel.c | 4 +-
7467 arch/x86/kernel/cpu/mtrr/generic.c | 6 +-
7468 arch/x86/kernel/cpu/mtrr/main.c | 2 +-
7469 arch/x86/kernel/cpu/mtrr/mtrr.h | 2 +-
7470 arch/x86/kernel/cpu/perf_event.c | 10 +-
7471 arch/x86/kernel/cpu/perf_event.h | 2 +-
7472 arch/x86/kernel/cpu/perf_event_amd_iommu.c | 2 +-
7473 arch/x86/kernel/cpu/perf_event_intel.c | 34 +-
7474 arch/x86/kernel/cpu/perf_event_intel_bts.c | 6 +-
7475 arch/x86/kernel/cpu/perf_event_intel_cqm.c | 4 +-
7476 arch/x86/kernel/cpu/perf_event_intel_ds.c | 7 +-
7477 arch/x86/kernel/cpu/perf_event_intel_lbr.c | 4 +-
7478 arch/x86/kernel/cpu/perf_event_intel_pt.c | 42 +-
7479 arch/x86/kernel/cpu/perf_event_intel_rapl.c | 2 +-
7480 arch/x86/kernel/cpu/perf_event_intel_uncore.c | 2 +-
7481 arch/x86/kernel/cpu/perf_event_intel_uncore.h | 2 +-
7482 arch/x86/kernel/crash_dump_64.c | 2 +-
7483 arch/x86/kernel/doublefault.c | 8 +-
7484 arch/x86/kernel/dumpstack.c | 24 +-
7485 arch/x86/kernel/dumpstack_32.c | 25 +-
7486 arch/x86/kernel/dumpstack_64.c | 62 +-
7487 arch/x86/kernel/e820.c | 4 +-
7488 arch/x86/kernel/early_printk.c | 1 +
7489 arch/x86/kernel/espfix_64.c | 44 +-
7490 arch/x86/kernel/fpu/core.c | 24 +-
7491 arch/x86/kernel/fpu/init.c | 40 +-
7492 arch/x86/kernel/fpu/regset.c | 22 +-
7493 arch/x86/kernel/fpu/signal.c | 20 +-
7494 arch/x86/kernel/fpu/xstate.c | 6 +-
7495 arch/x86/kernel/ftrace.c | 18 +-
7496 arch/x86/kernel/head64.c | 14 +-
7497 arch/x86/kernel/head_32.S | 235 +-
7498 arch/x86/kernel/head_64.S | 173 +-
7499 arch/x86/kernel/i386_ksyms_32.c | 12 +
7500 arch/x86/kernel/i8259.c | 10 +-
7501 arch/x86/kernel/io_delay.c | 2 +-
7502 arch/x86/kernel/ioport.c | 2 +-
7503 arch/x86/kernel/irq.c | 8 +-
7504 arch/x86/kernel/irq_32.c | 45 +-
7505 arch/x86/kernel/jump_label.c | 10 +-
7506 arch/x86/kernel/kgdb.c | 21 +-
7507 arch/x86/kernel/kprobes/core.c | 28 +-
7508 arch/x86/kernel/kprobes/opt.c | 16 +-
7509 arch/x86/kernel/ksysfs.c | 2 +-
7510 arch/x86/kernel/kvmclock.c | 20 +-
7511 arch/x86/kernel/ldt.c | 25 +
7512 arch/x86/kernel/livepatch.c | 11 +-
7513 arch/x86/kernel/machine_kexec_32.c | 6 +-
7514 arch/x86/kernel/mcount_64.S | 19 +-
7515 arch/x86/kernel/module.c | 78 +-
7516 arch/x86/kernel/msr.c | 2 +-
7517 arch/x86/kernel/nmi.c | 34 +-
7518 arch/x86/kernel/nmi_selftest.c | 4 +-
7519 arch/x86/kernel/paravirt-spinlocks.c | 2 +-
7520 arch/x86/kernel/paravirt.c | 45 +-
7521 arch/x86/kernel/paravirt_patch_64.c | 8 +
7522 arch/x86/kernel/pci-calgary_64.c | 2 +-
7523 arch/x86/kernel/pci-iommu_table.c | 2 +-
7524 arch/x86/kernel/pci-swiotlb.c | 2 +-
7525 arch/x86/kernel/process.c | 80 +-
7526 arch/x86/kernel/process_32.c | 29 +-
7527 arch/x86/kernel/process_64.c | 14 +-
7528 arch/x86/kernel/ptrace.c | 20 +-
7529 arch/x86/kernel/pvclock.c | 8 +-
7530 arch/x86/kernel/reboot.c | 44 +-
7531 arch/x86/kernel/reboot_fixups_32.c | 2 +-
7532 arch/x86/kernel/relocate_kernel_64.S | 3 +-
7533 arch/x86/kernel/setup.c | 29 +-
7534 arch/x86/kernel/setup_percpu.c | 29 +-
7535 arch/x86/kernel/signal.c | 17 +-
7536 arch/x86/kernel/smp.c | 2 +-
7537 arch/x86/kernel/smpboot.c | 29 +-
7538 arch/x86/kernel/step.c | 6 +-
7539 arch/x86/kernel/sys_i386_32.c | 184 +
7540 arch/x86/kernel/sys_x86_64.c | 22 +-
7541 arch/x86/kernel/tboot.c | 22 +-
7542 arch/x86/kernel/time.c | 8 +-
7543 arch/x86/kernel/tls.c | 7 +-
7544 arch/x86/kernel/tracepoint.c | 4 +-
7545 arch/x86/kernel/traps.c | 53 +-
7546 arch/x86/kernel/tsc.c | 2 +-
7547 arch/x86/kernel/uprobes.c | 4 +-
7548 arch/x86/kernel/vm86_32.c | 6 +-
7549 arch/x86/kernel/vmlinux.lds.S | 153 +-
7550 arch/x86/kernel/x8664_ksyms_64.c | 6 +-
7551 arch/x86/kernel/x86_init.c | 6 +-
7552 arch/x86/kvm/cpuid.c | 21 +-
7553 arch/x86/kvm/emulate.c | 6 +-
7554 arch/x86/kvm/i8259.c | 10 +-
7555 arch/x86/kvm/ioapic.c | 2 +
7556 arch/x86/kvm/lapic.c | 2 +-
7557 arch/x86/kvm/paging_tmpl.h | 2 +-
7558 arch/x86/kvm/svm.c | 10 +-
7559 arch/x86/kvm/vmx.c | 62 +-
7560 arch/x86/kvm/x86.c | 44 +-
7561 arch/x86/lguest/boot.c | 3 +-
7562 arch/x86/lib/atomic64_386_32.S | 164 +
7563 arch/x86/lib/atomic64_cx8_32.S | 98 +-
7564 arch/x86/lib/checksum_32.S | 99 +-
7565 arch/x86/lib/clear_page_64.S | 3 +
7566 arch/x86/lib/cmpxchg16b_emu.S | 3 +
7567 arch/x86/lib/copy_page_64.S | 14 +-
7568 arch/x86/lib/copy_user_64.S | 66 +-
7569 arch/x86/lib/csum-copy_64.S | 14 +-
7570 arch/x86/lib/csum-wrappers_64.c | 8 +-
7571 arch/x86/lib/getuser.S | 74 +-
7572 arch/x86/lib/insn.c | 8 +-
7573 arch/x86/lib/iomap_copy_64.S | 2 +
7574 arch/x86/lib/memcpy_64.S | 6 +
7575 arch/x86/lib/memmove_64.S | 3 +-
7576 arch/x86/lib/memset_64.S | 3 +
7577 arch/x86/lib/mmx_32.c | 243 +-
7578 arch/x86/lib/msr-reg.S | 2 +
7579 arch/x86/lib/putuser.S | 87 +-
7580 arch/x86/lib/rwsem.S | 6 +-
7581 arch/x86/lib/usercopy_32.c | 359 +-
7582 arch/x86/lib/usercopy_64.c | 22 +-
7583 arch/x86/math-emu/fpu_aux.c | 2 +-
7584 arch/x86/math-emu/fpu_entry.c | 4 +-
7585 arch/x86/math-emu/fpu_system.h | 2 +-
7586 arch/x86/mm/Makefile | 4 +
7587 arch/x86/mm/extable.c | 26 +-
7588 arch/x86/mm/fault.c | 570 +-
7589 arch/x86/mm/gup.c | 6 +-
7590 arch/x86/mm/highmem_32.c | 6 +
7591 arch/x86/mm/hugetlbpage.c | 24 +-
7592 arch/x86/mm/init.c | 111 +-
7593 arch/x86/mm/init_32.c | 111 +-
7594 arch/x86/mm/init_64.c | 46 +-
7595 arch/x86/mm/iomap_32.c | 4 +
7596 arch/x86/mm/ioremap.c | 52 +-
7597 arch/x86/mm/kmemcheck/kmemcheck.c | 4 +-
7598 arch/x86/mm/mmap.c | 40 +-
7599 arch/x86/mm/mmio-mod.c | 10 +-
7600 arch/x86/mm/mpx.c | 6 +-
7601 arch/x86/mm/numa.c | 4 +-
7602 arch/x86/mm/pageattr.c | 42 +-
7603 arch/x86/mm/pat.c | 12 +-
7604 arch/x86/mm/pat_rbtree.c | 2 +-
7605 arch/x86/mm/pf_in.c | 10 +-
7606 arch/x86/mm/pgtable.c | 214 +-
7607 arch/x86/mm/pgtable_32.c | 3 +
7608 arch/x86/mm/setup_nx.c | 7 +
7609 arch/x86/mm/tlb.c | 4 +
7610 arch/x86/mm/uderef_64.c | 37 +
7611 arch/x86/net/bpf_jit.S | 11 +
7612 arch/x86/net/bpf_jit_comp.c | 13 +-
7613 arch/x86/oprofile/backtrace.c | 6 +-
7614 arch/x86/oprofile/nmi_int.c | 8 +-
7615 arch/x86/oprofile/op_model_amd.c | 8 +-
7616 arch/x86/oprofile/op_model_ppro.c | 7 +-
7617 arch/x86/oprofile/op_x86_model.h | 2 +-
7618 arch/x86/pci/intel_mid_pci.c | 2 +-
7619 arch/x86/pci/irq.c | 8 +-
7620 arch/x86/pci/pcbios.c | 144 +-
7621 arch/x86/platform/efi/efi_32.c | 24 +
7622 arch/x86/platform/efi/efi_64.c | 26 +-
7623 arch/x86/platform/efi/efi_stub_32.S | 64 +-
7624 arch/x86/platform/efi/efi_stub_64.S | 2 +
7625 arch/x86/platform/intel-mid/intel-mid.c | 5 +-
7626 arch/x86/platform/intel-mid/intel_mid_weak_decls.h | 6 +-
7627 arch/x86/platform/intel-mid/mfld.c | 4 +-
7628 arch/x86/platform/intel-mid/mrfl.c | 2 +-
7629 arch/x86/platform/intel-quark/imr_selftest.c | 2 +-
7630 arch/x86/platform/olpc/olpc_dt.c | 2 +-
7631 arch/x86/power/cpu.c | 11 +-
7632 arch/x86/realmode/init.c | 10 +-
7633 arch/x86/realmode/rm/Makefile | 3 +
7634 arch/x86/realmode/rm/header.S | 4 +-
7635 arch/x86/realmode/rm/reboot.S | 4 +
7636 arch/x86/realmode/rm/trampoline_32.S | 12 +-
7637 arch/x86/realmode/rm/trampoline_64.S | 3 +-
7638 arch/x86/realmode/rm/wakeup_asm.S | 5 +-
7639 arch/x86/tools/Makefile | 2 +-
7640 arch/x86/tools/relocs.c | 96 +-
7641 arch/x86/um/mem_32.c | 2 +-
7642 arch/x86/um/tls_32.c | 2 +-
7643 arch/x86/xen/enlighten.c | 50 +-
7644 arch/x86/xen/mmu.c | 19 +-
7645 arch/x86/xen/smp.c | 16 +-
7646 arch/x86/xen/xen-asm_32.S | 2 +-
7647 arch/x86/xen/xen-head.S | 11 +
7648 arch/x86/xen/xen-ops.h | 2 -
7649 block/bio.c | 4 +-
7650 block/blk-cgroup.c | 18 +-
7651 block/blk-iopoll.c | 2 +-
7652 block/blk-map.c | 2 +-
7653 block/blk-softirq.c | 2 +-
7654 block/bsg.c | 12 +-
7655 block/cfq-iosched.c | 4 +-
7656 block/compat_ioctl.c | 4 +-
7657 block/genhd.c | 9 +-
7658 block/partitions/efi.c | 8 +-
7659 block/scsi_ioctl.c | 29 +-
7660 crypto/cryptd.c | 4 +-
7661 crypto/crypto_user.c | 8 +-
7662 crypto/pcrypt.c | 2 +-
7663 crypto/zlib.c | 12 +-
7664 drivers/acpi/acpi_video.c | 2 +-
7665 drivers/acpi/apei/apei-internal.h | 2 +-
7666 drivers/acpi/apei/ghes.c | 10 +-
7667 drivers/acpi/bgrt.c | 6 +-
7668 drivers/acpi/blacklist.c | 4 +-
7669 drivers/acpi/bus.c | 4 +-
7670 drivers/acpi/device_pm.c | 4 +-
7671 drivers/acpi/ec.c | 2 +-
7672 drivers/acpi/pci_slot.c | 2 +-
7673 drivers/acpi/processor_idle.c | 2 +-
7674 drivers/acpi/processor_pdc.c | 2 +-
7675 drivers/acpi/sleep.c | 2 +-
7676 drivers/acpi/sysfs.c | 4 +-
7677 drivers/acpi/thermal.c | 2 +-
7678 drivers/acpi/video_detect.c | 7 +-
7679 drivers/ata/libata-core.c | 12 +-
7680 drivers/ata/libata-scsi.c | 2 +-
7681 drivers/ata/libata.h | 2 +-
7682 drivers/ata/pata_arasan_cf.c | 4 +-
7683 drivers/atm/adummy.c | 2 +-
7684 drivers/atm/ambassador.c | 8 +-
7685 drivers/atm/atmtcp.c | 14 +-
7686 drivers/atm/eni.c | 10 +-
7687 drivers/atm/firestream.c | 8 +-
7688 drivers/atm/fore200e.c | 14 +-
7689 drivers/atm/he.c | 18 +-
7690 drivers/atm/horizon.c | 4 +-
7691 drivers/atm/idt77252.c | 36 +-
7692 drivers/atm/iphase.c | 34 +-
7693 drivers/atm/lanai.c | 12 +-
7694 drivers/atm/nicstar.c | 46 +-
7695 drivers/atm/solos-pci.c | 4 +-
7696 drivers/atm/suni.c | 4 +-
7697 drivers/atm/uPD98402.c | 16 +-
7698 drivers/atm/zatm.c | 6 +-
7699 drivers/base/bus.c | 4 +-
7700 drivers/base/devres.c | 4 +-
7701 drivers/base/devtmpfs.c | 8 +-
7702 drivers/base/node.c | 2 +-
7703 drivers/base/platform-msi.c | 20 +-
7704 drivers/base/power/domain.c | 7 +-
7705 drivers/base/power/runtime.c | 6 +-
7706 drivers/base/power/sysfs.c | 2 +-
7707 drivers/base/power/wakeup.c | 8 +-
7708 drivers/base/regmap/regmap-debugfs.c | 4 +-
7709 drivers/base/regmap/regmap.c | 4 +-
7710 drivers/base/syscore.c | 4 +-
7711 drivers/block/cciss.c | 28 +-
7712 drivers/block/cciss.h | 2 +-
7713 drivers/block/cpqarray.c | 28 +-
7714 drivers/block/cpqarray.h | 2 +-
7715 drivers/block/drbd/drbd_bitmap.c | 2 +-
7716 drivers/block/drbd/drbd_int.h | 8 +-
7717 drivers/block/drbd/drbd_main.c | 12 +-
7718 drivers/block/drbd/drbd_nl.c | 4 +-
7719 drivers/block/drbd/drbd_receiver.c | 38 +-
7720 drivers/block/drbd/drbd_worker.c | 14 +-
7721 drivers/block/pktcdvd.c | 4 +-
7722 drivers/block/rbd.c | 2 +-
7723 drivers/bluetooth/btwilink.c | 2 +-
7724 drivers/bus/arm-cci.c | 12 +-
7725 drivers/cdrom/cdrom.c | 11 +-
7726 drivers/cdrom/gdrom.c | 1 -
7727 drivers/char/agp/compat_ioctl.c | 2 +-
7728 drivers/char/agp/frontend.c | 4 +-
7729 drivers/char/agp/intel-gtt.c | 4 +-
7730 drivers/char/hpet.c | 2 +-
7731 drivers/char/ipmi/ipmi_msghandler.c | 8 +-
7732 drivers/char/ipmi/ipmi_si_intf.c | 8 +-
7733 drivers/char/ipmi/ipmi_ssif.c | 12 +-
7734 drivers/char/mem.c | 47 +-
7735 drivers/char/nvram.c | 2 +-
7736 drivers/char/pcmcia/synclink_cs.c | 16 +-
7737 drivers/char/random.c | 12 +-
7738 drivers/char/sonypi.c | 11 +-
7739 drivers/char/tpm/tpm_acpi.c | 3 +-
7740 drivers/char/tpm/tpm_eventlog.c | 5 +-
7741 drivers/char/virtio_console.c | 6 +-
7742 drivers/clk/clk-composite.c | 2 +-
7743 drivers/clk/samsung/clk.h | 2 +-
7744 drivers/clk/socfpga/clk-gate.c | 9 +-
7745 drivers/clk/socfpga/clk-pll.c | 9 +-
7746 drivers/clk/ti/clk.c | 8 +-
7747 drivers/cpufreq/acpi-cpufreq.c | 17 +-
7748 drivers/cpufreq/cpufreq-dt.c | 4 +-
7749 drivers/cpufreq/cpufreq.c | 30 +-
7750 drivers/cpufreq/cpufreq_governor.c | 2 +-
7751 drivers/cpufreq/cpufreq_governor.h | 4 +-
7752 drivers/cpufreq/cpufreq_ondemand.c | 10 +-
7753 drivers/cpufreq/intel_pstate.c | 38 +-
7754 drivers/cpufreq/p4-clockmod.c | 12 +-
7755 drivers/cpufreq/sparc-us3-cpufreq.c | 67 +-
7756 drivers/cpufreq/speedstep-centrino.c | 7 +-
7757 drivers/cpuidle/driver.c | 2 +-
7758 drivers/cpuidle/dt_idle_states.c | 2 +-
7759 drivers/cpuidle/governor.c | 2 +-
7760 drivers/cpuidle/sysfs.c | 2 +-
7761 drivers/crypto/hifn_795x.c | 4 +-
7762 drivers/devfreq/devfreq.c | 4 +-
7763 drivers/dma/sh/shdma-base.c | 4 +-
7764 drivers/dma/sh/shdmac.c | 2 +-
7765 drivers/edac/edac_device.c | 4 +-
7766 drivers/edac/edac_mc_sysfs.c | 2 +-
7767 drivers/edac/edac_pci.c | 4 +-
7768 drivers/edac/edac_pci_sysfs.c | 22 +-
7769 drivers/edac/mce_amd.h | 2 +-
7770 drivers/firewire/core-card.c | 6 +-
7771 drivers/firewire/core-device.c | 2 +-
7772 drivers/firewire/core-transaction.c | 1 +
7773 drivers/firewire/core.h | 1 +
7774 drivers/firmware/dmi-id.c | 2 +-
7775 drivers/firmware/dmi_scan.c | 12 +-
7776 drivers/firmware/efi/cper.c | 8 +-
7777 drivers/firmware/efi/efi.c | 12 +-
7778 drivers/firmware/efi/efivars.c | 2 +-
7779 drivers/firmware/efi/runtime-map.c | 2 +-
7780 drivers/firmware/google/gsmi.c | 2 +-
7781 drivers/firmware/google/memconsole.c | 7 +-
7782 drivers/firmware/memmap.c | 2 +-
7783 drivers/firmware/psci.c | 2 +-
7784 drivers/gpio/gpio-davinci.c | 6 +-
7785 drivers/gpio/gpio-em.c | 2 +-
7786 drivers/gpio/gpio-ich.c | 2 +-
7787 drivers/gpio/gpio-omap.c | 4 +-
7788 drivers/gpio/gpio-rcar.c | 2 +-
7789 drivers/gpio/gpio-vr41xx.c | 2 +-
7790 drivers/gpio/gpiolib.c | 12 +-
7791 drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +-
7792 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-
7793 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 18 +-
7794 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +-
7795 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 2 +-
7796 drivers/gpu/drm/amd/amdkfd/kfd_device.c | 6 +-
7797 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 90 +-
7798 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 8 +-
7799 .../drm/amd/amdkfd/kfd_device_queue_manager_cik.c | 14 +-
7800 .../drm/amd/amdkfd/kfd_device_queue_manager_vi.c | 14 +-
7801 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c | 4 +-
7802 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 2 +-
7803 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.h | 2 +-
7804 .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 16 +-
7805 drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 2 +-
7806 drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | 2 +-
7807 drivers/gpu/drm/amd/scheduler/sched_fence.c | 2 +-
7808 drivers/gpu/drm/armada/armada_drv.c | 3 +-
7809 drivers/gpu/drm/drm_crtc.c | 2 +-
7810 drivers/gpu/drm/drm_drv.c | 2 +-
7811 drivers/gpu/drm/drm_fops.c | 12 +-
7812 drivers/gpu/drm/drm_global.c | 14 +-
7813 drivers/gpu/drm/drm_info.c | 13 +-
7814 drivers/gpu/drm/drm_ioc32.c | 13 +-
7815 drivers/gpu/drm/drm_ioctl.c | 2 +-
7816 drivers/gpu/drm/drm_pci.c | 9 +-
7817 drivers/gpu/drm/exynos/exynos_drm_drv.c | 1 -
7818 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 10 +-
7819 drivers/gpu/drm/gma500/psb_drv.c | 1 -
7820 drivers/gpu/drm/i810/i810_dma.c | 2 +-
7821 drivers/gpu/drm/i810/i810_drv.c | 6 +-
7822 drivers/gpu/drm/i810/i810_drv.h | 6 +-
7823 drivers/gpu/drm/i915/i915_dma.c | 4 +-
7824 drivers/gpu/drm/i915/i915_drv.c | 7 +-
7825 drivers/gpu/drm/i915/i915_drv.h | 2 +-
7826 drivers/gpu/drm/i915/i915_gem_execbuffer.c | 4 +-
7827 drivers/gpu/drm/i915/i915_gem_gtt.c | 16 +-
7828 drivers/gpu/drm/i915/i915_gem_gtt.h | 6 +-
7829 drivers/gpu/drm/i915/i915_ioc32.c | 10 +-
7830 drivers/gpu/drm/i915/i915_irq.c | 88 +-
7831 drivers/gpu/drm/i915/intel_display.c | 26 +-
7832 drivers/gpu/drm/imx/imx-drm-core.c | 2 +-
7833 drivers/gpu/drm/mga/mga_drv.c | 5 +-
7834 drivers/gpu/drm/mga/mga_drv.h | 6 +-
7835 drivers/gpu/drm/mga/mga_ioc32.c | 10 +-
7836 drivers/gpu/drm/mga/mga_irq.c | 8 +-
7837 drivers/gpu/drm/mga/mga_state.c | 2 +-
7838 drivers/gpu/drm/nouveau/nouveau_bios.c | 2 +-
7839 drivers/gpu/drm/nouveau/nouveau_drm.c | 13 +-
7840 drivers/gpu/drm/nouveau/nouveau_drm.h | 1 -
7841 drivers/gpu/drm/nouveau/nouveau_ioc32.c | 2 +-
7842 drivers/gpu/drm/nouveau/nouveau_vga.c | 2 +-
7843 drivers/gpu/drm/omapdrm/Makefile | 2 +-
7844 drivers/gpu/drm/qxl/qxl_cmd.c | 12 +-
7845 drivers/gpu/drm/qxl/qxl_debugfs.c | 8 +-
7846 drivers/gpu/drm/qxl/qxl_drv.c | 8 +-
7847 drivers/gpu/drm/qxl/qxl_drv.h | 8 +-
7848 drivers/gpu/drm/qxl/qxl_ioctl.c | 12 +-
7849 drivers/gpu/drm/qxl/qxl_irq.c | 16 +-
7850 drivers/gpu/drm/qxl/qxl_ttm.c | 38 +-
7851 drivers/gpu/drm/r128/r128_cce.c | 2 +-
7852 drivers/gpu/drm/r128/r128_drv.c | 4 +-
7853 drivers/gpu/drm/r128/r128_drv.h | 6 +-
7854 drivers/gpu/drm/r128/r128_ioc32.c | 10 +-
7855 drivers/gpu/drm/r128/r128_irq.c | 4 +-
7856 drivers/gpu/drm/r128/r128_state.c | 6 +-
7857 drivers/gpu/drm/radeon/mkregtable.c | 4 +-
7858 drivers/gpu/drm/radeon/radeon_device.c | 2 +-
7859 drivers/gpu/drm/radeon/radeon_drv.c | 17 +-
7860 drivers/gpu/drm/radeon/radeon_drv.h | 4 +-
7861 drivers/gpu/drm/radeon/radeon_ioc32.c | 12 +-
7862 drivers/gpu/drm/radeon/radeon_irq.c | 6 +-
7863 drivers/gpu/drm/radeon/radeon_kms.c | 2 +-
7864 drivers/gpu/drm/radeon/radeon_state.c | 6 +-
7865 drivers/gpu/drm/radeon/radeon_ttm.c | 4 +-
7866 drivers/gpu/drm/savage/savage_bci.c | 2 +-
7867 drivers/gpu/drm/savage/savage_drv.c | 5 +-
7868 drivers/gpu/drm/savage/savage_drv.h | 2 +-
7869 drivers/gpu/drm/sis/sis_drv.c | 5 +-
7870 drivers/gpu/drm/sis/sis_drv.h | 2 +-
7871 drivers/gpu/drm/sis/sis_mm.c | 2 +-
7872 drivers/gpu/drm/tegra/dc.c | 2 +-
7873 drivers/gpu/drm/tegra/dsi.c | 2 +-
7874 drivers/gpu/drm/tegra/hdmi.c | 2 +-
7875 drivers/gpu/drm/tegra/sor.c | 7 +-
7876 drivers/gpu/drm/tilcdc/Makefile | 6 +-
7877 drivers/gpu/drm/ttm/ttm_memory.c | 4 +-
7878 drivers/gpu/drm/ttm/ttm_page_alloc.c | 18 +-
7879 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 18 +-
7880 drivers/gpu/drm/udl/udl_fb.c | 1 -
7881 drivers/gpu/drm/via/via_dma.c | 2 +-
7882 drivers/gpu/drm/via/via_drv.c | 5 +-
7883 drivers/gpu/drm/via/via_drv.h | 6 +-
7884 drivers/gpu/drm/via/via_irq.c | 18 +-
7885 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 2 +-
7886 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c | 8 +-
7887 drivers/gpu/drm/vmwgfx/vmwgfx_irq.c | 4 +-
7888 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c | 2 +-
7889 drivers/gpu/vga/vga_switcheroo.c | 4 +-
7890 drivers/hid/hid-core.c | 4 +-
7891 drivers/hid/hid-sensor-custom.c | 2 +-
7892 drivers/hv/channel.c | 6 +-
7893 drivers/hv/hv.c | 4 +-
7894 drivers/hv/hv_balloon.c | 18 +-
7895 drivers/hv/hyperv_vmbus.h | 2 +-
7896 drivers/hwmon/acpi_power_meter.c | 6 +-
7897 drivers/hwmon/applesmc.c | 2 +-
7898 drivers/hwmon/asus_atk0110.c | 10 +-
7899 drivers/hwmon/coretemp.c | 2 +-
7900 drivers/hwmon/dell-smm-hwmon.c | 2 +-
7901 drivers/hwmon/ibmaem.c | 2 +-
7902 drivers/hwmon/iio_hwmon.c | 2 +-
7903 drivers/hwmon/nct6683.c | 6 +-
7904 drivers/hwmon/nct6775.c | 6 +-
7905 drivers/hwmon/pmbus/pmbus_core.c | 10 +-
7906 drivers/hwmon/sht15.c | 12 +-
7907 drivers/hwmon/via-cputemp.c | 2 +-
7908 drivers/i2c/busses/i2c-amd756-s4882.c | 2 +-
7909 drivers/i2c/busses/i2c-designware-pcidrv.c | 2 +-
7910 drivers/i2c/busses/i2c-nforce2-s4985.c | 2 +-
7911 drivers/i2c/i2c-dev.c | 2 +-
7912 drivers/ide/ide-cd.c | 2 +-
7913 drivers/ide/ide-disk.c | 2 +-
7914 drivers/iio/industrialio-core.c | 2 +-
7915 drivers/iio/magnetometer/ak8975.c | 2 +-
7916 drivers/infiniband/core/cm.c | 32 +-
7917 drivers/infiniband/core/fmr_pool.c | 20 +-
7918 drivers/infiniband/core/netlink.c | 5 +-
7919 drivers/infiniband/core/uverbs_cmd.c | 3 +
7920 drivers/infiniband/hw/cxgb4/device.c | 6 +-
7921 drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 2 +-
7922 drivers/infiniband/hw/cxgb4/mem.c | 4 +-
7923 drivers/infiniband/hw/mlx4/mad.c | 2 +-
7924 drivers/infiniband/hw/mlx4/mcg.c | 2 +-
7925 drivers/infiniband/hw/mlx4/mlx4_ib.h | 2 +-
7926 drivers/infiniband/hw/mthca/mthca_cmd.c | 8 +-
7927 drivers/infiniband/hw/mthca/mthca_main.c | 2 +-
7928 drivers/infiniband/hw/mthca/mthca_mr.c | 6 +-
7929 drivers/infiniband/hw/mthca/mthca_provider.c | 2 +-
7930 drivers/infiniband/hw/nes/nes.c | 4 +-
7931 drivers/infiniband/hw/nes/nes.h | 40 +-
7932 drivers/infiniband/hw/nes/nes_cm.c | 62 +-
7933 drivers/infiniband/hw/nes/nes_mgt.c | 8 +-
7934 drivers/infiniband/hw/nes/nes_nic.c | 40 +-
7935 drivers/infiniband/hw/nes/nes_verbs.c | 10 +-
7936 drivers/infiniband/hw/qib/qib.h | 1 +
7937 drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 2 +-
7938 drivers/input/evdev.c | 2 +-
7939 drivers/input/gameport/gameport.c | 4 +-
7940 drivers/input/input.c | 4 +-
7941 drivers/input/joystick/sidewinder.c | 1 +
7942 drivers/input/misc/ims-pcu.c | 4 +-
7943 drivers/input/mouse/psmouse.h | 2 +-
7944 drivers/input/mousedev.c | 2 +-
7945 drivers/input/serio/serio.c | 4 +-
7946 drivers/input/serio/serio_raw.c | 4 +-
7947 drivers/input/touchscreen/htcpen.c | 2 +-
7948 drivers/iommu/arm-smmu-v3.c | 2 +-
7949 drivers/iommu/arm-smmu.c | 43 +-
7950 drivers/iommu/io-pgtable-arm.c | 101 +-
7951 drivers/iommu/io-pgtable.c | 11 +-
7952 drivers/iommu/io-pgtable.h | 19 +-
7953 drivers/iommu/iommu.c | 2 +-
7954 drivers/iommu/ipmmu-vmsa.c | 13 +-
7955 drivers/iommu/irq_remapping.c | 2 +-
7956 drivers/irqchip/irq-gic.c | 2 +-
7957 drivers/irqchip/irq-i8259.c | 2 +-
7958 drivers/irqchip/irq-renesas-intc-irqpin.c | 2 +-
7959 drivers/isdn/capi/capi.c | 10 +-
7960 drivers/isdn/gigaset/interface.c | 8 +-
7961 drivers/isdn/gigaset/usb-gigaset.c | 2 +-
7962 drivers/isdn/hardware/avm/b1.c | 4 +-
7963 drivers/isdn/i4l/isdn_common.c | 2 +
7964 drivers/isdn/i4l/isdn_tty.c | 22 +-
7965 drivers/isdn/icn/icn.c | 2 +-
7966 drivers/isdn/mISDN/dsp_cmx.c | 2 +-
7967 drivers/lguest/core.c | 10 +-
7968 drivers/lguest/page_tables.c | 2 +-
7969 drivers/lguest/x86/core.c | 12 +-
7970 drivers/lguest/x86/switcher_32.S | 27 +-
7971 drivers/md/bcache/alloc.c | 2 +-
7972 drivers/md/bcache/bcache.h | 10 +-
7973 drivers/md/bcache/btree.c | 2 +-
7974 drivers/md/bcache/closure.h | 2 +-
7975 drivers/md/bcache/io.c | 10 +-
7976 drivers/md/bcache/journal.c | 2 +-
7977 drivers/md/bcache/stats.c | 26 +-
7978 drivers/md/bcache/stats.h | 16 +-
7979 drivers/md/bcache/super.c | 2 +-
7980 drivers/md/bcache/sysfs.c | 20 +-
7981 drivers/md/bitmap.c | 2 +-
7982 drivers/md/dm-cache-target.c | 98 +-
7983 drivers/md/dm-ioctl.c | 2 +-
7984 drivers/md/dm-raid.c | 2 +-
7985 drivers/md/dm-raid1.c | 18 +-
7986 drivers/md/dm-stats.c | 6 +-
7987 drivers/md/dm-stripe.c | 10 +-
7988 drivers/md/dm-table.c | 2 +-
7989 drivers/md/dm-thin-metadata.c | 4 +-
7990 drivers/md/dm.c | 28 +-
7991 drivers/md/md.c | 37 +-
7992 drivers/md/md.h | 8 +-
7993 drivers/md/persistent-data/dm-space-map-metadata.c | 4 +-
7994 drivers/md/persistent-data/dm-space-map.h | 1 +
7995 drivers/md/raid1.c | 8 +-
7996 drivers/md/raid10.c | 20 +-
7997 drivers/md/raid5.c | 26 +-
7998 drivers/media/dvb-core/dvbdev.c | 2 +-
7999 drivers/media/dvb-frontends/af9033.h | 2 +-
8000 drivers/media/dvb-frontends/dib3000.h | 2 +-
8001 drivers/media/dvb-frontends/dib7000p.h | 2 +-
8002 drivers/media/dvb-frontends/dib8000.h | 2 +-
8003 drivers/media/pci/cx88/cx88-video.c | 6 +-
8004 drivers/media/pci/ivtv/ivtv-driver.c | 2 +-
8005 drivers/media/pci/solo6x10/solo6x10-core.c | 2 +-
8006 drivers/media/pci/solo6x10/solo6x10-p2m.c | 2 +-
8007 drivers/media/pci/solo6x10/solo6x10.h | 2 +-
8008 drivers/media/pci/tw68/tw68-core.c | 2 +-
8009 drivers/media/pci/zoran/zoran.h | 1 -
8010 drivers/media/pci/zoran/zoran_driver.c | 3 -
8011 drivers/media/platform/omap/omap_vout.c | 11 +-
8012 drivers/media/platform/s5p-tv/mixer.h | 2 +-
8013 drivers/media/platform/s5p-tv/mixer_grp_layer.c | 2 +-
8014 drivers/media/platform/s5p-tv/mixer_reg.c | 2 +-
8015 drivers/media/platform/s5p-tv/mixer_video.c | 24 +-
8016 drivers/media/platform/s5p-tv/mixer_vp_layer.c | 2 +-
8017 drivers/media/radio/radio-cadet.c | 2 +
8018 drivers/media/radio/radio-maxiradio.c | 2 +-
8019 drivers/media/radio/radio-shark.c | 2 +-
8020 drivers/media/radio/radio-shark2.c | 2 +-
8021 drivers/media/radio/radio-si476x.c | 2 +-
8022 drivers/media/radio/wl128x/fmdrv_common.c | 2 +-
8023 drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 12 +-
8024 drivers/media/v4l2-core/v4l2-device.c | 4 +-
8025 drivers/media/v4l2-core/v4l2-ioctl.c | 13 +-
8026 drivers/memory/omap-gpmc.c | 21 +-
8027 drivers/message/fusion/mptsas.c | 34 +-
8028 drivers/mfd/ab8500-debugfs.c | 2 +-
8029 drivers/mfd/kempld-core.c | 2 +-
8030 drivers/mfd/max8925-i2c.c | 2 +-
8031 drivers/mfd/tps65910.c | 2 +-
8032 drivers/mfd/twl4030-irq.c | 9 +-
8033 drivers/misc/c2port/core.c | 4 +-
8034 drivers/misc/kgdbts.c | 4 +-
8035 drivers/misc/lis3lv02d/lis3lv02d.c | 8 +-
8036 drivers/misc/lis3lv02d/lis3lv02d.h | 2 +-
8037 drivers/misc/mic/scif/scif_api.c | 10 +-
8038 drivers/misc/mic/scif/scif_rb.c | 8 +-
8039 drivers/misc/sgi-gru/gruhandles.c | 4 +-
8040 drivers/misc/sgi-gru/gruprocfs.c | 8 +-
8041 drivers/misc/sgi-gru/grutables.h | 158 +-
8042 drivers/misc/sgi-xp/xp.h | 2 +-
8043 drivers/misc/sgi-xp/xpc.h | 3 +-
8044 drivers/misc/sgi-xp/xpc_main.c | 2 +-
8045 drivers/mmc/host/dw_mmc.h | 2 +-
8046 drivers/mmc/host/mmci.c | 4 +-
8047 drivers/mmc/host/omap_hsmmc.c | 4 +-
8048 drivers/mmc/host/sdhci-esdhc-imx.c | 7 +-
8049 drivers/mmc/host/sdhci-s3c.c | 8 +-
8050 drivers/mtd/chips/cfi_cmdset_0020.c | 2 +-
8051 drivers/mtd/nand/denali.c | 1 +
8052 drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 2 +-
8053 drivers/mtd/nftlmount.c | 1 +
8054 drivers/mtd/sm_ftl.c | 2 +-
8055 drivers/net/bonding/bond_netlink.c | 2 +-
8056 drivers/net/caif/caif_hsi.c | 2 +-
8057 drivers/net/can/Kconfig | 2 +-
8058 drivers/net/can/dev.c | 2 +-
8059 drivers/net/can/vcan.c | 2 +-
8060 drivers/net/dummy.c | 2 +-
8061 drivers/net/ethernet/8390/ax88796.c | 4 +-
8062 drivers/net/ethernet/altera/altera_tse_main.c | 4 +-
8063 drivers/net/ethernet/amd/xgbe/xgbe-common.h | 4 +-
8064 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c | 4 +-
8065 drivers/net/ethernet/amd/xgbe/xgbe-desc.c | 27 +-
8066 drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 143 +-
8067 drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 64 +-
8068 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 10 +-
8069 drivers/net/ethernet/amd/xgbe/xgbe-main.c | 15 +-
8070 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 27 +-
8071 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c | 4 +-
8072 drivers/net/ethernet/amd/xgbe/xgbe.h | 10 +-
8073 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 2 +-
8074 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | 11 +-
8075 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h | 3 +-
8076 drivers/net/ethernet/broadcom/tg3.h | 1 +
8077 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c | 6 +-
8078 drivers/net/ethernet/cavium/liquidio/lio_main.c | 11 +-
8079 drivers/net/ethernet/chelsio/cxgb3/l2t.h | 2 +-
8080 drivers/net/ethernet/dec/tulip/de4x5.c | 4 +-
8081 drivers/net/ethernet/emulex/benet/be_main.c | 2 +-
8082 drivers/net/ethernet/faraday/ftgmac100.c | 2 +
8083 drivers/net/ethernet/faraday/ftmac100.c | 2 +
8084 drivers/net/ethernet/intel/i40e/i40e_ptp.c | 2 +-
8085 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 2 +-
8086 drivers/net/ethernet/mellanox/mlx4/en_tx.c | 4 +-
8087 drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 7 +-
8088 drivers/net/ethernet/neterion/vxge/vxge-config.c | 7 +-
8089 drivers/net/ethernet/nvidia/forcedeth.c | 4 +-
8090 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 4 +-
8091 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c | 12 +-
8092 .../net/ethernet/qlogic/qlcnic/qlcnic_minidump.c | 2 +-
8093 drivers/net/ethernet/realtek/r8169.c | 8 +-
8094 drivers/net/ethernet/sfc/ptp.c | 2 +-
8095 drivers/net/ethernet/sfc/selftest.c | 20 +-
8096 drivers/net/ethernet/stmicro/stmmac/mmc_core.c | 4 +-
8097 drivers/net/ethernet/via/via-rhine.c | 2 +-
8098 drivers/net/geneve.c | 2 +-
8099 drivers/net/hyperv/hyperv_net.h | 2 +-
8100 drivers/net/hyperv/rndis_filter.c | 7 +-
8101 drivers/net/ifb.c | 2 +-
8102 drivers/net/ipvlan/ipvlan_core.c | 2 +-
8103 drivers/net/irda/vlsi_ir.c | 18 +-
8104 drivers/net/irda/vlsi_ir.h | 14 +-
8105 drivers/net/macvlan.c | 20 +-
8106 drivers/net/macvtap.c | 10 +-
8107 drivers/net/nlmon.c | 2 +-
8108 drivers/net/phy/phy_device.c | 6 +-
8109 drivers/net/ppp/ppp_generic.c | 4 +-
8110 drivers/net/slip/slhc.c | 2 +-
8111 drivers/net/team/team.c | 4 +-
8112 drivers/net/tun.c | 7 +-
8113 drivers/net/usb/hso.c | 23 +-
8114 drivers/net/usb/r8152.c | 2 +-
8115 drivers/net/usb/sierra_net.c | 4 +-
8116 drivers/net/virtio_net.c | 2 +-
8117 drivers/net/vrf.c | 2 +-
8118 drivers/net/vxlan.c | 4 +-
8119 drivers/net/wimax/i2400m/rx.c | 2 +-
8120 drivers/net/wireless/airo.c | 2 +-
8121 drivers/net/wireless/at76c50x-usb.c | 2 +-
8122 drivers/net/wireless/ath/ath10k/ce.c | 6 +-
8123 drivers/net/wireless/ath/ath10k/htc.h | 4 +-
8124 drivers/net/wireless/ath/ath9k/ar9002_mac.c | 36 +-
8125 drivers/net/wireless/ath/ath9k/ar9003_mac.c | 64 +-
8126 drivers/net/wireless/ath/ath9k/hw.h | 4 +-
8127 drivers/net/wireless/ath/ath9k/main.c | 22 +-
8128 drivers/net/wireless/ath/carl9170/carl9170.h | 6 +-
8129 drivers/net/wireless/ath/carl9170/debug.c | 6 +-
8130 drivers/net/wireless/ath/carl9170/main.c | 10 +-
8131 drivers/net/wireless/ath/carl9170/tx.c | 4 +-
8132 drivers/net/wireless/ath/wil6210/wil_platform.h | 2 +-
8133 drivers/net/wireless/b43/phy_lp.c | 2 +-
8134 drivers/net/wireless/iwlegacy/3945-mac.c | 4 +-
8135 drivers/net/wireless/iwlwifi/dvm/debugfs.c | 34 +-
8136 drivers/net/wireless/iwlwifi/mvm/d3.c | 4 +-
8137 drivers/net/wireless/iwlwifi/mvm/tx.c | 2 +-
8138 drivers/net/wireless/iwlwifi/pcie/trans.c | 4 +-
8139 drivers/net/wireless/mac80211_hwsim.c | 28 +-
8140 drivers/net/wireless/rt2x00/rt2x00.h | 2 +-
8141 drivers/net/wireless/rt2x00/rt2x00queue.c | 4 +-
8142 drivers/net/wireless/ti/wl1251/sdio.c | 12 +-
8143 drivers/net/wireless/ti/wl12xx/main.c | 8 +-
8144 drivers/net/wireless/ti/wl18xx/main.c | 6 +-
8145 drivers/of/fdt.c | 4 +-
8146 drivers/oprofile/buffer_sync.c | 8 +-
8147 drivers/oprofile/event_buffer.c | 2 +-
8148 drivers/oprofile/oprof.c | 2 +-
8149 drivers/oprofile/oprofile_stats.c | 10 +-
8150 drivers/oprofile/oprofile_stats.h | 10 +-
8151 drivers/oprofile/oprofilefs.c | 6 +-
8152 drivers/oprofile/timer_int.c | 2 +-
8153 drivers/parport/procfs.c | 4 +-
8154 drivers/pci/host/pci-host-generic.c | 2 +-
8155 drivers/pci/hotplug/acpiphp_ibm.c | 4 +-
8156 drivers/pci/hotplug/cpcihp_generic.c | 6 +-
8157 drivers/pci/hotplug/cpcihp_zt5550.c | 14 +-
8158 drivers/pci/hotplug/cpqphp_nvram.c | 2 +
8159 drivers/pci/hotplug/pci_hotplug_core.c | 6 +-
8160 drivers/pci/hotplug/pciehp_core.c | 2 +-
8161 drivers/pci/msi.c | 22 +-
8162 drivers/pci/pci-sysfs.c | 6 +-
8163 drivers/pci/pci.h | 2 +-
8164 drivers/pci/pcie/aspm.c | 6 +-
8165 drivers/pci/pcie/portdrv_pci.c | 2 +-
8166 drivers/pci/probe.c | 2 +-
8167 drivers/pinctrl/nomadik/pinctrl-nomadik.c | 2 +-
8168 drivers/pinctrl/pinctrl-at91.c | 5 +-
8169 drivers/platform/chrome/chromeos_pstore.c | 2 +-
8170 drivers/platform/x86/alienware-wmi.c | 4 +-
8171 drivers/platform/x86/compal-laptop.c | 2 +-
8172 drivers/platform/x86/hdaps.c | 2 +-
8173 drivers/platform/x86/ibm_rtl.c | 2 +-
8174 drivers/platform/x86/intel_oaktrail.c | 2 +-
8175 drivers/platform/x86/msi-laptop.c | 16 +-
8176 drivers/platform/x86/msi-wmi.c | 2 +-
8177 drivers/platform/x86/samsung-laptop.c | 2 +-
8178 drivers/platform/x86/samsung-q10.c | 2 +-
8179 drivers/platform/x86/sony-laptop.c | 14 +-
8180 drivers/platform/x86/thinkpad_acpi.c | 2 +-
8181 drivers/pnp/pnpbios/bioscalls.c | 14 +-
8182 drivers/pnp/pnpbios/core.c | 2 +-
8183 drivers/power/pda_power.c | 7 +-
8184 drivers/power/power_supply.h | 4 +-
8185 drivers/power/power_supply_core.c | 7 +-
8186 drivers/power/power_supply_sysfs.c | 6 +-
8187 drivers/power/reset/at91-reset.c | 5 +-
8188 drivers/powercap/powercap_sys.c | 136 +-
8189 drivers/ptp/ptp_private.h | 2 +-
8190 drivers/ptp/ptp_sysfs.c | 2 +-
8191 drivers/regulator/core.c | 4 +-
8192 drivers/regulator/max8660.c | 6 +-
8193 drivers/regulator/max8973-regulator.c | 16 +-
8194 drivers/regulator/mc13892-regulator.c | 8 +-
8195 drivers/rtc/rtc-armada38x.c | 7 +-
8196 drivers/rtc/rtc-cmos.c | 4 +-
8197 drivers/rtc/rtc-ds1307.c | 2 +-
8198 drivers/rtc/rtc-m48t59.c | 4 +-
8199 drivers/rtc/rtc-rv8803.c | 15 +-
8200 drivers/rtc/rtc-test.c | 6 +-
8201 drivers/scsi/bfa/bfa_fcpim.h | 2 +-
8202 drivers/scsi/bfa/bfa_ioc.h | 4 +-
8203 drivers/scsi/fcoe/fcoe_sysfs.c | 12 +-
8204 drivers/scsi/hosts.c | 4 +-
8205 drivers/scsi/hpsa.c | 38 +-
8206 drivers/scsi/hpsa.h | 2 +-
8207 drivers/scsi/hptiop.c | 2 -
8208 drivers/scsi/hptiop.h | 1 -
8209 drivers/scsi/ipr.c | 6 +-
8210 drivers/scsi/ipr.h | 2 +-
8211 drivers/scsi/libfc/fc_exch.c | 50 +-
8212 drivers/scsi/libsas/sas_ata.c | 2 +-
8213 drivers/scsi/lpfc/lpfc.h | 8 +-
8214 drivers/scsi/lpfc/lpfc_debugfs.c | 18 +-
8215 drivers/scsi/lpfc/lpfc_init.c | 6 +-
8216 drivers/scsi/lpfc/lpfc_scsi.c | 10 +-
8217 drivers/scsi/megaraid/megaraid_sas.h | 2 +-
8218 drivers/scsi/pmcraid.c | 20 +-
8219 drivers/scsi/pmcraid.h | 8 +-
8220 drivers/scsi/qla2xxx/qla_attr.c | 4 +-
8221 drivers/scsi/qla2xxx/qla_gbl.h | 4 +-
8222 drivers/scsi/qla2xxx/qla_os.c | 6 +-
8223 drivers/scsi/qla2xxx/qla_target.c | 10 +-
8224 drivers/scsi/qla2xxx/qla_target.h | 2 +-
8225 drivers/scsi/qla4xxx/ql4_def.h | 2 +-
8226 drivers/scsi/qla4xxx/ql4_os.c | 6 +-
8227 drivers/scsi/scsi.c | 2 +-
8228 drivers/scsi/scsi_lib.c | 8 +-
8229 drivers/scsi/scsi_sysfs.c | 2 +-
8230 drivers/scsi/scsi_transport_fc.c | 8 +-
8231 drivers/scsi/scsi_transport_iscsi.c | 6 +-
8232 drivers/scsi/scsi_transport_srp.c | 6 +-
8233 drivers/scsi/sd.c | 6 +-
8234 drivers/scsi/sg.c | 2 +-
8235 drivers/scsi/sr.c | 21 +-
8236 drivers/soc/tegra/fuse/fuse-tegra.c | 2 +-
8237 drivers/spi/spi.c | 2 +-
8238 drivers/staging/android/timed_output.c | 6 +-
8239 drivers/staging/comedi/comedi_fops.c | 8 +-
8240 drivers/staging/fbtft/fbtft-core.c | 2 +-
8241 drivers/staging/fbtft/fbtft.h | 2 +-
8242 drivers/staging/gdm724x/gdm_tty.c | 2 +-
8243 drivers/staging/iio/accel/lis3l02dq_ring.c | 2 +-
8244 drivers/staging/iio/adc/ad7280a.c | 4 +-
8245 drivers/staging/lustre/lnet/selftest/brw_test.c | 12 +-
8246 drivers/staging/lustre/lnet/selftest/framework.c | 4 -
8247 drivers/staging/lustre/lnet/selftest/ping_test.c | 14 +-
8248 drivers/staging/lustre/lustre/include/lustre_dlm.h | 2 +-
8249 drivers/staging/lustre/lustre/include/obd.h | 2 +-
8250 drivers/staging/octeon/ethernet-rx.c | 20 +-
8251 drivers/staging/octeon/ethernet.c | 8 +-
8252 drivers/staging/rdma/ipath/ipath_rc.c | 6 +-
8253 drivers/staging/rdma/ipath/ipath_ruc.c | 6 +-
8254 drivers/staging/rtl8188eu/include/hal_intf.h | 2 +-
8255 drivers/staging/rtl8712/rtl871x_io.h | 2 +-
8256 drivers/staging/sm750fb/sm750.c | 14 +-
8257 drivers/staging/unisys/visorbus/visorbus_private.h | 4 +-
8258 drivers/target/sbp/sbp_target.c | 4 +-
8259 drivers/thermal/cpu_cooling.c | 9 +-
8260 drivers/thermal/devfreq_cooling.c | 19 +-
8261 drivers/thermal/int340x_thermal/int3400_thermal.c | 6 +-
8262 drivers/thermal/of-thermal.c | 17 +-
8263 drivers/thermal/x86_pkg_temp_thermal.c | 2 +-
8264 drivers/tty/cyclades.c | 6 +-
8265 drivers/tty/hvc/hvc_console.c | 14 +-
8266 drivers/tty/hvc/hvcs.c | 21 +-
8267 drivers/tty/hvc/hvsi.c | 22 +-
8268 drivers/tty/hvc/hvsi_lib.c | 4 +-
8269 drivers/tty/ipwireless/tty.c | 27 +-
8270 drivers/tty/moxa.c | 2 +-
8271 drivers/tty/n_gsm.c | 4 +-
8272 drivers/tty/n_tty.c | 19 +-
8273 drivers/tty/pty.c | 4 +-
8274 drivers/tty/rocket.c | 6 +-
8275 drivers/tty/serial/8250/8250_core.c | 10 +-
8276 drivers/tty/serial/ifx6x60.c | 2 +-
8277 drivers/tty/serial/ioc4_serial.c | 6 +-
8278 drivers/tty/serial/kgdb_nmi.c | 4 +-
8279 drivers/tty/serial/kgdboc.c | 32 +-
8280 drivers/tty/serial/msm_serial.c | 4 +-
8281 drivers/tty/serial/samsung.c | 9 +-
8282 drivers/tty/serial/serial_core.c | 8 +-
8283 drivers/tty/synclink.c | 34 +-
8284 drivers/tty/synclink_gt.c | 28 +-
8285 drivers/tty/synclinkmp.c | 34 +-
8286 drivers/tty/tty_io.c | 2 +-
8287 drivers/tty/tty_ldisc.c | 8 +-
8288 drivers/tty/tty_port.c | 22 +-
8289 drivers/uio/uio.c | 13 +-
8290 drivers/usb/atm/cxacru.c | 2 +-
8291 drivers/usb/atm/usbatm.c | 24 +-
8292 drivers/usb/class/cdc-acm.h | 2 +-
8293 drivers/usb/core/devices.c | 6 +-
8294 drivers/usb/core/devio.c | 12 +-
8295 drivers/usb/core/hcd.c | 4 +-
8296 drivers/usb/core/sysfs.c | 2 +-
8297 drivers/usb/core/usb.c | 2 +-
8298 drivers/usb/early/ehci-dbgp.c | 16 +-
8299 drivers/usb/gadget/function/u_serial.c | 22 +-
8300 drivers/usb/gadget/udc/dummy_hcd.c | 2 +-
8301 drivers/usb/host/ehci-hcd.c | 2 +-
8302 drivers/usb/host/ehci-hub.c | 4 +-
8303 drivers/usb/host/ehci-q.c | 4 +-
8304 drivers/usb/host/fotg210-hcd.c | 2 +-
8305 drivers/usb/host/hwa-hc.c | 2 +-
8306 drivers/usb/host/ohci-hcd.c | 2 +-
8307 drivers/usb/host/r8a66597.h | 2 +-
8308 drivers/usb/host/uhci-hcd.c | 2 +-
8309 drivers/usb/host/xhci-pci.c | 2 +-
8310 drivers/usb/host/xhci.c | 2 +-
8311 drivers/usb/misc/appledisplay.c | 4 +-
8312 drivers/usb/serial/console.c | 8 +-
8313 drivers/usb/storage/transport.c | 2 +-
8314 drivers/usb/storage/usb.c | 2 +-
8315 drivers/usb/storage/usb.h | 2 +-
8316 drivers/usb/usbip/vhci.h | 2 +-
8317 drivers/usb/usbip/vhci_hcd.c | 6 +-
8318 drivers/usb/usbip/vhci_rx.c | 2 +-
8319 drivers/usb/wusbcore/wa-hc.h | 4 +-
8320 drivers/usb/wusbcore/wa-xfer.c | 2 +-
8321 drivers/vhost/vringh.c | 20 +-
8322 drivers/video/backlight/kb3886_bl.c | 2 +-
8323 drivers/video/console/fbcon.c | 2 +-
8324 drivers/video/fbdev/aty/aty128fb.c | 2 +-
8325 drivers/video/fbdev/aty/atyfb_base.c | 8 +-
8326 drivers/video/fbdev/aty/mach64_cursor.c | 5 +-
8327 drivers/video/fbdev/core/fb_defio.c | 6 +-
8328 drivers/video/fbdev/core/fbmem.c | 12 +-
8329 drivers/video/fbdev/hyperv_fb.c | 4 +-
8330 drivers/video/fbdev/i810/i810_accel.c | 1 +
8331 drivers/video/fbdev/matrox/matroxfb_base.c | 2 +-
8332 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c | 16 +-
8333 drivers/video/fbdev/nvidia/nvidia.c | 27 +-
8334 drivers/video/fbdev/omap2/dss/display.c | 8 +-
8335 drivers/video/fbdev/s1d13xxxfb.c | 6 +-
8336 drivers/video/fbdev/smscufx.c | 4 +-
8337 drivers/video/fbdev/udlfb.c | 36 +-
8338 drivers/video/fbdev/uvesafb.c | 52 +-
8339 drivers/video/fbdev/vesafb.c | 58 +-
8340 drivers/video/fbdev/via/via_clock.h | 2 +-
8341 drivers/xen/events/events_base.c | 6 +-
8342 fs/Kconfig.binfmt | 2 +-
8343 fs/afs/inode.c | 4 +-
8344 fs/aio.c | 2 +-
8345 fs/autofs4/waitq.c | 2 +-
8346 fs/befs/endian.h | 6 +-
8347 fs/binfmt_aout.c | 23 +-
8348 fs/binfmt_elf.c | 670 +-
8349 fs/binfmt_elf_fdpic.c | 4 +-
8350 fs/block_dev.c | 2 +-
8351 fs/btrfs/ctree.c | 11 +-
8352 fs/btrfs/ctree.h | 4 +-
8353 fs/btrfs/delayed-inode.c | 9 +-
8354 fs/btrfs/delayed-inode.h | 6 +-
8355 fs/btrfs/delayed-ref.c | 4 +-
8356 fs/btrfs/disk-io.c | 4 +-
8357 fs/btrfs/extent_map.c | 8 +-
8358 fs/btrfs/file.c | 4 +-
8359 fs/btrfs/inode.c | 14 +-
8360 fs/btrfs/raid56.c | 32 +-
8361 fs/btrfs/super.c | 2 +-
8362 fs/btrfs/sysfs.c | 2 +-
8363 fs/btrfs/tests/btrfs-tests.c | 2 +-
8364 fs/btrfs/tests/free-space-tests.c | 8 +-
8365 fs/btrfs/transaction.c | 2 +-
8366 fs/btrfs/tree-log.c | 8 +-
8367 fs/btrfs/tree-log.h | 2 +-
8368 fs/btrfs/volumes.c | 14 +-
8369 fs/btrfs/volumes.h | 22 +-
8370 fs/buffer.c | 2 +-
8371 fs/cachefiles/bind.c | 6 +-
8372 fs/cachefiles/daemon.c | 8 +-
8373 fs/cachefiles/internal.h | 12 +-
8374 fs/cachefiles/namei.c | 2 +-
8375 fs/cachefiles/proc.c | 12 +-
8376 fs/ceph/dir.c | 12 +-
8377 fs/ceph/super.c | 4 +-
8378 fs/cifs/cifs_debug.c | 12 +-
8379 fs/cifs/cifsfs.c | 8 +-
8380 fs/cifs/cifsglob.h | 54 +-
8381 fs/cifs/file.c | 12 +-
8382 fs/cifs/misc.c | 4 +-
8383 fs/cifs/smb1ops.c | 80 +-
8384 fs/cifs/smb2ops.c | 84 +-
8385 fs/cifs/smb2pdu.c | 3 +-
8386 fs/coda/cache.c | 10 +-
8387 fs/compat.c | 7 +-
8388 fs/compat_binfmt_elf.c | 2 +
8389 fs/compat_ioctl.c | 12 +-
8390 fs/configfs/dir.c | 10 +-
8391 fs/coredump.c | 18 +-
8392 fs/dcache.c | 64 +-
8393 fs/ecryptfs/inode.c | 2 +-
8394 fs/ecryptfs/miscdev.c | 2 +-
8395 fs/exec.c | 362 +-
8396 fs/ext2/xattr.c | 5 +-
8397 fs/ext4/ext4.h | 20 +-
8398 fs/ext4/mballoc.c | 44 +-
8399 fs/ext4/resize.c | 16 +-
8400 fs/ext4/super.c | 2 +-
8401 fs/ext4/sysfs.c | 2 +-
8402 fs/ext4/xattr.c | 5 +-
8403 fs/fhandle.c | 5 +-
8404 fs/file.c | 18 +-
8405 fs/fs-writeback.c | 11 +-
8406 fs/fs_struct.c | 8 +-
8407 fs/fscache/cookie.c | 40 +-
8408 fs/fscache/internal.h | 202 +-
8409 fs/fscache/object.c | 26 +-
8410 fs/fscache/operation.c | 38 +-
8411 fs/fscache/page.c | 110 +-
8412 fs/fscache/stats.c | 348 +-
8413 fs/fuse/cuse.c | 10 +-
8414 fs/fuse/dev.c | 4 +-
8415 fs/gfs2/file.c | 2 +-
8416 fs/gfs2/glock.c | 22 +-
8417 fs/gfs2/glops.c | 4 +-
8418 fs/gfs2/quota.c | 6 +-
8419 fs/hugetlbfs/inode.c | 13 +-
8420 fs/inode.c | 4 +-
8421 fs/jbd2/commit.c | 2 +-
8422 fs/jbd2/transaction.c | 4 +-
8423 fs/jffs2/erase.c | 3 +-
8424 fs/jffs2/wbuf.c | 3 +-
8425 fs/jfs/super.c | 2 +-
8426 fs/kernfs/dir.c | 2 +-
8427 fs/kernfs/file.c | 20 +-
8428 fs/libfs.c | 10 +-
8429 fs/lockd/clntproc.c | 4 +-
8430 fs/namei.c | 16 +-
8431 fs/namespace.c | 16 +-
8432 fs/nfs/callback_xdr.c | 2 +-
8433 fs/nfs/inode.c | 6 +-
8434 fs/nfsd/nfs4proc.c | 2 +-
8435 fs/nfsd/nfs4xdr.c | 2 +-
8436 fs/nfsd/nfscache.c | 11 +-
8437 fs/nfsd/vfs.c | 6 +-
8438 fs/nls/nls_base.c | 26 +-
8439 fs/nls/nls_euc-jp.c | 6 +-
8440 fs/nls/nls_koi8-ru.c | 6 +-
8441 fs/notify/fanotify/fanotify_user.c | 4 +-
8442 fs/notify/notification.c | 4 +-
8443 fs/ntfs/dir.c | 2 +-
8444 fs/ntfs/super.c | 6 +-
8445 fs/ocfs2/dlm/dlmcommon.h | 4 +-
8446 fs/ocfs2/dlm/dlmdebug.c | 10 +-
8447 fs/ocfs2/dlm/dlmdomain.c | 4 +-
8448 fs/ocfs2/dlm/dlmmaster.c | 4 +-
8449 fs/ocfs2/localalloc.c | 2 +-
8450 fs/ocfs2/ocfs2.h | 10 +-
8451 fs/ocfs2/suballoc.c | 12 +-
8452 fs/ocfs2/super.c | 20 +-
8453 fs/overlayfs/copy_up.c | 2 +-
8454 fs/pipe.c | 72 +-
8455 fs/posix_acl.c | 4 +-
8456 fs/proc/array.c | 20 +
8457 fs/proc/base.c | 4 +-
8458 fs/proc/kcore.c | 34 +-
8459 fs/proc/meminfo.c | 2 +-
8460 fs/proc/nommu.c | 2 +-
8461 fs/proc/proc_sysctl.c | 26 +-
8462 fs/proc/task_mmu.c | 42 +-
8463 fs/proc/task_nommu.c | 4 +-
8464 fs/proc/vmcore.c | 16 +-
8465 fs/qnx6/qnx6.h | 4 +-
8466 fs/quota/netlink.c | 4 +-
8467 fs/read_write.c | 2 +-
8468 fs/readdir.c | 3 +-
8469 fs/reiserfs/do_balan.c | 2 +-
8470 fs/reiserfs/procfs.c | 2 +-
8471 fs/reiserfs/reiserfs.h | 4 +-
8472 fs/seq_file.c | 4 +-
8473 fs/splice.c | 43 +-
8474 fs/squashfs/xattr.c | 12 +-
8475 fs/super.c | 3 +-
8476 fs/sysv/sysv.h | 2 +-
8477 fs/tracefs/inode.c | 8 +-
8478 fs/udf/misc.c | 2 +-
8479 fs/ufs/swab.h | 4 +-
8480 fs/userfaultfd.c | 2 +-
8481 fs/xattr.c | 21 +
8482 fs/xfs/libxfs/xfs_bmap.c | 2 +-
8483 fs/xfs/libxfs/xfs_da_btree.c | 4 +-
8484 fs/xfs/xfs_dir2_readdir.c | 7 +-
8485 fs/xfs/xfs_ioctl.c | 2 +-
8486 fs/xfs/xfs_linux.h | 4 +-
8487 include/acpi/ghes.h | 2 +-
8488 include/asm-generic/4level-fixup.h | 2 +
8489 include/asm-generic/atomic-long.h | 176 +-
8490 include/asm-generic/atomic64.h | 12 +
8491 include/asm-generic/bitops/__fls.h | 2 +-
8492 include/asm-generic/bitops/fls.h | 2 +-
8493 include/asm-generic/bitops/fls64.h | 4 +-
8494 include/asm-generic/bug.h | 6 +-
8495 include/asm-generic/cache.h | 4 +-
8496 include/asm-generic/emergency-restart.h | 2 +-
8497 include/asm-generic/kmap_types.h | 4 +-
8498 include/asm-generic/local.h | 13 +
8499 include/asm-generic/pgtable-nopmd.h | 18 +-
8500 include/asm-generic/pgtable-nopud.h | 15 +-
8501 include/asm-generic/pgtable.h | 16 +
8502 include/asm-generic/sections.h | 1 +
8503 include/asm-generic/uaccess.h | 16 +
8504 include/asm-generic/vmlinux.lds.h | 15 +-
8505 include/crypto/algapi.h | 2 +-
8506 include/drm/drmP.h | 19 +-
8507 include/drm/drm_crtc_helper.h | 2 +-
8508 include/drm/drm_mm.h | 2 +-
8509 include/drm/i915_pciids.h | 2 +-
8510 include/drm/intel-gtt.h | 4 +-
8511 include/drm/ttm/ttm_memory.h | 2 +-
8512 include/drm/ttm/ttm_page_alloc.h | 1 +
8513 include/keys/asymmetric-subtype.h | 2 +-
8514 include/linux/atmdev.h | 4 +-
8515 include/linux/atomic.h | 2 +-
8516 include/linux/audit.h | 2 +-
8517 include/linux/average.h | 2 +-
8518 include/linux/binfmts.h | 3 +-
8519 include/linux/bitmap.h | 2 +-
8520 include/linux/bitops.h | 8 +-
8521 include/linux/blk-cgroup.h | 24 +-
8522 include/linux/blkdev.h | 2 +-
8523 include/linux/blktrace_api.h | 2 +-
8524 include/linux/cache.h | 8 +
8525 include/linux/cdrom.h | 1 -
8526 include/linux/cleancache.h | 2 +-
8527 include/linux/clk-provider.h | 1 +
8528 include/linux/compat.h | 6 +-
8529 include/linux/compiler-gcc.h | 28 +-
8530 include/linux/compiler.h | 193 +-
8531 include/linux/configfs.h | 2 +-
8532 include/linux/cpufreq.h | 3 +-
8533 include/linux/cpuidle.h | 5 +-
8534 include/linux/cpumask.h | 14 +-
8535 include/linux/crypto.h | 4 +-
8536 include/linux/ctype.h | 2 +-
8537 include/linux/dcache.h | 4 +-
8538 include/linux/decompress/mm.h | 2 +-
8539 include/linux/devfreq.h | 2 +-
8540 include/linux/device.h | 7 +-
8541 include/linux/dma-mapping.h | 2 +-
8542 include/linux/efi.h | 1 +
8543 include/linux/elf.h | 2 +
8544 include/linux/err.h | 4 +-
8545 include/linux/extcon.h | 2 +-
8546 include/linux/fb.h | 3 +-
8547 include/linux/fdtable.h | 2 +-
8548 include/linux/fs.h | 5 +-
8549 include/linux/fs_struct.h | 2 +-
8550 include/linux/fscache-cache.h | 2 +-
8551 include/linux/fscache.h | 2 +-
8552 include/linux/fsnotify.h | 2 +-
8553 include/linux/genhd.h | 4 +-
8554 include/linux/genl_magic_func.h | 2 +-
8555 include/linux/gfp.h | 12 +-
8556 include/linux/highmem.h | 12 +
8557 include/linux/hwmon-sysfs.h | 6 +-
8558 include/linux/i2c.h | 1 +
8559 include/linux/if_pppox.h | 2 +-
8560 include/linux/init.h | 12 +-
8561 include/linux/init_task.h | 7 +
8562 include/linux/interrupt.h | 6 +-
8563 include/linux/iommu.h | 2 +-
8564 include/linux/ioport.h | 2 +-
8565 include/linux/ipc.h | 2 +-
8566 include/linux/irq.h | 5 +-
8567 include/linux/irqdesc.h | 2 +-
8568 include/linux/irqdomain.h | 3 +
8569 include/linux/jbd2.h | 2 +-
8570 include/linux/jiffies.h | 16 +-
8571 include/linux/key-type.h | 2 +-
8572 include/linux/kgdb.h | 6 +-
8573 include/linux/kmemleak.h | 4 +-
8574 include/linux/kobject.h | 3 +-
8575 include/linux/kobject_ns.h | 2 +-
8576 include/linux/kref.h | 2 +-
8577 include/linux/libata.h | 2 +-
8578 include/linux/linkage.h | 1 +
8579 include/linux/list.h | 15 +
8580 include/linux/lockref.h | 26 +-
8581 include/linux/math64.h | 10 +-
8582 include/linux/mempolicy.h | 7 +
8583 include/linux/mm.h | 102 +-
8584 include/linux/mm_types.h | 20 +
8585 include/linux/mmiotrace.h | 4 +-
8586 include/linux/mmzone.h | 2 +-
8587 include/linux/mod_devicetable.h | 4 +-
8588 include/linux/module.h | 69 +-
8589 include/linux/moduleloader.h | 16 +
8590 include/linux/moduleparam.h | 4 +-
8591 include/linux/net.h | 2 +-
8592 include/linux/netdevice.h | 7 +-
8593 include/linux/netfilter.h | 2 +-
8594 include/linux/netfilter/nfnetlink.h | 2 +-
8595 include/linux/netlink.h | 12 +-
8596 include/linux/nls.h | 4 +-
8597 include/linux/notifier.h | 3 +-
8598 include/linux/oprofile.h | 4 +-
8599 include/linux/padata.h | 2 +-
8600 include/linux/pci_hotplug.h | 3 +-
8601 include/linux/percpu.h | 2 +-
8602 include/linux/perf_event.h | 12 +-
8603 include/linux/pipe_fs_i.h | 8 +-
8604 include/linux/pm.h | 1 +
8605 include/linux/pm_domain.h | 2 +-
8606 include/linux/pm_runtime.h | 2 +-
8607 include/linux/pnp.h | 2 +-
8608 include/linux/poison.h | 4 +-
8609 include/linux/power/smartreflex.h | 2 +-
8610 include/linux/ppp-comp.h | 2 +-
8611 include/linux/preempt.h | 21 +
8612 include/linux/proc_ns.h | 2 +-
8613 include/linux/psci.h | 2 +-
8614 include/linux/quota.h | 2 +-
8615 include/linux/random.h | 19 +-
8616 include/linux/rculist.h | 16 +
8617 include/linux/rcupdate.h | 8 +
8618 include/linux/reboot.h | 14 +-
8619 include/linux/regset.h | 3 +-
8620 include/linux/relay.h | 2 +-
8621 include/linux/rio.h | 2 +-
8622 include/linux/rmap.h | 4 +-
8623 include/linux/sched.h | 76 +-
8624 include/linux/sched/sysctl.h | 1 +
8625 include/linux/scif.h | 2 +-
8626 include/linux/semaphore.h | 2 +-
8627 include/linux/seq_file.h | 1 +
8628 include/linux/seqlock.h | 10 +
8629 include/linux/signal.h | 2 +-
8630 include/linux/skbuff.h | 12 +-
8631 include/linux/slab.h | 47 +-
8632 include/linux/slab_def.h | 14 +-
8633 include/linux/slub_def.h | 2 +-
8634 include/linux/smp.h | 2 +
8635 include/linux/sock_diag.h | 2 +-
8636 include/linux/sonet.h | 2 +-
8637 include/linux/spinlock.h | 17 +-
8638 include/linux/srcu.h | 5 +-
8639 include/linux/sunrpc/addr.h | 8 +-
8640 include/linux/sunrpc/clnt.h | 2 +-
8641 include/linux/sunrpc/svc.h | 2 +-
8642 include/linux/sunrpc/svc_rdma.h | 18 +-
8643 include/linux/sunrpc/svcauth.h | 2 +-
8644 include/linux/swapops.h | 10 +-
8645 include/linux/swiotlb.h | 3 +-
8646 include/linux/syscalls.h | 23 +-
8647 include/linux/syscore_ops.h | 2 +-
8648 include/linux/sysctl.h | 3 +-
8649 include/linux/sysfs.h | 9 +-
8650 include/linux/sysrq.h | 3 +-
8651 include/linux/tcp.h | 14 +-
8652 include/linux/thread_info.h | 7 +
8653 include/linux/tty.h | 4 +-
8654 include/linux/tty_driver.h | 2 +-
8655 include/linux/tty_ldisc.h | 2 +-
8656 include/linux/types.h | 16 +
8657 include/linux/uaccess.h | 2 +-
8658 include/linux/uio_driver.h | 2 +-
8659 include/linux/unaligned/access_ok.h | 24 +-
8660 include/linux/usb.h | 12 +-
8661 include/linux/usb/hcd.h | 1 +
8662 include/linux/usb/renesas_usbhs.h | 2 +-
8663 include/linux/vermagic.h | 21 +-
8664 include/linux/vga_switcheroo.h | 8 +-
8665 include/linux/vmalloc.h | 7 +-
8666 include/linux/vmstat.h | 24 +-
8667 include/linux/writeback.h | 3 +-
8668 include/linux/xattr.h | 5 +-
8669 include/linux/zlib.h | 3 +-
8670 include/media/v4l2-dev.h | 2 +-
8671 include/media/v4l2-device.h | 2 +-
8672 include/net/9p/transport.h | 2 +-
8673 include/net/bluetooth/l2cap.h | 2 +-
8674 include/net/bonding.h | 2 +-
8675 include/net/caif/cfctrl.h | 6 +-
8676 include/net/cfg802154.h | 2 +-
8677 include/net/flow.h | 2 +-
8678 include/net/genetlink.h | 2 +-
8679 include/net/gro_cells.h | 2 +-
8680 include/net/inet_connection_sock.h | 2 +-
8681 include/net/inet_sock.h | 2 +-
8682 include/net/inetpeer.h | 2 +-
8683 include/net/ip_fib.h | 2 +-
8684 include/net/ip_vs.h | 8 +-
8685 include/net/ipv6.h | 2 +-
8686 include/net/irda/ircomm_tty.h | 1 +
8687 include/net/iucv/af_iucv.h | 2 +-
8688 include/net/llc_c_ac.h | 2 +-
8689 include/net/llc_c_ev.h | 4 +-
8690 include/net/llc_c_st.h | 2 +-
8691 include/net/llc_s_ac.h | 2 +-
8692 include/net/llc_s_st.h | 2 +-
8693 include/net/mac80211.h | 6 +-
8694 include/net/neighbour.h | 4 +-
8695 include/net/net_namespace.h | 18 +-
8696 include/net/netlink.h | 2 +-
8697 include/net/netns/conntrack.h | 6 +-
8698 include/net/netns/ipv4.h | 4 +-
8699 include/net/netns/ipv6.h | 4 +-
8700 include/net/netns/xfrm.h | 2 +-
8701 include/net/ping.h | 2 +-
8702 include/net/protocol.h | 4 +-
8703 include/net/rtnetlink.h | 2 +-
8704 include/net/sctp/checksum.h | 4 +-
8705 include/net/sctp/sm.h | 4 +-
8706 include/net/sctp/structs.h | 2 +-
8707 include/net/snmp.h | 10 +-
8708 include/net/sock.h | 12 +-
8709 include/net/tcp.h | 8 +-
8710 include/net/xfrm.h | 13 +-
8711 include/rdma/iw_cm.h | 2 +-
8712 include/scsi/libfc.h | 3 +-
8713 include/scsi/scsi_device.h | 6 +-
8714 include/scsi/scsi_driver.h | 2 +-
8715 include/scsi/scsi_transport_fc.h | 3 +-
8716 include/scsi/sg.h | 2 +-
8717 include/sound/compress_driver.h | 2 +-
8718 include/sound/soc.h | 4 +-
8719 include/trace/events/irq.h | 4 +-
8720 include/uapi/linux/a.out.h | 8 +
8721 include/uapi/linux/bcache.h | 5 +-
8722 include/uapi/linux/byteorder/little_endian.h | 28 +-
8723 include/uapi/linux/connector.h | 2 +-
8724 include/uapi/linux/elf.h | 28 +
8725 include/uapi/linux/screen_info.h | 2 +-
8726 include/uapi/linux/swab.h | 6 +-
8727 include/uapi/linux/xattr.h | 4 +
8728 include/video/udlfb.h | 8 +-
8729 include/video/uvesafb.h | 1 +
8730 init/Kconfig | 2 +-
8731 init/Makefile | 3 +
8732 init/do_mounts.c | 14 +-
8733 init/do_mounts.h | 8 +-
8734 init/do_mounts_initrd.c | 30 +-
8735 init/do_mounts_md.c | 6 +-
8736 init/init_task.c | 4 +
8737 init/initramfs.c | 38 +-
8738 init/main.c | 30 +-
8739 ipc/compat.c | 4 +-
8740 ipc/ipc_sysctl.c | 14 +-
8741 ipc/mq_sysctl.c | 4 +-
8742 ipc/sem.c | 4 +-
8743 ipc/shm.c | 6 +
8744 kernel/audit.c | 8 +-
8745 kernel/auditsc.c | 4 +-
8746 kernel/bpf/core.c | 7 +-
8747 kernel/capability.c | 3 +
8748 kernel/compat.c | 38 +-
8749 kernel/debug/debug_core.c | 16 +-
8750 kernel/debug/kdb/kdb_main.c | 4 +-
8751 kernel/events/core.c | 30 +-
8752 kernel/events/internal.h | 10 +-
8753 kernel/events/uprobes.c | 2 +-
8754 kernel/exit.c | 27 +-
8755 kernel/fork.c | 175 +-
8756 kernel/futex.c | 11 +-
8757 kernel/futex_compat.c | 2 +-
8758 kernel/gcov/base.c | 7 +-
8759 kernel/irq/manage.c | 2 +-
8760 kernel/irq/msi.c | 19 +-
8761 kernel/irq/spurious.c | 2 +-
8762 kernel/jump_label.c | 5 +
8763 kernel/kallsyms.c | 37 +-
8764 kernel/kexec.c | 3 +-
8765 kernel/kmod.c | 8 +-
8766 kernel/kprobes.c | 4 +-
8767 kernel/ksysfs.c | 2 +-
8768 kernel/locking/lockdep.c | 7 +-
8769 kernel/locking/mutex-debug.c | 12 +-
8770 kernel/locking/mutex-debug.h | 4 +-
8771 kernel/locking/mutex.c | 6 +-
8772 kernel/module.c | 422 +-
8773 kernel/notifier.c | 17 +-
8774 kernel/padata.c | 4 +-
8775 kernel/panic.c | 5 +-
8776 kernel/pid.c | 2 +-
8777 kernel/pid_namespace.c | 2 +-
8778 kernel/power/process.c | 12 +-
8779 kernel/profile.c | 14 +-
8780 kernel/ptrace.c | 8 +-
8781 kernel/rcu/rcutorture.c | 60 +-
8782 kernel/rcu/tiny.c | 4 +-
8783 kernel/rcu/tree.c | 42 +-
8784 kernel/rcu/tree.h | 16 +-
8785 kernel/rcu/tree_plugin.h | 18 +-
8786 kernel/rcu/tree_trace.c | 14 +-
8787 kernel/resource.c | 4 +-
8788 kernel/sched/auto_group.c | 4 +-
8789 kernel/sched/core.c | 45 +-
8790 kernel/sched/fair.c | 2 +-
8791 kernel/sched/sched.h | 2 +-
8792 kernel/signal.c | 24 +-
8793 kernel/smpboot.c | 4 +-
8794 kernel/softirq.c | 12 +-
8795 kernel/sys.c | 10 +-
8796 kernel/sysctl.c | 34 +-
8797 kernel/time/alarmtimer.c | 2 +-
8798 kernel/time/posix-cpu-timers.c | 4 +-
8799 kernel/time/posix-timers.c | 24 +-
8800 kernel/time/timer.c | 2 +-
8801 kernel/time/timer_stats.c | 10 +-
8802 kernel/trace/blktrace.c | 6 +-
8803 kernel/trace/ftrace.c | 15 +-
8804 kernel/trace/ring_buffer.c | 96 +-
8805 kernel/trace/trace.c | 2 +-
8806 kernel/trace/trace.h | 2 +-
8807 kernel/trace/trace_clock.c | 4 +-
8808 kernel/trace/trace_events.c | 1 -
8809 kernel/trace/trace_functions_graph.c | 4 +-
8810 kernel/trace/trace_mmiotrace.c | 8 +-
8811 kernel/trace/trace_output.c | 10 +-
8812 kernel/trace/trace_seq.c | 2 +-
8813 kernel/trace/trace_stack.c | 2 +-
8814 kernel/user.c | 2 +-
8815 kernel/user_namespace.c | 2 +-
8816 kernel/utsname_sysctl.c | 2 +-
8817 kernel/watchdog.c | 2 +-
8818 kernel/workqueue.c | 8 +-
8819 lib/Kconfig.debug | 8 +-
8820 lib/Makefile | 2 +-
8821 lib/bitmap.c | 8 +-
8822 lib/bug.c | 2 +
8823 lib/debugobjects.c | 2 +-
8824 lib/decompress_bunzip2.c | 3 +-
8825 lib/decompress_unlzma.c | 4 +-
8826 lib/div64.c | 4 +-
8827 lib/dma-debug.c | 4 +-
8828 lib/inflate.c | 2 +-
8829 lib/ioremap.c | 4 +-
8830 lib/kobject.c | 4 +-
8831 lib/list_debug.c | 126 +-
8832 lib/lockref.c | 44 +-
8833 lib/percpu-refcount.c | 2 +-
8834 lib/radix-tree.c | 2 +-
8835 lib/random32.c | 2 +-
8836 lib/rhashtable.c | 4 +-
8837 lib/show_mem.c | 2 +-
8838 lib/strncpy_from_user.c | 2 +-
8839 lib/strnlen_user.c | 2 +-
8840 lib/swiotlb.c | 2 +-
8841 lib/usercopy.c | 6 +
8842 lib/vsprintf.c | 12 +-
8843 mm/Kconfig | 6 +-
8844 mm/backing-dev.c | 4 +-
8845 mm/debug.c | 3 +
8846 mm/filemap.c | 2 +-
8847 mm/gup.c | 13 +-
8848 mm/highmem.c | 6 +-
8849 mm/hugetlb.c | 70 +-
8850 mm/internal.h | 1 +
8851 mm/maccess.c | 12 +-
8852 mm/madvise.c | 37 +
8853 mm/memory-failure.c | 6 +-
8854 mm/memory.c | 424 +-
8855 mm/mempolicy.c | 25 +
8856 mm/mlock.c | 18 +-
8857 mm/mm_init.c | 2 +-
8858 mm/mmap.c | 582 +-
8859 mm/mprotect.c | 137 +-
8860 mm/mremap.c | 39 +-
8861 mm/nommu.c | 21 +-
8862 mm/page-writeback.c | 2 +-
8863 mm/page_alloc.c | 50 +-
8864 mm/percpu.c | 2 +-
8865 mm/process_vm_access.c | 14 +-
8866 mm/rmap.c | 45 +-
8867 mm/shmem.c | 19 +-
8868 mm/slab.c | 111 +-
8869 mm/slab.h | 22 +-
8870 mm/slab_common.c | 86 +-
8871 mm/slob.c | 218 +-
8872 mm/slub.c | 109 +-
8873 mm/sparse-vmemmap.c | 4 +-
8874 mm/sparse.c | 2 +-
8875 mm/swap.c | 2 +
8876 mm/swapfile.c | 12 +-
8877 mm/util.c | 6 +
8878 mm/vmalloc.c | 114 +-
8879 mm/vmstat.c | 12 +-
8880 net/8021q/vlan.c | 5 +-
8881 net/8021q/vlan_netlink.c | 2 +-
8882 net/9p/mod.c | 4 +-
8883 net/9p/trans_fd.c | 2 +-
8884 net/atm/atm_misc.c | 8 +-
8885 net/atm/lec.h | 2 +-
8886 net/atm/proc.c | 6 +-
8887 net/atm/resources.c | 4 +-
8888 net/ax25/sysctl_net_ax25.c | 2 +-
8889 net/batman-adv/bat_iv_ogm.c | 8 +-
8890 net/batman-adv/fragmentation.c | 2 +-
8891 net/batman-adv/routing.c | 4 +-
8892 net/batman-adv/soft-interface.c | 10 +-
8893 net/batman-adv/translation-table.c | 14 +-
8894 net/batman-adv/types.h | 8 +-
8895 net/bluetooth/hci_sock.c | 2 +-
8896 net/bluetooth/l2cap_core.c | 6 +-
8897 net/bluetooth/l2cap_sock.c | 12 +-
8898 net/bluetooth/rfcomm/sock.c | 4 +-
8899 net/bluetooth/rfcomm/tty.c | 4 +-
8900 net/bridge/br_netlink.c | 2 +-
8901 net/bridge/netfilter/ebtables.c | 6 +-
8902 net/caif/cfctrl.c | 11 +-
8903 net/caif/chnl_net.c | 2 +-
8904 net/can/af_can.c | 2 +-
8905 net/can/gw.c | 6 +-
8906 net/ceph/messenger.c | 4 +-
8907 net/compat.c | 26 +-
8908 net/core/datagram.c | 2 +-
8909 net/core/dev.c | 16 +-
8910 net/core/filter.c | 2 +-
8911 net/core/flow.c | 6 +-
8912 net/core/neighbour.c | 18 +-
8913 net/core/net-sysfs.c | 2 +-
8914 net/core/net_namespace.c | 8 +-
8915 net/core/netpoll.c | 4 +-
8916 net/core/rtnetlink.c | 17 +-
8917 net/core/scm.c | 12 +-
8918 net/core/skbuff.c | 11 +-
8919 net/core/sock.c | 28 +-
8920 net/core/sock_diag.c | 15 +-
8921 net/core/sysctl_net_core.c | 22 +-
8922 net/decnet/af_decnet.c | 1 +
8923 net/decnet/sysctl_net_decnet.c | 4 +-
8924 net/dsa/dsa.c | 2 +-
8925 net/hsr/hsr_netlink.c | 2 +-
8926 net/ieee802154/6lowpan/core.c | 2 +-
8927 net/ieee802154/6lowpan/reassembly.c | 14 +-
8928 net/ipv4/af_inet.c | 2 +-
8929 net/ipv4/arp.c | 2 +-
8930 net/ipv4/devinet.c | 18 +-
8931 net/ipv4/fib_frontend.c | 6 +-
8932 net/ipv4/fib_semantics.c | 2 +-
8933 net/ipv4/inet_connection_sock.c | 4 +-
8934 net/ipv4/inet_diag.c | 4 +-
8935 net/ipv4/inet_timewait_sock.c | 2 +-
8936 net/ipv4/inetpeer.c | 2 +-
8937 net/ipv4/ip_fragment.c | 15 +-
8938 net/ipv4/ip_gre.c | 6 +-
8939 net/ipv4/ip_sockglue.c | 2 +-
8940 net/ipv4/ip_vti.c | 4 +-
8941 net/ipv4/ipconfig.c | 6 +-
8942 net/ipv4/ipip.c | 4 +-
8943 net/ipv4/netfilter/arp_tables.c | 12 +-
8944 net/ipv4/netfilter/ip_tables.c | 12 +-
8945 net/ipv4/ping.c | 14 +-
8946 net/ipv4/proc.c | 8 +-
8947 net/ipv4/raw.c | 14 +-
8948 net/ipv4/route.c | 32 +-
8949 net/ipv4/sysctl_net_ipv4.c | 22 +-
8950 net/ipv4/tcp_input.c | 6 +-
8951 net/ipv4/tcp_probe.c | 2 +-
8952 net/ipv4/udp.c | 10 +-
8953 net/ipv4/xfrm4_mode_transport.c | 2 +-
8954 net/ipv4/xfrm4_policy.c | 17 +-
8955 net/ipv4/xfrm4_state.c | 4 +-
8956 net/ipv6/addrconf.c | 22 +-
8957 net/ipv6/af_inet6.c | 2 +-
8958 net/ipv6/datagram.c | 2 +-
8959 net/ipv6/icmp.c | 2 +-
8960 net/ipv6/ip6_fib.c | 4 +-
8961 net/ipv6/ip6_gre.c | 10 +-
8962 net/ipv6/ip6_tunnel.c | 4 +-
8963 net/ipv6/ip6_vti.c | 4 +-
8964 net/ipv6/ipv6_sockglue.c | 2 +-
8965 net/ipv6/ndisc.c | 2 +-
8966 net/ipv6/netfilter/ip6_tables.c | 12 +-
8967 net/ipv6/netfilter/nf_conntrack_reasm.c | 14 +-
8968 net/ipv6/ping.c | 33 +-
8969 net/ipv6/proc.c | 10 +-
8970 net/ipv6/raw.c | 17 +-
8971 net/ipv6/reassembly.c | 13 +-
8972 net/ipv6/route.c | 2 +-
8973 net/ipv6/sit.c | 4 +-
8974 net/ipv6/sysctl_net_ipv6.c | 2 +-
8975 net/ipv6/udp.c | 6 +-
8976 net/ipv6/xfrm6_policy.c | 17 +-
8977 net/irda/ircomm/ircomm_tty.c | 18 +-
8978 net/iucv/af_iucv.c | 4 +-
8979 net/iucv/iucv.c | 2 +-
8980 net/key/af_key.c | 4 +-
8981 net/l2tp/l2tp_eth.c | 38 +-
8982 net/l2tp/l2tp_ip.c | 2 +-
8983 net/l2tp/l2tp_ip6.c | 2 +-
8984 net/mac80211/cfg.c | 10 +-
8985 net/mac80211/debugfs_key.c | 4 +-
8986 net/mac80211/ieee80211_i.h | 3 +-
8987 net/mac80211/iface.c | 20 +-
8988 net/mac80211/key.c | 4 +-
8989 net/mac80211/main.c | 2 +-
8990 net/mac80211/pm.c | 4 +-
8991 net/mac80211/rate.c | 2 +-
8992 net/mac80211/sta_info.c | 2 +-
8993 net/mac80211/tx.c | 2 +-
8994 net/mac80211/util.c | 8 +-
8995 net/mac80211/wpa.c | 10 +-
8996 net/mac802154/iface.c | 4 +-
8997 net/mpls/af_mpls.c | 6 +-
8998 net/netfilter/ipset/ip_set_core.c | 4 +-
8999 net/netfilter/ipvs/ip_vs_conn.c | 6 +-
9000 net/netfilter/ipvs/ip_vs_core.c | 4 +-
9001 net/netfilter/ipvs/ip_vs_ctl.c | 14 +-
9002 net/netfilter/ipvs/ip_vs_lblc.c | 2 +-
9003 net/netfilter/ipvs/ip_vs_lblcr.c | 2 +-
9004 net/netfilter/ipvs/ip_vs_sync.c | 6 +-
9005 net/netfilter/ipvs/ip_vs_xmit.c | 4 +-
9006 net/netfilter/nf_conntrack_acct.c | 2 +-
9007 net/netfilter/nf_conntrack_ecache.c | 2 +-
9008 net/netfilter/nf_conntrack_helper.c | 2 +-
9009 net/netfilter/nf_conntrack_netlink.c | 22 +-
9010 net/netfilter/nf_conntrack_proto.c | 2 +-
9011 net/netfilter/nf_conntrack_standalone.c | 2 +-
9012 net/netfilter/nf_conntrack_timestamp.c | 2 +-
9013 net/netfilter/nf_log.c | 10 +-
9014 net/netfilter/nf_sockopt.c | 4 +-
9015 net/netfilter/nf_tables_api.c | 13 +-
9016 net/netfilter/nfnetlink_acct.c | 7 +-
9017 net/netfilter/nfnetlink_cthelper.c | 2 +-
9018 net/netfilter/nfnetlink_cttimeout.c | 2 +-
9019 net/netfilter/nfnetlink_log.c | 4 +-
9020 net/netfilter/nft_compat.c | 9 +-
9021 net/netfilter/xt_statistic.c | 8 +-
9022 net/netlink/af_netlink.c | 14 +-
9023 net/netlink/diag.c | 2 +-
9024 net/netlink/genetlink.c | 14 +-
9025 net/openvswitch/vport-internal_dev.c | 2 +-
9026 net/packet/af_packet.c | 26 +-
9027 net/packet/diag.c | 2 +-
9028 net/packet/internal.h | 6 +-
9029 net/phonet/pep.c | 6 +-
9030 net/phonet/socket.c | 2 +-
9031 net/phonet/sysctl.c | 2 +-
9032 net/rds/cong.c | 6 +-
9033 net/rds/ib.h | 2 +-
9034 net/rds/ib_cm.c | 2 +-
9035 net/rds/ib_recv.c | 4 +-
9036 net/rds/iw.h | 2 +-
9037 net/rds/iw_cm.c | 2 +-
9038 net/rds/iw_recv.c | 4 +-
9039 net/rds/rds.h | 2 +-
9040 net/rds/tcp.c | 2 +-
9041 net/rds/tcp_send.c | 2 +-
9042 net/rxrpc/af_rxrpc.c | 2 +-
9043 net/rxrpc/ar-ack.c | 14 +-
9044 net/rxrpc/ar-call.c | 2 +-
9045 net/rxrpc/ar-connection.c | 2 +-
9046 net/rxrpc/ar-connevent.c | 2 +-
9047 net/rxrpc/ar-input.c | 4 +-
9048 net/rxrpc/ar-internal.h | 8 +-
9049 net/rxrpc/ar-local.c | 2 +-
9050 net/rxrpc/ar-output.c | 4 +-
9051 net/rxrpc/ar-peer.c | 2 +-
9052 net/rxrpc/ar-proc.c | 4 +-
9053 net/rxrpc/ar-transport.c | 2 +-
9054 net/rxrpc/rxkad.c | 4 +-
9055 net/sched/sch_generic.c | 4 +-
9056 net/sctp/ipv6.c | 6 +-
9057 net/sctp/protocol.c | 10 +-
9058 net/sctp/sm_sideeffect.c | 2 +-
9059 net/sctp/socket.c | 21 +-
9060 net/sctp/sysctl.c | 10 +-
9061 net/socket.c | 18 +-
9062 net/sunrpc/auth_gss/svcauth_gss.c | 4 +-
9063 net/sunrpc/clnt.c | 4 +-
9064 net/sunrpc/sched.c | 4 +-
9065 net/sunrpc/svc.c | 4 +-
9066 net/sunrpc/svcauth_unix.c | 2 +-
9067 net/sunrpc/xprtrdma/svc_rdma.c | 44 +-
9068 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 8 +-
9069 net/sunrpc/xprtrdma/svc_rdma_sendto.c | 2 +-
9070 net/sunrpc/xprtrdma/svc_rdma_transport.c | 10 +-
9071 net/tipc/netlink_compat.c | 12 +-
9072 net/tipc/subscr.c | 2 +-
9073 net/unix/diag.c | 2 +-
9074 net/unix/sysctl_net_unix.c | 2 +-
9075 net/wireless/wext-core.c | 19 +-
9076 net/xfrm/xfrm_policy.c | 16 +-
9077 net/xfrm/xfrm_state.c | 33 +-
9078 net/xfrm/xfrm_sysctl.c | 2 +-
9079 net/xfrm/xfrm_user.c | 2 +-
9080 scripts/Kbuild.include | 2 +-
9081 scripts/Makefile.build | 2 +-
9082 scripts/Makefile.clean | 3 +-
9083 scripts/Makefile.host | 69 +-
9084 scripts/basic/fixdep.c | 12 +-
9085 scripts/dtc/checks.c | 14 +-
9086 scripts/dtc/data.c | 6 +-
9087 scripts/dtc/flattree.c | 8 +-
9088 scripts/dtc/livetree.c | 4 +-
9089 scripts/gcc-plugin.sh | 51 +
9090 scripts/headers_install.sh | 1 +
9091 scripts/kallsyms.c | 4 +-
9092 scripts/kconfig/lkc.h | 5 +-
9093 scripts/kconfig/menu.c | 2 +-
9094 scripts/kconfig/symbol.c | 6 +-
9095 scripts/link-vmlinux.sh | 2 +-
9096 scripts/mod/file2alias.c | 14 +-
9097 scripts/mod/modpost.c | 25 +-
9098 scripts/mod/modpost.h | 6 +-
9099 scripts/mod/sumversion.c | 2 +-
9100 scripts/module-common.lds | 4 +
9101 scripts/package/builddeb | 1 +
9102 scripts/pnmtologo.c | 6 +-
9103 scripts/sortextable.h | 6 +-
9104 scripts/tags.sh | 2 +-
9105 security/Kconfig | 691 +-
9106 security/apparmor/include/policy.h | 2 +-
9107 security/apparmor/policy.c | 4 +-
9108 security/integrity/ima/ima.h | 4 +-
9109 security/integrity/ima/ima_api.c | 2 +-
9110 security/integrity/ima/ima_fs.c | 4 +-
9111 security/integrity/ima/ima_queue.c | 2 +-
9112 security/keys/internal.h | 8 +-
9113 security/keys/key.c | 18 +-
9114 security/keys/keyring.c | 4 -
9115 security/selinux/avc.c | 6 +-
9116 security/selinux/include/xfrm.h | 2 +-
9117 security/yama/yama_lsm.c | 2 +-
9118 sound/aoa/codecs/onyx.c | 7 +-
9119 sound/aoa/codecs/onyx.h | 1 +
9120 sound/core/oss/pcm_oss.c | 18 +-
9121 sound/core/pcm_compat.c | 2 +-
9122 sound/core/pcm_native.c | 4 +-
9123 sound/core/seq/seq_clientmgr.c | 10 +-
9124 sound/core/seq/seq_compat.c | 2 +-
9125 sound/core/seq/seq_fifo.c | 6 +-
9126 sound/core/seq/seq_fifo.h | 2 +-
9127 sound/core/seq/seq_memory.c | 6 +-
9128 sound/core/sound.c | 2 +-
9129 sound/drivers/mts64.c | 14 +-
9130 sound/drivers/opl4/opl4_lib.c | 2 +-
9131 sound/drivers/portman2x4.c | 3 +-
9132 sound/firewire/amdtp-am824.c | 2 +-
9133 sound/firewire/amdtp-stream.c | 4 +-
9134 sound/firewire/amdtp-stream.h | 2 +-
9135 sound/firewire/digi00x/amdtp-dot.c | 2 +-
9136 sound/firewire/isight.c | 10 +-
9137 sound/firewire/scs1x.c | 8 +-
9138 sound/oss/sb_audio.c | 2 +-
9139 sound/oss/swarm_cs4297a.c | 6 +-
9140 sound/pci/hda/hda_codec.c | 2 +-
9141 sound/pci/ymfpci/ymfpci.h | 2 +-
9142 sound/pci/ymfpci/ymfpci_main.c | 12 +-
9143 sound/soc/codecs/sti-sas.c | 10 +-
9144 sound/soc/intel/skylake/skl-sst-dsp.h | 4 +-
9145 sound/soc/soc-ac97.c | 6 +-
9146 sound/soc/xtensa/xtfpga-i2s.c | 2 +-
9147 tools/gcc/Makefile | 42 +
9148 tools/gcc/checker_plugin.c | 549 +
9149 tools/gcc/colorize_plugin.c | 215 +
9150 tools/gcc/constify_plugin.c | 571 +
9151 tools/gcc/gcc-common.h | 819 +
9152 tools/gcc/initify_plugin.c | 591 +
9153 tools/gcc/kallocstat_plugin.c | 188 +
9154 tools/gcc/kernexec_plugin.c | 549 +
9155 tools/gcc/latent_entropy_plugin.c | 474 +
9156 tools/gcc/randomize_layout_seed.h | 1 +
9157 tools/gcc/size_overflow_plugin/.gitignore | 2 +
9158 tools/gcc/size_overflow_plugin/Makefile | 28 +
9159 .../disable_size_overflow_hash.data | 12434 ++
9160 .../disable_size_overflow_hash.h | 152601 ++++++++++++++++++
9161 .../generate_size_overflow_hash.sh | 103 +
9162 .../insert_size_overflow_asm.c | 416 +
9163 .../size_overflow_plugin/intentional_overflow.c | 1116 +
9164 .../size_overflow_plugin/remove_unnecessary_dup.c | 137 +
9165 tools/gcc/size_overflow_plugin/size_overflow.h | 325 +
9166 .../gcc/size_overflow_plugin/size_overflow_debug.c | 194 +
9167 .../size_overflow_plugin/size_overflow_hash.data | 21454 +++
9168 .../size_overflow_hash_aux.data | 92 +
9169 tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 1226 +
9170 .../gcc/size_overflow_plugin/size_overflow_misc.c | 505 +
9171 .../size_overflow_plugin/size_overflow_plugin.c | 318 +
9172 .../size_overflow_plugin_hash.c | 352 +
9173 .../size_overflow_plugin/size_overflow_transform.c | 745 +
9174 .../size_overflow_transform_core.c | 1015 +
9175 tools/gcc/stackleak_plugin.c | 444 +
9176 tools/gcc/structleak_plugin.c | 290 +
9177 tools/include/linux/compiler.h | 8 +
9178 tools/perf/util/include/asm/alternative-asm.h | 3 +
9179 tools/virtio/linux/uaccess.h | 2 +-
9180 virt/kvm/kvm_main.c | 42 +-
9181 2088 files changed, 221599 insertions(+), 9618 deletions(-)
9182 commit 87790bbd0d8dc2bd7fd86cb947e32886db9e9766
9183 Author: Matthew Wilcox <willy@linux.intel.com>
9184 Date: Tue Feb 2 16:57:52 2016 -0800
9185
9186 radix-tree: fix race in gang lookup
9187
9188 If the indirect_ptr bit is set on a slot, that indicates we need to redo
9189 the lookup. Introduce a new function radix_tree_iter_retry() which
9190 forces the loop to retry the lookup by setting 'slot' to NULL and
9191 turning the iterator back to point at the problematic entry.
9192
9193 This is a pretty rare problem to hit at the moment; the lookup has to
9194 race with a grow of the radix tree from a height of 0. The consequences
9195 of hitting this race are that gang lookup could return a pointer to a
9196 radix_tree_node instead of a pointer to whatever the user had inserted
9197 in the tree.
9198
9199 Fixes: cebbd29e1c2f ("radix-tree: rewrite gang lookup using iterator")
9200 Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
9201 Cc: Hugh Dickins <hughd@google.com>
9202 Cc: Ohad Ben-Cohen <ohad@wizery.com>
9203 Cc: Konstantin Khlebnikov <khlebnikov@openvz.org>
9204 Cc: <stable@vger.kernel.org>
9205 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9206 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
9207
9208 include/linux/radix-tree.h | 16 ++++++++++++++++
9209 lib/radix-tree.c | 12 ++++++++++--
9210 2 files changed, 26 insertions(+), 2 deletions(-)
9211
9212 commit bf628043b4589c910919a0f221ae7f42aa8cea93
9213 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
9214 Date: Wed Feb 3 02:11:03 2016 +0100
9215
9216 unix: correctly track in-flight fds in sending process user_struct
9217
9218 The commit referenced in the Fixes tag incorrectly accounted the number
9219 of in-flight fds over a unix domain socket to the original opener
9220 of the file-descriptor. This allows another process to arbitrary
9221 deplete the original file-openers resource limit for the maximum of
9222 open files. Instead the sending processes and its struct cred should
9223 be credited.
9224
9225 To do so, we add a reference counted struct user_struct pointer to the
9226 scm_fp_list and use it to account for the number of inflight unix fds.
9227
9228 Fixes: 712f4aad406bb1 ("unix: properly account for FDs passed over unix sockets")
9229 Reported-by: David Herrmann <dh.herrmann@gmail.com>
9230 Cc: David Herrmann <dh.herrmann@gmail.com>
9231 Cc: Willy Tarreau <w@1wt.eu>
9232 Cc: Linus Torvalds <torvalds@linux-foundation.org>
9233 Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
9234 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
9235 Signed-off-by: David S. Miller <davem@davemloft.net>
9236
9237 include/net/af_unix.h | 4 ++--
9238 include/net/scm.h | 1 +
9239 net/core/scm.c | 7 +++++++
9240 net/unix/af_unix.c | 4 ++--
9241 net/unix/garbage.c | 8 ++++----
9242 5 files changed, 16 insertions(+), 8 deletions(-)
9243
9244 commit e830db443ff78d70b7b63536e688d73907face0c
9245 Author: Mike Kravetz <mike.kravetz@oracle.com>
9246 Date: Fri Jan 15 16:57:37 2016 -0800
9247
9248 fs/hugetlbfs/inode.c: fix bugs in hugetlb_vmtruncate_list()
9249
9250 Hillf Danton noticed bugs in the hugetlb_vmtruncate_list routine. The
9251 argument end is of type pgoff_t. It was being converted to a vaddr
9252 offset and passed to unmap_hugepage_range. However, end was also being
9253 used as an argument to the vma_interval_tree_foreach controlling loop.
9254 In addition, the conversion of end to vaddr offset was incorrect.
9255
9256 hugetlb_vmtruncate_list is called as part of a file truncate or
9257 fallocate hole punch operation.
9258
9259 When truncating a hugetlbfs file, this bug could prevent some pages from
9260 being unmapped. This is possible if there are multiple vmas mapping the
9261 file, and there is a sufficiently sized hole between the mappings. The
9262 size of the hole between two vmas (A,B) must be such that the starting
9263 virtual address of B is greater than (ending virtual address of A <<
9264 PAGE_SHIFT). In this case, the pages in B would not be unmapped. If
9265 pages are not properly unmapped during truncate, the following BUG is
9266 hit:
9267
9268 kernel BUG at fs/hugetlbfs/inode.c:428!
9269
9270 In the fallocate hole punch case, this bug could prevent pages from
9271 being unmapped as in the truncate case. However, for hole punch the
9272 result is that unmapped pages will not be removed during the operation.
9273 For hole punch, it is also possible that more pages than desired will be
9274 unmapped. This unnecessary unmapping will cause page faults to
9275 reestablish the mappings on subsequent page access.
9276
9277 Fixes: 1bfad99ab (" hugetlbfs: hugetlb_vmtruncate_list() needs to take a range")Reported-by: Hillf Danton <hillf.zj@alibaba-inc.com>
9278 Signed-off-by: Mike Kravetz <mike.kravetz@oracle.com>
9279 Cc: Hugh Dickins <hughd@google.com>
9280 Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
9281 Cc: Davidlohr Bueso <dave@stgolabs.net>
9282 Cc: Dave Hansen <dave.hansen@linux.intel.com>
9283 Cc: <stable@vger.kernel.org> [4.3]
9284 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9285 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
9286
9287 fs/hugetlbfs/inode.c | 19 +++++++++++--------
9288 1 files changed, 11 insertions(+), 8 deletions(-)
9289
9290 commit cdb3ba4a9113b779347387f3b6c6ea72dd4db12f
9291 Author: Takashi Iwai <tiwai@suse.de>
9292 Date: Thu Feb 4 17:06:13 2016 +0100
9293
9294 ALSA: timer: Fix leftover link at closing
9295
9296 In ALSA timer core, the active timer instance is managed in
9297 active_list linked list. Each element is added / removed dynamically
9298 at timer start, stop and in timer interrupt. The problem is that
9299 snd_timer_interrupt() has a thinko and leaves the element in
9300 active_list when it's the last opened element. This eventually leads
9301 to list corruption or use-after-free error.
9302
9303 This hasn't been revealed because we used to delete the list forcibly
9304 in snd_timer_stop() in the past. However, the recent fix avoids the
9305 double-stop behavior (in commit [f784beb75ce8: ALSA: timer: Fix link
9306 corruption due to double start or stop]), and this leak hits reality.
9307
9308 This patch fixes the link management in snd_timer_interrupt(). Now it
9309 simply unlinks no matter which stream is.
9310
9311 BugLink: http://lkml.kernel.org/r/CACT4Y+Yy2aukHP-EDp8-ziNqNNmb-NTf=jDWXMP7jB8HDa2vng@mail.gmail.com
9312 Reported-by: Dmitry Vyukov <dvyukov@google.com>
9313 Cc: <stable@vger.kernel.org>
9314 Signed-off-by: Takashi Iwai <tiwai@suse.de>
9315
9316 sound/core/timer.c | 4 ++--
9317 1 files changed, 2 insertions(+), 2 deletions(-)
9318
9319 commit 47d9647902f6a2f46a2be1e0140ba0f6f8c06008
9320 Author: Konstantin Khlebnikov <koct9i@gmail.com>
9321 Date: Fri Feb 5 15:37:01 2016 -0800
9322
9323 radix-tree: fix oops after radix_tree_iter_retry
9324
9325 Helper radix_tree_iter_retry() resets next_index to the current index.
9326 In following radix_tree_next_slot current chunk size becomes zero. This
9327 isn't checked and it tries to dereference null pointer in slot.
9328
9329 Tagged iterator is fine because retry happens only at slot 0 where tag
9330 bitmask in iter->tags is filled with single bit.
9331
9332 Fixes: 46437f9a554f ("radix-tree: fix race in gang lookup")
9333 Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com>
9334 Cc: Matthew Wilcox <willy@linux.intel.com>
9335 Cc: Hugh Dickins <hughd@google.com>
9336 Cc: Ohad Ben-Cohen <ohad@wizery.com>
9337 Cc: Jeremiah Mahler <jmmahler@gmail.com>
9338 Cc: <stable@vger.kernel.org>
9339 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9340 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
9341
9342 include/linux/radix-tree.h | 6 +++---
9343 1 files changed, 3 insertions(+), 3 deletions(-)
9344
9345 commit 95b5dcb3c01958502af00b0bc0da1d906aae11a2
9346 Merge: 438be0b 256aeaf
9347 Author: Brad Spengler <spender@grsecurity.net>
9348 Date: Sun Feb 7 08:29:33 2016 -0500
9349
9350 Merge branch 'pax-test' into grsec-test
9351
9352 commit 256aeaf87c22de8edf1f03682a572c590ae07771
9353 Author: Brad Spengler <spender@grsecurity.net>
9354 Date: Sun Feb 7 08:29:09 2016 -0500
9355
9356 Update to pax-linux-4.3.5-test28.patch:
9357 - fixed an integer truncation bug in numa_clear_kernel_node_hotplug caught by the size overflow plugin, reported by x14sg1 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4374)
9358 - spender fixed UDEREF on arm
9359
9360 arch/arm/Kconfig | 1 +
9361 arch/arm/include/asm/domain.h | 21 ++++++++-
9362 arch/arm/include/asm/futex.h | 9 ----
9363 arch/arm/include/asm/thread_info.h | 3 +
9364 arch/arm/include/asm/uaccess.h | 81 +++++++++++++++---------------------
9365 arch/arm/kernel/entry-armv.S | 2 +-
9366 arch/arm/kernel/process.c | 2 +-
9367 arch/arm/mm/alignment.c | 8 ----
9368 arch/x86/mm/numa.c | 2 +-
9369 security/Kconfig | 1 -
9370 10 files changed, 60 insertions(+), 70 deletions(-)
9371
9372 commit 438be0bd112bd17942b2628c53054dc1007558a1
9373 Author: Brad Spengler <spender@grsecurity.net>
9374 Date: Sat Feb 6 19:50:31 2016 -0500
9375
9376 Fix a number of issues caused by the upstream merging of a UDEREF ripoff resulting in unbootable
9377 ARM systems reported on the forums
9378
9379 arch/arm/Kconfig | 1 +
9380 arch/arm/include/asm/domain.h | 21 ++++++++-
9381 arch/arm/include/asm/futex.h | 9 ----
9382 arch/arm/include/asm/thread_info.h | 3 +
9383 arch/arm/include/asm/uaccess.h | 81 +++++++++++++++---------------------
9384 arch/arm/kernel/entry-armv.S | 2 +-
9385 arch/arm/kernel/process.c | 2 +-
9386 arch/arm/mm/alignment.c | 8 ----
9387 security/Kconfig | 1 -
9388 9 files changed, 59 insertions(+), 69 deletions(-)
9389
9390 commit 4ffdd5ef1f87e611af1efb4f251ada92abe9f4c0
9391 Author: Brad Spengler <spender@grsecurity.net>
9392 Date: Sat Feb 6 11:21:53 2016 -0500
9393
9394 Fix another compiler warning
9395
9396 net/ipv4/tcp_input.c | 2 ++
9397 1 files changed, 2 insertions(+), 0 deletions(-)
9398
9399 commit 30b5b7bc0fd67d458bdd5ab35e4689769eabd2ed
9400 Author: Brad Spengler <spender@grsecurity.net>
9401 Date: Sat Feb 6 11:16:12 2016 -0500
9402
9403 Fix two compiler warnings
9404
9405 kernel/pid.c | 5 ++---
9406 kernel/ptrace.c | 3 ++-
9407 2 files changed, 4 insertions(+), 4 deletions(-)
9408
9409 commit dda4d2a21914c480750f10bd55c6e3203d415d8d
9410 Author: Brad Spengler <spender@grsecurity.net>
9411 Date: Wed Feb 3 21:22:40 2016 -0500
9412
9413 Apply fix for integer truncation in NUMA init code, reported by
9414 x14sg1 on the forums:
9415 https://forums.grsecurity.net/viewtopic.php?f=3&t=4374
9416
9417 arch/x86/mm/numa.c | 2 +-
9418 1 files changed, 1 insertions(+), 1 deletions(-)
9419
9420 commit 477505f7c893cb6a2c3e22f83eefd9c985d7b3ca
9421 Merge: a781740 016d0d8
9422 Author: Brad Spengler <spender@grsecurity.net>
9423 Date: Wed Feb 3 21:20:58 2016 -0500
9424
9425 Merge branch 'pax-test' into grsec-test
9426
9427 commit 016d0d81a8dd4be1304c82a68e0ccf425868f467
9428 Author: Brad Spengler <spender@grsecurity.net>
9429 Date: Wed Feb 3 21:20:10 2016 -0500
9430
9431 Update to pax-linux-4.3.5-test27.patch:
9432 - fixed a bunch of potential REFCOUNT false positives, reported by Emese
9433 - restored padding in fpregs_state for storing AVX-512 state in the future
9434 - constified netlink_dump_control
9435 - added const version of debug_gimple_stmt for gcc plugins, by Emese
9436 - Emese fixed a bug in initify that could have initified too much
9437 - Emese fixed a false positive intentional integer overflow in xfrm4_extract_header, reported by corsac
9438
9439 arch/x86/include/asm/fpu/types.h | 1 +
9440 arch/x86/include/asm/mmu_context.h | 2 +-
9441 block/blk-cgroup.c | 18 ++--
9442 block/cfq-iosched.c | 4 +-
9443 crypto/crypto_user.c | 8 ++-
9444 drivers/acpi/apei/ghes.c | 6 +-
9445 drivers/char/ipmi/ipmi_ssif.c | 12 ++--
9446 drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 2 +-
9447 drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | 2 +-
9448 drivers/gpu/drm/amd/scheduler/sched_fence.c | 2 +-
9449 drivers/infiniband/core/netlink.c | 5 +-
9450 drivers/infiniband/hw/cxgb4/device.c | 6 +-
9451 drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 2 +-
9452 drivers/md/bcache/alloc.c | 2 +-
9453 drivers/md/bcache/bcache.h | 10 +-
9454 drivers/md/bcache/btree.c | 2 +-
9455 drivers/md/bcache/io.c | 10 +-
9456 drivers/md/bcache/journal.c | 2 +-
9457 drivers/md/bcache/stats.c | 26 +++---
9458 drivers/md/bcache/stats.h | 16 ++--
9459 drivers/md/bcache/super.c | 2 +-
9460 drivers/md/bcache/sysfs.c | 20 +++---
9461 drivers/md/dm-cache-target.c | 98 ++++++++++++------------
9462 drivers/md/dm-raid.c | 2 +-
9463 drivers/md/md.c | 6 +-
9464 drivers/md/md.h | 2 +-
9465 drivers/md/raid1.c | 2 +-
9466 drivers/md/raid10.c | 2 +-
9467 drivers/md/raid5.c | 4 +-
9468 drivers/media/pci/zoran/zoran.h | 1 -
9469 drivers/media/pci/zoran/zoran_driver.c | 3 -
9470 drivers/net/ethernet/sfc/selftest.c | 20 +++---
9471 drivers/net/irda/vlsi_ir.c | 18 ++--
9472 drivers/net/irda/vlsi_ir.h | 14 ++--
9473 drivers/net/wireless/ath/carl9170/carl9170.h | 6 +-
9474 drivers/net/wireless/ath/carl9170/debug.c | 6 +-
9475 drivers/net/wireless/ath/carl9170/main.c | 10 +-
9476 drivers/net/wireless/ath/carl9170/tx.c | 4 +-
9477 drivers/net/wireless/iwlwifi/mvm/d3.c | 4 +-
9478 drivers/net/wireless/iwlwifi/mvm/tx.c | 2 +-
9479 drivers/scsi/hptiop.c | 2 -
9480 drivers/scsi/hptiop.h | 1 -
9481 drivers/scsi/ipr.c | 6 +-
9482 drivers/scsi/ipr.h | 2 +-
9483 drivers/scsi/qla2xxx/qla_target.c | 10 +-
9484 drivers/scsi/qla2xxx/qla_target.h | 2 +-
9485 fs/btrfs/ctree.c | 2 +-
9486 fs/btrfs/ctree.h | 4 +-
9487 fs/btrfs/delayed-ref.c | 4 +-
9488 fs/btrfs/disk-io.c | 4 +-
9489 fs/btrfs/file.c | 4 +-
9490 fs/btrfs/raid56.c | 32 ++++----
9491 fs/btrfs/tests/btrfs-tests.c | 2 +-
9492 fs/btrfs/transaction.c | 2 +-
9493 fs/btrfs/tree-log.c | 8 +-
9494 fs/btrfs/volumes.c | 14 ++--
9495 fs/btrfs/volumes.h | 22 +++---
9496 fs/jbd2/commit.c | 2 +-
9497 fs/jbd2/transaction.c | 4 +-
9498 fs/ocfs2/dlm/dlmcommon.h | 4 +-
9499 fs/ocfs2/dlm/dlmdebug.c | 10 +-
9500 fs/ocfs2/dlm/dlmdomain.c | 4 +-
9501 fs/ocfs2/dlm/dlmmaster.c | 4 +-
9502 include/acpi/ghes.h | 2 +-
9503 include/linux/blk-cgroup.h | 24 +++---
9504 include/linux/jbd2.h | 2 +-
9505 include/linux/netlink.h | 12 ++--
9506 include/net/cfg802154.h | 2 +-
9507 include/net/mac80211.h | 2 +-
9508 include/net/neighbour.h | 2 +-
9509 kernel/rcu/tree_plugin.h | 4 +-
9510 net/batman-adv/routing.c | 4 +-
9511 net/batman-adv/soft-interface.c | 2 +-
9512 net/batman-adv/translation-table.c | 14 ++--
9513 net/batman-adv/types.h | 2 +-
9514 net/core/neighbour.c | 14 ++--
9515 net/core/rtnetlink.c | 2 +-
9516 net/ipv4/arp.c | 2 +-
9517 net/ipv4/inet_diag.c | 4 +-
9518 net/ipv4/xfrm4_state.c | 4 +-
9519 net/ipv6/ndisc.c | 2 +-
9520 net/mac80211/cfg.c | 2 +-
9521 net/mac80211/debugfs_key.c | 2 +-
9522 net/mac80211/key.c | 4 +-
9523 net/mac80211/tx.c | 2 +-
9524 net/mac80211/wpa.c | 10 +-
9525 net/mac802154/iface.c | 4 +-
9526 net/netfilter/ipset/ip_set_core.c | 2 +-
9527 net/netfilter/nf_conntrack_netlink.c | 22 +++---
9528 net/netfilter/nf_tables_api.c | 13 ++--
9529 net/netfilter/nfnetlink_acct.c | 7 +-
9530 net/netfilter/nfnetlink_cthelper.c | 2 +-
9531 net/netfilter/nfnetlink_cttimeout.c | 2 +-
9532 net/netlink/af_netlink.c | 10 ++-
9533 net/netlink/diag.c | 2 +-
9534 net/netlink/genetlink.c | 14 ++--
9535 net/packet/af_packet.c | 18 ++--
9536 net/packet/diag.c | 2 +-
9537 net/packet/internal.h | 6 +-
9538 net/unix/diag.c | 2 +-
9539 net/xfrm/xfrm_user.c | 2 +-
9540 security/apparmor/include/policy.h | 2 +-
9541 security/apparmor/policy.c | 4 +-
9542 sound/core/seq/seq_clientmgr.c | 2 +-
9543 sound/core/seq/seq_fifo.c | 6 +-
9544 sound/core/seq/seq_fifo.h | 2 +-
9545 tools/gcc/gcc-common.h | 24 ++++--
9546 tools/gcc/initify_plugin.c | 7 +-
9547 tools/lib/api/Makefile | 2 +-
9548 109 files changed, 399 insertions(+), 391 deletions(-)
9549
9550 commit a7817402ac837b1aee07fac42537a02097055098
9551 Author: Matt Fleming <matt@codeblueprint.co.uk>
9552 Date: Fri Jan 29 11:36:10 2016 +0000
9553
9554 x86/mm/pat: Avoid truncation when converting cpa->numpages to address
9555
9556 There are a couple of nasty truncation bugs lurking in the pageattr
9557 code that can be triggered when mapping EFI regions, e.g. when we pass
9558 a cpa->pgd pointer. Because cpa->numpages is a 32-bit value, shifting
9559 left by PAGE_SHIFT will truncate the resultant address to 32-bits.
9560
9561 Viorel-Cătălin managed to trigger this bug on his Dell machine that
9562 provides a ~5GB EFI region which requires 1236992 pages to be mapped.
9563 When calling populate_pud() the end of the region gets calculated
9564 incorrectly in the following buggy expression,
9565
9566 end = start + (cpa->numpages << PAGE_SHIFT);
9567
9568 And only 188416 pages are mapped. Next, populate_pud() gets invoked
9569 for a second time because of the loop in __change_page_attr_set_clr(),
9570 only this time no pages get mapped because shifting the remaining
9571 number of pages (1048576) by PAGE_SHIFT is zero. At which point the
9572 loop in __change_page_attr_set_clr() spins forever because we fail to
9573 map progress.
9574
9575 Hitting this bug depends very much on the virtual address we pick to
9576 map the large region at and how many pages we map on the initial run
9577 through the loop. This explains why this issue was only recently hit
9578 with the introduction of commit
9579
9580 a5caa209ba9c ("x86/efi: Fix boot crash by mapping EFI memmap
9581 entries bottom-up at runtime, instead of top-down")
9582
9583 It's interesting to note that safe uses of cpa->numpages do exist in
9584 the pageattr code. If instead of shifting ->numpages we multiply by
9585 PAGE_SIZE, no truncation occurs because PAGE_SIZE is a UL value, and
9586 so the result is unsigned long.
9587
9588 To avoid surprises when users try to convert very large cpa->numpages
9589 values to addresses, change the data type from 'int' to 'unsigned
9590 long', thereby making it suitable for shifting by PAGE_SHIFT without
9591 any type casting.
9592
9593 The alternative would be to make liberal use of casting, but that is
9594 far more likely to cause problems in the future when someone adds more
9595 code and fails to cast properly; this bug was difficult enough to
9596 track down in the first place.
9597
9598 Reported-and-tested-by: Viorel-Cătălin Răpițeanu <rapiteanu.catalin@gmail.com>
9599 Acked-by: Borislav Petkov <bp@alien8.de>
9600 Cc: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
9601 Cc: <stable@vger.kernel.org>
9602 Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
9603 Link: https://bugzilla.kernel.org/show_bug.cgi?id=110131
9604 Link: http://lkml.kernel.org/r/1454067370-10374-1-git-send-email-matt@codeblueprint.co.uk
9605 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
9606
9607 arch/x86/mm/pageattr.c | 4 ++--
9608 1 files changed, 2 insertions(+), 2 deletions(-)
9609
9610 commit 64dd9d7a67a742fda257cdd16510c29e695c34b5
9611 Author: Jan Beulich <JBeulich@suse.com>
9612 Date: Tue Jan 26 04:15:18 2016 -0700
9613
9614 x86/mm: Fix types used in pgprot cacheability flags translations
9615
9616 For PAE kernels "unsigned long" is not suitable to hold page protection
9617 flags, since _PAGE_NX doesn't fit there. This is the reason for quite a
9618 few W+X pages getting reported as insecure during boot (observed namely
9619 for the entire initrd range).
9620
9621 Fixes: 281d4078be ("x86: Make page cache mode a real type")
9622 Signed-off-by: Jan Beulich <jbeulich@suse.com>
9623 Reviewed-by: Juergen Gross <JGross@suse.com>
9624 Cc: stable@vger.kernel.org
9625 Link: http://lkml.kernel.org/r/56A7635602000078000CAFF1@prv-mh.provo.novell.com
9626 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
9627
9628 arch/x86/include/asm/pgtable_types.h | 6 ++----
9629 1 files changed, 2 insertions(+), 4 deletions(-)
9630
9631 commit bb9a3a9df0d8dfc96d521676e64c42b37ba22aea
9632 Merge: 682d661 f74425b
9633 Author: Brad Spengler <spender@grsecurity.net>
9634 Date: Sun Jan 31 15:06:25 2016 -0500
9635
9636 Merge branch 'pax-test' into grsec-test
9637
9638 Conflicts:
9639 drivers/net/slip/slhc.c
9640 include/linux/sched.h
9641 net/unix/af_unix.c
9642 sound/core/timer.c
9643
9644 commit f74425b5705bfe52aff9e97659ef10c4a14176c3
9645 Merge: d14af1f 849a2d3
9646 Author: Brad Spengler <spender@grsecurity.net>
9647 Date: Sun Jan 31 15:02:55 2016 -0500
9648
9649 Merge branch 'linux-4.3.y' into pax-test
9650
9651 Conflicts:
9652 arch/x86/include/asm/mmu_context.h
9653
9654 commit 682d6611d75542e351c973c8dd74a99d3966c073
9655 Author: Brad Spengler <spender@grsecurity.net>
9656 Date: Sat Jan 30 13:05:03 2016 -0500
9657
9658 Based on a report from Mathias Krause, fix up a number of additional instances
9659 of ulong overflow when passing in values to gr_learn_resource by saturating
9660 to ULONG_MAX
9661
9662 mm/mlock.c | 11 ++++++++---
9663 mm/mmap.c | 16 +++++++++++++---
9664 2 files changed, 21 insertions(+), 6 deletions(-)
9665
9666 commit adb52e95fb9ad4ac9c56cd5d47bd668f47c33096
9667 Author: Jann Horn <jann@thejh.net>
9668 Date: Sat Dec 26 06:00:48 2015 +0100
9669
9670 seccomp: always propagate NO_NEW_PRIVS on tsync
9671
9672 Before this patch, a process with some permissive seccomp filter
9673 that was applied by root without NO_NEW_PRIVS was able to add
9674 more filters to itself without setting NO_NEW_PRIVS by setting
9675 the new filter from a throwaway thread with NO_NEW_PRIVS.
9676
9677 Signed-off-by: Jann Horn <jann@thejh.net>
9678 Cc: stable@vger.kernel.org
9679 Signed-off-by: Kees Cook <keescook@chromium.org>
9680
9681 kernel/seccomp.c | 22 +++++++++++-----------
9682 1 files changed, 11 insertions(+), 11 deletions(-)
9683
9684 commit b85450498a3bbf269441c8963d7574bb3079c838
9685 Merge: 59c216f d14af1f
9686 Author: Brad Spengler <spender@grsecurity.net>
9687 Date: Fri Jan 29 20:54:13 2016 -0500
9688
9689 Merge branch 'pax-test' into grsec-test
9690
9691 commit d14af1f1dd66511f3f0674deee2b572972012b39
9692 Author: Brad Spengler <spender@grsecurity.net>
9693 Date: Fri Jan 29 20:53:51 2016 -0500
9694
9695 Update to pax-linux-4.3.4-test26.patch:
9696 - Emese fixed a few intentional overflows introduced by gcc, reported by StalkR (https://forums.grsecurity.net/viewtopic.php?f=3&t=4370)
9697
9698 fs/cifs/file.c | 2 +-
9699 fs/gfs2/file.c | 2 +-
9700 .../size_overflow_plugin/intentional_overflow.c | 96 ++++++++++++++++++--
9701 tools/gcc/size_overflow_plugin/size_overflow.h | 2 +
9702 .../size_overflow_plugin/size_overflow_plugin.c | 4 +-
9703 .../size_overflow_plugin/size_overflow_transform.c | 6 +-
9704 .../size_overflow_transform_core.c | 5 +
9705 7 files changed, 102 insertions(+), 15 deletions(-)
9706
9707 commit 59c216f13587eacdd692386b7a403ae78ed84fb6
9708 Author: Brad Spengler <spender@grsecurity.net>
9709 Date: Wed Jan 27 17:57:21 2016 -0500
9710
9711 Fix a size_overflow report reported by Mathias Krause in our
9712 truncation of an loff_t to an unsigned long when being passed
9713 to gr_learn_resource() (as all resource checks are against unsigned long
9714 values)
9715
9716 fs/attr.c | 5 ++++-
9717 1 files changed, 4 insertions(+), 1 deletions(-)
9718
9719 commit 70636c6ad60fc1db3af764ecc789b827b7497a97
9720 Author: Yuchung Cheng <ycheng@google.com>
9721 Date: Wed Jan 6 12:42:38 2016 -0800
9722
9723 tcp: fix zero cwnd in tcp_cwnd_reduction
9724
9725 Patch 3759824da87b ("tcp: PRR uses CRB mode by default and SS mode
9726 conditionally") introduced a bug that cwnd may become 0 when both
9727 inflight and sndcnt are 0 (cwnd = inflight + sndcnt). This may lead
9728 to a div-by-zero if the connection starts another cwnd reduction
9729 phase by setting tp->prior_cwnd to the current cwnd (0) in
9730 tcp_init_cwnd_reduction().
9731
9732 To prevent this we skip PRR operation when nothing is acked or
9733 sacked. Then cwnd must be positive in all cases as long as ssthresh
9734 is positive:
9735
9736 1) The proportional reduction mode
9737 inflight > ssthresh > 0
9738
9739 2) The reduction bound mode
9740 a) inflight == ssthresh > 0
9741
9742 b) inflight < ssthresh
9743 sndcnt > 0 since newly_acked_sacked > 0 and inflight < ssthresh
9744
9745 Therefore in all cases inflight and sndcnt can not both be 0.
9746 We check invalid tp->prior_cwnd to avoid potential div0 bugs.
9747
9748 In reality this bug is triggered only with a sequence of less common
9749 events. For example, the connection is terminating an ECN-triggered
9750 cwnd reduction with an inflight 0, then it receives reordered/old
9751 ACKs or DSACKs from prior transmission (which acks nothing). Or the
9752 connection is in fast recovery stage that marks everything lost,
9753 but fails to retransmit due to local issues, then receives data
9754 packets from other end which acks nothing.
9755
9756 Fixes: 3759824da87b ("tcp: PRR uses CRB mode by default and SS mode conditionally")
9757 Reported-by: Oleksandr Natalenko <oleksandr@natalenko.name>
9758 Signed-off-by: Yuchung Cheng <ycheng@google.com>
9759 Signed-off-by: Neal Cardwell <ncardwell@google.com>
9760 Signed-off-by: Eric Dumazet <edumazet@google.com>
9761 Signed-off-by: David S. Miller <davem@davemloft.net>
9762
9763 net/ipv4/tcp_input.c | 3 +++
9764 1 files changed, 3 insertions(+), 0 deletions(-)
9765
9766 commit dac1da2bedbb43195d371c7a192cfeeb45683df0
9767 Author: Eric Dumazet <edumazet@google.com>
9768 Date: Sun Jan 24 13:53:50 2016 -0800
9769
9770 af_unix: fix struct pid memory leak
9771
9772 Dmitry reported a struct pid leak detected by a syzkaller program.
9773
9774 Bug happens in unix_stream_recvmsg() when we break the loop when a
9775 signal is pending, without properly releasing scm.
9776
9777 Fixes: b3ca9b02b007 ("net: fix multithreaded signal handling in unix recv routines")
9778 Reported-by: Dmitry Vyukov <dvyukov@google.com>
9779 Signed-off-by: Eric Dumazet <edumazet@google.com>
9780 Cc: Rainer Weikusat <rweikusat@mobileactivedefense.com>
9781 Signed-off-by: David S. Miller <davem@davemloft.net>
9782
9783 net/unix/af_unix.c | 1 +
9784 1 files changed, 1 insertions(+), 0 deletions(-)
9785
9786 commit 15cc47f127520d1ac0c1fe76d993c2c27f0f2571
9787 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
9788 Date: Fri Jan 22 01:39:43 2016 +0100
9789
9790 pptp: fix illegal memory access caused by multiple bind()s
9791
9792 Several times already this has been reported as kasan reports caused by
9793 syzkaller and trinity and people always looked at RCU races, but it is
9794 much more simple. :)
9795
9796 In case we bind a pptp socket multiple times, we simply add it to
9797 the callid_sock list but don't remove the old binding. Thus the old
9798 socket stays in the bucket with unused call_id indexes and doesn't get
9799 cleaned up. This causes various forms of kasan reports which were hard
9800 to pinpoint.
9801
9802 Simply don't allow multiple binds and correct error handling in
9803 pptp_bind. Also keep sk_state bits in place in pptp_connect.
9804
9805 Fixes: 00959ade36acad ("PPTP: PPP over IPv4 (Point-to-Point Tunneling Protocol)")
9806 Cc: Dmitry Kozlov <xeb@mail.ru>
9807 Cc: Sasha Levin <sasha.levin@oracle.com>
9808 Cc: Dmitry Vyukov <dvyukov@google.com>
9809 Reported-by: Dmitry Vyukov <dvyukov@google.com>
9810 Cc: Dave Jones <davej@codemonkey.org.uk>
9811 Reported-by: Dave Jones <davej@codemonkey.org.uk>
9812 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
9813 Signed-off-by: David S. Miller <davem@davemloft.net>
9814
9815 drivers/net/ppp/pptp.c | 34 ++++++++++++++++++++++++----------
9816 1 files changed, 24 insertions(+), 10 deletions(-)
9817
9818 commit e2b7b8c66851c85188fa6dab2d2b2a6c85bc7332
9819 Author: Brad Spengler <spender@grsecurity.net>
9820 Date: Tue Jan 26 18:17:10 2016 -0500
9821
9822 Add info about cpupower/powertop to GRKERNSEC_KMEM, was present on our
9823 wiki but was removed from the config help at some point
9824
9825 grsecurity/Kconfig | 3 +++
9826 1 files changed, 3 insertions(+), 0 deletions(-)
9827
9828 commit ce2e88efa000fc32bfcd84098f57c8ed8310fefc
9829 Author: Thomas Egerer <hakke_007@gmx.de>
9830 Date: Mon Jan 25 12:58:44 2016 +0100
9831
9832 ipv4+ipv6: Make INET*_ESP select CRYPTO_ECHAINIV
9833
9834 The ESP algorithms using CBC mode require echainiv. Hence INET*_ESP have
9835 to select CRYPTO_ECHAINIV in order to work properly. This solves the
9836 issues caused by a misconfiguration as described in [1].
9837 The original approach, patching crypto/Kconfig was turned down by
9838 Herbert Xu [2].
9839
9840 [1] https://lists.strongswan.org/pipermail/users/2015-December/009074.html
9841 [2] http://marc.info/?l=linux-crypto-vger&m=145224655809562&w=2
9842
9843 Signed-off-by: Thomas Egerer <hakke_007@gmx.de>
9844 Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
9845 Signed-off-by: David S. Miller <davem@davemloft.net>
9846
9847 net/ipv4/Kconfig | 1 +
9848 net/ipv6/Kconfig | 1 +
9849 2 files changed, 2 insertions(+), 0 deletions(-)
9850
9851 commit fca5a303155ea67d28aece0caf2b03ffc3b2668d
9852 Merge: 904114c 6339c1f
9853 Author: Brad Spengler <spender@grsecurity.net>
9854 Date: Tue Jan 26 18:08:40 2016 -0500
9855
9856 Merge branch 'pax-test' into grsec-test
9857
9858 commit 6339c1f9a9beafd417bf9f04d4b257e62aeb45b7
9859 Author: Brad Spengler <spender@grsecurity.net>
9860 Date: Tue Jan 26 18:07:51 2016 -0500
9861
9862 Update to pax-linux-4.3.4-test25.patch:
9863 - fixed incorrect handling of VM_DONTCOPY during fork that would trigger a consistency check in the vma mirroring logic, reported by Mathias Krause <minipli@googlemail.com>
9864 - fixed init_new_context on !MODIFY_LDT_SYSCALL configs, reported by tjh (https://forums.grsecurity.net/viewtopic.php?f=3&t=4368)
9865 - fixed a few REFCOUNT false positives in SNMP related statistics
9866
9867 arch/x86/Kconfig | 2 +-
9868 arch/x86/include/asm/mmu_context.h | 17 +++++++++++++++++
9869 include/net/snmp.h | 10 +++++-----
9870 kernel/fork.c | 11 +++++++++--
9871 net/ipv4/proc.c | 8 ++++----
9872 net/ipv6/addrconf.c | 4 ++--
9873 net/ipv6/proc.c | 10 +++++-----
9874 7 files changed, 43 insertions(+), 19 deletions(-)
9875
9876 commit 904114c2fce3fdff5d57e763da56a78960db4e19
9877 Author: Al Viro <viro@zeniv.linux.org.uk>
9878 Date: Fri Jan 22 18:08:52 2016 -0500
9879
9880 make sure that freeing shmem fast symlinks is RCU-delayed
9881
9882 Cc: stable@vger.kernel.org # v4.2+
9883 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
9884
9885 include/linux/shmem_fs.h | 5 +----
9886 mm/shmem.c | 9 ++++-----
9887 2 files changed, 5 insertions(+), 9 deletions(-)
9888
9889 commit ab86adee64312a2f827dd516cb199521327943ed
9890 Author: Sasha Levin <sasha.levin@oracle.com>
9891 Date: Mon Jan 18 19:23:51 2016 -0500
9892
9893 netfilter: nf_conntrack: use safer way to lock all buckets
9894
9895 When we need to lock all buckets in the connection hashtable we'd attempt to
9896 lock 1024 spinlocks, which is way more preemption levels than supported by
9897 the kernel. Furthermore, this behavior was hidden by checking if lockdep is
9898 enabled, and if it was - use only 8 buckets(!).
9899
9900 Fix this by using a global lock and synchronize all buckets on it when we
9901 need to lock them all. This is pretty heavyweight, but is only done when we
9902 need to resize the hashtable, and that doesn't happen often enough (or at all).
9903
9904 Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
9905 Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
9906 Reviewed-by: Florian Westphal <fw@strlen.de>
9907 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
9908
9909 Conflicts:
9910
9911 net/netfilter/nfnetlink_cttimeout.c
9912
9913 include/net/netfilter/nf_conntrack_core.h | 8 ++----
9914 net/netfilter/nf_conntrack_core.c | 38 +++++++++++++++++++++-------
9915 net/netfilter/nf_conntrack_helper.c | 2 +-
9916 net/netfilter/nf_conntrack_netlink.c | 2 +-
9917 4 files changed, 33 insertions(+), 17 deletions(-)
9918
9919 commit 37014723527225481c720484bb788a1a6358072f
9920 Author: Willy Tarreau <w@1wt.eu>
9921 Date: Mon Jan 18 16:36:09 2016 +0100
9922
9923 pipe: limit the per-user amount of pages allocated in pipes
9924
9925 On no-so-small systems, it is possible for a single process to cause an
9926 OOM condition by filling large pipes with data that are never read. A
9927 typical process filling 4000 pipes with 1 MB of data will use 4 GB of
9928 memory. On small systems it may be tricky to set the pipe max size to
9929 prevent this from happening.
9930
9931 This patch makes it possible to enforce a per-user soft limit above
9932 which new pipes will be limited to a single page, effectively limiting
9933 them to 4 kB each, as well as a hard limit above which no new pipes may
9934 be created for this user. This has the effect of protecting the system
9935 against memory abuse without hurting other users, and still allowing
9936 pipes to work correctly though with less data at once.
9937
9938 The limit are controlled by two new sysctls : pipe-user-pages-soft, and
9939 pipe-user-pages-hard. Both may be disabled by setting them to zero. The
9940 default soft limit allows the default number of FDs per process (1024)
9941 to create pipes of the default size (64kB), thus reaching a limit of 64MB
9942 before starting to create only smaller pipes. With 256 processes limited
9943 to 1024 FDs each, this results in 1024*64kB + (256*1024 - 1024) * 4kB =
9944 1084 MB of memory allocated for a user. The hard limit is disabled by
9945 default to avoid breaking existing applications that make intensive use
9946 of pipes (eg: for splicing).
9947
9948 Reported-by: socketpair@gmail.com
9949 Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
9950 Mitigates: CVE-2013-4312 (Linux 2.0+)
9951 Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
9952 Signed-off-by: Willy Tarreau <w@1wt.eu>
9953 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
9954
9955 Documentation/sysctl/fs.txt | 23 +++++++++++++++++++++
9956 fs/pipe.c | 47 +++++++++++++++++++++++++++++++++++++++++-
9957 include/linux/pipe_fs_i.h | 4 +++
9958 include/linux/sched.h | 1 +
9959 kernel/sysctl.c | 14 ++++++++++++
9960 5 files changed, 87 insertions(+), 2 deletions(-)
9961
9962 commit 51645fa198d194f746651dcfbc5f24a4cf8b9fb8
9963 Merge: 540f2af 7791ecb
9964 Author: Brad Spengler <spender@grsecurity.net>
9965 Date: Sat Jan 23 10:57:11 2016 -0500
9966
9967 Merge branch 'pax-test' into grsec-test
9968
9969 commit 7791ecb84f840343a5646236fd0d34e1fb450793
9970 Merge: 470069c 399588c
9971 Author: Brad Spengler <spender@grsecurity.net>
9972 Date: Sat Jan 23 10:56:47 2016 -0500
9973
9974 Merge branch 'linux-4.3.y' into pax-test
9975
9976 commit 540f2affebd42cdc26a699208ab4f1cb0cb75e33
9977 Author: Brad Spengler <spender@grsecurity.net>
9978 Date: Tue Jan 19 21:18:47 2016 -0500
9979
9980 Update size_overflow hash table
9981
9982 .../size_overflow_plugin/size_overflow_hash.data | 4 +++-
9983 1 files changed, 3 insertions(+), 1 deletions(-)
9984
9985 commit 7e649765626a28437f573f0fbe7a51a04615f041
9986 Author: Brad Spengler <spender@grsecurity.net>
9987 Date: Tue Jan 19 20:29:46 2016 -0500
9988
9989 Backport fix from: https://lkml.org/lkml/2015/12/13/187
9990
9991 fs/ext4/extents.c | 2 +-
9992 1 files changed, 1 insertions(+), 1 deletions(-)
9993
9994 commit 53b859cd0a5f5b6ad54fe0c879dfedaa3c5a3005
9995 Author: Jann Horn <jann@thejh.net>
9996 Date: Tue Jan 5 18:27:30 2016 +0100
9997
9998 compat_ioctl: don't call do_ioctl under set_fs(KERNEL_DS)
9999
10000 This replaces all code in fs/compat_ioctl.c that translated
10001 ioctl arguments into a in-kernel structure, then performed
10002 do_ioctl under set_fs(KERNEL_DS), with code that allocates
10003 data on the user stack and can call the VFS ioctl handler
10004 under USER_DS.
10005
10006 This is done as a hardening measure because the caller
10007 does not know what kind of ioctl handler will be invoked,
10008 only that no corresponding compat_ioctl handler exists and
10009 what the ioctl command number is. The accidental
10010 invocation of an unlocked_ioctl handler that unexpectedly
10011 calls copy_to_user could be a severe security issue.
10012
10013 Signed-off-by: Jann Horn <jann@thejh.net>
10014 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
10015
10016 Conflicts:
10017
10018 fs/compat_ioctl.c
10019
10020 fs/compat_ioctl.c | 130 ++++++++++++++++++++++++++++-------------------------
10021 1 files changed, 68 insertions(+), 62 deletions(-)
10022
10023 commit 3e89e770ae27e931cd1583f021abac41eeebc3e7
10024 Author: Al Viro <viro@zeniv.linux.org.uk>
10025 Date: Thu Jan 7 09:53:30 2016 -0500
10026
10027 compat_ioctl: don't pass fd around when not needed
10028
10029 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
10030
10031 fs/compat_ioctl.c | 103 ++++++++++++++++++++++++++--------------------------
10032 fs/internal.h | 7 ++++
10033 fs/ioctl.c | 4 +-
10034 include/linux/fs.h | 2 -
10035 4 files changed, 61 insertions(+), 55 deletions(-)
10036
10037 commit 9d4e04082752d4d2d68445c4e6faf33a2613df55
10038 Author: Jann Horn <jann@thejh.net>
10039 Date: Tue Jan 5 18:27:29 2016 +0100
10040
10041 compat_ioctl: don't look up the fd twice
10042
10043 In code in fs/compat_ioctl.c that translates ioctl arguments
10044 into a in-kernel structure, then performs sys_ioctl, possibly
10045 under set_fs(KERNEL_DS), this commit changes the sys_ioctl
10046 calls to do_ioctl calls. do_ioctl is a new function that does
10047 the same thing as sys_ioctl, but doesn't look up the fd again.
10048
10049 This change is made to avoid (potential) security issues
10050 because of ioctl handlers that accept one of the ioctl
10051 commands I2C_FUNCS, VIDEO_GET_EVENT, MTIOCPOS, MTIOCGET,
10052 TIOCGSERIAL, TIOCSSERIAL, RTC_IRQP_READ, RTC_EPOCH_READ.
10053 This can happen for multiple reasons:
10054
10055 - The ioctl command number could be reused.
10056 - The ioctl handler might not check the full ioctl
10057 command. This is e.g. true for drm_ioctl.
10058 - The ioctl handler is very special, e.g. cuse_file_ioctl
10059
10060 The real issue is that set_fs(KERNEL_DS) is used here,
10061 but that's fixed in a separate commit
10062 "compat_ioctl: don't call do_ioctl under set_fs(KERNEL_DS)".
10063
10064 This change mitigates potential security issues by
10065 preventing a race that permits invocation of
10066 unlocked_ioctl handlers under KERNEL_DS through compat
10067 code even if a corresponding compat_ioctl handler exists.
10068
10069 So far, no way has been identified to use this to damage
10070 kernel memory without having CAP_SYS_ADMIN in the init ns
10071 (with the capability, doing reads/writes at arbitrary
10072 kernel addresses should be easy through CUSE's ioctl
10073 handler with FUSE_IOCTL_UNRESTRICTED set).
10074
10075 [AV: two missed sys_ioctl() taken care of]
10076
10077 Signed-off-by: Jann Horn <jann@thejh.net>
10078 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
10079
10080 fs/compat_ioctl.c | 122 +++++++++++++++++++++++++++++-----------------------
10081 1 files changed, 68 insertions(+), 54 deletions(-)
10082
10083 commit 5bf9e1ed4ebb278cd956ba142914fc04a024309c
10084 Author: Vasily Kulikov <segoon@openwall.com>
10085 Date: Fri Jan 15 16:57:55 2016 -0800
10086
10087 include/linux/poison.h: use POISON_POINTER_DELTA for poison pointers
10088
10089 TIMER_ENTRY_STATIC is defined as a poison pointers which
10090 should point to nowhere. Redefine them using POISON_POINTER_DELTA
10091 arithmetics to make sure they really point to non-mappable area declared
10092 by the target architecture.
10093
10094 Signed-off-by: Vasily Kulikov <segoon@openwall.com>
10095 Acked-by: Thomas Gleixner <tglx@linutronix.de>
10096 Cc: Solar Designer <solar@openwall.com>
10097 Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
10098 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
10099 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
10100
10101 Conflicts:
10102
10103 include/linux/poison.h
10104
10105 include/linux/poison.h | 2 +-
10106 1 files changed, 1 insertions(+), 1 deletions(-)
10107
10108 commit 60f2e0a05ab8f56c804a9334a23e2b446305d110
10109 Author: Brad Spengler <spender@grsecurity.net>
10110 Date: Tue Jan 19 19:41:44 2016 -0500
10111
10112 Fix ARM compilation, reported by Austin Sepp
10113
10114 grsecurity/grsec_sig.c | 1 +
10115 1 files changed, 1 insertions(+), 0 deletions(-)
10116
10117 commit e15383743443dc43460a2fd73e0db0b608610dca
10118 Author: Takashi Iwai <tiwai@suse.de>
10119 Date: Mon Jan 18 13:52:47 2016 +0100
10120
10121 ALSA: hrtimer: Fix stall by hrtimer_cancel()
10122
10123 hrtimer_cancel() waits for the completion from the callback, thus it
10124 must not be called inside the callback itself. This was already a
10125 problem in the past with ALSA hrtimer driver, and the early commit
10126 [fcfdebe70759: ALSA: hrtimer - Fix lock-up] tried to address it.
10127
10128 However, the previous fix is still insufficient: it may still cause a
10129 lockup when the ALSA timer instance reprograms itself in its callback.
10130 Then it invokes the start function even in snd_timer_interrupt() that
10131 is called in hrtimer callback itself, results in a CPU stall. This is
10132 no hypothetical problem but actually triggered by syzkaller fuzzer.
10133
10134 This patch tries to fix the issue again. Now we call
10135 hrtimer_try_to_cancel() at both start and stop functions so that it
10136 won't fall into a deadlock, yet giving some chance to cancel the queue
10137 if the functions have been called outside the callback. The proper
10138 hrtimer_cancel() is called in anyway at closing, so this should be
10139 enough.
10140
10141 Reported-and-tested-by: Dmitry Vyukov <dvyukov@google.com>
10142 Cc: <stable@vger.kernel.org>
10143 Signed-off-by: Takashi Iwai <tiwai@suse.de>
10144
10145 sound/core/hrtimer.c | 3 ++-
10146 1 files changed, 2 insertions(+), 1 deletions(-)
10147
10148 commit 12d874daf706e6e7c1ae709141859c809599297e
10149 Author: Takashi Iwai <tiwai@suse.de>
10150 Date: Tue Jan 12 12:38:02 2016 +0100
10151
10152 ALSA: seq: Fix missing NULL check at remove_events ioctl
10153
10154 snd_seq_ioctl_remove_events() calls snd_seq_fifo_clear()
10155 unconditionally even if there is no FIFO assigned, and this leads to
10156 an Oops due to NULL dereference. The fix is just to add a proper NULL
10157 check.
10158
10159 Reported-by: Dmitry Vyukov <dvyukov@google.com>
10160 Tested-by: Dmitry Vyukov <dvyukov@google.com>
10161 Cc: <stable@vger.kernel.org>
10162 Signed-off-by: Takashi Iwai <tiwai@suse.de>
10163
10164 sound/core/seq/seq_clientmgr.c | 2 +-
10165 1 files changed, 1 insertions(+), 1 deletions(-)
10166
10167 commit 2eb0632df1351378946507e7ef7ba0682632a7b5
10168 Author: Takashi Iwai <tiwai@suse.de>
10169 Date: Tue Jan 12 15:36:27 2016 +0100
10170
10171 ALSA: seq: Fix race at timer setup and close
10172
10173 ALSA sequencer code has an open race between the timer setup ioctl and
10174 the close of the client. This was triggered by syzkaller fuzzer, and
10175 a use-after-free was caught there as a result.
10176
10177 This patch papers over it by adding a proper queue->timer_mutex lock
10178 around the timer-related calls in the relevant code path.
10179
10180 Reported-by: Dmitry Vyukov <dvyukov@google.com>
10181 Tested-by: Dmitry Vyukov <dvyukov@google.com>
10182 Cc: <stable@vger.kernel.org>
10183 Signed-off-by: Takashi Iwai <tiwai@suse.de>
10184
10185 sound/core/seq/seq_queue.c | 2 ++
10186 1 files changed, 2 insertions(+), 0 deletions(-)
10187
10188 commit b9e55ab955e59b4a636d78a748be90334a48b485
10189 Author: Takashi Iwai <tiwai@suse.de>
10190 Date: Thu Jan 14 16:30:58 2016 +0100
10191
10192 ALSA: timer: Harden slave timer list handling
10193
10194 A slave timer instance might be still accessible in a racy way while
10195 operating the master instance as it lacks of locking. Since the
10196 master operation is mostly protected with timer->lock, we should cope
10197 with it while changing the slave instance, too. Also, some linked
10198 lists (active_list and ack_list) of slave instances aren't unlinked
10199 immediately at stopping or closing, and this may lead to unexpected
10200 accesses.
10201
10202 This patch tries to address these issues. It adds spin lock of
10203 timer->lock (either from master or slave, which is equivalent) in a
10204 few places. For avoiding a deadlock, we ensure that the global
10205 slave_active_lock is always locked at first before each timer lock.
10206
10207 Also, ack and active_list of slave instances are properly unlinked at
10208 snd_timer_stop() and snd_timer_close().
10209
10210 Last but not least, remove the superfluous call of _snd_timer_stop()
10211 at removing slave links. This is a noop, and calling it may confuse
10212 readers wrt locking. Further cleanup will follow in a later patch.
10213
10214 Actually we've got reports of use-after-free by syzkaller fuzzer, and
10215 this hopefully fixes these issues.
10216
10217 Reported-by: Dmitry Vyukov <dvyukov@google.com>
10218 Cc: <stable@vger.kernel.org>
10219 Signed-off-by: Takashi Iwai <tiwai@suse.de>
10220
10221 sound/core/timer.c | 18 ++++++++++++++----
10222 1 files changed, 14 insertions(+), 4 deletions(-)
10223
10224 commit f1ce0547bdfda1b42ae8a66c222f2a897cbe1586
10225 Author: Takashi Iwai <tiwai@suse.de>
10226 Date: Wed Jan 13 17:48:01 2016 +0100
10227
10228 ALSA: timer: Fix race among timer ioctls
10229
10230 ALSA timer ioctls have an open race and this may lead to a
10231 use-after-free of timer instance object. A simplistic fix is to make
10232 each ioctl exclusive. We have already tread_sem for controlling the
10233 tread, and extend this as a global mutex to be applied to each ioctl.
10234
10235 The downside is, of course, the worse concurrency. But these ioctls
10236 aren't to be parallel accessible, in anyway, so it should be fine to
10237 serialize there.
10238
10239 Reported-by: Dmitry Vyukov <dvyukov@google.com>
10240 Tested-by: Dmitry Vyukov <dvyukov@google.com>
10241 Cc: <stable@vger.kernel.org>
10242 Signed-off-by: Takashi Iwai <tiwai@suse.de>
10243
10244 sound/core/timer.c | 32 +++++++++++++++++++-------------
10245 1 files changed, 19 insertions(+), 13 deletions(-)
10246
10247 commit 8347d8461ed48a98f9c76cc3cfcdad8217d314bc
10248 Author: Takashi Iwai <tiwai@suse.de>
10249 Date: Wed Jan 13 21:35:06 2016 +0100
10250
10251 ALSA: timer: Fix double unlink of active_list
10252
10253 ALSA timer instance object has a couple of linked lists and they are
10254 unlinked unconditionally at snd_timer_stop(). Meanwhile
10255 snd_timer_interrupt() unlinks it, but it calls list_del() which leaves
10256 the element list itself unchanged. This ends up with unlinking twice,
10257 and it was caught by syzkaller fuzzer.
10258
10259 The fix is to use list_del_init() variant properly there, too.
10260
10261 Reported-by: Dmitry Vyukov <dvyukov@google.com>
10262 Tested-by: Dmitry Vyukov <dvyukov@google.com>
10263 Cc: <stable@vger.kernel.org>
10264 Signed-off-by: Takashi Iwai <tiwai@suse.de>
10265
10266 sound/core/timer.c | 2 +-
10267 1 files changed, 1 insertions(+), 1 deletions(-)
10268
10269 commit 243aebb7ae71d6e11ea9880faa893d1d0d60cd75
10270 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
10271 Date: Mon Jan 18 18:03:48 2016 +0100
10272
10273 ovs: limit ovs recursions in ovs_execute_actions to not corrupt stack
10274
10275 It was seen that defective configurations of openvswitch could overwrite
10276 the STACK_END_MAGIC and cause a hard crash of the kernel because of too
10277 many recursions within ovs.
10278
10279 This problem arises due to the high stack usage of openvswitch. The rest
10280 of the kernel is fine with the current limit of 10 (RECURSION_LIMIT).
10281
10282 We use the already existing recursion counter in ovs_execute_actions to
10283 implement an upper bound of 5 recursions.
10284
10285 Cc: Pravin Shelar <pshelar@ovn.org>
10286 Cc: Simon Horman <simon.horman@netronome.com>
10287 Cc: Eric Dumazet <eric.dumazet@gmail.com>
10288 Cc: Simon Horman <simon.horman@netronome.com>
10289 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
10290 Signed-off-by: David S. Miller <davem@davemloft.net>
10291
10292 net/openvswitch/actions.c | 19 ++++++++++++++-----
10293 1 files changed, 14 insertions(+), 5 deletions(-)
10294
10295 commit 8080793479c6d5befe37a67b1dbd9e4e0a61af96
10296 Author: Ursula Braun <ursula.braun@de.ibm.com>
10297 Date: Tue Jan 19 10:41:33 2016 +0100
10298
10299 af_iucv: Validate socket address length in iucv_sock_bind()
10300
10301 Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
10302 Reported-by: Dmitry Vyukov <dvyukov@google.com>
10303 Reviewed-by: Evgeny Cherkashin <Eugene.Crosser@ru.ibm.com>
10304 Signed-off-by: David S. Miller <davem@davemloft.net>
10305
10306 net/iucv/af_iucv.c | 3 +++
10307 1 files changed, 3 insertions(+), 0 deletions(-)
10308
10309 commit 50a383c1c91ed7409c3cbdd41e662d6891463d1b
10310 Author: Brad Spengler <spender@grsecurity.net>
10311 Date: Tue Jan 19 19:32:54 2016 -0500
10312
10313 Apply the same fix as everyone else for the recent keys vulnerability that is
10314 unexploitable under PAX_REFCOUNT
10315
10316 Make a couple more changes that no one else can/will
10317
10318 include/linux/key-type.h | 4 ++--
10319 ipc/msgutil.c | 4 ++--
10320 security/keys/internal.h | 2 +-
10321 security/keys/process_keys.c | 1 +
10322 4 files changed, 6 insertions(+), 5 deletions(-)
10323
10324 commit b56c3a63f431c193400aee17543021950bd14bc4
10325 Merge: 38b1a3d 470069c
10326 Author: Brad Spengler <spender@grsecurity.net>
10327 Date: Sun Jan 17 18:30:19 2016 -0500
10328
10329 Merge branch 'pax-test' into grsec-test
10330
10331 commit 470069cfedef2180313233d275be5901bd6d1135
10332 Author: Brad Spengler <spender@grsecurity.net>
10333 Date: Sun Jan 17 18:29:59 2016 -0500
10334
10335 Update to pax-linux-4.3.3-test22.patch:
10336 - Emesed fixed a gcc induced intentional integer overflow in asix_rx_fixup_internal, reported by thomas callison caffrey
10337 - fixed some more fallout from the drm_drivers constification, reported by Colin Childs and Toralf Foerster
10338
10339 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 14 ++++----------
10340 drivers/gpu/drm/drm_pci.c | 3 +++
10341 drivers/gpu/drm/gma500/psb_drv.c | 4 ----
10342 drivers/gpu/drm/i915/i915_drv.c | 16 ++++++++--------
10343 drivers/gpu/drm/nouveau/nouveau_drm.c | 6 +++---
10344 drivers/gpu/drm/radeon/radeon_drv.c | 4 +---
10345 drivers/net/usb/asix_common.c | 3 ++-
10346 include/drm/drmP.h | 1 +
10347 8 files changed, 22 insertions(+), 29 deletions(-)
10348
10349 commit 38b1a3d676f407865c3d41840df8213c5ad639c1
10350 Author: Brad Spengler <spender@grsecurity.net>
10351 Date: Sun Jan 17 12:33:53 2016 -0500
10352
10353 As reported by Luis Ressel, the Kconfig help for GRKERNSEC_BRUTE
10354 mentioned banning execution of suid/sgid binaries, though the kernel
10355 source clearly only mentions banning execution of suid binaries. Since
10356 there's no reason for us to not ban execution of sgid binaries as well,
10357 make the implementation match the Kconfig description.
10358
10359 fs/exec.c | 4 ++--
10360 grsecurity/grsec_sig.c | 27 ++++++++++++++-------------
10361 include/linux/sched.h | 4 ++--
10362 3 files changed, 18 insertions(+), 17 deletions(-)
10363
10364 commit 8c3bcb7dbf7f606acfa0983e81f0f928da1f1ace
10365 Merge: d141a86 ea4a835
10366 Author: Brad Spengler <spender@grsecurity.net>
10367 Date: Sat Jan 16 14:12:22 2016 -0500
10368
10369 Merge branch 'pax-test' into grsec-test
10370
10371 Conflicts:
10372 drivers/gpu/drm/i810/i810_drv.c
10373
10374 commit ea4a835328ada6513ac013986764d6caea8cd348
10375 Author: Brad Spengler <spender@grsecurity.net>
10376 Date: Sat Jan 16 14:11:30 2016 -0500
10377
10378 Update to pax-linux-4.3.3-test21.patch:
10379 - fixed some fallout from the drm_drivers constification, reported by spender
10380
10381 drivers/gpu/drm/armada/armada_drv.c | 3 +--
10382 drivers/gpu/drm/exynos/exynos_drm_drv.c | 1 -
10383 drivers/gpu/drm/i810/i810_dma.c | 2 +-
10384 drivers/gpu/drm/i810/i810_drv.c | 6 +++++-
10385 drivers/gpu/drm/i810/i810_drv.h | 2 +-
10386 5 files changed, 8 insertions(+), 6 deletions(-)
10387
10388 commit d141a86fd66194bc3f896b6809b189e2f12a9a83
10389 Author: Brad Spengler <spender@grsecurity.net>
10390 Date: Sat Jan 16 13:16:36 2016 -0500
10391
10392 compile fix
10393
10394 drivers/gpu/drm/i810/i810_dma.c | 2 +-
10395 drivers/gpu/drm/i810/i810_drv.c | 4 +++-
10396 drivers/gpu/drm/i810/i810_drv.h | 2 +-
10397 3 files changed, 5 insertions(+), 3 deletions(-)
10398
10399 commit 0d9dc4b25ea32c14561bcfe6b5b24f1b00fe0270
10400 Merge: 5fa135d bbda879
10401 Author: Brad Spengler <spender@grsecurity.net>
10402 Date: Sat Jan 16 12:59:22 2016 -0500
10403
10404 Merge branch 'pax-test' into grsec-test
10405
10406 commit bbda87914edf63e27fb46670bf3a373f2b963c73
10407 Author: Brad Spengler <spender@grsecurity.net>
10408 Date: Sat Jan 16 12:58:04 2016 -0500
10409
10410 Update to pax-linux-4.3.3-test20.patch:
10411 - constified drm_driver
10412 - Emese fixed a special case in handling __func__ in the initify plugin
10413 - Emese fixed a false positive size overflow report in handling inbufBits, reported by Martin Filo (https://bugs.gentoo.org/show_bug.cgi?id=567048)
10414 - fixed regression that caused perf to not resolve kernel code addresses under KERNEXEC/i386, reported by minipli
10415
10416 arch/x86/kernel/cpu/perf_event.h | 2 +-
10417 arch/x86/kernel/cpu/perf_event_intel_ds.c | 7 +-
10418 arch/x86/kernel/cpu/perf_event_intel_lbr.c | 4 +-
10419 arch/x86/kernel/uprobes.c | 2 +-
10420 arch/x86/mm/mpx.c | 2 +-
10421 drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +-
10422 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 8 ++-
10423 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +-
10424 drivers/gpu/drm/drm_pci.c | 6 +-
10425 drivers/gpu/drm/gma500/psb_drv.c | 5 +-
10426 drivers/gpu/drm/i915/i915_dma.c | 2 +-
10427 drivers/gpu/drm/i915/i915_drv.c | 15 ++--
10428 drivers/gpu/drm/i915/i915_drv.h | 2 +-
10429 drivers/gpu/drm/i915/i915_irq.c | 88 ++++++++++----------
10430 drivers/gpu/drm/mga/mga_drv.c | 5 +-
10431 drivers/gpu/drm/mga/mga_drv.h | 2 +-
10432 drivers/gpu/drm/mga/mga_state.c | 2 +-
10433 drivers/gpu/drm/nouveau/nouveau_drm.c | 13 ++--
10434 drivers/gpu/drm/qxl/qxl_drv.c | 8 ++-
10435 drivers/gpu/drm/qxl/qxl_ioctl.c | 2 +-
10436 drivers/gpu/drm/r128/r128_drv.c | 4 +-
10437 drivers/gpu/drm/r128/r128_drv.h | 2 +-
10438 drivers/gpu/drm/r128/r128_state.c | 2 +-
10439 drivers/gpu/drm/radeon/radeon_drv.c | 17 +++-
10440 drivers/gpu/drm/radeon/radeon_drv.h | 2 +-
10441 drivers/gpu/drm/radeon/radeon_kms.c | 2 +-
10442 drivers/gpu/drm/radeon/radeon_state.c | 2 +-
10443 drivers/gpu/drm/savage/savage_bci.c | 2 +-
10444 drivers/gpu/drm/savage/savage_drv.c | 5 +-
10445 drivers/gpu/drm/savage/savage_drv.h | 2 +-
10446 drivers/gpu/drm/sis/sis_drv.c | 5 +-
10447 drivers/gpu/drm/sis/sis_drv.h | 2 +-
10448 drivers/gpu/drm/sis/sis_mm.c | 2 +-
10449 drivers/gpu/drm/via/via_dma.c | 2 +-
10450 drivers/gpu/drm/via/via_drv.c | 5 +-
10451 drivers/gpu/drm/via/via_drv.h | 2 +-
10452 include/drm/drmP.h | 2 +-
10453 mm/slab.c | 2 +-
10454 net/sunrpc/xprtrdma/svc_rdma.c | 6 +-
10455 tools/gcc/initify_plugin.c | 15 +++-
10456 .../disable_size_overflow_hash.data | 1 +
10457 .../size_overflow_plugin/size_overflow_hash.data | 3 +-
10458 42 files changed, 156 insertions(+), 110 deletions(-)
10459
10460 commit 5fa135dc116350e0205c39ef65eaf6496ed2748a
10461 Author: Brad Spengler <spender@grsecurity.net>
10462 Date: Sat Jan 16 12:19:23 2016 -0500
10463
10464 compile fix
10465
10466 grsecurity/grsec_sig.c | 3 +--
10467 1 files changed, 1 insertions(+), 2 deletions(-)
10468
10469 commit a9090fa58f33f75c7450fda5721a9b13625a47d9
10470 Author: Brad Spengler <spender@grsecurity.net>
10471 Date: Sat Jan 16 12:10:37 2016 -0500
10472
10473 As pointed out by Jann Horn, some distros are starting to circumvent
10474 previous assumptions about the attainability of a user to control
10475 multiple UIDs by handing out suid binaries that allow a user to run
10476 processes (including exploits) under a number of other pre-defined
10477 UIDs. As this could potentially be used to bypass GRKERNSEC_BRUTE
10478 (though it would have to involve some code path that doesn't involve
10479 locks) fix that here by ensuring no more than 8 users on a system can
10480 be banned before a reboot is required. If more are banned, a panic
10481 is triggered.
10482
10483 grsecurity/grsec_sig.c | 8 ++++++++
10484 1 files changed, 8 insertions(+), 0 deletions(-)
10485
10486 commit a8d37776e9521c567ebff6730d49312f72435f08
10487 Author: Eric Dumazet <edumazet@google.com>
10488 Date: Thu Dec 3 11:12:07 2015 -0800
10489
10490 proc: add a reschedule point in proc_readfd_common()
10491
10492 User can pass an arbitrary large buffer to getdents().
10493
10494 It is typically a 32KB buffer used by libc scandir() implementation.
10495
10496 When scanning /proc/{pid}/fd, we can hold cpu way too long,
10497 so add a cond_resched() to be kind with other tasks.
10498
10499 We've seen latencies of more than 50ms on real workloads.
10500
10501 Signed-off-by: Eric Dumazet <edumazet@google.com>
10502 Cc: Alexander Viro <viro@zeniv.linux.org.uk>
10503 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
10504
10505 fs/proc/fd.c | 1 +
10506 1 files changed, 1 insertions(+), 0 deletions(-)
10507
10508 commit 0adba75f8708f13b1f5d98ebe3fc2fb961e100c8
10509 Author: Rabin Vincent <rabin@rab.in>
10510 Date: Tue Jan 12 20:17:08 2016 +0100
10511
10512 net: bpf: reject invalid shifts
10513
10514 On ARM64, a BUG() is triggered in the eBPF JIT if a filter with a
10515 constant shift that can't be encoded in the immediate field of the
10516 UBFM/SBFM instructions is passed to the JIT. Since these shifts
10517 amounts, which are negative or >= regsize, are invalid, reject them in
10518 the eBPF verifier and the classic BPF filter checker, for all
10519 architectures.
10520
10521 Signed-off-by: Rabin Vincent <rabin@rab.in>
10522 Acked-by: Alexei Starovoitov <ast@kernel.org>
10523 Acked-by: Daniel Borkmann <daniel@iogearbox.net>
10524 Signed-off-by: David S. Miller <davem@davemloft.net>
10525
10526 kernel/bpf/verifier.c | 10 ++++++++++
10527 net/core/filter.c | 5 +++++
10528 2 files changed, 15 insertions(+), 0 deletions(-)
10529
10530 commit c248e115a73496625a1c64660d0eeefd67e55cbf
10531 Author: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
10532 Date: Fri Jan 8 11:00:54 2016 -0200
10533
10534 sctp: fix use-after-free in pr_debug statement
10535
10536 Dmitry Vyukov reported a use-after-free in the code expanded by the
10537 macro debug_post_sfx, which is caused by the use of the asoc pointer
10538 after it was freed within sctp_side_effect() scope.
10539
10540 This patch fixes it by allowing sctp_side_effect to clear that asoc
10541 pointer when the TCB is freed.
10542
10543 As Vlad explained, we also have to cover the SCTP_DISPOSITION_ABORT case
10544 because it will trigger DELETE_TCB too on that same loop.
10545
10546 Also, there were places issuing SCTP_CMD_INIT_FAILED and ASSOC_FAILED
10547 but returning SCTP_DISPOSITION_CONSUME, which would fool the scheme
10548 above. Fix it by returning SCTP_DISPOSITION_ABORT instead.
10549
10550 The macro is already prepared to handle such NULL pointer.
10551
10552 Reported-by: Dmitry Vyukov <dvyukov@google.com>
10553 Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
10554 Acked-by: Vlad Yasevich <vyasevich@gmail.com>
10555 Signed-off-by: David S. Miller <davem@davemloft.net>
10556
10557 net/sctp/sm_sideeffect.c | 11 ++++++-----
10558 net/sctp/sm_statefuns.c | 17 ++++-------------
10559 2 files changed, 10 insertions(+), 18 deletions(-)
10560
10561 commit 395ea8a9e73e184fc14153a033000bccf4213213
10562 Author: willy tarreau <w@1wt.eu>
10563 Date: Sun Jan 10 07:54:56 2016 +0100
10564
10565 unix: properly account for FDs passed over unix sockets
10566
10567 It is possible for a process to allocate and accumulate far more FDs than
10568 the process' limit by sending them over a unix socket then closing them
10569 to keep the process' fd count low.
10570
10571 This change addresses this problem by keeping track of the number of FDs
10572 in flight per user and preventing non-privileged processes from having
10573 more FDs in flight than their configured FD limit.
10574
10575 Reported-by: socketpair@gmail.com
10576 Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
10577 Mitigates: CVE-2013-4312 (Linux 2.0+)
10578 Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
10579 Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
10580 Signed-off-by: Willy Tarreau <w@1wt.eu>
10581 Signed-off-by: David S. Miller <davem@davemloft.net>
10582
10583 include/linux/sched.h | 1 +
10584 net/unix/af_unix.c | 24 ++++++++++++++++++++----
10585 net/unix/garbage.c | 13 ++++++++-----
10586 3 files changed, 29 insertions(+), 9 deletions(-)
10587
10588 commit cb207ab8fbd71dcfc4a49d533aba8085012543fd
10589 Author: Sasha Levin <sasha.levin@oracle.com>
10590 Date: Thu Jan 7 14:52:43 2016 -0500
10591
10592 net: sctp: prevent writes to cookie_hmac_alg from accessing invalid memory
10593
10594 proc_dostring() needs an initialized destination string, while the one
10595 provided in proc_sctp_do_hmac_alg() contains stack garbage.
10596
10597 Thus, writing to cookie_hmac_alg would strlen() that garbage and end up
10598 accessing invalid memory.
10599
10600 Fixes: 3c68198e7 ("sctp: Make hmac algorithm selection for cookie generation dynamic")
10601 Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
10602 Signed-off-by: David S. Miller <davem@davemloft.net>
10603
10604 net/sctp/sysctl.c | 2 +-
10605 1 files changed, 1 insertions(+), 1 deletions(-)
10606
10607 commit 4014e09faf0fe9054119624ccfff1236e886b554
10608 Author: Quentin Casasnovas <quentin.casasnovas@oracle.com>
10609 Date: Tue Nov 24 17:13:21 2015 -0500
10610
10611 RDS: fix race condition when sending a message on unbound socket
10612
10613 commit 8c7188b23474cca017b3ef354c4a58456f68303a upstream.
10614
10615 Sasha's found a NULL pointer dereference in the RDS connection code when
10616 sending a message to an apparently unbound socket. The problem is caused
10617 by the code checking if the socket is bound in rds_sendmsg(), which checks
10618 the rs_bound_addr field without taking a lock on the socket. This opens a
10619 race where rs_bound_addr is temporarily set but where the transport is not
10620 in rds_bind(), leading to a NULL pointer dereference when trying to
10621 dereference 'trans' in __rds_conn_create().
10622
10623 Vegard wrote a reproducer for this issue, so kindly ask him to share if
10624 you're interested.
10625
10626 I cannot reproduce the NULL pointer dereference using Vegard's reproducer
10627 with this patch, whereas I could without.
10628
10629 Complete earlier incomplete fix to CVE-2015-6937:
10630
10631 74e98eb08588 ("RDS: verify the underlying transport exists before creating a connection")
10632
10633 Cc: David S. Miller <davem@davemloft.net>
10634
10635 Reviewed-by: Vegard Nossum <vegard.nossum@oracle.com>
10636 Reviewed-by: Sasha Levin <sasha.levin@oracle.com>
10637 Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
10638 Signed-off-by: Quentin Casasnovas <quentin.casasnovas@oracle.com>
10639 Signed-off-by: David S. Miller <davem@davemloft.net>
10640 Signed-off-by: Jiri Slaby <jslaby@suse.cz>
10641
10642 Conflicts:
10643
10644 net/rds/send.c
10645
10646 net/rds/connection.c | 6 ------
10647 1 files changed, 0 insertions(+), 6 deletions(-)
10648
10649 commit 206df8d01104344d7588d801016a281a4cd25556
10650 Author: Sasha Levin <sasha.levin@oracle.com>
10651 Date: Tue Sep 8 10:53:40 2015 -0400
10652
10653 RDS: verify the underlying transport exists before creating a connection
10654
10655 There was no verification that an underlying transport exists when creating
10656 a connection, this would cause dereferencing a NULL ptr.
10657
10658 It might happen on sockets that weren't properly bound before attempting to
10659 send a message, which will cause a NULL ptr deref:
10660
10661 [135546.047719] kasan: GPF could be caused by NULL-ptr deref or user memory accessgeneral protection fault: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC KASAN
10662 [135546.051270] Modules linked in:
10663 [135546.051781] CPU: 4 PID: 15650 Comm: trinity-c4 Not tainted 4.2.0-next-20150902-sasha-00041-gbaa1222-dirty #2527
10664 [135546.053217] task: ffff8800835bc000 ti: ffff8800bc708000 task.ti: ffff8800bc708000
10665 [135546.054291] RIP: __rds_conn_create (net/rds/connection.c:194)
10666 [135546.055666] RSP: 0018:ffff8800bc70fab0 EFLAGS: 00010202
10667 [135546.056457] RAX: dffffc0000000000 RBX: 0000000000000f2c RCX: ffff8800835bc000
10668 [135546.057494] RDX: 0000000000000007 RSI: ffff8800835bccd8 RDI: 0000000000000038
10669 [135546.058530] RBP: ffff8800bc70fb18 R08: 0000000000000001 R09: 0000000000000000
10670 [135546.059556] R10: ffffed014d7a3a23 R11: ffffed014d7a3a21 R12: 0000000000000000
10671 [135546.060614] R13: 0000000000000001 R14: ffff8801ec3d0000 R15: 0000000000000000
10672 [135546.061668] FS: 00007faad4ffb700(0000) GS:ffff880252000000(0000) knlGS:0000000000000000
10673 [135546.062836] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
10674 [135546.063682] CR2: 000000000000846a CR3: 000000009d137000 CR4: 00000000000006a0
10675 [135546.064723] Stack:
10676 [135546.065048] ffffffffafe2055c ffffffffafe23fc1 ffffed00493097bf ffff8801ec3d0008
10677 [135546.066247] 0000000000000000 00000000000000d0 0000000000000000 ac194a24c0586342
10678 [135546.067438] 1ffff100178e1f78 ffff880320581b00 ffff8800bc70fdd0 ffff880320581b00
10679 [135546.068629] Call Trace:
10680 [135546.069028] ? __rds_conn_create (include/linux/rcupdate.h:856 net/rds/connection.c:134)
10681 [135546.069989] ? rds_message_copy_from_user (net/rds/message.c:298)
10682 [135546.071021] rds_conn_create_outgoing (net/rds/connection.c:278)
10683 [135546.071981] rds_sendmsg (net/rds/send.c:1058)
10684 [135546.072858] ? perf_trace_lock (include/trace/events/lock.h:38)
10685 [135546.073744] ? lockdep_init (kernel/locking/lockdep.c:3298)
10686 [135546.074577] ? rds_send_drop_to (net/rds/send.c:976)
10687 [135546.075508] ? __might_fault (./arch/x86/include/asm/current.h:14 mm/memory.c:3795)
10688 [135546.076349] ? __might_fault (mm/memory.c:3795)
10689 [135546.077179] ? rds_send_drop_to (net/rds/send.c:976)
10690 [135546.078114] sock_sendmsg (net/socket.c:611 net/socket.c:620)
10691 [135546.078856] SYSC_sendto (net/socket.c:1657)
10692 [135546.079596] ? SYSC_connect (net/socket.c:1628)
10693 [135546.080510] ? trace_dump_stack (kernel/trace/trace.c:1926)
10694 [135546.081397] ? ring_buffer_unlock_commit (kernel/trace/ring_buffer.c:2479 kernel/trace/ring_buffer.c:2558 kernel/trace/ring_buffer.c:2674)
10695 [135546.082390] ? trace_buffer_unlock_commit (kernel/trace/trace.c:1749)
10696 [135546.083410] ? trace_event_raw_event_sys_enter (include/trace/events/syscalls.h:16)
10697 [135546.084481] ? do_audit_syscall_entry (include/trace/events/syscalls.h:16)
10698 [135546.085438] ? trace_buffer_unlock_commit (kernel/trace/trace.c:1749)
10699 [135546.085515] rds_ib_laddr_check(): addr 36.74.25.172 ret -99 node type -1
10700
10701 Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
10702 Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
10703 Signed-off-by: David S. Miller <davem@davemloft.net>
10704
10705 net/rds/connection.c | 6 ++++++
10706 1 files changed, 6 insertions(+), 0 deletions(-)
10707
10708 commit 173fa03f05cf0ad485d49a42cbdee8844d3a689a
10709 Author: Steven Rostedt (Red Hat) <rostedt@goodmis.org>
10710 Date: Tue Jan 5 20:32:47 2016 -0500
10711
10712 ftrace/module: Call clean up function when module init fails early
10713
10714 If the module init code fails after calling ftrace_module_init() and before
10715 calling do_init_module(), we can suffer from a memory leak. This is because
10716 ftrace_module_init() allocates pages to store the locations that ftrace
10717 hooks are placed in the module text. If do_init_module() fails, it still
10718 calls the MODULE_GOING notifiers which will tell ftrace to do a clean up of
10719 the pages it allocated for the module. But if load_module() fails before
10720 then, the pages allocated by ftrace_module_init() will never be freed.
10721
10722 Call ftrace_release_mod() on the module if load_module() fails before
10723 getting to do_init_module().
10724
10725 Link: http://lkml.kernel.org/r/567CEA31.1070507@intel.com
10726
10727 Reported-by: "Qiu, PeiyangX" <peiyangx.qiu@intel.com>
10728 Fixes: a949ae560a511 "ftrace/module: Hardcode ftrace_module_init() call into load_module()"
10729 Cc: stable@vger.kernel.org # v2.6.38+
10730 Acked-by: Rusty Russell <rusty@rustcorp.com.au>
10731 Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
10732
10733 include/linux/ftrace.h | 1 +
10734 kernel/module.c | 6 ++++++
10735 2 files changed, 7 insertions(+), 0 deletions(-)
10736
10737 commit 1e5a4a81a4c16c8ac2e264b88a02cc2f42ed0399
10738 Author: Francesco Ruggeri <fruggeri@aristanetworks.com>
10739 Date: Wed Jan 6 00:18:48 2016 -0800
10740
10741 net: possible use after free in dst_release
10742
10743 dst_release should not access dst->flags after decrementing
10744 __refcnt to 0. The dst_entry may be in dst_busy_list and
10745 dst_gc_task may dst_destroy it before dst_release gets a chance
10746 to access dst->flags.
10747
10748 Fixes: d69bbf88c8d0 ("net: fix a race in dst_release()")
10749 Fixes: 27b75c95f10d ("net: avoid RCU for NOCACHE dst")
10750 Signed-off-by: Francesco Ruggeri <fruggeri@arista.com>
10751 Acked-by: Eric Dumazet <edumazet@google.com>
10752 Signed-off-by: David S. Miller <davem@davemloft.net>
10753
10754 net/core/dst.c | 3 ++-
10755 1 files changed, 2 insertions(+), 1 deletions(-)
10756
10757 commit bfb0455793dd4e0f0b49d34a68b3249ab55565cc
10758 Author: Alan <gnomes@lxorguk.ukuu.org.uk>
10759 Date: Wed Jan 6 14:55:02 2016 +0000
10760
10761 mkiss: fix scribble on freed memory
10762
10763 commit d79f16c046086f4fe0d42184a458e187464eb83e fixed a user triggerable
10764 scribble on free memory but added a new one which allows the user to
10765 scribble even more and user controlled data into freed space.
10766
10767 As with 6pack we need to halt the queue before we free the buffers, because
10768 the transmit logic is not protected by the semaphore.
10769
10770 Signed-off-by: Alan Cox <alan@linux.intel.com>
10771 Signed-off-by: David S. Miller <davem@davemloft.net>
10772
10773 drivers/net/hamradio/mkiss.c | 5 +++++
10774 1 files changed, 5 insertions(+), 0 deletions(-)
10775
10776 commit 5cbbcbd32dc1949470f61d342503808fa9555276
10777 Author: David Miller <davem@davemloft.net>
10778 Date: Thu Dec 17 16:05:49 2015 -0500
10779
10780 mkiss: Fix use after free in mkiss_close().
10781
10782 Need to do the unregister_device() after all references to the driver
10783 private have been done.
10784
10785 Signed-off-by: David S. Miller <davem@davemloft.net>
10786
10787 drivers/net/hamradio/mkiss.c | 4 ++--
10788 1 files changed, 2 insertions(+), 2 deletions(-)
10789
10790 commit b00171576794a98068e069a660f0991a6a5190ff
10791 Author: One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
10792 Date: Tue Jan 5 11:51:25 2016 +0000
10793
10794 6pack: fix free memory scribbles
10795
10796 commit acf673a3187edf72068ee2f92f4dc47d66baed47 fixed a user triggerable free
10797 memory scribble but in doing so replaced it with a different one that allows
10798 the user to control the data and scribble even more.
10799
10800 sixpack_close is called by the tty layer in tty context. The tty context is
10801 protected by sp_get() and sp_put(). However network layer activity via
10802 sp_xmit() is not protected this way. We must therefore stop the queue
10803 otherwise the user gets to dump a buffer mostly of their choice into freed
10804 kernel pages.
10805
10806 Signed-off-by: Alan Cox <alan@linux.intel.com>
10807 Signed-off-by: David S. Miller <davem@davemloft.net>
10808
10809 drivers/net/hamradio/6pack.c | 6 ++++++
10810 1 files changed, 6 insertions(+), 0 deletions(-)
10811
10812 commit 5b64a833907cd230a3106aeba2304b2c1bcd116d
10813 Author: David Miller <davem@davemloft.net>
10814 Date: Thu Dec 17 16:05:32 2015 -0500
10815
10816 6pack: Fix use after free in sixpack_close().
10817
10818 Need to do the unregister_device() after all references to the driver
10819 private have been done.
10820
10821 Also we need to use del_timer_sync() for the timers so that we don't
10822 have any asynchronous references after the unregister.
10823
10824 Signed-off-by: David S. Miller <davem@davemloft.net>
10825
10826 drivers/net/hamradio/6pack.c | 8 ++++----
10827 1 files changed, 4 insertions(+), 4 deletions(-)
10828
10829 commit 4f9d532742656b3613d579220fd10c78f24ba37b
10830 Author: Rabin Vincent <rabin@rab.in>
10831 Date: Tue Jan 5 16:23:07 2016 +0100
10832
10833 net: filter: make JITs zero A for SKF_AD_ALU_XOR_X
10834
10835 The SKF_AD_ALU_XOR_X ancillary is not like the other ancillary data
10836 instructions since it XORs A with X while all the others replace A with
10837 some loaded value. All the BPF JITs fail to clear A if this is used as
10838 the first instruction in a filter. This was found using american fuzzy
10839 lop.
10840
10841 Add a helper to determine if A needs to be cleared given the first
10842 instruction in a filter, and use this in the JITs. Except for ARM, the
10843 rest have only been compile-tested.
10844
10845 Fixes: 3480593131e0 ("net: filter: get rid of BPF_S_* enum")
10846 Signed-off-by: Rabin Vincent <rabin@rab.in>
10847 Acked-by: Daniel Borkmann <daniel@iogearbox.net>
10848 Acked-by: Alexei Starovoitov <ast@kernel.org>
10849 Signed-off-by: David S. Miller <davem@davemloft.net>
10850
10851 arch/arm/net/bpf_jit_32.c | 16 +---------------
10852 arch/mips/net/bpf_jit.c | 16 +---------------
10853 arch/powerpc/net/bpf_jit_comp.c | 13 ++-----------
10854 arch/sparc/net/bpf_jit_comp.c | 17 ++---------------
10855 include/linux/filter.h | 19 +++++++++++++++++++
10856 5 files changed, 25 insertions(+), 56 deletions(-)
10857
10858 commit 570d88f8acfffda92b89ae2e1c47320d47256034
10859 Author: John Fastabend <john.fastabend@gmail.com>
10860 Date: Tue Jan 5 09:11:36 2016 -0800
10861
10862 net: sched: fix missing free per cpu on qstats
10863
10864 When a qdisc is using per cpu stats (currently just the ingress
10865 qdisc) only the bstats are being freed. This also free's the qstats.
10866
10867 Fixes: b0ab6f92752b9f9d8 ("net: sched: enable per cpu qstats")
10868 Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
10869 Acked-by: Eric Dumazet <edumazet@google.com>
10870 Acked-by: Daniel Borkmann <daniel@iogearbox.net>
10871 Signed-off-by: David S. Miller <davem@davemloft.net>
10872
10873 net/sched/sch_generic.c | 4 +++-
10874 1 files changed, 3 insertions(+), 1 deletions(-)
10875
10876 commit 32c0ebc51857ee83470a10dcb234d308a0ed1881
10877 Author: Rabin Vincent <rabin@rab.in>
10878 Date: Tue Jan 5 18:34:04 2016 +0100
10879
10880 ARM: net: bpf: fix zero right shift
10881
10882 The LSR instruction cannot be used to perform a zero right shift since a
10883 0 as the immediate value (imm5) in the LSR instruction encoding means
10884 that a shift of 32 is perfomed. See DecodeIMMShift() in the ARM ARM.
10885
10886 Make the JIT skip generation of the LSR if a zero-shift is requested.
10887
10888 This was found using american fuzzy lop.
10889
10890 Signed-off-by: Rabin Vincent <rabin@rab.in>
10891 Acked-by: Alexei Starovoitov <ast@kernel.org>
10892 Signed-off-by: David S. Miller <davem@davemloft.net>
10893
10894 arch/arm/net/bpf_jit_32.c | 3 ++-
10895 1 files changed, 2 insertions(+), 1 deletions(-)
10896
10897 commit 51f5d291750285efa4d4bbe84e5ec23dc00c8d2d
10898 Author: Brad Spengler <spender@grsecurity.net>
10899 Date: Wed Jan 6 20:35:57 2016 -0500
10900
10901 Don't perform hidden lookups in RBAC against the directory of
10902 a file being opened with O_CREAT, reported by Karl Witt
10903
10904 Conflicts:
10905
10906 fs/namei.c
10907
10908 fs/namei.c | 3 ---
10909 1 files changed, 0 insertions(+), 3 deletions(-)
10910
10911 commit 5a8266a6b2769ccdb447256f95bc2577a73cccd1
10912 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
10913 Date: Tue Jan 5 10:46:00 2016 +0100
10914
10915 bridge: Only call /sbin/bridge-stp for the initial network namespace
10916
10917 [I stole this patch from Eric Biederman. He wrote:]
10918
10919 > There is no defined mechanism to pass network namespace information
10920 > into /sbin/bridge-stp therefore don't even try to invoke it except
10921 > for bridge devices in the initial network namespace.
10922 >
10923 > It is possible for unprivileged users to cause /sbin/bridge-stp to be
10924 > invoked for any network device name which if /sbin/bridge-stp does not
10925 > guard against unreasonable arguments or being invoked twice on the
10926 > same network device could cause problems.
10927
10928 [Hannes: changed patch using netns_eq]
10929
10930 Cc: Eric W. Biederman <ebiederm@xmission.com>
10931 Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
10932 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
10933 Signed-off-by: David S. Miller <davem@davemloft.net>
10934
10935 net/bridge/br_stp_if.c | 5 ++++-
10936 1 files changed, 4 insertions(+), 1 deletions(-)
10937
10938 commit 650d535cc39f0aeff2f57e60b6617be25d3ef48b
10939 Author: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
10940 Date: Wed Dec 23 16:28:40 2015 -0200
10941
10942 sctp: use GFP_USER for user-controlled kmalloc
10943
10944 Commit cacc06215271 ("sctp: use GFP_USER for user-controlled kmalloc")
10945 missed two other spots.
10946
10947 For connectx, as it's more likely to be used by kernel users of the API,
10948 it detects if GFP_USER should be used or not.
10949
10950 Fixes: cacc06215271 ("sctp: use GFP_USER for user-controlled kmalloc")
10951 Reported-by: Dmitry Vyukov <dvyukov@google.com>
10952 Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
10953 Signed-off-by: David S. Miller <davem@davemloft.net>
10954
10955 net/sctp/socket.c | 9 ++++++---
10956 1 files changed, 6 insertions(+), 3 deletions(-)
10957
10958 commit 5718a1f63c41fc156f729783423b002763779d04
10959 Author: Florian Westphal <fw@strlen.de>
10960 Date: Thu Dec 31 14:26:33 2015 +0100
10961
10962 connector: bump skb->users before callback invocation
10963
10964 Dmitry reports memleak with syskaller program.
10965 Problem is that connector bumps skb usecount but might not invoke callback.
10966
10967 So move skb_get to where we invoke the callback.
10968
10969 Reported-by: Dmitry Vyukov <dvyukov@google.com>
10970 Signed-off-by: Florian Westphal <fw@strlen.de>
10971 Signed-off-by: David S. Miller <davem@davemloft.net>
10972
10973 drivers/connector/connector.c | 11 +++--------
10974 1 files changed, 3 insertions(+), 8 deletions(-)
10975
10976 commit 2e6372e6a97f8d642416899861f91777f44f13b7
10977 Author: Rainer Weikusat <rweikusat@mobileactivedefense.com>
10978 Date: Sun Jan 3 18:56:38 2016 +0000
10979
10980 af_unix: Fix splice-bind deadlock
10981
10982 On 2015/11/06, Dmitry Vyukov reported a deadlock involving the splice
10983 system call and AF_UNIX sockets,
10984
10985 http://lists.openwall.net/netdev/2015/11/06/24
10986
10987 The situation was analyzed as
10988
10989 (a while ago) A: socketpair()
10990 B: splice() from a pipe to /mnt/regular_file
10991 does sb_start_write() on /mnt
10992 C: try to freeze /mnt
10993 wait for B to finish with /mnt
10994 A: bind() try to bind our socket to /mnt/new_socket_name
10995 lock our socket, see it not bound yet
10996 decide that it needs to create something in /mnt
10997 try to do sb_start_write() on /mnt, block (it's
10998 waiting for C).
10999 D: splice() from the same pipe to our socket
11000 lock the pipe, see that socket is connected
11001 try to lock the socket, block waiting for A
11002 B: get around to actually feeding a chunk from
11003 pipe to file, try to lock the pipe. Deadlock.
11004
11005 on 2015/11/10 by Al Viro,
11006
11007 http://lists.openwall.net/netdev/2015/11/10/4
11008
11009 The patch fixes this by removing the kern_path_create related code from
11010 unix_mknod and executing it as part of unix_bind prior acquiring the
11011 readlock of the socket in question. This means that A (as used above)
11012 will sb_start_write on /mnt before it acquires the readlock, hence, it
11013 won't indirectly block B which first did a sb_start_write and then
11014 waited for a thread trying to acquire the readlock. Consequently, A
11015 being blocked by C waiting for B won't cause a deadlock anymore
11016 (effectively, both A and B acquire two locks in opposite order in the
11017 situation described above).
11018
11019 Dmitry Vyukov(<dvyukov@google.com>) tested the original patch.
11020
11021 Signed-off-by: Rainer Weikusat <rweikusat@mobileactivedefense.com>
11022 Signed-off-by: David S. Miller <davem@davemloft.net>
11023
11024 Conflicts:
11025
11026 net/unix/af_unix.c
11027
11028 net/unix/af_unix.c | 70 +++++++++++++++++++++++++++++++--------------------
11029 1 files changed, 42 insertions(+), 28 deletions(-)
11030
11031 commit 2e729e557c571f3253e32472cd7d382ac16cf1c3
11032 Author: Qiu Peiyang <peiyangx.qiu@intel.com>
11033 Date: Thu Dec 31 13:11:28 2015 +0800
11034
11035 tracing: Fix setting of start_index in find_next()
11036
11037 When we do cat /sys/kernel/debug/tracing/printk_formats, we hit kernel
11038 panic at t_show.
11039
11040 general protection fault: 0000 [#1] PREEMPT SMP
11041 CPU: 0 PID: 2957 Comm: sh Tainted: G W O 3.14.55-x86_64-01062-gd4acdc7 #2
11042 RIP: 0010:[<ffffffff811375b2>]
11043 [<ffffffff811375b2>] t_show+0x22/0xe0
11044 RSP: 0000:ffff88002b4ebe80 EFLAGS: 00010246
11045 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000004
11046 RDX: 0000000000000004 RSI: ffffffff81fd26a6 RDI: ffff880032f9f7b1
11047 RBP: ffff88002b4ebe98 R08: 0000000000001000 R09: 000000000000ffec
11048 R10: 0000000000000000 R11: 000000000000000f R12: ffff880004d9b6c0
11049 R13: 7365725f6d706400 R14: ffff880004d9b6c0 R15: ffffffff82020570
11050 FS: 0000000000000000(0000) GS:ffff88003aa00000(0063) knlGS:00000000f776bc40
11051 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
11052 CR2: 00000000f6c02ff0 CR3: 000000002c2b3000 CR4: 00000000001007f0
11053 Call Trace:
11054 [<ffffffff811dc076>] seq_read+0x2f6/0x3e0
11055 [<ffffffff811b749b>] vfs_read+0x9b/0x160
11056 [<ffffffff811b7f69>] SyS_read+0x49/0xb0
11057 [<ffffffff81a3a4b9>] ia32_do_call+0x13/0x13
11058 ---[ end trace 5bd9eb630614861e ]---
11059 Kernel panic - not syncing: Fatal exception
11060
11061 When the first time find_next calls find_next_mod_format, it should
11062 iterate the trace_bprintk_fmt_list to find the first print format of
11063 the module. However in current code, start_index is smaller than *pos
11064 at first, and code will not iterate the list. Latter container_of will
11065 get the wrong address with former v, which will cause mod_fmt be a
11066 meaningless object and so is the returned mod_fmt->fmt.
11067
11068 This patch will fix it by correcting the start_index. After fixed,
11069 when the first time calls find_next_mod_format, start_index will be
11070 equal to *pos, and code will iterate the trace_bprintk_fmt_list to
11071 get the right module printk format, so is the returned mod_fmt->fmt.
11072
11073 Link: http://lkml.kernel.org/r/5684B900.9000309@intel.com
11074
11075 Cc: stable@vger.kernel.org # 3.12+
11076 Fixes: 102c9323c35a8 "tracing: Add __tracepoint_string() to export string pointers"
11077 Signed-off-by: Qiu Peiyang <peiyangx.qiu@intel.com>
11078 Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
11079
11080 kernel/trace/trace_printk.c | 1 +
11081 1 files changed, 1 insertions(+), 0 deletions(-)
11082
11083 commit 0994af4b1930f32aa493dc08145cd304f8bfc8f4
11084 Author: Al Viro <viro@zeniv.linux.org.uk>
11085 Date: Mon Dec 28 20:47:08 2015 -0500
11086
11087 [PATCH] arm: fix handling of F_OFD_... in oabi_fcntl64()
11088
11089 Cc: stable@vger.kernel.org # 3.15+
11090 Reviewed-by: Jeff Layton <jeff.layton@primarydata.com>
11091 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
11092
11093 arch/arm/kernel/sys_oabi-compat.c | 73 +++++++++++++++++++------------------
11094 1 files changed, 37 insertions(+), 36 deletions(-)
11095
11096 commit 4ed030f65dcf3e6b0128032a49a7d75f947fa351
11097 Merge: de243c2 3adc55a
11098 Author: Brad Spengler <spender@grsecurity.net>
11099 Date: Tue Jan 5 18:10:10 2016 -0500
11100
11101 Merge branch 'pax-test' into grsec-test
11102
11103 commit 3adc55a5acfa429c2a7cc883aef08b960c0079b0
11104 Author: Brad Spengler <spender@grsecurity.net>
11105 Date: Tue Jan 5 18:08:53 2016 -0500
11106
11107 Update to pax-linux-4.3.3-test16.patch:
11108 - small cleanup in entry_64.S on x86
11109 - Emese fixed the initify plugin to recursively check variable initializers, reported by Rasmus Villemoes
11110 - fixed an integer truncation of a partially uninitialized value bug in em_pop_sreg, reported by fx3 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4354)
11111 - fixed alternatives patching of call insns under KERNEXEC/i386, reported by fly_a320 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4305) and TTgrsec (https://forums.grsecurity.net/viewtopic.php?f=3&t=4353)
11112 - fixed a size overflow false positive that triggered in tcp_parse_options on arm, reported by iamb (https://forums.grsecurity.net/viewtopic.php?f=3&t=4350&p=15917#p15916)
11113 - fixed a boot crash on amd64 with KERNEXEC/OR and CONTEXT_TRACKING, reported by Klaus Kusche (https://bugs.gentoo.org/show_bug.cgi?id=570420)
11114
11115 arch/x86/entry/entry_64.S | 60 +++++-----
11116 arch/x86/kernel/alternative.c | 2 +-
11117 arch/x86/kvm/emulate.c | 4 +-
11118 tools/gcc/initify_plugin.c | 123 +++++++++----------
11119 .../disable_size_overflow_hash.data | 4 +-
11120 .../size_overflow_plugin/size_overflow_hash.data | 2 -
11121 6 files changed, 93 insertions(+), 102 deletions(-)
11122
11123 commit de243c26efd0e423ca92db825af2c3f8eb1ca043
11124 Author: Brad Spengler <spender@grsecurity.net>
11125 Date: Tue Dec 29 18:01:24 2015 -0500
11126
11127 It was noticed during an internal audit that the code under GRKERNSEC_PROC_MEMMAP
11128 which aimed to enforce a 16MB minimum on RLIMIT_DATA for suid/sgid binaries only
11129 did so if RLIMIT_DATA was set lower than PAGE_SIZE.
11130
11131 This addition was only supplemental as GRKERNSEC_BRUTE is the main defense
11132 against suid/sgid attacks and the flaw above would only eliminate the extra
11133 entropy provided for the brk-managed heap, still leaving it with the minimum
11134 of 16-bit entropy for mmap on x86 and 28 on x64.
11135
11136 mm/mmap.c | 2 +-
11137 1 files changed, 1 insertions(+), 1 deletions(-)
11138
11139 commit 8e264cfe47e5f08cdc9ed009a630277206cd2534
11140 Merge: 436201b 2584340
11141 Author: Brad Spengler <spender@grsecurity.net>
11142 Date: Mon Dec 28 20:30:01 2015 -0500
11143
11144 Merge branch 'pax-test' into grsec-test
11145
11146 commit 2584340eab494e64ec1bf9eb5b0d1ae31f926306
11147 Author: Brad Spengler <spender@grsecurity.net>
11148 Date: Mon Dec 28 20:29:28 2015 -0500
11149
11150 Update to pax-linux-4.3.3-test14.patch:
11151 - fixed an integer sign conversion error in i2c_dw_pci_probe caught by the size overflow plugin, reported by Jean Lucas and ganymede (https://forums.grsecurity.net/viewtopic.php?f=3&t=4349)
11152 - fixed shutdown crash with tboot and KERNEXEC, reported by perfinion
11153 - fixed a few false positive and one real size overflow reports in hyperv, reported by hunger
11154 - fixed compile regressions on armv5, reported by iamb (https://forums.grsecurity.net/viewtopic.php?f=3&t=4350)
11155 - fixed an assert in the initify plugin that triggered in vic_register on arm
11156
11157 arch/arm/include/asm/atomic.h | 7 +++++--
11158 arch/arm/include/asm/domain.h | 5 ++---
11159 arch/x86/kernel/tboot.c | 14 +++++++++-----
11160 drivers/hv/channel.c | 4 +---
11161 drivers/i2c/busses/i2c-designware-pcidrv.c | 2 +-
11162 drivers/net/hyperv/rndis_filter.c | 3 +--
11163 fs/exec.c | 4 ++--
11164 include/linux/atomic.h | 15 ---------------
11165 net/core/skbuff.c | 3 ++-
11166 tools/gcc/initify_plugin.c | 4 +++-
11167 10 files changed, 26 insertions(+), 35 deletions(-)
11168
11169 commit 436201b6626b488d173c8076447000077c27b84a
11170 Author: David Howells <dhowells@redhat.com>
11171 Date: Fri Dec 18 01:34:26 2015 +0000
11172
11173 KEYS: Fix race between read and revoke
11174
11175 This fixes CVE-2015-7550.
11176
11177 There's a race between keyctl_read() and keyctl_revoke(). If the revoke
11178 happens between keyctl_read() checking the validity of a key and the key's
11179 semaphore being taken, then the key type read method will see a revoked key.
11180
11181 This causes a problem for the user-defined key type because it assumes in
11182 its read method that there will always be a payload in a non-revoked key
11183 and doesn't check for a NULL pointer.
11184
11185 Fix this by making keyctl_read() check the validity of a key after taking
11186 semaphore instead of before.
11187
11188 I think the bug was introduced with the original keyrings code.
11189
11190 This was discovered by a multithreaded test program generated by syzkaller
11191 (http://github.com/google/syzkaller). Here's a cleaned up version:
11192
11193 #include <sys/types.h>
11194 #include <keyutils.h>
11195 #include <pthread.h>
11196 void *thr0(void *arg)
11197 {
11198 key_serial_t key = (unsigned long)arg;
11199 keyctl_revoke(key);
11200 return 0;
11201 }
11202 void *thr1(void *arg)
11203 {
11204 key_serial_t key = (unsigned long)arg;
11205 char buffer[16];
11206 keyctl_read(key, buffer, 16);
11207 return 0;
11208 }
11209 int main()
11210 {
11211 key_serial_t key = add_key("user", "%", "foo", 3, KEY_SPEC_USER_KEYRING);
11212 pthread_t th[5];
11213 pthread_create(&th[0], 0, thr0, (void *)(unsigned long)key);
11214 pthread_create(&th[1], 0, thr1, (void *)(unsigned long)key);
11215 pthread_create(&th[2], 0, thr0, (void *)(unsigned long)key);
11216 pthread_create(&th[3], 0, thr1, (void *)(unsigned long)key);
11217 pthread_join(th[0], 0);
11218 pthread_join(th[1], 0);
11219 pthread_join(th[2], 0);
11220 pthread_join(th[3], 0);
11221 return 0;
11222 }
11223
11224 Build as:
11225
11226 cc -o keyctl-race keyctl-race.c -lkeyutils -lpthread
11227
11228 Run as:
11229
11230 while keyctl-race; do :; done
11231
11232 as it may need several iterations to crash the kernel. The crash can be
11233 summarised as:
11234
11235 BUG: unable to handle kernel NULL pointer dereference at 0000000000000010
11236 IP: [<ffffffff81279b08>] user_read+0x56/0xa3
11237 ...
11238 Call Trace:
11239 [<ffffffff81276aa9>] keyctl_read_key+0xb6/0xd7
11240 [<ffffffff81277815>] SyS_keyctl+0x83/0xe0
11241 [<ffffffff815dbb97>] entry_SYSCALL_64_fastpath+0x12/0x6f
11242
11243 Reported-by: Dmitry Vyukov <dvyukov@google.com>
11244 Signed-off-by: David Howells <dhowells@redhat.com>
11245 Tested-by: Dmitry Vyukov <dvyukov@google.com>
11246 Cc: stable@vger.kernel.org
11247 Signed-off-by: James Morris <james.l.morris@oracle.com>
11248
11249 security/keys/keyctl.c | 18 +++++++++---------
11250 1 files changed, 9 insertions(+), 9 deletions(-)
11251
11252 commit 195cea04477025da4a2078bd3e1fb7c4e11206c2
11253 Author: Brad Spengler <spender@grsecurity.net>
11254 Date: Tue Dec 22 20:44:01 2015 -0500
11255
11256 Add new kernel command-line param: pax_size_overflow_report_only
11257 If a user triggers a size_overflow violation that makes it difficult
11258 to obtain the call trace without serial console/net console, they can
11259 use this option to provide that information to us
11260
11261 Documentation/kernel-parameters.txt | 5 +++++
11262 fs/exec.c | 12 +++++++++---
11263 init/main.c | 11 +++++++++++
11264 3 files changed, 25 insertions(+), 3 deletions(-)
11265
11266 commit 4254a8da5851df8c08cdca5c392916e8c105408d
11267 Author: WANG Cong <xiyou.wangcong@gmail.com>
11268 Date: Mon Dec 21 10:55:45 2015 -0800
11269
11270 addrconf: always initialize sysctl table data
11271
11272 When sysctl performs restrict writes, it allows to write from
11273 a middle position of a sysctl file, which requires us to initialize
11274 the table data before calling proc_dostring() for the write case.
11275
11276 Fixes: 3d1bec99320d ("ipv6: introduce secret_stable to ipv6_devconf")
11277 Reported-by: Sasha Levin <sasha.levin@oracle.com>
11278 Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
11279 Tested-by: Sasha Levin <sasha.levin@oracle.com>
11280 Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
11281 Signed-off-by: David S. Miller <davem@davemloft.net>
11282
11283 net/ipv6/addrconf.c | 11 ++++-------
11284 1 files changed, 4 insertions(+), 7 deletions(-)
11285
11286 commit f8002863fb06c363180637046947a78a6ccb3d33
11287 Author: WANG Cong <xiyou.wangcong@gmail.com>
11288 Date: Wed Dec 16 23:39:04 2015 -0800
11289
11290 net: check both type and procotol for tcp sockets
11291
11292 Dmitry reported the following out-of-bound access:
11293
11294 Call Trace:
11295 [<ffffffff816cec2e>] __asan_report_load4_noabort+0x3e/0x40
11296 mm/kasan/report.c:294
11297 [<ffffffff84affb14>] sock_setsockopt+0x1284/0x13d0 net/core/sock.c:880
11298 [< inline >] SYSC_setsockopt net/socket.c:1746
11299 [<ffffffff84aed7ee>] SyS_setsockopt+0x1fe/0x240 net/socket.c:1729
11300 [<ffffffff85c18c76>] entry_SYSCALL_64_fastpath+0x16/0x7a
11301 arch/x86/entry/entry_64.S:185
11302
11303 This is because we mistake a raw socket as a tcp socket.
11304 We should check both sk->sk_type and sk->sk_protocol to ensure
11305 it is a tcp socket.
11306
11307 Willem points out __skb_complete_tx_timestamp() needs to fix as well.
11308
11309 Reported-by: Dmitry Vyukov <dvyukov@google.com>
11310 Cc: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
11311 Cc: Eric Dumazet <eric.dumazet@gmail.com>
11312 Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
11313 Acked-by: Willem de Bruijn <willemb@google.com>
11314 Signed-off-by: David S. Miller <davem@davemloft.net>
11315
11316 net/core/skbuff.c | 3 ++-
11317 net/core/sock.c | 3 ++-
11318 2 files changed, 4 insertions(+), 2 deletions(-)
11319
11320 commit bd6b3399804470a4ad8f34229469ca149dceba3d
11321 Author: Colin Ian King <colin.king@canonical.com>
11322 Date: Fri Dec 18 14:22:01 2015 -0800
11323
11324 proc: fix -ESRCH error when writing to /proc/$pid/coredump_filter
11325
11326 Writing to /proc/$pid/coredump_filter always returns -ESRCH because commit
11327 774636e19ed51 ("proc: convert to kstrto*()/kstrto*_from_user()") removed
11328 the setting of ret after the get_proc_task call and incorrectly left it as
11329 -ESRCH. Instead, return 0 when successful.
11330
11331 Example breakage:
11332
11333 echo 0 > /proc/self/coredump_filter
11334 bash: echo: write error: No such process
11335
11336 Fixes: 774636e19ed51 ("proc: convert to kstrto*()/kstrto*_from_user()")
11337 Signed-off-by: Colin Ian King <colin.king@canonical.com>
11338 Acked-by: Kees Cook <keescook@chromium.org>
11339 Cc: <stable@vger.kernel.org> [4.3+]
11340 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
11341 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
11342
11343 fs/proc/base.c | 1 +
11344 1 files changed, 1 insertions(+), 0 deletions(-)
11345
11346 commit b28aca2b99ed08546778355fb9402c503ff9b29e
11347 Author: Junichi Nomura <j-nomura@ce.jp.nec.com>
11348 Date: Tue Dec 22 10:23:44 2015 -0700
11349
11350 block: ensure to split after potentially bouncing a bio
11351
11352 blk_queue_bio() does split then bounce, which makes the segment
11353 counting based on pages before bouncing and could go wrong. Move
11354 the split to after bouncing, like we do for blk-mq, and the we
11355 fix the issue of having the bio count for segments be wrong.
11356
11357 Fixes: 54efd50bfd87 ("block: make generic_make_request handle arbitrarily sized bios")
11358 Cc: stable@vger.kernel.org
11359 Tested-by: Artem S. Tashkinov <t.artem@lycos.com>
11360 Signed-off-by: Jens Axboe <axboe@fb.com>
11361
11362 block/blk-core.c | 4 ++--
11363 1 files changed, 2 insertions(+), 2 deletions(-)
11364
11365 commit e62a25e917a9e5b35ddd5b4f1b5e5e30fbd2e84c
11366 Merge: f6f63ae ec72fa5
11367 Author: Brad Spengler <spender@grsecurity.net>
11368 Date: Tue Dec 22 19:46:26 2015 -0500
11369
11370 Merge branch 'pax-test' into grsec-test
11371
11372 commit ec72fa5f8d9cb4e223bad1b8b5c2e1071c222f2a
11373 Author: Brad Spengler <spender@grsecurity.net>
11374 Date: Tue Dec 22 19:45:51 2015 -0500
11375
11376 Update to pax-linux-4.3.3-test13.patch:
11377 - Emese fixed a (probably) false positive integer truncation in xfs_da_grow_inode_int, reported by jdkbx (http://forums.grsecurity.net/viewtopic.php?f=3&t=4346)
11378 - fixed a size overflow in btrfs/try_merge_map, reported by Alex W (https://bugs.archlinux.org/task/47173) and mathias and dwokfur (https://forums.grsecurity.net/viewtopic.php?f=3&t=4344)
11379
11380 arch/arm/mm/fault.c | 2 +-
11381 arch/x86/mm/fault.c | 2 +-
11382 fs/btrfs/extent_map.c | 8 ++++++--
11383 fs/xfs/libxfs/xfs_da_btree.c | 4 +++-
11384 4 files changed, 11 insertions(+), 5 deletions(-)
11385
11386 commit f6f63ae154cd45028add1dc41957878060d77fbf
11387 Author: Brad Spengler <spender@grsecurity.net>
11388 Date: Thu Dec 17 18:43:44 2015 -0500
11389
11390 ptrace_has_cap() checks whether the current process should be
11391 treated as having a certain capability for ptrace checks
11392 against another process. Until now, this was equivalent to
11393 has_ns_capability(current, target_ns, CAP_SYS_PTRACE).
11394
11395 However, if a root-owned process wants to enter a user
11396 namespace for some reason without knowing who owns it and
11397 therefore can't change to the namespace owner's uid and gid
11398 before entering, as soon as it has entered the namespace,
11399 the namespace owner can attach to it via ptrace and thereby
11400 gain access to its uid and gid.
11401
11402 While it is possible for the entering process to switch to
11403 the uid of a claimed namespace owner before entering,
11404 causing the attempt to enter to fail if the claimed uid is
11405 wrong, this doesn't solve the problem of determining an
11406 appropriate gid.
11407
11408 With this change, the entering process can first enter the
11409 namespace and then safely inspect the namespace's
11410 properties, e.g. through /proc/self/{uid_map,gid_map},
11411 assuming that the namespace owner doesn't have access to
11412 uid 0.
11413 Signed-off-by: Jann Horn <jann@thejh.net>
11414
11415 kernel/ptrace.c | 30 +++++++++++++++++++++++++-----
11416 1 files changed, 25 insertions(+), 5 deletions(-)
11417
11418 commit e314f0fb63020f61543b401ff594e953c2c304e5
11419 Author: tadeusz.struk@intel.com <tadeusz.struk@intel.com>
11420 Date: Tue Dec 15 10:46:17 2015 -0800
11421
11422 net: fix uninitialized variable issue
11423
11424 msg_iocb needs to be initialized on the recv/recvfrom path.
11425 Otherwise afalg will wrongly interpret it as an async call.
11426
11427 Cc: stable@vger.kernel.org
11428 Reported-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
11429 Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
11430 Signed-off-by: David S. Miller <davem@davemloft.net>
11431
11432 net/socket.c | 1 +
11433 1 files changed, 1 insertions(+), 0 deletions(-)
11434
11435 commit a3f56a43ad56b8fcaf04f6327636ed2f5970de3b
11436 Merge: dfa764c 142edcf
11437 Author: Brad Spengler <spender@grsecurity.net>
11438 Date: Wed Dec 16 21:01:17 2015 -0500
11439
11440 Merge branch 'pax-test' into grsec-test
11441
11442 commit 142edcf1005a57fb8887823565cf0bafad2f313c
11443 Author: Brad Spengler <spender@grsecurity.net>
11444 Date: Wed Dec 16 21:00:57 2015 -0500
11445
11446 Update to pax-linux-4.3.3-test12.patch:
11447 - Emese fixed a size overflow false positive in reiserfs/leaf_paste_entries, reported by Christian Apeltauer (https://bugs.gentoo.org/show_bug.cgi?id=568046)
11448 - fixed a bunch of int/size_t mismatches in the drivers/tty/n_tty.c code causing size overflow false positives, reported by Toralf Förster, mathias (https://forums.grsecurity.net/viewtopic.php?f=3&t=4342), N8Fear (https://forums.grsecurity.net/viewtopic.php?f=3&t=4341)
11449
11450 drivers/tty/n_tty.c | 16 ++++++++--------
11451 .../disable_size_overflow_hash.data | 2 ++
11452 .../size_overflow_plugin/size_overflow_hash.data | 6 ++----
11453 3 files changed, 12 insertions(+), 12 deletions(-)
11454
11455 commit dfa764cc549892a5bfc1083cac78b99032cae577
11456 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
11457 Date: Tue Dec 15 22:59:12 2015 +0100
11458
11459 ipv6: automatically enable stable privacy mode if stable_secret set
11460
11461 Bjørn reported that while we switch all interfaces to privacy stable mode
11462 when setting the secret, we don't set this mode for new interfaces. This
11463 does not make sense, so change this behaviour.
11464
11465 Fixes: 622c81d57b392cc ("ipv6: generation of stable privacy addresses for link-local and autoconf")
11466 Reported-by: Bjørn Mork <bjorn@mork.no>
11467 Cc: Bjørn Mork <bjorn@mork.no>
11468 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
11469 Signed-off-by: David S. Miller <davem@davemloft.net>
11470
11471 net/ipv6/addrconf.c | 6 ++++++
11472 1 files changed, 6 insertions(+), 0 deletions(-)
11473
11474 commit c2815a1fee03f222273e77c14e43f960da06f35a
11475 Author: Brad Spengler <spender@grsecurity.net>
11476 Date: Wed Dec 16 13:03:38 2015 -0500
11477
11478 Work around upstream limitation on the number of thread info flags causing a compilation error
11479 Reported by fabled at http://forums.grsecurity.net/viewtopic.php?f=3&t=4339
11480
11481 arch/arm/kernel/entry-common.S | 8 ++++++--
11482 1 files changed, 6 insertions(+), 2 deletions(-)
11483
11484 commit 8c9ae168e09ae49324d709d76d73d9fc4ca477e1
11485 Author: Brad Spengler <spender@grsecurity.net>
11486 Date: Tue Dec 15 19:03:41 2015 -0500
11487
11488 Initial import of grsecurity 3.1 for Linux 4.3.3
11489
11490 Documentation/dontdiff | 2 +
11491 Documentation/kernel-parameters.txt | 7 +
11492 Documentation/sysctl/kernel.txt | 15 +
11493 Makefile | 18 +-
11494 arch/alpha/include/asm/cache.h | 4 +-
11495 arch/alpha/kernel/osf_sys.c | 12 +-
11496 arch/arc/Kconfig | 1 +
11497 arch/arm/Kconfig | 1 +
11498 arch/arm/Kconfig.debug | 1 +
11499 arch/arm/include/asm/thread_info.h | 7 +-
11500 arch/arm/kernel/process.c | 4 +-
11501 arch/arm/kernel/ptrace.c | 9 +
11502 arch/arm/kernel/traps.c | 7 +-
11503 arch/arm/mm/Kconfig | 2 +-
11504 arch/arm/mm/fault.c | 40 +-
11505 arch/arm/mm/mmap.c | 8 +-
11506 arch/arm/net/bpf_jit_32.c | 51 +-
11507 arch/arm64/Kconfig.debug | 1 +
11508 arch/avr32/include/asm/cache.h | 4 +-
11509 arch/blackfin/Kconfig.debug | 1 +
11510 arch/blackfin/include/asm/cache.h | 3 +-
11511 arch/cris/include/arch-v10/arch/cache.h | 3 +-
11512 arch/cris/include/arch-v32/arch/cache.h | 3 +-
11513 arch/frv/include/asm/cache.h | 3 +-
11514 arch/frv/mm/elf-fdpic.c | 4 +-
11515 arch/hexagon/include/asm/cache.h | 6 +-
11516 arch/ia64/Kconfig | 1 +
11517 arch/ia64/include/asm/cache.h | 3 +-
11518 arch/ia64/kernel/sys_ia64.c | 2 +
11519 arch/ia64/mm/hugetlbpage.c | 2 +
11520 arch/m32r/include/asm/cache.h | 4 +-
11521 arch/m68k/include/asm/cache.h | 4 +-
11522 arch/metag/mm/hugetlbpage.c | 1 +
11523 arch/microblaze/include/asm/cache.h | 3 +-
11524 arch/mips/Kconfig | 1 +
11525 arch/mips/include/asm/cache.h | 3 +-
11526 arch/mips/include/asm/thread_info.h | 11 +-
11527 arch/mips/kernel/irq.c | 3 +
11528 arch/mips/kernel/ptrace.c | 9 +
11529 arch/mips/mm/mmap.c | 4 +-
11530 arch/mn10300/proc-mn103e010/include/proc/cache.h | 4 +-
11531 arch/mn10300/proc-mn2ws0050/include/proc/cache.h | 4 +-
11532 arch/openrisc/include/asm/cache.h | 4 +-
11533 arch/parisc/include/asm/cache.h | 5 +-
11534 arch/parisc/kernel/sys_parisc.c | 4 +
11535 arch/powerpc/Kconfig | 1 +
11536 arch/powerpc/include/asm/cache.h | 4 +-
11537 arch/powerpc/include/asm/thread_info.h | 5 +-
11538 arch/powerpc/kernel/Makefile | 2 +
11539 arch/powerpc/kernel/irq.c | 3 +
11540 arch/powerpc/kernel/process.c | 10 +-
11541 arch/powerpc/kernel/ptrace.c | 14 +
11542 arch/powerpc/kernel/traps.c | 5 +
11543 arch/powerpc/mm/slice.c | 2 +-
11544 arch/s390/Kconfig.debug | 1 +
11545 arch/s390/include/asm/cache.h | 4 +-
11546 arch/score/include/asm/cache.h | 4 +-
11547 arch/sh/include/asm/cache.h | 3 +-
11548 arch/sh/mm/mmap.c | 6 +-
11549 arch/sparc/include/asm/cache.h | 4 +-
11550 arch/sparc/include/asm/pgalloc_64.h | 1 +
11551 arch/sparc/include/asm/thread_info_64.h | 8 +-
11552 arch/sparc/kernel/process_32.c | 6 +-
11553 arch/sparc/kernel/process_64.c | 8 +-
11554 arch/sparc/kernel/ptrace_64.c | 14 +
11555 arch/sparc/kernel/sys_sparc_64.c | 8 +-
11556 arch/sparc/kernel/syscalls.S | 8 +-
11557 arch/sparc/kernel/traps_32.c | 8 +-
11558 arch/sparc/kernel/traps_64.c | 28 +-
11559 arch/sparc/kernel/unaligned_64.c | 2 +-
11560 arch/sparc/mm/fault_64.c | 2 +-
11561 arch/sparc/mm/hugetlbpage.c | 15 +-
11562 arch/tile/Kconfig | 1 +
11563 arch/tile/include/asm/cache.h | 3 +-
11564 arch/tile/mm/hugetlbpage.c | 2 +
11565 arch/um/include/asm/cache.h | 3 +-
11566 arch/unicore32/include/asm/cache.h | 6 +-
11567 arch/x86/Kconfig | 21 +
11568 arch/x86/Kconfig.debug | 2 +
11569 arch/x86/entry/common.c | 14 +
11570 arch/x86/entry/entry_32.S | 2 +-
11571 arch/x86/entry/entry_64.S | 2 +-
11572 arch/x86/ia32/ia32_aout.c | 2 +
11573 arch/x86/include/asm/floppy.h | 20 +-
11574 arch/x86/include/asm/fpu/types.h | 69 +-
11575 arch/x86/include/asm/io.h | 2 +-
11576 arch/x86/include/asm/page.h | 12 +-
11577 arch/x86/include/asm/paravirt_types.h | 23 +-
11578 arch/x86/include/asm/processor.h | 12 +-
11579 arch/x86/include/asm/thread_info.h | 6 +-
11580 arch/x86/include/asm/uaccess.h | 2 +-
11581 arch/x86/kernel/dumpstack.c | 10 +-
11582 arch/x86/kernel/dumpstack_32.c | 2 +-
11583 arch/x86/kernel/dumpstack_64.c | 2 +-
11584 arch/x86/kernel/ioport.c | 13 +
11585 arch/x86/kernel/irq_32.c | 3 +
11586 arch/x86/kernel/irq_64.c | 4 +
11587 arch/x86/kernel/ldt.c | 18 +
11588 arch/x86/kernel/msr.c | 10 +
11589 arch/x86/kernel/ptrace.c | 14 +
11590 arch/x86/kernel/signal.c | 9 +-
11591 arch/x86/kernel/sys_i386_32.c | 9 +-
11592 arch/x86/kernel/sys_x86_64.c | 8 +-
11593 arch/x86/kernel/traps.c | 5 +
11594 arch/x86/kernel/verify_cpu.S | 1 +
11595 arch/x86/kernel/vm86_32.c | 15 +
11596 arch/x86/kvm/svm.c | 14 +-
11597 arch/x86/mm/fault.c | 12 +-
11598 arch/x86/mm/hugetlbpage.c | 15 +-
11599 arch/x86/mm/init.c | 66 +-
11600 arch/x86/mm/init_32.c | 6 +-
11601 arch/x86/net/bpf_jit_comp.c | 4 +
11602 arch/x86/platform/efi/efi_64.c | 2 +-
11603 arch/x86/xen/Kconfig | 1 +
11604 arch/xtensa/variants/dc232b/include/variant/core.h | 2 +-
11605 arch/xtensa/variants/fsf/include/variant/core.h | 3 +-
11606 crypto/ablkcipher.c | 2 +-
11607 crypto/blkcipher.c | 2 +-
11608 crypto/scatterwalk.c | 10 +-
11609 drivers/acpi/acpica/hwxfsleep.c | 11 +-
11610 drivers/acpi/custom_method.c | 4 +
11611 drivers/block/cciss.h | 30 +-
11612 drivers/block/smart1,2.h | 40 +-
11613 drivers/cdrom/cdrom.c | 2 +-
11614 drivers/char/Kconfig | 4 +-
11615 drivers/char/genrtc.c | 1 +
11616 drivers/char/ipmi/ipmi_si_intf.c | 8 +-
11617 drivers/char/mem.c | 17 +
11618 drivers/char/random.c | 5 +-
11619 drivers/cpufreq/sparc-us3-cpufreq.c | 2 -
11620 drivers/crypto/nx/nx-aes-ccm.c | 2 +-
11621 drivers/crypto/nx/nx-aes-gcm.c | 2 +-
11622 drivers/crypto/talitos.c | 2 +-
11623 drivers/firewire/ohci.c | 4 +
11624 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 70 +-
11625 drivers/gpu/drm/nouveau/nouveau_ttm.c | 28 +-
11626 drivers/gpu/drm/ttm/ttm_bo_manager.c | 10 +-
11627 drivers/gpu/drm/virtio/virtgpu_ttm.c | 10 +-
11628 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c | 10 +-
11629 drivers/hid/hid-wiimote-debug.c | 2 +-
11630 drivers/infiniband/hw/nes/nes_cm.c | 22 +-
11631 drivers/iommu/Kconfig | 1 +
11632 drivers/iommu/amd_iommu.c | 14 +-
11633 drivers/isdn/gigaset/bas-gigaset.c | 32 +-
11634 drivers/isdn/gigaset/ser-gigaset.c | 32 +-
11635 drivers/isdn/gigaset/usb-gigaset.c | 32 +-
11636 drivers/isdn/hisax/config.c | 2 +-
11637 drivers/isdn/hisax/hfc_pci.c | 2 +-
11638 drivers/isdn/hisax/hfc_sx.c | 2 +-
11639 drivers/isdn/hisax/q931.c | 6 +-
11640 drivers/isdn/i4l/isdn_concap.c | 6 +-
11641 drivers/isdn/i4l/isdn_x25iface.c | 16 +-
11642 drivers/md/bcache/Kconfig | 1 +
11643 drivers/md/raid5.c | 8 +
11644 drivers/media/pci/solo6x10/solo6x10-g723.c | 2 +-
11645 drivers/media/platform/sti/c8sectpfe/Kconfig | 1 +
11646 drivers/media/platform/vivid/vivid-osd.c | 1 +
11647 drivers/media/radio/radio-cadet.c | 5 +-
11648 drivers/media/usb/dvb-usb/cinergyT2-core.c | 91 +-
11649 drivers/media/usb/dvb-usb/cinergyT2-fe.c | 182 +-
11650 drivers/media/usb/dvb-usb/dvb-usb-firmware.c | 37 +-
11651 drivers/media/usb/dvb-usb/technisat-usb2.c | 75 +-
11652 drivers/message/fusion/mptbase.c | 9 +
11653 drivers/misc/sgi-xp/xp_main.c | 12 +-
11654 drivers/net/ethernet/brocade/bna/bna_enet.c | 8 +-
11655 drivers/net/ppp/pppoe.c | 14 +-
11656 drivers/net/ppp/pptp.c | 6 +
11657 drivers/net/slip/slhc.c | 3 +
11658 drivers/net/wan/lmc/lmc_media.c | 97 +-
11659 drivers/net/wan/x25_asy.c | 6 +-
11660 drivers/net/wan/z85230.c | 24 +-
11661 drivers/net/wireless/ath/ath9k/Kconfig | 1 -
11662 drivers/net/wireless/zd1211rw/zd_usb.c | 2 +-
11663 drivers/pci/pci-sysfs.c | 2 +-
11664 drivers/pci/proc.c | 9 +
11665 drivers/platform/x86/asus-wmi.c | 12 +
11666 drivers/rtc/rtc-dev.c | 3 +
11667 drivers/scsi/bfa/bfa_fcs.c | 19 +-
11668 drivers/scsi/bfa/bfa_fcs_lport.c | 29 +-
11669 drivers/scsi/bfa/bfa_modules.h | 12 +-
11670 drivers/scsi/hpsa.h | 40 +-
11671 drivers/staging/dgnc/dgnc_mgmt.c | 1 +
11672 drivers/staging/lustre/lustre/ldlm/ldlm_flock.c | 2 +-
11673 drivers/staging/lustre/lustre/libcfs/module.c | 10 +-
11674 drivers/target/target_core_sbc.c | 17 +-
11675 drivers/target/target_core_transport.c | 14 +-
11676 drivers/tty/serial/uartlite.c | 4 +-
11677 drivers/tty/sysrq.c | 2 +-
11678 drivers/tty/vt/keyboard.c | 22 +-
11679 drivers/uio/uio.c | 6 +-
11680 drivers/usb/core/hub.c | 5 +
11681 drivers/usb/gadget/function/f_uac1.c | 1 +
11682 drivers/usb/gadget/function/u_uac1.c | 1 +
11683 drivers/usb/host/hwa-hc.c | 9 +-
11684 drivers/usb/usbip/vhci_sysfs.c | 2 +-
11685 drivers/video/fbdev/arcfb.c | 2 +-
11686 drivers/video/fbdev/matrox/matroxfb_DAC1064.c | 10 +-
11687 drivers/video/fbdev/matrox/matroxfb_Ti3026.c | 5 +-
11688 drivers/video/fbdev/sh_mobile_lcdcfb.c | 6 +-
11689 drivers/video/logo/logo_linux_clut224.ppm | 2720 ++++-----
11690 drivers/xen/xenfs/xenstored.c | 5 +
11691 firmware/Makefile | 2 +
11692 firmware/WHENCE | 20 +-
11693 firmware/bnx2/bnx2-mips-06-6.2.3.fw.ihex | 5804 +++++++++++++++++
11694 firmware/bnx2/bnx2-mips-09-6.2.1b.fw.ihex | 6496 ++++++++++++++++++++
11695 fs/9p/vfs_inode.c | 4 +-
11696 fs/attr.c | 1 +
11697 fs/autofs4/waitq.c | 9 +
11698 fs/binfmt_aout.c | 7 +
11699 fs/binfmt_elf.c | 50 +-
11700 fs/compat.c | 20 +-
11701 fs/coredump.c | 17 +-
11702 fs/dcache.c | 3 +
11703 fs/debugfs/inode.c | 11 +-
11704 fs/exec.c | 219 +-
11705 fs/ext2/balloc.c | 4 +-
11706 fs/ext2/super.c | 8 +-
11707 fs/ext4/balloc.c | 4 +-
11708 fs/fcntl.c | 4 +
11709 fs/fhandle.c | 3 +-
11710 fs/file.c | 4 +
11711 fs/filesystems.c | 4 +
11712 fs/fs_struct.c | 20 +-
11713 fs/hugetlbfs/inode.c | 5 +-
11714 fs/inode.c | 8 +-
11715 fs/kernfs/dir.c | 6 +
11716 fs/mount.h | 4 +-
11717 fs/namei.c | 286 +-
11718 fs/namespace.c | 24 +
11719 fs/nfsd/nfscache.c | 2 +-
11720 fs/open.c | 38 +
11721 fs/overlayfs/inode.c | 11 +-
11722 fs/overlayfs/super.c | 6 +-
11723 fs/pipe.c | 2 +-
11724 fs/posix_acl.c | 15 +-
11725 fs/proc/Kconfig | 10 +-
11726 fs/proc/array.c | 69 +-
11727 fs/proc/base.c | 186 +-
11728 fs/proc/cmdline.c | 4 +
11729 fs/proc/devices.c | 4 +
11730 fs/proc/fd.c | 17 +-
11731 fs/proc/generic.c | 64 +
11732 fs/proc/inode.c | 17 +
11733 fs/proc/internal.h | 11 +-
11734 fs/proc/interrupts.c | 4 +
11735 fs/proc/kcore.c | 3 +
11736 fs/proc/meminfo.c | 7 +-
11737 fs/proc/namespaces.c | 4 +-
11738 fs/proc/proc_net.c | 31 +
11739 fs/proc/proc_sysctl.c | 52 +-
11740 fs/proc/root.c | 8 +
11741 fs/proc/stat.c | 69 +-
11742 fs/proc/task_mmu.c | 66 +-
11743 fs/readdir.c | 19 +
11744 fs/reiserfs/item_ops.c | 24 +-
11745 fs/reiserfs/super.c | 4 +
11746 fs/select.c | 2 +
11747 fs/seq_file.c | 30 +-
11748 fs/splice.c | 8 +
11749 fs/stat.c | 20 +-
11750 fs/sysfs/dir.c | 30 +-
11751 fs/sysv/inode.c | 11 +-
11752 fs/utimes.c | 7 +
11753 fs/xattr.c | 26 +-
11754 grsecurity/Kconfig | 1182 ++++
11755 grsecurity/Makefile | 54 +
11756 grsecurity/gracl.c | 2757 +++++++++
11757 grsecurity/gracl_alloc.c | 105 +
11758 grsecurity/gracl_cap.c | 127 +
11759 grsecurity/gracl_compat.c | 269 +
11760 grsecurity/gracl_fs.c | 448 ++
11761 grsecurity/gracl_ip.c | 386 ++
11762 grsecurity/gracl_learn.c | 207 +
11763 grsecurity/gracl_policy.c | 1786 ++++++
11764 grsecurity/gracl_res.c | 68 +
11765 grsecurity/gracl_segv.c | 304 +
11766 grsecurity/gracl_shm.c | 40 +
11767 grsecurity/grsec_chdir.c | 19 +
11768 grsecurity/grsec_chroot.c | 467 ++
11769 grsecurity/grsec_disabled.c | 445 ++
11770 grsecurity/grsec_exec.c | 189 +
11771 grsecurity/grsec_fifo.c | 26 +
11772 grsecurity/grsec_fork.c | 23 +
11773 grsecurity/grsec_init.c | 290 +
11774 grsecurity/grsec_ipc.c | 48 +
11775 grsecurity/grsec_link.c | 65 +
11776 grsecurity/grsec_log.c | 340 +
11777 grsecurity/grsec_mem.c | 48 +
11778 grsecurity/grsec_mount.c | 65 +
11779 grsecurity/grsec_pax.c | 47 +
11780 grsecurity/grsec_proc.c | 20 +
11781 grsecurity/grsec_ptrace.c | 30 +
11782 grsecurity/grsec_sig.c | 236 +
11783 grsecurity/grsec_sock.c | 244 +
11784 grsecurity/grsec_sysctl.c | 488 ++
11785 grsecurity/grsec_time.c | 16 +
11786 grsecurity/grsec_tpe.c | 78 +
11787 grsecurity/grsec_usb.c | 15 +
11788 grsecurity/grsum.c | 64 +
11789 include/linux/binfmts.h | 5 +-
11790 include/linux/bitops.h | 2 +-
11791 include/linux/capability.h | 13 +
11792 include/linux/compiler-gcc.h | 5 +
11793 include/linux/compiler.h | 8 +
11794 include/linux/cred.h | 8 +-
11795 include/linux/dcache.h | 5 +-
11796 include/linux/fs.h | 24 +-
11797 include/linux/fs_struct.h | 2 +-
11798 include/linux/fsnotify.h | 6 +
11799 include/linux/gracl.h | 342 +
11800 include/linux/gracl_compat.h | 156 +
11801 include/linux/gralloc.h | 9 +
11802 include/linux/grdefs.h | 140 +
11803 include/linux/grinternal.h | 230 +
11804 include/linux/grmsg.h | 118 +
11805 include/linux/grsecurity.h | 255 +
11806 include/linux/grsock.h | 19 +
11807 include/linux/ipc.h | 2 +-
11808 include/linux/ipc_namespace.h | 2 +-
11809 include/linux/kallsyms.h | 18 +-
11810 include/linux/kmod.h | 5 +
11811 include/linux/kobject.h | 2 +-
11812 include/linux/lsm_hooks.h | 4 +-
11813 include/linux/mm.h | 12 +
11814 include/linux/mm_types.h | 4 +-
11815 include/linux/module.h | 5 +-
11816 include/linux/mount.h | 2 +-
11817 include/linux/msg.h | 2 +-
11818 include/linux/netfilter/xt_gradm.h | 9 +
11819 include/linux/path.h | 4 +-
11820 include/linux/perf_event.h | 13 +-
11821 include/linux/pid_namespace.h | 2 +-
11822 include/linux/printk.h | 2 +-
11823 include/linux/proc_fs.h | 22 +-
11824 include/linux/proc_ns.h | 2 +-
11825 include/linux/ptrace.h | 24 +-
11826 include/linux/random.h | 2 +-
11827 include/linux/rbtree_augmented.h | 4 +-
11828 include/linux/scatterlist.h | 12 +-
11829 include/linux/sched.h | 114 +-
11830 include/linux/security.h | 1 +
11831 include/linux/sem.h | 2 +-
11832 include/linux/seq_file.h | 5 +
11833 include/linux/shm.h | 6 +-
11834 include/linux/skbuff.h | 3 +
11835 include/linux/slab.h | 9 -
11836 include/linux/sysctl.h | 8 +-
11837 include/linux/thread_info.h | 6 +-
11838 include/linux/tty.h | 2 +-
11839 include/linux/tty_driver.h | 4 +-
11840 include/linux/uidgid.h | 5 +
11841 include/linux/user_namespace.h | 2 +-
11842 include/linux/utsname.h | 2 +-
11843 include/linux/vermagic.h | 16 +-
11844 include/linux/vmalloc.h | 20 +-
11845 include/net/af_unix.h | 2 +-
11846 include/net/dst.h | 33 +
11847 include/net/ip.h | 2 +-
11848 include/net/neighbour.h | 2 +-
11849 include/net/net_namespace.h | 2 +-
11850 include/net/sock.h | 4 +-
11851 include/target/target_core_base.h | 2 +-
11852 include/trace/events/fs.h | 53 +
11853 include/uapi/linux/personality.h | 1 +
11854 init/Kconfig | 4 +-
11855 init/main.c | 35 +-
11856 ipc/mqueue.c | 1 +
11857 ipc/msg.c | 3 +-
11858 ipc/sem.c | 3 +-
11859 ipc/shm.c | 26 +-
11860 ipc/util.c | 6 +
11861 kernel/auditsc.c | 2 +-
11862 kernel/bpf/syscall.c | 8 +-
11863 kernel/capability.c | 41 +-
11864 kernel/cgroup.c | 5 +-
11865 kernel/compat.c | 1 +
11866 kernel/configs.c | 11 +
11867 kernel/cred.c | 112 +-
11868 kernel/events/core.c | 16 +-
11869 kernel/exit.c | 10 +-
11870 kernel/fork.c | 86 +-
11871 kernel/futex.c | 6 +-
11872 kernel/futex_compat.c | 2 +-
11873 kernel/kallsyms.c | 9 +
11874 kernel/kcmp.c | 8 +-
11875 kernel/kexec_core.c | 2 +-
11876 kernel/kmod.c | 95 +-
11877 kernel/kprobes.c | 7 +-
11878 kernel/ksysfs.c | 2 +
11879 kernel/locking/lockdep_proc.c | 10 +-
11880 kernel/module.c | 108 +-
11881 kernel/panic.c | 4 +-
11882 kernel/pid.c | 23 +-
11883 kernel/power/Kconfig | 2 +
11884 kernel/printk/printk.c | 20 +-
11885 kernel/ptrace.c | 56 +-
11886 kernel/resource.c | 10 +
11887 kernel/sched/core.c | 11 +-
11888 kernel/signal.c | 37 +-
11889 kernel/sys.c | 64 +-
11890 kernel/sysctl.c | 172 +-
11891 kernel/taskstats.c | 6 +
11892 kernel/time/posix-timers.c | 8 +
11893 kernel/time/time.c | 5 +
11894 kernel/time/timekeeping.c | 3 +
11895 kernel/time/timer_list.c | 13 +-
11896 kernel/time/timer_stats.c | 10 +-
11897 kernel/trace/Kconfig | 2 +
11898 kernel/trace/trace_syscalls.c | 8 +
11899 kernel/user_namespace.c | 15 +
11900 lib/Kconfig.debug | 13 +-
11901 lib/Kconfig.kasan | 2 +-
11902 lib/is_single_threaded.c | 3 +
11903 lib/list_debug.c | 65 +-
11904 lib/nlattr.c | 2 +
11905 lib/rbtree.c | 4 +-
11906 lib/vsprintf.c | 39 +-
11907 localversion-grsec | 1 +
11908 mm/Kconfig | 8 +-
11909 mm/Kconfig.debug | 1 +
11910 mm/filemap.c | 1 +
11911 mm/kmemleak.c | 4 +-
11912 mm/memory.c | 2 +-
11913 mm/mempolicy.c | 12 +-
11914 mm/migrate.c | 3 +-
11915 mm/mlock.c | 6 +-
11916 mm/mmap.c | 93 +-
11917 mm/mprotect.c | 8 +
11918 mm/oom_kill.c | 28 +-
11919 mm/page_alloc.c | 2 +-
11920 mm/process_vm_access.c | 8 +-
11921 mm/shmem.c | 36 +-
11922 mm/slab.c | 14 +-
11923 mm/slab_common.c | 2 +-
11924 mm/slob.c | 12 +
11925 mm/slub.c | 33 +-
11926 mm/util.c | 3 +
11927 mm/vmalloc.c | 129 +-
11928 mm/vmstat.c | 29 +-
11929 net/appletalk/atalk_proc.c | 2 +-
11930 net/atm/lec.c | 6 +-
11931 net/atm/mpoa_caches.c | 42 +-
11932 net/bluetooth/sco.c | 3 +
11933 net/can/bcm.c | 2 +-
11934 net/can/proc.c | 2 +-
11935 net/core/dev_ioctl.c | 7 +-
11936 net/core/filter.c | 8 +-
11937 net/core/net-procfs.c | 17 +-
11938 net/core/pktgen.c | 2 +-
11939 net/core/sock.c | 3 +-
11940 net/core/sysctl_net_core.c | 2 +-
11941 net/decnet/dn_dev.c | 2 +-
11942 net/ipv4/devinet.c | 6 +-
11943 net/ipv4/inet_hashtables.c | 4 +
11944 net/ipv4/ip_input.c | 7 +
11945 net/ipv4/ip_sockglue.c | 3 +-
11946 net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 +-
11947 net/ipv4/netfilter/nf_nat_pptp.c | 2 +-
11948 net/ipv4/route.c | 6 +-
11949 net/ipv4/tcp_input.c | 4 +-
11950 net/ipv4/tcp_ipv4.c | 29 +-
11951 net/ipv4/tcp_minisocks.c | 9 +-
11952 net/ipv4/tcp_timer.c | 11 +
11953 net/ipv4/udp.c | 24 +
11954 net/ipv6/addrconf.c | 13 +-
11955 net/ipv6/proc.c | 2 +-
11956 net/ipv6/tcp_ipv6.c | 26 +-
11957 net/ipv6/udp.c | 7 +
11958 net/ipx/ipx_proc.c | 2 +-
11959 net/irda/irproc.c | 2 +-
11960 net/llc/llc_proc.c | 2 +-
11961 net/netfilter/Kconfig | 10 +
11962 net/netfilter/Makefile | 1 +
11963 net/netfilter/nf_conntrack_core.c | 8 +
11964 net/netfilter/xt_gradm.c | 51 +
11965 net/netfilter/xt_hashlimit.c | 4 +-
11966 net/netfilter/xt_recent.c | 2 +-
11967 net/sched/sch_api.c | 2 +-
11968 net/sctp/socket.c | 4 +-
11969 net/socket.c | 75 +-
11970 net/sunrpc/Kconfig | 1 +
11971 net/sunrpc/cache.c | 2 +-
11972 net/sunrpc/stats.c | 2 +-
11973 net/sysctl_net.c | 2 +-
11974 net/unix/af_unix.c | 52 +-
11975 net/vmw_vsock/vmci_transport_notify.c | 30 +-
11976 net/vmw_vsock/vmci_transport_notify_qstate.c | 30 +-
11977 net/x25/sysctl_net_x25.c | 2 +-
11978 net/x25/x25_proc.c | 2 +-
11979 scripts/package/Makefile | 2 +-
11980 scripts/package/mkspec | 41 +-
11981 security/Kconfig | 369 +-
11982 security/apparmor/file.c | 4 +-
11983 security/apparmor/lsm.c | 8 +-
11984 security/commoncap.c | 36 +-
11985 security/min_addr.c | 2 +
11986 security/smack/smack_lsm.c | 8 +-
11987 security/tomoyo/file.c | 12 +-
11988 security/tomoyo/mount.c | 4 +
11989 security/tomoyo/tomoyo.c | 20 +-
11990 security/yama/Kconfig | 2 +-
11991 security/yama/yama_lsm.c | 4 +-
11992 sound/synth/emux/emux_seq.c | 14 +-
11993 sound/usb/line6/driver.c | 40 +-
11994 sound/usb/line6/toneport.c | 12 +-
11995 tools/gcc/.gitignore | 1 +
11996 tools/gcc/Makefile | 12 +
11997 tools/gcc/gen-random-seed.sh | 8 +
11998 tools/gcc/randomize_layout_plugin.c | 930 +++
11999 tools/gcc/size_overflow_plugin/.gitignore | 1 +
12000 .../size_overflow_plugin/size_overflow_hash.data | 459 ++-
12001 511 files changed, 32631 insertions(+), 3196 deletions(-)
12002
12003 commit a76adb92ce39aee8eec5a025c828030ad6135c6d
12004 Author: Brad Spengler <spender@grsecurity.net>
12005 Date: Tue Dec 15 14:31:49 2015 -0500
12006
12007 Update to pax-linux-4.3.3-test11.patch:
12008 - fixed a few compile regressions with the recent plugin changes, reported by spender
12009 - updated the size overflow hash table
12010
12011 tools/gcc/latent_entropy_plugin.c | 2 +-
12012 .../size_overflow_plugin/size_overflow_hash.data | 66 +++++++++++++++++---
12013 tools/gcc/stackleak_plugin.c | 2 +-
12014 tools/gcc/structleak_plugin.c | 6 +--
12015 4 files changed, 60 insertions(+), 16 deletions(-)
12016
12017 commit f7284b1fc06628fcb2d35d2beecdea5454d46af9
12018 Author: Brad Spengler <spender@grsecurity.net>
12019 Date: Tue Dec 15 11:50:24 2015 -0500
12020
12021 Apply structleak ICE fix for gcc < 4.9
12022
12023 tools/gcc/structleak_plugin.c | 4 ++++
12024 1 files changed, 4 insertions(+), 0 deletions(-)
12025
12026 commit 92fe3eb9fd10ec7f7334decab1526989669b0287
12027 Author: Brad Spengler <spender@grsecurity.net>
12028 Date: Tue Dec 15 07:57:06 2015 -0500
12029
12030 Update to pax-linux-4.3.1-test10.patch:
12031 - Emese fixed INDIRECT_REF and TARGET_MEM_REF handling in the initify plugin
12032 - Emese regenerated the size overflow hash tables for 4.3
12033 - fixed some compat syscall exit paths to restore r12 under KERNEXEC/or
12034 - the latent entropy, stackleak and structleak plugins no longer split the entry block unnecessarily
12035
12036 arch/x86/entry/entry_64.S | 2 +-
12037 arch/x86/entry/entry_64_compat.S | 15 +-
12038 scripts/package/builddeb | 2 +-
12039 tools/gcc/initify_plugin.c | 11 +-
12040 tools/gcc/latent_entropy_plugin.c | 20 +-
12041 .../disable_size_overflow_hash.data | 4 +
12042 .../size_overflow_plugin/size_overflow_hash.data | 5345 +++++++++++---------
12043 tools/gcc/stackleak_plugin.c | 26 +-
12044 tools/gcc/structleak_plugin.c | 21 +-
12045 9 files changed, 3079 insertions(+), 2367 deletions(-)
12046
12047 commit 5bd245cb687319079c2f1c0d6a1170791ed1ed2c
12048 Merge: b5847e6 3548341
12049 Author: Brad Spengler <spender@grsecurity.net>
12050 Date: Tue Dec 15 07:47:56 2015 -0500
12051
12052 Merge branch 'linux-4.3.y' into pax-4_3
12053
12054 Conflicts:
12055 net/unix/af_unix.c
12056
12057 commit b5847e6a896c5d99191135ca4d7c3b6be8f116ff
12058 Author: Brad Spengler <spender@grsecurity.net>
12059 Date: Wed Dec 9 23:11:36 2015 -0500
12060
12061 Update to pax-linux-4.3.1-test9.patch:
12062 - fixed __get_user on x86 to lie less about the size of the load, reported by peetaur (https://forums.grsecurity.net/viewtopic.php?f=3&t=4332)
12063 - Emese fixed an intentional overflow caused by gcc, reported by saironiq (https://forums.grsecurity.net/viewtopic.php?f=3&t=4333)
12064 - Emese fixed a false positive overflow report in the forcedeth driver, reported by fx3 (https://forums.grsecurity.net/viewtopic.php?t=4334)
12065 - Emese fixed a false positive overflow report in KVM's emulator, reported by fx3 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4336)
12066 - Emese fixed the initify plugin to detect some captured use of __func__, reported by Rasmus Villemoes <linux@rasmusvillemoes.dk>
12067 - constrained shmmax and shmall to avoid triggering size overflow checks, reported by Mathias Krause <minipli@ld-linux.so>
12068 - the checker plugin can partially handle sparse's locking context annotations, it's context insensitive and thus not exactly useful for now, also see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59856
12069
12070 Makefile | 6 +
12071 arch/x86/include/asm/compat.h | 4 +
12072 arch/x86/include/asm/dma.h | 2 +
12073 arch/x86/include/asm/pmem.h | 2 +-
12074 arch/x86/include/asm/uaccess.h | 20 +-
12075 arch/x86/kernel/apic/vector.c | 6 +-
12076 arch/x86/kernel/cpu/mtrr/generic.c | 6 +-
12077 arch/x86/kernel/cpu/perf_event_intel.c | 28 +-
12078 arch/x86/kernel/head_64.S | 1 -
12079 arch/x86/kvm/i8259.c | 10 +-
12080 arch/x86/kvm/ioapic.c | 2 +
12081 arch/x86/kvm/x86.c | 2 +
12082 arch/x86/lib/usercopy_64.c | 2 +-
12083 arch/x86/mm/mpx.c | 4 +-
12084 arch/x86/mm/pageattr.c | 7 +
12085 drivers/base/devres.c | 4 +-
12086 drivers/base/power/runtime.c | 6 +-
12087 drivers/base/regmap/regmap.c | 4 +-
12088 drivers/block/drbd/drbd_receiver.c | 4 +-
12089 drivers/block/drbd/drbd_worker.c | 6 +-
12090 drivers/char/virtio_console.c | 6 +-
12091 drivers/md/dm.c | 12 +-
12092 drivers/net/ethernet/nvidia/forcedeth.c | 4 +-
12093 drivers/net/macvtap.c | 4 +-
12094 drivers/video/fbdev/core/fbmem.c | 10 +-
12095 fs/compat.c | 3 +-
12096 fs/coredump.c | 2 +-
12097 fs/dcache.c | 13 +-
12098 fs/fhandle.c | 2 +-
12099 fs/file.c | 14 +-
12100 fs/fs-writeback.c | 11 +-
12101 fs/overlayfs/copy_up.c | 2 +-
12102 fs/readdir.c | 3 +-
12103 fs/super.c | 3 +-
12104 include/linux/compiler.h | 36 ++-
12105 include/linux/rcupdate.h | 8 +
12106 include/linux/sched.h | 4 +-
12107 include/linux/seqlock.h | 10 +
12108 include/linux/spinlock.h | 17 +-
12109 include/linux/srcu.h | 5 +-
12110 include/linux/syscalls.h | 2 +-
12111 include/linux/writeback.h | 3 +-
12112 include/uapi/linux/swab.h | 6 +-
12113 ipc/ipc_sysctl.c | 6 +
12114 kernel/exit.c | 25 +-
12115 kernel/resource.c | 4 +-
12116 kernel/signal.c | 12 +-
12117 kernel/user.c | 2 +-
12118 kernel/workqueue.c | 6 +-
12119 lib/rhashtable.c | 4 +-
12120 net/compat.c | 2 +-
12121 net/ipv4/xfrm4_mode_transport.c | 2 +-
12122 security/keys/internal.h | 8 +-
12123 security/keys/keyring.c | 4 -
12124 sound/core/seq/seq_clientmgr.c | 8 +-
12125 sound/core/seq/seq_compat.c | 2 +-
12126 sound/core/seq/seq_memory.c | 6 +-
12127 tools/gcc/checker_plugin.c | 415 +++++++++++++++++++-
12128 tools/gcc/gcc-common.h | 1 +
12129 tools/gcc/initify_plugin.c | 33 ++-
12130 .../disable_size_overflow_hash.data | 1 +
12131 .../size_overflow_plugin/size_overflow_hash.data | 1 -
12132 62 files changed, 708 insertions(+), 140 deletions(-)
12133
12134 commit f2634c2f6995f4231616f24ed016f890c701f939
12135 Merge: 1241bff 5f8b236
12136 Author: Brad Spengler <spender@grsecurity.net>
12137 Date: Wed Dec 9 21:50:47 2015 -0500
12138
12139 Merge branch 'linux-4.3.y' into pax-4_3
12140
12141 Conflicts:
12142 arch/x86/kernel/fpu/xstate.c
12143 arch/x86/kernel/head_64.S
12144
12145 commit 1241bff82e3d7dadb05de0a60b8d2822afc6547c
12146 Author: Brad Spengler <spender@grsecurity.net>
12147 Date: Sun Dec 6 08:44:56 2015 -0500
12148
12149 Update to pax-linux-4.3-test8.patch:
12150 - fixed integer truncation check in md introduced by upstream commits 284ae7cab0f7335c9e0aa8992b28415ef1a54c7c and 58c0fed400603a802968b23ddf78f029c5a84e41, reported by BeiKed9o (https://forums.grsecurity.net/viewtopic.php?f=3&t=4328)
12151 - gcc plugin compilation problems will now also produce the output of the checking script to make diagnosis easier, reported by hunger
12152 - Emese fixed a false positive size overflow report in __vhost_add_used_n, reported by quasar366 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4329)
12153 - fixed a potential integer truncation error in the raid1 code caught by the size overflow plugin, reported by d1b (https://forums.grsecurity.net/viewtopic.php?f=3&t=4331)
12154
12155 Makefile | 5 +++
12156 drivers/md/md.c | 5 ++-
12157 drivers/md/raid1.c | 2 +-
12158 fs/proc/task_mmu.c | 3 ++
12159 .../disable_size_overflow_hash.data | 4 ++-
12160 .../size_overflow_plugin/intentional_overflow.c | 32 ++++++++++++++++---
12161 .../size_overflow_plugin/size_overflow_hash.data | 2 -
12162 .../size_overflow_plugin/size_overflow_plugin.c | 2 +-
12163 8 files changed, 43 insertions(+), 12 deletions(-)
12164
12165 commit cce6a9f9bdd27096632ca1c0246dcc07f2eb1a18
12166 Author: Brad Spengler <spender@grsecurity.net>
12167 Date: Fri Dec 4 14:24:12 2015 -0500
12168
12169 Initial import of pax-linux-4.3-test7.patch
12170
12171 Documentation/dontdiff | 47 +-
12172 Documentation/kbuild/makefiles.txt | 39 +-
12173 Documentation/kernel-parameters.txt | 28 +
12174 Makefile | 108 +-
12175 arch/alpha/include/asm/atomic.h | 10 +
12176 arch/alpha/include/asm/elf.h | 7 +
12177 arch/alpha/include/asm/pgalloc.h | 6 +
12178 arch/alpha/include/asm/pgtable.h | 11 +
12179 arch/alpha/kernel/module.c | 2 +-
12180 arch/alpha/kernel/osf_sys.c | 8 +-
12181 arch/alpha/mm/fault.c | 141 +-
12182 arch/arm/Kconfig | 2 +-
12183 arch/arm/include/asm/atomic.h | 320 +-
12184 arch/arm/include/asm/cache.h | 5 +-
12185 arch/arm/include/asm/cacheflush.h | 2 +-
12186 arch/arm/include/asm/checksum.h | 14 +-
12187 arch/arm/include/asm/cmpxchg.h | 4 +
12188 arch/arm/include/asm/cpuidle.h | 2 +-
12189 arch/arm/include/asm/domain.h | 22 +-
12190 arch/arm/include/asm/elf.h | 9 +-
12191 arch/arm/include/asm/fncpy.h | 2 +
12192 arch/arm/include/asm/futex.h | 10 +
12193 arch/arm/include/asm/kmap_types.h | 2 +-
12194 arch/arm/include/asm/mach/dma.h | 2 +-
12195 arch/arm/include/asm/mach/map.h | 16 +-
12196 arch/arm/include/asm/outercache.h | 2 +-
12197 arch/arm/include/asm/page.h | 3 +-
12198 arch/arm/include/asm/pgalloc.h | 20 +
12199 arch/arm/include/asm/pgtable-2level-hwdef.h | 4 +-
12200 arch/arm/include/asm/pgtable-2level.h | 3 +
12201 arch/arm/include/asm/pgtable-3level.h | 3 +
12202 arch/arm/include/asm/pgtable.h | 54 +-
12203 arch/arm/include/asm/smp.h | 2 +-
12204 arch/arm/include/asm/tls.h | 3 +
12205 arch/arm/include/asm/uaccess.h | 79 +-
12206 arch/arm/include/uapi/asm/ptrace.h | 2 +-
12207 arch/arm/kernel/armksyms.c | 2 +-
12208 arch/arm/kernel/cpuidle.c | 2 +-
12209 arch/arm/kernel/entry-armv.S | 109 +-
12210 arch/arm/kernel/entry-common.S | 40 +-
12211 arch/arm/kernel/entry-header.S | 55 +
12212 arch/arm/kernel/fiq.c | 3 +
12213 arch/arm/kernel/module-plts.c | 7 +-
12214 arch/arm/kernel/module.c | 38 +-
12215 arch/arm/kernel/patch.c | 2 +
12216 arch/arm/kernel/process.c | 90 +-
12217 arch/arm/kernel/reboot.c | 1 +
12218 arch/arm/kernel/setup.c | 20 +-
12219 arch/arm/kernel/signal.c | 35 +-
12220 arch/arm/kernel/smp.c | 2 +-
12221 arch/arm/kernel/tcm.c | 4 +-
12222 arch/arm/kernel/vmlinux.lds.S | 6 +-
12223 arch/arm/kvm/arm.c | 8 +-
12224 arch/arm/lib/copy_page.S | 1 +
12225 arch/arm/lib/csumpartialcopyuser.S | 4 +-
12226 arch/arm/lib/delay.c | 2 +-
12227 arch/arm/lib/uaccess_with_memcpy.c | 4 +-
12228 arch/arm/mach-exynos/suspend.c | 6 +-
12229 arch/arm/mach-mvebu/coherency.c | 4 +-
12230 arch/arm/mach-omap2/board-n8x0.c | 2 +-
12231 arch/arm/mach-omap2/omap-mpuss-lowpower.c | 4 +-
12232 arch/arm/mach-omap2/omap-smp.c | 1 +
12233 arch/arm/mach-omap2/omap-wakeupgen.c | 2 +-
12234 arch/arm/mach-omap2/omap_device.c | 4 +-
12235 arch/arm/mach-omap2/omap_device.h | 4 +-
12236 arch/arm/mach-omap2/omap_hwmod.c | 4 +-
12237 arch/arm/mach-omap2/powerdomains43xx_data.c | 5 +-
12238 arch/arm/mach-omap2/wd_timer.c | 6 +-
12239 arch/arm/mach-shmobile/platsmp-apmu.c | 5 +-
12240 arch/arm/mach-tegra/cpuidle-tegra20.c | 2 +-
12241 arch/arm/mach-tegra/irq.c | 1 +
12242 arch/arm/mach-ux500/pm.c | 1 +
12243 arch/arm/mach-zynq/platsmp.c | 1 +
12244 arch/arm/mm/Kconfig | 6 +-
12245 arch/arm/mm/alignment.c | 8 +
12246 arch/arm/mm/cache-l2x0.c | 2 +-
12247 arch/arm/mm/context.c | 10 +-
12248 arch/arm/mm/fault.c | 146 +
12249 arch/arm/mm/fault.h | 12 +
12250 arch/arm/mm/init.c | 39 +
12251 arch/arm/mm/ioremap.c | 4 +-
12252 arch/arm/mm/mmap.c | 30 +-
12253 arch/arm/mm/mmu.c | 162 +-
12254 arch/arm/net/bpf_jit_32.c | 3 +
12255 arch/arm/plat-iop/setup.c | 2 +-
12256 arch/arm/plat-omap/sram.c | 2 +
12257 arch/arm64/include/asm/atomic.h | 10 +
12258 arch/arm64/include/asm/percpu.h | 8 +-
12259 arch/arm64/include/asm/pgalloc.h | 5 +
12260 arch/arm64/include/asm/uaccess.h | 1 +
12261 arch/arm64/mm/dma-mapping.c | 2 +-
12262 arch/avr32/include/asm/elf.h | 8 +-
12263 arch/avr32/include/asm/kmap_types.h | 4 +-
12264 arch/avr32/mm/fault.c | 27 +
12265 arch/frv/include/asm/atomic.h | 10 +
12266 arch/frv/include/asm/kmap_types.h | 2 +-
12267 arch/frv/mm/elf-fdpic.c | 3 +-
12268 arch/ia64/Makefile | 1 +
12269 arch/ia64/include/asm/atomic.h | 10 +
12270 arch/ia64/include/asm/elf.h | 7 +
12271 arch/ia64/include/asm/pgalloc.h | 12 +
12272 arch/ia64/include/asm/pgtable.h | 13 +-
12273 arch/ia64/include/asm/spinlock.h | 2 +-
12274 arch/ia64/include/asm/uaccess.h | 27 +-
12275 arch/ia64/kernel/module.c | 45 +-
12276 arch/ia64/kernel/palinfo.c | 2 +-
12277 arch/ia64/kernel/sys_ia64.c | 7 +
12278 arch/ia64/kernel/vmlinux.lds.S | 2 +-
12279 arch/ia64/mm/fault.c | 32 +-
12280 arch/ia64/mm/init.c | 15 +-
12281 arch/m32r/lib/usercopy.c | 6 +
12282 arch/mips/cavium-octeon/dma-octeon.c | 2 +-
12283 arch/mips/include/asm/atomic.h | 368 +-
12284 arch/mips/include/asm/elf.h | 7 +
12285 arch/mips/include/asm/exec.h | 2 +-
12286 arch/mips/include/asm/hw_irq.h | 2 +-
12287 arch/mips/include/asm/local.h | 57 +
12288 arch/mips/include/asm/page.h | 2 +-
12289 arch/mips/include/asm/pgalloc.h | 5 +
12290 arch/mips/include/asm/pgtable.h | 3 +
12291 arch/mips/include/asm/uaccess.h | 1 +
12292 arch/mips/kernel/binfmt_elfn32.c | 7 +
12293 arch/mips/kernel/binfmt_elfo32.c | 7 +
12294 arch/mips/kernel/irq-gt641xx.c | 2 +-
12295 arch/mips/kernel/irq.c | 6 +-
12296 arch/mips/kernel/pm-cps.c | 2 +-
12297 arch/mips/kernel/process.c | 12 -
12298 arch/mips/kernel/sync-r4k.c | 24 +-
12299 arch/mips/kernel/traps.c | 13 +-
12300 arch/mips/mm/fault.c | 25 +
12301 arch/mips/mm/mmap.c | 51 +-
12302 arch/mips/sgi-ip27/ip27-nmi.c | 6 +-
12303 arch/mips/sni/rm200.c | 2 +-
12304 arch/mips/vr41xx/common/icu.c | 2 +-
12305 arch/mips/vr41xx/common/irq.c | 4 +-
12306 arch/parisc/include/asm/atomic.h | 10 +
12307 arch/parisc/include/asm/elf.h | 7 +
12308 arch/parisc/include/asm/pgalloc.h | 6 +
12309 arch/parisc/include/asm/pgtable.h | 11 +
12310 arch/parisc/include/asm/uaccess.h | 4 +-
12311 arch/parisc/kernel/module.c | 50 +-
12312 arch/parisc/kernel/sys_parisc.c | 15 +
12313 arch/parisc/kernel/traps.c | 4 +-
12314 arch/parisc/mm/fault.c | 140 +-
12315 arch/powerpc/include/asm/atomic.h | 329 +-
12316 arch/powerpc/include/asm/elf.h | 12 +
12317 arch/powerpc/include/asm/exec.h | 2 +-
12318 arch/powerpc/include/asm/kmap_types.h | 2 +-
12319 arch/powerpc/include/asm/local.h | 46 +
12320 arch/powerpc/include/asm/mman.h | 2 +-
12321 arch/powerpc/include/asm/page.h | 8 +-
12322 arch/powerpc/include/asm/page_64.h | 7 +-
12323 arch/powerpc/include/asm/pgalloc-64.h | 7 +
12324 arch/powerpc/include/asm/pgtable.h | 1 +
12325 arch/powerpc/include/asm/pte-hash32.h | 1 +
12326 arch/powerpc/include/asm/reg.h | 1 +
12327 arch/powerpc/include/asm/smp.h | 2 +-
12328 arch/powerpc/include/asm/spinlock.h | 42 +-
12329 arch/powerpc/include/asm/uaccess.h | 141 +-
12330 arch/powerpc/kernel/Makefile | 5 +
12331 arch/powerpc/kernel/exceptions-64e.S | 4 +-
12332 arch/powerpc/kernel/exceptions-64s.S | 2 +-
12333 arch/powerpc/kernel/module_32.c | 15 +-
12334 arch/powerpc/kernel/process.c | 46 -
12335 arch/powerpc/kernel/signal_32.c | 2 +-
12336 arch/powerpc/kernel/signal_64.c | 2 +-
12337 arch/powerpc/kernel/traps.c | 21 +
12338 arch/powerpc/kernel/vdso.c | 5 +-
12339 arch/powerpc/lib/usercopy_64.c | 18 -
12340 arch/powerpc/mm/fault.c | 56 +-
12341 arch/powerpc/mm/mmap.c | 16 +
12342 arch/powerpc/mm/slice.c | 13 +-
12343 arch/powerpc/platforms/cell/spufs/file.c | 4 +-
12344 arch/s390/include/asm/atomic.h | 10 +
12345 arch/s390/include/asm/elf.h | 7 +
12346 arch/s390/include/asm/exec.h | 2 +-
12347 arch/s390/include/asm/uaccess.h | 13 +-
12348 arch/s390/kernel/module.c | 22 +-
12349 arch/s390/kernel/process.c | 24 -
12350 arch/s390/mm/mmap.c | 16 +
12351 arch/score/include/asm/exec.h | 2 +-
12352 arch/score/kernel/process.c | 5 -
12353 arch/sh/mm/mmap.c | 22 +-
12354 arch/sparc/include/asm/atomic_64.h | 110 +-
12355 arch/sparc/include/asm/cache.h | 2 +-
12356 arch/sparc/include/asm/elf_32.h | 7 +
12357 arch/sparc/include/asm/elf_64.h | 7 +
12358 arch/sparc/include/asm/pgalloc_32.h | 1 +
12359 arch/sparc/include/asm/pgalloc_64.h | 1 +
12360 arch/sparc/include/asm/pgtable.h | 4 +
12361 arch/sparc/include/asm/pgtable_32.h | 15 +-
12362 arch/sparc/include/asm/pgtsrmmu.h | 5 +
12363 arch/sparc/include/asm/setup.h | 4 +-
12364 arch/sparc/include/asm/spinlock_64.h | 35 +-
12365 arch/sparc/include/asm/thread_info_32.h | 1 +
12366 arch/sparc/include/asm/thread_info_64.h | 2 +
12367 arch/sparc/include/asm/uaccess.h | 1 +
12368 arch/sparc/include/asm/uaccess_32.h | 28 +-
12369 arch/sparc/include/asm/uaccess_64.h | 24 +-
12370 arch/sparc/kernel/Makefile | 2 +-
12371 arch/sparc/kernel/prom_common.c | 2 +-
12372 arch/sparc/kernel/smp_64.c | 8 +-
12373 arch/sparc/kernel/sys_sparc_32.c | 2 +-
12374 arch/sparc/kernel/sys_sparc_64.c | 52 +-
12375 arch/sparc/kernel/traps_64.c | 27 +-
12376 arch/sparc/lib/Makefile | 2 +-
12377 arch/sparc/lib/atomic_64.S | 57 +-
12378 arch/sparc/lib/ksyms.c | 6 +-
12379 arch/sparc/mm/Makefile | 2 +-
12380 arch/sparc/mm/fault_32.c | 292 +
12381 arch/sparc/mm/fault_64.c | 486 +
12382 arch/sparc/mm/hugetlbpage.c | 22 +-
12383 arch/sparc/mm/init_64.c | 10 +-
12384 arch/tile/include/asm/atomic_64.h | 10 +
12385 arch/tile/include/asm/uaccess.h | 4 +-
12386 arch/um/Makefile | 4 +
12387 arch/um/include/asm/kmap_types.h | 2 +-
12388 arch/um/include/asm/page.h | 3 +
12389 arch/um/include/asm/pgtable-3level.h | 1 +
12390 arch/um/kernel/process.c | 16 -
12391 arch/x86/Kconfig | 15 +-
12392 arch/x86/Kconfig.cpu | 6 +-
12393 arch/x86/Kconfig.debug | 4 +-
12394 arch/x86/Makefile | 13 +-
12395 arch/x86/boot/Makefile | 3 +
12396 arch/x86/boot/bitops.h | 4 +-
12397 arch/x86/boot/boot.h | 2 +-
12398 arch/x86/boot/compressed/Makefile | 3 +
12399 arch/x86/boot/compressed/efi_stub_32.S | 16 +-
12400 arch/x86/boot/compressed/efi_thunk_64.S | 4 +-
12401 arch/x86/boot/compressed/head_32.S | 4 +-
12402 arch/x86/boot/compressed/head_64.S | 12 +-
12403 arch/x86/boot/compressed/misc.c | 11 +-
12404 arch/x86/boot/cpucheck.c | 16 +-
12405 arch/x86/boot/header.S | 6 +-
12406 arch/x86/boot/memory.c | 2 +-
12407 arch/x86/boot/video-vesa.c | 1 +
12408 arch/x86/boot/video.c | 2 +-
12409 arch/x86/crypto/aes-x86_64-asm_64.S | 4 +
12410 arch/x86/crypto/aesni-intel_asm.S | 106 +-
12411 arch/x86/crypto/blowfish-x86_64-asm_64.S | 7 +
12412 arch/x86/crypto/camellia-aesni-avx-asm_64.S | 10 +
12413 arch/x86/crypto/camellia-aesni-avx2-asm_64.S | 10 +
12414 arch/x86/crypto/camellia-x86_64-asm_64.S | 7 +
12415 arch/x86/crypto/cast5-avx-x86_64-asm_64.S | 51 +-
12416 arch/x86/crypto/cast6-avx-x86_64-asm_64.S | 25 +-
12417 arch/x86/crypto/crc32c-pcl-intel-asm_64.S | 4 +-
12418 arch/x86/crypto/ghash-clmulni-intel_asm.S | 4 +
12419 arch/x86/crypto/salsa20-x86_64-asm_64.S | 4 +
12420 arch/x86/crypto/serpent-avx-x86_64-asm_64.S | 9 +
12421 arch/x86/crypto/serpent-avx2-asm_64.S | 9 +
12422 arch/x86/crypto/serpent-sse2-x86_64-asm_64.S | 4 +
12423 arch/x86/crypto/sha1_ssse3_asm.S | 10 +-
12424 arch/x86/crypto/sha256-avx-asm.S | 2 +
12425 arch/x86/crypto/sha256-avx2-asm.S | 2 +
12426 arch/x86/crypto/sha256-ssse3-asm.S | 2 +
12427 arch/x86/crypto/sha512-avx-asm.S | 2 +
12428 arch/x86/crypto/sha512-avx2-asm.S | 2 +
12429 arch/x86/crypto/sha512-ssse3-asm.S | 2 +
12430 arch/x86/crypto/twofish-avx-x86_64-asm_64.S | 25 +-
12431 arch/x86/crypto/twofish-x86_64-asm_64-3way.S | 4 +
12432 arch/x86/crypto/twofish-x86_64-asm_64.S | 3 +
12433 arch/x86/entry/calling.h | 86 +-
12434 arch/x86/entry/common.c | 13 +-
12435 arch/x86/entry/entry_32.S | 351 +-
12436 arch/x86/entry/entry_64.S | 619 +-
12437 arch/x86/entry/entry_64_compat.S | 159 +-
12438 arch/x86/entry/thunk_64.S | 2 +
12439 arch/x86/entry/vdso/Makefile | 2 +-
12440 arch/x86/entry/vdso/vdso2c.h | 8 +-
12441 arch/x86/entry/vdso/vma.c | 41 +-
12442 arch/x86/entry/vsyscall/vsyscall_64.c | 16 +-
12443 arch/x86/entry/vsyscall/vsyscall_emu_64.S | 2 +-
12444 arch/x86/ia32/ia32_signal.c | 23 +-
12445 arch/x86/ia32/sys_ia32.c | 42 +-
12446 arch/x86/include/asm/alternative-asm.h | 43 +-
12447 arch/x86/include/asm/alternative.h | 4 +-
12448 arch/x86/include/asm/apic.h | 2 +-
12449 arch/x86/include/asm/apm.h | 4 +-
12450 arch/x86/include/asm/atomic.h | 230 +-
12451 arch/x86/include/asm/atomic64_32.h | 100 +
12452 arch/x86/include/asm/atomic64_64.h | 164 +-
12453 arch/x86/include/asm/bitops.h | 18 +-
12454 arch/x86/include/asm/boot.h | 2 +-
12455 arch/x86/include/asm/cache.h | 5 +-
12456 arch/x86/include/asm/checksum_32.h | 12 +-
12457 arch/x86/include/asm/cmpxchg.h | 39 +
12458 arch/x86/include/asm/compat.h | 2 +-
12459 arch/x86/include/asm/cpufeature.h | 17 +-
12460 arch/x86/include/asm/desc.h | 78 +-
12461 arch/x86/include/asm/desc_defs.h | 6 +
12462 arch/x86/include/asm/div64.h | 2 +-
12463 arch/x86/include/asm/elf.h | 33 +-
12464 arch/x86/include/asm/emergency-restart.h | 2 +-
12465 arch/x86/include/asm/fpu/internal.h | 42 +-
12466 arch/x86/include/asm/fpu/types.h | 6 +-
12467 arch/x86/include/asm/futex.h | 14 +-
12468 arch/x86/include/asm/hw_irq.h | 4 +-
12469 arch/x86/include/asm/i8259.h | 2 +-
12470 arch/x86/include/asm/io.h | 22 +-
12471 arch/x86/include/asm/irqflags.h | 5 +
12472 arch/x86/include/asm/kprobes.h | 9 +-
12473 arch/x86/include/asm/local.h | 106 +-
12474 arch/x86/include/asm/mman.h | 15 +
12475 arch/x86/include/asm/mmu.h | 14 +-
12476 arch/x86/include/asm/mmu_context.h | 114 +-
12477 arch/x86/include/asm/module.h | 17 +-
12478 arch/x86/include/asm/nmi.h | 19 +-
12479 arch/x86/include/asm/page.h | 1 +
12480 arch/x86/include/asm/page_32.h | 12 +-
12481 arch/x86/include/asm/page_64.h | 14 +-
12482 arch/x86/include/asm/paravirt.h | 46 +-
12483 arch/x86/include/asm/paravirt_types.h | 15 +-
12484 arch/x86/include/asm/pgalloc.h | 23 +
12485 arch/x86/include/asm/pgtable-2level.h | 2 +
12486 arch/x86/include/asm/pgtable-3level.h | 7 +
12487 arch/x86/include/asm/pgtable.h | 128 +-
12488 arch/x86/include/asm/pgtable_32.h | 14 +-
12489 arch/x86/include/asm/pgtable_32_types.h | 24 +-
12490 arch/x86/include/asm/pgtable_64.h | 23 +-
12491 arch/x86/include/asm/pgtable_64_types.h | 5 +
12492 arch/x86/include/asm/pgtable_types.h | 26 +-
12493 arch/x86/include/asm/preempt.h | 2 +-
12494 arch/x86/include/asm/processor.h | 57 +-
12495 arch/x86/include/asm/ptrace.h | 13 +-
12496 arch/x86/include/asm/realmode.h | 4 +-
12497 arch/x86/include/asm/reboot.h | 10 +-
12498 arch/x86/include/asm/rmwcc.h | 84 +-
12499 arch/x86/include/asm/rwsem.h | 60 +-
12500 arch/x86/include/asm/segment.h | 27 +-
12501 arch/x86/include/asm/smap.h | 43 +
12502 arch/x86/include/asm/smp.h | 14 +-
12503 arch/x86/include/asm/stackprotector.h | 4 +-
12504 arch/x86/include/asm/stacktrace.h | 32 +-
12505 arch/x86/include/asm/switch_to.h | 4 +-
12506 arch/x86/include/asm/sys_ia32.h | 6 +-
12507 arch/x86/include/asm/thread_info.h | 27 +-
12508 arch/x86/include/asm/tlbflush.h | 77 +-
12509 arch/x86/include/asm/uaccess.h | 192 +-
12510 arch/x86/include/asm/uaccess_32.h | 28 +-
12511 arch/x86/include/asm/uaccess_64.h | 169 +-
12512 arch/x86/include/asm/word-at-a-time.h | 2 +-
12513 arch/x86/include/asm/x86_init.h | 10 +-
12514 arch/x86/include/asm/xen/page.h | 2 +-
12515 arch/x86/include/uapi/asm/e820.h | 2 +-
12516 arch/x86/kernel/Makefile | 2 +-
12517 arch/x86/kernel/acpi/boot.c | 4 +-
12518 arch/x86/kernel/acpi/sleep.c | 4 +
12519 arch/x86/kernel/acpi/wakeup_32.S | 6 +-
12520 arch/x86/kernel/alternative.c | 124 +-
12521 arch/x86/kernel/apic/apic.c | 4 +-
12522 arch/x86/kernel/apic/apic_flat_64.c | 6 +-
12523 arch/x86/kernel/apic/apic_noop.c | 2 +-
12524 arch/x86/kernel/apic/bigsmp_32.c | 2 +-
12525 arch/x86/kernel/apic/io_apic.c | 8 +-
12526 arch/x86/kernel/apic/msi.c | 2 +-
12527 arch/x86/kernel/apic/probe_32.c | 4 +-
12528 arch/x86/kernel/apic/vector.c | 4 +-
12529 arch/x86/kernel/apic/x2apic_cluster.c | 2 +-
12530 arch/x86/kernel/apic/x2apic_phys.c | 2 +-
12531 arch/x86/kernel/apic/x2apic_uv_x.c | 2 +-
12532 arch/x86/kernel/apm_32.c | 21 +-
12533 arch/x86/kernel/asm-offsets.c | 20 +
12534 arch/x86/kernel/asm-offsets_64.c | 1 +
12535 arch/x86/kernel/cpu/Makefile | 4 -
12536 arch/x86/kernel/cpu/amd.c | 2 +-
12537 arch/x86/kernel/cpu/bugs_64.c | 2 +
12538 arch/x86/kernel/cpu/common.c | 202 +-
12539 arch/x86/kernel/cpu/intel_cacheinfo.c | 14 +-
12540 arch/x86/kernel/cpu/mcheck/mce.c | 34 +-
12541 arch/x86/kernel/cpu/mcheck/p5.c | 3 +
12542 arch/x86/kernel/cpu/mcheck/winchip.c | 3 +
12543 arch/x86/kernel/cpu/microcode/intel.c | 4 +-
12544 arch/x86/kernel/cpu/mtrr/main.c | 2 +-
12545 arch/x86/kernel/cpu/mtrr/mtrr.h | 2 +-
12546 arch/x86/kernel/cpu/perf_event.c | 10 +-
12547 arch/x86/kernel/cpu/perf_event_amd_iommu.c | 2 +-
12548 arch/x86/kernel/cpu/perf_event_intel.c | 6 +-
12549 arch/x86/kernel/cpu/perf_event_intel_bts.c | 6 +-
12550 arch/x86/kernel/cpu/perf_event_intel_cqm.c | 4 +-
12551 arch/x86/kernel/cpu/perf_event_intel_pt.c | 44 +-
12552 arch/x86/kernel/cpu/perf_event_intel_rapl.c | 2 +-
12553 arch/x86/kernel/cpu/perf_event_intel_uncore.c | 2 +-
12554 arch/x86/kernel/cpu/perf_event_intel_uncore.h | 2 +-
12555 arch/x86/kernel/crash_dump_64.c | 2 +-
12556 arch/x86/kernel/doublefault.c | 8 +-
12557 arch/x86/kernel/dumpstack.c | 24 +-
12558 arch/x86/kernel/dumpstack_32.c | 25 +-
12559 arch/x86/kernel/dumpstack_64.c | 62 +-
12560 arch/x86/kernel/e820.c | 4 +-
12561 arch/x86/kernel/early_printk.c | 1 +
12562 arch/x86/kernel/espfix_64.c | 44 +-
12563 arch/x86/kernel/fpu/core.c | 24 +-
12564 arch/x86/kernel/fpu/init.c | 40 +-
12565 arch/x86/kernel/fpu/regset.c | 22 +-
12566 arch/x86/kernel/fpu/signal.c | 20 +-
12567 arch/x86/kernel/fpu/xstate.c | 8 +-
12568 arch/x86/kernel/ftrace.c | 18 +-
12569 arch/x86/kernel/head64.c | 14 +-
12570 arch/x86/kernel/head_32.S | 235 +-
12571 arch/x86/kernel/head_64.S | 173 +-
12572 arch/x86/kernel/i386_ksyms_32.c | 12 +
12573 arch/x86/kernel/i8259.c | 10 +-
12574 arch/x86/kernel/io_delay.c | 2 +-
12575 arch/x86/kernel/ioport.c | 2 +-
12576 arch/x86/kernel/irq.c | 8 +-
12577 arch/x86/kernel/irq_32.c | 45 +-
12578 arch/x86/kernel/jump_label.c | 10 +-
12579 arch/x86/kernel/kgdb.c | 21 +-
12580 arch/x86/kernel/kprobes/core.c | 28 +-
12581 arch/x86/kernel/kprobes/opt.c | 16 +-
12582 arch/x86/kernel/ksysfs.c | 2 +-
12583 arch/x86/kernel/kvmclock.c | 20 +-
12584 arch/x86/kernel/ldt.c | 25 +
12585 arch/x86/kernel/livepatch.c | 12 +-
12586 arch/x86/kernel/machine_kexec_32.c | 6 +-
12587 arch/x86/kernel/mcount_64.S | 19 +-
12588 arch/x86/kernel/module.c | 78 +-
12589 arch/x86/kernel/msr.c | 2 +-
12590 arch/x86/kernel/nmi.c | 34 +-
12591 arch/x86/kernel/nmi_selftest.c | 4 +-
12592 arch/x86/kernel/paravirt-spinlocks.c | 2 +-
12593 arch/x86/kernel/paravirt.c | 45 +-
12594 arch/x86/kernel/paravirt_patch_64.c | 8 +
12595 arch/x86/kernel/pci-calgary_64.c | 2 +-
12596 arch/x86/kernel/pci-iommu_table.c | 2 +-
12597 arch/x86/kernel/pci-swiotlb.c | 2 +-
12598 arch/x86/kernel/process.c | 80 +-
12599 arch/x86/kernel/process_32.c | 29 +-
12600 arch/x86/kernel/process_64.c | 14 +-
12601 arch/x86/kernel/ptrace.c | 20 +-
12602 arch/x86/kernel/pvclock.c | 8 +-
12603 arch/x86/kernel/reboot.c | 44 +-
12604 arch/x86/kernel/reboot_fixups_32.c | 2 +-
12605 arch/x86/kernel/relocate_kernel_64.S | 3 +-
12606 arch/x86/kernel/setup.c | 29 +-
12607 arch/x86/kernel/setup_percpu.c | 29 +-
12608 arch/x86/kernel/signal.c | 17 +-
12609 arch/x86/kernel/smp.c | 2 +-
12610 arch/x86/kernel/smpboot.c | 29 +-
12611 arch/x86/kernel/step.c | 6 +-
12612 arch/x86/kernel/sys_i386_32.c | 184 +
12613 arch/x86/kernel/sys_x86_64.c | 22 +-
12614 arch/x86/kernel/tboot.c | 14 +-
12615 arch/x86/kernel/time.c | 8 +-
12616 arch/x86/kernel/tls.c | 7 +-
12617 arch/x86/kernel/tracepoint.c | 4 +-
12618 arch/x86/kernel/traps.c | 53 +-
12619 arch/x86/kernel/tsc.c | 2 +-
12620 arch/x86/kernel/uprobes.c | 2 +-
12621 arch/x86/kernel/vm86_32.c | 6 +-
12622 arch/x86/kernel/vmlinux.lds.S | 153 +-
12623 arch/x86/kernel/x8664_ksyms_64.c | 6 +-
12624 arch/x86/kernel/x86_init.c | 6 +-
12625 arch/x86/kvm/cpuid.c | 21 +-
12626 arch/x86/kvm/emulate.c | 2 +-
12627 arch/x86/kvm/lapic.c | 2 +-
12628 arch/x86/kvm/paging_tmpl.h | 2 +-
12629 arch/x86/kvm/svm.c | 10 +-
12630 arch/x86/kvm/vmx.c | 62 +-
12631 arch/x86/kvm/x86.c | 42 +-
12632 arch/x86/lguest/boot.c | 3 +-
12633 arch/x86/lib/atomic64_386_32.S | 164 +
12634 arch/x86/lib/atomic64_cx8_32.S | 98 +-
12635 arch/x86/lib/checksum_32.S | 99 +-
12636 arch/x86/lib/clear_page_64.S | 3 +
12637 arch/x86/lib/cmpxchg16b_emu.S | 3 +
12638 arch/x86/lib/copy_page_64.S | 14 +-
12639 arch/x86/lib/copy_user_64.S | 66 +-
12640 arch/x86/lib/csum-copy_64.S | 14 +-
12641 arch/x86/lib/csum-wrappers_64.c | 8 +-
12642 arch/x86/lib/getuser.S | 74 +-
12643 arch/x86/lib/insn.c | 8 +-
12644 arch/x86/lib/iomap_copy_64.S | 2 +
12645 arch/x86/lib/memcpy_64.S | 6 +
12646 arch/x86/lib/memmove_64.S | 3 +-
12647 arch/x86/lib/memset_64.S | 3 +
12648 arch/x86/lib/mmx_32.c | 243 +-
12649 arch/x86/lib/msr-reg.S | 2 +
12650 arch/x86/lib/putuser.S | 87 +-
12651 arch/x86/lib/rwsem.S | 6 +-
12652 arch/x86/lib/usercopy_32.c | 359 +-
12653 arch/x86/lib/usercopy_64.c | 20 +-
12654 arch/x86/math-emu/fpu_aux.c | 2 +-
12655 arch/x86/math-emu/fpu_entry.c | 4 +-
12656 arch/x86/math-emu/fpu_system.h | 2 +-
12657 arch/x86/mm/Makefile | 4 +
12658 arch/x86/mm/extable.c | 26 +-
12659 arch/x86/mm/fault.c | 570 +-
12660 arch/x86/mm/gup.c | 6 +-
12661 arch/x86/mm/highmem_32.c | 6 +
12662 arch/x86/mm/hugetlbpage.c | 24 +-
12663 arch/x86/mm/init.c | 111 +-
12664 arch/x86/mm/init_32.c | 111 +-
12665 arch/x86/mm/init_64.c | 46 +-
12666 arch/x86/mm/iomap_32.c | 4 +
12667 arch/x86/mm/ioremap.c | 52 +-
12668 arch/x86/mm/kmemcheck/kmemcheck.c | 4 +-
12669 arch/x86/mm/mmap.c | 40 +-
12670 arch/x86/mm/mmio-mod.c | 10 +-
12671 arch/x86/mm/numa.c | 2 +-
12672 arch/x86/mm/pageattr.c | 38 +-
12673 arch/x86/mm/pat.c | 12 +-
12674 arch/x86/mm/pat_rbtree.c | 2 +-
12675 arch/x86/mm/pf_in.c | 10 +-
12676 arch/x86/mm/pgtable.c | 214 +-
12677 arch/x86/mm/pgtable_32.c | 3 +
12678 arch/x86/mm/setup_nx.c | 7 +
12679 arch/x86/mm/tlb.c | 4 +
12680 arch/x86/mm/uderef_64.c | 37 +
12681 arch/x86/net/bpf_jit.S | 11 +
12682 arch/x86/net/bpf_jit_comp.c | 13 +-
12683 arch/x86/oprofile/backtrace.c | 6 +-
12684 arch/x86/oprofile/nmi_int.c | 8 +-
12685 arch/x86/oprofile/op_model_amd.c | 8 +-
12686 arch/x86/oprofile/op_model_ppro.c | 7 +-
12687 arch/x86/oprofile/op_x86_model.h | 2 +-
12688 arch/x86/pci/intel_mid_pci.c | 2 +-
12689 arch/x86/pci/irq.c | 8 +-
12690 arch/x86/pci/pcbios.c | 144 +-
12691 arch/x86/platform/efi/efi_32.c | 24 +
12692 arch/x86/platform/efi/efi_64.c | 26 +-
12693 arch/x86/platform/efi/efi_stub_32.S | 64 +-
12694 arch/x86/platform/efi/efi_stub_64.S | 2 +
12695 arch/x86/platform/intel-mid/intel-mid.c | 5 +-
12696 arch/x86/platform/intel-mid/intel_mid_weak_decls.h | 6 +-
12697 arch/x86/platform/intel-mid/mfld.c | 4 +-
12698 arch/x86/platform/intel-mid/mrfl.c | 2 +-
12699 arch/x86/platform/intel-quark/imr_selftest.c | 2 +-
12700 arch/x86/platform/olpc/olpc_dt.c | 2 +-
12701 arch/x86/power/cpu.c | 11 +-
12702 arch/x86/realmode/init.c | 10 +-
12703 arch/x86/realmode/rm/Makefile | 3 +
12704 arch/x86/realmode/rm/header.S | 4 +-
12705 arch/x86/realmode/rm/reboot.S | 4 +
12706 arch/x86/realmode/rm/trampoline_32.S | 12 +-
12707 arch/x86/realmode/rm/trampoline_64.S | 3 +-
12708 arch/x86/realmode/rm/wakeup_asm.S | 5 +-
12709 arch/x86/tools/Makefile | 2 +-
12710 arch/x86/tools/relocs.c | 96 +-
12711 arch/x86/um/mem_32.c | 2 +-
12712 arch/x86/um/tls_32.c | 2 +-
12713 arch/x86/xen/enlighten.c | 50 +-
12714 arch/x86/xen/mmu.c | 19 +-
12715 arch/x86/xen/smp.c | 16 +-
12716 arch/x86/xen/xen-asm_32.S | 2 +-
12717 arch/x86/xen/xen-head.S | 11 +
12718 arch/x86/xen/xen-ops.h | 2 -
12719 block/bio.c | 4 +-
12720 block/blk-iopoll.c | 2 +-
12721 block/blk-map.c | 2 +-
12722 block/blk-softirq.c | 2 +-
12723 block/bsg.c | 12 +-
12724 block/compat_ioctl.c | 4 +-
12725 block/genhd.c | 9 +-
12726 block/partitions/efi.c | 8 +-
12727 block/scsi_ioctl.c | 29 +-
12728 crypto/cryptd.c | 4 +-
12729 crypto/pcrypt.c | 2 +-
12730 crypto/zlib.c | 12 +-
12731 drivers/acpi/acpi_video.c | 2 +-
12732 drivers/acpi/apei/apei-internal.h | 2 +-
12733 drivers/acpi/apei/ghes.c | 4 +-
12734 drivers/acpi/bgrt.c | 6 +-
12735 drivers/acpi/blacklist.c | 4 +-
12736 drivers/acpi/bus.c | 4 +-
12737 drivers/acpi/device_pm.c | 4 +-
12738 drivers/acpi/ec.c | 2 +-
12739 drivers/acpi/pci_slot.c | 2 +-
12740 drivers/acpi/processor_idle.c | 2 +-
12741 drivers/acpi/processor_pdc.c | 2 +-
12742 drivers/acpi/sleep.c | 2 +-
12743 drivers/acpi/sysfs.c | 4 +-
12744 drivers/acpi/thermal.c | 2 +-
12745 drivers/acpi/video_detect.c | 7 +-
12746 drivers/ata/libata-core.c | 12 +-
12747 drivers/ata/libata-scsi.c | 2 +-
12748 drivers/ata/libata.h | 2 +-
12749 drivers/ata/pata_arasan_cf.c | 4 +-
12750 drivers/atm/adummy.c | 2 +-
12751 drivers/atm/ambassador.c | 8 +-
12752 drivers/atm/atmtcp.c | 14 +-
12753 drivers/atm/eni.c | 10 +-
12754 drivers/atm/firestream.c | 8 +-
12755 drivers/atm/fore200e.c | 14 +-
12756 drivers/atm/he.c | 18 +-
12757 drivers/atm/horizon.c | 4 +-
12758 drivers/atm/idt77252.c | 36 +-
12759 drivers/atm/iphase.c | 34 +-
12760 drivers/atm/lanai.c | 12 +-
12761 drivers/atm/nicstar.c | 46 +-
12762 drivers/atm/solos-pci.c | 4 +-
12763 drivers/atm/suni.c | 4 +-
12764 drivers/atm/uPD98402.c | 16 +-
12765 drivers/atm/zatm.c | 6 +-
12766 drivers/base/bus.c | 4 +-
12767 drivers/base/devtmpfs.c | 8 +-
12768 drivers/base/node.c | 2 +-
12769 drivers/base/platform-msi.c | 20 +-
12770 drivers/base/power/domain.c | 11 +-
12771 drivers/base/power/sysfs.c | 2 +-
12772 drivers/base/power/wakeup.c | 8 +-
12773 drivers/base/regmap/regmap-debugfs.c | 11 +-
12774 drivers/base/syscore.c | 4 +-
12775 drivers/block/cciss.c | 28 +-
12776 drivers/block/cciss.h | 2 +-
12777 drivers/block/cpqarray.c | 28 +-
12778 drivers/block/cpqarray.h | 2 +-
12779 drivers/block/drbd/drbd_bitmap.c | 2 +-
12780 drivers/block/drbd/drbd_int.h | 8 +-
12781 drivers/block/drbd/drbd_main.c | 12 +-
12782 drivers/block/drbd/drbd_nl.c | 4 +-
12783 drivers/block/drbd/drbd_receiver.c | 34 +-
12784 drivers/block/drbd/drbd_worker.c | 8 +-
12785 drivers/block/pktcdvd.c | 4 +-
12786 drivers/block/rbd.c | 2 +-
12787 drivers/bluetooth/btwilink.c | 2 +-
12788 drivers/bus/arm-cci.c | 12 +-
12789 drivers/cdrom/cdrom.c | 11 +-
12790 drivers/cdrom/gdrom.c | 1 -
12791 drivers/char/agp/compat_ioctl.c | 2 +-
12792 drivers/char/agp/frontend.c | 4 +-
12793 drivers/char/agp/intel-gtt.c | 4 +-
12794 drivers/char/hpet.c | 2 +-
12795 drivers/char/ipmi/ipmi_msghandler.c | 8 +-
12796 drivers/char/ipmi/ipmi_si_intf.c | 8 +-
12797 drivers/char/mem.c | 47 +-
12798 drivers/char/nvram.c | 2 +-
12799 drivers/char/pcmcia/synclink_cs.c | 16 +-
12800 drivers/char/random.c | 12 +-
12801 drivers/char/sonypi.c | 11 +-
12802 drivers/char/tpm/tpm_acpi.c | 3 +-
12803 drivers/char/tpm/tpm_eventlog.c | 4 +-
12804 drivers/char/virtio_console.c | 4 +-
12805 drivers/clk/clk-composite.c | 2 +-
12806 drivers/clk/samsung/clk.h | 2 +-
12807 drivers/clk/socfpga/clk-gate.c | 9 +-
12808 drivers/clk/socfpga/clk-pll.c | 9 +-
12809 drivers/clk/ti/clk.c | 8 +-
12810 drivers/cpufreq/acpi-cpufreq.c | 17 +-
12811 drivers/cpufreq/cpufreq-dt.c | 4 +-
12812 drivers/cpufreq/cpufreq.c | 30 +-
12813 drivers/cpufreq/cpufreq_governor.c | 2 +-
12814 drivers/cpufreq/cpufreq_governor.h | 4 +-
12815 drivers/cpufreq/cpufreq_ondemand.c | 10 +-
12816 drivers/cpufreq/intel_pstate.c | 33 +-
12817 drivers/cpufreq/p4-clockmod.c | 12 +-
12818 drivers/cpufreq/sparc-us3-cpufreq.c | 67 +-
12819 drivers/cpufreq/speedstep-centrino.c | 7 +-
12820 drivers/cpuidle/driver.c | 2 +-
12821 drivers/cpuidle/dt_idle_states.c | 2 +-
12822 drivers/cpuidle/governor.c | 2 +-
12823 drivers/cpuidle/sysfs.c | 2 +-
12824 drivers/crypto/hifn_795x.c | 4 +-
12825 drivers/devfreq/devfreq.c | 4 +-
12826 drivers/dma/sh/shdma-base.c | 4 +-
12827 drivers/dma/sh/shdmac.c | 2 +-
12828 drivers/edac/edac_device.c | 4 +-
12829 drivers/edac/edac_mc_sysfs.c | 2 +-
12830 drivers/edac/edac_pci.c | 4 +-
12831 drivers/edac/edac_pci_sysfs.c | 22 +-
12832 drivers/edac/mce_amd.h | 2 +-
12833 drivers/firewire/core-card.c | 6 +-
12834 drivers/firewire/core-device.c | 2 +-
12835 drivers/firewire/core-transaction.c | 1 +
12836 drivers/firewire/core.h | 1 +
12837 drivers/firmware/dmi-id.c | 2 +-
12838 drivers/firmware/dmi_scan.c | 12 +-
12839 drivers/firmware/efi/cper.c | 8 +-
12840 drivers/firmware/efi/efi.c | 12 +-
12841 drivers/firmware/efi/efivars.c | 2 +-
12842 drivers/firmware/efi/runtime-map.c | 2 +-
12843 drivers/firmware/google/gsmi.c | 2 +-
12844 drivers/firmware/google/memconsole.c | 7 +-
12845 drivers/firmware/memmap.c | 2 +-
12846 drivers/firmware/psci.c | 2 +-
12847 drivers/gpio/gpio-davinci.c | 6 +-
12848 drivers/gpio/gpio-em.c | 2 +-
12849 drivers/gpio/gpio-ich.c | 2 +-
12850 drivers/gpio/gpio-omap.c | 4 +-
12851 drivers/gpio/gpio-rcar.c | 2 +-
12852 drivers/gpio/gpio-vr41xx.c | 2 +-
12853 drivers/gpio/gpiolib.c | 12 +-
12854 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-
12855 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 2 +-
12856 drivers/gpu/drm/amd/amdkfd/kfd_device.c | 6 +-
12857 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 90 +-
12858 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 8 +-
12859 .../drm/amd/amdkfd/kfd_device_queue_manager_cik.c | 14 +-
12860 .../drm/amd/amdkfd/kfd_device_queue_manager_vi.c | 14 +-
12861 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c | 4 +-
12862 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 2 +-
12863 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.h | 2 +-
12864 .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 16 +-
12865 drivers/gpu/drm/drm_crtc.c | 2 +-
12866 drivers/gpu/drm/drm_drv.c | 2 +-
12867 drivers/gpu/drm/drm_fops.c | 12 +-
12868 drivers/gpu/drm/drm_global.c | 14 +-
12869 drivers/gpu/drm/drm_info.c | 13 +-
12870 drivers/gpu/drm/drm_ioc32.c | 13 +-
12871 drivers/gpu/drm/drm_ioctl.c | 2 +-
12872 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 10 +-
12873 drivers/gpu/drm/i810/i810_drv.h | 4 +-
12874 drivers/gpu/drm/i915/i915_dma.c | 2 +-
12875 drivers/gpu/drm/i915/i915_gem_execbuffer.c | 4 +-
12876 drivers/gpu/drm/i915/i915_gem_gtt.c | 16 +-
12877 drivers/gpu/drm/i915/i915_gem_gtt.h | 6 +-
12878 drivers/gpu/drm/i915/i915_ioc32.c | 10 +-
12879 drivers/gpu/drm/i915/intel_display.c | 26 +-
12880 drivers/gpu/drm/imx/imx-drm-core.c | 2 +-
12881 drivers/gpu/drm/mga/mga_drv.h | 4 +-
12882 drivers/gpu/drm/mga/mga_ioc32.c | 10 +-
12883 drivers/gpu/drm/mga/mga_irq.c | 8 +-
12884 drivers/gpu/drm/nouveau/nouveau_bios.c | 2 +-
12885 drivers/gpu/drm/nouveau/nouveau_drm.h | 1 -
12886 drivers/gpu/drm/nouveau/nouveau_ioc32.c | 2 +-
12887 drivers/gpu/drm/nouveau/nouveau_vga.c | 2 +-
12888 drivers/gpu/drm/omapdrm/Makefile | 2 +-
12889 drivers/gpu/drm/qxl/qxl_cmd.c | 12 +-
12890 drivers/gpu/drm/qxl/qxl_debugfs.c | 8 +-
12891 drivers/gpu/drm/qxl/qxl_drv.h | 8 +-
12892 drivers/gpu/drm/qxl/qxl_ioctl.c | 10 +-
12893 drivers/gpu/drm/qxl/qxl_irq.c | 16 +-
12894 drivers/gpu/drm/qxl/qxl_ttm.c | 38 +-
12895 drivers/gpu/drm/r128/r128_cce.c | 2 +-
12896 drivers/gpu/drm/r128/r128_drv.h | 4 +-
12897 drivers/gpu/drm/r128/r128_ioc32.c | 10 +-
12898 drivers/gpu/drm/r128/r128_irq.c | 4 +-
12899 drivers/gpu/drm/r128/r128_state.c | 4 +-
12900 drivers/gpu/drm/radeon/mkregtable.c | 4 +-
12901 drivers/gpu/drm/radeon/radeon_device.c | 2 +-
12902 drivers/gpu/drm/radeon/radeon_drv.h | 2 +-
12903 drivers/gpu/drm/radeon/radeon_ioc32.c | 12 +-
12904 drivers/gpu/drm/radeon/radeon_irq.c | 6 +-
12905 drivers/gpu/drm/radeon/radeon_state.c | 4 +-
12906 drivers/gpu/drm/radeon/radeon_ttm.c | 4 +-
12907 drivers/gpu/drm/tegra/dc.c | 2 +-
12908 drivers/gpu/drm/tegra/dsi.c | 2 +-
12909 drivers/gpu/drm/tegra/hdmi.c | 2 +-
12910 drivers/gpu/drm/tegra/sor.c | 7 +-
12911 drivers/gpu/drm/tilcdc/Makefile | 6 +-
12912 drivers/gpu/drm/ttm/ttm_memory.c | 4 +-
12913 drivers/gpu/drm/ttm/ttm_page_alloc.c | 18 +-
12914 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 18 +-
12915 drivers/gpu/drm/udl/udl_fb.c | 1 -
12916 drivers/gpu/drm/via/via_drv.h | 4 +-
12917 drivers/gpu/drm/via/via_irq.c | 18 +-
12918 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 2 +-
12919 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c | 8 +-
12920 drivers/gpu/drm/vmwgfx/vmwgfx_irq.c | 4 +-
12921 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c | 2 +-
12922 drivers/gpu/vga/vga_switcheroo.c | 4 +-
12923 drivers/hid/hid-core.c | 4 +-
12924 drivers/hid/hid-sensor-custom.c | 2 +-
12925 drivers/hv/channel.c | 2 +-
12926 drivers/hv/hv.c | 4 +-
12927 drivers/hv/hv_balloon.c | 18 +-
12928 drivers/hv/hyperv_vmbus.h | 2 +-
12929 drivers/hwmon/acpi_power_meter.c | 6 +-
12930 drivers/hwmon/applesmc.c | 2 +-
12931 drivers/hwmon/asus_atk0110.c | 10 +-
12932 drivers/hwmon/coretemp.c | 2 +-
12933 drivers/hwmon/dell-smm-hwmon.c | 2 +-
12934 drivers/hwmon/ibmaem.c | 2 +-
12935 drivers/hwmon/iio_hwmon.c | 2 +-
12936 drivers/hwmon/nct6683.c | 6 +-
12937 drivers/hwmon/nct6775.c | 6 +-
12938 drivers/hwmon/pmbus/pmbus_core.c | 10 +-
12939 drivers/hwmon/sht15.c | 12 +-
12940 drivers/hwmon/via-cputemp.c | 2 +-
12941 drivers/i2c/busses/i2c-amd756-s4882.c | 2 +-
12942 drivers/i2c/busses/i2c-nforce2-s4985.c | 2 +-
12943 drivers/i2c/i2c-dev.c | 2 +-
12944 drivers/ide/ide-cd.c | 2 +-
12945 drivers/ide/ide-disk.c | 2 +-
12946 drivers/iio/industrialio-core.c | 2 +-
12947 drivers/iio/magnetometer/ak8975.c | 2 +-
12948 drivers/infiniband/core/cm.c | 32 +-
12949 drivers/infiniband/core/fmr_pool.c | 20 +-
12950 drivers/infiniband/core/uverbs_cmd.c | 3 +
12951 drivers/infiniband/hw/cxgb4/mem.c | 4 +-
12952 drivers/infiniband/hw/mlx4/mad.c | 2 +-
12953 drivers/infiniband/hw/mlx4/mcg.c | 2 +-
12954 drivers/infiniband/hw/mlx4/mlx4_ib.h | 2 +-
12955 drivers/infiniband/hw/mthca/mthca_cmd.c | 8 +-
12956 drivers/infiniband/hw/mthca/mthca_main.c | 2 +-
12957 drivers/infiniband/hw/mthca/mthca_mr.c | 6 +-
12958 drivers/infiniband/hw/mthca/mthca_provider.c | 2 +-
12959 drivers/infiniband/hw/nes/nes.c | 4 +-
12960 drivers/infiniband/hw/nes/nes.h | 40 +-
12961 drivers/infiniband/hw/nes/nes_cm.c | 62 +-
12962 drivers/infiniband/hw/nes/nes_mgt.c | 8 +-
12963 drivers/infiniband/hw/nes/nes_nic.c | 40 +-
12964 drivers/infiniband/hw/nes/nes_verbs.c | 10 +-
12965 drivers/infiniband/hw/qib/qib.h | 1 +
12966 drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 2 +-
12967 drivers/input/gameport/gameport.c | 4 +-
12968 drivers/input/input.c | 4 +-
12969 drivers/input/joystick/sidewinder.c | 1 +
12970 drivers/input/joystick/xpad.c | 4 +-
12971 drivers/input/misc/ims-pcu.c | 4 +-
12972 drivers/input/mouse/psmouse.h | 2 +-
12973 drivers/input/mousedev.c | 2 +-
12974 drivers/input/serio/serio.c | 4 +-
12975 drivers/input/serio/serio_raw.c | 4 +-
12976 drivers/input/touchscreen/htcpen.c | 2 +-
12977 drivers/iommu/arm-smmu-v3.c | 2 +-
12978 drivers/iommu/arm-smmu.c | 43 +-
12979 drivers/iommu/io-pgtable-arm.c | 101 +-
12980 drivers/iommu/io-pgtable.c | 11 +-
12981 drivers/iommu/io-pgtable.h | 19 +-
12982 drivers/iommu/iommu.c | 2 +-
12983 drivers/iommu/ipmmu-vmsa.c | 13 +-
12984 drivers/iommu/irq_remapping.c | 2 +-
12985 drivers/irqchip/irq-gic.c | 2 +-
12986 drivers/irqchip/irq-i8259.c | 2 +-
12987 drivers/irqchip/irq-renesas-intc-irqpin.c | 2 +-
12988 drivers/irqchip/irq-renesas-irqc.c | 2 +-
12989 drivers/isdn/capi/capi.c | 10 +-
12990 drivers/isdn/gigaset/interface.c | 8 +-
12991 drivers/isdn/gigaset/usb-gigaset.c | 2 +-
12992 drivers/isdn/hardware/avm/b1.c | 4 +-
12993 drivers/isdn/i4l/isdn_common.c | 2 +
12994 drivers/isdn/i4l/isdn_tty.c | 22 +-
12995 drivers/isdn/icn/icn.c | 2 +-
12996 drivers/isdn/mISDN/dsp_cmx.c | 2 +-
12997 drivers/lguest/core.c | 10 +-
12998 drivers/lguest/page_tables.c | 2 +-
12999 drivers/lguest/x86/core.c | 12 +-
13000 drivers/lguest/x86/switcher_32.S | 27 +-
13001 drivers/md/bcache/closure.h | 2 +-
13002 drivers/md/bitmap.c | 2 +-
13003 drivers/md/dm-ioctl.c | 2 +-
13004 drivers/md/dm-raid1.c | 18 +-
13005 drivers/md/dm-stats.c | 6 +-
13006 drivers/md/dm-stripe.c | 10 +-
13007 drivers/md/dm-table.c | 2 +-
13008 drivers/md/dm-thin-metadata.c | 4 +-
13009 drivers/md/dm.c | 16 +-
13010 drivers/md/md.c | 26 +-
13011 drivers/md/md.h | 6 +-
13012 drivers/md/persistent-data/dm-space-map-metadata.c | 4 +-
13013 drivers/md/persistent-data/dm-space-map.h | 1 +
13014 drivers/md/raid1.c | 4 +-
13015 drivers/md/raid10.c | 18 +-
13016 drivers/md/raid5.c | 22 +-
13017 drivers/media/dvb-core/dvbdev.c | 2 +-
13018 drivers/media/dvb-frontends/af9033.h | 2 +-
13019 drivers/media/dvb-frontends/dib3000.h | 2 +-
13020 drivers/media/dvb-frontends/dib7000p.h | 2 +-
13021 drivers/media/dvb-frontends/dib8000.h | 2 +-
13022 drivers/media/pci/cx88/cx88-video.c | 6 +-
13023 drivers/media/pci/ivtv/ivtv-driver.c | 2 +-
13024 drivers/media/pci/solo6x10/solo6x10-core.c | 2 +-
13025 drivers/media/pci/solo6x10/solo6x10-p2m.c | 2 +-
13026 drivers/media/pci/solo6x10/solo6x10.h | 2 +-
13027 drivers/media/pci/tw68/tw68-core.c | 2 +-
13028 drivers/media/platform/omap/omap_vout.c | 11 +-
13029 drivers/media/platform/s5p-tv/mixer.h | 2 +-
13030 drivers/media/platform/s5p-tv/mixer_grp_layer.c | 2 +-
13031 drivers/media/platform/s5p-tv/mixer_reg.c | 2 +-
13032 drivers/media/platform/s5p-tv/mixer_video.c | 24 +-
13033 drivers/media/platform/s5p-tv/mixer_vp_layer.c | 2 +-
13034 drivers/media/radio/radio-cadet.c | 2 +
13035 drivers/media/radio/radio-maxiradio.c | 2 +-
13036 drivers/media/radio/radio-shark.c | 2 +-
13037 drivers/media/radio/radio-shark2.c | 2 +-
13038 drivers/media/radio/radio-si476x.c | 2 +-
13039 drivers/media/radio/wl128x/fmdrv_common.c | 2 +-
13040 drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 12 +-
13041 drivers/media/v4l2-core/v4l2-device.c | 4 +-
13042 drivers/media/v4l2-core/v4l2-ioctl.c | 13 +-
13043 drivers/memory/omap-gpmc.c | 21 +-
13044 drivers/message/fusion/mptsas.c | 34 +-
13045 drivers/mfd/ab8500-debugfs.c | 2 +-
13046 drivers/mfd/kempld-core.c | 2 +-
13047 drivers/mfd/max8925-i2c.c | 2 +-
13048 drivers/mfd/tps65910.c | 2 +-
13049 drivers/mfd/twl4030-irq.c | 9 +-
13050 drivers/mfd/wm5110-tables.c | 2 +-
13051 drivers/mfd/wm8998-tables.c | 2 +-
13052 drivers/misc/c2port/core.c | 4 +-
13053 drivers/misc/kgdbts.c | 4 +-
13054 drivers/misc/lis3lv02d/lis3lv02d.c | 8 +-
13055 drivers/misc/lis3lv02d/lis3lv02d.h | 2 +-
13056 drivers/misc/mic/scif/scif_rb.c | 8 +-
13057 drivers/misc/sgi-gru/gruhandles.c | 4 +-
13058 drivers/misc/sgi-gru/gruprocfs.c | 8 +-
13059 drivers/misc/sgi-gru/grutables.h | 154 +-
13060 drivers/misc/sgi-xp/xp.h | 2 +-
13061 drivers/misc/sgi-xp/xpc.h | 3 +-
13062 drivers/misc/sgi-xp/xpc_main.c | 2 +-
13063 drivers/mmc/card/block.c | 2 +-
13064 drivers/mmc/host/dw_mmc.h | 2 +-
13065 drivers/mmc/host/mmci.c | 4 +-
13066 drivers/mmc/host/omap_hsmmc.c | 4 +-
13067 drivers/mmc/host/sdhci-esdhc-imx.c | 7 +-
13068 drivers/mmc/host/sdhci-s3c.c | 8 +-
13069 drivers/mtd/chips/cfi_cmdset_0020.c | 2 +-
13070 drivers/mtd/nand/denali.c | 1 +
13071 drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 2 +-
13072 drivers/mtd/nftlmount.c | 1 +
13073 drivers/mtd/sm_ftl.c | 2 +-
13074 drivers/net/bonding/bond_netlink.c | 2 +-
13075 drivers/net/caif/caif_hsi.c | 2 +-
13076 drivers/net/can/Kconfig | 2 +-
13077 drivers/net/can/dev.c | 2 +-
13078 drivers/net/can/vcan.c | 2 +-
13079 drivers/net/dummy.c | 2 +-
13080 drivers/net/ethernet/8390/ax88796.c | 4 +-
13081 drivers/net/ethernet/altera/altera_tse_main.c | 4 +-
13082 drivers/net/ethernet/amd/xgbe/xgbe-common.h | 4 +-
13083 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c | 4 +-
13084 drivers/net/ethernet/amd/xgbe/xgbe-desc.c | 27 +-
13085 drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 143 +-
13086 drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 64 +-
13087 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 10 +-
13088 drivers/net/ethernet/amd/xgbe/xgbe-main.c | 15 +-
13089 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 27 +-
13090 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c | 4 +-
13091 drivers/net/ethernet/amd/xgbe/xgbe.h | 10 +-
13092 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 2 +-
13093 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | 11 +-
13094 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h | 3 +-
13095 drivers/net/ethernet/broadcom/tg3.h | 1 +
13096 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c | 6 +-
13097 drivers/net/ethernet/cavium/liquidio/lio_main.c | 11 +-
13098 drivers/net/ethernet/chelsio/cxgb3/l2t.h | 2 +-
13099 drivers/net/ethernet/dec/tulip/de4x5.c | 4 +-
13100 drivers/net/ethernet/emulex/benet/be_main.c | 2 +-
13101 drivers/net/ethernet/faraday/ftgmac100.c | 2 +
13102 drivers/net/ethernet/faraday/ftmac100.c | 2 +
13103 drivers/net/ethernet/intel/i40e/i40e_ptp.c | 2 +-
13104 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 2 +-
13105 drivers/net/ethernet/mellanox/mlx4/en_tx.c | 4 +-
13106 drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 7 +-
13107 drivers/net/ethernet/neterion/vxge/vxge-config.c | 7 +-
13108 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 4 +-
13109 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c | 12 +-
13110 .../net/ethernet/qlogic/qlcnic/qlcnic_minidump.c | 2 +-
13111 drivers/net/ethernet/realtek/r8169.c | 8 +-
13112 drivers/net/ethernet/sfc/ptp.c | 2 +-
13113 drivers/net/ethernet/stmicro/stmmac/mmc_core.c | 4 +-
13114 drivers/net/ethernet/via/via-rhine.c | 2 +-
13115 drivers/net/geneve.c | 2 +-
13116 drivers/net/hyperv/hyperv_net.h | 2 +-
13117 drivers/net/hyperv/rndis_filter.c | 4 +-
13118 drivers/net/ifb.c | 2 +-
13119 drivers/net/ipvlan/ipvlan_core.c | 2 +-
13120 drivers/net/macvlan.c | 20 +-
13121 drivers/net/macvtap.c | 6 +-
13122 drivers/net/nlmon.c | 2 +-
13123 drivers/net/phy/phy_device.c | 6 +-
13124 drivers/net/ppp/ppp_generic.c | 4 +-
13125 drivers/net/slip/slhc.c | 2 +-
13126 drivers/net/team/team.c | 4 +-
13127 drivers/net/tun.c | 7 +-
13128 drivers/net/usb/hso.c | 23 +-
13129 drivers/net/usb/r8152.c | 2 +-
13130 drivers/net/usb/sierra_net.c | 4 +-
13131 drivers/net/virtio_net.c | 2 +-
13132 drivers/net/vrf.c | 2 +-
13133 drivers/net/vxlan.c | 4 +-
13134 drivers/net/wimax/i2400m/rx.c | 2 +-
13135 drivers/net/wireless/airo.c | 2 +-
13136 drivers/net/wireless/at76c50x-usb.c | 2 +-
13137 drivers/net/wireless/ath/ath10k/ce.c | 6 +-
13138 drivers/net/wireless/ath/ath10k/htc.c | 7 +-
13139 drivers/net/wireless/ath/ath10k/htc.h | 4 +-
13140 drivers/net/wireless/ath/ath9k/ar9002_mac.c | 36 +-
13141 drivers/net/wireless/ath/ath9k/ar9003_mac.c | 64 +-
13142 drivers/net/wireless/ath/ath9k/hw.h | 4 +-
13143 drivers/net/wireless/ath/ath9k/main.c | 22 +-
13144 drivers/net/wireless/ath/wil6210/wil_platform.h | 2 +-
13145 drivers/net/wireless/b43/phy_lp.c | 2 +-
13146 drivers/net/wireless/iwlegacy/3945-mac.c | 4 +-
13147 drivers/net/wireless/iwlwifi/dvm/debugfs.c | 34 +-
13148 drivers/net/wireless/iwlwifi/pcie/trans.c | 4 +-
13149 drivers/net/wireless/mac80211_hwsim.c | 28 +-
13150 drivers/net/wireless/rndis_wlan.c | 2 +-
13151 drivers/net/wireless/rt2x00/rt2x00.h | 2 +-
13152 drivers/net/wireless/rt2x00/rt2x00queue.c | 4 +-
13153 drivers/net/wireless/ti/wl1251/sdio.c | 12 +-
13154 drivers/net/wireless/ti/wl12xx/main.c | 8 +-
13155 drivers/net/wireless/ti/wl18xx/main.c | 6 +-
13156 drivers/nfc/nfcwilink.c | 2 +-
13157 drivers/of/fdt.c | 4 +-
13158 drivers/oprofile/buffer_sync.c | 8 +-
13159 drivers/oprofile/event_buffer.c | 2 +-
13160 drivers/oprofile/oprof.c | 2 +-
13161 drivers/oprofile/oprofile_stats.c | 10 +-
13162 drivers/oprofile/oprofile_stats.h | 10 +-
13163 drivers/oprofile/oprofilefs.c | 6 +-
13164 drivers/oprofile/timer_int.c | 2 +-
13165 drivers/parport/procfs.c | 4 +-
13166 drivers/pci/host/pci-host-generic.c | 24 +-
13167 drivers/pci/hotplug/acpiphp_ibm.c | 4 +-
13168 drivers/pci/hotplug/cpcihp_generic.c | 6 +-
13169 drivers/pci/hotplug/cpcihp_zt5550.c | 14 +-
13170 drivers/pci/hotplug/cpqphp_nvram.c | 2 +
13171 drivers/pci/hotplug/pci_hotplug_core.c | 6 +-
13172 drivers/pci/hotplug/pciehp_core.c | 2 +-
13173 drivers/pci/msi.c | 22 +-
13174 drivers/pci/pci-sysfs.c | 6 +-
13175 drivers/pci/pci.h | 2 +-
13176 drivers/pci/pcie/aspm.c | 6 +-
13177 drivers/pci/pcie/portdrv_pci.c | 2 +-
13178 drivers/pci/probe.c | 2 +-
13179 drivers/pinctrl/nomadik/pinctrl-nomadik.c | 2 +-
13180 drivers/pinctrl/pinctrl-at91.c | 5 +-
13181 drivers/platform/chrome/chromeos_pstore.c | 2 +-
13182 drivers/platform/x86/alienware-wmi.c | 4 +-
13183 drivers/platform/x86/compal-laptop.c | 2 +-
13184 drivers/platform/x86/hdaps.c | 2 +-
13185 drivers/platform/x86/ibm_rtl.c | 2 +-
13186 drivers/platform/x86/intel_oaktrail.c | 2 +-
13187 drivers/platform/x86/msi-laptop.c | 16 +-
13188 drivers/platform/x86/msi-wmi.c | 2 +-
13189 drivers/platform/x86/samsung-laptop.c | 2 +-
13190 drivers/platform/x86/samsung-q10.c | 2 +-
13191 drivers/platform/x86/sony-laptop.c | 14 +-
13192 drivers/platform/x86/thinkpad_acpi.c | 2 +-
13193 drivers/pnp/pnpbios/bioscalls.c | 14 +-
13194 drivers/pnp/pnpbios/core.c | 2 +-
13195 drivers/power/pda_power.c | 7 +-
13196 drivers/power/power_supply.h | 4 +-
13197 drivers/power/power_supply_core.c | 7 +-
13198 drivers/power/power_supply_sysfs.c | 6 +-
13199 drivers/power/reset/at91-reset.c | 9 +-
13200 drivers/powercap/powercap_sys.c | 136 +-
13201 drivers/ptp/ptp_private.h | 2 +-
13202 drivers/ptp/ptp_sysfs.c | 2 +-
13203 drivers/regulator/core.c | 4 +-
13204 drivers/regulator/max8660.c | 6 +-
13205 drivers/regulator/max8973-regulator.c | 16 +-
13206 drivers/regulator/mc13892-regulator.c | 8 +-
13207 drivers/rtc/rtc-armada38x.c | 7 +-
13208 drivers/rtc/rtc-cmos.c | 4 +-
13209 drivers/rtc/rtc-ds1307.c | 2 +-
13210 drivers/rtc/rtc-m48t59.c | 4 +-
13211 drivers/rtc/rtc-test.c | 6 +-
13212 drivers/scsi/be2iscsi/be_main.c | 2 +-
13213 drivers/scsi/bfa/bfa_fcpim.h | 2 +-
13214 drivers/scsi/bfa/bfa_ioc.h | 4 +-
13215 drivers/scsi/fcoe/fcoe_sysfs.c | 12 +-
13216 drivers/scsi/hosts.c | 4 +-
13217 drivers/scsi/hpsa.c | 38 +-
13218 drivers/scsi/hpsa.h | 2 +-
13219 drivers/scsi/libfc/fc_exch.c | 50 +-
13220 drivers/scsi/libsas/sas_ata.c | 2 +-
13221 drivers/scsi/lpfc/lpfc.h | 8 +-
13222 drivers/scsi/lpfc/lpfc_debugfs.c | 18 +-
13223 drivers/scsi/lpfc/lpfc_init.c | 6 +-
13224 drivers/scsi/lpfc/lpfc_scsi.c | 10 +-
13225 drivers/scsi/megaraid/megaraid_sas.h | 2 +-
13226 drivers/scsi/mpt2sas/mpt2sas_scsih.c | 8 +-
13227 drivers/scsi/pmcraid.c | 20 +-
13228 drivers/scsi/pmcraid.h | 8 +-
13229 drivers/scsi/qla2xxx/qla_attr.c | 4 +-
13230 drivers/scsi/qla2xxx/qla_gbl.h | 4 +-
13231 drivers/scsi/qla2xxx/qla_os.c | 6 +-
13232 drivers/scsi/qla4xxx/ql4_def.h | 2 +-
13233 drivers/scsi/qla4xxx/ql4_os.c | 6 +-
13234 drivers/scsi/scsi.c | 2 +-
13235 drivers/scsi/scsi_lib.c | 8 +-
13236 drivers/scsi/scsi_sysfs.c | 2 +-
13237 drivers/scsi/scsi_transport_fc.c | 8 +-
13238 drivers/scsi/scsi_transport_iscsi.c | 6 +-
13239 drivers/scsi/scsi_transport_srp.c | 6 +-
13240 drivers/scsi/sd.c | 6 +-
13241 drivers/scsi/sg.c | 2 +-
13242 drivers/scsi/sr.c | 21 +-
13243 drivers/soc/tegra/fuse/fuse-tegra.c | 2 +-
13244 drivers/spi/spi.c | 2 +-
13245 drivers/staging/android/timed_output.c | 6 +-
13246 drivers/staging/comedi/comedi_fops.c | 8 +-
13247 drivers/staging/fbtft/fbtft-core.c | 2 +-
13248 drivers/staging/fbtft/fbtft.h | 2 +-
13249 drivers/staging/gdm724x/gdm_tty.c | 2 +-
13250 drivers/staging/iio/accel/lis3l02dq_ring.c | 2 +-
13251 drivers/staging/iio/adc/ad7280a.c | 4 +-
13252 drivers/staging/lustre/lnet/selftest/brw_test.c | 12 +-
13253 drivers/staging/lustre/lnet/selftest/framework.c | 4 -
13254 drivers/staging/lustre/lnet/selftest/ping_test.c | 14 +-
13255 drivers/staging/lustre/lustre/include/lustre_dlm.h | 2 +-
13256 drivers/staging/lustre/lustre/include/obd.h | 2 +-
13257 drivers/staging/octeon/ethernet-rx.c | 20 +-
13258 drivers/staging/octeon/ethernet.c | 8 +-
13259 drivers/staging/rdma/ipath/ipath_rc.c | 6 +-
13260 drivers/staging/rdma/ipath/ipath_ruc.c | 6 +-
13261 drivers/staging/rtl8188eu/include/hal_intf.h | 2 +-
13262 drivers/staging/rtl8712/rtl871x_io.h | 2 +-
13263 drivers/staging/sm750fb/sm750.c | 14 +-
13264 drivers/staging/unisys/visorbus/visorbus_private.h | 4 +-
13265 drivers/target/sbp/sbp_target.c | 4 +-
13266 drivers/thermal/cpu_cooling.c | 9 +-
13267 drivers/thermal/int340x_thermal/int3400_thermal.c | 6 +-
13268 drivers/thermal/of-thermal.c | 17 +-
13269 drivers/thermal/x86_pkg_temp_thermal.c | 2 +-
13270 drivers/tty/cyclades.c | 6 +-
13271 drivers/tty/hvc/hvc_console.c | 14 +-
13272 drivers/tty/hvc/hvcs.c | 21 +-
13273 drivers/tty/hvc/hvsi.c | 22 +-
13274 drivers/tty/hvc/hvsi_lib.c | 4 +-
13275 drivers/tty/ipwireless/tty.c | 27 +-
13276 drivers/tty/moxa.c | 2 +-
13277 drivers/tty/n_gsm.c | 4 +-
13278 drivers/tty/n_tty.c | 3 +-
13279 drivers/tty/pty.c | 4 +-
13280 drivers/tty/rocket.c | 6 +-
13281 drivers/tty/serial/8250/8250_core.c | 10 +-
13282 drivers/tty/serial/ifx6x60.c | 2 +-
13283 drivers/tty/serial/ioc4_serial.c | 6 +-
13284 drivers/tty/serial/kgdb_nmi.c | 4 +-
13285 drivers/tty/serial/kgdboc.c | 32 +-
13286 drivers/tty/serial/msm_serial.c | 4 +-
13287 drivers/tty/serial/samsung.c | 9 +-
13288 drivers/tty/serial/serial_core.c | 8 +-
13289 drivers/tty/synclink.c | 34 +-
13290 drivers/tty/synclink_gt.c | 28 +-
13291 drivers/tty/synclinkmp.c | 34 +-
13292 drivers/tty/tty_io.c | 2 +-
13293 drivers/tty/tty_ldisc.c | 8 +-
13294 drivers/tty/tty_port.c | 22 +-
13295 drivers/uio/uio.c | 13 +-
13296 drivers/usb/atm/cxacru.c | 2 +-
13297 drivers/usb/atm/usbatm.c | 24 +-
13298 drivers/usb/class/cdc-acm.h | 2 +-
13299 drivers/usb/core/devices.c | 6 +-
13300 drivers/usb/core/devio.c | 12 +-
13301 drivers/usb/core/hcd.c | 4 +-
13302 drivers/usb/core/sysfs.c | 2 +-
13303 drivers/usb/core/usb.c | 2 +-
13304 drivers/usb/early/ehci-dbgp.c | 16 +-
13305 drivers/usb/gadget/function/u_serial.c | 22 +-
13306 drivers/usb/gadget/udc/dummy_hcd.c | 2 +-
13307 drivers/usb/host/ehci-hcd.c | 2 +-
13308 drivers/usb/host/ehci-hub.c | 4 +-
13309 drivers/usb/host/ehci-q.c | 4 +-
13310 drivers/usb/host/fotg210-hcd.c | 2 +-
13311 drivers/usb/host/fusbh200-hcd.c | 2 +-
13312 drivers/usb/host/hwa-hc.c | 2 +-
13313 drivers/usb/host/ohci-hcd.c | 2 +-
13314 drivers/usb/host/r8a66597.h | 2 +-
13315 drivers/usb/host/uhci-hcd.c | 2 +-
13316 drivers/usb/host/xhci-pci.c | 2 +-
13317 drivers/usb/host/xhci.c | 2 +-
13318 drivers/usb/misc/appledisplay.c | 4 +-
13319 drivers/usb/serial/console.c | 8 +-
13320 drivers/usb/storage/transport.c | 2 +-
13321 drivers/usb/storage/usb.c | 2 +-
13322 drivers/usb/storage/usb.h | 2 +-
13323 drivers/usb/usbip/vhci.h | 2 +-
13324 drivers/usb/usbip/vhci_hcd.c | 6 +-
13325 drivers/usb/usbip/vhci_rx.c | 2 +-
13326 drivers/usb/wusbcore/wa-hc.h | 4 +-
13327 drivers/usb/wusbcore/wa-xfer.c | 2 +-
13328 drivers/vfio/vfio.c | 2 +-
13329 drivers/vhost/vringh.c | 20 +-
13330 drivers/video/backlight/kb3886_bl.c | 2 +-
13331 drivers/video/console/fbcon.c | 2 +-
13332 drivers/video/fbdev/aty/aty128fb.c | 2 +-
13333 drivers/video/fbdev/aty/atyfb_base.c | 8 +-
13334 drivers/video/fbdev/aty/mach64_cursor.c | 5 +-
13335 drivers/video/fbdev/core/fb_defio.c | 6 +-
13336 drivers/video/fbdev/core/fbmem.c | 2 +-
13337 drivers/video/fbdev/hyperv_fb.c | 4 +-
13338 drivers/video/fbdev/i810/i810_accel.c | 1 +
13339 drivers/video/fbdev/matrox/matroxfb_base.c | 2 +-
13340 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c | 16 +-
13341 drivers/video/fbdev/nvidia/nvidia.c | 27 +-
13342 drivers/video/fbdev/omap2/dss/display.c | 8 +-
13343 drivers/video/fbdev/s1d13xxxfb.c | 6 +-
13344 drivers/video/fbdev/smscufx.c | 4 +-
13345 drivers/video/fbdev/udlfb.c | 36 +-
13346 drivers/video/fbdev/uvesafb.c | 52 +-
13347 drivers/video/fbdev/vesafb.c | 58 +-
13348 drivers/video/fbdev/via/via_clock.h | 2 +-
13349 drivers/xen/events/events_base.c | 6 +-
13350 drivers/xen/evtchn.c | 4 +-
13351 fs/Kconfig.binfmt | 2 +-
13352 fs/afs/inode.c | 4 +-
13353 fs/aio.c | 2 +-
13354 fs/autofs4/waitq.c | 2 +-
13355 fs/befs/endian.h | 6 +-
13356 fs/binfmt_aout.c | 23 +-
13357 fs/binfmt_elf.c | 670 +-
13358 fs/binfmt_elf_fdpic.c | 4 +-
13359 fs/block_dev.c | 2 +-
13360 fs/btrfs/ctree.c | 9 +-
13361 fs/btrfs/delayed-inode.c | 9 +-
13362 fs/btrfs/delayed-inode.h | 6 +-
13363 fs/btrfs/file.c | 10 +-
13364 fs/btrfs/inode.c | 14 +-
13365 fs/btrfs/super.c | 2 +-
13366 fs/btrfs/sysfs.c | 2 +-
13367 fs/btrfs/tests/free-space-tests.c | 8 +-
13368 fs/btrfs/tree-log.h | 2 +-
13369 fs/buffer.c | 2 +-
13370 fs/cachefiles/bind.c | 6 +-
13371 fs/cachefiles/daemon.c | 8 +-
13372 fs/cachefiles/internal.h | 12 +-
13373 fs/cachefiles/namei.c | 2 +-
13374 fs/cachefiles/proc.c | 12 +-
13375 fs/ceph/dir.c | 12 +-
13376 fs/ceph/super.c | 4 +-
13377 fs/cifs/cifs_debug.c | 12 +-
13378 fs/cifs/cifsfs.c | 8 +-
13379 fs/cifs/cifsglob.h | 54 +-
13380 fs/cifs/file.c | 10 +-
13381 fs/cifs/misc.c | 4 +-
13382 fs/cifs/smb1ops.c | 80 +-
13383 fs/cifs/smb2ops.c | 84 +-
13384 fs/cifs/smb2pdu.c | 3 +-
13385 fs/coda/cache.c | 10 +-
13386 fs/compat.c | 4 +-
13387 fs/compat_binfmt_elf.c | 2 +
13388 fs/compat_ioctl.c | 12 +-
13389 fs/configfs/dir.c | 10 +-
13390 fs/coredump.c | 16 +-
13391 fs/dcache.c | 51 +-
13392 fs/ecryptfs/inode.c | 2 +-
13393 fs/ecryptfs/miscdev.c | 2 +-
13394 fs/exec.c | 362 +-
13395 fs/ext2/xattr.c | 5 +-
13396 fs/ext4/ext4.h | 20 +-
13397 fs/ext4/mballoc.c | 44 +-
13398 fs/ext4/resize.c | 16 +-
13399 fs/ext4/super.c | 4 +-
13400 fs/ext4/xattr.c | 5 +-
13401 fs/fhandle.c | 3 +-
13402 fs/file.c | 4 +-
13403 fs/fs_struct.c | 8 +-
13404 fs/fscache/cookie.c | 40 +-
13405 fs/fscache/internal.h | 202 +-
13406 fs/fscache/object.c | 26 +-
13407 fs/fscache/operation.c | 38 +-
13408 fs/fscache/page.c | 110 +-
13409 fs/fscache/stats.c | 348 +-
13410 fs/fuse/cuse.c | 10 +-
13411 fs/fuse/dev.c | 4 +-
13412 fs/gfs2/glock.c | 22 +-
13413 fs/gfs2/glops.c | 4 +-
13414 fs/gfs2/quota.c | 6 +-
13415 fs/hugetlbfs/inode.c | 13 +-
13416 fs/inode.c | 4 +-
13417 fs/jffs2/erase.c | 3 +-
13418 fs/jffs2/wbuf.c | 3 +-
13419 fs/jfs/super.c | 2 +-
13420 fs/kernfs/dir.c | 2 +-
13421 fs/kernfs/file.c | 20 +-
13422 fs/libfs.c | 10 +-
13423 fs/lockd/clntproc.c | 4 +-
13424 fs/namei.c | 16 +-
13425 fs/namespace.c | 16 +-
13426 fs/nfs/callback_xdr.c | 2 +-
13427 fs/nfs/inode.c | 6 +-
13428 fs/nfsd/nfs4proc.c | 2 +-
13429 fs/nfsd/nfs4xdr.c | 2 +-
13430 fs/nfsd/nfscache.c | 11 +-
13431 fs/nfsd/vfs.c | 6 +-
13432 fs/nls/nls_base.c | 26 +-
13433 fs/nls/nls_euc-jp.c | 6 +-
13434 fs/nls/nls_koi8-ru.c | 6 +-
13435 fs/notify/fanotify/fanotify_user.c | 4 +-
13436 fs/notify/notification.c | 4 +-
13437 fs/ntfs/dir.c | 2 +-
13438 fs/ntfs/super.c | 6 +-
13439 fs/ocfs2/localalloc.c | 2 +-
13440 fs/ocfs2/ocfs2.h | 10 +-
13441 fs/ocfs2/suballoc.c | 12 +-
13442 fs/ocfs2/super.c | 20 +-
13443 fs/pipe.c | 72 +-
13444 fs/posix_acl.c | 4 +-
13445 fs/proc/array.c | 20 +
13446 fs/proc/base.c | 4 +-
13447 fs/proc/kcore.c | 34 +-
13448 fs/proc/meminfo.c | 2 +-
13449 fs/proc/nommu.c | 2 +-
13450 fs/proc/proc_sysctl.c | 26 +-
13451 fs/proc/task_mmu.c | 39 +-
13452 fs/proc/task_nommu.c | 4 +-
13453 fs/proc/vmcore.c | 16 +-
13454 fs/qnx6/qnx6.h | 4 +-
13455 fs/quota/netlink.c | 4 +-
13456 fs/read_write.c | 2 +-
13457 fs/reiserfs/do_balan.c | 2 +-
13458 fs/reiserfs/procfs.c | 2 +-
13459 fs/reiserfs/reiserfs.h | 4 +-
13460 fs/seq_file.c | 4 +-
13461 fs/splice.c | 43 +-
13462 fs/squashfs/xattr.c | 12 +-
13463 fs/sysv/sysv.h | 2 +-
13464 fs/tracefs/inode.c | 8 +-
13465 fs/udf/misc.c | 2 +-
13466 fs/ufs/swab.h | 4 +-
13467 fs/userfaultfd.c | 2 +-
13468 fs/xattr.c | 21 +
13469 fs/xfs/libxfs/xfs_bmap.c | 2 +-
13470 fs/xfs/xfs_dir2_readdir.c | 7 +-
13471 fs/xfs/xfs_ioctl.c | 2 +-
13472 fs/xfs/xfs_linux.h | 4 +-
13473 include/asm-generic/4level-fixup.h | 2 +
13474 include/asm-generic/atomic-long.h | 156 +-
13475 include/asm-generic/atomic64.h | 12 +
13476 include/asm-generic/bitops/__fls.h | 2 +-
13477 include/asm-generic/bitops/fls.h | 2 +-
13478 include/asm-generic/bitops/fls64.h | 4 +-
13479 include/asm-generic/bug.h | 6 +-
13480 include/asm-generic/cache.h | 4 +-
13481 include/asm-generic/emergency-restart.h | 2 +-
13482 include/asm-generic/kmap_types.h | 4 +-
13483 include/asm-generic/local.h | 13 +
13484 include/asm-generic/pgtable-nopmd.h | 18 +-
13485 include/asm-generic/pgtable-nopud.h | 15 +-
13486 include/asm-generic/pgtable.h | 16 +
13487 include/asm-generic/sections.h | 1 +
13488 include/asm-generic/uaccess.h | 16 +
13489 include/asm-generic/vmlinux.lds.h | 15 +-
13490 include/crypto/algapi.h | 2 +-
13491 include/drm/drmP.h | 16 +-
13492 include/drm/drm_crtc_helper.h | 2 +-
13493 include/drm/drm_mm.h | 2 +-
13494 include/drm/i915_pciids.h | 2 +-
13495 include/drm/intel-gtt.h | 4 +-
13496 include/drm/ttm/ttm_memory.h | 2 +-
13497 include/drm/ttm/ttm_page_alloc.h | 1 +
13498 include/keys/asymmetric-subtype.h | 2 +-
13499 include/linux/atmdev.h | 4 +-
13500 include/linux/atomic.h | 17 +-
13501 include/linux/audit.h | 2 +-
13502 include/linux/average.h | 2 +-
13503 include/linux/binfmts.h | 3 +-
13504 include/linux/bitmap.h | 2 +-
13505 include/linux/bitops.h | 8 +-
13506 include/linux/blkdev.h | 2 +-
13507 include/linux/blktrace_api.h | 2 +-
13508 include/linux/cache.h | 8 +
13509 include/linux/cdrom.h | 1 -
13510 include/linux/cleancache.h | 2 +-
13511 include/linux/clk-provider.h | 1 +
13512 include/linux/compat.h | 6 +-
13513 include/linux/compiler-gcc.h | 28 +-
13514 include/linux/compiler.h | 157 +-
13515 include/linux/configfs.h | 2 +-
13516 include/linux/cpufreq.h | 3 +-
13517 include/linux/cpuidle.h | 5 +-
13518 include/linux/cpumask.h | 14 +-
13519 include/linux/crypto.h | 4 +-
13520 include/linux/ctype.h | 2 +-
13521 include/linux/dcache.h | 4 +-
13522 include/linux/decompress/mm.h | 2 +-
13523 include/linux/devfreq.h | 2 +-
13524 include/linux/device.h | 7 +-
13525 include/linux/dma-mapping.h | 2 +-
13526 include/linux/efi.h | 1 +
13527 include/linux/elf.h | 2 +
13528 include/linux/err.h | 4 +-
13529 include/linux/extcon.h | 2 +-
13530 include/linux/fb.h | 3 +-
13531 include/linux/fdtable.h | 2 +-
13532 include/linux/fs.h | 5 +-
13533 include/linux/fs_struct.h | 2 +-
13534 include/linux/fscache-cache.h | 2 +-
13535 include/linux/fscache.h | 2 +-
13536 include/linux/fsnotify.h | 2 +-
13537 include/linux/genhd.h | 4 +-
13538 include/linux/genl_magic_func.h | 2 +-
13539 include/linux/gfp.h | 12 +-
13540 include/linux/highmem.h | 12 +
13541 include/linux/hwmon-sysfs.h | 6 +-
13542 include/linux/i2c.h | 1 +
13543 include/linux/if_pppox.h | 2 +-
13544 include/linux/init.h | 12 +-
13545 include/linux/init_task.h | 7 +
13546 include/linux/interrupt.h | 6 +-
13547 include/linux/iommu.h | 2 +-
13548 include/linux/ioport.h | 2 +-
13549 include/linux/ipc.h | 2 +-
13550 include/linux/irq.h | 5 +-
13551 include/linux/irqdesc.h | 2 +-
13552 include/linux/irqdomain.h | 3 +
13553 include/linux/jiffies.h | 16 +-
13554 include/linux/key-type.h | 2 +-
13555 include/linux/kgdb.h | 6 +-
13556 include/linux/kmemleak.h | 4 +-
13557 include/linux/kobject.h | 3 +-
13558 include/linux/kobject_ns.h | 2 +-
13559 include/linux/kref.h | 2 +-
13560 include/linux/libata.h | 2 +-
13561 include/linux/linkage.h | 1 +
13562 include/linux/list.h | 15 +
13563 include/linux/lockref.h | 26 +-
13564 include/linux/math64.h | 10 +-
13565 include/linux/mempolicy.h | 7 +
13566 include/linux/mm.h | 102 +-
13567 include/linux/mm_types.h | 20 +
13568 include/linux/mmiotrace.h | 4 +-
13569 include/linux/mmzone.h | 2 +-
13570 include/linux/mod_devicetable.h | 4 +-
13571 include/linux/module.h | 69 +-
13572 include/linux/moduleloader.h | 16 +
13573 include/linux/moduleparam.h | 4 +-
13574 include/linux/net.h | 2 +-
13575 include/linux/netdevice.h | 7 +-
13576 include/linux/netfilter.h | 2 +-
13577 include/linux/netfilter/nfnetlink.h | 2 +-
13578 include/linux/nls.h | 4 +-
13579 include/linux/notifier.h | 3 +-
13580 include/linux/oprofile.h | 4 +-
13581 include/linux/padata.h | 2 +-
13582 include/linux/pci_hotplug.h | 3 +-
13583 include/linux/percpu.h | 2 +-
13584 include/linux/perf_event.h | 12 +-
13585 include/linux/pipe_fs_i.h | 8 +-
13586 include/linux/pm.h | 1 +
13587 include/linux/pm_domain.h | 4 +-
13588 include/linux/pm_runtime.h | 2 +-
13589 include/linux/pnp.h | 2 +-
13590 include/linux/poison.h | 4 +-
13591 include/linux/power/smartreflex.h | 2 +-
13592 include/linux/ppp-comp.h | 2 +-
13593 include/linux/preempt.h | 21 +
13594 include/linux/proc_ns.h | 2 +-
13595 include/linux/psci.h | 2 +-
13596 include/linux/quota.h | 2 +-
13597 include/linux/random.h | 19 +-
13598 include/linux/rculist.h | 16 +
13599 include/linux/reboot.h | 14 +-
13600 include/linux/regset.h | 3 +-
13601 include/linux/relay.h | 2 +-
13602 include/linux/rio.h | 2 +-
13603 include/linux/rmap.h | 4 +-
13604 include/linux/sched.h | 72 +-
13605 include/linux/sched/sysctl.h | 1 +
13606 include/linux/semaphore.h | 2 +-
13607 include/linux/seq_file.h | 1 +
13608 include/linux/signal.h | 2 +-
13609 include/linux/skbuff.h | 12 +-
13610 include/linux/slab.h | 47 +-
13611 include/linux/slab_def.h | 14 +-
13612 include/linux/slub_def.h | 2 +-
13613 include/linux/smp.h | 2 +
13614 include/linux/sock_diag.h | 2 +-
13615 include/linux/sonet.h | 2 +-
13616 include/linux/sunrpc/addr.h | 8 +-
13617 include/linux/sunrpc/clnt.h | 2 +-
13618 include/linux/sunrpc/svc.h | 2 +-
13619 include/linux/sunrpc/svc_rdma.h | 18 +-
13620 include/linux/sunrpc/svcauth.h | 2 +-
13621 include/linux/swapops.h | 10 +-
13622 include/linux/swiotlb.h | 3 +-
13623 include/linux/syscalls.h | 21 +-
13624 include/linux/syscore_ops.h | 2 +-
13625 include/linux/sysctl.h | 3 +-
13626 include/linux/sysfs.h | 9 +-
13627 include/linux/sysrq.h | 3 +-
13628 include/linux/tcp.h | 14 +-
13629 include/linux/thread_info.h | 7 +
13630 include/linux/tty.h | 4 +-
13631 include/linux/tty_driver.h | 2 +-
13632 include/linux/tty_ldisc.h | 2 +-
13633 include/linux/types.h | 16 +
13634 include/linux/uaccess.h | 6 +-
13635 include/linux/uio_driver.h | 2 +-
13636 include/linux/unaligned/access_ok.h | 24 +-
13637 include/linux/usb.h | 12 +-
13638 include/linux/usb/hcd.h | 1 +
13639 include/linux/usb/renesas_usbhs.h | 2 +-
13640 include/linux/vermagic.h | 21 +-
13641 include/linux/vga_switcheroo.h | 8 +-
13642 include/linux/vmalloc.h | 7 +-
13643 include/linux/vmstat.h | 24 +-
13644 include/linux/xattr.h | 5 +-
13645 include/linux/zlib.h | 3 +-
13646 include/media/v4l2-dev.h | 2 +-
13647 include/media/v4l2-device.h | 2 +-
13648 include/net/9p/transport.h | 2 +-
13649 include/net/bluetooth/l2cap.h | 2 +-
13650 include/net/bonding.h | 2 +-
13651 include/net/caif/cfctrl.h | 6 +-
13652 include/net/flow.h | 2 +-
13653 include/net/genetlink.h | 2 +-
13654 include/net/gro_cells.h | 2 +-
13655 include/net/inet_connection_sock.h | 2 +-
13656 include/net/inet_sock.h | 2 +-
13657 include/net/inetpeer.h | 2 +-
13658 include/net/ip_fib.h | 2 +-
13659 include/net/ip_vs.h | 8 +-
13660 include/net/ipv6.h | 2 +-
13661 include/net/irda/ircomm_tty.h | 1 +
13662 include/net/iucv/af_iucv.h | 2 +-
13663 include/net/llc_c_ac.h | 2 +-
13664 include/net/llc_c_ev.h | 4 +-
13665 include/net/llc_c_st.h | 2 +-
13666 include/net/llc_s_ac.h | 2 +-
13667 include/net/llc_s_st.h | 2 +-
13668 include/net/mac80211.h | 4 +-
13669 include/net/neighbour.h | 2 +-
13670 include/net/net_namespace.h | 18 +-
13671 include/net/netlink.h | 2 +-
13672 include/net/netns/conntrack.h | 6 +-
13673 include/net/netns/ipv4.h | 4 +-
13674 include/net/netns/ipv6.h | 4 +-
13675 include/net/netns/xfrm.h | 2 +-
13676 include/net/ping.h | 2 +-
13677 include/net/protocol.h | 4 +-
13678 include/net/rtnetlink.h | 2 +-
13679 include/net/sctp/checksum.h | 4 +-
13680 include/net/sctp/sm.h | 4 +-
13681 include/net/sctp/structs.h | 2 +-
13682 include/net/sock.h | 12 +-
13683 include/net/tcp.h | 8 +-
13684 include/net/xfrm.h | 13 +-
13685 include/rdma/iw_cm.h | 2 +-
13686 include/scsi/libfc.h | 3 +-
13687 include/scsi/scsi_device.h | 6 +-
13688 include/scsi/scsi_driver.h | 2 +-
13689 include/scsi/scsi_transport_fc.h | 3 +-
13690 include/scsi/sg.h | 2 +-
13691 include/sound/compress_driver.h | 2 +-
13692 include/sound/soc.h | 4 +-
13693 include/trace/events/irq.h | 4 +-
13694 include/uapi/linux/a.out.h | 8 +
13695 include/uapi/linux/bcache.h | 5 +-
13696 include/uapi/linux/byteorder/little_endian.h | 28 +-
13697 include/uapi/linux/connector.h | 2 +-
13698 include/uapi/linux/elf.h | 28 +
13699 include/uapi/linux/screen_info.h | 3 +-
13700 include/uapi/linux/swab.h | 6 +-
13701 include/uapi/linux/xattr.h | 4 +
13702 include/video/udlfb.h | 8 +-
13703 include/video/uvesafb.h | 1 +
13704 init/Kconfig | 2 +-
13705 init/Makefile | 3 +
13706 init/do_mounts.c | 14 +-
13707 init/do_mounts.h | 8 +-
13708 init/do_mounts_initrd.c | 30 +-
13709 init/do_mounts_md.c | 6 +-
13710 init/init_task.c | 4 +
13711 init/initramfs.c | 38 +-
13712 init/main.c | 30 +-
13713 ipc/compat.c | 4 +-
13714 ipc/ipc_sysctl.c | 8 +-
13715 ipc/mq_sysctl.c | 4 +-
13716 ipc/sem.c | 4 +-
13717 ipc/shm.c | 6 +
13718 kernel/audit.c | 8 +-
13719 kernel/auditsc.c | 4 +-
13720 kernel/bpf/core.c | 7 +-
13721 kernel/capability.c | 3 +
13722 kernel/compat.c | 38 +-
13723 kernel/debug/debug_core.c | 16 +-
13724 kernel/debug/kdb/kdb_main.c | 4 +-
13725 kernel/events/core.c | 26 +-
13726 kernel/events/internal.h | 10 +-
13727 kernel/events/uprobes.c | 2 +-
13728 kernel/exit.c | 2 +-
13729 kernel/fork.c | 167 +-
13730 kernel/futex.c | 11 +-
13731 kernel/futex_compat.c | 2 +-
13732 kernel/gcov/base.c | 7 +-
13733 kernel/irq/manage.c | 2 +-
13734 kernel/irq/msi.c | 19 +-
13735 kernel/irq/spurious.c | 2 +-
13736 kernel/jump_label.c | 5 +
13737 kernel/kallsyms.c | 37 +-
13738 kernel/kexec.c | 3 +-
13739 kernel/kmod.c | 8 +-
13740 kernel/kprobes.c | 4 +-
13741 kernel/ksysfs.c | 2 +-
13742 kernel/locking/lockdep.c | 7 +-
13743 kernel/locking/mutex-debug.c | 12 +-
13744 kernel/locking/mutex-debug.h | 4 +-
13745 kernel/locking/mutex.c | 6 +-
13746 kernel/module.c | 422 +-
13747 kernel/notifier.c | 17 +-
13748 kernel/padata.c | 4 +-
13749 kernel/panic.c | 5 +-
13750 kernel/pid.c | 2 +-
13751 kernel/pid_namespace.c | 2 +-
13752 kernel/power/process.c | 12 +-
13753 kernel/profile.c | 14 +-
13754 kernel/ptrace.c | 8 +-
13755 kernel/rcu/rcutorture.c | 60 +-
13756 kernel/rcu/tiny.c | 4 +-
13757 kernel/rcu/tree.c | 44 +-
13758 kernel/rcu/tree.h | 14 +-
13759 kernel/rcu/tree_plugin.h | 14 +-
13760 kernel/rcu/tree_trace.c | 12 +-
13761 kernel/sched/auto_group.c | 4 +-
13762 kernel/sched/core.c | 45 +-
13763 kernel/sched/fair.c | 2 +-
13764 kernel/sched/sched.h | 2 +-
13765 kernel/signal.c | 12 +-
13766 kernel/smpboot.c | 4 +-
13767 kernel/softirq.c | 12 +-
13768 kernel/sys.c | 10 +-
13769 kernel/sysctl.c | 34 +-
13770 kernel/time/alarmtimer.c | 2 +-
13771 kernel/time/posix-cpu-timers.c | 4 +-
13772 kernel/time/posix-timers.c | 24 +-
13773 kernel/time/timer.c | 2 +-
13774 kernel/time/timer_stats.c | 10 +-
13775 kernel/trace/blktrace.c | 6 +-
13776 kernel/trace/ftrace.c | 15 +-
13777 kernel/trace/ring_buffer.c | 96 +-
13778 kernel/trace/trace.c | 2 +-
13779 kernel/trace/trace.h | 2 +-
13780 kernel/trace/trace_clock.c | 4 +-
13781 kernel/trace/trace_events.c | 1 -
13782 kernel/trace/trace_functions_graph.c | 4 +-
13783 kernel/trace/trace_mmiotrace.c | 8 +-
13784 kernel/trace/trace_output.c | 10 +-
13785 kernel/trace/trace_seq.c | 2 +-
13786 kernel/trace/trace_stack.c | 2 +-
13787 kernel/user_namespace.c | 2 +-
13788 kernel/utsname_sysctl.c | 2 +-
13789 kernel/watchdog.c | 2 +-
13790 kernel/workqueue.c | 2 +-
13791 lib/Kconfig.debug | 8 +-
13792 lib/Makefile | 2 +-
13793 lib/bitmap.c | 8 +-
13794 lib/bug.c | 2 +
13795 lib/debugobjects.c | 2 +-
13796 lib/decompress_bunzip2.c | 3 +-
13797 lib/decompress_unlzma.c | 4 +-
13798 lib/div64.c | 4 +-
13799 lib/dma-debug.c | 4 +-
13800 lib/inflate.c | 2 +-
13801 lib/ioremap.c | 4 +-
13802 lib/kobject.c | 4 +-
13803 lib/list_debug.c | 126 +-
13804 lib/lockref.c | 44 +-
13805 lib/percpu-refcount.c | 2 +-
13806 lib/radix-tree.c | 2 +-
13807 lib/random32.c | 2 +-
13808 lib/show_mem.c | 2 +-
13809 lib/strncpy_from_user.c | 2 +-
13810 lib/strnlen_user.c | 2 +-
13811 lib/swiotlb.c | 2 +-
13812 lib/usercopy.c | 6 +
13813 lib/vsprintf.c | 12 +-
13814 mm/Kconfig | 6 +-
13815 mm/backing-dev.c | 4 +-
13816 mm/debug.c | 3 +
13817 mm/filemap.c | 2 +-
13818 mm/gup.c | 13 +-
13819 mm/highmem.c | 6 +-
13820 mm/hugetlb.c | 70 +-
13821 mm/internal.h | 1 +
13822 mm/maccess.c | 4 +-
13823 mm/madvise.c | 37 +
13824 mm/memory-failure.c | 6 +-
13825 mm/memory.c | 424 +-
13826 mm/mempolicy.c | 25 +
13827 mm/mlock.c | 15 +-
13828 mm/mm_init.c | 2 +-
13829 mm/mmap.c | 582 +-
13830 mm/mprotect.c | 137 +-
13831 mm/mremap.c | 39 +-
13832 mm/nommu.c | 21 +-
13833 mm/page-writeback.c | 2 +-
13834 mm/page_alloc.c | 49 +-
13835 mm/percpu.c | 2 +-
13836 mm/process_vm_access.c | 14 +-
13837 mm/rmap.c | 45 +-
13838 mm/shmem.c | 19 +-
13839 mm/slab.c | 109 +-
13840 mm/slab.h | 22 +-
13841 mm/slab_common.c | 86 +-
13842 mm/slob.c | 218 +-
13843 mm/slub.c | 102 +-
13844 mm/sparse-vmemmap.c | 4 +-
13845 mm/sparse.c | 2 +-
13846 mm/swap.c | 2 +
13847 mm/swapfile.c | 12 +-
13848 mm/util.c | 6 +
13849 mm/vmalloc.c | 114 +-
13850 mm/vmstat.c | 12 +-
13851 net/8021q/vlan.c | 5 +-
13852 net/8021q/vlan_netlink.c | 2 +-
13853 net/9p/mod.c | 4 +-
13854 net/9p/trans_fd.c | 2 +-
13855 net/atm/atm_misc.c | 8 +-
13856 net/atm/lec.h | 2 +-
13857 net/atm/proc.c | 6 +-
13858 net/atm/resources.c | 4 +-
13859 net/ax25/sysctl_net_ax25.c | 2 +-
13860 net/batman-adv/bat_iv_ogm.c | 8 +-
13861 net/batman-adv/fragmentation.c | 2 +-
13862 net/batman-adv/soft-interface.c | 8 +-
13863 net/batman-adv/types.h | 6 +-
13864 net/bluetooth/hci_sock.c | 2 +-
13865 net/bluetooth/l2cap_core.c | 6 +-
13866 net/bluetooth/l2cap_sock.c | 12 +-
13867 net/bluetooth/rfcomm/sock.c | 4 +-
13868 net/bluetooth/rfcomm/tty.c | 4 +-
13869 net/bridge/br_netlink.c | 2 +-
13870 net/bridge/netfilter/ebtables.c | 6 +-
13871 net/caif/cfctrl.c | 11 +-
13872 net/caif/chnl_net.c | 2 +-
13873 net/can/af_can.c | 2 +-
13874 net/can/gw.c | 6 +-
13875 net/ceph/messenger.c | 4 +-
13876 net/compat.c | 24 +-
13877 net/core/datagram.c | 2 +-
13878 net/core/dev.c | 16 +-
13879 net/core/filter.c | 2 +-
13880 net/core/flow.c | 6 +-
13881 net/core/neighbour.c | 4 +-
13882 net/core/net-sysfs.c | 2 +-
13883 net/core/net_namespace.c | 8 +-
13884 net/core/netpoll.c | 4 +-
13885 net/core/rtnetlink.c | 15 +-
13886 net/core/scm.c | 14 +-
13887 net/core/skbuff.c | 8 +-
13888 net/core/sock.c | 28 +-
13889 net/core/sock_diag.c | 15 +-
13890 net/core/sysctl_net_core.c | 22 +-
13891 net/decnet/af_decnet.c | 1 +
13892 net/decnet/sysctl_net_decnet.c | 4 +-
13893 net/dsa/dsa.c | 2 +-
13894 net/hsr/hsr_netlink.c | 2 +-
13895 net/ieee802154/6lowpan/core.c | 2 +-
13896 net/ieee802154/6lowpan/reassembly.c | 14 +-
13897 net/ipv4/af_inet.c | 2 +-
13898 net/ipv4/devinet.c | 18 +-
13899 net/ipv4/fib_frontend.c | 6 +-
13900 net/ipv4/fib_semantics.c | 2 +-
13901 net/ipv4/inet_connection_sock.c | 4 +-
13902 net/ipv4/inet_timewait_sock.c | 2 +-
13903 net/ipv4/inetpeer.c | 2 +-
13904 net/ipv4/ip_fragment.c | 15 +-
13905 net/ipv4/ip_gre.c | 6 +-
13906 net/ipv4/ip_sockglue.c | 2 +-
13907 net/ipv4/ip_vti.c | 4 +-
13908 net/ipv4/ipconfig.c | 6 +-
13909 net/ipv4/ipip.c | 4 +-
13910 net/ipv4/netfilter/arp_tables.c | 12 +-
13911 net/ipv4/netfilter/ip_tables.c | 12 +-
13912 net/ipv4/ping.c | 14 +-
13913 net/ipv4/raw.c | 14 +-
13914 net/ipv4/route.c | 32 +-
13915 net/ipv4/sysctl_net_ipv4.c | 22 +-
13916 net/ipv4/tcp_input.c | 6 +-
13917 net/ipv4/tcp_probe.c | 2 +-
13918 net/ipv4/udp.c | 10 +-
13919 net/ipv4/xfrm4_policy.c | 18 +-
13920 net/ipv6/addrconf.c | 18 +-
13921 net/ipv6/af_inet6.c | 2 +-
13922 net/ipv6/datagram.c | 2 +-
13923 net/ipv6/icmp.c | 2 +-
13924 net/ipv6/ip6_fib.c | 4 +-
13925 net/ipv6/ip6_gre.c | 10 +-
13926 net/ipv6/ip6_tunnel.c | 4 +-
13927 net/ipv6/ip6_vti.c | 4 +-
13928 net/ipv6/ipv6_sockglue.c | 2 +-
13929 net/ipv6/netfilter/ip6_tables.c | 12 +-
13930 net/ipv6/netfilter/nf_conntrack_reasm.c | 14 +-
13931 net/ipv6/ping.c | 33 +-
13932 net/ipv6/raw.c | 17 +-
13933 net/ipv6/reassembly.c | 13 +-
13934 net/ipv6/route.c | 2 +-
13935 net/ipv6/sit.c | 4 +-
13936 net/ipv6/sysctl_net_ipv6.c | 2 +-
13937 net/ipv6/udp.c | 6 +-
13938 net/ipv6/xfrm6_policy.c | 17 +-
13939 net/irda/ircomm/ircomm_tty.c | 18 +-
13940 net/iucv/af_iucv.c | 4 +-
13941 net/iucv/iucv.c | 2 +-
13942 net/key/af_key.c | 4 +-
13943 net/l2tp/l2tp_eth.c | 38 +-
13944 net/l2tp/l2tp_ip.c | 2 +-
13945 net/l2tp/l2tp_ip6.c | 2 +-
13946 net/mac80211/cfg.c | 8 +-
13947 net/mac80211/ieee80211_i.h | 3 +-
13948 net/mac80211/iface.c | 20 +-
13949 net/mac80211/main.c | 2 +-
13950 net/mac80211/pm.c | 4 +-
13951 net/mac80211/rate.c | 2 +-
13952 net/mac80211/sta_info.c | 2 +-
13953 net/mac80211/util.c | 8 +-
13954 net/mpls/af_mpls.c | 6 +-
13955 net/netfilter/ipset/ip_set_core.c | 2 +-
13956 net/netfilter/ipvs/ip_vs_conn.c | 6 +-
13957 net/netfilter/ipvs/ip_vs_core.c | 4 +-
13958 net/netfilter/ipvs/ip_vs_ctl.c | 14 +-
13959 net/netfilter/ipvs/ip_vs_lblc.c | 2 +-
13960 net/netfilter/ipvs/ip_vs_lblcr.c | 2 +-
13961 net/netfilter/ipvs/ip_vs_sync.c | 6 +-
13962 net/netfilter/ipvs/ip_vs_xmit.c | 4 +-
13963 net/netfilter/nf_conntrack_acct.c | 2 +-
13964 net/netfilter/nf_conntrack_ecache.c | 2 +-
13965 net/netfilter/nf_conntrack_helper.c | 2 +-
13966 net/netfilter/nf_conntrack_proto.c | 2 +-
13967 net/netfilter/nf_conntrack_standalone.c | 2 +-
13968 net/netfilter/nf_conntrack_timestamp.c | 2 +-
13969 net/netfilter/nf_log.c | 10 +-
13970 net/netfilter/nf_sockopt.c | 4 +-
13971 net/netfilter/nfnetlink_log.c | 4 +-
13972 net/netfilter/nft_compat.c | 9 +-
13973 net/netfilter/xt_statistic.c | 8 +-
13974 net/netlink/af_netlink.c | 4 +-
13975 net/openvswitch/vport-internal_dev.c | 2 +-
13976 net/packet/af_packet.c | 8 +-
13977 net/phonet/pep.c | 6 +-
13978 net/phonet/socket.c | 2 +-
13979 net/phonet/sysctl.c | 2 +-
13980 net/rds/cong.c | 6 +-
13981 net/rds/ib.h | 2 +-
13982 net/rds/ib_cm.c | 2 +-
13983 net/rds/ib_recv.c | 4 +-
13984 net/rds/iw.h | 2 +-
13985 net/rds/iw_cm.c | 2 +-
13986 net/rds/iw_recv.c | 4 +-
13987 net/rds/rds.h | 2 +-
13988 net/rds/tcp.c | 2 +-
13989 net/rds/tcp_send.c | 2 +-
13990 net/rxrpc/af_rxrpc.c | 2 +-
13991 net/rxrpc/ar-ack.c | 14 +-
13992 net/rxrpc/ar-call.c | 2 +-
13993 net/rxrpc/ar-connection.c | 2 +-
13994 net/rxrpc/ar-connevent.c | 2 +-
13995 net/rxrpc/ar-input.c | 4 +-
13996 net/rxrpc/ar-internal.h | 8 +-
13997 net/rxrpc/ar-local.c | 2 +-
13998 net/rxrpc/ar-output.c | 4 +-
13999 net/rxrpc/ar-peer.c | 2 +-
14000 net/rxrpc/ar-proc.c | 4 +-
14001 net/rxrpc/ar-transport.c | 2 +-
14002 net/rxrpc/rxkad.c | 4 +-
14003 net/sched/sch_generic.c | 4 +-
14004 net/sctp/ipv6.c | 6 +-
14005 net/sctp/protocol.c | 10 +-
14006 net/sctp/sm_sideeffect.c | 2 +-
14007 net/sctp/socket.c | 21 +-
14008 net/sctp/sysctl.c | 10 +-
14009 net/socket.c | 18 +-
14010 net/sunrpc/auth_gss/svcauth_gss.c | 4 +-
14011 net/sunrpc/clnt.c | 4 +-
14012 net/sunrpc/sched.c | 4 +-
14013 net/sunrpc/svc.c | 4 +-
14014 net/sunrpc/svcauth_unix.c | 2 +-
14015 net/sunrpc/xprtrdma/svc_rdma.c | 38 +-
14016 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 8 +-
14017 net/sunrpc/xprtrdma/svc_rdma_sendto.c | 2 +-
14018 net/sunrpc/xprtrdma/svc_rdma_transport.c | 10 +-
14019 net/tipc/netlink_compat.c | 12 +-
14020 net/tipc/subscr.c | 2 +-
14021 net/unix/af_unix.c | 7 +-
14022 net/unix/sysctl_net_unix.c | 2 +-
14023 net/wireless/wext-core.c | 19 +-
14024 net/xfrm/xfrm_policy.c | 16 +-
14025 net/xfrm/xfrm_state.c | 33 +-
14026 net/xfrm/xfrm_sysctl.c | 2 +-
14027 scripts/Kbuild.include | 2 +-
14028 scripts/Makefile.build | 2 +-
14029 scripts/Makefile.clean | 3 +-
14030 scripts/Makefile.host | 69 +-
14031 scripts/basic/fixdep.c | 12 +-
14032 scripts/dtc/checks.c | 14 +-
14033 scripts/dtc/data.c | 6 +-
14034 scripts/dtc/flattree.c | 8 +-
14035 scripts/dtc/livetree.c | 4 +-
14036 scripts/gcc-plugin.sh | 51 +
14037 scripts/headers_install.sh | 1 +
14038 scripts/kallsyms.c | 4 +-
14039 scripts/kconfig/lkc.h | 5 +-
14040 scripts/kconfig/menu.c | 2 +-
14041 scripts/kconfig/symbol.c | 6 +-
14042 scripts/link-vmlinux.sh | 2 +-
14043 scripts/mod/file2alias.c | 14 +-
14044 scripts/mod/modpost.c | 25 +-
14045 scripts/mod/modpost.h | 6 +-
14046 scripts/mod/sumversion.c | 2 +-
14047 scripts/module-common.lds | 4 +
14048 scripts/package/builddeb | 1 +
14049 scripts/pnmtologo.c | 6 +-
14050 scripts/sortextable.h | 6 +-
14051 scripts/tags.sh | 2 +-
14052 security/Kconfig | 692 +-
14053 security/integrity/ima/ima.h | 4 +-
14054 security/integrity/ima/ima_api.c | 2 +-
14055 security/integrity/ima/ima_fs.c | 4 +-
14056 security/integrity/ima/ima_queue.c | 2 +-
14057 security/keys/key.c | 18 +-
14058 security/selinux/avc.c | 6 +-
14059 security/selinux/include/xfrm.h | 2 +-
14060 security/yama/yama_lsm.c | 2 +-
14061 sound/aoa/codecs/onyx.c | 7 +-
14062 sound/aoa/codecs/onyx.h | 1 +
14063 sound/core/oss/pcm_oss.c | 18 +-
14064 sound/core/pcm_compat.c | 2 +-
14065 sound/core/pcm_native.c | 4 +-
14066 sound/core/sound.c | 2 +-
14067 sound/drivers/mts64.c | 14 +-
14068 sound/drivers/opl4/opl4_lib.c | 2 +-
14069 sound/drivers/portman2x4.c | 3 +-
14070 sound/firewire/amdtp.c | 4 +-
14071 sound/firewire/amdtp.h | 4 +-
14072 sound/firewire/isight.c | 10 +-
14073 sound/firewire/scs1x.c | 8 +-
14074 sound/oss/sb_audio.c | 2 +-
14075 sound/oss/swarm_cs4297a.c | 6 +-
14076 sound/pci/hda/hda_codec.c | 2 +-
14077 sound/pci/ymfpci/ymfpci.h | 2 +-
14078 sound/pci/ymfpci/ymfpci_main.c | 12 +-
14079 sound/soc/codecs/sti-sas.c | 10 +-
14080 sound/soc/soc-ac97.c | 6 +-
14081 sound/soc/xtensa/xtfpga-i2s.c | 2 +-
14082 tools/gcc/Makefile | 42 +
14083 tools/gcc/checker_plugin.c | 150 +
14084 tools/gcc/colorize_plugin.c | 215 +
14085 tools/gcc/constify_plugin.c | 571 +
14086 tools/gcc/gcc-common.h | 812 +
14087 tools/gcc/initify_plugin.c | 552 +
14088 tools/gcc/kallocstat_plugin.c | 188 +
14089 tools/gcc/kernexec_plugin.c | 549 +
14090 tools/gcc/latent_entropy_plugin.c | 470 +
14091 tools/gcc/size_overflow_plugin/.gitignore | 2 +
14092 tools/gcc/size_overflow_plugin/Makefile | 28 +
14093 .../disable_size_overflow_hash.data |12422 ++++++++++++
14094 .../generate_size_overflow_hash.sh | 103 +
14095 .../insert_size_overflow_asm.c | 416 +
14096 .../size_overflow_plugin/intentional_overflow.c | 1010 +
14097 .../size_overflow_plugin/remove_unnecessary_dup.c | 137 +
14098 tools/gcc/size_overflow_plugin/size_overflow.h | 323 +
14099 .../gcc/size_overflow_plugin/size_overflow_debug.c | 194 +
14100 .../size_overflow_plugin/size_overflow_hash.data |20735 ++++++++++++++++++++
14101 .../size_overflow_hash_aux.data | 92 +
14102 tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 1226 ++
14103 .../gcc/size_overflow_plugin/size_overflow_misc.c | 505 +
14104 .../size_overflow_plugin/size_overflow_plugin.c | 318 +
14105 .../size_overflow_plugin_hash.c | 352 +
14106 .../size_overflow_plugin/size_overflow_transform.c | 749 +
14107 .../size_overflow_transform_core.c | 1010 +
14108 tools/gcc/stackleak_plugin.c | 436 +
14109 tools/gcc/structleak_plugin.c | 287 +
14110 tools/include/linux/compiler.h | 8 +
14111 tools/lib/api/Makefile | 2 +-
14112 tools/perf/util/include/asm/alternative-asm.h | 3 +
14113 tools/virtio/linux/uaccess.h | 2 +-
14114 virt/kvm/kvm_main.c | 42 +-
14115 1944 files changed, 66925 insertions(+), 8949 deletions(-)
14116 commit 87790bbd0d8dc2bd7fd86cb947e32886db9e9766
14117 Author: Matthew Wilcox <willy@linux.intel.com>
14118 Date: Tue Feb 2 16:57:52 2016 -0800
14119
14120 radix-tree: fix race in gang lookup
14121
14122 If the indirect_ptr bit is set on a slot, that indicates we need to redo
14123 the lookup. Introduce a new function radix_tree_iter_retry() which
14124 forces the loop to retry the lookup by setting 'slot' to NULL and
14125 turning the iterator back to point at the problematic entry.
14126
14127 This is a pretty rare problem to hit at the moment; the lookup has to
14128 race with a grow of the radix tree from a height of 0. The consequences
14129 of hitting this race are that gang lookup could return a pointer to a
14130 radix_tree_node instead of a pointer to whatever the user had inserted
14131 in the tree.
14132
14133 Fixes: cebbd29e1c2f ("radix-tree: rewrite gang lookup using iterator")
14134 Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
14135 Cc: Hugh Dickins <hughd@google.com>
14136 Cc: Ohad Ben-Cohen <ohad@wizery.com>
14137 Cc: Konstantin Khlebnikov <khlebnikov@openvz.org>
14138 Cc: <stable@vger.kernel.org>
14139 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
14140 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
14141
14142 include/linux/radix-tree.h | 16 ++++++++++++++++
14143 lib/radix-tree.c | 12 ++++++++++--
14144 2 files changed, 26 insertions(+), 2 deletions(-)
14145
14146 commit bf628043b4589c910919a0f221ae7f42aa8cea93
14147 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
14148 Date: Wed Feb 3 02:11:03 2016 +0100
14149
14150 unix: correctly track in-flight fds in sending process user_struct
14151
14152 The commit referenced in the Fixes tag incorrectly accounted the number
14153 of in-flight fds over a unix domain socket to the original opener
14154 of the file-descriptor. This allows another process to arbitrary
14155 deplete the original file-openers resource limit for the maximum of
14156 open files. Instead the sending processes and its struct cred should
14157 be credited.
14158
14159 To do so, we add a reference counted struct user_struct pointer to the
14160 scm_fp_list and use it to account for the number of inflight unix fds.
14161
14162 Fixes: 712f4aad406bb1 ("unix: properly account for FDs passed over unix sockets")
14163 Reported-by: David Herrmann <dh.herrmann@gmail.com>
14164 Cc: David Herrmann <dh.herrmann@gmail.com>
14165 Cc: Willy Tarreau <w@1wt.eu>
14166 Cc: Linus Torvalds <torvalds@linux-foundation.org>
14167 Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
14168 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
14169 Signed-off-by: David S. Miller <davem@davemloft.net>
14170
14171 include/net/af_unix.h | 4 ++--
14172 include/net/scm.h | 1 +
14173 net/core/scm.c | 7 +++++++
14174 net/unix/af_unix.c | 4 ++--
14175 net/unix/garbage.c | 8 ++++----
14176 5 files changed, 16 insertions(+), 8 deletions(-)
14177
14178 commit e830db443ff78d70b7b63536e688d73907face0c
14179 Author: Mike Kravetz <mike.kravetz@oracle.com>
14180 Date: Fri Jan 15 16:57:37 2016 -0800
14181
14182 fs/hugetlbfs/inode.c: fix bugs in hugetlb_vmtruncate_list()
14183
14184 Hillf Danton noticed bugs in the hugetlb_vmtruncate_list routine. The
14185 argument end is of type pgoff_t. It was being converted to a vaddr
14186 offset and passed to unmap_hugepage_range. However, end was also being
14187 used as an argument to the vma_interval_tree_foreach controlling loop.
14188 In addition, the conversion of end to vaddr offset was incorrect.
14189
14190 hugetlb_vmtruncate_list is called as part of a file truncate or
14191 fallocate hole punch operation.
14192
14193 When truncating a hugetlbfs file, this bug could prevent some pages from
14194 being unmapped. This is possible if there are multiple vmas mapping the
14195 file, and there is a sufficiently sized hole between the mappings. The
14196 size of the hole between two vmas (A,B) must be such that the starting
14197 virtual address of B is greater than (ending virtual address of A <<
14198 PAGE_SHIFT). In this case, the pages in B would not be unmapped. If
14199 pages are not properly unmapped during truncate, the following BUG is
14200 hit:
14201
14202 kernel BUG at fs/hugetlbfs/inode.c:428!
14203
14204 In the fallocate hole punch case, this bug could prevent pages from
14205 being unmapped as in the truncate case. However, for hole punch the
14206 result is that unmapped pages will not be removed during the operation.
14207 For hole punch, it is also possible that more pages than desired will be
14208 unmapped. This unnecessary unmapping will cause page faults to
14209 reestablish the mappings on subsequent page access.
14210
14211 Fixes: 1bfad99ab (" hugetlbfs: hugetlb_vmtruncate_list() needs to take a range")Reported-by: Hillf Danton <hillf.zj@alibaba-inc.com>
14212 Signed-off-by: Mike Kravetz <mike.kravetz@oracle.com>
14213 Cc: Hugh Dickins <hughd@google.com>
14214 Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
14215 Cc: Davidlohr Bueso <dave@stgolabs.net>
14216 Cc: Dave Hansen <dave.hansen@linux.intel.com>
14217 Cc: <stable@vger.kernel.org> [4.3]
14218 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
14219 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
14220
14221 fs/hugetlbfs/inode.c | 19 +++++++++++--------
14222 1 files changed, 11 insertions(+), 8 deletions(-)
14223
14224 commit cdb3ba4a9113b779347387f3b6c6ea72dd4db12f
14225 Author: Takashi Iwai <tiwai@suse.de>
14226 Date: Thu Feb 4 17:06:13 2016 +0100
14227
14228 ALSA: timer: Fix leftover link at closing
14229
14230 In ALSA timer core, the active timer instance is managed in
14231 active_list linked list. Each element is added / removed dynamically
14232 at timer start, stop and in timer interrupt. The problem is that
14233 snd_timer_interrupt() has a thinko and leaves the element in
14234 active_list when it's the last opened element. This eventually leads
14235 to list corruption or use-after-free error.
14236
14237 This hasn't been revealed because we used to delete the list forcibly
14238 in snd_timer_stop() in the past. However, the recent fix avoids the
14239 double-stop behavior (in commit [f784beb75ce8: ALSA: timer: Fix link
14240 corruption due to double start or stop]), and this leak hits reality.
14241
14242 This patch fixes the link management in snd_timer_interrupt(). Now it
14243 simply unlinks no matter which stream is.
14244
14245 BugLink: http://lkml.kernel.org/r/CACT4Y+Yy2aukHP-EDp8-ziNqNNmb-NTf=jDWXMP7jB8HDa2vng@mail.gmail.com
14246 Reported-by: Dmitry Vyukov <dvyukov@google.com>
14247 Cc: <stable@vger.kernel.org>
14248 Signed-off-by: Takashi Iwai <tiwai@suse.de>
14249
14250 sound/core/timer.c | 4 ++--
14251 1 files changed, 2 insertions(+), 2 deletions(-)
14252
14253 commit 47d9647902f6a2f46a2be1e0140ba0f6f8c06008
14254 Author: Konstantin Khlebnikov <koct9i@gmail.com>
14255 Date: Fri Feb 5 15:37:01 2016 -0800
14256
14257 radix-tree: fix oops after radix_tree_iter_retry
14258
14259 Helper radix_tree_iter_retry() resets next_index to the current index.
14260 In following radix_tree_next_slot current chunk size becomes zero. This
14261 isn't checked and it tries to dereference null pointer in slot.
14262
14263 Tagged iterator is fine because retry happens only at slot 0 where tag
14264 bitmask in iter->tags is filled with single bit.
14265
14266 Fixes: 46437f9a554f ("radix-tree: fix race in gang lookup")
14267 Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com>
14268 Cc: Matthew Wilcox <willy@linux.intel.com>
14269 Cc: Hugh Dickins <hughd@google.com>
14270 Cc: Ohad Ben-Cohen <ohad@wizery.com>
14271 Cc: Jeremiah Mahler <jmmahler@gmail.com>
14272 Cc: <stable@vger.kernel.org>
14273 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
14274 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
14275
14276 include/linux/radix-tree.h | 6 +++---
14277 1 files changed, 3 insertions(+), 3 deletions(-)
14278
14279 commit 95b5dcb3c01958502af00b0bc0da1d906aae11a2
14280 Merge: 438be0b 256aeaf
14281 Author: Brad Spengler <spender@grsecurity.net>
14282 Date: Sun Feb 7 08:29:33 2016 -0500
14283
14284 Merge branch 'pax-test' into grsec-test
14285
14286 commit 256aeaf87c22de8edf1f03682a572c590ae07771
14287 Author: Brad Spengler <spender@grsecurity.net>
14288 Date: Sun Feb 7 08:29:09 2016 -0500
14289
14290 Update to pax-linux-4.3.5-test28.patch:
14291 - fixed an integer truncation bug in numa_clear_kernel_node_hotplug caught by the size overflow plugin, reported by x14sg1 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4374)
14292 - spender fixed UDEREF on arm
14293
14294 arch/arm/Kconfig | 1 +
14295 arch/arm/include/asm/domain.h | 21 ++++++++-
14296 arch/arm/include/asm/futex.h | 9 ----
14297 arch/arm/include/asm/thread_info.h | 3 +
14298 arch/arm/include/asm/uaccess.h | 81 +++++++++++++++---------------------
14299 arch/arm/kernel/entry-armv.S | 2 +-
14300 arch/arm/kernel/process.c | 2 +-
14301 arch/arm/mm/alignment.c | 8 ----
14302 arch/x86/mm/numa.c | 2 +-
14303 security/Kconfig | 1 -
14304 10 files changed, 60 insertions(+), 70 deletions(-)
14305
14306 commit 438be0bd112bd17942b2628c53054dc1007558a1
14307 Author: Brad Spengler <spender@grsecurity.net>
14308 Date: Sat Feb 6 19:50:31 2016 -0500
14309
14310 Fix a number of issues caused by the upstream merging of a UDEREF ripoff resulting in unbootable
14311 ARM systems reported on the forums
14312
14313 arch/arm/Kconfig | 1 +
14314 arch/arm/include/asm/domain.h | 21 ++++++++-
14315 arch/arm/include/asm/futex.h | 9 ----
14316 arch/arm/include/asm/thread_info.h | 3 +
14317 arch/arm/include/asm/uaccess.h | 81 +++++++++++++++---------------------
14318 arch/arm/kernel/entry-armv.S | 2 +-
14319 arch/arm/kernel/process.c | 2 +-
14320 arch/arm/mm/alignment.c | 8 ----
14321 security/Kconfig | 1 -
14322 9 files changed, 59 insertions(+), 69 deletions(-)
14323
14324 commit 4ffdd5ef1f87e611af1efb4f251ada92abe9f4c0
14325 Author: Brad Spengler <spender@grsecurity.net>
14326 Date: Sat Feb 6 11:21:53 2016 -0500
14327
14328 Fix another compiler warning
14329
14330 net/ipv4/tcp_input.c | 2 ++
14331 1 files changed, 2 insertions(+), 0 deletions(-)
14332
14333 commit 30b5b7bc0fd67d458bdd5ab35e4689769eabd2ed
14334 Author: Brad Spengler <spender@grsecurity.net>
14335 Date: Sat Feb 6 11:16:12 2016 -0500
14336
14337 Fix two compiler warnings
14338
14339 kernel/pid.c | 5 ++---
14340 kernel/ptrace.c | 3 ++-
14341 2 files changed, 4 insertions(+), 4 deletions(-)
14342
14343 commit dda4d2a21914c480750f10bd55c6e3203d415d8d
14344 Author: Brad Spengler <spender@grsecurity.net>
14345 Date: Wed Feb 3 21:22:40 2016 -0500
14346
14347 Apply fix for integer truncation in NUMA init code, reported by
14348 x14sg1 on the forums:
14349 https://forums.grsecurity.net/viewtopic.php?f=3&t=4374
14350
14351 arch/x86/mm/numa.c | 2 +-
14352 1 files changed, 1 insertions(+), 1 deletions(-)
14353
14354 commit 477505f7c893cb6a2c3e22f83eefd9c985d7b3ca
14355 Merge: a781740 016d0d8
14356 Author: Brad Spengler <spender@grsecurity.net>
14357 Date: Wed Feb 3 21:20:58 2016 -0500
14358
14359 Merge branch 'pax-test' into grsec-test
14360
14361 commit 016d0d81a8dd4be1304c82a68e0ccf425868f467
14362 Author: Brad Spengler <spender@grsecurity.net>
14363 Date: Wed Feb 3 21:20:10 2016 -0500
14364
14365 Update to pax-linux-4.3.5-test27.patch:
14366 - fixed a bunch of potential REFCOUNT false positives, reported by Emese
14367 - restored padding in fpregs_state for storing AVX-512 state in the future
14368 - constified netlink_dump_control
14369 - added const version of debug_gimple_stmt for gcc plugins, by Emese
14370 - Emese fixed a bug in initify that could have initified too much
14371 - Emese fixed a false positive intentional integer overflow in xfrm4_extract_header, reported by corsac
14372
14373 arch/x86/include/asm/fpu/types.h | 1 +
14374 arch/x86/include/asm/mmu_context.h | 2 +-
14375 block/blk-cgroup.c | 18 ++--
14376 block/cfq-iosched.c | 4 +-
14377 crypto/crypto_user.c | 8 ++-
14378 drivers/acpi/apei/ghes.c | 6 +-
14379 drivers/char/ipmi/ipmi_ssif.c | 12 ++--
14380 drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 2 +-
14381 drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | 2 +-
14382 drivers/gpu/drm/amd/scheduler/sched_fence.c | 2 +-
14383 drivers/infiniband/core/netlink.c | 5 +-
14384 drivers/infiniband/hw/cxgb4/device.c | 6 +-
14385 drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 2 +-
14386 drivers/md/bcache/alloc.c | 2 +-
14387 drivers/md/bcache/bcache.h | 10 +-
14388 drivers/md/bcache/btree.c | 2 +-
14389 drivers/md/bcache/io.c | 10 +-
14390 drivers/md/bcache/journal.c | 2 +-
14391 drivers/md/bcache/stats.c | 26 +++---
14392 drivers/md/bcache/stats.h | 16 ++--
14393 drivers/md/bcache/super.c | 2 +-
14394 drivers/md/bcache/sysfs.c | 20 +++---
14395 drivers/md/dm-cache-target.c | 98 ++++++++++++------------
14396 drivers/md/dm-raid.c | 2 +-
14397 drivers/md/md.c | 6 +-
14398 drivers/md/md.h | 2 +-
14399 drivers/md/raid1.c | 2 +-
14400 drivers/md/raid10.c | 2 +-
14401 drivers/md/raid5.c | 4 +-
14402 drivers/media/pci/zoran/zoran.h | 1 -
14403 drivers/media/pci/zoran/zoran_driver.c | 3 -
14404 drivers/net/ethernet/sfc/selftest.c | 20 +++---
14405 drivers/net/irda/vlsi_ir.c | 18 ++--
14406 drivers/net/irda/vlsi_ir.h | 14 ++--
14407 drivers/net/wireless/ath/carl9170/carl9170.h | 6 +-
14408 drivers/net/wireless/ath/carl9170/debug.c | 6 +-
14409 drivers/net/wireless/ath/carl9170/main.c | 10 +-
14410 drivers/net/wireless/ath/carl9170/tx.c | 4 +-
14411 drivers/net/wireless/iwlwifi/mvm/d3.c | 4 +-
14412 drivers/net/wireless/iwlwifi/mvm/tx.c | 2 +-
14413 drivers/scsi/hptiop.c | 2 -
14414 drivers/scsi/hptiop.h | 1 -
14415 drivers/scsi/ipr.c | 6 +-
14416 drivers/scsi/ipr.h | 2 +-
14417 drivers/scsi/qla2xxx/qla_target.c | 10 +-
14418 drivers/scsi/qla2xxx/qla_target.h | 2 +-
14419 fs/btrfs/ctree.c | 2 +-
14420 fs/btrfs/ctree.h | 4 +-
14421 fs/btrfs/delayed-ref.c | 4 +-
14422 fs/btrfs/disk-io.c | 4 +-
14423 fs/btrfs/file.c | 4 +-
14424 fs/btrfs/raid56.c | 32 ++++----
14425 fs/btrfs/tests/btrfs-tests.c | 2 +-
14426 fs/btrfs/transaction.c | 2 +-
14427 fs/btrfs/tree-log.c | 8 +-
14428 fs/btrfs/volumes.c | 14 ++--
14429 fs/btrfs/volumes.h | 22 +++---
14430 fs/jbd2/commit.c | 2 +-
14431 fs/jbd2/transaction.c | 4 +-
14432 fs/ocfs2/dlm/dlmcommon.h | 4 +-
14433 fs/ocfs2/dlm/dlmdebug.c | 10 +-
14434 fs/ocfs2/dlm/dlmdomain.c | 4 +-
14435 fs/ocfs2/dlm/dlmmaster.c | 4 +-
14436 include/acpi/ghes.h | 2 +-
14437 include/linux/blk-cgroup.h | 24 +++---
14438 include/linux/jbd2.h | 2 +-
14439 include/linux/netlink.h | 12 ++--
14440 include/net/cfg802154.h | 2 +-
14441 include/net/mac80211.h | 2 +-
14442 include/net/neighbour.h | 2 +-
14443 kernel/rcu/tree_plugin.h | 4 +-
14444 net/batman-adv/routing.c | 4 +-
14445 net/batman-adv/soft-interface.c | 2 +-
14446 net/batman-adv/translation-table.c | 14 ++--
14447 net/batman-adv/types.h | 2 +-
14448 net/core/neighbour.c | 14 ++--
14449 net/core/rtnetlink.c | 2 +-
14450 net/ipv4/arp.c | 2 +-
14451 net/ipv4/inet_diag.c | 4 +-
14452 net/ipv4/xfrm4_state.c | 4 +-
14453 net/ipv6/ndisc.c | 2 +-
14454 net/mac80211/cfg.c | 2 +-
14455 net/mac80211/debugfs_key.c | 2 +-
14456 net/mac80211/key.c | 4 +-
14457 net/mac80211/tx.c | 2 +-
14458 net/mac80211/wpa.c | 10 +-
14459 net/mac802154/iface.c | 4 +-
14460 net/netfilter/ipset/ip_set_core.c | 2 +-
14461 net/netfilter/nf_conntrack_netlink.c | 22 +++---
14462 net/netfilter/nf_tables_api.c | 13 ++--
14463 net/netfilter/nfnetlink_acct.c | 7 +-
14464 net/netfilter/nfnetlink_cthelper.c | 2 +-
14465 net/netfilter/nfnetlink_cttimeout.c | 2 +-
14466 net/netlink/af_netlink.c | 10 ++-
14467 net/netlink/diag.c | 2 +-
14468 net/netlink/genetlink.c | 14 ++--
14469 net/packet/af_packet.c | 18 ++--
14470 net/packet/diag.c | 2 +-
14471 net/packet/internal.h | 6 +-
14472 net/unix/diag.c | 2 +-
14473 net/xfrm/xfrm_user.c | 2 +-
14474 security/apparmor/include/policy.h | 2 +-
14475 security/apparmor/policy.c | 4 +-
14476 sound/core/seq/seq_clientmgr.c | 2 +-
14477 sound/core/seq/seq_fifo.c | 6 +-
14478 sound/core/seq/seq_fifo.h | 2 +-
14479 tools/gcc/gcc-common.h | 24 ++++--
14480 tools/gcc/initify_plugin.c | 7 +-
14481 tools/lib/api/Makefile | 2 +-
14482 109 files changed, 399 insertions(+), 391 deletions(-)
14483
14484 commit a7817402ac837b1aee07fac42537a02097055098
14485 Author: Matt Fleming <matt@codeblueprint.co.uk>
14486 Date: Fri Jan 29 11:36:10 2016 +0000
14487
14488 x86/mm/pat: Avoid truncation when converting cpa->numpages to address
14489
14490 There are a couple of nasty truncation bugs lurking in the pageattr
14491 code that can be triggered when mapping EFI regions, e.g. when we pass
14492 a cpa->pgd pointer. Because cpa->numpages is a 32-bit value, shifting
14493 left by PAGE_SHIFT will truncate the resultant address to 32-bits.
14494
14495 Viorel-Cătălin managed to trigger this bug on his Dell machine that
14496 provides a ~5GB EFI region which requires 1236992 pages to be mapped.
14497 When calling populate_pud() the end of the region gets calculated
14498 incorrectly in the following buggy expression,
14499
14500 end = start + (cpa->numpages << PAGE_SHIFT);
14501
14502 And only 188416 pages are mapped. Next, populate_pud() gets invoked
14503 for a second time because of the loop in __change_page_attr_set_clr(),
14504 only this time no pages get mapped because shifting the remaining
14505 number of pages (1048576) by PAGE_SHIFT is zero. At which point the
14506 loop in __change_page_attr_set_clr() spins forever because we fail to
14507 map progress.
14508
14509 Hitting this bug depends very much on the virtual address we pick to
14510 map the large region at and how many pages we map on the initial run
14511 through the loop. This explains why this issue was only recently hit
14512 with the introduction of commit
14513
14514 a5caa209ba9c ("x86/efi: Fix boot crash by mapping EFI memmap
14515 entries bottom-up at runtime, instead of top-down")
14516
14517 It's interesting to note that safe uses of cpa->numpages do exist in
14518 the pageattr code. If instead of shifting ->numpages we multiply by
14519 PAGE_SIZE, no truncation occurs because PAGE_SIZE is a UL value, and
14520 so the result is unsigned long.
14521
14522 To avoid surprises when users try to convert very large cpa->numpages
14523 values to addresses, change the data type from 'int' to 'unsigned
14524 long', thereby making it suitable for shifting by PAGE_SHIFT without
14525 any type casting.
14526
14527 The alternative would be to make liberal use of casting, but that is
14528 far more likely to cause problems in the future when someone adds more
14529 code and fails to cast properly; this bug was difficult enough to
14530 track down in the first place.
14531
14532 Reported-and-tested-by: Viorel-Cătălin Răpițeanu <rapiteanu.catalin@gmail.com>
14533 Acked-by: Borislav Petkov <bp@alien8.de>
14534 Cc: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
14535 Cc: <stable@vger.kernel.org>
14536 Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
14537 Link: https://bugzilla.kernel.org/show_bug.cgi?id=110131
14538 Link: http://lkml.kernel.org/r/1454067370-10374-1-git-send-email-matt@codeblueprint.co.uk
14539 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
14540
14541 arch/x86/mm/pageattr.c | 4 ++--
14542 1 files changed, 2 insertions(+), 2 deletions(-)
14543
14544 commit 64dd9d7a67a742fda257cdd16510c29e695c34b5
14545 Author: Jan Beulich <JBeulich@suse.com>
14546 Date: Tue Jan 26 04:15:18 2016 -0700
14547
14548 x86/mm: Fix types used in pgprot cacheability flags translations
14549
14550 For PAE kernels "unsigned long" is not suitable to hold page protection
14551 flags, since _PAGE_NX doesn't fit there. This is the reason for quite a
14552 few W+X pages getting reported as insecure during boot (observed namely
14553 for the entire initrd range).
14554
14555 Fixes: 281d4078be ("x86: Make page cache mode a real type")
14556 Signed-off-by: Jan Beulich <jbeulich@suse.com>
14557 Reviewed-by: Juergen Gross <JGross@suse.com>
14558 Cc: stable@vger.kernel.org
14559 Link: http://lkml.kernel.org/r/56A7635602000078000CAFF1@prv-mh.provo.novell.com
14560 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
14561
14562 arch/x86/include/asm/pgtable_types.h | 6 ++----
14563 1 files changed, 2 insertions(+), 4 deletions(-)
14564
14565 commit bb9a3a9df0d8dfc96d521676e64c42b37ba22aea
14566 Merge: 682d661 f74425b
14567 Author: Brad Spengler <spender@grsecurity.net>
14568 Date: Sun Jan 31 15:06:25 2016 -0500
14569
14570 Merge branch 'pax-test' into grsec-test
14571
14572 Conflicts:
14573 drivers/net/slip/slhc.c
14574 include/linux/sched.h
14575 net/unix/af_unix.c
14576 sound/core/timer.c
14577
14578 commit f74425b5705bfe52aff9e97659ef10c4a14176c3
14579 Merge: d14af1f 849a2d3
14580 Author: Brad Spengler <spender@grsecurity.net>
14581 Date: Sun Jan 31 15:02:55 2016 -0500
14582
14583 Merge branch 'linux-4.3.y' into pax-test
14584
14585 Conflicts:
14586 arch/x86/include/asm/mmu_context.h
14587
14588 commit 682d6611d75542e351c973c8dd74a99d3966c073
14589 Author: Brad Spengler <spender@grsecurity.net>
14590 Date: Sat Jan 30 13:05:03 2016 -0500
14591
14592 Based on a report from Mathias Krause, fix up a number of additional instances
14593 of ulong overflow when passing in values to gr_learn_resource by saturating
14594 to ULONG_MAX
14595
14596 mm/mlock.c | 11 ++++++++---
14597 mm/mmap.c | 16 +++++++++++++---
14598 2 files changed, 21 insertions(+), 6 deletions(-)
14599
14600 commit adb52e95fb9ad4ac9c56cd5d47bd668f47c33096
14601 Author: Jann Horn <jann@thejh.net>
14602 Date: Sat Dec 26 06:00:48 2015 +0100
14603
14604 seccomp: always propagate NO_NEW_PRIVS on tsync
14605
14606 Before this patch, a process with some permissive seccomp filter
14607 that was applied by root without NO_NEW_PRIVS was able to add
14608 more filters to itself without setting NO_NEW_PRIVS by setting
14609 the new filter from a throwaway thread with NO_NEW_PRIVS.
14610
14611 Signed-off-by: Jann Horn <jann@thejh.net>
14612 Cc: stable@vger.kernel.org
14613 Signed-off-by: Kees Cook <keescook@chromium.org>
14614
14615 kernel/seccomp.c | 22 +++++++++++-----------
14616 1 files changed, 11 insertions(+), 11 deletions(-)
14617
14618 commit b85450498a3bbf269441c8963d7574bb3079c838
14619 Merge: 59c216f d14af1f
14620 Author: Brad Spengler <spender@grsecurity.net>
14621 Date: Fri Jan 29 20:54:13 2016 -0500
14622
14623 Merge branch 'pax-test' into grsec-test
14624
14625 commit d14af1f1dd66511f3f0674deee2b572972012b39
14626 Author: Brad Spengler <spender@grsecurity.net>
14627 Date: Fri Jan 29 20:53:51 2016 -0500
14628
14629 Update to pax-linux-4.3.4-test26.patch:
14630 - Emese fixed a few intentional overflows introduced by gcc, reported by StalkR (https://forums.grsecurity.net/viewtopic.php?f=3&t=4370)
14631
14632 fs/cifs/file.c | 2 +-
14633 fs/gfs2/file.c | 2 +-
14634 .../size_overflow_plugin/intentional_overflow.c | 96 ++++++++++++++++++--
14635 tools/gcc/size_overflow_plugin/size_overflow.h | 2 +
14636 .../size_overflow_plugin/size_overflow_plugin.c | 4 +-
14637 .../size_overflow_plugin/size_overflow_transform.c | 6 +-
14638 .../size_overflow_transform_core.c | 5 +
14639 7 files changed, 102 insertions(+), 15 deletions(-)
14640
14641 commit 59c216f13587eacdd692386b7a403ae78ed84fb6
14642 Author: Brad Spengler <spender@grsecurity.net>
14643 Date: Wed Jan 27 17:57:21 2016 -0500
14644
14645 Fix a size_overflow report reported by Mathias Krause in our
14646 truncation of an loff_t to an unsigned long when being passed
14647 to gr_learn_resource() (as all resource checks are against unsigned long
14648 values)
14649
14650 fs/attr.c | 5 ++++-
14651 1 files changed, 4 insertions(+), 1 deletions(-)
14652
14653 commit 70636c6ad60fc1db3af764ecc789b827b7497a97
14654 Author: Yuchung Cheng <ycheng@google.com>
14655 Date: Wed Jan 6 12:42:38 2016 -0800
14656
14657 tcp: fix zero cwnd in tcp_cwnd_reduction
14658
14659 Patch 3759824da87b ("tcp: PRR uses CRB mode by default and SS mode
14660 conditionally") introduced a bug that cwnd may become 0 when both
14661 inflight and sndcnt are 0 (cwnd = inflight + sndcnt). This may lead
14662 to a div-by-zero if the connection starts another cwnd reduction
14663 phase by setting tp->prior_cwnd to the current cwnd (0) in
14664 tcp_init_cwnd_reduction().
14665
14666 To prevent this we skip PRR operation when nothing is acked or
14667 sacked. Then cwnd must be positive in all cases as long as ssthresh
14668 is positive:
14669
14670 1) The proportional reduction mode
14671 inflight > ssthresh > 0
14672
14673 2) The reduction bound mode
14674 a) inflight == ssthresh > 0
14675
14676 b) inflight < ssthresh
14677 sndcnt > 0 since newly_acked_sacked > 0 and inflight < ssthresh
14678
14679 Therefore in all cases inflight and sndcnt can not both be 0.
14680 We check invalid tp->prior_cwnd to avoid potential div0 bugs.
14681
14682 In reality this bug is triggered only with a sequence of less common
14683 events. For example, the connection is terminating an ECN-triggered
14684 cwnd reduction with an inflight 0, then it receives reordered/old
14685 ACKs or DSACKs from prior transmission (which acks nothing). Or the
14686 connection is in fast recovery stage that marks everything lost,
14687 but fails to retransmit due to local issues, then receives data
14688 packets from other end which acks nothing.
14689
14690 Fixes: 3759824da87b ("tcp: PRR uses CRB mode by default and SS mode conditionally")
14691 Reported-by: Oleksandr Natalenko <oleksandr@natalenko.name>
14692 Signed-off-by: Yuchung Cheng <ycheng@google.com>
14693 Signed-off-by: Neal Cardwell <ncardwell@google.com>
14694 Signed-off-by: Eric Dumazet <edumazet@google.com>
14695 Signed-off-by: David S. Miller <davem@davemloft.net>
14696
14697 net/ipv4/tcp_input.c | 3 +++
14698 1 files changed, 3 insertions(+), 0 deletions(-)
14699
14700 commit dac1da2bedbb43195d371c7a192cfeeb45683df0
14701 Author: Eric Dumazet <edumazet@google.com>
14702 Date: Sun Jan 24 13:53:50 2016 -0800
14703
14704 af_unix: fix struct pid memory leak
14705
14706 Dmitry reported a struct pid leak detected by a syzkaller program.
14707
14708 Bug happens in unix_stream_recvmsg() when we break the loop when a
14709 signal is pending, without properly releasing scm.
14710
14711 Fixes: b3ca9b02b007 ("net: fix multithreaded signal handling in unix recv routines")
14712 Reported-by: Dmitry Vyukov <dvyukov@google.com>
14713 Signed-off-by: Eric Dumazet <edumazet@google.com>
14714 Cc: Rainer Weikusat <rweikusat@mobileactivedefense.com>
14715 Signed-off-by: David S. Miller <davem@davemloft.net>
14716
14717 net/unix/af_unix.c | 1 +
14718 1 files changed, 1 insertions(+), 0 deletions(-)
14719
14720 commit 15cc47f127520d1ac0c1fe76d993c2c27f0f2571
14721 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
14722 Date: Fri Jan 22 01:39:43 2016 +0100
14723
14724 pptp: fix illegal memory access caused by multiple bind()s
14725
14726 Several times already this has been reported as kasan reports caused by
14727 syzkaller and trinity and people always looked at RCU races, but it is
14728 much more simple. :)
14729
14730 In case we bind a pptp socket multiple times, we simply add it to
14731 the callid_sock list but don't remove the old binding. Thus the old
14732 socket stays in the bucket with unused call_id indexes and doesn't get
14733 cleaned up. This causes various forms of kasan reports which were hard
14734 to pinpoint.
14735
14736 Simply don't allow multiple binds and correct error handling in
14737 pptp_bind. Also keep sk_state bits in place in pptp_connect.
14738
14739 Fixes: 00959ade36acad ("PPTP: PPP over IPv4 (Point-to-Point Tunneling Protocol)")
14740 Cc: Dmitry Kozlov <xeb@mail.ru>
14741 Cc: Sasha Levin <sasha.levin@oracle.com>
14742 Cc: Dmitry Vyukov <dvyukov@google.com>
14743 Reported-by: Dmitry Vyukov <dvyukov@google.com>
14744 Cc: Dave Jones <davej@codemonkey.org.uk>
14745 Reported-by: Dave Jones <davej@codemonkey.org.uk>
14746 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
14747 Signed-off-by: David S. Miller <davem@davemloft.net>
14748
14749 drivers/net/ppp/pptp.c | 34 ++++++++++++++++++++++++----------
14750 1 files changed, 24 insertions(+), 10 deletions(-)
14751
14752 commit e2b7b8c66851c85188fa6dab2d2b2a6c85bc7332
14753 Author: Brad Spengler <spender@grsecurity.net>
14754 Date: Tue Jan 26 18:17:10 2016 -0500
14755
14756 Add info about cpupower/powertop to GRKERNSEC_KMEM, was present on our
14757 wiki but was removed from the config help at some point
14758
14759 grsecurity/Kconfig | 3 +++
14760 1 files changed, 3 insertions(+), 0 deletions(-)
14761
14762 commit ce2e88efa000fc32bfcd84098f57c8ed8310fefc
14763 Author: Thomas Egerer <hakke_007@gmx.de>
14764 Date: Mon Jan 25 12:58:44 2016 +0100
14765
14766 ipv4+ipv6: Make INET*_ESP select CRYPTO_ECHAINIV
14767
14768 The ESP algorithms using CBC mode require echainiv. Hence INET*_ESP have
14769 to select CRYPTO_ECHAINIV in order to work properly. This solves the
14770 issues caused by a misconfiguration as described in [1].
14771 The original approach, patching crypto/Kconfig was turned down by
14772 Herbert Xu [2].
14773
14774 [1] https://lists.strongswan.org/pipermail/users/2015-December/009074.html
14775 [2] http://marc.info/?l=linux-crypto-vger&m=145224655809562&w=2
14776
14777 Signed-off-by: Thomas Egerer <hakke_007@gmx.de>
14778 Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
14779 Signed-off-by: David S. Miller <davem@davemloft.net>
14780
14781 net/ipv4/Kconfig | 1 +
14782 net/ipv6/Kconfig | 1 +
14783 2 files changed, 2 insertions(+), 0 deletions(-)
14784
14785 commit fca5a303155ea67d28aece0caf2b03ffc3b2668d
14786 Merge: 904114c 6339c1f
14787 Author: Brad Spengler <spender@grsecurity.net>
14788 Date: Tue Jan 26 18:08:40 2016 -0500
14789
14790 Merge branch 'pax-test' into grsec-test
14791
14792 commit 6339c1f9a9beafd417bf9f04d4b257e62aeb45b7
14793 Author: Brad Spengler <spender@grsecurity.net>
14794 Date: Tue Jan 26 18:07:51 2016 -0500
14795
14796 Update to pax-linux-4.3.4-test25.patch:
14797 - fixed incorrect handling of VM_DONTCOPY during fork that would trigger a consistency check in the vma mirroring logic, reported by Mathias Krause <minipli@googlemail.com>
14798 - fixed init_new_context on !MODIFY_LDT_SYSCALL configs, reported by tjh (https://forums.grsecurity.net/viewtopic.php?f=3&t=4368)
14799 - fixed a few REFCOUNT false positives in SNMP related statistics
14800
14801 arch/x86/Kconfig | 2 +-
14802 arch/x86/include/asm/mmu_context.h | 17 +++++++++++++++++
14803 include/net/snmp.h | 10 +++++-----
14804 kernel/fork.c | 11 +++++++++--
14805 net/ipv4/proc.c | 8 ++++----
14806 net/ipv6/addrconf.c | 4 ++--
14807 net/ipv6/proc.c | 10 +++++-----
14808 7 files changed, 43 insertions(+), 19 deletions(-)
14809
14810 commit 904114c2fce3fdff5d57e763da56a78960db4e19
14811 Author: Al Viro <viro@zeniv.linux.org.uk>
14812 Date: Fri Jan 22 18:08:52 2016 -0500
14813
14814 make sure that freeing shmem fast symlinks is RCU-delayed
14815
14816 Cc: stable@vger.kernel.org # v4.2+
14817 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
14818
14819 include/linux/shmem_fs.h | 5 +----
14820 mm/shmem.c | 9 ++++-----
14821 2 files changed, 5 insertions(+), 9 deletions(-)
14822
14823 commit ab86adee64312a2f827dd516cb199521327943ed
14824 Author: Sasha Levin <sasha.levin@oracle.com>
14825 Date: Mon Jan 18 19:23:51 2016 -0500
14826
14827 netfilter: nf_conntrack: use safer way to lock all buckets
14828
14829 When we need to lock all buckets in the connection hashtable we'd attempt to
14830 lock 1024 spinlocks, which is way more preemption levels than supported by
14831 the kernel. Furthermore, this behavior was hidden by checking if lockdep is
14832 enabled, and if it was - use only 8 buckets(!).
14833
14834 Fix this by using a global lock and synchronize all buckets on it when we
14835 need to lock them all. This is pretty heavyweight, but is only done when we
14836 need to resize the hashtable, and that doesn't happen often enough (or at all).
14837
14838 Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
14839 Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
14840 Reviewed-by: Florian Westphal <fw@strlen.de>
14841 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
14842
14843 Conflicts:
14844
14845 net/netfilter/nfnetlink_cttimeout.c
14846
14847 include/net/netfilter/nf_conntrack_core.h | 8 ++----
14848 net/netfilter/nf_conntrack_core.c | 38 +++++++++++++++++++++-------
14849 net/netfilter/nf_conntrack_helper.c | 2 +-
14850 net/netfilter/nf_conntrack_netlink.c | 2 +-
14851 4 files changed, 33 insertions(+), 17 deletions(-)
14852
14853 commit 37014723527225481c720484bb788a1a6358072f
14854 Author: Willy Tarreau <w@1wt.eu>
14855 Date: Mon Jan 18 16:36:09 2016 +0100
14856
14857 pipe: limit the per-user amount of pages allocated in pipes
14858
14859 On no-so-small systems, it is possible for a single process to cause an
14860 OOM condition by filling large pipes with data that are never read. A
14861 typical process filling 4000 pipes with 1 MB of data will use 4 GB of
14862 memory. On small systems it may be tricky to set the pipe max size to
14863 prevent this from happening.
14864
14865 This patch makes it possible to enforce a per-user soft limit above
14866 which new pipes will be limited to a single page, effectively limiting
14867 them to 4 kB each, as well as a hard limit above which no new pipes may
14868 be created for this user. This has the effect of protecting the system
14869 against memory abuse without hurting other users, and still allowing
14870 pipes to work correctly though with less data at once.
14871
14872 The limit are controlled by two new sysctls : pipe-user-pages-soft, and
14873 pipe-user-pages-hard. Both may be disabled by setting them to zero. The
14874 default soft limit allows the default number of FDs per process (1024)
14875 to create pipes of the default size (64kB), thus reaching a limit of 64MB
14876 before starting to create only smaller pipes. With 256 processes limited
14877 to 1024 FDs each, this results in 1024*64kB + (256*1024 - 1024) * 4kB =
14878 1084 MB of memory allocated for a user. The hard limit is disabled by
14879 default to avoid breaking existing applications that make intensive use
14880 of pipes (eg: for splicing).
14881
14882 Reported-by: socketpair@gmail.com
14883 Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
14884 Mitigates: CVE-2013-4312 (Linux 2.0+)
14885 Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
14886 Signed-off-by: Willy Tarreau <w@1wt.eu>
14887 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
14888
14889 Documentation/sysctl/fs.txt | 23 +++++++++++++++++++++
14890 fs/pipe.c | 47 +++++++++++++++++++++++++++++++++++++++++-
14891 include/linux/pipe_fs_i.h | 4 +++
14892 include/linux/sched.h | 1 +
14893 kernel/sysctl.c | 14 ++++++++++++
14894 5 files changed, 87 insertions(+), 2 deletions(-)
14895
14896 commit 51645fa198d194f746651dcfbc5f24a4cf8b9fb8
14897 Merge: 540f2af 7791ecb
14898 Author: Brad Spengler <spender@grsecurity.net>
14899 Date: Sat Jan 23 10:57:11 2016 -0500
14900
14901 Merge branch 'pax-test' into grsec-test
14902
14903 commit 7791ecb84f840343a5646236fd0d34e1fb450793
14904 Merge: 470069c 399588c
14905 Author: Brad Spengler <spender@grsecurity.net>
14906 Date: Sat Jan 23 10:56:47 2016 -0500
14907
14908 Merge branch 'linux-4.3.y' into pax-test
14909
14910 commit 540f2affebd42cdc26a699208ab4f1cb0cb75e33
14911 Author: Brad Spengler <spender@grsecurity.net>
14912 Date: Tue Jan 19 21:18:47 2016 -0500
14913
14914 Update size_overflow hash table
14915
14916 .../size_overflow_plugin/size_overflow_hash.data | 4 +++-
14917 1 files changed, 3 insertions(+), 1 deletions(-)
14918
14919 commit 7e649765626a28437f573f0fbe7a51a04615f041
14920 Author: Brad Spengler <spender@grsecurity.net>
14921 Date: Tue Jan 19 20:29:46 2016 -0500
14922
14923 Backport fix from: https://lkml.org/lkml/2015/12/13/187
14924
14925 fs/ext4/extents.c | 2 +-
14926 1 files changed, 1 insertions(+), 1 deletions(-)
14927
14928 commit 53b859cd0a5f5b6ad54fe0c879dfedaa3c5a3005
14929 Author: Jann Horn <jann@thejh.net>
14930 Date: Tue Jan 5 18:27:30 2016 +0100
14931
14932 compat_ioctl: don't call do_ioctl under set_fs(KERNEL_DS)
14933
14934 This replaces all code in fs/compat_ioctl.c that translated
14935 ioctl arguments into a in-kernel structure, then performed
14936 do_ioctl under set_fs(KERNEL_DS), with code that allocates
14937 data on the user stack and can call the VFS ioctl handler
14938 under USER_DS.
14939
14940 This is done as a hardening measure because the caller
14941 does not know what kind of ioctl handler will be invoked,
14942 only that no corresponding compat_ioctl handler exists and
14943 what the ioctl command number is. The accidental
14944 invocation of an unlocked_ioctl handler that unexpectedly
14945 calls copy_to_user could be a severe security issue.
14946
14947 Signed-off-by: Jann Horn <jann@thejh.net>
14948 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
14949
14950 Conflicts:
14951
14952 fs/compat_ioctl.c
14953
14954 fs/compat_ioctl.c | 130 ++++++++++++++++++++++++++++-------------------------
14955 1 files changed, 68 insertions(+), 62 deletions(-)
14956
14957 commit 3e89e770ae27e931cd1583f021abac41eeebc3e7
14958 Author: Al Viro <viro@zeniv.linux.org.uk>
14959 Date: Thu Jan 7 09:53:30 2016 -0500
14960
14961 compat_ioctl: don't pass fd around when not needed
14962
14963 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
14964
14965 fs/compat_ioctl.c | 103 ++++++++++++++++++++++++++--------------------------
14966 fs/internal.h | 7 ++++
14967 fs/ioctl.c | 4 +-
14968 include/linux/fs.h | 2 -
14969 4 files changed, 61 insertions(+), 55 deletions(-)
14970
14971 commit 9d4e04082752d4d2d68445c4e6faf33a2613df55
14972 Author: Jann Horn <jann@thejh.net>
14973 Date: Tue Jan 5 18:27:29 2016 +0100
14974
14975 compat_ioctl: don't look up the fd twice
14976
14977 In code in fs/compat_ioctl.c that translates ioctl arguments
14978 into a in-kernel structure, then performs sys_ioctl, possibly
14979 under set_fs(KERNEL_DS), this commit changes the sys_ioctl
14980 calls to do_ioctl calls. do_ioctl is a new function that does
14981 the same thing as sys_ioctl, but doesn't look up the fd again.
14982
14983 This change is made to avoid (potential) security issues
14984 because of ioctl handlers that accept one of the ioctl
14985 commands I2C_FUNCS, VIDEO_GET_EVENT, MTIOCPOS, MTIOCGET,
14986 TIOCGSERIAL, TIOCSSERIAL, RTC_IRQP_READ, RTC_EPOCH_READ.
14987 This can happen for multiple reasons:
14988
14989 - The ioctl command number could be reused.
14990 - The ioctl handler might not check the full ioctl
14991 command. This is e.g. true for drm_ioctl.
14992 - The ioctl handler is very special, e.g. cuse_file_ioctl
14993
14994 The real issue is that set_fs(KERNEL_DS) is used here,
14995 but that's fixed in a separate commit
14996 "compat_ioctl: don't call do_ioctl under set_fs(KERNEL_DS)".
14997
14998 This change mitigates potential security issues by
14999 preventing a race that permits invocation of
15000 unlocked_ioctl handlers under KERNEL_DS through compat
15001 code even if a corresponding compat_ioctl handler exists.
15002
15003 So far, no way has been identified to use this to damage
15004 kernel memory without having CAP_SYS_ADMIN in the init ns
15005 (with the capability, doing reads/writes at arbitrary
15006 kernel addresses should be easy through CUSE's ioctl
15007 handler with FUSE_IOCTL_UNRESTRICTED set).
15008
15009 [AV: two missed sys_ioctl() taken care of]
15010
15011 Signed-off-by: Jann Horn <jann@thejh.net>
15012 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
15013
15014 fs/compat_ioctl.c | 122 +++++++++++++++++++++++++++++-----------------------
15015 1 files changed, 68 insertions(+), 54 deletions(-)
15016
15017 commit 5bf9e1ed4ebb278cd956ba142914fc04a024309c
15018 Author: Vasily Kulikov <segoon@openwall.com>
15019 Date: Fri Jan 15 16:57:55 2016 -0800
15020
15021 include/linux/poison.h: use POISON_POINTER_DELTA for poison pointers
15022
15023 TIMER_ENTRY_STATIC is defined as a poison pointers which
15024 should point to nowhere. Redefine them using POISON_POINTER_DELTA
15025 arithmetics to make sure they really point to non-mappable area declared
15026 by the target architecture.
15027
15028 Signed-off-by: Vasily Kulikov <segoon@openwall.com>
15029 Acked-by: Thomas Gleixner <tglx@linutronix.de>
15030 Cc: Solar Designer <solar@openwall.com>
15031 Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
15032 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
15033 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
15034
15035 Conflicts:
15036
15037 include/linux/poison.h
15038
15039 include/linux/poison.h | 2 +-
15040 1 files changed, 1 insertions(+), 1 deletions(-)
15041
15042 commit 60f2e0a05ab8f56c804a9334a23e2b446305d110
15043 Author: Brad Spengler <spender@grsecurity.net>
15044 Date: Tue Jan 19 19:41:44 2016 -0500
15045
15046 Fix ARM compilation, reported by Austin Sepp
15047
15048 grsecurity/grsec_sig.c | 1 +
15049 1 files changed, 1 insertions(+), 0 deletions(-)
15050
15051 commit e15383743443dc43460a2fd73e0db0b608610dca
15052 Author: Takashi Iwai <tiwai@suse.de>
15053 Date: Mon Jan 18 13:52:47 2016 +0100
15054
15055 ALSA: hrtimer: Fix stall by hrtimer_cancel()
15056
15057 hrtimer_cancel() waits for the completion from the callback, thus it
15058 must not be called inside the callback itself. This was already a
15059 problem in the past with ALSA hrtimer driver, and the early commit
15060 [fcfdebe70759: ALSA: hrtimer - Fix lock-up] tried to address it.
15061
15062 However, the previous fix is still insufficient: it may still cause a
15063 lockup when the ALSA timer instance reprograms itself in its callback.
15064 Then it invokes the start function even in snd_timer_interrupt() that
15065 is called in hrtimer callback itself, results in a CPU stall. This is
15066 no hypothetical problem but actually triggered by syzkaller fuzzer.
15067
15068 This patch tries to fix the issue again. Now we call
15069 hrtimer_try_to_cancel() at both start and stop functions so that it
15070 won't fall into a deadlock, yet giving some chance to cancel the queue
15071 if the functions have been called outside the callback. The proper
15072 hrtimer_cancel() is called in anyway at closing, so this should be
15073 enough.
15074
15075 Reported-and-tested-by: Dmitry Vyukov <dvyukov@google.com>
15076 Cc: <stable@vger.kernel.org>
15077 Signed-off-by: Takashi Iwai <tiwai@suse.de>
15078
15079 sound/core/hrtimer.c | 3 ++-
15080 1 files changed, 2 insertions(+), 1 deletions(-)
15081
15082 commit 12d874daf706e6e7c1ae709141859c809599297e
15083 Author: Takashi Iwai <tiwai@suse.de>
15084 Date: Tue Jan 12 12:38:02 2016 +0100
15085
15086 ALSA: seq: Fix missing NULL check at remove_events ioctl
15087
15088 snd_seq_ioctl_remove_events() calls snd_seq_fifo_clear()
15089 unconditionally even if there is no FIFO assigned, and this leads to
15090 an Oops due to NULL dereference. The fix is just to add a proper NULL
15091 check.
15092
15093 Reported-by: Dmitry Vyukov <dvyukov@google.com>
15094 Tested-by: Dmitry Vyukov <dvyukov@google.com>
15095 Cc: <stable@vger.kernel.org>
15096 Signed-off-by: Takashi Iwai <tiwai@suse.de>
15097
15098 sound/core/seq/seq_clientmgr.c | 2 +-
15099 1 files changed, 1 insertions(+), 1 deletions(-)
15100
15101 commit 2eb0632df1351378946507e7ef7ba0682632a7b5
15102 Author: Takashi Iwai <tiwai@suse.de>
15103 Date: Tue Jan 12 15:36:27 2016 +0100
15104
15105 ALSA: seq: Fix race at timer setup and close
15106
15107 ALSA sequencer code has an open race between the timer setup ioctl and
15108 the close of the client. This was triggered by syzkaller fuzzer, and
15109 a use-after-free was caught there as a result.
15110
15111 This patch papers over it by adding a proper queue->timer_mutex lock
15112 around the timer-related calls in the relevant code path.
15113
15114 Reported-by: Dmitry Vyukov <dvyukov@google.com>
15115 Tested-by: Dmitry Vyukov <dvyukov@google.com>
15116 Cc: <stable@vger.kernel.org>
15117 Signed-off-by: Takashi Iwai <tiwai@suse.de>
15118
15119 sound/core/seq/seq_queue.c | 2 ++
15120 1 files changed, 2 insertions(+), 0 deletions(-)
15121
15122 commit b9e55ab955e59b4a636d78a748be90334a48b485
15123 Author: Takashi Iwai <tiwai@suse.de>
15124 Date: Thu Jan 14 16:30:58 2016 +0100
15125
15126 ALSA: timer: Harden slave timer list handling
15127
15128 A slave timer instance might be still accessible in a racy way while
15129 operating the master instance as it lacks of locking. Since the
15130 master operation is mostly protected with timer->lock, we should cope
15131 with it while changing the slave instance, too. Also, some linked
15132 lists (active_list and ack_list) of slave instances aren't unlinked
15133 immediately at stopping or closing, and this may lead to unexpected
15134 accesses.
15135
15136 This patch tries to address these issues. It adds spin lock of
15137 timer->lock (either from master or slave, which is equivalent) in a
15138 few places. For avoiding a deadlock, we ensure that the global
15139 slave_active_lock is always locked at first before each timer lock.
15140
15141 Also, ack and active_list of slave instances are properly unlinked at
15142 snd_timer_stop() and snd_timer_close().
15143
15144 Last but not least, remove the superfluous call of _snd_timer_stop()
15145 at removing slave links. This is a noop, and calling it may confuse
15146 readers wrt locking. Further cleanup will follow in a later patch.
15147
15148 Actually we've got reports of use-after-free by syzkaller fuzzer, and
15149 this hopefully fixes these issues.
15150
15151 Reported-by: Dmitry Vyukov <dvyukov@google.com>
15152 Cc: <stable@vger.kernel.org>
15153 Signed-off-by: Takashi Iwai <tiwai@suse.de>
15154
15155 sound/core/timer.c | 18 ++++++++++++++----
15156 1 files changed, 14 insertions(+), 4 deletions(-)
15157
15158 commit f1ce0547bdfda1b42ae8a66c222f2a897cbe1586
15159 Author: Takashi Iwai <tiwai@suse.de>
15160 Date: Wed Jan 13 17:48:01 2016 +0100
15161
15162 ALSA: timer: Fix race among timer ioctls
15163
15164 ALSA timer ioctls have an open race and this may lead to a
15165 use-after-free of timer instance object. A simplistic fix is to make
15166 each ioctl exclusive. We have already tread_sem for controlling the
15167 tread, and extend this as a global mutex to be applied to each ioctl.
15168
15169 The downside is, of course, the worse concurrency. But these ioctls
15170 aren't to be parallel accessible, in anyway, so it should be fine to
15171 serialize there.
15172
15173 Reported-by: Dmitry Vyukov <dvyukov@google.com>
15174 Tested-by: Dmitry Vyukov <dvyukov@google.com>
15175 Cc: <stable@vger.kernel.org>
15176 Signed-off-by: Takashi Iwai <tiwai@suse.de>
15177
15178 sound/core/timer.c | 32 +++++++++++++++++++-------------
15179 1 files changed, 19 insertions(+), 13 deletions(-)
15180
15181 commit 8347d8461ed48a98f9c76cc3cfcdad8217d314bc
15182 Author: Takashi Iwai <tiwai@suse.de>
15183 Date: Wed Jan 13 21:35:06 2016 +0100
15184
15185 ALSA: timer: Fix double unlink of active_list
15186
15187 ALSA timer instance object has a couple of linked lists and they are
15188 unlinked unconditionally at snd_timer_stop(). Meanwhile
15189 snd_timer_interrupt() unlinks it, but it calls list_del() which leaves
15190 the element list itself unchanged. This ends up with unlinking twice,
15191 and it was caught by syzkaller fuzzer.
15192
15193 The fix is to use list_del_init() variant properly there, too.
15194
15195 Reported-by: Dmitry Vyukov <dvyukov@google.com>
15196 Tested-by: Dmitry Vyukov <dvyukov@google.com>
15197 Cc: <stable@vger.kernel.org>
15198 Signed-off-by: Takashi Iwai <tiwai@suse.de>
15199
15200 sound/core/timer.c | 2 +-
15201 1 files changed, 1 insertions(+), 1 deletions(-)
15202
15203 commit 243aebb7ae71d6e11ea9880faa893d1d0d60cd75
15204 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
15205 Date: Mon Jan 18 18:03:48 2016 +0100
15206
15207 ovs: limit ovs recursions in ovs_execute_actions to not corrupt stack
15208
15209 It was seen that defective configurations of openvswitch could overwrite
15210 the STACK_END_MAGIC and cause a hard crash of the kernel because of too
15211 many recursions within ovs.
15212
15213 This problem arises due to the high stack usage of openvswitch. The rest
15214 of the kernel is fine with the current limit of 10 (RECURSION_LIMIT).
15215
15216 We use the already existing recursion counter in ovs_execute_actions to
15217 implement an upper bound of 5 recursions.
15218
15219 Cc: Pravin Shelar <pshelar@ovn.org>
15220 Cc: Simon Horman <simon.horman@netronome.com>
15221 Cc: Eric Dumazet <eric.dumazet@gmail.com>
15222 Cc: Simon Horman <simon.horman@netronome.com>
15223 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
15224 Signed-off-by: David S. Miller <davem@davemloft.net>
15225
15226 net/openvswitch/actions.c | 19 ++++++++++++++-----
15227 1 files changed, 14 insertions(+), 5 deletions(-)
15228
15229 commit 8080793479c6d5befe37a67b1dbd9e4e0a61af96
15230 Author: Ursula Braun <ursula.braun@de.ibm.com>
15231 Date: Tue Jan 19 10:41:33 2016 +0100
15232
15233 af_iucv: Validate socket address length in iucv_sock_bind()
15234
15235 Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
15236 Reported-by: Dmitry Vyukov <dvyukov@google.com>
15237 Reviewed-by: Evgeny Cherkashin <Eugene.Crosser@ru.ibm.com>
15238 Signed-off-by: David S. Miller <davem@davemloft.net>
15239
15240 net/iucv/af_iucv.c | 3 +++
15241 1 files changed, 3 insertions(+), 0 deletions(-)
15242
15243 commit 50a383c1c91ed7409c3cbdd41e662d6891463d1b
15244 Author: Brad Spengler <spender@grsecurity.net>
15245 Date: Tue Jan 19 19:32:54 2016 -0500
15246
15247 Apply the same fix as everyone else for the recent keys vulnerability that is
15248 unexploitable under PAX_REFCOUNT
15249
15250 Make a couple more changes that no one else can/will
15251
15252 include/linux/key-type.h | 4 ++--
15253 ipc/msgutil.c | 4 ++--
15254 security/keys/internal.h | 2 +-
15255 security/keys/process_keys.c | 1 +
15256 4 files changed, 6 insertions(+), 5 deletions(-)
15257
15258 commit b56c3a63f431c193400aee17543021950bd14bc4
15259 Merge: 38b1a3d 470069c
15260 Author: Brad Spengler <spender@grsecurity.net>
15261 Date: Sun Jan 17 18:30:19 2016 -0500
15262
15263 Merge branch 'pax-test' into grsec-test
15264
15265 commit 470069cfedef2180313233d275be5901bd6d1135
15266 Author: Brad Spengler <spender@grsecurity.net>
15267 Date: Sun Jan 17 18:29:59 2016 -0500
15268
15269 Update to pax-linux-4.3.3-test22.patch:
15270 - Emesed fixed a gcc induced intentional integer overflow in asix_rx_fixup_internal, reported by thomas callison caffrey
15271 - fixed some more fallout from the drm_drivers constification, reported by Colin Childs and Toralf Foerster
15272
15273 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 14 ++++----------
15274 drivers/gpu/drm/drm_pci.c | 3 +++
15275 drivers/gpu/drm/gma500/psb_drv.c | 4 ----
15276 drivers/gpu/drm/i915/i915_drv.c | 16 ++++++++--------
15277 drivers/gpu/drm/nouveau/nouveau_drm.c | 6 +++---
15278 drivers/gpu/drm/radeon/radeon_drv.c | 4 +---
15279 drivers/net/usb/asix_common.c | 3 ++-
15280 include/drm/drmP.h | 1 +
15281 8 files changed, 22 insertions(+), 29 deletions(-)
15282
15283 commit 38b1a3d676f407865c3d41840df8213c5ad639c1
15284 Author: Brad Spengler <spender@grsecurity.net>
15285 Date: Sun Jan 17 12:33:53 2016 -0500
15286
15287 As reported by Luis Ressel, the Kconfig help for GRKERNSEC_BRUTE
15288 mentioned banning execution of suid/sgid binaries, though the kernel
15289 source clearly only mentions banning execution of suid binaries. Since
15290 there's no reason for us to not ban execution of sgid binaries as well,
15291 make the implementation match the Kconfig description.
15292
15293 fs/exec.c | 4 ++--
15294 grsecurity/grsec_sig.c | 27 ++++++++++++++-------------
15295 include/linux/sched.h | 4 ++--
15296 3 files changed, 18 insertions(+), 17 deletions(-)
15297
15298 commit 8c3bcb7dbf7f606acfa0983e81f0f928da1f1ace
15299 Merge: d141a86 ea4a835
15300 Author: Brad Spengler <spender@grsecurity.net>
15301 Date: Sat Jan 16 14:12:22 2016 -0500
15302
15303 Merge branch 'pax-test' into grsec-test
15304
15305 Conflicts:
15306 drivers/gpu/drm/i810/i810_drv.c
15307
15308 commit ea4a835328ada6513ac013986764d6caea8cd348
15309 Author: Brad Spengler <spender@grsecurity.net>
15310 Date: Sat Jan 16 14:11:30 2016 -0500
15311
15312 Update to pax-linux-4.3.3-test21.patch:
15313 - fixed some fallout from the drm_drivers constification, reported by spender
15314
15315 drivers/gpu/drm/armada/armada_drv.c | 3 +--
15316 drivers/gpu/drm/exynos/exynos_drm_drv.c | 1 -
15317 drivers/gpu/drm/i810/i810_dma.c | 2 +-
15318 drivers/gpu/drm/i810/i810_drv.c | 6 +++++-
15319 drivers/gpu/drm/i810/i810_drv.h | 2 +-
15320 5 files changed, 8 insertions(+), 6 deletions(-)
15321
15322 commit d141a86fd66194bc3f896b6809b189e2f12a9a83
15323 Author: Brad Spengler <spender@grsecurity.net>
15324 Date: Sat Jan 16 13:16:36 2016 -0500
15325
15326 compile fix
15327
15328 drivers/gpu/drm/i810/i810_dma.c | 2 +-
15329 drivers/gpu/drm/i810/i810_drv.c | 4 +++-
15330 drivers/gpu/drm/i810/i810_drv.h | 2 +-
15331 3 files changed, 5 insertions(+), 3 deletions(-)
15332
15333 commit 0d9dc4b25ea32c14561bcfe6b5b24f1b00fe0270
15334 Merge: 5fa135d bbda879
15335 Author: Brad Spengler <spender@grsecurity.net>
15336 Date: Sat Jan 16 12:59:22 2016 -0500
15337
15338 Merge branch 'pax-test' into grsec-test
15339
15340 commit bbda87914edf63e27fb46670bf3a373f2b963c73
15341 Author: Brad Spengler <spender@grsecurity.net>
15342 Date: Sat Jan 16 12:58:04 2016 -0500
15343
15344 Update to pax-linux-4.3.3-test20.patch:
15345 - constified drm_driver
15346 - Emese fixed a special case in handling __func__ in the initify plugin
15347 - Emese fixed a false positive size overflow report in handling inbufBits, reported by Martin Filo (https://bugs.gentoo.org/show_bug.cgi?id=567048)
15348 - fixed regression that caused perf to not resolve kernel code addresses under KERNEXEC/i386, reported by minipli
15349
15350 arch/x86/kernel/cpu/perf_event.h | 2 +-
15351 arch/x86/kernel/cpu/perf_event_intel_ds.c | 7 +-
15352 arch/x86/kernel/cpu/perf_event_intel_lbr.c | 4 +-
15353 arch/x86/kernel/uprobes.c | 2 +-
15354 arch/x86/mm/mpx.c | 2 +-
15355 drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +-
15356 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 8 ++-
15357 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +-
15358 drivers/gpu/drm/drm_pci.c | 6 +-
15359 drivers/gpu/drm/gma500/psb_drv.c | 5 +-
15360 drivers/gpu/drm/i915/i915_dma.c | 2 +-
15361 drivers/gpu/drm/i915/i915_drv.c | 15 ++--
15362 drivers/gpu/drm/i915/i915_drv.h | 2 +-
15363 drivers/gpu/drm/i915/i915_irq.c | 88 ++++++++++----------
15364 drivers/gpu/drm/mga/mga_drv.c | 5 +-
15365 drivers/gpu/drm/mga/mga_drv.h | 2 +-
15366 drivers/gpu/drm/mga/mga_state.c | 2 +-
15367 drivers/gpu/drm/nouveau/nouveau_drm.c | 13 ++--
15368 drivers/gpu/drm/qxl/qxl_drv.c | 8 ++-
15369 drivers/gpu/drm/qxl/qxl_ioctl.c | 2 +-
15370 drivers/gpu/drm/r128/r128_drv.c | 4 +-
15371 drivers/gpu/drm/r128/r128_drv.h | 2 +-
15372 drivers/gpu/drm/r128/r128_state.c | 2 +-
15373 drivers/gpu/drm/radeon/radeon_drv.c | 17 +++-
15374 drivers/gpu/drm/radeon/radeon_drv.h | 2 +-
15375 drivers/gpu/drm/radeon/radeon_kms.c | 2 +-
15376 drivers/gpu/drm/radeon/radeon_state.c | 2 +-
15377 drivers/gpu/drm/savage/savage_bci.c | 2 +-
15378 drivers/gpu/drm/savage/savage_drv.c | 5 +-
15379 drivers/gpu/drm/savage/savage_drv.h | 2 +-
15380 drivers/gpu/drm/sis/sis_drv.c | 5 +-
15381 drivers/gpu/drm/sis/sis_drv.h | 2 +-
15382 drivers/gpu/drm/sis/sis_mm.c | 2 +-
15383 drivers/gpu/drm/via/via_dma.c | 2 +-
15384 drivers/gpu/drm/via/via_drv.c | 5 +-
15385 drivers/gpu/drm/via/via_drv.h | 2 +-
15386 include/drm/drmP.h | 2 +-
15387 mm/slab.c | 2 +-
15388 net/sunrpc/xprtrdma/svc_rdma.c | 6 +-
15389 tools/gcc/initify_plugin.c | 15 +++-
15390 .../disable_size_overflow_hash.data | 1 +
15391 .../size_overflow_plugin/size_overflow_hash.data | 3 +-
15392 42 files changed, 156 insertions(+), 110 deletions(-)
15393
15394 commit 5fa135dc116350e0205c39ef65eaf6496ed2748a
15395 Author: Brad Spengler <spender@grsecurity.net>
15396 Date: Sat Jan 16 12:19:23 2016 -0500
15397
15398 compile fix
15399
15400 grsecurity/grsec_sig.c | 3 +--
15401 1 files changed, 1 insertions(+), 2 deletions(-)
15402
15403 commit a9090fa58f33f75c7450fda5721a9b13625a47d9
15404 Author: Brad Spengler <spender@grsecurity.net>
15405 Date: Sat Jan 16 12:10:37 2016 -0500
15406
15407 As pointed out by Jann Horn, some distros are starting to circumvent
15408 previous assumptions about the attainability of a user to control
15409 multiple UIDs by handing out suid binaries that allow a user to run
15410 processes (including exploits) under a number of other pre-defined
15411 UIDs. As this could potentially be used to bypass GRKERNSEC_BRUTE
15412 (though it would have to involve some code path that doesn't involve
15413 locks) fix that here by ensuring no more than 8 users on a system can
15414 be banned before a reboot is required. If more are banned, a panic
15415 is triggered.
15416
15417 grsecurity/grsec_sig.c | 8 ++++++++
15418 1 files changed, 8 insertions(+), 0 deletions(-)
15419
15420 commit a8d37776e9521c567ebff6730d49312f72435f08
15421 Author: Eric Dumazet <edumazet@google.com>
15422 Date: Thu Dec 3 11:12:07 2015 -0800
15423
15424 proc: add a reschedule point in proc_readfd_common()
15425
15426 User can pass an arbitrary large buffer to getdents().
15427
15428 It is typically a 32KB buffer used by libc scandir() implementation.
15429
15430 When scanning /proc/{pid}/fd, we can hold cpu way too long,
15431 so add a cond_resched() to be kind with other tasks.
15432
15433 We've seen latencies of more than 50ms on real workloads.
15434
15435 Signed-off-by: Eric Dumazet <edumazet@google.com>
15436 Cc: Alexander Viro <viro@zeniv.linux.org.uk>
15437 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
15438
15439 fs/proc/fd.c | 1 +
15440 1 files changed, 1 insertions(+), 0 deletions(-)
15441
15442 commit 0adba75f8708f13b1f5d98ebe3fc2fb961e100c8
15443 Author: Rabin Vincent <rabin@rab.in>
15444 Date: Tue Jan 12 20:17:08 2016 +0100
15445
15446 net: bpf: reject invalid shifts
15447
15448 On ARM64, a BUG() is triggered in the eBPF JIT if a filter with a
15449 constant shift that can't be encoded in the immediate field of the
15450 UBFM/SBFM instructions is passed to the JIT. Since these shifts
15451 amounts, which are negative or >= regsize, are invalid, reject them in
15452 the eBPF verifier and the classic BPF filter checker, for all
15453 architectures.
15454
15455 Signed-off-by: Rabin Vincent <rabin@rab.in>
15456 Acked-by: Alexei Starovoitov <ast@kernel.org>
15457 Acked-by: Daniel Borkmann <daniel@iogearbox.net>
15458 Signed-off-by: David S. Miller <davem@davemloft.net>
15459
15460 kernel/bpf/verifier.c | 10 ++++++++++
15461 net/core/filter.c | 5 +++++
15462 2 files changed, 15 insertions(+), 0 deletions(-)
15463
15464 commit c248e115a73496625a1c64660d0eeefd67e55cbf
15465 Author: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
15466 Date: Fri Jan 8 11:00:54 2016 -0200
15467
15468 sctp: fix use-after-free in pr_debug statement
15469
15470 Dmitry Vyukov reported a use-after-free in the code expanded by the
15471 macro debug_post_sfx, which is caused by the use of the asoc pointer
15472 after it was freed within sctp_side_effect() scope.
15473
15474 This patch fixes it by allowing sctp_side_effect to clear that asoc
15475 pointer when the TCB is freed.
15476
15477 As Vlad explained, we also have to cover the SCTP_DISPOSITION_ABORT case
15478 because it will trigger DELETE_TCB too on that same loop.
15479
15480 Also, there were places issuing SCTP_CMD_INIT_FAILED and ASSOC_FAILED
15481 but returning SCTP_DISPOSITION_CONSUME, which would fool the scheme
15482 above. Fix it by returning SCTP_DISPOSITION_ABORT instead.
15483
15484 The macro is already prepared to handle such NULL pointer.
15485
15486 Reported-by: Dmitry Vyukov <dvyukov@google.com>
15487 Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
15488 Acked-by: Vlad Yasevich <vyasevich@gmail.com>
15489 Signed-off-by: David S. Miller <davem@davemloft.net>
15490
15491 net/sctp/sm_sideeffect.c | 11 ++++++-----
15492 net/sctp/sm_statefuns.c | 17 ++++-------------
15493 2 files changed, 10 insertions(+), 18 deletions(-)
15494
15495 commit 395ea8a9e73e184fc14153a033000bccf4213213
15496 Author: willy tarreau <w@1wt.eu>
15497 Date: Sun Jan 10 07:54:56 2016 +0100
15498
15499 unix: properly account for FDs passed over unix sockets
15500
15501 It is possible for a process to allocate and accumulate far more FDs than
15502 the process' limit by sending them over a unix socket then closing them
15503 to keep the process' fd count low.
15504
15505 This change addresses this problem by keeping track of the number of FDs
15506 in flight per user and preventing non-privileged processes from having
15507 more FDs in flight than their configured FD limit.
15508
15509 Reported-by: socketpair@gmail.com
15510 Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
15511 Mitigates: CVE-2013-4312 (Linux 2.0+)
15512 Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
15513 Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
15514 Signed-off-by: Willy Tarreau <w@1wt.eu>
15515 Signed-off-by: David S. Miller <davem@davemloft.net>
15516
15517 include/linux/sched.h | 1 +
15518 net/unix/af_unix.c | 24 ++++++++++++++++++++----
15519 net/unix/garbage.c | 13 ++++++++-----
15520 3 files changed, 29 insertions(+), 9 deletions(-)
15521
15522 commit cb207ab8fbd71dcfc4a49d533aba8085012543fd
15523 Author: Sasha Levin <sasha.levin@oracle.com>
15524 Date: Thu Jan 7 14:52:43 2016 -0500
15525
15526 net: sctp: prevent writes to cookie_hmac_alg from accessing invalid memory
15527
15528 proc_dostring() needs an initialized destination string, while the one
15529 provided in proc_sctp_do_hmac_alg() contains stack garbage.
15530
15531 Thus, writing to cookie_hmac_alg would strlen() that garbage and end up
15532 accessing invalid memory.
15533
15534 Fixes: 3c68198e7 ("sctp: Make hmac algorithm selection for cookie generation dynamic")
15535 Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
15536 Signed-off-by: David S. Miller <davem@davemloft.net>
15537
15538 net/sctp/sysctl.c | 2 +-
15539 1 files changed, 1 insertions(+), 1 deletions(-)
15540
15541 commit 4014e09faf0fe9054119624ccfff1236e886b554
15542 Author: Quentin Casasnovas <quentin.casasnovas@oracle.com>
15543 Date: Tue Nov 24 17:13:21 2015 -0500
15544
15545 RDS: fix race condition when sending a message on unbound socket
15546
15547 commit 8c7188b23474cca017b3ef354c4a58456f68303a upstream.
15548
15549 Sasha's found a NULL pointer dereference in the RDS connection code when
15550 sending a message to an apparently unbound socket. The problem is caused
15551 by the code checking if the socket is bound in rds_sendmsg(), which checks
15552 the rs_bound_addr field without taking a lock on the socket. This opens a
15553 race where rs_bound_addr is temporarily set but where the transport is not
15554 in rds_bind(), leading to a NULL pointer dereference when trying to
15555 dereference 'trans' in __rds_conn_create().
15556
15557 Vegard wrote a reproducer for this issue, so kindly ask him to share if
15558 you're interested.
15559
15560 I cannot reproduce the NULL pointer dereference using Vegard's reproducer
15561 with this patch, whereas I could without.
15562
15563 Complete earlier incomplete fix to CVE-2015-6937:
15564
15565 74e98eb08588 ("RDS: verify the underlying transport exists before creating a connection")
15566
15567 Cc: David S. Miller <davem@davemloft.net>
15568
15569 Reviewed-by: Vegard Nossum <vegard.nossum@oracle.com>
15570 Reviewed-by: Sasha Levin <sasha.levin@oracle.com>
15571 Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
15572 Signed-off-by: Quentin Casasnovas <quentin.casasnovas@oracle.com>
15573 Signed-off-by: David S. Miller <davem@davemloft.net>
15574 Signed-off-by: Jiri Slaby <jslaby@suse.cz>
15575
15576 Conflicts:
15577
15578 net/rds/send.c
15579
15580 net/rds/connection.c | 6 ------
15581 1 files changed, 0 insertions(+), 6 deletions(-)
15582
15583 commit 206df8d01104344d7588d801016a281a4cd25556
15584 Author: Sasha Levin <sasha.levin@oracle.com>
15585 Date: Tue Sep 8 10:53:40 2015 -0400
15586
15587 RDS: verify the underlying transport exists before creating a connection
15588
15589 There was no verification that an underlying transport exists when creating
15590 a connection, this would cause dereferencing a NULL ptr.
15591
15592 It might happen on sockets that weren't properly bound before attempting to
15593 send a message, which will cause a NULL ptr deref:
15594
15595 [135546.047719] kasan: GPF could be caused by NULL-ptr deref or user memory accessgeneral protection fault: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC KASAN
15596 [135546.051270] Modules linked in:
15597 [135546.051781] CPU: 4 PID: 15650 Comm: trinity-c4 Not tainted 4.2.0-next-20150902-sasha-00041-gbaa1222-dirty #2527
15598 [135546.053217] task: ffff8800835bc000 ti: ffff8800bc708000 task.ti: ffff8800bc708000
15599 [135546.054291] RIP: __rds_conn_create (net/rds/connection.c:194)
15600 [135546.055666] RSP: 0018:ffff8800bc70fab0 EFLAGS: 00010202
15601 [135546.056457] RAX: dffffc0000000000 RBX: 0000000000000f2c RCX: ffff8800835bc000
15602 [135546.057494] RDX: 0000000000000007 RSI: ffff8800835bccd8 RDI: 0000000000000038
15603 [135546.058530] RBP: ffff8800bc70fb18 R08: 0000000000000001 R09: 0000000000000000
15604 [135546.059556] R10: ffffed014d7a3a23 R11: ffffed014d7a3a21 R12: 0000000000000000
15605 [135546.060614] R13: 0000000000000001 R14: ffff8801ec3d0000 R15: 0000000000000000
15606 [135546.061668] FS: 00007faad4ffb700(0000) GS:ffff880252000000(0000) knlGS:0000000000000000
15607 [135546.062836] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
15608 [135546.063682] CR2: 000000000000846a CR3: 000000009d137000 CR4: 00000000000006a0
15609 [135546.064723] Stack:
15610 [135546.065048] ffffffffafe2055c ffffffffafe23fc1 ffffed00493097bf ffff8801ec3d0008
15611 [135546.066247] 0000000000000000 00000000000000d0 0000000000000000 ac194a24c0586342
15612 [135546.067438] 1ffff100178e1f78 ffff880320581b00 ffff8800bc70fdd0 ffff880320581b00
15613 [135546.068629] Call Trace:
15614 [135546.069028] ? __rds_conn_create (include/linux/rcupdate.h:856 net/rds/connection.c:134)
15615 [135546.069989] ? rds_message_copy_from_user (net/rds/message.c:298)
15616 [135546.071021] rds_conn_create_outgoing (net/rds/connection.c:278)
15617 [135546.071981] rds_sendmsg (net/rds/send.c:1058)
15618 [135546.072858] ? perf_trace_lock (include/trace/events/lock.h:38)
15619 [135546.073744] ? lockdep_init (kernel/locking/lockdep.c:3298)
15620 [135546.074577] ? rds_send_drop_to (net/rds/send.c:976)
15621 [135546.075508] ? __might_fault (./arch/x86/include/asm/current.h:14 mm/memory.c:3795)
15622 [135546.076349] ? __might_fault (mm/memory.c:3795)
15623 [135546.077179] ? rds_send_drop_to (net/rds/send.c:976)
15624 [135546.078114] sock_sendmsg (net/socket.c:611 net/socket.c:620)
15625 [135546.078856] SYSC_sendto (net/socket.c:1657)
15626 [135546.079596] ? SYSC_connect (net/socket.c:1628)
15627 [135546.080510] ? trace_dump_stack (kernel/trace/trace.c:1926)
15628 [135546.081397] ? ring_buffer_unlock_commit (kernel/trace/ring_buffer.c:2479 kernel/trace/ring_buffer.c:2558 kernel/trace/ring_buffer.c:2674)
15629 [135546.082390] ? trace_buffer_unlock_commit (kernel/trace/trace.c:1749)
15630 [135546.083410] ? trace_event_raw_event_sys_enter (include/trace/events/syscalls.h:16)
15631 [135546.084481] ? do_audit_syscall_entry (include/trace/events/syscalls.h:16)
15632 [135546.085438] ? trace_buffer_unlock_commit (kernel/trace/trace.c:1749)
15633 [135546.085515] rds_ib_laddr_check(): addr 36.74.25.172 ret -99 node type -1
15634
15635 Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
15636 Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
15637 Signed-off-by: David S. Miller <davem@davemloft.net>
15638
15639 net/rds/connection.c | 6 ++++++
15640 1 files changed, 6 insertions(+), 0 deletions(-)
15641
15642 commit 173fa03f05cf0ad485d49a42cbdee8844d3a689a
15643 Author: Steven Rostedt (Red Hat) <rostedt@goodmis.org>
15644 Date: Tue Jan 5 20:32:47 2016 -0500
15645
15646 ftrace/module: Call clean up function when module init fails early
15647
15648 If the module init code fails after calling ftrace_module_init() and before
15649 calling do_init_module(), we can suffer from a memory leak. This is because
15650 ftrace_module_init() allocates pages to store the locations that ftrace
15651 hooks are placed in the module text. If do_init_module() fails, it still
15652 calls the MODULE_GOING notifiers which will tell ftrace to do a clean up of
15653 the pages it allocated for the module. But if load_module() fails before
15654 then, the pages allocated by ftrace_module_init() will never be freed.
15655
15656 Call ftrace_release_mod() on the module if load_module() fails before
15657 getting to do_init_module().
15658
15659 Link: http://lkml.kernel.org/r/567CEA31.1070507@intel.com
15660
15661 Reported-by: "Qiu, PeiyangX" <peiyangx.qiu@intel.com>
15662 Fixes: a949ae560a511 "ftrace/module: Hardcode ftrace_module_init() call into load_module()"
15663 Cc: stable@vger.kernel.org # v2.6.38+
15664 Acked-by: Rusty Russell <rusty@rustcorp.com.au>
15665 Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
15666
15667 include/linux/ftrace.h | 1 +
15668 kernel/module.c | 6 ++++++
15669 2 files changed, 7 insertions(+), 0 deletions(-)
15670
15671 commit 1e5a4a81a4c16c8ac2e264b88a02cc2f42ed0399
15672 Author: Francesco Ruggeri <fruggeri@aristanetworks.com>
15673 Date: Wed Jan 6 00:18:48 2016 -0800
15674
15675 net: possible use after free in dst_release
15676
15677 dst_release should not access dst->flags after decrementing
15678 __refcnt to 0. The dst_entry may be in dst_busy_list and
15679 dst_gc_task may dst_destroy it before dst_release gets a chance
15680 to access dst->flags.
15681
15682 Fixes: d69bbf88c8d0 ("net: fix a race in dst_release()")
15683 Fixes: 27b75c95f10d ("net: avoid RCU for NOCACHE dst")
15684 Signed-off-by: Francesco Ruggeri <fruggeri@arista.com>
15685 Acked-by: Eric Dumazet <edumazet@google.com>
15686 Signed-off-by: David S. Miller <davem@davemloft.net>
15687
15688 net/core/dst.c | 3 ++-
15689 1 files changed, 2 insertions(+), 1 deletions(-)
15690
15691 commit bfb0455793dd4e0f0b49d34a68b3249ab55565cc
15692 Author: Alan <gnomes@lxorguk.ukuu.org.uk>
15693 Date: Wed Jan 6 14:55:02 2016 +0000
15694
15695 mkiss: fix scribble on freed memory
15696
15697 commit d79f16c046086f4fe0d42184a458e187464eb83e fixed a user triggerable
15698 scribble on free memory but added a new one which allows the user to
15699 scribble even more and user controlled data into freed space.
15700
15701 As with 6pack we need to halt the queue before we free the buffers, because
15702 the transmit logic is not protected by the semaphore.
15703
15704 Signed-off-by: Alan Cox <alan@linux.intel.com>
15705 Signed-off-by: David S. Miller <davem@davemloft.net>
15706
15707 drivers/net/hamradio/mkiss.c | 5 +++++
15708 1 files changed, 5 insertions(+), 0 deletions(-)
15709
15710 commit 5cbbcbd32dc1949470f61d342503808fa9555276
15711 Author: David Miller <davem@davemloft.net>
15712 Date: Thu Dec 17 16:05:49 2015 -0500
15713
15714 mkiss: Fix use after free in mkiss_close().
15715
15716 Need to do the unregister_device() after all references to the driver
15717 private have been done.
15718
15719 Signed-off-by: David S. Miller <davem@davemloft.net>
15720
15721 drivers/net/hamradio/mkiss.c | 4 ++--
15722 1 files changed, 2 insertions(+), 2 deletions(-)
15723
15724 commit b00171576794a98068e069a660f0991a6a5190ff
15725 Author: One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
15726 Date: Tue Jan 5 11:51:25 2016 +0000
15727
15728 6pack: fix free memory scribbles
15729
15730 commit acf673a3187edf72068ee2f92f4dc47d66baed47 fixed a user triggerable free
15731 memory scribble but in doing so replaced it with a different one that allows
15732 the user to control the data and scribble even more.
15733
15734 sixpack_close is called by the tty layer in tty context. The tty context is
15735 protected by sp_get() and sp_put(). However network layer activity via
15736 sp_xmit() is not protected this way. We must therefore stop the queue
15737 otherwise the user gets to dump a buffer mostly of their choice into freed
15738 kernel pages.
15739
15740 Signed-off-by: Alan Cox <alan@linux.intel.com>
15741 Signed-off-by: David S. Miller <davem@davemloft.net>
15742
15743 drivers/net/hamradio/6pack.c | 6 ++++++
15744 1 files changed, 6 insertions(+), 0 deletions(-)
15745
15746 commit 5b64a833907cd230a3106aeba2304b2c1bcd116d
15747 Author: David Miller <davem@davemloft.net>
15748 Date: Thu Dec 17 16:05:32 2015 -0500
15749
15750 6pack: Fix use after free in sixpack_close().
15751
15752 Need to do the unregister_device() after all references to the driver
15753 private have been done.
15754
15755 Also we need to use del_timer_sync() for the timers so that we don't
15756 have any asynchronous references after the unregister.
15757
15758 Signed-off-by: David S. Miller <davem@davemloft.net>
15759
15760 drivers/net/hamradio/6pack.c | 8 ++++----
15761 1 files changed, 4 insertions(+), 4 deletions(-)
15762
15763 commit 4f9d532742656b3613d579220fd10c78f24ba37b
15764 Author: Rabin Vincent <rabin@rab.in>
15765 Date: Tue Jan 5 16:23:07 2016 +0100
15766
15767 net: filter: make JITs zero A for SKF_AD_ALU_XOR_X
15768
15769 The SKF_AD_ALU_XOR_X ancillary is not like the other ancillary data
15770 instructions since it XORs A with X while all the others replace A with
15771 some loaded value. All the BPF JITs fail to clear A if this is used as
15772 the first instruction in a filter. This was found using american fuzzy
15773 lop.
15774
15775 Add a helper to determine if A needs to be cleared given the first
15776 instruction in a filter, and use this in the JITs. Except for ARM, the
15777 rest have only been compile-tested.
15778
15779 Fixes: 3480593131e0 ("net: filter: get rid of BPF_S_* enum")
15780 Signed-off-by: Rabin Vincent <rabin@rab.in>
15781 Acked-by: Daniel Borkmann <daniel@iogearbox.net>
15782 Acked-by: Alexei Starovoitov <ast@kernel.org>
15783 Signed-off-by: David S. Miller <davem@davemloft.net>
15784
15785 arch/arm/net/bpf_jit_32.c | 16 +---------------
15786 arch/mips/net/bpf_jit.c | 16 +---------------
15787 arch/powerpc/net/bpf_jit_comp.c | 13 ++-----------
15788 arch/sparc/net/bpf_jit_comp.c | 17 ++---------------
15789 include/linux/filter.h | 19 +++++++++++++++++++
15790 5 files changed, 25 insertions(+), 56 deletions(-)
15791
15792 commit 570d88f8acfffda92b89ae2e1c47320d47256034
15793 Author: John Fastabend <john.fastabend@gmail.com>
15794 Date: Tue Jan 5 09:11:36 2016 -0800
15795
15796 net: sched: fix missing free per cpu on qstats
15797
15798 When a qdisc is using per cpu stats (currently just the ingress
15799 qdisc) only the bstats are being freed. This also free's the qstats.
15800
15801 Fixes: b0ab6f92752b9f9d8 ("net: sched: enable per cpu qstats")
15802 Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
15803 Acked-by: Eric Dumazet <edumazet@google.com>
15804 Acked-by: Daniel Borkmann <daniel@iogearbox.net>
15805 Signed-off-by: David S. Miller <davem@davemloft.net>
15806
15807 net/sched/sch_generic.c | 4 +++-
15808 1 files changed, 3 insertions(+), 1 deletions(-)
15809
15810 commit 32c0ebc51857ee83470a10dcb234d308a0ed1881
15811 Author: Rabin Vincent <rabin@rab.in>
15812 Date: Tue Jan 5 18:34:04 2016 +0100
15813
15814 ARM: net: bpf: fix zero right shift
15815
15816 The LSR instruction cannot be used to perform a zero right shift since a
15817 0 as the immediate value (imm5) in the LSR instruction encoding means
15818 that a shift of 32 is perfomed. See DecodeIMMShift() in the ARM ARM.
15819
15820 Make the JIT skip generation of the LSR if a zero-shift is requested.
15821
15822 This was found using american fuzzy lop.
15823
15824 Signed-off-by: Rabin Vincent <rabin@rab.in>
15825 Acked-by: Alexei Starovoitov <ast@kernel.org>
15826 Signed-off-by: David S. Miller <davem@davemloft.net>
15827
15828 arch/arm/net/bpf_jit_32.c | 3 ++-
15829 1 files changed, 2 insertions(+), 1 deletions(-)
15830
15831 commit 51f5d291750285efa4d4bbe84e5ec23dc00c8d2d
15832 Author: Brad Spengler <spender@grsecurity.net>
15833 Date: Wed Jan 6 20:35:57 2016 -0500
15834
15835 Don't perform hidden lookups in RBAC against the directory of
15836 a file being opened with O_CREAT, reported by Karl Witt
15837
15838 Conflicts:
15839
15840 fs/namei.c
15841
15842 fs/namei.c | 3 ---
15843 1 files changed, 0 insertions(+), 3 deletions(-)
15844
15845 commit 5a8266a6b2769ccdb447256f95bc2577a73cccd1
15846 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
15847 Date: Tue Jan 5 10:46:00 2016 +0100
15848
15849 bridge: Only call /sbin/bridge-stp for the initial network namespace
15850
15851 [I stole this patch from Eric Biederman. He wrote:]
15852
15853 > There is no defined mechanism to pass network namespace information
15854 > into /sbin/bridge-stp therefore don't even try to invoke it except
15855 > for bridge devices in the initial network namespace.
15856 >
15857 > It is possible for unprivileged users to cause /sbin/bridge-stp to be
15858 > invoked for any network device name which if /sbin/bridge-stp does not
15859 > guard against unreasonable arguments or being invoked twice on the
15860 > same network device could cause problems.
15861
15862 [Hannes: changed patch using netns_eq]
15863
15864 Cc: Eric W. Biederman <ebiederm@xmission.com>
15865 Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
15866 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
15867 Signed-off-by: David S. Miller <davem@davemloft.net>
15868
15869 net/bridge/br_stp_if.c | 5 ++++-
15870 1 files changed, 4 insertions(+), 1 deletions(-)
15871
15872 commit 650d535cc39f0aeff2f57e60b6617be25d3ef48b
15873 Author: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
15874 Date: Wed Dec 23 16:28:40 2015 -0200
15875
15876 sctp: use GFP_USER for user-controlled kmalloc
15877
15878 Commit cacc06215271 ("sctp: use GFP_USER for user-controlled kmalloc")
15879 missed two other spots.
15880
15881 For connectx, as it's more likely to be used by kernel users of the API,
15882 it detects if GFP_USER should be used or not.
15883
15884 Fixes: cacc06215271 ("sctp: use GFP_USER for user-controlled kmalloc")
15885 Reported-by: Dmitry Vyukov <dvyukov@google.com>
15886 Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
15887 Signed-off-by: David S. Miller <davem@davemloft.net>
15888
15889 net/sctp/socket.c | 9 ++++++---
15890 1 files changed, 6 insertions(+), 3 deletions(-)
15891
15892 commit 5718a1f63c41fc156f729783423b002763779d04
15893 Author: Florian Westphal <fw@strlen.de>
15894 Date: Thu Dec 31 14:26:33 2015 +0100
15895
15896 connector: bump skb->users before callback invocation
15897
15898 Dmitry reports memleak with syskaller program.
15899 Problem is that connector bumps skb usecount but might not invoke callback.
15900
15901 So move skb_get to where we invoke the callback.
15902
15903 Reported-by: Dmitry Vyukov <dvyukov@google.com>
15904 Signed-off-by: Florian Westphal <fw@strlen.de>
15905 Signed-off-by: David S. Miller <davem@davemloft.net>
15906
15907 drivers/connector/connector.c | 11 +++--------
15908 1 files changed, 3 insertions(+), 8 deletions(-)
15909
15910 commit 2e6372e6a97f8d642416899861f91777f44f13b7
15911 Author: Rainer Weikusat <rweikusat@mobileactivedefense.com>
15912 Date: Sun Jan 3 18:56:38 2016 +0000
15913
15914 af_unix: Fix splice-bind deadlock
15915
15916 On 2015/11/06, Dmitry Vyukov reported a deadlock involving the splice
15917 system call and AF_UNIX sockets,
15918
15919 http://lists.openwall.net/netdev/2015/11/06/24
15920
15921 The situation was analyzed as
15922
15923 (a while ago) A: socketpair()
15924 B: splice() from a pipe to /mnt/regular_file
15925 does sb_start_write() on /mnt
15926 C: try to freeze /mnt
15927 wait for B to finish with /mnt
15928 A: bind() try to bind our socket to /mnt/new_socket_name
15929 lock our socket, see it not bound yet
15930 decide that it needs to create something in /mnt
15931 try to do sb_start_write() on /mnt, block (it's
15932 waiting for C).
15933 D: splice() from the same pipe to our socket
15934 lock the pipe, see that socket is connected
15935 try to lock the socket, block waiting for A
15936 B: get around to actually feeding a chunk from
15937 pipe to file, try to lock the pipe. Deadlock.
15938
15939 on 2015/11/10 by Al Viro,
15940
15941 http://lists.openwall.net/netdev/2015/11/10/4
15942
15943 The patch fixes this by removing the kern_path_create related code from
15944 unix_mknod and executing it as part of unix_bind prior acquiring the
15945 readlock of the socket in question. This means that A (as used above)
15946 will sb_start_write on /mnt before it acquires the readlock, hence, it
15947 won't indirectly block B which first did a sb_start_write and then
15948 waited for a thread trying to acquire the readlock. Consequently, A
15949 being blocked by C waiting for B won't cause a deadlock anymore
15950 (effectively, both A and B acquire two locks in opposite order in the
15951 situation described above).
15952
15953 Dmitry Vyukov(<dvyukov@google.com>) tested the original patch.
15954
15955 Signed-off-by: Rainer Weikusat <rweikusat@mobileactivedefense.com>
15956 Signed-off-by: David S. Miller <davem@davemloft.net>
15957
15958 Conflicts:
15959
15960 net/unix/af_unix.c
15961
15962 net/unix/af_unix.c | 70 +++++++++++++++++++++++++++++++--------------------
15963 1 files changed, 42 insertions(+), 28 deletions(-)
15964
15965 commit 2e729e557c571f3253e32472cd7d382ac16cf1c3
15966 Author: Qiu Peiyang <peiyangx.qiu@intel.com>
15967 Date: Thu Dec 31 13:11:28 2015 +0800
15968
15969 tracing: Fix setting of start_index in find_next()
15970
15971 When we do cat /sys/kernel/debug/tracing/printk_formats, we hit kernel
15972 panic at t_show.
15973
15974 general protection fault: 0000 [#1] PREEMPT SMP
15975 CPU: 0 PID: 2957 Comm: sh Tainted: G W O 3.14.55-x86_64-01062-gd4acdc7 #2
15976 RIP: 0010:[<ffffffff811375b2>]
15977 [<ffffffff811375b2>] t_show+0x22/0xe0
15978 RSP: 0000:ffff88002b4ebe80 EFLAGS: 00010246
15979 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000004
15980 RDX: 0000000000000004 RSI: ffffffff81fd26a6 RDI: ffff880032f9f7b1
15981 RBP: ffff88002b4ebe98 R08: 0000000000001000 R09: 000000000000ffec
15982 R10: 0000000000000000 R11: 000000000000000f R12: ffff880004d9b6c0
15983 R13: 7365725f6d706400 R14: ffff880004d9b6c0 R15: ffffffff82020570
15984 FS: 0000000000000000(0000) GS:ffff88003aa00000(0063) knlGS:00000000f776bc40
15985 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
15986 CR2: 00000000f6c02ff0 CR3: 000000002c2b3000 CR4: 00000000001007f0
15987 Call Trace:
15988 [<ffffffff811dc076>] seq_read+0x2f6/0x3e0
15989 [<ffffffff811b749b>] vfs_read+0x9b/0x160
15990 [<ffffffff811b7f69>] SyS_read+0x49/0xb0
15991 [<ffffffff81a3a4b9>] ia32_do_call+0x13/0x13
15992 ---[ end trace 5bd9eb630614861e ]---
15993 Kernel panic - not syncing: Fatal exception
15994
15995 When the first time find_next calls find_next_mod_format, it should
15996 iterate the trace_bprintk_fmt_list to find the first print format of
15997 the module. However in current code, start_index is smaller than *pos
15998 at first, and code will not iterate the list. Latter container_of will
15999 get the wrong address with former v, which will cause mod_fmt be a
16000 meaningless object and so is the returned mod_fmt->fmt.
16001
16002 This patch will fix it by correcting the start_index. After fixed,
16003 when the first time calls find_next_mod_format, start_index will be
16004 equal to *pos, and code will iterate the trace_bprintk_fmt_list to
16005 get the right module printk format, so is the returned mod_fmt->fmt.
16006
16007 Link: http://lkml.kernel.org/r/5684B900.9000309@intel.com
16008
16009 Cc: stable@vger.kernel.org # 3.12+
16010 Fixes: 102c9323c35a8 "tracing: Add __tracepoint_string() to export string pointers"
16011 Signed-off-by: Qiu Peiyang <peiyangx.qiu@intel.com>
16012 Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
16013
16014 kernel/trace/trace_printk.c | 1 +
16015 1 files changed, 1 insertions(+), 0 deletions(-)
16016
16017 commit 0994af4b1930f32aa493dc08145cd304f8bfc8f4
16018 Author: Al Viro <viro@zeniv.linux.org.uk>
16019 Date: Mon Dec 28 20:47:08 2015 -0500
16020
16021 [PATCH] arm: fix handling of F_OFD_... in oabi_fcntl64()
16022
16023 Cc: stable@vger.kernel.org # 3.15+
16024 Reviewed-by: Jeff Layton <jeff.layton@primarydata.com>
16025 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
16026
16027 arch/arm/kernel/sys_oabi-compat.c | 73 +++++++++++++++++++------------------
16028 1 files changed, 37 insertions(+), 36 deletions(-)
16029
16030 commit 4ed030f65dcf3e6b0128032a49a7d75f947fa351
16031 Merge: de243c2 3adc55a
16032 Author: Brad Spengler <spender@grsecurity.net>
16033 Date: Tue Jan 5 18:10:10 2016 -0500
16034
16035 Merge branch 'pax-test' into grsec-test
16036
16037 commit 3adc55a5acfa429c2a7cc883aef08b960c0079b0
16038 Author: Brad Spengler <spender@grsecurity.net>
16039 Date: Tue Jan 5 18:08:53 2016 -0500
16040
16041 Update to pax-linux-4.3.3-test16.patch:
16042 - small cleanup in entry_64.S on x86
16043 - Emese fixed the initify plugin to recursively check variable initializers, reported by Rasmus Villemoes
16044 - fixed an integer truncation of a partially uninitialized value bug in em_pop_sreg, reported by fx3 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4354)
16045 - fixed alternatives patching of call insns under KERNEXEC/i386, reported by fly_a320 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4305) and TTgrsec (https://forums.grsecurity.net/viewtopic.php?f=3&t=4353)
16046 - fixed a size overflow false positive that triggered in tcp_parse_options on arm, reported by iamb (https://forums.grsecurity.net/viewtopic.php?f=3&t=4350&p=15917#p15916)
16047 - fixed a boot crash on amd64 with KERNEXEC/OR and CONTEXT_TRACKING, reported by Klaus Kusche (https://bugs.gentoo.org/show_bug.cgi?id=570420)
16048
16049 arch/x86/entry/entry_64.S | 60 +++++-----
16050 arch/x86/kernel/alternative.c | 2 +-
16051 arch/x86/kvm/emulate.c | 4 +-
16052 tools/gcc/initify_plugin.c | 123 +++++++++----------
16053 .../disable_size_overflow_hash.data | 4 +-
16054 .../size_overflow_plugin/size_overflow_hash.data | 2 -
16055 6 files changed, 93 insertions(+), 102 deletions(-)
16056
16057 commit de243c26efd0e423ca92db825af2c3f8eb1ca043
16058 Author: Brad Spengler <spender@grsecurity.net>
16059 Date: Tue Dec 29 18:01:24 2015 -0500
16060
16061 It was noticed during an internal audit that the code under GRKERNSEC_PROC_MEMMAP
16062 which aimed to enforce a 16MB minimum on RLIMIT_DATA for suid/sgid binaries only
16063 did so if RLIMIT_DATA was set lower than PAGE_SIZE.
16064
16065 This addition was only supplemental as GRKERNSEC_BRUTE is the main defense
16066 against suid/sgid attacks and the flaw above would only eliminate the extra
16067 entropy provided for the brk-managed heap, still leaving it with the minimum
16068 of 16-bit entropy for mmap on x86 and 28 on x64.
16069
16070 mm/mmap.c | 2 +-
16071 1 files changed, 1 insertions(+), 1 deletions(-)
16072
16073 commit 8e264cfe47e5f08cdc9ed009a630277206cd2534
16074 Merge: 436201b 2584340
16075 Author: Brad Spengler <spender@grsecurity.net>
16076 Date: Mon Dec 28 20:30:01 2015 -0500
16077
16078 Merge branch 'pax-test' into grsec-test
16079
16080 commit 2584340eab494e64ec1bf9eb5b0d1ae31f926306
16081 Author: Brad Spengler <spender@grsecurity.net>
16082 Date: Mon Dec 28 20:29:28 2015 -0500
16083
16084 Update to pax-linux-4.3.3-test14.patch:
16085 - fixed an integer sign conversion error in i2c_dw_pci_probe caught by the size overflow plugin, reported by Jean Lucas and ganymede (https://forums.grsecurity.net/viewtopic.php?f=3&t=4349)
16086 - fixed shutdown crash with tboot and KERNEXEC, reported by perfinion
16087 - fixed a few false positive and one real size overflow reports in hyperv, reported by hunger
16088 - fixed compile regressions on armv5, reported by iamb (https://forums.grsecurity.net/viewtopic.php?f=3&t=4350)
16089 - fixed an assert in the initify plugin that triggered in vic_register on arm
16090
16091 arch/arm/include/asm/atomic.h | 7 +++++--
16092 arch/arm/include/asm/domain.h | 5 ++---
16093 arch/x86/kernel/tboot.c | 14 +++++++++-----
16094 drivers/hv/channel.c | 4 +---
16095 drivers/i2c/busses/i2c-designware-pcidrv.c | 2 +-
16096 drivers/net/hyperv/rndis_filter.c | 3 +--
16097 fs/exec.c | 4 ++--
16098 include/linux/atomic.h | 15 ---------------
16099 net/core/skbuff.c | 3 ++-
16100 tools/gcc/initify_plugin.c | 4 +++-
16101 10 files changed, 26 insertions(+), 35 deletions(-)
16102
16103 commit 436201b6626b488d173c8076447000077c27b84a
16104 Author: David Howells <dhowells@redhat.com>
16105 Date: Fri Dec 18 01:34:26 2015 +0000
16106
16107 KEYS: Fix race between read and revoke
16108
16109 This fixes CVE-2015-7550.
16110
16111 There's a race between keyctl_read() and keyctl_revoke(). If the revoke
16112 happens between keyctl_read() checking the validity of a key and the key's
16113 semaphore being taken, then the key type read method will see a revoked key.
16114
16115 This causes a problem for the user-defined key type because it assumes in
16116 its read method that there will always be a payload in a non-revoked key
16117 and doesn't check for a NULL pointer.
16118
16119 Fix this by making keyctl_read() check the validity of a key after taking
16120 semaphore instead of before.
16121
16122 I think the bug was introduced with the original keyrings code.
16123
16124 This was discovered by a multithreaded test program generated by syzkaller
16125 (http://github.com/google/syzkaller). Here's a cleaned up version:
16126
16127 #include <sys/types.h>
16128 #include <keyutils.h>
16129 #include <pthread.h>
16130 void *thr0(void *arg)
16131 {
16132 key_serial_t key = (unsigned long)arg;
16133 keyctl_revoke(key);
16134 return 0;
16135 }
16136 void *thr1(void *arg)
16137 {
16138 key_serial_t key = (unsigned long)arg;
16139 char buffer[16];
16140 keyctl_read(key, buffer, 16);
16141 return 0;
16142 }
16143 int main()
16144 {
16145 key_serial_t key = add_key("user", "%", "foo", 3, KEY_SPEC_USER_KEYRING);
16146 pthread_t th[5];
16147 pthread_create(&th[0], 0, thr0, (void *)(unsigned long)key);
16148 pthread_create(&th[1], 0, thr1, (void *)(unsigned long)key);
16149 pthread_create(&th[2], 0, thr0, (void *)(unsigned long)key);
16150 pthread_create(&th[3], 0, thr1, (void *)(unsigned long)key);
16151 pthread_join(th[0], 0);
16152 pthread_join(th[1], 0);
16153 pthread_join(th[2], 0);
16154 pthread_join(th[3], 0);
16155 return 0;
16156 }
16157
16158 Build as:
16159
16160 cc -o keyctl-race keyctl-race.c -lkeyutils -lpthread
16161
16162 Run as:
16163
16164 while keyctl-race; do :; done
16165
16166 as it may need several iterations to crash the kernel. The crash can be
16167 summarised as:
16168
16169 BUG: unable to handle kernel NULL pointer dereference at 0000000000000010
16170 IP: [<ffffffff81279b08>] user_read+0x56/0xa3
16171 ...
16172 Call Trace:
16173 [<ffffffff81276aa9>] keyctl_read_key+0xb6/0xd7
16174 [<ffffffff81277815>] SyS_keyctl+0x83/0xe0
16175 [<ffffffff815dbb97>] entry_SYSCALL_64_fastpath+0x12/0x6f
16176
16177 Reported-by: Dmitry Vyukov <dvyukov@google.com>
16178 Signed-off-by: David Howells <dhowells@redhat.com>
16179 Tested-by: Dmitry Vyukov <dvyukov@google.com>
16180 Cc: stable@vger.kernel.org
16181 Signed-off-by: James Morris <james.l.morris@oracle.com>
16182
16183 security/keys/keyctl.c | 18 +++++++++---------
16184 1 files changed, 9 insertions(+), 9 deletions(-)
16185
16186 commit 195cea04477025da4a2078bd3e1fb7c4e11206c2
16187 Author: Brad Spengler <spender@grsecurity.net>
16188 Date: Tue Dec 22 20:44:01 2015 -0500
16189
16190 Add new kernel command-line param: pax_size_overflow_report_only
16191 If a user triggers a size_overflow violation that makes it difficult
16192 to obtain the call trace without serial console/net console, they can
16193 use this option to provide that information to us
16194
16195 Documentation/kernel-parameters.txt | 5 +++++
16196 fs/exec.c | 12 +++++++++---
16197 init/main.c | 11 +++++++++++
16198 3 files changed, 25 insertions(+), 3 deletions(-)
16199
16200 commit 4254a8da5851df8c08cdca5c392916e8c105408d
16201 Author: WANG Cong <xiyou.wangcong@gmail.com>
16202 Date: Mon Dec 21 10:55:45 2015 -0800
16203
16204 addrconf: always initialize sysctl table data
16205
16206 When sysctl performs restrict writes, it allows to write from
16207 a middle position of a sysctl file, which requires us to initialize
16208 the table data before calling proc_dostring() for the write case.
16209
16210 Fixes: 3d1bec99320d ("ipv6: introduce secret_stable to ipv6_devconf")
16211 Reported-by: Sasha Levin <sasha.levin@oracle.com>
16212 Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
16213 Tested-by: Sasha Levin <sasha.levin@oracle.com>
16214 Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
16215 Signed-off-by: David S. Miller <davem@davemloft.net>
16216
16217 net/ipv6/addrconf.c | 11 ++++-------
16218 1 files changed, 4 insertions(+), 7 deletions(-)
16219
16220 commit f8002863fb06c363180637046947a78a6ccb3d33
16221 Author: WANG Cong <xiyou.wangcong@gmail.com>
16222 Date: Wed Dec 16 23:39:04 2015 -0800
16223
16224 net: check both type and procotol for tcp sockets
16225
16226 Dmitry reported the following out-of-bound access:
16227
16228 Call Trace:
16229 [<ffffffff816cec2e>] __asan_report_load4_noabort+0x3e/0x40
16230 mm/kasan/report.c:294
16231 [<ffffffff84affb14>] sock_setsockopt+0x1284/0x13d0 net/core/sock.c:880
16232 [< inline >] SYSC_setsockopt net/socket.c:1746
16233 [<ffffffff84aed7ee>] SyS_setsockopt+0x1fe/0x240 net/socket.c:1729
16234 [<ffffffff85c18c76>] entry_SYSCALL_64_fastpath+0x16/0x7a
16235 arch/x86/entry/entry_64.S:185
16236
16237 This is because we mistake a raw socket as a tcp socket.
16238 We should check both sk->sk_type and sk->sk_protocol to ensure
16239 it is a tcp socket.
16240
16241 Willem points out __skb_complete_tx_timestamp() needs to fix as well.
16242
16243 Reported-by: Dmitry Vyukov <dvyukov@google.com>
16244 Cc: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
16245 Cc: Eric Dumazet <eric.dumazet@gmail.com>
16246 Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
16247 Acked-by: Willem de Bruijn <willemb@google.com>
16248 Signed-off-by: David S. Miller <davem@davemloft.net>
16249
16250 net/core/skbuff.c | 3 ++-
16251 net/core/sock.c | 3 ++-
16252 2 files changed, 4 insertions(+), 2 deletions(-)
16253
16254 commit bd6b3399804470a4ad8f34229469ca149dceba3d
16255 Author: Colin Ian King <colin.king@canonical.com>
16256 Date: Fri Dec 18 14:22:01 2015 -0800
16257
16258 proc: fix -ESRCH error when writing to /proc/$pid/coredump_filter
16259
16260 Writing to /proc/$pid/coredump_filter always returns -ESRCH because commit
16261 774636e19ed51 ("proc: convert to kstrto*()/kstrto*_from_user()") removed
16262 the setting of ret after the get_proc_task call and incorrectly left it as
16263 -ESRCH. Instead, return 0 when successful.
16264
16265 Example breakage:
16266
16267 echo 0 > /proc/self/coredump_filter
16268 bash: echo: write error: No such process
16269
16270 Fixes: 774636e19ed51 ("proc: convert to kstrto*()/kstrto*_from_user()")
16271 Signed-off-by: Colin Ian King <colin.king@canonical.com>
16272 Acked-by: Kees Cook <keescook@chromium.org>
16273 Cc: <stable@vger.kernel.org> [4.3+]
16274 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
16275 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
16276
16277 fs/proc/base.c | 1 +
16278 1 files changed, 1 insertions(+), 0 deletions(-)
16279
16280 commit b28aca2b99ed08546778355fb9402c503ff9b29e
16281 Author: Junichi Nomura <j-nomura@ce.jp.nec.com>
16282 Date: Tue Dec 22 10:23:44 2015 -0700
16283
16284 block: ensure to split after potentially bouncing a bio
16285
16286 blk_queue_bio() does split then bounce, which makes the segment
16287 counting based on pages before bouncing and could go wrong. Move
16288 the split to after bouncing, like we do for blk-mq, and the we
16289 fix the issue of having the bio count for segments be wrong.
16290
16291 Fixes: 54efd50bfd87 ("block: make generic_make_request handle arbitrarily sized bios")
16292 Cc: stable@vger.kernel.org
16293 Tested-by: Artem S. Tashkinov <t.artem@lycos.com>
16294 Signed-off-by: Jens Axboe <axboe@fb.com>
16295
16296 block/blk-core.c | 4 ++--
16297 1 files changed, 2 insertions(+), 2 deletions(-)
16298
16299 commit e62a25e917a9e5b35ddd5b4f1b5e5e30fbd2e84c
16300 Merge: f6f63ae ec72fa5
16301 Author: Brad Spengler <spender@grsecurity.net>
16302 Date: Tue Dec 22 19:46:26 2015 -0500
16303
16304 Merge branch 'pax-test' into grsec-test
16305
16306 commit ec72fa5f8d9cb4e223bad1b8b5c2e1071c222f2a
16307 Author: Brad Spengler <spender@grsecurity.net>
16308 Date: Tue Dec 22 19:45:51 2015 -0500
16309
16310 Update to pax-linux-4.3.3-test13.patch:
16311 - Emese fixed a (probably) false positive integer truncation in xfs_da_grow_inode_int, reported by jdkbx (http://forums.grsecurity.net/viewtopic.php?f=3&t=4346)
16312 - fixed a size overflow in btrfs/try_merge_map, reported by Alex W (https://bugs.archlinux.org/task/47173) and mathias and dwokfur (https://forums.grsecurity.net/viewtopic.php?f=3&t=4344)
16313
16314 arch/arm/mm/fault.c | 2 +-
16315 arch/x86/mm/fault.c | 2 +-
16316 fs/btrfs/extent_map.c | 8 ++++++--
16317 fs/xfs/libxfs/xfs_da_btree.c | 4 +++-
16318 4 files changed, 11 insertions(+), 5 deletions(-)
16319
16320 commit f6f63ae154cd45028add1dc41957878060d77fbf
16321 Author: Brad Spengler <spender@grsecurity.net>
16322 Date: Thu Dec 17 18:43:44 2015 -0500
16323
16324 ptrace_has_cap() checks whether the current process should be
16325 treated as having a certain capability for ptrace checks
16326 against another process. Until now, this was equivalent to
16327 has_ns_capability(current, target_ns, CAP_SYS_PTRACE).
16328
16329 However, if a root-owned process wants to enter a user
16330 namespace for some reason without knowing who owns it and
16331 therefore can't change to the namespace owner's uid and gid
16332 before entering, as soon as it has entered the namespace,
16333 the namespace owner can attach to it via ptrace and thereby
16334 gain access to its uid and gid.
16335
16336 While it is possible for the entering process to switch to
16337 the uid of a claimed namespace owner before entering,
16338 causing the attempt to enter to fail if the claimed uid is
16339 wrong, this doesn't solve the problem of determining an
16340 appropriate gid.
16341
16342 With this change, the entering process can first enter the
16343 namespace and then safely inspect the namespace's
16344 properties, e.g. through /proc/self/{uid_map,gid_map},
16345 assuming that the namespace owner doesn't have access to
16346 uid 0.
16347 Signed-off-by: Jann Horn <jann@thejh.net>
16348
16349 kernel/ptrace.c | 30 +++++++++++++++++++++++++-----
16350 1 files changed, 25 insertions(+), 5 deletions(-)
16351
16352 commit e314f0fb63020f61543b401ff594e953c2c304e5
16353 Author: tadeusz.struk@intel.com <tadeusz.struk@intel.com>
16354 Date: Tue Dec 15 10:46:17 2015 -0800
16355
16356 net: fix uninitialized variable issue
16357
16358 msg_iocb needs to be initialized on the recv/recvfrom path.
16359 Otherwise afalg will wrongly interpret it as an async call.
16360
16361 Cc: stable@vger.kernel.org
16362 Reported-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
16363 Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
16364 Signed-off-by: David S. Miller <davem@davemloft.net>
16365
16366 net/socket.c | 1 +
16367 1 files changed, 1 insertions(+), 0 deletions(-)
16368
16369 commit a3f56a43ad56b8fcaf04f6327636ed2f5970de3b
16370 Merge: dfa764c 142edcf
16371 Author: Brad Spengler <spender@grsecurity.net>
16372 Date: Wed Dec 16 21:01:17 2015 -0500
16373
16374 Merge branch 'pax-test' into grsec-test
16375
16376 commit 142edcf1005a57fb8887823565cf0bafad2f313c
16377 Author: Brad Spengler <spender@grsecurity.net>
16378 Date: Wed Dec 16 21:00:57 2015 -0500
16379
16380 Update to pax-linux-4.3.3-test12.patch:
16381 - Emese fixed a size overflow false positive in reiserfs/leaf_paste_entries, reported by Christian Apeltauer (https://bugs.gentoo.org/show_bug.cgi?id=568046)
16382 - fixed a bunch of int/size_t mismatches in the drivers/tty/n_tty.c code causing size overflow false positives, reported by Toralf Förster, mathias (https://forums.grsecurity.net/viewtopic.php?f=3&t=4342), N8Fear (https://forums.grsecurity.net/viewtopic.php?f=3&t=4341)
16383
16384 drivers/tty/n_tty.c | 16 ++++++++--------
16385 .../disable_size_overflow_hash.data | 2 ++
16386 .../size_overflow_plugin/size_overflow_hash.data | 6 ++----
16387 3 files changed, 12 insertions(+), 12 deletions(-)
16388
16389 commit dfa764cc549892a5bfc1083cac78b99032cae577
16390 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
16391 Date: Tue Dec 15 22:59:12 2015 +0100
16392
16393 ipv6: automatically enable stable privacy mode if stable_secret set
16394
16395 Bjørn reported that while we switch all interfaces to privacy stable mode
16396 when setting the secret, we don't set this mode for new interfaces. This
16397 does not make sense, so change this behaviour.
16398
16399 Fixes: 622c81d57b392cc ("ipv6: generation of stable privacy addresses for link-local and autoconf")
16400 Reported-by: Bjørn Mork <bjorn@mork.no>
16401 Cc: Bjørn Mork <bjorn@mork.no>
16402 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
16403 Signed-off-by: David S. Miller <davem@davemloft.net>
16404
16405 net/ipv6/addrconf.c | 6 ++++++
16406 1 files changed, 6 insertions(+), 0 deletions(-)
16407
16408 commit c2815a1fee03f222273e77c14e43f960da06f35a
16409 Author: Brad Spengler <spender@grsecurity.net>
16410 Date: Wed Dec 16 13:03:38 2015 -0500
16411
16412 Work around upstream limitation on the number of thread info flags causing a compilation error
16413 Reported by fabled at http://forums.grsecurity.net/viewtopic.php?f=3&t=4339
16414
16415 arch/arm/kernel/entry-common.S | 8 ++++++--
16416 1 files changed, 6 insertions(+), 2 deletions(-)
16417
16418 commit 8c9ae168e09ae49324d709d76d73d9fc4ca477e1
16419 Author: Brad Spengler <spender@grsecurity.net>
16420 Date: Tue Dec 15 19:03:41 2015 -0500
16421
16422 Initial import of grsecurity 3.1 for Linux 4.3.3
16423
16424 Documentation/dontdiff | 2 +
16425 Documentation/kernel-parameters.txt | 7 +
16426 Documentation/sysctl/kernel.txt | 15 +
16427 Makefile | 18 +-
16428 arch/alpha/include/asm/cache.h | 4 +-
16429 arch/alpha/kernel/osf_sys.c | 12 +-
16430 arch/arc/Kconfig | 1 +
16431 arch/arm/Kconfig | 1 +
16432 arch/arm/Kconfig.debug | 1 +
16433 arch/arm/include/asm/thread_info.h | 7 +-
16434 arch/arm/kernel/process.c | 4 +-
16435 arch/arm/kernel/ptrace.c | 9 +
16436 arch/arm/kernel/traps.c | 7 +-
16437 arch/arm/mm/Kconfig | 2 +-
16438 arch/arm/mm/fault.c | 40 +-
16439 arch/arm/mm/mmap.c | 8 +-
16440 arch/arm/net/bpf_jit_32.c | 51 +-
16441 arch/arm64/Kconfig.debug | 1 +
16442 arch/avr32/include/asm/cache.h | 4 +-
16443 arch/blackfin/Kconfig.debug | 1 +
16444 arch/blackfin/include/asm/cache.h | 3 +-
16445 arch/cris/include/arch-v10/arch/cache.h | 3 +-
16446 arch/cris/include/arch-v32/arch/cache.h | 3 +-
16447 arch/frv/include/asm/cache.h | 3 +-
16448 arch/frv/mm/elf-fdpic.c | 4 +-
16449 arch/hexagon/include/asm/cache.h | 6 +-
16450 arch/ia64/Kconfig | 1 +
16451 arch/ia64/include/asm/cache.h | 3 +-
16452 arch/ia64/kernel/sys_ia64.c | 2 +
16453 arch/ia64/mm/hugetlbpage.c | 2 +
16454 arch/m32r/include/asm/cache.h | 4 +-
16455 arch/m68k/include/asm/cache.h | 4 +-
16456 arch/metag/mm/hugetlbpage.c | 1 +
16457 arch/microblaze/include/asm/cache.h | 3 +-
16458 arch/mips/Kconfig | 1 +
16459 arch/mips/include/asm/cache.h | 3 +-
16460 arch/mips/include/asm/thread_info.h | 11 +-
16461 arch/mips/kernel/irq.c | 3 +
16462 arch/mips/kernel/ptrace.c | 9 +
16463 arch/mips/mm/mmap.c | 4 +-
16464 arch/mn10300/proc-mn103e010/include/proc/cache.h | 4 +-
16465 arch/mn10300/proc-mn2ws0050/include/proc/cache.h | 4 +-
16466 arch/openrisc/include/asm/cache.h | 4 +-
16467 arch/parisc/include/asm/cache.h | 5 +-
16468 arch/parisc/kernel/sys_parisc.c | 4 +
16469 arch/powerpc/Kconfig | 1 +
16470 arch/powerpc/include/asm/cache.h | 4 +-
16471 arch/powerpc/include/asm/thread_info.h | 5 +-
16472 arch/powerpc/kernel/Makefile | 2 +
16473 arch/powerpc/kernel/irq.c | 3 +
16474 arch/powerpc/kernel/process.c | 10 +-
16475 arch/powerpc/kernel/ptrace.c | 14 +
16476 arch/powerpc/kernel/traps.c | 5 +
16477 arch/powerpc/mm/slice.c | 2 +-
16478 arch/s390/Kconfig.debug | 1 +
16479 arch/s390/include/asm/cache.h | 4 +-
16480 arch/score/include/asm/cache.h | 4 +-
16481 arch/sh/include/asm/cache.h | 3 +-
16482 arch/sh/mm/mmap.c | 6 +-
16483 arch/sparc/include/asm/cache.h | 4 +-
16484 arch/sparc/include/asm/pgalloc_64.h | 1 +
16485 arch/sparc/include/asm/thread_info_64.h | 8 +-
16486 arch/sparc/kernel/process_32.c | 6 +-
16487 arch/sparc/kernel/process_64.c | 8 +-
16488 arch/sparc/kernel/ptrace_64.c | 14 +
16489 arch/sparc/kernel/sys_sparc_64.c | 8 +-
16490 arch/sparc/kernel/syscalls.S | 8 +-
16491 arch/sparc/kernel/traps_32.c | 8 +-
16492 arch/sparc/kernel/traps_64.c | 28 +-
16493 arch/sparc/kernel/unaligned_64.c | 2 +-
16494 arch/sparc/mm/fault_64.c | 2 +-
16495 arch/sparc/mm/hugetlbpage.c | 15 +-
16496 arch/tile/Kconfig | 1 +
16497 arch/tile/include/asm/cache.h | 3 +-
16498 arch/tile/mm/hugetlbpage.c | 2 +
16499 arch/um/include/asm/cache.h | 3 +-
16500 arch/unicore32/include/asm/cache.h | 6 +-
16501 arch/x86/Kconfig | 21 +
16502 arch/x86/Kconfig.debug | 2 +
16503 arch/x86/entry/common.c | 14 +
16504 arch/x86/entry/entry_32.S | 2 +-
16505 arch/x86/entry/entry_64.S | 2 +-
16506 arch/x86/ia32/ia32_aout.c | 2 +
16507 arch/x86/include/asm/floppy.h | 20 +-
16508 arch/x86/include/asm/fpu/types.h | 69 +-
16509 arch/x86/include/asm/io.h | 2 +-
16510 arch/x86/include/asm/page.h | 12 +-
16511 arch/x86/include/asm/paravirt_types.h | 23 +-
16512 arch/x86/include/asm/processor.h | 12 +-
16513 arch/x86/include/asm/thread_info.h | 6 +-
16514 arch/x86/include/asm/uaccess.h | 2 +-
16515 arch/x86/kernel/dumpstack.c | 10 +-
16516 arch/x86/kernel/dumpstack_32.c | 2 +-
16517 arch/x86/kernel/dumpstack_64.c | 2 +-
16518 arch/x86/kernel/ioport.c | 13 +
16519 arch/x86/kernel/irq_32.c | 3 +
16520 arch/x86/kernel/irq_64.c | 4 +
16521 arch/x86/kernel/ldt.c | 18 +
16522 arch/x86/kernel/msr.c | 10 +
16523 arch/x86/kernel/ptrace.c | 14 +
16524 arch/x86/kernel/signal.c | 9 +-
16525 arch/x86/kernel/sys_i386_32.c | 9 +-
16526 arch/x86/kernel/sys_x86_64.c | 8 +-
16527 arch/x86/kernel/traps.c | 5 +
16528 arch/x86/kernel/verify_cpu.S | 1 +
16529 arch/x86/kernel/vm86_32.c | 15 +
16530 arch/x86/kvm/svm.c | 14 +-
16531 arch/x86/mm/fault.c | 12 +-
16532 arch/x86/mm/hugetlbpage.c | 15 +-
16533 arch/x86/mm/init.c | 66 +-
16534 arch/x86/mm/init_32.c | 6 +-
16535 arch/x86/net/bpf_jit_comp.c | 4 +
16536 arch/x86/platform/efi/efi_64.c | 2 +-
16537 arch/x86/xen/Kconfig | 1 +
16538 arch/xtensa/variants/dc232b/include/variant/core.h | 2 +-
16539 arch/xtensa/variants/fsf/include/variant/core.h | 3 +-
16540 crypto/ablkcipher.c | 2 +-
16541 crypto/blkcipher.c | 2 +-
16542 crypto/scatterwalk.c | 10 +-
16543 drivers/acpi/acpica/hwxfsleep.c | 11 +-
16544 drivers/acpi/custom_method.c | 4 +
16545 drivers/block/cciss.h | 30 +-
16546 drivers/block/smart1,2.h | 40 +-
16547 drivers/cdrom/cdrom.c | 2 +-
16548 drivers/char/Kconfig | 4 +-
16549 drivers/char/genrtc.c | 1 +
16550 drivers/char/ipmi/ipmi_si_intf.c | 8 +-
16551 drivers/char/mem.c | 17 +
16552 drivers/char/random.c | 5 +-
16553 drivers/cpufreq/sparc-us3-cpufreq.c | 2 -
16554 drivers/crypto/nx/nx-aes-ccm.c | 2 +-
16555 drivers/crypto/nx/nx-aes-gcm.c | 2 +-
16556 drivers/crypto/talitos.c | 2 +-
16557 drivers/firewire/ohci.c | 4 +
16558 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 70 +-
16559 drivers/gpu/drm/nouveau/nouveau_ttm.c | 28 +-
16560 drivers/gpu/drm/ttm/ttm_bo_manager.c | 10 +-
16561 drivers/gpu/drm/virtio/virtgpu_ttm.c | 10 +-
16562 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c | 10 +-
16563 drivers/hid/hid-wiimote-debug.c | 2 +-
16564 drivers/infiniband/hw/nes/nes_cm.c | 22 +-
16565 drivers/iommu/Kconfig | 1 +
16566 drivers/iommu/amd_iommu.c | 14 +-
16567 drivers/isdn/gigaset/bas-gigaset.c | 32 +-
16568 drivers/isdn/gigaset/ser-gigaset.c | 32 +-
16569 drivers/isdn/gigaset/usb-gigaset.c | 32 +-
16570 drivers/isdn/hisax/config.c | 2 +-
16571 drivers/isdn/hisax/hfc_pci.c | 2 +-
16572 drivers/isdn/hisax/hfc_sx.c | 2 +-
16573 drivers/isdn/hisax/q931.c | 6 +-
16574 drivers/isdn/i4l/isdn_concap.c | 6 +-
16575 drivers/isdn/i4l/isdn_x25iface.c | 16 +-
16576 drivers/md/bcache/Kconfig | 1 +
16577 drivers/md/raid5.c | 8 +
16578 drivers/media/pci/solo6x10/solo6x10-g723.c | 2 +-
16579 drivers/media/platform/sti/c8sectpfe/Kconfig | 1 +
16580 drivers/media/platform/vivid/vivid-osd.c | 1 +
16581 drivers/media/radio/radio-cadet.c | 5 +-
16582 drivers/media/usb/dvb-usb/cinergyT2-core.c | 91 +-
16583 drivers/media/usb/dvb-usb/cinergyT2-fe.c | 182 +-
16584 drivers/media/usb/dvb-usb/dvb-usb-firmware.c | 37 +-
16585 drivers/media/usb/dvb-usb/technisat-usb2.c | 75 +-
16586 drivers/message/fusion/mptbase.c | 9 +
16587 drivers/misc/sgi-xp/xp_main.c | 12 +-
16588 drivers/net/ethernet/brocade/bna/bna_enet.c | 8 +-
16589 drivers/net/ppp/pppoe.c | 14 +-
16590 drivers/net/ppp/pptp.c | 6 +
16591 drivers/net/slip/slhc.c | 3 +
16592 drivers/net/wan/lmc/lmc_media.c | 97 +-
16593 drivers/net/wan/x25_asy.c | 6 +-
16594 drivers/net/wan/z85230.c | 24 +-
16595 drivers/net/wireless/ath/ath9k/Kconfig | 1 -
16596 drivers/net/wireless/zd1211rw/zd_usb.c | 2 +-
16597 drivers/pci/pci-sysfs.c | 2 +-
16598 drivers/pci/proc.c | 9 +
16599 drivers/platform/x86/asus-wmi.c | 12 +
16600 drivers/rtc/rtc-dev.c | 3 +
16601 drivers/scsi/bfa/bfa_fcs.c | 19 +-
16602 drivers/scsi/bfa/bfa_fcs_lport.c | 29 +-
16603 drivers/scsi/bfa/bfa_modules.h | 12 +-
16604 drivers/scsi/hpsa.h | 40 +-
16605 drivers/staging/dgnc/dgnc_mgmt.c | 1 +
16606 drivers/staging/lustre/lustre/ldlm/ldlm_flock.c | 2 +-
16607 drivers/staging/lustre/lustre/libcfs/module.c | 10 +-
16608 drivers/target/target_core_sbc.c | 17 +-
16609 drivers/target/target_core_transport.c | 14 +-
16610 drivers/tty/serial/uartlite.c | 4 +-
16611 drivers/tty/sysrq.c | 2 +-
16612 drivers/tty/vt/keyboard.c | 22 +-
16613 drivers/uio/uio.c | 6 +-
16614 drivers/usb/core/hub.c | 5 +
16615 drivers/usb/gadget/function/f_uac1.c | 1 +
16616 drivers/usb/gadget/function/u_uac1.c | 1 +
16617 drivers/usb/host/hwa-hc.c | 9 +-
16618 drivers/usb/usbip/vhci_sysfs.c | 2 +-
16619 drivers/video/fbdev/arcfb.c | 2 +-
16620 drivers/video/fbdev/matrox/matroxfb_DAC1064.c | 10 +-
16621 drivers/video/fbdev/matrox/matroxfb_Ti3026.c | 5 +-
16622 drivers/video/fbdev/sh_mobile_lcdcfb.c | 6 +-
16623 drivers/video/logo/logo_linux_clut224.ppm | 2720 ++++-----
16624 drivers/xen/xenfs/xenstored.c | 5 +
16625 firmware/Makefile | 2 +
16626 firmware/WHENCE | 20 +-
16627 firmware/bnx2/bnx2-mips-06-6.2.3.fw.ihex | 5804 +++++++++++++++++
16628 firmware/bnx2/bnx2-mips-09-6.2.1b.fw.ihex | 6496 ++++++++++++++++++++
16629 fs/9p/vfs_inode.c | 4 +-
16630 fs/attr.c | 1 +
16631 fs/autofs4/waitq.c | 9 +
16632 fs/binfmt_aout.c | 7 +
16633 fs/binfmt_elf.c | 50 +-
16634 fs/compat.c | 20 +-
16635 fs/coredump.c | 17 +-
16636 fs/dcache.c | 3 +
16637 fs/debugfs/inode.c | 11 +-
16638 fs/exec.c | 219 +-
16639 fs/ext2/balloc.c | 4 +-
16640 fs/ext2/super.c | 8 +-
16641 fs/ext4/balloc.c | 4 +-
16642 fs/fcntl.c | 4 +
16643 fs/fhandle.c | 3 +-
16644 fs/file.c | 4 +
16645 fs/filesystems.c | 4 +
16646 fs/fs_struct.c | 20 +-
16647 fs/hugetlbfs/inode.c | 5 +-
16648 fs/inode.c | 8 +-
16649 fs/kernfs/dir.c | 6 +
16650 fs/mount.h | 4 +-
16651 fs/namei.c | 286 +-
16652 fs/namespace.c | 24 +
16653 fs/nfsd/nfscache.c | 2 +-
16654 fs/open.c | 38 +
16655 fs/overlayfs/inode.c | 11 +-
16656 fs/overlayfs/super.c | 6 +-
16657 fs/pipe.c | 2 +-
16658 fs/posix_acl.c | 15 +-
16659 fs/proc/Kconfig | 10 +-
16660 fs/proc/array.c | 69 +-
16661 fs/proc/base.c | 186 +-
16662 fs/proc/cmdline.c | 4 +
16663 fs/proc/devices.c | 4 +
16664 fs/proc/fd.c | 17 +-
16665 fs/proc/generic.c | 64 +
16666 fs/proc/inode.c | 17 +
16667 fs/proc/internal.h | 11 +-
16668 fs/proc/interrupts.c | 4 +
16669 fs/proc/kcore.c | 3 +
16670 fs/proc/meminfo.c | 7 +-
16671 fs/proc/namespaces.c | 4 +-
16672 fs/proc/proc_net.c | 31 +
16673 fs/proc/proc_sysctl.c | 52 +-
16674 fs/proc/root.c | 8 +
16675 fs/proc/stat.c | 69 +-
16676 fs/proc/task_mmu.c | 66 +-
16677 fs/readdir.c | 19 +
16678 fs/reiserfs/item_ops.c | 24 +-
16679 fs/reiserfs/super.c | 4 +
16680 fs/select.c | 2 +
16681 fs/seq_file.c | 30 +-
16682 fs/splice.c | 8 +
16683 fs/stat.c | 20 +-
16684 fs/sysfs/dir.c | 30 +-
16685 fs/sysv/inode.c | 11 +-
16686 fs/utimes.c | 7 +
16687 fs/xattr.c | 26 +-
16688 grsecurity/Kconfig | 1182 ++++
16689 grsecurity/Makefile | 54 +
16690 grsecurity/gracl.c | 2757 +++++++++
16691 grsecurity/gracl_alloc.c | 105 +
16692 grsecurity/gracl_cap.c | 127 +
16693 grsecurity/gracl_compat.c | 269 +
16694 grsecurity/gracl_fs.c | 448 ++
16695 grsecurity/gracl_ip.c | 386 ++
16696 grsecurity/gracl_learn.c | 207 +
16697 grsecurity/gracl_policy.c | 1786 ++++++
16698 grsecurity/gracl_res.c | 68 +
16699 grsecurity/gracl_segv.c | 304 +
16700 grsecurity/gracl_shm.c | 40 +
16701 grsecurity/grsec_chdir.c | 19 +
16702 grsecurity/grsec_chroot.c | 467 ++
16703 grsecurity/grsec_disabled.c | 445 ++
16704 grsecurity/grsec_exec.c | 189 +
16705 grsecurity/grsec_fifo.c | 26 +
16706 grsecurity/grsec_fork.c | 23 +
16707 grsecurity/grsec_init.c | 290 +
16708 grsecurity/grsec_ipc.c | 48 +
16709 grsecurity/grsec_link.c | 65 +
16710 grsecurity/grsec_log.c | 340 +
16711 grsecurity/grsec_mem.c | 48 +
16712 grsecurity/grsec_mount.c | 65 +
16713 grsecurity/grsec_pax.c | 47 +
16714 grsecurity/grsec_proc.c | 20 +
16715 grsecurity/grsec_ptrace.c | 30 +
16716 grsecurity/grsec_sig.c | 236 +
16717 grsecurity/grsec_sock.c | 244 +
16718 grsecurity/grsec_sysctl.c | 488 ++
16719 grsecurity/grsec_time.c | 16 +
16720 grsecurity/grsec_tpe.c | 78 +
16721 grsecurity/grsec_usb.c | 15 +
16722 grsecurity/grsum.c | 64 +
16723 include/linux/binfmts.h | 5 +-
16724 include/linux/bitops.h | 2 +-
16725 include/linux/capability.h | 13 +
16726 include/linux/compiler-gcc.h | 5 +
16727 include/linux/compiler.h | 8 +
16728 include/linux/cred.h | 8 +-
16729 include/linux/dcache.h | 5 +-
16730 include/linux/fs.h | 24 +-
16731 include/linux/fs_struct.h | 2 +-
16732 include/linux/fsnotify.h | 6 +
16733 include/linux/gracl.h | 342 +
16734 include/linux/gracl_compat.h | 156 +
16735 include/linux/gralloc.h | 9 +
16736 include/linux/grdefs.h | 140 +
16737 include/linux/grinternal.h | 230 +
16738 include/linux/grmsg.h | 118 +
16739 include/linux/grsecurity.h | 255 +
16740 include/linux/grsock.h | 19 +
16741 include/linux/ipc.h | 2 +-
16742 include/linux/ipc_namespace.h | 2 +-
16743 include/linux/kallsyms.h | 18 +-
16744 include/linux/kmod.h | 5 +
16745 include/linux/kobject.h | 2 +-
16746 include/linux/lsm_hooks.h | 4 +-
16747 include/linux/mm.h | 12 +
16748 include/linux/mm_types.h | 4 +-
16749 include/linux/module.h | 5 +-
16750 include/linux/mount.h | 2 +-
16751 include/linux/msg.h | 2 +-
16752 include/linux/netfilter/xt_gradm.h | 9 +
16753 include/linux/path.h | 4 +-
16754 include/linux/perf_event.h | 13 +-
16755 include/linux/pid_namespace.h | 2 +-
16756 include/linux/printk.h | 2 +-
16757 include/linux/proc_fs.h | 22 +-
16758 include/linux/proc_ns.h | 2 +-
16759 include/linux/ptrace.h | 24 +-
16760 include/linux/random.h | 2 +-
16761 include/linux/rbtree_augmented.h | 4 +-
16762 include/linux/scatterlist.h | 12 +-
16763 include/linux/sched.h | 114 +-
16764 include/linux/security.h | 1 +
16765 include/linux/sem.h | 2 +-
16766 include/linux/seq_file.h | 5 +
16767 include/linux/shm.h | 6 +-
16768 include/linux/skbuff.h | 3 +
16769 include/linux/slab.h | 9 -
16770 include/linux/sysctl.h | 8 +-
16771 include/linux/thread_info.h | 6 +-
16772 include/linux/tty.h | 2 +-
16773 include/linux/tty_driver.h | 4 +-
16774 include/linux/uidgid.h | 5 +
16775 include/linux/user_namespace.h | 2 +-
16776 include/linux/utsname.h | 2 +-
16777 include/linux/vermagic.h | 16 +-
16778 include/linux/vmalloc.h | 20 +-
16779 include/net/af_unix.h | 2 +-
16780 include/net/dst.h | 33 +
16781 include/net/ip.h | 2 +-
16782 include/net/neighbour.h | 2 +-
16783 include/net/net_namespace.h | 2 +-
16784 include/net/sock.h | 4 +-
16785 include/target/target_core_base.h | 2 +-
16786 include/trace/events/fs.h | 53 +
16787 include/uapi/linux/personality.h | 1 +
16788 init/Kconfig | 4 +-
16789 init/main.c | 35 +-
16790 ipc/mqueue.c | 1 +
16791 ipc/msg.c | 3 +-
16792 ipc/sem.c | 3 +-
16793 ipc/shm.c | 26 +-
16794 ipc/util.c | 6 +
16795 kernel/auditsc.c | 2 +-
16796 kernel/bpf/syscall.c | 8 +-
16797 kernel/capability.c | 41 +-
16798 kernel/cgroup.c | 5 +-
16799 kernel/compat.c | 1 +
16800 kernel/configs.c | 11 +
16801 kernel/cred.c | 112 +-
16802 kernel/events/core.c | 16 +-
16803 kernel/exit.c | 10 +-
16804 kernel/fork.c | 86 +-
16805 kernel/futex.c | 6 +-
16806 kernel/futex_compat.c | 2 +-
16807 kernel/kallsyms.c | 9 +
16808 kernel/kcmp.c | 8 +-
16809 kernel/kexec_core.c | 2 +-
16810 kernel/kmod.c | 95 +-
16811 kernel/kprobes.c | 7 +-
16812 kernel/ksysfs.c | 2 +
16813 kernel/locking/lockdep_proc.c | 10 +-
16814 kernel/module.c | 108 +-
16815 kernel/panic.c | 4 +-
16816 kernel/pid.c | 23 +-
16817 kernel/power/Kconfig | 2 +
16818 kernel/printk/printk.c | 20 +-
16819 kernel/ptrace.c | 56 +-
16820 kernel/resource.c | 10 +
16821 kernel/sched/core.c | 11 +-
16822 kernel/signal.c | 37 +-
16823 kernel/sys.c | 64 +-
16824 kernel/sysctl.c | 172 +-
16825 kernel/taskstats.c | 6 +
16826 kernel/time/posix-timers.c | 8 +
16827 kernel/time/time.c | 5 +
16828 kernel/time/timekeeping.c | 3 +
16829 kernel/time/timer_list.c | 13 +-
16830 kernel/time/timer_stats.c | 10 +-
16831 kernel/trace/Kconfig | 2 +
16832 kernel/trace/trace_syscalls.c | 8 +
16833 kernel/user_namespace.c | 15 +
16834 lib/Kconfig.debug | 13 +-
16835 lib/Kconfig.kasan | 2 +-
16836 lib/is_single_threaded.c | 3 +
16837 lib/list_debug.c | 65 +-
16838 lib/nlattr.c | 2 +
16839 lib/rbtree.c | 4 +-
16840 lib/vsprintf.c | 39 +-
16841 localversion-grsec | 1 +
16842 mm/Kconfig | 8 +-
16843 mm/Kconfig.debug | 1 +
16844 mm/filemap.c | 1 +
16845 mm/kmemleak.c | 4 +-
16846 mm/memory.c | 2 +-
16847 mm/mempolicy.c | 12 +-
16848 mm/migrate.c | 3 +-
16849 mm/mlock.c | 6 +-
16850 mm/mmap.c | 93 +-
16851 mm/mprotect.c | 8 +
16852 mm/oom_kill.c | 28 +-
16853 mm/page_alloc.c | 2 +-
16854 mm/process_vm_access.c | 8 +-
16855 mm/shmem.c | 36 +-
16856 mm/slab.c | 14 +-
16857 mm/slab_common.c | 2 +-
16858 mm/slob.c | 12 +
16859 mm/slub.c | 33 +-
16860 mm/util.c | 3 +
16861 mm/vmalloc.c | 129 +-
16862 mm/vmstat.c | 29 +-
16863 net/appletalk/atalk_proc.c | 2 +-
16864 net/atm/lec.c | 6 +-
16865 net/atm/mpoa_caches.c | 42 +-
16866 net/bluetooth/sco.c | 3 +
16867 net/can/bcm.c | 2 +-
16868 net/can/proc.c | 2 +-
16869 net/core/dev_ioctl.c | 7 +-
16870 net/core/filter.c | 8 +-
16871 net/core/net-procfs.c | 17 +-
16872 net/core/pktgen.c | 2 +-
16873 net/core/sock.c | 3 +-
16874 net/core/sysctl_net_core.c | 2 +-
16875 net/decnet/dn_dev.c | 2 +-
16876 net/ipv4/devinet.c | 6 +-
16877 net/ipv4/inet_hashtables.c | 4 +
16878 net/ipv4/ip_input.c | 7 +
16879 net/ipv4/ip_sockglue.c | 3 +-
16880 net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 +-
16881 net/ipv4/netfilter/nf_nat_pptp.c | 2 +-
16882 net/ipv4/route.c | 6 +-
16883 net/ipv4/tcp_input.c | 4 +-
16884 net/ipv4/tcp_ipv4.c | 29 +-
16885 net/ipv4/tcp_minisocks.c | 9 +-
16886 net/ipv4/tcp_timer.c | 11 +
16887 net/ipv4/udp.c | 24 +
16888 net/ipv6/addrconf.c | 13 +-
16889 net/ipv6/proc.c | 2 +-
16890 net/ipv6/tcp_ipv6.c | 26 +-
16891 net/ipv6/udp.c | 7 +
16892 net/ipx/ipx_proc.c | 2 +-
16893 net/irda/irproc.c | 2 +-
16894 net/llc/llc_proc.c | 2 +-
16895 net/netfilter/Kconfig | 10 +
16896 net/netfilter/Makefile | 1 +
16897 net/netfilter/nf_conntrack_core.c | 8 +
16898 net/netfilter/xt_gradm.c | 51 +
16899 net/netfilter/xt_hashlimit.c | 4 +-
16900 net/netfilter/xt_recent.c | 2 +-
16901 net/sched/sch_api.c | 2 +-
16902 net/sctp/socket.c | 4 +-
16903 net/socket.c | 75 +-
16904 net/sunrpc/Kconfig | 1 +
16905 net/sunrpc/cache.c | 2 +-
16906 net/sunrpc/stats.c | 2 +-
16907 net/sysctl_net.c | 2 +-
16908 net/unix/af_unix.c | 52 +-
16909 net/vmw_vsock/vmci_transport_notify.c | 30 +-
16910 net/vmw_vsock/vmci_transport_notify_qstate.c | 30 +-
16911 net/x25/sysctl_net_x25.c | 2 +-
16912 net/x25/x25_proc.c | 2 +-
16913 scripts/package/Makefile | 2 +-
16914 scripts/package/mkspec | 41 +-
16915 security/Kconfig | 369 +-
16916 security/apparmor/file.c | 4 +-
16917 security/apparmor/lsm.c | 8 +-
16918 security/commoncap.c | 36 +-
16919 security/min_addr.c | 2 +
16920 security/smack/smack_lsm.c | 8 +-
16921 security/tomoyo/file.c | 12 +-
16922 security/tomoyo/mount.c | 4 +
16923 security/tomoyo/tomoyo.c | 20 +-
16924 security/yama/Kconfig | 2 +-
16925 security/yama/yama_lsm.c | 4 +-
16926 sound/synth/emux/emux_seq.c | 14 +-
16927 sound/usb/line6/driver.c | 40 +-
16928 sound/usb/line6/toneport.c | 12 +-
16929 tools/gcc/.gitignore | 1 +
16930 tools/gcc/Makefile | 12 +
16931 tools/gcc/gen-random-seed.sh | 8 +
16932 tools/gcc/randomize_layout_plugin.c | 930 +++
16933 tools/gcc/size_overflow_plugin/.gitignore | 1 +
16934 .../size_overflow_plugin/size_overflow_hash.data | 459 ++-
16935 511 files changed, 32631 insertions(+), 3196 deletions(-)
16936
16937 commit a76adb92ce39aee8eec5a025c828030ad6135c6d
16938 Author: Brad Spengler <spender@grsecurity.net>
16939 Date: Tue Dec 15 14:31:49 2015 -0500
16940
16941 Update to pax-linux-4.3.3-test11.patch:
16942 - fixed a few compile regressions with the recent plugin changes, reported by spender
16943 - updated the size overflow hash table
16944
16945 tools/gcc/latent_entropy_plugin.c | 2 +-
16946 .../size_overflow_plugin/size_overflow_hash.data | 66 +++++++++++++++++---
16947 tools/gcc/stackleak_plugin.c | 2 +-
16948 tools/gcc/structleak_plugin.c | 6 +--
16949 4 files changed, 60 insertions(+), 16 deletions(-)
16950
16951 commit f7284b1fc06628fcb2d35d2beecdea5454d46af9
16952 Author: Brad Spengler <spender@grsecurity.net>
16953 Date: Tue Dec 15 11:50:24 2015 -0500
16954
16955 Apply structleak ICE fix for gcc < 4.9
16956
16957 tools/gcc/structleak_plugin.c | 4 ++++
16958 1 files changed, 4 insertions(+), 0 deletions(-)
16959
16960 commit 92fe3eb9fd10ec7f7334decab1526989669b0287
16961 Author: Brad Spengler <spender@grsecurity.net>
16962 Date: Tue Dec 15 07:57:06 2015 -0500
16963
16964 Update to pax-linux-4.3.1-test10.patch:
16965 - Emese fixed INDIRECT_REF and TARGET_MEM_REF handling in the initify plugin
16966 - Emese regenerated the size overflow hash tables for 4.3
16967 - fixed some compat syscall exit paths to restore r12 under KERNEXEC/or
16968 - the latent entropy, stackleak and structleak plugins no longer split the entry block unnecessarily
16969
16970 arch/x86/entry/entry_64.S | 2 +-
16971 arch/x86/entry/entry_64_compat.S | 15 +-
16972 scripts/package/builddeb | 2 +-
16973 tools/gcc/initify_plugin.c | 11 +-
16974 tools/gcc/latent_entropy_plugin.c | 20 +-
16975 .../disable_size_overflow_hash.data | 4 +
16976 .../size_overflow_plugin/size_overflow_hash.data | 5345 +++++++++++---------
16977 tools/gcc/stackleak_plugin.c | 26 +-
16978 tools/gcc/structleak_plugin.c | 21 +-
16979 9 files changed, 3079 insertions(+), 2367 deletions(-)
16980
16981 commit 5bd245cb687319079c2f1c0d6a1170791ed1ed2c
16982 Merge: b5847e6 3548341
16983 Author: Brad Spengler <spender@grsecurity.net>
16984 Date: Tue Dec 15 07:47:56 2015 -0500
16985
16986 Merge branch 'linux-4.3.y' into pax-4_3
16987
16988 Conflicts:
16989 net/unix/af_unix.c
16990
16991 commit b5847e6a896c5d99191135ca4d7c3b6be8f116ff
16992 Author: Brad Spengler <spender@grsecurity.net>
16993 Date: Wed Dec 9 23:11:36 2015 -0500
16994
16995 Update to pax-linux-4.3.1-test9.patch:
16996 - fixed __get_user on x86 to lie less about the size of the load, reported by peetaur (https://forums.grsecurity.net/viewtopic.php?f=3&t=4332)
16997 - Emese fixed an intentional overflow caused by gcc, reported by saironiq (https://forums.grsecurity.net/viewtopic.php?f=3&t=4333)
16998 - Emese fixed a false positive overflow report in the forcedeth driver, reported by fx3 (https://forums.grsecurity.net/viewtopic.php?t=4334)
16999 - Emese fixed a false positive overflow report in KVM's emulator, reported by fx3 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4336)
17000 - Emese fixed the initify plugin to detect some captured use of __func__, reported by Rasmus Villemoes <linux@rasmusvillemoes.dk>
17001 - constrained shmmax and shmall to avoid triggering size overflow checks, reported by Mathias Krause <minipli@ld-linux.so>
17002 - the checker plugin can partially handle sparse's locking context annotations, it's context insensitive and thus not exactly useful for now, also see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59856
17003
17004 Makefile | 6 +
17005 arch/x86/include/asm/compat.h | 4 +
17006 arch/x86/include/asm/dma.h | 2 +
17007 arch/x86/include/asm/pmem.h | 2 +-
17008 arch/x86/include/asm/uaccess.h | 20 +-
17009 arch/x86/kernel/apic/vector.c | 6 +-
17010 arch/x86/kernel/cpu/mtrr/generic.c | 6 +-
17011 arch/x86/kernel/cpu/perf_event_intel.c | 28 +-
17012 arch/x86/kernel/head_64.S | 1 -
17013 arch/x86/kvm/i8259.c | 10 +-
17014 arch/x86/kvm/ioapic.c | 2 +
17015 arch/x86/kvm/x86.c | 2 +
17016 arch/x86/lib/usercopy_64.c | 2 +-
17017 arch/x86/mm/mpx.c | 4 +-
17018 arch/x86/mm/pageattr.c | 7 +
17019 drivers/base/devres.c | 4 +-
17020 drivers/base/power/runtime.c | 6 +-
17021 drivers/base/regmap/regmap.c | 4 +-
17022 drivers/block/drbd/drbd_receiver.c | 4 +-
17023 drivers/block/drbd/drbd_worker.c | 6 +-
17024 drivers/char/virtio_console.c | 6 +-
17025 drivers/md/dm.c | 12 +-
17026 drivers/net/ethernet/nvidia/forcedeth.c | 4 +-
17027 drivers/net/macvtap.c | 4 +-
17028 drivers/video/fbdev/core/fbmem.c | 10 +-
17029 fs/compat.c | 3 +-
17030 fs/coredump.c | 2 +-
17031 fs/dcache.c | 13 +-
17032 fs/fhandle.c | 2 +-
17033 fs/file.c | 14 +-
17034 fs/fs-writeback.c | 11 +-
17035 fs/overlayfs/copy_up.c | 2 +-
17036 fs/readdir.c | 3 +-
17037 fs/super.c | 3 +-
17038 include/linux/compiler.h | 36 ++-
17039 include/linux/rcupdate.h | 8 +
17040 include/linux/sched.h | 4 +-
17041 include/linux/seqlock.h | 10 +
17042 include/linux/spinlock.h | 17 +-
17043 include/linux/srcu.h | 5 +-
17044 include/linux/syscalls.h | 2 +-
17045 include/linux/writeback.h | 3 +-
17046 include/uapi/linux/swab.h | 6 +-
17047 ipc/ipc_sysctl.c | 6 +
17048 kernel/exit.c | 25 +-
17049 kernel/resource.c | 4 +-
17050 kernel/signal.c | 12 +-
17051 kernel/user.c | 2 +-
17052 kernel/workqueue.c | 6 +-
17053 lib/rhashtable.c | 4 +-
17054 net/compat.c | 2 +-
17055 net/ipv4/xfrm4_mode_transport.c | 2 +-
17056 security/keys/internal.h | 8 +-
17057 security/keys/keyring.c | 4 -
17058 sound/core/seq/seq_clientmgr.c | 8 +-
17059 sound/core/seq/seq_compat.c | 2 +-
17060 sound/core/seq/seq_memory.c | 6 +-
17061 tools/gcc/checker_plugin.c | 415 +++++++++++++++++++-
17062 tools/gcc/gcc-common.h | 1 +
17063 tools/gcc/initify_plugin.c | 33 ++-
17064 .../disable_size_overflow_hash.data | 1 +
17065 .../size_overflow_plugin/size_overflow_hash.data | 1 -
17066 62 files changed, 708 insertions(+), 140 deletions(-)
17067
17068 commit f2634c2f6995f4231616f24ed016f890c701f939
17069 Merge: 1241bff 5f8b236
17070 Author: Brad Spengler <spender@grsecurity.net>
17071 Date: Wed Dec 9 21:50:47 2015 -0500
17072
17073 Merge branch 'linux-4.3.y' into pax-4_3
17074
17075 Conflicts:
17076 arch/x86/kernel/fpu/xstate.c
17077 arch/x86/kernel/head_64.S
17078
17079 commit 1241bff82e3d7dadb05de0a60b8d2822afc6547c
17080 Author: Brad Spengler <spender@grsecurity.net>
17081 Date: Sun Dec 6 08:44:56 2015 -0500
17082
17083 Update to pax-linux-4.3-test8.patch:
17084 - fixed integer truncation check in md introduced by upstream commits 284ae7cab0f7335c9e0aa8992b28415ef1a54c7c and 58c0fed400603a802968b23ddf78f029c5a84e41, reported by BeiKed9o (https://forums.grsecurity.net/viewtopic.php?f=3&t=4328)
17085 - gcc plugin compilation problems will now also produce the output of the checking script to make diagnosis easier, reported by hunger
17086 - Emese fixed a false positive size overflow report in __vhost_add_used_n, reported by quasar366 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4329)
17087 - fixed a potential integer truncation error in the raid1 code caught by the size overflow plugin, reported by d1b (https://forums.grsecurity.net/viewtopic.php?f=3&t=4331)
17088
17089 Makefile | 5 +++
17090 drivers/md/md.c | 5 ++-
17091 drivers/md/raid1.c | 2 +-
17092 fs/proc/task_mmu.c | 3 ++
17093 .../disable_size_overflow_hash.data | 4 ++-
17094 .../size_overflow_plugin/intentional_overflow.c | 32 ++++++++++++++++---
17095 .../size_overflow_plugin/size_overflow_hash.data | 2 -
17096 .../size_overflow_plugin/size_overflow_plugin.c | 2 +-
17097 8 files changed, 43 insertions(+), 12 deletions(-)
17098
17099 commit cce6a9f9bdd27096632ca1c0246dcc07f2eb1a18
17100 Author: Brad Spengler <spender@grsecurity.net>
17101 Date: Fri Dec 4 14:24:12 2015 -0500
17102
17103 Initial import of pax-linux-4.3-test7.patch
17104
17105 Documentation/dontdiff | 47 +-
17106 Documentation/kbuild/makefiles.txt | 39 +-
17107 Documentation/kernel-parameters.txt | 28 +
17108 Makefile | 108 +-
17109 arch/alpha/include/asm/atomic.h | 10 +
17110 arch/alpha/include/asm/elf.h | 7 +
17111 arch/alpha/include/asm/pgalloc.h | 6 +
17112 arch/alpha/include/asm/pgtable.h | 11 +
17113 arch/alpha/kernel/module.c | 2 +-
17114 arch/alpha/kernel/osf_sys.c | 8 +-
17115 arch/alpha/mm/fault.c | 141 +-
17116 arch/arm/Kconfig | 2 +-
17117 arch/arm/include/asm/atomic.h | 320 +-
17118 arch/arm/include/asm/cache.h | 5 +-
17119 arch/arm/include/asm/cacheflush.h | 2 +-
17120 arch/arm/include/asm/checksum.h | 14 +-
17121 arch/arm/include/asm/cmpxchg.h | 4 +
17122 arch/arm/include/asm/cpuidle.h | 2 +-
17123 arch/arm/include/asm/domain.h | 22 +-
17124 arch/arm/include/asm/elf.h | 9 +-
17125 arch/arm/include/asm/fncpy.h | 2 +
17126 arch/arm/include/asm/futex.h | 10 +
17127 arch/arm/include/asm/kmap_types.h | 2 +-
17128 arch/arm/include/asm/mach/dma.h | 2 +-
17129 arch/arm/include/asm/mach/map.h | 16 +-
17130 arch/arm/include/asm/outercache.h | 2 +-
17131 arch/arm/include/asm/page.h | 3 +-
17132 arch/arm/include/asm/pgalloc.h | 20 +
17133 arch/arm/include/asm/pgtable-2level-hwdef.h | 4 +-
17134 arch/arm/include/asm/pgtable-2level.h | 3 +
17135 arch/arm/include/asm/pgtable-3level.h | 3 +
17136 arch/arm/include/asm/pgtable.h | 54 +-
17137 arch/arm/include/asm/smp.h | 2 +-
17138 arch/arm/include/asm/tls.h | 3 +
17139 arch/arm/include/asm/uaccess.h | 79 +-
17140 arch/arm/include/uapi/asm/ptrace.h | 2 +-
17141 arch/arm/kernel/armksyms.c | 2 +-
17142 arch/arm/kernel/cpuidle.c | 2 +-
17143 arch/arm/kernel/entry-armv.S | 109 +-
17144 arch/arm/kernel/entry-common.S | 40 +-
17145 arch/arm/kernel/entry-header.S | 55 +
17146 arch/arm/kernel/fiq.c | 3 +
17147 arch/arm/kernel/module-plts.c | 7 +-
17148 arch/arm/kernel/module.c | 38 +-
17149 arch/arm/kernel/patch.c | 2 +
17150 arch/arm/kernel/process.c | 90 +-
17151 arch/arm/kernel/reboot.c | 1 +
17152 arch/arm/kernel/setup.c | 20 +-
17153 arch/arm/kernel/signal.c | 35 +-
17154 arch/arm/kernel/smp.c | 2 +-
17155 arch/arm/kernel/tcm.c | 4 +-
17156 arch/arm/kernel/vmlinux.lds.S | 6 +-
17157 arch/arm/kvm/arm.c | 8 +-
17158 arch/arm/lib/copy_page.S | 1 +
17159 arch/arm/lib/csumpartialcopyuser.S | 4 +-
17160 arch/arm/lib/delay.c | 2 +-
17161 arch/arm/lib/uaccess_with_memcpy.c | 4 +-
17162 arch/arm/mach-exynos/suspend.c | 6 +-
17163 arch/arm/mach-mvebu/coherency.c | 4 +-
17164 arch/arm/mach-omap2/board-n8x0.c | 2 +-
17165 arch/arm/mach-omap2/omap-mpuss-lowpower.c | 4 +-
17166 arch/arm/mach-omap2/omap-smp.c | 1 +
17167 arch/arm/mach-omap2/omap-wakeupgen.c | 2 +-
17168 arch/arm/mach-omap2/omap_device.c | 4 +-
17169 arch/arm/mach-omap2/omap_device.h | 4 +-
17170 arch/arm/mach-omap2/omap_hwmod.c | 4 +-
17171 arch/arm/mach-omap2/powerdomains43xx_data.c | 5 +-
17172 arch/arm/mach-omap2/wd_timer.c | 6 +-
17173 arch/arm/mach-shmobile/platsmp-apmu.c | 5 +-
17174 arch/arm/mach-tegra/cpuidle-tegra20.c | 2 +-
17175 arch/arm/mach-tegra/irq.c | 1 +
17176 arch/arm/mach-ux500/pm.c | 1 +
17177 arch/arm/mach-zynq/platsmp.c | 1 +
17178 arch/arm/mm/Kconfig | 6 +-
17179 arch/arm/mm/alignment.c | 8 +
17180 arch/arm/mm/cache-l2x0.c | 2 +-
17181 arch/arm/mm/context.c | 10 +-
17182 arch/arm/mm/fault.c | 146 +
17183 arch/arm/mm/fault.h | 12 +
17184 arch/arm/mm/init.c | 39 +
17185 arch/arm/mm/ioremap.c | 4 +-
17186 arch/arm/mm/mmap.c | 30 +-
17187 arch/arm/mm/mmu.c | 162 +-
17188 arch/arm/net/bpf_jit_32.c | 3 +
17189 arch/arm/plat-iop/setup.c | 2 +-
17190 arch/arm/plat-omap/sram.c | 2 +
17191 arch/arm64/include/asm/atomic.h | 10 +
17192 arch/arm64/include/asm/percpu.h | 8 +-
17193 arch/arm64/include/asm/pgalloc.h | 5 +
17194 arch/arm64/include/asm/uaccess.h | 1 +
17195 arch/arm64/mm/dma-mapping.c | 2 +-
17196 arch/avr32/include/asm/elf.h | 8 +-
17197 arch/avr32/include/asm/kmap_types.h | 4 +-
17198 arch/avr32/mm/fault.c | 27 +
17199 arch/frv/include/asm/atomic.h | 10 +
17200 arch/frv/include/asm/kmap_types.h | 2 +-
17201 arch/frv/mm/elf-fdpic.c | 3 +-
17202 arch/ia64/Makefile | 1 +
17203 arch/ia64/include/asm/atomic.h | 10 +
17204 arch/ia64/include/asm/elf.h | 7 +
17205 arch/ia64/include/asm/pgalloc.h | 12 +
17206 arch/ia64/include/asm/pgtable.h | 13 +-
17207 arch/ia64/include/asm/spinlock.h | 2 +-
17208 arch/ia64/include/asm/uaccess.h | 27 +-
17209 arch/ia64/kernel/module.c | 45 +-
17210 arch/ia64/kernel/palinfo.c | 2 +-
17211 arch/ia64/kernel/sys_ia64.c | 7 +
17212 arch/ia64/kernel/vmlinux.lds.S | 2 +-
17213 arch/ia64/mm/fault.c | 32 +-
17214 arch/ia64/mm/init.c | 15 +-
17215 arch/m32r/lib/usercopy.c | 6 +
17216 arch/mips/cavium-octeon/dma-octeon.c | 2 +-
17217 arch/mips/include/asm/atomic.h | 368 +-
17218 arch/mips/include/asm/elf.h | 7 +
17219 arch/mips/include/asm/exec.h | 2 +-
17220 arch/mips/include/asm/hw_irq.h | 2 +-
17221 arch/mips/include/asm/local.h | 57 +
17222 arch/mips/include/asm/page.h | 2 +-
17223 arch/mips/include/asm/pgalloc.h | 5 +
17224 arch/mips/include/asm/pgtable.h | 3 +
17225 arch/mips/include/asm/uaccess.h | 1 +
17226 arch/mips/kernel/binfmt_elfn32.c | 7 +
17227 arch/mips/kernel/binfmt_elfo32.c | 7 +
17228 arch/mips/kernel/irq-gt641xx.c | 2 +-
17229 arch/mips/kernel/irq.c | 6 +-
17230 arch/mips/kernel/pm-cps.c | 2 +-
17231 arch/mips/kernel/process.c | 12 -
17232 arch/mips/kernel/sync-r4k.c | 24 +-
17233 arch/mips/kernel/traps.c | 13 +-
17234 arch/mips/mm/fault.c | 25 +
17235 arch/mips/mm/mmap.c | 51 +-
17236 arch/mips/sgi-ip27/ip27-nmi.c | 6 +-
17237 arch/mips/sni/rm200.c | 2 +-
17238 arch/mips/vr41xx/common/icu.c | 2 +-
17239 arch/mips/vr41xx/common/irq.c | 4 +-
17240 arch/parisc/include/asm/atomic.h | 10 +
17241 arch/parisc/include/asm/elf.h | 7 +
17242 arch/parisc/include/asm/pgalloc.h | 6 +
17243 arch/parisc/include/asm/pgtable.h | 11 +
17244 arch/parisc/include/asm/uaccess.h | 4 +-
17245 arch/parisc/kernel/module.c | 50 +-
17246 arch/parisc/kernel/sys_parisc.c | 15 +
17247 arch/parisc/kernel/traps.c | 4 +-
17248 arch/parisc/mm/fault.c | 140 +-
17249 arch/powerpc/include/asm/atomic.h | 329 +-
17250 arch/powerpc/include/asm/elf.h | 12 +
17251 arch/powerpc/include/asm/exec.h | 2 +-
17252 arch/powerpc/include/asm/kmap_types.h | 2 +-
17253 arch/powerpc/include/asm/local.h | 46 +
17254 arch/powerpc/include/asm/mman.h | 2 +-
17255 arch/powerpc/include/asm/page.h | 8 +-
17256 arch/powerpc/include/asm/page_64.h | 7 +-
17257 arch/powerpc/include/asm/pgalloc-64.h | 7 +
17258 arch/powerpc/include/asm/pgtable.h | 1 +
17259 arch/powerpc/include/asm/pte-hash32.h | 1 +
17260 arch/powerpc/include/asm/reg.h | 1 +
17261 arch/powerpc/include/asm/smp.h | 2 +-
17262 arch/powerpc/include/asm/spinlock.h | 42 +-
17263 arch/powerpc/include/asm/uaccess.h | 141 +-
17264 arch/powerpc/kernel/Makefile | 5 +
17265 arch/powerpc/kernel/exceptions-64e.S | 4 +-
17266 arch/powerpc/kernel/exceptions-64s.S | 2 +-
17267 arch/powerpc/kernel/module_32.c | 15 +-
17268 arch/powerpc/kernel/process.c | 46 -
17269 arch/powerpc/kernel/signal_32.c | 2 +-
17270 arch/powerpc/kernel/signal_64.c | 2 +-
17271 arch/powerpc/kernel/traps.c | 21 +
17272 arch/powerpc/kernel/vdso.c | 5 +-
17273 arch/powerpc/lib/usercopy_64.c | 18 -
17274 arch/powerpc/mm/fault.c | 56 +-
17275 arch/powerpc/mm/mmap.c | 16 +
17276 arch/powerpc/mm/slice.c | 13 +-
17277 arch/powerpc/platforms/cell/spufs/file.c | 4 +-
17278 arch/s390/include/asm/atomic.h | 10 +
17279 arch/s390/include/asm/elf.h | 7 +
17280 arch/s390/include/asm/exec.h | 2 +-
17281 arch/s390/include/asm/uaccess.h | 13 +-
17282 arch/s390/kernel/module.c | 22 +-
17283 arch/s390/kernel/process.c | 24 -
17284 arch/s390/mm/mmap.c | 16 +
17285 arch/score/include/asm/exec.h | 2 +-
17286 arch/score/kernel/process.c | 5 -
17287 arch/sh/mm/mmap.c | 22 +-
17288 arch/sparc/include/asm/atomic_64.h | 110 +-
17289 arch/sparc/include/asm/cache.h | 2 +-
17290 arch/sparc/include/asm/elf_32.h | 7 +
17291 arch/sparc/include/asm/elf_64.h | 7 +
17292 arch/sparc/include/asm/pgalloc_32.h | 1 +
17293 arch/sparc/include/asm/pgalloc_64.h | 1 +
17294 arch/sparc/include/asm/pgtable.h | 4 +
17295 arch/sparc/include/asm/pgtable_32.h | 15 +-
17296 arch/sparc/include/asm/pgtsrmmu.h | 5 +
17297 arch/sparc/include/asm/setup.h | 4 +-
17298 arch/sparc/include/asm/spinlock_64.h | 35 +-
17299 arch/sparc/include/asm/thread_info_32.h | 1 +
17300 arch/sparc/include/asm/thread_info_64.h | 2 +
17301 arch/sparc/include/asm/uaccess.h | 1 +
17302 arch/sparc/include/asm/uaccess_32.h | 28 +-
17303 arch/sparc/include/asm/uaccess_64.h | 24 +-
17304 arch/sparc/kernel/Makefile | 2 +-
17305 arch/sparc/kernel/prom_common.c | 2 +-
17306 arch/sparc/kernel/smp_64.c | 8 +-
17307 arch/sparc/kernel/sys_sparc_32.c | 2 +-
17308 arch/sparc/kernel/sys_sparc_64.c | 52 +-
17309 arch/sparc/kernel/traps_64.c | 27 +-
17310 arch/sparc/lib/Makefile | 2 +-
17311 arch/sparc/lib/atomic_64.S | 57 +-
17312 arch/sparc/lib/ksyms.c | 6 +-
17313 arch/sparc/mm/Makefile | 2 +-
17314 arch/sparc/mm/fault_32.c | 292 +
17315 arch/sparc/mm/fault_64.c | 486 +
17316 arch/sparc/mm/hugetlbpage.c | 22 +-
17317 arch/sparc/mm/init_64.c | 10 +-
17318 arch/tile/include/asm/atomic_64.h | 10 +
17319 arch/tile/include/asm/uaccess.h | 4 +-
17320 arch/um/Makefile | 4 +
17321 arch/um/include/asm/kmap_types.h | 2 +-
17322 arch/um/include/asm/page.h | 3 +
17323 arch/um/include/asm/pgtable-3level.h | 1 +
17324 arch/um/kernel/process.c | 16 -
17325 arch/x86/Kconfig | 15 +-
17326 arch/x86/Kconfig.cpu | 6 +-
17327 arch/x86/Kconfig.debug | 4 +-
17328 arch/x86/Makefile | 13 +-
17329 arch/x86/boot/Makefile | 3 +
17330 arch/x86/boot/bitops.h | 4 +-
17331 arch/x86/boot/boot.h | 2 +-
17332 arch/x86/boot/compressed/Makefile | 3 +
17333 arch/x86/boot/compressed/efi_stub_32.S | 16 +-
17334 arch/x86/boot/compressed/efi_thunk_64.S | 4 +-
17335 arch/x86/boot/compressed/head_32.S | 4 +-
17336 arch/x86/boot/compressed/head_64.S | 12 +-
17337 arch/x86/boot/compressed/misc.c | 11 +-
17338 arch/x86/boot/cpucheck.c | 16 +-
17339 arch/x86/boot/header.S | 6 +-
17340 arch/x86/boot/memory.c | 2 +-
17341 arch/x86/boot/video-vesa.c | 1 +
17342 arch/x86/boot/video.c | 2 +-
17343 arch/x86/crypto/aes-x86_64-asm_64.S | 4 +
17344 arch/x86/crypto/aesni-intel_asm.S | 106 +-
17345 arch/x86/crypto/blowfish-x86_64-asm_64.S | 7 +
17346 arch/x86/crypto/camellia-aesni-avx-asm_64.S | 10 +
17347 arch/x86/crypto/camellia-aesni-avx2-asm_64.S | 10 +
17348 arch/x86/crypto/camellia-x86_64-asm_64.S | 7 +
17349 arch/x86/crypto/cast5-avx-x86_64-asm_64.S | 51 +-
17350 arch/x86/crypto/cast6-avx-x86_64-asm_64.S | 25 +-
17351 arch/x86/crypto/crc32c-pcl-intel-asm_64.S | 4 +-
17352 arch/x86/crypto/ghash-clmulni-intel_asm.S | 4 +
17353 arch/x86/crypto/salsa20-x86_64-asm_64.S | 4 +
17354 arch/x86/crypto/serpent-avx-x86_64-asm_64.S | 9 +
17355 arch/x86/crypto/serpent-avx2-asm_64.S | 9 +
17356 arch/x86/crypto/serpent-sse2-x86_64-asm_64.S | 4 +
17357 arch/x86/crypto/sha1_ssse3_asm.S | 10 +-
17358 arch/x86/crypto/sha256-avx-asm.S | 2 +
17359 arch/x86/crypto/sha256-avx2-asm.S | 2 +
17360 arch/x86/crypto/sha256-ssse3-asm.S | 2 +
17361 arch/x86/crypto/sha512-avx-asm.S | 2 +
17362 arch/x86/crypto/sha512-avx2-asm.S | 2 +
17363 arch/x86/crypto/sha512-ssse3-asm.S | 2 +
17364 arch/x86/crypto/twofish-avx-x86_64-asm_64.S | 25 +-
17365 arch/x86/crypto/twofish-x86_64-asm_64-3way.S | 4 +
17366 arch/x86/crypto/twofish-x86_64-asm_64.S | 3 +
17367 arch/x86/entry/calling.h | 86 +-
17368 arch/x86/entry/common.c | 13 +-
17369 arch/x86/entry/entry_32.S | 351 +-
17370 arch/x86/entry/entry_64.S | 619 +-
17371 arch/x86/entry/entry_64_compat.S | 159 +-
17372 arch/x86/entry/thunk_64.S | 2 +
17373 arch/x86/entry/vdso/Makefile | 2 +-
17374 arch/x86/entry/vdso/vdso2c.h | 8 +-
17375 arch/x86/entry/vdso/vma.c | 41 +-
17376 arch/x86/entry/vsyscall/vsyscall_64.c | 16 +-
17377 arch/x86/entry/vsyscall/vsyscall_emu_64.S | 2 +-
17378 arch/x86/ia32/ia32_signal.c | 23 +-
17379 arch/x86/ia32/sys_ia32.c | 42 +-
17380 arch/x86/include/asm/alternative-asm.h | 43 +-
17381 arch/x86/include/asm/alternative.h | 4 +-
17382 arch/x86/include/asm/apic.h | 2 +-
17383 arch/x86/include/asm/apm.h | 4 +-
17384 arch/x86/include/asm/atomic.h | 230 +-
17385 arch/x86/include/asm/atomic64_32.h | 100 +
17386 arch/x86/include/asm/atomic64_64.h | 164 +-
17387 arch/x86/include/asm/bitops.h | 18 +-
17388 arch/x86/include/asm/boot.h | 2 +-
17389 arch/x86/include/asm/cache.h | 5 +-
17390 arch/x86/include/asm/checksum_32.h | 12 +-
17391 arch/x86/include/asm/cmpxchg.h | 39 +
17392 arch/x86/include/asm/compat.h | 2 +-
17393 arch/x86/include/asm/cpufeature.h | 17 +-
17394 arch/x86/include/asm/desc.h | 78 +-
17395 arch/x86/include/asm/desc_defs.h | 6 +
17396 arch/x86/include/asm/div64.h | 2 +-
17397 arch/x86/include/asm/elf.h | 33 +-
17398 arch/x86/include/asm/emergency-restart.h | 2 +-
17399 arch/x86/include/asm/fpu/internal.h | 42 +-
17400 arch/x86/include/asm/fpu/types.h | 6 +-
17401 arch/x86/include/asm/futex.h | 14 +-
17402 arch/x86/include/asm/hw_irq.h | 4 +-
17403 arch/x86/include/asm/i8259.h | 2 +-
17404 arch/x86/include/asm/io.h | 22 +-
17405 arch/x86/include/asm/irqflags.h | 5 +
17406 arch/x86/include/asm/kprobes.h | 9 +-
17407 arch/x86/include/asm/local.h | 106 +-
17408 arch/x86/include/asm/mman.h | 15 +
17409 arch/x86/include/asm/mmu.h | 14 +-
17410 arch/x86/include/asm/mmu_context.h | 114 +-
17411 arch/x86/include/asm/module.h | 17 +-
17412 arch/x86/include/asm/nmi.h | 19 +-
17413 arch/x86/include/asm/page.h | 1 +
17414 arch/x86/include/asm/page_32.h | 12 +-
17415 arch/x86/include/asm/page_64.h | 14 +-
17416 arch/x86/include/asm/paravirt.h | 46 +-
17417 arch/x86/include/asm/paravirt_types.h | 15 +-
17418 arch/x86/include/asm/pgalloc.h | 23 +
17419 arch/x86/include/asm/pgtable-2level.h | 2 +
17420 arch/x86/include/asm/pgtable-3level.h | 7 +
17421 arch/x86/include/asm/pgtable.h | 128 +-
17422 arch/x86/include/asm/pgtable_32.h | 14 +-
17423 arch/x86/include/asm/pgtable_32_types.h | 24 +-
17424 arch/x86/include/asm/pgtable_64.h | 23 +-
17425 arch/x86/include/asm/pgtable_64_types.h | 5 +
17426 arch/x86/include/asm/pgtable_types.h | 26 +-
17427 arch/x86/include/asm/preempt.h | 2 +-
17428 arch/x86/include/asm/processor.h | 57 +-
17429 arch/x86/include/asm/ptrace.h | 13 +-
17430 arch/x86/include/asm/realmode.h | 4 +-
17431 arch/x86/include/asm/reboot.h | 10 +-
17432 arch/x86/include/asm/rmwcc.h | 84 +-
17433 arch/x86/include/asm/rwsem.h | 60 +-
17434 arch/x86/include/asm/segment.h | 27 +-
17435 arch/x86/include/asm/smap.h | 43 +
17436 arch/x86/include/asm/smp.h | 14 +-
17437 arch/x86/include/asm/stackprotector.h | 4 +-
17438 arch/x86/include/asm/stacktrace.h | 32 +-
17439 arch/x86/include/asm/switch_to.h | 4 +-
17440 arch/x86/include/asm/sys_ia32.h | 6 +-
17441 arch/x86/include/asm/thread_info.h | 27 +-
17442 arch/x86/include/asm/tlbflush.h | 77 +-
17443 arch/x86/include/asm/uaccess.h | 192 +-
17444 arch/x86/include/asm/uaccess_32.h | 28 +-
17445 arch/x86/include/asm/uaccess_64.h | 169 +-
17446 arch/x86/include/asm/word-at-a-time.h | 2 +-
17447 arch/x86/include/asm/x86_init.h | 10 +-
17448 arch/x86/include/asm/xen/page.h | 2 +-
17449 arch/x86/include/uapi/asm/e820.h | 2 +-
17450 arch/x86/kernel/Makefile | 2 +-
17451 arch/x86/kernel/acpi/boot.c | 4 +-
17452 arch/x86/kernel/acpi/sleep.c | 4 +
17453 arch/x86/kernel/acpi/wakeup_32.S | 6 +-
17454 arch/x86/kernel/alternative.c | 124 +-
17455 arch/x86/kernel/apic/apic.c | 4 +-
17456 arch/x86/kernel/apic/apic_flat_64.c | 6 +-
17457 arch/x86/kernel/apic/apic_noop.c | 2 +-
17458 arch/x86/kernel/apic/bigsmp_32.c | 2 +-
17459 arch/x86/kernel/apic/io_apic.c | 8 +-
17460 arch/x86/kernel/apic/msi.c | 2 +-
17461 arch/x86/kernel/apic/probe_32.c | 4 +-
17462 arch/x86/kernel/apic/vector.c | 4 +-
17463 arch/x86/kernel/apic/x2apic_cluster.c | 2 +-
17464 arch/x86/kernel/apic/x2apic_phys.c | 2 +-
17465 arch/x86/kernel/apic/x2apic_uv_x.c | 2 +-
17466 arch/x86/kernel/apm_32.c | 21 +-
17467 arch/x86/kernel/asm-offsets.c | 20 +
17468 arch/x86/kernel/asm-offsets_64.c | 1 +
17469 arch/x86/kernel/cpu/Makefile | 4 -
17470 arch/x86/kernel/cpu/amd.c | 2 +-
17471 arch/x86/kernel/cpu/bugs_64.c | 2 +
17472 arch/x86/kernel/cpu/common.c | 202 +-
17473 arch/x86/kernel/cpu/intel_cacheinfo.c | 14 +-
17474 arch/x86/kernel/cpu/mcheck/mce.c | 34 +-
17475 arch/x86/kernel/cpu/mcheck/p5.c | 3 +
17476 arch/x86/kernel/cpu/mcheck/winchip.c | 3 +
17477 arch/x86/kernel/cpu/microcode/intel.c | 4 +-
17478 arch/x86/kernel/cpu/mtrr/main.c | 2 +-
17479 arch/x86/kernel/cpu/mtrr/mtrr.h | 2 +-
17480 arch/x86/kernel/cpu/perf_event.c | 10 +-
17481 arch/x86/kernel/cpu/perf_event_amd_iommu.c | 2 +-
17482 arch/x86/kernel/cpu/perf_event_intel.c | 6 +-
17483 arch/x86/kernel/cpu/perf_event_intel_bts.c | 6 +-
17484 arch/x86/kernel/cpu/perf_event_intel_cqm.c | 4 +-
17485 arch/x86/kernel/cpu/perf_event_intel_pt.c | 44 +-
17486 arch/x86/kernel/cpu/perf_event_intel_rapl.c | 2 +-
17487 arch/x86/kernel/cpu/perf_event_intel_uncore.c | 2 +-
17488 arch/x86/kernel/cpu/perf_event_intel_uncore.h | 2 +-
17489 arch/x86/kernel/crash_dump_64.c | 2 +-
17490 arch/x86/kernel/doublefault.c | 8 +-
17491 arch/x86/kernel/dumpstack.c | 24 +-
17492 arch/x86/kernel/dumpstack_32.c | 25 +-
17493 arch/x86/kernel/dumpstack_64.c | 62 +-
17494 arch/x86/kernel/e820.c | 4 +-
17495 arch/x86/kernel/early_printk.c | 1 +
17496 arch/x86/kernel/espfix_64.c | 44 +-
17497 arch/x86/kernel/fpu/core.c | 24 +-
17498 arch/x86/kernel/fpu/init.c | 40 +-
17499 arch/x86/kernel/fpu/regset.c | 22 +-
17500 arch/x86/kernel/fpu/signal.c | 20 +-
17501 arch/x86/kernel/fpu/xstate.c | 8 +-
17502 arch/x86/kernel/ftrace.c | 18 +-
17503 arch/x86/kernel/head64.c | 14 +-
17504 arch/x86/kernel/head_32.S | 235 +-
17505 arch/x86/kernel/head_64.S | 173 +-
17506 arch/x86/kernel/i386_ksyms_32.c | 12 +
17507 arch/x86/kernel/i8259.c | 10 +-
17508 arch/x86/kernel/io_delay.c | 2 +-
17509 arch/x86/kernel/ioport.c | 2 +-
17510 arch/x86/kernel/irq.c | 8 +-
17511 arch/x86/kernel/irq_32.c | 45 +-
17512 arch/x86/kernel/jump_label.c | 10 +-
17513 arch/x86/kernel/kgdb.c | 21 +-
17514 arch/x86/kernel/kprobes/core.c | 28 +-
17515 arch/x86/kernel/kprobes/opt.c | 16 +-
17516 arch/x86/kernel/ksysfs.c | 2 +-
17517 arch/x86/kernel/kvmclock.c | 20 +-
17518 arch/x86/kernel/ldt.c | 25 +
17519 arch/x86/kernel/livepatch.c | 12 +-
17520 arch/x86/kernel/machine_kexec_32.c | 6 +-
17521 arch/x86/kernel/mcount_64.S | 19 +-
17522 arch/x86/kernel/module.c | 78 +-
17523 arch/x86/kernel/msr.c | 2 +-
17524 arch/x86/kernel/nmi.c | 34 +-
17525 arch/x86/kernel/nmi_selftest.c | 4 +-
17526 arch/x86/kernel/paravirt-spinlocks.c | 2 +-
17527 arch/x86/kernel/paravirt.c | 45 +-
17528 arch/x86/kernel/paravirt_patch_64.c | 8 +
17529 arch/x86/kernel/pci-calgary_64.c | 2 +-
17530 arch/x86/kernel/pci-iommu_table.c | 2 +-
17531 arch/x86/kernel/pci-swiotlb.c | 2 +-
17532 arch/x86/kernel/process.c | 80 +-
17533 arch/x86/kernel/process_32.c | 29 +-
17534 arch/x86/kernel/process_64.c | 14 +-
17535 arch/x86/kernel/ptrace.c | 20 +-
17536 arch/x86/kernel/pvclock.c | 8 +-
17537 arch/x86/kernel/reboot.c | 44 +-
17538 arch/x86/kernel/reboot_fixups_32.c | 2 +-
17539 arch/x86/kernel/relocate_kernel_64.S | 3 +-
17540 arch/x86/kernel/setup.c | 29 +-
17541 arch/x86/kernel/setup_percpu.c | 29 +-
17542 arch/x86/kernel/signal.c | 17 +-
17543 arch/x86/kernel/smp.c | 2 +-
17544 arch/x86/kernel/smpboot.c | 29 +-
17545 arch/x86/kernel/step.c | 6 +-
17546 arch/x86/kernel/sys_i386_32.c | 184 +
17547 arch/x86/kernel/sys_x86_64.c | 22 +-
17548 arch/x86/kernel/tboot.c | 14 +-
17549 arch/x86/kernel/time.c | 8 +-
17550 arch/x86/kernel/tls.c | 7 +-
17551 arch/x86/kernel/tracepoint.c | 4 +-
17552 arch/x86/kernel/traps.c | 53 +-
17553 arch/x86/kernel/tsc.c | 2 +-
17554 arch/x86/kernel/uprobes.c | 2 +-
17555 arch/x86/kernel/vm86_32.c | 6 +-
17556 arch/x86/kernel/vmlinux.lds.S | 153 +-
17557 arch/x86/kernel/x8664_ksyms_64.c | 6 +-
17558 arch/x86/kernel/x86_init.c | 6 +-
17559 arch/x86/kvm/cpuid.c | 21 +-
17560 arch/x86/kvm/emulate.c | 2 +-
17561 arch/x86/kvm/lapic.c | 2 +-
17562 arch/x86/kvm/paging_tmpl.h | 2 +-
17563 arch/x86/kvm/svm.c | 10 +-
17564 arch/x86/kvm/vmx.c | 62 +-
17565 arch/x86/kvm/x86.c | 42 +-
17566 arch/x86/lguest/boot.c | 3 +-
17567 arch/x86/lib/atomic64_386_32.S | 164 +
17568 arch/x86/lib/atomic64_cx8_32.S | 98 +-
17569 arch/x86/lib/checksum_32.S | 99 +-
17570 arch/x86/lib/clear_page_64.S | 3 +
17571 arch/x86/lib/cmpxchg16b_emu.S | 3 +
17572 arch/x86/lib/copy_page_64.S | 14 +-
17573 arch/x86/lib/copy_user_64.S | 66 +-
17574 arch/x86/lib/csum-copy_64.S | 14 +-
17575 arch/x86/lib/csum-wrappers_64.c | 8 +-
17576 arch/x86/lib/getuser.S | 74 +-
17577 arch/x86/lib/insn.c | 8 +-
17578 arch/x86/lib/iomap_copy_64.S | 2 +
17579 arch/x86/lib/memcpy_64.S | 6 +
17580 arch/x86/lib/memmove_64.S | 3 +-
17581 arch/x86/lib/memset_64.S | 3 +
17582 arch/x86/lib/mmx_32.c | 243 +-
17583 arch/x86/lib/msr-reg.S | 2 +
17584 arch/x86/lib/putuser.S | 87 +-
17585 arch/x86/lib/rwsem.S | 6 +-
17586 arch/x86/lib/usercopy_32.c | 359 +-
17587 arch/x86/lib/usercopy_64.c | 20 +-
17588 arch/x86/math-emu/fpu_aux.c | 2 +-
17589 arch/x86/math-emu/fpu_entry.c | 4 +-
17590 arch/x86/math-emu/fpu_system.h | 2 +-
17591 arch/x86/mm/Makefile | 4 +
17592 arch/x86/mm/extable.c | 26 +-
17593 arch/x86/mm/fault.c | 570 +-
17594 arch/x86/mm/gup.c | 6 +-
17595 arch/x86/mm/highmem_32.c | 6 +
17596 arch/x86/mm/hugetlbpage.c | 24 +-
17597 arch/x86/mm/init.c | 111 +-
17598 arch/x86/mm/init_32.c | 111 +-
17599 arch/x86/mm/init_64.c | 46 +-
17600 arch/x86/mm/iomap_32.c | 4 +
17601 arch/x86/mm/ioremap.c | 52 +-
17602 arch/x86/mm/kmemcheck/kmemcheck.c | 4 +-
17603 arch/x86/mm/mmap.c | 40 +-
17604 arch/x86/mm/mmio-mod.c | 10 +-
17605 arch/x86/mm/numa.c | 2 +-
17606 arch/x86/mm/pageattr.c | 38 +-
17607 arch/x86/mm/pat.c | 12 +-
17608 arch/x86/mm/pat_rbtree.c | 2 +-
17609 arch/x86/mm/pf_in.c | 10 +-
17610 arch/x86/mm/pgtable.c | 214 +-
17611 arch/x86/mm/pgtable_32.c | 3 +
17612 arch/x86/mm/setup_nx.c | 7 +
17613 arch/x86/mm/tlb.c | 4 +
17614 arch/x86/mm/uderef_64.c | 37 +
17615 arch/x86/net/bpf_jit.S | 11 +
17616 arch/x86/net/bpf_jit_comp.c | 13 +-
17617 arch/x86/oprofile/backtrace.c | 6 +-
17618 arch/x86/oprofile/nmi_int.c | 8 +-
17619 arch/x86/oprofile/op_model_amd.c | 8 +-
17620 arch/x86/oprofile/op_model_ppro.c | 7 +-
17621 arch/x86/oprofile/op_x86_model.h | 2 +-
17622 arch/x86/pci/intel_mid_pci.c | 2 +-
17623 arch/x86/pci/irq.c | 8 +-
17624 arch/x86/pci/pcbios.c | 144 +-
17625 arch/x86/platform/efi/efi_32.c | 24 +
17626 arch/x86/platform/efi/efi_64.c | 26 +-
17627 arch/x86/platform/efi/efi_stub_32.S | 64 +-
17628 arch/x86/platform/efi/efi_stub_64.S | 2 +
17629 arch/x86/platform/intel-mid/intel-mid.c | 5 +-
17630 arch/x86/platform/intel-mid/intel_mid_weak_decls.h | 6 +-
17631 arch/x86/platform/intel-mid/mfld.c | 4 +-
17632 arch/x86/platform/intel-mid/mrfl.c | 2 +-
17633 arch/x86/platform/intel-quark/imr_selftest.c | 2 +-
17634 arch/x86/platform/olpc/olpc_dt.c | 2 +-
17635 arch/x86/power/cpu.c | 11 +-
17636 arch/x86/realmode/init.c | 10 +-
17637 arch/x86/realmode/rm/Makefile | 3 +
17638 arch/x86/realmode/rm/header.S | 4 +-
17639 arch/x86/realmode/rm/reboot.S | 4 +
17640 arch/x86/realmode/rm/trampoline_32.S | 12 +-
17641 arch/x86/realmode/rm/trampoline_64.S | 3 +-
17642 arch/x86/realmode/rm/wakeup_asm.S | 5 +-
17643 arch/x86/tools/Makefile | 2 +-
17644 arch/x86/tools/relocs.c | 96 +-
17645 arch/x86/um/mem_32.c | 2 +-
17646 arch/x86/um/tls_32.c | 2 +-
17647 arch/x86/xen/enlighten.c | 50 +-
17648 arch/x86/xen/mmu.c | 19 +-
17649 arch/x86/xen/smp.c | 16 +-
17650 arch/x86/xen/xen-asm_32.S | 2 +-
17651 arch/x86/xen/xen-head.S | 11 +
17652 arch/x86/xen/xen-ops.h | 2 -
17653 block/bio.c | 4 +-
17654 block/blk-iopoll.c | 2 +-
17655 block/blk-map.c | 2 +-
17656 block/blk-softirq.c | 2 +-
17657 block/bsg.c | 12 +-
17658 block/compat_ioctl.c | 4 +-
17659 block/genhd.c | 9 +-
17660 block/partitions/efi.c | 8 +-
17661 block/scsi_ioctl.c | 29 +-
17662 crypto/cryptd.c | 4 +-
17663 crypto/pcrypt.c | 2 +-
17664 crypto/zlib.c | 12 +-
17665 drivers/acpi/acpi_video.c | 2 +-
17666 drivers/acpi/apei/apei-internal.h | 2 +-
17667 drivers/acpi/apei/ghes.c | 4 +-
17668 drivers/acpi/bgrt.c | 6 +-
17669 drivers/acpi/blacklist.c | 4 +-
17670 drivers/acpi/bus.c | 4 +-
17671 drivers/acpi/device_pm.c | 4 +-
17672 drivers/acpi/ec.c | 2 +-
17673 drivers/acpi/pci_slot.c | 2 +-
17674 drivers/acpi/processor_idle.c | 2 +-
17675 drivers/acpi/processor_pdc.c | 2 +-
17676 drivers/acpi/sleep.c | 2 +-
17677 drivers/acpi/sysfs.c | 4 +-
17678 drivers/acpi/thermal.c | 2 +-
17679 drivers/acpi/video_detect.c | 7 +-
17680 drivers/ata/libata-core.c | 12 +-
17681 drivers/ata/libata-scsi.c | 2 +-
17682 drivers/ata/libata.h | 2 +-
17683 drivers/ata/pata_arasan_cf.c | 4 +-
17684 drivers/atm/adummy.c | 2 +-
17685 drivers/atm/ambassador.c | 8 +-
17686 drivers/atm/atmtcp.c | 14 +-
17687 drivers/atm/eni.c | 10 +-
17688 drivers/atm/firestream.c | 8 +-
17689 drivers/atm/fore200e.c | 14 +-
17690 drivers/atm/he.c | 18 +-
17691 drivers/atm/horizon.c | 4 +-
17692 drivers/atm/idt77252.c | 36 +-
17693 drivers/atm/iphase.c | 34 +-
17694 drivers/atm/lanai.c | 12 +-
17695 drivers/atm/nicstar.c | 46 +-
17696 drivers/atm/solos-pci.c | 4 +-
17697 drivers/atm/suni.c | 4 +-
17698 drivers/atm/uPD98402.c | 16 +-
17699 drivers/atm/zatm.c | 6 +-
17700 drivers/base/bus.c | 4 +-
17701 drivers/base/devtmpfs.c | 8 +-
17702 drivers/base/node.c | 2 +-
17703 drivers/base/platform-msi.c | 20 +-
17704 drivers/base/power/domain.c | 11 +-
17705 drivers/base/power/sysfs.c | 2 +-
17706 drivers/base/power/wakeup.c | 8 +-
17707 drivers/base/regmap/regmap-debugfs.c | 11 +-
17708 drivers/base/syscore.c | 4 +-
17709 drivers/block/cciss.c | 28 +-
17710 drivers/block/cciss.h | 2 +-
17711 drivers/block/cpqarray.c | 28 +-
17712 drivers/block/cpqarray.h | 2 +-
17713 drivers/block/drbd/drbd_bitmap.c | 2 +-
17714 drivers/block/drbd/drbd_int.h | 8 +-
17715 drivers/block/drbd/drbd_main.c | 12 +-
17716 drivers/block/drbd/drbd_nl.c | 4 +-
17717 drivers/block/drbd/drbd_receiver.c | 34 +-
17718 drivers/block/drbd/drbd_worker.c | 8 +-
17719 drivers/block/pktcdvd.c | 4 +-
17720 drivers/block/rbd.c | 2 +-
17721 drivers/bluetooth/btwilink.c | 2 +-
17722 drivers/bus/arm-cci.c | 12 +-
17723 drivers/cdrom/cdrom.c | 11 +-
17724 drivers/cdrom/gdrom.c | 1 -
17725 drivers/char/agp/compat_ioctl.c | 2 +-
17726 drivers/char/agp/frontend.c | 4 +-
17727 drivers/char/agp/intel-gtt.c | 4 +-
17728 drivers/char/hpet.c | 2 +-
17729 drivers/char/ipmi/ipmi_msghandler.c | 8 +-
17730 drivers/char/ipmi/ipmi_si_intf.c | 8 +-
17731 drivers/char/mem.c | 47 +-
17732 drivers/char/nvram.c | 2 +-
17733 drivers/char/pcmcia/synclink_cs.c | 16 +-
17734 drivers/char/random.c | 12 +-
17735 drivers/char/sonypi.c | 11 +-
17736 drivers/char/tpm/tpm_acpi.c | 3 +-
17737 drivers/char/tpm/tpm_eventlog.c | 4 +-
17738 drivers/char/virtio_console.c | 4 +-
17739 drivers/clk/clk-composite.c | 2 +-
17740 drivers/clk/samsung/clk.h | 2 +-
17741 drivers/clk/socfpga/clk-gate.c | 9 +-
17742 drivers/clk/socfpga/clk-pll.c | 9 +-
17743 drivers/clk/ti/clk.c | 8 +-
17744 drivers/cpufreq/acpi-cpufreq.c | 17 +-
17745 drivers/cpufreq/cpufreq-dt.c | 4 +-
17746 drivers/cpufreq/cpufreq.c | 30 +-
17747 drivers/cpufreq/cpufreq_governor.c | 2 +-
17748 drivers/cpufreq/cpufreq_governor.h | 4 +-
17749 drivers/cpufreq/cpufreq_ondemand.c | 10 +-
17750 drivers/cpufreq/intel_pstate.c | 33 +-
17751 drivers/cpufreq/p4-clockmod.c | 12 +-
17752 drivers/cpufreq/sparc-us3-cpufreq.c | 67 +-
17753 drivers/cpufreq/speedstep-centrino.c | 7 +-
17754 drivers/cpuidle/driver.c | 2 +-
17755 drivers/cpuidle/dt_idle_states.c | 2 +-
17756 drivers/cpuidle/governor.c | 2 +-
17757 drivers/cpuidle/sysfs.c | 2 +-
17758 drivers/crypto/hifn_795x.c | 4 +-
17759 drivers/devfreq/devfreq.c | 4 +-
17760 drivers/dma/sh/shdma-base.c | 4 +-
17761 drivers/dma/sh/shdmac.c | 2 +-
17762 drivers/edac/edac_device.c | 4 +-
17763 drivers/edac/edac_mc_sysfs.c | 2 +-
17764 drivers/edac/edac_pci.c | 4 +-
17765 drivers/edac/edac_pci_sysfs.c | 22 +-
17766 drivers/edac/mce_amd.h | 2 +-
17767 drivers/firewire/core-card.c | 6 +-
17768 drivers/firewire/core-device.c | 2 +-
17769 drivers/firewire/core-transaction.c | 1 +
17770 drivers/firewire/core.h | 1 +
17771 drivers/firmware/dmi-id.c | 2 +-
17772 drivers/firmware/dmi_scan.c | 12 +-
17773 drivers/firmware/efi/cper.c | 8 +-
17774 drivers/firmware/efi/efi.c | 12 +-
17775 drivers/firmware/efi/efivars.c | 2 +-
17776 drivers/firmware/efi/runtime-map.c | 2 +-
17777 drivers/firmware/google/gsmi.c | 2 +-
17778 drivers/firmware/google/memconsole.c | 7 +-
17779 drivers/firmware/memmap.c | 2 +-
17780 drivers/firmware/psci.c | 2 +-
17781 drivers/gpio/gpio-davinci.c | 6 +-
17782 drivers/gpio/gpio-em.c | 2 +-
17783 drivers/gpio/gpio-ich.c | 2 +-
17784 drivers/gpio/gpio-omap.c | 4 +-
17785 drivers/gpio/gpio-rcar.c | 2 +-
17786 drivers/gpio/gpio-vr41xx.c | 2 +-
17787 drivers/gpio/gpiolib.c | 12 +-
17788 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-
17789 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 2 +-
17790 drivers/gpu/drm/amd/amdkfd/kfd_device.c | 6 +-
17791 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 90 +-
17792 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 8 +-
17793 .../drm/amd/amdkfd/kfd_device_queue_manager_cik.c | 14 +-
17794 .../drm/amd/amdkfd/kfd_device_queue_manager_vi.c | 14 +-
17795 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c | 4 +-
17796 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 2 +-
17797 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.h | 2 +-
17798 .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 16 +-
17799 drivers/gpu/drm/drm_crtc.c | 2 +-
17800 drivers/gpu/drm/drm_drv.c | 2 +-
17801 drivers/gpu/drm/drm_fops.c | 12 +-
17802 drivers/gpu/drm/drm_global.c | 14 +-
17803 drivers/gpu/drm/drm_info.c | 13 +-
17804 drivers/gpu/drm/drm_ioc32.c | 13 +-
17805 drivers/gpu/drm/drm_ioctl.c | 2 +-
17806 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 10 +-
17807 drivers/gpu/drm/i810/i810_drv.h | 4 +-
17808 drivers/gpu/drm/i915/i915_dma.c | 2 +-
17809 drivers/gpu/drm/i915/i915_gem_execbuffer.c | 4 +-
17810 drivers/gpu/drm/i915/i915_gem_gtt.c | 16 +-
17811 drivers/gpu/drm/i915/i915_gem_gtt.h | 6 +-
17812 drivers/gpu/drm/i915/i915_ioc32.c | 10 +-
17813 drivers/gpu/drm/i915/intel_display.c | 26 +-
17814 drivers/gpu/drm/imx/imx-drm-core.c | 2 +-
17815 drivers/gpu/drm/mga/mga_drv.h | 4 +-
17816 drivers/gpu/drm/mga/mga_ioc32.c | 10 +-
17817 drivers/gpu/drm/mga/mga_irq.c | 8 +-
17818 drivers/gpu/drm/nouveau/nouveau_bios.c | 2 +-
17819 drivers/gpu/drm/nouveau/nouveau_drm.h | 1 -
17820 drivers/gpu/drm/nouveau/nouveau_ioc32.c | 2 +-
17821 drivers/gpu/drm/nouveau/nouveau_vga.c | 2 +-
17822 drivers/gpu/drm/omapdrm/Makefile | 2 +-
17823 drivers/gpu/drm/qxl/qxl_cmd.c | 12 +-
17824 drivers/gpu/drm/qxl/qxl_debugfs.c | 8 +-
17825 drivers/gpu/drm/qxl/qxl_drv.h | 8 +-
17826 drivers/gpu/drm/qxl/qxl_ioctl.c | 10 +-
17827 drivers/gpu/drm/qxl/qxl_irq.c | 16 +-
17828 drivers/gpu/drm/qxl/qxl_ttm.c | 38 +-
17829 drivers/gpu/drm/r128/r128_cce.c | 2 +-
17830 drivers/gpu/drm/r128/r128_drv.h | 4 +-
17831 drivers/gpu/drm/r128/r128_ioc32.c | 10 +-
17832 drivers/gpu/drm/r128/r128_irq.c | 4 +-
17833 drivers/gpu/drm/r128/r128_state.c | 4 +-
17834 drivers/gpu/drm/radeon/mkregtable.c | 4 +-
17835 drivers/gpu/drm/radeon/radeon_device.c | 2 +-
17836 drivers/gpu/drm/radeon/radeon_drv.h | 2 +-
17837 drivers/gpu/drm/radeon/radeon_ioc32.c | 12 +-
17838 drivers/gpu/drm/radeon/radeon_irq.c | 6 +-
17839 drivers/gpu/drm/radeon/radeon_state.c | 4 +-
17840 drivers/gpu/drm/radeon/radeon_ttm.c | 4 +-
17841 drivers/gpu/drm/tegra/dc.c | 2 +-
17842 drivers/gpu/drm/tegra/dsi.c | 2 +-
17843 drivers/gpu/drm/tegra/hdmi.c | 2 +-
17844 drivers/gpu/drm/tegra/sor.c | 7 +-
17845 drivers/gpu/drm/tilcdc/Makefile | 6 +-
17846 drivers/gpu/drm/ttm/ttm_memory.c | 4 +-
17847 drivers/gpu/drm/ttm/ttm_page_alloc.c | 18 +-
17848 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 18 +-
17849 drivers/gpu/drm/udl/udl_fb.c | 1 -
17850 drivers/gpu/drm/via/via_drv.h | 4 +-
17851 drivers/gpu/drm/via/via_irq.c | 18 +-
17852 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 2 +-
17853 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c | 8 +-
17854 drivers/gpu/drm/vmwgfx/vmwgfx_irq.c | 4 +-
17855 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c | 2 +-
17856 drivers/gpu/vga/vga_switcheroo.c | 4 +-
17857 drivers/hid/hid-core.c | 4 +-
17858 drivers/hid/hid-sensor-custom.c | 2 +-
17859 drivers/hv/channel.c | 2 +-
17860 drivers/hv/hv.c | 4 +-
17861 drivers/hv/hv_balloon.c | 18 +-
17862 drivers/hv/hyperv_vmbus.h | 2 +-
17863 drivers/hwmon/acpi_power_meter.c | 6 +-
17864 drivers/hwmon/applesmc.c | 2 +-
17865 drivers/hwmon/asus_atk0110.c | 10 +-
17866 drivers/hwmon/coretemp.c | 2 +-
17867 drivers/hwmon/dell-smm-hwmon.c | 2 +-
17868 drivers/hwmon/ibmaem.c | 2 +-
17869 drivers/hwmon/iio_hwmon.c | 2 +-
17870 drivers/hwmon/nct6683.c | 6 +-
17871 drivers/hwmon/nct6775.c | 6 +-
17872 drivers/hwmon/pmbus/pmbus_core.c | 10 +-
17873 drivers/hwmon/sht15.c | 12 +-
17874 drivers/hwmon/via-cputemp.c | 2 +-
17875 drivers/i2c/busses/i2c-amd756-s4882.c | 2 +-
17876 drivers/i2c/busses/i2c-nforce2-s4985.c | 2 +-
17877 drivers/i2c/i2c-dev.c | 2 +-
17878 drivers/ide/ide-cd.c | 2 +-
17879 drivers/ide/ide-disk.c | 2 +-
17880 drivers/iio/industrialio-core.c | 2 +-
17881 drivers/iio/magnetometer/ak8975.c | 2 +-
17882 drivers/infiniband/core/cm.c | 32 +-
17883 drivers/infiniband/core/fmr_pool.c | 20 +-
17884 drivers/infiniband/core/uverbs_cmd.c | 3 +
17885 drivers/infiniband/hw/cxgb4/mem.c | 4 +-
17886 drivers/infiniband/hw/mlx4/mad.c | 2 +-
17887 drivers/infiniband/hw/mlx4/mcg.c | 2 +-
17888 drivers/infiniband/hw/mlx4/mlx4_ib.h | 2 +-
17889 drivers/infiniband/hw/mthca/mthca_cmd.c | 8 +-
17890 drivers/infiniband/hw/mthca/mthca_main.c | 2 +-
17891 drivers/infiniband/hw/mthca/mthca_mr.c | 6 +-
17892 drivers/infiniband/hw/mthca/mthca_provider.c | 2 +-
17893 drivers/infiniband/hw/nes/nes.c | 4 +-
17894 drivers/infiniband/hw/nes/nes.h | 40 +-
17895 drivers/infiniband/hw/nes/nes_cm.c | 62 +-
17896 drivers/infiniband/hw/nes/nes_mgt.c | 8 +-
17897 drivers/infiniband/hw/nes/nes_nic.c | 40 +-
17898 drivers/infiniband/hw/nes/nes_verbs.c | 10 +-
17899 drivers/infiniband/hw/qib/qib.h | 1 +
17900 drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 2 +-
17901 drivers/input/gameport/gameport.c | 4 +-
17902 drivers/input/input.c | 4 +-
17903 drivers/input/joystick/sidewinder.c | 1 +
17904 drivers/input/joystick/xpad.c | 4 +-
17905 drivers/input/misc/ims-pcu.c | 4 +-
17906 drivers/input/mouse/psmouse.h | 2 +-
17907 drivers/input/mousedev.c | 2 +-
17908 drivers/input/serio/serio.c | 4 +-
17909 drivers/input/serio/serio_raw.c | 4 +-
17910 drivers/input/touchscreen/htcpen.c | 2 +-
17911 drivers/iommu/arm-smmu-v3.c | 2 +-
17912 drivers/iommu/arm-smmu.c | 43 +-
17913 drivers/iommu/io-pgtable-arm.c | 101 +-
17914 drivers/iommu/io-pgtable.c | 11 +-
17915 drivers/iommu/io-pgtable.h | 19 +-
17916 drivers/iommu/iommu.c | 2 +-
17917 drivers/iommu/ipmmu-vmsa.c | 13 +-
17918 drivers/iommu/irq_remapping.c | 2 +-
17919 drivers/irqchip/irq-gic.c | 2 +-
17920 drivers/irqchip/irq-i8259.c | 2 +-
17921 drivers/irqchip/irq-renesas-intc-irqpin.c | 2 +-
17922 drivers/irqchip/irq-renesas-irqc.c | 2 +-
17923 drivers/isdn/capi/capi.c | 10 +-
17924 drivers/isdn/gigaset/interface.c | 8 +-
17925 drivers/isdn/gigaset/usb-gigaset.c | 2 +-
17926 drivers/isdn/hardware/avm/b1.c | 4 +-
17927 drivers/isdn/i4l/isdn_common.c | 2 +
17928 drivers/isdn/i4l/isdn_tty.c | 22 +-
17929 drivers/isdn/icn/icn.c | 2 +-
17930 drivers/isdn/mISDN/dsp_cmx.c | 2 +-
17931 drivers/lguest/core.c | 10 +-
17932 drivers/lguest/page_tables.c | 2 +-
17933 drivers/lguest/x86/core.c | 12 +-
17934 drivers/lguest/x86/switcher_32.S | 27 +-
17935 drivers/md/bcache/closure.h | 2 +-
17936 drivers/md/bitmap.c | 2 +-
17937 drivers/md/dm-ioctl.c | 2 +-
17938 drivers/md/dm-raid1.c | 18 +-
17939 drivers/md/dm-stats.c | 6 +-
17940 drivers/md/dm-stripe.c | 10 +-
17941 drivers/md/dm-table.c | 2 +-
17942 drivers/md/dm-thin-metadata.c | 4 +-
17943 drivers/md/dm.c | 16 +-
17944 drivers/md/md.c | 26 +-
17945 drivers/md/md.h | 6 +-
17946 drivers/md/persistent-data/dm-space-map-metadata.c | 4 +-
17947 drivers/md/persistent-data/dm-space-map.h | 1 +
17948 drivers/md/raid1.c | 4 +-
17949 drivers/md/raid10.c | 18 +-
17950 drivers/md/raid5.c | 22 +-
17951 drivers/media/dvb-core/dvbdev.c | 2 +-
17952 drivers/media/dvb-frontends/af9033.h | 2 +-
17953 drivers/media/dvb-frontends/dib3000.h | 2 +-
17954 drivers/media/dvb-frontends/dib7000p.h | 2 +-
17955 drivers/media/dvb-frontends/dib8000.h | 2 +-
17956 drivers/media/pci/cx88/cx88-video.c | 6 +-
17957 drivers/media/pci/ivtv/ivtv-driver.c | 2 +-
17958 drivers/media/pci/solo6x10/solo6x10-core.c | 2 +-
17959 drivers/media/pci/solo6x10/solo6x10-p2m.c | 2 +-
17960 drivers/media/pci/solo6x10/solo6x10.h | 2 +-
17961 drivers/media/pci/tw68/tw68-core.c | 2 +-
17962 drivers/media/platform/omap/omap_vout.c | 11 +-
17963 drivers/media/platform/s5p-tv/mixer.h | 2 +-
17964 drivers/media/platform/s5p-tv/mixer_grp_layer.c | 2 +-
17965 drivers/media/platform/s5p-tv/mixer_reg.c | 2 +-
17966 drivers/media/platform/s5p-tv/mixer_video.c | 24 +-
17967 drivers/media/platform/s5p-tv/mixer_vp_layer.c | 2 +-
17968 drivers/media/radio/radio-cadet.c | 2 +
17969 drivers/media/radio/radio-maxiradio.c | 2 +-
17970 drivers/media/radio/radio-shark.c | 2 +-
17971 drivers/media/radio/radio-shark2.c | 2 +-
17972 drivers/media/radio/radio-si476x.c | 2 +-
17973 drivers/media/radio/wl128x/fmdrv_common.c | 2 +-
17974 drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 12 +-
17975 drivers/media/v4l2-core/v4l2-device.c | 4 +-
17976 drivers/media/v4l2-core/v4l2-ioctl.c | 13 +-
17977 drivers/memory/omap-gpmc.c | 21 +-
17978 drivers/message/fusion/mptsas.c | 34 +-
17979 drivers/mfd/ab8500-debugfs.c | 2 +-
17980 drivers/mfd/kempld-core.c | 2 +-
17981 drivers/mfd/max8925-i2c.c | 2 +-
17982 drivers/mfd/tps65910.c | 2 +-
17983 drivers/mfd/twl4030-irq.c | 9 +-
17984 drivers/mfd/wm5110-tables.c | 2 +-
17985 drivers/mfd/wm8998-tables.c | 2 +-
17986 drivers/misc/c2port/core.c | 4 +-
17987 drivers/misc/kgdbts.c | 4 +-
17988 drivers/misc/lis3lv02d/lis3lv02d.c | 8 +-
17989 drivers/misc/lis3lv02d/lis3lv02d.h | 2 +-
17990 drivers/misc/mic/scif/scif_rb.c | 8 +-
17991 drivers/misc/sgi-gru/gruhandles.c | 4 +-
17992 drivers/misc/sgi-gru/gruprocfs.c | 8 +-
17993 drivers/misc/sgi-gru/grutables.h | 154 +-
17994 drivers/misc/sgi-xp/xp.h | 2 +-
17995 drivers/misc/sgi-xp/xpc.h | 3 +-
17996 drivers/misc/sgi-xp/xpc_main.c | 2 +-
17997 drivers/mmc/card/block.c | 2 +-
17998 drivers/mmc/host/dw_mmc.h | 2 +-
17999 drivers/mmc/host/mmci.c | 4 +-
18000 drivers/mmc/host/omap_hsmmc.c | 4 +-
18001 drivers/mmc/host/sdhci-esdhc-imx.c | 7 +-
18002 drivers/mmc/host/sdhci-s3c.c | 8 +-
18003 drivers/mtd/chips/cfi_cmdset_0020.c | 2 +-
18004 drivers/mtd/nand/denali.c | 1 +
18005 drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 2 +-
18006 drivers/mtd/nftlmount.c | 1 +
18007 drivers/mtd/sm_ftl.c | 2 +-
18008 drivers/net/bonding/bond_netlink.c | 2 +-
18009 drivers/net/caif/caif_hsi.c | 2 +-
18010 drivers/net/can/Kconfig | 2 +-
18011 drivers/net/can/dev.c | 2 +-
18012 drivers/net/can/vcan.c | 2 +-
18013 drivers/net/dummy.c | 2 +-
18014 drivers/net/ethernet/8390/ax88796.c | 4 +-
18015 drivers/net/ethernet/altera/altera_tse_main.c | 4 +-
18016 drivers/net/ethernet/amd/xgbe/xgbe-common.h | 4 +-
18017 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c | 4 +-
18018 drivers/net/ethernet/amd/xgbe/xgbe-desc.c | 27 +-
18019 drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 143 +-
18020 drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 64 +-
18021 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 10 +-
18022 drivers/net/ethernet/amd/xgbe/xgbe-main.c | 15 +-
18023 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 27 +-
18024 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c | 4 +-
18025 drivers/net/ethernet/amd/xgbe/xgbe.h | 10 +-
18026 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 2 +-
18027 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | 11 +-
18028 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h | 3 +-
18029 drivers/net/ethernet/broadcom/tg3.h | 1 +
18030 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c | 6 +-
18031 drivers/net/ethernet/cavium/liquidio/lio_main.c | 11 +-
18032 drivers/net/ethernet/chelsio/cxgb3/l2t.h | 2 +-
18033 drivers/net/ethernet/dec/tulip/de4x5.c | 4 +-
18034 drivers/net/ethernet/emulex/benet/be_main.c | 2 +-
18035 drivers/net/ethernet/faraday/ftgmac100.c | 2 +
18036 drivers/net/ethernet/faraday/ftmac100.c | 2 +
18037 drivers/net/ethernet/intel/i40e/i40e_ptp.c | 2 +-
18038 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 2 +-
18039 drivers/net/ethernet/mellanox/mlx4/en_tx.c | 4 +-
18040 drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 7 +-
18041 drivers/net/ethernet/neterion/vxge/vxge-config.c | 7 +-
18042 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 4 +-
18043 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c | 12 +-
18044 .../net/ethernet/qlogic/qlcnic/qlcnic_minidump.c | 2 +-
18045 drivers/net/ethernet/realtek/r8169.c | 8 +-
18046 drivers/net/ethernet/sfc/ptp.c | 2 +-
18047 drivers/net/ethernet/stmicro/stmmac/mmc_core.c | 4 +-
18048 drivers/net/ethernet/via/via-rhine.c | 2 +-
18049 drivers/net/geneve.c | 2 +-
18050 drivers/net/hyperv/hyperv_net.h | 2 +-
18051 drivers/net/hyperv/rndis_filter.c | 4 +-
18052 drivers/net/ifb.c | 2 +-
18053 drivers/net/ipvlan/ipvlan_core.c | 2 +-
18054 drivers/net/macvlan.c | 20 +-
18055 drivers/net/macvtap.c | 6 +-
18056 drivers/net/nlmon.c | 2 +-
18057 drivers/net/phy/phy_device.c | 6 +-
18058 drivers/net/ppp/ppp_generic.c | 4 +-
18059 drivers/net/slip/slhc.c | 2 +-
18060 drivers/net/team/team.c | 4 +-
18061 drivers/net/tun.c | 7 +-
18062 drivers/net/usb/hso.c | 23 +-
18063 drivers/net/usb/r8152.c | 2 +-
18064 drivers/net/usb/sierra_net.c | 4 +-
18065 drivers/net/virtio_net.c | 2 +-
18066 drivers/net/vrf.c | 2 +-
18067 drivers/net/vxlan.c | 4 +-
18068 drivers/net/wimax/i2400m/rx.c | 2 +-
18069 drivers/net/wireless/airo.c | 2 +-
18070 drivers/net/wireless/at76c50x-usb.c | 2 +-
18071 drivers/net/wireless/ath/ath10k/ce.c | 6 +-
18072 drivers/net/wireless/ath/ath10k/htc.c | 7 +-
18073 drivers/net/wireless/ath/ath10k/htc.h | 4 +-
18074 drivers/net/wireless/ath/ath9k/ar9002_mac.c | 36 +-
18075 drivers/net/wireless/ath/ath9k/ar9003_mac.c | 64 +-
18076 drivers/net/wireless/ath/ath9k/hw.h | 4 +-
18077 drivers/net/wireless/ath/ath9k/main.c | 22 +-
18078 drivers/net/wireless/ath/wil6210/wil_platform.h | 2 +-
18079 drivers/net/wireless/b43/phy_lp.c | 2 +-
18080 drivers/net/wireless/iwlegacy/3945-mac.c | 4 +-
18081 drivers/net/wireless/iwlwifi/dvm/debugfs.c | 34 +-
18082 drivers/net/wireless/iwlwifi/pcie/trans.c | 4 +-
18083 drivers/net/wireless/mac80211_hwsim.c | 28 +-
18084 drivers/net/wireless/rndis_wlan.c | 2 +-
18085 drivers/net/wireless/rt2x00/rt2x00.h | 2 +-
18086 drivers/net/wireless/rt2x00/rt2x00queue.c | 4 +-
18087 drivers/net/wireless/ti/wl1251/sdio.c | 12 +-
18088 drivers/net/wireless/ti/wl12xx/main.c | 8 +-
18089 drivers/net/wireless/ti/wl18xx/main.c | 6 +-
18090 drivers/nfc/nfcwilink.c | 2 +-
18091 drivers/of/fdt.c | 4 +-
18092 drivers/oprofile/buffer_sync.c | 8 +-
18093 drivers/oprofile/event_buffer.c | 2 +-
18094 drivers/oprofile/oprof.c | 2 +-
18095 drivers/oprofile/oprofile_stats.c | 10 +-
18096 drivers/oprofile/oprofile_stats.h | 10 +-
18097 drivers/oprofile/oprofilefs.c | 6 +-
18098 drivers/oprofile/timer_int.c | 2 +-
18099 drivers/parport/procfs.c | 4 +-
18100 drivers/pci/host/pci-host-generic.c | 24 +-
18101 drivers/pci/hotplug/acpiphp_ibm.c | 4 +-
18102 drivers/pci/hotplug/cpcihp_generic.c | 6 +-
18103 drivers/pci/hotplug/cpcihp_zt5550.c | 14 +-
18104 drivers/pci/hotplug/cpqphp_nvram.c | 2 +
18105 drivers/pci/hotplug/pci_hotplug_core.c | 6 +-
18106 drivers/pci/hotplug/pciehp_core.c | 2 +-
18107 drivers/pci/msi.c | 22 +-
18108 drivers/pci/pci-sysfs.c | 6 +-
18109 drivers/pci/pci.h | 2 +-
18110 drivers/pci/pcie/aspm.c | 6 +-
18111 drivers/pci/pcie/portdrv_pci.c | 2 +-
18112 drivers/pci/probe.c | 2 +-
18113 drivers/pinctrl/nomadik/pinctrl-nomadik.c | 2 +-
18114 drivers/pinctrl/pinctrl-at91.c | 5 +-
18115 drivers/platform/chrome/chromeos_pstore.c | 2 +-
18116 drivers/platform/x86/alienware-wmi.c | 4 +-
18117 drivers/platform/x86/compal-laptop.c | 2 +-
18118 drivers/platform/x86/hdaps.c | 2 +-
18119 drivers/platform/x86/ibm_rtl.c | 2 +-
18120 drivers/platform/x86/intel_oaktrail.c | 2 +-
18121 drivers/platform/x86/msi-laptop.c | 16 +-
18122 drivers/platform/x86/msi-wmi.c | 2 +-
18123 drivers/platform/x86/samsung-laptop.c | 2 +-
18124 drivers/platform/x86/samsung-q10.c | 2 +-
18125 drivers/platform/x86/sony-laptop.c | 14 +-
18126 drivers/platform/x86/thinkpad_acpi.c | 2 +-
18127 drivers/pnp/pnpbios/bioscalls.c | 14 +-
18128 drivers/pnp/pnpbios/core.c | 2 +-
18129 drivers/power/pda_power.c | 7 +-
18130 drivers/power/power_supply.h | 4 +-
18131 drivers/power/power_supply_core.c | 7 +-
18132 drivers/power/power_supply_sysfs.c | 6 +-
18133 drivers/power/reset/at91-reset.c | 9 +-
18134 drivers/powercap/powercap_sys.c | 136 +-
18135 drivers/ptp/ptp_private.h | 2 +-
18136 drivers/ptp/ptp_sysfs.c | 2 +-
18137 drivers/regulator/core.c | 4 +-
18138 drivers/regulator/max8660.c | 6 +-
18139 drivers/regulator/max8973-regulator.c | 16 +-
18140 drivers/regulator/mc13892-regulator.c | 8 +-
18141 drivers/rtc/rtc-armada38x.c | 7 +-
18142 drivers/rtc/rtc-cmos.c | 4 +-
18143 drivers/rtc/rtc-ds1307.c | 2 +-
18144 drivers/rtc/rtc-m48t59.c | 4 +-
18145 drivers/rtc/rtc-test.c | 6 +-
18146 drivers/scsi/be2iscsi/be_main.c | 2 +-
18147 drivers/scsi/bfa/bfa_fcpim.h | 2 +-
18148 drivers/scsi/bfa/bfa_ioc.h | 4 +-
18149 drivers/scsi/fcoe/fcoe_sysfs.c | 12 +-
18150 drivers/scsi/hosts.c | 4 +-
18151 drivers/scsi/hpsa.c | 38 +-
18152 drivers/scsi/hpsa.h | 2 +-
18153 drivers/scsi/libfc/fc_exch.c | 50 +-
18154 drivers/scsi/libsas/sas_ata.c | 2 +-
18155 drivers/scsi/lpfc/lpfc.h | 8 +-
18156 drivers/scsi/lpfc/lpfc_debugfs.c | 18 +-
18157 drivers/scsi/lpfc/lpfc_init.c | 6 +-
18158 drivers/scsi/lpfc/lpfc_scsi.c | 10 +-
18159 drivers/scsi/megaraid/megaraid_sas.h | 2 +-
18160 drivers/scsi/mpt2sas/mpt2sas_scsih.c | 8 +-
18161 drivers/scsi/pmcraid.c | 20 +-
18162 drivers/scsi/pmcraid.h | 8 +-
18163 drivers/scsi/qla2xxx/qla_attr.c | 4 +-
18164 drivers/scsi/qla2xxx/qla_gbl.h | 4 +-
18165 drivers/scsi/qla2xxx/qla_os.c | 6 +-
18166 drivers/scsi/qla4xxx/ql4_def.h | 2 +-
18167 drivers/scsi/qla4xxx/ql4_os.c | 6 +-
18168 drivers/scsi/scsi.c | 2 +-
18169 drivers/scsi/scsi_lib.c | 8 +-
18170 drivers/scsi/scsi_sysfs.c | 2 +-
18171 drivers/scsi/scsi_transport_fc.c | 8 +-
18172 drivers/scsi/scsi_transport_iscsi.c | 6 +-
18173 drivers/scsi/scsi_transport_srp.c | 6 +-
18174 drivers/scsi/sd.c | 6 +-
18175 drivers/scsi/sg.c | 2 +-
18176 drivers/scsi/sr.c | 21 +-
18177 drivers/soc/tegra/fuse/fuse-tegra.c | 2 +-
18178 drivers/spi/spi.c | 2 +-
18179 drivers/staging/android/timed_output.c | 6 +-
18180 drivers/staging/comedi/comedi_fops.c | 8 +-
18181 drivers/staging/fbtft/fbtft-core.c | 2 +-
18182 drivers/staging/fbtft/fbtft.h | 2 +-
18183 drivers/staging/gdm724x/gdm_tty.c | 2 +-
18184 drivers/staging/iio/accel/lis3l02dq_ring.c | 2 +-
18185 drivers/staging/iio/adc/ad7280a.c | 4 +-
18186 drivers/staging/lustre/lnet/selftest/brw_test.c | 12 +-
18187 drivers/staging/lustre/lnet/selftest/framework.c | 4 -
18188 drivers/staging/lustre/lnet/selftest/ping_test.c | 14 +-
18189 drivers/staging/lustre/lustre/include/lustre_dlm.h | 2 +-
18190 drivers/staging/lustre/lustre/include/obd.h | 2 +-
18191 drivers/staging/octeon/ethernet-rx.c | 20 +-
18192 drivers/staging/octeon/ethernet.c | 8 +-
18193 drivers/staging/rdma/ipath/ipath_rc.c | 6 +-
18194 drivers/staging/rdma/ipath/ipath_ruc.c | 6 +-
18195 drivers/staging/rtl8188eu/include/hal_intf.h | 2 +-
18196 drivers/staging/rtl8712/rtl871x_io.h | 2 +-
18197 drivers/staging/sm750fb/sm750.c | 14 +-
18198 drivers/staging/unisys/visorbus/visorbus_private.h | 4 +-
18199 drivers/target/sbp/sbp_target.c | 4 +-
18200 drivers/thermal/cpu_cooling.c | 9 +-
18201 drivers/thermal/int340x_thermal/int3400_thermal.c | 6 +-
18202 drivers/thermal/of-thermal.c | 17 +-
18203 drivers/thermal/x86_pkg_temp_thermal.c | 2 +-
18204 drivers/tty/cyclades.c | 6 +-
18205 drivers/tty/hvc/hvc_console.c | 14 +-
18206 drivers/tty/hvc/hvcs.c | 21 +-
18207 drivers/tty/hvc/hvsi.c | 22 +-
18208 drivers/tty/hvc/hvsi_lib.c | 4 +-
18209 drivers/tty/ipwireless/tty.c | 27 +-
18210 drivers/tty/moxa.c | 2 +-
18211 drivers/tty/n_gsm.c | 4 +-
18212 drivers/tty/n_tty.c | 3 +-
18213 drivers/tty/pty.c | 4 +-
18214 drivers/tty/rocket.c | 6 +-
18215 drivers/tty/serial/8250/8250_core.c | 10 +-
18216 drivers/tty/serial/ifx6x60.c | 2 +-
18217 drivers/tty/serial/ioc4_serial.c | 6 +-
18218 drivers/tty/serial/kgdb_nmi.c | 4 +-
18219 drivers/tty/serial/kgdboc.c | 32 +-
18220 drivers/tty/serial/msm_serial.c | 4 +-
18221 drivers/tty/serial/samsung.c | 9 +-
18222 drivers/tty/serial/serial_core.c | 8 +-
18223 drivers/tty/synclink.c | 34 +-
18224 drivers/tty/synclink_gt.c | 28 +-
18225 drivers/tty/synclinkmp.c | 34 +-
18226 drivers/tty/tty_io.c | 2 +-
18227 drivers/tty/tty_ldisc.c | 8 +-
18228 drivers/tty/tty_port.c | 22 +-
18229 drivers/uio/uio.c | 13 +-
18230 drivers/usb/atm/cxacru.c | 2 +-
18231 drivers/usb/atm/usbatm.c | 24 +-
18232 drivers/usb/class/cdc-acm.h | 2 +-
18233 drivers/usb/core/devices.c | 6 +-
18234 drivers/usb/core/devio.c | 12 +-
18235 drivers/usb/core/hcd.c | 4 +-
18236 drivers/usb/core/sysfs.c | 2 +-
18237 drivers/usb/core/usb.c | 2 +-
18238 drivers/usb/early/ehci-dbgp.c | 16 +-
18239 drivers/usb/gadget/function/u_serial.c | 22 +-
18240 drivers/usb/gadget/udc/dummy_hcd.c | 2 +-
18241 drivers/usb/host/ehci-hcd.c | 2 +-
18242 drivers/usb/host/ehci-hub.c | 4 +-
18243 drivers/usb/host/ehci-q.c | 4 +-
18244 drivers/usb/host/fotg210-hcd.c | 2 +-
18245 drivers/usb/host/fusbh200-hcd.c | 2 +-
18246 drivers/usb/host/hwa-hc.c | 2 +-
18247 drivers/usb/host/ohci-hcd.c | 2 +-
18248 drivers/usb/host/r8a66597.h | 2 +-
18249 drivers/usb/host/uhci-hcd.c | 2 +-
18250 drivers/usb/host/xhci-pci.c | 2 +-
18251 drivers/usb/host/xhci.c | 2 +-
18252 drivers/usb/misc/appledisplay.c | 4 +-
18253 drivers/usb/serial/console.c | 8 +-
18254 drivers/usb/storage/transport.c | 2 +-
18255 drivers/usb/storage/usb.c | 2 +-
18256 drivers/usb/storage/usb.h | 2 +-
18257 drivers/usb/usbip/vhci.h | 2 +-
18258 drivers/usb/usbip/vhci_hcd.c | 6 +-
18259 drivers/usb/usbip/vhci_rx.c | 2 +-
18260 drivers/usb/wusbcore/wa-hc.h | 4 +-
18261 drivers/usb/wusbcore/wa-xfer.c | 2 +-
18262 drivers/vfio/vfio.c | 2 +-
18263 drivers/vhost/vringh.c | 20 +-
18264 drivers/video/backlight/kb3886_bl.c | 2 +-
18265 drivers/video/console/fbcon.c | 2 +-
18266 drivers/video/fbdev/aty/aty128fb.c | 2 +-
18267 drivers/video/fbdev/aty/atyfb_base.c | 8 +-
18268 drivers/video/fbdev/aty/mach64_cursor.c | 5 +-
18269 drivers/video/fbdev/core/fb_defio.c | 6 +-
18270 drivers/video/fbdev/core/fbmem.c | 2 +-
18271 drivers/video/fbdev/hyperv_fb.c | 4 +-
18272 drivers/video/fbdev/i810/i810_accel.c | 1 +
18273 drivers/video/fbdev/matrox/matroxfb_base.c | 2 +-
18274 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c | 16 +-
18275 drivers/video/fbdev/nvidia/nvidia.c | 27 +-
18276 drivers/video/fbdev/omap2/dss/display.c | 8 +-
18277 drivers/video/fbdev/s1d13xxxfb.c | 6 +-
18278 drivers/video/fbdev/smscufx.c | 4 +-
18279 drivers/video/fbdev/udlfb.c | 36 +-
18280 drivers/video/fbdev/uvesafb.c | 52 +-
18281 drivers/video/fbdev/vesafb.c | 58 +-
18282 drivers/video/fbdev/via/via_clock.h | 2 +-
18283 drivers/xen/events/events_base.c | 6 +-
18284 drivers/xen/evtchn.c | 4 +-
18285 fs/Kconfig.binfmt | 2 +-
18286 fs/afs/inode.c | 4 +-
18287 fs/aio.c | 2 +-
18288 fs/autofs4/waitq.c | 2 +-
18289 fs/befs/endian.h | 6 +-
18290 fs/binfmt_aout.c | 23 +-
18291 fs/binfmt_elf.c | 670 +-
18292 fs/binfmt_elf_fdpic.c | 4 +-
18293 fs/block_dev.c | 2 +-
18294 fs/btrfs/ctree.c | 9 +-
18295 fs/btrfs/delayed-inode.c | 9 +-
18296 fs/btrfs/delayed-inode.h | 6 +-
18297 fs/btrfs/file.c | 10 +-
18298 fs/btrfs/inode.c | 14 +-
18299 fs/btrfs/super.c | 2 +-
18300 fs/btrfs/sysfs.c | 2 +-
18301 fs/btrfs/tests/free-space-tests.c | 8 +-
18302 fs/btrfs/tree-log.h | 2 +-
18303 fs/buffer.c | 2 +-
18304 fs/cachefiles/bind.c | 6 +-
18305 fs/cachefiles/daemon.c | 8 +-
18306 fs/cachefiles/internal.h | 12 +-
18307 fs/cachefiles/namei.c | 2 +-
18308 fs/cachefiles/proc.c | 12 +-
18309 fs/ceph/dir.c | 12 +-
18310 fs/ceph/super.c | 4 +-
18311 fs/cifs/cifs_debug.c | 12 +-
18312 fs/cifs/cifsfs.c | 8 +-
18313 fs/cifs/cifsglob.h | 54 +-
18314 fs/cifs/file.c | 10 +-
18315 fs/cifs/misc.c | 4 +-
18316 fs/cifs/smb1ops.c | 80 +-
18317 fs/cifs/smb2ops.c | 84 +-
18318 fs/cifs/smb2pdu.c | 3 +-
18319 fs/coda/cache.c | 10 +-
18320 fs/compat.c | 4 +-
18321 fs/compat_binfmt_elf.c | 2 +
18322 fs/compat_ioctl.c | 12 +-
18323 fs/configfs/dir.c | 10 +-
18324 fs/coredump.c | 16 +-
18325 fs/dcache.c | 51 +-
18326 fs/ecryptfs/inode.c | 2 +-
18327 fs/ecryptfs/miscdev.c | 2 +-
18328 fs/exec.c | 362 +-
18329 fs/ext2/xattr.c | 5 +-
18330 fs/ext4/ext4.h | 20 +-
18331 fs/ext4/mballoc.c | 44 +-
18332 fs/ext4/resize.c | 16 +-
18333 fs/ext4/super.c | 4 +-
18334 fs/ext4/xattr.c | 5 +-
18335 fs/fhandle.c | 3 +-
18336 fs/file.c | 4 +-
18337 fs/fs_struct.c | 8 +-
18338 fs/fscache/cookie.c | 40 +-
18339 fs/fscache/internal.h | 202 +-
18340 fs/fscache/object.c | 26 +-
18341 fs/fscache/operation.c | 38 +-
18342 fs/fscache/page.c | 110 +-
18343 fs/fscache/stats.c | 348 +-
18344 fs/fuse/cuse.c | 10 +-
18345 fs/fuse/dev.c | 4 +-
18346 fs/gfs2/glock.c | 22 +-
18347 fs/gfs2/glops.c | 4 +-
18348 fs/gfs2/quota.c | 6 +-
18349 fs/hugetlbfs/inode.c | 13 +-
18350 fs/inode.c | 4 +-
18351 fs/jffs2/erase.c | 3 +-
18352 fs/jffs2/wbuf.c | 3 +-
18353 fs/jfs/super.c | 2 +-
18354 fs/kernfs/dir.c | 2 +-
18355 fs/kernfs/file.c | 20 +-
18356 fs/libfs.c | 10 +-
18357 fs/lockd/clntproc.c | 4 +-
18358 fs/namei.c | 16 +-
18359 fs/namespace.c | 16 +-
18360 fs/nfs/callback_xdr.c | 2 +-
18361 fs/nfs/inode.c | 6 +-
18362 fs/nfsd/nfs4proc.c | 2 +-
18363 fs/nfsd/nfs4xdr.c | 2 +-
18364 fs/nfsd/nfscache.c | 11 +-
18365 fs/nfsd/vfs.c | 6 +-
18366 fs/nls/nls_base.c | 26 +-
18367 fs/nls/nls_euc-jp.c | 6 +-
18368 fs/nls/nls_koi8-ru.c | 6 +-
18369 fs/notify/fanotify/fanotify_user.c | 4 +-
18370 fs/notify/notification.c | 4 +-
18371 fs/ntfs/dir.c | 2 +-
18372 fs/ntfs/super.c | 6 +-
18373 fs/ocfs2/localalloc.c | 2 +-
18374 fs/ocfs2/ocfs2.h | 10 +-
18375 fs/ocfs2/suballoc.c | 12 +-
18376 fs/ocfs2/super.c | 20 +-
18377 fs/pipe.c | 72 +-
18378 fs/posix_acl.c | 4 +-
18379 fs/proc/array.c | 20 +
18380 fs/proc/base.c | 4 +-
18381 fs/proc/kcore.c | 34 +-
18382 fs/proc/meminfo.c | 2 +-
18383 fs/proc/nommu.c | 2 +-
18384 fs/proc/proc_sysctl.c | 26 +-
18385 fs/proc/task_mmu.c | 39 +-
18386 fs/proc/task_nommu.c | 4 +-
18387 fs/proc/vmcore.c | 16 +-
18388 fs/qnx6/qnx6.h | 4 +-
18389 fs/quota/netlink.c | 4 +-
18390 fs/read_write.c | 2 +-
18391 fs/reiserfs/do_balan.c | 2 +-
18392 fs/reiserfs/procfs.c | 2 +-
18393 fs/reiserfs/reiserfs.h | 4 +-
18394 fs/seq_file.c | 4 +-
18395 fs/splice.c | 43 +-
18396 fs/squashfs/xattr.c | 12 +-
18397 fs/sysv/sysv.h | 2 +-
18398 fs/tracefs/inode.c | 8 +-
18399 fs/udf/misc.c | 2 +-
18400 fs/ufs/swab.h | 4 +-
18401 fs/userfaultfd.c | 2 +-
18402 fs/xattr.c | 21 +
18403 fs/xfs/libxfs/xfs_bmap.c | 2 +-
18404 fs/xfs/xfs_dir2_readdir.c | 7 +-
18405 fs/xfs/xfs_ioctl.c | 2 +-
18406 fs/xfs/xfs_linux.h | 4 +-
18407 include/asm-generic/4level-fixup.h | 2 +
18408 include/asm-generic/atomic-long.h | 156 +-
18409 include/asm-generic/atomic64.h | 12 +
18410 include/asm-generic/bitops/__fls.h | 2 +-
18411 include/asm-generic/bitops/fls.h | 2 +-
18412 include/asm-generic/bitops/fls64.h | 4 +-
18413 include/asm-generic/bug.h | 6 +-
18414 include/asm-generic/cache.h | 4 +-
18415 include/asm-generic/emergency-restart.h | 2 +-
18416 include/asm-generic/kmap_types.h | 4 +-
18417 include/asm-generic/local.h | 13 +
18418 include/asm-generic/pgtable-nopmd.h | 18 +-
18419 include/asm-generic/pgtable-nopud.h | 15 +-
18420 include/asm-generic/pgtable.h | 16 +
18421 include/asm-generic/sections.h | 1 +
18422 include/asm-generic/uaccess.h | 16 +
18423 include/asm-generic/vmlinux.lds.h | 15 +-
18424 include/crypto/algapi.h | 2 +-
18425 include/drm/drmP.h | 16 +-
18426 include/drm/drm_crtc_helper.h | 2 +-
18427 include/drm/drm_mm.h | 2 +-
18428 include/drm/i915_pciids.h | 2 +-
18429 include/drm/intel-gtt.h | 4 +-
18430 include/drm/ttm/ttm_memory.h | 2 +-
18431 include/drm/ttm/ttm_page_alloc.h | 1 +
18432 include/keys/asymmetric-subtype.h | 2 +-
18433 include/linux/atmdev.h | 4 +-
18434 include/linux/atomic.h | 17 +-
18435 include/linux/audit.h | 2 +-
18436 include/linux/average.h | 2 +-
18437 include/linux/binfmts.h | 3 +-
18438 include/linux/bitmap.h | 2 +-
18439 include/linux/bitops.h | 8 +-
18440 include/linux/blkdev.h | 2 +-
18441 include/linux/blktrace_api.h | 2 +-
18442 include/linux/cache.h | 8 +
18443 include/linux/cdrom.h | 1 -
18444 include/linux/cleancache.h | 2 +-
18445 include/linux/clk-provider.h | 1 +
18446 include/linux/compat.h | 6 +-
18447 include/linux/compiler-gcc.h | 28 +-
18448 include/linux/compiler.h | 157 +-
18449 include/linux/configfs.h | 2 +-
18450 include/linux/cpufreq.h | 3 +-
18451 include/linux/cpuidle.h | 5 +-
18452 include/linux/cpumask.h | 14 +-
18453 include/linux/crypto.h | 4 +-
18454 include/linux/ctype.h | 2 +-
18455 include/linux/dcache.h | 4 +-
18456 include/linux/decompress/mm.h | 2 +-
18457 include/linux/devfreq.h | 2 +-
18458 include/linux/device.h | 7 +-
18459 include/linux/dma-mapping.h | 2 +-
18460 include/linux/efi.h | 1 +
18461 include/linux/elf.h | 2 +
18462 include/linux/err.h | 4 +-
18463 include/linux/extcon.h | 2 +-
18464 include/linux/fb.h | 3 +-
18465 include/linux/fdtable.h | 2 +-
18466 include/linux/fs.h | 5 +-
18467 include/linux/fs_struct.h | 2 +-
18468 include/linux/fscache-cache.h | 2 +-
18469 include/linux/fscache.h | 2 +-
18470 include/linux/fsnotify.h | 2 +-
18471 include/linux/genhd.h | 4 +-
18472 include/linux/genl_magic_func.h | 2 +-
18473 include/linux/gfp.h | 12 +-
18474 include/linux/highmem.h | 12 +
18475 include/linux/hwmon-sysfs.h | 6 +-
18476 include/linux/i2c.h | 1 +
18477 include/linux/if_pppox.h | 2 +-
18478 include/linux/init.h | 12 +-
18479 include/linux/init_task.h | 7 +
18480 include/linux/interrupt.h | 6 +-
18481 include/linux/iommu.h | 2 +-
18482 include/linux/ioport.h | 2 +-
18483 include/linux/ipc.h | 2 +-
18484 include/linux/irq.h | 5 +-
18485 include/linux/irqdesc.h | 2 +-
18486 include/linux/irqdomain.h | 3 +
18487 include/linux/jiffies.h | 16 +-
18488 include/linux/key-type.h | 2 +-
18489 include/linux/kgdb.h | 6 +-
18490 include/linux/kmemleak.h | 4 +-
18491 include/linux/kobject.h | 3 +-
18492 include/linux/kobject_ns.h | 2 +-
18493 include/linux/kref.h | 2 +-
18494 include/linux/libata.h | 2 +-
18495 include/linux/linkage.h | 1 +
18496 include/linux/list.h | 15 +
18497 include/linux/lockref.h | 26 +-
18498 include/linux/math64.h | 10 +-
18499 include/linux/mempolicy.h | 7 +
18500 include/linux/mm.h | 102 +-
18501 include/linux/mm_types.h | 20 +
18502 include/linux/mmiotrace.h | 4 +-
18503 include/linux/mmzone.h | 2 +-
18504 include/linux/mod_devicetable.h | 4 +-
18505 include/linux/module.h | 69 +-
18506 include/linux/moduleloader.h | 16 +
18507 include/linux/moduleparam.h | 4 +-
18508 include/linux/net.h | 2 +-
18509 include/linux/netdevice.h | 7 +-
18510 include/linux/netfilter.h | 2 +-
18511 include/linux/netfilter/nfnetlink.h | 2 +-
18512 include/linux/nls.h | 4 +-
18513 include/linux/notifier.h | 3 +-
18514 include/linux/oprofile.h | 4 +-
18515 include/linux/padata.h | 2 +-
18516 include/linux/pci_hotplug.h | 3 +-
18517 include/linux/percpu.h | 2 +-
18518 include/linux/perf_event.h | 12 +-
18519 include/linux/pipe_fs_i.h | 8 +-
18520 include/linux/pm.h | 1 +
18521 include/linux/pm_domain.h | 4 +-
18522 include/linux/pm_runtime.h | 2 +-
18523 include/linux/pnp.h | 2 +-
18524 include/linux/poison.h | 4 +-
18525 include/linux/power/smartreflex.h | 2 +-
18526 include/linux/ppp-comp.h | 2 +-
18527 include/linux/preempt.h | 21 +
18528 include/linux/proc_ns.h | 2 +-
18529 include/linux/psci.h | 2 +-
18530 include/linux/quota.h | 2 +-
18531 include/linux/random.h | 19 +-
18532 include/linux/rculist.h | 16 +
18533 include/linux/reboot.h | 14 +-
18534 include/linux/regset.h | 3 +-
18535 include/linux/relay.h | 2 +-
18536 include/linux/rio.h | 2 +-
18537 include/linux/rmap.h | 4 +-
18538 include/linux/sched.h | 72 +-
18539 include/linux/sched/sysctl.h | 1 +
18540 include/linux/semaphore.h | 2 +-
18541 include/linux/seq_file.h | 1 +
18542 include/linux/signal.h | 2 +-
18543 include/linux/skbuff.h | 12 +-
18544 include/linux/slab.h | 47 +-
18545 include/linux/slab_def.h | 14 +-
18546 include/linux/slub_def.h | 2 +-
18547 include/linux/smp.h | 2 +
18548 include/linux/sock_diag.h | 2 +-
18549 include/linux/sonet.h | 2 +-
18550 include/linux/sunrpc/addr.h | 8 +-
18551 include/linux/sunrpc/clnt.h | 2 +-
18552 include/linux/sunrpc/svc.h | 2 +-
18553 include/linux/sunrpc/svc_rdma.h | 18 +-
18554 include/linux/sunrpc/svcauth.h | 2 +-
18555 include/linux/swapops.h | 10 +-
18556 include/linux/swiotlb.h | 3 +-
18557 include/linux/syscalls.h | 21 +-
18558 include/linux/syscore_ops.h | 2 +-
18559 include/linux/sysctl.h | 3 +-
18560 include/linux/sysfs.h | 9 +-
18561 include/linux/sysrq.h | 3 +-
18562 include/linux/tcp.h | 14 +-
18563 include/linux/thread_info.h | 7 +
18564 include/linux/tty.h | 4 +-
18565 include/linux/tty_driver.h | 2 +-
18566 include/linux/tty_ldisc.h | 2 +-
18567 include/linux/types.h | 16 +
18568 include/linux/uaccess.h | 6 +-
18569 include/linux/uio_driver.h | 2 +-
18570 include/linux/unaligned/access_ok.h | 24 +-
18571 include/linux/usb.h | 12 +-
18572 include/linux/usb/hcd.h | 1 +
18573 include/linux/usb/renesas_usbhs.h | 2 +-
18574 include/linux/vermagic.h | 21 +-
18575 include/linux/vga_switcheroo.h | 8 +-
18576 include/linux/vmalloc.h | 7 +-
18577 include/linux/vmstat.h | 24 +-
18578 include/linux/xattr.h | 5 +-
18579 include/linux/zlib.h | 3 +-
18580 include/media/v4l2-dev.h | 2 +-
18581 include/media/v4l2-device.h | 2 +-
18582 include/net/9p/transport.h | 2 +-
18583 include/net/bluetooth/l2cap.h | 2 +-
18584 include/net/bonding.h | 2 +-
18585 include/net/caif/cfctrl.h | 6 +-
18586 include/net/flow.h | 2 +-
18587 include/net/genetlink.h | 2 +-
18588 include/net/gro_cells.h | 2 +-
18589 include/net/inet_connection_sock.h | 2 +-
18590 include/net/inet_sock.h | 2 +-
18591 include/net/inetpeer.h | 2 +-
18592 include/net/ip_fib.h | 2 +-
18593 include/net/ip_vs.h | 8 +-
18594 include/net/ipv6.h | 2 +-
18595 include/net/irda/ircomm_tty.h | 1 +
18596 include/net/iucv/af_iucv.h | 2 +-
18597 include/net/llc_c_ac.h | 2 +-
18598 include/net/llc_c_ev.h | 4 +-
18599 include/net/llc_c_st.h | 2 +-
18600 include/net/llc_s_ac.h | 2 +-
18601 include/net/llc_s_st.h | 2 +-
18602 include/net/mac80211.h | 4 +-
18603 include/net/neighbour.h | 2 +-
18604 include/net/net_namespace.h | 18 +-
18605 include/net/netlink.h | 2 +-
18606 include/net/netns/conntrack.h | 6 +-
18607 include/net/netns/ipv4.h | 4 +-
18608 include/net/netns/ipv6.h | 4 +-
18609 include/net/netns/xfrm.h | 2 +-
18610 include/net/ping.h | 2 +-
18611 include/net/protocol.h | 4 +-
18612 include/net/rtnetlink.h | 2 +-
18613 include/net/sctp/checksum.h | 4 +-
18614 include/net/sctp/sm.h | 4 +-
18615 include/net/sctp/structs.h | 2 +-
18616 include/net/sock.h | 12 +-
18617 include/net/tcp.h | 8 +-
18618 include/net/xfrm.h | 13 +-
18619 include/rdma/iw_cm.h | 2 +-
18620 include/scsi/libfc.h | 3 +-
18621 include/scsi/scsi_device.h | 6 +-
18622 include/scsi/scsi_driver.h | 2 +-
18623 include/scsi/scsi_transport_fc.h | 3 +-
18624 include/scsi/sg.h | 2 +-
18625 include/sound/compress_driver.h | 2 +-
18626 include/sound/soc.h | 4 +-
18627 include/trace/events/irq.h | 4 +-
18628 include/uapi/linux/a.out.h | 8 +
18629 include/uapi/linux/bcache.h | 5 +-
18630 include/uapi/linux/byteorder/little_endian.h | 28 +-
18631 include/uapi/linux/connector.h | 2 +-
18632 include/uapi/linux/elf.h | 28 +
18633 include/uapi/linux/screen_info.h | 3 +-
18634 include/uapi/linux/swab.h | 6 +-
18635 include/uapi/linux/xattr.h | 4 +
18636 include/video/udlfb.h | 8 +-
18637 include/video/uvesafb.h | 1 +
18638 init/Kconfig | 2 +-
18639 init/Makefile | 3 +
18640 init/do_mounts.c | 14 +-
18641 init/do_mounts.h | 8 +-
18642 init/do_mounts_initrd.c | 30 +-
18643 init/do_mounts_md.c | 6 +-
18644 init/init_task.c | 4 +
18645 init/initramfs.c | 38 +-
18646 init/main.c | 30 +-
18647 ipc/compat.c | 4 +-
18648 ipc/ipc_sysctl.c | 8 +-
18649 ipc/mq_sysctl.c | 4 +-
18650 ipc/sem.c | 4 +-
18651 ipc/shm.c | 6 +
18652 kernel/audit.c | 8 +-
18653 kernel/auditsc.c | 4 +-
18654 kernel/bpf/core.c | 7 +-
18655 kernel/capability.c | 3 +
18656 kernel/compat.c | 38 +-
18657 kernel/debug/debug_core.c | 16 +-
18658 kernel/debug/kdb/kdb_main.c | 4 +-
18659 kernel/events/core.c | 26 +-
18660 kernel/events/internal.h | 10 +-
18661 kernel/events/uprobes.c | 2 +-
18662 kernel/exit.c | 2 +-
18663 kernel/fork.c | 167 +-
18664 kernel/futex.c | 11 +-
18665 kernel/futex_compat.c | 2 +-
18666 kernel/gcov/base.c | 7 +-
18667 kernel/irq/manage.c | 2 +-
18668 kernel/irq/msi.c | 19 +-
18669 kernel/irq/spurious.c | 2 +-
18670 kernel/jump_label.c | 5 +
18671 kernel/kallsyms.c | 37 +-
18672 kernel/kexec.c | 3 +-
18673 kernel/kmod.c | 8 +-
18674 kernel/kprobes.c | 4 +-
18675 kernel/ksysfs.c | 2 +-
18676 kernel/locking/lockdep.c | 7 +-
18677 kernel/locking/mutex-debug.c | 12 +-
18678 kernel/locking/mutex-debug.h | 4 +-
18679 kernel/locking/mutex.c | 6 +-
18680 kernel/module.c | 422 +-
18681 kernel/notifier.c | 17 +-
18682 kernel/padata.c | 4 +-
18683 kernel/panic.c | 5 +-
18684 kernel/pid.c | 2 +-
18685 kernel/pid_namespace.c | 2 +-
18686 kernel/power/process.c | 12 +-
18687 kernel/profile.c | 14 +-
18688 kernel/ptrace.c | 8 +-
18689 kernel/rcu/rcutorture.c | 60 +-
18690 kernel/rcu/tiny.c | 4 +-
18691 kernel/rcu/tree.c | 44 +-
18692 kernel/rcu/tree.h | 14 +-
18693 kernel/rcu/tree_plugin.h | 14 +-
18694 kernel/rcu/tree_trace.c | 12 +-
18695 kernel/sched/auto_group.c | 4 +-
18696 kernel/sched/core.c | 45 +-
18697 kernel/sched/fair.c | 2 +-
18698 kernel/sched/sched.h | 2 +-
18699 kernel/signal.c | 12 +-
18700 kernel/smpboot.c | 4 +-
18701 kernel/softirq.c | 12 +-
18702 kernel/sys.c | 10 +-
18703 kernel/sysctl.c | 34 +-
18704 kernel/time/alarmtimer.c | 2 +-
18705 kernel/time/posix-cpu-timers.c | 4 +-
18706 kernel/time/posix-timers.c | 24 +-
18707 kernel/time/timer.c | 2 +-
18708 kernel/time/timer_stats.c | 10 +-
18709 kernel/trace/blktrace.c | 6 +-
18710 kernel/trace/ftrace.c | 15 +-
18711 kernel/trace/ring_buffer.c | 96 +-
18712 kernel/trace/trace.c | 2 +-
18713 kernel/trace/trace.h | 2 +-
18714 kernel/trace/trace_clock.c | 4 +-
18715 kernel/trace/trace_events.c | 1 -
18716 kernel/trace/trace_functions_graph.c | 4 +-
18717 kernel/trace/trace_mmiotrace.c | 8 +-
18718 kernel/trace/trace_output.c | 10 +-
18719 kernel/trace/trace_seq.c | 2 +-
18720 kernel/trace/trace_stack.c | 2 +-
18721 kernel/user_namespace.c | 2 +-
18722 kernel/utsname_sysctl.c | 2 +-
18723 kernel/watchdog.c | 2 +-
18724 kernel/workqueue.c | 2 +-
18725 lib/Kconfig.debug | 8 +-
18726 lib/Makefile | 2 +-
18727 lib/bitmap.c | 8 +-
18728 lib/bug.c | 2 +
18729 lib/debugobjects.c | 2 +-
18730 lib/decompress_bunzip2.c | 3 +-
18731 lib/decompress_unlzma.c | 4 +-
18732 lib/div64.c | 4 +-
18733 lib/dma-debug.c | 4 +-
18734 lib/inflate.c | 2 +-
18735 lib/ioremap.c | 4 +-
18736 lib/kobject.c | 4 +-
18737 lib/list_debug.c | 126 +-
18738 lib/lockref.c | 44 +-
18739 lib/percpu-refcount.c | 2 +-
18740 lib/radix-tree.c | 2 +-
18741 lib/random32.c | 2 +-
18742 lib/show_mem.c | 2 +-
18743 lib/strncpy_from_user.c | 2 +-
18744 lib/strnlen_user.c | 2 +-
18745 lib/swiotlb.c | 2 +-
18746 lib/usercopy.c | 6 +
18747 lib/vsprintf.c | 12 +-
18748 mm/Kconfig | 6 +-
18749 mm/backing-dev.c | 4 +-
18750 mm/debug.c | 3 +
18751 mm/filemap.c | 2 +-
18752 mm/gup.c | 13 +-
18753 mm/highmem.c | 6 +-
18754 mm/hugetlb.c | 70 +-
18755 mm/internal.h | 1 +
18756 mm/maccess.c | 4 +-
18757 mm/madvise.c | 37 +
18758 mm/memory-failure.c | 6 +-
18759 mm/memory.c | 424 +-
18760 mm/mempolicy.c | 25 +
18761 mm/mlock.c | 15 +-
18762 mm/mm_init.c | 2 +-
18763 mm/mmap.c | 582 +-
18764 mm/mprotect.c | 137 +-
18765 mm/mremap.c | 39 +-
18766 mm/nommu.c | 21 +-
18767 mm/page-writeback.c | 2 +-
18768 mm/page_alloc.c | 49 +-
18769 mm/percpu.c | 2 +-
18770 mm/process_vm_access.c | 14 +-
18771 mm/rmap.c | 45 +-
18772 mm/shmem.c | 19 +-
18773 mm/slab.c | 109 +-
18774 mm/slab.h | 22 +-
18775 mm/slab_common.c | 86 +-
18776 mm/slob.c | 218 +-
18777 mm/slub.c | 102 +-
18778 mm/sparse-vmemmap.c | 4 +-
18779 mm/sparse.c | 2 +-
18780 mm/swap.c | 2 +
18781 mm/swapfile.c | 12 +-
18782 mm/util.c | 6 +
18783 mm/vmalloc.c | 114 +-
18784 mm/vmstat.c | 12 +-
18785 net/8021q/vlan.c | 5 +-
18786 net/8021q/vlan_netlink.c | 2 +-
18787 net/9p/mod.c | 4 +-
18788 net/9p/trans_fd.c | 2 +-
18789 net/atm/atm_misc.c | 8 +-
18790 net/atm/lec.h | 2 +-
18791 net/atm/proc.c | 6 +-
18792 net/atm/resources.c | 4 +-
18793 net/ax25/sysctl_net_ax25.c | 2 +-
18794 net/batman-adv/bat_iv_ogm.c | 8 +-
18795 net/batman-adv/fragmentation.c | 2 +-
18796 net/batman-adv/soft-interface.c | 8 +-
18797 net/batman-adv/types.h | 6 +-
18798 net/bluetooth/hci_sock.c | 2 +-
18799 net/bluetooth/l2cap_core.c | 6 +-
18800 net/bluetooth/l2cap_sock.c | 12 +-
18801 net/bluetooth/rfcomm/sock.c | 4 +-
18802 net/bluetooth/rfcomm/tty.c | 4 +-
18803 net/bridge/br_netlink.c | 2 +-
18804 net/bridge/netfilter/ebtables.c | 6 +-
18805 net/caif/cfctrl.c | 11 +-
18806 net/caif/chnl_net.c | 2 +-
18807 net/can/af_can.c | 2 +-
18808 net/can/gw.c | 6 +-
18809 net/ceph/messenger.c | 4 +-
18810 net/compat.c | 24 +-
18811 net/core/datagram.c | 2 +-
18812 net/core/dev.c | 16 +-
18813 net/core/filter.c | 2 +-
18814 net/core/flow.c | 6 +-
18815 net/core/neighbour.c | 4 +-
18816 net/core/net-sysfs.c | 2 +-
18817 net/core/net_namespace.c | 8 +-
18818 net/core/netpoll.c | 4 +-
18819 net/core/rtnetlink.c | 15 +-
18820 net/core/scm.c | 14 +-
18821 net/core/skbuff.c | 8 +-
18822 net/core/sock.c | 28 +-
18823 net/core/sock_diag.c | 15 +-
18824 net/core/sysctl_net_core.c | 22 +-
18825 net/decnet/af_decnet.c | 1 +
18826 net/decnet/sysctl_net_decnet.c | 4 +-
18827 net/dsa/dsa.c | 2 +-
18828 net/hsr/hsr_netlink.c | 2 +-
18829 net/ieee802154/6lowpan/core.c | 2 +-
18830 net/ieee802154/6lowpan/reassembly.c | 14 +-
18831 net/ipv4/af_inet.c | 2 +-
18832 net/ipv4/devinet.c | 18 +-
18833 net/ipv4/fib_frontend.c | 6 +-
18834 net/ipv4/fib_semantics.c | 2 +-
18835 net/ipv4/inet_connection_sock.c | 4 +-
18836 net/ipv4/inet_timewait_sock.c | 2 +-
18837 net/ipv4/inetpeer.c | 2 +-
18838 net/ipv4/ip_fragment.c | 15 +-
18839 net/ipv4/ip_gre.c | 6 +-
18840 net/ipv4/ip_sockglue.c | 2 +-
18841 net/ipv4/ip_vti.c | 4 +-
18842 net/ipv4/ipconfig.c | 6 +-
18843 net/ipv4/ipip.c | 4 +-
18844 net/ipv4/netfilter/arp_tables.c | 12 +-
18845 net/ipv4/netfilter/ip_tables.c | 12 +-
18846 net/ipv4/ping.c | 14 +-
18847 net/ipv4/raw.c | 14 +-
18848 net/ipv4/route.c | 32 +-
18849 net/ipv4/sysctl_net_ipv4.c | 22 +-
18850 net/ipv4/tcp_input.c | 6 +-
18851 net/ipv4/tcp_probe.c | 2 +-
18852 net/ipv4/udp.c | 10 +-
18853 net/ipv4/xfrm4_policy.c | 18 +-
18854 net/ipv6/addrconf.c | 18 +-
18855 net/ipv6/af_inet6.c | 2 +-
18856 net/ipv6/datagram.c | 2 +-
18857 net/ipv6/icmp.c | 2 +-
18858 net/ipv6/ip6_fib.c | 4 +-
18859 net/ipv6/ip6_gre.c | 10 +-
18860 net/ipv6/ip6_tunnel.c | 4 +-
18861 net/ipv6/ip6_vti.c | 4 +-
18862 net/ipv6/ipv6_sockglue.c | 2 +-
18863 net/ipv6/netfilter/ip6_tables.c | 12 +-
18864 net/ipv6/netfilter/nf_conntrack_reasm.c | 14 +-
18865 net/ipv6/ping.c | 33 +-
18866 net/ipv6/raw.c | 17 +-
18867 net/ipv6/reassembly.c | 13 +-
18868 net/ipv6/route.c | 2 +-
18869 net/ipv6/sit.c | 4 +-
18870 net/ipv6/sysctl_net_ipv6.c | 2 +-
18871 net/ipv6/udp.c | 6 +-
18872 net/ipv6/xfrm6_policy.c | 17 +-
18873 net/irda/ircomm/ircomm_tty.c | 18 +-
18874 net/iucv/af_iucv.c | 4 +-
18875 net/iucv/iucv.c | 2 +-
18876 net/key/af_key.c | 4 +-
18877 net/l2tp/l2tp_eth.c | 38 +-
18878 net/l2tp/l2tp_ip.c | 2 +-
18879 net/l2tp/l2tp_ip6.c | 2 +-
18880 net/mac80211/cfg.c | 8 +-
18881 net/mac80211/ieee80211_i.h | 3 +-
18882 net/mac80211/iface.c | 20 +-
18883 net/mac80211/main.c | 2 +-
18884 net/mac80211/pm.c | 4 +-
18885 net/mac80211/rate.c | 2 +-
18886 net/mac80211/sta_info.c | 2 +-
18887 net/mac80211/util.c | 8 +-
18888 net/mpls/af_mpls.c | 6 +-
18889 net/netfilter/ipset/ip_set_core.c | 2 +-
18890 net/netfilter/ipvs/ip_vs_conn.c | 6 +-
18891 net/netfilter/ipvs/ip_vs_core.c | 4 +-
18892 net/netfilter/ipvs/ip_vs_ctl.c | 14 +-
18893 net/netfilter/ipvs/ip_vs_lblc.c | 2 +-
18894 net/netfilter/ipvs/ip_vs_lblcr.c | 2 +-
18895 net/netfilter/ipvs/ip_vs_sync.c | 6 +-
18896 net/netfilter/ipvs/ip_vs_xmit.c | 4 +-
18897 net/netfilter/nf_conntrack_acct.c | 2 +-
18898 net/netfilter/nf_conntrack_ecache.c | 2 +-
18899 net/netfilter/nf_conntrack_helper.c | 2 +-
18900 net/netfilter/nf_conntrack_proto.c | 2 +-
18901 net/netfilter/nf_conntrack_standalone.c | 2 +-
18902 net/netfilter/nf_conntrack_timestamp.c | 2 +-
18903 net/netfilter/nf_log.c | 10 +-
18904 net/netfilter/nf_sockopt.c | 4 +-
18905 net/netfilter/nfnetlink_log.c | 4 +-
18906 net/netfilter/nft_compat.c | 9 +-
18907 net/netfilter/xt_statistic.c | 8 +-
18908 net/netlink/af_netlink.c | 4 +-
18909 net/openvswitch/vport-internal_dev.c | 2 +-
18910 net/packet/af_packet.c | 8 +-
18911 net/phonet/pep.c | 6 +-
18912 net/phonet/socket.c | 2 +-
18913 net/phonet/sysctl.c | 2 +-
18914 net/rds/cong.c | 6 +-
18915 net/rds/ib.h | 2 +-
18916 net/rds/ib_cm.c | 2 +-
18917 net/rds/ib_recv.c | 4 +-
18918 net/rds/iw.h | 2 +-
18919 net/rds/iw_cm.c | 2 +-
18920 net/rds/iw_recv.c | 4 +-
18921 net/rds/rds.h | 2 +-
18922 net/rds/tcp.c | 2 +-
18923 net/rds/tcp_send.c | 2 +-
18924 net/rxrpc/af_rxrpc.c | 2 +-
18925 net/rxrpc/ar-ack.c | 14 +-
18926 net/rxrpc/ar-call.c | 2 +-
18927 net/rxrpc/ar-connection.c | 2 +-
18928 net/rxrpc/ar-connevent.c | 2 +-
18929 net/rxrpc/ar-input.c | 4 +-
18930 net/rxrpc/ar-internal.h | 8 +-
18931 net/rxrpc/ar-local.c | 2 +-
18932 net/rxrpc/ar-output.c | 4 +-
18933 net/rxrpc/ar-peer.c | 2 +-
18934 net/rxrpc/ar-proc.c | 4 +-
18935 net/rxrpc/ar-transport.c | 2 +-
18936 net/rxrpc/rxkad.c | 4 +-
18937 net/sched/sch_generic.c | 4 +-
18938 net/sctp/ipv6.c | 6 +-
18939 net/sctp/protocol.c | 10 +-
18940 net/sctp/sm_sideeffect.c | 2 +-
18941 net/sctp/socket.c | 21 +-
18942 net/sctp/sysctl.c | 10 +-
18943 net/socket.c | 18 +-
18944 net/sunrpc/auth_gss/svcauth_gss.c | 4 +-
18945 net/sunrpc/clnt.c | 4 +-
18946 net/sunrpc/sched.c | 4 +-
18947 net/sunrpc/svc.c | 4 +-
18948 net/sunrpc/svcauth_unix.c | 2 +-
18949 net/sunrpc/xprtrdma/svc_rdma.c | 38 +-
18950 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 8 +-
18951 net/sunrpc/xprtrdma/svc_rdma_sendto.c | 2 +-
18952 net/sunrpc/xprtrdma/svc_rdma_transport.c | 10 +-
18953 net/tipc/netlink_compat.c | 12 +-
18954 net/tipc/subscr.c | 2 +-
18955 net/unix/af_unix.c | 7 +-
18956 net/unix/sysctl_net_unix.c | 2 +-
18957 net/wireless/wext-core.c | 19 +-
18958 net/xfrm/xfrm_policy.c | 16 +-
18959 net/xfrm/xfrm_state.c | 33 +-
18960 net/xfrm/xfrm_sysctl.c | 2 +-
18961 scripts/Kbuild.include | 2 +-
18962 scripts/Makefile.build | 2 +-
18963 scripts/Makefile.clean | 3 +-
18964 scripts/Makefile.host | 69 +-
18965 scripts/basic/fixdep.c | 12 +-
18966 scripts/dtc/checks.c | 14 +-
18967 scripts/dtc/data.c | 6 +-
18968 scripts/dtc/flattree.c | 8 +-
18969 scripts/dtc/livetree.c | 4 +-
18970 scripts/gcc-plugin.sh | 51 +
18971 scripts/headers_install.sh | 1 +
18972 scripts/kallsyms.c | 4 +-
18973 scripts/kconfig/lkc.h | 5 +-
18974 scripts/kconfig/menu.c | 2 +-
18975 scripts/kconfig/symbol.c | 6 +-
18976 scripts/link-vmlinux.sh | 2 +-
18977 scripts/mod/file2alias.c | 14 +-
18978 scripts/mod/modpost.c | 25 +-
18979 scripts/mod/modpost.h | 6 +-
18980 scripts/mod/sumversion.c | 2 +-
18981 scripts/module-common.lds | 4 +
18982 scripts/package/builddeb | 1 +
18983 scripts/pnmtologo.c | 6 +-
18984 scripts/sortextable.h | 6 +-
18985 scripts/tags.sh | 2 +-
18986 security/Kconfig | 692 +-
18987 security/integrity/ima/ima.h | 4 +-
18988 security/integrity/ima/ima_api.c | 2 +-
18989 security/integrity/ima/ima_fs.c | 4 +-
18990 security/integrity/ima/ima_queue.c | 2 +-
18991 security/keys/key.c | 18 +-
18992 security/selinux/avc.c | 6 +-
18993 security/selinux/include/xfrm.h | 2 +-
18994 security/yama/yama_lsm.c | 2 +-
18995 sound/aoa/codecs/onyx.c | 7 +-
18996 sound/aoa/codecs/onyx.h | 1 +
18997 sound/core/oss/pcm_oss.c | 18 +-
18998 sound/core/pcm_compat.c | 2 +-
18999 sound/core/pcm_native.c | 4 +-
19000 sound/core/sound.c | 2 +-
19001 sound/drivers/mts64.c | 14 +-
19002 sound/drivers/opl4/opl4_lib.c | 2 +-
19003 sound/drivers/portman2x4.c | 3 +-
19004 sound/firewire/amdtp.c | 4 +-
19005 sound/firewire/amdtp.h | 4 +-
19006 sound/firewire/isight.c | 10 +-
19007 sound/firewire/scs1x.c | 8 +-
19008 sound/oss/sb_audio.c | 2 +-
19009 sound/oss/swarm_cs4297a.c | 6 +-
19010 sound/pci/hda/hda_codec.c | 2 +-
19011 sound/pci/ymfpci/ymfpci.h | 2 +-
19012 sound/pci/ymfpci/ymfpci_main.c | 12 +-
19013 sound/soc/codecs/sti-sas.c | 10 +-
19014 sound/soc/soc-ac97.c | 6 +-
19015 sound/soc/xtensa/xtfpga-i2s.c | 2 +-
19016 tools/gcc/Makefile | 42 +
19017 tools/gcc/checker_plugin.c | 150 +
19018 tools/gcc/colorize_plugin.c | 215 +
19019 tools/gcc/constify_plugin.c | 571 +
19020 tools/gcc/gcc-common.h | 812 +
19021 tools/gcc/initify_plugin.c | 552 +
19022 tools/gcc/kallocstat_plugin.c | 188 +
19023 tools/gcc/kernexec_plugin.c | 549 +
19024 tools/gcc/latent_entropy_plugin.c | 470 +
19025 tools/gcc/size_overflow_plugin/.gitignore | 2 +
19026 tools/gcc/size_overflow_plugin/Makefile | 28 +
19027 .../disable_size_overflow_hash.data |12422 ++++++++++++
19028 .../generate_size_overflow_hash.sh | 103 +
19029 .../insert_size_overflow_asm.c | 416 +
19030 .../size_overflow_plugin/intentional_overflow.c | 1010 +
19031 .../size_overflow_plugin/remove_unnecessary_dup.c | 137 +
19032 tools/gcc/size_overflow_plugin/size_overflow.h | 323 +
19033 .../gcc/size_overflow_plugin/size_overflow_debug.c | 194 +
19034 .../size_overflow_plugin/size_overflow_hash.data |20735 ++++++++++++++++++++
19035 .../size_overflow_hash_aux.data | 92 +
19036 tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 1226 ++
19037 .../gcc/size_overflow_plugin/size_overflow_misc.c | 505 +
19038 .../size_overflow_plugin/size_overflow_plugin.c | 318 +
19039 .../size_overflow_plugin_hash.c | 352 +
19040 .../size_overflow_plugin/size_overflow_transform.c | 749 +
19041 .../size_overflow_transform_core.c | 1010 +
19042 tools/gcc/stackleak_plugin.c | 436 +
19043 tools/gcc/structleak_plugin.c | 287 +
19044 tools/include/linux/compiler.h | 8 +
19045 tools/lib/api/Makefile | 2 +-
19046 tools/perf/util/include/asm/alternative-asm.h | 3 +
19047 tools/virtio/linux/uaccess.h | 2 +-
19048 virt/kvm/kvm_main.c | 42 +-
19049 1944 files changed, 66925 insertions(+), 8949 deletions(-)