]> 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 39c61be367e5f1e1e0a08592ab3b23e71779ac9f
2 Merge: c63d655 66f9687
3 Author: Brad Spengler <spender@grsecurity.net>
4 Date: Tue Jun 14 18:19:37 2016 -0400
5
6 Merge branch 'pax-test' into grsec-test
7
8 commit 66f968756cfcc3ab040ad99deb570fb445108fb9
9 Author: Brad Spengler <spender@grsecurity.net>
10 Date: Tue Jun 14 18:19:04 2016 -0400
11
12 Update to pax-linux-4.5.5-test12.patch:
13 - fixed a KERNEXEC regression when writing to /proc/sys/kernel/watchdog_cpumask, reported by shadowdaemon
14 - Emese worked around a gcc induced intentional integer overflow in jfs that triggered a size overflow report, reported by g66 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4486)
15 - Emese relicensed the size overflow plugin to GPLv2 only
16 - Emese added size overflow coverage for vmnet in the hash tables, reported by Shawn <citypw@gmail.com>
17 - Emese enhanced the latent entropy in various ways (https://github.com/ephox-gcc-plugins/latent_entropy/commits/master)
18 - fixed pax_sanitize_slab=off for kmalloc and boot caches, by Mathias Krause <minipli@ld-linux.so>
19 - eliminated the memory overhead of SLUB sanitization, by Mathias Krause <minipli@ld-linux.so>
20
21 kernel/smpboot.c | 3 +
22 mm/slab.c | 2 +
23 mm/slab.h | 15 +
24 mm/slab_common.c | 7 -
25 mm/slob.c | 2 +
26 mm/slub.c | 8 +-
27 scripts/gcc-plugins/latent_entropy_plugin.c | 361 +++++++++++++++------
28 .../disable_size_overflow_hash.data | 1 +
29 .../insert_size_overflow_asm.c | 2 +-
30 .../size_overflow_plugin/intentional_overflow.c | 2 +-
31 .../size_overflow_plugin/remove_unnecessary_dup.c | 2 +-
32 .../size_overflow_plugin/size_overflow_debug.c | 2 +-
33 .../size_overflow_plugin/size_overflow_hash.data | 1 -
34 .../size_overflow_hash_aux.data | 5 +
35 .../size_overflow_plugin/size_overflow_ipa.c | 2 +-
36 .../size_overflow_plugin/size_overflow_misc.c | 2 +-
37 .../size_overflow_plugin/size_overflow_plugin.c | 2 +-
38 .../size_overflow_plugin_hash.c | 2 +-
39 .../size_overflow_plugin/size_overflow_transform.c | 2 +-
40 .../size_overflow_transform_core.c | 2 +-
41 20 files changed, 310 insertions(+), 115 deletions(-)
42
43 commit c63d655907910533ed9d50671e98774b4b797578
44 Author: Tejun Heo <tj@kernel.org>
45 Date: Wed May 25 11:48:25 2016 -0400
46
47 percpu: fix synchronization between synchronous map extension and chunk destruction
48
49 For non-atomic allocations, pcpu_alloc() can try to extend the area
50 map synchronously after dropping pcpu_lock; however, the extension
51 wasn't synchronized against chunk destruction and the chunk might get
52 freed while extension is in progress.
53
54 This patch fixes the bug by putting most of non-atomic allocations
55 under pcpu_alloc_mutex to synchronize against pcpu_balance_work which
56 is responsible for async chunk management including destruction.
57
58 Signed-off-by: Tejun Heo <tj@kernel.org>
59 Reported-and-tested-by: Alexei Starovoitov <alexei.starovoitov@gmail.com>
60 Reported-by: Vlastimil Babka <vbabka@suse.cz>
61 Reported-by: Sasha Levin <sasha.levin@oracle.com>
62 Cc: stable@vger.kernel.org # v3.18+
63 Fixes: 1a4d76076cda ("percpu: implement asynchronous chunk population")
64
65 mm/percpu.c | 16 ++++++++--------
66 1 file changed, 8 insertions(+), 8 deletions(-)
67
68 commit 63442a31da7b33c5d6ab80254a2af78616b91aa8
69 Author: Tejun Heo <tj@kernel.org>
70 Date: Wed May 25 11:48:25 2016 -0400
71
72 percpu: fix synchronization between chunk->map_extend_work and chunk destruction
73
74 Atomic allocations can trigger async map extensions which is serviced
75 by chunk->map_extend_work. pcpu_balance_work which is responsible for
76 destroying idle chunks wasn't synchronizing properly against
77 chunk->map_extend_work and may end up freeing the chunk while the work
78 item is still in flight.
79
80 This patch fixes the bug by rolling async map extension operations
81 into pcpu_balance_work.
82
83 Signed-off-by: Tejun Heo <tj@kernel.org>
84 Reported-and-tested-by: Alexei Starovoitov <alexei.starovoitov@gmail.com>
85 Reported-by: Vlastimil Babka <vbabka@suse.cz>
86 Reported-by: Sasha Levin <sasha.levin@oracle.com>
87 Cc: stable@vger.kernel.org # v3.18+
88 Fixes: 9c824b6a172c ("percpu: make sure chunk->map array has available space")
89
90 mm/percpu.c | 57 ++++++++++++++++++++++++++++++++++++---------------------
91 1 file changed, 36 insertions(+), 21 deletions(-)
92
93 commit 7187611ba0d834ec7db27904c0cdf07bc9bc7d8f
94 Author: Brad Spengler <spender@grsecurity.net>
95 Date: Sat Jun 11 19:54:40 2016 -0400
96
97 Only bother establishing the PTEs for the vmap'd stack on creation
98
99 fs/exec.c | 1 -
100 include/linux/sched.h | 9 ++++-----
101 kernel/fork.c | 3 ++-
102 kernel/sched/core.c | 2 --
103 4 files changed, 6 insertions(+), 9 deletions(-)
104
105 commit a6e150dfb383fcb4c8d5294c59f2d21425ff9f72
106 Author: Brad Spengler <spender@grsecurity.net>
107 Date: Sat Jun 11 13:18:33 2016 -0400
108
109 Work around upstream's use of probe_kernel_address in alignment handling
110 which uses KERNEL_DS but wants to access userland memory directly --
111 not allowed by PaX. Reported by jotik
112
113 arch/arm/mm/alignment.c | 24 ++++++++++++++++++++----
114 1 file changed, 20 insertions(+), 4 deletions(-)
115
116 commit 1646af929d2465bc7a21a3c180de677e0b0b7950
117 Author: Dave Chinner <dchinner@redhat.com>
118 Date: Wed May 18 14:09:12 2016 +1000
119
120 xfs: mark reclaimed inodes invalid earlier
121
122 The last thing we do before using call_rcu() on an xfs_inode to be
123 freed is mark it as invalid. This means there is a window between
124 when we know for certain that the inode is going to be freed and
125 when we do actually mark it as "freed".
126
127 This is important in the context of RCU lookups - we can look up the
128 inode, find that it is valid, and then use it as such not realising
129 that it is in the final stages of being freed.
130
131 As such, mark the inode as being invalid the moment we know it is
132 going to be reclaimed. This can be done while we still hold the
133 XFS_ILOCK_EXCL and the flush lock in xfs_inode_reclaim, meaning that
134 it occurs well before we remove it from the radix tree, and that
135 the i_flags_lock, the XFS_ILOCK and the inode flush lock all act as
136 synchronisation points for detecting that an inode is about to go
137 away.
138
139 For defensive purposes, this allows us to add a further check to
140 xfs_iflush_cluster to ensure we skip inodes that are being freed
141 after we grab the XFS_ILOCK_SHARED and the flush lock - we know that
142 if the inode number if valid while we have these locks held we know
143 that it has not progressed through reclaim to the point where it is
144 clean and is about to be freed.
145
146 [bfoster: fixed __xfs_inode_clear_reclaim() using ip->i_ino after it
147 had already been zeroed.]
148
149 Signed-off-by: Dave Chinner <dchinner@redhat.com>
150 Reviewed-by: Brian Foster <bfoster@redhat.com>
151 Signed-off-by: Dave Chinner <david@fromorbit.com>
152
153 fs/xfs/xfs_icache.c | 46 ++++++++++++++++++++++++++++++++++------------
154 fs/xfs/xfs_inode.c | 13 +++++++++++++
155 2 files changed, 47 insertions(+), 12 deletions(-)
156
157 commit 096f3d24e77f4cd8fe50008623b26c89cb00ccda
158 Author: Dave Chinner <dchinner@redhat.com>
159 Date: Wed May 18 14:01:53 2016 +1000
160
161 xfs: xfs_inode_free() isn't RCU safe
162
163 The xfs_inode freed in xfs_inode_free() has multiple allocated
164 structures attached to it. We free these in xfs_inode_free() before
165 we mark the inode as invalid, and before we run call_rcu() to queue
166 the structure for freeing.
167
168 Unfortunately, this freeing can race with other accesses that are in
169 the RCU current grace period that have found the inode in the radix
170 tree with a valid state. This includes xfs_iflush_cluster(), which
171 calls xfs_inode_clean(), and that accesses the inode log item on the
172 xfs_inode.
173
174 The log item structure is freed in xfs_inode_free(), so there is the
175 possibility we can be accessing freed memory in xfs_iflush_cluster()
176 after validating the xfs_inode structure as being valid for this RCU
177 context. Hence we can get spuriously incorrect clean state returned
178 from such checks. This can lead to use thinking the inode is dirty
179 when it is, in fact, clean, and so incorrectly attaching it to the
180 buffer for IO and completion processing.
181
182 This then leads to use-after-free situations on the xfs_inode itself
183 if the IO completes after the current RCU grace period expires. The
184 buffer callbacks will access the xfs_inode and try to do all sorts
185 of things it shouldn't with freed memory.
186
187 IOWs, xfs_iflush_cluster() only works correctly when racing with
188 inode reclaim if the inode log item is present and correctly stating
189 the inode is clean. If the inode is being freed, then reclaim has
190 already made sure the inode is clean, and hence xfs_iflush_cluster
191 can skip it. However, we are accessing the inode inode under RCU
192 read lock protection and so also must ensure that all dynamically
193 allocated memory we reference in this context is not freed until the
194 RCU grace period expires.
195
196 To fix this, move all the potential memory freeing into
197 xfs_inode_free_callback() so that we are guarantee RCU protected
198 lookup code will always have the memory structures it needs
199 available during the RCU grace period that lookup races can occur
200 in.
201
202 Discovered-by: Brain Foster <bfoster@redhat.com>
203 Signed-off-by: Dave Chinner <dchinner@redhat.com>
204 Reviewed-by: Christoph Hellwig <hch@lst.de>
205 Signed-off-by: Dave Chinner <david@fromorbit.com>
206
207 fs/xfs/xfs_icache.c | 14 +++++++-------
208 1 file changed, 7 insertions(+), 7 deletions(-)
209
210 commit eaec09dbc18fe0ae7905b33b4c819a467a0e801d
211 Author: Jann Horn <jannh@google.com>
212 Date: Wed Jun 1 11:55:07 2016 +0200
213
214 sched: panic on corrupted stack end
215
216 Until now, hitting this BUG_ON caused a recursive oops (because oops
217 handling involves do_exit(), which calls into the scheduler, which in
218 turn raises an oops), which caused stuff below the stack to be
219 overwritten until a panic happened (e.g. via an oops in interrupt
220 context, caused by the overwritten CPU index in the thread_info).
221
222 Just panic directly.
223
224 Signed-off-by: Jann Horn <jannh@google.com>
225 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
226
227 kernel/sched/core.c | 3 ++-
228 1 file changed, 2 insertions(+), 1 deletion(-)
229
230 commit 96894afd3cbd735ed9230f058a32865dec270da2
231 Author: Jann Horn <jannh@google.com>
232 Date: Wed Jun 1 11:55:06 2016 +0200
233
234 ecryptfs: forbid opening files without mmap handler
235
236 This prevents users from triggering a stack overflow through a recursive
237 invocation of pagefault handling that involves mapping procfs files into
238 virtual memory.
239
240 Signed-off-by: Jann Horn <jannh@google.com>
241 Acked-by: Tyler Hicks <tyhicks@canonical.com>
242 Cc: stable@vger.kernel.org
243 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
244
245 fs/ecryptfs/kthread.c | 13 +++++++++++--
246 1 file changed, 11 insertions(+), 2 deletions(-)
247
248 commit 06608cb36ab8329c7cf03fdabc86fb7f64a2656d
249 Author: Jann Horn <jannh@google.com>
250 Date: Wed Jun 1 11:55:05 2016 +0200
251
252 proc: prevent stacking filesystems on top
253
254 This prevents stacking filesystems (ecryptfs and overlayfs) from using
255 procfs as lower filesystem. There is too much magic going on inside
256 procfs, and there is no good reason to stack stuff on top of procfs.
257
258 (For example, procfs does access checks in VFS open handlers, and
259 ecryptfs by design calls open handlers from a kernel thread that doesn't
260 drop privileges or so.)
261
262 Signed-off-by: Jann Horn <jannh@google.com>
263 Cc: stable@vger.kernel.org
264 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
265
266 fs/proc/root.c | 7 +++++++
267 1 file changed, 7 insertions(+)
268
269 commit 7cff8ffababda8d77e7e3a3f2621b26269279b9a
270 Author: Al Viro <viro@zeniv.linux.org.uk>
271 Date: Wed May 4 14:04:13 2016 -0400
272
273 ecryptfs: fix handling of directory opening
274
275 First of all, trying to open them r/w is idiocy; it's guaranteed to fail.
276 Moreover, assigning ->f_pos and assuming that everything will work is
277 blatantly broken - try that with e.g. tmpfs as underlying layer and watch
278 the fireworks. There may be a non-trivial amount of state associated with
279 current IO position, well beyond the numeric offset. Using the single
280 struct file associated with underlying inode is really not a good idea;
281 we ought to open one for each ecryptfs directory struct file.
282
283 Additionally, file_operations both for directories and non-directories are
284 full of pointless methods; non-directories should *not* have ->iterate(),
285 directories should not have ->flush(), ->fasync() and ->splice_read().
286
287 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
288
289 fs/ecryptfs/file.c | 71 ++++++++++++++++++++++++++++++++++++++++++------------
290 1 file changed, 55 insertions(+), 16 deletions(-)
291
292 commit b690dcd62ad1433e69d391a267ce01534c19d20a
293 Author: Brad Spengler <spender@grsecurity.net>
294 Date: Wed Jun 8 20:59:28 2016 -0400
295
296 fix compiler warnings
297
298 fs/exec.c | 4 ++--
299 1 file changed, 2 insertions(+), 2 deletions(-)
300
301 commit 5d43ec1fb9c94f0c2644e0d09a8257442134a0ce
302 Author: Brad Spengler <spender@grsecurity.net>
303 Date: Wed Jun 8 20:52:00 2016 -0400
304
305 Avoid some UB
306
307 fs/exec.c | 8 ++++----
308 1 file changed, 4 insertions(+), 4 deletions(-)
309
310 commit d34347de1cae1f7bd8ea4223d5baca5da8ea4529
311 Author: Brad Spengler <spender@grsecurity.net>
312 Date: Wed Jun 8 20:23:27 2016 -0400
313
314 compile fix
315
316 kernel/smpboot.c | 1 +
317 1 file changed, 1 insertion(+)
318
319 commit 4dfdd6b803d58fec94306a4ff437d500a9c80908
320 Author: Brad Spengler <spender@grsecurity.net>
321 Date: Wed Jun 8 20:13:34 2016 -0400
322
323 Add open/close around cpumask modification, reported by shadowdaemon
324 Triggered by writing to /proc/sys/kernel/watchdog_cpumask
325
326 kernel/smpboot.c | 2 ++
327 1 file changed, 2 insertions(+)
328
329 commit 1ee24693e22a535dbede927beba7b90cd8559eb4
330 Merge: 11150b9 dec4686
331 Author: Brad Spengler <spender@grsecurity.net>
332 Date: Wed Jun 8 07:39:26 2016 -0400
333
334 Merge branch 'pax-test' into grsec-test
335
336 commit dec468678ead461fc786adfbb2505b6ef66a371a
337 Merge: 85a5882 8c596d1
338 Author: Brad Spengler <spender@grsecurity.net>
339 Date: Wed Jun 8 07:39:18 2016 -0400
340
341 Merge branch 'linux-4.5.y' into pax-test
342
343 commit 11150b92c4cd78ec6a22ad0ff682faf2354b4445
344 Author: Brad Spengler <spender@grsecurity.net>
345 Date: Sun Jun 5 14:18:34 2016 -0400
346
347 compile fix
348
349 grsecurity/grsec_tpe.c | 4 ++--
350 include/linux/uidgid.h | 1 +
351 2 files changed, 3 insertions(+), 2 deletions(-)
352
353 commit 6e548aad3425733ed443e4a3232205935f0d4939
354 Author: Brad Spengler <spender@grsecurity.net>
355 Date: Sun Jun 5 08:19:09 2016 -0400
356
357 Workaround some Debian bike-shedding so that group-writable /bin dirs
358 (with group ownership of root) don't trigger TPE violations
359 Reported by jvoisin
360
361 grsecurity/grsec_tpe.c | 4 ++--
362 1 file changed, 2 insertions(+), 2 deletions(-)
363
364 commit 735ea2028ce017246358d22ec81dc6db73499770
365 Author: Brad Spengler <spender@grsecurity.net>
366 Date: Sun Jun 5 04:23:15 2016 -0400
367
368 move another instance of is_privileged_binary outside of atomic
369
370 grsecurity/gracl_segv.c | 4 +++-
371 1 file changed, 3 insertions(+), 1 deletion(-)
372
373 commit e08a7bcc7b7a1e423b5346bcef85d9a92185f65f
374 Merge: d094457 85a5882
375 Author: Brad Spengler <spender@grsecurity.net>
376 Date: Sun Jun 5 04:09:29 2016 -0400
377
378 Merge branch 'pax-test' into grsec-test
379
380 commit 85a588299f41d6a116b8d07d902de986968a84b0
381 Merge: 89f00c3 ec2a755
382 Author: Brad Spengler <spender@grsecurity.net>
383 Date: Sun Jun 5 04:08:42 2016 -0400
384
385 Merge branch 'linux-4.5.y' into pax-test
386
387 commit d094457eb90a693f7007b7f4b26c2132137c7ed2
388 Author: Brad Spengler <spender@grsecurity.net>
389 Date: Mon May 30 10:15:11 2016 -0400
390
391 move privilege/xattr check outside of locks to prevent warning, reported by shadowdaemon
392
393 grsecurity/grsec_sig.c | 7 +++++--
394 1 file changed, 5 insertions(+), 2 deletions(-)
395
396 commit 2fad2bb3392409d98498b3af53cf39f2475e4b70
397 Author: Brad Spengler <spender@grsecurity.net>
398 Date: Sun May 29 10:11:27 2016 -0400
399
400 Fix another harmless warning
401
402 fs/proc/proc_sysctl.c | 2 +-
403 1 file changed, 1 insertion(+), 1 deletion(-)
404
405 commit d62f996e40c87e46b20f45e16819f92d49f3e926
406 Author: Brad Spengler <spender@grsecurity.net>
407 Date: Sun May 29 09:56:32 2016 -0400
408
409 Fix more harmless compiler warnings
410
411 grsecurity/gracl_policy.c | 8 ++++----
412 1 file changed, 4 insertions(+), 4 deletions(-)
413
414 commit 558b784a2b87e337d12bae07d60f435c2f06d849
415 Author: Brad Spengler <spender@grsecurity.net>
416 Date: Sun May 29 09:47:50 2016 -0400
417
418 Fix more harmless warnings
419
420 grsecurity/gracl.c | 6 +++---
421 1 file changed, 3 insertions(+), 3 deletions(-)
422
423 commit 32ec63339ab130758e6941d7f1d8993e41956980
424 Author: Brad Spengler <spender@grsecurity.net>
425 Date: Sun May 29 09:41:23 2016 -0400
426
427 Fix another warning
428
429 include/linux/sched.h | 1 +
430 1 file changed, 1 insertion(+)
431
432 commit 789369de0dbde1fedd2d5cb0ee3474e160af187c
433 Author: Brad Spengler <spender@grsecurity.net>
434 Date: Sun May 29 09:22:05 2016 -0400
435
436 Fix some harmless compiler warnings
437
438 grsecurity/grsum.c | 4 ++--
439 1 file changed, 2 insertions(+), 2 deletions(-)
440
441 commit ed18543a205c206d0aa8ee6b04c606579823b7b3
442 Merge: b0b4143 89f00c3
443 Author: Brad Spengler <spender@grsecurity.net>
444 Date: Sun May 29 08:34:18 2016 -0400
445
446 Merge branch 'pax-test' into grsec-test
447
448 commit 89f00c3b596a62ae5bcfe4920e9d05b9a94be7fa
449 Author: Brad Spengler <spender@grsecurity.net>
450 Date: Sun May 29 08:26:37 2016 -0400
451
452 Update to pax-linux-4.5.5-test11.patch:
453 - fixed arm kuser helper emulation for thumb mode userland, reported by Wizzup(https://forums.grsecurity.net/viewtopic.php?f=3&t=4479)
454 - fixed incorrect function pointer casts in bcache caught by RAP, reported by torsten (https://forums.grsecurity.net/viewtopic.php?f=3&t=4482)
455 - 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>
456 - moved gcc plugins from tools/gcc to scripts/gcc-plugins and simplified the plugin build system, by Emese
457 - changed the constify and latent entropy plugins to use a consistent command line switch for compile-time disabling
458 - cleaned up a few unusued macros, whitespace, inline asm constraints, etc
459 - hid the lvalue casts needed for constify behind the const_cast macro, by Mathias Krause <minipli@ld-linux.so>
460
461 Makefile | 50 +-
462 arch/Kconfig | 14 +
463 arch/arm/Kconfig | 1 +
464 arch/arm/boot/compressed/Makefile | 2 +
465 arch/arm/mach-exynos/suspend.c | 4 +-
466 arch/arm/mach-omap2/powerdomains43xx_data.c | 2 +-
467 arch/arm/mach-shmobile/platsmp-apmu.c | 2 +-
468 arch/arm/mm/fault.c | 14 +
469 arch/arm64/Kconfig | 1 +
470 arch/mips/Kconfig | 1 +
471 arch/powerpc/Kconfig | 1 +
472 arch/powerpc/include/asm/atomic.h | 7 +-
473 arch/powerpc/kernel/Makefile | 8 +-
474 arch/sparc/Kconfig | 1 +
475 arch/um/Makefile | 4 +-
476 arch/x86/Kconfig | 1 +
477 arch/x86/boot/Makefile | 3 -
478 arch/x86/boot/compressed/Makefile | 3 -
479 arch/x86/entry/common.c | 2 +-
480 arch/x86/include/asm/thread_info.h | 27 -
481 arch/x86/kernel/cpu/perf_event_intel_cqm.c | 2 +-
482 arch/x86/kernel/cpu/perf_event_intel_pt.c | 10 +-
483 arch/x86/kernel/i8259.c | 4 +-
484 arch/x86/kernel/paravirt-spinlocks.c | 2 +-
485 arch/x86/oprofile/nmi_int.c | 2 +-
486 arch/x86/oprofile/op_model_amd.c | 6 +-
487 arch/x86/oprofile/op_model_ppro.c | 4 +-
488 arch/x86/pci/vmd.c | 2 +-
489 arch/x86/realmode/rm/Makefile | 3 -
490 drivers/acpi/bgrt.c | 4 +-
491 drivers/ata/libata-core.c | 2 +-
492 drivers/ata/pata_arasan_cf.c | 2 +-
493 drivers/base/platform-msi.c | 14 +-
494 drivers/base/power/domain.c | 4 +-
495 drivers/bus/arm-cci.c | 6 +-
496 drivers/cdrom/cdrom.c | 2 +-
497 drivers/clk/socfpga/clk-gate.c | 4 +-
498 drivers/clk/socfpga/clk-pll.c | 4 +-
499 drivers/clk/ti/clk.c | 4 +-
500 drivers/cpufreq/acpi-cpufreq.c | 8 +-
501 drivers/cpufreq/cpufreq-dt.c | 2 +-
502 drivers/cpufreq/cpufreq.c | 8 +-
503 drivers/cpufreq/cpufreq_ondemand.c | 4 +-
504 drivers/cpufreq/p4-clockmod.c | 6 +-
505 drivers/cpufreq/speedstep-centrino.c | 2 +-
506 drivers/firmware/dmi_scan.c | 8 +-
507 drivers/firmware/efi/efi.c | 10 +-
508 drivers/firmware/google/memconsole.c | 2 +-
509 drivers/gpio/gpiolib.c | 8 +-
510 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +-
511 drivers/gpu/drm/i810/i810_drv.c | 2 +-
512 drivers/gpu/drm/i915/i915_irq.c | 86 +-
513 drivers/gpu/drm/i915/intel_display.c | 6 +-
514 drivers/gpu/drm/mga/mga_drv.c | 2 +-
515 drivers/gpu/drm/omapdrm/dss/display.c | 6 +-
516 drivers/gpu/drm/qxl/qxl_drv.c | 2 +-
517 drivers/gpu/drm/qxl/qxl_ttm.c | 4 +-
518 drivers/gpu/drm/r128/r128_drv.c | 2 +-
519 drivers/gpu/drm/radeon/radeon_drv.c | 2 +-
520 drivers/gpu/drm/savage/savage_drv.c | 2 +-
521 drivers/gpu/drm/sis/sis_drv.c | 2 +-
522 drivers/gpu/drm/tegra/dc.c | 2 +-
523 drivers/gpu/drm/tegra/sor.c | 2 +-
524 drivers/gpu/drm/via/via_drv.c | 2 +-
525 drivers/idle/intel_idle.c | 4 +-
526 drivers/infiniband/hw/qib/qib.h | 1 -
527 drivers/iommu/arm-smmu.c | 4 +-
528 drivers/isdn/hardware/eicon/mntfunc.c | 2 +-
529 drivers/md/bcache/btree.c | 11 +-
530 drivers/md/bcache/closure.c | 4 +-
531 drivers/md/bcache/closure.h | 8 +-
532 drivers/md/bcache/journal.c | 16 +-
533 drivers/md/bcache/movinggc.c | 12 +-
534 drivers/md/bcache/request.c | 54 +-
535 drivers/md/bcache/request.h | 2 +-
536 drivers/md/bcache/super.c | 30 +-
537 drivers/md/bcache/writeback.c | 12 +-
538 drivers/media/platform/am437x/am437x-vpfe.c | 2 +-
539 drivers/mfd/twl4030-irq.c | 4 +-
540 drivers/misc/c2port/core.c | 2 +-
541 drivers/misc/mic/scif/scif_api.c | 8 +-
542 drivers/mmc/host/mmci.c | 2 +-
543 drivers/mmc/host/omap_hsmmc.c | 2 +-
544 drivers/mmc/host/sdhci-esdhc-imx.c | 2 +-
545 drivers/mmc/host/sdhci-s3c.c | 6 +-
546 drivers/net/ethernet/cavium/liquidio/lio_main.c | 2 +-
547 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 4 +-
548 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 2 +-
549 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c | 6 +-
550 drivers/net/macvlan.c | 14 +-
551 drivers/net/wireless/ath/ath9k/main.c | 20 +-
552 drivers/net/wireless/intel/iwlegacy/3945-mac.c | 2 +-
553 drivers/net/wireless/mac80211_hwsim.c | 22 +-
554 drivers/net/wireless/ti/wl1251/sdio.c | 8 +-
555 drivers/net/wireless/ti/wl12xx/main.c | 4 +-
556 drivers/net/wireless/ti/wl18xx/main.c | 4 +-
557 drivers/of/fdt.c | 2 +-
558 drivers/pci/hotplug/acpiphp_ibm.c | 2 +-
559 drivers/pci/hotplug/cpcihp_zt5550.c | 6 +-
560 drivers/pci/hotplug/pci_hotplug_core.c | 4 +-
561 drivers/pci/msi.c | 12 +-
562 drivers/pinctrl/pinctrl-at91.c | 2 +-
563 drivers/platform/x86/msi-laptop.c | 12 +-
564 drivers/power/reset/at91-reset.c | 2 +-
565 drivers/powercap/powercap_sys.c | 6 +-
566 drivers/regulator/max8660.c | 4 +-
567 drivers/regulator/max8973-regulator.c | 12 +-
568 drivers/regulator/mc13892-regulator.c | 4 +-
569 drivers/rtc/rtc-armada38x.c | 4 +-
570 drivers/rtc/rtc-cmos.c | 2 +-
571 drivers/rtc/rtc-m48t59.c | 2 +-
572 drivers/rtc/rtc-rx8010.c | 6 +-
573 drivers/rtc/rtc-test.c | 4 +-
574 drivers/scsi/aacraid/aachba.c | 4 +-
575 drivers/scsi/lpfc/lpfc_init.c | 4 +-
576 drivers/scsi/qla2xxx/qla_os.c | 4 +-
577 drivers/staging/sm750fb/sm750.c | 8 +-
578 drivers/thermal/cpu_cooling.c | 6 +-
579 drivers/thermal/int340x_thermal/int3400_thermal.c | 4 +-
580 drivers/thermal/of-thermal.c | 12 +-
581 drivers/tty/pty.c | 2 +-
582 drivers/tty/serial/8250/8250_core.c | 6 +-
583 drivers/tty/serial/kgdb_nmi.c | 2 +-
584 drivers/usb/host/xhci-ring.c | 52 +-
585 drivers/video/fbdev/aty/atyfb_base.c | 4 +-
586 drivers/video/fbdev/aty/mach64_cursor.c | 2 +-
587 drivers/video/fbdev/core/fb_defio.c | 6 +-
588 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c | 12 +-
589 drivers/video/fbdev/nvidia/nvidia.c | 18 +-
590 drivers/video/fbdev/omap2/omapfb/dss/display.c | 6 +-
591 drivers/video/fbdev/s1d13xxxfb.c | 4 +-
592 drivers/video/fbdev/smscufx.c | 2 +-
593 drivers/video/fbdev/udlfb.c | 2 +-
594 drivers/video/fbdev/uvesafb.c | 4 +-
595 drivers/video/fbdev/vesafb.c | 2 +-
596 fs/fuse/cuse.c | 6 +-
597 fs/jffs2/file.c | 2 +-
598 fs/nls/nls_base.c | 4 +-
599 fs/nls/nls_euc-jp.c | 4 +-
600 fs/nls/nls_koi8-ru.c | 4 +-
601 fs/proc/proc_sysctl.c | 4 +-
602 fs/tracefs/inode.c | 4 +-
603 include/linux/compiler-gcc.h | 1 +
604 include/linux/compiler.h | 4 +
605 include/linux/seq_buf.h | 2 +-
606 include/linux/sysfs.h | 2 +-
607 kernel/cgroup.c | 14 +-
608 kernel/irq/msi.c | 12 +-
609 kernel/notifier.c | 4 +-
610 kernel/pid.c | 2 +-
611 kernel/trace/trace_output.c | 8 +-
612 net/core/rtnetlink.c | 2 +-
613 net/xfrm/xfrm_state.c | 2 +-
614 scripts/Makefile | 1 +
615 scripts/Makefile.gcc-plugins | 138 +-
616 scripts/Makefile.host | 6 +-
617 scripts/gcc-plugin.sh | 4 +-
618 scripts/gcc-plugins/Makefile | 45 +
619 scripts/gcc-plugins/checker_plugin.c | 496 +
620 scripts/gcc-plugins/colorize_plugin.c | 162 +
621 scripts/gcc-plugins/constify_plugin.c | 521 +
622 scripts/gcc-plugins/gcc-common.h | 879 +
623 scripts/gcc-plugins/gcc-generate-gimple-pass.h | 175 +
624 scripts/gcc-plugins/gcc-generate-ipa-pass.h | 289 +
625 scripts/gcc-plugins/gcc-generate-rtl-pass.h | 175 +
626 scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | 175 +
627 scripts/gcc-plugins/initify_plugin.c | 536 +
628 scripts/gcc-plugins/kallocstat_plugin.c | 135 +
629 scripts/gcc-plugins/kernexec_plugin.c | 407 +
630 scripts/gcc-plugins/latent_entropy_plugin.c | 438 +
631 scripts/gcc-plugins/rap_plugin/Makefile | 4 +
632 scripts/gcc-plugins/rap_plugin/rap.h | 36 +
633 scripts/gcc-plugins/rap_plugin/rap_fptr_pass.c | 220 +
634 scripts/gcc-plugins/rap_plugin/rap_hash.c | 382 +
635 scripts/gcc-plugins/rap_plugin/rap_plugin.c | 511 +
636 scripts/gcc-plugins/rap_plugin/sip.c | 96 +
637 .../gcc-plugins/size_overflow_plugin/.gitignore | 3 +
638 scripts/gcc-plugins/size_overflow_plugin/Makefile | 28 +
639 .../disable_size_overflow_hash.data | 12444 +++++++++++
640 .../generate_size_overflow_hash.sh | 103 +
641 .../insert_size_overflow_asm.c | 369 +
642 .../size_overflow_plugin/intentional_overflow.c | 1166 +
643 .../size_overflow_plugin/remove_unnecessary_dup.c | 137 +
644 .../size_overflow_plugin/size_overflow.h | 331 +
645 .../size_overflow_plugin/size_overflow_debug.c | 194 +
646 .../size_overflow_plugin/size_overflow_hash.data | 21504 +++++++++++++++++++
647 .../size_overflow_hash_aux.data | 92 +
648 .../size_overflow_plugin/size_overflow_ipa.c | 1163 +
649 .../size_overflow_plugin/size_overflow_misc.c | 505 +
650 .../size_overflow_plugin/size_overflow_plugin.c | 290 +
651 .../size_overflow_plugin_hash.c | 352 +
652 .../size_overflow_plugin/size_overflow_transform.c | 743 +
653 .../size_overflow_transform_core.c | 1025 +
654 scripts/gcc-plugins/stackleak_plugin.c | 350 +
655 scripts/gcc-plugins/structleak_plugin.c | 239 +
656 scripts/package/builddeb | 2 +-
657 security/Kconfig | 8 +-
658 sound/soc/codecs/sti-sas.c | 8 +-
659 sound/soc/soc-ac97.c | 4 +-
660 tools/gcc/Makefile | 46 -
661 tools/gcc/checker_plugin.c | 496 -
662 tools/gcc/colorize_plugin.c | 162 -
663 tools/gcc/constify_plugin.c | 521 -
664 tools/gcc/gcc-common.h | 879 -
665 tools/gcc/gcc-generate-gimple-pass.h | 175 -
666 tools/gcc/gcc-generate-ipa-pass.h | 289 -
667 tools/gcc/gcc-generate-rtl-pass.h | 175 -
668 tools/gcc/gcc-generate-simple_ipa-pass.h | 175 -
669 tools/gcc/initify_plugin.c | 536 -
670 tools/gcc/kallocstat_plugin.c | 135 -
671 tools/gcc/kernexec_plugin.c | 407 -
672 tools/gcc/latent_entropy_plugin.c | 422 -
673 tools/gcc/rap_plugin/Makefile | 4 -
674 tools/gcc/rap_plugin/rap.h | 36 -
675 tools/gcc/rap_plugin/rap_fptr_pass.c | 220 -
676 tools/gcc/rap_plugin/rap_hash.c | 382 -
677 tools/gcc/rap_plugin/rap_plugin.c | 511 -
678 tools/gcc/rap_plugin/sip.c | 96 -
679 tools/gcc/size_overflow_plugin/.gitignore | 3 -
680 tools/gcc/size_overflow_plugin/Makefile | 28 -
681 .../disable_size_overflow_hash.data | 12444 -----------
682 .../generate_size_overflow_hash.sh | 103 -
683 .../insert_size_overflow_asm.c | 369 -
684 .../size_overflow_plugin/intentional_overflow.c | 1166 -
685 .../size_overflow_plugin/remove_unnecessary_dup.c | 137 -
686 tools/gcc/size_overflow_plugin/size_overflow.h | 331 -
687 .../gcc/size_overflow_plugin/size_overflow_debug.c | 194 -
688 .../size_overflow_plugin/size_overflow_hash.data | 21504 -------------------
689 .../size_overflow_hash_aux.data | 92 -
690 tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 1163 -
691 .../gcc/size_overflow_plugin/size_overflow_misc.c | 505 -
692 .../size_overflow_plugin/size_overflow_plugin.c | 290 -
693 .../size_overflow_plugin_hash.c | 352 -
694 .../size_overflow_plugin/size_overflow_transform.c | 743 -
695 .../size_overflow_transform_core.c | 1025 -
696 tools/gcc/stackleak_plugin.c | 350 -
697 tools/gcc/structleak_plugin.c | 239 -
698 237 files changed, 47340 insertions(+), 47276 deletions(-)
699
700 commit b0b41430a8c9e6e5067c896c07d361e527e298e8
701 Author: Brad Spengler <spender@grsecurity.net>
702 Date: Sat May 21 13:59:19 2016 -0400
703
704 Fix gcc assert properly, from Emese Revfy
705
706 tools/gcc/size_overflow_plugin/intentional_overflow.c | 2 +-
707 tools/gcc/size_overflow_plugin/size_overflow_plugin.c | 2 +-
708 2 files changed, 2 insertions(+), 2 deletions(-)
709
710 commit 5e7a47f06420603b0f26f1b45fe2ab02838795c9
711 Merge: f844209 5929595
712 Author: Brad Spengler <spender@grsecurity.net>
713 Date: Fri May 20 20:19:27 2016 -0400
714
715 Merge branch 'pax-test' into grsec-test
716
717 commit 5929595ec558e9282901842bdf9e4a981751fb08
718 Author: Brad Spengler <spender@grsecurity.net>
719 Date: Fri May 20 20:18:58 2016 -0400
720
721 Update to pax-linux-4.5.5-test9.patch:
722 - fixed a few more incorrect fptr casts for RAP
723
724 arch/x86/math-emu/fpu_etc.c | 9 +++++++--
725 arch/x86/math-emu/fpu_trig.c | 13 +++++++++----
726 arch/x86/math-emu/reg_constant.c | 7 ++++++-
727 drivers/isdn/hisax/hfc_2bds0.c | 4 ++--
728 drivers/isdn/hisax/hfcscard.c | 6 ++++--
729 drivers/isdn/hisax/saphir.c | 5 +++--
730 drivers/isdn/hisax/teleint.c | 5 +++--
731 drivers/media/pci/sta2x11/sta2x11_vip.c | 5 +++--
732 drivers/net/hamradio/baycom_epp.c | 2 +-
733 9 files changed, 38 insertions(+), 18 deletions(-)
734
735 commit f84420916698cdf33a81f046206d050e2c3e6966
736 Merge: fa18ce2 445754e
737 Author: Brad Spengler <spender@grsecurity.net>
738 Date: Fri May 20 18:52:20 2016 -0400
739
740 Merge branch 'pax-test' into grsec-test
741
742 commit 445754e5717176c2b3431a0cde1e90df51cc43e2
743 Author: Brad Spengler <spender@grsecurity.net>
744 Date: Fri May 20 18:51:52 2016 -0400
745
746 Update to pax-linux-4.5.4-test8.patch:
747 - fixed a USERCOPY report in the mwifiex driver, by Dennis Wassenberg <dennis.wassenberg@secunet.com> and Mathias Krause <minipli@ld-linux.so>
748
749 drivers/net/wireless/marvell/mwifiex/11n_aggr.c | 2 +-
750 drivers/net/wireless/marvell/mwifiex/pcie.c | 4 ++--
751 drivers/net/wireless/marvell/mwifiex/sdio.c | 10 ++++------
752 3 files changed, 7 insertions(+), 9 deletions(-)
753
754 commit fa18ce2d37a92442162fb72b8f85ee86120ffacb
755 Author: Brad Spengler <spender@grsecurity.net>
756 Date: Thu May 19 18:30:08 2016 -0400
757
758 Update size_overflow hash, from Dr. Toth
759
760 tools/gcc/size_overflow_plugin/size_overflow_hash.data | 1 +
761 1 file changed, 1 insertion(+)
762
763 commit 61c487965dbc34618fe292663759d6fa0515bcad
764 Merge: fbc84d2 a734dbd
765 Author: Brad Spengler <spender@grsecurity.net>
766 Date: Thu May 19 06:26:52 2016 -0400
767
768 Merge branch 'pax-test' into grsec-test
769
770 commit a734dbda8b785c38baa1858df2bffc89b45d070a
771 Merge: 238dfca 3b41b7e
772 Author: Brad Spengler <spender@grsecurity.net>
773 Date: Thu May 19 06:24:25 2016 -0400
774
775 Merge branch 'linux-4.5.y' into pax-test
776
777 commit fbc84d202d311b4dc09bcc922678df60b6e76614
778 Merge: 84fa82c 238dfca
779 Author: Brad Spengler <spender@grsecurity.net>
780 Date: Fri May 13 18:00:06 2016 -0400
781
782 Merge branch 'pax-test' into grsec-test
783
784 commit 238dfca3ffe87f4410e67c8ceb554b9ce4f3132b
785 Author: Brad Spengler <spender@grsecurity.net>
786 Date: Fri May 13 17:59:42 2016 -0400
787
788 Compile fix for older gcc
789
790 tools/gcc/size_overflow_plugin/intentional_overflow.c | 2 +-
791 1 file changed, 1 insertion(+), 1 deletion(-)
792
793 commit 84fa82c59fa5051e1485a3dcc857b87b70dbc18d
794 Merge: 2cece8e 4654023
795 Author: Brad Spengler <spender@grsecurity.net>
796 Date: Fri May 13 17:31:49 2016 -0400
797
798 Merge branch 'pax-test' into grsec-test
799
800 commit 4654023e72b0834142594eee879e657664498443
801 Author: Brad Spengler <spender@grsecurity.net>
802 Date: Fri May 13 17:29:38 2016 -0400
803
804 Update to pax-linux-4.5.4-test7.patch:
805 - changed the RAP hash emission code to accomodate x86 disassemblers, suggested by Mathias Krause <minipli@ld-linux.so>
806 - 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
807 - fixed a compiler assert triggered by the size overflow plugin
808
809 tools/gcc/rap_plugin/rap_plugin.c | 39 ++++++++++++++++++----
810 .../disable_size_overflow_hash.data | 3 ++
811 .../size_overflow_plugin/intentional_overflow.c | 2 +-
812 .../size_overflow_plugin/size_overflow_hash.data | 3 --
813 4 files changed, 36 insertions(+), 11 deletions(-)
814
815 commit 2cece8e8e0e2fce9943345c0ebebd7436929868e
816 Merge: 6df0471 ea68d2e
817 Author: Brad Spengler <spender@grsecurity.net>
818 Date: Thu May 12 18:41:15 2016 -0400
819
820 Merge branch 'pax-test' into grsec-test
821
822 commit ea68d2e7123a83aba24db99d5ef487b1397fd6d0
823 Author: Brad Spengler <spender@grsecurity.net>
824 Date: Thu May 12 18:40:50 2016 -0400
825
826 Update to pax-linux-4.5.3-test6.patch:
827 - really fixed https://forums.grsecurity.net/viewtopic.php?f=3&t=4473
828 - 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)
829 - fixed a few format string warnings in the RAP hash emission code, reported by Dwokfur
830
831 drivers/net/ppp/pptp.c | 1 -
832 fs/nfsd/nfsproc.c | 2 +-
833 tools/gcc/rap_plugin/rap_fptr_pass.c | 2 +-
834 tools/gcc/rap_plugin/rap_plugin.c | 14 ++++++++++----
835 4 files changed, 12 insertions(+), 7 deletions(-)
836
837 commit 6df04719a7cf4d3f60c9e6190f8eb4b986ce2b1b
838 Author: David Howells <dhowells@redhat.com>
839 Date: Tue Feb 23 11:03:12 2016 +0000
840
841 KEYS: Fix ASN.1 indefinite length object parsing
842
843 This fixes CVE-2016-0758.
844
845 In the ASN.1 decoder, when the length field of an ASN.1 value is extracted,
846 it isn't validated against the remaining amount of data before being added
847 to the cursor. With a sufficiently large size indicated, the check:
848
849 datalen - dp < 2
850
851 may then fail due to integer overflow.
852
853 Fix this by checking the length indicated against the amount of remaining
854 data in both places a definite length is determined.
855
856 Whilst we're at it, make the following changes:
857
858 (1) Check the maximum size of extended length does not exceed the capacity
859 of the variable it's being stored in (len) rather than the type that
860 variable is assumed to be (size_t).
861
862 (2) Compare the EOC tag to the symbolic constant ASN1_EOC rather than the
863 integer 0.
864
865 (3) To reduce confusion, move the initialisation of len outside of:
866
867 for (len = 0; n > 0; n--) {
868
869 since it doesn't have anything to do with the loop counter n.
870
871 Signed-off-by: David Howells <dhowells@redhat.com>
872 Reviewed-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
873 Acked-by: David Woodhouse <David.Woodhouse@intel.com>
874 Acked-by: Peter Jones <pjones@redhat.com>
875
876 lib/asn1_decoder.c | 16 +++++++++-------
877 1 file changed, 9 insertions(+), 7 deletions(-)
878
879 commit acb6cef8047476b8afc3ff3f07286b9e36de1b77
880 Merge: 735f14a a7c9bec
881 Author: Brad Spengler <spender@grsecurity.net>
882 Date: Wed May 11 17:05:21 2016 -0400
883
884 Merge branch 'pax-test' into grsec-test
885
886 commit a7c9bec57dea73ceee1246a64df55038ea840be9
887 Merge: f5bd134 a29ab35
888 Author: Brad Spengler <spender@grsecurity.net>
889 Date: Wed May 11 17:04:48 2016 -0400
890
891 Merge branch 'linux-4.5.y' into pax-test
892
893 commit 735f14a2b5562cd1329b263a81781d59dacffd3e
894 Author: Brad Spengler <spender@grsecurity.net>
895 Date: Wed May 11 06:57:40 2016 -0400
896
897 Fix typo in nfsd RAP changes causing oops reported by Carlos Carvalho
898 at: https://forums.grsecurity.net/viewtopic.php?f=3&t=4471
899
900 fs/nfsd/nfsproc.c | 2 +-
901 1 file changed, 1 insertion(+), 1 deletion(-)
902
903 commit 35e1e615072d0bb885b38ee1b2ada7a0a6a91f9d
904 Merge: 9e3e5ae3e f5bd134
905 Author: Brad Spengler <spender@grsecurity.net>
906 Date: Tue May 10 20:56:54 2016 -0400
907
908 Merge branch 'pax-test' into grsec-test
909
910 commit f5bd1342fa631bb3b69a2e8919785c827c4edf74
911 Author: Brad Spengler <spender@grsecurity.net>
912 Date: Tue May 10 20:55:57 2016 -0400
913
914 Update to pax-linux-4.5.3-test5.patch:
915 - marked all indirectly callable x86 asm crypto functions, reported by Dwokfur and minipli (https://forums.grsecurity.net/viewtopic.php?f=3&t=4468)
916 - 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)
917 - made some preparations for enabling RAP on i386 as well, will have to wait due to KERNEXEC
918
919 arch/x86/crypto/aesni-intel_asm.S | 6 +++---
920 arch/x86/crypto/sha-mb/sha1_mb_mgr_flush_avx2.S | 4 ++--
921 arch/x86/crypto/sha-mb/sha1_mb_mgr_submit_avx2.S | 2 +-
922 arch/x86/crypto/sha256_ni_asm.S | 2 +-
923 arch/x86/crypto/twofish-i586-asm_32.S | 2 +-
924 arch/x86/entry/common.c | 1 -
925 include/linux/linkage.h | 22 +++++++++++++++-------
926 tools/gcc/rap_plugin/rap_fptr_pass.c | 2 +-
927 tools/gcc/rap_plugin/rap_hash.c | 1 +
928 tools/gcc/rap_plugin/rap_plugin.c | 18 +++++++++---------
929 .../disable_size_overflow_hash.data | 1 +
930 .../size_overflow_plugin/size_overflow_hash.data | 1 -
931 12 files changed, 35 insertions(+), 27 deletions(-)
932
933 commit 9e3e5ae3e9ed69452d4133490dd1831376b9a1e8
934 Merge: e5983fd cfcaa03
935 Author: Brad Spengler <spender@grsecurity.net>
936 Date: Sun May 8 08:04:18 2016 -0400
937
938 Merge branch 'pax-test' into grsec-test
939
940 commit cfcaa036dd3756fc32e083a7c486c1143d93fd22
941 Author: Brad Spengler <spender@grsecurity.net>
942 Date: Sun May 8 08:03:53 2016 -0400
943
944 Update to pax-linux-4.5.3-test4.patch:
945 - 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)
946
947 drivers/char/tpm/tpm-chip.c | 7 ++++++-
948 drivers/net/can/bfin_can.c | 2 +-
949 drivers/net/can/flexcan.c | 2 +-
950 drivers/net/ethernet/adi/bfin_mac.c | 2 +-
951 drivers/net/ethernet/allwinner/sun4i-emac.c | 2 +-
952 drivers/net/ethernet/amd/7990.c | 2 +-
953 drivers/net/ethernet/amd/7990.h | 2 +-
954 drivers/net/ethernet/amd/atarilance.c | 4 ++--
955 drivers/net/ethernet/amd/declance.c | 2 +-
956 drivers/net/ethernet/amd/sun3lance.c | 4 ++--
957 drivers/net/ethernet/amd/sunlance.c | 2 +-
958 drivers/net/ethernet/broadcom/bcm63xx_enet.c | 2 +-
959 drivers/net/ethernet/davicom/dm9000.c | 2 +-
960 drivers/net/ethernet/faraday/ftgmac100.c | 2 +-
961 drivers/net/ethernet/faraday/ftmac100.c | 2 +-
962 drivers/net/ethernet/freescale/fec_mpc52xx.c | 2 +-
963 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c | 2 +-
964 drivers/net/ethernet/freescale/gianfar.c | 4 ++--
965 drivers/net/ethernet/freescale/ucc_geth.c | 2 +-
966 drivers/net/ethernet/i825xx/lib82596.c | 4 ++--
967 drivers/net/ethernet/ibm/ehea/ehea_main.c | 2 +-
968 drivers/net/ethernet/ibm/emac/core.c | 4 ++--
969 drivers/net/ethernet/micrel/ks8695net.c | 2 +-
970 drivers/net/ethernet/moxa/moxart_ether.c | 2 +-
971 drivers/net/ethernet/netx-eth.c | 2 +-
972 drivers/net/ethernet/nuvoton/w90p910_ether.c | 2 +-
973 drivers/net/ethernet/nxp/lpc_eth.c | 2 +-
974 drivers/net/ethernet/seeq/sgiseeq.c | 2 +-
975 drivers/net/ethernet/sgi/ioc3-eth.c | 4 ++--
976 drivers/net/ethernet/smsc/smc911x.c | 2 +-
977 drivers/net/ethernet/smsc/smc91x.c | 2 +-
978 drivers/net/ethernet/sun/sunbmac.c | 2 +-
979 drivers/net/ethernet/sun/sunqe.c | 2 +-
980 drivers/net/ethernet/sun/sunvnet.c | 10 +++++-----
981 drivers/net/ethernet/ti/cpmac.c | 2 +-
982 drivers/net/ethernet/ti/netcp_core.c | 2 +-
983 drivers/net/ethernet/xilinx/ll_temac_main.c | 2 +-
984 drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 2 +-
985 drivers/net/xen-netback/interface.c | 2 +-
986 drivers/net/xen-netfront.c | 2 +-
987 40 files changed, 55 insertions(+), 50 deletions(-)
988
989 commit e5983fd19799feb3bf947cd0dc2b5435deee3332
990 Merge: 5ecb84f a235ecd
991 Author: Brad Spengler <spender@grsecurity.net>
992 Date: Sat May 7 00:00:42 2016 -0400
993
994 Merge branch 'pax-test' into grsec-test
995
996 commit a235ecd8bdece417e83f9cf89c76607bf15955dc
997 Author: Brad Spengler <spender@grsecurity.net>
998 Date: Fri May 6 23:59:34 2016 -0400
999
1000 Update to pax-linux-4.5.3-test3.patch:
1001 - fixed some more of PARAVIRT for RAP, reported by hunger
1002 - Emese increased the coverage of initify by marking up str* and mem* functions
1003 - 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)
1004
1005 arch/arm/include/asm/string.h | 10 ++---
1006 arch/arm64/include/asm/string.h | 22 +++++------
1007 arch/x86/boot/string.h | 4 +-
1008 arch/x86/include/asm/string_32.h | 20 +++++-----
1009 arch/x86/include/asm/string_64.h | 16 ++++----
1010 arch/x86/kernel/paravirt-spinlocks.c | 22 +++++++++--
1011 arch/x86/xen/mmu.c | 6 ++-
1012 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 10 ++---
1013 include/linux/string.h | 70 +++++++++++++++++-----------------
1014 include/linux/syscalls.h | 2 +-
1015 kernel/module.c | 4 +-
1016 mm/fadvise.c | 2 +-
1017 tools/gcc/randomize_layout_seed.h | 1 -
1018 tools/gcc/rap_plugin/rap_plugin.c | 7 +++-
1019 14 files changed, 109 insertions(+), 87 deletions(-)
1020
1021 commit 5ecb84f55a9bdf8b39054c23d90646ba0591ce1c
1022 Author: Brad Spengler <spender@grsecurity.net>
1023 Date: Fri May 6 08:51:58 2016 -0400
1024
1025 Remove !PARAVIRT dependency on RAP
1026
1027 security/Kconfig | 2 +-
1028 1 file changed, 1 insertion(+), 1 deletion(-)
1029
1030 commit eecd10d7c579d2601c384c1e9e0f062a8dda40e7
1031 Author: Brad Spengler <spender@grsecurity.net>
1032 Date: Fri May 6 06:34:48 2016 -0400
1033
1034 Update copyright year
1035
1036 tools/gcc/randomize_layout_plugin.c | 2 +-
1037 1 file changed, 1 insertion(+), 1 deletion(-)
1038
1039 commit 7d7e01439c2601abcae2ecfc66a883be258a2691
1040 Merge: 3315e83 c2aa83b
1041 Author: Brad Spengler <spender@grsecurity.net>
1042 Date: Fri May 6 06:34:25 2016 -0400
1043
1044 Merge branch 'pax-test' into grsec-test
1045
1046 commit c2aa83bf2d65989c262ff33312874ee7fe38606a
1047 Author: Brad Spengler <spender@grsecurity.net>
1048 Date: Fri May 6 06:34:04 2016 -0400
1049
1050 Update to pax-linux-4.5.2-test2.patch:
1051 - minipli fixed a few missing hunks left out from the 4.5 port
1052 - 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)
1053 - fixed a few compile regressions on arm, reported by Wizzup
1054 - fixed PARAVIRT for RAP, reported by spender
1055 - fixed the very old PAGEEXEC/i386 TLB reload code for SMAP (not that it could work there), reported by spender
1056 - 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)
1057
1058 arch/arm/Kconfig | 2 +-
1059 arch/arm/include/asm/domain.h | 2 +-
1060 arch/arm/kernel/process.c | 6 +
1061 arch/mips/mm/mmap.c | 27 ++++
1062 arch/powerpc/kernel/process.c | 39 +++++
1063 arch/s390/kernel/process.c | 13 ++
1064 arch/x86/entry/entry_32.S | 2 +-
1065 arch/x86/include/asm/fixmap.h | 2 +-
1066 arch/x86/kernel/paravirt.c | 90 +++++++++--
1067 arch/x86/mm/fault.c | 2 +
1068 arch/x86/mm/pgtable.c | 2 +-
1069 drivers/cpufreq/intel_pstate.c | 2 +-
1070 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 7 +-
1071 drivers/net/ethernet/8390/ax88796.c | 4 +-
1072 drivers/oprofile/oprofilefs.c | 4 +-
1073 drivers/platform/x86/thinkpad_acpi.c | 1 -
1074 fs/xattr.c | 2 +-
1075 include/asm-generic/atomic-long.h | 4 +
1076 include/uapi/linux/xattr.h | 3 +-
1077 kernel/module.c | 2 +-
1078 mm/shmem.c | 2 -
1079 security/Kconfig | 2 +
1080 .../insert_size_overflow_asm.c | 2 +-
1081 .../size_overflow_plugin/intentional_overflow.c | 80 ++++++++--
1082 .../size_overflow_plugin/remove_unnecessary_dup.c | 2 +-
1083 tools/gcc/size_overflow_plugin/size_overflow.h | 8 +-
1084 .../gcc/size_overflow_plugin/size_overflow_debug.c | 2 +-
1085 tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 2 +-
1086 .../gcc/size_overflow_plugin/size_overflow_misc.c | 2 +-
1087 .../size_overflow_plugin/size_overflow_plugin.c | 2 +-
1088 .../size_overflow_plugin_hash.c | 2 +-
1089 .../size_overflow_plugin/size_overflow_transform.c | 34 ++---
1090 .../size_overflow_transform_core.c | 170 +++++++++++----------
1091 33 files changed, 370 insertions(+), 156 deletions(-)
1092
1093 commit 3315e83c1e9738784da3c1c5836dd13b7593a8f1
1094 Author: Brad Spengler <spender@grsecurity.net>
1095 Date: Wed May 4 21:03:36 2016 -0400
1096
1097 Add PAGEEXEC support for i386 !PAE on SMAP-capable processors
1098 (won't be used by anyone, just for correctness sake)
1099
1100 arch/x86/mm/fault.c | 2 ++
1101 1 file changed, 2 insertions(+)
1102
1103 commit b9e96108d2092c12e42e1810a62aec85f6ddc501
1104 Merge: 6d98323 a3273aa
1105 Author: Brad Spengler <spender@grsecurity.net>
1106 Date: Wed May 4 19:06:44 2016 -0400
1107
1108 Merge branch 'pax-test' into grsec-test
1109
1110 commit a3273aa2488f9e201620ee53af1acfd99c58650a
1111 Merge: e0e4c2c fbc310e
1112 Author: Brad Spengler <spender@grsecurity.net>
1113 Date: Wed May 4 19:06:36 2016 -0400
1114
1115 Merge branch 'linux-4.5.y' into pax-test
1116
1117 commit 6d98323e0b511bdb77b9ef11d84207219331ac69
1118 Author: Brad Spengler <spender@grsecurity.net>
1119 Date: Tue May 3 21:58:09 2016 -0400
1120
1121 Backport fix from http://www.spinics.net/lists/linux-usb/msg140243.html
1122
1123 drivers/usb/core/devio.c | 9 +++++----
1124 1 file changed, 5 insertions(+), 4 deletions(-)
1125
1126 commit b003c68f96dd6a483b515290756816b6c909f34f
1127 Author: Brad Spengler <spender@grsecurity.net>
1128 Date: Sun May 1 12:06:48 2016 -0400
1129
1130 Add note about RANDSTRUCT and the gcc runtime library exception
1131
1132 tools/gcc/randomize_layout_plugin.c | 5 +++++
1133 1 file changed, 5 insertions(+)
1134
1135 commit fe375f07d31c5d561fcca4016f7c33e885fa3586
1136 Author: Brad Spengler <spender@grsecurity.net>
1137 Date: Fri Apr 29 06:22:29 2016 -0400
1138
1139 Revert change to regmap_access_show()
1140
1141 drivers/base/regmap/regmap-debugfs.c | 3 +--
1142 1 file changed, 1 insertion(+), 2 deletions(-)
1143
1144 commit 3f5df6e7cf9716b4854fb282b6eb22cb1e52e92a
1145 Author: Brad Spengler <spender@grsecurity.net>
1146 Date: Fri Apr 29 06:20:12 2016 -0400
1147
1148 Merge a number of fixes from Mathias Krause
1149
1150 arch/x86/entry/entry_32.S | 2 +-
1151 drivers/base/regmap/regmap-debugfs.c | 3 ++-
1152 drivers/cpufreq/intel_pstate.c | 2 +-
1153 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 7 ++++++-
1154 drivers/oprofile/oprofilefs.c | 4 ++--
1155 drivers/platform/x86/thinkpad_acpi.c | 1 -
1156 init/Kconfig | 1 -
1157 kernel/module.c | 4 +---
1158 8 files changed, 13 insertions(+), 11 deletions(-)
1159
1160 commit 127927d7e57793eca299226cb31ecd9d235bbd62
1161 Author: Brad Spengler <spender@grsecurity.net>
1162 Date: Thu Apr 28 20:58:04 2016 -0400
1163
1164 Add temporary dependency on !PARAVIRT for RAP until some fallout can be fixed
1165
1166 security/Kconfig | 2 +-
1167 1 file changed, 1 insertion(+), 1 deletion(-)
1168
1169 commit d37fff4904eee095ce50ea522efbfaf2a4bcb47e
1170 Author: Brad Spengler <spender@grsecurity.net>
1171 Date: Thu Apr 28 18:44:18 2016 -0400
1172
1173 Update to pax-linux-4.5.2-test1y.patch
1174
1175 tools/gcc/rap_plugin/rap_plugin.c | 6 ++++--
1176 1 file changed, 4 insertions(+), 2 deletions(-)
1177
1178 commit 5e309719b190a24dccd73c8b6ae388bd7f34660b
1179 Merge: ac01f5e e0e4c2c
1180 Author: Brad Spengler <spender@grsecurity.net>
1181 Date: Thu Apr 28 17:37:37 2016 -0400
1182
1183 Merge branch 'pax-test' into grsec-test
1184
1185 commit e0e4c2ce05e0cd594b716a1e12d91928a0d083fd
1186 Author: Brad Spengler <spender@grsecurity.net>
1187 Date: Thu Apr 28 17:36:23 2016 -0400
1188
1189 Update to pax-linux-4.5.2-test1x.patch
1190
1191 arch/x86/include/asm/alternative-asm.h | 8 --------
1192 drivers/lguest/core.c | 2 +-
1193 kernel/sched/deadline.c | 4 ++--
1194 mm/swap.c | 7 ++++++-
1195 tools/gcc/colorize_plugin.c | 2 +-
1196 tools/gcc/gcc-common.h | 21 +++++++++++++++++++++
1197 6 files changed, 31 insertions(+), 13 deletions(-)
1198
1199 commit ac01f5eb279d93b10d63f87c9d851e039ab1bc3e
1200 Author: Brad Spengler <spender@grsecurity.net>
1201 Date: Thu Apr 28 17:35:14 2016 -0400
1202
1203 Initial import of grsecurity 3.1 for 4.5.2 with limited RAP support
1204
1205 Documentation/dontdiff | 2 +
1206 Documentation/kernel-parameters.txt | 11 +
1207 Documentation/sysctl/kernel.txt | 15 +
1208 Makefile | 5 +-
1209 arch/alpha/include/asm/cache.h | 4 +-
1210 arch/alpha/kernel/osf_sys.c | 12 +-
1211 arch/arc/Kconfig | 1 +
1212 arch/arm/Kconfig | 1 +
1213 arch/arm/Kconfig.debug | 1 +
1214 arch/arm/include/asm/thread_info.h | 7 +-
1215 arch/arm/kernel/entry-common.S | 8 +-
1216 arch/arm/kernel/process.c | 4 +-
1217 arch/arm/kernel/ptrace.c | 9 +
1218 arch/arm/kernel/traps.c | 7 +-
1219 arch/arm/mm/Kconfig | 4 +-
1220 arch/arm/mm/fault.c | 40 +-
1221 arch/arm/mm/mmap.c | 8 +-
1222 arch/arm/net/bpf_jit_32.c | 51 +-
1223 arch/arm64/Kconfig.debug | 1 +
1224 arch/avr32/include/asm/cache.h | 4 +-
1225 arch/blackfin/Kconfig.debug | 1 +
1226 arch/blackfin/include/asm/cache.h | 3 +-
1227 arch/cris/include/arch-v10/arch/cache.h | 3 +-
1228 arch/cris/include/arch-v32/arch/cache.h | 3 +-
1229 arch/frv/include/asm/cache.h | 3 +-
1230 arch/frv/mm/elf-fdpic.c | 4 +-
1231 arch/hexagon/include/asm/cache.h | 6 +-
1232 arch/ia64/Kconfig | 1 +
1233 arch/ia64/include/asm/cache.h | 3 +-
1234 arch/ia64/kernel/sys_ia64.c | 2 +
1235 arch/ia64/mm/hugetlbpage.c | 2 +
1236 arch/m32r/include/asm/cache.h | 4 +-
1237 arch/m68k/include/asm/cache.h | 4 +-
1238 arch/metag/mm/hugetlbpage.c | 1 +
1239 arch/microblaze/include/asm/cache.h | 3 +-
1240 arch/mips/Kconfig | 1 +
1241 arch/mips/include/asm/thread_info.h | 11 +-
1242 arch/mips/kernel/irq.c | 3 +
1243 arch/mips/kernel/ptrace.c | 9 +
1244 arch/mips/mm/mmap.c | 4 +-
1245 arch/mn10300/proc-mn103e010/include/proc/cache.h | 4 +-
1246 arch/mn10300/proc-mn2ws0050/include/proc/cache.h | 4 +-
1247 arch/nios2/lib/memset.c | 2 +-
1248 arch/openrisc/include/asm/cache.h | 4 +-
1249 arch/parisc/include/asm/cache.h | 3 +
1250 arch/parisc/kernel/sys_parisc.c | 4 +
1251 arch/powerpc/Kconfig | 1 +
1252 arch/powerpc/include/asm/cache.h | 4 +-
1253 arch/powerpc/include/asm/thread_info.h | 5 +-
1254 arch/powerpc/kernel/Makefile | 2 +
1255 arch/powerpc/kernel/irq.c | 3 +
1256 arch/powerpc/kernel/process.c | 10 +-
1257 arch/powerpc/kernel/ptrace.c | 14 +
1258 arch/powerpc/kernel/traps.c | 5 +
1259 arch/powerpc/mm/slice.c | 2 +-
1260 arch/s390/Kconfig.debug | 1 +
1261 arch/s390/include/asm/cache.h | 4 +-
1262 arch/score/include/asm/cache.h | 4 +-
1263 arch/sh/include/asm/cache.h | 3 +-
1264 arch/sh/mm/mmap.c | 6 +-
1265 arch/sparc/include/asm/cache.h | 4 +-
1266 arch/sparc/include/asm/pgalloc_64.h | 1 +
1267 arch/sparc/include/asm/thread_info_64.h | 8 +-
1268 arch/sparc/kernel/process_32.c | 6 +-
1269 arch/sparc/kernel/process_64.c | 8 +-
1270 arch/sparc/kernel/ptrace_64.c | 14 +
1271 arch/sparc/kernel/sys_sparc_64.c | 8 +-
1272 arch/sparc/kernel/syscalls.S | 8 +-
1273 arch/sparc/kernel/traps_32.c | 8 +-
1274 arch/sparc/kernel/traps_64.c | 28 +-
1275 arch/sparc/kernel/unaligned_64.c | 2 +-
1276 arch/sparc/mm/fault_64.c | 2 +-
1277 arch/sparc/mm/hugetlbpage.c | 15 +-
1278 arch/tile/Kconfig | 1 +
1279 arch/tile/include/asm/cache.h | 3 +-
1280 arch/tile/mm/hugetlbpage.c | 2 +
1281 arch/um/include/asm/cache.h | 3 +-
1282 arch/unicore32/include/asm/cache.h | 6 +-
1283 arch/x86/Kconfig | 21 +
1284 arch/x86/Kconfig.debug | 2 +
1285 arch/x86/crypto/sha-mb/sha1_mb.c | 4 +-
1286 arch/x86/entry/common.c | 14 +
1287 arch/x86/entry/entry_32.S | 2 +-
1288 arch/x86/entry/entry_64.S | 2 +-
1289 arch/x86/ia32/ia32_aout.c | 2 +
1290 arch/x86/include/asm/floppy.h | 20 +-
1291 arch/x86/include/asm/fpu/types.h | 69 +-
1292 arch/x86/include/asm/io.h | 2 +-
1293 arch/x86/include/asm/page.h | 12 +-
1294 arch/x86/include/asm/paravirt_types.h | 21 +-
1295 arch/x86/include/asm/processor.h | 12 +-
1296 arch/x86/include/asm/thread_info.h | 6 +-
1297 arch/x86/kernel/dumpstack.c | 10 +-
1298 arch/x86/kernel/dumpstack_32.c | 2 +-
1299 arch/x86/kernel/dumpstack_64.c | 2 +-
1300 arch/x86/kernel/ioport.c | 13 +
1301 arch/x86/kernel/irq_32.c | 3 +
1302 arch/x86/kernel/irq_64.c | 4 +
1303 arch/x86/kernel/ldt.c | 18 +
1304 arch/x86/kernel/msr.c | 10 +
1305 arch/x86/kernel/ptrace.c | 14 +
1306 arch/x86/kernel/signal.c | 9 +-
1307 arch/x86/kernel/sys_i386_32.c | 9 +-
1308 arch/x86/kernel/sys_x86_64.c | 8 +-
1309 arch/x86/kernel/traps.c | 5 +
1310 arch/x86/kernel/verify_cpu.S | 1 +
1311 arch/x86/kernel/vm86_32.c | 15 +
1312 arch/x86/mm/fault.c | 12 +-
1313 arch/x86/mm/hugetlbpage.c | 15 +-
1314 arch/x86/mm/init.c | 66 +-
1315 arch/x86/mm/init_32.c | 6 +-
1316 arch/x86/net/bpf_jit_comp.c | 4 +
1317 arch/x86/platform/efi/efi_64.c | 2 +-
1318 arch/x86/xen/Kconfig | 1 +
1319 arch/xtensa/variants/dc232b/include/variant/core.h | 2 +-
1320 arch/xtensa/variants/fsf/include/variant/core.h | 3 +-
1321 crypto/scatterwalk.c | 10 +-
1322 drivers/acpi/acpica/hwxfsleep.c | 11 +-
1323 drivers/acpi/custom_method.c | 4 +
1324 drivers/block/cciss.h | 30 +-
1325 drivers/block/smart1,2.h | 40 +-
1326 drivers/cdrom/cdrom.c | 2 +-
1327 drivers/char/Kconfig | 4 +-
1328 drivers/char/genrtc.c | 1 +
1329 drivers/char/mem.c | 17 +
1330 drivers/char/random.c | 5 +-
1331 drivers/cpufreq/sparc-us3-cpufreq.c | 2 -
1332 drivers/crypto/ccp/ccp-crypto-aes-cmac.c | 3 +
1333 drivers/crypto/ccp/ccp-crypto-sha.c | 3 +
1334 drivers/crypto/marvell/cesa.h | 3 +-
1335 drivers/crypto/marvell/hash.c | 106 +-
1336 drivers/firewire/ohci.c | 4 +
1337 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 78 +-
1338 drivers/gpu/drm/nouveau/nouveau_ttm.c | 28 +-
1339 drivers/gpu/drm/ttm/ttm_bo_manager.c | 10 +-
1340 drivers/gpu/drm/virtio/virtgpu_ttm.c | 10 +-
1341 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c | 10 +-
1342 drivers/hid/hid-wiimote-debug.c | 2 +-
1343 drivers/infiniband/hw/nes/nes_cm.c | 22 +-
1344 drivers/input/touchscreen/sur40.c | 21 +-
1345 drivers/iommu/Kconfig | 1 +
1346 drivers/iommu/amd_iommu.c | 14 +-
1347 drivers/isdn/gigaset/bas-gigaset.c | 32 +-
1348 drivers/isdn/gigaset/ser-gigaset.c | 32 +-
1349 drivers/isdn/gigaset/usb-gigaset.c | 32 +-
1350 drivers/isdn/i4l/isdn_concap.c | 6 +-
1351 drivers/isdn/i4l/isdn_x25iface.c | 16 +-
1352 drivers/lguest/core.c | 2 +-
1353 drivers/md/bcache/Kconfig | 1 +
1354 drivers/md/raid5.c | 8 +
1355 drivers/media/pci/solo6x10/solo6x10-g723.c | 2 +-
1356 drivers/media/platform/sti/c8sectpfe/Kconfig | 1 +
1357 drivers/media/radio/radio-cadet.c | 5 +-
1358 drivers/media/usb/dvb-usb/cinergyT2-core.c | 91 +-
1359 drivers/media/usb/dvb-usb/cinergyT2-fe.c | 182 +-
1360 drivers/media/usb/dvb-usb/dvb-usb-firmware.c | 37 +-
1361 drivers/media/usb/dvb-usb/technisat-usb2.c | 75 +-
1362 drivers/message/fusion/mptbase.c | 9 +
1363 drivers/misc/sgi-xp/xp_main.c | 12 +-
1364 drivers/net/ethernet/brocade/bna/bna_enet.c | 8 +-
1365 drivers/net/ethernet/mellanox/mlx4/en_rx.c | 2 +-
1366 drivers/net/hyperv/hyperv_net.h | 7 +-
1367 drivers/net/hyperv/netvsc_drv.c | 5 +-
1368 drivers/net/hyperv/rndis_filter.c | 4 +-
1369 drivers/net/wan/lmc/lmc_media.c | 97 +-
1370 drivers/net/wan/z85230.c | 24 +-
1371 drivers/net/wireless/ath/ath9k/Kconfig | 1 -
1372 drivers/net/wireless/zydas/zd1211rw/zd_usb.c | 2 +-
1373 drivers/pci/proc.c | 9 +
1374 drivers/platform/x86/asus-wmi.c | 12 +
1375 drivers/rtc/rtc-dev.c | 3 +
1376 drivers/scsi/bfa/bfa_fcs.c | 19 +-
1377 drivers/scsi/bfa/bfa_fcs_lport.c | 29 +-
1378 drivers/scsi/bfa/bfa_modules.h | 12 +-
1379 drivers/scsi/cxgbi/libcxgbi.c | 1 +
1380 drivers/scsi/hpsa.h | 40 +-
1381 drivers/staging/lustre/lustre/ldlm/ldlm_flock.c | 2 +-
1382 drivers/staging/lustre/lustre/libcfs/module.c | 10 +-
1383 drivers/staging/wilc1000/host_interface.h | 1 +
1384 drivers/staging/wilc1000/wilc_spi.c | 1 +
1385 drivers/tty/serial/uartlite.c | 4 +-
1386 drivers/tty/sysrq.c | 2 +-
1387 drivers/tty/tty_io.c | 4 +
1388 drivers/tty/vt/keyboard.c | 22 +-
1389 drivers/uio/uio.c | 6 +-
1390 drivers/usb/core/hub.c | 5 +
1391 drivers/usb/gadget/function/f_uac1.c | 1 +
1392 drivers/usb/gadget/function/u_uac1.c | 1 +
1393 drivers/usb/host/hwa-hc.c | 9 +-
1394 drivers/usb/usbip/usbip_common.c | 11 +
1395 drivers/usb/usbip/vhci_sysfs.c | 2 +-
1396 drivers/video/fbdev/arcfb.c | 2 +-
1397 drivers/video/fbdev/matrox/matroxfb_DAC1064.c | 10 +-
1398 drivers/video/fbdev/matrox/matroxfb_Ti3026.c | 5 +-
1399 drivers/video/fbdev/sh_mobile_lcdcfb.c | 6 +-
1400 drivers/video/logo/logo_linux_clut224.ppm | 2720 ++++----
1401 drivers/xen/xenfs/xenstored.c | 5 +
1402 firmware/Makefile | 2 +
1403 firmware/WHENCE | 20 +-
1404 firmware/bnx2/bnx2-mips-06-6.2.3.fw.ihex | 5804 +++++++++++++++++
1405 firmware/bnx2/bnx2-mips-09-6.2.1b.fw.ihex | 6496 ++++++++++++++++++++
1406 fs/attr.c | 4 +
1407 fs/autofs4/waitq.c | 9 +
1408 fs/binfmt_aout.c | 7 +
1409 fs/binfmt_elf.c | 40 +-
1410 fs/compat.c | 20 +-
1411 fs/coredump.c | 17 +-
1412 fs/dcache.c | 3 +
1413 fs/debugfs/inode.c | 19 +-
1414 fs/ecryptfs/keystore.c | 6 +-
1415 fs/exec.c | 235 +-
1416 fs/ext2/balloc.c | 4 +-
1417 fs/ext2/super.c | 8 +-
1418 fs/ext4/balloc.c | 4 +-
1419 fs/ext4/extents.c | 2 +-
1420 fs/fcntl.c | 4 +
1421 fs/fhandle.c | 3 +-
1422 fs/file.c | 4 +
1423 fs/filesystems.c | 4 +
1424 fs/fs_struct.c | 20 +-
1425 fs/hugetlbfs/inode.c | 5 +-
1426 fs/inode.c | 8 +-
1427 fs/kernfs/dir.c | 6 +
1428 fs/mount.h | 4 +-
1429 fs/namei.c | 295 +-
1430 fs/namespace.c | 24 +
1431 fs/nfsd/nfscache.c | 2 +-
1432 fs/open.c | 38 +
1433 fs/overlayfs/inode.c | 3 +
1434 fs/overlayfs/super.c | 6 +-
1435 fs/pipe.c | 2 +-
1436 fs/posix_acl.c | 15 +-
1437 fs/proc/Kconfig | 10 +-
1438 fs/proc/array.c | 67 +-
1439 fs/proc/base.c | 175 +-
1440 fs/proc/cmdline.c | 4 +
1441 fs/proc/devices.c | 4 +
1442 fs/proc/fd.c | 13 +-
1443 fs/proc/generic.c | 64 +
1444 fs/proc/inode.c | 17 +
1445 fs/proc/internal.h | 11 +-
1446 fs/proc/interrupts.c | 4 +
1447 fs/proc/kcore.c | 3 +
1448 fs/proc/proc_net.c | 31 +
1449 fs/proc/proc_sysctl.c | 52 +-
1450 fs/proc/root.c | 8 +
1451 fs/proc/stat.c | 69 +-
1452 fs/proc/task_mmu.c | 66 +-
1453 fs/readdir.c | 19 +
1454 fs/reiserfs/item_ops.c | 24 +-
1455 fs/reiserfs/super.c | 4 +
1456 fs/select.c | 2 +
1457 fs/seq_file.c | 30 +-
1458 fs/stat.c | 20 +-
1459 fs/sysfs/dir.c | 30 +-
1460 fs/utimes.c | 7 +
1461 fs/xattr.c | 26 +-
1462 grsecurity/Kconfig | 1205 ++++
1463 grsecurity/Makefile | 54 +
1464 grsecurity/gracl.c | 2757 +++++++++
1465 grsecurity/gracl_alloc.c | 105 +
1466 grsecurity/gracl_cap.c | 127 +
1467 grsecurity/gracl_compat.c | 269 +
1468 grsecurity/gracl_fs.c | 448 ++
1469 grsecurity/gracl_ip.c | 386 ++
1470 grsecurity/gracl_learn.c | 207 +
1471 grsecurity/gracl_policy.c | 1784 ++++++
1472 grsecurity/gracl_res.c | 68 +
1473 grsecurity/gracl_segv.c | 304 +
1474 grsecurity/gracl_shm.c | 40 +
1475 grsecurity/grsec_chdir.c | 19 +
1476 grsecurity/grsec_chroot.c | 506 ++
1477 grsecurity/grsec_disabled.c | 445 ++
1478 grsecurity/grsec_exec.c | 189 +
1479 grsecurity/grsec_fifo.c | 26 +
1480 grsecurity/grsec_fork.c | 23 +
1481 grsecurity/grsec_init.c | 294 +
1482 grsecurity/grsec_ipc.c | 48 +
1483 grsecurity/grsec_link.c | 65 +
1484 grsecurity/grsec_log.c | 340 +
1485 grsecurity/grsec_mem.c | 48 +
1486 grsecurity/grsec_mount.c | 65 +
1487 grsecurity/grsec_pax.c | 47 +
1488 grsecurity/grsec_proc.c | 20 +
1489 grsecurity/grsec_ptrace.c | 30 +
1490 grsecurity/grsec_sig.c | 245 +
1491 grsecurity/grsec_sock.c | 244 +
1492 grsecurity/grsec_sysctl.c | 497 ++
1493 grsecurity/grsec_time.c | 16 +
1494 grsecurity/grsec_tpe.c | 78 +
1495 grsecurity/grsec_tty.c | 18 +
1496 grsecurity/grsec_usb.c | 15 +
1497 grsecurity/grsum.c | 54 +
1498 include/linux/binfmts.h | 5 +-
1499 include/linux/capability.h | 13 +
1500 include/linux/compiler-gcc.h | 5 +
1501 include/linux/compiler.h | 8 +
1502 include/linux/cred.h | 8 +-
1503 include/linux/dcache.h | 5 +-
1504 include/linux/fs.h | 24 +-
1505 include/linux/fs_struct.h | 2 +-
1506 include/linux/fsnotify.h | 6 +
1507 include/linux/gracl.h | 342 ++
1508 include/linux/gracl_compat.h | 156 +
1509 include/linux/gralloc.h | 9 +
1510 include/linux/grdefs.h | 140 +
1511 include/linux/grinternal.h | 231 +
1512 include/linux/grmsg.h | 120 +
1513 include/linux/grsecurity.h | 259 +
1514 include/linux/grsock.h | 19 +
1515 include/linux/ipc.h | 2 +-
1516 include/linux/ipc_namespace.h | 2 +-
1517 include/linux/kallsyms.h | 18 +-
1518 include/linux/key-type.h | 4 +-
1519 include/linux/kmod.h | 5 +
1520 include/linux/kobject.h | 2 +-
1521 include/linux/lsm_hooks.h | 4 +-
1522 include/linux/mm.h | 12 +
1523 include/linux/mm_types.h | 4 +-
1524 include/linux/module.h | 5 +-
1525 include/linux/mount.h | 2 +-
1526 include/linux/msg.h | 2 +-
1527 include/linux/netfilter/xt_gradm.h | 9 +
1528 include/linux/path.h | 4 +-
1529 include/linux/perf_event.h | 13 +-
1530 include/linux/pid_namespace.h | 2 +-
1531 include/linux/printk.h | 2 +-
1532 include/linux/proc_fs.h | 22 +-
1533 include/linux/proc_ns.h | 2 +-
1534 include/linux/random.h | 2 +-
1535 include/linux/rbtree_augmented.h | 4 +-
1536 include/linux/scatterlist.h | 12 +-
1537 include/linux/sched.h | 114 +-
1538 include/linux/security.h | 1 +
1539 include/linux/sem.h | 2 +-
1540 include/linux/seq_file.h | 5 +
1541 include/linux/shm.h | 6 +-
1542 include/linux/skbuff.h | 3 +
1543 include/linux/slab.h | 9 -
1544 include/linux/sysctl.h | 8 +-
1545 include/linux/thread_info.h | 6 +-
1546 include/linux/tty.h | 2 +-
1547 include/linux/tty_driver.h | 4 +-
1548 include/linux/uidgid.h | 5 +
1549 include/linux/user_namespace.h | 2 +-
1550 include/linux/utsname.h | 2 +-
1551 include/linux/vermagic.h | 16 +-
1552 include/linux/vmalloc.h | 8 +
1553 include/net/af_unix.h | 2 +-
1554 include/net/ip.h | 2 +-
1555 include/net/neighbour.h | 2 +-
1556 include/net/net_namespace.h | 2 +-
1557 include/net/sctp/structs.h | 2 +-
1558 include/net/sock.h | 2 +-
1559 include/trace/events/fs.h | 53 +
1560 include/uapi/linux/personality.h | 1 +
1561 init/Kconfig | 4 +
1562 init/main.c | 46 +-
1563 ipc/mqueue.c | 1 +
1564 ipc/msg.c | 3 +-
1565 ipc/msgutil.c | 4 +-
1566 ipc/sem.c | 3 +-
1567 ipc/shm.c | 26 +-
1568 ipc/util.c | 6 +
1569 kernel/auditsc.c | 2 +-
1570 kernel/bpf/syscall.c | 10 +-
1571 kernel/bpf/verifier.c | 1 -
1572 kernel/capability.c | 41 +-
1573 kernel/cgroup.c | 5 +-
1574 kernel/compat.c | 1 +
1575 kernel/configs.c | 11 +
1576 kernel/cred.c | 112 +-
1577 kernel/events/core.c | 14 +-
1578 kernel/exit.c | 10 +-
1579 kernel/fork.c | 86 +-
1580 kernel/futex.c | 4 +-
1581 kernel/kallsyms.c | 9 +
1582 kernel/kcmp.c | 4 +
1583 kernel/kexec_core.c | 2 +-
1584 kernel/kmod.c | 96 +-
1585 kernel/kprobes.c | 9 +-
1586 kernel/ksysfs.c | 2 +
1587 kernel/locking/lockdep_proc.c | 10 +-
1588 kernel/module.c | 110 +-
1589 kernel/panic.c | 4 +-
1590 kernel/pid.c | 18 +-
1591 kernel/power/Kconfig | 2 +
1592 kernel/printk/printk.c | 7 +-
1593 kernel/ptrace.c | 50 +-
1594 kernel/resource.c | 10 +
1595 kernel/sched/core.c | 11 +-
1596 kernel/sched/debug.c | 4 +
1597 kernel/signal.c | 37 +-
1598 kernel/sys.c | 64 +-
1599 kernel/sysctl.c | 172 +-
1600 kernel/taskstats.c | 6 +
1601 kernel/time/posix-timers.c | 8 +
1602 kernel/time/time.c | 5 +
1603 kernel/time/timekeeping.c | 3 +
1604 kernel/time/timer_list.c | 13 +-
1605 kernel/time/timer_stats.c | 10 +-
1606 kernel/trace/Kconfig | 2 +
1607 kernel/trace/trace_syscalls.c | 8 +
1608 kernel/user_namespace.c | 15 +
1609 kernel/workqueue.c | 29 +
1610 lib/Kconfig.debug | 12 +-
1611 lib/Kconfig.kasan | 2 +-
1612 lib/is_single_threaded.c | 3 +
1613 lib/list_debug.c | 65 +-
1614 lib/nlattr.c | 2 +
1615 lib/rbtree.c | 4 +-
1616 lib/vsprintf.c | 39 +-
1617 localversion-grsec | 1 +
1618 mm/Kconfig | 8 +-
1619 mm/Kconfig.debug | 1 +
1620 mm/filemap.c | 8 +-
1621 mm/kmemleak.c | 4 +-
1622 mm/memory.c | 2 +-
1623 mm/mempolicy.c | 12 +-
1624 mm/migrate.c | 3 +-
1625 mm/mlock.c | 11 +-
1626 mm/mmap.c | 127 +-
1627 mm/mprotect.c | 8 +
1628 mm/oom_kill.c | 4 +
1629 mm/page_alloc.c | 2 +-
1630 mm/process_vm_access.c | 6 +
1631 mm/shmem.c | 2 +-
1632 mm/slab.c | 14 +-
1633 mm/slab_common.c | 2 +-
1634 mm/slob.c | 12 +
1635 mm/slub.c | 33 +-
1636 mm/swap.c | 6 +-
1637 mm/util.c | 3 +
1638 mm/vmalloc.c | 82 +-
1639 mm/vmstat.c | 29 +-
1640 net/appletalk/atalk_proc.c | 2 +-
1641 net/atm/lec.c | 6 +-
1642 net/atm/mpoa_caches.c | 43 +-
1643 net/bridge/netfilter/ebtables.c | 4 +
1644 net/can/bcm.c | 2 +-
1645 net/can/proc.c | 2 +-
1646 net/core/dev_ioctl.c | 7 +-
1647 net/core/filter.c | 8 +-
1648 net/core/net-procfs.c | 17 +-
1649 net/core/pktgen.c | 2 +-
1650 net/core/sock.c | 23 +-
1651 net/core/sysctl_net_core.c | 2 +-
1652 net/decnet/dn_dev.c | 2 +-
1653 net/ipv4/devinet.c | 6 +-
1654 net/ipv4/inet_hashtables.c | 4 +
1655 net/ipv4/ip_input.c | 7 +
1656 net/ipv4/ip_sockglue.c | 3 +-
1657 net/ipv4/netfilter/arp_tables.c | 43 +-
1658 net/ipv4/netfilter/ip_tables.c | 48 +-
1659 net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 +-
1660 net/ipv4/route.c | 6 +-
1661 net/ipv4/tcp_input.c | 6 +-
1662 net/ipv4/tcp_ipv4.c | 24 +-
1663 net/ipv4/tcp_minisocks.c | 9 +-
1664 net/ipv4/tcp_timer.c | 11 +
1665 net/ipv4/udp.c | 24 +
1666 net/ipv6/addrconf.c | 13 +-
1667 net/ipv6/netfilter/ip6_tables.c | 48 +-
1668 net/ipv6/proc.c | 2 +-
1669 net/ipv6/tcp_ipv6.c | 23 +-
1670 net/ipv6/udp.c | 7 +
1671 net/ipx/ipx_proc.c | 2 +-
1672 net/irda/irproc.c | 2 +-
1673 net/llc/llc_proc.c | 2 +-
1674 net/netfilter/Kconfig | 10 +
1675 net/netfilter/Makefile | 1 +
1676 net/netfilter/nf_conntrack_core.c | 8 +
1677 net/netfilter/xt_gradm.c | 51 +
1678 net/netfilter/xt_hashlimit.c | 4 +-
1679 net/netfilter/xt_recent.c | 2 +-
1680 net/packet/af_packet.c | 1 +
1681 net/sctp/bind_addr.c | 14 +-
1682 net/sctp/protocol.c | 1 +
1683 net/sctp/sm_make_chunk.c | 3 +-
1684 net/sctp/socket.c | 4 +-
1685 net/socket.c | 75 +-
1686 net/sunrpc/Kconfig | 1 +
1687 net/sunrpc/cache.c | 2 +-
1688 net/sunrpc/stats.c | 2 +-
1689 net/sysctl_net.c | 2 +-
1690 net/unix/af_unix.c | 52 +-
1691 net/vmw_vsock/vmci_transport_notify.c | 30 +-
1692 net/vmw_vsock/vmci_transport_notify_qstate.c | 30 +-
1693 net/x25/sysctl_net_x25.c | 2 +-
1694 net/x25/x25_proc.c | 2 +-
1695 scripts/package/Makefile | 2 +-
1696 scripts/package/mkspec | 41 +-
1697 security/Kconfig | 364 +-
1698 security/apparmor/file.c | 4 +-
1699 security/apparmor/lsm.c | 8 +-
1700 security/commoncap.c | 29 +
1701 security/keys/internal.h | 2 +-
1702 security/min_addr.c | 2 +
1703 security/tomoyo/file.c | 12 +-
1704 security/tomoyo/mount.c | 4 +
1705 security/tomoyo/tomoyo.c | 20 +-
1706 security/yama/Kconfig | 2 +-
1707 sound/synth/emux/emux_seq.c | 14 +-
1708 sound/usb/line6/driver.c | 40 +-
1709 sound/usb/line6/toneport.c | 12 +-
1710 tools/gcc/.gitignore | 1 +
1711 tools/gcc/Makefile | 12 +
1712 tools/gcc/gen-random-seed.sh | 8 +
1713 tools/gcc/randomize_layout_plugin.c | 935 +++
1714 tools/gcc/randomize_layout_seed.h | 1 -
1715 .../size_overflow_plugin/size_overflow_hash.data | 202 +-
1716 511 files changed, 32630 insertions(+), 3134 deletions(-)
1717
1718 commit a89837d0fc99aab94b5c8b975215de260271c1f7
1719 Author: Brad Spengler <spender@grsecurity.net>
1720 Date: Wed Apr 27 20:43:37 2016 -0400
1721
1722 Initial port of PaX to 4.5.2 with a limited form of RAP
1723 (< 1/5th the total size of the full developed RAP plugin)
1724 No retaddr protection via XOR canary
1725 No C++ support
1726 No LTO support
1727 Removal of a few optimization passes
1728 No compile time reporting of bad fptr casts
1729
1730 The RAP plugin should therefore be used only to compile an
1731 appropriate vanilla kernel with this patch.
1732
1733 Documentation/dontdiff | 46 +-
1734 Documentation/kbuild/makefiles.txt | 39 +-
1735 Documentation/kernel-parameters.txt | 28 +
1736 Makefile | 52 +-
1737 arch/alpha/include/asm/atomic.h | 10 +
1738 arch/alpha/include/asm/elf.h | 7 +
1739 arch/alpha/include/asm/pgalloc.h | 6 +
1740 arch/alpha/include/asm/pgtable.h | 11 +
1741 arch/alpha/kernel/module.c | 2 +-
1742 arch/alpha/kernel/osf_sys.c | 8 +-
1743 arch/alpha/mm/fault.c | 141 +-
1744 arch/arm/Kconfig | 3 +-
1745 arch/arm/include/asm/atomic.h | 323 +-
1746 arch/arm/include/asm/cache.h | 5 +-
1747 arch/arm/include/asm/cacheflush.h | 2 +-
1748 arch/arm/include/asm/checksum.h | 14 +-
1749 arch/arm/include/asm/cmpxchg.h | 4 +
1750 arch/arm/include/asm/cpuidle.h | 2 +-
1751 arch/arm/include/asm/domain.h | 42 +-
1752 arch/arm/include/asm/elf.h | 9 +-
1753 arch/arm/include/asm/fncpy.h | 2 +
1754 arch/arm/include/asm/futex.h | 1 +
1755 arch/arm/include/asm/kmap_types.h | 2 +-
1756 arch/arm/include/asm/mach/dma.h | 2 +-
1757 arch/arm/include/asm/mach/map.h | 16 +-
1758 arch/arm/include/asm/outercache.h | 2 +-
1759 arch/arm/include/asm/page.h | 3 +-
1760 arch/arm/include/asm/pgalloc.h | 20 +
1761 arch/arm/include/asm/pgtable-2level-hwdef.h | 4 +-
1762 arch/arm/include/asm/pgtable-2level.h | 3 +
1763 arch/arm/include/asm/pgtable-3level.h | 3 +
1764 arch/arm/include/asm/pgtable.h | 54 +-
1765 arch/arm/include/asm/smp.h | 2 +-
1766 arch/arm/include/asm/thread_info.h | 3 +
1767 arch/arm/include/asm/tls.h | 3 +
1768 arch/arm/include/asm/uaccess.h | 113 +-
1769 arch/arm/include/uapi/asm/ptrace.h | 2 +-
1770 arch/arm/kernel/armksyms.c | 2 +-
1771 arch/arm/kernel/cpuidle.c | 2 +-
1772 arch/arm/kernel/entry-armv.S | 109 +-
1773 arch/arm/kernel/entry-common.S | 40 +-
1774 arch/arm/kernel/entry-header.S | 55 +
1775 arch/arm/kernel/fiq.c | 3 +
1776 arch/arm/kernel/module-plts.c | 7 +-
1777 arch/arm/kernel/module.c | 38 +-
1778 arch/arm/kernel/patch.c | 2 +
1779 arch/arm/kernel/process.c | 92 +-
1780 arch/arm/kernel/reboot.c | 1 +
1781 arch/arm/kernel/setup.c | 20 +-
1782 arch/arm/kernel/signal.c | 35 +-
1783 arch/arm/kernel/smp.c | 2 +-
1784 arch/arm/kernel/tcm.c | 4 +-
1785 arch/arm/kernel/vmlinux.lds.S | 6 +-
1786 arch/arm/kvm/arm.c | 8 +-
1787 arch/arm/lib/copy_page.S | 1 +
1788 arch/arm/lib/csumpartialcopyuser.S | 4 +-
1789 arch/arm/lib/delay.c | 2 +-
1790 arch/arm/lib/uaccess_with_memcpy.c | 4 +-
1791 arch/arm/mach-exynos/suspend.c | 6 +-
1792 arch/arm/mach-mvebu/coherency.c | 4 +-
1793 arch/arm/mach-omap2/board-n8x0.c | 2 +-
1794 arch/arm/mach-omap2/omap-mpuss-lowpower.c | 4 +-
1795 arch/arm/mach-omap2/omap-smp.c | 1 +
1796 arch/arm/mach-omap2/omap_device.c | 4 +-
1797 arch/arm/mach-omap2/omap_device.h | 4 +-
1798 arch/arm/mach-omap2/omap_hwmod.c | 4 +-
1799 arch/arm/mach-omap2/powerdomains43xx_data.c | 5 +-
1800 arch/arm/mach-omap2/wd_timer.c | 6 +-
1801 arch/arm/mach-shmobile/platsmp-apmu.c | 5 +-
1802 arch/arm/mach-tegra/cpuidle-tegra20.c | 2 +-
1803 arch/arm/mach-tegra/irq.c | 1 +
1804 arch/arm/mach-ux500/pm.c | 1 +
1805 arch/arm/mach-zynq/platsmp.c | 1 +
1806 arch/arm/mm/Kconfig | 6 +-
1807 arch/arm/mm/cache-l2x0.c | 2 +-
1808 arch/arm/mm/context.c | 10 +-
1809 arch/arm/mm/fault.c | 146 +
1810 arch/arm/mm/fault.h | 12 +
1811 arch/arm/mm/init.c | 39 +
1812 arch/arm/mm/ioremap.c | 4 +-
1813 arch/arm/mm/mmap.c | 36 +-
1814 arch/arm/mm/mmu.c | 162 +-
1815 arch/arm/net/bpf_jit_32.c | 3 +
1816 arch/arm/plat-iop/setup.c | 2 +-
1817 arch/arm/plat-omap/sram.c | 2 +
1818 arch/arm64/include/asm/atomic.h | 10 +
1819 arch/arm64/include/asm/percpu.h | 8 +-
1820 arch/arm64/include/asm/pgalloc.h | 5 +
1821 arch/arm64/include/asm/uaccess.h | 1 +
1822 arch/arm64/mm/dma-mapping.c | 2 +-
1823 arch/avr32/include/asm/elf.h | 8 +-
1824 arch/avr32/include/asm/kmap_types.h | 4 +-
1825 arch/avr32/mm/fault.c | 27 +
1826 arch/frv/include/asm/atomic.h | 10 +
1827 arch/frv/include/asm/kmap_types.h | 2 +-
1828 arch/frv/mm/elf-fdpic.c | 3 +-
1829 arch/ia64/Makefile | 1 +
1830 arch/ia64/include/asm/atomic.h | 10 +
1831 arch/ia64/include/asm/elf.h | 7 +
1832 arch/ia64/include/asm/pgalloc.h | 12 +
1833 arch/ia64/include/asm/pgtable.h | 13 +-
1834 arch/ia64/include/asm/spinlock.h | 2 +-
1835 arch/ia64/include/asm/uaccess.h | 27 +-
1836 arch/ia64/kernel/module.c | 20 +-
1837 arch/ia64/kernel/palinfo.c | 2 +-
1838 arch/ia64/kernel/sys_ia64.c | 7 +
1839 arch/ia64/kernel/vmlinux.lds.S | 2 +-
1840 arch/ia64/mm/fault.c | 32 +-
1841 arch/ia64/mm/init.c | 15 +-
1842 arch/m32r/lib/usercopy.c | 6 +
1843 arch/mips/cavium-octeon/dma-octeon.c | 2 +-
1844 arch/mips/include/asm/atomic.h | 372 +-
1845 arch/mips/include/asm/cache.h | 3 +-
1846 arch/mips/include/asm/elf.h | 7 +
1847 arch/mips/include/asm/exec.h | 2 +-
1848 arch/mips/include/asm/hw_irq.h | 2 +-
1849 arch/mips/include/asm/local.h | 57 +
1850 arch/mips/include/asm/page.h | 2 +-
1851 arch/mips/include/asm/pgalloc.h | 5 +
1852 arch/mips/include/asm/pgtable.h | 3 +
1853 arch/mips/include/asm/uaccess.h | 1 +
1854 arch/mips/kernel/binfmt_elfn32.c | 7 +
1855 arch/mips/kernel/binfmt_elfo32.c | 7 +
1856 arch/mips/kernel/irq-gt641xx.c | 2 +-
1857 arch/mips/kernel/irq.c | 6 +-
1858 arch/mips/kernel/pm-cps.c | 2 +-
1859 arch/mips/kernel/process.c | 12 -
1860 arch/mips/kernel/sync-r4k.c | 24 +-
1861 arch/mips/kernel/traps.c | 13 +-
1862 arch/mips/lib/ashldi3.c | 21 +-
1863 arch/mips/lib/ashrdi3.c | 19 +-
1864 arch/mips/lib/libgcc.h | 12 +-
1865 arch/mips/mm/fault.c | 25 +
1866 arch/mips/mm/init.c | 4 +-
1867 arch/mips/mm/mmap.c | 51 +-
1868 arch/mips/sgi-ip27/ip27-nmi.c | 6 +-
1869 arch/mips/sni/rm200.c | 2 +-
1870 arch/mips/vr41xx/common/icu.c | 2 +-
1871 arch/mips/vr41xx/common/irq.c | 4 +-
1872 arch/parisc/include/asm/atomic.h | 10 +
1873 arch/parisc/include/asm/elf.h | 7 +
1874 arch/parisc/include/asm/pgalloc.h | 6 +
1875 arch/parisc/include/asm/pgtable.h | 11 +
1876 arch/parisc/include/asm/uaccess.h | 4 +-
1877 arch/parisc/kernel/module.c | 26 +-
1878 arch/parisc/kernel/sys_parisc.c | 15 +
1879 arch/parisc/kernel/traps.c | 4 +-
1880 arch/parisc/mm/fault.c | 140 +-
1881 arch/powerpc/include/asm/atomic.h | 329 +-
1882 arch/powerpc/include/asm/book3s/32/hash.h | 1 +
1883 arch/powerpc/include/asm/elf.h | 12 +
1884 arch/powerpc/include/asm/exec.h | 2 +-
1885 arch/powerpc/include/asm/kmap_types.h | 2 +-
1886 arch/powerpc/include/asm/local.h | 46 +
1887 arch/powerpc/include/asm/mman.h | 2 +-
1888 arch/powerpc/include/asm/page.h | 8 +-
1889 arch/powerpc/include/asm/page_64.h | 7 +-
1890 arch/powerpc/include/asm/pgalloc-64.h | 7 +
1891 arch/powerpc/include/asm/pgtable.h | 1 +
1892 arch/powerpc/include/asm/reg.h | 1 +
1893 arch/powerpc/include/asm/smp.h | 2 +-
1894 arch/powerpc/include/asm/spinlock.h | 42 +-
1895 arch/powerpc/include/asm/uaccess.h | 141 +-
1896 arch/powerpc/kernel/Makefile | 5 +
1897 arch/powerpc/kernel/exceptions-64e.S | 4 +-
1898 arch/powerpc/kernel/exceptions-64s.S | 2 +-
1899 arch/powerpc/kernel/module_32.c | 15 +-
1900 arch/powerpc/kernel/process.c | 46 -
1901 arch/powerpc/kernel/signal_32.c | 2 +-
1902 arch/powerpc/kernel/signal_64.c | 2 +-
1903 arch/powerpc/kernel/traps.c | 21 +
1904 arch/powerpc/kernel/vdso.c | 5 +-
1905 arch/powerpc/lib/usercopy_64.c | 18 -
1906 arch/powerpc/mm/fault.c | 56 +-
1907 arch/powerpc/mm/mmap.c | 16 +
1908 arch/powerpc/mm/slice.c | 21 +-
1909 arch/powerpc/platforms/cell/spufs/file.c | 4 +-
1910 arch/s390/include/asm/atomic.h | 10 +
1911 arch/s390/include/asm/elf.h | 7 +
1912 arch/s390/include/asm/exec.h | 2 +-
1913 arch/s390/include/asm/uaccess.h | 13 +-
1914 arch/s390/kernel/module.c | 22 +-
1915 arch/s390/kernel/process.c | 20 -
1916 arch/s390/mm/mmap.c | 22 +-
1917 arch/score/include/asm/exec.h | 2 +-
1918 arch/score/kernel/process.c | 5 -
1919 arch/sh/mm/mmap.c | 28 +-
1920 arch/sparc/include/asm/atomic_64.h | 110 +-
1921 arch/sparc/include/asm/cache.h | 2 +-
1922 arch/sparc/include/asm/elf_32.h | 7 +
1923 arch/sparc/include/asm/elf_64.h | 7 +
1924 arch/sparc/include/asm/pgalloc_32.h | 1 +
1925 arch/sparc/include/asm/pgalloc_64.h | 1 +
1926 arch/sparc/include/asm/pgtable.h | 4 +
1927 arch/sparc/include/asm/pgtable_32.h | 15 +-
1928 arch/sparc/include/asm/pgtsrmmu.h | 5 +
1929 arch/sparc/include/asm/setup.h | 4 +-
1930 arch/sparc/include/asm/spinlock_64.h | 35 +-
1931 arch/sparc/include/asm/thread_info_32.h | 1 +
1932 arch/sparc/include/asm/thread_info_64.h | 2 +
1933 arch/sparc/include/asm/uaccess.h | 1 +
1934 arch/sparc/include/asm/uaccess_32.h | 28 +-
1935 arch/sparc/include/asm/uaccess_64.h | 24 +-
1936 arch/sparc/kernel/Makefile | 2 +-
1937 arch/sparc/kernel/prom_common.c | 2 +-
1938 arch/sparc/kernel/smp_64.c | 8 +-
1939 arch/sparc/kernel/sys_sparc_32.c | 2 +-
1940 arch/sparc/kernel/sys_sparc_64.c | 58 +-
1941 arch/sparc/kernel/traps_64.c | 27 +-
1942 arch/sparc/lib/Makefile | 2 +-
1943 arch/sparc/lib/atomic_64.S | 57 +-
1944 arch/sparc/lib/ksyms.c | 6 +-
1945 arch/sparc/mm/Makefile | 2 +-
1946 arch/sparc/mm/fault_32.c | 292 +
1947 arch/sparc/mm/fault_64.c | 486 +
1948 arch/sparc/mm/hugetlbpage.c | 30 +-
1949 arch/sparc/mm/init_64.c | 10 +-
1950 arch/tile/include/asm/atomic_64.h | 10 +
1951 arch/tile/include/asm/uaccess.h | 4 +-
1952 arch/um/Makefile | 4 +
1953 arch/um/include/asm/kmap_types.h | 2 +-
1954 arch/um/include/asm/page.h | 3 +
1955 arch/um/include/asm/pgtable-3level.h | 1 +
1956 arch/um/kernel/process.c | 16 -
1957 arch/x86/Kconfig | 26 +-
1958 arch/x86/Kconfig.cpu | 6 +-
1959 arch/x86/Kconfig.debug | 4 +-
1960 arch/x86/Makefile | 13 +-
1961 arch/x86/boot/Makefile | 3 +
1962 arch/x86/boot/bitops.h | 4 +-
1963 arch/x86/boot/boot.h | 2 +-
1964 arch/x86/boot/compressed/Makefile | 20 +
1965 arch/x86/boot/compressed/efi_stub_32.S | 16 +-
1966 arch/x86/boot/compressed/efi_thunk_64.S | 4 +-
1967 arch/x86/boot/compressed/head_32.S | 4 +-
1968 arch/x86/boot/compressed/head_64.S | 12 +-
1969 arch/x86/boot/compressed/misc.c | 11 +-
1970 arch/x86/boot/cpucheck.c | 16 +-
1971 arch/x86/boot/header.S | 6 +-
1972 arch/x86/boot/memory.c | 2 +-
1973 arch/x86/boot/video-vesa.c | 1 +
1974 arch/x86/boot/video.c | 2 +-
1975 arch/x86/crypto/aes-x86_64-asm_64.S | 4 +
1976 arch/x86/crypto/aesni-intel_asm.S | 110 +-
1977 arch/x86/crypto/aesni-intel_glue.c | 4 +-
1978 arch/x86/crypto/blowfish-x86_64-asm_64.S | 11 +-
1979 arch/x86/crypto/camellia-aesni-avx-asm_64.S | 22 +-
1980 arch/x86/crypto/camellia-aesni-avx2-asm_64.S | 22 +-
1981 arch/x86/crypto/camellia-x86_64-asm_64.S | 11 +-
1982 arch/x86/crypto/camellia_aesni_avx2_glue.c | 18 +-
1983 arch/x86/crypto/camellia_aesni_avx_glue.c | 18 +-
1984 arch/x86/crypto/camellia_glue.c | 8 +-
1985 arch/x86/crypto/cast5-avx-x86_64-asm_64.S | 55 +-
1986 arch/x86/crypto/cast6-avx-x86_64-asm_64.S | 37 +-
1987 arch/x86/crypto/cast6_avx_glue.c | 16 +-
1988 arch/x86/crypto/crc32c-pcl-intel-asm_64.S | 2 +
1989 arch/x86/crypto/ghash-clmulni-intel_asm.S | 4 +
1990 arch/x86/crypto/glue_helper.c | 2 +-
1991 arch/x86/crypto/salsa20-x86_64-asm_64.S | 4 +
1992 arch/x86/crypto/serpent-avx-x86_64-asm_64.S | 21 +-
1993 arch/x86/crypto/serpent-avx2-asm_64.S | 21 +-
1994 arch/x86/crypto/serpent-sse2-x86_64-asm_64.S | 4 +
1995 arch/x86/crypto/serpent_avx2_glue.c | 14 +-
1996 arch/x86/crypto/serpent_avx_glue.c | 18 +-
1997 arch/x86/crypto/serpent_sse2_glue.c | 4 +-
1998 arch/x86/crypto/sha1_ssse3_asm.S | 13 +-
1999 arch/x86/crypto/sha1_ssse3_glue.c | 56 +-
2000 arch/x86/crypto/sha256-avx-asm.S | 5 +-
2001 arch/x86/crypto/sha256-avx2-asm.S | 5 +-
2002 arch/x86/crypto/sha256-ssse3-asm.S | 6 +-
2003 arch/x86/crypto/sha256_ssse3_glue.c | 26 +-
2004 arch/x86/crypto/sha512-avx-asm.S | 5 +-
2005 arch/x86/crypto/sha512-avx2-asm.S | 5 +-
2006 arch/x86/crypto/sha512-ssse3-asm.S | 5 +-
2007 arch/x86/crypto/sha512_ssse3_glue.c | 22 +-
2008 arch/x86/crypto/twofish-avx-x86_64-asm_64.S | 37 +-
2009 arch/x86/crypto/twofish-i586-asm_32.S | 2 +-
2010 arch/x86/crypto/twofish-x86_64-asm_64-3way.S | 6 +-
2011 arch/x86/crypto/twofish-x86_64-asm_64.S | 7 +-
2012 arch/x86/crypto/twofish_avx_glue.c | 21 +-
2013 arch/x86/crypto/twofish_glue.c | 4 +-
2014 arch/x86/crypto/twofish_glue_3way.c | 12 +-
2015 arch/x86/entry/Makefile | 2 +
2016 arch/x86/entry/calling.h | 86 +-
2017 arch/x86/entry/common.c | 70 +-
2018 arch/x86/entry/entry_32.S | 311 +-
2019 arch/x86/entry/entry_64.S | 629 +-
2020 arch/x86/entry/entry_64_compat.S | 115 +-
2021 arch/x86/entry/thunk_64.S | 2 +
2022 arch/x86/entry/vdso/Makefile | 5 +-
2023 arch/x86/entry/vdso/vclock_gettime.c | 2 +-
2024 arch/x86/entry/vdso/vdso2c.h | 8 +-
2025 arch/x86/entry/vdso/vma.c | 37 +-
2026 arch/x86/entry/vsyscall/vsyscall_64.c | 20 +-
2027 arch/x86/entry/vsyscall/vsyscall_emu_64.S | 2 +-
2028 arch/x86/ia32/ia32_signal.c | 23 +-
2029 arch/x86/ia32/sys_ia32.c | 42 +-
2030 arch/x86/include/asm/alternative-asm.h | 51 +-
2031 arch/x86/include/asm/alternative.h | 4 +-
2032 arch/x86/include/asm/apic.h | 2 +-
2033 arch/x86/include/asm/apm.h | 4 +-
2034 arch/x86/include/asm/atomic.h | 230 +-
2035 arch/x86/include/asm/atomic64_32.h | 100 +
2036 arch/x86/include/asm/atomic64_64.h | 164 +-
2037 arch/x86/include/asm/bitops.h | 18 +-
2038 arch/x86/include/asm/boot.h | 2 +-
2039 arch/x86/include/asm/cache.h | 5 +-
2040 arch/x86/include/asm/checksum_32.h | 12 +-
2041 arch/x86/include/asm/cmpxchg.h | 39 +
2042 arch/x86/include/asm/compat.h | 4 +
2043 arch/x86/include/asm/cpufeature.h | 16 +-
2044 arch/x86/include/asm/crypto/camellia.h | 30 +-
2045 arch/x86/include/asm/crypto/glue_helper.h | 10 +-
2046 arch/x86/include/asm/crypto/serpent-avx.h | 18 +-
2047 arch/x86/include/asm/crypto/serpent-sse2.h | 8 +-
2048 arch/x86/include/asm/crypto/twofish.h | 10 +-
2049 arch/x86/include/asm/desc.h | 78 +-
2050 arch/x86/include/asm/desc_defs.h | 6 +
2051 arch/x86/include/asm/div64.h | 2 +-
2052 arch/x86/include/asm/dma.h | 2 +
2053 arch/x86/include/asm/elf.h | 33 +-
2054 arch/x86/include/asm/emergency-restart.h | 2 +-
2055 arch/x86/include/asm/fpu/internal.h | 38 +-
2056 arch/x86/include/asm/fpu/types.h | 5 +-
2057 arch/x86/include/asm/futex.h | 14 +-
2058 arch/x86/include/asm/hw_irq.h | 4 +-
2059 arch/x86/include/asm/hypervisor.h | 2 +-
2060 arch/x86/include/asm/i8259.h | 2 +-
2061 arch/x86/include/asm/io.h | 22 +-
2062 arch/x86/include/asm/irqflags.h | 5 +
2063 arch/x86/include/asm/kprobes.h | 9 +-
2064 arch/x86/include/asm/kvm_emulate.h | 7 +-
2065 arch/x86/include/asm/local.h | 106 +-
2066 arch/x86/include/asm/mman.h | 15 +
2067 arch/x86/include/asm/mmu.h | 14 +-
2068 arch/x86/include/asm/mmu_context.h | 133 +-
2069 arch/x86/include/asm/module.h | 23 +-
2070 arch/x86/include/asm/nmi.h | 19 +-
2071 arch/x86/include/asm/page.h | 1 +
2072 arch/x86/include/asm/page_32.h | 12 +-
2073 arch/x86/include/asm/page_64.h | 14 +-
2074 arch/x86/include/asm/paravirt.h | 46 +-
2075 arch/x86/include/asm/paravirt_types.h | 13 +-
2076 arch/x86/include/asm/pgalloc.h | 23 +
2077 arch/x86/include/asm/pgtable-2level.h | 2 +
2078 arch/x86/include/asm/pgtable-3level.h | 7 +
2079 arch/x86/include/asm/pgtable.h | 126 +-
2080 arch/x86/include/asm/pgtable_32.h | 14 +-
2081 arch/x86/include/asm/pgtable_32_types.h | 24 +-
2082 arch/x86/include/asm/pgtable_64.h | 23 +-
2083 arch/x86/include/asm/pgtable_64_types.h | 5 +
2084 arch/x86/include/asm/pgtable_types.h | 27 +-
2085 arch/x86/include/asm/pmem.h | 2 +-
2086 arch/x86/include/asm/preempt.h | 2 +-
2087 arch/x86/include/asm/processor.h | 57 +-
2088 arch/x86/include/asm/ptrace.h | 15 +-
2089 arch/x86/include/asm/realmode.h | 4 +-
2090 arch/x86/include/asm/reboot.h | 10 +-
2091 arch/x86/include/asm/rmwcc.h | 84 +-
2092 arch/x86/include/asm/rwsem.h | 60 +-
2093 arch/x86/include/asm/segment.h | 27 +-
2094 arch/x86/include/asm/smap.h | 43 +
2095 arch/x86/include/asm/smp.h | 14 +-
2096 arch/x86/include/asm/stackprotector.h | 4 +-
2097 arch/x86/include/asm/stacktrace.h | 34 +-
2098 arch/x86/include/asm/switch_to.h | 4 +-
2099 arch/x86/include/asm/sys_ia32.h | 6 +-
2100 arch/x86/include/asm/thread_info.h | 27 +-
2101 arch/x86/include/asm/tlbflush.h | 77 +-
2102 arch/x86/include/asm/traps.h | 4 +-
2103 arch/x86/include/asm/uaccess.h | 210 +-
2104 arch/x86/include/asm/uaccess_32.h | 28 +-
2105 arch/x86/include/asm/uaccess_64.h | 169 +-
2106 arch/x86/include/asm/word-at-a-time.h | 2 +-
2107 arch/x86/include/asm/x86_init.h | 10 +-
2108 arch/x86/include/asm/xen/page.h | 2 +-
2109 arch/x86/include/uapi/asm/e820.h | 2 +-
2110 arch/x86/kernel/Makefile | 2 +-
2111 arch/x86/kernel/acpi/boot.c | 4 +-
2112 arch/x86/kernel/acpi/sleep.c | 4 +
2113 arch/x86/kernel/acpi/wakeup_32.S | 6 +-
2114 arch/x86/kernel/alternative.c | 124 +-
2115 arch/x86/kernel/apic/apic.c | 4 +-
2116 arch/x86/kernel/apic/apic_flat_64.c | 6 +-
2117 arch/x86/kernel/apic/apic_noop.c | 2 +-
2118 arch/x86/kernel/apic/bigsmp_32.c | 2 +-
2119 arch/x86/kernel/apic/io_apic.c | 10 +-
2120 arch/x86/kernel/apic/msi.c | 2 +-
2121 arch/x86/kernel/apic/probe_32.c | 4 +-
2122 arch/x86/kernel/apic/vector.c | 2 +
2123 arch/x86/kernel/apic/x2apic_cluster.c | 2 +-
2124 arch/x86/kernel/apic/x2apic_phys.c | 2 +-
2125 arch/x86/kernel/apic/x2apic_uv_x.c | 2 +-
2126 arch/x86/kernel/apm_32.c | 21 +-
2127 arch/x86/kernel/asm-offsets.c | 20 +
2128 arch/x86/kernel/asm-offsets_64.c | 1 +
2129 arch/x86/kernel/cpu/Makefile | 4 -
2130 arch/x86/kernel/cpu/amd.c | 2 +-
2131 arch/x86/kernel/cpu/bugs_64.c | 2 +
2132 arch/x86/kernel/cpu/common.c | 202 +-
2133 arch/x86/kernel/cpu/intel_cacheinfo.c | 14 +-
2134 arch/x86/kernel/cpu/mcheck/mce.c | 34 +-
2135 arch/x86/kernel/cpu/mcheck/p5.c | 3 +
2136 arch/x86/kernel/cpu/mcheck/winchip.c | 3 +
2137 arch/x86/kernel/cpu/microcode/intel.c | 4 +-
2138 arch/x86/kernel/cpu/mshyperv.c | 2 +-
2139 arch/x86/kernel/cpu/mtrr/generic.c | 6 +-
2140 arch/x86/kernel/cpu/mtrr/main.c | 2 +-
2141 arch/x86/kernel/cpu/mtrr/mtrr.h | 2 +-
2142 arch/x86/kernel/cpu/perf_event.c | 10 +-
2143 arch/x86/kernel/cpu/perf_event.h | 2 +-
2144 arch/x86/kernel/cpu/perf_event_amd_iommu.c | 8 +-
2145 arch/x86/kernel/cpu/perf_event_intel.c | 34 +-
2146 arch/x86/kernel/cpu/perf_event_intel_bts.c | 6 +-
2147 arch/x86/kernel/cpu/perf_event_intel_cqm.c | 4 +-
2148 arch/x86/kernel/cpu/perf_event_intel_ds.c | 7 +-
2149 arch/x86/kernel/cpu/perf_event_intel_lbr.c | 4 +-
2150 arch/x86/kernel/cpu/perf_event_intel_pt.c | 42 +-
2151 arch/x86/kernel/cpu/perf_event_intel_rapl.c | 8 +-
2152 arch/x86/kernel/cpu/perf_event_intel_uncore.c | 6 +-
2153 arch/x86/kernel/cpu/perf_event_intel_uncore.h | 14 +-
2154 arch/x86/kernel/cpu/vmware.c | 2 +-
2155 arch/x86/kernel/crash_dump_64.c | 2 +-
2156 arch/x86/kernel/doublefault.c | 8 +-
2157 arch/x86/kernel/dumpstack.c | 24 +-
2158 arch/x86/kernel/dumpstack_32.c | 25 +-
2159 arch/x86/kernel/dumpstack_64.c | 72 +-
2160 arch/x86/kernel/e820.c | 4 +-
2161 arch/x86/kernel/early_printk.c | 1 +
2162 arch/x86/kernel/espfix_64.c | 44 +-
2163 arch/x86/kernel/fpu/core.c | 24 +-
2164 arch/x86/kernel/fpu/init.c | 49 +-
2165 arch/x86/kernel/fpu/regset.c | 22 +-
2166 arch/x86/kernel/fpu/signal.c | 20 +-
2167 arch/x86/kernel/fpu/xstate.c | 6 +-
2168 arch/x86/kernel/ftrace.c | 18 +-
2169 arch/x86/kernel/head64.c | 14 +-
2170 arch/x86/kernel/head_32.S | 237 +-
2171 arch/x86/kernel/head_64.S | 173 +-
2172 arch/x86/kernel/i386_ksyms_32.c | 12 +
2173 arch/x86/kernel/i8259.c | 10 +-
2174 arch/x86/kernel/io_delay.c | 2 +-
2175 arch/x86/kernel/ioport.c | 2 +-
2176 arch/x86/kernel/irq.c | 8 +-
2177 arch/x86/kernel/irq_32.c | 45 +-
2178 arch/x86/kernel/jump_label.c | 10 +-
2179 arch/x86/kernel/kgdb.c | 21 +-
2180 arch/x86/kernel/kprobes/core.c | 28 +-
2181 arch/x86/kernel/kprobes/opt.c | 16 +-
2182 arch/x86/kernel/ksysfs.c | 2 +-
2183 arch/x86/kernel/kvm.c | 2 +-
2184 arch/x86/kernel/kvmclock.c | 20 +-
2185 arch/x86/kernel/ldt.c | 25 +
2186 arch/x86/kernel/livepatch.c | 9 +-
2187 arch/x86/kernel/machine_kexec_32.c | 6 +-
2188 arch/x86/kernel/mcount_64.S | 21 +-
2189 arch/x86/kernel/module.c | 78 +-
2190 arch/x86/kernel/msr.c | 2 +-
2191 arch/x86/kernel/nmi.c | 34 +-
2192 arch/x86/kernel/nmi_selftest.c | 4 +-
2193 arch/x86/kernel/paravirt-spinlocks.c | 2 +-
2194 arch/x86/kernel/paravirt.c | 43 +-
2195 arch/x86/kernel/paravirt_patch_64.c | 8 +
2196 arch/x86/kernel/pci-calgary_64.c | 2 +-
2197 arch/x86/kernel/pci-iommu_table.c | 2 +-
2198 arch/x86/kernel/pci-swiotlb.c | 2 +-
2199 arch/x86/kernel/process.c | 80 +-
2200 arch/x86/kernel/process_32.c | 29 +-
2201 arch/x86/kernel/process_64.c | 14 +-
2202 arch/x86/kernel/ptrace.c | 20 +-
2203 arch/x86/kernel/pvclock.c | 8 +-
2204 arch/x86/kernel/reboot.c | 44 +-
2205 arch/x86/kernel/reboot_fixups_32.c | 2 +-
2206 arch/x86/kernel/relocate_kernel_64.S | 3 +-
2207 arch/x86/kernel/setup.c | 29 +-
2208 arch/x86/kernel/setup_percpu.c | 29 +-
2209 arch/x86/kernel/signal.c | 17 +-
2210 arch/x86/kernel/smp.c | 2 +-
2211 arch/x86/kernel/smpboot.c | 29 +-
2212 arch/x86/kernel/step.c | 6 +-
2213 arch/x86/kernel/sys_i386_32.c | 184 +
2214 arch/x86/kernel/sys_x86_64.c | 28 +-
2215 arch/x86/kernel/tboot.c | 22 +-
2216 arch/x86/kernel/time.c | 8 +-
2217 arch/x86/kernel/tls.c | 7 +-
2218 arch/x86/kernel/tracepoint.c | 4 +-
2219 arch/x86/kernel/traps.c | 64 +-
2220 arch/x86/kernel/tsc.c | 2 +-
2221 arch/x86/kernel/uprobes.c | 4 +-
2222 arch/x86/kernel/vm86_32.c | 6 +-
2223 arch/x86/kernel/vmlinux.lds.S | 153 +-
2224 arch/x86/kernel/x8664_ksyms_64.c | 6 +-
2225 arch/x86/kernel/x86_init.c | 6 +-
2226 arch/x86/kvm/cpuid.c | 21 +-
2227 arch/x86/kvm/emulate.c | 20 +-
2228 arch/x86/kvm/i8259.c | 10 +-
2229 arch/x86/kvm/ioapic.c | 2 +
2230 arch/x86/kvm/lapic.c | 2 +-
2231 arch/x86/kvm/paging_tmpl.h | 2 +-
2232 arch/x86/kvm/svm.c | 10 +-
2233 arch/x86/kvm/vmx.c | 60 +-
2234 arch/x86/kvm/x86.c | 44 +-
2235 arch/x86/lguest/boot.c | 3 +-
2236 arch/x86/lib/atomic64_386_32.S | 164 +
2237 arch/x86/lib/atomic64_cx8_32.S | 98 +-
2238 arch/x86/lib/checksum_32.S | 99 +-
2239 arch/x86/lib/clear_page_64.S | 3 +
2240 arch/x86/lib/cmpxchg16b_emu.S | 3 +
2241 arch/x86/lib/copy_page_64.S | 14 +-
2242 arch/x86/lib/copy_user_64.S | 66 +-
2243 arch/x86/lib/csum-copy_64.S | 14 +-
2244 arch/x86/lib/csum-wrappers_64.c | 8 +-
2245 arch/x86/lib/getuser.S | 74 +-
2246 arch/x86/lib/insn.c | 8 +-
2247 arch/x86/lib/iomap_copy_64.S | 2 +
2248 arch/x86/lib/memcpy_64.S | 6 +
2249 arch/x86/lib/memmove_64.S | 3 +-
2250 arch/x86/lib/memset_64.S | 3 +
2251 arch/x86/lib/mmx_32.c | 243 +-
2252 arch/x86/lib/msr-reg.S | 2 +
2253 arch/x86/lib/putuser.S | 87 +-
2254 arch/x86/lib/rwsem.S | 6 +-
2255 arch/x86/lib/usercopy_32.c | 359 +-
2256 arch/x86/lib/usercopy_64.c | 22 +-
2257 arch/x86/math-emu/fpu_aux.c | 2 +-
2258 arch/x86/math-emu/fpu_entry.c | 4 +-
2259 arch/x86/math-emu/fpu_system.h | 2 +-
2260 arch/x86/mm/Makefile | 4 +
2261 arch/x86/mm/extable.c | 26 +-
2262 arch/x86/mm/fault.c | 570 +-
2263 arch/x86/mm/gup.c | 6 +-
2264 arch/x86/mm/highmem_32.c | 6 +
2265 arch/x86/mm/hugetlbpage.c | 24 +-
2266 arch/x86/mm/init.c | 111 +-
2267 arch/x86/mm/init_32.c | 111 +-
2268 arch/x86/mm/init_64.c | 46 +-
2269 arch/x86/mm/iomap_32.c | 4 +
2270 arch/x86/mm/ioremap.c | 52 +-
2271 arch/x86/mm/kmemcheck/kmemcheck.c | 4 +-
2272 arch/x86/mm/mmap.c | 40 +-
2273 arch/x86/mm/mmio-mod.c | 10 +-
2274 arch/x86/mm/mpx.c | 6 +-
2275 arch/x86/mm/numa.c | 2 +-
2276 arch/x86/mm/pageattr.c | 42 +-
2277 arch/x86/mm/pat.c | 12 +-
2278 arch/x86/mm/pat_rbtree.c | 2 +-
2279 arch/x86/mm/pf_in.c | 10 +-
2280 arch/x86/mm/pgtable.c | 209 +-
2281 arch/x86/mm/pgtable_32.c | 3 +
2282 arch/x86/mm/setup_nx.c | 7 +
2283 arch/x86/mm/tlb.c | 4 +
2284 arch/x86/mm/uderef_64.c | 37 +
2285 arch/x86/net/bpf_jit.S | 11 +
2286 arch/x86/net/bpf_jit_comp.c | 13 +-
2287 arch/x86/oprofile/backtrace.c | 6 +-
2288 arch/x86/oprofile/nmi_int.c | 10 +-
2289 arch/x86/oprofile/op_model_amd.c | 8 +-
2290 arch/x86/oprofile/op_model_ppro.c | 7 +-
2291 arch/x86/oprofile/op_x86_model.h | 2 +-
2292 arch/x86/pci/intel_mid_pci.c | 2 +-
2293 arch/x86/pci/irq.c | 8 +-
2294 arch/x86/pci/pcbios.c | 112 +-
2295 arch/x86/pci/vmd.c | 4 +-
2296 arch/x86/platform/efi/efi_32.c | 24 +
2297 arch/x86/platform/efi/efi_64.c | 26 +-
2298 arch/x86/platform/efi/efi_stub_32.S | 64 +-
2299 arch/x86/platform/efi/efi_stub_64.S | 2 +
2300 arch/x86/platform/intel-mid/intel-mid.c | 5 +-
2301 arch/x86/platform/intel-mid/intel_mid_weak_decls.h | 6 +-
2302 arch/x86/platform/intel-mid/mfld.c | 4 +-
2303 arch/x86/platform/intel-mid/mrfl.c | 2 +-
2304 arch/x86/platform/intel-quark/imr_selftest.c | 2 +-
2305 arch/x86/platform/olpc/olpc_dt.c | 2 +-
2306 arch/x86/power/cpu.c | 11 +-
2307 arch/x86/realmode/init.c | 10 +-
2308 arch/x86/realmode/rm/Makefile | 3 +
2309 arch/x86/realmode/rm/header.S | 4 +-
2310 arch/x86/realmode/rm/reboot.S | 4 +
2311 arch/x86/realmode/rm/trampoline_32.S | 12 +-
2312 arch/x86/realmode/rm/trampoline_64.S | 3 +-
2313 arch/x86/realmode/rm/wakeup_asm.S | 5 +-
2314 arch/x86/tools/Makefile | 2 +-
2315 arch/x86/tools/relocs.c | 97 +-
2316 arch/x86/um/mem_32.c | 2 +-
2317 arch/x86/um/tls_32.c | 2 +-
2318 arch/x86/xen/enlighten.c | 52 +-
2319 arch/x86/xen/mmu.c | 19 +-
2320 arch/x86/xen/smp.c | 16 +-
2321 arch/x86/xen/xen-asm_32.S | 2 +-
2322 arch/x86/xen/xen-head.S | 11 +
2323 arch/x86/xen/xen-ops.h | 2 -
2324 block/bio.c | 4 +-
2325 block/blk-cgroup.c | 18 +-
2326 block/blk-map.c | 2 +-
2327 block/blk-softirq.c | 2 +-
2328 block/bsg.c | 12 +-
2329 block/cfq-iosched.c | 4 +-
2330 block/compat_ioctl.c | 4 +-
2331 block/genhd.c | 9 +-
2332 block/partitions/efi.c | 8 +-
2333 block/scsi_ioctl.c | 29 +-
2334 crypto/cast6_generic.c | 6 +-
2335 crypto/cryptd.c | 4 +-
2336 crypto/crypto_user.c | 2 +-
2337 crypto/pcrypt.c | 2 +-
2338 crypto/salsa20_generic.c | 16 +-
2339 crypto/serpent_generic.c | 6 +-
2340 crypto/zlib.c | 12 +-
2341 drivers/acpi/ac.c | 2 +-
2342 drivers/acpi/acpi_video.c | 2 +-
2343 drivers/acpi/apei/apei-internal.h | 2 +-
2344 drivers/acpi/apei/ghes.c | 10 +-
2345 drivers/acpi/battery.c | 2 +-
2346 drivers/acpi/bgrt.c | 6 +-
2347 drivers/acpi/blacklist.c | 4 +-
2348 drivers/acpi/bus.c | 4 +-
2349 drivers/acpi/device_pm.c | 4 +-
2350 drivers/acpi/ec.c | 6 +-
2351 drivers/acpi/pci_slot.c | 2 +-
2352 drivers/acpi/processor_idle.c | 2 +-
2353 drivers/acpi/processor_pdc.c | 2 +-
2354 drivers/acpi/sleep.c | 2 +-
2355 drivers/acpi/sysfs.c | 14 +-
2356 drivers/acpi/thermal.c | 2 +-
2357 drivers/acpi/video_detect.c | 7 +-
2358 drivers/android/binder.c | 2 +-
2359 drivers/ata/libata-core.c | 12 +-
2360 drivers/ata/libata-scsi.c | 2 +-
2361 drivers/ata/libata.h | 2 +-
2362 drivers/ata/pata_arasan_cf.c | 4 +-
2363 drivers/atm/adummy.c | 2 +-
2364 drivers/atm/ambassador.c | 8 +-
2365 drivers/atm/atmtcp.c | 14 +-
2366 drivers/atm/eni.c | 10 +-
2367 drivers/atm/firestream.c | 8 +-
2368 drivers/atm/fore200e.c | 14 +-
2369 drivers/atm/he.c | 18 +-
2370 drivers/atm/horizon.c | 4 +-
2371 drivers/atm/idt77252.c | 36 +-
2372 drivers/atm/iphase.c | 34 +-
2373 drivers/atm/lanai.c | 12 +-
2374 drivers/atm/nicstar.c | 46 +-
2375 drivers/atm/solos-pci.c | 4 +-
2376 drivers/atm/suni.c | 4 +-
2377 drivers/atm/uPD98402.c | 16 +-
2378 drivers/atm/zatm.c | 6 +-
2379 drivers/base/bus.c | 4 +-
2380 drivers/base/devres.c | 4 +-
2381 drivers/base/devtmpfs.c | 8 +-
2382 drivers/base/node.c | 2 +-
2383 drivers/base/platform-msi.c | 20 +-
2384 drivers/base/power/domain.c | 6 +-
2385 drivers/base/power/runtime.c | 61 +-
2386 drivers/base/power/sysfs.c | 2 +-
2387 drivers/base/power/wakeup.c | 8 +-
2388 drivers/base/regmap/regmap-debugfs.c | 4 +-
2389 drivers/base/regmap/regmap.c | 4 +-
2390 drivers/base/syscore.c | 4 +-
2391 drivers/block/cciss.c | 28 +-
2392 drivers/block/cciss.h | 2 +-
2393 drivers/block/cpqarray.c | 28 +-
2394 drivers/block/cpqarray.h | 2 +-
2395 drivers/block/drbd/drbd_bitmap.c | 2 +-
2396 drivers/block/drbd/drbd_int.h | 8 +-
2397 drivers/block/drbd/drbd_main.c | 12 +-
2398 drivers/block/drbd/drbd_nl.c | 16 +-
2399 drivers/block/drbd/drbd_receiver.c | 38 +-
2400 drivers/block/drbd/drbd_state.c | 12 +-
2401 drivers/block/drbd/drbd_state.h | 2 +-
2402 drivers/block/drbd/drbd_state_change.h | 8 +-
2403 drivers/block/drbd/drbd_worker.c | 14 +-
2404 drivers/block/floppy.c | 8 +-
2405 drivers/block/pktcdvd.c | 4 +-
2406 drivers/block/rbd.c | 2 +-
2407 drivers/bluetooth/btwilink.c | 2 +-
2408 drivers/bus/arm-cci.c | 12 +-
2409 drivers/cdrom/cdrom.c | 11 +-
2410 drivers/cdrom/gdrom.c | 1 -
2411 drivers/char/agp/compat_ioctl.c | 2 +-
2412 drivers/char/agp/frontend.c | 4 +-
2413 drivers/char/agp/intel-gtt.c | 4 +-
2414 drivers/char/hpet.c | 2 +-
2415 drivers/char/ipmi/ipmi_msghandler.c | 8 +-
2416 drivers/char/ipmi/ipmi_poweroff.c | 2 +-
2417 drivers/char/ipmi/ipmi_si_intf.c | 12 +-
2418 drivers/char/ipmi/ipmi_ssif.c | 12 +-
2419 drivers/char/mem.c | 47 +-
2420 drivers/char/nvram.c | 2 +-
2421 drivers/char/pcmcia/synclink_cs.c | 16 +-
2422 drivers/char/random.c | 12 +-
2423 drivers/char/sonypi.c | 11 +-
2424 drivers/char/tpm/tpm_acpi.c | 3 +-
2425 drivers/char/tpm/tpm_eventlog.c | 5 +-
2426 drivers/char/virtio_console.c | 6 +-
2427 drivers/clk/clk-composite.c | 2 +-
2428 drivers/clk/samsung/clk.h | 2 +-
2429 drivers/clk/socfpga/clk-gate.c | 9 +-
2430 drivers/clk/socfpga/clk-pll.c | 9 +-
2431 drivers/clk/ti/clk.c | 8 +-
2432 drivers/cpufreq/acpi-cpufreq.c | 17 +-
2433 drivers/cpufreq/cpufreq-dt.c | 4 +-
2434 drivers/cpufreq/cpufreq.c | 27 +-
2435 drivers/cpufreq/cpufreq_governor.c | 2 +-
2436 drivers/cpufreq/cpufreq_governor.h | 10 +-
2437 drivers/cpufreq/cpufreq_ondemand.c | 10 +-
2438 drivers/cpufreq/intel_pstate.c | 54 +-
2439 drivers/cpufreq/p4-clockmod.c | 12 +-
2440 drivers/cpufreq/sparc-us3-cpufreq.c | 67 +-
2441 drivers/cpufreq/speedstep-centrino.c | 7 +-
2442 drivers/cpuidle/driver.c | 2 +-
2443 drivers/cpuidle/dt_idle_states.c | 2 +-
2444 drivers/cpuidle/governor.c | 2 +-
2445 drivers/cpuidle/governors/ladder.c | 13 +-
2446 drivers/cpuidle/sysfs.c | 2 +-
2447 drivers/crypto/hifn_795x.c | 4 +-
2448 drivers/crypto/qat/qat_common/adf_aer.c | 2 +-
2449 drivers/crypto/qat/qat_common/adf_sriov.c | 4 +-
2450 drivers/crypto/qat/qat_common/adf_vf_isr.c | 6 +-
2451 drivers/devfreq/devfreq.c | 4 +-
2452 drivers/dma/sh/shdma-base.c | 4 +-
2453 drivers/dma/sh/shdmac.c | 2 +-
2454 drivers/edac/edac_device.c | 4 +-
2455 drivers/edac/edac_device_sysfs.c | 2 +-
2456 drivers/edac/edac_mc_sysfs.c | 4 +-
2457 drivers/edac/edac_module.c | 2 +-
2458 drivers/edac/edac_pci.c | 4 +-
2459 drivers/edac/edac_pci_sysfs.c | 22 +-
2460 drivers/edac/mce_amd.h | 2 +-
2461 drivers/firewire/core-card.c | 6 +-
2462 drivers/firewire/core-cdev.c | 4 +-
2463 drivers/firewire/core-device.c | 2 +-
2464 drivers/firewire/core-iso.c | 2 +-
2465 drivers/firewire/core-transaction.c | 1 +
2466 drivers/firewire/core.h | 1 +
2467 drivers/firmware/dmi-id.c | 9 +-
2468 drivers/firmware/dmi_scan.c | 12 +-
2469 drivers/firmware/efi/cper.c | 8 +-
2470 drivers/firmware/efi/efi.c | 12 +-
2471 drivers/firmware/efi/efivars.c | 2 +-
2472 drivers/firmware/efi/runtime-map.c | 2 +-
2473 drivers/firmware/google/gsmi.c | 2 +-
2474 drivers/firmware/google/memconsole.c | 7 +-
2475 drivers/firmware/memmap.c | 2 +-
2476 drivers/firmware/psci.c | 2 +-
2477 drivers/gpio/gpio-davinci.c | 6 +-
2478 drivers/gpio/gpio-em.c | 2 +-
2479 drivers/gpio/gpio-ich.c | 2 +-
2480 drivers/gpio/gpio-omap.c | 4 +-
2481 drivers/gpio/gpio-rcar.c | 2 +-
2482 drivers/gpio/gpio-vr41xx.c | 2 +-
2483 drivers/gpio/gpiolib.c | 12 +-
2484 drivers/gpu/drm/amd/amdgpu/amdgpu.h | 4 +-
2485 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | 2 +-
2486 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c | 8 +-
2487 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-
2488 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 18 +-
2489 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +-
2490 drivers/gpu/drm/amd/amdgpu/fiji_smc.c | 4 +-
2491 drivers/gpu/drm/amd/amdgpu/iceland_smc.c | 4 +-
2492 drivers/gpu/drm/amd/amdgpu/tonga_smc.c | 4 +-
2493 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 2 +-
2494 drivers/gpu/drm/amd/amdkfd/kfd_device.c | 6 +-
2495 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 90 +-
2496 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 8 +-
2497 .../drm/amd/amdkfd/kfd_device_queue_manager_cik.c | 14 +-
2498 .../drm/amd/amdkfd/kfd_device_queue_manager_vi.c | 14 +-
2499 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c | 4 +-
2500 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 2 +-
2501 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.h | 2 +-
2502 .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 16 +-
2503 drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 2 +-
2504 drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | 2 +-
2505 drivers/gpu/drm/amd/scheduler/sched_fence.c | 2 +-
2506 drivers/gpu/drm/armada/armada_drv.c | 3 +-
2507 drivers/gpu/drm/ast/ast_mode.c | 2 +-
2508 drivers/gpu/drm/bochs/bochs_kms.c | 2 +-
2509 drivers/gpu/drm/drm_atomic.c | 7 +-
2510 drivers/gpu/drm/drm_crtc.c | 10 +-
2511 drivers/gpu/drm/drm_drv.c | 2 +-
2512 drivers/gpu/drm/drm_fops.c | 12 +-
2513 drivers/gpu/drm/drm_global.c | 14 +-
2514 drivers/gpu/drm/drm_info.c | 13 +-
2515 drivers/gpu/drm/drm_ioc32.c | 13 +-
2516 drivers/gpu/drm/drm_ioctl.c | 2 +-
2517 drivers/gpu/drm/drm_irq.c | 7 +-
2518 drivers/gpu/drm/drm_pci.c | 9 +-
2519 drivers/gpu/drm/exynos/exynos_drm_drv.c | 1 -
2520 drivers/gpu/drm/exynos/exynos_drm_g2d.c | 7 +-
2521 drivers/gpu/drm/gma500/cdv_intel_crt.c | 2 +-
2522 drivers/gpu/drm/gma500/cdv_intel_dp.c | 2 +-
2523 drivers/gpu/drm/gma500/cdv_intel_hdmi.c | 2 +-
2524 drivers/gpu/drm/gma500/cdv_intel_lvds.c | 2 +-
2525 drivers/gpu/drm/gma500/mdfld_dsi_output.c | 8 +-
2526 drivers/gpu/drm/gma500/oaktrail_hdmi.c | 2 +-
2527 drivers/gpu/drm/gma500/psb_drv.c | 1 -
2528 drivers/gpu/drm/gma500/psb_intel_drv.h | 2 +-
2529 drivers/gpu/drm/gma500/psb_intel_lvds.c | 2 +-
2530 drivers/gpu/drm/gma500/psb_intel_sdvo.c | 2 +-
2531 drivers/gpu/drm/i2c/tda998x_drv.c | 2 +-
2532 drivers/gpu/drm/i810/i810_dma.c | 2 +-
2533 drivers/gpu/drm/i810/i810_drv.c | 6 +-
2534 drivers/gpu/drm/i810/i810_drv.h | 6 +-
2535 drivers/gpu/drm/i915/dvo.h | 2 +-
2536 drivers/gpu/drm/i915/i915_dma.c | 4 +-
2537 drivers/gpu/drm/i915/i915_drv.c | 7 +-
2538 drivers/gpu/drm/i915/i915_drv.h | 2 +-
2539 drivers/gpu/drm/i915/i915_gem_execbuffer.c | 4 +-
2540 drivers/gpu/drm/i915/i915_gem_gtt.c | 16 +-
2541 drivers/gpu/drm/i915/i915_gem_gtt.h | 6 +-
2542 drivers/gpu/drm/i915/i915_ioc32.c | 10 +-
2543 drivers/gpu/drm/i915/i915_irq.c | 88 +-
2544 drivers/gpu/drm/i915/intel_display.c | 26 +-
2545 drivers/gpu/drm/imx/imx-drm-core.c | 2 +-
2546 drivers/gpu/drm/mga/mga_drv.c | 5 +-
2547 drivers/gpu/drm/mga/mga_drv.h | 6 +-
2548 drivers/gpu/drm/mga/mga_ioc32.c | 10 +-
2549 drivers/gpu/drm/mga/mga_irq.c | 8 +-
2550 drivers/gpu/drm/mga/mga_state.c | 2 +-
2551 drivers/gpu/drm/mgag200/mgag200_mode.c | 2 +-
2552 drivers/gpu/drm/nouveau/nouveau_acpi.c | 2 +-
2553 drivers/gpu/drm/nouveau/nouveau_bios.c | 2 +-
2554 drivers/gpu/drm/nouveau/nouveau_connector.c | 2 +-
2555 drivers/gpu/drm/nouveau/nouveau_drm.c | 13 +-
2556 drivers/gpu/drm/nouveau/nouveau_drm.h | 1 -
2557 drivers/gpu/drm/nouveau/nouveau_ioc32.c | 2 +-
2558 drivers/gpu/drm/nouveau/nouveau_usif.c | 7 +-
2559 drivers/gpu/drm/nouveau/nouveau_vga.c | 2 +-
2560 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c | 7 +-
2561 .../gpu/drm/nouveau/nvkm/subdev/bios/shadowpci.c | 7 +-
2562 drivers/gpu/drm/omapdrm/Makefile | 2 +-
2563 drivers/gpu/drm/omapdrm/dss/display.c | 8 +-
2564 drivers/gpu/drm/qxl/qxl_cmd.c | 12 +-
2565 drivers/gpu/drm/qxl/qxl_debugfs.c | 8 +-
2566 drivers/gpu/drm/qxl/qxl_display.c | 2 +-
2567 drivers/gpu/drm/qxl/qxl_drv.c | 8 +-
2568 drivers/gpu/drm/qxl/qxl_drv.h | 8 +-
2569 drivers/gpu/drm/qxl/qxl_ioctl.c | 12 +-
2570 drivers/gpu/drm/qxl/qxl_irq.c | 16 +-
2571 drivers/gpu/drm/qxl/qxl_ttm.c | 38 +-
2572 drivers/gpu/drm/r128/r128_cce.c | 2 +-
2573 drivers/gpu/drm/r128/r128_drv.c | 4 +-
2574 drivers/gpu/drm/r128/r128_drv.h | 6 +-
2575 drivers/gpu/drm/r128/r128_ioc32.c | 10 +-
2576 drivers/gpu/drm/r128/r128_irq.c | 4 +-
2577 drivers/gpu/drm/r128/r128_state.c | 6 +-
2578 drivers/gpu/drm/radeon/mkregtable.c | 4 +-
2579 drivers/gpu/drm/radeon/radeon_atpx_handler.c | 2 +-
2580 drivers/gpu/drm/radeon/radeon_connectors.c | 10 +-
2581 drivers/gpu/drm/radeon/radeon_device.c | 2 +-
2582 drivers/gpu/drm/radeon/radeon_drv.c | 11 +-
2583 drivers/gpu/drm/radeon/radeon_ioc32.c | 12 +-
2584 drivers/gpu/drm/radeon/radeon_kms.c | 8 +-
2585 drivers/gpu/drm/radeon/radeon_ttm.c | 4 +-
2586 drivers/gpu/drm/savage/savage_bci.c | 2 +-
2587 drivers/gpu/drm/savage/savage_drv.c | 5 +-
2588 drivers/gpu/drm/savage/savage_drv.h | 2 +-
2589 drivers/gpu/drm/sis/sis_drv.c | 5 +-
2590 drivers/gpu/drm/sis/sis_drv.h | 2 +-
2591 drivers/gpu/drm/sis/sis_mm.c | 2 +-
2592 drivers/gpu/drm/tegra/dc.c | 2 +-
2593 drivers/gpu/drm/tegra/dsi.c | 2 +-
2594 drivers/gpu/drm/tegra/hdmi.c | 2 +-
2595 drivers/gpu/drm/tegra/sor.c | 7 +-
2596 drivers/gpu/drm/tilcdc/Makefile | 6 +-
2597 drivers/gpu/drm/ttm/ttm_memory.c | 4 +-
2598 drivers/gpu/drm/ttm/ttm_page_alloc.c | 18 +-
2599 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 18 +-
2600 drivers/gpu/drm/udl/udl_connector.c | 2 +-
2601 drivers/gpu/drm/udl/udl_fb.c | 1 -
2602 drivers/gpu/drm/vc4/vc4_drv.c | 8 +-
2603 drivers/gpu/drm/via/via_dma.c | 2 +-
2604 drivers/gpu/drm/via/via_drv.c | 5 +-
2605 drivers/gpu/drm/via/via_drv.h | 6 +-
2606 drivers/gpu/drm/via/via_irq.c | 18 +-
2607 drivers/gpu/drm/virtio/virtgpu_display.c | 2 +-
2608 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 2 +-
2609 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 7 +-
2610 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c | 8 +-
2611 drivers/gpu/drm/vmwgfx/vmwgfx_irq.c | 4 +-
2612 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c | 2 +-
2613 drivers/gpu/vga/vga_switcheroo.c | 4 +-
2614 drivers/hid/hid-core.c | 4 +-
2615 drivers/hid/hid-magicmouse.c | 2 +-
2616 drivers/hid/hid-sensor-custom.c | 2 +-
2617 drivers/hv/channel.c | 6 +-
2618 drivers/hv/hv.c | 4 +-
2619 drivers/hv/hv_balloon.c | 18 +-
2620 drivers/hv/hyperv_vmbus.h | 2 +-
2621 drivers/hwmon/acpi_power_meter.c | 6 +-
2622 drivers/hwmon/applesmc.c | 2 +-
2623 drivers/hwmon/asus_atk0110.c | 10 +-
2624 drivers/hwmon/coretemp.c | 2 +-
2625 drivers/hwmon/dell-smm-hwmon.c | 2 +-
2626 drivers/hwmon/ibmaem.c | 2 +-
2627 drivers/hwmon/iio_hwmon.c | 2 +-
2628 drivers/hwmon/nct6683.c | 6 +-
2629 drivers/hwmon/nct6775.c | 6 +-
2630 drivers/hwmon/pmbus/pmbus_core.c | 10 +-
2631 drivers/hwmon/sht15.c | 12 +-
2632 drivers/hwmon/via-cputemp.c | 2 +-
2633 drivers/i2c/busses/i2c-amd756-s4882.c | 2 +-
2634 drivers/i2c/busses/i2c-designware-pcidrv.c | 2 +-
2635 drivers/i2c/busses/i2c-nforce2-s4985.c | 2 +-
2636 drivers/i2c/i2c-dev.c | 2 +-
2637 drivers/ide/ide-cd.c | 2 +-
2638 drivers/ide/ide-disk.c | 2 +-
2639 drivers/ide/ide.c | 4 +-
2640 drivers/idle/intel_idle.c | 6 +-
2641 drivers/iio/industrialio-core.c | 2 +-
2642 drivers/iio/magnetometer/ak8975.c | 2 +-
2643 drivers/infiniband/core/cm.c | 46 +-
2644 drivers/infiniband/core/fmr_pool.c | 20 +-
2645 drivers/infiniband/core/netlink.c | 5 +-
2646 drivers/infiniband/core/ucm.c | 4 +-
2647 drivers/infiniband/core/uverbs_cmd.c | 3 +
2648 drivers/infiniband/hw/cxgb4/device.c | 6 +-
2649 drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 2 +-
2650 drivers/infiniband/hw/cxgb4/mem.c | 4 +-
2651 drivers/infiniband/hw/mlx4/mad.c | 2 +-
2652 drivers/infiniband/hw/mlx4/mcg.c | 2 +-
2653 drivers/infiniband/hw/mlx4/mlx4_ib.h | 2 +-
2654 drivers/infiniband/hw/mthca/mthca_cmd.c | 8 +-
2655 drivers/infiniband/hw/mthca/mthca_main.c | 2 +-
2656 drivers/infiniband/hw/mthca/mthca_mr.c | 6 +-
2657 drivers/infiniband/hw/mthca/mthca_provider.c | 2 +-
2658 drivers/infiniband/hw/nes/nes.c | 4 +-
2659 drivers/infiniband/hw/nes/nes.h | 40 +-
2660 drivers/infiniband/hw/nes/nes_cm.c | 62 +-
2661 drivers/infiniband/hw/nes/nes_mgt.c | 8 +-
2662 drivers/infiniband/hw/nes/nes_nic.c | 42 +-
2663 drivers/infiniband/hw/nes/nes_verbs.c | 10 +-
2664 drivers/infiniband/hw/qib/qib.h | 1 +
2665 drivers/infiniband/hw/qib/qib_iba7322.c | 4 +-
2666 drivers/infiniband/hw/qib/qib_pcie.c | 2 +-
2667 drivers/infiniband/ulp/ipoib/ipoib_main.c | 2 +-
2668 drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 2 +-
2669 drivers/infiniband/ulp/srpt/ib_srpt.c | 8 +-
2670 drivers/input/evdev.c | 2 +-
2671 drivers/input/gameport/gameport.c | 4 +-
2672 drivers/input/input.c | 4 +-
2673 drivers/input/joystick/sidewinder.c | 1 +
2674 drivers/input/misc/ims-pcu.c | 4 +-
2675 drivers/input/mouse/psmouse.h | 2 +-
2676 drivers/input/mousedev.c | 2 +-
2677 drivers/input/serio/serio.c | 4 +-
2678 drivers/input/serio/serio_raw.c | 4 +-
2679 drivers/input/touchscreen/htcpen.c | 2 +-
2680 drivers/iommu/arm-smmu-v3.c | 2 +-
2681 drivers/iommu/arm-smmu.c | 42 +-
2682 drivers/iommu/io-pgtable-arm.c | 98 +-
2683 drivers/iommu/io-pgtable.c | 11 +-
2684 drivers/iommu/io-pgtable.h | 21 +-
2685 drivers/iommu/iommu.c | 2 +-
2686 drivers/iommu/ipmmu-vmsa.c | 13 +-
2687 drivers/iommu/irq_remapping.c | 2 +-
2688 drivers/irqchip/irq-gic.c | 2 +-
2689 drivers/irqchip/irq-i8259.c | 2 +-
2690 drivers/irqchip/irq-renesas-intc-irqpin.c | 2 +-
2691 drivers/irqchip/irq-ts4800.c | 2 +-
2692 drivers/isdn/capi/capi.c | 10 +-
2693 drivers/isdn/gigaset/interface.c | 8 +-
2694 drivers/isdn/gigaset/usb-gigaset.c | 2 +-
2695 drivers/isdn/hardware/avm/b1.c | 4 +-
2696 drivers/isdn/hardware/eicon/capifunc.c | 6 +-
2697 drivers/isdn/hardware/eicon/dadapter.c | 18 +-
2698 drivers/isdn/hardware/eicon/diddfunc.c | 7 +-
2699 drivers/isdn/hardware/eicon/divasfunc.c | 9 +-
2700 drivers/isdn/hardware/eicon/divasync.h | 2 +-
2701 drivers/isdn/hardware/eicon/idifunc.c | 9 +-
2702 drivers/isdn/hardware/eicon/mntfunc.c | 13 +-
2703 drivers/isdn/hardware/mISDN/avmfritz.c | 2 +-
2704 drivers/isdn/hardware/mISDN/hfcmulti.c | 7 +-
2705 drivers/isdn/hardware/mISDN/hfcpci.c | 16 +-
2706 drivers/isdn/hardware/mISDN/mISDNinfineon.c | 7 +-
2707 drivers/isdn/hardware/mISDN/mISDNipac.c | 5 +-
2708 drivers/isdn/hardware/mISDN/netjet.c | 2 +-
2709 drivers/isdn/hardware/mISDN/speedfax.c | 7 +-
2710 drivers/isdn/hardware/mISDN/w6692.c | 7 +-
2711 drivers/isdn/hisax/amd7930_fn.c | 5 +-
2712 drivers/isdn/hisax/arcofi.c | 5 +-
2713 drivers/isdn/hisax/diva.c | 7 +-
2714 drivers/isdn/hisax/elsa.c | 9 +-
2715 drivers/isdn/hisax/fsm.c | 5 +-
2716 drivers/isdn/hisax/hfc4s8s_l1.c | 14 +-
2717 drivers/isdn/hisax/hfc_pci.c | 10 +-
2718 drivers/isdn/hisax/hfc_sx.c | 10 +-
2719 drivers/isdn/hisax/hfc_usb.c | 12 +-
2720 drivers/isdn/hisax/icc.c | 5 +-
2721 drivers/isdn/hisax/ipacx.c | 7 +-
2722 drivers/isdn/hisax/isac.c | 5 +-
2723 drivers/isdn/hisax/isar.c | 5 +-
2724 drivers/isdn/hisax/isdnl3.c | 5 +-
2725 drivers/isdn/hisax/w6692.c | 5 +-
2726 drivers/isdn/i4l/isdn_common.c | 2 +
2727 drivers/isdn/i4l/isdn_tty.c | 22 +-
2728 drivers/isdn/icn/icn.c | 2 +-
2729 drivers/isdn/mISDN/dsp.h | 4 +-
2730 drivers/isdn/mISDN/dsp_cmx.c | 4 +-
2731 drivers/isdn/mISDN/dsp_core.c | 4 +-
2732 drivers/isdn/mISDN/dsp_tones.c | 4 +-
2733 drivers/isdn/mISDN/fsm.c | 5 +-
2734 drivers/isdn/mISDN/l1oip_core.c | 8 +-
2735 drivers/lguest/core.c | 9 +-
2736 drivers/lguest/page_tables.c | 2 +-
2737 drivers/lguest/x86/core.c | 12 +-
2738 drivers/lguest/x86/switcher_32.S | 27 +-
2739 drivers/lightnvm/rrpc.c | 4 +-
2740 drivers/lightnvm/rrpc.h | 2 +-
2741 drivers/md/bcache/alloc.c | 2 +-
2742 drivers/md/bcache/bcache.h | 10 +-
2743 drivers/md/bcache/btree.c | 2 +-
2744 drivers/md/bcache/closure.h | 2 +-
2745 drivers/md/bcache/io.c | 10 +-
2746 drivers/md/bcache/journal.c | 2 +-
2747 drivers/md/bcache/stats.c | 26 +-
2748 drivers/md/bcache/stats.h | 16 +-
2749 drivers/md/bcache/super.c | 2 +-
2750 drivers/md/bcache/sysfs.c | 20 +-
2751 drivers/md/bitmap.c | 2 +-
2752 drivers/md/dm-cache-target.c | 116 +-
2753 drivers/md/dm-ioctl.c | 2 +-
2754 drivers/md/dm-raid.c | 2 +-
2755 drivers/md/dm-raid1.c | 18 +-
2756 drivers/md/dm-stats.c | 6 +-
2757 drivers/md/dm-stripe.c | 10 +-
2758 drivers/md/dm-table.c | 2 +-
2759 drivers/md/dm-thin-metadata.c | 4 +-
2760 drivers/md/dm.c | 28 +-
2761 drivers/md/md.c | 41 +-
2762 drivers/md/md.h | 8 +-
2763 drivers/md/persistent-data/dm-space-map-metadata.c | 4 +-
2764 drivers/md/persistent-data/dm-space-map.h | 1 +
2765 drivers/md/raid1.c | 8 +-
2766 drivers/md/raid10.c | 20 +-
2767 drivers/md/raid5.c | 26 +-
2768 drivers/media/dvb-core/dvb_net.c | 2 +-
2769 drivers/media/dvb-core/dvbdev.c | 2 +-
2770 drivers/media/dvb-frontends/af9033.h | 2 +-
2771 drivers/media/dvb-frontends/cx24116.c | 2 +-
2772 drivers/media/dvb-frontends/cx24117.c | 2 +-
2773 drivers/media/dvb-frontends/cx24120.c | 2 +-
2774 drivers/media/dvb-frontends/cx24123.c | 2 +-
2775 drivers/media/dvb-frontends/cxd2820r_core.c | 2 +-
2776 drivers/media/dvb-frontends/dib3000.h | 2 +-
2777 drivers/media/dvb-frontends/dib7000p.h | 2 +-
2778 drivers/media/dvb-frontends/dib8000.h | 2 +-
2779 drivers/media/dvb-frontends/hd29l2.c | 2 +-
2780 drivers/media/dvb-frontends/lgdt3306a.c | 2 +-
2781 drivers/media/dvb-frontends/mt312.c | 6 +-
2782 drivers/media/dvb-frontends/s921.c | 2 +-
2783 drivers/media/pci/bt8xx/dst.c | 2 +-
2784 drivers/media/pci/cx88/cx88-video.c | 6 +-
2785 drivers/media/pci/ivtv/ivtv-driver.c | 2 +-
2786 drivers/media/pci/pt1/va1j5jf8007s.c | 2 +-
2787 drivers/media/pci/pt1/va1j5jf8007t.c | 2 +-
2788 drivers/media/pci/solo6x10/solo6x10-core.c | 2 +-
2789 drivers/media/pci/solo6x10/solo6x10-p2m.c | 2 +-
2790 drivers/media/pci/solo6x10/solo6x10.h | 2 +-
2791 drivers/media/pci/tw68/tw68-core.c | 2 +-
2792 drivers/media/pci/zoran/zoran.h | 1 -
2793 drivers/media/pci/zoran/zoran_card.c | 4 +-
2794 drivers/media/pci/zoran/zoran_driver.c | 3 -
2795 drivers/media/platform/omap/omap_vout.c | 11 +-
2796 drivers/media/platform/s5p-tv/mixer.h | 2 +-
2797 drivers/media/platform/s5p-tv/mixer_grp_layer.c | 2 +-
2798 drivers/media/platform/s5p-tv/mixer_reg.c | 2 +-
2799 drivers/media/platform/s5p-tv/mixer_video.c | 24 +-
2800 drivers/media/platform/s5p-tv/mixer_vp_layer.c | 2 +-
2801 drivers/media/platform/soc_camera/soc_camera.c | 2 +-
2802 drivers/media/radio/radio-cadet.c | 2 +
2803 drivers/media/radio/radio-maxiradio.c | 2 +-
2804 drivers/media/radio/radio-shark.c | 2 +-
2805 drivers/media/radio/radio-shark2.c | 2 +-
2806 drivers/media/radio/radio-si476x.c | 2 +-
2807 drivers/media/radio/wl128x/fmdrv_common.c | 2 +-
2808 drivers/media/usb/pvrusb2/pvrusb2-context.c | 8 +-
2809 drivers/media/usb/pvrusb2/pvrusb2-dvb.c | 7 +-
2810 drivers/media/usb/pvrusb2/pvrusb2-hdw.c | 2 +-
2811 drivers/media/usb/pvrusb2/pvrusb2-std.c | 2 +-
2812 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c | 6 +-
2813 drivers/media/usb/uvc/uvc_driver.c | 4 +-
2814 drivers/media/v4l2-core/v4l2-common.c | 2 +-
2815 drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 12 +-
2816 drivers/media/v4l2-core/v4l2-device.c | 4 +-
2817 drivers/media/v4l2-core/v4l2-ioctl.c | 293 +-
2818 drivers/memory/omap-gpmc.c | 21 +-
2819 drivers/message/fusion/mptbase.c | 4 +-
2820 drivers/message/fusion/mptlan.c | 2 +-
2821 drivers/message/fusion/mptsas.c | 34 +-
2822 drivers/mfd/ab8500-debugfs.c | 2 +-
2823 drivers/mfd/kempld-core.c | 2 +-
2824 drivers/mfd/max8925-i2c.c | 2 +-
2825 drivers/mfd/tps65910.c | 2 +-
2826 drivers/mfd/twl4030-irq.c | 9 +-
2827 drivers/misc/c2port/core.c | 4 +-
2828 drivers/misc/kgdbts.c | 6 +-
2829 drivers/misc/lis3lv02d/lis3lv02d.c | 8 +-
2830 drivers/misc/lis3lv02d/lis3lv02d.h | 2 +-
2831 drivers/misc/mic/scif/scif_api.c | 10 +-
2832 drivers/misc/mic/scif/scif_rb.c | 8 +-
2833 drivers/misc/sgi-gru/gruhandles.c | 4 +-
2834 drivers/misc/sgi-gru/gruprocfs.c | 8 +-
2835 drivers/misc/sgi-gru/grutables.h | 158 +-
2836 drivers/misc/sgi-xp/xp.h | 2 +-
2837 drivers/misc/sgi-xp/xp_main.c | 57 +-
2838 drivers/misc/sgi-xp/xpc.h | 3 +-
2839 drivers/misc/sgi-xp/xpc_main.c | 2 +-
2840 drivers/misc/sgi-xp/xpnet.c | 2 +-
2841 drivers/misc/ti-st/st_kim.c | 32 +-
2842 drivers/mmc/card/mmc_test.c | 4 +-
2843 drivers/mmc/host/dw_mmc.h | 2 +-
2844 drivers/mmc/host/mmci.c | 4 +-
2845 drivers/mmc/host/omap_hsmmc.c | 4 +-
2846 drivers/mmc/host/sdhci-esdhc-imx.c | 7 +-
2847 drivers/mmc/host/sdhci-s3c.c | 8 +-
2848 drivers/mtd/chips/cfi_cmdset_0020.c | 2 +-
2849 drivers/mtd/devices/block2mtd.c | 2 +-
2850 drivers/mtd/devices/phram.c | 2 +-
2851 drivers/mtd/maps/gpio-addr-flash.c | 2 +-
2852 drivers/mtd/maps/latch-addr-flash.c | 2 +-
2853 drivers/mtd/maps/pci.c | 4 +-
2854 drivers/mtd/maps/pcmciamtd.c | 8 +-
2855 drivers/mtd/maps/sbc_gxx.c | 2 +-
2856 drivers/mtd/nand/cafe_nand.c | 18 +-
2857 drivers/mtd/nand/denali.c | 1 +
2858 drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 2 +-
2859 drivers/mtd/nftlmount.c | 1 +
2860 drivers/mtd/sm_ftl.c | 2 +-
2861 drivers/mtd/ubi/build.c | 2 +-
2862 drivers/net/bonding/bond_netlink.c | 2 +-
2863 drivers/net/caif/caif_hsi.c | 4 +-
2864 drivers/net/caif/caif_serial.c | 2 +-
2865 drivers/net/caif/caif_spi.c | 2 +-
2866 drivers/net/caif/caif_virtio.c | 2 +-
2867 drivers/net/can/Kconfig | 2 +-
2868 drivers/net/can/dev.c | 2 +-
2869 drivers/net/can/janz-ican3.c | 2 +-
2870 drivers/net/can/led.c | 2 +-
2871 drivers/net/can/sun4i_can.c | 2 +-
2872 drivers/net/can/vcan.c | 2 +-
2873 drivers/net/can/xilinx_can.c | 2 +-
2874 drivers/net/dummy.c | 2 +-
2875 drivers/net/ethernet/8390/ax88796.c | 4 +-
2876 drivers/net/ethernet/8390/axnet_cs.c | 4 +-
2877 drivers/net/ethernet/8390/ne2k-pci.c | 6 +-
2878 drivers/net/ethernet/8390/pcnet_cs.c | 4 +-
2879 drivers/net/ethernet/altera/altera_tse_main.c | 6 +-
2880 drivers/net/ethernet/amd/amd8111e.c | 5 +-
2881 drivers/net/ethernet/amd/pcnet32.c | 7 +-
2882 drivers/net/ethernet/amd/xgbe/xgbe-common.h | 4 +-
2883 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c | 4 +-
2884 drivers/net/ethernet/amd/xgbe/xgbe-desc.c | 27 +-
2885 drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 143 +-
2886 drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 66 +-
2887 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 10 +-
2888 drivers/net/ethernet/amd/xgbe/xgbe-main.c | 15 +-
2889 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 27 +-
2890 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c | 4 +-
2891 drivers/net/ethernet/amd/xgbe/xgbe.h | 10 +-
2892 drivers/net/ethernet/apm/xgene/xgene_enet_main.c | 4 +-
2893 drivers/net/ethernet/arc/emac_main.c | 2 +-
2894 drivers/net/ethernet/atheros/alx/main.c | 2 +-
2895 drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 2 +-
2896 drivers/net/ethernet/atheros/atl1e/atl1e_main.c | 2 +-
2897 drivers/net/ethernet/aurora/nb8800.c | 2 +-
2898 drivers/net/ethernet/broadcom/bnx2.c | 2 +-
2899 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 2 +-
2900 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | 216 +-
2901 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h | 4 +-
2902 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 2 +-
2903 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | 11 +-
2904 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h | 3 +-
2905 drivers/net/ethernet/broadcom/tg3.c | 2 +-
2906 drivers/net/ethernet/broadcom/tg3.h | 1 +
2907 drivers/net/ethernet/brocade/bna/bfa_cs.h | 42 +-
2908 drivers/net/ethernet/brocade/bna/bfa_ioc.c | 10 +-
2909 drivers/net/ethernet/brocade/bna/bfa_ioc.h | 4 +-
2910 drivers/net/ethernet/brocade/bna/bfa_msgq.h | 8 +-
2911 drivers/net/ethernet/brocade/bna/bna_enet.c | 6 +-
2912 drivers/net/ethernet/brocade/bna/bna_tx_rx.c | 6 +-
2913 drivers/net/ethernet/brocade/bna/bna_types.h | 24 +-
2914 drivers/net/ethernet/brocade/bna/bnad.c | 11 +-
2915 drivers/net/ethernet/cadence/macb.c | 4 +-
2916 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c | 6 +-
2917 drivers/net/ethernet/cavium/liquidio/lio_main.c | 15 +-
2918 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c | 2 +-
2919 drivers/net/ethernet/chelsio/cxgb3/l2t.h | 2 +-
2920 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 2 +-
2921 drivers/net/ethernet/chelsio/cxgb4vf/adapter.h | 2 +-
2922 drivers/net/ethernet/chelsio/cxgb4vf/sge.c | 2 +-
2923 drivers/net/ethernet/dec/tulip/de4x5.c | 13 +-
2924 drivers/net/ethernet/emulex/benet/be_main.c | 4 +-
2925 drivers/net/ethernet/faraday/ftgmac100.c | 2 +
2926 drivers/net/ethernet/faraday/ftmac100.c | 2 +
2927 drivers/net/ethernet/hisilicon/hip04_eth.c | 2 +-
2928 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c | 2 +-
2929 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 6 +-
2930 drivers/net/ethernet/intel/e100.c | 2 +-
2931 drivers/net/ethernet/intel/e1000/e1000_main.c | 2 +-
2932 drivers/net/ethernet/intel/e1000e/netdev.c | 2 +-
2933 drivers/net/ethernet/intel/fm10k/fm10k_pci.c | 2 +-
2934 drivers/net/ethernet/intel/i40e/i40e_ptp.c | 2 +-
2935 drivers/net/ethernet/intel/igb/igb_main.c | 2 +-
2936 drivers/net/ethernet/intel/igbvf/netdev.c | 2 +-
2937 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 2 +-
2938 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 2 +-
2939 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 4 +-
2940 drivers/net/ethernet/marvell/pxa168_eth.c | 2 +-
2941 drivers/net/ethernet/mellanox/mlx4/en_tx.c | 4 +-
2942 drivers/net/ethernet/mellanox/mlx4/main.c | 2 +-
2943 drivers/net/ethernet/mellanox/mlx5/core/main.c | 2 +-
2944 drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 2 +-
2945 drivers/net/ethernet/micrel/ks8851_mll.c | 2 +-
2946 drivers/net/ethernet/neterion/s2io.c | 2 +-
2947 drivers/net/ethernet/neterion/vxge/vxge-config.c | 7 +-
2948 drivers/net/ethernet/neterion/vxge/vxge-main.c | 2 +-
2949 .../net/ethernet/netronome/nfp/nfp_net_common.c | 2 +-
2950 drivers/net/ethernet/nvidia/forcedeth.c | 4 +-
2951 .../net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c | 4 +-
2952 .../net/ethernet/qlogic/netxen/netxen_nic_main.c | 2 +-
2953 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 4 +-
2954 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c | 12 +-
2955 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c | 2 +-
2956 .../net/ethernet/qlogic/qlcnic/qlcnic_minidump.c | 2 +-
2957 drivers/net/ethernet/realtek/r8169.c | 8 +-
2958 drivers/net/ethernet/renesas/sh_eth.c | 2 +-
2959 drivers/net/ethernet/rocker/rocker.c | 4 +-
2960 drivers/net/ethernet/sfc/ptp.c | 2 +-
2961 drivers/net/ethernet/sfc/selftest.c | 20 +-
2962 drivers/net/ethernet/smsc/smsc911x.c | 2 +-
2963 drivers/net/ethernet/stmicro/stmmac/mmc_core.c | 4 +-
2964 drivers/net/ethernet/synopsys/dwc_eth_qos.c | 2 +-
2965 drivers/net/ethernet/via/via-rhine.c | 2 +-
2966 drivers/net/ethernet/wiznet/w5100.c | 2 +-
2967 drivers/net/ethernet/wiznet/w5300.c | 2 +-
2968 drivers/net/geneve.c | 2 +-
2969 drivers/net/hyperv/hyperv_net.h | 2 +-
2970 drivers/net/hyperv/netvsc_drv.c | 2 +-
2971 drivers/net/hyperv/rndis_filter.c | 7 +-
2972 drivers/net/ifb.c | 2 +-
2973 drivers/net/ipvlan/ipvlan_core.c | 2 +-
2974 drivers/net/ipvlan/ipvlan_main.c | 6 +-
2975 drivers/net/irda/sh_irda.c | 2 +-
2976 drivers/net/irda/vlsi_ir.c | 18 +-
2977 drivers/net/irda/vlsi_ir.h | 14 +-
2978 drivers/net/macvlan.c | 20 +-
2979 drivers/net/macvtap.c | 10 +-
2980 drivers/net/nlmon.c | 2 +-
2981 drivers/net/phy/phy_device.c | 6 +-
2982 drivers/net/plip/plip.c | 2 +-
2983 drivers/net/ppp/ppp_generic.c | 4 +-
2984 drivers/net/ppp/pptp.c | 1 +
2985 drivers/net/rionet.c | 2 +-
2986 drivers/net/slip/slhc.c | 2 +-
2987 drivers/net/team/team.c | 4 +-
2988 drivers/net/tun.c | 7 +-
2989 drivers/net/usb/hso.c | 28 +-
2990 drivers/net/usb/ipheth.c | 2 +-
2991 drivers/net/usb/r8152.c | 2 +-
2992 drivers/net/usb/sierra_net.c | 4 +-
2993 drivers/net/virtio_net.c | 2 +-
2994 drivers/net/vrf.c | 4 +-
2995 drivers/net/vxlan.c | 4 +-
2996 drivers/net/wimax/i2400m/rx.c | 2 +-
2997 drivers/net/wireless/ath/ath10k/ce.c | 6 +-
2998 drivers/net/wireless/ath/ath10k/htc.h | 4 +-
2999 drivers/net/wireless/ath/ath6kl/core.h | 2 +-
3000 drivers/net/wireless/ath/ath6kl/txrx.c | 2 +-
3001 drivers/net/wireless/ath/ath9k/ar9002_mac.c | 36 +-
3002 drivers/net/wireless/ath/ath9k/ar9003_mac.c | 64 +-
3003 drivers/net/wireless/ath/ath9k/hw.h | 4 +-
3004 drivers/net/wireless/ath/ath9k/main.c | 22 +-
3005 drivers/net/wireless/ath/carl9170/carl9170.h | 6 +-
3006 drivers/net/wireless/ath/carl9170/debug.c | 6 +-
3007 drivers/net/wireless/ath/carl9170/main.c | 10 +-
3008 drivers/net/wireless/ath/carl9170/tx.c | 4 +-
3009 drivers/net/wireless/ath/wil6210/pcie_bus.c | 2 +-
3010 drivers/net/wireless/ath/wil6210/wil_platform.h | 2 +-
3011 drivers/net/wireless/atmel/at76c50x-usb.c | 2 +-
3012 drivers/net/wireless/atmel/atmel.c | 183 +-
3013 drivers/net/wireless/broadcom/b43/phy_lp.c | 2 +-
3014 drivers/net/wireless/broadcom/b43legacy/main.c | 5 +-
3015 .../broadcom/brcm80211/brcmsmac/phy/phy_cmn.c | 3 +-
3016 .../broadcom/brcm80211/brcmsmac/phy_shim.c | 5 +-
3017 .../broadcom/brcm80211/brcmsmac/phy_shim.h | 2 +-
3018 drivers/net/wireless/cisco/airo.c | 201 +-
3019 drivers/net/wireless/intel/ipw2x00/ipw2100.c | 8 +-
3020 drivers/net/wireless/intel/ipw2x00/ipw2200.c | 6 +-
3021 drivers/net/wireless/intel/iwlegacy/3945-mac.c | 11 +-
3022 drivers/net/wireless/intel/iwlegacy/4965-mac.c | 7 +-
3023 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c | 34 +-
3024 drivers/net/wireless/intel/iwlwifi/mvm/d3.c | 4 +-
3025 drivers/net/wireless/intel/iwlwifi/mvm/tx.c | 2 +-
3026 drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 4 +-
3027 .../net/wireless/intersil/hostap/hostap_ioctl.c | 134 +-
3028 drivers/net/wireless/intersil/orinoco/wext.c | 131 +-
3029 drivers/net/wireless/intersil/prism54/isl_ioctl.c | 292 +-
3030 drivers/net/wireless/mac80211_hwsim.c | 28 +-
3031 drivers/net/wireless/marvell/mwifiex/main.c | 2 +-
3032 drivers/net/wireless/ralink/rt2x00/rt2400pci.c | 4 +-
3033 drivers/net/wireless/ralink/rt2x00/rt2500pci.c | 4 +-
3034 drivers/net/wireless/ralink/rt2x00/rt2500usb.c | 4 +-
3035 drivers/net/wireless/ralink/rt2x00/rt2800lib.c | 6 +-
3036 drivers/net/wireless/ralink/rt2x00/rt2x00.h | 2 +-
3037 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c | 4 +-
3038 drivers/net/wireless/ralink/rt2x00/rt61pci.c | 4 +-
3039 drivers/net/wireless/ralink/rt2x00/rt73usb.c | 4 +-
3040 drivers/net/wireless/realtek/rtlwifi/base.c | 14 +-
3041 drivers/net/wireless/realtek/rtlwifi/base.h | 4 +-
3042 drivers/net/wireless/realtek/rtlwifi/pci.c | 15 +-
3043 drivers/net/wireless/realtek/rtlwifi/ps.c | 6 +-
3044 drivers/net/wireless/realtek/rtlwifi/ps.h | 6 +-
3045 drivers/net/wireless/ti/wl1251/sdio.c | 12 +-
3046 drivers/net/wireless/ti/wl12xx/main.c | 8 +-
3047 drivers/net/wireless/ti/wl18xx/main.c | 6 +-
3048 drivers/net/wireless/zydas/zd1201.c | 192 +-
3049 drivers/nvme/host/pci.c | 2 +-
3050 drivers/of/fdt.c | 4 +-
3051 drivers/oprofile/buffer_sync.c | 8 +-
3052 drivers/oprofile/event_buffer.c | 2 +-
3053 drivers/oprofile/oprof.c | 2 +-
3054 drivers/oprofile/oprofile_stats.c | 10 +-
3055 drivers/oprofile/oprofile_stats.h | 10 +-
3056 drivers/oprofile/oprofilefs.c | 2 +-
3057 drivers/oprofile/timer_int.c | 2 +-
3058 drivers/parport/procfs.c | 4 +-
3059 drivers/pci/host/pci-host-generic.c | 2 +-
3060 drivers/pci/hotplug/acpiphp_ibm.c | 4 +-
3061 drivers/pci/hotplug/cpcihp_generic.c | 6 +-
3062 drivers/pci/hotplug/cpcihp_zt5550.c | 14 +-
3063 drivers/pci/hotplug/cpqphp_nvram.c | 2 +
3064 drivers/pci/hotplug/pci_hotplug_core.c | 6 +-
3065 drivers/pci/hotplug/pciehp_core.c | 2 +-
3066 drivers/pci/msi.c | 22 +-
3067 drivers/pci/pci-sysfs.c | 6 +-
3068 drivers/pci/pci.h | 4 +-
3069 drivers/pci/pcie/aspm.c | 10 +-
3070 drivers/pci/pcie/portdrv_pci.c | 2 +-
3071 drivers/pci/probe.c | 2 +-
3072 drivers/pci/setup-bus.c | 2 +-
3073 drivers/pinctrl/nomadik/pinctrl-nomadik.c | 2 +-
3074 drivers/pinctrl/pinctrl-at91.c | 5 +-
3075 drivers/platform/chrome/chromeos_pstore.c | 2 +-
3076 drivers/platform/x86/alienware-wmi.c | 4 +-
3077 drivers/platform/x86/apple-gmux.c | 2 +-
3078 drivers/platform/x86/compal-laptop.c | 2 +-
3079 drivers/platform/x86/hdaps.c | 2 +-
3080 drivers/platform/x86/ibm_rtl.c | 2 +-
3081 drivers/platform/x86/intel_oaktrail.c | 2 +-
3082 drivers/platform/x86/msi-laptop.c | 16 +-
3083 drivers/platform/x86/msi-wmi.c | 2 +-
3084 drivers/platform/x86/samsung-laptop.c | 2 +-
3085 drivers/platform/x86/samsung-q10.c | 2 +-
3086 drivers/platform/x86/sony-laptop.c | 14 +-
3087 drivers/platform/x86/thinkpad_acpi.c | 11 +-
3088 drivers/pnp/pnpbios/bioscalls.c | 14 +-
3089 drivers/pnp/pnpbios/core.c | 2 +-
3090 drivers/power/pda_power.c | 7 +-
3091 drivers/power/power_supply.h | 4 +-
3092 drivers/power/power_supply_core.c | 7 +-
3093 drivers/power/power_supply_sysfs.c | 6 +-
3094 drivers/power/reset/at91-reset.c | 5 +-
3095 drivers/powercap/powercap_sys.c | 136 +-
3096 drivers/ptp/ptp_private.h | 2 +-
3097 drivers/ptp/ptp_sysfs.c | 2 +-
3098 drivers/regulator/core.c | 4 +-
3099 drivers/regulator/max8660.c | 6 +-
3100 drivers/regulator/max8973-regulator.c | 16 +-
3101 drivers/regulator/mc13892-regulator.c | 8 +-
3102 drivers/remoteproc/remoteproc_core.c | 26 +-
3103 drivers/rtc/rtc-armada38x.c | 7 +-
3104 drivers/rtc/rtc-cmos.c | 4 +-
3105 drivers/rtc/rtc-ds1307.c | 2 +-
3106 drivers/rtc/rtc-m48t59.c | 4 +-
3107 drivers/rtc/rtc-rv8803.c | 15 +-
3108 drivers/rtc/rtc-rx8010.c | 8 +-
3109 drivers/rtc/rtc-test.c | 6 +-
3110 drivers/scsi/aacraid/aachba.c | 11 +-
3111 drivers/scsi/aic7xxx/aic79xx.h | 2 +-
3112 drivers/scsi/aic7xxx/aic79xx_core.c | 11 +-
3113 drivers/scsi/be2iscsi/be_main.c | 2 +-
3114 drivers/scsi/bfa/bfa.h | 4 +-
3115 drivers/scsi/bfa/bfa_core.c | 4 +-
3116 drivers/scsi/bfa/bfa_cs.h | 124 +-
3117 drivers/scsi/bfa/bfa_fcpim.h | 14 +-
3118 drivers/scsi/bfa/bfa_fcs.h | 34 +-
3119 drivers/scsi/bfa/bfa_fcs_fcpim.c | 6 +-
3120 drivers/scsi/bfa/bfa_fcs_lport.c | 4 +-
3121 drivers/scsi/bfa/bfa_fcs_rport.c | 4 +-
3122 drivers/scsi/bfa/bfa_ioc.c | 8 +-
3123 drivers/scsi/bfa/bfa_ioc.h | 16 +-
3124 drivers/scsi/bfa/bfa_svc.c | 12 +-
3125 drivers/scsi/bfa/bfa_svc.h | 20 +-
3126 drivers/scsi/bfa/bfad.c | 12 +-
3127 drivers/scsi/bfa/bfad_bsg.c | 8 +-
3128 drivers/scsi/bfa/bfad_drv.h | 5 +-
3129 drivers/scsi/csiostor/csio_defs.h | 19 +-
3130 drivers/scsi/csiostor/csio_hw.c | 67 +-
3131 drivers/scsi/csiostor/csio_init.c | 2 +-
3132 drivers/scsi/csiostor/csio_lnode.c | 32 +-
3133 drivers/scsi/csiostor/csio_rnode.c | 28 +-
3134 drivers/scsi/csiostor/csio_scsi.c | 37 +-
3135 drivers/scsi/fcoe/fcoe_sysfs.c | 12 +-
3136 drivers/scsi/fcoe/fcoe_transport.c | 16 +-
3137 drivers/scsi/hosts.c | 4 +-
3138 drivers/scsi/hpsa.c | 38 +-
3139 drivers/scsi/hpsa.h | 2 +-
3140 drivers/scsi/hptiop.c | 2 -
3141 drivers/scsi/hptiop.h | 1 -
3142 drivers/scsi/ipr.c | 32 +-
3143 drivers/scsi/ipr.h | 2 +-
3144 drivers/scsi/libfc/fc_exch.c | 50 +-
3145 drivers/scsi/libsas/sas_ata.c | 2 +-
3146 drivers/scsi/lpfc/lpfc.h | 8 +-
3147 drivers/scsi/lpfc/lpfc_debugfs.c | 18 +-
3148 drivers/scsi/lpfc/lpfc_init.c | 8 +-
3149 drivers/scsi/lpfc/lpfc_scsi.c | 10 +-
3150 drivers/scsi/megaraid/megaraid_sas.h | 2 +-
3151 drivers/scsi/mpt3sas/mpt3sas_base.c | 2 +-
3152 drivers/scsi/mpt3sas/mpt3sas_scsih.c | 4 +-
3153 drivers/scsi/pmcraid.c | 46 +-
3154 drivers/scsi/pmcraid.h | 8 +-
3155 drivers/scsi/qla2xxx/qla_attr.c | 4 +-
3156 drivers/scsi/qla2xxx/qla_gbl.h | 8 +-
3157 drivers/scsi/qla2xxx/qla_os.c | 15 +-
3158 drivers/scsi/qla2xxx/qla_target.c | 16 +-
3159 drivers/scsi/qla2xxx/qla_target.h | 2 +-
3160 drivers/scsi/qla4xxx/ql4_def.h | 2 +-
3161 drivers/scsi/qla4xxx/ql4_os.c | 15 +-
3162 drivers/scsi/scsi.c | 2 +-
3163 drivers/scsi/scsi_lib.c | 8 +-
3164 drivers/scsi/scsi_sysfs.c | 2 +-
3165 drivers/scsi/scsi_transport_fc.c | 8 +-
3166 drivers/scsi/scsi_transport_iscsi.c | 6 +-
3167 drivers/scsi/scsi_transport_spi.c | 2 +-
3168 drivers/scsi/scsi_transport_srp.c | 8 +-
3169 drivers/scsi/sd.c | 6 +-
3170 drivers/scsi/sg.c | 2 +-
3171 drivers/scsi/sr.c | 21 +-
3172 drivers/soc/tegra/fuse/fuse-tegra.c | 2 +-
3173 drivers/spi/spi.c | 2 +-
3174 drivers/staging/android/timed_output.c | 6 +-
3175 drivers/staging/comedi/comedi_fops.c | 8 +-
3176 drivers/staging/fbtft/fbtft-core.c | 2 +-
3177 drivers/staging/fbtft/fbtft.h | 2 +-
3178 drivers/staging/gdm724x/gdm_lte.c | 2 +-
3179 drivers/staging/gdm724x/gdm_tty.c | 2 +-
3180 drivers/staging/gdm72xx/gdm_wimax.c | 2 +-
3181 drivers/staging/iio/accel/lis3l02dq_ring.c | 2 +-
3182 drivers/staging/iio/adc/ad7280a.c | 4 +-
3183 .../staging/lustre/lnet/klnds/socklnd/socklnd.h | 6 +-
3184 drivers/staging/lustre/lnet/selftest/brw_test.c | 12 +-
3185 drivers/staging/lustre/lnet/selftest/framework.c | 4 -
3186 drivers/staging/lustre/lnet/selftest/ping_test.c | 14 +-
3187 .../lustre/lustre/include/lustre/lustre_idl.h | 92 +-
3188 drivers/staging/lustre/lustre/include/lustre_dlm.h | 8 +-
3189 drivers/staging/lustre/lustre/include/lustre_net.h | 2 +-
3190 drivers/staging/lustre/lustre/include/obd.h | 2 +-
3191 drivers/staging/lustre/lustre/ldlm/ldlm_request.c | 5 +-
3192 drivers/staging/lustre/lustre/llite/dir.c | 2 +-
3193 drivers/staging/lustre/lustre/lov/lov_io.c | 62 +-
3194 drivers/staging/lustre/lustre/obdclass/llog_swab.c | 24 +-
3195 drivers/staging/lustre/lustre/osc/osc_request.c | 24 +-
3196 drivers/staging/lustre/lustre/ptlrpc/layout.c | 7 +-
3197 .../staging/lustre/lustre/ptlrpc/pack_generic.c | 151 +-
3198 drivers/staging/octeon/ethernet-rx.c | 24 +-
3199 drivers/staging/octeon/ethernet.c | 8 +-
3200 drivers/staging/panel/panel.c | 4 +-
3201 drivers/staging/rdma/hfi1/pcie.c | 2 +-
3202 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 18 +-
3203 drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c | 2 +-
3204 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c | 2 +-
3205 drivers/staging/rtl8188eu/include/Hal8188EPhyCfg.h | 8 -
3206 drivers/staging/rtl8188eu/include/hal_intf.h | 5 +-
3207 drivers/staging/rtl8188eu/include/odm_precomp.h | 2 +-
3208 drivers/staging/rtl8188eu/include/recv_osdep.h | 1 -
3209 drivers/staging/rtl8188eu/include/rtl8188e_recv.h | 2 +-
3210 drivers/staging/rtl8188eu/include/rtl8188e_xmit.h | 2 +-
3211 drivers/staging/rtl8188eu/include/rtw_cmd.h | 1 -
3212 drivers/staging/rtl8188eu/include/rtw_eeprom.h | 6 -
3213 drivers/staging/rtl8188eu/include/rtw_ioctl.h | 9 -
3214 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h | 12 +-
3215 drivers/staging/rtl8188eu/include/xmit_osdep.h | 2 +-
3216 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c | 4 +-
3217 drivers/staging/rtl8188eu/os_dep/xmit_linux.c | 2 +-
3218 drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 49 +-
3219 drivers/staging/rtl8192e/rtl8192e/rtl_core.h | 4 +-
3220 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 10 +-
3221 drivers/staging/rtl8192e/rtl8192e/rtl_dm.h | 4 +-
3222 drivers/staging/rtl8192e/rtl8192e/rtl_ps.c | 6 +-
3223 drivers/staging/rtl8192e/rtl8192e/rtl_ps.h | 3 +-
3224 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 48 +-
3225 drivers/staging/rtl8192e/rtllib.h | 4 +-
3226 drivers/staging/rtl8192e/rtllib_softmac.c | 32 +-
3227 drivers/staging/rtl8192e/rtllib_softmac_wx.c | 2 +-
3228 drivers/staging/rtl8192e/rtllib_tx.c | 2 +-
3229 drivers/staging/rtl8192u/ieee80211/ieee80211.h | 2 +-
3230 .../staging/rtl8192u/ieee80211/ieee80211_softmac.c | 6 +-
3231 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c | 2 +-
3232 drivers/staging/rtl8192u/r8192U_core.c | 7 +-
3233 drivers/staging/rtl8712/rtl8712_recv.c | 6 +-
3234 drivers/staging/rtl8712/rtl871x_io.h | 2 +-
3235 drivers/staging/rtl8712/rtl871x_ioctl.h | 14 -
3236 drivers/staging/rtl8712/rtl871x_xmit.c | 2 +-
3237 drivers/staging/rtl8712/rtl871x_xmit.h | 2 +-
3238 drivers/staging/rtl8712/usb_ops_linux.c | 2 +-
3239 drivers/staging/rtl8712/xmit_linux.c | 2 +-
3240 drivers/staging/rtl8712/xmit_osdep.h | 2 +-
3241 drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 12 +-
3242 drivers/staging/rtl8723au/core/rtw_xmit.c | 2 +-
3243 drivers/staging/rtl8723au/hal/rtl8723au_recv.c | 2 +-
3244 drivers/staging/rtl8723au/hal/usb_ops_linux.c | 4 +-
3245 drivers/staging/rtl8723au/include/Hal8723APhyCfg.h | 8 -
3246 drivers/staging/rtl8723au/include/drv_types.h | 2 +-
3247 drivers/staging/rtl8723au/include/hal_intf.h | 2 -
3248 drivers/staging/rtl8723au/include/recv_osdep.h | 1 -
3249 drivers/staging/rtl8723au/include/rtw_ap.h | 2 -
3250 drivers/staging/rtl8723au/include/rtw_cmd.h | 1 -
3251 drivers/staging/rtl8723au/include/rtw_eeprom.h | 7 -
3252 drivers/staging/rtl8723au/include/rtw_mlme_ext.h | 14 +-
3253 drivers/staging/rtl8723au/include/usb_ops.h | 8 +-
3254 drivers/staging/rtl8723au/include/xmit_osdep.h | 2 +-
3255 drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 2 +-
3256 drivers/staging/rtl8723au/os_dep/xmit_linux.c | 2 +-
3257 drivers/staging/sm750fb/sm750.c | 14 +-
3258 drivers/staging/unisys/visorbus/visorbus_private.h | 4 +-
3259 drivers/staging/unisys/visornic/visornic_main.c | 2 +-
3260 drivers/staging/wilc1000/linux_wlan.c | 2 +-
3261 drivers/staging/wilc1000/wilc_spi.c | 2 -
3262 drivers/staging/wilc1000/wilc_wlan.h | 2 +-
3263 drivers/staging/wlan-ng/p80211netdev.c | 2 +-
3264 drivers/target/sbp/sbp_target.c | 4 +-
3265 drivers/thermal/cpu_cooling.c | 9 +-
3266 drivers/thermal/devfreq_cooling.c | 19 +-
3267 drivers/thermal/int340x_thermal/int3400_thermal.c | 6 +-
3268 drivers/thermal/of-thermal.c | 17 +-
3269 drivers/thermal/x86_pkg_temp_thermal.c | 2 +-
3270 drivers/tty/cyclades.c | 6 +-
3271 drivers/tty/hvc/hvc_console.c | 14 +-
3272 drivers/tty/hvc/hvcs.c | 21 +-
3273 drivers/tty/hvc/hvsi.c | 22 +-
3274 drivers/tty/hvc/hvsi_lib.c | 4 +-
3275 drivers/tty/ipwireless/tty.c | 27 +-
3276 drivers/tty/moxa.c | 2 +-
3277 drivers/tty/n_gsm.c | 6 +-
3278 drivers/tty/n_tty.c | 28 +-
3279 drivers/tty/pty.c | 4 +-
3280 drivers/tty/rocket.c | 6 +-
3281 drivers/tty/serial/8250/8250_core.c | 10 +-
3282 drivers/tty/serial/8250/8250_pci.c | 2 +-
3283 drivers/tty/serial/ifx6x60.c | 2 +-
3284 drivers/tty/serial/ioc4_serial.c | 6 +-
3285 drivers/tty/serial/jsm/jsm_driver.c | 2 +-
3286 drivers/tty/serial/kgdb_nmi.c | 4 +-
3287 drivers/tty/serial/kgdboc.c | 34 +-
3288 drivers/tty/serial/msm_serial.c | 4 +-
3289 drivers/tty/serial/samsung.c | 9 +-
3290 drivers/tty/serial/serial_core.c | 8 +-
3291 drivers/tty/synclink.c | 34 +-
3292 drivers/tty/synclink_gt.c | 28 +-
3293 drivers/tty/synclinkmp.c | 34 +-
3294 drivers/tty/tty_io.c | 2 +-
3295 drivers/tty/tty_ldisc.c | 8 +-
3296 drivers/tty/tty_port.c | 22 +-
3297 drivers/uio/uio.c | 13 +-
3298 drivers/usb/atm/cxacru.c | 2 +-
3299 drivers/usb/atm/usbatm.c | 24 +-
3300 drivers/usb/class/cdc-acm.h | 2 +-
3301 drivers/usb/core/devices.c | 6 +-
3302 drivers/usb/core/devio.c | 12 +-
3303 drivers/usb/core/hcd.c | 4 +-
3304 drivers/usb/core/sysfs.c | 2 +-
3305 drivers/usb/core/usb.c | 2 +-
3306 drivers/usb/early/ehci-dbgp.c | 16 +-
3307 drivers/usb/gadget/function/f_phonet.c | 2 +-
3308 drivers/usb/gadget/function/u_serial.c | 22 +-
3309 drivers/usb/gadget/legacy/inode.c | 4 +-
3310 drivers/usb/gadget/udc/dummy_hcd.c | 2 +-
3311 drivers/usb/host/ehci-hcd.c | 2 +-
3312 drivers/usb/host/ehci-hub.c | 4 +-
3313 drivers/usb/host/ehci-q.c | 4 +-
3314 drivers/usb/host/fotg210-hcd.c | 2 +-
3315 drivers/usb/host/hwa-hc.c | 2 +-
3316 drivers/usb/host/ohci-hcd.c | 2 +-
3317 drivers/usb/host/r8a66597.h | 2 +-
3318 drivers/usb/host/uhci-hcd.c | 2 +-
3319 drivers/usb/host/xhci-pci.c | 2 +-
3320 drivers/usb/host/xhci.c | 2 +-
3321 drivers/usb/misc/appledisplay.c | 4 +-
3322 drivers/usb/misc/sisusbvga/sisusb_con.c | 98 +-
3323 drivers/usb/serial/console.c | 8 +-
3324 drivers/usb/storage/transport.c | 2 +-
3325 drivers/usb/storage/usb.c | 2 +-
3326 drivers/usb/storage/usb.h | 2 +-
3327 drivers/usb/usbip/vhci.h | 2 +-
3328 drivers/usb/usbip/vhci_hcd.c | 6 +-
3329 drivers/usb/usbip/vhci_rx.c | 2 +-
3330 drivers/usb/wusbcore/wa-hc.h | 4 +-
3331 drivers/usb/wusbcore/wa-xfer.c | 2 +-
3332 drivers/vfio/pci/vfio_pci.c | 2 +-
3333 drivers/vhost/vringh.c | 20 +-
3334 drivers/video/backlight/kb3886_bl.c | 2 +-
3335 drivers/video/console/dummycon.c | 96 +-
3336 drivers/video/console/fbcon.c | 2 +-
3337 drivers/video/console/vgacon.c | 23 +-
3338 drivers/video/fbdev/aty/aty128fb.c | 2 +-
3339 drivers/video/fbdev/aty/atyfb_base.c | 8 +-
3340 drivers/video/fbdev/aty/mach64_ct.c | 5 +-
3341 drivers/video/fbdev/aty/mach64_cursor.c | 5 +-
3342 drivers/video/fbdev/aty/mach64_gx.c | 17 +-
3343 drivers/video/fbdev/core/fb_defio.c | 6 +-
3344 drivers/video/fbdev/core/fbmem.c | 12 +-
3345 drivers/video/fbdev/hyperv_fb.c | 4 +-
3346 drivers/video/fbdev/i810/i810_accel.c | 1 +
3347 drivers/video/fbdev/matrox/matroxfb_base.c | 2 +-
3348 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c | 16 +-
3349 drivers/video/fbdev/nvidia/nvidia.c | 27 +-
3350 drivers/video/fbdev/omap2/omapfb/dss/display.c | 8 +-
3351 drivers/video/fbdev/s1d13xxxfb.c | 6 +-
3352 drivers/video/fbdev/sis/sis_main.h | 2 +-
3353 drivers/video/fbdev/smscufx.c | 4 +-
3354 drivers/video/fbdev/udlfb.c | 36 +-
3355 drivers/video/fbdev/uvesafb.c | 52 +-
3356 drivers/video/fbdev/vesafb.c | 58 +-
3357 drivers/video/fbdev/via/via_clock.h | 2 +-
3358 drivers/xen/events/events_base.c | 6 +-
3359 drivers/xen/xen-pciback/pci_stub.c | 2 +-
3360 fs/9p/vfs_addr.c | 2 +-
3361 fs/9p/vfs_inode_dotl.c | 4 +-
3362 fs/Kconfig.binfmt | 2 +-
3363 fs/afs/file.c | 8 +-
3364 fs/afs/inode.c | 4 +-
3365 fs/afs/internal.h | 4 +-
3366 fs/aio.c | 2 +-
3367 fs/autofs4/waitq.c | 2 +-
3368 fs/befs/endian.h | 6 +-
3369 fs/binfmt_aout.c | 23 +-
3370 fs/binfmt_elf.c | 670 +-
3371 fs/binfmt_elf_fdpic.c | 4 +-
3372 fs/block_dev.c | 2 +-
3373 fs/btrfs/ctree.c | 11 +-
3374 fs/btrfs/ctree.h | 4 +-
3375 fs/btrfs/delayed-inode.c | 6 +-
3376 fs/btrfs/delayed-inode.h | 4 +-
3377 fs/btrfs/delayed-ref.c | 4 +-
3378 fs/btrfs/disk-io.c | 4 +-
3379 fs/btrfs/extent_map.c | 8 +-
3380 fs/btrfs/file.c | 4 +-
3381 fs/btrfs/free-space-cache.h | 1 +
3382 fs/btrfs/raid56.c | 30 +-
3383 fs/btrfs/super.c | 2 +-
3384 fs/btrfs/sysfs.c | 2 +-
3385 fs/btrfs/tests/btrfs-tests.c | 2 +-
3386 fs/btrfs/tests/free-space-tests.c | 2 +-
3387 fs/btrfs/transaction.c | 2 +-
3388 fs/btrfs/tree-log.c | 8 +-
3389 fs/btrfs/tree-log.h | 2 +-
3390 fs/btrfs/volumes.c | 14 +-
3391 fs/btrfs/volumes.h | 22 +-
3392 fs/buffer.c | 2 +-
3393 fs/cachefiles/bind.c | 6 +-
3394 fs/cachefiles/daemon.c | 8 +-
3395 fs/cachefiles/internal.h | 12 +-
3396 fs/cachefiles/namei.c | 2 +-
3397 fs/cachefiles/proc.c | 12 +-
3398 fs/ceph/dir.c | 12 +-
3399 fs/ceph/super.c | 4 +-
3400 fs/cifs/cifs_debug.c | 12 +-
3401 fs/cifs/cifsfs.c | 8 +-
3402 fs/cifs/cifsglob.h | 54 +-
3403 fs/cifs/file.c | 14 +-
3404 fs/cifs/misc.c | 4 +-
3405 fs/cifs/smb1ops.c | 80 +-
3406 fs/cifs/smb2ops.c | 84 +-
3407 fs/cifs/smb2pdu.c | 3 +-
3408 fs/coda/cache.c | 10 +-
3409 fs/coda/dir.c | 5 +-
3410 fs/compat.c | 9 +-
3411 fs/compat_binfmt_elf.c | 2 +
3412 fs/compat_ioctl.c | 12 +-
3413 fs/configfs/dir.c | 10 +-
3414 fs/coredump.c | 18 +-
3415 fs/dcache.c | 64 +-
3416 fs/ecryptfs/inode.c | 2 +-
3417 fs/ecryptfs/miscdev.c | 2 +-
3418 fs/exec.c | 365 +-
3419 fs/exofs/inode.c | 7 +-
3420 fs/ext2/xattr.c | 5 +-
3421 fs/ext4/ext4.h | 20 +-
3422 fs/ext4/mballoc.c | 44 +-
3423 fs/ext4/resize.c | 16 +-
3424 fs/ext4/super.c | 2 +-
3425 fs/ext4/sysfs.c | 2 +-
3426 fs/ext4/xattr.c | 5 +-
3427 fs/fhandle.c | 5 +-
3428 fs/file.c | 18 +-
3429 fs/freevxfs/vxfs_inode.c | 8 +-
3430 fs/freevxfs/vxfs_inode.h | 4 +-
3431 fs/fs-writeback.c | 11 +-
3432 fs/fs_struct.c | 8 +-
3433 fs/fscache/cookie.c | 40 +-
3434 fs/fscache/internal.h | 202 +-
3435 fs/fscache/object.c | 26 +-
3436 fs/fscache/operation.c | 38 +-
3437 fs/fscache/page.c | 110 +-
3438 fs/fscache/stats.c | 348 +-
3439 fs/fuse/cuse.c | 10 +-
3440 fs/fuse/dev.c | 4 +-
3441 fs/fuse/file.c | 4 +-
3442 fs/fuse/inode.c | 4 +-
3443 fs/gfs2/aops.c | 2 +-
3444 fs/gfs2/file.c | 2 +-
3445 fs/gfs2/glock.c | 22 +-
3446 fs/gfs2/glops.c | 4 +-
3447 fs/gfs2/quota.c | 6 +-
3448 fs/hugetlbfs/inode.c | 13 +-
3449 fs/inode.c | 4 +-
3450 fs/jbd2/commit.c | 2 +-
3451 fs/jbd2/transaction.c | 4 +-
3452 fs/jffs2/erase.c | 3 +-
3453 fs/jffs2/file.c | 3 +-
3454 fs/jffs2/fs.c | 2 +-
3455 fs/jffs2/os-linux.h | 2 +-
3456 fs/jffs2/wbuf.c | 3 +-
3457 fs/jfs/super.c | 2 +-
3458 fs/kernfs/dir.c | 2 +-
3459 fs/kernfs/file.c | 20 +-
3460 fs/libfs.c | 10 +-
3461 fs/lockd/clnt4xdr.c | 46 +-
3462 fs/lockd/clntproc.c | 4 +-
3463 fs/lockd/clntxdr.c | 44 +-
3464 fs/lockd/mon.c | 24 +-
3465 fs/lockd/svc.c | 2 +-
3466 fs/lockd/svc4proc.c | 69 +-
3467 fs/lockd/svcproc.c | 75 +-
3468 fs/lockd/xdr.c | 44 +-
3469 fs/lockd/xdr4.c | 41 +-
3470 fs/logfs/dev_bdev.c | 13 +-
3471 fs/logfs/dev_mtd.c | 13 +-
3472 fs/logfs/dir.c | 4 +-
3473 fs/logfs/logfs.h | 5 +-
3474 fs/logfs/readwrite.c | 2 +-
3475 fs/logfs/segment.c | 2 +-
3476 fs/logfs/super.c | 39 -
3477 fs/namei.c | 16 +-
3478 fs/namespace.c | 16 +-
3479 fs/nfs/callback.h | 18 +-
3480 fs/nfs/callback_proc.c | 26 +-
3481 fs/nfs/callback_xdr.c | 73 +-
3482 fs/nfs/dir.c | 5 +-
3483 fs/nfs/inode.c | 6 +-
3484 fs/nfs/internal.h | 5 +-
3485 fs/nfs/mount_clnt.c | 26 +-
3486 fs/nfs/nfs2xdr.c | 101 +-
3487 fs/nfs/nfs3xdr.c | 201 +-
3488 fs/nfs/nfs42xdr.c | 60 +-
3489 fs/nfs/nfs4xdr.c | 507 +-
3490 fs/nfs/read.c | 2 +-
3491 fs/nfs/symlink.c | 6 +-
3492 fs/nfsd/current_stateid.h | 24 +-
3493 fs/nfsd/nfs2acl.c | 85 +-
3494 fs/nfsd/nfs3acl.c | 44 +-
3495 fs/nfsd/nfs3proc.c | 271 +-
3496 fs/nfsd/nfs3xdr.c | 171 +-
3497 fs/nfsd/nfs4callback.c | 31 +-
3498 fs/nfsd/nfs4proc.c | 320 +-
3499 fs/nfsd/nfs4state.c | 111 +-
3500 fs/nfsd/nfs4xdr.c | 564 +-
3501 fs/nfsd/nfscache.c | 11 +-
3502 fs/nfsd/nfsproc.c | 193 +-
3503 fs/nfsd/nfsxdr.c | 96 +-
3504 fs/nfsd/vfs.c | 6 +-
3505 fs/nfsd/xdr.h | 50 +-
3506 fs/nfsd/xdr3.h | 100 +-
3507 fs/nfsd/xdr4.h | 50 +-
3508 fs/nls/nls_base.c | 26 +-
3509 fs/nls/nls_cp932.c | 2 +-
3510 fs/nls/nls_cp936.c | 2 +-
3511 fs/nls/nls_cp949.c | 2 +-
3512 fs/nls/nls_cp950.c | 2 +-
3513 fs/nls/nls_euc-jp.c | 8 +-
3514 fs/nls/nls_koi8-ru.c | 8 +-
3515 fs/notify/fanotify/fanotify_user.c | 4 +-
3516 fs/notify/notification.c | 4 +-
3517 fs/ntfs/dir.c | 4 +-
3518 fs/ntfs/inode.c | 19 +-
3519 fs/ntfs/inode.h | 4 +-
3520 fs/ntfs/mft.c | 4 +-
3521 fs/ntfs/super.c | 8 +-
3522 fs/ocfs2/dlm/dlmcommon.h | 4 +-
3523 fs/ocfs2/dlm/dlmdebug.c | 10 +-
3524 fs/ocfs2/dlm/dlmdomain.c | 4 +-
3525 fs/ocfs2/dlm/dlmmaster.c | 4 +-
3526 fs/ocfs2/dlmfs/dlmfs.c | 4 +-
3527 fs/ocfs2/localalloc.c | 2 +-
3528 fs/ocfs2/ocfs2.h | 10 +-
3529 fs/ocfs2/suballoc.c | 12 +-
3530 fs/ocfs2/super.c | 20 +-
3531 fs/overlayfs/copy_up.c | 2 +-
3532 fs/pipe.c | 72 +-
3533 fs/posix_acl.c | 4 +-
3534 fs/proc/array.c | 20 +
3535 fs/proc/base.c | 7 +-
3536 fs/proc/kcore.c | 36 +-
3537 fs/proc/meminfo.c | 2 +-
3538 fs/proc/nommu.c | 2 +-
3539 fs/proc/proc_sysctl.c | 26 +-
3540 fs/proc/task_mmu.c | 39 +-
3541 fs/proc/task_nommu.c | 6 +-
3542 fs/proc/vmcore.c | 16 +-
3543 fs/qnx6/qnx6.h | 4 +-
3544 fs/quota/netlink.c | 4 +-
3545 fs/read_write.c | 34 +-
3546 fs/readdir.c | 3 +-
3547 fs/reiserfs/do_balan.c | 2 +-
3548 fs/reiserfs/procfs.c | 2 +-
3549 fs/reiserfs/reiserfs.h | 4 +-
3550 fs/select.c | 2 +-
3551 fs/seq_file.c | 4 +-
3552 fs/splice.c | 43 +-
3553 fs/squashfs/xattr.c | 10 +-
3554 fs/super.c | 3 +-
3555 fs/sysv/sysv.h | 2 +-
3556 fs/tracefs/inode.c | 8 +-
3557 fs/ubifs/find.c | 34 +-
3558 fs/ubifs/lprops.c | 5 +-
3559 fs/udf/misc.c | 2 +-
3560 fs/ufs/swab.h | 4 +-
3561 fs/userfaultfd.c | 2 +-
3562 fs/xattr.c | 21 +
3563 fs/xfs/libxfs/xfs_bmap.c | 2 +-
3564 fs/xfs/libxfs/xfs_da_btree.c | 4 +-
3565 fs/xfs/xfs_dir2_readdir.c | 7 +-
3566 fs/xfs/xfs_ioctl.c | 2 +-
3567 fs/xfs/xfs_linux.h | 4 +-
3568 include/acpi/ghes.h | 2 +-
3569 include/asm-generic/4level-fixup.h | 2 +
3570 include/asm-generic/atomic-long.h | 176 +-
3571 include/asm-generic/atomic64.h | 12 +
3572 include/asm-generic/bitops/__fls.h | 2 +-
3573 include/asm-generic/bitops/fls.h | 2 +-
3574 include/asm-generic/bitops/fls64.h | 4 +-
3575 include/asm-generic/bug.h | 6 +-
3576 include/asm-generic/cache.h | 4 +-
3577 include/asm-generic/emergency-restart.h | 2 +-
3578 include/asm-generic/kmap_types.h | 4 +-
3579 include/asm-generic/local.h | 13 +
3580 include/asm-generic/pgtable-nopmd.h | 18 +-
3581 include/asm-generic/pgtable-nopud.h | 15 +-
3582 include/asm-generic/pgtable.h | 16 +
3583 include/asm-generic/sections.h | 1 +
3584 include/asm-generic/uaccess.h | 16 +
3585 include/asm-generic/vmlinux.lds.h | 15 +-
3586 include/crypto/algapi.h | 2 +-
3587 include/crypto/cast6.h | 4 +-
3588 include/crypto/serpent.h | 4 +-
3589 include/crypto/xts.h | 2 +-
3590 include/drm/drmP.h | 19 +-
3591 include/drm/drm_mm.h | 2 +-
3592 include/drm/drm_modeset_helper_vtables.h | 2 +-
3593 include/drm/i915_pciids.h | 2 +-
3594 include/drm/intel-gtt.h | 4 +-
3595 include/drm/ttm/ttm_memory.h | 2 +-
3596 include/drm/ttm/ttm_page_alloc.h | 1 +
3597 include/keys/asymmetric-subtype.h | 2 +-
3598 include/keys/encrypted-type.h | 2 +-
3599 include/keys/rxrpc-type.h | 2 +-
3600 include/keys/user-type.h | 2 +-
3601 include/linux/atmdev.h | 4 +-
3602 include/linux/atomic.h | 12 +-
3603 include/linux/audit.h | 2 +-
3604 include/linux/average.h | 2 +-
3605 include/linux/binfmts.h | 3 +-
3606 include/linux/bitmap.h | 2 +-
3607 include/linux/bitops.h | 8 +-
3608 include/linux/blk-cgroup.h | 24 +-
3609 include/linux/blkdev.h | 2 +-
3610 include/linux/blktrace_api.h | 2 +-
3611 include/linux/cache.h | 8 +
3612 include/linux/cdrom.h | 1 -
3613 include/linux/cgroup-defs.h | 2 +-
3614 include/linux/cleancache.h | 2 +-
3615 include/linux/clk-provider.h | 1 +
3616 include/linux/compat.h | 15 +-
3617 include/linux/compiler-gcc.h | 30 +-
3618 include/linux/compiler.h | 193 +-
3619 include/linux/configfs.h | 2 +-
3620 include/linux/cpufreq.h | 7 +-
3621 include/linux/cpuidle.h | 5 +-
3622 include/linux/cpumask.h | 14 +-
3623 include/linux/crypto.h | 4 +-
3624 include/linux/ctype.h | 2 +-
3625 include/linux/dcache.h | 4 +-
3626 include/linux/decompress/mm.h | 2 +-
3627 include/linux/devfreq.h | 2 +-
3628 include/linux/device.h | 7 +-
3629 include/linux/dma-mapping.h | 2 +-
3630 include/linux/efi.h | 1 +
3631 include/linux/elf.h | 2 +
3632 include/linux/err.h | 4 +-
3633 include/linux/extcon.h | 2 +-
3634 include/linux/fb.h | 3 +-
3635 include/linux/fdtable.h | 2 +-
3636 include/linux/firewire.h | 2 +-
3637 include/linux/fs.h | 5 +-
3638 include/linux/fs_struct.h | 2 +-
3639 include/linux/fscache-cache.h | 2 +-
3640 include/linux/fscache.h | 2 +-
3641 include/linux/fsnotify.h | 2 +-
3642 include/linux/genhd.h | 4 +-
3643 include/linux/genl_magic_func.h | 2 +-
3644 include/linux/genl_magic_struct.h | 4 +-
3645 include/linux/gfp.h | 14 +-
3646 include/linux/highmem.h | 12 +
3647 include/linux/hugetlb.h | 2 +-
3648 include/linux/hugetlb_cgroup.h | 11 +
3649 include/linux/hwmon-sysfs.h | 6 +-
3650 include/linux/i2c.h | 1 +
3651 include/linux/if_pppox.h | 2 +-
3652 include/linux/init.h | 12 +-
3653 include/linux/init_task.h | 7 +
3654 include/linux/interrupt.h | 6 +-
3655 include/linux/iommu.h | 2 +-
3656 include/linux/ioport.h | 2 +-
3657 include/linux/ipc.h | 2 +-
3658 include/linux/irq.h | 5 +-
3659 include/linux/irqdesc.h | 2 +-
3660 include/linux/irqdomain.h | 3 +
3661 include/linux/jbd2.h | 2 +-
3662 include/linux/jiffies.h | 16 +-
3663 include/linux/kallsyms.h | 18 +-
3664 include/linux/key-type.h | 2 +-
3665 include/linux/kgdb.h | 6 +-
3666 include/linux/kmemleak.h | 4 +-
3667 include/linux/kobject.h | 3 +-
3668 include/linux/kobject_ns.h | 2 +-
3669 include/linux/kref.h | 2 +-
3670 include/linux/libata.h | 2 +-
3671 include/linux/linkage.h | 12 +
3672 include/linux/list.h | 15 +
3673 include/linux/lockd/xdr.h | 34 +-
3674 include/linux/lockd/xdr4.h | 34 +-
3675 include/linux/lockref.h | 26 +-
3676 include/linux/math64.h | 10 +-
3677 include/linux/memcontrol.h | 2 +-
3678 include/linux/mempolicy.h | 7 +
3679 include/linux/mm.h | 97 +-
3680 include/linux/mm_types.h | 20 +
3681 include/linux/mmiotrace.h | 4 +-
3682 include/linux/mmzone.h | 2 +-
3683 include/linux/mod_devicetable.h | 4 +-
3684 include/linux/module.h | 58 +-
3685 include/linux/moduleloader.h | 16 +
3686 include/linux/moduleparam.h | 12 +-
3687 include/linux/net.h | 2 +-
3688 include/linux/netdevice.h | 7 +-
3689 include/linux/netfilter.h | 2 +-
3690 include/linux/netfilter/ipset/ip_set_comment.h | 3 +-
3691 include/linux/netfilter/nfnetlink.h | 2 +-
3692 include/linux/netlink.h | 12 +-
3693 include/linux/nls.h | 4 +-
3694 include/linux/notifier.h | 3 +-
3695 include/linux/oprofile.h | 4 +-
3696 include/linux/padata.h | 2 +-
3697 include/linux/pagemap.h | 4 +-
3698 include/linux/pci_hotplug.h | 3 +-
3699 include/linux/percpu.h | 2 +-
3700 include/linux/perf_event.h | 12 +-
3701 include/linux/pid.h | 4 +-
3702 include/linux/pipe_fs_i.h | 8 +-
3703 include/linux/pm.h | 1 +
3704 include/linux/pm_domain.h | 2 +-
3705 include/linux/pm_runtime.h | 2 +-
3706 include/linux/pnp.h | 2 +-
3707 include/linux/poison.h | 4 +-
3708 include/linux/power/smartreflex.h | 2 +-
3709 include/linux/ppp-comp.h | 2 +-
3710 include/linux/preempt.h | 21 +
3711 include/linux/printk.h | 2 +-
3712 include/linux/proc_ns.h | 2 +-
3713 include/linux/psci.h | 2 +-
3714 include/linux/quota.h | 2 +-
3715 include/linux/random.h | 19 +-
3716 include/linux/rculist.h | 16 +
3717 include/linux/rcupdate.h | 8 +
3718 include/linux/reboot.h | 14 +-
3719 include/linux/regset.h | 3 +-
3720 include/linux/relay.h | 2 +-
3721 include/linux/rio.h | 2 +-
3722 include/linux/rmap.h | 4 +-
3723 include/linux/sched.h | 76 +-
3724 include/linux/sched/sysctl.h | 1 +
3725 include/linux/scif.h | 2 +-
3726 include/linux/semaphore.h | 2 +-
3727 include/linux/seq_file.h | 1 +
3728 include/linux/seqlock.h | 10 +
3729 include/linux/signal.h | 2 +-
3730 include/linux/skbuff.h | 12 +-
3731 include/linux/slab.h | 47 +-
3732 include/linux/slab_def.h | 14 +-
3733 include/linux/slub_def.h | 2 +-
3734 include/linux/smp.h | 2 +
3735 include/linux/sock_diag.h | 2 +-
3736 include/linux/sonet.h | 2 +-
3737 include/linux/spinlock.h | 17 +-
3738 include/linux/srcu.h | 5 +-
3739 include/linux/sunrpc/addr.h | 8 +-
3740 include/linux/sunrpc/clnt.h | 2 +-
3741 include/linux/sunrpc/svc.h | 2 +-
3742 include/linux/sunrpc/svc_rdma.h | 18 +-
3743 include/linux/sunrpc/svcauth.h | 2 +-
3744 include/linux/swapops.h | 10 +-
3745 include/linux/swiotlb.h | 3 +-
3746 include/linux/syscalls.h | 34 +-
3747 include/linux/syscore_ops.h | 2 +-
3748 include/linux/sysctl.h | 3 +-
3749 include/linux/sysfs.h | 9 +-
3750 include/linux/sysrq.h | 3 +-
3751 include/linux/tcp.h | 14 +-
3752 include/linux/thread_info.h | 7 +
3753 include/linux/tty.h | 4 +-
3754 include/linux/tty_driver.h | 2 +-
3755 include/linux/tty_ldisc.h | 2 +-
3756 include/linux/types.h | 16 +
3757 include/linux/uaccess.h | 2 +-
3758 include/linux/uio_driver.h | 2 +-
3759 include/linux/unaligned/access_ok.h | 24 +-
3760 include/linux/usb.h | 12 +-
3761 include/linux/usb/hcd.h | 1 +
3762 include/linux/usb/renesas_usbhs.h | 2 +-
3763 include/linux/vermagic.h | 21 +-
3764 include/linux/vga_switcheroo.h | 8 +-
3765 include/linux/vmalloc.h | 7 +-
3766 include/linux/vmstat.h | 24 +-
3767 include/linux/writeback.h | 3 +-
3768 include/linux/xattr.h | 5 +-
3769 include/linux/zlib.h | 3 +-
3770 include/media/v4l2-dev.h | 2 +-
3771 include/media/v4l2-device.h | 2 +-
3772 include/net/9p/transport.h | 2 +-
3773 include/net/bluetooth/l2cap.h | 2 +-
3774 include/net/bonding.h | 2 +-
3775 include/net/caif/cfctrl.h | 6 +-
3776 include/net/cfg80211-wext.h | 20 +-
3777 include/net/cfg802154.h | 2 +-
3778 include/net/fib_rules.h | 3 +-
3779 include/net/flow.h | 2 +-
3780 include/net/genetlink.h | 2 +-
3781 include/net/gro_cells.h | 2 +-
3782 include/net/inet_connection_sock.h | 2 +-
3783 include/net/inet_sock.h | 2 +-
3784 include/net/inetpeer.h | 2 +-
3785 include/net/ip_fib.h | 2 +-
3786 include/net/ip_vs.h | 8 +-
3787 include/net/ipv6.h | 2 +-
3788 include/net/irda/ircomm_tty.h | 1 +
3789 include/net/irda/irias_object.h | 2 +-
3790 include/net/irda/irlmp.h | 1 +
3791 include/net/irda/irlmp_event.h | 6 +-
3792 include/net/irda/timer.h | 6 +-
3793 include/net/iucv/af_iucv.h | 2 +-
3794 include/net/llc_c_ac.h | 2 +-
3795 include/net/llc_c_ev.h | 4 +-
3796 include/net/llc_c_st.h | 2 +-
3797 include/net/llc_s_ac.h | 2 +-
3798 include/net/llc_s_st.h | 2 +-
3799 include/net/mac80211.h | 6 +-
3800 include/net/neighbour.h | 4 +-
3801 include/net/net_namespace.h | 18 +-
3802 include/net/netfilter/nf_conntrack.h | 2 +-
3803 include/net/netlink.h | 2 +-
3804 include/net/netns/conntrack.h | 6 +-
3805 include/net/netns/ipv4.h | 4 +-
3806 include/net/netns/ipv6.h | 4 +-
3807 include/net/netns/xfrm.h | 2 +-
3808 include/net/ping.h | 2 +-
3809 include/net/protocol.h | 4 +-
3810 include/net/rtnetlink.h | 2 +-
3811 include/net/sctp/checksum.h | 4 +-
3812 include/net/sctp/sm.h | 4 +-
3813 include/net/sctp/structs.h | 2 +-
3814 include/net/snmp.h | 10 +-
3815 include/net/sock.h | 12 +-
3816 include/net/tcp.h | 8 +-
3817 include/net/xfrm.h | 15 +-
3818 include/rdma/ib_cm.h | 8 +-
3819 include/rdma/iw_cm.h | 2 +-
3820 include/scsi/libfc.h | 3 +-
3821 include/scsi/scsi_device.h | 6 +-
3822 include/scsi/scsi_driver.h | 2 +-
3823 include/scsi/scsi_transport_fc.h | 3 +-
3824 include/scsi/sg.h | 2 +-
3825 include/sound/compress_driver.h | 2 +-
3826 include/sound/control.h | 4 +-
3827 include/sound/pcm.h | 2 +-
3828 include/sound/rawmidi.h | 3 +-
3829 include/sound/seq_kernel.h | 2 +-
3830 include/sound/soc.h | 4 +-
3831 include/trace/events/irq.h | 4 +-
3832 include/uapi/linux/a.out.h | 8 +
3833 include/uapi/linux/bcache.h | 5 +-
3834 include/uapi/linux/byteorder/little_endian.h | 28 +-
3835 include/uapi/linux/connector.h | 2 +-
3836 include/uapi/linux/elf.h | 28 +
3837 include/uapi/linux/screen_info.h | 2 +-
3838 include/uapi/linux/swab.h | 6 +-
3839 include/uapi/linux/xattr.h | 4 +
3840 include/video/udlfb.h | 8 +-
3841 include/video/uvesafb.h | 1 +
3842 init/Kconfig | 2 +-
3843 init/Makefile | 3 +
3844 init/do_mounts.c | 16 +-
3845 init/do_mounts.h | 8 +-
3846 init/do_mounts_initrd.c | 30 +-
3847 init/do_mounts_md.c | 6 +-
3848 init/init_task.c | 4 +
3849 init/initramfs.c | 38 +-
3850 init/main.c | 30 +-
3851 ipc/compat.c | 4 +-
3852 ipc/ipc_sysctl.c | 14 +-
3853 ipc/mq_sysctl.c | 4 +-
3854 ipc/sem.c | 4 +-
3855 ipc/shm.c | 8 +-
3856 kernel/audit.c | 8 +-
3857 kernel/auditsc.c | 4 +-
3858 kernel/bpf/core.c | 28 +-
3859 kernel/capability.c | 3 +
3860 kernel/cgroup.c | 29 +-
3861 kernel/compat.c | 38 +-
3862 kernel/debug/debug_core.c | 16 +-
3863 kernel/debug/kdb/kdb_main.c | 4 +-
3864 kernel/events/core.c | 38 +-
3865 kernel/events/internal.h | 10 +-
3866 kernel/events/uprobes.c | 2 +-
3867 kernel/exit.c | 27 +-
3868 kernel/fork.c | 175 +-
3869 kernel/futex.c | 11 +-
3870 kernel/futex_compat.c | 2 +-
3871 kernel/irq/manage.c | 2 +-
3872 kernel/irq/msi.c | 19 +-
3873 kernel/irq/spurious.c | 2 +-
3874 kernel/jump_label.c | 5 +
3875 kernel/kallsyms.c | 40 +-
3876 kernel/kexec.c | 3 +-
3877 kernel/kmod.c | 8 +-
3878 kernel/kprobes.c | 4 +-
3879 kernel/ksysfs.c | 2 +-
3880 kernel/locking/lockdep.c | 7 +-
3881 kernel/locking/mutex-debug.c | 12 +-
3882 kernel/locking/mutex-debug.h | 4 +-
3883 kernel/locking/mutex.c | 6 +-
3884 kernel/module.c | 403 +-
3885 kernel/notifier.c | 17 +-
3886 kernel/padata.c | 4 +-
3887 kernel/panic.c | 11 +-
3888 kernel/pid.c | 6 +-
3889 kernel/pid_namespace.c | 2 +-
3890 kernel/power/process.c | 12 +-
3891 kernel/profile.c | 14 +-
3892 kernel/ptrace.c | 8 +-
3893 kernel/rcu/rcutorture.c | 60 +-
3894 kernel/rcu/tiny.c | 4 +-
3895 kernel/rcu/tree.c | 42 +-
3896 kernel/rcu/tree.h | 16 +-
3897 kernel/rcu/tree_plugin.h | 18 +-
3898 kernel/rcu/tree_trace.c | 14 +-
3899 kernel/resource.c | 4 +-
3900 kernel/sched/auto_group.c | 4 +-
3901 kernel/sched/core.c | 49 +-
3902 kernel/sched/fair.c | 2 +-
3903 kernel/sched/rt.c | 4 +-
3904 kernel/sched/sched.h | 13 +-
3905 kernel/signal.c | 28 +-
3906 kernel/smp.c | 2 +-
3907 kernel/smpboot.c | 4 +-
3908 kernel/softirq.c | 12 +-
3909 kernel/stop_machine.c | 2 +-
3910 kernel/sys.c | 10 +-
3911 kernel/sys_ni.c | 4 +-
3912 kernel/sysctl.c | 34 +-
3913 kernel/time/alarmtimer.c | 4 +-
3914 kernel/time/posix-clock.c | 8 +-
3915 kernel/time/posix-cpu-timers.c | 4 +-
3916 kernel/time/posix-timers.c | 36 +-
3917 kernel/time/timer.c | 2 +-
3918 kernel/time/timer_stats.c | 10 +-
3919 kernel/trace/blktrace.c | 6 +-
3920 kernel/trace/ftrace.c | 33 +-
3921 kernel/trace/ring_buffer.c | 96 +-
3922 kernel/trace/trace.c | 2 +-
3923 kernel/trace/trace.h | 2 +-
3924 kernel/trace/trace_clock.c | 4 +-
3925 kernel/trace/trace_events.c | 1 -
3926 kernel/trace/trace_functions_graph.c | 4 +-
3927 kernel/trace/trace_mmiotrace.c | 8 +-
3928 kernel/trace/trace_output.c | 10 +-
3929 kernel/trace/trace_seq.c | 2 +-
3930 kernel/trace/trace_stack.c | 2 +-
3931 kernel/user.c | 2 +-
3932 kernel/user_namespace.c | 2 +-
3933 kernel/utsname_sysctl.c | 2 +-
3934 kernel/watchdog.c | 2 +-
3935 kernel/workqueue.c | 8 +-
3936 lib/Kconfig.debug | 8 +-
3937 lib/Makefile | 2 +-
3938 lib/bitmap.c | 8 +-
3939 lib/bug.c | 2 +
3940 lib/debugobjects.c | 2 +-
3941 lib/decompress_bunzip2.c | 3 +-
3942 lib/decompress_unlzma.c | 4 +-
3943 lib/div64.c | 4 +-
3944 lib/dma-debug.c | 4 +-
3945 lib/inflate.c | 2 +-
3946 lib/ioremap.c | 4 +-
3947 lib/irq_poll.c | 2 +-
3948 lib/kobject.c | 4 +-
3949 lib/list_debug.c | 126 +-
3950 lib/lockref.c | 44 +-
3951 lib/percpu-refcount.c | 2 +-
3952 lib/radix-tree.c | 2 +-
3953 lib/random32.c | 2 +-
3954 lib/rhashtable.c | 4 +-
3955 lib/show_mem.c | 2 +-
3956 lib/strncpy_from_user.c | 2 +-
3957 lib/strnlen_user.c | 2 +-
3958 lib/swiotlb.c | 2 +-
3959 lib/usercopy.c | 6 +
3960 lib/vsprintf.c | 12 +-
3961 mm/Kconfig | 6 +-
3962 mm/backing-dev.c | 4 +-
3963 mm/debug.c | 3 +
3964 mm/filemap.c | 10 +-
3965 mm/gup.c | 13 +-
3966 mm/highmem.c | 6 +-
3967 mm/hugetlb.c | 125 +-
3968 mm/hugetlb_cgroup.c | 60 +-
3969 mm/internal.h | 3 +-
3970 mm/maccess.c | 12 +-
3971 mm/madvise.c | 37 +
3972 mm/memcontrol.c | 6 +-
3973 mm/memory-failure.c | 6 +-
3974 mm/memory.c | 424 +-
3975 mm/mempolicy.c | 25 +
3976 mm/mlock.c | 18 +-
3977 mm/mm_init.c | 2 +-
3978 mm/mmap.c | 573 +-
3979 mm/mprotect.c | 137 +-
3980 mm/mremap.c | 39 +-
3981 mm/nommu.c | 21 +-
3982 mm/page-writeback.c | 2 +-
3983 mm/page_alloc.c | 53 +-
3984 mm/percpu.c | 2 +-
3985 mm/process_vm_access.c | 14 +-
3986 mm/readahead.c | 2 +-
3987 mm/rmap.c | 43 +-
3988 mm/shmem.c | 37 +-
3989 mm/slab.c | 111 +-
3990 mm/slab.h | 22 +-
3991 mm/slab_common.c | 86 +-
3992 mm/slob.c | 218 +-
3993 mm/slub.c | 111 +-
3994 mm/sparse-vmemmap.c | 4 +-
3995 mm/sparse.c | 2 +-
3996 mm/swap.c | 2 +
3997 mm/swapfile.c | 12 +-
3998 mm/util.c | 6 +
3999 mm/vmalloc.c | 116 +-
4000 mm/vmstat.c | 12 +-
4001 net/8021q/vlan.c | 5 +-
4002 net/8021q/vlan_netlink.c | 2 +-
4003 net/9p/mod.c | 4 +-
4004 net/9p/trans_fd.c | 2 +-
4005 net/atm/atm_misc.c | 8 +-
4006 net/atm/lec.h | 2 +-
4007 net/atm/proc.c | 6 +-
4008 net/atm/resources.c | 4 +-
4009 net/ax25/sysctl_net_ax25.c | 2 +-
4010 net/batman-adv/bat_iv_ogm.c | 8 +-
4011 net/batman-adv/fragmentation.c | 2 +-
4012 net/batman-adv/routing.c | 4 +-
4013 net/batman-adv/soft-interface.c | 12 +-
4014 net/batman-adv/sysfs.c | 40 +-
4015 net/batman-adv/sysfs.h | 4 +-
4016 net/batman-adv/translation-table.c | 14 +-
4017 net/batman-adv/types.h | 8 +-
4018 net/bluetooth/hci_sock.c | 2 +-
4019 net/bluetooth/l2cap_core.c | 6 +-
4020 net/bluetooth/l2cap_sock.c | 12 +-
4021 net/bluetooth/rfcomm/sock.c | 4 +-
4022 net/bluetooth/rfcomm/tty.c | 4 +-
4023 net/bridge/br_netlink.c | 2 +-
4024 net/bridge/netfilter/ebtables.c | 6 +-
4025 net/caif/cfctrl.c | 11 +-
4026 net/caif/chnl_net.c | 4 +-
4027 net/can/af_can.c | 2 +-
4028 net/can/gw.c | 6 +-
4029 net/ceph/ceph_common.c | 2 +-
4030 net/ceph/messenger.c | 4 +-
4031 net/compat.c | 26 +-
4032 net/core/datagram.c | 2 +-
4033 net/core/dev.c | 16 +-
4034 net/core/filter.c | 2 +-
4035 net/core/flow.c | 6 +-
4036 net/core/neighbour.c | 18 +-
4037 net/core/net-sysfs.c | 2 +-
4038 net/core/net_namespace.c | 8 +-
4039 net/core/netpoll.c | 4 +-
4040 net/core/rtnetlink.c | 17 +-
4041 net/core/scm.c | 12 +-
4042 net/core/skbuff.c | 11 +-
4043 net/core/sock.c | 28 +-
4044 net/core/sock_diag.c | 15 +-
4045 net/core/sysctl_net_core.c | 22 +-
4046 net/decnet/af_decnet.c | 1 +
4047 net/decnet/sysctl_net_decnet.c | 4 +-
4048 net/dsa/dsa.c | 2 +-
4049 net/hsr/hsr_device.c | 2 +-
4050 net/hsr/hsr_netlink.c | 2 +-
4051 net/ieee802154/6lowpan/core.c | 2 +-
4052 net/ieee802154/6lowpan/reassembly.c | 14 +-
4053 net/ipv4/af_inet.c | 2 +-
4054 net/ipv4/arp.c | 2 +-
4055 net/ipv4/devinet.c | 18 +-
4056 net/ipv4/fib_frontend.c | 6 +-
4057 net/ipv4/fib_semantics.c | 2 +-
4058 net/ipv4/inet_connection_sock.c | 4 +-
4059 net/ipv4/inet_diag.c | 4 +-
4060 net/ipv4/inet_timewait_sock.c | 2 +-
4061 net/ipv4/inetpeer.c | 2 +-
4062 net/ipv4/ip_fragment.c | 15 +-
4063 net/ipv4/ip_gre.c | 6 +-
4064 net/ipv4/ip_sockglue.c | 2 +-
4065 net/ipv4/ip_vti.c | 4 +-
4066 net/ipv4/ipconfig.c | 6 +-
4067 net/ipv4/ipip.c | 4 +-
4068 net/ipv4/netfilter/arp_tables.c | 12 +-
4069 net/ipv4/netfilter/ip_tables.c | 12 +-
4070 net/ipv4/ping.c | 14 +-
4071 net/ipv4/proc.c | 8 +-
4072 net/ipv4/raw.c | 14 +-
4073 net/ipv4/route.c | 32 +-
4074 net/ipv4/sysctl_net_ipv4.c | 22 +-
4075 net/ipv4/tcp_input.c | 6 +-
4076 net/ipv4/tcp_probe.c | 2 +-
4077 net/ipv4/udp.c | 10 +-
4078 net/ipv4/xfrm4_mode_transport.c | 2 +-
4079 net/ipv4/xfrm4_policy.c | 17 +-
4080 net/ipv4/xfrm4_state.c | 4 +-
4081 net/ipv6/addrconf.c | 24 +-
4082 net/ipv6/af_inet6.c | 2 +-
4083 net/ipv6/datagram.c | 2 +-
4084 net/ipv6/icmp.c | 2 +-
4085 net/ipv6/inet6_hashtables.c | 2 +-
4086 net/ipv6/ip6_fib.c | 4 +-
4087 net/ipv6/ip6_gre.c | 10 +-
4088 net/ipv6/ip6_tunnel.c | 4 +-
4089 net/ipv6/ip6_vti.c | 4 +-
4090 net/ipv6/ipv6_sockglue.c | 2 +-
4091 net/ipv6/ndisc.c | 2 +-
4092 net/ipv6/netfilter/ip6_tables.c | 12 +-
4093 net/ipv6/netfilter/nf_conntrack_reasm.c | 14 +-
4094 net/ipv6/ping.c | 33 +-
4095 net/ipv6/proc.c | 10 +-
4096 net/ipv6/raw.c | 17 +-
4097 net/ipv6/reassembly.c | 13 +-
4098 net/ipv6/route.c | 2 +-
4099 net/ipv6/sit.c | 4 +-
4100 net/ipv6/sysctl_net_ipv6.c | 2 +-
4101 net/ipv6/udp.c | 6 +-
4102 net/ipv6/xfrm6_mode_transport.c | 2 +-
4103 net/ipv6/xfrm6_policy.c | 17 +-
4104 net/irda/discovery.c | 2 +-
4105 net/irda/ircomm/ircomm_core.c | 13 +-
4106 net/irda/ircomm/ircomm_tty.c | 24 +-
4107 net/irda/ircomm/ircomm_tty_attach.c | 4 +-
4108 net/irda/irda_device.c | 14 +-
4109 net/irda/iriap.c | 14 +-
4110 net/irda/irias_object.c | 10 +-
4111 net/irda/irlan/irlan_client.c | 2 +-
4112 net/irda/irlap.c | 15 +-
4113 net/irda/irlap_event.c | 2 +-
4114 net/irda/irlmp.c | 21 +-
4115 net/irda/irlmp_event.c | 6 +-
4116 net/irda/irnet/irnet.h | 2 +-
4117 net/irda/irnet/irnet_irda.c | 6 +-
4118 net/irda/irttp.c | 8 +-
4119 net/irda/timer.c | 24 +-
4120 net/iucv/af_iucv.c | 4 +-
4121 net/iucv/iucv.c | 2 +-
4122 net/key/af_key.c | 4 +-
4123 net/l2tp/l2tp_eth.c | 40 +-
4124 net/l2tp/l2tp_ip.c | 2 +-
4125 net/l2tp/l2tp_ip6.c | 2 +-
4126 net/mac80211/cfg.c | 10 +-
4127 net/mac80211/debugfs.c | 2 +-
4128 net/mac80211/debugfs_key.c | 4 +-
4129 net/mac80211/ieee80211_i.h | 3 +-
4130 net/mac80211/iface.c | 20 +-
4131 net/mac80211/key.c | 4 +-
4132 net/mac80211/main.c | 2 +-
4133 net/mac80211/pm.c | 4 +-
4134 net/mac80211/rate.c | 2 +-
4135 net/mac80211/sta_info.c | 2 +-
4136 net/mac80211/tx.c | 2 +-
4137 net/mac80211/util.c | 8 +-
4138 net/mac80211/wpa.c | 10 +-
4139 net/mac802154/iface.c | 6 +-
4140 net/mpls/af_mpls.c | 10 +-
4141 net/netfilter/ipset/ip_set_core.c | 7 +-
4142 net/netfilter/ipvs/ip_vs_conn.c | 6 +-
4143 net/netfilter/ipvs/ip_vs_core.c | 4 +-
4144 net/netfilter/ipvs/ip_vs_ctl.c | 14 +-
4145 net/netfilter/ipvs/ip_vs_lblc.c | 2 +-
4146 net/netfilter/ipvs/ip_vs_lblcr.c | 2 +-
4147 net/netfilter/ipvs/ip_vs_sync.c | 6 +-
4148 net/netfilter/ipvs/ip_vs_xmit.c | 4 +-
4149 net/netfilter/nf_conntrack_acct.c | 2 +-
4150 net/netfilter/nf_conntrack_core.c | 2 +-
4151 net/netfilter/nf_conntrack_ecache.c | 2 +-
4152 net/netfilter/nf_conntrack_helper.c | 2 +-
4153 net/netfilter/nf_conntrack_netlink.c | 22 +-
4154 net/netfilter/nf_conntrack_proto.c | 2 +-
4155 net/netfilter/nf_conntrack_standalone.c | 2 +-
4156 net/netfilter/nf_conntrack_timestamp.c | 2 +-
4157 net/netfilter/nf_log.c | 10 +-
4158 net/netfilter/nf_nat_ftp.c | 2 +-
4159 net/netfilter/nf_nat_irc.c | 2 +-
4160 net/netfilter/nf_sockopt.c | 4 +-
4161 net/netfilter/nf_tables_api.c | 13 +-
4162 net/netfilter/nfnetlink_acct.c | 7 +-
4163 net/netfilter/nfnetlink_cthelper.c | 2 +-
4164 net/netfilter/nfnetlink_cttimeout.c | 2 +-
4165 net/netfilter/nfnetlink_log.c | 4 +-
4166 net/netfilter/nft_compat.c | 9 +-
4167 net/netfilter/xt_IDLETIMER.c | 12 +-
4168 net/netfilter/xt_statistic.c | 8 +-
4169 net/netlink/af_netlink.c | 14 +-
4170 net/netlink/diag.c | 2 +-
4171 net/netlink/genetlink.c | 14 +-
4172 net/openvswitch/vport-geneve.c | 7 +-
4173 net/openvswitch/vport-gre.c | 7 +-
4174 net/openvswitch/vport-internal_dev.c | 4 +-
4175 net/openvswitch/vport-netdev.c | 7 +-
4176 net/openvswitch/vport-vxlan.c | 7 +-
4177 net/packet/af_packet.c | 26 +-
4178 net/packet/diag.c | 2 +-
4179 net/packet/internal.h | 6 +-
4180 net/phonet/pep.c | 6 +-
4181 net/phonet/socket.c | 2 +-
4182 net/phonet/sysctl.c | 2 +-
4183 net/rds/cong.c | 6 +-
4184 net/rds/ib.h | 2 +-
4185 net/rds/ib_cm.c | 2 +-
4186 net/rds/ib_recv.c | 4 +-
4187 net/rds/iw.h | 2 +-
4188 net/rds/iw_cm.c | 2 +-
4189 net/rds/iw_recv.c | 4 +-
4190 net/rds/rds.h | 2 +-
4191 net/rds/tcp.c | 2 +-
4192 net/rds/tcp.h | 6 +-
4193 net/rds/tcp_send.c | 2 +-
4194 net/rxrpc/af_rxrpc.c | 2 +-
4195 net/rxrpc/ar-ack.c | 14 +-
4196 net/rxrpc/ar-call.c | 2 +-
4197 net/rxrpc/ar-connection.c | 2 +-
4198 net/rxrpc/ar-connevent.c | 2 +-
4199 net/rxrpc/ar-input.c | 4 +-
4200 net/rxrpc/ar-internal.h | 8 +-
4201 net/rxrpc/ar-local.c | 2 +-
4202 net/rxrpc/ar-output.c | 4 +-
4203 net/rxrpc/ar-peer.c | 2 +-
4204 net/rxrpc/ar-proc.c | 4 +-
4205 net/rxrpc/ar-transport.c | 2 +-
4206 net/rxrpc/rxkad.c | 4 +-
4207 net/sched/sch_generic.c | 4 +-
4208 net/sched/sch_tbf.c | 9 +-
4209 net/sctp/ipv6.c | 6 +-
4210 net/sctp/protocol.c | 10 +-
4211 net/sctp/sm_sideeffect.c | 4 +-
4212 net/sctp/socket.c | 21 +-
4213 net/sctp/sysctl.c | 10 +-
4214 net/socket.c | 18 +-
4215 net/sunrpc/auth_gss/gss_rpc_upcall.c | 4 +-
4216 net/sunrpc/auth_gss/gss_rpc_xdr.c | 11 +-
4217 net/sunrpc/auth_gss/gss_rpc_xdr.h | 8 +-
4218 net/sunrpc/auth_gss/svcauth_gss.c | 4 +-
4219 net/sunrpc/clnt.c | 4 +-
4220 net/sunrpc/rpcb_clnt.c | 66 +-
4221 net/sunrpc/sched.c | 4 +-
4222 net/sunrpc/svc.c | 8 +-
4223 net/sunrpc/svcauth_unix.c | 2 +-
4224 net/sunrpc/xprtrdma/svc_rdma.c | 44 +-
4225 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 8 +-
4226 net/sunrpc/xprtrdma/svc_rdma_sendto.c | 2 +-
4227 net/sunrpc/xprtrdma/svc_rdma_transport.c | 10 +-
4228 net/tipc/netlink_compat.c | 12 +-
4229 net/tipc/subscr.c | 2 +-
4230 net/unix/diag.c | 2 +-
4231 net/unix/sysctl_net_unix.c | 2 +-
4232 net/wireless/scan.c | 3 +-
4233 net/wireless/wext-compat.c | 140 +-
4234 net/wireless/wext-compat.h | 8 +-
4235 net/wireless/wext-core.c | 19 +-
4236 net/wireless/wext-sme.c | 5 +-
4237 net/xfrm/xfrm_policy.c | 16 +-
4238 net/xfrm/xfrm_state.c | 37 +-
4239 net/xfrm/xfrm_sysctl.c | 2 +-
4240 net/xfrm/xfrm_user.c | 2 +-
4241 scripts/Kbuild.include | 2 +-
4242 scripts/Makefile.build | 2 +-
4243 scripts/Makefile.clean | 3 +-
4244 scripts/Makefile.extrawarn | 4 +
4245 scripts/Makefile.gcc-plugins | 69 +
4246 scripts/Makefile.host | 68 +-
4247 scripts/basic/fixdep.c | 12 +-
4248 scripts/dtc/checks.c | 14 +-
4249 scripts/dtc/data.c | 6 +-
4250 scripts/dtc/flattree.c | 8 +-
4251 scripts/dtc/livetree.c | 4 +-
4252 scripts/gcc-plugin.sh | 51 +
4253 scripts/headers_install.sh | 1 +
4254 scripts/kallsyms.c | 4 +-
4255 scripts/kconfig/lkc.h | 5 +-
4256 scripts/kconfig/menu.c | 2 +-
4257 scripts/kconfig/symbol.c | 6 +-
4258 scripts/link-vmlinux.sh | 2 +-
4259 scripts/mod/file2alias.c | 14 +-
4260 scripts/mod/modpost.c | 40 +-
4261 scripts/mod/modpost.h | 6 +-
4262 scripts/mod/sumversion.c | 2 +-
4263 scripts/module-common.lds | 4 +
4264 scripts/package/builddeb | 1 +
4265 scripts/pnmtologo.c | 6 +-
4266 scripts/sortextable.h | 6 +-
4267 scripts/tags.sh | 2 +-
4268 security/Kconfig | 703 +-
4269 security/apparmor/include/policy.h | 2 +-
4270 security/apparmor/lsm.c | 16 +-
4271 security/apparmor/policy.c | 4 +-
4272 security/integrity/ima/ima.h | 4 +-
4273 security/integrity/ima/ima_api.c | 2 +-
4274 security/integrity/ima/ima_fs.c | 4 +-
4275 security/integrity/ima/ima_queue.c | 2 +-
4276 security/keys/internal.h | 8 +-
4277 security/keys/key.c | 18 +-
4278 security/keys/keyring.c | 4 -
4279 security/selinux/avc.c | 6 +-
4280 security/selinux/include/xfrm.h | 2 +-
4281 security/yama/yama_lsm.c | 2 +-
4282 sound/aoa/codecs/onyx.c | 7 +-
4283 sound/aoa/codecs/onyx.h | 1 +
4284 sound/core/oss/pcm_oss.c | 18 +-
4285 sound/core/pcm_compat.c | 2 +-
4286 sound/core/pcm_lib.c | 3 +-
4287 sound/core/pcm_native.c | 4 +-
4288 sound/core/rawmidi.c | 5 +-
4289 sound/core/seq/oss/seq_oss_synth.c | 4 +-
4290 sound/core/seq/seq_clientmgr.c | 10 +-
4291 sound/core/seq/seq_compat.c | 2 +-
4292 sound/core/seq/seq_fifo.c | 6 +-
4293 sound/core/seq/seq_fifo.h | 2 +-
4294 sound/core/seq/seq_memory.c | 18 +-
4295 sound/core/seq/seq_midi.c | 5 +-
4296 sound/core/seq/seq_virmidi.c | 2 +-
4297 sound/core/sound.c | 2 +-
4298 sound/drivers/mts64.c | 14 +-
4299 sound/drivers/opl4/opl4_lib.c | 2 +-
4300 sound/drivers/portman2x4.c | 3 +-
4301 sound/firewire/amdtp-am824.c | 2 +-
4302 sound/firewire/amdtp-stream.c | 4 +-
4303 sound/firewire/amdtp-stream.h | 2 +-
4304 sound/firewire/digi00x/amdtp-dot.c | 2 +-
4305 sound/firewire/isight.c | 10 +-
4306 sound/firewire/oxfw/oxfw-scs1x.c | 8 +-
4307 sound/oss/sb_audio.c | 2 +-
4308 sound/oss/swarm_cs4297a.c | 6 +-
4309 sound/pci/als300.c | 2 +-
4310 sound/pci/aw2/aw2-alsa.c | 2 -
4311 sound/pci/aw2/aw2-saa7146.c | 4 +-
4312 sound/pci/ctxfi/ctamixer.c | 14 +-
4313 sound/pci/ctxfi/ctamixer.h | 8 +-
4314 sound/pci/ctxfi/ctatc.c | 20 +-
4315 sound/pci/ctxfi/ctdaio.c | 6 +-
4316 sound/pci/ctxfi/ctdaio.h | 4 +-
4317 sound/pci/ctxfi/ctsrc.c | 13 +-
4318 sound/pci/ctxfi/ctsrc.h | 8 +-
4319 sound/pci/hda/hda_codec.c | 2 +-
4320 sound/pci/ymfpci/ymfpci.h | 2 +-
4321 sound/pci/ymfpci/ymfpci_main.c | 12 +-
4322 sound/soc/codecs/cx20442.c | 8 +-
4323 sound/soc/codecs/sti-sas.c | 10 +-
4324 sound/soc/codecs/tlv320dac33.c | 7 +-
4325 sound/soc/codecs/uda1380.c | 7 +-
4326 sound/soc/intel/skylake/skl-sst-dsp.h | 4 +-
4327 sound/soc/soc-ac97.c | 6 +-
4328 sound/soc/xtensa/xtfpga-i2s.c | 2 +-
4329 tools/gcc/Makefile | 46 +
4330 tools/gcc/checker_plugin.c | 496 +
4331 tools/gcc/colorize_plugin.c | 162 +
4332 tools/gcc/constify_plugin.c | 521 +
4333 tools/gcc/gcc-common.h | 858 +
4334 tools/gcc/gcc-generate-gimple-pass.h | 175 +
4335 tools/gcc/gcc-generate-ipa-pass.h | 289 +
4336 tools/gcc/gcc-generate-rtl-pass.h | 175 +
4337 tools/gcc/gcc-generate-simple_ipa-pass.h | 175 +
4338 tools/gcc/initify_plugin.c | 536 +
4339 tools/gcc/kallocstat_plugin.c | 135 +
4340 tools/gcc/kernexec_plugin.c | 407 +
4341 tools/gcc/latent_entropy_plugin.c | 422 +
4342 tools/gcc/randomize_layout_seed.h | 1 +
4343 tools/gcc/rap_plugin/Makefile | 4 +
4344 tools/gcc/rap_plugin/rap.h | 36 +
4345 tools/gcc/rap_plugin/rap_fptr_pass.c | 220 +
4346 tools/gcc/rap_plugin/rap_hash.c | 381 +
4347 tools/gcc/rap_plugin/rap_plugin.c | 477 +
4348 tools/gcc/rap_plugin/sip.c | 96 +
4349 tools/gcc/size_overflow_plugin/.gitignore | 3 +
4350 tools/gcc/size_overflow_plugin/Makefile | 28 +
4351 .../disable_size_overflow_hash.data | 12440 +++++++++++
4352 .../generate_size_overflow_hash.sh | 103 +
4353 .../insert_size_overflow_asm.c | 369 +
4354 .../size_overflow_plugin/intentional_overflow.c | 1118 +
4355 .../size_overflow_plugin/remove_unnecessary_dup.c | 137 +
4356 tools/gcc/size_overflow_plugin/size_overflow.h | 329 +
4357 .../gcc/size_overflow_plugin/size_overflow_debug.c | 194 +
4358 .../size_overflow_plugin/size_overflow_hash.data | 21508 +++++++++++++++++++
4359 .../size_overflow_hash_aux.data | 92 +
4360 tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 1163 +
4361 .../gcc/size_overflow_plugin/size_overflow_misc.c | 505 +
4362 .../size_overflow_plugin/size_overflow_plugin.c | 290 +
4363 .../size_overflow_plugin_hash.c | 352 +
4364 .../size_overflow_plugin/size_overflow_transform.c | 745 +
4365 .../size_overflow_transform_core.c | 1015 +
4366 tools/gcc/stackleak_plugin.c | 350 +
4367 tools/gcc/structleak_plugin.c | 239 +
4368 tools/include/linux/compiler.h | 8 +
4369 tools/perf/util/include/asm/alternative-asm.h | 3 +
4370 tools/virtio/linux/uaccess.h | 2 +-
4371 virt/kvm/kvm_main.c | 42 +-
4372 2639 files changed, 76327 insertions(+), 13888 deletions(-)
4373 commit 5988c8dba8a5da45e35d71f4a8fec34c267258c5
4374 Author: Brad Spengler <spender@grsecurity.net>
4375 Date: Mon Apr 25 20:40:53 2016 -0400
4376
4377 Fix DoS in n_tty_receive_buf_common reported by marcan at:
4378 https://forums.grsecurity.net/viewtopic.php?t=4342&p=16222
4379 and via lengthy diatribe on Twitter:
4380 https://twitter.com/marcan42/status/724740708104474626
4381 https://twitter.com/marcan42/status/724740985146609664
4382 https://twitter.com/marcan42/status/724741270325760000
4383 https://twitter.com/marcan42/status/724742465199050752
4384 https://twitter.com/marcan42/status/724745886794833920
4385 https://twitter.com/marcan42/status/724749571495075840
4386 https://twitter.com/marcan42/status/724746427285409796
4387 https://twitter.com/marcan42/status/724743150263095296
4388 https://twitter.com/marcan42/status/724757473433808896
4389
4390 Fix it correctly instead of using the incorrect fix suggested
4391 by marcan (aka "try reading the code next time")
4392 The original code was meant to fix an integer truncation issue
4393 that would also have caused a SIZE_OVERFLOW "DoS".
4394
4395 drivers/tty/n_tty.c | 9 +++++----
4396 1 file changed, 5 insertions(+), 4 deletions(-)
4397
4398 commit 5459ff57d8987389fa17d5d6f55b70a789347c2f
4399 Author: Brad Spengler <spender@grsecurity.net>
4400 Date: Mon Apr 25 19:52:33 2016 -0400
4401
4402 Avoid overflow in environ_read() caught by SIZE_OVERFLOW,
4403 reported by jotik at:
4404 https://forums.grsecurity.net/viewtopic.php?t=4363&p=16217
4405 patch from Mathias Krause
4406
4407 fs/proc/base.c | 2 +-
4408 1 file changed, 1 insertion(+), 1 deletion(-)
4409
4410 commit 24a5c92e147af1e739e9eeca020c61ad2674e784
4411 Author: Jiri Benc <jbenc@redhat.com>
4412 Date: Fri Apr 22 13:09:13 2016 +0200
4413
4414 cxgbi: fix uninitialized flowi6
4415
4416 ip6_route_output looks into different fields in the passed flowi6 structure,
4417 yet cxgbi passes garbage in nearly all those fields. Zero the structure out
4418 first.
4419
4420 Fixes: fc8d0590d9142 ("libcxgbi: Add ipv6 api to driver")
4421 Signed-off-by: Jiri Benc <jbenc@redhat.com>
4422 Signed-off-by: David S. Miller <davem@davemloft.net>
4423
4424 drivers/scsi/cxgbi/libcxgbi.c | 1 +
4425 1 file changed, 1 insertion(+)
4426
4427 commit ec65caa32652841a5be21d6e73146921af16d7a8
4428 Author: Brad Spengler <spender@grsecurity.net>
4429 Date: Wed Apr 20 20:59:43 2016 -0400
4430
4431 Make /proc/sched_debug only readable by root, mentioned in
4432 recent NCC Group paper on Linux containers
4433
4434 kernel/sched/debug.c | 4 ++++
4435 1 file changed, 4 insertions(+)
4436
4437 commit 7957d30730bb26a4aef54ab484dc3b4108f1fdb1
4438 Merge: 463149f ff26083
4439 Author: Brad Spengler <spender@grsecurity.net>
4440 Date: Wed Apr 20 17:55:53 2016 -0400
4441
4442 Merge branch 'pax-test' into grsec-test
4443
4444 commit ff260839e610d2bc1b0c579edd7deb0028198f01
4445 Author: Brad Spengler <spender@grsecurity.net>
4446 Date: Wed Apr 20 17:55:24 2016 -0400
4447
4448 Update to pax-linux-4.4.8-test14.patch:
4449 - Emese fixed some CodingStyle issues in the latent entropy plugin
4450 - fixed some build problems on mips, reported by Steve Arnold (https://bugs.gentoo.org/show_bug.cgi?id=578394)
4451
4452 arch/mips/include/asm/cache.h | 3 ++-
4453 arch/mips/lib/ashldi3.c | 21 ++++++++++++++-------
4454 arch/mips/lib/ashrdi3.c | 19 +++++++++++++------
4455 arch/mips/lib/libgcc.h | 12 +++++++++---
4456 drivers/idle/intel_idle.c | 6 ++++--
4457 tools/gcc/latent_entropy_plugin.c | 29 +++++++++++++++--------------
4458 6 files changed, 57 insertions(+), 33 deletions(-)
4459
4460 commit 463149f47a64db4b26a13009f83ed73d393a209c
4461 Author: Xiaodong Liu <xiaodong.liu@intel.com>
4462 Date: Tue Apr 12 09:45:51 2016 +0000
4463
4464 crypto: sha1-mb - use corrcet pointer while completing jobs
4465
4466 In sha_complete_job, incorrect mcryptd_hash_request_ctx pointer is used
4467 when check and complete other jobs. If the memory of first completed req
4468 is freed, while still completing other jobs in the func, kernel will
4469 crash since NULL pointer is assigned to RIP.
4470
4471 Cc: <stable@vger.kernel.org>
4472 Signed-off-by: Xiaodong Liu <xiaodong.liu@intel.com>
4473 Acked-by: Tim Chen <tim.c.chen@linux.intel.com>
4474 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
4475
4476 arch/x86/crypto/sha-mb/sha1_mb.c | 4 ++--
4477 1 file changed, 2 insertions(+), 2 deletions(-)
4478
4479 commit b4e6484e67b917afb77478cab1260f41dbbc92fc
4480 Author: Tom Lendacky <thomas.lendacky@amd.com>
4481 Date: Wed Apr 13 10:52:25 2016 -0500
4482
4483 crypto: ccp - Prevent information leakage on export
4484
4485 Prevent information from leaking to userspace by doing a memset to 0 of
4486 the export state structure before setting the structure values and copying
4487 it. This prevents un-initialized padding areas from being copied into the
4488 export area.
4489
4490 Cc: <stable@vger.kernel.org> # 3.14.x-
4491 Reported-by: Ben Hutchings <ben@decadent.org.uk>
4492 Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
4493 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
4494
4495 drivers/crypto/ccp/ccp-crypto-aes-cmac.c | 3 +++
4496 drivers/crypto/ccp/ccp-crypto-sha.c | 3 +++
4497 2 files changed, 6 insertions(+)
4498
4499 commit 7d7e961d3f4e4614b22518d8e410e6cf4108f1b0
4500 Author: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
4501 Date: Mon Apr 18 14:33:54 2016 +0300
4502
4503 net/mlx4_en: allocate non 0-order pages for RX ring with __GFP_NOMEMALLOC
4504
4505 High order pages are optional here since commit 51151a16a60f ("mlx4: allow
4506 order-0 memory allocations in RX path"), so here is no reason for depleting
4507 reserves. Generic __netdev_alloc_frag() implements the same logic.
4508
4509 Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
4510 Acked-by: Eric Dumazet <edumazet@google.com>
4511 Signed-off-by: David S. Miller <davem@davemloft.net>
4512
4513 drivers/net/ethernet/mellanox/mlx4/en_rx.c | 2 +-
4514 1 file changed, 1 insertion(+), 1 deletion(-)
4515
4516 commit 6b80edde2edc7fd055f9be8ec42b88abbe328639
4517 Author: Ignat Korchagin <ignat.korchagin@gmail.com>
4518 Date: Thu Mar 17 18:00:29 2016 +0000
4519
4520 USB: usbip: fix potential out-of-bounds write
4521
4522 Fix potential out-of-bounds write to urb->transfer_buffer
4523 usbip handles network communication directly in the kernel. When receiving a
4524 packet from its peer, usbip code parses headers according to protocol. As
4525 part of this parsing urb->actual_length is filled. Since the input for
4526 urb->actual_length comes from the network, it should be treated as untrusted.
4527 Any entity controlling the network may put any value in the input and the
4528 preallocated urb->transfer_buffer may not be large enough to hold the data.
4529 Thus, the malicious entity is able to write arbitrary data to kernel memory.
4530
4531 Signed-off-by: Ignat Korchagin <ignat.korchagin@gmail.com>
4532 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
4533
4534 drivers/usb/usbip/usbip_common.c | 11 +++++++++++
4535 1 file changed, 11 insertions(+)
4536
4537 commit 0ce101ec9e74c2cfcd28cbcd18b0626e3d9a2482
4538 Merge: d60a24d f5fe5fd
4539 Author: Brad Spengler <spender@grsecurity.net>
4540 Date: Wed Apr 20 17:35:58 2016 -0400
4541
4542 Merge branch 'pax-test' into grsec-test
4543
4544 commit f5fe5fddf49f1b81a2a3bb43b1e0a8c087aba438
4545 Merge: a107ba2 8c9aef0
4546 Author: Brad Spengler <spender@grsecurity.net>
4547 Date: Wed Apr 20 17:35:29 2016 -0400
4548
4549 Merge branch 'linux-4.4.y' into pax-test
4550
4551 commit d60a24d6e4f61072d0bd1dc12be1177181fa8c2b
4552 Author: Brad Spengler <spender@grsecurity.net>
4553 Date: Mon Apr 18 17:48:10 2016 -0400
4554
4555 fix cast for constify change, reported by pipacs
4556
4557 drivers/idle/intel_idle.c | 4 ++--
4558 1 file changed, 2 insertions(+), 2 deletions(-)
4559
4560 commit 1d376287aeba7a53c91d5ee49ef0a11d02193964
4561 Author: Brad Spengler <spender@grsecurity.net>
4562 Date: Fri Apr 15 21:31:07 2016 -0400
4563
4564 Use proper type for function pointer
4565
4566 drivers/gpu/drm/gma500/mdfld_dsi_output.c | 6 +++---
4567 1 file changed, 3 insertions(+), 3 deletions(-)
4568
4569 commit 0a4104a2fa32904102fac07245426d78a1e9dfab
4570 Author: Brad Spengler <spender@grsecurity.net>
4571 Date: Fri Apr 15 21:24:04 2016 -0400
4572
4573 Fix skylake cstates compat with constify
4574
4575 drivers/idle/intel_idle.c | 6 ++++--
4576 1 file changed, 4 insertions(+), 2 deletions(-)
4577
4578 commit f433f8fd372253c9e78e307afe5b800c5ab0ea61
4579 Author: Brad Spengler <spender@grsecurity.net>
4580 Date: Fri Apr 15 21:10:44 2016 -0400
4581
4582 Update size_overflow hash table
4583
4584 tools/gcc/size_overflow_plugin/size_overflow_hash.data | 3 ++-
4585 1 file changed, 2 insertions(+), 1 deletion(-)
4586
4587 commit ef7804da81cb3c6b6a4c985a3c14ee230a03f26a
4588 Author: Brad Spengler <spender@grsecurity.net>
4589 Date: Fri Apr 15 20:52:37 2016 -0400
4590
4591 compile fix
4592
4593 fs/coredump.c | 3 ---
4594 1 file changed, 3 deletions(-)
4595
4596 commit 967224da52bd98d078b1237aea5ec9e622238fba
4597 Merge: 92771d6 a107ba2
4598 Author: Brad Spengler <spender@grsecurity.net>
4599 Date: Fri Apr 15 20:30:23 2016 -0400
4600
4601 Merge branch 'pax-test' into grsec-test
4602
4603 commit a107ba25214d9694eb836fb04c782ad694977b91
4604 Merge: 4d8fc00 b40108b
4605 Author: Brad Spengler <spender@grsecurity.net>
4606 Date: Fri Apr 15 20:18:26 2016 -0400
4607
4608 Merge branch 'linux-4.4.y' into pax-test
4609
4610 commit 92771d60677d68e8f6ea7a91ff34dd6e24b6d4cf
4611 Author: Brad Spengler <spender@grsecurity.net>
4612 Date: Sun Apr 10 07:18:03 2016 -0400
4613
4614 From: Mathias Krause <minipli@googlemail.com>
4615 To: "David S. Miller" <davem@davemloft.net>
4616 Cc: netdev@vger.kernel.org, "Eric W. Biederman" <ebiederm@xmission.com>, Pavel
4617 Emelyanov <xemul@parallels.com>
4618 Subject: [PATCH net] packet: fix heap info leak in PACKET_DIAG_MCLIST sock_diag
4619 interface
4620
4621 Because we miss to wipe the remainder of i->addr[] in packet_mc_add(),
4622 pdiag_put_mclist() leaks uninitialized heap bytes via the
4623 PACKET_DIAG_MCLIST netlink attribute.
4624
4625 Fix this by explicitly memset(0)ing the remaining bytes in i->addr[].
4626
4627 Fixes: eea68e2f1a00 ("packet: Report socket mclist info via diag module")
4628 Signed-off-by: Mathias Krause <minipli@googlemail.com>
4629 Cc: Eric W. Biederman <ebiederm@xmission.com>
4630 Cc: Pavel Emelyanov <xemul@parallels.com>
4631 ---
4632 The bug itself precedes commit eea68e2f1a00 but the list wasn't exposed
4633 to userland before the introduction of the packet_diag interface.
4634 Therefore the "Fixes:" line on that commit.
4635
4636 net/packet/af_packet.c | 1 +
4637 1 file changed, 1 insertion(+)
4638
4639 commit 4286ce3f9e9db4d68870af46ae1d5f9b90b920dd
4640 Author: Jakub Sitnicki <jkbs@redhat.com>
4641 Date: Tue Apr 5 18:41:08 2016 +0200
4642
4643 ipv6: Count in extension headers in skb->network_header
4644
4645 When sending a UDPv6 message longer than MTU, account for the length
4646 of fragmentable IPv6 extension headers in skb->network_header offset.
4647 Same as we do in alloc_new_skb path in __ip6_append_data().
4648
4649 This ensures that later on __ip6_make_skb() will make space in
4650 headroom for fragmentable extension headers:
4651
4652 /* move skb->data to ip header from ext header */
4653 if (skb->data < skb_network_header(skb))
4654 __skb_pull(skb, skb_network_offset(skb));
4655
4656 Prevents a splat due to skb_under_panic:
4657
4658 skbuff: skb_under_panic: text:ffffffff8143397b len:2126 put:14 \
4659 head:ffff880005bacf50 data:ffff880005bacf4a tail:0x48 end:0xc0 dev:lo
4660 ------------[ cut here ]------------
4661 kernel BUG at net/core/skbuff.c:104!
4662 invalid opcode: 0000 [#1] KASAN
4663 CPU: 0 PID: 160 Comm: reproducer Not tainted 4.6.0-rc2 #65
4664 [...]
4665 Call Trace:
4666 [<ffffffff813eb7b9>] skb_push+0x79/0x80
4667 [<ffffffff8143397b>] eth_header+0x2b/0x100
4668 [<ffffffff8141e0d0>] neigh_resolve_output+0x210/0x310
4669 [<ffffffff814eab77>] ip6_finish_output2+0x4a7/0x7c0
4670 [<ffffffff814efe3a>] ip6_output+0x16a/0x280
4671 [<ffffffff815440c1>] ip6_local_out+0xb1/0xf0
4672 [<ffffffff814f1115>] ip6_send_skb+0x45/0xd0
4673 [<ffffffff81518836>] udp_v6_send_skb+0x246/0x5d0
4674 [<ffffffff8151985e>] udpv6_sendmsg+0xa6e/0x1090
4675 [...]
4676
4677 Reported-by: Ji Jianwen <jiji@redhat.com>
4678 Signed-off-by: Jakub Sitnicki <jkbs@redhat.com>
4679 Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
4680 Signed-off-by: David S. Miller <davem@davemloft.net>
4681
4682 net/ipv6/ip6_output.c | 8 ++++----
4683 1 file changed, 4 insertions(+), 4 deletions(-)
4684
4685 commit 638dad49a9ba3d86f627adb58b2f4636ed253685
4686 Author: Thadeu Lima de Souza Cascardo <cascardo@redhat.com>
4687 Date: Fri Apr 1 17:17:50 2016 -0300
4688
4689 ip6_tunnel: set rtnl_link_ops before calling register_netdevice
4690
4691 When creating an ip6tnl tunnel with ip tunnel, rtnl_link_ops is not set
4692 before ip6_tnl_create2 is called. When register_netdevice is called, there
4693 is no linkinfo attribute in the NEWLINK message because of that.
4694
4695 Setting rtnl_link_ops before calling register_netdevice fixes that.
4696
4697 Fixes: 0b112457229d ("ip6tnl: add support of link creation via rtnl")
4698 Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com>
4699 Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
4700 Signed-off-by: David S. Miller <davem@davemloft.net>
4701
4702 net/ipv6/ip6_tunnel.c | 2 +-
4703 1 file changed, 1 insertion(+), 1 deletion(-)
4704
4705 commit 14146a0bfaf2ced0055fe549c8fa0941c61e2457
4706 Author: Brad Spengler <spender@grsecurity.net>
4707 Date: Tue Apr 5 21:12:44 2016 -0400
4708
4709 Code cleanups to RANDSTRUCT based on feedback from the PaX Team
4710
4711 tools/gcc/randomize_layout_plugin.c | 18 ++++++++++++------
4712 1 file changed, 12 insertions(+), 6 deletions(-)
4713
4714 commit 3f7dea5e59b0bb34f6bdb628c87251f0105b3d57
4715 Author: Brad Spengler <spender@grsecurity.net>
4716 Date: Sun Apr 3 20:10:10 2016 -0400
4717
4718 Fix RANDSTRUCT support on ARM
4719
4720 tools/gcc/randomize_layout_plugin.c | 54 +++++++++++++++++++++++++++++++++++--
4721 1 file changed, 52 insertions(+), 2 deletions(-)
4722
4723 commit bd893a75ab49f6ea5a216eb334471507337118ba
4724 Merge: 87b7f1d 4d8fc00
4725 Author: Brad Spengler <spender@grsecurity.net>
4726 Date: Sat Apr 2 11:54:20 2016 -0400
4727
4728 Merge branch 'pax-test' into grsec-test
4729
4730 commit 4d8fc00c0066b1921e233123b346efe6ffb27691
4731 Author: Brad Spengler <spender@grsecurity.net>
4732 Date: Sat Apr 2 11:53:53 2016 -0400
4733
4734 Update to pax-linux-4.4.6-test13.patch:
4735 - fixed a REFCOUNT related compile regression on mips, reported by Steve Arnold (https://bugs.gentoo.org/show_bug.cgi?id=578394)
4736 - 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)
4737
4738 arch/mips/include/asm/atomic.h | 4 ----
4739 tools/gcc/size_overflow_plugin/disable_size_overflow_hash.data | 1 +
4740 tools/gcc/size_overflow_plugin/size_overflow_hash.data | 1 -
4741 3 files changed, 1 insertion(+), 5 deletions(-)
4742
4743 commit 87b7f1d200023ba826b9d552834a2ee85e67526c
4744 Merge: 3335266 3abdad0
4745 Author: Brad Spengler <spender@grsecurity.net>
4746 Date: Sat Apr 2 11:19:17 2016 -0400
4747
4748 Merge branch 'pax-test' into grsec-test
4749
4750 commit 3abdad0c3b436c076c88289f07a250b811d6f79d
4751 Author: Brad Spengler <spender@grsecurity.net>
4752 Date: Sat Apr 2 11:12:56 2016 -0400
4753
4754 Update to pax-linux-4.4.6-test12.patch:
4755 - fixed vmalloc_fault on i386/PAE to use the correct percpu userland pgd table/entry
4756 - fixed a size overflow false positive report in pptp, reported by Pinkbyte (https://forums.grsecurity.net/viewtopic.php?f=3&t=4437)
4757 - fixed a size overflow false positive report in tbf_segment, reported by audiocricket (https://forums.grsecurity.net/viewtopic.php?f=3&t=4438)
4758 - Emese fixed the x86 vdso32 CFLAGS to omit the gcc plugins
4759 - Emese simplified the gcc plugin related make rules, suggested by Masahiro Yamada
4760 - André Fabian Silva Delgado fixed a compile regression on arm, reported by coadde (https://forums.grsecurity.net/viewtopic.php?f=3&t=4435)
4761 - fixed an integer sign conversion error in nfs_super_set_maxbytes caught by the size overflow plugin, reported by Alexey Dvoichenkov <xale@hyperplane.net>
4762 - fixed a size overflow false positive in squashfs, reported by Mathias Krause <minipli@ld-linux.so>
4763 - fixed a size overflow false positive in xfrm6_transport_output, reported by marcan (https://forums.grsecurity.net/viewtopic.php?f=3&t=4426)
4764 - fixed an integer truncation bug in elf_kcore_store_hdr caught by the size overflow plugin
4765 - fixed a gratuitous userland dereference in the amd64 stack walker
4766 - added latent entropy gathering to a few more functions
4767 - constified a few smp_hotplug_thread instances
4768
4769 arch/x86/entry/vdso/Makefile | 1 +
4770 arch/x86/include/asm/cpufeature.h | 1 -
4771 arch/x86/kernel/dumpstack_64.c | 17 ++++++-----------
4772 arch/x86/kernel/head_32.S | 6 +++---
4773 arch/x86/mm/fault.c | 2 +-
4774 drivers/iommu/arm-smmu.c | 2 +-
4775 drivers/net/ppp/pptp.c | 1 +
4776 drivers/staging/rdma/ehca/ehca_irq.c | 2 +-
4777 fs/nfs/internal.h | 5 +++--
4778 fs/proc/kcore.c | 2 +-
4779 kernel/module.c | 6 +++---
4780 kernel/rcu/tree.c | 2 +-
4781 kernel/softirq.c | 2 +-
4782 kernel/stop_machine.c | 2 +-
4783 net/ipv6/xfrm6_mode_transport.c | 2 +-
4784 net/sched/sch_tbf.c | 9 ++++++---
4785 scripts/Makefile.gcc-plugins | 13 +++----------
4786 scripts/Makefile.host | 3 +--
4787 .../disable_size_overflow_hash.data | 4 +++-
4788 tools/gcc/size_overflow_plugin/size_overflow_hash.data | 6 ++----
4789 20 files changed, 40 insertions(+), 48 deletions(-)
4790
4791 commit 3335266d5bec9bc01580736c0a7026ed96cf25e5
4792 Author: Mika Penttilä <mika.penttila@nextfour.com>
4793 Date: Mon Feb 22 17:56:52 2016 +0100
4794
4795 ARM: 8544/1: set_memory_xx fixes
4796
4797 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.
4798
4799 Signed-off-by: Mika Penttilä mika.penttila@nextfour.com
4800 Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
4801
4802 arch/arm/mm/pageattr.c | 3 +++
4803 1 file changed, 3 insertions(+)
4804
4805 commit d6d6499b22c0e5593a16f41c516041b23fbf9eeb
4806 Author: Josh Boyer <jwboyer@fedoraproject.org>
4807 Date: Mon Mar 14 10:42:38 2016 -0400
4808
4809 USB: iowarrior: fix oops with malicious USB descriptors
4810
4811 The iowarrior driver expects at least one valid endpoint. If given
4812 malicious descriptors that specify 0 for the number of endpoints,
4813 it will crash in the probe function. Ensure there is at least
4814 one endpoint on the interface before using it.
4815
4816 The full report of this issue can be found here:
4817 http://seclists.org/bugtraq/2016/Mar/87
4818
4819 Reported-by: Ralf Spenneberg <ralf@spenneberg.net>
4820 Cc: stable <stable@vger.kernel.org>
4821 Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
4822 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
4823
4824 drivers/usb/misc/iowarrior.c | 6 ++++++
4825 1 file changed, 6 insertions(+)
4826
4827 commit 79a1fb47ab1245e81040bcd45b3e44e65d282684
4828 Author: Oliver Neukum <oneukum@suse.com>
4829 Date: Tue Mar 15 10:14:04 2016 +0100
4830
4831 USB: cdc-acm: more sanity checking
4832
4833 An attack has become available which pretends to be a quirky
4834 device circumventing normal sanity checks and crashes the kernel
4835 by an insufficient number of interfaces. This patch adds a check
4836 to the code path for quirky devices.
4837
4838 Signed-off-by: Oliver Neukum <ONeukum@suse.com>
4839 CC: stable@vger.kernel.org
4840 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
4841
4842 drivers/usb/class/cdc-acm.c | 3 +++
4843 1 file changed, 3 insertions(+)
4844
4845 commit 6ee21acdf0da6602671cb50edeca0abfba3955f7
4846 Author: Oliver Neukum <oneukum@suse.com>
4847 Date: Wed Mar 16 13:26:17 2016 +0100
4848
4849 USB: usb_driver_claim_interface: add sanity checking
4850
4851 Attacks that trick drivers into passing a NULL pointer
4852 to usb_driver_claim_interface() using forged descriptors are
4853 known. This thwarts them by sanity checking.
4854
4855 Signed-off-by: Oliver Neukum <ONeukum@suse.com>
4856 CC: stable@vger.kernel.org
4857 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
4858
4859 drivers/usb/core/driver.c | 6 +++++-
4860 1 file changed, 5 insertions(+), 1 deletion(-)
4861
4862 commit 44247834ddab762509eaaf5c742e15bfadcd9d94
4863 Author: Paolo Bonzini <pbonzini@redhat.com>
4864 Date: Mon Mar 21 10:15:25 2016 +0100
4865
4866 KVM: fix spin_lock_init order on x86
4867
4868 Moving the initialization earlier is needed in 4.6 because
4869 kvm_arch_init_vm is now using mmu_lock, causing lockdep to
4870 complain:
4871
4872 [ 284.440294] INFO: trying to register non-static key.
4873 [ 284.445259] the code is fine but needs lockdep annotation.
4874 [ 284.450736] turning off the locking correctness validator.
4875 ...
4876 [ 284.528318] [<ffffffff810aecc3>] lock_acquire+0xd3/0x240
4877 [ 284.533733] [<ffffffffa0305aa0>] ? kvm_page_track_register_notifier+0x20/0x60 [kvm]
4878 [ 284.541467] [<ffffffff81715581>] _raw_spin_lock+0x41/0x80
4879 [ 284.546960] [<ffffffffa0305aa0>] ? kvm_page_track_register_notifier+0x20/0x60 [kvm]
4880 [ 284.554707] [<ffffffffa0305aa0>] kvm_page_track_register_notifier+0x20/0x60 [kvm]
4881 [ 284.562281] [<ffffffffa02ece70>] kvm_mmu_init_vm+0x20/0x30 [kvm]
4882 [ 284.568381] [<ffffffffa02dbf7a>] kvm_arch_init_vm+0x1ea/0x200 [kvm]
4883 [ 284.574740] [<ffffffffa02bff3f>] kvm_dev_ioctl+0xbf/0x4d0 [kvm]
4884
4885 However, it also helps fixing a preexisting problem, which is why this
4886 patch is also good for stable kernels: kvm_create_vm was incrementing
4887 current->mm->mm_count but not decrementing it at the out_err label (in
4888 case kvm_init_mmu_notifier failed). The new initialization order makes
4889 it possible to add the required mmdrop without adding a new error label.
4890
4891 Cc: stable@vger.kernel.org
4892 Reported-by: Borislav Petkov <bp@alien8.de>
4893 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
4894
4895 virt/kvm/kvm_main.c | 21 +++++++++++----------
4896 1 file changed, 11 insertions(+), 10 deletions(-)
4897
4898 commit 9d0cf281d74a9fe490f3ba5ca3d0e57eac066e1c
4899 Author: Paolo Bonzini <pbonzini@redhat.com>
4900 Date: Fri Mar 18 16:53:42 2016 +0100
4901
4902 KVM: VMX: avoid guest hang on invalid invvpid instruction
4903
4904 A guest executing an invalid invvpid instruction would hang
4905 because the instruction pointer was not updated.
4906
4907 Reported-by: jmontleo@redhat.com
4908 Tested-by: jmontleo@redhat.com
4909 Cc: stable@vger.kernel.org
4910 Fixes: 99b83ac893b84ed1a62ad6d1f2b6cc32026b9e85
4911 Reviewed-by: David Matlack <dmatlack@google.com>
4912 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
4913
4914 arch/x86/kvm/vmx.c | 1 +
4915 1 file changed, 1 insertion(+)
4916
4917 commit 602caaece277e5e21ae43771398bbf7778061beb
4918 Author: Paolo Bonzini <pbonzini@redhat.com>
4919 Date: Fri Mar 18 16:53:29 2016 +0100
4920
4921 KVM: VMX: avoid guest hang on invalid invept instruction
4922
4923 A guest executing an invalid invept instruction would hang
4924 because the instruction pointer was not updated.
4925
4926 Cc: stable@vger.kernel.org
4927 Fixes: bfd0a56b90005f8c8a004baf407ad90045c2b11e
4928 Reviewed-by: David Matlack <dmatlack@google.com>
4929 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
4930
4931 arch/x86/kvm/vmx.c | 1 +
4932 1 file changed, 1 insertion(+)
4933
4934 commit 3309ac82d6596de8abc6ea51dd0a942416da1cc1
4935 Author: Jann Horn <jann@thejh.net>
4936 Date: Tue Mar 22 14:25:36 2016 -0700
4937
4938 fs/coredump: prevent fsuid=0 dumps into user-controlled directories
4939
4940 This commit fixes the following security hole affecting systems where
4941 all of the following conditions are fulfilled:
4942
4943 - The fs.suid_dumpable sysctl is set to 2.
4944 - The kernel.core_pattern sysctl's value starts with "/". (Systems
4945 where kernel.core_pattern starts with "|/" are not affected.)
4946 - Unprivileged user namespace creation is permitted. (This is
4947 true on Linux >=3.8, but some distributions disallow it by
4948 default using a distro patch.)
4949
4950 Under these conditions, if a program executes under secure exec rules,
4951 causing it to run with the SUID_DUMP_ROOT flag, then unshares its user
4952 namespace, changes its root directory and crashes, the coredump will be
4953 written using fsuid=0 and a path derived from kernel.core_pattern - but
4954 this path is interpreted relative to the root directory of the process,
4955 allowing the attacker to control where a coredump will be written with
4956 root privileges.
4957
4958 To fix the security issue, always interpret core_pattern for dumps that
4959 are written under SUID_DUMP_ROOT relative to the root directory of init.
4960
4961 Signed-off-by: Jann Horn <jann@thejh.net>
4962 Acked-by: Kees Cook <keescook@chromium.org>
4963 Cc: Al Viro <viro@zeniv.linux.org.uk>
4964 Cc: "Eric W. Biederman" <ebiederm@xmission.com>
4965 Cc: Andy Lutomirski <luto@kernel.org>
4966 Cc: Oleg Nesterov <oleg@redhat.com>
4967 Cc: <stable@vger.kernel.org>
4968 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
4969 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
4970
4971 arch/um/drivers/mconsole_kern.c | 2 +-
4972 fs/coredump.c | 31 +++++++++++++++++++++++++++----
4973 fs/fhandle.c | 2 +-
4974 fs/open.c | 6 ++----
4975 include/linux/fs.h | 2 +-
4976 kernel/sysctl_binary.c | 2 +-
4977 6 files changed, 33 insertions(+), 12 deletions(-)
4978
4979 commit a7c8d3c91a3e50d0873942f09afbb5071382d5e7
4980 Author: Takashi Iwai <tiwai@suse.de>
4981 Date: Fri Apr 1 12:28:16 2016 +0200
4982
4983 ALSA: timer: Use mod_timer() for rearming the system timer
4984
4985 ALSA system timer backend stops the timer via del_timer() without sync
4986 and leaves del_timer_sync() at the close instead. This is because of
4987 the restriction by the design of ALSA timer: namely, the stop callback
4988 may be called from the timer handler, and calling the sync shall lead
4989 to a hangup. However, this also triggers a kernel BUG() when the
4990 timer is rearmed immediately after stopping without sync:
4991 kernel BUG at kernel/time/timer.c:966!
4992 Call Trace:
4993 <IRQ>
4994 [<ffffffff8239c94e>] snd_timer_s_start+0x13e/0x1a0
4995 [<ffffffff8239e1f4>] snd_timer_interrupt+0x504/0xec0
4996 [<ffffffff8122fca0>] ? debug_check_no_locks_freed+0x290/0x290
4997 [<ffffffff8239ec64>] snd_timer_s_function+0xb4/0x120
4998 [<ffffffff81296b72>] call_timer_fn+0x162/0x520
4999 [<ffffffff81296add>] ? call_timer_fn+0xcd/0x520
5000 [<ffffffff8239ebb0>] ? snd_timer_interrupt+0xec0/0xec0
5001 ....
5002
5003 It's the place where add_timer() checks the pending timer. It's clear
5004 that this may happen after the immediate restart without sync in our
5005 cases.
5006
5007 So, the workaround here is just to use mod_timer() instead of
5008 add_timer(). This looks like a band-aid fix, but it's a right move,
5009 as snd_timer_interrupt() takes care of the continuous rearm of timer.
5010
5011 Reported-by: Jiri Slaby <jslaby@suse.cz>
5012 Cc: <stable@vger.kernel.org>
5013 Signed-off-by: Takashi Iwai <tiwai@suse.de>
5014
5015 sound/core/timer.c | 4 ++--
5016 1 file changed, 2 insertions(+), 2 deletions(-)
5017
5018 commit 2de05c5fc90b461d78a54a7240b664a068844c8c
5019 Author: Daniel Vetter <daniel.vetter@ffwll.ch>
5020 Date: Wed Mar 30 11:40:43 2016 +0200
5021
5022 drm/udl: Use unlocked gem unreferencing
5023
5024 For drm_gem_object_unreference callers are required to hold
5025 dev->struct_mutex, which these paths don't. Enforcing this requirement
5026 has become a bit more strict with
5027
5028 commit ef4c6270bf2867e2f8032e9614d1a8cfc6c71663
5029 Author: Daniel Vetter <daniel.vetter@ffwll.ch>
5030 Date: Thu Oct 15 09:36:25 2015 +0200
5031
5032 drm/gem: Check locking in drm_gem_object_unreference
5033
5034 Cc: stable@vger.kernel.org
5035 Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
5036 Signed-off-by: Dave Airlie <airlied@redhat.com>
5037
5038 drivers/gpu/drm/udl/udl_fb.c | 2 +-
5039 drivers/gpu/drm/udl/udl_gem.c | 2 +-
5040 2 files changed, 2 insertions(+), 2 deletions(-)
5041
5042 commit c8153b6b1731b8fee33966dd8d148643240f1dc0
5043 Author: Jan Kara <jack@suse.com>
5044 Date: Mon Dec 7 14:34:49 2015 -0500
5045
5046 ext4: fix races of writeback with punch hole and zero range
5047
5048 When doing delayed allocation, update of on-disk inode size is postponed
5049 until IO submission time. However hole punch or zero range fallocate
5050 calls can end up discarding the tail page cache page and thus on-disk
5051 inode size would never be properly updated.
5052
5053 Make sure the on-disk inode size is updated before truncating page
5054 cache.
5055
5056 Signed-off-by: Jan Kara <jack@suse.com>
5057 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
5058
5059 fs/ext4/ext4.h | 3 +++
5060 fs/ext4/extents.c | 5 +++++
5061 fs/ext4/inode.c | 35 ++++++++++++++++++++++++++++++++++-
5062 3 files changed, 42 insertions(+), 1 deletion(-)
5063
5064 commit d64beb441579f2667e99eb9d4d6e83deb88bf59b
5065 Author: Jan Kara <jack@suse.com>
5066 Date: Mon Dec 7 14:31:11 2015 -0500
5067
5068 ext4: fix races between buffered IO and collapse / insert range
5069
5070 Current code implementing FALLOC_FL_COLLAPSE_RANGE and
5071 FALLOC_FL_INSERT_RANGE is prone to races with buffered writes and page
5072 faults. If buffered write or write via mmap manages to squeeze between
5073 filemap_write_and_wait_range() and truncate_pagecache() in the fallocate
5074 implementations, the written data is simply discarded by
5075 truncate_pagecache() although it should have been shifted.
5076
5077 Fix the problem by moving filemap_write_and_wait_range() call inside
5078 i_mutex and i_mmap_sem. That way we are protected against races with
5079 both buffered writes and page faults.
5080
5081 Signed-off-by: Jan Kara <jack@suse.com>
5082 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
5083
5084 fs/ext4/extents.c | 59 +++++++++++++++++++++++++++++--------------------------
5085 1 file changed, 31 insertions(+), 28 deletions(-)
5086
5087 commit b1ae49aa4dad39233b16456e0765a23ba4e0546c
5088 Author: Jan Kara <jack@suse.com>
5089 Date: Mon Dec 7 14:29:17 2015 -0500
5090
5091 ext4: move unlocked dio protection from ext4_alloc_file_blocks()
5092
5093 Currently ext4_alloc_file_blocks() was handling protection against
5094 unlocked DIO. However we now need to sometimes call it under i_mmap_sem
5095 and sometimes not and DIO protection ranks above it (although strictly
5096 speaking this cannot currently create any deadlocks). Also
5097 ext4_zero_range() was actually getting & releasing unlocked DIO
5098 protection twice in some cases. Luckily it didn't introduce any real bug
5099 but it was a land mine waiting to be stepped on. So move DIO protection
5100 out from ext4_alloc_file_blocks() into the two callsites.
5101
5102 Signed-off-by: Jan Kara <jack@suse.com>
5103 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
5104
5105 fs/ext4/extents.c | 21 ++++++++++-----------
5106 1 file changed, 10 insertions(+), 11 deletions(-)
5107
5108 commit f9329a4ec30a26f0fababf809c5f1a3ef851b625
5109 Author: Jan Kara <jack@suse.com>
5110 Date: Mon Dec 7 14:28:03 2015 -0500
5111
5112 ext4: fix races between page faults and hole punching
5113
5114 Currently, page faults and hole punching are completely unsynchronized.
5115 This can result in page fault faulting in a page into a range that we
5116 are punching after truncate_pagecache_range() has been called and thus
5117 we can end up with a page mapped to disk blocks that will be shortly
5118 freed. Filesystem corruption will shortly follow. Note that the same
5119 race is avoided for truncate by checking page fault offset against
5120 i_size but there isn't similar mechanism available for punching holes.
5121
5122 Fix the problem by creating new rw semaphore i_mmap_sem in inode and
5123 grab it for writing over truncate, hole punching, and other functions
5124 removing blocks from extent tree and for read over page faults. We
5125 cannot easily use i_data_sem for this since that ranks below transaction
5126 start and we need something ranking above it so that it can be held over
5127 the whole truncate / hole punching operation. Also remove various
5128 workarounds we had in the code to reduce race window when page fault
5129 could have created pages with stale mapping information.
5130
5131 Signed-off-by: Jan Kara <jack@suse.com>
5132 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
5133
5134 fs/ext4/ext4.h | 10 +++++++++
5135 fs/ext4/extents.c | 54 ++++++++++++++++++++++++--------------------
5136 fs/ext4/file.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++--------
5137 fs/ext4/inode.c | 36 +++++++++++++++++++++--------
5138 fs/ext4/super.c | 1 +
5139 fs/ext4/truncate.h | 2 ++
5140 6 files changed, 127 insertions(+), 42 deletions(-)
5141
5142 commit 572a615b85c1d5c8aeea4ffd24ab428775a1cca9
5143 Author: Guenter Roeck <linux@roeck-us.net>
5144 Date: Sat Mar 26 12:28:05 2016 -0700
5145
5146 hwmon: (max1111) Return -ENODEV from max1111_read_channel if not instantiated
5147
5148 arm:pxa_defconfig can result in the following crash if the max1111 driver
5149 is not instantiated.
5150
5151 Unhandled fault: page domain fault (0x01b) at 0x00000000
5152 pgd = c0004000
5153 [00000000] *pgd=00000000
5154 Internal error: : 1b [#1] PREEMPT ARM
5155 Modules linked in:
5156 CPU: 0 PID: 300 Comm: kworker/0:1 Not tainted 4.5.0-01301-g1701f680407c #10
5157 Hardware name: SHARP Akita
5158 Workqueue: events sharpsl_charge_toggle
5159 task: c390a000 ti: c391e000 task.ti: c391e000
5160 PC is at max1111_read_channel+0x20/0x30
5161 LR is at sharpsl_pm_pxa_read_max1111+0x2c/0x3c
5162 pc : [<c03aaab0>] lr : [<c0024b50>] psr: 20000013
5163 ...
5164 [<c03aaab0>] (max1111_read_channel) from [<c0024b50>]
5165 (sharpsl_pm_pxa_read_max1111+0x2c/0x3c)
5166 [<c0024b50>] (sharpsl_pm_pxa_read_max1111) from [<c00262e0>]
5167 (spitzpm_read_devdata+0x5c/0xc4)
5168 [<c00262e0>] (spitzpm_read_devdata) from [<c0024094>]
5169 (sharpsl_check_battery_temp+0x78/0x110)
5170 [<c0024094>] (sharpsl_check_battery_temp) from [<c0024f9c>]
5171 (sharpsl_charge_toggle+0x48/0x110)
5172 [<c0024f9c>] (sharpsl_charge_toggle) from [<c004429c>]
5173 (process_one_work+0x14c/0x48c)
5174 [<c004429c>] (process_one_work) from [<c0044618>] (worker_thread+0x3c/0x5d4)
5175 [<c0044618>] (worker_thread) from [<c004a238>] (kthread+0xd0/0xec)
5176 [<c004a238>] (kthread) from [<c000a670>] (ret_from_fork+0x14/0x24)
5177
5178 This can occur because the SPI controller driver (SPI_PXA2XX) is built as
5179 module and thus not necessarily loaded. While building SPI_PXA2XX into the
5180 kernel would make the problem disappear, it appears prudent to ensure that
5181 the driver is instantiated before accessing its data structures.
5182
5183 Cc: Arnd Bergmann <arnd@arndb.de>
5184 Cc: stable@vger.kernel.org
5185 Signed-off-by: Guenter Roeck <linux@roeck-us.net>
5186
5187 drivers/hwmon/max1111.c | 6 ++++++
5188 1 file changed, 6 insertions(+)
5189
5190 commit f75f1af7a0b4be055855ca5120ee78174f3370f2
5191 Author: Nicolai Stange <nicstange@gmail.com>
5192 Date: Sun Mar 20 23:23:46 2016 +0100
5193
5194 PKCS#7: pkcs7_validate_trust(): initialize the _trusted output argument
5195
5196 Despite what the DocBook comment to pkcs7_validate_trust() says, the
5197 *_trusted argument is never set to false.
5198
5199 pkcs7_validate_trust() only positively sets *_trusted upon encountering
5200 a trusted PKCS#7 SignedInfo block.
5201
5202 This is quite unfortunate since its callers, system_verify_data() for
5203 example, depend on pkcs7_validate_trust() clearing *_trusted on non-trust.
5204
5205 Indeed, UBSAN splats when attempting to load the uninitialized local
5206 variable 'trusted' from system_verify_data() in pkcs7_validate_trust():
5207
5208 UBSAN: Undefined behaviour in crypto/asymmetric_keys/pkcs7_trust.c:194:14
5209 load of value 82 is not a valid value for type '_Bool'
5210 [...]
5211 Call Trace:
5212 [<ffffffff818c4d35>] dump_stack+0xbc/0x117
5213 [<ffffffff818c4c79>] ? _atomic_dec_and_lock+0x169/0x169
5214 [<ffffffff8194113b>] ubsan_epilogue+0xd/0x4e
5215 [<ffffffff819419fa>] __ubsan_handle_load_invalid_value+0x111/0x158
5216 [<ffffffff819418e9>] ? val_to_string.constprop.12+0xcf/0xcf
5217 [<ffffffff818334a4>] ? x509_request_asymmetric_key+0x114/0x370
5218 [<ffffffff814b83f0>] ? kfree+0x220/0x370
5219 [<ffffffff818312c2>] ? public_key_verify_signature_2+0x32/0x50
5220 [<ffffffff81835e04>] pkcs7_validate_trust+0x524/0x5f0
5221 [<ffffffff813c391a>] system_verify_data+0xca/0x170
5222 [<ffffffff813c3850>] ? top_trace_array+0x9b/0x9b
5223 [<ffffffff81510b29>] ? __vfs_read+0x279/0x3d0
5224 [<ffffffff8129372f>] mod_verify_sig+0x1ff/0x290
5225 [...]
5226
5227 The implication is that pkcs7_validate_trust() effectively grants trust
5228 when it really shouldn't have.
5229
5230 Fix this by explicitly setting *_trusted to false at the very beginning
5231 of pkcs7_validate_trust().
5232
5233 Cc: <stable@vger.kernel.org>
5234 Signed-off-by: Nicolai Stange <nicstange@gmail.com>
5235 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
5236
5237 crypto/asymmetric_keys/pkcs7_trust.c | 2 ++
5238 1 file changed, 2 insertions(+)
5239
5240 commit 1052826f7352ccc98167129b0b83222f45d50046
5241 Author: Florian Westphal <fw@strlen.de>
5242 Date: Tue Mar 22 18:02:49 2016 +0100
5243
5244 netfilter: x_tables: validate e->target_offset early
5245
5246 We should check that e->target_offset is sane before
5247 mark_source_chains gets called since it will fetch the target entry
5248 for loop detection.
5249
5250 Signed-off-by: Florian Westphal <fw@strlen.de>
5251 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
5252
5253 net/ipv4/netfilter/arp_tables.c | 17 ++++++++---------
5254 net/ipv4/netfilter/ip_tables.c | 17 ++++++++---------
5255 net/ipv6/netfilter/ip6_tables.c | 17 ++++++++---------
5256 3 files changed, 24 insertions(+), 27 deletions(-)
5257
5258 commit b35d19509e8dab157214e46dd24314663ccf554f
5259 Author: Florian Westphal <fw@strlen.de>
5260 Date: Tue Mar 22 18:02:50 2016 +0100
5261
5262 netfilter: x_tables: make sure e->next_offset covers remaining blob size
5263
5264 Otherwise this function may read data beyond the ruleset blob.
5265
5266 Signed-off-by: Florian Westphal <fw@strlen.de>
5267 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
5268
5269 net/ipv4/netfilter/arp_tables.c | 6 ++++--
5270 net/ipv4/netfilter/ip_tables.c | 6 ++++--
5271 net/ipv6/netfilter/ip6_tables.c | 6 ++++--
5272 3 files changed, 12 insertions(+), 6 deletions(-)
5273
5274 commit 4d7642ed66b69140733a7b51fcd6d37ce4d4514c
5275 Author: Florian Westphal <fw@strlen.de>
5276 Date: Tue Mar 22 18:02:52 2016 +0100
5277
5278 netfilter: x_tables: fix unconditional helper
5279
5280 Ben Hawkes says:
5281
5282 In the mark_source_chains function (net/ipv4/netfilter/ip_tables.c) it
5283 is possible for a user-supplied ipt_entry structure to have a large
5284 next_offset field. This field is not bounds checked prior to writing a
5285 counter value at the supplied offset.
5286
5287 Problem is that mark_source_chains should not have been called --
5288 the rule doesn't have a next entry, so its supposed to return
5289 an absolute verdict of either ACCEPT or DROP.
5290
5291 However, the function conditional() doesn't work as the name implies.
5292 It only checks that the rule is using wildcard address matching.
5293
5294 However, an unconditional rule must also not be using any matches
5295 (no -m args).
5296
5297 The underflow validator only checked the addresses, therefore
5298 passing the 'unconditional absolute verdict' test, while
5299 mark_source_chains also tested for presence of matches, and thus
5300 proceeeded to the next (not-existent) rule.
5301
5302 Unify this so that all the callers have same idea of 'unconditional rule'.
5303
5304 Reported-by: Ben Hawkes <hawkes@google.com>
5305 Signed-off-by: Florian Westphal <fw@strlen.de>
5306 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
5307
5308 net/ipv4/netfilter/arp_tables.c | 18 +++++++++---------
5309 net/ipv4/netfilter/ip_tables.c | 23 +++++++++++------------
5310 net/ipv6/netfilter/ip6_tables.c | 23 +++++++++++------------
5311 3 files changed, 31 insertions(+), 33 deletions(-)
5312
5313 commit e3e51682563f1453dfc4b9ef88b29af4d1a78e78
5314 Author: Pablo Neira Ayuso <pablo@netfilter.org>
5315 Date: Thu Mar 24 21:29:53 2016 +0100
5316
5317 netfilter: x_tables: enforce nul-terminated table name from getsockopt GET_ENTRIES
5318
5319 Make sure the table names via getsockopt GET_ENTRIES is nul-terminated
5320 in ebtables and all the x_tables variants and their respective compat
5321 code. Uncovered by KASAN.
5322
5323 Reported-by: Baozeng Ding <sploving1@gmail.com>
5324 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
5325
5326 net/bridge/netfilter/ebtables.c | 4 ++++
5327 net/ipv4/netfilter/arp_tables.c | 2 ++
5328 net/ipv4/netfilter/ip_tables.c | 2 ++
5329 net/ipv6/netfilter/ip6_tables.c | 2 ++
5330 4 files changed, 10 insertions(+)
5331
5332 commit 7742471b674597627f8f608f6a89c6e5bbd6533d
5333 Author: Nicolai Stange <nicstange@gmail.com>
5334 Date: Fri Mar 25 14:22:14 2016 -0700
5335
5336 mm/filemap: generic_file_read_iter(): check for zero reads unconditionally
5337
5338 If
5339 - generic_file_read_iter() gets called with a zero read length,
5340 - the read offset is at a page boundary,
5341 - IOCB_DIRECT is not set
5342 - and the page in question hasn't made it into the page cache yet,
5343 then do_generic_file_read() will trigger a readahead with a req_size hint
5344 of zero.
5345
5346 Since roundup_pow_of_two(0) is undefined, UBSAN reports
5347
5348 UBSAN: Undefined behaviour in include/linux/log2.h:63:13
5349 shift exponent 64 is too large for 64-bit type 'long unsigned int'
5350 CPU: 3 PID: 1017 Comm: sa1 Tainted: G L 4.5.0-next-20160318+ #14
5351 [...]
5352 Call Trace:
5353 [...]
5354 [<ffffffff813ef61a>] ondemand_readahead+0x3aa/0x3d0
5355 [<ffffffff813ef61a>] ? ondemand_readahead+0x3aa/0x3d0
5356 [<ffffffff813c73bd>] ? find_get_entry+0x2d/0x210
5357 [<ffffffff813ef9c3>] page_cache_sync_readahead+0x63/0xa0
5358 [<ffffffff813cc04d>] do_generic_file_read+0x80d/0xf90
5359 [<ffffffff813cc955>] generic_file_read_iter+0x185/0x420
5360 [...]
5361 [<ffffffff81510b06>] __vfs_read+0x256/0x3d0
5362 [...]
5363
5364 when get_init_ra_size() gets called from ondemand_readahead().
5365
5366 The net effect is that the initial readahead size is arch dependent for
5367 requested read lengths of zero: for example, since
5368
5369 1UL << (sizeof(unsigned long) * 8)
5370
5371 evaluates to 1 on x86 while its result is 0 on ARMv7, the initial readahead
5372 size becomes 4 on the former and 0 on the latter.
5373
5374 What's more, whether or not the file access timestamp is updated for zero
5375 length reads is decided differently for the two cases of IOCB_DIRECT
5376 being set or cleared: in the first case, generic_file_read_iter()
5377 explicitly skips updating that timestamp while in the latter case, it is
5378 always updated through the call to do_generic_file_read().
5379
5380 According to POSIX, zero length reads "do not modify the last data access
5381 timestamp" and thus, the IOCB_DIRECT behaviour is POSIXly correct.
5382
5383 Let generic_file_read_iter() unconditionally check the requested read
5384 length at its entry and return immediately with success if it is zero.
5385
5386 Signed-off-by: Nicolai Stange <nicstange@gmail.com>
5387 Cc: Al Viro <viro@zeniv.linux.org.uk>
5388 Reviewed-by: Jan Kara <jack@suse.cz>
5389 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
5390 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
5391
5392 mm/filemap.c | 7 ++++---
5393 1 file changed, 4 insertions(+), 3 deletions(-)
5394
5395 commit 604785419da498d7e876a0191b2e11626db706bb
5396 Author: Oliver Neukum <oneukum@suse.com>
5397 Date: Thu Mar 17 14:00:17 2016 -0700
5398
5399 Input: ims-pcu - sanity check against missing interfaces
5400
5401 A malicious device missing interface can make the driver oops.
5402 Add sanity checking.
5403
5404 Signed-off-by: Oliver Neukum <ONeukum@suse.com>
5405 CC: stable@vger.kernel.org
5406 Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
5407
5408 drivers/input/misc/ims-pcu.c | 4 ++++
5409 1 file changed, 4 insertions(+)
5410
5411 commit 24c3f4f6652f07eb2c3deea1488ff4de00592e80
5412 Author: Vladis Dronov <vdronov@redhat.com>
5413 Date: Wed Mar 23 11:53:46 2016 -0700
5414
5415 Input: ati_remote2 - fix crashes on detecting device with invalid descriptor
5416
5417 The ati_remote2 driver expects at least two interfaces with one
5418 endpoint each. If given malicious descriptor that specify one
5419 interface or no endpoints, it will crash in the probe function.
5420 Ensure there is at least two interfaces and one endpoint for each
5421 interface before using it.
5422
5423 The full disclosure: http://seclists.org/bugtraq/2016/Mar/90
5424
5425 Reported-by: Ralf Spenneberg <ralf@spenneberg.net>
5426 Signed-off-by: Vladis Dronov <vdronov@redhat.com>
5427 Cc: stable@vger.kernel.org
5428 Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
5429
5430 drivers/input/misc/ati_remote2.c | 36 ++++++++++++++++++++++++++++++------
5431 1 file changed, 30 insertions(+), 6 deletions(-)
5432
5433 commit 262df604d00e72a4b930fbf7fe3a770f0196a5a5
5434 Author: Oliver Neukum <oneukum@suse.com>
5435 Date: Wed Mar 23 14:36:56 2016 -0700
5436
5437 Input: sur40 - fix DMA on stack
5438
5439 During the initialisation the driver uses a buffer on the stack for DMA.
5440 That violates the cache coherency rules. The fix is to allocate the buffer
5441 with kmalloc().
5442
5443 Signed-off-by: Oliver Neukum <ONeukum@suse.com>
5444 Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
5445
5446 drivers/input/touchscreen/sur40.c | 21 ++++++++++++++-------
5447 1 file changed, 14 insertions(+), 7 deletions(-)
5448
5449 commit 015dd03669b2ab646723f6b123377e4ef5694a10
5450 Author: Haiyang Zhang <haiyangz@microsoft.com>
5451 Date: Wed Mar 23 09:43:10 2016 -0700
5452
5453 hv_netvsc: Fix the array sizes to be max supported channels
5454
5455 The VRSS_CHANNEL_MAX is the max number of channels supported by Hyper-V
5456 hosts. We use it for the related array sizes instead of using NR_CPUS,
5457 which may be set to several thousands.
5458 This patch reduces possible memory allocation failures.
5459
5460 Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
5461 Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
5462 Signed-off-by: David S. Miller <davem@davemloft.net>
5463
5464 drivers/net/hyperv/hyperv_net.h | 7 ++++---
5465 drivers/net/hyperv/rndis_filter.c | 4 ++--
5466 2 files changed, 6 insertions(+), 5 deletions(-)
5467
5468 commit a850a78d6393ef22a970266cbbefdf3dba0267b5
5469 Author: Haiyang Zhang <haiyangz@microsoft.com>
5470 Date: Wed Mar 23 09:43:09 2016 -0700
5471
5472 hv_netvsc: Fix accessing freed memory in netvsc_change_mtu()
5473
5474 struct netvsc_device is freed in rndis_filter_device_remove(). So we save
5475 the nvdev->num_chn into a temp variable for later usage.
5476
5477 (Please also include this patch into stable branch.)
5478
5479 Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
5480 Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
5481 Signed-off-by: David S. Miller <davem@davemloft.net>
5482
5483 drivers/net/hyperv/netvsc_drv.c | 5 ++++-
5484 1 file changed, 4 insertions(+), 1 deletion(-)
5485
5486 commit 7409626e43fe871cede30ac926425938f3ccddaf
5487 Author: Guillaume Nault <g.nault@alphalink.fr>
5488 Date: Wed Mar 23 16:38:55 2016 +0100
5489
5490 ppp: take reference on channels netns
5491
5492 Let channels hold a reference on their network namespace.
5493 Some channel types, like ppp_async and ppp_synctty, can have their
5494 userspace controller running in a different namespace. Therefore they
5495 can't rely on them to preclude their netns from being removed from
5496 under them.
5497
5498 ==================================================================
5499 BUG: KASAN: use-after-free in ppp_unregister_channel+0x372/0x3a0 at
5500 addr ffff880064e217e0
5501 Read of size 8 by task syz-executor/11581
5502 =============================================================================
5503 BUG net_namespace (Not tainted): kasan: bad access detected
5504 -----------------------------------------------------------------------------
5505
5506 Disabling lock debugging due to kernel taint
5507 INFO: Allocated in copy_net_ns+0x6b/0x1a0 age=92569 cpu=3 pid=6906
5508 [< none >] ___slab_alloc+0x4c7/0x500 kernel/mm/slub.c:2440
5509 [< none >] __slab_alloc+0x4c/0x90 kernel/mm/slub.c:2469
5510 [< inline >] slab_alloc_node kernel/mm/slub.c:2532
5511 [< inline >] slab_alloc kernel/mm/slub.c:2574
5512 [< none >] kmem_cache_alloc+0x23a/0x2b0 kernel/mm/slub.c:2579
5513 [< inline >] kmem_cache_zalloc kernel/include/linux/slab.h:597
5514 [< inline >] net_alloc kernel/net/core/net_namespace.c:325
5515 [< none >] copy_net_ns+0x6b/0x1a0 kernel/net/core/net_namespace.c:360
5516 [< none >] create_new_namespaces+0x2f6/0x610 kernel/kernel/nsproxy.c:95
5517 [< none >] copy_namespaces+0x297/0x320 kernel/kernel/nsproxy.c:150
5518 [< none >] copy_process.part.35+0x1bf4/0x5760 kernel/kernel/fork.c:1451
5519 [< inline >] copy_process kernel/kernel/fork.c:1274
5520 [< none >] _do_fork+0x1bc/0xcb0 kernel/kernel/fork.c:1723
5521 [< inline >] SYSC_clone kernel/kernel/fork.c:1832
5522 [< none >] SyS_clone+0x37/0x50 kernel/kernel/fork.c:1826
5523 [< none >] entry_SYSCALL_64_fastpath+0x16/0x7a kernel/arch/x86/entry/entry_64.S:185
5524
5525 INFO: Freed in net_drop_ns+0x67/0x80 age=575 cpu=2 pid=2631
5526 [< none >] __slab_free+0x1fc/0x320 kernel/mm/slub.c:2650
5527 [< inline >] slab_free kernel/mm/slub.c:2805
5528 [< none >] kmem_cache_free+0x2a0/0x330 kernel/mm/slub.c:2814
5529 [< inline >] net_free kernel/net/core/net_namespace.c:341
5530 [< none >] net_drop_ns+0x67/0x80 kernel/net/core/net_namespace.c:348
5531 [< none >] cleanup_net+0x4e5/0x600 kernel/net/core/net_namespace.c:448
5532 [< none >] process_one_work+0x794/0x1440 kernel/kernel/workqueue.c:2036
5533 [< none >] worker_thread+0xdb/0xfc0 kernel/kernel/workqueue.c:2170
5534 [< none >] kthread+0x23f/0x2d0 kernel/drivers/block/aoe/aoecmd.c:1303
5535 [< none >] ret_from_fork+0x3f/0x70 kernel/arch/x86/entry/entry_64.S:468
5536 INFO: Slab 0xffffea0001938800 objects=3 used=0 fp=0xffff880064e20000
5537 flags=0x5fffc0000004080
5538 INFO: Object 0xffff880064e20000 @offset=0 fp=0xffff880064e24200
5539
5540 CPU: 1 PID: 11581 Comm: syz-executor Tainted: G B 4.4.0+
5541 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
5542 rel-1.8.2-0-g33fbe13 by qemu-project.org 04/01/2014
5543 00000000ffffffff ffff8800662c7790 ffffffff8292049d ffff88003e36a300
5544 ffff880064e20000 ffff880064e20000 ffff8800662c77c0 ffffffff816f2054
5545 ffff88003e36a300 ffffea0001938800 ffff880064e20000 0000000000000000
5546 Call Trace:
5547 [< inline >] __dump_stack kernel/lib/dump_stack.c:15
5548 [<ffffffff8292049d>] dump_stack+0x6f/0xa2 kernel/lib/dump_stack.c:50
5549 [<ffffffff816f2054>] print_trailer+0xf4/0x150 kernel/mm/slub.c:654
5550 [<ffffffff816f875f>] object_err+0x2f/0x40 kernel/mm/slub.c:661
5551 [< inline >] print_address_description kernel/mm/kasan/report.c:138
5552 [<ffffffff816fb0c5>] kasan_report_error+0x215/0x530 kernel/mm/kasan/report.c:236
5553 [< inline >] kasan_report kernel/mm/kasan/report.c:259
5554 [<ffffffff816fb4de>] __asan_report_load8_noabort+0x3e/0x40 kernel/mm/kasan/report.c:280
5555 [< inline >] ? ppp_pernet kernel/include/linux/compiler.h:218
5556 [<ffffffff83ad71b2>] ? ppp_unregister_channel+0x372/0x3a0 kernel/drivers/net/ppp/ppp_generic.c:2392
5557 [< inline >] ppp_pernet kernel/include/linux/compiler.h:218
5558 [<ffffffff83ad71b2>] ppp_unregister_channel+0x372/0x3a0 kernel/drivers/net/ppp/ppp_generic.c:2392
5559 [< inline >] ? ppp_pernet kernel/drivers/net/ppp/ppp_generic.c:293
5560 [<ffffffff83ad6f26>] ? ppp_unregister_channel+0xe6/0x3a0 kernel/drivers/net/ppp/ppp_generic.c:2392
5561 [<ffffffff83ae18f3>] ppp_asynctty_close+0xa3/0x130 kernel/drivers/net/ppp/ppp_async.c:241
5562 [<ffffffff83ae1850>] ? async_lcp_peek+0x5b0/0x5b0 kernel/drivers/net/ppp/ppp_async.c:1000
5563 [<ffffffff82c33239>] tty_ldisc_close.isra.1+0x99/0xe0 kernel/drivers/tty/tty_ldisc.c:478
5564 [<ffffffff82c332c0>] tty_ldisc_kill+0x40/0x170 kernel/drivers/tty/tty_ldisc.c:744
5565 [<ffffffff82c34943>] tty_ldisc_release+0x1b3/0x260 kernel/drivers/tty/tty_ldisc.c:772
5566 [<ffffffff82c1ef21>] tty_release+0xac1/0x13e0 kernel/drivers/tty/tty_io.c:1901
5567 [<ffffffff82c1e460>] ? release_tty+0x320/0x320 kernel/drivers/tty/tty_io.c:1688
5568 [<ffffffff8174de36>] __fput+0x236/0x780 kernel/fs/file_table.c:208
5569 [<ffffffff8174e405>] ____fput+0x15/0x20 kernel/fs/file_table.c:244
5570 [<ffffffff813595ab>] task_work_run+0x16b/0x200 kernel/kernel/task_work.c:115
5571 [< inline >] exit_task_work kernel/include/linux/task_work.h:21
5572 [<ffffffff81307105>] do_exit+0x8b5/0x2c60 kernel/kernel/exit.c:750
5573 [<ffffffff813fdd20>] ? debug_check_no_locks_freed+0x290/0x290 kernel/kernel/locking/lockdep.c:4123
5574 [<ffffffff81306850>] ? mm_update_next_owner+0x6f0/0x6f0 kernel/kernel/exit.c:357
5575 [<ffffffff813215e6>] ? __dequeue_signal+0x136/0x470 kernel/kernel/signal.c:550
5576 [<ffffffff8132067b>] ? recalc_sigpending_tsk+0x13b/0x180 kernel/kernel/signal.c:145
5577 [<ffffffff81309628>] do_group_exit+0x108/0x330 kernel/kernel/exit.c:880
5578 [<ffffffff8132b9d4>] get_signal+0x5e4/0x14f0 kernel/kernel/signal.c:2307
5579 [< inline >] ? kretprobe_table_lock kernel/kernel/kprobes.c:1113
5580 [<ffffffff8151d355>] ? kprobe_flush_task+0xb5/0x450 kernel/kernel/kprobes.c:1158
5581 [<ffffffff8115f7d3>] do_signal+0x83/0x1c90 kernel/arch/x86/kernel/signal.c:712
5582 [<ffffffff8151d2a0>] ? recycle_rp_inst+0x310/0x310 kernel/include/linux/list.h:655
5583 [<ffffffff8115f750>] ? setup_sigcontext+0x780/0x780 kernel/arch/x86/kernel/signal.c:165
5584 [<ffffffff81380864>] ? finish_task_switch+0x424/0x5f0 kernel/kernel/sched/core.c:2692
5585 [< inline >] ? finish_lock_switch kernel/kernel/sched/sched.h:1099
5586 [<ffffffff81380560>] ? finish_task_switch+0x120/0x5f0 kernel/kernel/sched/core.c:2678
5587 [< inline >] ? context_switch kernel/kernel/sched/core.c:2807
5588 [<ffffffff85d794e9>] ? __schedule+0x919/0x1bd0 kernel/kernel/sched/core.c:3283
5589 [<ffffffff81003901>] exit_to_usermode_loop+0xf1/0x1a0 kernel/arch/x86/entry/common.c:247
5590 [< inline >] prepare_exit_to_usermode kernel/arch/x86/entry/common.c:282
5591 [<ffffffff810062ef>] syscall_return_slowpath+0x19f/0x210 kernel/arch/x86/entry/common.c:344
5592 [<ffffffff85d88022>] int_ret_from_sys_call+0x25/0x9f kernel/arch/x86/entry/entry_64.S:281
5593 Memory state around the buggy address:
5594 ffff880064e21680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
5595 ffff880064e21700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
5596 >ffff880064e21780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
5597 ^
5598 ffff880064e21800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
5599 ffff880064e21880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
5600 ==================================================================
5601
5602 Fixes: 273ec51dd7ce ("net: ppp_generic - introduce net-namespace functionality v2")
5603 Reported-by: Baozeng Ding <sploving1@gmail.com>
5604 Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
5605 Reviewed-by: Cyrill Gorcunov <gorcunov@openvz.org>
5606 Signed-off-by: David S. Miller <davem@davemloft.net>
5607
5608 drivers/net/ppp/ppp_generic.c | 4 +++-
5609 1 file changed, 3 insertions(+), 1 deletion(-)
5610
5611 commit bfb890c1ac9d29b377f6bec4a5aab51d053114c4
5612 Author: Herbert Xu <herbert@gondor.apana.org.au>
5613 Date: Wed Mar 16 17:06:01 2016 +0800
5614
5615 eCryptfs: Use skcipher and shash
5616
5617 eCryptfs: Fix null pointer dereference on kzalloc error path
5618
5619 The conversion to skcipher and shash added a couple of null pointer
5620 dereference bugs on the kzalloc failure path. This patch fixes them.
5621
5622 Fixes: 3095e8e366b4 ("eCryptfs: Use skcipher and shash")
5623 Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
5624 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
5625
5626 fs/ecryptfs/keystore.c | 6 ++----
5627 1 file changed, 2 insertions(+), 4 deletions(-)
5628
5629 commit 58a8421ae537e0609c4ff59bf6b11be869a43cc6
5630 Author: Boris BREZILLON <boris.brezillon@free-electrons.com>
5631 Date: Thu Mar 17 10:21:34 2016 +0100
5632
5633 crypto: marvell/cesa - fix memory leak
5634
5635 Crypto requests are not guaranteed to be finalized (->final() call),
5636 and can be freed at any moment, without getting any notification from
5637 the core. This can lead to memory leaks of the ->cache buffer.
5638
5639 Make this buffer part of the request object, and allocate an extra buffer
5640 from the DMA cache pool when doing DMA operations.
5641
5642 As a side effect, this patch also fixes another bug related to cache
5643 allocation and DMA operations. When the core allocates a new request and
5644 import an existing state, a cache buffer can be allocated (depending
5645 on the state). The problem is, at that very moment, we don't know yet
5646 whether the request will use DMA or not, and since everything is
5647 likely to be initialized to zero, mv_cesa_ahash_alloc_cache() thinks it
5648 should allocate a buffer for standard operation. But when
5649 mv_cesa_ahash_free_cache() is called, req->type has been set to
5650 CESA_DMA_REQ in the meantime, thus leading to an invalind dma_pool_free()
5651 call (the buffer passed in argument has not been allocated from the pool).
5652
5653 Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
5654 Reported-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
5655 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
5656
5657 drivers/crypto/marvell/cesa.h | 3 +-
5658 drivers/crypto/marvell/hash.c | 86 +++++++++----------------------------------
5659 2 files changed, 20 insertions(+), 69 deletions(-)
5660
5661 commit 1ec604f99895b9c37f26a692ff83a7da02d667fd
5662 Author: Boris BREZILLON <boris.brezillon@free-electrons.com>
5663 Date: Thu Mar 17 10:21:35 2016 +0100
5664
5665 crypto: marvell/cesa - initialize hash states
5666
5667 ->export() might be called before we have done an update operation,
5668 and in this case the ->state field is left uninitialized.
5669 Put the correct default value when initializing the request.
5670
5671 Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
5672 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
5673
5674 drivers/crypto/marvell/hash.c | 20 ++++++++++++++++++++
5675 1 file changed, 20 insertions(+)
5676
5677 commit 23879f055d23e82c2f78cceca22c33e631973977
5678 Author: David S. Miller <davem@davemloft.net>
5679 Date: Sun Mar 13 23:28:00 2016 -0400
5680
5681 ipv4: Don't do expensive useless work during inetdev destroy.
5682
5683 When an inetdev is destroyed, every address assigned to the interface
5684 is removed. And in this scenerio we do two pointless things which can
5685 be very expensive if the number of assigned interfaces is large:
5686
5687 1) Address promotion. We are deleting all addresses, so there is no
5688 point in doing this.
5689
5690 2) A full nf conntrack table purge for every address. We only need to
5691 do this once, as is already caught by the existing
5692 masq_dev_notifier so masq_inet_event() can skip this.
5693
5694 Reported-by: Solar Designer <solar@openwall.com>
5695 Signed-off-by: David S. Miller <davem@davemloft.net>
5696 Tested-by: Cyrill Gorcunov <gorcunov@openvz.org>
5697
5698 net/ipv4/devinet.c | 4 ++++
5699 net/ipv4/fib_frontend.c | 4 ++++
5700 net/ipv4/netfilter/nf_nat_masquerade_ipv4.c | 12 ++++++++++--
5701 3 files changed, 18 insertions(+), 2 deletions(-)
5702
5703 commit 60394231e840e884024592a76a6c5612433d3756
5704 Author: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
5705 Date: Tue Mar 8 10:34:28 2016 -0300
5706
5707 sctp: fix copying more bytes than expected in sctp_add_bind_addr
5708
5709 Dmitry reported that sctp_add_bind_addr may read more bytes than
5710 expected in case the parameter is a IPv4 addr supplied by the user
5711 through calls such as sctp_bindx_add(), because it always copies
5712 sizeof(union sctp_addr) while the buffer may be just a struct
5713 sockaddr_in, which is smaller.
5714
5715 This patch then fixes it by limiting the memcpy to the min between the
5716 union size and a (new parameter) provided addr size. Where possible this
5717 parameter still is the size of that union, except for reading from
5718 user-provided buffers, which then it accounts for protocol type.
5719
5720 Reported-by: Dmitry Vyukov <dvyukov@google.com>
5721 Tested-by: Dmitry Vyukov <dvyukov@google.com>
5722 Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
5723 Signed-off-by: David S. Miller <davem@davemloft.net>
5724
5725 include/net/sctp/structs.h | 2 +-
5726 net/sctp/bind_addr.c | 14 ++++++++------
5727 net/sctp/protocol.c | 1 +
5728 net/sctp/sm_make_chunk.c | 3 ++-
5729 net/sctp/socket.c | 4 +++-
5730 5 files changed, 15 insertions(+), 9 deletions(-)
5731
5732 commit 9831caa50e1453818c5ec618890291f028b7992f
5733 Author: Brad Spengler <spender@grsecurity.net>
5734 Date: Mon Mar 28 19:20:28 2016 -0400
5735
5736 Also allow /bin/false as needed by systemd
5737
5738 kernel/kmod.c | 2 +-
5739 1 file changed, 1 insertion(+), 1 deletion(-)
5740
5741 commit bb38a61b496a3f09f4d7b93d2f0fe15476918147
5742 Author: Brad Spengler <spender@grsecurity.net>
5743 Date: Tue Mar 22 16:59:43 2016 -0400
5744
5745 Fix size_overflow FP reported by marcan at:
5746 https://forums.grsecurity.net/viewtopic.php?f=3&t=4426
5747
5748 net/ipv6/xfrm6_mode_transport.c | 2 +-
5749 1 file changed, 1 insertion(+), 1 deletion(-)
5750
5751 commit 523a36a9c845da3051e58c6767c2e1a0f640998a
5752 Merge: 0d0ec9e c0b77a7
5753 Author: Brad Spengler <spender@grsecurity.net>
5754 Date: Wed Mar 16 20:20:40 2016 -0400
5755
5756 Merge branch 'pax-test' into grsec-test
5757
5758 commit c0b77a7cb578199f0b7dc90768a13ca6c044aba9
5759 Merge: 10d57c1 0d19123
5760 Author: Brad Spengler <spender@grsecurity.net>
5761 Date: Wed Mar 16 20:20:27 2016 -0400
5762
5763 Merge branch 'linux-4.4.y' into pax-test
5764
5765 commit 0d0ec9ee83144ab839710a01cfd746bd78257394
5766 Author: Brad Spengler <spender@grsecurity.net>
5767 Date: Mon Mar 14 20:15:47 2016 -0400
5768
5769 Invert logic to clean up code
5770
5771 fs/namei.c | 32 +++++++-------------------------
5772 grsecurity/grsec_chroot.c | 10 +++++-----
5773 2 files changed, 12 insertions(+), 30 deletions(-)
5774
5775 commit 39e0e623c84863af7b3ace759b583ff938fde2b7
5776 Author: Brad Spengler <spender@grsecurity.net>
5777 Date: Mon Mar 14 19:59:36 2016 -0400
5778
5779 compile fix
5780
5781 fs/namei.c | 5 ++---
5782 1 file changed, 2 insertions(+), 3 deletions(-)
5783
5784 commit 2b3ad8bc095fea829275b7fcc7e5671677b8ed33
5785 Author: Brad Spengler <spender@grsecurity.net>
5786 Date: Mon Mar 14 19:57:53 2016 -0400
5787
5788 Also handle renames
5789
5790 fs/namei.c | 9 +++++++++
5791 1 file changed, 9 insertions(+)
5792
5793 commit 54dfd13b19743d4a340de0cd5683b5bde44e7d9c
5794 Author: Brad Spengler <spender@grsecurity.net>
5795 Date: Mon Mar 14 19:45:56 2016 -0400
5796
5797 Add additional check to cover lookup family of functions
5798
5799 fs/namei.c | 9 +++++++++
5800 1 file changed, 9 insertions(+)
5801
5802 commit c3df846baa7873fb99401136f220676b87452918
5803 Author: Brad Spengler <spender@grsecurity.net>
5804 Date: Mon Mar 14 18:42:37 2016 -0400
5805
5806 compile fix
5807
5808 fs/namei.c | 2 +-
5809 1 file changed, 1 insertion(+), 1 deletion(-)
5810
5811 commit 384ea9c0ef9df4298dfa3a71948c08e70f1092bf
5812 Author: Brad Spengler <spender@grsecurity.net>
5813 Date: Mon Mar 14 18:34:40 2016 -0400
5814
5815 Fix recent chroot check on the create side, as reported by
5816 Toralf Foerster
5817
5818 fs/namei.c | 26 ++++++++++++++++----------
5819 1 file changed, 16 insertions(+), 10 deletions(-)
5820
5821 commit 82e7dc61a626c47887d392ff9cd35b104f01fd25
5822 Author: Paolo Bonzini <pbonzini@redhat.com>
5823 Date: Tue Mar 8 12:13:39 2016 +0100
5824
5825 KVM: MMU: fix ept=0/pte.u=1/pte.w=0/CR0.WP=0/CR4.SMEP=1/EFER.NX=0 combo
5826
5827 Yes, all of these are needed. :) This is admittedly a bit odd, but
5828 kvm-unit-tests access.flat tests this if you run it with "-cpu host"
5829 and of course ept=0.
5830
5831 KVM runs the guest with CR0.WP=1, so it must handle supervisor writes
5832 specially when pte.u=1/pte.w=0/CR0.WP=0. Such writes cause a fault
5833 when U=1 and W=0 in the SPTE, but they must succeed because CR0.WP=0.
5834 When KVM gets the fault, it sets U=0 and W=1 in the shadow PTE and
5835 restarts execution. This will still cause a user write to fault, while
5836 supervisor writes will succeed. User reads will fault spuriously now,
5837 and KVM will then flip U and W again in the SPTE (U=1, W=0). User reads
5838 will be enabled and supervisor writes disabled, going back to the
5839 originary situation where supervisor writes fault spuriously.
5840
5841 When SMEP is in effect, however, U=0 will enable kernel execution of
5842 this page. To avoid this, KVM also sets NX=1 in the shadow PTE together
5843 with U=0. If the guest has not enabled NX, the result is a continuous
5844 stream of page faults due to the NX bit being reserved.
5845
5846 The fix is to force EFER.NX=1 even if the CPU is taking care of the EFER
5847 switch. (All machines with SMEP have the CPU_LOAD_IA32_EFER vm-entry
5848 control, so they do not use user-return notifiers for EFER---if they did,
5849 EFER.NX would be forced to the same value as the host).
5850
5851 There is another bug in the reserved bit check, which I've split to a
5852 separate patch for easier application to stable kernels.
5853
5854 Cc: stable@vger.kernel.org
5855 Cc: Andy Lutomirski <luto@amacapital.net>
5856 Reviewed-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
5857 Fixes: f6577a5fa15d82217ca73c74cd2dcbc0f6c781dd
5858 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
5859
5860 Documentation/virtual/kvm/mmu.txt | 3 ++-
5861 arch/x86/kvm/vmx.c | 36 +++++++++++++++++++++++-------------
5862 2 files changed, 25 insertions(+), 14 deletions(-)
5863
5864 commit 802a88e57b141e9643e93afb7805813ad8da22f3
5865 Author: Paolo Bonzini <pbonzini@redhat.com>
5866 Date: Wed Mar 9 14:28:02 2016 +0100
5867
5868 KVM: MMU: fix reserved bit check for ept=0/CR0.WP=0/CR4.SMEP=1/EFER.NX=0
5869
5870 KVM has special logic to handle pages with pte.u=1 and pte.w=0 when
5871 CR0.WP=1. These pages' SPTEs flip continuously between two states:
5872 U=1/W=0 (user and supervisor reads allowed, supervisor writes not allowed)
5873 and U=0/W=1 (supervisor reads and writes allowed, user writes not allowed).
5874
5875 When SMEP is in effect, however, U=0 will enable kernel execution of
5876 this page. To avoid this, KVM also sets NX=1 in the shadow PTE together
5877 with U=0, making the two states U=1/W=0/NX=gpte.NX and U=0/W=1/NX=1.
5878 When guest EFER has the NX bit cleared, the reserved bit check thinks
5879 that the latter state is invalid; teach it that the smep_andnot_wp case
5880 will also use the NX bit of SPTEs.
5881
5882 Cc: stable@vger.kernel.org
5883 Reviewed-by: Xiao Guangrong <guangrong.xiao@linux.inel.com>
5884 Fixes: c258b62b264fdc469b6d3610a907708068145e3b
5885 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
5886
5887 arch/x86/kvm/mmu.c | 4 +++-
5888 1 file changed, 3 insertions(+), 1 deletion(-)
5889
5890 commit 3925851224428c1d2bca32cf33821befb947c4f3
5891 Author: Ming Lei <ming.lei@canonical.com>
5892 Date: Sat Mar 12 22:56:19 2016 +0800
5893
5894 block: don't optimize for non-cloned bio in bio_get_last_bvec()
5895
5896 For !BIO_CLONED bio, we can use .bi_vcnt safely, but it
5897 doesn't mean we can just simply return .bi_io_vec[.bi_vcnt - 1]
5898 because the start postion may have been moved in the middle of
5899 the bvec, such as splitting in the middle of bvec.
5900
5901 Fixes: 7bcd79ac50d9(block: bio: introduce helpers to get the 1st and last bvec)
5902 Cc: stable@vger.kernel.org
5903 Reported-by: Kent Overstreet <kent.overstreet@gmail.com>
5904 Signed-off-by: Ming Lei <ming.lei@canonical.com>
5905 Signed-off-by: Jens Axboe <axboe@fb.com>
5906
5907 include/linux/bio.h | 5 -----
5908 1 file changed, 5 deletions(-)
5909
5910 commit db541463b4a0926bebdbac743c8736fb9e903d58
5911 Author: Borislav Petkov <bp@alien8.de>
5912 Date: Fri Mar 11 12:32:06 2016 +0100
5913
5914 x86/fpu: Fix eager-FPU handling on legacy FPU machines
5915
5916 i486 derived cores like Intel Quark support only the very old,
5917 legacy x87 FPU (FSAVE/FRSTOR, CPUID bit FXSR is not set), and
5918 our FPU code wasn't handling the saving and restoring there
5919 properly in the 'eagerfpu' case.
5920
5921 So after we made eagerfpu the default for all CPU types:
5922
5923 58122bf1d856 x86/fpu: Default eagerfpu=on on all CPUs
5924
5925 these old FPU designs broke. First, Andy Shevchenko reported a splat:
5926
5927 WARNING: CPU: 0 PID: 823 at arch/x86/include/asm/fpu/internal.h:163 fpu__clear+0x8c/0x160
5928
5929 which was us trying to execute FXRSTOR on those machines even though
5930 they don't support it.
5931
5932 After taking care of that, Bryan O'Donoghue reported that a simple FPU
5933 test still failed because we weren't initializing the FPU state properly
5934 on those machines.
5935
5936 Take care of all that.
5937
5938 Reported-and-tested-by: Bryan O'Donoghue <pure.logic@nexus-software.ie>
5939 Reported-by: Andy Shevchenko <andy.shevchenko@gmail.com>
5940 Signed-off-by: Borislav Petkov <bp@suse.de>
5941 Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
5942 Cc: Andrew Morton <akpm@linux-foundation.org>
5943 Cc: Andy Lutomirski <luto@amacapital.net>
5944 Cc: Borislav Petkov <bp@alien8.de>
5945 Cc: Brian Gerst <brgerst@gmail.com>
5946 Cc: Dave Hansen <dave.hansen@linux.intel.com>
5947 Cc: Denys Vlasenko <dvlasenk@redhat.com>
5948 Cc: Fenghua Yu <fenghua.yu@intel.com>
5949 Cc: H. Peter Anvin <hpa@zytor.com>
5950 Cc: Oleg Nesterov <oleg@redhat.com>
5951 Cc: Peter Zijlstra <peterz@infradead.org>
5952 Cc: Quentin Casasnovas <quentin.casasnovas@oracle.com>
5953 Cc: Thomas Gleixner <tglx@linutronix.de>
5954 Cc: Yu-cheng <yu-cheng.yu@intel.com>
5955 Link: http://lkml.kernel.org/r/20160311113206.GD4312@pd.tnic
5956 Signed-off-by: Ingo Molnar <mingo@kernel.org>
5957
5958 arch/x86/kernel/fpu/core.c | 4 +++-
5959 arch/x86/kernel/fpu/init.c | 2 +-
5960 2 files changed, 4 insertions(+), 2 deletions(-)
5961
5962 commit 8fed14e935cb62d2d46e99793d728dc7760dcc87
5963 Author: Brad Spengler <spender@grsecurity.net>
5964 Date: Sun Mar 13 11:35:56 2016 -0400
5965
5966 Compile fixes
5967
5968 fs/namei.c | 2 +-
5969 grsecurity/grsec_chroot.c | 2 +-
5970 include/linux/grsecurity.h | 2 +-
5971 3 files changed, 3 insertions(+), 3 deletions(-)
5972
5973 commit aab25a3496c4683c5858056960010119fb7d9a5a
5974 Author: Brad Spengler <spender@grsecurity.net>
5975 Date: Sun Mar 13 10:53:59 2016 -0400
5976
5977 Use fput instead of put_filp()
5978
5979 fs/namei.c | 4 ++--
5980 1 file changed, 2 insertions(+), 2 deletions(-)
5981
5982 commit 928ddec9dfe5415dff82d941c3b3e76ee6f48761
5983 Author: Brad Spengler <spender@grsecurity.net>
5984 Date: Sun Mar 13 10:30:54 2016 -0400
5985
5986 Update MPROTECT_COMPAT config description, disable by default
5987
5988 security/Kconfig | 18 ++++++------------
5989 1 file changed, 6 insertions(+), 12 deletions(-)
5990
5991 commit 4cc29af2e81e7a4bdfab1afedfdedca6e23362d5
5992 Author: Brad Spengler <spender@grsecurity.net>
5993 Date: Sun Mar 13 10:35:55 2016 -0400
5994
5995 As reported by Jann Horn, chroot scenarios where the chrooting application
5996 brings in a directory fd can be used to access any file outside of the chroot
5997 via *at syscalls. To maintain compatibility with Chromium and other apps,
5998 we specifically only disallow relative accesses off a directory fd when the
5999 final path is not located under that directory described by the fd and exists
6000 outside of the chroot. This additional restriction will exist under the
6001 current GRKERNSEC_CHROOT_FCHDIR option.
6002
6003 fs/namei.c | 9 +++++++++
6004 grsecurity/Kconfig | 10 ++++++----
6005 grsecurity/grsec_chroot.c | 39 +++++++++++++++++++++++++++++++++++++++
6006 include/linux/grmsg.h | 1 +
6007 include/linux/grsecurity.h | 1 +
6008 5 files changed, 56 insertions(+), 4 deletions(-)
6009
6010 commit 7d02a991213f0b07a3677dcc93cdafc3ac309142
6011 Author: Brad Spengler <spender@grsecurity.net>
6012 Date: Thu Mar 10 22:17:16 2016 -0500
6013
6014 Update size_overflow hash table
6015
6016 tools/gcc/size_overflow_plugin/size_overflow_hash.data | 1 +
6017 1 file changed, 1 insertion(+)
6018
6019 commit 29f25ddda6a5625340df26beb394279fefea2b49
6020 Author: Brad Spengler <spender@grsecurity.net>
6021 Date: Thu Mar 10 22:16:04 2016 -0500
6022
6023 Fix module support
6024
6025 kernel/module.c | 3 ++-
6026 1 file changed, 2 insertions(+), 1 deletion(-)
6027
6028 commit b057a45636b626e7eaf03077ed0916b95fea054c
6029 Merge: ba5ee94 10d57c1
6030 Author: Brad Spengler <spender@grsecurity.net>
6031 Date: Thu Mar 10 21:36:10 2016 -0500
6032
6033 Merge branch 'pax-test' into grsec-test
6034
6035 commit 10d57c107e7fabffbe616b14efab73df585576c2
6036 Merge: 1cbae46 62e2195
6037 Author: Brad Spengler <spender@grsecurity.net>
6038 Date: Thu Mar 10 21:34:58 2016 -0500
6039
6040 Update to pax-linux-4.4.5-test9.patch:
6041 - fixed an integer signedness mixup in the old select syscall caught by the size overflow plugin, by Mathias Krause <minipli@ld-linux.so>
6042 - Emese cleaned up a few unnecessary type casts in the size overflow plugin
6043 - fixed the initify plugin to not trigger a compiler assert with gcc 6 in LTO mode
6044 - compile the x86 vdso without plugins, reported by Emese
6045 - fixed a REFCOUNT/arm compile error, reported by coadde (https://forums.grsecurity.net/viewtopic.php?f=3&t=4410)
6046 - fixed gcc-common.h for gcc 6, reported by psturm (https://forums.grsecurity.net/viewtopic.php?f=3&t=4394)
6047
6048 Merge branch 'linux-4.4.y' into pax-test
6049
6050 commit ba5ee94199b11c1429559a08c2158677dd8f1761
6051 Author: Brad Spengler <spender@grsecurity.net>
6052 Date: Thu Mar 3 20:20:19 2016 -0500
6053
6054 Update size_overflow hash table
6055
6056 tools/gcc/size_overflow_plugin/size_overflow_hash.data | 1 +
6057 1 file changed, 1 insertion(+)
6058
6059 commit 50a5cd726362f0988b81a54d4c962acf8fd34a70
6060 Merge: 335c04c 1cbae46
6061 Author: Brad Spengler <spender@grsecurity.net>
6062 Date: Thu Mar 3 20:04:00 2016 -0500
6063
6064 Merge branch 'pax-test' into grsec-test
6065
6066 commit 1cbae46efa0b111ef2d46502f8d34c4c572a0e00
6067 Merge: a51cdb8 c252409
6068 Author: Brad Spengler <spender@grsecurity.net>
6069 Date: Thu Mar 3 19:57:43 2016 -0500
6070
6071 Merge branch 'linux-4.4.y' into pax-test
6072
6073 commit 335c04c8146a696a6101a9c69dbd47f11383549e
6074 Merge: 897877e a51cdb8
6075 Author: Brad Spengler <spender@grsecurity.net>
6076 Date: Tue Mar 1 17:57:24 2016 -0500
6077
6078 Merge branch 'pax-test' into grsec-test
6079
6080 commit a51cdb83569b450858737a30d2be043d87d7ddc1
6081 Author: Brad Spengler <spender@grsecurity.net>
6082 Date: Tue Mar 1 17:56:43 2016 -0500
6083
6084 Update to pax-linux-4.4.3-test6.patch:
6085 - spender fixed the cftype constification fallout, reported by quasar366 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4391)
6086 - fixed a few section mismatches on notifier_block variables
6087 - fixed a few REFCOUNT false positives found by Emese's plugin
6088 - constified hypervisor_x86
6089
6090 arch/x86/include/asm/hypervisor.h | 2 +-
6091 arch/x86/kernel/cpu/mshyperv.c | 2 +-
6092 arch/x86/kernel/cpu/vmware.c | 2 +-
6093 arch/x86/kernel/kvm.c | 2 +-
6094 drivers/lightnvm/rrpc.c | 4 ++--
6095 drivers/lightnvm/rrpc.h | 2 +-
6096 drivers/net/can/led.c | 2 +-
6097 drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 2 +-
6098 drivers/net/ethernet/rocker/rocker.c | 4 ++--
6099 drivers/net/ipvlan/ipvlan_main.c | 6 +++---
6100 drivers/net/vrf.c | 2 +-
6101 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 12 ++++++------
6102 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h | 2 +-
6103 drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 12 ++++++------
6104 drivers/staging/rtl8723au/include/drv_types.h | 2 +-
6105 drivers/staging/rtl8723au/include/rtw_mlme_ext.h | 2 +-
6106 drivers/staging/rtl8723au/include/usb_ops.h | 4 ++--
6107 drivers/thermal/x86_pkg_temp_thermal.c | 2 +-
6108 fs/proc/kcore.c | 2 +-
6109 mm/hugetlb_cgroup.c | 8 ++++----
6110 mm/mm_init.c | 2 +-
6111 mm/slub.c | 2 +-
6112 net/mac802154/iface.c | 2 +-
6113 23 files changed, 41 insertions(+), 41 deletions(-)
6114
6115 commit 897877e79629a0b854e98cb666a9d898256d45a7
6116 Merge: 1ffa5d5 4f4b213
6117 Author: Brad Spengler <spender@grsecurity.net>
6118 Date: Sun Feb 28 20:54:59 2016 -0500
6119
6120 Merge branch 'pax-test' into grsec-test
6121
6122 commit 4f4b21342a4a4f87c01f7909406e6b5f4c9dadbf
6123 Author: Brad Spengler <spender@grsecurity.net>
6124 Date: Sun Feb 28 20:54:06 2016 -0500
6125
6126 Update to pax-linux-4.4.3-test5.patch:
6127 - constified xfrm_mgr and cftype, by Mathias Krause <minipli@ld-linux.so>
6128 - Emese fixed a few checkpatch reports on the gcc plugin generator headers
6129 - Emese fixed a false positive size overflow report in get_next_ino, reported by KARBOWSKI Piotr <piotr.karbowski@gmail.com>
6130 - added a generator for SIMPLE_IPA passes as well
6131
6132 include/linux/cgroup-defs.h | 2 +-
6133 include/linux/hugetlb.h | 2 +-
6134 include/linux/hugetlb_cgroup.h | 11 ++
6135 include/net/xfrm.h | 2 +-
6136 kernel/cgroup.c | 29 ++--
6137 mm/hugetlb.c | 55 ++++++-
6138 mm/hugetlb_cgroup.c | 60 ++-----
6139 mm/mmap.c | 38 ++---
6140 net/xfrm/xfrm_state.c | 4 +-
6141 tools/gcc/constify_plugin.c | 5 +-
6142 tools/gcc/gcc-common.h | 42 +++--
6143 tools/gcc/gcc-generate-gimple-pass.h | 27 ++--
6144 tools/gcc/gcc-generate-ipa-pass.h | 43 ++---
6145 tools/gcc/gcc-generate-rtl-pass.h | 27 ++--
6146 tools/gcc/gcc-generate-simple_ipa-pass.h | 173 +++++++++++++++++++++
6147 tools/gcc/size_overflow_plugin/.gitignore | 1 +
6148 .../disable_size_overflow_hash.data | 7 +-
6149 .../size_overflow_plugin/size_overflow_hash.data | 3 -
6150 18 files changed, 385 insertions(+), 146 deletions(-)
6151
6152 commit 1ffa5d50a2161311d46b56fdef734f309503cb80
6153 Author: Brad Spengler <spender@grsecurity.net>
6154 Date: Sun Feb 28 20:43:02 2016 -0500
6155
6156 Make suid/sgid bruteforce prevention also apply to binaries with fscaps
6157 enabled
6158
6159 grsecurity/grsec_sig.c | 3 +--
6160 1 file changed, 1 insertion(+), 2 deletions(-)
6161
6162 commit cfdb373a77c88d01c1539e605e28143af5981571
6163 Author: Brad Spengler <spender@grsecurity.net>
6164 Date: Sun Feb 28 19:12:39 2016 -0500
6165
6166 compile fix
6167
6168 grsecurity/gracl_segv.c | 2 +-
6169 grsecurity/grsec_sig.c | 2 +-
6170 2 files changed, 2 insertions(+), 2 deletions(-)
6171
6172 commit 67d5160f8c1ee12ee4da1e7ad57f8688fcc77b53
6173 Author: Brad Spengler <spender@grsecurity.net>
6174 Date: Sun Feb 28 18:24:50 2016 -0500
6175
6176 Update the daemon check in handling of anti-bruteforcing of suid binaries
6177 by GRKERNSEC_BRUTE to prevent a bypass reported by Jann Horn where one
6178 could create unprivileged copies of the suid binary via ptrace, inject
6179 code into them, and fork+exec a privileged copy. A crash then in the
6180 privileged copy would trigger the daemon detection which could be avoided
6181 by simply terminating the original process. Defeat this by using our
6182 is_privileged_binary() function against the task's mm->binfmt->file to detect
6183 an fscaps-enabled or suid/sgid binary being involved.
6184
6185 Also update the RBAC RES_CRASH code to use is_privileged_binary().
6186
6187 grsecurity/gracl_segv.c | 15 +--------------
6188 grsecurity/grsec_sig.c | 3 ++-
6189 2 files changed, 3 insertions(+), 15 deletions(-)
6190
6191 commit 7382ec22b0c9627c674ccbb00210276d26f219e3
6192 Author: Brad Spengler <spender@grsecurity.net>
6193 Date: Sun Feb 28 15:06:32 2016 -0500
6194
6195 Fix a GRKERNSEC_PTRACE_READEXEC bypass reported by Jann Horn where one
6196 could dump out an unreadable suid binary by creating a script that used
6197 that binary as an interpreter.
6198
6199 fs/exec.c | 14 +++++++++-----
6200 1 file changed, 9 insertions(+), 5 deletions(-)
6201
6202 commit 3e60eddebe1c59b97c0b5432506bf8e13d84e8e6
6203 Merge: 2d35d52 8327ee6
6204 Author: Brad Spengler <spender@grsecurity.net>
6205 Date: Thu Feb 25 18:44:11 2016 -0500
6206
6207 Merge branch 'pax-test' into grsec-test
6208
6209 Conflicts:
6210 fs/proc/base.c
6211 kernel/ptrace.c
6212 mm/process_vm_access.c
6213
6214 commit 8327ee64e5e24ae6a3446dd96b95d5185f70e1f6
6215 Merge: 09d53c7 2134d97
6216 Author: Brad Spengler <spender@grsecurity.net>
6217 Date: Thu Feb 25 18:36:46 2016 -0500
6218
6219 Merge branch 'linux-4.4.y' into pax-test
6220
6221 Conflicts:
6222 mm/mmap.c
6223
6224 commit 2d35d5276f3feb0c053209f8c3a77b1f55f9d96b
6225 Author: Brad Spengler <spender@grsecurity.net>
6226 Date: Wed Feb 24 07:59:12 2016 -0500
6227
6228 Remove /proc/pid/map_files which we had previously prevented via
6229 an inverted dependency on checkpoint/restart, but clearly should have
6230 guarded independently as upstream in 4.3 enabled it regardless of checkpoint/
6231 restart support. It can be used since 4.3 as an ASLR leak under RBAC to
6232 processes of the same UID. Thanks to Mathias Krause for the report!
6233
6234 fs/proc/base.c | 2 ++
6235 1 file changed, 2 insertions(+)
6236
6237 commit e4f1e517092222aa28179b20e14c0ddfb2796049
6238 Author: Brad Spengler <spender@grsecurity.net>
6239 Date: Thu Feb 18 19:32:39 2016 -0500
6240
6241 Update size_overflow hash table
6242
6243 .../size_overflow_plugin/size_overflow_hash.data | 158 +++++++++++++++++----
6244 1 file changed, 131 insertions(+), 27 deletions(-)
6245
6246 commit d5f895ddfa903d0d70425b8c3d7ef649c7e6943b
6247 Author: Brad Spengler <spender@grsecurity.net>
6248 Date: Thu Feb 18 18:52:37 2016 -0500
6249
6250 Update size_overflow hash table
6251
6252 .../size_overflow_plugin/size_overflow_hash.data | 293 +++++++++++++++++----
6253 1 file changed, 237 insertions(+), 56 deletions(-)
6254
6255 commit 9d198df724c306c36e254fe19d0957fb608c3fa2
6256 Author: Brad Spengler <spender@grsecurity.net>
6257 Date: Thu Feb 18 18:23:03 2016 -0500
6258
6259 compile fix
6260
6261 tools/gcc/randomize_layout_plugin.c | 2 +-
6262 1 file changed, 1 insertion(+), 1 deletion(-)
6263
6264 commit 024d2af98b755712daff6ed7c49af921da4e8883
6265 Author: Brad Spengler <spender@grsecurity.net>
6266 Date: Thu Feb 18 18:19:47 2016 -0500
6267
6268 compile fix
6269
6270 tools/gcc/randomize_layout_plugin.c | 2 +-
6271 1 file changed, 1 insertion(+), 1 deletion(-)
6272
6273 commit 14a7b3bb5c3d8c6ef70c3e0842a5adc7f0f3e2c8
6274 Author: Brad Spengler <spender@grsecurity.net>
6275 Date: Thu Feb 18 18:16:32 2016 -0500
6276
6277 compile fix
6278
6279 tools/gcc/randomize_layout_plugin.c | 9 +++++----
6280 1 file changed, 5 insertions(+), 4 deletions(-)
6281
6282 commit 9b2d0ee62bc66858c274f256c0502cbcbd34b2bf
6283 Author: Brad Spengler <spender@grsecurity.net>
6284 Date: Thu Feb 18 17:54:51 2016 -0500
6285
6286 Compile fix
6287
6288 tools/gcc/randomize_layout_plugin.c | 2 +-
6289 1 file changed, 1 insertion(+), 1 deletion(-)
6290
6291 commit 13823395101c4228ecded4b624583389ee13bfb3
6292 Author: Brad Spengler <spender@grsecurity.net>
6293 Date: Thu Feb 18 17:35:21 2016 -0500
6294
6295 compile fix
6296
6297 Makefile | 5 +----
6298 1 file changed, 1 insertion(+), 4 deletions(-)
6299
6300 commit 0316a42a37e67b0bc8a545c7a8b63db2d25f1ab0
6301 Merge: 45cbb7e 09d53c7
6302 Author: Brad Spengler <spender@grsecurity.net>
6303 Date: Thu Feb 18 16:40:51 2016 -0500
6304
6305 Merge branch 'pax-test' into grsec-test
6306
6307 Conflicts:
6308 Makefile
6309 include/linux/genl_magic_struct.h
6310 scripts/mod/modpost.c
6311 tools/gcc/size_overflow_plugin/size_overflow_hash.data
6312
6313 commit 09d53c74140e87e886a28980cedbb7e771f2a356
6314 Author: Brad Spengler <spender@grsecurity.net>
6315 Date: Thu Feb 18 16:24:02 2016 -0500
6316
6317 Update to pax-linux-4.4.2-test4.patch:
6318 - 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>
6319 - moved gcc plugin related makefile bits into a separate file, by Emese
6320 - changed modpost to report writable function pointers separately
6321 - increased the size of mem_cgroup.numainfo_events to avoid a wraparound caught by REFCOUNT, reported by alexey vlasov
6322 - reduced the size of the compat syscall entry points on amd64
6323 - 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)
6324 - Emese regenerated the size overflow hash table for 4.4
6325 - all plugins now use the new pass generator headers
6326
6327 Makefile | 73 +-
6328 arch/x86/entry/entry_64.S | 2 +-
6329 arch/x86/entry/entry_64_compat.S | 48 +-
6330 fs/exec.c | 3 +
6331 include/linux/genl_magic_struct.h | 4 +-
6332 include/linux/memcontrol.h | 2 +-
6333 ipc/shm.c | 2 +-
6334 mm/memcontrol.c | 6 +-
6335 scripts/Makefile.extrawarn | 4 +
6336 scripts/Makefile.gcc-plugins | 69 +
6337 scripts/mod/modpost.c | 15 +-
6338 tools/gcc/checker_plugin.c | 71 +-
6339 tools/gcc/colorize_plugin.c | 65 +-
6340 tools/gcc/constify_plugin.c | 65 +-
6341 tools/gcc/gcc-generate-gimple-pass.h | 172 +
6342 tools/gcc/gcc-generate-ipa-pass.h | 286 +
6343 tools/gcc/gcc-generate-rtl-pass.h | 172 +
6344 tools/gcc/initify_plugin.c | 74 +-
6345 tools/gcc/kallocstat_plugin.c | 65 +-
6346 tools/gcc/kernexec_plugin.c | 184 +-
6347 tools/gcc/latent_entropy_plugin.c | 71 +-
6348 tools/gcc/randomize_layout_seed.h | 1 -
6349 .../disable_size_overflow_hash.h | 152601 ------------------
6350 .../insert_size_overflow_asm.c | 71 +-
6351 .../size_overflow_plugin/intentional_overflow.c | 6 +-
6352 tools/gcc/size_overflow_plugin/size_overflow.h | 20 +-
6353 .../size_overflow_plugin/size_overflow_hash.data | 2898 +-
6354 tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 94 +-
6355 .../size_overflow_plugin/size_overflow_plugin.c | 14 +-
6356 .../size_overflow_plugin/size_overflow_transform.c | 2 +-
6357 .../size_overflow_transform_core.c | 2 +-
6358 tools/gcc/stackleak_plugin.c | 132 +-
6359 tools/gcc/structleak_plugin.c | 67 +-
6360 33 files changed, 2238 insertions(+), 155123 deletions(-)
6361
6362 commit 45cbb7e015a18625dafb019246e13e8cf3a18ace
6363 Merge: 3b5448b 0c85110
6364 Author: Brad Spengler <spender@grsecurity.net>
6365 Date: Wed Feb 17 19:11:25 2016 -0500
6366
6367 Merge branch 'pax-test' into grsec-test
6368
6369 commit 0c851109f683896aaff8a310bbfa943272b47516
6370 Merge: 6cb4f49 1cb8570
6371 Author: Brad Spengler <spender@grsecurity.net>
6372 Date: Wed Feb 17 19:11:21 2016 -0500
6373
6374 Merge branch 'linux-4.4.y' into pax-test
6375
6376 commit 3b5448bd1d85025d19b2587902e4264eb212a0a3
6377 Author: Brad Spengler <spender@grsecurity.net>
6378 Date: Mon Feb 15 18:02:40 2016 -0500
6379
6380 Fix a drbd bug reported by iamb on the forums:
6381 https://forums.grsecurity.net/viewtopic.php?f=3&t=4366#p16032
6382 which caused a size_overflow report
6383
6384 include/linux/genl_magic_struct.h | 4 ++--
6385 1 file changed, 2 insertions(+), 2 deletions(-)
6386
6387 commit 061fcd0e74441189a87bfe13b55fb02b98f7d7c0
6388 Author: Brad Spengler <spender@grsecurity.net>
6389 Date: Mon Feb 15 13:20:38 2016 -0500
6390
6391 compile fix
6392
6393 drivers/staging/wilc1000/host_interface.h | 1 +
6394 1 file changed, 1 insertion(+)
6395
6396 commit 675f2dcbdd4ea3293eea9c42f0cc427b1c903fc8
6397 Author: Brad Spengler <spender@grsecurity.net>
6398 Date: Mon Feb 15 12:54:52 2016 -0500
6399
6400 Update size_overflow hash table
6401
6402 .../size_overflow_plugin/size_overflow_hash.data | 21 +++++++++++++++++----
6403 1 file changed, 17 insertions(+), 4 deletions(-)
6404
6405 commit c8c50394f0c9f2e9baaeb884a29be2057cadbf7b
6406 Author: Brad Spengler <spender@grsecurity.net>
6407 Date: Mon Feb 15 12:53:54 2016 -0500
6408
6409 compile fix
6410
6411 drivers/staging/wilc1000/wilc_spi.c | 1 -
6412 drivers/staging/wilc1000/wilc_wlan.h | 2 +-
6413 2 files changed, 1 insertion(+), 2 deletions(-)
6414
6415 commit a9dd4481db099082967585be8e153899e5fd24c7
6416 Author: Brad Spengler <spender@grsecurity.net>
6417 Date: Mon Feb 15 12:52:32 2016 -0500
6418
6419 compile fix
6420
6421 fs/proc/fd.c | 2 --
6422 1 file changed, 2 deletions(-)
6423
6424 commit 5acb4fa0063460807096429f073181d1c5a3e566
6425 Author: Brad Spengler <spender@grsecurity.net>
6426 Date: Mon Feb 15 12:32:13 2016 -0500
6427
6428 Update size_overflow hash table
6429
6430 .../size_overflow_plugin/size_overflow_hash.data | 224 +++++++++++++++++----
6431 1 file changed, 182 insertions(+), 42 deletions(-)
6432
6433 commit c0bac9ff9af7ef753740622b5736684a32b49a9f
6434 Author: Brad Spengler <spender@grsecurity.net>
6435 Date: Mon Feb 15 12:31:16 2016 -0500
6436
6437 compile fix
6438
6439 drivers/staging/wilc1000/wilc_spi.c | 1 +
6440 1 file changed, 1 insertion(+)
6441
6442 commit 2f89ebdee131f6a6c85e611e5b993d4b19bc2673
6443 Author: Brad Spengler <spender@grsecurity.net>
6444 Date: Mon Feb 15 12:28:36 2016 -0500
6445
6446 RANDSTRUCT compile fix
6447
6448 drivers/staging/wilc1000/wilc_spi.c | 32 ++++++++++++++++----------------
6449 1 file changed, 16 insertions(+), 16 deletions(-)
6450
6451 commit 693be5d7f5b783f451499bbe83162aeb0f27a09f
6452 Author: Brad Spengler <spender@grsecurity.net>
6453 Date: Mon Feb 15 12:24:49 2016 -0500
6454
6455 RANDSTRUCT compile fix
6456
6457 drivers/staging/wilc1000/wilc_sdio.c | 34 +++++++++++++++++-----------------
6458 1 file changed, 17 insertions(+), 17 deletions(-)
6459
6460 commit bdf3dcd665c1a8ef9b69ad6525760c5160ec19a2
6461 Author: Hariprasad S <hariprasad@chelsio.com>
6462 Date: Fri Dec 11 13:59:17 2015 +0530
6463
6464 iw_cxgb3: Fix incorrectly returning error on success
6465
6466 The cxgb3_*_send() functions return NET_XMIT_ values, which are
6467 positive integers values. So don't treat positive return values
6468 as an error.
6469
6470 Signed-off-by: Steve Wise <swise@opengridcomputing.com>
6471 Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
6472 Signed-off-by: Doug Ledford <dledford@redhat.com>
6473
6474 drivers/infiniband/hw/cxgb3/iwch_cm.c | 4 ++--
6475 1 file changed, 2 insertions(+), 2 deletions(-)
6476
6477 commit 8705fe372dc21046ca3fc55381b70cffb4c60207
6478 Author: Daniel Borkmann <daniel@iogearbox.net>
6479 Date: Wed Feb 10 16:47:11 2016 +0100
6480
6481 bpf: fix branch offset adjustment on backjumps after patching ctx expansion
6482
6483 When ctx access is used, the kernel often needs to expand/rewrite
6484 instructions, so after that patching, branch offsets have to be
6485 adjusted for both forward and backward jumps in the new eBPF program,
6486 but for backward jumps it fails to account the delta. Meaning, for
6487 example, if the expansion happens exactly on the insn that sits at
6488 the jump target, it doesn't fix up the back jump offset.
6489
6490 Analysis on what the check in adjust_branches() is currently doing:
6491
6492 /* adjust offset of jmps if necessary */
6493 if (i < pos && i + insn->off + 1 > pos)
6494 insn->off += delta;
6495 else if (i > pos && i + insn->off + 1 < pos)
6496 insn->off -= delta;
6497
6498 First condition (forward jumps):
6499
6500 Before: After:
6501
6502 insns[0] insns[0]
6503 insns[1] <--- i/insn insns[1] <--- i/insn
6504 insns[2] <--- pos insns[P] <--- pos
6505 insns[3] insns[P] `------| delta
6506 insns[4] <--- target_X insns[P] `-----|
6507 insns[5] insns[3]
6508 insns[4] <--- target_X
6509 insns[5]
6510
6511 First case is if we cross pos-boundary and the jump instruction was
6512 before pos. This is handeled correctly. I.e. if i == pos, then this
6513 would mean our jump that we currently check was the patchlet itself
6514 that we just injected. Since such patchlets are self-contained and
6515 have no awareness of any insns before or after the patched one, the
6516 delta is correctly not adjusted. Also, for the second condition in
6517 case of i + insn->off + 1 == pos, means we jump to that newly patched
6518 instruction, so no offset adjustment are needed. That part is correct.
6519
6520 Second condition (backward jumps):
6521
6522 Before: After:
6523
6524 insns[0] insns[0]
6525 insns[1] <--- target_X insns[1] <--- target_X
6526 insns[2] <--- pos <-- target_Y insns[P] <--- pos <-- target_Y
6527 insns[3] insns[P] `------| delta
6528 insns[4] <--- i/insn insns[P] `-----|
6529 insns[5] insns[3]
6530 insns[4] <--- i/insn
6531 insns[5]
6532
6533 Second interesting case is where we cross pos-boundary and the jump
6534 instruction was after pos. Backward jump with i == pos would be
6535 impossible and pose a bug somewhere in the patchlet, so the first
6536 condition checking i > pos is okay only by itself. However, i +
6537 insn->off + 1 < pos does not always work as intended to trigger the
6538 adjustment. It works when jump targets would be far off where the
6539 delta wouldn't matter. But, for example, where the fixed insn->off
6540 before pointed to pos (target_Y), it now points to pos + delta, so
6541 that additional room needs to be taken into account for the check.
6542 This means that i) both tests here need to be adjusted into pos + delta,
6543 and ii) for the second condition, the test needs to be <= as pos
6544 itself can be a target in the backjump, too.
6545
6546 Fixes: 9bac3d6d548e ("bpf: allow extended BPF programs access skb fields")
6547 Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
6548 Signed-off-by: David S. Miller <davem@davemloft.net>
6549
6550 kernel/bpf/verifier.c | 2 +-
6551 1 file changed, 1 insertion(+), 1 deletion(-)
6552
6553 commit 61b513b644116e77313addf65970db58f4981608
6554 Author: Ryan Ware <ware@linux.intel.com>
6555 Date: Thu Feb 11 15:58:44 2016 -0800
6556
6557 EVM: Use crypto_memneq() for digest comparisons
6558
6559 This patch fixes vulnerability CVE-2016-2085. The problem exists
6560 because the vm_verify_hmac() function includes a use of memcmp().
6561 Unfortunately, this allows timing side channel attacks; specifically
6562 a MAC forgery complexity drop from 2^128 to 2^12. This patch changes
6563 the memcmp() to the cryptographically safe crypto_memneq().
6564
6565 Reported-by: Xiaofei Rex Guo <xiaofei.rex.guo@intel.com>
6566 Signed-off-by: Ryan Ware <ware@linux.intel.com>
6567 Cc: stable@vger.kernel.org
6568 Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
6569 Signed-off-by: James Morris <james.l.morris@oracle.com>
6570
6571 security/integrity/evm/evm_main.c | 3 ++-
6572 1 file changed, 2 insertions(+), 1 deletion(-)
6573
6574 commit 970b961e7d0684624f9c69f0b4367d5c76b65a63
6575 Author: Michael McConville <mmcco@mykolab.com>
6576 Date: Fri Feb 5 20:46:25 2016 -0500
6577
6578 dscc4: Undefined signed int shift
6579
6580 My analysis in the below mail applies, although the second part is
6581 unnecessary because i isn't used in arithmetic operations here:
6582
6583 https://marc.info/?l=openbsd-tech&m=145377854103866&w=2
6584
6585 Thanks for your time.
6586
6587 Signed-off-by: Michael McConville <mmcco@mykolab.com>
6588 Acked-by: Francois Romieu <romieu@fr.zoreil.com>
6589 Signed-off-by: David S. Miller <davem@davemloft.net>
6590
6591 drivers/net/wan/dscc4.c | 2 +-
6592 1 file changed, 1 insertion(+), 1 deletion(-)
6593
6594 commit d843df24b6680b600e87ebfea3b7b198b90b5a2a
6595 Author: Andrey Konovalov <andreyknvl@gmail.com>
6596 Date: Sat Feb 13 11:08:06 2016 +0300
6597
6598 ALSA: usb-audio: avoid freeing umidi object twice
6599
6600 The 'umidi' object will be free'd on the error path by snd_usbmidi_free()
6601 when tearing down the rawmidi interface. So we shouldn't try to free it
6602 in snd_usbmidi_create() after having registered the rawmidi interface.
6603
6604 Found by KASAN.
6605
6606 Signed-off-by: Andrey Konovalov <andreyknvl@gmail.com>
6607 Acked-by: Clemens Ladisch <clemens@ladisch.de>
6608 Cc: <stable@vger.kernel.org>
6609 Signed-off-by: Takashi Iwai <tiwai@suse.de>
6610
6611 sound/usb/midi.c | 1 -
6612 1 file changed, 1 deletion(-)
6613
6614 commit ed3a8ab1976674d56e258da93639e61f1446e703
6615 Author: zengtao <prime.zeng@huawei.com>
6616 Date: Tue Feb 2 11:38:34 2016 +0800
6617
6618 cputime: Prevent 32bit overflow in time[val|spec]_to_cputime()
6619
6620 The datatype __kernel_time_t is u32 on 32bit platform, so its subject to
6621 overflows in the timeval/timespec to cputime conversion.
6622
6623 Currently the following functions are affected:
6624 1. setitimer()
6625 2. timer_create/timer_settime()
6626 3. sys_clock_nanosleep
6627
6628 This can happen on MIPS32 and ARM32 with "Full dynticks CPU time accounting"
6629 enabled, which is required for CONFIG_NO_HZ_FULL.
6630
6631 Enforce u64 conversion to prevent the overflow.
6632
6633 Fixes: 31c1fc818715 ("ARM: Kconfig: allow full nohz CPU accounting")
6634 Signed-off-by: zengtao <prime.zeng@huawei.com>
6635 Reviewed-by: Arnd Bergmann <arnd@arndb.de>
6636 Cc: <fweisbec@gmail.com>
6637 Cc: stable@vger.kernel.org
6638 Link: http://lkml.kernel.org/r/1454384314-154784-1-git-send-email-prime.zeng@huawei.com
6639 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
6640
6641 include/asm-generic/cputime_nsecs.h | 5 +++--
6642 1 file changed, 3 insertions(+), 2 deletions(-)
6643
6644 commit bf8a2de485da37d73850e7cfa31967b7798b6ce0
6645 Author: Brad Spengler <spender@grsecurity.net>
6646 Date: Mon Feb 15 11:55:18 2016 -0500
6647
6648 Fix building with allnoconfig, don't make our added DATA_TO_TEXT mismatch warnings
6649 count as actual mismatches
6650
6651 scripts/mod/modpost.c | 3 ++-
6652 1 file changed, 2 insertions(+), 1 deletion(-)
6653
6654 commit c9d82b6d0f1a2484fea0a516989dbdc6c55e5693
6655 Author: Brad Spengler <spender@grsecurity.net>
6656 Date: Mon Feb 15 11:44:36 2016 -0500
6657
6658 Compile fix
6659
6660 tools/gcc/randomize_layout_seed.h | 1 -
6661 1 file changed, 1 deletion(-)
6662
6663 commit fb68cbb98732e6801e8fc8d1da1f1195e51ff077
6664 Author: Brad Spengler <spender@grsecurity.net>
6665 Date: Mon Feb 15 11:27:32 2016 -0500
6666
6667 disable USELIB
6668
6669 init/Kconfig | 3 ++-
6670 1 file changed, 2 insertions(+), 1 deletion(-)
6671
6672 commit cbda9a44b7f92161eb1e444bf7fe2bbcbedaae65
6673 Author: Brad Spengler <spender@grsecurity.net>
6674 Date: Mon Feb 15 11:23:56 2016 -0500
6675
6676 compile fix
6677
6678 fs/proc/fd.c | 2 +-
6679 1 file changed, 1 insertion(+), 1 deletion(-)
6680
6681 commit 5cf0a2e87ab7105d1ba01f55f7636fa2e1fa4bb4
6682 Author: Brad Spengler <spender@grsecurity.net>
6683 Date: Mon Feb 15 11:19:26 2016 -0500
6684
6685 Initial import of grsecurity for Linux 4.4.1
6686
6687 Documentation/dontdiff | 2 +
6688 Documentation/kernel-parameters.txt | 11 +
6689 Documentation/sysctl/fs.txt | 23 +
6690 Documentation/sysctl/kernel.txt | 15 +
6691 Makefile | 18 +-
6692 arch/alpha/include/asm/cache.h | 4 +-
6693 arch/alpha/kernel/osf_sys.c | 12 +-
6694 arch/arc/Kconfig | 1 +
6695 arch/arm/Kconfig | 1 +
6696 arch/arm/Kconfig.debug | 1 +
6697 arch/arm/include/asm/thread_info.h | 7 +-
6698 arch/arm/kernel/entry-common.S | 8 +-
6699 arch/arm/kernel/process.c | 4 +-
6700 arch/arm/kernel/ptrace.c | 9 +
6701 arch/arm/kernel/traps.c | 7 +-
6702 arch/arm/mm/Kconfig | 4 +-
6703 arch/arm/mm/fault.c | 40 +-
6704 arch/arm/mm/mmap.c | 8 +-
6705 arch/arm/net/bpf_jit_32.c | 51 +-
6706 arch/arm64/Kconfig.debug | 1 +
6707 arch/avr32/include/asm/cache.h | 4 +-
6708 arch/blackfin/Kconfig.debug | 1 +
6709 arch/blackfin/include/asm/cache.h | 3 +-
6710 arch/cris/include/arch-v10/arch/cache.h | 3 +-
6711 arch/cris/include/arch-v32/arch/cache.h | 3 +-
6712 arch/frv/include/asm/cache.h | 3 +-
6713 arch/frv/mm/elf-fdpic.c | 4 +-
6714 arch/hexagon/include/asm/cache.h | 6 +-
6715 arch/ia64/Kconfig | 1 +
6716 arch/ia64/include/asm/cache.h | 3 +-
6717 arch/ia64/kernel/sys_ia64.c | 2 +
6718 arch/ia64/mm/hugetlbpage.c | 2 +
6719 arch/m32r/include/asm/cache.h | 4 +-
6720 arch/m68k/include/asm/cache.h | 4 +-
6721 arch/metag/mm/hugetlbpage.c | 1 +
6722 arch/microblaze/include/asm/cache.h | 3 +-
6723 arch/mips/Kconfig | 1 +
6724 arch/mips/include/asm/cache.h | 3 +-
6725 arch/mips/include/asm/thread_info.h | 11 +-
6726 arch/mips/kernel/irq.c | 3 +
6727 arch/mips/kernel/ptrace.c | 9 +
6728 arch/mips/mm/mmap.c | 4 +-
6729 arch/mn10300/proc-mn103e010/include/proc/cache.h | 4 +-
6730 arch/mn10300/proc-mn2ws0050/include/proc/cache.h | 4 +-
6731 arch/openrisc/include/asm/cache.h | 4 +-
6732 arch/parisc/include/asm/cache.h | 3 +
6733 arch/parisc/kernel/sys_parisc.c | 4 +
6734 arch/powerpc/Kconfig | 1 +
6735 arch/powerpc/include/asm/cache.h | 4 +-
6736 arch/powerpc/include/asm/thread_info.h | 5 +-
6737 arch/powerpc/kernel/Makefile | 2 +
6738 arch/powerpc/kernel/irq.c | 3 +
6739 arch/powerpc/kernel/process.c | 10 +-
6740 arch/powerpc/kernel/ptrace.c | 14 +
6741 arch/powerpc/kernel/traps.c | 5 +
6742 arch/powerpc/mm/slice.c | 2 +-
6743 arch/s390/Kconfig.debug | 1 +
6744 arch/s390/include/asm/cache.h | 4 +-
6745 arch/score/include/asm/cache.h | 4 +-
6746 arch/sh/include/asm/cache.h | 3 +-
6747 arch/sh/mm/mmap.c | 6 +-
6748 arch/sparc/include/asm/cache.h | 4 +-
6749 arch/sparc/include/asm/pgalloc_64.h | 1 +
6750 arch/sparc/include/asm/thread_info_64.h | 8 +-
6751 arch/sparc/kernel/process_32.c | 6 +-
6752 arch/sparc/kernel/process_64.c | 8 +-
6753 arch/sparc/kernel/ptrace_64.c | 14 +
6754 arch/sparc/kernel/sys_sparc_64.c | 8 +-
6755 arch/sparc/kernel/syscalls.S | 8 +-
6756 arch/sparc/kernel/traps_32.c | 8 +-
6757 arch/sparc/kernel/traps_64.c | 28 +-
6758 arch/sparc/kernel/unaligned_64.c | 2 +-
6759 arch/sparc/mm/fault_64.c | 2 +-
6760 arch/sparc/mm/hugetlbpage.c | 15 +-
6761 arch/tile/Kconfig | 1 +
6762 arch/tile/include/asm/cache.h | 3 +-
6763 arch/tile/mm/hugetlbpage.c | 2 +
6764 arch/um/include/asm/cache.h | 3 +-
6765 arch/unicore32/include/asm/cache.h | 6 +-
6766 arch/x86/Kconfig | 21 +
6767 arch/x86/Kconfig.debug | 2 +
6768 arch/x86/entry/common.c | 14 +
6769 arch/x86/entry/entry_32.S | 2 +-
6770 arch/x86/entry/entry_64.S | 2 +-
6771 arch/x86/ia32/ia32_aout.c | 2 +
6772 arch/x86/include/asm/floppy.h | 20 +-
6773 arch/x86/include/asm/fpu/types.h | 69 +-
6774 arch/x86/include/asm/io.h | 2 +-
6775 arch/x86/include/asm/page.h | 12 +-
6776 arch/x86/include/asm/paravirt_types.h | 23 +-
6777 arch/x86/include/asm/pgtable_types.h | 6 +-
6778 arch/x86/include/asm/processor.h | 12 +-
6779 arch/x86/include/asm/thread_info.h | 6 +-
6780 arch/x86/include/asm/uaccess.h | 2 +-
6781 arch/x86/kernel/dumpstack.c | 10 +-
6782 arch/x86/kernel/dumpstack_32.c | 2 +-
6783 arch/x86/kernel/dumpstack_64.c | 2 +-
6784 arch/x86/kernel/ioport.c | 13 +
6785 arch/x86/kernel/irq_32.c | 3 +
6786 arch/x86/kernel/irq_64.c | 4 +
6787 arch/x86/kernel/ldt.c | 18 +
6788 arch/x86/kernel/msr.c | 10 +
6789 arch/x86/kernel/ptrace.c | 14 +
6790 arch/x86/kernel/signal.c | 9 +-
6791 arch/x86/kernel/sys_i386_32.c | 9 +-
6792 arch/x86/kernel/sys_x86_64.c | 8 +-
6793 arch/x86/kernel/traps.c | 5 +
6794 arch/x86/kernel/verify_cpu.S | 1 +
6795 arch/x86/kernel/vm86_32.c | 15 +
6796 arch/x86/mm/fault.c | 12 +-
6797 arch/x86/mm/hugetlbpage.c | 15 +-
6798 arch/x86/mm/init.c | 66 +-
6799 arch/x86/mm/init_32.c | 6 +-
6800 arch/x86/mm/pageattr.c | 4 +-
6801 arch/x86/net/bpf_jit_comp.c | 4 +
6802 arch/x86/platform/efi/efi_64.c | 2 +-
6803 arch/x86/xen/Kconfig | 1 +
6804 arch/xtensa/variants/dc232b/include/variant/core.h | 2 +-
6805 arch/xtensa/variants/fsf/include/variant/core.h | 3 +-
6806 crypto/scatterwalk.c | 10 +-
6807 drivers/acpi/acpica/hwxfsleep.c | 11 +-
6808 drivers/acpi/custom_method.c | 4 +
6809 drivers/block/cciss.h | 30 +-
6810 drivers/block/smart1,2.h | 40 +-
6811 drivers/cdrom/cdrom.c | 2 +-
6812 drivers/char/Kconfig | 4 +-
6813 drivers/char/genrtc.c | 1 +
6814 drivers/char/mem.c | 17 +
6815 drivers/char/random.c | 5 +-
6816 drivers/cpufreq/sparc-us3-cpufreq.c | 2 -
6817 drivers/firewire/ohci.c | 4 +
6818 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 70 +-
6819 drivers/gpu/drm/nouveau/nouveau_ttm.c | 28 +-
6820 drivers/gpu/drm/ttm/ttm_bo_manager.c | 10 +-
6821 drivers/gpu/drm/virtio/virtgpu_ttm.c | 10 +-
6822 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c | 10 +-
6823 drivers/hid/hid-wiimote-debug.c | 2 +-
6824 drivers/infiniband/hw/nes/nes_cm.c | 22 +-
6825 drivers/iommu/Kconfig | 1 +
6826 drivers/iommu/amd_iommu.c | 14 +-
6827 drivers/isdn/gigaset/bas-gigaset.c | 32 +-
6828 drivers/isdn/gigaset/ser-gigaset.c | 32 +-
6829 drivers/isdn/gigaset/usb-gigaset.c | 32 +-
6830 drivers/isdn/i4l/isdn_concap.c | 6 +-
6831 drivers/isdn/i4l/isdn_x25iface.c | 16 +-
6832 drivers/md/bcache/Kconfig | 1 +
6833 drivers/md/raid5.c | 8 +
6834 drivers/media/pci/solo6x10/solo6x10-g723.c | 2 +-
6835 drivers/media/platform/sti/c8sectpfe/Kconfig | 1 +
6836 drivers/media/radio/radio-cadet.c | 5 +-
6837 drivers/media/usb/dvb-usb/cinergyT2-core.c | 91 +-
6838 drivers/media/usb/dvb-usb/cinergyT2-fe.c | 182 +-
6839 drivers/media/usb/dvb-usb/dvb-usb-firmware.c | 37 +-
6840 drivers/media/usb/dvb-usb/technisat-usb2.c | 75 +-
6841 drivers/message/fusion/mptbase.c | 9 +
6842 drivers/misc/sgi-xp/xp_main.c | 12 +-
6843 drivers/net/ethernet/brocade/bna/bna_enet.c | 8 +-
6844 drivers/net/ppp/pptp.c | 34 +-
6845 drivers/net/wan/lmc/lmc_media.c | 97 +-
6846 drivers/net/wan/z85230.c | 24 +-
6847 drivers/net/wireless/ath/ath9k/Kconfig | 1 -
6848 drivers/net/wireless/zd1211rw/zd_usb.c | 2 +-
6849 drivers/pci/proc.c | 9 +
6850 drivers/platform/x86/asus-wmi.c | 12 +
6851 drivers/rtc/rtc-dev.c | 3 +
6852 drivers/scsi/bfa/bfa_fcs.c | 19 +-
6853 drivers/scsi/bfa/bfa_fcs_lport.c | 29 +-
6854 drivers/scsi/bfa/bfa_modules.h | 12 +-
6855 drivers/scsi/hpsa.h | 40 +-
6856 drivers/staging/lustre/lustre/ldlm/ldlm_flock.c | 2 +-
6857 drivers/staging/lustre/lustre/libcfs/module.c | 10 +-
6858 drivers/tty/serial/uartlite.c | 4 +-
6859 drivers/tty/sysrq.c | 2 +-
6860 drivers/tty/tty_io.c | 4 +
6861 drivers/tty/vt/keyboard.c | 22 +-
6862 drivers/uio/uio.c | 6 +-
6863 drivers/usb/core/hub.c | 5 +
6864 drivers/usb/gadget/function/f_uac1.c | 1 +
6865 drivers/usb/gadget/function/u_uac1.c | 1 +
6866 drivers/usb/host/hwa-hc.c | 9 +-
6867 drivers/usb/usbip/vhci_sysfs.c | 2 +-
6868 drivers/video/fbdev/arcfb.c | 2 +-
6869 drivers/video/fbdev/matrox/matroxfb_DAC1064.c | 10 +-
6870 drivers/video/fbdev/matrox/matroxfb_Ti3026.c | 5 +-
6871 drivers/video/fbdev/sh_mobile_lcdcfb.c | 6 +-
6872 drivers/video/logo/logo_linux_clut224.ppm | 2720 ++++----
6873 drivers/xen/xenfs/xenstored.c | 5 +
6874 firmware/Makefile | 2 +
6875 firmware/WHENCE | 20 +-
6876 firmware/bnx2/bnx2-mips-06-6.2.3.fw.ihex | 5804 +++++++++++++++++
6877 firmware/bnx2/bnx2-mips-09-6.2.1b.fw.ihex | 6496 ++++++++++++++++++++
6878 fs/attr.c | 4 +
6879 fs/autofs4/waitq.c | 9 +
6880 fs/binfmt_aout.c | 7 +
6881 fs/binfmt_elf.c | 40 +-
6882 fs/compat.c | 20 +-
6883 fs/compat_ioctl.c | 253 +-
6884 fs/coredump.c | 17 +-
6885 fs/dcache.c | 3 +
6886 fs/debugfs/inode.c | 11 +-
6887 fs/exec.c | 231 +-
6888 fs/ext2/balloc.c | 4 +-
6889 fs/ext2/super.c | 8 +-
6890 fs/ext4/balloc.c | 4 +-
6891 fs/ext4/extents.c | 2 +-
6892 fs/fcntl.c | 4 +
6893 fs/fhandle.c | 3 +-
6894 fs/file.c | 4 +
6895 fs/filesystems.c | 4 +
6896 fs/fs_struct.c | 20 +-
6897 fs/hugetlbfs/inode.c | 24 +-
6898 fs/inode.c | 8 +-
6899 fs/internal.h | 7 +
6900 fs/ioctl.c | 4 +-
6901 fs/kernfs/dir.c | 6 +
6902 fs/mount.h | 4 +-
6903 fs/namei.c | 283 +-
6904 fs/namespace.c | 24 +
6905 fs/nfsd/nfscache.c | 2 +-
6906 fs/open.c | 38 +
6907 fs/overlayfs/inode.c | 3 +
6908 fs/overlayfs/super.c | 6 +-
6909 fs/pipe.c | 49 +-
6910 fs/posix_acl.c | 15 +-
6911 fs/proc/Kconfig | 10 +-
6912 fs/proc/array.c | 69 +-
6913 fs/proc/base.c | 186 +-
6914 fs/proc/cmdline.c | 4 +
6915 fs/proc/devices.c | 4 +
6916 fs/proc/fd.c | 12 +-
6917 fs/proc/generic.c | 64 +
6918 fs/proc/inode.c | 17 +
6919 fs/proc/internal.h | 11 +-
6920 fs/proc/interrupts.c | 4 +
6921 fs/proc/kcore.c | 3 +
6922 fs/proc/namespaces.c | 4 +-
6923 fs/proc/proc_net.c | 31 +
6924 fs/proc/proc_sysctl.c | 52 +-
6925 fs/proc/root.c | 8 +
6926 fs/proc/stat.c | 69 +-
6927 fs/proc/task_mmu.c | 66 +-
6928 fs/readdir.c | 19 +
6929 fs/reiserfs/item_ops.c | 24 +-
6930 fs/reiserfs/super.c | 4 +
6931 fs/select.c | 2 +
6932 fs/seq_file.c | 30 +-
6933 fs/stat.c | 20 +-
6934 fs/sysfs/dir.c | 30 +-
6935 fs/utimes.c | 7 +
6936 fs/xattr.c | 26 +-
6937 grsecurity/Kconfig | 1203 ++++
6938 grsecurity/Makefile | 54 +
6939 grsecurity/gracl.c | 2757 +++++++++
6940 grsecurity/gracl_alloc.c | 105 +
6941 grsecurity/gracl_cap.c | 127 +
6942 grsecurity/gracl_compat.c | 269 +
6943 grsecurity/gracl_fs.c | 448 ++
6944 grsecurity/gracl_ip.c | 386 ++
6945 grsecurity/gracl_learn.c | 207 +
6946 grsecurity/gracl_policy.c | 1786 ++++++
6947 grsecurity/gracl_res.c | 68 +
6948 grsecurity/gracl_segv.c | 304 +
6949 grsecurity/gracl_shm.c | 40 +
6950 grsecurity/grsec_chdir.c | 19 +
6951 grsecurity/grsec_chroot.c | 467 ++
6952 grsecurity/grsec_disabled.c | 445 ++
6953 grsecurity/grsec_exec.c | 189 +
6954 grsecurity/grsec_fifo.c | 26 +
6955 grsecurity/grsec_fork.c | 23 +
6956 grsecurity/grsec_init.c | 294 +
6957 grsecurity/grsec_ipc.c | 48 +
6958 grsecurity/grsec_link.c | 65 +
6959 grsecurity/grsec_log.c | 340 +
6960 grsecurity/grsec_mem.c | 48 +
6961 grsecurity/grsec_mount.c | 65 +
6962 grsecurity/grsec_pax.c | 47 +
6963 grsecurity/grsec_proc.c | 20 +
6964 grsecurity/grsec_ptrace.c | 30 +
6965 grsecurity/grsec_sig.c | 245 +
6966 grsecurity/grsec_sock.c | 244 +
6967 grsecurity/grsec_sysctl.c | 497 ++
6968 grsecurity/grsec_time.c | 16 +
6969 grsecurity/grsec_tpe.c | 78 +
6970 grsecurity/grsec_tty.c | 18 +
6971 grsecurity/grsec_usb.c | 15 +
6972 grsecurity/grsum.c | 54 +
6973 include/linux/binfmts.h | 5 +-
6974 include/linux/capability.h | 13 +
6975 include/linux/compiler-gcc.h | 5 +
6976 include/linux/compiler.h | 8 +
6977 include/linux/cred.h | 8 +-
6978 include/linux/dcache.h | 5 +-
6979 include/linux/fs.h | 26 +-
6980 include/linux/fs_struct.h | 2 +-
6981 include/linux/fsnotify.h | 6 +
6982 include/linux/gracl.h | 342 ++
6983 include/linux/gracl_compat.h | 156 +
6984 include/linux/gralloc.h | 9 +
6985 include/linux/grdefs.h | 140 +
6986 include/linux/grinternal.h | 231 +
6987 include/linux/grmsg.h | 119 +
6988 include/linux/grsecurity.h | 258 +
6989 include/linux/grsock.h | 19 +
6990 include/linux/ipc.h | 2 +-
6991 include/linux/ipc_namespace.h | 2 +-
6992 include/linux/kallsyms.h | 18 +-
6993 include/linux/key-type.h | 4 +-
6994 include/linux/kmod.h | 5 +
6995 include/linux/kobject.h | 2 +-
6996 include/linux/lsm_hooks.h | 4 +-
6997 include/linux/mm.h | 12 +
6998 include/linux/mm_types.h | 4 +-
6999 include/linux/module.h | 5 +-
7000 include/linux/mount.h | 2 +-
7001 include/linux/msg.h | 2 +-
7002 include/linux/netfilter/xt_gradm.h | 9 +
7003 include/linux/path.h | 4 +-
7004 include/linux/perf_event.h | 13 +-
7005 include/linux/pid_namespace.h | 2 +-
7006 include/linux/pipe_fs_i.h | 4 +
7007 include/linux/poison.h | 2 +-
7008 include/linux/printk.h | 2 +-
7009 include/linux/proc_fs.h | 22 +-
7010 include/linux/proc_ns.h | 2 +-
7011 include/linux/ptrace.h | 24 +-
7012 include/linux/radix-tree.h | 22 +-
7013 include/linux/random.h | 2 +-
7014 include/linux/rbtree_augmented.h | 4 +-
7015 include/linux/scatterlist.h | 12 +-
7016 include/linux/sched.h | 115 +-
7017 include/linux/security.h | 1 +
7018 include/linux/sem.h | 2 +-
7019 include/linux/seq_file.h | 5 +
7020 include/linux/shm.h | 6 +-
7021 include/linux/shmem_fs.h | 5 +-
7022 include/linux/skbuff.h | 3 +
7023 include/linux/slab.h | 9 -
7024 include/linux/sysctl.h | 8 +-
7025 include/linux/thread_info.h | 6 +-
7026 include/linux/tty.h | 2 +-
7027 include/linux/tty_driver.h | 4 +-
7028 include/linux/uidgid.h | 5 +
7029 include/linux/user_namespace.h | 2 +-
7030 include/linux/utsname.h | 2 +-
7031 include/linux/vermagic.h | 16 +-
7032 include/linux/vmalloc.h | 8 +
7033 include/net/af_unix.h | 6 +-
7034 include/net/ip.h | 2 +-
7035 include/net/neighbour.h | 2 +-
7036 include/net/net_namespace.h | 2 +-
7037 include/net/netfilter/nf_conntrack_core.h | 8 +-
7038 include/net/scm.h | 1 +
7039 include/net/sock.h | 2 +-
7040 include/trace/events/fs.h | 53 +
7041 include/uapi/linux/personality.h | 1 +
7042 init/Kconfig | 2 +
7043 init/main.c | 46 +-
7044 ipc/mqueue.c | 1 +
7045 ipc/msg.c | 3 +-
7046 ipc/msgutil.c | 4 +-
7047 ipc/sem.c | 3 +-
7048 ipc/shm.c | 26 +-
7049 ipc/util.c | 6 +
7050 kernel/auditsc.c | 2 +-
7051 kernel/bpf/syscall.c | 10 +-
7052 kernel/capability.c | 41 +-
7053 kernel/cgroup.c | 5 +-
7054 kernel/compat.c | 1 +
7055 kernel/configs.c | 11 +
7056 kernel/cred.c | 112 +-
7057 kernel/events/core.c | 16 +-
7058 kernel/exit.c | 10 +-
7059 kernel/fork.c | 86 +-
7060 kernel/futex.c | 6 +-
7061 kernel/futex_compat.c | 2 +-
7062 kernel/kallsyms.c | 9 +
7063 kernel/kcmp.c | 8 +-
7064 kernel/kexec_core.c | 2 +-
7065 kernel/kmod.c | 96 +-
7066 kernel/kprobes.c | 9 +-
7067 kernel/ksysfs.c | 2 +
7068 kernel/locking/lockdep_proc.c | 10 +-
7069 kernel/module.c | 108 +-
7070 kernel/panic.c | 4 +-
7071 kernel/pid.c | 18 +-
7072 kernel/power/Kconfig | 2 +
7073 kernel/printk/printk.c | 7 +-
7074 kernel/ptrace.c | 89 +-
7075 kernel/resource.c | 10 +
7076 kernel/sched/core.c | 11 +-
7077 kernel/seccomp.c | 22 +-
7078 kernel/signal.c | 37 +-
7079 kernel/sys.c | 64 +-
7080 kernel/sysctl.c | 186 +-
7081 kernel/taskstats.c | 6 +
7082 kernel/time/posix-timers.c | 8 +
7083 kernel/time/time.c | 5 +
7084 kernel/time/timekeeping.c | 3 +
7085 kernel/time/timer_list.c | 13 +-
7086 kernel/time/timer_stats.c | 10 +-
7087 kernel/trace/Kconfig | 2 +
7088 kernel/trace/trace_syscalls.c | 8 +
7089 kernel/user_namespace.c | 15 +
7090 lib/Kconfig.debug | 13 +-
7091 lib/Kconfig.kasan | 2 +-
7092 lib/is_single_threaded.c | 3 +
7093 lib/list_debug.c | 65 +-
7094 lib/nlattr.c | 2 +
7095 lib/radix-tree.c | 12 +-
7096 lib/rbtree.c | 4 +-
7097 lib/vsprintf.c | 39 +-
7098 localversion-grsec | 1 +
7099 mm/Kconfig | 8 +-
7100 mm/Kconfig.debug | 1 +
7101 mm/filemap.c | 1 +
7102 mm/kmemleak.c | 4 +-
7103 mm/memory.c | 2 +-
7104 mm/mempolicy.c | 12 +-
7105 mm/migrate.c | 3 +-
7106 mm/mlock.c | 11 +-
7107 mm/mmap.c | 103 +-
7108 mm/mprotect.c | 8 +
7109 mm/oom_kill.c | 4 +
7110 mm/page_alloc.c | 2 +-
7111 mm/process_vm_access.c | 8 +-
7112 mm/shmem.c | 11 +-
7113 mm/slab.c | 14 +-
7114 mm/slab_common.c | 2 +-
7115 mm/slob.c | 12 +
7116 mm/slub.c | 33 +-
7117 mm/util.c | 3 +
7118 mm/vmalloc.c | 82 +-
7119 mm/vmstat.c | 29 +-
7120 net/appletalk/atalk_proc.c | 2 +-
7121 net/atm/lec.c | 6 +-
7122 net/atm/mpoa_caches.c | 42 +-
7123 net/can/bcm.c | 2 +-
7124 net/can/proc.c | 2 +-
7125 net/core/dev_ioctl.c | 7 +-
7126 net/core/filter.c | 8 +-
7127 net/core/net-procfs.c | 17 +-
7128 net/core/pktgen.c | 2 +-
7129 net/core/scm.c | 7 +
7130 net/core/sock.c | 3 +-
7131 net/core/sysctl_net_core.c | 2 +-
7132 net/decnet/dn_dev.c | 2 +-
7133 net/ipv4/Kconfig | 1 +
7134 net/ipv4/devinet.c | 6 +-
7135 net/ipv4/inet_hashtables.c | 4 +
7136 net/ipv4/ip_input.c | 7 +
7137 net/ipv4/ip_sockglue.c | 3 +-
7138 net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 +-
7139 net/ipv4/route.c | 6 +-
7140 net/ipv4/tcp_input.c | 6 +-
7141 net/ipv4/tcp_ipv4.c | 24 +-
7142 net/ipv4/tcp_minisocks.c | 9 +-
7143 net/ipv4/tcp_timer.c | 11 +
7144 net/ipv4/udp.c | 24 +
7145 net/ipv6/Kconfig | 1 +
7146 net/ipv6/addrconf.c | 13 +-
7147 net/ipv6/proc.c | 2 +-
7148 net/ipv6/tcp_ipv6.c | 23 +-
7149 net/ipv6/udp.c | 7 +
7150 net/ipx/ipx_proc.c | 2 +-
7151 net/irda/irproc.c | 2 +-
7152 net/iucv/af_iucv.c | 3 +
7153 net/llc/llc_proc.c | 2 +-
7154 net/netfilter/Kconfig | 10 +
7155 net/netfilter/Makefile | 1 +
7156 net/netfilter/nf_conntrack_core.c | 46 +-
7157 net/netfilter/nf_conntrack_helper.c | 2 +-
7158 net/netfilter/nf_conntrack_netlink.c | 2 +-
7159 net/netfilter/xt_gradm.c | 51 +
7160 net/netfilter/xt_hashlimit.c | 4 +-
7161 net/netfilter/xt_recent.c | 2 +-
7162 net/openvswitch/actions.c | 19 +-
7163 net/sctp/sm_sideeffect.c | 11 +-
7164 net/sctp/sm_statefuns.c | 17 +-
7165 net/socket.c | 75 +-
7166 net/sunrpc/Kconfig | 1 +
7167 net/sunrpc/cache.c | 2 +-
7168 net/sunrpc/stats.c | 2 +-
7169 net/sysctl_net.c | 2 +-
7170 net/unix/af_unix.c | 57 +-
7171 net/unix/garbage.c | 8 +-
7172 net/vmw_vsock/vmci_transport_notify.c | 30 +-
7173 net/vmw_vsock/vmci_transport_notify_qstate.c | 30 +-
7174 net/x25/sysctl_net_x25.c | 2 +-
7175 net/x25/x25_proc.c | 2 +-
7176 scripts/package/Makefile | 2 +-
7177 scripts/package/mkspec | 41 +-
7178 security/Kconfig | 369 +-
7179 security/apparmor/file.c | 4 +-
7180 security/apparmor/lsm.c | 8 +-
7181 security/commoncap.c | 36 +-
7182 security/keys/internal.h | 2 +-
7183 security/min_addr.c | 2 +
7184 security/smack/smack_lsm.c | 8 +-
7185 security/tomoyo/file.c | 12 +-
7186 security/tomoyo/mount.c | 4 +
7187 security/tomoyo/tomoyo.c | 20 +-
7188 security/yama/Kconfig | 2 +-
7189 security/yama/yama_lsm.c | 4 +-
7190 sound/core/timer.c | 4 +-
7191 sound/synth/emux/emux_seq.c | 14 +-
7192 sound/usb/line6/driver.c | 40 +-
7193 sound/usb/line6/toneport.c | 12 +-
7194 tools/gcc/.gitignore | 1 +
7195 tools/gcc/Makefile | 12 +
7196 tools/gcc/gen-random-seed.sh | 8 +
7197 tools/gcc/randomize_layout_plugin.c | 930 +++
7198 tools/gcc/size_overflow_plugin/.gitignore | 1 +
7199 .../size_overflow_plugin/size_overflow_hash.data | 463 +-
7200 513 files changed, 33007 insertions(+), 3251 deletions(-)
7201
7202 commit 6cb4f49b6a55cf16ae82685e1ab9b74c95b2f743
7203 Author: Brad Spengler <spender@grsecurity.net>
7204 Date: Mon Feb 15 10:51:41 2016 -0500
7205
7206 Initial import of pax-linux-4.4.1-test3.patch
7207
7208 Documentation/dontdiff | 46 +-
7209 Documentation/kbuild/makefiles.txt | 39 +-
7210 Documentation/kernel-parameters.txt | 28 +
7211 Makefile | 119 +-
7212 arch/alpha/include/asm/atomic.h | 10 +
7213 arch/alpha/include/asm/elf.h | 7 +
7214 arch/alpha/include/asm/pgalloc.h | 6 +
7215 arch/alpha/include/asm/pgtable.h | 11 +
7216 arch/alpha/kernel/module.c | 2 +-
7217 arch/alpha/kernel/osf_sys.c | 8 +-
7218 arch/alpha/mm/fault.c | 141 +-
7219 arch/arm/Kconfig | 3 +-
7220 arch/arm/include/asm/atomic.h | 323 +-
7221 arch/arm/include/asm/cache.h | 5 +-
7222 arch/arm/include/asm/cacheflush.h | 2 +-
7223 arch/arm/include/asm/checksum.h | 14 +-
7224 arch/arm/include/asm/cmpxchg.h | 4 +
7225 arch/arm/include/asm/cpuidle.h | 2 +-
7226 arch/arm/include/asm/domain.h | 42 +-
7227 arch/arm/include/asm/elf.h | 9 +-
7228 arch/arm/include/asm/fncpy.h | 2 +
7229 arch/arm/include/asm/futex.h | 1 +
7230 arch/arm/include/asm/kmap_types.h | 2 +-
7231 arch/arm/include/asm/mach/dma.h | 2 +-
7232 arch/arm/include/asm/mach/map.h | 16 +-
7233 arch/arm/include/asm/outercache.h | 2 +-
7234 arch/arm/include/asm/page.h | 3 +-
7235 arch/arm/include/asm/pgalloc.h | 20 +
7236 arch/arm/include/asm/pgtable-2level-hwdef.h | 4 +-
7237 arch/arm/include/asm/pgtable-2level.h | 3 +
7238 arch/arm/include/asm/pgtable-3level.h | 3 +
7239 arch/arm/include/asm/pgtable.h | 54 +-
7240 arch/arm/include/asm/smp.h | 2 +-
7241 arch/arm/include/asm/thread_info.h | 3 +
7242 arch/arm/include/asm/tls.h | 3 +
7243 arch/arm/include/asm/uaccess.h | 113 +-
7244 arch/arm/include/uapi/asm/ptrace.h | 2 +-
7245 arch/arm/kernel/armksyms.c | 2 +-
7246 arch/arm/kernel/cpuidle.c | 2 +-
7247 arch/arm/kernel/entry-armv.S | 109 +-
7248 arch/arm/kernel/entry-common.S | 40 +-
7249 arch/arm/kernel/entry-header.S | 55 +
7250 arch/arm/kernel/fiq.c | 3 +
7251 arch/arm/kernel/module-plts.c | 7 +-
7252 arch/arm/kernel/module.c | 38 +-
7253 arch/arm/kernel/patch.c | 2 +
7254 arch/arm/kernel/process.c | 92 +-
7255 arch/arm/kernel/reboot.c | 1 +
7256 arch/arm/kernel/setup.c | 20 +-
7257 arch/arm/kernel/signal.c | 35 +-
7258 arch/arm/kernel/smp.c | 2 +-
7259 arch/arm/kernel/tcm.c | 4 +-
7260 arch/arm/kernel/vmlinux.lds.S | 6 +-
7261 arch/arm/kvm/arm.c | 8 +-
7262 arch/arm/lib/copy_page.S | 1 +
7263 arch/arm/lib/csumpartialcopyuser.S | 4 +-
7264 arch/arm/lib/delay.c | 2 +-
7265 arch/arm/lib/uaccess_with_memcpy.c | 4 +-
7266 arch/arm/mach-exynos/suspend.c | 6 +-
7267 arch/arm/mach-mvebu/coherency.c | 4 +-
7268 arch/arm/mach-omap2/board-n8x0.c | 2 +-
7269 arch/arm/mach-omap2/omap-mpuss-lowpower.c | 4 +-
7270 arch/arm/mach-omap2/omap-smp.c | 1 +
7271 arch/arm/mach-omap2/omap_device.c | 4 +-
7272 arch/arm/mach-omap2/omap_device.h | 4 +-
7273 arch/arm/mach-omap2/omap_hwmod.c | 4 +-
7274 arch/arm/mach-omap2/powerdomains43xx_data.c | 5 +-
7275 arch/arm/mach-omap2/wd_timer.c | 6 +-
7276 arch/arm/mach-shmobile/platsmp-apmu.c | 5 +-
7277 arch/arm/mach-tegra/cpuidle-tegra20.c | 2 +-
7278 arch/arm/mach-tegra/irq.c | 1 +
7279 arch/arm/mach-ux500/pm.c | 1 +
7280 arch/arm/mach-zynq/platsmp.c | 1 +
7281 arch/arm/mm/Kconfig | 6 +-
7282 arch/arm/mm/cache-l2x0.c | 2 +-
7283 arch/arm/mm/context.c | 10 +-
7284 arch/arm/mm/fault.c | 146 +
7285 arch/arm/mm/fault.h | 12 +
7286 arch/arm/mm/init.c | 39 +
7287 arch/arm/mm/ioremap.c | 4 +-
7288 arch/arm/mm/mmap.c | 30 +-
7289 arch/arm/mm/mmu.c | 162 +-
7290 arch/arm/net/bpf_jit_32.c | 3 +
7291 arch/arm/plat-iop/setup.c | 2 +-
7292 arch/arm/plat-omap/sram.c | 2 +
7293 arch/arm64/include/asm/atomic.h | 10 +
7294 arch/arm64/include/asm/percpu.h | 8 +-
7295 arch/arm64/include/asm/pgalloc.h | 5 +
7296 arch/arm64/include/asm/uaccess.h | 1 +
7297 arch/arm64/mm/dma-mapping.c | 2 +-
7298 arch/avr32/include/asm/elf.h | 8 +-
7299 arch/avr32/include/asm/kmap_types.h | 4 +-
7300 arch/avr32/mm/fault.c | 27 +
7301 arch/frv/include/asm/atomic.h | 10 +
7302 arch/frv/include/asm/kmap_types.h | 2 +-
7303 arch/frv/mm/elf-fdpic.c | 3 +-
7304 arch/ia64/Makefile | 1 +
7305 arch/ia64/include/asm/atomic.h | 10 +
7306 arch/ia64/include/asm/elf.h | 7 +
7307 arch/ia64/include/asm/pgalloc.h | 12 +
7308 arch/ia64/include/asm/pgtable.h | 13 +-
7309 arch/ia64/include/asm/spinlock.h | 2 +-
7310 arch/ia64/include/asm/uaccess.h | 27 +-
7311 arch/ia64/kernel/module.c | 45 +-
7312 arch/ia64/kernel/palinfo.c | 2 +-
7313 arch/ia64/kernel/sys_ia64.c | 7 +
7314 arch/ia64/kernel/vmlinux.lds.S | 2 +-
7315 arch/ia64/mm/fault.c | 32 +-
7316 arch/ia64/mm/init.c | 15 +-
7317 arch/m32r/lib/usercopy.c | 6 +
7318 arch/mips/cavium-octeon/dma-octeon.c | 2 +-
7319 arch/mips/include/asm/atomic.h | 368 +-
7320 arch/mips/include/asm/elf.h | 7 +
7321 arch/mips/include/asm/exec.h | 2 +-
7322 arch/mips/include/asm/hw_irq.h | 2 +-
7323 arch/mips/include/asm/local.h | 57 +
7324 arch/mips/include/asm/page.h | 2 +-
7325 arch/mips/include/asm/pgalloc.h | 5 +
7326 arch/mips/include/asm/pgtable.h | 3 +
7327 arch/mips/include/asm/uaccess.h | 1 +
7328 arch/mips/kernel/binfmt_elfn32.c | 7 +
7329 arch/mips/kernel/binfmt_elfo32.c | 7 +
7330 arch/mips/kernel/irq-gt641xx.c | 2 +-
7331 arch/mips/kernel/irq.c | 6 +-
7332 arch/mips/kernel/pm-cps.c | 2 +-
7333 arch/mips/kernel/process.c | 12 -
7334 arch/mips/kernel/sync-r4k.c | 24 +-
7335 arch/mips/kernel/traps.c | 13 +-
7336 arch/mips/mm/fault.c | 25 +
7337 arch/mips/mm/mmap.c | 51 +-
7338 arch/mips/sgi-ip27/ip27-nmi.c | 6 +-
7339 arch/mips/sni/rm200.c | 2 +-
7340 arch/mips/vr41xx/common/icu.c | 2 +-
7341 arch/mips/vr41xx/common/irq.c | 4 +-
7342 arch/parisc/include/asm/atomic.h | 10 +
7343 arch/parisc/include/asm/elf.h | 7 +
7344 arch/parisc/include/asm/pgalloc.h | 6 +
7345 arch/parisc/include/asm/pgtable.h | 11 +
7346 arch/parisc/include/asm/uaccess.h | 4 +-
7347 arch/parisc/kernel/module.c | 50 +-
7348 arch/parisc/kernel/sys_parisc.c | 15 +
7349 arch/parisc/kernel/traps.c | 4 +-
7350 arch/parisc/mm/fault.c | 140 +-
7351 arch/powerpc/include/asm/atomic.h | 329 +-
7352 arch/powerpc/include/asm/elf.h | 12 +
7353 arch/powerpc/include/asm/exec.h | 2 +-
7354 arch/powerpc/include/asm/kmap_types.h | 2 +-
7355 arch/powerpc/include/asm/local.h | 46 +
7356 arch/powerpc/include/asm/mman.h | 2 +-
7357 arch/powerpc/include/asm/page.h | 8 +-
7358 arch/powerpc/include/asm/page_64.h | 7 +-
7359 arch/powerpc/include/asm/pgalloc-64.h | 7 +
7360 arch/powerpc/include/asm/pgtable.h | 1 +
7361 arch/powerpc/include/asm/pte-hash32.h | 1 +
7362 arch/powerpc/include/asm/reg.h | 1 +
7363 arch/powerpc/include/asm/smp.h | 2 +-
7364 arch/powerpc/include/asm/spinlock.h | 42 +-
7365 arch/powerpc/include/asm/uaccess.h | 141 +-
7366 arch/powerpc/kernel/Makefile | 5 +
7367 arch/powerpc/kernel/exceptions-64e.S | 4 +-
7368 arch/powerpc/kernel/exceptions-64s.S | 2 +-
7369 arch/powerpc/kernel/module_32.c | 15 +-
7370 arch/powerpc/kernel/process.c | 46 -
7371 arch/powerpc/kernel/signal_32.c | 2 +-
7372 arch/powerpc/kernel/signal_64.c | 2 +-
7373 arch/powerpc/kernel/traps.c | 21 +
7374 arch/powerpc/kernel/vdso.c | 5 +-
7375 arch/powerpc/lib/usercopy_64.c | 18 -
7376 arch/powerpc/mm/fault.c | 56 +-
7377 arch/powerpc/mm/mmap.c | 16 +
7378 arch/powerpc/mm/slice.c | 13 +-
7379 arch/powerpc/platforms/cell/spufs/file.c | 4 +-
7380 arch/s390/include/asm/atomic.h | 10 +
7381 arch/s390/include/asm/elf.h | 7 +
7382 arch/s390/include/asm/exec.h | 2 +-
7383 arch/s390/include/asm/uaccess.h | 13 +-
7384 arch/s390/kernel/module.c | 22 +-
7385 arch/s390/kernel/process.c | 20 -
7386 arch/s390/mm/mmap.c | 16 +
7387 arch/score/include/asm/exec.h | 2 +-
7388 arch/score/kernel/process.c | 5 -
7389 arch/sh/mm/mmap.c | 22 +-
7390 arch/sparc/include/asm/atomic_64.h | 110 +-
7391 arch/sparc/include/asm/cache.h | 2 +-
7392 arch/sparc/include/asm/elf_32.h | 7 +
7393 arch/sparc/include/asm/elf_64.h | 7 +
7394 arch/sparc/include/asm/pgalloc_32.h | 1 +
7395 arch/sparc/include/asm/pgalloc_64.h | 1 +
7396 arch/sparc/include/asm/pgtable.h | 4 +
7397 arch/sparc/include/asm/pgtable_32.h | 15 +-
7398 arch/sparc/include/asm/pgtsrmmu.h | 5 +
7399 arch/sparc/include/asm/setup.h | 4 +-
7400 arch/sparc/include/asm/spinlock_64.h | 35 +-
7401 arch/sparc/include/asm/thread_info_32.h | 1 +
7402 arch/sparc/include/asm/thread_info_64.h | 2 +
7403 arch/sparc/include/asm/uaccess.h | 1 +
7404 arch/sparc/include/asm/uaccess_32.h | 28 +-
7405 arch/sparc/include/asm/uaccess_64.h | 24 +-
7406 arch/sparc/kernel/Makefile | 2 +-
7407 arch/sparc/kernel/prom_common.c | 2 +-
7408 arch/sparc/kernel/smp_64.c | 8 +-
7409 arch/sparc/kernel/sys_sparc_32.c | 2 +-
7410 arch/sparc/kernel/sys_sparc_64.c | 52 +-
7411 arch/sparc/kernel/traps_64.c | 27 +-
7412 arch/sparc/lib/Makefile | 2 +-
7413 arch/sparc/lib/atomic_64.S | 57 +-
7414 arch/sparc/lib/ksyms.c | 6 +-
7415 arch/sparc/mm/Makefile | 2 +-
7416 arch/sparc/mm/fault_32.c | 292 +
7417 arch/sparc/mm/fault_64.c | 486 +
7418 arch/sparc/mm/hugetlbpage.c | 22 +-
7419 arch/sparc/mm/init_64.c | 10 +-
7420 arch/tile/include/asm/atomic_64.h | 10 +
7421 arch/tile/include/asm/uaccess.h | 4 +-
7422 arch/um/Makefile | 4 +
7423 arch/um/include/asm/kmap_types.h | 2 +-
7424 arch/um/include/asm/page.h | 3 +
7425 arch/um/include/asm/pgtable-3level.h | 1 +
7426 arch/um/kernel/process.c | 16 -
7427 arch/x86/Kconfig | 26 +-
7428 arch/x86/Kconfig.cpu | 6 +-
7429 arch/x86/Kconfig.debug | 4 +-
7430 arch/x86/Makefile | 13 +-
7431 arch/x86/boot/Makefile | 3 +
7432 arch/x86/boot/bitops.h | 4 +-
7433 arch/x86/boot/boot.h | 2 +-
7434 arch/x86/boot/compressed/Makefile | 3 +
7435 arch/x86/boot/compressed/efi_stub_32.S | 16 +-
7436 arch/x86/boot/compressed/efi_thunk_64.S | 4 +-
7437 arch/x86/boot/compressed/head_32.S | 4 +-
7438 arch/x86/boot/compressed/head_64.S | 12 +-
7439 arch/x86/boot/compressed/misc.c | 11 +-
7440 arch/x86/boot/cpucheck.c | 16 +-
7441 arch/x86/boot/header.S | 6 +-
7442 arch/x86/boot/memory.c | 2 +-
7443 arch/x86/boot/video-vesa.c | 1 +
7444 arch/x86/boot/video.c | 2 +-
7445 arch/x86/crypto/aes-x86_64-asm_64.S | 4 +
7446 arch/x86/crypto/aesni-intel_asm.S | 106 +-
7447 arch/x86/crypto/blowfish-x86_64-asm_64.S | 7 +
7448 arch/x86/crypto/camellia-aesni-avx-asm_64.S | 10 +
7449 arch/x86/crypto/camellia-aesni-avx2-asm_64.S | 10 +
7450 arch/x86/crypto/camellia-x86_64-asm_64.S | 7 +
7451 arch/x86/crypto/cast5-avx-x86_64-asm_64.S | 51 +-
7452 arch/x86/crypto/cast6-avx-x86_64-asm_64.S | 25 +-
7453 arch/x86/crypto/crc32c-pcl-intel-asm_64.S | 2 +
7454 arch/x86/crypto/ghash-clmulni-intel_asm.S | 4 +
7455 arch/x86/crypto/salsa20-x86_64-asm_64.S | 4 +
7456 arch/x86/crypto/serpent-avx-x86_64-asm_64.S | 9 +
7457 arch/x86/crypto/serpent-avx2-asm_64.S | 9 +
7458 arch/x86/crypto/serpent-sse2-x86_64-asm_64.S | 4 +
7459 arch/x86/crypto/sha1_ssse3_asm.S | 10 +-
7460 arch/x86/crypto/sha256-avx-asm.S | 2 +
7461 arch/x86/crypto/sha256-avx2-asm.S | 2 +
7462 arch/x86/crypto/sha256-ssse3-asm.S | 2 +
7463 arch/x86/crypto/sha512-avx-asm.S | 2 +
7464 arch/x86/crypto/sha512-avx2-asm.S | 2 +
7465 arch/x86/crypto/sha512-ssse3-asm.S | 2 +
7466 arch/x86/crypto/twofish-avx-x86_64-asm_64.S | 25 +-
7467 arch/x86/crypto/twofish-x86_64-asm_64-3way.S | 4 +
7468 arch/x86/crypto/twofish-x86_64-asm_64.S | 3 +
7469 arch/x86/entry/calling.h | 86 +-
7470 arch/x86/entry/common.c | 28 +-
7471 arch/x86/entry/entry_32.S | 311 +-
7472 arch/x86/entry/entry_64.S | 625 +-
7473 arch/x86/entry/entry_64_compat.S | 67 +-
7474 arch/x86/entry/thunk_64.S | 2 +
7475 arch/x86/entry/vdso/Makefile | 2 +-
7476 arch/x86/entry/vdso/vdso2c.h | 8 +-
7477 arch/x86/entry/vdso/vma.c | 37 +-
7478 arch/x86/entry/vsyscall/vsyscall_64.c | 20 +-
7479 arch/x86/entry/vsyscall/vsyscall_emu_64.S | 2 +-
7480 arch/x86/ia32/ia32_signal.c | 23 +-
7481 arch/x86/ia32/sys_ia32.c | 42 +-
7482 arch/x86/include/asm/alternative-asm.h | 43 +-
7483 arch/x86/include/asm/alternative.h | 4 +-
7484 arch/x86/include/asm/apic.h | 2 +-
7485 arch/x86/include/asm/apm.h | 4 +-
7486 arch/x86/include/asm/atomic.h | 230 +-
7487 arch/x86/include/asm/atomic64_32.h | 100 +
7488 arch/x86/include/asm/atomic64_64.h | 164 +-
7489 arch/x86/include/asm/bitops.h | 18 +-
7490 arch/x86/include/asm/boot.h | 2 +-
7491 arch/x86/include/asm/cache.h | 5 +-
7492 arch/x86/include/asm/checksum_32.h | 12 +-
7493 arch/x86/include/asm/cmpxchg.h | 39 +
7494 arch/x86/include/asm/compat.h | 4 +
7495 arch/x86/include/asm/cpufeature.h | 17 +-
7496 arch/x86/include/asm/desc.h | 78 +-
7497 arch/x86/include/asm/desc_defs.h | 6 +
7498 arch/x86/include/asm/div64.h | 2 +-
7499 arch/x86/include/asm/dma.h | 2 +
7500 arch/x86/include/asm/elf.h | 33 +-
7501 arch/x86/include/asm/emergency-restart.h | 2 +-
7502 arch/x86/include/asm/fpu/internal.h | 42 +-
7503 arch/x86/include/asm/fpu/types.h | 5 +-
7504 arch/x86/include/asm/futex.h | 14 +-
7505 arch/x86/include/asm/hw_irq.h | 4 +-
7506 arch/x86/include/asm/i8259.h | 2 +-
7507 arch/x86/include/asm/io.h | 22 +-
7508 arch/x86/include/asm/irqflags.h | 5 +
7509 arch/x86/include/asm/kprobes.h | 9 +-
7510 arch/x86/include/asm/local.h | 106 +-
7511 arch/x86/include/asm/mman.h | 15 +
7512 arch/x86/include/asm/mmu.h | 14 +-
7513 arch/x86/include/asm/mmu_context.h | 133 +-
7514 arch/x86/include/asm/module.h | 17 +-
7515 arch/x86/include/asm/nmi.h | 19 +-
7516 arch/x86/include/asm/page.h | 1 +
7517 arch/x86/include/asm/page_32.h | 12 +-
7518 arch/x86/include/asm/page_64.h | 14 +-
7519 arch/x86/include/asm/paravirt.h | 46 +-
7520 arch/x86/include/asm/paravirt_types.h | 15 +-
7521 arch/x86/include/asm/pgalloc.h | 23 +
7522 arch/x86/include/asm/pgtable-2level.h | 2 +
7523 arch/x86/include/asm/pgtable-3level.h | 7 +
7524 arch/x86/include/asm/pgtable.h | 126 +-
7525 arch/x86/include/asm/pgtable_32.h | 14 +-
7526 arch/x86/include/asm/pgtable_32_types.h | 24 +-
7527 arch/x86/include/asm/pgtable_64.h | 23 +-
7528 arch/x86/include/asm/pgtable_64_types.h | 5 +
7529 arch/x86/include/asm/pgtable_types.h | 26 +-
7530 arch/x86/include/asm/pmem.h | 2 +-
7531 arch/x86/include/asm/preempt.h | 2 +-
7532 arch/x86/include/asm/processor.h | 57 +-
7533 arch/x86/include/asm/ptrace.h | 15 +-
7534 arch/x86/include/asm/realmode.h | 4 +-
7535 arch/x86/include/asm/reboot.h | 10 +-
7536 arch/x86/include/asm/rmwcc.h | 84 +-
7537 arch/x86/include/asm/rwsem.h | 60 +-
7538 arch/x86/include/asm/segment.h | 27 +-
7539 arch/x86/include/asm/smap.h | 43 +
7540 arch/x86/include/asm/smp.h | 14 +-
7541 arch/x86/include/asm/stackprotector.h | 4 +-
7542 arch/x86/include/asm/stacktrace.h | 34 +-
7543 arch/x86/include/asm/switch_to.h | 4 +-
7544 arch/x86/include/asm/sys_ia32.h | 6 +-
7545 arch/x86/include/asm/thread_info.h | 27 +-
7546 arch/x86/include/asm/tlbflush.h | 77 +-
7547 arch/x86/include/asm/uaccess.h | 210 +-
7548 arch/x86/include/asm/uaccess_32.h | 28 +-
7549 arch/x86/include/asm/uaccess_64.h | 169 +-
7550 arch/x86/include/asm/word-at-a-time.h | 2 +-
7551 arch/x86/include/asm/x86_init.h | 10 +-
7552 arch/x86/include/asm/xen/page.h | 2 +-
7553 arch/x86/include/uapi/asm/e820.h | 2 +-
7554 arch/x86/kernel/Makefile | 2 +-
7555 arch/x86/kernel/acpi/boot.c | 4 +-
7556 arch/x86/kernel/acpi/sleep.c | 4 +
7557 arch/x86/kernel/acpi/wakeup_32.S | 6 +-
7558 arch/x86/kernel/alternative.c | 124 +-
7559 arch/x86/kernel/apic/apic.c | 4 +-
7560 arch/x86/kernel/apic/apic_flat_64.c | 6 +-
7561 arch/x86/kernel/apic/apic_noop.c | 2 +-
7562 arch/x86/kernel/apic/bigsmp_32.c | 2 +-
7563 arch/x86/kernel/apic/io_apic.c | 8 +-
7564 arch/x86/kernel/apic/msi.c | 2 +-
7565 arch/x86/kernel/apic/probe_32.c | 4 +-
7566 arch/x86/kernel/apic/vector.c | 2 +
7567 arch/x86/kernel/apic/x2apic_cluster.c | 2 +-
7568 arch/x86/kernel/apic/x2apic_phys.c | 2 +-
7569 arch/x86/kernel/apic/x2apic_uv_x.c | 2 +-
7570 arch/x86/kernel/apm_32.c | 21 +-
7571 arch/x86/kernel/asm-offsets.c | 20 +
7572 arch/x86/kernel/asm-offsets_64.c | 1 +
7573 arch/x86/kernel/cpu/Makefile | 4 -
7574 arch/x86/kernel/cpu/amd.c | 2 +-
7575 arch/x86/kernel/cpu/bugs_64.c | 2 +
7576 arch/x86/kernel/cpu/common.c | 202 +-
7577 arch/x86/kernel/cpu/intel_cacheinfo.c | 14 +-
7578 arch/x86/kernel/cpu/mcheck/mce.c | 34 +-
7579 arch/x86/kernel/cpu/mcheck/p5.c | 3 +
7580 arch/x86/kernel/cpu/mcheck/winchip.c | 3 +
7581 arch/x86/kernel/cpu/microcode/intel.c | 4 +-
7582 arch/x86/kernel/cpu/mtrr/generic.c | 6 +-
7583 arch/x86/kernel/cpu/mtrr/main.c | 2 +-
7584 arch/x86/kernel/cpu/mtrr/mtrr.h | 2 +-
7585 arch/x86/kernel/cpu/perf_event.c | 10 +-
7586 arch/x86/kernel/cpu/perf_event.h | 2 +-
7587 arch/x86/kernel/cpu/perf_event_amd_iommu.c | 2 +-
7588 arch/x86/kernel/cpu/perf_event_intel.c | 34 +-
7589 arch/x86/kernel/cpu/perf_event_intel_bts.c | 6 +-
7590 arch/x86/kernel/cpu/perf_event_intel_cqm.c | 4 +-
7591 arch/x86/kernel/cpu/perf_event_intel_ds.c | 7 +-
7592 arch/x86/kernel/cpu/perf_event_intel_lbr.c | 4 +-
7593 arch/x86/kernel/cpu/perf_event_intel_pt.c | 42 +-
7594 arch/x86/kernel/cpu/perf_event_intel_rapl.c | 2 +-
7595 arch/x86/kernel/cpu/perf_event_intel_uncore.c | 2 +-
7596 arch/x86/kernel/cpu/perf_event_intel_uncore.h | 2 +-
7597 arch/x86/kernel/crash_dump_64.c | 2 +-
7598 arch/x86/kernel/doublefault.c | 8 +-
7599 arch/x86/kernel/dumpstack.c | 24 +-
7600 arch/x86/kernel/dumpstack_32.c | 25 +-
7601 arch/x86/kernel/dumpstack_64.c | 62 +-
7602 arch/x86/kernel/e820.c | 4 +-
7603 arch/x86/kernel/early_printk.c | 1 +
7604 arch/x86/kernel/espfix_64.c | 44 +-
7605 arch/x86/kernel/fpu/core.c | 24 +-
7606 arch/x86/kernel/fpu/init.c | 40 +-
7607 arch/x86/kernel/fpu/regset.c | 22 +-
7608 arch/x86/kernel/fpu/signal.c | 20 +-
7609 arch/x86/kernel/fpu/xstate.c | 6 +-
7610 arch/x86/kernel/ftrace.c | 18 +-
7611 arch/x86/kernel/head64.c | 14 +-
7612 arch/x86/kernel/head_32.S | 235 +-
7613 arch/x86/kernel/head_64.S | 173 +-
7614 arch/x86/kernel/i386_ksyms_32.c | 12 +
7615 arch/x86/kernel/i8259.c | 10 +-
7616 arch/x86/kernel/io_delay.c | 2 +-
7617 arch/x86/kernel/ioport.c | 2 +-
7618 arch/x86/kernel/irq.c | 8 +-
7619 arch/x86/kernel/irq_32.c | 45 +-
7620 arch/x86/kernel/jump_label.c | 10 +-
7621 arch/x86/kernel/kgdb.c | 21 +-
7622 arch/x86/kernel/kprobes/core.c | 28 +-
7623 arch/x86/kernel/kprobes/opt.c | 16 +-
7624 arch/x86/kernel/ksysfs.c | 2 +-
7625 arch/x86/kernel/kvmclock.c | 20 +-
7626 arch/x86/kernel/ldt.c | 25 +
7627 arch/x86/kernel/livepatch.c | 11 +-
7628 arch/x86/kernel/machine_kexec_32.c | 6 +-
7629 arch/x86/kernel/mcount_64.S | 19 +-
7630 arch/x86/kernel/module.c | 78 +-
7631 arch/x86/kernel/msr.c | 2 +-
7632 arch/x86/kernel/nmi.c | 34 +-
7633 arch/x86/kernel/nmi_selftest.c | 4 +-
7634 arch/x86/kernel/paravirt-spinlocks.c | 2 +-
7635 arch/x86/kernel/paravirt.c | 45 +-
7636 arch/x86/kernel/paravirt_patch_64.c | 8 +
7637 arch/x86/kernel/pci-calgary_64.c | 2 +-
7638 arch/x86/kernel/pci-iommu_table.c | 2 +-
7639 arch/x86/kernel/pci-swiotlb.c | 2 +-
7640 arch/x86/kernel/process.c | 80 +-
7641 arch/x86/kernel/process_32.c | 29 +-
7642 arch/x86/kernel/process_64.c | 14 +-
7643 arch/x86/kernel/ptrace.c | 20 +-
7644 arch/x86/kernel/pvclock.c | 8 +-
7645 arch/x86/kernel/reboot.c | 44 +-
7646 arch/x86/kernel/reboot_fixups_32.c | 2 +-
7647 arch/x86/kernel/relocate_kernel_64.S | 3 +-
7648 arch/x86/kernel/setup.c | 29 +-
7649 arch/x86/kernel/setup_percpu.c | 29 +-
7650 arch/x86/kernel/signal.c | 17 +-
7651 arch/x86/kernel/smp.c | 2 +-
7652 arch/x86/kernel/smpboot.c | 29 +-
7653 arch/x86/kernel/step.c | 6 +-
7654 arch/x86/kernel/sys_i386_32.c | 184 +
7655 arch/x86/kernel/sys_x86_64.c | 22 +-
7656 arch/x86/kernel/tboot.c | 22 +-
7657 arch/x86/kernel/time.c | 8 +-
7658 arch/x86/kernel/tls.c | 7 +-
7659 arch/x86/kernel/tracepoint.c | 4 +-
7660 arch/x86/kernel/traps.c | 53 +-
7661 arch/x86/kernel/tsc.c | 2 +-
7662 arch/x86/kernel/uprobes.c | 4 +-
7663 arch/x86/kernel/vm86_32.c | 6 +-
7664 arch/x86/kernel/vmlinux.lds.S | 153 +-
7665 arch/x86/kernel/x8664_ksyms_64.c | 6 +-
7666 arch/x86/kernel/x86_init.c | 6 +-
7667 arch/x86/kvm/cpuid.c | 21 +-
7668 arch/x86/kvm/emulate.c | 6 +-
7669 arch/x86/kvm/i8259.c | 10 +-
7670 arch/x86/kvm/ioapic.c | 2 +
7671 arch/x86/kvm/lapic.c | 2 +-
7672 arch/x86/kvm/paging_tmpl.h | 2 +-
7673 arch/x86/kvm/svm.c | 10 +-
7674 arch/x86/kvm/vmx.c | 62 +-
7675 arch/x86/kvm/x86.c | 44 +-
7676 arch/x86/lguest/boot.c | 3 +-
7677 arch/x86/lib/atomic64_386_32.S | 164 +
7678 arch/x86/lib/atomic64_cx8_32.S | 98 +-
7679 arch/x86/lib/checksum_32.S | 99 +-
7680 arch/x86/lib/clear_page_64.S | 3 +
7681 arch/x86/lib/cmpxchg16b_emu.S | 3 +
7682 arch/x86/lib/copy_page_64.S | 14 +-
7683 arch/x86/lib/copy_user_64.S | 66 +-
7684 arch/x86/lib/csum-copy_64.S | 14 +-
7685 arch/x86/lib/csum-wrappers_64.c | 8 +-
7686 arch/x86/lib/getuser.S | 74 +-
7687 arch/x86/lib/insn.c | 8 +-
7688 arch/x86/lib/iomap_copy_64.S | 2 +
7689 arch/x86/lib/memcpy_64.S | 6 +
7690 arch/x86/lib/memmove_64.S | 3 +-
7691 arch/x86/lib/memset_64.S | 3 +
7692 arch/x86/lib/mmx_32.c | 243 +-
7693 arch/x86/lib/msr-reg.S | 2 +
7694 arch/x86/lib/putuser.S | 87 +-
7695 arch/x86/lib/rwsem.S | 6 +-
7696 arch/x86/lib/usercopy_32.c | 359 +-
7697 arch/x86/lib/usercopy_64.c | 22 +-
7698 arch/x86/math-emu/fpu_aux.c | 2 +-
7699 arch/x86/math-emu/fpu_entry.c | 4 +-
7700 arch/x86/math-emu/fpu_system.h | 2 +-
7701 arch/x86/mm/Makefile | 4 +
7702 arch/x86/mm/extable.c | 26 +-
7703 arch/x86/mm/fault.c | 570 +-
7704 arch/x86/mm/gup.c | 6 +-
7705 arch/x86/mm/highmem_32.c | 6 +
7706 arch/x86/mm/hugetlbpage.c | 24 +-
7707 arch/x86/mm/init.c | 111 +-
7708 arch/x86/mm/init_32.c | 111 +-
7709 arch/x86/mm/init_64.c | 46 +-
7710 arch/x86/mm/iomap_32.c | 4 +
7711 arch/x86/mm/ioremap.c | 52 +-
7712 arch/x86/mm/kmemcheck/kmemcheck.c | 4 +-
7713 arch/x86/mm/mmap.c | 40 +-
7714 arch/x86/mm/mmio-mod.c | 10 +-
7715 arch/x86/mm/mpx.c | 6 +-
7716 arch/x86/mm/numa.c | 4 +-
7717 arch/x86/mm/pageattr.c | 42 +-
7718 arch/x86/mm/pat.c | 12 +-
7719 arch/x86/mm/pat_rbtree.c | 2 +-
7720 arch/x86/mm/pf_in.c | 10 +-
7721 arch/x86/mm/pgtable.c | 214 +-
7722 arch/x86/mm/pgtable_32.c | 3 +
7723 arch/x86/mm/setup_nx.c | 7 +
7724 arch/x86/mm/tlb.c | 4 +
7725 arch/x86/mm/uderef_64.c | 37 +
7726 arch/x86/net/bpf_jit.S | 11 +
7727 arch/x86/net/bpf_jit_comp.c | 13 +-
7728 arch/x86/oprofile/backtrace.c | 6 +-
7729 arch/x86/oprofile/nmi_int.c | 8 +-
7730 arch/x86/oprofile/op_model_amd.c | 8 +-
7731 arch/x86/oprofile/op_model_ppro.c | 7 +-
7732 arch/x86/oprofile/op_x86_model.h | 2 +-
7733 arch/x86/pci/intel_mid_pci.c | 2 +-
7734 arch/x86/pci/irq.c | 8 +-
7735 arch/x86/pci/pcbios.c | 144 +-
7736 arch/x86/platform/efi/efi_32.c | 24 +
7737 arch/x86/platform/efi/efi_64.c | 26 +-
7738 arch/x86/platform/efi/efi_stub_32.S | 64 +-
7739 arch/x86/platform/efi/efi_stub_64.S | 2 +
7740 arch/x86/platform/intel-mid/intel-mid.c | 5 +-
7741 arch/x86/platform/intel-mid/intel_mid_weak_decls.h | 6 +-
7742 arch/x86/platform/intel-mid/mfld.c | 4 +-
7743 arch/x86/platform/intel-mid/mrfl.c | 2 +-
7744 arch/x86/platform/intel-quark/imr_selftest.c | 2 +-
7745 arch/x86/platform/olpc/olpc_dt.c | 2 +-
7746 arch/x86/power/cpu.c | 11 +-
7747 arch/x86/realmode/init.c | 10 +-
7748 arch/x86/realmode/rm/Makefile | 3 +
7749 arch/x86/realmode/rm/header.S | 4 +-
7750 arch/x86/realmode/rm/reboot.S | 4 +
7751 arch/x86/realmode/rm/trampoline_32.S | 12 +-
7752 arch/x86/realmode/rm/trampoline_64.S | 3 +-
7753 arch/x86/realmode/rm/wakeup_asm.S | 5 +-
7754 arch/x86/tools/Makefile | 2 +-
7755 arch/x86/tools/relocs.c | 96 +-
7756 arch/x86/um/mem_32.c | 2 +-
7757 arch/x86/um/tls_32.c | 2 +-
7758 arch/x86/xen/enlighten.c | 50 +-
7759 arch/x86/xen/mmu.c | 19 +-
7760 arch/x86/xen/smp.c | 16 +-
7761 arch/x86/xen/xen-asm_32.S | 2 +-
7762 arch/x86/xen/xen-head.S | 11 +
7763 arch/x86/xen/xen-ops.h | 2 -
7764 block/bio.c | 4 +-
7765 block/blk-cgroup.c | 18 +-
7766 block/blk-iopoll.c | 2 +-
7767 block/blk-map.c | 2 +-
7768 block/blk-softirq.c | 2 +-
7769 block/bsg.c | 12 +-
7770 block/cfq-iosched.c | 4 +-
7771 block/compat_ioctl.c | 4 +-
7772 block/genhd.c | 9 +-
7773 block/partitions/efi.c | 8 +-
7774 block/scsi_ioctl.c | 29 +-
7775 crypto/cryptd.c | 4 +-
7776 crypto/crypto_user.c | 8 +-
7777 crypto/pcrypt.c | 2 +-
7778 crypto/zlib.c | 12 +-
7779 drivers/acpi/acpi_video.c | 2 +-
7780 drivers/acpi/apei/apei-internal.h | 2 +-
7781 drivers/acpi/apei/ghes.c | 10 +-
7782 drivers/acpi/bgrt.c | 6 +-
7783 drivers/acpi/blacklist.c | 4 +-
7784 drivers/acpi/bus.c | 4 +-
7785 drivers/acpi/device_pm.c | 4 +-
7786 drivers/acpi/ec.c | 2 +-
7787 drivers/acpi/pci_slot.c | 2 +-
7788 drivers/acpi/processor_idle.c | 2 +-
7789 drivers/acpi/processor_pdc.c | 2 +-
7790 drivers/acpi/sleep.c | 2 +-
7791 drivers/acpi/sysfs.c | 4 +-
7792 drivers/acpi/thermal.c | 2 +-
7793 drivers/acpi/video_detect.c | 7 +-
7794 drivers/ata/libata-core.c | 12 +-
7795 drivers/ata/libata-scsi.c | 2 +-
7796 drivers/ata/libata.h | 2 +-
7797 drivers/ata/pata_arasan_cf.c | 4 +-
7798 drivers/atm/adummy.c | 2 +-
7799 drivers/atm/ambassador.c | 8 +-
7800 drivers/atm/atmtcp.c | 14 +-
7801 drivers/atm/eni.c | 10 +-
7802 drivers/atm/firestream.c | 8 +-
7803 drivers/atm/fore200e.c | 14 +-
7804 drivers/atm/he.c | 18 +-
7805 drivers/atm/horizon.c | 4 +-
7806 drivers/atm/idt77252.c | 36 +-
7807 drivers/atm/iphase.c | 34 +-
7808 drivers/atm/lanai.c | 12 +-
7809 drivers/atm/nicstar.c | 46 +-
7810 drivers/atm/solos-pci.c | 4 +-
7811 drivers/atm/suni.c | 4 +-
7812 drivers/atm/uPD98402.c | 16 +-
7813 drivers/atm/zatm.c | 6 +-
7814 drivers/base/bus.c | 4 +-
7815 drivers/base/devres.c | 4 +-
7816 drivers/base/devtmpfs.c | 8 +-
7817 drivers/base/node.c | 2 +-
7818 drivers/base/platform-msi.c | 20 +-
7819 drivers/base/power/domain.c | 7 +-
7820 drivers/base/power/runtime.c | 6 +-
7821 drivers/base/power/sysfs.c | 2 +-
7822 drivers/base/power/wakeup.c | 8 +-
7823 drivers/base/regmap/regmap-debugfs.c | 4 +-
7824 drivers/base/regmap/regmap.c | 4 +-
7825 drivers/base/syscore.c | 4 +-
7826 drivers/block/cciss.c | 28 +-
7827 drivers/block/cciss.h | 2 +-
7828 drivers/block/cpqarray.c | 28 +-
7829 drivers/block/cpqarray.h | 2 +-
7830 drivers/block/drbd/drbd_bitmap.c | 2 +-
7831 drivers/block/drbd/drbd_int.h | 8 +-
7832 drivers/block/drbd/drbd_main.c | 12 +-
7833 drivers/block/drbd/drbd_nl.c | 4 +-
7834 drivers/block/drbd/drbd_receiver.c | 38 +-
7835 drivers/block/drbd/drbd_worker.c | 14 +-
7836 drivers/block/pktcdvd.c | 4 +-
7837 drivers/block/rbd.c | 2 +-
7838 drivers/bluetooth/btwilink.c | 2 +-
7839 drivers/bus/arm-cci.c | 12 +-
7840 drivers/cdrom/cdrom.c | 11 +-
7841 drivers/cdrom/gdrom.c | 1 -
7842 drivers/char/agp/compat_ioctl.c | 2 +-
7843 drivers/char/agp/frontend.c | 4 +-
7844 drivers/char/agp/intel-gtt.c | 4 +-
7845 drivers/char/hpet.c | 2 +-
7846 drivers/char/ipmi/ipmi_msghandler.c | 8 +-
7847 drivers/char/ipmi/ipmi_si_intf.c | 8 +-
7848 drivers/char/ipmi/ipmi_ssif.c | 12 +-
7849 drivers/char/mem.c | 47 +-
7850 drivers/char/nvram.c | 2 +-
7851 drivers/char/pcmcia/synclink_cs.c | 16 +-
7852 drivers/char/random.c | 12 +-
7853 drivers/char/sonypi.c | 11 +-
7854 drivers/char/tpm/tpm_acpi.c | 3 +-
7855 drivers/char/tpm/tpm_eventlog.c | 5 +-
7856 drivers/char/virtio_console.c | 6 +-
7857 drivers/clk/clk-composite.c | 2 +-
7858 drivers/clk/samsung/clk.h | 2 +-
7859 drivers/clk/socfpga/clk-gate.c | 9 +-
7860 drivers/clk/socfpga/clk-pll.c | 9 +-
7861 drivers/clk/ti/clk.c | 8 +-
7862 drivers/cpufreq/acpi-cpufreq.c | 17 +-
7863 drivers/cpufreq/cpufreq-dt.c | 4 +-
7864 drivers/cpufreq/cpufreq.c | 30 +-
7865 drivers/cpufreq/cpufreq_governor.c | 2 +-
7866 drivers/cpufreq/cpufreq_governor.h | 4 +-
7867 drivers/cpufreq/cpufreq_ondemand.c | 10 +-
7868 drivers/cpufreq/intel_pstate.c | 38 +-
7869 drivers/cpufreq/p4-clockmod.c | 12 +-
7870 drivers/cpufreq/sparc-us3-cpufreq.c | 67 +-
7871 drivers/cpufreq/speedstep-centrino.c | 7 +-
7872 drivers/cpuidle/driver.c | 2 +-
7873 drivers/cpuidle/dt_idle_states.c | 2 +-
7874 drivers/cpuidle/governor.c | 2 +-
7875 drivers/cpuidle/sysfs.c | 2 +-
7876 drivers/crypto/hifn_795x.c | 4 +-
7877 drivers/devfreq/devfreq.c | 4 +-
7878 drivers/dma/sh/shdma-base.c | 4 +-
7879 drivers/dma/sh/shdmac.c | 2 +-
7880 drivers/edac/edac_device.c | 4 +-
7881 drivers/edac/edac_mc_sysfs.c | 2 +-
7882 drivers/edac/edac_pci.c | 4 +-
7883 drivers/edac/edac_pci_sysfs.c | 22 +-
7884 drivers/edac/mce_amd.h | 2 +-
7885 drivers/firewire/core-card.c | 6 +-
7886 drivers/firewire/core-device.c | 2 +-
7887 drivers/firewire/core-transaction.c | 1 +
7888 drivers/firewire/core.h | 1 +
7889 drivers/firmware/dmi-id.c | 2 +-
7890 drivers/firmware/dmi_scan.c | 12 +-
7891 drivers/firmware/efi/cper.c | 8 +-
7892 drivers/firmware/efi/efi.c | 12 +-
7893 drivers/firmware/efi/efivars.c | 2 +-
7894 drivers/firmware/efi/runtime-map.c | 2 +-
7895 drivers/firmware/google/gsmi.c | 2 +-
7896 drivers/firmware/google/memconsole.c | 7 +-
7897 drivers/firmware/memmap.c | 2 +-
7898 drivers/firmware/psci.c | 2 +-
7899 drivers/gpio/gpio-davinci.c | 6 +-
7900 drivers/gpio/gpio-em.c | 2 +-
7901 drivers/gpio/gpio-ich.c | 2 +-
7902 drivers/gpio/gpio-omap.c | 4 +-
7903 drivers/gpio/gpio-rcar.c | 2 +-
7904 drivers/gpio/gpio-vr41xx.c | 2 +-
7905 drivers/gpio/gpiolib.c | 12 +-
7906 drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +-
7907 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-
7908 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 18 +-
7909 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +-
7910 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 2 +-
7911 drivers/gpu/drm/amd/amdkfd/kfd_device.c | 6 +-
7912 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 90 +-
7913 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 8 +-
7914 .../drm/amd/amdkfd/kfd_device_queue_manager_cik.c | 14 +-
7915 .../drm/amd/amdkfd/kfd_device_queue_manager_vi.c | 14 +-
7916 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c | 4 +-
7917 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 2 +-
7918 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.h | 2 +-
7919 .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 16 +-
7920 drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 2 +-
7921 drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | 2 +-
7922 drivers/gpu/drm/amd/scheduler/sched_fence.c | 2 +-
7923 drivers/gpu/drm/armada/armada_drv.c | 3 +-
7924 drivers/gpu/drm/drm_crtc.c | 2 +-
7925 drivers/gpu/drm/drm_drv.c | 2 +-
7926 drivers/gpu/drm/drm_fops.c | 12 +-
7927 drivers/gpu/drm/drm_global.c | 14 +-
7928 drivers/gpu/drm/drm_info.c | 13 +-
7929 drivers/gpu/drm/drm_ioc32.c | 13 +-
7930 drivers/gpu/drm/drm_ioctl.c | 2 +-
7931 drivers/gpu/drm/drm_pci.c | 9 +-
7932 drivers/gpu/drm/exynos/exynos_drm_drv.c | 1 -
7933 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 10 +-
7934 drivers/gpu/drm/gma500/psb_drv.c | 1 -
7935 drivers/gpu/drm/i810/i810_dma.c | 2 +-
7936 drivers/gpu/drm/i810/i810_drv.c | 6 +-
7937 drivers/gpu/drm/i810/i810_drv.h | 6 +-
7938 drivers/gpu/drm/i915/i915_dma.c | 4 +-
7939 drivers/gpu/drm/i915/i915_drv.c | 7 +-
7940 drivers/gpu/drm/i915/i915_drv.h | 2 +-
7941 drivers/gpu/drm/i915/i915_gem_execbuffer.c | 4 +-
7942 drivers/gpu/drm/i915/i915_gem_gtt.c | 16 +-
7943 drivers/gpu/drm/i915/i915_gem_gtt.h | 6 +-
7944 drivers/gpu/drm/i915/i915_ioc32.c | 10 +-
7945 drivers/gpu/drm/i915/i915_irq.c | 88 +-
7946 drivers/gpu/drm/i915/intel_display.c | 26 +-
7947 drivers/gpu/drm/imx/imx-drm-core.c | 2 +-
7948 drivers/gpu/drm/mga/mga_drv.c | 5 +-
7949 drivers/gpu/drm/mga/mga_drv.h | 6 +-
7950 drivers/gpu/drm/mga/mga_ioc32.c | 10 +-
7951 drivers/gpu/drm/mga/mga_irq.c | 8 +-
7952 drivers/gpu/drm/mga/mga_state.c | 2 +-
7953 drivers/gpu/drm/nouveau/nouveau_bios.c | 2 +-
7954 drivers/gpu/drm/nouveau/nouveau_drm.c | 13 +-
7955 drivers/gpu/drm/nouveau/nouveau_drm.h | 1 -
7956 drivers/gpu/drm/nouveau/nouveau_ioc32.c | 2 +-
7957 drivers/gpu/drm/nouveau/nouveau_vga.c | 2 +-
7958 drivers/gpu/drm/omapdrm/Makefile | 2 +-
7959 drivers/gpu/drm/qxl/qxl_cmd.c | 12 +-
7960 drivers/gpu/drm/qxl/qxl_debugfs.c | 8 +-
7961 drivers/gpu/drm/qxl/qxl_drv.c | 8 +-
7962 drivers/gpu/drm/qxl/qxl_drv.h | 8 +-
7963 drivers/gpu/drm/qxl/qxl_ioctl.c | 12 +-
7964 drivers/gpu/drm/qxl/qxl_irq.c | 16 +-
7965 drivers/gpu/drm/qxl/qxl_ttm.c | 38 +-
7966 drivers/gpu/drm/r128/r128_cce.c | 2 +-
7967 drivers/gpu/drm/r128/r128_drv.c | 4 +-
7968 drivers/gpu/drm/r128/r128_drv.h | 6 +-
7969 drivers/gpu/drm/r128/r128_ioc32.c | 10 +-
7970 drivers/gpu/drm/r128/r128_irq.c | 4 +-
7971 drivers/gpu/drm/r128/r128_state.c | 6 +-
7972 drivers/gpu/drm/radeon/mkregtable.c | 4 +-
7973 drivers/gpu/drm/radeon/radeon_device.c | 2 +-
7974 drivers/gpu/drm/radeon/radeon_drv.c | 17 +-
7975 drivers/gpu/drm/radeon/radeon_drv.h | 4 +-
7976 drivers/gpu/drm/radeon/radeon_ioc32.c | 12 +-
7977 drivers/gpu/drm/radeon/radeon_irq.c | 6 +-
7978 drivers/gpu/drm/radeon/radeon_kms.c | 2 +-
7979 drivers/gpu/drm/radeon/radeon_state.c | 6 +-
7980 drivers/gpu/drm/radeon/radeon_ttm.c | 4 +-
7981 drivers/gpu/drm/savage/savage_bci.c | 2 +-
7982 drivers/gpu/drm/savage/savage_drv.c | 5 +-
7983 drivers/gpu/drm/savage/savage_drv.h | 2 +-
7984 drivers/gpu/drm/sis/sis_drv.c | 5 +-
7985 drivers/gpu/drm/sis/sis_drv.h | 2 +-
7986 drivers/gpu/drm/sis/sis_mm.c | 2 +-
7987 drivers/gpu/drm/tegra/dc.c | 2 +-
7988 drivers/gpu/drm/tegra/dsi.c | 2 +-
7989 drivers/gpu/drm/tegra/hdmi.c | 2 +-
7990 drivers/gpu/drm/tegra/sor.c | 7 +-
7991 drivers/gpu/drm/tilcdc/Makefile | 6 +-
7992 drivers/gpu/drm/ttm/ttm_memory.c | 4 +-
7993 drivers/gpu/drm/ttm/ttm_page_alloc.c | 18 +-
7994 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 18 +-
7995 drivers/gpu/drm/udl/udl_fb.c | 1 -
7996 drivers/gpu/drm/via/via_dma.c | 2 +-
7997 drivers/gpu/drm/via/via_drv.c | 5 +-
7998 drivers/gpu/drm/via/via_drv.h | 6 +-
7999 drivers/gpu/drm/via/via_irq.c | 18 +-
8000 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 2 +-
8001 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c | 8 +-
8002 drivers/gpu/drm/vmwgfx/vmwgfx_irq.c | 4 +-
8003 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c | 2 +-
8004 drivers/gpu/vga/vga_switcheroo.c | 4 +-
8005 drivers/hid/hid-core.c | 4 +-
8006 drivers/hid/hid-sensor-custom.c | 2 +-
8007 drivers/hv/channel.c | 6 +-
8008 drivers/hv/hv.c | 4 +-
8009 drivers/hv/hv_balloon.c | 18 +-
8010 drivers/hv/hyperv_vmbus.h | 2 +-
8011 drivers/hwmon/acpi_power_meter.c | 6 +-
8012 drivers/hwmon/applesmc.c | 2 +-
8013 drivers/hwmon/asus_atk0110.c | 10 +-
8014 drivers/hwmon/coretemp.c | 2 +-
8015 drivers/hwmon/dell-smm-hwmon.c | 2 +-
8016 drivers/hwmon/ibmaem.c | 2 +-
8017 drivers/hwmon/iio_hwmon.c | 2 +-
8018 drivers/hwmon/nct6683.c | 6 +-
8019 drivers/hwmon/nct6775.c | 6 +-
8020 drivers/hwmon/pmbus/pmbus_core.c | 10 +-
8021 drivers/hwmon/sht15.c | 12 +-
8022 drivers/hwmon/via-cputemp.c | 2 +-
8023 drivers/i2c/busses/i2c-amd756-s4882.c | 2 +-
8024 drivers/i2c/busses/i2c-designware-pcidrv.c | 2 +-
8025 drivers/i2c/busses/i2c-nforce2-s4985.c | 2 +-
8026 drivers/i2c/i2c-dev.c | 2 +-
8027 drivers/ide/ide-cd.c | 2 +-
8028 drivers/ide/ide-disk.c | 2 +-
8029 drivers/iio/industrialio-core.c | 2 +-
8030 drivers/iio/magnetometer/ak8975.c | 2 +-
8031 drivers/infiniband/core/cm.c | 32 +-
8032 drivers/infiniband/core/fmr_pool.c | 20 +-
8033 drivers/infiniband/core/netlink.c | 5 +-
8034 drivers/infiniband/core/uverbs_cmd.c | 3 +
8035 drivers/infiniband/hw/cxgb4/device.c | 6 +-
8036 drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 2 +-
8037 drivers/infiniband/hw/cxgb4/mem.c | 4 +-
8038 drivers/infiniband/hw/mlx4/mad.c | 2 +-
8039 drivers/infiniband/hw/mlx4/mcg.c | 2 +-
8040 drivers/infiniband/hw/mlx4/mlx4_ib.h | 2 +-
8041 drivers/infiniband/hw/mthca/mthca_cmd.c | 8 +-
8042 drivers/infiniband/hw/mthca/mthca_main.c | 2 +-
8043 drivers/infiniband/hw/mthca/mthca_mr.c | 6 +-
8044 drivers/infiniband/hw/mthca/mthca_provider.c | 2 +-
8045 drivers/infiniband/hw/nes/nes.c | 4 +-
8046 drivers/infiniband/hw/nes/nes.h | 40 +-
8047 drivers/infiniband/hw/nes/nes_cm.c | 62 +-
8048 drivers/infiniband/hw/nes/nes_mgt.c | 8 +-
8049 drivers/infiniband/hw/nes/nes_nic.c | 40 +-
8050 drivers/infiniband/hw/nes/nes_verbs.c | 10 +-
8051 drivers/infiniband/hw/qib/qib.h | 1 +
8052 drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 2 +-
8053 drivers/input/evdev.c | 2 +-
8054 drivers/input/gameport/gameport.c | 4 +-
8055 drivers/input/input.c | 4 +-
8056 drivers/input/joystick/sidewinder.c | 1 +
8057 drivers/input/misc/ims-pcu.c | 4 +-
8058 drivers/input/mouse/psmouse.h | 2 +-
8059 drivers/input/mousedev.c | 2 +-
8060 drivers/input/serio/serio.c | 4 +-
8061 drivers/input/serio/serio_raw.c | 4 +-
8062 drivers/input/touchscreen/htcpen.c | 2 +-
8063 drivers/iommu/arm-smmu-v3.c | 2 +-
8064 drivers/iommu/arm-smmu.c | 43 +-
8065 drivers/iommu/io-pgtable-arm.c | 101 +-
8066 drivers/iommu/io-pgtable.c | 11 +-
8067 drivers/iommu/io-pgtable.h | 19 +-
8068 drivers/iommu/iommu.c | 2 +-
8069 drivers/iommu/ipmmu-vmsa.c | 13 +-
8070 drivers/iommu/irq_remapping.c | 2 +-
8071 drivers/irqchip/irq-gic.c | 2 +-
8072 drivers/irqchip/irq-i8259.c | 2 +-
8073 drivers/irqchip/irq-renesas-intc-irqpin.c | 2 +-
8074 drivers/isdn/capi/capi.c | 10 +-
8075 drivers/isdn/gigaset/interface.c | 8 +-
8076 drivers/isdn/gigaset/usb-gigaset.c | 2 +-
8077 drivers/isdn/hardware/avm/b1.c | 4 +-
8078 drivers/isdn/i4l/isdn_common.c | 2 +
8079 drivers/isdn/i4l/isdn_tty.c | 22 +-
8080 drivers/isdn/icn/icn.c | 2 +-
8081 drivers/isdn/mISDN/dsp_cmx.c | 2 +-
8082 drivers/lguest/core.c | 10 +-
8083 drivers/lguest/page_tables.c | 2 +-
8084 drivers/lguest/x86/core.c | 12 +-
8085 drivers/lguest/x86/switcher_32.S | 27 +-
8086 drivers/md/bcache/alloc.c | 2 +-
8087 drivers/md/bcache/bcache.h | 10 +-
8088 drivers/md/bcache/btree.c | 2 +-
8089 drivers/md/bcache/closure.h | 2 +-
8090 drivers/md/bcache/io.c | 10 +-
8091 drivers/md/bcache/journal.c | 2 +-
8092 drivers/md/bcache/stats.c | 26 +-
8093 drivers/md/bcache/stats.h | 16 +-
8094 drivers/md/bcache/super.c | 2 +-
8095 drivers/md/bcache/sysfs.c | 20 +-
8096 drivers/md/bitmap.c | 2 +-
8097 drivers/md/dm-cache-target.c | 98 +-
8098 drivers/md/dm-ioctl.c | 2 +-
8099 drivers/md/dm-raid.c | 2 +-
8100 drivers/md/dm-raid1.c | 18 +-
8101 drivers/md/dm-stats.c | 6 +-
8102 drivers/md/dm-stripe.c | 10 +-
8103 drivers/md/dm-table.c | 2 +-
8104 drivers/md/dm-thin-metadata.c | 4 +-
8105 drivers/md/dm.c | 28 +-
8106 drivers/md/md.c | 37 +-
8107 drivers/md/md.h | 8 +-
8108 drivers/md/persistent-data/dm-space-map-metadata.c | 4 +-
8109 drivers/md/persistent-data/dm-space-map.h | 1 +
8110 drivers/md/raid1.c | 8 +-
8111 drivers/md/raid10.c | 20 +-
8112 drivers/md/raid5.c | 26 +-
8113 drivers/media/dvb-core/dvbdev.c | 2 +-
8114 drivers/media/dvb-frontends/af9033.h | 2 +-
8115 drivers/media/dvb-frontends/dib3000.h | 2 +-
8116 drivers/media/dvb-frontends/dib7000p.h | 2 +-
8117 drivers/media/dvb-frontends/dib8000.h | 2 +-
8118 drivers/media/pci/cx88/cx88-video.c | 6 +-
8119 drivers/media/pci/ivtv/ivtv-driver.c | 2 +-
8120 drivers/media/pci/solo6x10/solo6x10-core.c | 2 +-
8121 drivers/media/pci/solo6x10/solo6x10-p2m.c | 2 +-
8122 drivers/media/pci/solo6x10/solo6x10.h | 2 +-
8123 drivers/media/pci/tw68/tw68-core.c | 2 +-
8124 drivers/media/pci/zoran/zoran.h | 1 -
8125 drivers/media/pci/zoran/zoran_driver.c | 3 -
8126 drivers/media/platform/omap/omap_vout.c | 11 +-
8127 drivers/media/platform/s5p-tv/mixer.h | 2 +-
8128 drivers/media/platform/s5p-tv/mixer_grp_layer.c | 2 +-
8129 drivers/media/platform/s5p-tv/mixer_reg.c | 2 +-
8130 drivers/media/platform/s5p-tv/mixer_video.c | 24 +-
8131 drivers/media/platform/s5p-tv/mixer_vp_layer.c | 2 +-
8132 drivers/media/radio/radio-cadet.c | 2 +
8133 drivers/media/radio/radio-maxiradio.c | 2 +-
8134 drivers/media/radio/radio-shark.c | 2 +-
8135 drivers/media/radio/radio-shark2.c | 2 +-
8136 drivers/media/radio/radio-si476x.c | 2 +-
8137 drivers/media/radio/wl128x/fmdrv_common.c | 2 +-
8138 drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 12 +-
8139 drivers/media/v4l2-core/v4l2-device.c | 4 +-
8140 drivers/media/v4l2-core/v4l2-ioctl.c | 13 +-
8141 drivers/memory/omap-gpmc.c | 21 +-
8142 drivers/message/fusion/mptsas.c | 34 +-
8143 drivers/mfd/ab8500-debugfs.c | 2 +-
8144 drivers/mfd/kempld-core.c | 2 +-
8145 drivers/mfd/max8925-i2c.c | 2 +-
8146 drivers/mfd/tps65910.c | 2 +-
8147 drivers/mfd/twl4030-irq.c | 9 +-
8148 drivers/misc/c2port/core.c | 4 +-
8149 drivers/misc/kgdbts.c | 4 +-
8150 drivers/misc/lis3lv02d/lis3lv02d.c | 8 +-
8151 drivers/misc/lis3lv02d/lis3lv02d.h | 2 +-
8152 drivers/misc/mic/scif/scif_api.c | 10 +-
8153 drivers/misc/mic/scif/scif_rb.c | 8 +-
8154 drivers/misc/sgi-gru/gruhandles.c | 4 +-
8155 drivers/misc/sgi-gru/gruprocfs.c | 8 +-
8156 drivers/misc/sgi-gru/grutables.h | 158 +-
8157 drivers/misc/sgi-xp/xp.h | 2 +-
8158 drivers/misc/sgi-xp/xpc.h | 3 +-
8159 drivers/misc/sgi-xp/xpc_main.c | 2 +-
8160 drivers/mmc/host/dw_mmc.h | 2 +-
8161 drivers/mmc/host/mmci.c | 4 +-
8162 drivers/mmc/host/omap_hsmmc.c | 4 +-
8163 drivers/mmc/host/sdhci-esdhc-imx.c | 7 +-
8164 drivers/mmc/host/sdhci-s3c.c | 8 +-
8165 drivers/mtd/chips/cfi_cmdset_0020.c | 2 +-
8166 drivers/mtd/nand/denali.c | 1 +
8167 drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 2 +-
8168 drivers/mtd/nftlmount.c | 1 +
8169 drivers/mtd/sm_ftl.c | 2 +-
8170 drivers/net/bonding/bond_netlink.c | 2 +-
8171 drivers/net/caif/caif_hsi.c | 2 +-
8172 drivers/net/can/Kconfig | 2 +-
8173 drivers/net/can/dev.c | 2 +-
8174 drivers/net/can/vcan.c | 2 +-
8175 drivers/net/dummy.c | 2 +-
8176 drivers/net/ethernet/8390/ax88796.c | 4 +-
8177 drivers/net/ethernet/altera/altera_tse_main.c | 4 +-
8178 drivers/net/ethernet/amd/xgbe/xgbe-common.h | 4 +-
8179 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c | 4 +-
8180 drivers/net/ethernet/amd/xgbe/xgbe-desc.c | 27 +-
8181 drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 143 +-
8182 drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 64 +-
8183 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 10 +-
8184 drivers/net/ethernet/amd/xgbe/xgbe-main.c | 15 +-
8185 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 27 +-
8186 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c | 4 +-
8187 drivers/net/ethernet/amd/xgbe/xgbe.h | 10 +-
8188 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 2 +-
8189 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | 11 +-
8190 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h | 3 +-
8191 drivers/net/ethernet/broadcom/tg3.h | 1 +
8192 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c | 6 +-
8193 drivers/net/ethernet/cavium/liquidio/lio_main.c | 11 +-
8194 drivers/net/ethernet/chelsio/cxgb3/l2t.h | 2 +-
8195 drivers/net/ethernet/dec/tulip/de4x5.c | 4 +-
8196 drivers/net/ethernet/emulex/benet/be_main.c | 2 +-
8197 drivers/net/ethernet/faraday/ftgmac100.c | 2 +
8198 drivers/net/ethernet/faraday/ftmac100.c | 2 +
8199 drivers/net/ethernet/intel/i40e/i40e_ptp.c | 2 +-
8200 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 2 +-
8201 drivers/net/ethernet/mellanox/mlx4/en_tx.c | 4 +-
8202 drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 7 +-
8203 drivers/net/ethernet/neterion/vxge/vxge-config.c | 7 +-
8204 drivers/net/ethernet/nvidia/forcedeth.c | 4 +-
8205 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 4 +-
8206 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c | 12 +-
8207 .../net/ethernet/qlogic/qlcnic/qlcnic_minidump.c | 2 +-
8208 drivers/net/ethernet/realtek/r8169.c | 8 +-
8209 drivers/net/ethernet/sfc/ptp.c | 2 +-
8210 drivers/net/ethernet/sfc/selftest.c | 20 +-
8211 drivers/net/ethernet/stmicro/stmmac/mmc_core.c | 4 +-
8212 drivers/net/ethernet/via/via-rhine.c | 2 +-
8213 drivers/net/geneve.c | 2 +-
8214 drivers/net/hyperv/hyperv_net.h | 2 +-
8215 drivers/net/hyperv/rndis_filter.c | 7 +-
8216 drivers/net/ifb.c | 2 +-
8217 drivers/net/ipvlan/ipvlan_core.c | 2 +-
8218 drivers/net/irda/vlsi_ir.c | 18 +-
8219 drivers/net/irda/vlsi_ir.h | 14 +-
8220 drivers/net/macvlan.c | 20 +-
8221 drivers/net/macvtap.c | 10 +-
8222 drivers/net/nlmon.c | 2 +-
8223 drivers/net/phy/phy_device.c | 6 +-
8224 drivers/net/ppp/ppp_generic.c | 4 +-
8225 drivers/net/slip/slhc.c | 2 +-
8226 drivers/net/team/team.c | 4 +-
8227 drivers/net/tun.c | 7 +-
8228 drivers/net/usb/hso.c | 23 +-
8229 drivers/net/usb/r8152.c | 2 +-
8230 drivers/net/usb/sierra_net.c | 4 +-
8231 drivers/net/virtio_net.c | 2 +-
8232 drivers/net/vrf.c | 2 +-
8233 drivers/net/vxlan.c | 4 +-
8234 drivers/net/wimax/i2400m/rx.c | 2 +-
8235 drivers/net/wireless/airo.c | 2 +-
8236 drivers/net/wireless/at76c50x-usb.c | 2 +-
8237 drivers/net/wireless/ath/ath10k/ce.c | 6 +-
8238 drivers/net/wireless/ath/ath10k/htc.h | 4 +-
8239 drivers/net/wireless/ath/ath9k/ar9002_mac.c | 36 +-
8240 drivers/net/wireless/ath/ath9k/ar9003_mac.c | 64 +-
8241 drivers/net/wireless/ath/ath9k/hw.h | 4 +-
8242 drivers/net/wireless/ath/ath9k/main.c | 22 +-
8243 drivers/net/wireless/ath/carl9170/carl9170.h | 6 +-
8244 drivers/net/wireless/ath/carl9170/debug.c | 6 +-
8245 drivers/net/wireless/ath/carl9170/main.c | 10 +-
8246 drivers/net/wireless/ath/carl9170/tx.c | 4 +-
8247 drivers/net/wireless/ath/wil6210/wil_platform.h | 2 +-
8248 drivers/net/wireless/b43/phy_lp.c | 2 +-
8249 drivers/net/wireless/iwlegacy/3945-mac.c | 4 +-
8250 drivers/net/wireless/iwlwifi/dvm/debugfs.c | 34 +-
8251 drivers/net/wireless/iwlwifi/mvm/d3.c | 4 +-
8252 drivers/net/wireless/iwlwifi/mvm/tx.c | 2 +-
8253 drivers/net/wireless/iwlwifi/pcie/trans.c | 4 +-
8254 drivers/net/wireless/mac80211_hwsim.c | 28 +-
8255 drivers/net/wireless/rt2x00/rt2x00.h | 2 +-
8256 drivers/net/wireless/rt2x00/rt2x00queue.c | 4 +-
8257 drivers/net/wireless/ti/wl1251/sdio.c | 12 +-
8258 drivers/net/wireless/ti/wl12xx/main.c | 8 +-
8259 drivers/net/wireless/ti/wl18xx/main.c | 6 +-
8260 drivers/of/fdt.c | 4 +-
8261 drivers/oprofile/buffer_sync.c | 8 +-
8262 drivers/oprofile/event_buffer.c | 2 +-
8263 drivers/oprofile/oprof.c | 2 +-
8264 drivers/oprofile/oprofile_stats.c | 10 +-
8265 drivers/oprofile/oprofile_stats.h | 10 +-
8266 drivers/oprofile/oprofilefs.c | 6 +-
8267 drivers/oprofile/timer_int.c | 2 +-
8268 drivers/parport/procfs.c | 4 +-
8269 drivers/pci/host/pci-host-generic.c | 2 +-
8270 drivers/pci/hotplug/acpiphp_ibm.c | 4 +-
8271 drivers/pci/hotplug/cpcihp_generic.c | 6 +-
8272 drivers/pci/hotplug/cpcihp_zt5550.c | 14 +-
8273 drivers/pci/hotplug/cpqphp_nvram.c | 2 +
8274 drivers/pci/hotplug/pci_hotplug_core.c | 6 +-
8275 drivers/pci/hotplug/pciehp_core.c | 2 +-
8276 drivers/pci/msi.c | 22 +-
8277 drivers/pci/pci-sysfs.c | 6 +-
8278 drivers/pci/pci.h | 2 +-
8279 drivers/pci/pcie/aspm.c | 6 +-
8280 drivers/pci/pcie/portdrv_pci.c | 2 +-
8281 drivers/pci/probe.c | 2 +-
8282 drivers/pinctrl/nomadik/pinctrl-nomadik.c | 2 +-
8283 drivers/pinctrl/pinctrl-at91.c | 5 +-
8284 drivers/platform/chrome/chromeos_pstore.c | 2 +-
8285 drivers/platform/x86/alienware-wmi.c | 4 +-
8286 drivers/platform/x86/compal-laptop.c | 2 +-
8287 drivers/platform/x86/hdaps.c | 2 +-
8288 drivers/platform/x86/ibm_rtl.c | 2 +-
8289 drivers/platform/x86/intel_oaktrail.c | 2 +-
8290 drivers/platform/x86/msi-laptop.c | 16 +-
8291 drivers/platform/x86/msi-wmi.c | 2 +-
8292 drivers/platform/x86/samsung-laptop.c | 2 +-
8293 drivers/platform/x86/samsung-q10.c | 2 +-
8294 drivers/platform/x86/sony-laptop.c | 14 +-
8295 drivers/platform/x86/thinkpad_acpi.c | 2 +-
8296 drivers/pnp/pnpbios/bioscalls.c | 14 +-
8297 drivers/pnp/pnpbios/core.c | 2 +-
8298 drivers/power/pda_power.c | 7 +-
8299 drivers/power/power_supply.h | 4 +-
8300 drivers/power/power_supply_core.c | 7 +-
8301 drivers/power/power_supply_sysfs.c | 6 +-
8302 drivers/power/reset/at91-reset.c | 5 +-
8303 drivers/powercap/powercap_sys.c | 136 +-
8304 drivers/ptp/ptp_private.h | 2 +-
8305 drivers/ptp/ptp_sysfs.c | 2 +-
8306 drivers/regulator/core.c | 4 +-
8307 drivers/regulator/max8660.c | 6 +-
8308 drivers/regulator/max8973-regulator.c | 16 +-
8309 drivers/regulator/mc13892-regulator.c | 8 +-
8310 drivers/rtc/rtc-armada38x.c | 7 +-
8311 drivers/rtc/rtc-cmos.c | 4 +-
8312 drivers/rtc/rtc-ds1307.c | 2 +-
8313 drivers/rtc/rtc-m48t59.c | 4 +-
8314 drivers/rtc/rtc-rv8803.c | 15 +-
8315 drivers/rtc/rtc-test.c | 6 +-
8316 drivers/scsi/bfa/bfa_fcpim.h | 2 +-
8317 drivers/scsi/bfa/bfa_ioc.h | 4 +-
8318 drivers/scsi/fcoe/fcoe_sysfs.c | 12 +-
8319 drivers/scsi/hosts.c | 4 +-
8320 drivers/scsi/hpsa.c | 38 +-
8321 drivers/scsi/hpsa.h | 2 +-
8322 drivers/scsi/hptiop.c | 2 -
8323 drivers/scsi/hptiop.h | 1 -
8324 drivers/scsi/ipr.c | 6 +-
8325 drivers/scsi/ipr.h | 2 +-
8326 drivers/scsi/libfc/fc_exch.c | 50 +-
8327 drivers/scsi/libsas/sas_ata.c | 2 +-
8328 drivers/scsi/lpfc/lpfc.h | 8 +-
8329 drivers/scsi/lpfc/lpfc_debugfs.c | 18 +-
8330 drivers/scsi/lpfc/lpfc_init.c | 6 +-
8331 drivers/scsi/lpfc/lpfc_scsi.c | 10 +-
8332 drivers/scsi/megaraid/megaraid_sas.h | 2 +-
8333 drivers/scsi/pmcraid.c | 20 +-
8334 drivers/scsi/pmcraid.h | 8 +-
8335 drivers/scsi/qla2xxx/qla_attr.c | 4 +-
8336 drivers/scsi/qla2xxx/qla_gbl.h | 4 +-
8337 drivers/scsi/qla2xxx/qla_os.c | 6 +-
8338 drivers/scsi/qla2xxx/qla_target.c | 10 +-
8339 drivers/scsi/qla2xxx/qla_target.h | 2 +-
8340 drivers/scsi/qla4xxx/ql4_def.h | 2 +-
8341 drivers/scsi/qla4xxx/ql4_os.c | 6 +-
8342 drivers/scsi/scsi.c | 2 +-
8343 drivers/scsi/scsi_lib.c | 8 +-
8344 drivers/scsi/scsi_sysfs.c | 2 +-
8345 drivers/scsi/scsi_transport_fc.c | 8 +-
8346 drivers/scsi/scsi_transport_iscsi.c | 6 +-
8347 drivers/scsi/scsi_transport_srp.c | 6 +-
8348 drivers/scsi/sd.c | 6 +-
8349 drivers/scsi/sg.c | 2 +-
8350 drivers/scsi/sr.c | 21 +-
8351 drivers/soc/tegra/fuse/fuse-tegra.c | 2 +-
8352 drivers/spi/spi.c | 2 +-
8353 drivers/staging/android/timed_output.c | 6 +-
8354 drivers/staging/comedi/comedi_fops.c | 8 +-
8355 drivers/staging/fbtft/fbtft-core.c | 2 +-
8356 drivers/staging/fbtft/fbtft.h | 2 +-
8357 drivers/staging/gdm724x/gdm_tty.c | 2 +-
8358 drivers/staging/iio/accel/lis3l02dq_ring.c | 2 +-
8359 drivers/staging/iio/adc/ad7280a.c | 4 +-
8360 drivers/staging/lustre/lnet/selftest/brw_test.c | 12 +-
8361 drivers/staging/lustre/lnet/selftest/framework.c | 4 -
8362 drivers/staging/lustre/lnet/selftest/ping_test.c | 14 +-
8363 drivers/staging/lustre/lustre/include/lustre_dlm.h | 2 +-
8364 drivers/staging/lustre/lustre/include/obd.h | 2 +-
8365 drivers/staging/octeon/ethernet-rx.c | 20 +-
8366 drivers/staging/octeon/ethernet.c | 8 +-
8367 drivers/staging/rdma/ipath/ipath_rc.c | 6 +-
8368 drivers/staging/rdma/ipath/ipath_ruc.c | 6 +-
8369 drivers/staging/rtl8188eu/include/hal_intf.h | 2 +-
8370 drivers/staging/rtl8712/rtl871x_io.h | 2 +-
8371 drivers/staging/sm750fb/sm750.c | 14 +-
8372 drivers/staging/unisys/visorbus/visorbus_private.h | 4 +-
8373 drivers/target/sbp/sbp_target.c | 4 +-
8374 drivers/thermal/cpu_cooling.c | 9 +-
8375 drivers/thermal/devfreq_cooling.c | 19 +-
8376 drivers/thermal/int340x_thermal/int3400_thermal.c | 6 +-
8377 drivers/thermal/of-thermal.c | 17 +-
8378 drivers/thermal/x86_pkg_temp_thermal.c | 2 +-
8379 drivers/tty/cyclades.c | 6 +-
8380 drivers/tty/hvc/hvc_console.c | 14 +-
8381 drivers/tty/hvc/hvcs.c | 21 +-
8382 drivers/tty/hvc/hvsi.c | 22 +-
8383 drivers/tty/hvc/hvsi_lib.c | 4 +-
8384 drivers/tty/ipwireless/tty.c | 27 +-
8385 drivers/tty/moxa.c | 2 +-
8386 drivers/tty/n_gsm.c | 4 +-
8387 drivers/tty/n_tty.c | 19 +-
8388 drivers/tty/pty.c | 4 +-
8389 drivers/tty/rocket.c | 6 +-
8390 drivers/tty/serial/8250/8250_core.c | 10 +-
8391 drivers/tty/serial/ifx6x60.c | 2 +-
8392 drivers/tty/serial/ioc4_serial.c | 6 +-
8393 drivers/tty/serial/kgdb_nmi.c | 4 +-
8394 drivers/tty/serial/kgdboc.c | 32 +-
8395 drivers/tty/serial/msm_serial.c | 4 +-
8396 drivers/tty/serial/samsung.c | 9 +-
8397 drivers/tty/serial/serial_core.c | 8 +-
8398 drivers/tty/synclink.c | 34 +-
8399 drivers/tty/synclink_gt.c | 28 +-
8400 drivers/tty/synclinkmp.c | 34 +-
8401 drivers/tty/tty_io.c | 2 +-
8402 drivers/tty/tty_ldisc.c | 8 +-
8403 drivers/tty/tty_port.c | 22 +-
8404 drivers/uio/uio.c | 13 +-
8405 drivers/usb/atm/cxacru.c | 2 +-
8406 drivers/usb/atm/usbatm.c | 24 +-
8407 drivers/usb/class/cdc-acm.h | 2 +-
8408 drivers/usb/core/devices.c | 6 +-
8409 drivers/usb/core/devio.c | 12 +-
8410 drivers/usb/core/hcd.c | 4 +-
8411 drivers/usb/core/sysfs.c | 2 +-
8412 drivers/usb/core/usb.c | 2 +-
8413 drivers/usb/early/ehci-dbgp.c | 16 +-
8414 drivers/usb/gadget/function/u_serial.c | 22 +-
8415 drivers/usb/gadget/udc/dummy_hcd.c | 2 +-
8416 drivers/usb/host/ehci-hcd.c | 2 +-
8417 drivers/usb/host/ehci-hub.c | 4 +-
8418 drivers/usb/host/ehci-q.c | 4 +-
8419 drivers/usb/host/fotg210-hcd.c | 2 +-
8420 drivers/usb/host/hwa-hc.c | 2 +-
8421 drivers/usb/host/ohci-hcd.c | 2 +-
8422 drivers/usb/host/r8a66597.h | 2 +-
8423 drivers/usb/host/uhci-hcd.c | 2 +-
8424 drivers/usb/host/xhci-pci.c | 2 +-
8425 drivers/usb/host/xhci.c | 2 +-
8426 drivers/usb/misc/appledisplay.c | 4 +-
8427 drivers/usb/serial/console.c | 8 +-
8428 drivers/usb/storage/transport.c | 2 +-
8429 drivers/usb/storage/usb.c | 2 +-
8430 drivers/usb/storage/usb.h | 2 +-
8431 drivers/usb/usbip/vhci.h | 2 +-
8432 drivers/usb/usbip/vhci_hcd.c | 6 +-
8433 drivers/usb/usbip/vhci_rx.c | 2 +-
8434 drivers/usb/wusbcore/wa-hc.h | 4 +-
8435 drivers/usb/wusbcore/wa-xfer.c | 2 +-
8436 drivers/vhost/vringh.c | 20 +-
8437 drivers/video/backlight/kb3886_bl.c | 2 +-
8438 drivers/video/console/fbcon.c | 2 +-
8439 drivers/video/fbdev/aty/aty128fb.c | 2 +-
8440 drivers/video/fbdev/aty/atyfb_base.c | 8 +-
8441 drivers/video/fbdev/aty/mach64_cursor.c | 5 +-
8442 drivers/video/fbdev/core/fb_defio.c | 6 +-
8443 drivers/video/fbdev/core/fbmem.c | 12 +-
8444 drivers/video/fbdev/hyperv_fb.c | 4 +-
8445 drivers/video/fbdev/i810/i810_accel.c | 1 +
8446 drivers/video/fbdev/matrox/matroxfb_base.c | 2 +-
8447 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c | 16 +-
8448 drivers/video/fbdev/nvidia/nvidia.c | 27 +-
8449 drivers/video/fbdev/omap2/dss/display.c | 8 +-
8450 drivers/video/fbdev/s1d13xxxfb.c | 6 +-
8451 drivers/video/fbdev/smscufx.c | 4 +-
8452 drivers/video/fbdev/udlfb.c | 36 +-
8453 drivers/video/fbdev/uvesafb.c | 52 +-
8454 drivers/video/fbdev/vesafb.c | 58 +-
8455 drivers/video/fbdev/via/via_clock.h | 2 +-
8456 drivers/xen/events/events_base.c | 6 +-
8457 fs/Kconfig.binfmt | 2 +-
8458 fs/afs/inode.c | 4 +-
8459 fs/aio.c | 2 +-
8460 fs/autofs4/waitq.c | 2 +-
8461 fs/befs/endian.h | 6 +-
8462 fs/binfmt_aout.c | 23 +-
8463 fs/binfmt_elf.c | 670 +-
8464 fs/binfmt_elf_fdpic.c | 4 +-
8465 fs/block_dev.c | 2 +-
8466 fs/btrfs/ctree.c | 11 +-
8467 fs/btrfs/ctree.h | 4 +-
8468 fs/btrfs/delayed-inode.c | 9 +-
8469 fs/btrfs/delayed-inode.h | 6 +-
8470 fs/btrfs/delayed-ref.c | 4 +-
8471 fs/btrfs/disk-io.c | 4 +-
8472 fs/btrfs/extent_map.c | 8 +-
8473 fs/btrfs/file.c | 4 +-
8474 fs/btrfs/inode.c | 14 +-
8475 fs/btrfs/raid56.c | 32 +-
8476 fs/btrfs/super.c | 2 +-
8477 fs/btrfs/sysfs.c | 2 +-
8478 fs/btrfs/tests/btrfs-tests.c | 2 +-
8479 fs/btrfs/tests/free-space-tests.c | 8 +-
8480 fs/btrfs/transaction.c | 2 +-
8481 fs/btrfs/tree-log.c | 8 +-
8482 fs/btrfs/tree-log.h | 2 +-
8483 fs/btrfs/volumes.c | 14 +-
8484 fs/btrfs/volumes.h | 22 +-
8485 fs/buffer.c | 2 +-
8486 fs/cachefiles/bind.c | 6 +-
8487 fs/cachefiles/daemon.c | 8 +-
8488 fs/cachefiles/internal.h | 12 +-
8489 fs/cachefiles/namei.c | 2 +-
8490 fs/cachefiles/proc.c | 12 +-
8491 fs/ceph/dir.c | 12 +-
8492 fs/ceph/super.c | 4 +-
8493 fs/cifs/cifs_debug.c | 12 +-
8494 fs/cifs/cifsfs.c | 8 +-
8495 fs/cifs/cifsglob.h | 54 +-
8496 fs/cifs/file.c | 12 +-
8497 fs/cifs/misc.c | 4 +-
8498 fs/cifs/smb1ops.c | 80 +-
8499 fs/cifs/smb2ops.c | 84 +-
8500 fs/cifs/smb2pdu.c | 3 +-
8501 fs/coda/cache.c | 10 +-
8502 fs/compat.c | 7 +-
8503 fs/compat_binfmt_elf.c | 2 +
8504 fs/compat_ioctl.c | 12 +-
8505 fs/configfs/dir.c | 10 +-
8506 fs/coredump.c | 18 +-
8507 fs/dcache.c | 64 +-
8508 fs/ecryptfs/inode.c | 2 +-
8509 fs/ecryptfs/miscdev.c | 2 +-
8510 fs/exec.c | 362 +-
8511 fs/ext2/xattr.c | 5 +-
8512 fs/ext4/ext4.h | 20 +-
8513 fs/ext4/mballoc.c | 44 +-
8514 fs/ext4/resize.c | 16 +-
8515 fs/ext4/super.c | 2 +-
8516 fs/ext4/sysfs.c | 2 +-
8517 fs/ext4/xattr.c | 5 +-
8518 fs/fhandle.c | 5 +-
8519 fs/file.c | 18 +-
8520 fs/fs-writeback.c | 11 +-
8521 fs/fs_struct.c | 8 +-
8522 fs/fscache/cookie.c | 40 +-
8523 fs/fscache/internal.h | 202 +-
8524 fs/fscache/object.c | 26 +-
8525 fs/fscache/operation.c | 38 +-
8526 fs/fscache/page.c | 110 +-
8527 fs/fscache/stats.c | 348 +-
8528 fs/fuse/cuse.c | 10 +-
8529 fs/fuse/dev.c | 4 +-
8530 fs/gfs2/file.c | 2 +-
8531 fs/gfs2/glock.c | 22 +-
8532 fs/gfs2/glops.c | 4 +-
8533 fs/gfs2/quota.c | 6 +-
8534 fs/hugetlbfs/inode.c | 13 +-
8535 fs/inode.c | 4 +-
8536 fs/jbd2/commit.c | 2 +-
8537 fs/jbd2/transaction.c | 4 +-
8538 fs/jffs2/erase.c | 3 +-
8539 fs/jffs2/wbuf.c | 3 +-
8540 fs/jfs/super.c | 2 +-
8541 fs/kernfs/dir.c | 2 +-
8542 fs/kernfs/file.c | 20 +-
8543 fs/libfs.c | 10 +-
8544 fs/lockd/clntproc.c | 4 +-
8545 fs/namei.c | 16 +-
8546 fs/namespace.c | 16 +-
8547 fs/nfs/callback_xdr.c | 2 +-
8548 fs/nfs/inode.c | 6 +-
8549 fs/nfsd/nfs4proc.c | 2 +-
8550 fs/nfsd/nfs4xdr.c | 2 +-
8551 fs/nfsd/nfscache.c | 11 +-
8552 fs/nfsd/vfs.c | 6 +-
8553 fs/nls/nls_base.c | 26 +-
8554 fs/nls/nls_euc-jp.c | 6 +-
8555 fs/nls/nls_koi8-ru.c | 6 +-
8556 fs/notify/fanotify/fanotify_user.c | 4 +-
8557 fs/notify/notification.c | 4 +-
8558 fs/ntfs/dir.c | 2 +-
8559 fs/ntfs/super.c | 6 +-
8560 fs/ocfs2/dlm/dlmcommon.h | 4 +-
8561 fs/ocfs2/dlm/dlmdebug.c | 10 +-
8562 fs/ocfs2/dlm/dlmdomain.c | 4 +-
8563 fs/ocfs2/dlm/dlmmaster.c | 4 +-
8564 fs/ocfs2/localalloc.c | 2 +-
8565 fs/ocfs2/ocfs2.h | 10 +-
8566 fs/ocfs2/suballoc.c | 12 +-
8567 fs/ocfs2/super.c | 20 +-
8568 fs/overlayfs/copy_up.c | 2 +-
8569 fs/pipe.c | 72 +-
8570 fs/posix_acl.c | 4 +-
8571 fs/proc/array.c | 20 +
8572 fs/proc/base.c | 4 +-
8573 fs/proc/kcore.c | 34 +-
8574 fs/proc/meminfo.c | 2 +-
8575 fs/proc/nommu.c | 2 +-
8576 fs/proc/proc_sysctl.c | 26 +-
8577 fs/proc/task_mmu.c | 42 +-
8578 fs/proc/task_nommu.c | 4 +-
8579 fs/proc/vmcore.c | 16 +-
8580 fs/qnx6/qnx6.h | 4 +-
8581 fs/quota/netlink.c | 4 +-
8582 fs/read_write.c | 2 +-
8583 fs/readdir.c | 3 +-
8584 fs/reiserfs/do_balan.c | 2 +-
8585 fs/reiserfs/procfs.c | 2 +-
8586 fs/reiserfs/reiserfs.h | 4 +-
8587 fs/seq_file.c | 4 +-
8588 fs/splice.c | 43 +-
8589 fs/squashfs/xattr.c | 12 +-
8590 fs/super.c | 3 +-
8591 fs/sysv/sysv.h | 2 +-
8592 fs/tracefs/inode.c | 8 +-
8593 fs/udf/misc.c | 2 +-
8594 fs/ufs/swab.h | 4 +-
8595 fs/userfaultfd.c | 2 +-
8596 fs/xattr.c | 21 +
8597 fs/xfs/libxfs/xfs_bmap.c | 2 +-
8598 fs/xfs/libxfs/xfs_da_btree.c | 4 +-
8599 fs/xfs/xfs_dir2_readdir.c | 7 +-
8600 fs/xfs/xfs_ioctl.c | 2 +-
8601 fs/xfs/xfs_linux.h | 4 +-
8602 include/acpi/ghes.h | 2 +-
8603 include/asm-generic/4level-fixup.h | 2 +
8604 include/asm-generic/atomic-long.h | 176 +-
8605 include/asm-generic/atomic64.h | 12 +
8606 include/asm-generic/bitops/__fls.h | 2 +-
8607 include/asm-generic/bitops/fls.h | 2 +-
8608 include/asm-generic/bitops/fls64.h | 4 +-
8609 include/asm-generic/bug.h | 6 +-
8610 include/asm-generic/cache.h | 4 +-
8611 include/asm-generic/emergency-restart.h | 2 +-
8612 include/asm-generic/kmap_types.h | 4 +-
8613 include/asm-generic/local.h | 13 +
8614 include/asm-generic/pgtable-nopmd.h | 18 +-
8615 include/asm-generic/pgtable-nopud.h | 15 +-
8616 include/asm-generic/pgtable.h | 16 +
8617 include/asm-generic/sections.h | 1 +
8618 include/asm-generic/uaccess.h | 16 +
8619 include/asm-generic/vmlinux.lds.h | 15 +-
8620 include/crypto/algapi.h | 2 +-
8621 include/drm/drmP.h | 19 +-
8622 include/drm/drm_crtc_helper.h | 2 +-
8623 include/drm/drm_mm.h | 2 +-
8624 include/drm/i915_pciids.h | 2 +-
8625 include/drm/intel-gtt.h | 4 +-
8626 include/drm/ttm/ttm_memory.h | 2 +-
8627 include/drm/ttm/ttm_page_alloc.h | 1 +
8628 include/keys/asymmetric-subtype.h | 2 +-
8629 include/linux/atmdev.h | 4 +-
8630 include/linux/atomic.h | 2 +-
8631 include/linux/audit.h | 2 +-
8632 include/linux/average.h | 2 +-
8633 include/linux/binfmts.h | 3 +-
8634 include/linux/bitmap.h | 2 +-
8635 include/linux/bitops.h | 8 +-
8636 include/linux/blk-cgroup.h | 24 +-
8637 include/linux/blkdev.h | 2 +-
8638 include/linux/blktrace_api.h | 2 +-
8639 include/linux/cache.h | 8 +
8640 include/linux/cdrom.h | 1 -
8641 include/linux/cleancache.h | 2 +-
8642 include/linux/clk-provider.h | 1 +
8643 include/linux/compat.h | 6 +-
8644 include/linux/compiler-gcc.h | 28 +-
8645 include/linux/compiler.h | 193 +-
8646 include/linux/configfs.h | 2 +-
8647 include/linux/cpufreq.h | 3 +-
8648 include/linux/cpuidle.h | 5 +-
8649 include/linux/cpumask.h | 14 +-
8650 include/linux/crypto.h | 4 +-
8651 include/linux/ctype.h | 2 +-
8652 include/linux/dcache.h | 4 +-
8653 include/linux/decompress/mm.h | 2 +-
8654 include/linux/devfreq.h | 2 +-
8655 include/linux/device.h | 7 +-
8656 include/linux/dma-mapping.h | 2 +-
8657 include/linux/efi.h | 1 +
8658 include/linux/elf.h | 2 +
8659 include/linux/err.h | 4 +-
8660 include/linux/extcon.h | 2 +-
8661 include/linux/fb.h | 3 +-
8662 include/linux/fdtable.h | 2 +-
8663 include/linux/fs.h | 5 +-
8664 include/linux/fs_struct.h | 2 +-
8665 include/linux/fscache-cache.h | 2 +-
8666 include/linux/fscache.h | 2 +-
8667 include/linux/fsnotify.h | 2 +-
8668 include/linux/genhd.h | 4 +-
8669 include/linux/genl_magic_func.h | 2 +-
8670 include/linux/gfp.h | 12 +-
8671 include/linux/highmem.h | 12 +
8672 include/linux/hwmon-sysfs.h | 6 +-
8673 include/linux/i2c.h | 1 +
8674 include/linux/if_pppox.h | 2 +-
8675 include/linux/init.h | 12 +-
8676 include/linux/init_task.h | 7 +
8677 include/linux/interrupt.h | 6 +-
8678 include/linux/iommu.h | 2 +-
8679 include/linux/ioport.h | 2 +-
8680 include/linux/ipc.h | 2 +-
8681 include/linux/irq.h | 5 +-
8682 include/linux/irqdesc.h | 2 +-
8683 include/linux/irqdomain.h | 3 +
8684 include/linux/jbd2.h | 2 +-
8685 include/linux/jiffies.h | 16 +-
8686 include/linux/key-type.h | 2 +-
8687 include/linux/kgdb.h | 6 +-
8688 include/linux/kmemleak.h | 4 +-
8689 include/linux/kobject.h | 3 +-
8690 include/linux/kobject_ns.h | 2 +-
8691 include/linux/kref.h | 2 +-
8692 include/linux/libata.h | 2 +-
8693 include/linux/linkage.h | 1 +
8694 include/linux/list.h | 15 +
8695 include/linux/lockref.h | 26 +-
8696 include/linux/math64.h | 10 +-
8697 include/linux/mempolicy.h | 7 +
8698 include/linux/mm.h | 102 +-
8699 include/linux/mm_types.h | 20 +
8700 include/linux/mmiotrace.h | 4 +-
8701 include/linux/mmzone.h | 2 +-
8702 include/linux/mod_devicetable.h | 4 +-
8703 include/linux/module.h | 69 +-
8704 include/linux/moduleloader.h | 16 +
8705 include/linux/moduleparam.h | 4 +-
8706 include/linux/net.h | 2 +-
8707 include/linux/netdevice.h | 7 +-
8708 include/linux/netfilter.h | 2 +-
8709 include/linux/netfilter/nfnetlink.h | 2 +-
8710 include/linux/netlink.h | 12 +-
8711 include/linux/nls.h | 4 +-
8712 include/linux/notifier.h | 3 +-
8713 include/linux/oprofile.h | 4 +-
8714 include/linux/padata.h | 2 +-
8715 include/linux/pci_hotplug.h | 3 +-
8716 include/linux/percpu.h | 2 +-
8717 include/linux/perf_event.h | 12 +-
8718 include/linux/pipe_fs_i.h | 8 +-
8719 include/linux/pm.h | 1 +
8720 include/linux/pm_domain.h | 2 +-
8721 include/linux/pm_runtime.h | 2 +-
8722 include/linux/pnp.h | 2 +-
8723 include/linux/poison.h | 4 +-
8724 include/linux/power/smartreflex.h | 2 +-
8725 include/linux/ppp-comp.h | 2 +-
8726 include/linux/preempt.h | 21 +
8727 include/linux/proc_ns.h | 2 +-
8728 include/linux/psci.h | 2 +-
8729 include/linux/quota.h | 2 +-
8730 include/linux/random.h | 19 +-
8731 include/linux/rculist.h | 16 +
8732 include/linux/rcupdate.h | 8 +
8733 include/linux/reboot.h | 14 +-
8734 include/linux/regset.h | 3 +-
8735 include/linux/relay.h | 2 +-
8736 include/linux/rio.h | 2 +-
8737 include/linux/rmap.h | 4 +-
8738 include/linux/sched.h | 76 +-
8739 include/linux/sched/sysctl.h | 1 +
8740 include/linux/scif.h | 2 +-
8741 include/linux/semaphore.h | 2 +-
8742 include/linux/seq_file.h | 1 +
8743 include/linux/seqlock.h | 10 +
8744 include/linux/signal.h | 2 +-
8745 include/linux/skbuff.h | 12 +-
8746 include/linux/slab.h | 47 +-
8747 include/linux/slab_def.h | 14 +-
8748 include/linux/slub_def.h | 2 +-
8749 include/linux/smp.h | 2 +
8750 include/linux/sock_diag.h | 2 +-
8751 include/linux/sonet.h | 2 +-
8752 include/linux/spinlock.h | 17 +-
8753 include/linux/srcu.h | 5 +-
8754 include/linux/sunrpc/addr.h | 8 +-
8755 include/linux/sunrpc/clnt.h | 2 +-
8756 include/linux/sunrpc/svc.h | 2 +-
8757 include/linux/sunrpc/svc_rdma.h | 18 +-
8758 include/linux/sunrpc/svcauth.h | 2 +-
8759 include/linux/swapops.h | 10 +-
8760 include/linux/swiotlb.h | 3 +-
8761 include/linux/syscalls.h | 23 +-
8762 include/linux/syscore_ops.h | 2 +-
8763 include/linux/sysctl.h | 3 +-
8764 include/linux/sysfs.h | 9 +-
8765 include/linux/sysrq.h | 3 +-
8766 include/linux/tcp.h | 14 +-
8767 include/linux/thread_info.h | 7 +
8768 include/linux/tty.h | 4 +-
8769 include/linux/tty_driver.h | 2 +-
8770 include/linux/tty_ldisc.h | 2 +-
8771 include/linux/types.h | 16 +
8772 include/linux/uaccess.h | 2 +-
8773 include/linux/uio_driver.h | 2 +-
8774 include/linux/unaligned/access_ok.h | 24 +-
8775 include/linux/usb.h | 12 +-
8776 include/linux/usb/hcd.h | 1 +
8777 include/linux/usb/renesas_usbhs.h | 2 +-
8778 include/linux/vermagic.h | 21 +-
8779 include/linux/vga_switcheroo.h | 8 +-
8780 include/linux/vmalloc.h | 7 +-
8781 include/linux/vmstat.h | 24 +-
8782 include/linux/writeback.h | 3 +-
8783 include/linux/xattr.h | 5 +-
8784 include/linux/zlib.h | 3 +-
8785 include/media/v4l2-dev.h | 2 +-
8786 include/media/v4l2-device.h | 2 +-
8787 include/net/9p/transport.h | 2 +-
8788 include/net/bluetooth/l2cap.h | 2 +-
8789 include/net/bonding.h | 2 +-
8790 include/net/caif/cfctrl.h | 6 +-
8791 include/net/cfg802154.h | 2 +-
8792 include/net/flow.h | 2 +-
8793 include/net/genetlink.h | 2 +-
8794 include/net/gro_cells.h | 2 +-
8795 include/net/inet_connection_sock.h | 2 +-
8796 include/net/inet_sock.h | 2 +-
8797 include/net/inetpeer.h | 2 +-
8798 include/net/ip_fib.h | 2 +-
8799 include/net/ip_vs.h | 8 +-
8800 include/net/ipv6.h | 2 +-
8801 include/net/irda/ircomm_tty.h | 1 +
8802 include/net/iucv/af_iucv.h | 2 +-
8803 include/net/llc_c_ac.h | 2 +-
8804 include/net/llc_c_ev.h | 4 +-
8805 include/net/llc_c_st.h | 2 +-
8806 include/net/llc_s_ac.h | 2 +-
8807 include/net/llc_s_st.h | 2 +-
8808 include/net/mac80211.h | 6 +-
8809 include/net/neighbour.h | 4 +-
8810 include/net/net_namespace.h | 18 +-
8811 include/net/netlink.h | 2 +-
8812 include/net/netns/conntrack.h | 6 +-
8813 include/net/netns/ipv4.h | 4 +-
8814 include/net/netns/ipv6.h | 4 +-
8815 include/net/netns/xfrm.h | 2 +-
8816 include/net/ping.h | 2 +-
8817 include/net/protocol.h | 4 +-
8818 include/net/rtnetlink.h | 2 +-
8819 include/net/sctp/checksum.h | 4 +-
8820 include/net/sctp/sm.h | 4 +-
8821 include/net/sctp/structs.h | 2 +-
8822 include/net/snmp.h | 10 +-
8823 include/net/sock.h | 12 +-
8824 include/net/tcp.h | 8 +-
8825 include/net/xfrm.h | 13 +-
8826 include/rdma/iw_cm.h | 2 +-
8827 include/scsi/libfc.h | 3 +-
8828 include/scsi/scsi_device.h | 6 +-
8829 include/scsi/scsi_driver.h | 2 +-
8830 include/scsi/scsi_transport_fc.h | 3 +-
8831 include/scsi/sg.h | 2 +-
8832 include/sound/compress_driver.h | 2 +-
8833 include/sound/soc.h | 4 +-
8834 include/trace/events/irq.h | 4 +-
8835 include/uapi/linux/a.out.h | 8 +
8836 include/uapi/linux/bcache.h | 5 +-
8837 include/uapi/linux/byteorder/little_endian.h | 28 +-
8838 include/uapi/linux/connector.h | 2 +-
8839 include/uapi/linux/elf.h | 28 +
8840 include/uapi/linux/screen_info.h | 2 +-
8841 include/uapi/linux/swab.h | 6 +-
8842 include/uapi/linux/xattr.h | 4 +
8843 include/video/udlfb.h | 8 +-
8844 include/video/uvesafb.h | 1 +
8845 init/Kconfig | 2 +-
8846 init/Makefile | 3 +
8847 init/do_mounts.c | 14 +-
8848 init/do_mounts.h | 8 +-
8849 init/do_mounts_initrd.c | 30 +-
8850 init/do_mounts_md.c | 6 +-
8851 init/init_task.c | 4 +
8852 init/initramfs.c | 38 +-
8853 init/main.c | 30 +-
8854 ipc/compat.c | 4 +-
8855 ipc/ipc_sysctl.c | 14 +-
8856 ipc/mq_sysctl.c | 4 +-
8857 ipc/sem.c | 4 +-
8858 ipc/shm.c | 6 +
8859 kernel/audit.c | 8 +-
8860 kernel/auditsc.c | 4 +-
8861 kernel/bpf/core.c | 7 +-
8862 kernel/capability.c | 3 +
8863 kernel/compat.c | 38 +-
8864 kernel/debug/debug_core.c | 16 +-
8865 kernel/debug/kdb/kdb_main.c | 4 +-
8866 kernel/events/core.c | 30 +-
8867 kernel/events/internal.h | 10 +-
8868 kernel/events/uprobes.c | 2 +-
8869 kernel/exit.c | 27 +-
8870 kernel/fork.c | 175 +-
8871 kernel/futex.c | 11 +-
8872 kernel/futex_compat.c | 2 +-
8873 kernel/gcov/base.c | 7 +-
8874 kernel/irq/manage.c | 2 +-
8875 kernel/irq/msi.c | 19 +-
8876 kernel/irq/spurious.c | 2 +-
8877 kernel/jump_label.c | 5 +
8878 kernel/kallsyms.c | 37 +-
8879 kernel/kexec.c | 3 +-
8880 kernel/kmod.c | 8 +-
8881 kernel/kprobes.c | 4 +-
8882 kernel/ksysfs.c | 2 +-
8883 kernel/locking/lockdep.c | 7 +-
8884 kernel/locking/mutex-debug.c | 12 +-
8885 kernel/locking/mutex-debug.h | 4 +-
8886 kernel/locking/mutex.c | 6 +-
8887 kernel/module.c | 422 +-
8888 kernel/notifier.c | 17 +-
8889 kernel/padata.c | 4 +-
8890 kernel/panic.c | 5 +-
8891 kernel/pid.c | 2 +-
8892 kernel/pid_namespace.c | 2 +-
8893 kernel/power/process.c | 12 +-
8894 kernel/profile.c | 14 +-
8895 kernel/ptrace.c | 8 +-
8896 kernel/rcu/rcutorture.c | 60 +-
8897 kernel/rcu/tiny.c | 4 +-
8898 kernel/rcu/tree.c | 42 +-
8899 kernel/rcu/tree.h | 16 +-
8900 kernel/rcu/tree_plugin.h | 18 +-
8901 kernel/rcu/tree_trace.c | 14 +-
8902 kernel/resource.c | 4 +-
8903 kernel/sched/auto_group.c | 4 +-
8904 kernel/sched/core.c | 45 +-
8905 kernel/sched/fair.c | 2 +-
8906 kernel/sched/sched.h | 2 +-
8907 kernel/signal.c | 24 +-
8908 kernel/smpboot.c | 4 +-
8909 kernel/softirq.c | 12 +-
8910 kernel/sys.c | 10 +-
8911 kernel/sysctl.c | 34 +-
8912 kernel/time/alarmtimer.c | 2 +-
8913 kernel/time/posix-cpu-timers.c | 4 +-
8914 kernel/time/posix-timers.c | 24 +-
8915 kernel/time/timer.c | 2 +-
8916 kernel/time/timer_stats.c | 10 +-
8917 kernel/trace/blktrace.c | 6 +-
8918 kernel/trace/ftrace.c | 15 +-
8919 kernel/trace/ring_buffer.c | 96 +-
8920 kernel/trace/trace.c | 2 +-
8921 kernel/trace/trace.h | 2 +-
8922 kernel/trace/trace_clock.c | 4 +-
8923 kernel/trace/trace_events.c | 1 -
8924 kernel/trace/trace_functions_graph.c | 4 +-
8925 kernel/trace/trace_mmiotrace.c | 8 +-
8926 kernel/trace/trace_output.c | 10 +-
8927 kernel/trace/trace_seq.c | 2 +-
8928 kernel/trace/trace_stack.c | 2 +-
8929 kernel/user.c | 2 +-
8930 kernel/user_namespace.c | 2 +-
8931 kernel/utsname_sysctl.c | 2 +-
8932 kernel/watchdog.c | 2 +-
8933 kernel/workqueue.c | 8 +-
8934 lib/Kconfig.debug | 8 +-
8935 lib/Makefile | 2 +-
8936 lib/bitmap.c | 8 +-
8937 lib/bug.c | 2 +
8938 lib/debugobjects.c | 2 +-
8939 lib/decompress_bunzip2.c | 3 +-
8940 lib/decompress_unlzma.c | 4 +-
8941 lib/div64.c | 4 +-
8942 lib/dma-debug.c | 4 +-
8943 lib/inflate.c | 2 +-
8944 lib/ioremap.c | 4 +-
8945 lib/kobject.c | 4 +-
8946 lib/list_debug.c | 126 +-
8947 lib/lockref.c | 44 +-
8948 lib/percpu-refcount.c | 2 +-
8949 lib/radix-tree.c | 2 +-
8950 lib/random32.c | 2 +-
8951 lib/rhashtable.c | 4 +-
8952 lib/show_mem.c | 2 +-
8953 lib/strncpy_from_user.c | 2 +-
8954 lib/strnlen_user.c | 2 +-
8955 lib/swiotlb.c | 2 +-
8956 lib/usercopy.c | 6 +
8957 lib/vsprintf.c | 12 +-
8958 mm/Kconfig | 6 +-
8959 mm/backing-dev.c | 4 +-
8960 mm/debug.c | 3 +
8961 mm/filemap.c | 2 +-
8962 mm/gup.c | 13 +-
8963 mm/highmem.c | 6 +-
8964 mm/hugetlb.c | 70 +-
8965 mm/internal.h | 1 +
8966 mm/maccess.c | 12 +-
8967 mm/madvise.c | 37 +
8968 mm/memory-failure.c | 6 +-
8969 mm/memory.c | 424 +-
8970 mm/mempolicy.c | 25 +
8971 mm/mlock.c | 18 +-
8972 mm/mm_init.c | 2 +-
8973 mm/mmap.c | 582 +-
8974 mm/mprotect.c | 137 +-
8975 mm/mremap.c | 39 +-
8976 mm/nommu.c | 21 +-
8977 mm/page-writeback.c | 2 +-
8978 mm/page_alloc.c | 50 +-
8979 mm/percpu.c | 2 +-
8980 mm/process_vm_access.c | 14 +-
8981 mm/rmap.c | 45 +-
8982 mm/shmem.c | 19 +-
8983 mm/slab.c | 111 +-
8984 mm/slab.h | 22 +-
8985 mm/slab_common.c | 86 +-
8986 mm/slob.c | 218 +-
8987 mm/slub.c | 109 +-
8988 mm/sparse-vmemmap.c | 4 +-
8989 mm/sparse.c | 2 +-
8990 mm/swap.c | 2 +
8991 mm/swapfile.c | 12 +-
8992 mm/util.c | 6 +
8993 mm/vmalloc.c | 114 +-
8994 mm/vmstat.c | 12 +-
8995 net/8021q/vlan.c | 5 +-
8996 net/8021q/vlan_netlink.c | 2 +-
8997 net/9p/mod.c | 4 +-
8998 net/9p/trans_fd.c | 2 +-
8999 net/atm/atm_misc.c | 8 +-
9000 net/atm/lec.h | 2 +-
9001 net/atm/proc.c | 6 +-
9002 net/atm/resources.c | 4 +-
9003 net/ax25/sysctl_net_ax25.c | 2 +-
9004 net/batman-adv/bat_iv_ogm.c | 8 +-
9005 net/batman-adv/fragmentation.c | 2 +-
9006 net/batman-adv/routing.c | 4 +-
9007 net/batman-adv/soft-interface.c | 10 +-
9008 net/batman-adv/translation-table.c | 14 +-
9009 net/batman-adv/types.h | 8 +-
9010 net/bluetooth/hci_sock.c | 2 +-
9011 net/bluetooth/l2cap_core.c | 6 +-
9012 net/bluetooth/l2cap_sock.c | 12 +-
9013 net/bluetooth/rfcomm/sock.c | 4 +-
9014 net/bluetooth/rfcomm/tty.c | 4 +-
9015 net/bridge/br_netlink.c | 2 +-
9016 net/bridge/netfilter/ebtables.c | 6 +-
9017 net/caif/cfctrl.c | 11 +-
9018 net/caif/chnl_net.c | 2 +-
9019 net/can/af_can.c | 2 +-
9020 net/can/gw.c | 6 +-
9021 net/ceph/messenger.c | 4 +-
9022 net/compat.c | 26 +-
9023 net/core/datagram.c | 2 +-
9024 net/core/dev.c | 16 +-
9025 net/core/filter.c | 2 +-
9026 net/core/flow.c | 6 +-
9027 net/core/neighbour.c | 18 +-
9028 net/core/net-sysfs.c | 2 +-
9029 net/core/net_namespace.c | 8 +-
9030 net/core/netpoll.c | 4 +-
9031 net/core/rtnetlink.c | 17 +-
9032 net/core/scm.c | 12 +-
9033 net/core/skbuff.c | 11 +-
9034 net/core/sock.c | 28 +-
9035 net/core/sock_diag.c | 15 +-
9036 net/core/sysctl_net_core.c | 22 +-
9037 net/decnet/af_decnet.c | 1 +
9038 net/decnet/sysctl_net_decnet.c | 4 +-
9039 net/dsa/dsa.c | 2 +-
9040 net/hsr/hsr_netlink.c | 2 +-
9041 net/ieee802154/6lowpan/core.c | 2 +-
9042 net/ieee802154/6lowpan/reassembly.c | 14 +-
9043 net/ipv4/af_inet.c | 2 +-
9044 net/ipv4/arp.c | 2 +-
9045 net/ipv4/devinet.c | 18 +-
9046 net/ipv4/fib_frontend.c | 6 +-
9047 net/ipv4/fib_semantics.c | 2 +-
9048 net/ipv4/inet_connection_sock.c | 4 +-
9049 net/ipv4/inet_diag.c | 4 +-
9050 net/ipv4/inet_timewait_sock.c | 2 +-
9051 net/ipv4/inetpeer.c | 2 +-
9052 net/ipv4/ip_fragment.c | 15 +-
9053 net/ipv4/ip_gre.c | 6 +-
9054 net/ipv4/ip_sockglue.c | 2 +-
9055 net/ipv4/ip_vti.c | 4 +-
9056 net/ipv4/ipconfig.c | 6 +-
9057 net/ipv4/ipip.c | 4 +-
9058 net/ipv4/netfilter/arp_tables.c | 12 +-
9059 net/ipv4/netfilter/ip_tables.c | 12 +-
9060 net/ipv4/ping.c | 14 +-
9061 net/ipv4/proc.c | 8 +-
9062 net/ipv4/raw.c | 14 +-
9063 net/ipv4/route.c | 32 +-
9064 net/ipv4/sysctl_net_ipv4.c | 22 +-
9065 net/ipv4/tcp_input.c | 6 +-
9066 net/ipv4/tcp_probe.c | 2 +-
9067 net/ipv4/udp.c | 10 +-
9068 net/ipv4/xfrm4_mode_transport.c | 2 +-
9069 net/ipv4/xfrm4_policy.c | 17 +-
9070 net/ipv4/xfrm4_state.c | 4 +-
9071 net/ipv6/addrconf.c | 22 +-
9072 net/ipv6/af_inet6.c | 2 +-
9073 net/ipv6/datagram.c | 2 +-
9074 net/ipv6/icmp.c | 2 +-
9075 net/ipv6/ip6_fib.c | 4 +-
9076 net/ipv6/ip6_gre.c | 10 +-
9077 net/ipv6/ip6_tunnel.c | 4 +-
9078 net/ipv6/ip6_vti.c | 4 +-
9079 net/ipv6/ipv6_sockglue.c | 2 +-
9080 net/ipv6/ndisc.c | 2 +-
9081 net/ipv6/netfilter/ip6_tables.c | 12 +-
9082 net/ipv6/netfilter/nf_conntrack_reasm.c | 14 +-
9083 net/ipv6/ping.c | 33 +-
9084 net/ipv6/proc.c | 10 +-
9085 net/ipv6/raw.c | 17 +-
9086 net/ipv6/reassembly.c | 13 +-
9087 net/ipv6/route.c | 2 +-
9088 net/ipv6/sit.c | 4 +-
9089 net/ipv6/sysctl_net_ipv6.c | 2 +-
9090 net/ipv6/udp.c | 6 +-
9091 net/ipv6/xfrm6_policy.c | 17 +-
9092 net/irda/ircomm/ircomm_tty.c | 18 +-
9093 net/iucv/af_iucv.c | 4 +-
9094 net/iucv/iucv.c | 2 +-
9095 net/key/af_key.c | 4 +-
9096 net/l2tp/l2tp_eth.c | 38 +-
9097 net/l2tp/l2tp_ip.c | 2 +-
9098 net/l2tp/l2tp_ip6.c | 2 +-
9099 net/mac80211/cfg.c | 10 +-
9100 net/mac80211/debugfs_key.c | 4 +-
9101 net/mac80211/ieee80211_i.h | 3 +-
9102 net/mac80211/iface.c | 20 +-
9103 net/mac80211/key.c | 4 +-
9104 net/mac80211/main.c | 2 +-
9105 net/mac80211/pm.c | 4 +-
9106 net/mac80211/rate.c | 2 +-
9107 net/mac80211/sta_info.c | 2 +-
9108 net/mac80211/tx.c | 2 +-
9109 net/mac80211/util.c | 8 +-
9110 net/mac80211/wpa.c | 10 +-
9111 net/mac802154/iface.c | 4 +-
9112 net/mpls/af_mpls.c | 6 +-
9113 net/netfilter/ipset/ip_set_core.c | 4 +-
9114 net/netfilter/ipvs/ip_vs_conn.c | 6 +-
9115 net/netfilter/ipvs/ip_vs_core.c | 4 +-
9116 net/netfilter/ipvs/ip_vs_ctl.c | 14 +-
9117 net/netfilter/ipvs/ip_vs_lblc.c | 2 +-
9118 net/netfilter/ipvs/ip_vs_lblcr.c | 2 +-
9119 net/netfilter/ipvs/ip_vs_sync.c | 6 +-
9120 net/netfilter/ipvs/ip_vs_xmit.c | 4 +-
9121 net/netfilter/nf_conntrack_acct.c | 2 +-
9122 net/netfilter/nf_conntrack_ecache.c | 2 +-
9123 net/netfilter/nf_conntrack_helper.c | 2 +-
9124 net/netfilter/nf_conntrack_netlink.c | 22 +-
9125 net/netfilter/nf_conntrack_proto.c | 2 +-
9126 net/netfilter/nf_conntrack_standalone.c | 2 +-
9127 net/netfilter/nf_conntrack_timestamp.c | 2 +-
9128 net/netfilter/nf_log.c | 10 +-
9129 net/netfilter/nf_sockopt.c | 4 +-
9130 net/netfilter/nf_tables_api.c | 13 +-
9131 net/netfilter/nfnetlink_acct.c | 7 +-
9132 net/netfilter/nfnetlink_cthelper.c | 2 +-
9133 net/netfilter/nfnetlink_cttimeout.c | 2 +-
9134 net/netfilter/nfnetlink_log.c | 4 +-
9135 net/netfilter/nft_compat.c | 9 +-
9136 net/netfilter/xt_statistic.c | 8 +-
9137 net/netlink/af_netlink.c | 14 +-
9138 net/netlink/diag.c | 2 +-
9139 net/netlink/genetlink.c | 14 +-
9140 net/openvswitch/vport-internal_dev.c | 2 +-
9141 net/packet/af_packet.c | 26 +-
9142 net/packet/diag.c | 2 +-
9143 net/packet/internal.h | 6 +-
9144 net/phonet/pep.c | 6 +-
9145 net/phonet/socket.c | 2 +-
9146 net/phonet/sysctl.c | 2 +-
9147 net/rds/cong.c | 6 +-
9148 net/rds/ib.h | 2 +-
9149 net/rds/ib_cm.c | 2 +-
9150 net/rds/ib_recv.c | 4 +-
9151 net/rds/iw.h | 2 +-
9152 net/rds/iw_cm.c | 2 +-
9153 net/rds/iw_recv.c | 4 +-
9154 net/rds/rds.h | 2 +-
9155 net/rds/tcp.c | 2 +-
9156 net/rds/tcp_send.c | 2 +-
9157 net/rxrpc/af_rxrpc.c | 2 +-
9158 net/rxrpc/ar-ack.c | 14 +-
9159 net/rxrpc/ar-call.c | 2 +-
9160 net/rxrpc/ar-connection.c | 2 +-
9161 net/rxrpc/ar-connevent.c | 2 +-
9162 net/rxrpc/ar-input.c | 4 +-
9163 net/rxrpc/ar-internal.h | 8 +-
9164 net/rxrpc/ar-local.c | 2 +-
9165 net/rxrpc/ar-output.c | 4 +-
9166 net/rxrpc/ar-peer.c | 2 +-
9167 net/rxrpc/ar-proc.c | 4 +-
9168 net/rxrpc/ar-transport.c | 2 +-
9169 net/rxrpc/rxkad.c | 4 +-
9170 net/sched/sch_generic.c | 4 +-
9171 net/sctp/ipv6.c | 6 +-
9172 net/sctp/protocol.c | 10 +-
9173 net/sctp/sm_sideeffect.c | 2 +-
9174 net/sctp/socket.c | 21 +-
9175 net/sctp/sysctl.c | 10 +-
9176 net/socket.c | 18 +-
9177 net/sunrpc/auth_gss/svcauth_gss.c | 4 +-
9178 net/sunrpc/clnt.c | 4 +-
9179 net/sunrpc/sched.c | 4 +-
9180 net/sunrpc/svc.c | 4 +-
9181 net/sunrpc/svcauth_unix.c | 2 +-
9182 net/sunrpc/xprtrdma/svc_rdma.c | 44 +-
9183 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 8 +-
9184 net/sunrpc/xprtrdma/svc_rdma_sendto.c | 2 +-
9185 net/sunrpc/xprtrdma/svc_rdma_transport.c | 10 +-
9186 net/tipc/netlink_compat.c | 12 +-
9187 net/tipc/subscr.c | 2 +-
9188 net/unix/diag.c | 2 +-
9189 net/unix/sysctl_net_unix.c | 2 +-
9190 net/wireless/wext-core.c | 19 +-
9191 net/xfrm/xfrm_policy.c | 16 +-
9192 net/xfrm/xfrm_state.c | 33 +-
9193 net/xfrm/xfrm_sysctl.c | 2 +-
9194 net/xfrm/xfrm_user.c | 2 +-
9195 scripts/Kbuild.include | 2 +-
9196 scripts/Makefile.build | 2 +-
9197 scripts/Makefile.clean | 3 +-
9198 scripts/Makefile.host | 69 +-
9199 scripts/basic/fixdep.c | 12 +-
9200 scripts/dtc/checks.c | 14 +-
9201 scripts/dtc/data.c | 6 +-
9202 scripts/dtc/flattree.c | 8 +-
9203 scripts/dtc/livetree.c | 4 +-
9204 scripts/gcc-plugin.sh | 51 +
9205 scripts/headers_install.sh | 1 +
9206 scripts/kallsyms.c | 4 +-
9207 scripts/kconfig/lkc.h | 5 +-
9208 scripts/kconfig/menu.c | 2 +-
9209 scripts/kconfig/symbol.c | 6 +-
9210 scripts/link-vmlinux.sh | 2 +-
9211 scripts/mod/file2alias.c | 14 +-
9212 scripts/mod/modpost.c | 25 +-
9213 scripts/mod/modpost.h | 6 +-
9214 scripts/mod/sumversion.c | 2 +-
9215 scripts/module-common.lds | 4 +
9216 scripts/package/builddeb | 1 +
9217 scripts/pnmtologo.c | 6 +-
9218 scripts/sortextable.h | 6 +-
9219 scripts/tags.sh | 2 +-
9220 security/Kconfig | 691 +-
9221 security/apparmor/include/policy.h | 2 +-
9222 security/apparmor/policy.c | 4 +-
9223 security/integrity/ima/ima.h | 4 +-
9224 security/integrity/ima/ima_api.c | 2 +-
9225 security/integrity/ima/ima_fs.c | 4 +-
9226 security/integrity/ima/ima_queue.c | 2 +-
9227 security/keys/internal.h | 8 +-
9228 security/keys/key.c | 18 +-
9229 security/keys/keyring.c | 4 -
9230 security/selinux/avc.c | 6 +-
9231 security/selinux/include/xfrm.h | 2 +-
9232 security/yama/yama_lsm.c | 2 +-
9233 sound/aoa/codecs/onyx.c | 7 +-
9234 sound/aoa/codecs/onyx.h | 1 +
9235 sound/core/oss/pcm_oss.c | 18 +-
9236 sound/core/pcm_compat.c | 2 +-
9237 sound/core/pcm_native.c | 4 +-
9238 sound/core/seq/seq_clientmgr.c | 10 +-
9239 sound/core/seq/seq_compat.c | 2 +-
9240 sound/core/seq/seq_fifo.c | 6 +-
9241 sound/core/seq/seq_fifo.h | 2 +-
9242 sound/core/seq/seq_memory.c | 6 +-
9243 sound/core/sound.c | 2 +-
9244 sound/drivers/mts64.c | 14 +-
9245 sound/drivers/opl4/opl4_lib.c | 2 +-
9246 sound/drivers/portman2x4.c | 3 +-
9247 sound/firewire/amdtp-am824.c | 2 +-
9248 sound/firewire/amdtp-stream.c | 4 +-
9249 sound/firewire/amdtp-stream.h | 2 +-
9250 sound/firewire/digi00x/amdtp-dot.c | 2 +-
9251 sound/firewire/isight.c | 10 +-
9252 sound/firewire/scs1x.c | 8 +-
9253 sound/oss/sb_audio.c | 2 +-
9254 sound/oss/swarm_cs4297a.c | 6 +-
9255 sound/pci/hda/hda_codec.c | 2 +-
9256 sound/pci/ymfpci/ymfpci.h | 2 +-
9257 sound/pci/ymfpci/ymfpci_main.c | 12 +-
9258 sound/soc/codecs/sti-sas.c | 10 +-
9259 sound/soc/intel/skylake/skl-sst-dsp.h | 4 +-
9260 sound/soc/soc-ac97.c | 6 +-
9261 sound/soc/xtensa/xtfpga-i2s.c | 2 +-
9262 tools/gcc/Makefile | 42 +
9263 tools/gcc/checker_plugin.c | 549 +
9264 tools/gcc/colorize_plugin.c | 215 +
9265 tools/gcc/constify_plugin.c | 571 +
9266 tools/gcc/gcc-common.h | 819 +
9267 tools/gcc/initify_plugin.c | 591 +
9268 tools/gcc/kallocstat_plugin.c | 188 +
9269 tools/gcc/kernexec_plugin.c | 549 +
9270 tools/gcc/latent_entropy_plugin.c | 474 +
9271 tools/gcc/randomize_layout_seed.h | 1 +
9272 tools/gcc/size_overflow_plugin/.gitignore | 2 +
9273 tools/gcc/size_overflow_plugin/Makefile | 28 +
9274 .../disable_size_overflow_hash.data | 12434 ++
9275 .../disable_size_overflow_hash.h | 152601 ++++++++++++++++++
9276 .../generate_size_overflow_hash.sh | 103 +
9277 .../insert_size_overflow_asm.c | 416 +
9278 .../size_overflow_plugin/intentional_overflow.c | 1116 +
9279 .../size_overflow_plugin/remove_unnecessary_dup.c | 137 +
9280 tools/gcc/size_overflow_plugin/size_overflow.h | 325 +
9281 .../gcc/size_overflow_plugin/size_overflow_debug.c | 194 +
9282 .../size_overflow_plugin/size_overflow_hash.data | 21454 +++
9283 .../size_overflow_hash_aux.data | 92 +
9284 tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 1226 +
9285 .../gcc/size_overflow_plugin/size_overflow_misc.c | 505 +
9286 .../size_overflow_plugin/size_overflow_plugin.c | 318 +
9287 .../size_overflow_plugin_hash.c | 352 +
9288 .../size_overflow_plugin/size_overflow_transform.c | 745 +
9289 .../size_overflow_transform_core.c | 1015 +
9290 tools/gcc/stackleak_plugin.c | 444 +
9291 tools/gcc/structleak_plugin.c | 290 +
9292 tools/include/linux/compiler.h | 8 +
9293 tools/perf/util/include/asm/alternative-asm.h | 3 +
9294 tools/virtio/linux/uaccess.h | 2 +-
9295 virt/kvm/kvm_main.c | 42 +-
9296 2088 files changed, 221599 insertions(+), 9618 deletions(-)
9297 commit 87790bbd0d8dc2bd7fd86cb947e32886db9e9766
9298 Author: Matthew Wilcox <willy@linux.intel.com>
9299 Date: Tue Feb 2 16:57:52 2016 -0800
9300
9301 radix-tree: fix race in gang lookup
9302
9303 If the indirect_ptr bit is set on a slot, that indicates we need to redo
9304 the lookup. Introduce a new function radix_tree_iter_retry() which
9305 forces the loop to retry the lookup by setting 'slot' to NULL and
9306 turning the iterator back to point at the problematic entry.
9307
9308 This is a pretty rare problem to hit at the moment; the lookup has to
9309 race with a grow of the radix tree from a height of 0. The consequences
9310 of hitting this race are that gang lookup could return a pointer to a
9311 radix_tree_node instead of a pointer to whatever the user had inserted
9312 in the tree.
9313
9314 Fixes: cebbd29e1c2f ("radix-tree: rewrite gang lookup using iterator")
9315 Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
9316 Cc: Hugh Dickins <hughd@google.com>
9317 Cc: Ohad Ben-Cohen <ohad@wizery.com>
9318 Cc: Konstantin Khlebnikov <khlebnikov@openvz.org>
9319 Cc: <stable@vger.kernel.org>
9320 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9321 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
9322
9323 include/linux/radix-tree.h | 16 ++++++++++++++++
9324 lib/radix-tree.c | 12 ++++++++++--
9325 2 files changed, 26 insertions(+), 2 deletions(-)
9326
9327 commit bf628043b4589c910919a0f221ae7f42aa8cea93
9328 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
9329 Date: Wed Feb 3 02:11:03 2016 +0100
9330
9331 unix: correctly track in-flight fds in sending process user_struct
9332
9333 The commit referenced in the Fixes tag incorrectly accounted the number
9334 of in-flight fds over a unix domain socket to the original opener
9335 of the file-descriptor. This allows another process to arbitrary
9336 deplete the original file-openers resource limit for the maximum of
9337 open files. Instead the sending processes and its struct cred should
9338 be credited.
9339
9340 To do so, we add a reference counted struct user_struct pointer to the
9341 scm_fp_list and use it to account for the number of inflight unix fds.
9342
9343 Fixes: 712f4aad406bb1 ("unix: properly account for FDs passed over unix sockets")
9344 Reported-by: David Herrmann <dh.herrmann@gmail.com>
9345 Cc: David Herrmann <dh.herrmann@gmail.com>
9346 Cc: Willy Tarreau <w@1wt.eu>
9347 Cc: Linus Torvalds <torvalds@linux-foundation.org>
9348 Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
9349 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
9350 Signed-off-by: David S. Miller <davem@davemloft.net>
9351
9352 include/net/af_unix.h | 4 ++--
9353 include/net/scm.h | 1 +
9354 net/core/scm.c | 7 +++++++
9355 net/unix/af_unix.c | 4 ++--
9356 net/unix/garbage.c | 8 ++++----
9357 5 files changed, 16 insertions(+), 8 deletions(-)
9358
9359 commit e830db443ff78d70b7b63536e688d73907face0c
9360 Author: Mike Kravetz <mike.kravetz@oracle.com>
9361 Date: Fri Jan 15 16:57:37 2016 -0800
9362
9363 fs/hugetlbfs/inode.c: fix bugs in hugetlb_vmtruncate_list()
9364
9365 Hillf Danton noticed bugs in the hugetlb_vmtruncate_list routine. The
9366 argument end is of type pgoff_t. It was being converted to a vaddr
9367 offset and passed to unmap_hugepage_range. However, end was also being
9368 used as an argument to the vma_interval_tree_foreach controlling loop.
9369 In addition, the conversion of end to vaddr offset was incorrect.
9370
9371 hugetlb_vmtruncate_list is called as part of a file truncate or
9372 fallocate hole punch operation.
9373
9374 When truncating a hugetlbfs file, this bug could prevent some pages from
9375 being unmapped. This is possible if there are multiple vmas mapping the
9376 file, and there is a sufficiently sized hole between the mappings. The
9377 size of the hole between two vmas (A,B) must be such that the starting
9378 virtual address of B is greater than (ending virtual address of A <<
9379 PAGE_SHIFT). In this case, the pages in B would not be unmapped. If
9380 pages are not properly unmapped during truncate, the following BUG is
9381 hit:
9382
9383 kernel BUG at fs/hugetlbfs/inode.c:428!
9384
9385 In the fallocate hole punch case, this bug could prevent pages from
9386 being unmapped as in the truncate case. However, for hole punch the
9387 result is that unmapped pages will not be removed during the operation.
9388 For hole punch, it is also possible that more pages than desired will be
9389 unmapped. This unnecessary unmapping will cause page faults to
9390 reestablish the mappings on subsequent page access.
9391
9392 Fixes: 1bfad99ab (" hugetlbfs: hugetlb_vmtruncate_list() needs to take a range")Reported-by: Hillf Danton <hillf.zj@alibaba-inc.com>
9393 Signed-off-by: Mike Kravetz <mike.kravetz@oracle.com>
9394 Cc: Hugh Dickins <hughd@google.com>
9395 Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
9396 Cc: Davidlohr Bueso <dave@stgolabs.net>
9397 Cc: Dave Hansen <dave.hansen@linux.intel.com>
9398 Cc: <stable@vger.kernel.org> [4.3]
9399 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9400 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
9401
9402 fs/hugetlbfs/inode.c | 19 +++++++++++--------
9403 1 files changed, 11 insertions(+), 8 deletions(-)
9404
9405 commit cdb3ba4a9113b779347387f3b6c6ea72dd4db12f
9406 Author: Takashi Iwai <tiwai@suse.de>
9407 Date: Thu Feb 4 17:06:13 2016 +0100
9408
9409 ALSA: timer: Fix leftover link at closing
9410
9411 In ALSA timer core, the active timer instance is managed in
9412 active_list linked list. Each element is added / removed dynamically
9413 at timer start, stop and in timer interrupt. The problem is that
9414 snd_timer_interrupt() has a thinko and leaves the element in
9415 active_list when it's the last opened element. This eventually leads
9416 to list corruption or use-after-free error.
9417
9418 This hasn't been revealed because we used to delete the list forcibly
9419 in snd_timer_stop() in the past. However, the recent fix avoids the
9420 double-stop behavior (in commit [f784beb75ce8: ALSA: timer: Fix link
9421 corruption due to double start or stop]), and this leak hits reality.
9422
9423 This patch fixes the link management in snd_timer_interrupt(). Now it
9424 simply unlinks no matter which stream is.
9425
9426 BugLink: http://lkml.kernel.org/r/CACT4Y+Yy2aukHP-EDp8-ziNqNNmb-NTf=jDWXMP7jB8HDa2vng@mail.gmail.com
9427 Reported-by: Dmitry Vyukov <dvyukov@google.com>
9428 Cc: <stable@vger.kernel.org>
9429 Signed-off-by: Takashi Iwai <tiwai@suse.de>
9430
9431 sound/core/timer.c | 4 ++--
9432 1 files changed, 2 insertions(+), 2 deletions(-)
9433
9434 commit 47d9647902f6a2f46a2be1e0140ba0f6f8c06008
9435 Author: Konstantin Khlebnikov <koct9i@gmail.com>
9436 Date: Fri Feb 5 15:37:01 2016 -0800
9437
9438 radix-tree: fix oops after radix_tree_iter_retry
9439
9440 Helper radix_tree_iter_retry() resets next_index to the current index.
9441 In following radix_tree_next_slot current chunk size becomes zero. This
9442 isn't checked and it tries to dereference null pointer in slot.
9443
9444 Tagged iterator is fine because retry happens only at slot 0 where tag
9445 bitmask in iter->tags is filled with single bit.
9446
9447 Fixes: 46437f9a554f ("radix-tree: fix race in gang lookup")
9448 Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com>
9449 Cc: Matthew Wilcox <willy@linux.intel.com>
9450 Cc: Hugh Dickins <hughd@google.com>
9451 Cc: Ohad Ben-Cohen <ohad@wizery.com>
9452 Cc: Jeremiah Mahler <jmmahler@gmail.com>
9453 Cc: <stable@vger.kernel.org>
9454 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9455 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
9456
9457 include/linux/radix-tree.h | 6 +++---
9458 1 files changed, 3 insertions(+), 3 deletions(-)
9459
9460 commit 95b5dcb3c01958502af00b0bc0da1d906aae11a2
9461 Merge: 438be0b 256aeaf
9462 Author: Brad Spengler <spender@grsecurity.net>
9463 Date: Sun Feb 7 08:29:33 2016 -0500
9464
9465 Merge branch 'pax-test' into grsec-test
9466
9467 commit 256aeaf87c22de8edf1f03682a572c590ae07771
9468 Author: Brad Spengler <spender@grsecurity.net>
9469 Date: Sun Feb 7 08:29:09 2016 -0500
9470
9471 Update to pax-linux-4.3.5-test28.patch:
9472 - 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)
9473 - spender fixed UDEREF on arm
9474
9475 arch/arm/Kconfig | 1 +
9476 arch/arm/include/asm/domain.h | 21 ++++++++-
9477 arch/arm/include/asm/futex.h | 9 ----
9478 arch/arm/include/asm/thread_info.h | 3 +
9479 arch/arm/include/asm/uaccess.h | 81 +++++++++++++++---------------------
9480 arch/arm/kernel/entry-armv.S | 2 +-
9481 arch/arm/kernel/process.c | 2 +-
9482 arch/arm/mm/alignment.c | 8 ----
9483 arch/x86/mm/numa.c | 2 +-
9484 security/Kconfig | 1 -
9485 10 files changed, 60 insertions(+), 70 deletions(-)
9486
9487 commit 438be0bd112bd17942b2628c53054dc1007558a1
9488 Author: Brad Spengler <spender@grsecurity.net>
9489 Date: Sat Feb 6 19:50:31 2016 -0500
9490
9491 Fix a number of issues caused by the upstream merging of a UDEREF ripoff resulting in unbootable
9492 ARM systems reported on the forums
9493
9494 arch/arm/Kconfig | 1 +
9495 arch/arm/include/asm/domain.h | 21 ++++++++-
9496 arch/arm/include/asm/futex.h | 9 ----
9497 arch/arm/include/asm/thread_info.h | 3 +
9498 arch/arm/include/asm/uaccess.h | 81 +++++++++++++++---------------------
9499 arch/arm/kernel/entry-armv.S | 2 +-
9500 arch/arm/kernel/process.c | 2 +-
9501 arch/arm/mm/alignment.c | 8 ----
9502 security/Kconfig | 1 -
9503 9 files changed, 59 insertions(+), 69 deletions(-)
9504
9505 commit 4ffdd5ef1f87e611af1efb4f251ada92abe9f4c0
9506 Author: Brad Spengler <spender@grsecurity.net>
9507 Date: Sat Feb 6 11:21:53 2016 -0500
9508
9509 Fix another compiler warning
9510
9511 net/ipv4/tcp_input.c | 2 ++
9512 1 files changed, 2 insertions(+), 0 deletions(-)
9513
9514 commit 30b5b7bc0fd67d458bdd5ab35e4689769eabd2ed
9515 Author: Brad Spengler <spender@grsecurity.net>
9516 Date: Sat Feb 6 11:16:12 2016 -0500
9517
9518 Fix two compiler warnings
9519
9520 kernel/pid.c | 5 ++---
9521 kernel/ptrace.c | 3 ++-
9522 2 files changed, 4 insertions(+), 4 deletions(-)
9523
9524 commit dda4d2a21914c480750f10bd55c6e3203d415d8d
9525 Author: Brad Spengler <spender@grsecurity.net>
9526 Date: Wed Feb 3 21:22:40 2016 -0500
9527
9528 Apply fix for integer truncation in NUMA init code, reported by
9529 x14sg1 on the forums:
9530 https://forums.grsecurity.net/viewtopic.php?f=3&t=4374
9531
9532 arch/x86/mm/numa.c | 2 +-
9533 1 files changed, 1 insertions(+), 1 deletions(-)
9534
9535 commit 477505f7c893cb6a2c3e22f83eefd9c985d7b3ca
9536 Merge: a781740 016d0d8
9537 Author: Brad Spengler <spender@grsecurity.net>
9538 Date: Wed Feb 3 21:20:58 2016 -0500
9539
9540 Merge branch 'pax-test' into grsec-test
9541
9542 commit 016d0d81a8dd4be1304c82a68e0ccf425868f467
9543 Author: Brad Spengler <spender@grsecurity.net>
9544 Date: Wed Feb 3 21:20:10 2016 -0500
9545
9546 Update to pax-linux-4.3.5-test27.patch:
9547 - fixed a bunch of potential REFCOUNT false positives, reported by Emese
9548 - restored padding in fpregs_state for storing AVX-512 state in the future
9549 - constified netlink_dump_control
9550 - added const version of debug_gimple_stmt for gcc plugins, by Emese
9551 - Emese fixed a bug in initify that could have initified too much
9552 - Emese fixed a false positive intentional integer overflow in xfrm4_extract_header, reported by corsac
9553
9554 arch/x86/include/asm/fpu/types.h | 1 +
9555 arch/x86/include/asm/mmu_context.h | 2 +-
9556 block/blk-cgroup.c | 18 ++--
9557 block/cfq-iosched.c | 4 +-
9558 crypto/crypto_user.c | 8 ++-
9559 drivers/acpi/apei/ghes.c | 6 +-
9560 drivers/char/ipmi/ipmi_ssif.c | 12 ++--
9561 drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 2 +-
9562 drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | 2 +-
9563 drivers/gpu/drm/amd/scheduler/sched_fence.c | 2 +-
9564 drivers/infiniband/core/netlink.c | 5 +-
9565 drivers/infiniband/hw/cxgb4/device.c | 6 +-
9566 drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 2 +-
9567 drivers/md/bcache/alloc.c | 2 +-
9568 drivers/md/bcache/bcache.h | 10 +-
9569 drivers/md/bcache/btree.c | 2 +-
9570 drivers/md/bcache/io.c | 10 +-
9571 drivers/md/bcache/journal.c | 2 +-
9572 drivers/md/bcache/stats.c | 26 +++---
9573 drivers/md/bcache/stats.h | 16 ++--
9574 drivers/md/bcache/super.c | 2 +-
9575 drivers/md/bcache/sysfs.c | 20 +++---
9576 drivers/md/dm-cache-target.c | 98 ++++++++++++------------
9577 drivers/md/dm-raid.c | 2 +-
9578 drivers/md/md.c | 6 +-
9579 drivers/md/md.h | 2 +-
9580 drivers/md/raid1.c | 2 +-
9581 drivers/md/raid10.c | 2 +-
9582 drivers/md/raid5.c | 4 +-
9583 drivers/media/pci/zoran/zoran.h | 1 -
9584 drivers/media/pci/zoran/zoran_driver.c | 3 -
9585 drivers/net/ethernet/sfc/selftest.c | 20 +++---
9586 drivers/net/irda/vlsi_ir.c | 18 ++--
9587 drivers/net/irda/vlsi_ir.h | 14 ++--
9588 drivers/net/wireless/ath/carl9170/carl9170.h | 6 +-
9589 drivers/net/wireless/ath/carl9170/debug.c | 6 +-
9590 drivers/net/wireless/ath/carl9170/main.c | 10 +-
9591 drivers/net/wireless/ath/carl9170/tx.c | 4 +-
9592 drivers/net/wireless/iwlwifi/mvm/d3.c | 4 +-
9593 drivers/net/wireless/iwlwifi/mvm/tx.c | 2 +-
9594 drivers/scsi/hptiop.c | 2 -
9595 drivers/scsi/hptiop.h | 1 -
9596 drivers/scsi/ipr.c | 6 +-
9597 drivers/scsi/ipr.h | 2 +-
9598 drivers/scsi/qla2xxx/qla_target.c | 10 +-
9599 drivers/scsi/qla2xxx/qla_target.h | 2 +-
9600 fs/btrfs/ctree.c | 2 +-
9601 fs/btrfs/ctree.h | 4 +-
9602 fs/btrfs/delayed-ref.c | 4 +-
9603 fs/btrfs/disk-io.c | 4 +-
9604 fs/btrfs/file.c | 4 +-
9605 fs/btrfs/raid56.c | 32 ++++----
9606 fs/btrfs/tests/btrfs-tests.c | 2 +-
9607 fs/btrfs/transaction.c | 2 +-
9608 fs/btrfs/tree-log.c | 8 +-
9609 fs/btrfs/volumes.c | 14 ++--
9610 fs/btrfs/volumes.h | 22 +++---
9611 fs/jbd2/commit.c | 2 +-
9612 fs/jbd2/transaction.c | 4 +-
9613 fs/ocfs2/dlm/dlmcommon.h | 4 +-
9614 fs/ocfs2/dlm/dlmdebug.c | 10 +-
9615 fs/ocfs2/dlm/dlmdomain.c | 4 +-
9616 fs/ocfs2/dlm/dlmmaster.c | 4 +-
9617 include/acpi/ghes.h | 2 +-
9618 include/linux/blk-cgroup.h | 24 +++---
9619 include/linux/jbd2.h | 2 +-
9620 include/linux/netlink.h | 12 ++--
9621 include/net/cfg802154.h | 2 +-
9622 include/net/mac80211.h | 2 +-
9623 include/net/neighbour.h | 2 +-
9624 kernel/rcu/tree_plugin.h | 4 +-
9625 net/batman-adv/routing.c | 4 +-
9626 net/batman-adv/soft-interface.c | 2 +-
9627 net/batman-adv/translation-table.c | 14 ++--
9628 net/batman-adv/types.h | 2 +-
9629 net/core/neighbour.c | 14 ++--
9630 net/core/rtnetlink.c | 2 +-
9631 net/ipv4/arp.c | 2 +-
9632 net/ipv4/inet_diag.c | 4 +-
9633 net/ipv4/xfrm4_state.c | 4 +-
9634 net/ipv6/ndisc.c | 2 +-
9635 net/mac80211/cfg.c | 2 +-
9636 net/mac80211/debugfs_key.c | 2 +-
9637 net/mac80211/key.c | 4 +-
9638 net/mac80211/tx.c | 2 +-
9639 net/mac80211/wpa.c | 10 +-
9640 net/mac802154/iface.c | 4 +-
9641 net/netfilter/ipset/ip_set_core.c | 2 +-
9642 net/netfilter/nf_conntrack_netlink.c | 22 +++---
9643 net/netfilter/nf_tables_api.c | 13 ++--
9644 net/netfilter/nfnetlink_acct.c | 7 +-
9645 net/netfilter/nfnetlink_cthelper.c | 2 +-
9646 net/netfilter/nfnetlink_cttimeout.c | 2 +-
9647 net/netlink/af_netlink.c | 10 ++-
9648 net/netlink/diag.c | 2 +-
9649 net/netlink/genetlink.c | 14 ++--
9650 net/packet/af_packet.c | 18 ++--
9651 net/packet/diag.c | 2 +-
9652 net/packet/internal.h | 6 +-
9653 net/unix/diag.c | 2 +-
9654 net/xfrm/xfrm_user.c | 2 +-
9655 security/apparmor/include/policy.h | 2 +-
9656 security/apparmor/policy.c | 4 +-
9657 sound/core/seq/seq_clientmgr.c | 2 +-
9658 sound/core/seq/seq_fifo.c | 6 +-
9659 sound/core/seq/seq_fifo.h | 2 +-
9660 tools/gcc/gcc-common.h | 24 ++++--
9661 tools/gcc/initify_plugin.c | 7 +-
9662 tools/lib/api/Makefile | 2 +-
9663 109 files changed, 399 insertions(+), 391 deletions(-)
9664
9665 commit a7817402ac837b1aee07fac42537a02097055098
9666 Author: Matt Fleming <matt@codeblueprint.co.uk>
9667 Date: Fri Jan 29 11:36:10 2016 +0000
9668
9669 x86/mm/pat: Avoid truncation when converting cpa->numpages to address
9670
9671 There are a couple of nasty truncation bugs lurking in the pageattr
9672 code that can be triggered when mapping EFI regions, e.g. when we pass
9673 a cpa->pgd pointer. Because cpa->numpages is a 32-bit value, shifting
9674 left by PAGE_SHIFT will truncate the resultant address to 32-bits.
9675
9676 Viorel-Cătălin managed to trigger this bug on his Dell machine that
9677 provides a ~5GB EFI region which requires 1236992 pages to be mapped.
9678 When calling populate_pud() the end of the region gets calculated
9679 incorrectly in the following buggy expression,
9680
9681 end = start + (cpa->numpages << PAGE_SHIFT);
9682
9683 And only 188416 pages are mapped. Next, populate_pud() gets invoked
9684 for a second time because of the loop in __change_page_attr_set_clr(),
9685 only this time no pages get mapped because shifting the remaining
9686 number of pages (1048576) by PAGE_SHIFT is zero. At which point the
9687 loop in __change_page_attr_set_clr() spins forever because we fail to
9688 map progress.
9689
9690 Hitting this bug depends very much on the virtual address we pick to
9691 map the large region at and how many pages we map on the initial run
9692 through the loop. This explains why this issue was only recently hit
9693 with the introduction of commit
9694
9695 a5caa209ba9c ("x86/efi: Fix boot crash by mapping EFI memmap
9696 entries bottom-up at runtime, instead of top-down")
9697
9698 It's interesting to note that safe uses of cpa->numpages do exist in
9699 the pageattr code. If instead of shifting ->numpages we multiply by
9700 PAGE_SIZE, no truncation occurs because PAGE_SIZE is a UL value, and
9701 so the result is unsigned long.
9702
9703 To avoid surprises when users try to convert very large cpa->numpages
9704 values to addresses, change the data type from 'int' to 'unsigned
9705 long', thereby making it suitable for shifting by PAGE_SHIFT without
9706 any type casting.
9707
9708 The alternative would be to make liberal use of casting, but that is
9709 far more likely to cause problems in the future when someone adds more
9710 code and fails to cast properly; this bug was difficult enough to
9711 track down in the first place.
9712
9713 Reported-and-tested-by: Viorel-Cătălin Răpițeanu <rapiteanu.catalin@gmail.com>
9714 Acked-by: Borislav Petkov <bp@alien8.de>
9715 Cc: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
9716 Cc: <stable@vger.kernel.org>
9717 Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
9718 Link: https://bugzilla.kernel.org/show_bug.cgi?id=110131
9719 Link: http://lkml.kernel.org/r/1454067370-10374-1-git-send-email-matt@codeblueprint.co.uk
9720 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
9721
9722 arch/x86/mm/pageattr.c | 4 ++--
9723 1 files changed, 2 insertions(+), 2 deletions(-)
9724
9725 commit 64dd9d7a67a742fda257cdd16510c29e695c34b5
9726 Author: Jan Beulich <JBeulich@suse.com>
9727 Date: Tue Jan 26 04:15:18 2016 -0700
9728
9729 x86/mm: Fix types used in pgprot cacheability flags translations
9730
9731 For PAE kernels "unsigned long" is not suitable to hold page protection
9732 flags, since _PAGE_NX doesn't fit there. This is the reason for quite a
9733 few W+X pages getting reported as insecure during boot (observed namely
9734 for the entire initrd range).
9735
9736 Fixes: 281d4078be ("x86: Make page cache mode a real type")
9737 Signed-off-by: Jan Beulich <jbeulich@suse.com>
9738 Reviewed-by: Juergen Gross <JGross@suse.com>
9739 Cc: stable@vger.kernel.org
9740 Link: http://lkml.kernel.org/r/56A7635602000078000CAFF1@prv-mh.provo.novell.com
9741 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
9742
9743 arch/x86/include/asm/pgtable_types.h | 6 ++----
9744 1 files changed, 2 insertions(+), 4 deletions(-)
9745
9746 commit bb9a3a9df0d8dfc96d521676e64c42b37ba22aea
9747 Merge: 682d661 f74425b
9748 Author: Brad Spengler <spender@grsecurity.net>
9749 Date: Sun Jan 31 15:06:25 2016 -0500
9750
9751 Merge branch 'pax-test' into grsec-test
9752
9753 Conflicts:
9754 drivers/net/slip/slhc.c
9755 include/linux/sched.h
9756 net/unix/af_unix.c
9757 sound/core/timer.c
9758
9759 commit f74425b5705bfe52aff9e97659ef10c4a14176c3
9760 Merge: d14af1f 849a2d3
9761 Author: Brad Spengler <spender@grsecurity.net>
9762 Date: Sun Jan 31 15:02:55 2016 -0500
9763
9764 Merge branch 'linux-4.3.y' into pax-test
9765
9766 Conflicts:
9767 arch/x86/include/asm/mmu_context.h
9768
9769 commit 682d6611d75542e351c973c8dd74a99d3966c073
9770 Author: Brad Spengler <spender@grsecurity.net>
9771 Date: Sat Jan 30 13:05:03 2016 -0500
9772
9773 Based on a report from Mathias Krause, fix up a number of additional instances
9774 of ulong overflow when passing in values to gr_learn_resource by saturating
9775 to ULONG_MAX
9776
9777 mm/mlock.c | 11 ++++++++---
9778 mm/mmap.c | 16 +++++++++++++---
9779 2 files changed, 21 insertions(+), 6 deletions(-)
9780
9781 commit adb52e95fb9ad4ac9c56cd5d47bd668f47c33096
9782 Author: Jann Horn <jann@thejh.net>
9783 Date: Sat Dec 26 06:00:48 2015 +0100
9784
9785 seccomp: always propagate NO_NEW_PRIVS on tsync
9786
9787 Before this patch, a process with some permissive seccomp filter
9788 that was applied by root without NO_NEW_PRIVS was able to add
9789 more filters to itself without setting NO_NEW_PRIVS by setting
9790 the new filter from a throwaway thread with NO_NEW_PRIVS.
9791
9792 Signed-off-by: Jann Horn <jann@thejh.net>
9793 Cc: stable@vger.kernel.org
9794 Signed-off-by: Kees Cook <keescook@chromium.org>
9795
9796 kernel/seccomp.c | 22 +++++++++++-----------
9797 1 files changed, 11 insertions(+), 11 deletions(-)
9798
9799 commit b85450498a3bbf269441c8963d7574bb3079c838
9800 Merge: 59c216f d14af1f
9801 Author: Brad Spengler <spender@grsecurity.net>
9802 Date: Fri Jan 29 20:54:13 2016 -0500
9803
9804 Merge branch 'pax-test' into grsec-test
9805
9806 commit d14af1f1dd66511f3f0674deee2b572972012b39
9807 Author: Brad Spengler <spender@grsecurity.net>
9808 Date: Fri Jan 29 20:53:51 2016 -0500
9809
9810 Update to pax-linux-4.3.4-test26.patch:
9811 - Emese fixed a few intentional overflows introduced by gcc, reported by StalkR (https://forums.grsecurity.net/viewtopic.php?f=3&t=4370)
9812
9813 fs/cifs/file.c | 2 +-
9814 fs/gfs2/file.c | 2 +-
9815 .../size_overflow_plugin/intentional_overflow.c | 96 ++++++++++++++++++--
9816 tools/gcc/size_overflow_plugin/size_overflow.h | 2 +
9817 .../size_overflow_plugin/size_overflow_plugin.c | 4 +-
9818 .../size_overflow_plugin/size_overflow_transform.c | 6 +-
9819 .../size_overflow_transform_core.c | 5 +
9820 7 files changed, 102 insertions(+), 15 deletions(-)
9821
9822 commit 59c216f13587eacdd692386b7a403ae78ed84fb6
9823 Author: Brad Spengler <spender@grsecurity.net>
9824 Date: Wed Jan 27 17:57:21 2016 -0500
9825
9826 Fix a size_overflow report reported by Mathias Krause in our
9827 truncation of an loff_t to an unsigned long when being passed
9828 to gr_learn_resource() (as all resource checks are against unsigned long
9829 values)
9830
9831 fs/attr.c | 5 ++++-
9832 1 files changed, 4 insertions(+), 1 deletions(-)
9833
9834 commit 70636c6ad60fc1db3af764ecc789b827b7497a97
9835 Author: Yuchung Cheng <ycheng@google.com>
9836 Date: Wed Jan 6 12:42:38 2016 -0800
9837
9838 tcp: fix zero cwnd in tcp_cwnd_reduction
9839
9840 Patch 3759824da87b ("tcp: PRR uses CRB mode by default and SS mode
9841 conditionally") introduced a bug that cwnd may become 0 when both
9842 inflight and sndcnt are 0 (cwnd = inflight + sndcnt). This may lead
9843 to a div-by-zero if the connection starts another cwnd reduction
9844 phase by setting tp->prior_cwnd to the current cwnd (0) in
9845 tcp_init_cwnd_reduction().
9846
9847 To prevent this we skip PRR operation when nothing is acked or
9848 sacked. Then cwnd must be positive in all cases as long as ssthresh
9849 is positive:
9850
9851 1) The proportional reduction mode
9852 inflight > ssthresh > 0
9853
9854 2) The reduction bound mode
9855 a) inflight == ssthresh > 0
9856
9857 b) inflight < ssthresh
9858 sndcnt > 0 since newly_acked_sacked > 0 and inflight < ssthresh
9859
9860 Therefore in all cases inflight and sndcnt can not both be 0.
9861 We check invalid tp->prior_cwnd to avoid potential div0 bugs.
9862
9863 In reality this bug is triggered only with a sequence of less common
9864 events. For example, the connection is terminating an ECN-triggered
9865 cwnd reduction with an inflight 0, then it receives reordered/old
9866 ACKs or DSACKs from prior transmission (which acks nothing). Or the
9867 connection is in fast recovery stage that marks everything lost,
9868 but fails to retransmit due to local issues, then receives data
9869 packets from other end which acks nothing.
9870
9871 Fixes: 3759824da87b ("tcp: PRR uses CRB mode by default and SS mode conditionally")
9872 Reported-by: Oleksandr Natalenko <oleksandr@natalenko.name>
9873 Signed-off-by: Yuchung Cheng <ycheng@google.com>
9874 Signed-off-by: Neal Cardwell <ncardwell@google.com>
9875 Signed-off-by: Eric Dumazet <edumazet@google.com>
9876 Signed-off-by: David S. Miller <davem@davemloft.net>
9877
9878 net/ipv4/tcp_input.c | 3 +++
9879 1 files changed, 3 insertions(+), 0 deletions(-)
9880
9881 commit dac1da2bedbb43195d371c7a192cfeeb45683df0
9882 Author: Eric Dumazet <edumazet@google.com>
9883 Date: Sun Jan 24 13:53:50 2016 -0800
9884
9885 af_unix: fix struct pid memory leak
9886
9887 Dmitry reported a struct pid leak detected by a syzkaller program.
9888
9889 Bug happens in unix_stream_recvmsg() when we break the loop when a
9890 signal is pending, without properly releasing scm.
9891
9892 Fixes: b3ca9b02b007 ("net: fix multithreaded signal handling in unix recv routines")
9893 Reported-by: Dmitry Vyukov <dvyukov@google.com>
9894 Signed-off-by: Eric Dumazet <edumazet@google.com>
9895 Cc: Rainer Weikusat <rweikusat@mobileactivedefense.com>
9896 Signed-off-by: David S. Miller <davem@davemloft.net>
9897
9898 net/unix/af_unix.c | 1 +
9899 1 files changed, 1 insertions(+), 0 deletions(-)
9900
9901 commit 15cc47f127520d1ac0c1fe76d993c2c27f0f2571
9902 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
9903 Date: Fri Jan 22 01:39:43 2016 +0100
9904
9905 pptp: fix illegal memory access caused by multiple bind()s
9906
9907 Several times already this has been reported as kasan reports caused by
9908 syzkaller and trinity and people always looked at RCU races, but it is
9909 much more simple. :)
9910
9911 In case we bind a pptp socket multiple times, we simply add it to
9912 the callid_sock list but don't remove the old binding. Thus the old
9913 socket stays in the bucket with unused call_id indexes and doesn't get
9914 cleaned up. This causes various forms of kasan reports which were hard
9915 to pinpoint.
9916
9917 Simply don't allow multiple binds and correct error handling in
9918 pptp_bind. Also keep sk_state bits in place in pptp_connect.
9919
9920 Fixes: 00959ade36acad ("PPTP: PPP over IPv4 (Point-to-Point Tunneling Protocol)")
9921 Cc: Dmitry Kozlov <xeb@mail.ru>
9922 Cc: Sasha Levin <sasha.levin@oracle.com>
9923 Cc: Dmitry Vyukov <dvyukov@google.com>
9924 Reported-by: Dmitry Vyukov <dvyukov@google.com>
9925 Cc: Dave Jones <davej@codemonkey.org.uk>
9926 Reported-by: Dave Jones <davej@codemonkey.org.uk>
9927 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
9928 Signed-off-by: David S. Miller <davem@davemloft.net>
9929
9930 drivers/net/ppp/pptp.c | 34 ++++++++++++++++++++++++----------
9931 1 files changed, 24 insertions(+), 10 deletions(-)
9932
9933 commit e2b7b8c66851c85188fa6dab2d2b2a6c85bc7332
9934 Author: Brad Spengler <spender@grsecurity.net>
9935 Date: Tue Jan 26 18:17:10 2016 -0500
9936
9937 Add info about cpupower/powertop to GRKERNSEC_KMEM, was present on our
9938 wiki but was removed from the config help at some point
9939
9940 grsecurity/Kconfig | 3 +++
9941 1 files changed, 3 insertions(+), 0 deletions(-)
9942
9943 commit ce2e88efa000fc32bfcd84098f57c8ed8310fefc
9944 Author: Thomas Egerer <hakke_007@gmx.de>
9945 Date: Mon Jan 25 12:58:44 2016 +0100
9946
9947 ipv4+ipv6: Make INET*_ESP select CRYPTO_ECHAINIV
9948
9949 The ESP algorithms using CBC mode require echainiv. Hence INET*_ESP have
9950 to select CRYPTO_ECHAINIV in order to work properly. This solves the
9951 issues caused by a misconfiguration as described in [1].
9952 The original approach, patching crypto/Kconfig was turned down by
9953 Herbert Xu [2].
9954
9955 [1] https://lists.strongswan.org/pipermail/users/2015-December/009074.html
9956 [2] http://marc.info/?l=linux-crypto-vger&m=145224655809562&w=2
9957
9958 Signed-off-by: Thomas Egerer <hakke_007@gmx.de>
9959 Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
9960 Signed-off-by: David S. Miller <davem@davemloft.net>
9961
9962 net/ipv4/Kconfig | 1 +
9963 net/ipv6/Kconfig | 1 +
9964 2 files changed, 2 insertions(+), 0 deletions(-)
9965
9966 commit fca5a303155ea67d28aece0caf2b03ffc3b2668d
9967 Merge: 904114c 6339c1f
9968 Author: Brad Spengler <spender@grsecurity.net>
9969 Date: Tue Jan 26 18:08:40 2016 -0500
9970
9971 Merge branch 'pax-test' into grsec-test
9972
9973 commit 6339c1f9a9beafd417bf9f04d4b257e62aeb45b7
9974 Author: Brad Spengler <spender@grsecurity.net>
9975 Date: Tue Jan 26 18:07:51 2016 -0500
9976
9977 Update to pax-linux-4.3.4-test25.patch:
9978 - 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>
9979 - fixed init_new_context on !MODIFY_LDT_SYSCALL configs, reported by tjh (https://forums.grsecurity.net/viewtopic.php?f=3&t=4368)
9980 - fixed a few REFCOUNT false positives in SNMP related statistics
9981
9982 arch/x86/Kconfig | 2 +-
9983 arch/x86/include/asm/mmu_context.h | 17 +++++++++++++++++
9984 include/net/snmp.h | 10 +++++-----
9985 kernel/fork.c | 11 +++++++++--
9986 net/ipv4/proc.c | 8 ++++----
9987 net/ipv6/addrconf.c | 4 ++--
9988 net/ipv6/proc.c | 10 +++++-----
9989 7 files changed, 43 insertions(+), 19 deletions(-)
9990
9991 commit 904114c2fce3fdff5d57e763da56a78960db4e19
9992 Author: Al Viro <viro@zeniv.linux.org.uk>
9993 Date: Fri Jan 22 18:08:52 2016 -0500
9994
9995 make sure that freeing shmem fast symlinks is RCU-delayed
9996
9997 Cc: stable@vger.kernel.org # v4.2+
9998 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
9999
10000 include/linux/shmem_fs.h | 5 +----
10001 mm/shmem.c | 9 ++++-----
10002 2 files changed, 5 insertions(+), 9 deletions(-)
10003
10004 commit ab86adee64312a2f827dd516cb199521327943ed
10005 Author: Sasha Levin <sasha.levin@oracle.com>
10006 Date: Mon Jan 18 19:23:51 2016 -0500
10007
10008 netfilter: nf_conntrack: use safer way to lock all buckets
10009
10010 When we need to lock all buckets in the connection hashtable we'd attempt to
10011 lock 1024 spinlocks, which is way more preemption levels than supported by
10012 the kernel. Furthermore, this behavior was hidden by checking if lockdep is
10013 enabled, and if it was - use only 8 buckets(!).
10014
10015 Fix this by using a global lock and synchronize all buckets on it when we
10016 need to lock them all. This is pretty heavyweight, but is only done when we
10017 need to resize the hashtable, and that doesn't happen often enough (or at all).
10018
10019 Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
10020 Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
10021 Reviewed-by: Florian Westphal <fw@strlen.de>
10022 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
10023
10024 Conflicts:
10025
10026 net/netfilter/nfnetlink_cttimeout.c
10027
10028 include/net/netfilter/nf_conntrack_core.h | 8 ++----
10029 net/netfilter/nf_conntrack_core.c | 38 +++++++++++++++++++++-------
10030 net/netfilter/nf_conntrack_helper.c | 2 +-
10031 net/netfilter/nf_conntrack_netlink.c | 2 +-
10032 4 files changed, 33 insertions(+), 17 deletions(-)
10033
10034 commit 37014723527225481c720484bb788a1a6358072f
10035 Author: Willy Tarreau <w@1wt.eu>
10036 Date: Mon Jan 18 16:36:09 2016 +0100
10037
10038 pipe: limit the per-user amount of pages allocated in pipes
10039
10040 On no-so-small systems, it is possible for a single process to cause an
10041 OOM condition by filling large pipes with data that are never read. A
10042 typical process filling 4000 pipes with 1 MB of data will use 4 GB of
10043 memory. On small systems it may be tricky to set the pipe max size to
10044 prevent this from happening.
10045
10046 This patch makes it possible to enforce a per-user soft limit above
10047 which new pipes will be limited to a single page, effectively limiting
10048 them to 4 kB each, as well as a hard limit above which no new pipes may
10049 be created for this user. This has the effect of protecting the system
10050 against memory abuse without hurting other users, and still allowing
10051 pipes to work correctly though with less data at once.
10052
10053 The limit are controlled by two new sysctls : pipe-user-pages-soft, and
10054 pipe-user-pages-hard. Both may be disabled by setting them to zero. The
10055 default soft limit allows the default number of FDs per process (1024)
10056 to create pipes of the default size (64kB), thus reaching a limit of 64MB
10057 before starting to create only smaller pipes. With 256 processes limited
10058 to 1024 FDs each, this results in 1024*64kB + (256*1024 - 1024) * 4kB =
10059 1084 MB of memory allocated for a user. The hard limit is disabled by
10060 default to avoid breaking existing applications that make intensive use
10061 of pipes (eg: for splicing).
10062
10063 Reported-by: socketpair@gmail.com
10064 Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
10065 Mitigates: CVE-2013-4312 (Linux 2.0+)
10066 Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
10067 Signed-off-by: Willy Tarreau <w@1wt.eu>
10068 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
10069
10070 Documentation/sysctl/fs.txt | 23 +++++++++++++++++++++
10071 fs/pipe.c | 47 +++++++++++++++++++++++++++++++++++++++++-
10072 include/linux/pipe_fs_i.h | 4 +++
10073 include/linux/sched.h | 1 +
10074 kernel/sysctl.c | 14 ++++++++++++
10075 5 files changed, 87 insertions(+), 2 deletions(-)
10076
10077 commit 51645fa198d194f746651dcfbc5f24a4cf8b9fb8
10078 Merge: 540f2af 7791ecb
10079 Author: Brad Spengler <spender@grsecurity.net>
10080 Date: Sat Jan 23 10:57:11 2016 -0500
10081
10082 Merge branch 'pax-test' into grsec-test
10083
10084 commit 7791ecb84f840343a5646236fd0d34e1fb450793
10085 Merge: 470069c 399588c
10086 Author: Brad Spengler <spender@grsecurity.net>
10087 Date: Sat Jan 23 10:56:47 2016 -0500
10088
10089 Merge branch 'linux-4.3.y' into pax-test
10090
10091 commit 540f2affebd42cdc26a699208ab4f1cb0cb75e33
10092 Author: Brad Spengler <spender@grsecurity.net>
10093 Date: Tue Jan 19 21:18:47 2016 -0500
10094
10095 Update size_overflow hash table
10096
10097 .../size_overflow_plugin/size_overflow_hash.data | 4 +++-
10098 1 files changed, 3 insertions(+), 1 deletions(-)
10099
10100 commit 7e649765626a28437f573f0fbe7a51a04615f041
10101 Author: Brad Spengler <spender@grsecurity.net>
10102 Date: Tue Jan 19 20:29:46 2016 -0500
10103
10104 Backport fix from: https://lkml.org/lkml/2015/12/13/187
10105
10106 fs/ext4/extents.c | 2 +-
10107 1 files changed, 1 insertions(+), 1 deletions(-)
10108
10109 commit 53b859cd0a5f5b6ad54fe0c879dfedaa3c5a3005
10110 Author: Jann Horn <jann@thejh.net>
10111 Date: Tue Jan 5 18:27:30 2016 +0100
10112
10113 compat_ioctl: don't call do_ioctl under set_fs(KERNEL_DS)
10114
10115 This replaces all code in fs/compat_ioctl.c that translated
10116 ioctl arguments into a in-kernel structure, then performed
10117 do_ioctl under set_fs(KERNEL_DS), with code that allocates
10118 data on the user stack and can call the VFS ioctl handler
10119 under USER_DS.
10120
10121 This is done as a hardening measure because the caller
10122 does not know what kind of ioctl handler will be invoked,
10123 only that no corresponding compat_ioctl handler exists and
10124 what the ioctl command number is. The accidental
10125 invocation of an unlocked_ioctl handler that unexpectedly
10126 calls copy_to_user could be a severe security issue.
10127
10128 Signed-off-by: Jann Horn <jann@thejh.net>
10129 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
10130
10131 Conflicts:
10132
10133 fs/compat_ioctl.c
10134
10135 fs/compat_ioctl.c | 130 ++++++++++++++++++++++++++++-------------------------
10136 1 files changed, 68 insertions(+), 62 deletions(-)
10137
10138 commit 3e89e770ae27e931cd1583f021abac41eeebc3e7
10139 Author: Al Viro <viro@zeniv.linux.org.uk>
10140 Date: Thu Jan 7 09:53:30 2016 -0500
10141
10142 compat_ioctl: don't pass fd around when not needed
10143
10144 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
10145
10146 fs/compat_ioctl.c | 103 ++++++++++++++++++++++++++--------------------------
10147 fs/internal.h | 7 ++++
10148 fs/ioctl.c | 4 +-
10149 include/linux/fs.h | 2 -
10150 4 files changed, 61 insertions(+), 55 deletions(-)
10151
10152 commit 9d4e04082752d4d2d68445c4e6faf33a2613df55
10153 Author: Jann Horn <jann@thejh.net>
10154 Date: Tue Jan 5 18:27:29 2016 +0100
10155
10156 compat_ioctl: don't look up the fd twice
10157
10158 In code in fs/compat_ioctl.c that translates ioctl arguments
10159 into a in-kernel structure, then performs sys_ioctl, possibly
10160 under set_fs(KERNEL_DS), this commit changes the sys_ioctl
10161 calls to do_ioctl calls. do_ioctl is a new function that does
10162 the same thing as sys_ioctl, but doesn't look up the fd again.
10163
10164 This change is made to avoid (potential) security issues
10165 because of ioctl handlers that accept one of the ioctl
10166 commands I2C_FUNCS, VIDEO_GET_EVENT, MTIOCPOS, MTIOCGET,
10167 TIOCGSERIAL, TIOCSSERIAL, RTC_IRQP_READ, RTC_EPOCH_READ.
10168 This can happen for multiple reasons:
10169
10170 - The ioctl command number could be reused.
10171 - The ioctl handler might not check the full ioctl
10172 command. This is e.g. true for drm_ioctl.
10173 - The ioctl handler is very special, e.g. cuse_file_ioctl
10174
10175 The real issue is that set_fs(KERNEL_DS) is used here,
10176 but that's fixed in a separate commit
10177 "compat_ioctl: don't call do_ioctl under set_fs(KERNEL_DS)".
10178
10179 This change mitigates potential security issues by
10180 preventing a race that permits invocation of
10181 unlocked_ioctl handlers under KERNEL_DS through compat
10182 code even if a corresponding compat_ioctl handler exists.
10183
10184 So far, no way has been identified to use this to damage
10185 kernel memory without having CAP_SYS_ADMIN in the init ns
10186 (with the capability, doing reads/writes at arbitrary
10187 kernel addresses should be easy through CUSE's ioctl
10188 handler with FUSE_IOCTL_UNRESTRICTED set).
10189
10190 [AV: two missed sys_ioctl() taken care of]
10191
10192 Signed-off-by: Jann Horn <jann@thejh.net>
10193 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
10194
10195 fs/compat_ioctl.c | 122 +++++++++++++++++++++++++++++-----------------------
10196 1 files changed, 68 insertions(+), 54 deletions(-)
10197
10198 commit 5bf9e1ed4ebb278cd956ba142914fc04a024309c
10199 Author: Vasily Kulikov <segoon@openwall.com>
10200 Date: Fri Jan 15 16:57:55 2016 -0800
10201
10202 include/linux/poison.h: use POISON_POINTER_DELTA for poison pointers
10203
10204 TIMER_ENTRY_STATIC is defined as a poison pointers which
10205 should point to nowhere. Redefine them using POISON_POINTER_DELTA
10206 arithmetics to make sure they really point to non-mappable area declared
10207 by the target architecture.
10208
10209 Signed-off-by: Vasily Kulikov <segoon@openwall.com>
10210 Acked-by: Thomas Gleixner <tglx@linutronix.de>
10211 Cc: Solar Designer <solar@openwall.com>
10212 Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
10213 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
10214 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
10215
10216 Conflicts:
10217
10218 include/linux/poison.h
10219
10220 include/linux/poison.h | 2 +-
10221 1 files changed, 1 insertions(+), 1 deletions(-)
10222
10223 commit 60f2e0a05ab8f56c804a9334a23e2b446305d110
10224 Author: Brad Spengler <spender@grsecurity.net>
10225 Date: Tue Jan 19 19:41:44 2016 -0500
10226
10227 Fix ARM compilation, reported by Austin Sepp
10228
10229 grsecurity/grsec_sig.c | 1 +
10230 1 files changed, 1 insertions(+), 0 deletions(-)
10231
10232 commit e15383743443dc43460a2fd73e0db0b608610dca
10233 Author: Takashi Iwai <tiwai@suse.de>
10234 Date: Mon Jan 18 13:52:47 2016 +0100
10235
10236 ALSA: hrtimer: Fix stall by hrtimer_cancel()
10237
10238 hrtimer_cancel() waits for the completion from the callback, thus it
10239 must not be called inside the callback itself. This was already a
10240 problem in the past with ALSA hrtimer driver, and the early commit
10241 [fcfdebe70759: ALSA: hrtimer - Fix lock-up] tried to address it.
10242
10243 However, the previous fix is still insufficient: it may still cause a
10244 lockup when the ALSA timer instance reprograms itself in its callback.
10245 Then it invokes the start function even in snd_timer_interrupt() that
10246 is called in hrtimer callback itself, results in a CPU stall. This is
10247 no hypothetical problem but actually triggered by syzkaller fuzzer.
10248
10249 This patch tries to fix the issue again. Now we call
10250 hrtimer_try_to_cancel() at both start and stop functions so that it
10251 won't fall into a deadlock, yet giving some chance to cancel the queue
10252 if the functions have been called outside the callback. The proper
10253 hrtimer_cancel() is called in anyway at closing, so this should be
10254 enough.
10255
10256 Reported-and-tested-by: Dmitry Vyukov <dvyukov@google.com>
10257 Cc: <stable@vger.kernel.org>
10258 Signed-off-by: Takashi Iwai <tiwai@suse.de>
10259
10260 sound/core/hrtimer.c | 3 ++-
10261 1 files changed, 2 insertions(+), 1 deletions(-)
10262
10263 commit 12d874daf706e6e7c1ae709141859c809599297e
10264 Author: Takashi Iwai <tiwai@suse.de>
10265 Date: Tue Jan 12 12:38:02 2016 +0100
10266
10267 ALSA: seq: Fix missing NULL check at remove_events ioctl
10268
10269 snd_seq_ioctl_remove_events() calls snd_seq_fifo_clear()
10270 unconditionally even if there is no FIFO assigned, and this leads to
10271 an Oops due to NULL dereference. The fix is just to add a proper NULL
10272 check.
10273
10274 Reported-by: Dmitry Vyukov <dvyukov@google.com>
10275 Tested-by: Dmitry Vyukov <dvyukov@google.com>
10276 Cc: <stable@vger.kernel.org>
10277 Signed-off-by: Takashi Iwai <tiwai@suse.de>
10278
10279 sound/core/seq/seq_clientmgr.c | 2 +-
10280 1 files changed, 1 insertions(+), 1 deletions(-)
10281
10282 commit 2eb0632df1351378946507e7ef7ba0682632a7b5
10283 Author: Takashi Iwai <tiwai@suse.de>
10284 Date: Tue Jan 12 15:36:27 2016 +0100
10285
10286 ALSA: seq: Fix race at timer setup and close
10287
10288 ALSA sequencer code has an open race between the timer setup ioctl and
10289 the close of the client. This was triggered by syzkaller fuzzer, and
10290 a use-after-free was caught there as a result.
10291
10292 This patch papers over it by adding a proper queue->timer_mutex lock
10293 around the timer-related calls in the relevant code path.
10294
10295 Reported-by: Dmitry Vyukov <dvyukov@google.com>
10296 Tested-by: Dmitry Vyukov <dvyukov@google.com>
10297 Cc: <stable@vger.kernel.org>
10298 Signed-off-by: Takashi Iwai <tiwai@suse.de>
10299
10300 sound/core/seq/seq_queue.c | 2 ++
10301 1 files changed, 2 insertions(+), 0 deletions(-)
10302
10303 commit b9e55ab955e59b4a636d78a748be90334a48b485
10304 Author: Takashi Iwai <tiwai@suse.de>
10305 Date: Thu Jan 14 16:30:58 2016 +0100
10306
10307 ALSA: timer: Harden slave timer list handling
10308
10309 A slave timer instance might be still accessible in a racy way while
10310 operating the master instance as it lacks of locking. Since the
10311 master operation is mostly protected with timer->lock, we should cope
10312 with it while changing the slave instance, too. Also, some linked
10313 lists (active_list and ack_list) of slave instances aren't unlinked
10314 immediately at stopping or closing, and this may lead to unexpected
10315 accesses.
10316
10317 This patch tries to address these issues. It adds spin lock of
10318 timer->lock (either from master or slave, which is equivalent) in a
10319 few places. For avoiding a deadlock, we ensure that the global
10320 slave_active_lock is always locked at first before each timer lock.
10321
10322 Also, ack and active_list of slave instances are properly unlinked at
10323 snd_timer_stop() and snd_timer_close().
10324
10325 Last but not least, remove the superfluous call of _snd_timer_stop()
10326 at removing slave links. This is a noop, and calling it may confuse
10327 readers wrt locking. Further cleanup will follow in a later patch.
10328
10329 Actually we've got reports of use-after-free by syzkaller fuzzer, and
10330 this hopefully fixes these issues.
10331
10332 Reported-by: Dmitry Vyukov <dvyukov@google.com>
10333 Cc: <stable@vger.kernel.org>
10334 Signed-off-by: Takashi Iwai <tiwai@suse.de>
10335
10336 sound/core/timer.c | 18 ++++++++++++++----
10337 1 files changed, 14 insertions(+), 4 deletions(-)
10338
10339 commit f1ce0547bdfda1b42ae8a66c222f2a897cbe1586
10340 Author: Takashi Iwai <tiwai@suse.de>
10341 Date: Wed Jan 13 17:48:01 2016 +0100
10342
10343 ALSA: timer: Fix race among timer ioctls
10344
10345 ALSA timer ioctls have an open race and this may lead to a
10346 use-after-free of timer instance object. A simplistic fix is to make
10347 each ioctl exclusive. We have already tread_sem for controlling the
10348 tread, and extend this as a global mutex to be applied to each ioctl.
10349
10350 The downside is, of course, the worse concurrency. But these ioctls
10351 aren't to be parallel accessible, in anyway, so it should be fine to
10352 serialize there.
10353
10354 Reported-by: Dmitry Vyukov <dvyukov@google.com>
10355 Tested-by: Dmitry Vyukov <dvyukov@google.com>
10356 Cc: <stable@vger.kernel.org>
10357 Signed-off-by: Takashi Iwai <tiwai@suse.de>
10358
10359 sound/core/timer.c | 32 +++++++++++++++++++-------------
10360 1 files changed, 19 insertions(+), 13 deletions(-)
10361
10362 commit 8347d8461ed48a98f9c76cc3cfcdad8217d314bc
10363 Author: Takashi Iwai <tiwai@suse.de>
10364 Date: Wed Jan 13 21:35:06 2016 +0100
10365
10366 ALSA: timer: Fix double unlink of active_list
10367
10368 ALSA timer instance object has a couple of linked lists and they are
10369 unlinked unconditionally at snd_timer_stop(). Meanwhile
10370 snd_timer_interrupt() unlinks it, but it calls list_del() which leaves
10371 the element list itself unchanged. This ends up with unlinking twice,
10372 and it was caught by syzkaller fuzzer.
10373
10374 The fix is to use list_del_init() variant properly there, too.
10375
10376 Reported-by: Dmitry Vyukov <dvyukov@google.com>
10377 Tested-by: Dmitry Vyukov <dvyukov@google.com>
10378 Cc: <stable@vger.kernel.org>
10379 Signed-off-by: Takashi Iwai <tiwai@suse.de>
10380
10381 sound/core/timer.c | 2 +-
10382 1 files changed, 1 insertions(+), 1 deletions(-)
10383
10384 commit 243aebb7ae71d6e11ea9880faa893d1d0d60cd75
10385 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
10386 Date: Mon Jan 18 18:03:48 2016 +0100
10387
10388 ovs: limit ovs recursions in ovs_execute_actions to not corrupt stack
10389
10390 It was seen that defective configurations of openvswitch could overwrite
10391 the STACK_END_MAGIC and cause a hard crash of the kernel because of too
10392 many recursions within ovs.
10393
10394 This problem arises due to the high stack usage of openvswitch. The rest
10395 of the kernel is fine with the current limit of 10 (RECURSION_LIMIT).
10396
10397 We use the already existing recursion counter in ovs_execute_actions to
10398 implement an upper bound of 5 recursions.
10399
10400 Cc: Pravin Shelar <pshelar@ovn.org>
10401 Cc: Simon Horman <simon.horman@netronome.com>
10402 Cc: Eric Dumazet <eric.dumazet@gmail.com>
10403 Cc: Simon Horman <simon.horman@netronome.com>
10404 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
10405 Signed-off-by: David S. Miller <davem@davemloft.net>
10406
10407 net/openvswitch/actions.c | 19 ++++++++++++++-----
10408 1 files changed, 14 insertions(+), 5 deletions(-)
10409
10410 commit 8080793479c6d5befe37a67b1dbd9e4e0a61af96
10411 Author: Ursula Braun <ursula.braun@de.ibm.com>
10412 Date: Tue Jan 19 10:41:33 2016 +0100
10413
10414 af_iucv: Validate socket address length in iucv_sock_bind()
10415
10416 Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
10417 Reported-by: Dmitry Vyukov <dvyukov@google.com>
10418 Reviewed-by: Evgeny Cherkashin <Eugene.Crosser@ru.ibm.com>
10419 Signed-off-by: David S. Miller <davem@davemloft.net>
10420
10421 net/iucv/af_iucv.c | 3 +++
10422 1 files changed, 3 insertions(+), 0 deletions(-)
10423
10424 commit 50a383c1c91ed7409c3cbdd41e662d6891463d1b
10425 Author: Brad Spengler <spender@grsecurity.net>
10426 Date: Tue Jan 19 19:32:54 2016 -0500
10427
10428 Apply the same fix as everyone else for the recent keys vulnerability that is
10429 unexploitable under PAX_REFCOUNT
10430
10431 Make a couple more changes that no one else can/will
10432
10433 include/linux/key-type.h | 4 ++--
10434 ipc/msgutil.c | 4 ++--
10435 security/keys/internal.h | 2 +-
10436 security/keys/process_keys.c | 1 +
10437 4 files changed, 6 insertions(+), 5 deletions(-)
10438
10439 commit b56c3a63f431c193400aee17543021950bd14bc4
10440 Merge: 38b1a3d 470069c
10441 Author: Brad Spengler <spender@grsecurity.net>
10442 Date: Sun Jan 17 18:30:19 2016 -0500
10443
10444 Merge branch 'pax-test' into grsec-test
10445
10446 commit 470069cfedef2180313233d275be5901bd6d1135
10447 Author: Brad Spengler <spender@grsecurity.net>
10448 Date: Sun Jan 17 18:29:59 2016 -0500
10449
10450 Update to pax-linux-4.3.3-test22.patch:
10451 - Emesed fixed a gcc induced intentional integer overflow in asix_rx_fixup_internal, reported by thomas callison caffrey
10452 - fixed some more fallout from the drm_drivers constification, reported by Colin Childs and Toralf Foerster
10453
10454 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 14 ++++----------
10455 drivers/gpu/drm/drm_pci.c | 3 +++
10456 drivers/gpu/drm/gma500/psb_drv.c | 4 ----
10457 drivers/gpu/drm/i915/i915_drv.c | 16 ++++++++--------
10458 drivers/gpu/drm/nouveau/nouveau_drm.c | 6 +++---
10459 drivers/gpu/drm/radeon/radeon_drv.c | 4 +---
10460 drivers/net/usb/asix_common.c | 3 ++-
10461 include/drm/drmP.h | 1 +
10462 8 files changed, 22 insertions(+), 29 deletions(-)
10463
10464 commit 38b1a3d676f407865c3d41840df8213c5ad639c1
10465 Author: Brad Spengler <spender@grsecurity.net>
10466 Date: Sun Jan 17 12:33:53 2016 -0500
10467
10468 As reported by Luis Ressel, the Kconfig help for GRKERNSEC_BRUTE
10469 mentioned banning execution of suid/sgid binaries, though the kernel
10470 source clearly only mentions banning execution of suid binaries. Since
10471 there's no reason for us to not ban execution of sgid binaries as well,
10472 make the implementation match the Kconfig description.
10473
10474 fs/exec.c | 4 ++--
10475 grsecurity/grsec_sig.c | 27 ++++++++++++++-------------
10476 include/linux/sched.h | 4 ++--
10477 3 files changed, 18 insertions(+), 17 deletions(-)
10478
10479 commit 8c3bcb7dbf7f606acfa0983e81f0f928da1f1ace
10480 Merge: d141a86 ea4a835
10481 Author: Brad Spengler <spender@grsecurity.net>
10482 Date: Sat Jan 16 14:12:22 2016 -0500
10483
10484 Merge branch 'pax-test' into grsec-test
10485
10486 Conflicts:
10487 drivers/gpu/drm/i810/i810_drv.c
10488
10489 commit ea4a835328ada6513ac013986764d6caea8cd348
10490 Author: Brad Spengler <spender@grsecurity.net>
10491 Date: Sat Jan 16 14:11:30 2016 -0500
10492
10493 Update to pax-linux-4.3.3-test21.patch:
10494 - fixed some fallout from the drm_drivers constification, reported by spender
10495
10496 drivers/gpu/drm/armada/armada_drv.c | 3 +--
10497 drivers/gpu/drm/exynos/exynos_drm_drv.c | 1 -
10498 drivers/gpu/drm/i810/i810_dma.c | 2 +-
10499 drivers/gpu/drm/i810/i810_drv.c | 6 +++++-
10500 drivers/gpu/drm/i810/i810_drv.h | 2 +-
10501 5 files changed, 8 insertions(+), 6 deletions(-)
10502
10503 commit d141a86fd66194bc3f896b6809b189e2f12a9a83
10504 Author: Brad Spengler <spender@grsecurity.net>
10505 Date: Sat Jan 16 13:16:36 2016 -0500
10506
10507 compile fix
10508
10509 drivers/gpu/drm/i810/i810_dma.c | 2 +-
10510 drivers/gpu/drm/i810/i810_drv.c | 4 +++-
10511 drivers/gpu/drm/i810/i810_drv.h | 2 +-
10512 3 files changed, 5 insertions(+), 3 deletions(-)
10513
10514 commit 0d9dc4b25ea32c14561bcfe6b5b24f1b00fe0270
10515 Merge: 5fa135d bbda879
10516 Author: Brad Spengler <spender@grsecurity.net>
10517 Date: Sat Jan 16 12:59:22 2016 -0500
10518
10519 Merge branch 'pax-test' into grsec-test
10520
10521 commit bbda87914edf63e27fb46670bf3a373f2b963c73
10522 Author: Brad Spengler <spender@grsecurity.net>
10523 Date: Sat Jan 16 12:58:04 2016 -0500
10524
10525 Update to pax-linux-4.3.3-test20.patch:
10526 - constified drm_driver
10527 - Emese fixed a special case in handling __func__ in the initify plugin
10528 - Emese fixed a false positive size overflow report in handling inbufBits, reported by Martin Filo (https://bugs.gentoo.org/show_bug.cgi?id=567048)
10529 - fixed regression that caused perf to not resolve kernel code addresses under KERNEXEC/i386, reported by minipli
10530
10531 arch/x86/kernel/cpu/perf_event.h | 2 +-
10532 arch/x86/kernel/cpu/perf_event_intel_ds.c | 7 +-
10533 arch/x86/kernel/cpu/perf_event_intel_lbr.c | 4 +-
10534 arch/x86/kernel/uprobes.c | 2 +-
10535 arch/x86/mm/mpx.c | 2 +-
10536 drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +-
10537 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 8 ++-
10538 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +-
10539 drivers/gpu/drm/drm_pci.c | 6 +-
10540 drivers/gpu/drm/gma500/psb_drv.c | 5 +-
10541 drivers/gpu/drm/i915/i915_dma.c | 2 +-
10542 drivers/gpu/drm/i915/i915_drv.c | 15 ++--
10543 drivers/gpu/drm/i915/i915_drv.h | 2 +-
10544 drivers/gpu/drm/i915/i915_irq.c | 88 ++++++++++----------
10545 drivers/gpu/drm/mga/mga_drv.c | 5 +-
10546 drivers/gpu/drm/mga/mga_drv.h | 2 +-
10547 drivers/gpu/drm/mga/mga_state.c | 2 +-
10548 drivers/gpu/drm/nouveau/nouveau_drm.c | 13 ++--
10549 drivers/gpu/drm/qxl/qxl_drv.c | 8 ++-
10550 drivers/gpu/drm/qxl/qxl_ioctl.c | 2 +-
10551 drivers/gpu/drm/r128/r128_drv.c | 4 +-
10552 drivers/gpu/drm/r128/r128_drv.h | 2 +-
10553 drivers/gpu/drm/r128/r128_state.c | 2 +-
10554 drivers/gpu/drm/radeon/radeon_drv.c | 17 +++-
10555 drivers/gpu/drm/radeon/radeon_drv.h | 2 +-
10556 drivers/gpu/drm/radeon/radeon_kms.c | 2 +-
10557 drivers/gpu/drm/radeon/radeon_state.c | 2 +-
10558 drivers/gpu/drm/savage/savage_bci.c | 2 +-
10559 drivers/gpu/drm/savage/savage_drv.c | 5 +-
10560 drivers/gpu/drm/savage/savage_drv.h | 2 +-
10561 drivers/gpu/drm/sis/sis_drv.c | 5 +-
10562 drivers/gpu/drm/sis/sis_drv.h | 2 +-
10563 drivers/gpu/drm/sis/sis_mm.c | 2 +-
10564 drivers/gpu/drm/via/via_dma.c | 2 +-
10565 drivers/gpu/drm/via/via_drv.c | 5 +-
10566 drivers/gpu/drm/via/via_drv.h | 2 +-
10567 include/drm/drmP.h | 2 +-
10568 mm/slab.c | 2 +-
10569 net/sunrpc/xprtrdma/svc_rdma.c | 6 +-
10570 tools/gcc/initify_plugin.c | 15 +++-
10571 .../disable_size_overflow_hash.data | 1 +
10572 .../size_overflow_plugin/size_overflow_hash.data | 3 +-
10573 42 files changed, 156 insertions(+), 110 deletions(-)
10574
10575 commit 5fa135dc116350e0205c39ef65eaf6496ed2748a
10576 Author: Brad Spengler <spender@grsecurity.net>
10577 Date: Sat Jan 16 12:19:23 2016 -0500
10578
10579 compile fix
10580
10581 grsecurity/grsec_sig.c | 3 +--
10582 1 files changed, 1 insertions(+), 2 deletions(-)
10583
10584 commit a9090fa58f33f75c7450fda5721a9b13625a47d9
10585 Author: Brad Spengler <spender@grsecurity.net>
10586 Date: Sat Jan 16 12:10:37 2016 -0500
10587
10588 As pointed out by Jann Horn, some distros are starting to circumvent
10589 previous assumptions about the attainability of a user to control
10590 multiple UIDs by handing out suid binaries that allow a user to run
10591 processes (including exploits) under a number of other pre-defined
10592 UIDs. As this could potentially be used to bypass GRKERNSEC_BRUTE
10593 (though it would have to involve some code path that doesn't involve
10594 locks) fix that here by ensuring no more than 8 users on a system can
10595 be banned before a reboot is required. If more are banned, a panic
10596 is triggered.
10597
10598 grsecurity/grsec_sig.c | 8 ++++++++
10599 1 files changed, 8 insertions(+), 0 deletions(-)
10600
10601 commit a8d37776e9521c567ebff6730d49312f72435f08
10602 Author: Eric Dumazet <edumazet@google.com>
10603 Date: Thu Dec 3 11:12:07 2015 -0800
10604
10605 proc: add a reschedule point in proc_readfd_common()
10606
10607 User can pass an arbitrary large buffer to getdents().
10608
10609 It is typically a 32KB buffer used by libc scandir() implementation.
10610
10611 When scanning /proc/{pid}/fd, we can hold cpu way too long,
10612 so add a cond_resched() to be kind with other tasks.
10613
10614 We've seen latencies of more than 50ms on real workloads.
10615
10616 Signed-off-by: Eric Dumazet <edumazet@google.com>
10617 Cc: Alexander Viro <viro@zeniv.linux.org.uk>
10618 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
10619
10620 fs/proc/fd.c | 1 +
10621 1 files changed, 1 insertions(+), 0 deletions(-)
10622
10623 commit 0adba75f8708f13b1f5d98ebe3fc2fb961e100c8
10624 Author: Rabin Vincent <rabin@rab.in>
10625 Date: Tue Jan 12 20:17:08 2016 +0100
10626
10627 net: bpf: reject invalid shifts
10628
10629 On ARM64, a BUG() is triggered in the eBPF JIT if a filter with a
10630 constant shift that can't be encoded in the immediate field of the
10631 UBFM/SBFM instructions is passed to the JIT. Since these shifts
10632 amounts, which are negative or >= regsize, are invalid, reject them in
10633 the eBPF verifier and the classic BPF filter checker, for all
10634 architectures.
10635
10636 Signed-off-by: Rabin Vincent <rabin@rab.in>
10637 Acked-by: Alexei Starovoitov <ast@kernel.org>
10638 Acked-by: Daniel Borkmann <daniel@iogearbox.net>
10639 Signed-off-by: David S. Miller <davem@davemloft.net>
10640
10641 kernel/bpf/verifier.c | 10 ++++++++++
10642 net/core/filter.c | 5 +++++
10643 2 files changed, 15 insertions(+), 0 deletions(-)
10644
10645 commit c248e115a73496625a1c64660d0eeefd67e55cbf
10646 Author: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
10647 Date: Fri Jan 8 11:00:54 2016 -0200
10648
10649 sctp: fix use-after-free in pr_debug statement
10650
10651 Dmitry Vyukov reported a use-after-free in the code expanded by the
10652 macro debug_post_sfx, which is caused by the use of the asoc pointer
10653 after it was freed within sctp_side_effect() scope.
10654
10655 This patch fixes it by allowing sctp_side_effect to clear that asoc
10656 pointer when the TCB is freed.
10657
10658 As Vlad explained, we also have to cover the SCTP_DISPOSITION_ABORT case
10659 because it will trigger DELETE_TCB too on that same loop.
10660
10661 Also, there were places issuing SCTP_CMD_INIT_FAILED and ASSOC_FAILED
10662 but returning SCTP_DISPOSITION_CONSUME, which would fool the scheme
10663 above. Fix it by returning SCTP_DISPOSITION_ABORT instead.
10664
10665 The macro is already prepared to handle such NULL pointer.
10666
10667 Reported-by: Dmitry Vyukov <dvyukov@google.com>
10668 Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
10669 Acked-by: Vlad Yasevich <vyasevich@gmail.com>
10670 Signed-off-by: David S. Miller <davem@davemloft.net>
10671
10672 net/sctp/sm_sideeffect.c | 11 ++++++-----
10673 net/sctp/sm_statefuns.c | 17 ++++-------------
10674 2 files changed, 10 insertions(+), 18 deletions(-)
10675
10676 commit 395ea8a9e73e184fc14153a033000bccf4213213
10677 Author: willy tarreau <w@1wt.eu>
10678 Date: Sun Jan 10 07:54:56 2016 +0100
10679
10680 unix: properly account for FDs passed over unix sockets
10681
10682 It is possible for a process to allocate and accumulate far more FDs than
10683 the process' limit by sending them over a unix socket then closing them
10684 to keep the process' fd count low.
10685
10686 This change addresses this problem by keeping track of the number of FDs
10687 in flight per user and preventing non-privileged processes from having
10688 more FDs in flight than their configured FD limit.
10689
10690 Reported-by: socketpair@gmail.com
10691 Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
10692 Mitigates: CVE-2013-4312 (Linux 2.0+)
10693 Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
10694 Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
10695 Signed-off-by: Willy Tarreau <w@1wt.eu>
10696 Signed-off-by: David S. Miller <davem@davemloft.net>
10697
10698 include/linux/sched.h | 1 +
10699 net/unix/af_unix.c | 24 ++++++++++++++++++++----
10700 net/unix/garbage.c | 13 ++++++++-----
10701 3 files changed, 29 insertions(+), 9 deletions(-)
10702
10703 commit cb207ab8fbd71dcfc4a49d533aba8085012543fd
10704 Author: Sasha Levin <sasha.levin@oracle.com>
10705 Date: Thu Jan 7 14:52:43 2016 -0500
10706
10707 net: sctp: prevent writes to cookie_hmac_alg from accessing invalid memory
10708
10709 proc_dostring() needs an initialized destination string, while the one
10710 provided in proc_sctp_do_hmac_alg() contains stack garbage.
10711
10712 Thus, writing to cookie_hmac_alg would strlen() that garbage and end up
10713 accessing invalid memory.
10714
10715 Fixes: 3c68198e7 ("sctp: Make hmac algorithm selection for cookie generation dynamic")
10716 Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
10717 Signed-off-by: David S. Miller <davem@davemloft.net>
10718
10719 net/sctp/sysctl.c | 2 +-
10720 1 files changed, 1 insertions(+), 1 deletions(-)
10721
10722 commit 4014e09faf0fe9054119624ccfff1236e886b554
10723 Author: Quentin Casasnovas <quentin.casasnovas@oracle.com>
10724 Date: Tue Nov 24 17:13:21 2015 -0500
10725
10726 RDS: fix race condition when sending a message on unbound socket
10727
10728 commit 8c7188b23474cca017b3ef354c4a58456f68303a upstream.
10729
10730 Sasha's found a NULL pointer dereference in the RDS connection code when
10731 sending a message to an apparently unbound socket. The problem is caused
10732 by the code checking if the socket is bound in rds_sendmsg(), which checks
10733 the rs_bound_addr field without taking a lock on the socket. This opens a
10734 race where rs_bound_addr is temporarily set but where the transport is not
10735 in rds_bind(), leading to a NULL pointer dereference when trying to
10736 dereference 'trans' in __rds_conn_create().
10737
10738 Vegard wrote a reproducer for this issue, so kindly ask him to share if
10739 you're interested.
10740
10741 I cannot reproduce the NULL pointer dereference using Vegard's reproducer
10742 with this patch, whereas I could without.
10743
10744 Complete earlier incomplete fix to CVE-2015-6937:
10745
10746 74e98eb08588 ("RDS: verify the underlying transport exists before creating a connection")
10747
10748 Cc: David S. Miller <davem@davemloft.net>
10749
10750 Reviewed-by: Vegard Nossum <vegard.nossum@oracle.com>
10751 Reviewed-by: Sasha Levin <sasha.levin@oracle.com>
10752 Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
10753 Signed-off-by: Quentin Casasnovas <quentin.casasnovas@oracle.com>
10754 Signed-off-by: David S. Miller <davem@davemloft.net>
10755 Signed-off-by: Jiri Slaby <jslaby@suse.cz>
10756
10757 Conflicts:
10758
10759 net/rds/send.c
10760
10761 net/rds/connection.c | 6 ------
10762 1 files changed, 0 insertions(+), 6 deletions(-)
10763
10764 commit 206df8d01104344d7588d801016a281a4cd25556
10765 Author: Sasha Levin <sasha.levin@oracle.com>
10766 Date: Tue Sep 8 10:53:40 2015 -0400
10767
10768 RDS: verify the underlying transport exists before creating a connection
10769
10770 There was no verification that an underlying transport exists when creating
10771 a connection, this would cause dereferencing a NULL ptr.
10772
10773 It might happen on sockets that weren't properly bound before attempting to
10774 send a message, which will cause a NULL ptr deref:
10775
10776 [135546.047719] kasan: GPF could be caused by NULL-ptr deref or user memory accessgeneral protection fault: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC KASAN
10777 [135546.051270] Modules linked in:
10778 [135546.051781] CPU: 4 PID: 15650 Comm: trinity-c4 Not tainted 4.2.0-next-20150902-sasha-00041-gbaa1222-dirty #2527
10779 [135546.053217] task: ffff8800835bc000 ti: ffff8800bc708000 task.ti: ffff8800bc708000
10780 [135546.054291] RIP: __rds_conn_create (net/rds/connection.c:194)
10781 [135546.055666] RSP: 0018:ffff8800bc70fab0 EFLAGS: 00010202
10782 [135546.056457] RAX: dffffc0000000000 RBX: 0000000000000f2c RCX: ffff8800835bc000
10783 [135546.057494] RDX: 0000000000000007 RSI: ffff8800835bccd8 RDI: 0000000000000038
10784 [135546.058530] RBP: ffff8800bc70fb18 R08: 0000000000000001 R09: 0000000000000000
10785 [135546.059556] R10: ffffed014d7a3a23 R11: ffffed014d7a3a21 R12: 0000000000000000
10786 [135546.060614] R13: 0000000000000001 R14: ffff8801ec3d0000 R15: 0000000000000000
10787 [135546.061668] FS: 00007faad4ffb700(0000) GS:ffff880252000000(0000) knlGS:0000000000000000
10788 [135546.062836] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
10789 [135546.063682] CR2: 000000000000846a CR3: 000000009d137000 CR4: 00000000000006a0
10790 [135546.064723] Stack:
10791 [135546.065048] ffffffffafe2055c ffffffffafe23fc1 ffffed00493097bf ffff8801ec3d0008
10792 [135546.066247] 0000000000000000 00000000000000d0 0000000000000000 ac194a24c0586342
10793 [135546.067438] 1ffff100178e1f78 ffff880320581b00 ffff8800bc70fdd0 ffff880320581b00
10794 [135546.068629] Call Trace:
10795 [135546.069028] ? __rds_conn_create (include/linux/rcupdate.h:856 net/rds/connection.c:134)
10796 [135546.069989] ? rds_message_copy_from_user (net/rds/message.c:298)
10797 [135546.071021] rds_conn_create_outgoing (net/rds/connection.c:278)
10798 [135546.071981] rds_sendmsg (net/rds/send.c:1058)
10799 [135546.072858] ? perf_trace_lock (include/trace/events/lock.h:38)
10800 [135546.073744] ? lockdep_init (kernel/locking/lockdep.c:3298)
10801 [135546.074577] ? rds_send_drop_to (net/rds/send.c:976)
10802 [135546.075508] ? __might_fault (./arch/x86/include/asm/current.h:14 mm/memory.c:3795)
10803 [135546.076349] ? __might_fault (mm/memory.c:3795)
10804 [135546.077179] ? rds_send_drop_to (net/rds/send.c:976)
10805 [135546.078114] sock_sendmsg (net/socket.c:611 net/socket.c:620)
10806 [135546.078856] SYSC_sendto (net/socket.c:1657)
10807 [135546.079596] ? SYSC_connect (net/socket.c:1628)
10808 [135546.080510] ? trace_dump_stack (kernel/trace/trace.c:1926)
10809 [135546.081397] ? ring_buffer_unlock_commit (kernel/trace/ring_buffer.c:2479 kernel/trace/ring_buffer.c:2558 kernel/trace/ring_buffer.c:2674)
10810 [135546.082390] ? trace_buffer_unlock_commit (kernel/trace/trace.c:1749)
10811 [135546.083410] ? trace_event_raw_event_sys_enter (include/trace/events/syscalls.h:16)
10812 [135546.084481] ? do_audit_syscall_entry (include/trace/events/syscalls.h:16)
10813 [135546.085438] ? trace_buffer_unlock_commit (kernel/trace/trace.c:1749)
10814 [135546.085515] rds_ib_laddr_check(): addr 36.74.25.172 ret -99 node type -1
10815
10816 Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
10817 Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
10818 Signed-off-by: David S. Miller <davem@davemloft.net>
10819
10820 net/rds/connection.c | 6 ++++++
10821 1 files changed, 6 insertions(+), 0 deletions(-)
10822
10823 commit 173fa03f05cf0ad485d49a42cbdee8844d3a689a
10824 Author: Steven Rostedt (Red Hat) <rostedt@goodmis.org>
10825 Date: Tue Jan 5 20:32:47 2016 -0500
10826
10827 ftrace/module: Call clean up function when module init fails early
10828
10829 If the module init code fails after calling ftrace_module_init() and before
10830 calling do_init_module(), we can suffer from a memory leak. This is because
10831 ftrace_module_init() allocates pages to store the locations that ftrace
10832 hooks are placed in the module text. If do_init_module() fails, it still
10833 calls the MODULE_GOING notifiers which will tell ftrace to do a clean up of
10834 the pages it allocated for the module. But if load_module() fails before
10835 then, the pages allocated by ftrace_module_init() will never be freed.
10836
10837 Call ftrace_release_mod() on the module if load_module() fails before
10838 getting to do_init_module().
10839
10840 Link: http://lkml.kernel.org/r/567CEA31.1070507@intel.com
10841
10842 Reported-by: "Qiu, PeiyangX" <peiyangx.qiu@intel.com>
10843 Fixes: a949ae560a511 "ftrace/module: Hardcode ftrace_module_init() call into load_module()"
10844 Cc: stable@vger.kernel.org # v2.6.38+
10845 Acked-by: Rusty Russell <rusty@rustcorp.com.au>
10846 Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
10847
10848 include/linux/ftrace.h | 1 +
10849 kernel/module.c | 6 ++++++
10850 2 files changed, 7 insertions(+), 0 deletions(-)
10851
10852 commit 1e5a4a81a4c16c8ac2e264b88a02cc2f42ed0399
10853 Author: Francesco Ruggeri <fruggeri@aristanetworks.com>
10854 Date: Wed Jan 6 00:18:48 2016 -0800
10855
10856 net: possible use after free in dst_release
10857
10858 dst_release should not access dst->flags after decrementing
10859 __refcnt to 0. The dst_entry may be in dst_busy_list and
10860 dst_gc_task may dst_destroy it before dst_release gets a chance
10861 to access dst->flags.
10862
10863 Fixes: d69bbf88c8d0 ("net: fix a race in dst_release()")
10864 Fixes: 27b75c95f10d ("net: avoid RCU for NOCACHE dst")
10865 Signed-off-by: Francesco Ruggeri <fruggeri@arista.com>
10866 Acked-by: Eric Dumazet <edumazet@google.com>
10867 Signed-off-by: David S. Miller <davem@davemloft.net>
10868
10869 net/core/dst.c | 3 ++-
10870 1 files changed, 2 insertions(+), 1 deletions(-)
10871
10872 commit bfb0455793dd4e0f0b49d34a68b3249ab55565cc
10873 Author: Alan <gnomes@lxorguk.ukuu.org.uk>
10874 Date: Wed Jan 6 14:55:02 2016 +0000
10875
10876 mkiss: fix scribble on freed memory
10877
10878 commit d79f16c046086f4fe0d42184a458e187464eb83e fixed a user triggerable
10879 scribble on free memory but added a new one which allows the user to
10880 scribble even more and user controlled data into freed space.
10881
10882 As with 6pack we need to halt the queue before we free the buffers, because
10883 the transmit logic is not protected by the semaphore.
10884
10885 Signed-off-by: Alan Cox <alan@linux.intel.com>
10886 Signed-off-by: David S. Miller <davem@davemloft.net>
10887
10888 drivers/net/hamradio/mkiss.c | 5 +++++
10889 1 files changed, 5 insertions(+), 0 deletions(-)
10890
10891 commit 5cbbcbd32dc1949470f61d342503808fa9555276
10892 Author: David Miller <davem@davemloft.net>
10893 Date: Thu Dec 17 16:05:49 2015 -0500
10894
10895 mkiss: Fix use after free in mkiss_close().
10896
10897 Need to do the unregister_device() after all references to the driver
10898 private have been done.
10899
10900 Signed-off-by: David S. Miller <davem@davemloft.net>
10901
10902 drivers/net/hamradio/mkiss.c | 4 ++--
10903 1 files changed, 2 insertions(+), 2 deletions(-)
10904
10905 commit b00171576794a98068e069a660f0991a6a5190ff
10906 Author: One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
10907 Date: Tue Jan 5 11:51:25 2016 +0000
10908
10909 6pack: fix free memory scribbles
10910
10911 commit acf673a3187edf72068ee2f92f4dc47d66baed47 fixed a user triggerable free
10912 memory scribble but in doing so replaced it with a different one that allows
10913 the user to control the data and scribble even more.
10914
10915 sixpack_close is called by the tty layer in tty context. The tty context is
10916 protected by sp_get() and sp_put(). However network layer activity via
10917 sp_xmit() is not protected this way. We must therefore stop the queue
10918 otherwise the user gets to dump a buffer mostly of their choice into freed
10919 kernel pages.
10920
10921 Signed-off-by: Alan Cox <alan@linux.intel.com>
10922 Signed-off-by: David S. Miller <davem@davemloft.net>
10923
10924 drivers/net/hamradio/6pack.c | 6 ++++++
10925 1 files changed, 6 insertions(+), 0 deletions(-)
10926
10927 commit 5b64a833907cd230a3106aeba2304b2c1bcd116d
10928 Author: David Miller <davem@davemloft.net>
10929 Date: Thu Dec 17 16:05:32 2015 -0500
10930
10931 6pack: Fix use after free in sixpack_close().
10932
10933 Need to do the unregister_device() after all references to the driver
10934 private have been done.
10935
10936 Also we need to use del_timer_sync() for the timers so that we don't
10937 have any asynchronous references after the unregister.
10938
10939 Signed-off-by: David S. Miller <davem@davemloft.net>
10940
10941 drivers/net/hamradio/6pack.c | 8 ++++----
10942 1 files changed, 4 insertions(+), 4 deletions(-)
10943
10944 commit 4f9d532742656b3613d579220fd10c78f24ba37b
10945 Author: Rabin Vincent <rabin@rab.in>
10946 Date: Tue Jan 5 16:23:07 2016 +0100
10947
10948 net: filter: make JITs zero A for SKF_AD_ALU_XOR_X
10949
10950 The SKF_AD_ALU_XOR_X ancillary is not like the other ancillary data
10951 instructions since it XORs A with X while all the others replace A with
10952 some loaded value. All the BPF JITs fail to clear A if this is used as
10953 the first instruction in a filter. This was found using american fuzzy
10954 lop.
10955
10956 Add a helper to determine if A needs to be cleared given the first
10957 instruction in a filter, and use this in the JITs. Except for ARM, the
10958 rest have only been compile-tested.
10959
10960 Fixes: 3480593131e0 ("net: filter: get rid of BPF_S_* enum")
10961 Signed-off-by: Rabin Vincent <rabin@rab.in>
10962 Acked-by: Daniel Borkmann <daniel@iogearbox.net>
10963 Acked-by: Alexei Starovoitov <ast@kernel.org>
10964 Signed-off-by: David S. Miller <davem@davemloft.net>
10965
10966 arch/arm/net/bpf_jit_32.c | 16 +---------------
10967 arch/mips/net/bpf_jit.c | 16 +---------------
10968 arch/powerpc/net/bpf_jit_comp.c | 13 ++-----------
10969 arch/sparc/net/bpf_jit_comp.c | 17 ++---------------
10970 include/linux/filter.h | 19 +++++++++++++++++++
10971 5 files changed, 25 insertions(+), 56 deletions(-)
10972
10973 commit 570d88f8acfffda92b89ae2e1c47320d47256034
10974 Author: John Fastabend <john.fastabend@gmail.com>
10975 Date: Tue Jan 5 09:11:36 2016 -0800
10976
10977 net: sched: fix missing free per cpu on qstats
10978
10979 When a qdisc is using per cpu stats (currently just the ingress
10980 qdisc) only the bstats are being freed. This also free's the qstats.
10981
10982 Fixes: b0ab6f92752b9f9d8 ("net: sched: enable per cpu qstats")
10983 Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
10984 Acked-by: Eric Dumazet <edumazet@google.com>
10985 Acked-by: Daniel Borkmann <daniel@iogearbox.net>
10986 Signed-off-by: David S. Miller <davem@davemloft.net>
10987
10988 net/sched/sch_generic.c | 4 +++-
10989 1 files changed, 3 insertions(+), 1 deletions(-)
10990
10991 commit 32c0ebc51857ee83470a10dcb234d308a0ed1881
10992 Author: Rabin Vincent <rabin@rab.in>
10993 Date: Tue Jan 5 18:34:04 2016 +0100
10994
10995 ARM: net: bpf: fix zero right shift
10996
10997 The LSR instruction cannot be used to perform a zero right shift since a
10998 0 as the immediate value (imm5) in the LSR instruction encoding means
10999 that a shift of 32 is perfomed. See DecodeIMMShift() in the ARM ARM.
11000
11001 Make the JIT skip generation of the LSR if a zero-shift is requested.
11002
11003 This was found using american fuzzy lop.
11004
11005 Signed-off-by: Rabin Vincent <rabin@rab.in>
11006 Acked-by: Alexei Starovoitov <ast@kernel.org>
11007 Signed-off-by: David S. Miller <davem@davemloft.net>
11008
11009 arch/arm/net/bpf_jit_32.c | 3 ++-
11010 1 files changed, 2 insertions(+), 1 deletions(-)
11011
11012 commit 51f5d291750285efa4d4bbe84e5ec23dc00c8d2d
11013 Author: Brad Spengler <spender@grsecurity.net>
11014 Date: Wed Jan 6 20:35:57 2016 -0500
11015
11016 Don't perform hidden lookups in RBAC against the directory of
11017 a file being opened with O_CREAT, reported by Karl Witt
11018
11019 Conflicts:
11020
11021 fs/namei.c
11022
11023 fs/namei.c | 3 ---
11024 1 files changed, 0 insertions(+), 3 deletions(-)
11025
11026 commit 5a8266a6b2769ccdb447256f95bc2577a73cccd1
11027 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
11028 Date: Tue Jan 5 10:46:00 2016 +0100
11029
11030 bridge: Only call /sbin/bridge-stp for the initial network namespace
11031
11032 [I stole this patch from Eric Biederman. He wrote:]
11033
11034 > There is no defined mechanism to pass network namespace information
11035 > into /sbin/bridge-stp therefore don't even try to invoke it except
11036 > for bridge devices in the initial network namespace.
11037 >
11038 > It is possible for unprivileged users to cause /sbin/bridge-stp to be
11039 > invoked for any network device name which if /sbin/bridge-stp does not
11040 > guard against unreasonable arguments or being invoked twice on the
11041 > same network device could cause problems.
11042
11043 [Hannes: changed patch using netns_eq]
11044
11045 Cc: Eric W. Biederman <ebiederm@xmission.com>
11046 Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
11047 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
11048 Signed-off-by: David S. Miller <davem@davemloft.net>
11049
11050 net/bridge/br_stp_if.c | 5 ++++-
11051 1 files changed, 4 insertions(+), 1 deletions(-)
11052
11053 commit 650d535cc39f0aeff2f57e60b6617be25d3ef48b
11054 Author: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
11055 Date: Wed Dec 23 16:28:40 2015 -0200
11056
11057 sctp: use GFP_USER for user-controlled kmalloc
11058
11059 Commit cacc06215271 ("sctp: use GFP_USER for user-controlled kmalloc")
11060 missed two other spots.
11061
11062 For connectx, as it's more likely to be used by kernel users of the API,
11063 it detects if GFP_USER should be used or not.
11064
11065 Fixes: cacc06215271 ("sctp: use GFP_USER for user-controlled kmalloc")
11066 Reported-by: Dmitry Vyukov <dvyukov@google.com>
11067 Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
11068 Signed-off-by: David S. Miller <davem@davemloft.net>
11069
11070 net/sctp/socket.c | 9 ++++++---
11071 1 files changed, 6 insertions(+), 3 deletions(-)
11072
11073 commit 5718a1f63c41fc156f729783423b002763779d04
11074 Author: Florian Westphal <fw@strlen.de>
11075 Date: Thu Dec 31 14:26:33 2015 +0100
11076
11077 connector: bump skb->users before callback invocation
11078
11079 Dmitry reports memleak with syskaller program.
11080 Problem is that connector bumps skb usecount but might not invoke callback.
11081
11082 So move skb_get to where we invoke the callback.
11083
11084 Reported-by: Dmitry Vyukov <dvyukov@google.com>
11085 Signed-off-by: Florian Westphal <fw@strlen.de>
11086 Signed-off-by: David S. Miller <davem@davemloft.net>
11087
11088 drivers/connector/connector.c | 11 +++--------
11089 1 files changed, 3 insertions(+), 8 deletions(-)
11090
11091 commit 2e6372e6a97f8d642416899861f91777f44f13b7
11092 Author: Rainer Weikusat <rweikusat@mobileactivedefense.com>
11093 Date: Sun Jan 3 18:56:38 2016 +0000
11094
11095 af_unix: Fix splice-bind deadlock
11096
11097 On 2015/11/06, Dmitry Vyukov reported a deadlock involving the splice
11098 system call and AF_UNIX sockets,
11099
11100 http://lists.openwall.net/netdev/2015/11/06/24
11101
11102 The situation was analyzed as
11103
11104 (a while ago) A: socketpair()
11105 B: splice() from a pipe to /mnt/regular_file
11106 does sb_start_write() on /mnt
11107 C: try to freeze /mnt
11108 wait for B to finish with /mnt
11109 A: bind() try to bind our socket to /mnt/new_socket_name
11110 lock our socket, see it not bound yet
11111 decide that it needs to create something in /mnt
11112 try to do sb_start_write() on /mnt, block (it's
11113 waiting for C).
11114 D: splice() from the same pipe to our socket
11115 lock the pipe, see that socket is connected
11116 try to lock the socket, block waiting for A
11117 B: get around to actually feeding a chunk from
11118 pipe to file, try to lock the pipe. Deadlock.
11119
11120 on 2015/11/10 by Al Viro,
11121
11122 http://lists.openwall.net/netdev/2015/11/10/4
11123
11124 The patch fixes this by removing the kern_path_create related code from
11125 unix_mknod and executing it as part of unix_bind prior acquiring the
11126 readlock of the socket in question. This means that A (as used above)
11127 will sb_start_write on /mnt before it acquires the readlock, hence, it
11128 won't indirectly block B which first did a sb_start_write and then
11129 waited for a thread trying to acquire the readlock. Consequently, A
11130 being blocked by C waiting for B won't cause a deadlock anymore
11131 (effectively, both A and B acquire two locks in opposite order in the
11132 situation described above).
11133
11134 Dmitry Vyukov(<dvyukov@google.com>) tested the original patch.
11135
11136 Signed-off-by: Rainer Weikusat <rweikusat@mobileactivedefense.com>
11137 Signed-off-by: David S. Miller <davem@davemloft.net>
11138
11139 Conflicts:
11140
11141 net/unix/af_unix.c
11142
11143 net/unix/af_unix.c | 70 +++++++++++++++++++++++++++++++--------------------
11144 1 files changed, 42 insertions(+), 28 deletions(-)
11145
11146 commit 2e729e557c571f3253e32472cd7d382ac16cf1c3
11147 Author: Qiu Peiyang <peiyangx.qiu@intel.com>
11148 Date: Thu Dec 31 13:11:28 2015 +0800
11149
11150 tracing: Fix setting of start_index in find_next()
11151
11152 When we do cat /sys/kernel/debug/tracing/printk_formats, we hit kernel
11153 panic at t_show.
11154
11155 general protection fault: 0000 [#1] PREEMPT SMP
11156 CPU: 0 PID: 2957 Comm: sh Tainted: G W O 3.14.55-x86_64-01062-gd4acdc7 #2
11157 RIP: 0010:[<ffffffff811375b2>]
11158 [<ffffffff811375b2>] t_show+0x22/0xe0
11159 RSP: 0000:ffff88002b4ebe80 EFLAGS: 00010246
11160 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000004
11161 RDX: 0000000000000004 RSI: ffffffff81fd26a6 RDI: ffff880032f9f7b1
11162 RBP: ffff88002b4ebe98 R08: 0000000000001000 R09: 000000000000ffec
11163 R10: 0000000000000000 R11: 000000000000000f R12: ffff880004d9b6c0
11164 R13: 7365725f6d706400 R14: ffff880004d9b6c0 R15: ffffffff82020570
11165 FS: 0000000000000000(0000) GS:ffff88003aa00000(0063) knlGS:00000000f776bc40
11166 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
11167 CR2: 00000000f6c02ff0 CR3: 000000002c2b3000 CR4: 00000000001007f0
11168 Call Trace:
11169 [<ffffffff811dc076>] seq_read+0x2f6/0x3e0
11170 [<ffffffff811b749b>] vfs_read+0x9b/0x160
11171 [<ffffffff811b7f69>] SyS_read+0x49/0xb0
11172 [<ffffffff81a3a4b9>] ia32_do_call+0x13/0x13
11173 ---[ end trace 5bd9eb630614861e ]---
11174 Kernel panic - not syncing: Fatal exception
11175
11176 When the first time find_next calls find_next_mod_format, it should
11177 iterate the trace_bprintk_fmt_list to find the first print format of
11178 the module. However in current code, start_index is smaller than *pos
11179 at first, and code will not iterate the list. Latter container_of will
11180 get the wrong address with former v, which will cause mod_fmt be a
11181 meaningless object and so is the returned mod_fmt->fmt.
11182
11183 This patch will fix it by correcting the start_index. After fixed,
11184 when the first time calls find_next_mod_format, start_index will be
11185 equal to *pos, and code will iterate the trace_bprintk_fmt_list to
11186 get the right module printk format, so is the returned mod_fmt->fmt.
11187
11188 Link: http://lkml.kernel.org/r/5684B900.9000309@intel.com
11189
11190 Cc: stable@vger.kernel.org # 3.12+
11191 Fixes: 102c9323c35a8 "tracing: Add __tracepoint_string() to export string pointers"
11192 Signed-off-by: Qiu Peiyang <peiyangx.qiu@intel.com>
11193 Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
11194
11195 kernel/trace/trace_printk.c | 1 +
11196 1 files changed, 1 insertions(+), 0 deletions(-)
11197
11198 commit 0994af4b1930f32aa493dc08145cd304f8bfc8f4
11199 Author: Al Viro <viro@zeniv.linux.org.uk>
11200 Date: Mon Dec 28 20:47:08 2015 -0500
11201
11202 [PATCH] arm: fix handling of F_OFD_... in oabi_fcntl64()
11203
11204 Cc: stable@vger.kernel.org # 3.15+
11205 Reviewed-by: Jeff Layton <jeff.layton@primarydata.com>
11206 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
11207
11208 arch/arm/kernel/sys_oabi-compat.c | 73 +++++++++++++++++++------------------
11209 1 files changed, 37 insertions(+), 36 deletions(-)
11210
11211 commit 4ed030f65dcf3e6b0128032a49a7d75f947fa351
11212 Merge: de243c2 3adc55a
11213 Author: Brad Spengler <spender@grsecurity.net>
11214 Date: Tue Jan 5 18:10:10 2016 -0500
11215
11216 Merge branch 'pax-test' into grsec-test
11217
11218 commit 3adc55a5acfa429c2a7cc883aef08b960c0079b0
11219 Author: Brad Spengler <spender@grsecurity.net>
11220 Date: Tue Jan 5 18:08:53 2016 -0500
11221
11222 Update to pax-linux-4.3.3-test16.patch:
11223 - small cleanup in entry_64.S on x86
11224 - Emese fixed the initify plugin to recursively check variable initializers, reported by Rasmus Villemoes
11225 - 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)
11226 - 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)
11227 - 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)
11228 - 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)
11229
11230 arch/x86/entry/entry_64.S | 60 +++++-----
11231 arch/x86/kernel/alternative.c | 2 +-
11232 arch/x86/kvm/emulate.c | 4 +-
11233 tools/gcc/initify_plugin.c | 123 +++++++++----------
11234 .../disable_size_overflow_hash.data | 4 +-
11235 .../size_overflow_plugin/size_overflow_hash.data | 2 -
11236 6 files changed, 93 insertions(+), 102 deletions(-)
11237
11238 commit de243c26efd0e423ca92db825af2c3f8eb1ca043
11239 Author: Brad Spengler <spender@grsecurity.net>
11240 Date: Tue Dec 29 18:01:24 2015 -0500
11241
11242 It was noticed during an internal audit that the code under GRKERNSEC_PROC_MEMMAP
11243 which aimed to enforce a 16MB minimum on RLIMIT_DATA for suid/sgid binaries only
11244 did so if RLIMIT_DATA was set lower than PAGE_SIZE.
11245
11246 This addition was only supplemental as GRKERNSEC_BRUTE is the main defense
11247 against suid/sgid attacks and the flaw above would only eliminate the extra
11248 entropy provided for the brk-managed heap, still leaving it with the minimum
11249 of 16-bit entropy for mmap on x86 and 28 on x64.
11250
11251 mm/mmap.c | 2 +-
11252 1 files changed, 1 insertions(+), 1 deletions(-)
11253
11254 commit 8e264cfe47e5f08cdc9ed009a630277206cd2534
11255 Merge: 436201b 2584340
11256 Author: Brad Spengler <spender@grsecurity.net>
11257 Date: Mon Dec 28 20:30:01 2015 -0500
11258
11259 Merge branch 'pax-test' into grsec-test
11260
11261 commit 2584340eab494e64ec1bf9eb5b0d1ae31f926306
11262 Author: Brad Spengler <spender@grsecurity.net>
11263 Date: Mon Dec 28 20:29:28 2015 -0500
11264
11265 Update to pax-linux-4.3.3-test14.patch:
11266 - 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)
11267 - fixed shutdown crash with tboot and KERNEXEC, reported by perfinion
11268 - fixed a few false positive and one real size overflow reports in hyperv, reported by hunger
11269 - fixed compile regressions on armv5, reported by iamb (https://forums.grsecurity.net/viewtopic.php?f=3&t=4350)
11270 - fixed an assert in the initify plugin that triggered in vic_register on arm
11271
11272 arch/arm/include/asm/atomic.h | 7 +++++--
11273 arch/arm/include/asm/domain.h | 5 ++---
11274 arch/x86/kernel/tboot.c | 14 +++++++++-----
11275 drivers/hv/channel.c | 4 +---
11276 drivers/i2c/busses/i2c-designware-pcidrv.c | 2 +-
11277 drivers/net/hyperv/rndis_filter.c | 3 +--
11278 fs/exec.c | 4 ++--
11279 include/linux/atomic.h | 15 ---------------
11280 net/core/skbuff.c | 3 ++-
11281 tools/gcc/initify_plugin.c | 4 +++-
11282 10 files changed, 26 insertions(+), 35 deletions(-)
11283
11284 commit 436201b6626b488d173c8076447000077c27b84a
11285 Author: David Howells <dhowells@redhat.com>
11286 Date: Fri Dec 18 01:34:26 2015 +0000
11287
11288 KEYS: Fix race between read and revoke
11289
11290 This fixes CVE-2015-7550.
11291
11292 There's a race between keyctl_read() and keyctl_revoke(). If the revoke
11293 happens between keyctl_read() checking the validity of a key and the key's
11294 semaphore being taken, then the key type read method will see a revoked key.
11295
11296 This causes a problem for the user-defined key type because it assumes in
11297 its read method that there will always be a payload in a non-revoked key
11298 and doesn't check for a NULL pointer.
11299
11300 Fix this by making keyctl_read() check the validity of a key after taking
11301 semaphore instead of before.
11302
11303 I think the bug was introduced with the original keyrings code.
11304
11305 This was discovered by a multithreaded test program generated by syzkaller
11306 (http://github.com/google/syzkaller). Here's a cleaned up version:
11307
11308 #include <sys/types.h>
11309 #include <keyutils.h>
11310 #include <pthread.h>
11311 void *thr0(void *arg)
11312 {
11313 key_serial_t key = (unsigned long)arg;
11314 keyctl_revoke(key);
11315 return 0;
11316 }
11317 void *thr1(void *arg)
11318 {
11319 key_serial_t key = (unsigned long)arg;
11320 char buffer[16];
11321 keyctl_read(key, buffer, 16);
11322 return 0;
11323 }
11324 int main()
11325 {
11326 key_serial_t key = add_key("user", "%", "foo", 3, KEY_SPEC_USER_KEYRING);
11327 pthread_t th[5];
11328 pthread_create(&th[0], 0, thr0, (void *)(unsigned long)key);
11329 pthread_create(&th[1], 0, thr1, (void *)(unsigned long)key);
11330 pthread_create(&th[2], 0, thr0, (void *)(unsigned long)key);
11331 pthread_create(&th[3], 0, thr1, (void *)(unsigned long)key);
11332 pthread_join(th[0], 0);
11333 pthread_join(th[1], 0);
11334 pthread_join(th[2], 0);
11335 pthread_join(th[3], 0);
11336 return 0;
11337 }
11338
11339 Build as:
11340
11341 cc -o keyctl-race keyctl-race.c -lkeyutils -lpthread
11342
11343 Run as:
11344
11345 while keyctl-race; do :; done
11346
11347 as it may need several iterations to crash the kernel. The crash can be
11348 summarised as:
11349
11350 BUG: unable to handle kernel NULL pointer dereference at 0000000000000010
11351 IP: [<ffffffff81279b08>] user_read+0x56/0xa3
11352 ...
11353 Call Trace:
11354 [<ffffffff81276aa9>] keyctl_read_key+0xb6/0xd7
11355 [<ffffffff81277815>] SyS_keyctl+0x83/0xe0
11356 [<ffffffff815dbb97>] entry_SYSCALL_64_fastpath+0x12/0x6f
11357
11358 Reported-by: Dmitry Vyukov <dvyukov@google.com>
11359 Signed-off-by: David Howells <dhowells@redhat.com>
11360 Tested-by: Dmitry Vyukov <dvyukov@google.com>
11361 Cc: stable@vger.kernel.org
11362 Signed-off-by: James Morris <james.l.morris@oracle.com>
11363
11364 security/keys/keyctl.c | 18 +++++++++---------
11365 1 files changed, 9 insertions(+), 9 deletions(-)
11366
11367 commit 195cea04477025da4a2078bd3e1fb7c4e11206c2
11368 Author: Brad Spengler <spender@grsecurity.net>
11369 Date: Tue Dec 22 20:44:01 2015 -0500
11370
11371 Add new kernel command-line param: pax_size_overflow_report_only
11372 If a user triggers a size_overflow violation that makes it difficult
11373 to obtain the call trace without serial console/net console, they can
11374 use this option to provide that information to us
11375
11376 Documentation/kernel-parameters.txt | 5 +++++
11377 fs/exec.c | 12 +++++++++---
11378 init/main.c | 11 +++++++++++
11379 3 files changed, 25 insertions(+), 3 deletions(-)
11380
11381 commit 4254a8da5851df8c08cdca5c392916e8c105408d
11382 Author: WANG Cong <xiyou.wangcong@gmail.com>
11383 Date: Mon Dec 21 10:55:45 2015 -0800
11384
11385 addrconf: always initialize sysctl table data
11386
11387 When sysctl performs restrict writes, it allows to write from
11388 a middle position of a sysctl file, which requires us to initialize
11389 the table data before calling proc_dostring() for the write case.
11390
11391 Fixes: 3d1bec99320d ("ipv6: introduce secret_stable to ipv6_devconf")
11392 Reported-by: Sasha Levin <sasha.levin@oracle.com>
11393 Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
11394 Tested-by: Sasha Levin <sasha.levin@oracle.com>
11395 Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
11396 Signed-off-by: David S. Miller <davem@davemloft.net>
11397
11398 net/ipv6/addrconf.c | 11 ++++-------
11399 1 files changed, 4 insertions(+), 7 deletions(-)
11400
11401 commit f8002863fb06c363180637046947a78a6ccb3d33
11402 Author: WANG Cong <xiyou.wangcong@gmail.com>
11403 Date: Wed Dec 16 23:39:04 2015 -0800
11404
11405 net: check both type and procotol for tcp sockets
11406
11407 Dmitry reported the following out-of-bound access:
11408
11409 Call Trace:
11410 [<ffffffff816cec2e>] __asan_report_load4_noabort+0x3e/0x40
11411 mm/kasan/report.c:294
11412 [<ffffffff84affb14>] sock_setsockopt+0x1284/0x13d0 net/core/sock.c:880
11413 [< inline >] SYSC_setsockopt net/socket.c:1746
11414 [<ffffffff84aed7ee>] SyS_setsockopt+0x1fe/0x240 net/socket.c:1729
11415 [<ffffffff85c18c76>] entry_SYSCALL_64_fastpath+0x16/0x7a
11416 arch/x86/entry/entry_64.S:185
11417
11418 This is because we mistake a raw socket as a tcp socket.
11419 We should check both sk->sk_type and sk->sk_protocol to ensure
11420 it is a tcp socket.
11421
11422 Willem points out __skb_complete_tx_timestamp() needs to fix as well.
11423
11424 Reported-by: Dmitry Vyukov <dvyukov@google.com>
11425 Cc: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
11426 Cc: Eric Dumazet <eric.dumazet@gmail.com>
11427 Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
11428 Acked-by: Willem de Bruijn <willemb@google.com>
11429 Signed-off-by: David S. Miller <davem@davemloft.net>
11430
11431 net/core/skbuff.c | 3 ++-
11432 net/core/sock.c | 3 ++-
11433 2 files changed, 4 insertions(+), 2 deletions(-)
11434
11435 commit bd6b3399804470a4ad8f34229469ca149dceba3d
11436 Author: Colin Ian King <colin.king@canonical.com>
11437 Date: Fri Dec 18 14:22:01 2015 -0800
11438
11439 proc: fix -ESRCH error when writing to /proc/$pid/coredump_filter
11440
11441 Writing to /proc/$pid/coredump_filter always returns -ESRCH because commit
11442 774636e19ed51 ("proc: convert to kstrto*()/kstrto*_from_user()") removed
11443 the setting of ret after the get_proc_task call and incorrectly left it as
11444 -ESRCH. Instead, return 0 when successful.
11445
11446 Example breakage:
11447
11448 echo 0 > /proc/self/coredump_filter
11449 bash: echo: write error: No such process
11450
11451 Fixes: 774636e19ed51 ("proc: convert to kstrto*()/kstrto*_from_user()")
11452 Signed-off-by: Colin Ian King <colin.king@canonical.com>
11453 Acked-by: Kees Cook <keescook@chromium.org>
11454 Cc: <stable@vger.kernel.org> [4.3+]
11455 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
11456 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
11457
11458 fs/proc/base.c | 1 +
11459 1 files changed, 1 insertions(+), 0 deletions(-)
11460
11461 commit b28aca2b99ed08546778355fb9402c503ff9b29e
11462 Author: Junichi Nomura <j-nomura@ce.jp.nec.com>
11463 Date: Tue Dec 22 10:23:44 2015 -0700
11464
11465 block: ensure to split after potentially bouncing a bio
11466
11467 blk_queue_bio() does split then bounce, which makes the segment
11468 counting based on pages before bouncing and could go wrong. Move
11469 the split to after bouncing, like we do for blk-mq, and the we
11470 fix the issue of having the bio count for segments be wrong.
11471
11472 Fixes: 54efd50bfd87 ("block: make generic_make_request handle arbitrarily sized bios")
11473 Cc: stable@vger.kernel.org
11474 Tested-by: Artem S. Tashkinov <t.artem@lycos.com>
11475 Signed-off-by: Jens Axboe <axboe@fb.com>
11476
11477 block/blk-core.c | 4 ++--
11478 1 files changed, 2 insertions(+), 2 deletions(-)
11479
11480 commit e62a25e917a9e5b35ddd5b4f1b5e5e30fbd2e84c
11481 Merge: f6f63ae ec72fa5
11482 Author: Brad Spengler <spender@grsecurity.net>
11483 Date: Tue Dec 22 19:46:26 2015 -0500
11484
11485 Merge branch 'pax-test' into grsec-test
11486
11487 commit ec72fa5f8d9cb4e223bad1b8b5c2e1071c222f2a
11488 Author: Brad Spengler <spender@grsecurity.net>
11489 Date: Tue Dec 22 19:45:51 2015 -0500
11490
11491 Update to pax-linux-4.3.3-test13.patch:
11492 - 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)
11493 - 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)
11494
11495 arch/arm/mm/fault.c | 2 +-
11496 arch/x86/mm/fault.c | 2 +-
11497 fs/btrfs/extent_map.c | 8 ++++++--
11498 fs/xfs/libxfs/xfs_da_btree.c | 4 +++-
11499 4 files changed, 11 insertions(+), 5 deletions(-)
11500
11501 commit f6f63ae154cd45028add1dc41957878060d77fbf
11502 Author: Brad Spengler <spender@grsecurity.net>
11503 Date: Thu Dec 17 18:43:44 2015 -0500
11504
11505 ptrace_has_cap() checks whether the current process should be
11506 treated as having a certain capability for ptrace checks
11507 against another process. Until now, this was equivalent to
11508 has_ns_capability(current, target_ns, CAP_SYS_PTRACE).
11509
11510 However, if a root-owned process wants to enter a user
11511 namespace for some reason without knowing who owns it and
11512 therefore can't change to the namespace owner's uid and gid
11513 before entering, as soon as it has entered the namespace,
11514 the namespace owner can attach to it via ptrace and thereby
11515 gain access to its uid and gid.
11516
11517 While it is possible for the entering process to switch to
11518 the uid of a claimed namespace owner before entering,
11519 causing the attempt to enter to fail if the claimed uid is
11520 wrong, this doesn't solve the problem of determining an
11521 appropriate gid.
11522
11523 With this change, the entering process can first enter the
11524 namespace and then safely inspect the namespace's
11525 properties, e.g. through /proc/self/{uid_map,gid_map},
11526 assuming that the namespace owner doesn't have access to
11527 uid 0.
11528 Signed-off-by: Jann Horn <jann@thejh.net>
11529
11530 kernel/ptrace.c | 30 +++++++++++++++++++++++++-----
11531 1 files changed, 25 insertions(+), 5 deletions(-)
11532
11533 commit e314f0fb63020f61543b401ff594e953c2c304e5
11534 Author: tadeusz.struk@intel.com <tadeusz.struk@intel.com>
11535 Date: Tue Dec 15 10:46:17 2015 -0800
11536
11537 net: fix uninitialized variable issue
11538
11539 msg_iocb needs to be initialized on the recv/recvfrom path.
11540 Otherwise afalg will wrongly interpret it as an async call.
11541
11542 Cc: stable@vger.kernel.org
11543 Reported-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
11544 Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
11545 Signed-off-by: David S. Miller <davem@davemloft.net>
11546
11547 net/socket.c | 1 +
11548 1 files changed, 1 insertions(+), 0 deletions(-)
11549
11550 commit a3f56a43ad56b8fcaf04f6327636ed2f5970de3b
11551 Merge: dfa764c 142edcf
11552 Author: Brad Spengler <spender@grsecurity.net>
11553 Date: Wed Dec 16 21:01:17 2015 -0500
11554
11555 Merge branch 'pax-test' into grsec-test
11556
11557 commit 142edcf1005a57fb8887823565cf0bafad2f313c
11558 Author: Brad Spengler <spender@grsecurity.net>
11559 Date: Wed Dec 16 21:00:57 2015 -0500
11560
11561 Update to pax-linux-4.3.3-test12.patch:
11562 - 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)
11563 - 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)
11564
11565 drivers/tty/n_tty.c | 16 ++++++++--------
11566 .../disable_size_overflow_hash.data | 2 ++
11567 .../size_overflow_plugin/size_overflow_hash.data | 6 ++----
11568 3 files changed, 12 insertions(+), 12 deletions(-)
11569
11570 commit dfa764cc549892a5bfc1083cac78b99032cae577
11571 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
11572 Date: Tue Dec 15 22:59:12 2015 +0100
11573
11574 ipv6: automatically enable stable privacy mode if stable_secret set
11575
11576 Bjørn reported that while we switch all interfaces to privacy stable mode
11577 when setting the secret, we don't set this mode for new interfaces. This
11578 does not make sense, so change this behaviour.
11579
11580 Fixes: 622c81d57b392cc ("ipv6: generation of stable privacy addresses for link-local and autoconf")
11581 Reported-by: Bjørn Mork <bjorn@mork.no>
11582 Cc: Bjørn Mork <bjorn@mork.no>
11583 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
11584 Signed-off-by: David S. Miller <davem@davemloft.net>
11585
11586 net/ipv6/addrconf.c | 6 ++++++
11587 1 files changed, 6 insertions(+), 0 deletions(-)
11588
11589 commit c2815a1fee03f222273e77c14e43f960da06f35a
11590 Author: Brad Spengler <spender@grsecurity.net>
11591 Date: Wed Dec 16 13:03:38 2015 -0500
11592
11593 Work around upstream limitation on the number of thread info flags causing a compilation error
11594 Reported by fabled at http://forums.grsecurity.net/viewtopic.php?f=3&t=4339
11595
11596 arch/arm/kernel/entry-common.S | 8 ++++++--
11597 1 files changed, 6 insertions(+), 2 deletions(-)
11598
11599 commit 8c9ae168e09ae49324d709d76d73d9fc4ca477e1
11600 Author: Brad Spengler <spender@grsecurity.net>
11601 Date: Tue Dec 15 19:03:41 2015 -0500
11602
11603 Initial import of grsecurity 3.1 for Linux 4.3.3
11604
11605 Documentation/dontdiff | 2 +
11606 Documentation/kernel-parameters.txt | 7 +
11607 Documentation/sysctl/kernel.txt | 15 +
11608 Makefile | 18 +-
11609 arch/alpha/include/asm/cache.h | 4 +-
11610 arch/alpha/kernel/osf_sys.c | 12 +-
11611 arch/arc/Kconfig | 1 +
11612 arch/arm/Kconfig | 1 +
11613 arch/arm/Kconfig.debug | 1 +
11614 arch/arm/include/asm/thread_info.h | 7 +-
11615 arch/arm/kernel/process.c | 4 +-
11616 arch/arm/kernel/ptrace.c | 9 +
11617 arch/arm/kernel/traps.c | 7 +-
11618 arch/arm/mm/Kconfig | 2 +-
11619 arch/arm/mm/fault.c | 40 +-
11620 arch/arm/mm/mmap.c | 8 +-
11621 arch/arm/net/bpf_jit_32.c | 51 +-
11622 arch/arm64/Kconfig.debug | 1 +
11623 arch/avr32/include/asm/cache.h | 4 +-
11624 arch/blackfin/Kconfig.debug | 1 +
11625 arch/blackfin/include/asm/cache.h | 3 +-
11626 arch/cris/include/arch-v10/arch/cache.h | 3 +-
11627 arch/cris/include/arch-v32/arch/cache.h | 3 +-
11628 arch/frv/include/asm/cache.h | 3 +-
11629 arch/frv/mm/elf-fdpic.c | 4 +-
11630 arch/hexagon/include/asm/cache.h | 6 +-
11631 arch/ia64/Kconfig | 1 +
11632 arch/ia64/include/asm/cache.h | 3 +-
11633 arch/ia64/kernel/sys_ia64.c | 2 +
11634 arch/ia64/mm/hugetlbpage.c | 2 +
11635 arch/m32r/include/asm/cache.h | 4 +-
11636 arch/m68k/include/asm/cache.h | 4 +-
11637 arch/metag/mm/hugetlbpage.c | 1 +
11638 arch/microblaze/include/asm/cache.h | 3 +-
11639 arch/mips/Kconfig | 1 +
11640 arch/mips/include/asm/cache.h | 3 +-
11641 arch/mips/include/asm/thread_info.h | 11 +-
11642 arch/mips/kernel/irq.c | 3 +
11643 arch/mips/kernel/ptrace.c | 9 +
11644 arch/mips/mm/mmap.c | 4 +-
11645 arch/mn10300/proc-mn103e010/include/proc/cache.h | 4 +-
11646 arch/mn10300/proc-mn2ws0050/include/proc/cache.h | 4 +-
11647 arch/openrisc/include/asm/cache.h | 4 +-
11648 arch/parisc/include/asm/cache.h | 5 +-
11649 arch/parisc/kernel/sys_parisc.c | 4 +
11650 arch/powerpc/Kconfig | 1 +
11651 arch/powerpc/include/asm/cache.h | 4 +-
11652 arch/powerpc/include/asm/thread_info.h | 5 +-
11653 arch/powerpc/kernel/Makefile | 2 +
11654 arch/powerpc/kernel/irq.c | 3 +
11655 arch/powerpc/kernel/process.c | 10 +-
11656 arch/powerpc/kernel/ptrace.c | 14 +
11657 arch/powerpc/kernel/traps.c | 5 +
11658 arch/powerpc/mm/slice.c | 2 +-
11659 arch/s390/Kconfig.debug | 1 +
11660 arch/s390/include/asm/cache.h | 4 +-
11661 arch/score/include/asm/cache.h | 4 +-
11662 arch/sh/include/asm/cache.h | 3 +-
11663 arch/sh/mm/mmap.c | 6 +-
11664 arch/sparc/include/asm/cache.h | 4 +-
11665 arch/sparc/include/asm/pgalloc_64.h | 1 +
11666 arch/sparc/include/asm/thread_info_64.h | 8 +-
11667 arch/sparc/kernel/process_32.c | 6 +-
11668 arch/sparc/kernel/process_64.c | 8 +-
11669 arch/sparc/kernel/ptrace_64.c | 14 +
11670 arch/sparc/kernel/sys_sparc_64.c | 8 +-
11671 arch/sparc/kernel/syscalls.S | 8 +-
11672 arch/sparc/kernel/traps_32.c | 8 +-
11673 arch/sparc/kernel/traps_64.c | 28 +-
11674 arch/sparc/kernel/unaligned_64.c | 2 +-
11675 arch/sparc/mm/fault_64.c | 2 +-
11676 arch/sparc/mm/hugetlbpage.c | 15 +-
11677 arch/tile/Kconfig | 1 +
11678 arch/tile/include/asm/cache.h | 3 +-
11679 arch/tile/mm/hugetlbpage.c | 2 +
11680 arch/um/include/asm/cache.h | 3 +-
11681 arch/unicore32/include/asm/cache.h | 6 +-
11682 arch/x86/Kconfig | 21 +
11683 arch/x86/Kconfig.debug | 2 +
11684 arch/x86/entry/common.c | 14 +
11685 arch/x86/entry/entry_32.S | 2 +-
11686 arch/x86/entry/entry_64.S | 2 +-
11687 arch/x86/ia32/ia32_aout.c | 2 +
11688 arch/x86/include/asm/floppy.h | 20 +-
11689 arch/x86/include/asm/fpu/types.h | 69 +-
11690 arch/x86/include/asm/io.h | 2 +-
11691 arch/x86/include/asm/page.h | 12 +-
11692 arch/x86/include/asm/paravirt_types.h | 23 +-
11693 arch/x86/include/asm/processor.h | 12 +-
11694 arch/x86/include/asm/thread_info.h | 6 +-
11695 arch/x86/include/asm/uaccess.h | 2 +-
11696 arch/x86/kernel/dumpstack.c | 10 +-
11697 arch/x86/kernel/dumpstack_32.c | 2 +-
11698 arch/x86/kernel/dumpstack_64.c | 2 +-
11699 arch/x86/kernel/ioport.c | 13 +
11700 arch/x86/kernel/irq_32.c | 3 +
11701 arch/x86/kernel/irq_64.c | 4 +
11702 arch/x86/kernel/ldt.c | 18 +
11703 arch/x86/kernel/msr.c | 10 +
11704 arch/x86/kernel/ptrace.c | 14 +
11705 arch/x86/kernel/signal.c | 9 +-
11706 arch/x86/kernel/sys_i386_32.c | 9 +-
11707 arch/x86/kernel/sys_x86_64.c | 8 +-
11708 arch/x86/kernel/traps.c | 5 +
11709 arch/x86/kernel/verify_cpu.S | 1 +
11710 arch/x86/kernel/vm86_32.c | 15 +
11711 arch/x86/kvm/svm.c | 14 +-
11712 arch/x86/mm/fault.c | 12 +-
11713 arch/x86/mm/hugetlbpage.c | 15 +-
11714 arch/x86/mm/init.c | 66 +-
11715 arch/x86/mm/init_32.c | 6 +-
11716 arch/x86/net/bpf_jit_comp.c | 4 +
11717 arch/x86/platform/efi/efi_64.c | 2 +-
11718 arch/x86/xen/Kconfig | 1 +
11719 arch/xtensa/variants/dc232b/include/variant/core.h | 2 +-
11720 arch/xtensa/variants/fsf/include/variant/core.h | 3 +-
11721 crypto/ablkcipher.c | 2 +-
11722 crypto/blkcipher.c | 2 +-
11723 crypto/scatterwalk.c | 10 +-
11724 drivers/acpi/acpica/hwxfsleep.c | 11 +-
11725 drivers/acpi/custom_method.c | 4 +
11726 drivers/block/cciss.h | 30 +-
11727 drivers/block/smart1,2.h | 40 +-
11728 drivers/cdrom/cdrom.c | 2 +-
11729 drivers/char/Kconfig | 4 +-
11730 drivers/char/genrtc.c | 1 +
11731 drivers/char/ipmi/ipmi_si_intf.c | 8 +-
11732 drivers/char/mem.c | 17 +
11733 drivers/char/random.c | 5 +-
11734 drivers/cpufreq/sparc-us3-cpufreq.c | 2 -
11735 drivers/crypto/nx/nx-aes-ccm.c | 2 +-
11736 drivers/crypto/nx/nx-aes-gcm.c | 2 +-
11737 drivers/crypto/talitos.c | 2 +-
11738 drivers/firewire/ohci.c | 4 +
11739 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 70 +-
11740 drivers/gpu/drm/nouveau/nouveau_ttm.c | 28 +-
11741 drivers/gpu/drm/ttm/ttm_bo_manager.c | 10 +-
11742 drivers/gpu/drm/virtio/virtgpu_ttm.c | 10 +-
11743 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c | 10 +-
11744 drivers/hid/hid-wiimote-debug.c | 2 +-
11745 drivers/infiniband/hw/nes/nes_cm.c | 22 +-
11746 drivers/iommu/Kconfig | 1 +
11747 drivers/iommu/amd_iommu.c | 14 +-
11748 drivers/isdn/gigaset/bas-gigaset.c | 32 +-
11749 drivers/isdn/gigaset/ser-gigaset.c | 32 +-
11750 drivers/isdn/gigaset/usb-gigaset.c | 32 +-
11751 drivers/isdn/hisax/config.c | 2 +-
11752 drivers/isdn/hisax/hfc_pci.c | 2 +-
11753 drivers/isdn/hisax/hfc_sx.c | 2 +-
11754 drivers/isdn/hisax/q931.c | 6 +-
11755 drivers/isdn/i4l/isdn_concap.c | 6 +-
11756 drivers/isdn/i4l/isdn_x25iface.c | 16 +-
11757 drivers/md/bcache/Kconfig | 1 +
11758 drivers/md/raid5.c | 8 +
11759 drivers/media/pci/solo6x10/solo6x10-g723.c | 2 +-
11760 drivers/media/platform/sti/c8sectpfe/Kconfig | 1 +
11761 drivers/media/platform/vivid/vivid-osd.c | 1 +
11762 drivers/media/radio/radio-cadet.c | 5 +-
11763 drivers/media/usb/dvb-usb/cinergyT2-core.c | 91 +-
11764 drivers/media/usb/dvb-usb/cinergyT2-fe.c | 182 +-
11765 drivers/media/usb/dvb-usb/dvb-usb-firmware.c | 37 +-
11766 drivers/media/usb/dvb-usb/technisat-usb2.c | 75 +-
11767 drivers/message/fusion/mptbase.c | 9 +
11768 drivers/misc/sgi-xp/xp_main.c | 12 +-
11769 drivers/net/ethernet/brocade/bna/bna_enet.c | 8 +-
11770 drivers/net/ppp/pppoe.c | 14 +-
11771 drivers/net/ppp/pptp.c | 6 +
11772 drivers/net/slip/slhc.c | 3 +
11773 drivers/net/wan/lmc/lmc_media.c | 97 +-
11774 drivers/net/wan/x25_asy.c | 6 +-
11775 drivers/net/wan/z85230.c | 24 +-
11776 drivers/net/wireless/ath/ath9k/Kconfig | 1 -
11777 drivers/net/wireless/zd1211rw/zd_usb.c | 2 +-
11778 drivers/pci/pci-sysfs.c | 2 +-
11779 drivers/pci/proc.c | 9 +
11780 drivers/platform/x86/asus-wmi.c | 12 +
11781 drivers/rtc/rtc-dev.c | 3 +
11782 drivers/scsi/bfa/bfa_fcs.c | 19 +-
11783 drivers/scsi/bfa/bfa_fcs_lport.c | 29 +-
11784 drivers/scsi/bfa/bfa_modules.h | 12 +-
11785 drivers/scsi/hpsa.h | 40 +-
11786 drivers/staging/dgnc/dgnc_mgmt.c | 1 +
11787 drivers/staging/lustre/lustre/ldlm/ldlm_flock.c | 2 +-
11788 drivers/staging/lustre/lustre/libcfs/module.c | 10 +-
11789 drivers/target/target_core_sbc.c | 17 +-
11790 drivers/target/target_core_transport.c | 14 +-
11791 drivers/tty/serial/uartlite.c | 4 +-
11792 drivers/tty/sysrq.c | 2 +-
11793 drivers/tty/vt/keyboard.c | 22 +-
11794 drivers/uio/uio.c | 6 +-
11795 drivers/usb/core/hub.c | 5 +
11796 drivers/usb/gadget/function/f_uac1.c | 1 +
11797 drivers/usb/gadget/function/u_uac1.c | 1 +
11798 drivers/usb/host/hwa-hc.c | 9 +-
11799 drivers/usb/usbip/vhci_sysfs.c | 2 +-
11800 drivers/video/fbdev/arcfb.c | 2 +-
11801 drivers/video/fbdev/matrox/matroxfb_DAC1064.c | 10 +-
11802 drivers/video/fbdev/matrox/matroxfb_Ti3026.c | 5 +-
11803 drivers/video/fbdev/sh_mobile_lcdcfb.c | 6 +-
11804 drivers/video/logo/logo_linux_clut224.ppm | 2720 ++++-----
11805 drivers/xen/xenfs/xenstored.c | 5 +
11806 firmware/Makefile | 2 +
11807 firmware/WHENCE | 20 +-
11808 firmware/bnx2/bnx2-mips-06-6.2.3.fw.ihex | 5804 +++++++++++++++++
11809 firmware/bnx2/bnx2-mips-09-6.2.1b.fw.ihex | 6496 ++++++++++++++++++++
11810 fs/9p/vfs_inode.c | 4 +-
11811 fs/attr.c | 1 +
11812 fs/autofs4/waitq.c | 9 +
11813 fs/binfmt_aout.c | 7 +
11814 fs/binfmt_elf.c | 50 +-
11815 fs/compat.c | 20 +-
11816 fs/coredump.c | 17 +-
11817 fs/dcache.c | 3 +
11818 fs/debugfs/inode.c | 11 +-
11819 fs/exec.c | 219 +-
11820 fs/ext2/balloc.c | 4 +-
11821 fs/ext2/super.c | 8 +-
11822 fs/ext4/balloc.c | 4 +-
11823 fs/fcntl.c | 4 +
11824 fs/fhandle.c | 3 +-
11825 fs/file.c | 4 +
11826 fs/filesystems.c | 4 +
11827 fs/fs_struct.c | 20 +-
11828 fs/hugetlbfs/inode.c | 5 +-
11829 fs/inode.c | 8 +-
11830 fs/kernfs/dir.c | 6 +
11831 fs/mount.h | 4 +-
11832 fs/namei.c | 286 +-
11833 fs/namespace.c | 24 +
11834 fs/nfsd/nfscache.c | 2 +-
11835 fs/open.c | 38 +
11836 fs/overlayfs/inode.c | 11 +-
11837 fs/overlayfs/super.c | 6 +-
11838 fs/pipe.c | 2 +-
11839 fs/posix_acl.c | 15 +-
11840 fs/proc/Kconfig | 10 +-
11841 fs/proc/array.c | 69 +-
11842 fs/proc/base.c | 186 +-
11843 fs/proc/cmdline.c | 4 +
11844 fs/proc/devices.c | 4 +
11845 fs/proc/fd.c | 17 +-
11846 fs/proc/generic.c | 64 +
11847 fs/proc/inode.c | 17 +
11848 fs/proc/internal.h | 11 +-
11849 fs/proc/interrupts.c | 4 +
11850 fs/proc/kcore.c | 3 +
11851 fs/proc/meminfo.c | 7 +-
11852 fs/proc/namespaces.c | 4 +-
11853 fs/proc/proc_net.c | 31 +
11854 fs/proc/proc_sysctl.c | 52 +-
11855 fs/proc/root.c | 8 +
11856 fs/proc/stat.c | 69 +-
11857 fs/proc/task_mmu.c | 66 +-
11858 fs/readdir.c | 19 +
11859 fs/reiserfs/item_ops.c | 24 +-
11860 fs/reiserfs/super.c | 4 +
11861 fs/select.c | 2 +
11862 fs/seq_file.c | 30 +-
11863 fs/splice.c | 8 +
11864 fs/stat.c | 20 +-
11865 fs/sysfs/dir.c | 30 +-
11866 fs/sysv/inode.c | 11 +-
11867 fs/utimes.c | 7 +
11868 fs/xattr.c | 26 +-
11869 grsecurity/Kconfig | 1182 ++++
11870 grsecurity/Makefile | 54 +
11871 grsecurity/gracl.c | 2757 +++++++++
11872 grsecurity/gracl_alloc.c | 105 +
11873 grsecurity/gracl_cap.c | 127 +
11874 grsecurity/gracl_compat.c | 269 +
11875 grsecurity/gracl_fs.c | 448 ++
11876 grsecurity/gracl_ip.c | 386 ++
11877 grsecurity/gracl_learn.c | 207 +
11878 grsecurity/gracl_policy.c | 1786 ++++++
11879 grsecurity/gracl_res.c | 68 +
11880 grsecurity/gracl_segv.c | 304 +
11881 grsecurity/gracl_shm.c | 40 +
11882 grsecurity/grsec_chdir.c | 19 +
11883 grsecurity/grsec_chroot.c | 467 ++
11884 grsecurity/grsec_disabled.c | 445 ++
11885 grsecurity/grsec_exec.c | 189 +
11886 grsecurity/grsec_fifo.c | 26 +
11887 grsecurity/grsec_fork.c | 23 +
11888 grsecurity/grsec_init.c | 290 +
11889 grsecurity/grsec_ipc.c | 48 +
11890 grsecurity/grsec_link.c | 65 +
11891 grsecurity/grsec_log.c | 340 +
11892 grsecurity/grsec_mem.c | 48 +
11893 grsecurity/grsec_mount.c | 65 +
11894 grsecurity/grsec_pax.c | 47 +
11895 grsecurity/grsec_proc.c | 20 +
11896 grsecurity/grsec_ptrace.c | 30 +
11897 grsecurity/grsec_sig.c | 236 +
11898 grsecurity/grsec_sock.c | 244 +
11899 grsecurity/grsec_sysctl.c | 488 ++
11900 grsecurity/grsec_time.c | 16 +
11901 grsecurity/grsec_tpe.c | 78 +
11902 grsecurity/grsec_usb.c | 15 +
11903 grsecurity/grsum.c | 64 +
11904 include/linux/binfmts.h | 5 +-
11905 include/linux/bitops.h | 2 +-
11906 include/linux/capability.h | 13 +
11907 include/linux/compiler-gcc.h | 5 +
11908 include/linux/compiler.h | 8 +
11909 include/linux/cred.h | 8 +-
11910 include/linux/dcache.h | 5 +-
11911 include/linux/fs.h | 24 +-
11912 include/linux/fs_struct.h | 2 +-
11913 include/linux/fsnotify.h | 6 +
11914 include/linux/gracl.h | 342 +
11915 include/linux/gracl_compat.h | 156 +
11916 include/linux/gralloc.h | 9 +
11917 include/linux/grdefs.h | 140 +
11918 include/linux/grinternal.h | 230 +
11919 include/linux/grmsg.h | 118 +
11920 include/linux/grsecurity.h | 255 +
11921 include/linux/grsock.h | 19 +
11922 include/linux/ipc.h | 2 +-
11923 include/linux/ipc_namespace.h | 2 +-
11924 include/linux/kallsyms.h | 18 +-
11925 include/linux/kmod.h | 5 +
11926 include/linux/kobject.h | 2 +-
11927 include/linux/lsm_hooks.h | 4 +-
11928 include/linux/mm.h | 12 +
11929 include/linux/mm_types.h | 4 +-
11930 include/linux/module.h | 5 +-
11931 include/linux/mount.h | 2 +-
11932 include/linux/msg.h | 2 +-
11933 include/linux/netfilter/xt_gradm.h | 9 +
11934 include/linux/path.h | 4 +-
11935 include/linux/perf_event.h | 13 +-
11936 include/linux/pid_namespace.h | 2 +-
11937 include/linux/printk.h | 2 +-
11938 include/linux/proc_fs.h | 22 +-
11939 include/linux/proc_ns.h | 2 +-
11940 include/linux/ptrace.h | 24 +-
11941 include/linux/random.h | 2 +-
11942 include/linux/rbtree_augmented.h | 4 +-
11943 include/linux/scatterlist.h | 12 +-
11944 include/linux/sched.h | 114 +-
11945 include/linux/security.h | 1 +
11946 include/linux/sem.h | 2 +-
11947 include/linux/seq_file.h | 5 +
11948 include/linux/shm.h | 6 +-
11949 include/linux/skbuff.h | 3 +
11950 include/linux/slab.h | 9 -
11951 include/linux/sysctl.h | 8 +-
11952 include/linux/thread_info.h | 6 +-
11953 include/linux/tty.h | 2 +-
11954 include/linux/tty_driver.h | 4 +-
11955 include/linux/uidgid.h | 5 +
11956 include/linux/user_namespace.h | 2 +-
11957 include/linux/utsname.h | 2 +-
11958 include/linux/vermagic.h | 16 +-
11959 include/linux/vmalloc.h | 20 +-
11960 include/net/af_unix.h | 2 +-
11961 include/net/dst.h | 33 +
11962 include/net/ip.h | 2 +-
11963 include/net/neighbour.h | 2 +-
11964 include/net/net_namespace.h | 2 +-
11965 include/net/sock.h | 4 +-
11966 include/target/target_core_base.h | 2 +-
11967 include/trace/events/fs.h | 53 +
11968 include/uapi/linux/personality.h | 1 +
11969 init/Kconfig | 4 +-
11970 init/main.c | 35 +-
11971 ipc/mqueue.c | 1 +
11972 ipc/msg.c | 3 +-
11973 ipc/sem.c | 3 +-
11974 ipc/shm.c | 26 +-
11975 ipc/util.c | 6 +
11976 kernel/auditsc.c | 2 +-
11977 kernel/bpf/syscall.c | 8 +-
11978 kernel/capability.c | 41 +-
11979 kernel/cgroup.c | 5 +-
11980 kernel/compat.c | 1 +
11981 kernel/configs.c | 11 +
11982 kernel/cred.c | 112 +-
11983 kernel/events/core.c | 16 +-
11984 kernel/exit.c | 10 +-
11985 kernel/fork.c | 86 +-
11986 kernel/futex.c | 6 +-
11987 kernel/futex_compat.c | 2 +-
11988 kernel/kallsyms.c | 9 +
11989 kernel/kcmp.c | 8 +-
11990 kernel/kexec_core.c | 2 +-
11991 kernel/kmod.c | 95 +-
11992 kernel/kprobes.c | 7 +-
11993 kernel/ksysfs.c | 2 +
11994 kernel/locking/lockdep_proc.c | 10 +-
11995 kernel/module.c | 108 +-
11996 kernel/panic.c | 4 +-
11997 kernel/pid.c | 23 +-
11998 kernel/power/Kconfig | 2 +
11999 kernel/printk/printk.c | 20 +-
12000 kernel/ptrace.c | 56 +-
12001 kernel/resource.c | 10 +
12002 kernel/sched/core.c | 11 +-
12003 kernel/signal.c | 37 +-
12004 kernel/sys.c | 64 +-
12005 kernel/sysctl.c | 172 +-
12006 kernel/taskstats.c | 6 +
12007 kernel/time/posix-timers.c | 8 +
12008 kernel/time/time.c | 5 +
12009 kernel/time/timekeeping.c | 3 +
12010 kernel/time/timer_list.c | 13 +-
12011 kernel/time/timer_stats.c | 10 +-
12012 kernel/trace/Kconfig | 2 +
12013 kernel/trace/trace_syscalls.c | 8 +
12014 kernel/user_namespace.c | 15 +
12015 lib/Kconfig.debug | 13 +-
12016 lib/Kconfig.kasan | 2 +-
12017 lib/is_single_threaded.c | 3 +
12018 lib/list_debug.c | 65 +-
12019 lib/nlattr.c | 2 +
12020 lib/rbtree.c | 4 +-
12021 lib/vsprintf.c | 39 +-
12022 localversion-grsec | 1 +
12023 mm/Kconfig | 8 +-
12024 mm/Kconfig.debug | 1 +
12025 mm/filemap.c | 1 +
12026 mm/kmemleak.c | 4 +-
12027 mm/memory.c | 2 +-
12028 mm/mempolicy.c | 12 +-
12029 mm/migrate.c | 3 +-
12030 mm/mlock.c | 6 +-
12031 mm/mmap.c | 93 +-
12032 mm/mprotect.c | 8 +
12033 mm/oom_kill.c | 28 +-
12034 mm/page_alloc.c | 2 +-
12035 mm/process_vm_access.c | 8 +-
12036 mm/shmem.c | 36 +-
12037 mm/slab.c | 14 +-
12038 mm/slab_common.c | 2 +-
12039 mm/slob.c | 12 +
12040 mm/slub.c | 33 +-
12041 mm/util.c | 3 +
12042 mm/vmalloc.c | 129 +-
12043 mm/vmstat.c | 29 +-
12044 net/appletalk/atalk_proc.c | 2 +-
12045 net/atm/lec.c | 6 +-
12046 net/atm/mpoa_caches.c | 42 +-
12047 net/bluetooth/sco.c | 3 +
12048 net/can/bcm.c | 2 +-
12049 net/can/proc.c | 2 +-
12050 net/core/dev_ioctl.c | 7 +-
12051 net/core/filter.c | 8 +-
12052 net/core/net-procfs.c | 17 +-
12053 net/core/pktgen.c | 2 +-
12054 net/core/sock.c | 3 +-
12055 net/core/sysctl_net_core.c | 2 +-
12056 net/decnet/dn_dev.c | 2 +-
12057 net/ipv4/devinet.c | 6 +-
12058 net/ipv4/inet_hashtables.c | 4 +
12059 net/ipv4/ip_input.c | 7 +
12060 net/ipv4/ip_sockglue.c | 3 +-
12061 net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 +-
12062 net/ipv4/netfilter/nf_nat_pptp.c | 2 +-
12063 net/ipv4/route.c | 6 +-
12064 net/ipv4/tcp_input.c | 4 +-
12065 net/ipv4/tcp_ipv4.c | 29 +-
12066 net/ipv4/tcp_minisocks.c | 9 +-
12067 net/ipv4/tcp_timer.c | 11 +
12068 net/ipv4/udp.c | 24 +
12069 net/ipv6/addrconf.c | 13 +-
12070 net/ipv6/proc.c | 2 +-
12071 net/ipv6/tcp_ipv6.c | 26 +-
12072 net/ipv6/udp.c | 7 +
12073 net/ipx/ipx_proc.c | 2 +-
12074 net/irda/irproc.c | 2 +-
12075 net/llc/llc_proc.c | 2 +-
12076 net/netfilter/Kconfig | 10 +
12077 net/netfilter/Makefile | 1 +
12078 net/netfilter/nf_conntrack_core.c | 8 +
12079 net/netfilter/xt_gradm.c | 51 +
12080 net/netfilter/xt_hashlimit.c | 4 +-
12081 net/netfilter/xt_recent.c | 2 +-
12082 net/sched/sch_api.c | 2 +-
12083 net/sctp/socket.c | 4 +-
12084 net/socket.c | 75 +-
12085 net/sunrpc/Kconfig | 1 +
12086 net/sunrpc/cache.c | 2 +-
12087 net/sunrpc/stats.c | 2 +-
12088 net/sysctl_net.c | 2 +-
12089 net/unix/af_unix.c | 52 +-
12090 net/vmw_vsock/vmci_transport_notify.c | 30 +-
12091 net/vmw_vsock/vmci_transport_notify_qstate.c | 30 +-
12092 net/x25/sysctl_net_x25.c | 2 +-
12093 net/x25/x25_proc.c | 2 +-
12094 scripts/package/Makefile | 2 +-
12095 scripts/package/mkspec | 41 +-
12096 security/Kconfig | 369 +-
12097 security/apparmor/file.c | 4 +-
12098 security/apparmor/lsm.c | 8 +-
12099 security/commoncap.c | 36 +-
12100 security/min_addr.c | 2 +
12101 security/smack/smack_lsm.c | 8 +-
12102 security/tomoyo/file.c | 12 +-
12103 security/tomoyo/mount.c | 4 +
12104 security/tomoyo/tomoyo.c | 20 +-
12105 security/yama/Kconfig | 2 +-
12106 security/yama/yama_lsm.c | 4 +-
12107 sound/synth/emux/emux_seq.c | 14 +-
12108 sound/usb/line6/driver.c | 40 +-
12109 sound/usb/line6/toneport.c | 12 +-
12110 tools/gcc/.gitignore | 1 +
12111 tools/gcc/Makefile | 12 +
12112 tools/gcc/gen-random-seed.sh | 8 +
12113 tools/gcc/randomize_layout_plugin.c | 930 +++
12114 tools/gcc/size_overflow_plugin/.gitignore | 1 +
12115 .../size_overflow_plugin/size_overflow_hash.data | 459 ++-
12116 511 files changed, 32631 insertions(+), 3196 deletions(-)
12117
12118 commit a76adb92ce39aee8eec5a025c828030ad6135c6d
12119 Author: Brad Spengler <spender@grsecurity.net>
12120 Date: Tue Dec 15 14:31:49 2015 -0500
12121
12122 Update to pax-linux-4.3.3-test11.patch:
12123 - fixed a few compile regressions with the recent plugin changes, reported by spender
12124 - updated the size overflow hash table
12125
12126 tools/gcc/latent_entropy_plugin.c | 2 +-
12127 .../size_overflow_plugin/size_overflow_hash.data | 66 +++++++++++++++++---
12128 tools/gcc/stackleak_plugin.c | 2 +-
12129 tools/gcc/structleak_plugin.c | 6 +--
12130 4 files changed, 60 insertions(+), 16 deletions(-)
12131
12132 commit f7284b1fc06628fcb2d35d2beecdea5454d46af9
12133 Author: Brad Spengler <spender@grsecurity.net>
12134 Date: Tue Dec 15 11:50:24 2015 -0500
12135
12136 Apply structleak ICE fix for gcc < 4.9
12137
12138 tools/gcc/structleak_plugin.c | 4 ++++
12139 1 files changed, 4 insertions(+), 0 deletions(-)
12140
12141 commit 92fe3eb9fd10ec7f7334decab1526989669b0287
12142 Author: Brad Spengler <spender@grsecurity.net>
12143 Date: Tue Dec 15 07:57:06 2015 -0500
12144
12145 Update to pax-linux-4.3.1-test10.patch:
12146 - Emese fixed INDIRECT_REF and TARGET_MEM_REF handling in the initify plugin
12147 - Emese regenerated the size overflow hash tables for 4.3
12148 - fixed some compat syscall exit paths to restore r12 under KERNEXEC/or
12149 - the latent entropy, stackleak and structleak plugins no longer split the entry block unnecessarily
12150
12151 arch/x86/entry/entry_64.S | 2 +-
12152 arch/x86/entry/entry_64_compat.S | 15 +-
12153 scripts/package/builddeb | 2 +-
12154 tools/gcc/initify_plugin.c | 11 +-
12155 tools/gcc/latent_entropy_plugin.c | 20 +-
12156 .../disable_size_overflow_hash.data | 4 +
12157 .../size_overflow_plugin/size_overflow_hash.data | 5345 +++++++++++---------
12158 tools/gcc/stackleak_plugin.c | 26 +-
12159 tools/gcc/structleak_plugin.c | 21 +-
12160 9 files changed, 3079 insertions(+), 2367 deletions(-)
12161
12162 commit 5bd245cb687319079c2f1c0d6a1170791ed1ed2c
12163 Merge: b5847e6 3548341
12164 Author: Brad Spengler <spender@grsecurity.net>
12165 Date: Tue Dec 15 07:47:56 2015 -0500
12166
12167 Merge branch 'linux-4.3.y' into pax-4_3
12168
12169 Conflicts:
12170 net/unix/af_unix.c
12171
12172 commit b5847e6a896c5d99191135ca4d7c3b6be8f116ff
12173 Author: Brad Spengler <spender@grsecurity.net>
12174 Date: Wed Dec 9 23:11:36 2015 -0500
12175
12176 Update to pax-linux-4.3.1-test9.patch:
12177 - 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)
12178 - Emese fixed an intentional overflow caused by gcc, reported by saironiq (https://forums.grsecurity.net/viewtopic.php?f=3&t=4333)
12179 - Emese fixed a false positive overflow report in the forcedeth driver, reported by fx3 (https://forums.grsecurity.net/viewtopic.php?t=4334)
12180 - Emese fixed a false positive overflow report in KVM's emulator, reported by fx3 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4336)
12181 - Emese fixed the initify plugin to detect some captured use of __func__, reported by Rasmus Villemoes <linux@rasmusvillemoes.dk>
12182 - constrained shmmax and shmall to avoid triggering size overflow checks, reported by Mathias Krause <minipli@ld-linux.so>
12183 - 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
12184
12185 Makefile | 6 +
12186 arch/x86/include/asm/compat.h | 4 +
12187 arch/x86/include/asm/dma.h | 2 +
12188 arch/x86/include/asm/pmem.h | 2 +-
12189 arch/x86/include/asm/uaccess.h | 20 +-
12190 arch/x86/kernel/apic/vector.c | 6 +-
12191 arch/x86/kernel/cpu/mtrr/generic.c | 6 +-
12192 arch/x86/kernel/cpu/perf_event_intel.c | 28 +-
12193 arch/x86/kernel/head_64.S | 1 -
12194 arch/x86/kvm/i8259.c | 10 +-
12195 arch/x86/kvm/ioapic.c | 2 +
12196 arch/x86/kvm/x86.c | 2 +
12197 arch/x86/lib/usercopy_64.c | 2 +-
12198 arch/x86/mm/mpx.c | 4 +-
12199 arch/x86/mm/pageattr.c | 7 +
12200 drivers/base/devres.c | 4 +-
12201 drivers/base/power/runtime.c | 6 +-
12202 drivers/base/regmap/regmap.c | 4 +-
12203 drivers/block/drbd/drbd_receiver.c | 4 +-
12204 drivers/block/drbd/drbd_worker.c | 6 +-
12205 drivers/char/virtio_console.c | 6 +-
12206 drivers/md/dm.c | 12 +-
12207 drivers/net/ethernet/nvidia/forcedeth.c | 4 +-
12208 drivers/net/macvtap.c | 4 +-
12209 drivers/video/fbdev/core/fbmem.c | 10 +-
12210 fs/compat.c | 3 +-
12211 fs/coredump.c | 2 +-
12212 fs/dcache.c | 13 +-
12213 fs/fhandle.c | 2 +-
12214 fs/file.c | 14 +-
12215 fs/fs-writeback.c | 11 +-
12216 fs/overlayfs/copy_up.c | 2 +-
12217 fs/readdir.c | 3 +-
12218 fs/super.c | 3 +-
12219 include/linux/compiler.h | 36 ++-
12220 include/linux/rcupdate.h | 8 +
12221 include/linux/sched.h | 4 +-
12222 include/linux/seqlock.h | 10 +
12223 include/linux/spinlock.h | 17 +-
12224 include/linux/srcu.h | 5 +-
12225 include/linux/syscalls.h | 2 +-
12226 include/linux/writeback.h | 3 +-
12227 include/uapi/linux/swab.h | 6 +-
12228 ipc/ipc_sysctl.c | 6 +
12229 kernel/exit.c | 25 +-
12230 kernel/resource.c | 4 +-
12231 kernel/signal.c | 12 +-
12232 kernel/user.c | 2 +-
12233 kernel/workqueue.c | 6 +-
12234 lib/rhashtable.c | 4 +-
12235 net/compat.c | 2 +-
12236 net/ipv4/xfrm4_mode_transport.c | 2 +-
12237 security/keys/internal.h | 8 +-
12238 security/keys/keyring.c | 4 -
12239 sound/core/seq/seq_clientmgr.c | 8 +-
12240 sound/core/seq/seq_compat.c | 2 +-
12241 sound/core/seq/seq_memory.c | 6 +-
12242 tools/gcc/checker_plugin.c | 415 +++++++++++++++++++-
12243 tools/gcc/gcc-common.h | 1 +
12244 tools/gcc/initify_plugin.c | 33 ++-
12245 .../disable_size_overflow_hash.data | 1 +
12246 .../size_overflow_plugin/size_overflow_hash.data | 1 -
12247 62 files changed, 708 insertions(+), 140 deletions(-)
12248
12249 commit f2634c2f6995f4231616f24ed016f890c701f939
12250 Merge: 1241bff 5f8b236
12251 Author: Brad Spengler <spender@grsecurity.net>
12252 Date: Wed Dec 9 21:50:47 2015 -0500
12253
12254 Merge branch 'linux-4.3.y' into pax-4_3
12255
12256 Conflicts:
12257 arch/x86/kernel/fpu/xstate.c
12258 arch/x86/kernel/head_64.S
12259
12260 commit 1241bff82e3d7dadb05de0a60b8d2822afc6547c
12261 Author: Brad Spengler <spender@grsecurity.net>
12262 Date: Sun Dec 6 08:44:56 2015 -0500
12263
12264 Update to pax-linux-4.3-test8.patch:
12265 - 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)
12266 - gcc plugin compilation problems will now also produce the output of the checking script to make diagnosis easier, reported by hunger
12267 - 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)
12268 - 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)
12269
12270 Makefile | 5 +++
12271 drivers/md/md.c | 5 ++-
12272 drivers/md/raid1.c | 2 +-
12273 fs/proc/task_mmu.c | 3 ++
12274 .../disable_size_overflow_hash.data | 4 ++-
12275 .../size_overflow_plugin/intentional_overflow.c | 32 ++++++++++++++++---
12276 .../size_overflow_plugin/size_overflow_hash.data | 2 -
12277 .../size_overflow_plugin/size_overflow_plugin.c | 2 +-
12278 8 files changed, 43 insertions(+), 12 deletions(-)
12279
12280 commit cce6a9f9bdd27096632ca1c0246dcc07f2eb1a18
12281 Author: Brad Spengler <spender@grsecurity.net>
12282 Date: Fri Dec 4 14:24:12 2015 -0500
12283
12284 Initial import of pax-linux-4.3-test7.patch
12285
12286 Documentation/dontdiff | 47 +-
12287 Documentation/kbuild/makefiles.txt | 39 +-
12288 Documentation/kernel-parameters.txt | 28 +
12289 Makefile | 108 +-
12290 arch/alpha/include/asm/atomic.h | 10 +
12291 arch/alpha/include/asm/elf.h | 7 +
12292 arch/alpha/include/asm/pgalloc.h | 6 +
12293 arch/alpha/include/asm/pgtable.h | 11 +
12294 arch/alpha/kernel/module.c | 2 +-
12295 arch/alpha/kernel/osf_sys.c | 8 +-
12296 arch/alpha/mm/fault.c | 141 +-
12297 arch/arm/Kconfig | 2 +-
12298 arch/arm/include/asm/atomic.h | 320 +-
12299 arch/arm/include/asm/cache.h | 5 +-
12300 arch/arm/include/asm/cacheflush.h | 2 +-
12301 arch/arm/include/asm/checksum.h | 14 +-
12302 arch/arm/include/asm/cmpxchg.h | 4 +
12303 arch/arm/include/asm/cpuidle.h | 2 +-
12304 arch/arm/include/asm/domain.h | 22 +-
12305 arch/arm/include/asm/elf.h | 9 +-
12306 arch/arm/include/asm/fncpy.h | 2 +
12307 arch/arm/include/asm/futex.h | 10 +
12308 arch/arm/include/asm/kmap_types.h | 2 +-
12309 arch/arm/include/asm/mach/dma.h | 2 +-
12310 arch/arm/include/asm/mach/map.h | 16 +-
12311 arch/arm/include/asm/outercache.h | 2 +-
12312 arch/arm/include/asm/page.h | 3 +-
12313 arch/arm/include/asm/pgalloc.h | 20 +
12314 arch/arm/include/asm/pgtable-2level-hwdef.h | 4 +-
12315 arch/arm/include/asm/pgtable-2level.h | 3 +
12316 arch/arm/include/asm/pgtable-3level.h | 3 +
12317 arch/arm/include/asm/pgtable.h | 54 +-
12318 arch/arm/include/asm/smp.h | 2 +-
12319 arch/arm/include/asm/tls.h | 3 +
12320 arch/arm/include/asm/uaccess.h | 79 +-
12321 arch/arm/include/uapi/asm/ptrace.h | 2 +-
12322 arch/arm/kernel/armksyms.c | 2 +-
12323 arch/arm/kernel/cpuidle.c | 2 +-
12324 arch/arm/kernel/entry-armv.S | 109 +-
12325 arch/arm/kernel/entry-common.S | 40 +-
12326 arch/arm/kernel/entry-header.S | 55 +
12327 arch/arm/kernel/fiq.c | 3 +
12328 arch/arm/kernel/module-plts.c | 7 +-
12329 arch/arm/kernel/module.c | 38 +-
12330 arch/arm/kernel/patch.c | 2 +
12331 arch/arm/kernel/process.c | 90 +-
12332 arch/arm/kernel/reboot.c | 1 +
12333 arch/arm/kernel/setup.c | 20 +-
12334 arch/arm/kernel/signal.c | 35 +-
12335 arch/arm/kernel/smp.c | 2 +-
12336 arch/arm/kernel/tcm.c | 4 +-
12337 arch/arm/kernel/vmlinux.lds.S | 6 +-
12338 arch/arm/kvm/arm.c | 8 +-
12339 arch/arm/lib/copy_page.S | 1 +
12340 arch/arm/lib/csumpartialcopyuser.S | 4 +-
12341 arch/arm/lib/delay.c | 2 +-
12342 arch/arm/lib/uaccess_with_memcpy.c | 4 +-
12343 arch/arm/mach-exynos/suspend.c | 6 +-
12344 arch/arm/mach-mvebu/coherency.c | 4 +-
12345 arch/arm/mach-omap2/board-n8x0.c | 2 +-
12346 arch/arm/mach-omap2/omap-mpuss-lowpower.c | 4 +-
12347 arch/arm/mach-omap2/omap-smp.c | 1 +
12348 arch/arm/mach-omap2/omap-wakeupgen.c | 2 +-
12349 arch/arm/mach-omap2/omap_device.c | 4 +-
12350 arch/arm/mach-omap2/omap_device.h | 4 +-
12351 arch/arm/mach-omap2/omap_hwmod.c | 4 +-
12352 arch/arm/mach-omap2/powerdomains43xx_data.c | 5 +-
12353 arch/arm/mach-omap2/wd_timer.c | 6 +-
12354 arch/arm/mach-shmobile/platsmp-apmu.c | 5 +-
12355 arch/arm/mach-tegra/cpuidle-tegra20.c | 2 +-
12356 arch/arm/mach-tegra/irq.c | 1 +
12357 arch/arm/mach-ux500/pm.c | 1 +
12358 arch/arm/mach-zynq/platsmp.c | 1 +
12359 arch/arm/mm/Kconfig | 6 +-
12360 arch/arm/mm/alignment.c | 8 +
12361 arch/arm/mm/cache-l2x0.c | 2 +-
12362 arch/arm/mm/context.c | 10 +-
12363 arch/arm/mm/fault.c | 146 +
12364 arch/arm/mm/fault.h | 12 +
12365 arch/arm/mm/init.c | 39 +
12366 arch/arm/mm/ioremap.c | 4 +-
12367 arch/arm/mm/mmap.c | 30 +-
12368 arch/arm/mm/mmu.c | 162 +-
12369 arch/arm/net/bpf_jit_32.c | 3 +
12370 arch/arm/plat-iop/setup.c | 2 +-
12371 arch/arm/plat-omap/sram.c | 2 +
12372 arch/arm64/include/asm/atomic.h | 10 +
12373 arch/arm64/include/asm/percpu.h | 8 +-
12374 arch/arm64/include/asm/pgalloc.h | 5 +
12375 arch/arm64/include/asm/uaccess.h | 1 +
12376 arch/arm64/mm/dma-mapping.c | 2 +-
12377 arch/avr32/include/asm/elf.h | 8 +-
12378 arch/avr32/include/asm/kmap_types.h | 4 +-
12379 arch/avr32/mm/fault.c | 27 +
12380 arch/frv/include/asm/atomic.h | 10 +
12381 arch/frv/include/asm/kmap_types.h | 2 +-
12382 arch/frv/mm/elf-fdpic.c | 3 +-
12383 arch/ia64/Makefile | 1 +
12384 arch/ia64/include/asm/atomic.h | 10 +
12385 arch/ia64/include/asm/elf.h | 7 +
12386 arch/ia64/include/asm/pgalloc.h | 12 +
12387 arch/ia64/include/asm/pgtable.h | 13 +-
12388 arch/ia64/include/asm/spinlock.h | 2 +-
12389 arch/ia64/include/asm/uaccess.h | 27 +-
12390 arch/ia64/kernel/module.c | 45 +-
12391 arch/ia64/kernel/palinfo.c | 2 +-
12392 arch/ia64/kernel/sys_ia64.c | 7 +
12393 arch/ia64/kernel/vmlinux.lds.S | 2 +-
12394 arch/ia64/mm/fault.c | 32 +-
12395 arch/ia64/mm/init.c | 15 +-
12396 arch/m32r/lib/usercopy.c | 6 +
12397 arch/mips/cavium-octeon/dma-octeon.c | 2 +-
12398 arch/mips/include/asm/atomic.h | 368 +-
12399 arch/mips/include/asm/elf.h | 7 +
12400 arch/mips/include/asm/exec.h | 2 +-
12401 arch/mips/include/asm/hw_irq.h | 2 +-
12402 arch/mips/include/asm/local.h | 57 +
12403 arch/mips/include/asm/page.h | 2 +-
12404 arch/mips/include/asm/pgalloc.h | 5 +
12405 arch/mips/include/asm/pgtable.h | 3 +
12406 arch/mips/include/asm/uaccess.h | 1 +
12407 arch/mips/kernel/binfmt_elfn32.c | 7 +
12408 arch/mips/kernel/binfmt_elfo32.c | 7 +
12409 arch/mips/kernel/irq-gt641xx.c | 2 +-
12410 arch/mips/kernel/irq.c | 6 +-
12411 arch/mips/kernel/pm-cps.c | 2 +-
12412 arch/mips/kernel/process.c | 12 -
12413 arch/mips/kernel/sync-r4k.c | 24 +-
12414 arch/mips/kernel/traps.c | 13 +-
12415 arch/mips/mm/fault.c | 25 +
12416 arch/mips/mm/mmap.c | 51 +-
12417 arch/mips/sgi-ip27/ip27-nmi.c | 6 +-
12418 arch/mips/sni/rm200.c | 2 +-
12419 arch/mips/vr41xx/common/icu.c | 2 +-
12420 arch/mips/vr41xx/common/irq.c | 4 +-
12421 arch/parisc/include/asm/atomic.h | 10 +
12422 arch/parisc/include/asm/elf.h | 7 +
12423 arch/parisc/include/asm/pgalloc.h | 6 +
12424 arch/parisc/include/asm/pgtable.h | 11 +
12425 arch/parisc/include/asm/uaccess.h | 4 +-
12426 arch/parisc/kernel/module.c | 50 +-
12427 arch/parisc/kernel/sys_parisc.c | 15 +
12428 arch/parisc/kernel/traps.c | 4 +-
12429 arch/parisc/mm/fault.c | 140 +-
12430 arch/powerpc/include/asm/atomic.h | 329 +-
12431 arch/powerpc/include/asm/elf.h | 12 +
12432 arch/powerpc/include/asm/exec.h | 2 +-
12433 arch/powerpc/include/asm/kmap_types.h | 2 +-
12434 arch/powerpc/include/asm/local.h | 46 +
12435 arch/powerpc/include/asm/mman.h | 2 +-
12436 arch/powerpc/include/asm/page.h | 8 +-
12437 arch/powerpc/include/asm/page_64.h | 7 +-
12438 arch/powerpc/include/asm/pgalloc-64.h | 7 +
12439 arch/powerpc/include/asm/pgtable.h | 1 +
12440 arch/powerpc/include/asm/pte-hash32.h | 1 +
12441 arch/powerpc/include/asm/reg.h | 1 +
12442 arch/powerpc/include/asm/smp.h | 2 +-
12443 arch/powerpc/include/asm/spinlock.h | 42 +-
12444 arch/powerpc/include/asm/uaccess.h | 141 +-
12445 arch/powerpc/kernel/Makefile | 5 +
12446 arch/powerpc/kernel/exceptions-64e.S | 4 +-
12447 arch/powerpc/kernel/exceptions-64s.S | 2 +-
12448 arch/powerpc/kernel/module_32.c | 15 +-
12449 arch/powerpc/kernel/process.c | 46 -
12450 arch/powerpc/kernel/signal_32.c | 2 +-
12451 arch/powerpc/kernel/signal_64.c | 2 +-
12452 arch/powerpc/kernel/traps.c | 21 +
12453 arch/powerpc/kernel/vdso.c | 5 +-
12454 arch/powerpc/lib/usercopy_64.c | 18 -
12455 arch/powerpc/mm/fault.c | 56 +-
12456 arch/powerpc/mm/mmap.c | 16 +
12457 arch/powerpc/mm/slice.c | 13 +-
12458 arch/powerpc/platforms/cell/spufs/file.c | 4 +-
12459 arch/s390/include/asm/atomic.h | 10 +
12460 arch/s390/include/asm/elf.h | 7 +
12461 arch/s390/include/asm/exec.h | 2 +-
12462 arch/s390/include/asm/uaccess.h | 13 +-
12463 arch/s390/kernel/module.c | 22 +-
12464 arch/s390/kernel/process.c | 24 -
12465 arch/s390/mm/mmap.c | 16 +
12466 arch/score/include/asm/exec.h | 2 +-
12467 arch/score/kernel/process.c | 5 -
12468 arch/sh/mm/mmap.c | 22 +-
12469 arch/sparc/include/asm/atomic_64.h | 110 +-
12470 arch/sparc/include/asm/cache.h | 2 +-
12471 arch/sparc/include/asm/elf_32.h | 7 +
12472 arch/sparc/include/asm/elf_64.h | 7 +
12473 arch/sparc/include/asm/pgalloc_32.h | 1 +
12474 arch/sparc/include/asm/pgalloc_64.h | 1 +
12475 arch/sparc/include/asm/pgtable.h | 4 +
12476 arch/sparc/include/asm/pgtable_32.h | 15 +-
12477 arch/sparc/include/asm/pgtsrmmu.h | 5 +
12478 arch/sparc/include/asm/setup.h | 4 +-
12479 arch/sparc/include/asm/spinlock_64.h | 35 +-
12480 arch/sparc/include/asm/thread_info_32.h | 1 +
12481 arch/sparc/include/asm/thread_info_64.h | 2 +
12482 arch/sparc/include/asm/uaccess.h | 1 +
12483 arch/sparc/include/asm/uaccess_32.h | 28 +-
12484 arch/sparc/include/asm/uaccess_64.h | 24 +-
12485 arch/sparc/kernel/Makefile | 2 +-
12486 arch/sparc/kernel/prom_common.c | 2 +-
12487 arch/sparc/kernel/smp_64.c | 8 +-
12488 arch/sparc/kernel/sys_sparc_32.c | 2 +-
12489 arch/sparc/kernel/sys_sparc_64.c | 52 +-
12490 arch/sparc/kernel/traps_64.c | 27 +-
12491 arch/sparc/lib/Makefile | 2 +-
12492 arch/sparc/lib/atomic_64.S | 57 +-
12493 arch/sparc/lib/ksyms.c | 6 +-
12494 arch/sparc/mm/Makefile | 2 +-
12495 arch/sparc/mm/fault_32.c | 292 +
12496 arch/sparc/mm/fault_64.c | 486 +
12497 arch/sparc/mm/hugetlbpage.c | 22 +-
12498 arch/sparc/mm/init_64.c | 10 +-
12499 arch/tile/include/asm/atomic_64.h | 10 +
12500 arch/tile/include/asm/uaccess.h | 4 +-
12501 arch/um/Makefile | 4 +
12502 arch/um/include/asm/kmap_types.h | 2 +-
12503 arch/um/include/asm/page.h | 3 +
12504 arch/um/include/asm/pgtable-3level.h | 1 +
12505 arch/um/kernel/process.c | 16 -
12506 arch/x86/Kconfig | 15 +-
12507 arch/x86/Kconfig.cpu | 6 +-
12508 arch/x86/Kconfig.debug | 4 +-
12509 arch/x86/Makefile | 13 +-
12510 arch/x86/boot/Makefile | 3 +
12511 arch/x86/boot/bitops.h | 4 +-
12512 arch/x86/boot/boot.h | 2 +-
12513 arch/x86/boot/compressed/Makefile | 3 +
12514 arch/x86/boot/compressed/efi_stub_32.S | 16 +-
12515 arch/x86/boot/compressed/efi_thunk_64.S | 4 +-
12516 arch/x86/boot/compressed/head_32.S | 4 +-
12517 arch/x86/boot/compressed/head_64.S | 12 +-
12518 arch/x86/boot/compressed/misc.c | 11 +-
12519 arch/x86/boot/cpucheck.c | 16 +-
12520 arch/x86/boot/header.S | 6 +-
12521 arch/x86/boot/memory.c | 2 +-
12522 arch/x86/boot/video-vesa.c | 1 +
12523 arch/x86/boot/video.c | 2 +-
12524 arch/x86/crypto/aes-x86_64-asm_64.S | 4 +
12525 arch/x86/crypto/aesni-intel_asm.S | 106 +-
12526 arch/x86/crypto/blowfish-x86_64-asm_64.S | 7 +
12527 arch/x86/crypto/camellia-aesni-avx-asm_64.S | 10 +
12528 arch/x86/crypto/camellia-aesni-avx2-asm_64.S | 10 +
12529 arch/x86/crypto/camellia-x86_64-asm_64.S | 7 +
12530 arch/x86/crypto/cast5-avx-x86_64-asm_64.S | 51 +-
12531 arch/x86/crypto/cast6-avx-x86_64-asm_64.S | 25 +-
12532 arch/x86/crypto/crc32c-pcl-intel-asm_64.S | 4 +-
12533 arch/x86/crypto/ghash-clmulni-intel_asm.S | 4 +
12534 arch/x86/crypto/salsa20-x86_64-asm_64.S | 4 +
12535 arch/x86/crypto/serpent-avx-x86_64-asm_64.S | 9 +
12536 arch/x86/crypto/serpent-avx2-asm_64.S | 9 +
12537 arch/x86/crypto/serpent-sse2-x86_64-asm_64.S | 4 +
12538 arch/x86/crypto/sha1_ssse3_asm.S | 10 +-
12539 arch/x86/crypto/sha256-avx-asm.S | 2 +
12540 arch/x86/crypto/sha256-avx2-asm.S | 2 +
12541 arch/x86/crypto/sha256-ssse3-asm.S | 2 +
12542 arch/x86/crypto/sha512-avx-asm.S | 2 +
12543 arch/x86/crypto/sha512-avx2-asm.S | 2 +
12544 arch/x86/crypto/sha512-ssse3-asm.S | 2 +
12545 arch/x86/crypto/twofish-avx-x86_64-asm_64.S | 25 +-
12546 arch/x86/crypto/twofish-x86_64-asm_64-3way.S | 4 +
12547 arch/x86/crypto/twofish-x86_64-asm_64.S | 3 +
12548 arch/x86/entry/calling.h | 86 +-
12549 arch/x86/entry/common.c | 13 +-
12550 arch/x86/entry/entry_32.S | 351 +-
12551 arch/x86/entry/entry_64.S | 619 +-
12552 arch/x86/entry/entry_64_compat.S | 159 +-
12553 arch/x86/entry/thunk_64.S | 2 +
12554 arch/x86/entry/vdso/Makefile | 2 +-
12555 arch/x86/entry/vdso/vdso2c.h | 8 +-
12556 arch/x86/entry/vdso/vma.c | 41 +-
12557 arch/x86/entry/vsyscall/vsyscall_64.c | 16 +-
12558 arch/x86/entry/vsyscall/vsyscall_emu_64.S | 2 +-
12559 arch/x86/ia32/ia32_signal.c | 23 +-
12560 arch/x86/ia32/sys_ia32.c | 42 +-
12561 arch/x86/include/asm/alternative-asm.h | 43 +-
12562 arch/x86/include/asm/alternative.h | 4 +-
12563 arch/x86/include/asm/apic.h | 2 +-
12564 arch/x86/include/asm/apm.h | 4 +-
12565 arch/x86/include/asm/atomic.h | 230 +-
12566 arch/x86/include/asm/atomic64_32.h | 100 +
12567 arch/x86/include/asm/atomic64_64.h | 164 +-
12568 arch/x86/include/asm/bitops.h | 18 +-
12569 arch/x86/include/asm/boot.h | 2 +-
12570 arch/x86/include/asm/cache.h | 5 +-
12571 arch/x86/include/asm/checksum_32.h | 12 +-
12572 arch/x86/include/asm/cmpxchg.h | 39 +
12573 arch/x86/include/asm/compat.h | 2 +-
12574 arch/x86/include/asm/cpufeature.h | 17 +-
12575 arch/x86/include/asm/desc.h | 78 +-
12576 arch/x86/include/asm/desc_defs.h | 6 +
12577 arch/x86/include/asm/div64.h | 2 +-
12578 arch/x86/include/asm/elf.h | 33 +-
12579 arch/x86/include/asm/emergency-restart.h | 2 +-
12580 arch/x86/include/asm/fpu/internal.h | 42 +-
12581 arch/x86/include/asm/fpu/types.h | 6 +-
12582 arch/x86/include/asm/futex.h | 14 +-
12583 arch/x86/include/asm/hw_irq.h | 4 +-
12584 arch/x86/include/asm/i8259.h | 2 +-
12585 arch/x86/include/asm/io.h | 22 +-
12586 arch/x86/include/asm/irqflags.h | 5 +
12587 arch/x86/include/asm/kprobes.h | 9 +-
12588 arch/x86/include/asm/local.h | 106 +-
12589 arch/x86/include/asm/mman.h | 15 +
12590 arch/x86/include/asm/mmu.h | 14 +-
12591 arch/x86/include/asm/mmu_context.h | 114 +-
12592 arch/x86/include/asm/module.h | 17 +-
12593 arch/x86/include/asm/nmi.h | 19 +-
12594 arch/x86/include/asm/page.h | 1 +
12595 arch/x86/include/asm/page_32.h | 12 +-
12596 arch/x86/include/asm/page_64.h | 14 +-
12597 arch/x86/include/asm/paravirt.h | 46 +-
12598 arch/x86/include/asm/paravirt_types.h | 15 +-
12599 arch/x86/include/asm/pgalloc.h | 23 +
12600 arch/x86/include/asm/pgtable-2level.h | 2 +
12601 arch/x86/include/asm/pgtable-3level.h | 7 +
12602 arch/x86/include/asm/pgtable.h | 128 +-
12603 arch/x86/include/asm/pgtable_32.h | 14 +-
12604 arch/x86/include/asm/pgtable_32_types.h | 24 +-
12605 arch/x86/include/asm/pgtable_64.h | 23 +-
12606 arch/x86/include/asm/pgtable_64_types.h | 5 +
12607 arch/x86/include/asm/pgtable_types.h | 26 +-
12608 arch/x86/include/asm/preempt.h | 2 +-
12609 arch/x86/include/asm/processor.h | 57 +-
12610 arch/x86/include/asm/ptrace.h | 13 +-
12611 arch/x86/include/asm/realmode.h | 4 +-
12612 arch/x86/include/asm/reboot.h | 10 +-
12613 arch/x86/include/asm/rmwcc.h | 84 +-
12614 arch/x86/include/asm/rwsem.h | 60 +-
12615 arch/x86/include/asm/segment.h | 27 +-
12616 arch/x86/include/asm/smap.h | 43 +
12617 arch/x86/include/asm/smp.h | 14 +-
12618 arch/x86/include/asm/stackprotector.h | 4 +-
12619 arch/x86/include/asm/stacktrace.h | 32 +-
12620 arch/x86/include/asm/switch_to.h | 4 +-
12621 arch/x86/include/asm/sys_ia32.h | 6 +-
12622 arch/x86/include/asm/thread_info.h | 27 +-
12623 arch/x86/include/asm/tlbflush.h | 77 +-
12624 arch/x86/include/asm/uaccess.h | 192 +-
12625 arch/x86/include/asm/uaccess_32.h | 28 +-
12626 arch/x86/include/asm/uaccess_64.h | 169 +-
12627 arch/x86/include/asm/word-at-a-time.h | 2 +-
12628 arch/x86/include/asm/x86_init.h | 10 +-
12629 arch/x86/include/asm/xen/page.h | 2 +-
12630 arch/x86/include/uapi/asm/e820.h | 2 +-
12631 arch/x86/kernel/Makefile | 2 +-
12632 arch/x86/kernel/acpi/boot.c | 4 +-
12633 arch/x86/kernel/acpi/sleep.c | 4 +
12634 arch/x86/kernel/acpi/wakeup_32.S | 6 +-
12635 arch/x86/kernel/alternative.c | 124 +-
12636 arch/x86/kernel/apic/apic.c | 4 +-
12637 arch/x86/kernel/apic/apic_flat_64.c | 6 +-
12638 arch/x86/kernel/apic/apic_noop.c | 2 +-
12639 arch/x86/kernel/apic/bigsmp_32.c | 2 +-
12640 arch/x86/kernel/apic/io_apic.c | 8 +-
12641 arch/x86/kernel/apic/msi.c | 2 +-
12642 arch/x86/kernel/apic/probe_32.c | 4 +-
12643 arch/x86/kernel/apic/vector.c | 4 +-
12644 arch/x86/kernel/apic/x2apic_cluster.c | 2 +-
12645 arch/x86/kernel/apic/x2apic_phys.c | 2 +-
12646 arch/x86/kernel/apic/x2apic_uv_x.c | 2 +-
12647 arch/x86/kernel/apm_32.c | 21 +-
12648 arch/x86/kernel/asm-offsets.c | 20 +
12649 arch/x86/kernel/asm-offsets_64.c | 1 +
12650 arch/x86/kernel/cpu/Makefile | 4 -
12651 arch/x86/kernel/cpu/amd.c | 2 +-
12652 arch/x86/kernel/cpu/bugs_64.c | 2 +
12653 arch/x86/kernel/cpu/common.c | 202 +-
12654 arch/x86/kernel/cpu/intel_cacheinfo.c | 14 +-
12655 arch/x86/kernel/cpu/mcheck/mce.c | 34 +-
12656 arch/x86/kernel/cpu/mcheck/p5.c | 3 +
12657 arch/x86/kernel/cpu/mcheck/winchip.c | 3 +
12658 arch/x86/kernel/cpu/microcode/intel.c | 4 +-
12659 arch/x86/kernel/cpu/mtrr/main.c | 2 +-
12660 arch/x86/kernel/cpu/mtrr/mtrr.h | 2 +-
12661 arch/x86/kernel/cpu/perf_event.c | 10 +-
12662 arch/x86/kernel/cpu/perf_event_amd_iommu.c | 2 +-
12663 arch/x86/kernel/cpu/perf_event_intel.c | 6 +-
12664 arch/x86/kernel/cpu/perf_event_intel_bts.c | 6 +-
12665 arch/x86/kernel/cpu/perf_event_intel_cqm.c | 4 +-
12666 arch/x86/kernel/cpu/perf_event_intel_pt.c | 44 +-
12667 arch/x86/kernel/cpu/perf_event_intel_rapl.c | 2 +-
12668 arch/x86/kernel/cpu/perf_event_intel_uncore.c | 2 +-
12669 arch/x86/kernel/cpu/perf_event_intel_uncore.h | 2 +-
12670 arch/x86/kernel/crash_dump_64.c | 2 +-
12671 arch/x86/kernel/doublefault.c | 8 +-
12672 arch/x86/kernel/dumpstack.c | 24 +-
12673 arch/x86/kernel/dumpstack_32.c | 25 +-
12674 arch/x86/kernel/dumpstack_64.c | 62 +-
12675 arch/x86/kernel/e820.c | 4 +-
12676 arch/x86/kernel/early_printk.c | 1 +
12677 arch/x86/kernel/espfix_64.c | 44 +-
12678 arch/x86/kernel/fpu/core.c | 24 +-
12679 arch/x86/kernel/fpu/init.c | 40 +-
12680 arch/x86/kernel/fpu/regset.c | 22 +-
12681 arch/x86/kernel/fpu/signal.c | 20 +-
12682 arch/x86/kernel/fpu/xstate.c | 8 +-
12683 arch/x86/kernel/ftrace.c | 18 +-
12684 arch/x86/kernel/head64.c | 14 +-
12685 arch/x86/kernel/head_32.S | 235 +-
12686 arch/x86/kernel/head_64.S | 173 +-
12687 arch/x86/kernel/i386_ksyms_32.c | 12 +
12688 arch/x86/kernel/i8259.c | 10 +-
12689 arch/x86/kernel/io_delay.c | 2 +-
12690 arch/x86/kernel/ioport.c | 2 +-
12691 arch/x86/kernel/irq.c | 8 +-
12692 arch/x86/kernel/irq_32.c | 45 +-
12693 arch/x86/kernel/jump_label.c | 10 +-
12694 arch/x86/kernel/kgdb.c | 21 +-
12695 arch/x86/kernel/kprobes/core.c | 28 +-
12696 arch/x86/kernel/kprobes/opt.c | 16 +-
12697 arch/x86/kernel/ksysfs.c | 2 +-
12698 arch/x86/kernel/kvmclock.c | 20 +-
12699 arch/x86/kernel/ldt.c | 25 +
12700 arch/x86/kernel/livepatch.c | 12 +-
12701 arch/x86/kernel/machine_kexec_32.c | 6 +-
12702 arch/x86/kernel/mcount_64.S | 19 +-
12703 arch/x86/kernel/module.c | 78 +-
12704 arch/x86/kernel/msr.c | 2 +-
12705 arch/x86/kernel/nmi.c | 34 +-
12706 arch/x86/kernel/nmi_selftest.c | 4 +-
12707 arch/x86/kernel/paravirt-spinlocks.c | 2 +-
12708 arch/x86/kernel/paravirt.c | 45 +-
12709 arch/x86/kernel/paravirt_patch_64.c | 8 +
12710 arch/x86/kernel/pci-calgary_64.c | 2 +-
12711 arch/x86/kernel/pci-iommu_table.c | 2 +-
12712 arch/x86/kernel/pci-swiotlb.c | 2 +-
12713 arch/x86/kernel/process.c | 80 +-
12714 arch/x86/kernel/process_32.c | 29 +-
12715 arch/x86/kernel/process_64.c | 14 +-
12716 arch/x86/kernel/ptrace.c | 20 +-
12717 arch/x86/kernel/pvclock.c | 8 +-
12718 arch/x86/kernel/reboot.c | 44 +-
12719 arch/x86/kernel/reboot_fixups_32.c | 2 +-
12720 arch/x86/kernel/relocate_kernel_64.S | 3 +-
12721 arch/x86/kernel/setup.c | 29 +-
12722 arch/x86/kernel/setup_percpu.c | 29 +-
12723 arch/x86/kernel/signal.c | 17 +-
12724 arch/x86/kernel/smp.c | 2 +-
12725 arch/x86/kernel/smpboot.c | 29 +-
12726 arch/x86/kernel/step.c | 6 +-
12727 arch/x86/kernel/sys_i386_32.c | 184 +
12728 arch/x86/kernel/sys_x86_64.c | 22 +-
12729 arch/x86/kernel/tboot.c | 14 +-
12730 arch/x86/kernel/time.c | 8 +-
12731 arch/x86/kernel/tls.c | 7 +-
12732 arch/x86/kernel/tracepoint.c | 4 +-
12733 arch/x86/kernel/traps.c | 53 +-
12734 arch/x86/kernel/tsc.c | 2 +-
12735 arch/x86/kernel/uprobes.c | 2 +-
12736 arch/x86/kernel/vm86_32.c | 6 +-
12737 arch/x86/kernel/vmlinux.lds.S | 153 +-
12738 arch/x86/kernel/x8664_ksyms_64.c | 6 +-
12739 arch/x86/kernel/x86_init.c | 6 +-
12740 arch/x86/kvm/cpuid.c | 21 +-
12741 arch/x86/kvm/emulate.c | 2 +-
12742 arch/x86/kvm/lapic.c | 2 +-
12743 arch/x86/kvm/paging_tmpl.h | 2 +-
12744 arch/x86/kvm/svm.c | 10 +-
12745 arch/x86/kvm/vmx.c | 62 +-
12746 arch/x86/kvm/x86.c | 42 +-
12747 arch/x86/lguest/boot.c | 3 +-
12748 arch/x86/lib/atomic64_386_32.S | 164 +
12749 arch/x86/lib/atomic64_cx8_32.S | 98 +-
12750 arch/x86/lib/checksum_32.S | 99 +-
12751 arch/x86/lib/clear_page_64.S | 3 +
12752 arch/x86/lib/cmpxchg16b_emu.S | 3 +
12753 arch/x86/lib/copy_page_64.S | 14 +-
12754 arch/x86/lib/copy_user_64.S | 66 +-
12755 arch/x86/lib/csum-copy_64.S | 14 +-
12756 arch/x86/lib/csum-wrappers_64.c | 8 +-
12757 arch/x86/lib/getuser.S | 74 +-
12758 arch/x86/lib/insn.c | 8 +-
12759 arch/x86/lib/iomap_copy_64.S | 2 +
12760 arch/x86/lib/memcpy_64.S | 6 +
12761 arch/x86/lib/memmove_64.S | 3 +-
12762 arch/x86/lib/memset_64.S | 3 +
12763 arch/x86/lib/mmx_32.c | 243 +-
12764 arch/x86/lib/msr-reg.S | 2 +
12765 arch/x86/lib/putuser.S | 87 +-
12766 arch/x86/lib/rwsem.S | 6 +-
12767 arch/x86/lib/usercopy_32.c | 359 +-
12768 arch/x86/lib/usercopy_64.c | 20 +-
12769 arch/x86/math-emu/fpu_aux.c | 2 +-
12770 arch/x86/math-emu/fpu_entry.c | 4 +-
12771 arch/x86/math-emu/fpu_system.h | 2 +-
12772 arch/x86/mm/Makefile | 4 +
12773 arch/x86/mm/extable.c | 26 +-
12774 arch/x86/mm/fault.c | 570 +-
12775 arch/x86/mm/gup.c | 6 +-
12776 arch/x86/mm/highmem_32.c | 6 +
12777 arch/x86/mm/hugetlbpage.c | 24 +-
12778 arch/x86/mm/init.c | 111 +-
12779 arch/x86/mm/init_32.c | 111 +-
12780 arch/x86/mm/init_64.c | 46 +-
12781 arch/x86/mm/iomap_32.c | 4 +
12782 arch/x86/mm/ioremap.c | 52 +-
12783 arch/x86/mm/kmemcheck/kmemcheck.c | 4 +-
12784 arch/x86/mm/mmap.c | 40 +-
12785 arch/x86/mm/mmio-mod.c | 10 +-
12786 arch/x86/mm/numa.c | 2 +-
12787 arch/x86/mm/pageattr.c | 38 +-
12788 arch/x86/mm/pat.c | 12 +-
12789 arch/x86/mm/pat_rbtree.c | 2 +-
12790 arch/x86/mm/pf_in.c | 10 +-
12791 arch/x86/mm/pgtable.c | 214 +-
12792 arch/x86/mm/pgtable_32.c | 3 +
12793 arch/x86/mm/setup_nx.c | 7 +
12794 arch/x86/mm/tlb.c | 4 +
12795 arch/x86/mm/uderef_64.c | 37 +
12796 arch/x86/net/bpf_jit.S | 11 +
12797 arch/x86/net/bpf_jit_comp.c | 13 +-
12798 arch/x86/oprofile/backtrace.c | 6 +-
12799 arch/x86/oprofile/nmi_int.c | 8 +-
12800 arch/x86/oprofile/op_model_amd.c | 8 +-
12801 arch/x86/oprofile/op_model_ppro.c | 7 +-
12802 arch/x86/oprofile/op_x86_model.h | 2 +-
12803 arch/x86/pci/intel_mid_pci.c | 2 +-
12804 arch/x86/pci/irq.c | 8 +-
12805 arch/x86/pci/pcbios.c | 144 +-
12806 arch/x86/platform/efi/efi_32.c | 24 +
12807 arch/x86/platform/efi/efi_64.c | 26 +-
12808 arch/x86/platform/efi/efi_stub_32.S | 64 +-
12809 arch/x86/platform/efi/efi_stub_64.S | 2 +
12810 arch/x86/platform/intel-mid/intel-mid.c | 5 +-
12811 arch/x86/platform/intel-mid/intel_mid_weak_decls.h | 6 +-
12812 arch/x86/platform/intel-mid/mfld.c | 4 +-
12813 arch/x86/platform/intel-mid/mrfl.c | 2 +-
12814 arch/x86/platform/intel-quark/imr_selftest.c | 2 +-
12815 arch/x86/platform/olpc/olpc_dt.c | 2 +-
12816 arch/x86/power/cpu.c | 11 +-
12817 arch/x86/realmode/init.c | 10 +-
12818 arch/x86/realmode/rm/Makefile | 3 +
12819 arch/x86/realmode/rm/header.S | 4 +-
12820 arch/x86/realmode/rm/reboot.S | 4 +
12821 arch/x86/realmode/rm/trampoline_32.S | 12 +-
12822 arch/x86/realmode/rm/trampoline_64.S | 3 +-
12823 arch/x86/realmode/rm/wakeup_asm.S | 5 +-
12824 arch/x86/tools/Makefile | 2 +-
12825 arch/x86/tools/relocs.c | 96 +-
12826 arch/x86/um/mem_32.c | 2 +-
12827 arch/x86/um/tls_32.c | 2 +-
12828 arch/x86/xen/enlighten.c | 50 +-
12829 arch/x86/xen/mmu.c | 19 +-
12830 arch/x86/xen/smp.c | 16 +-
12831 arch/x86/xen/xen-asm_32.S | 2 +-
12832 arch/x86/xen/xen-head.S | 11 +
12833 arch/x86/xen/xen-ops.h | 2 -
12834 block/bio.c | 4 +-
12835 block/blk-iopoll.c | 2 +-
12836 block/blk-map.c | 2 +-
12837 block/blk-softirq.c | 2 +-
12838 block/bsg.c | 12 +-
12839 block/compat_ioctl.c | 4 +-
12840 block/genhd.c | 9 +-
12841 block/partitions/efi.c | 8 +-
12842 block/scsi_ioctl.c | 29 +-
12843 crypto/cryptd.c | 4 +-
12844 crypto/pcrypt.c | 2 +-
12845 crypto/zlib.c | 12 +-
12846 drivers/acpi/acpi_video.c | 2 +-
12847 drivers/acpi/apei/apei-internal.h | 2 +-
12848 drivers/acpi/apei/ghes.c | 4 +-
12849 drivers/acpi/bgrt.c | 6 +-
12850 drivers/acpi/blacklist.c | 4 +-
12851 drivers/acpi/bus.c | 4 +-
12852 drivers/acpi/device_pm.c | 4 +-
12853 drivers/acpi/ec.c | 2 +-
12854 drivers/acpi/pci_slot.c | 2 +-
12855 drivers/acpi/processor_idle.c | 2 +-
12856 drivers/acpi/processor_pdc.c | 2 +-
12857 drivers/acpi/sleep.c | 2 +-
12858 drivers/acpi/sysfs.c | 4 +-
12859 drivers/acpi/thermal.c | 2 +-
12860 drivers/acpi/video_detect.c | 7 +-
12861 drivers/ata/libata-core.c | 12 +-
12862 drivers/ata/libata-scsi.c | 2 +-
12863 drivers/ata/libata.h | 2 +-
12864 drivers/ata/pata_arasan_cf.c | 4 +-
12865 drivers/atm/adummy.c | 2 +-
12866 drivers/atm/ambassador.c | 8 +-
12867 drivers/atm/atmtcp.c | 14 +-
12868 drivers/atm/eni.c | 10 +-
12869 drivers/atm/firestream.c | 8 +-
12870 drivers/atm/fore200e.c | 14 +-
12871 drivers/atm/he.c | 18 +-
12872 drivers/atm/horizon.c | 4 +-
12873 drivers/atm/idt77252.c | 36 +-
12874 drivers/atm/iphase.c | 34 +-
12875 drivers/atm/lanai.c | 12 +-
12876 drivers/atm/nicstar.c | 46 +-
12877 drivers/atm/solos-pci.c | 4 +-
12878 drivers/atm/suni.c | 4 +-
12879 drivers/atm/uPD98402.c | 16 +-
12880 drivers/atm/zatm.c | 6 +-
12881 drivers/base/bus.c | 4 +-
12882 drivers/base/devtmpfs.c | 8 +-
12883 drivers/base/node.c | 2 +-
12884 drivers/base/platform-msi.c | 20 +-
12885 drivers/base/power/domain.c | 11 +-
12886 drivers/base/power/sysfs.c | 2 +-
12887 drivers/base/power/wakeup.c | 8 +-
12888 drivers/base/regmap/regmap-debugfs.c | 11 +-
12889 drivers/base/syscore.c | 4 +-
12890 drivers/block/cciss.c | 28 +-
12891 drivers/block/cciss.h | 2 +-
12892 drivers/block/cpqarray.c | 28 +-
12893 drivers/block/cpqarray.h | 2 +-
12894 drivers/block/drbd/drbd_bitmap.c | 2 +-
12895 drivers/block/drbd/drbd_int.h | 8 +-
12896 drivers/block/drbd/drbd_main.c | 12 +-
12897 drivers/block/drbd/drbd_nl.c | 4 +-
12898 drivers/block/drbd/drbd_receiver.c | 34 +-
12899 drivers/block/drbd/drbd_worker.c | 8 +-
12900 drivers/block/pktcdvd.c | 4 +-
12901 drivers/block/rbd.c | 2 +-
12902 drivers/bluetooth/btwilink.c | 2 +-
12903 drivers/bus/arm-cci.c | 12 +-
12904 drivers/cdrom/cdrom.c | 11 +-
12905 drivers/cdrom/gdrom.c | 1 -
12906 drivers/char/agp/compat_ioctl.c | 2 +-
12907 drivers/char/agp/frontend.c | 4 +-
12908 drivers/char/agp/intel-gtt.c | 4 +-
12909 drivers/char/hpet.c | 2 +-
12910 drivers/char/ipmi/ipmi_msghandler.c | 8 +-
12911 drivers/char/ipmi/ipmi_si_intf.c | 8 +-
12912 drivers/char/mem.c | 47 +-
12913 drivers/char/nvram.c | 2 +-
12914 drivers/char/pcmcia/synclink_cs.c | 16 +-
12915 drivers/char/random.c | 12 +-
12916 drivers/char/sonypi.c | 11 +-
12917 drivers/char/tpm/tpm_acpi.c | 3 +-
12918 drivers/char/tpm/tpm_eventlog.c | 4 +-
12919 drivers/char/virtio_console.c | 4 +-
12920 drivers/clk/clk-composite.c | 2 +-
12921 drivers/clk/samsung/clk.h | 2 +-
12922 drivers/clk/socfpga/clk-gate.c | 9 +-
12923 drivers/clk/socfpga/clk-pll.c | 9 +-
12924 drivers/clk/ti/clk.c | 8 +-
12925 drivers/cpufreq/acpi-cpufreq.c | 17 +-
12926 drivers/cpufreq/cpufreq-dt.c | 4 +-
12927 drivers/cpufreq/cpufreq.c | 30 +-
12928 drivers/cpufreq/cpufreq_governor.c | 2 +-
12929 drivers/cpufreq/cpufreq_governor.h | 4 +-
12930 drivers/cpufreq/cpufreq_ondemand.c | 10 +-
12931 drivers/cpufreq/intel_pstate.c | 33 +-
12932 drivers/cpufreq/p4-clockmod.c | 12 +-
12933 drivers/cpufreq/sparc-us3-cpufreq.c | 67 +-
12934 drivers/cpufreq/speedstep-centrino.c | 7 +-
12935 drivers/cpuidle/driver.c | 2 +-
12936 drivers/cpuidle/dt_idle_states.c | 2 +-
12937 drivers/cpuidle/governor.c | 2 +-
12938 drivers/cpuidle/sysfs.c | 2 +-
12939 drivers/crypto/hifn_795x.c | 4 +-
12940 drivers/devfreq/devfreq.c | 4 +-
12941 drivers/dma/sh/shdma-base.c | 4 +-
12942 drivers/dma/sh/shdmac.c | 2 +-
12943 drivers/edac/edac_device.c | 4 +-
12944 drivers/edac/edac_mc_sysfs.c | 2 +-
12945 drivers/edac/edac_pci.c | 4 +-
12946 drivers/edac/edac_pci_sysfs.c | 22 +-
12947 drivers/edac/mce_amd.h | 2 +-
12948 drivers/firewire/core-card.c | 6 +-
12949 drivers/firewire/core-device.c | 2 +-
12950 drivers/firewire/core-transaction.c | 1 +
12951 drivers/firewire/core.h | 1 +
12952 drivers/firmware/dmi-id.c | 2 +-
12953 drivers/firmware/dmi_scan.c | 12 +-
12954 drivers/firmware/efi/cper.c | 8 +-
12955 drivers/firmware/efi/efi.c | 12 +-
12956 drivers/firmware/efi/efivars.c | 2 +-
12957 drivers/firmware/efi/runtime-map.c | 2 +-
12958 drivers/firmware/google/gsmi.c | 2 +-
12959 drivers/firmware/google/memconsole.c | 7 +-
12960 drivers/firmware/memmap.c | 2 +-
12961 drivers/firmware/psci.c | 2 +-
12962 drivers/gpio/gpio-davinci.c | 6 +-
12963 drivers/gpio/gpio-em.c | 2 +-
12964 drivers/gpio/gpio-ich.c | 2 +-
12965 drivers/gpio/gpio-omap.c | 4 +-
12966 drivers/gpio/gpio-rcar.c | 2 +-
12967 drivers/gpio/gpio-vr41xx.c | 2 +-
12968 drivers/gpio/gpiolib.c | 12 +-
12969 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-
12970 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 2 +-
12971 drivers/gpu/drm/amd/amdkfd/kfd_device.c | 6 +-
12972 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 90 +-
12973 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 8 +-
12974 .../drm/amd/amdkfd/kfd_device_queue_manager_cik.c | 14 +-
12975 .../drm/amd/amdkfd/kfd_device_queue_manager_vi.c | 14 +-
12976 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c | 4 +-
12977 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 2 +-
12978 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.h | 2 +-
12979 .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 16 +-
12980 drivers/gpu/drm/drm_crtc.c | 2 +-
12981 drivers/gpu/drm/drm_drv.c | 2 +-
12982 drivers/gpu/drm/drm_fops.c | 12 +-
12983 drivers/gpu/drm/drm_global.c | 14 +-
12984 drivers/gpu/drm/drm_info.c | 13 +-
12985 drivers/gpu/drm/drm_ioc32.c | 13 +-
12986 drivers/gpu/drm/drm_ioctl.c | 2 +-
12987 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 10 +-
12988 drivers/gpu/drm/i810/i810_drv.h | 4 +-
12989 drivers/gpu/drm/i915/i915_dma.c | 2 +-
12990 drivers/gpu/drm/i915/i915_gem_execbuffer.c | 4 +-
12991 drivers/gpu/drm/i915/i915_gem_gtt.c | 16 +-
12992 drivers/gpu/drm/i915/i915_gem_gtt.h | 6 +-
12993 drivers/gpu/drm/i915/i915_ioc32.c | 10 +-
12994 drivers/gpu/drm/i915/intel_display.c | 26 +-
12995 drivers/gpu/drm/imx/imx-drm-core.c | 2 +-
12996 drivers/gpu/drm/mga/mga_drv.h | 4 +-
12997 drivers/gpu/drm/mga/mga_ioc32.c | 10 +-
12998 drivers/gpu/drm/mga/mga_irq.c | 8 +-
12999 drivers/gpu/drm/nouveau/nouveau_bios.c | 2 +-
13000 drivers/gpu/drm/nouveau/nouveau_drm.h | 1 -
13001 drivers/gpu/drm/nouveau/nouveau_ioc32.c | 2 +-
13002 drivers/gpu/drm/nouveau/nouveau_vga.c | 2 +-
13003 drivers/gpu/drm/omapdrm/Makefile | 2 +-
13004 drivers/gpu/drm/qxl/qxl_cmd.c | 12 +-
13005 drivers/gpu/drm/qxl/qxl_debugfs.c | 8 +-
13006 drivers/gpu/drm/qxl/qxl_drv.h | 8 +-
13007 drivers/gpu/drm/qxl/qxl_ioctl.c | 10 +-
13008 drivers/gpu/drm/qxl/qxl_irq.c | 16 +-
13009 drivers/gpu/drm/qxl/qxl_ttm.c | 38 +-
13010 drivers/gpu/drm/r128/r128_cce.c | 2 +-
13011 drivers/gpu/drm/r128/r128_drv.h | 4 +-
13012 drivers/gpu/drm/r128/r128_ioc32.c | 10 +-
13013 drivers/gpu/drm/r128/r128_irq.c | 4 +-
13014 drivers/gpu/drm/r128/r128_state.c | 4 +-
13015 drivers/gpu/drm/radeon/mkregtable.c | 4 +-
13016 drivers/gpu/drm/radeon/radeon_device.c | 2 +-
13017 drivers/gpu/drm/radeon/radeon_drv.h | 2 +-
13018 drivers/gpu/drm/radeon/radeon_ioc32.c | 12 +-
13019 drivers/gpu/drm/radeon/radeon_irq.c | 6 +-
13020 drivers/gpu/drm/radeon/radeon_state.c | 4 +-
13021 drivers/gpu/drm/radeon/radeon_ttm.c | 4 +-
13022 drivers/gpu/drm/tegra/dc.c | 2 +-
13023 drivers/gpu/drm/tegra/dsi.c | 2 +-
13024 drivers/gpu/drm/tegra/hdmi.c | 2 +-
13025 drivers/gpu/drm/tegra/sor.c | 7 +-
13026 drivers/gpu/drm/tilcdc/Makefile | 6 +-
13027 drivers/gpu/drm/ttm/ttm_memory.c | 4 +-
13028 drivers/gpu/drm/ttm/ttm_page_alloc.c | 18 +-
13029 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 18 +-
13030 drivers/gpu/drm/udl/udl_fb.c | 1 -
13031 drivers/gpu/drm/via/via_drv.h | 4 +-
13032 drivers/gpu/drm/via/via_irq.c | 18 +-
13033 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 2 +-
13034 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c | 8 +-
13035 drivers/gpu/drm/vmwgfx/vmwgfx_irq.c | 4 +-
13036 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c | 2 +-
13037 drivers/gpu/vga/vga_switcheroo.c | 4 +-
13038 drivers/hid/hid-core.c | 4 +-
13039 drivers/hid/hid-sensor-custom.c | 2 +-
13040 drivers/hv/channel.c | 2 +-
13041 drivers/hv/hv.c | 4 +-
13042 drivers/hv/hv_balloon.c | 18 +-
13043 drivers/hv/hyperv_vmbus.h | 2 +-
13044 drivers/hwmon/acpi_power_meter.c | 6 +-
13045 drivers/hwmon/applesmc.c | 2 +-
13046 drivers/hwmon/asus_atk0110.c | 10 +-
13047 drivers/hwmon/coretemp.c | 2 +-
13048 drivers/hwmon/dell-smm-hwmon.c | 2 +-
13049 drivers/hwmon/ibmaem.c | 2 +-
13050 drivers/hwmon/iio_hwmon.c | 2 +-
13051 drivers/hwmon/nct6683.c | 6 +-
13052 drivers/hwmon/nct6775.c | 6 +-
13053 drivers/hwmon/pmbus/pmbus_core.c | 10 +-
13054 drivers/hwmon/sht15.c | 12 +-
13055 drivers/hwmon/via-cputemp.c | 2 +-
13056 drivers/i2c/busses/i2c-amd756-s4882.c | 2 +-
13057 drivers/i2c/busses/i2c-nforce2-s4985.c | 2 +-
13058 drivers/i2c/i2c-dev.c | 2 +-
13059 drivers/ide/ide-cd.c | 2 +-
13060 drivers/ide/ide-disk.c | 2 +-
13061 drivers/iio/industrialio-core.c | 2 +-
13062 drivers/iio/magnetometer/ak8975.c | 2 +-
13063 drivers/infiniband/core/cm.c | 32 +-
13064 drivers/infiniband/core/fmr_pool.c | 20 +-
13065 drivers/infiniband/core/uverbs_cmd.c | 3 +
13066 drivers/infiniband/hw/cxgb4/mem.c | 4 +-
13067 drivers/infiniband/hw/mlx4/mad.c | 2 +-
13068 drivers/infiniband/hw/mlx4/mcg.c | 2 +-
13069 drivers/infiniband/hw/mlx4/mlx4_ib.h | 2 +-
13070 drivers/infiniband/hw/mthca/mthca_cmd.c | 8 +-
13071 drivers/infiniband/hw/mthca/mthca_main.c | 2 +-
13072 drivers/infiniband/hw/mthca/mthca_mr.c | 6 +-
13073 drivers/infiniband/hw/mthca/mthca_provider.c | 2 +-
13074 drivers/infiniband/hw/nes/nes.c | 4 +-
13075 drivers/infiniband/hw/nes/nes.h | 40 +-
13076 drivers/infiniband/hw/nes/nes_cm.c | 62 +-
13077 drivers/infiniband/hw/nes/nes_mgt.c | 8 +-
13078 drivers/infiniband/hw/nes/nes_nic.c | 40 +-
13079 drivers/infiniband/hw/nes/nes_verbs.c | 10 +-
13080 drivers/infiniband/hw/qib/qib.h | 1 +
13081 drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 2 +-
13082 drivers/input/gameport/gameport.c | 4 +-
13083 drivers/input/input.c | 4 +-
13084 drivers/input/joystick/sidewinder.c | 1 +
13085 drivers/input/joystick/xpad.c | 4 +-
13086 drivers/input/misc/ims-pcu.c | 4 +-
13087 drivers/input/mouse/psmouse.h | 2 +-
13088 drivers/input/mousedev.c | 2 +-
13089 drivers/input/serio/serio.c | 4 +-
13090 drivers/input/serio/serio_raw.c | 4 +-
13091 drivers/input/touchscreen/htcpen.c | 2 +-
13092 drivers/iommu/arm-smmu-v3.c | 2 +-
13093 drivers/iommu/arm-smmu.c | 43 +-
13094 drivers/iommu/io-pgtable-arm.c | 101 +-
13095 drivers/iommu/io-pgtable.c | 11 +-
13096 drivers/iommu/io-pgtable.h | 19 +-
13097 drivers/iommu/iommu.c | 2 +-
13098 drivers/iommu/ipmmu-vmsa.c | 13 +-
13099 drivers/iommu/irq_remapping.c | 2 +-
13100 drivers/irqchip/irq-gic.c | 2 +-
13101 drivers/irqchip/irq-i8259.c | 2 +-
13102 drivers/irqchip/irq-renesas-intc-irqpin.c | 2 +-
13103 drivers/irqchip/irq-renesas-irqc.c | 2 +-
13104 drivers/isdn/capi/capi.c | 10 +-
13105 drivers/isdn/gigaset/interface.c | 8 +-
13106 drivers/isdn/gigaset/usb-gigaset.c | 2 +-
13107 drivers/isdn/hardware/avm/b1.c | 4 +-
13108 drivers/isdn/i4l/isdn_common.c | 2 +
13109 drivers/isdn/i4l/isdn_tty.c | 22 +-
13110 drivers/isdn/icn/icn.c | 2 +-
13111 drivers/isdn/mISDN/dsp_cmx.c | 2 +-
13112 drivers/lguest/core.c | 10 +-
13113 drivers/lguest/page_tables.c | 2 +-
13114 drivers/lguest/x86/core.c | 12 +-
13115 drivers/lguest/x86/switcher_32.S | 27 +-
13116 drivers/md/bcache/closure.h | 2 +-
13117 drivers/md/bitmap.c | 2 +-
13118 drivers/md/dm-ioctl.c | 2 +-
13119 drivers/md/dm-raid1.c | 18 +-
13120 drivers/md/dm-stats.c | 6 +-
13121 drivers/md/dm-stripe.c | 10 +-
13122 drivers/md/dm-table.c | 2 +-
13123 drivers/md/dm-thin-metadata.c | 4 +-
13124 drivers/md/dm.c | 16 +-
13125 drivers/md/md.c | 26 +-
13126 drivers/md/md.h | 6 +-
13127 drivers/md/persistent-data/dm-space-map-metadata.c | 4 +-
13128 drivers/md/persistent-data/dm-space-map.h | 1 +
13129 drivers/md/raid1.c | 4 +-
13130 drivers/md/raid10.c | 18 +-
13131 drivers/md/raid5.c | 22 +-
13132 drivers/media/dvb-core/dvbdev.c | 2 +-
13133 drivers/media/dvb-frontends/af9033.h | 2 +-
13134 drivers/media/dvb-frontends/dib3000.h | 2 +-
13135 drivers/media/dvb-frontends/dib7000p.h | 2 +-
13136 drivers/media/dvb-frontends/dib8000.h | 2 +-
13137 drivers/media/pci/cx88/cx88-video.c | 6 +-
13138 drivers/media/pci/ivtv/ivtv-driver.c | 2 +-
13139 drivers/media/pci/solo6x10/solo6x10-core.c | 2 +-
13140 drivers/media/pci/solo6x10/solo6x10-p2m.c | 2 +-
13141 drivers/media/pci/solo6x10/solo6x10.h | 2 +-
13142 drivers/media/pci/tw68/tw68-core.c | 2 +-
13143 drivers/media/platform/omap/omap_vout.c | 11 +-
13144 drivers/media/platform/s5p-tv/mixer.h | 2 +-
13145 drivers/media/platform/s5p-tv/mixer_grp_layer.c | 2 +-
13146 drivers/media/platform/s5p-tv/mixer_reg.c | 2 +-
13147 drivers/media/platform/s5p-tv/mixer_video.c | 24 +-
13148 drivers/media/platform/s5p-tv/mixer_vp_layer.c | 2 +-
13149 drivers/media/radio/radio-cadet.c | 2 +
13150 drivers/media/radio/radio-maxiradio.c | 2 +-
13151 drivers/media/radio/radio-shark.c | 2 +-
13152 drivers/media/radio/radio-shark2.c | 2 +-
13153 drivers/media/radio/radio-si476x.c | 2 +-
13154 drivers/media/radio/wl128x/fmdrv_common.c | 2 +-
13155 drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 12 +-
13156 drivers/media/v4l2-core/v4l2-device.c | 4 +-
13157 drivers/media/v4l2-core/v4l2-ioctl.c | 13 +-
13158 drivers/memory/omap-gpmc.c | 21 +-
13159 drivers/message/fusion/mptsas.c | 34 +-
13160 drivers/mfd/ab8500-debugfs.c | 2 +-
13161 drivers/mfd/kempld-core.c | 2 +-
13162 drivers/mfd/max8925-i2c.c | 2 +-
13163 drivers/mfd/tps65910.c | 2 +-
13164 drivers/mfd/twl4030-irq.c | 9 +-
13165 drivers/mfd/wm5110-tables.c | 2 +-
13166 drivers/mfd/wm8998-tables.c | 2 +-
13167 drivers/misc/c2port/core.c | 4 +-
13168 drivers/misc/kgdbts.c | 4 +-
13169 drivers/misc/lis3lv02d/lis3lv02d.c | 8 +-
13170 drivers/misc/lis3lv02d/lis3lv02d.h | 2 +-
13171 drivers/misc/mic/scif/scif_rb.c | 8 +-
13172 drivers/misc/sgi-gru/gruhandles.c | 4 +-
13173 drivers/misc/sgi-gru/gruprocfs.c | 8 +-
13174 drivers/misc/sgi-gru/grutables.h | 154 +-
13175 drivers/misc/sgi-xp/xp.h | 2 +-
13176 drivers/misc/sgi-xp/xpc.h | 3 +-
13177 drivers/misc/sgi-xp/xpc_main.c | 2 +-
13178 drivers/mmc/card/block.c | 2 +-
13179 drivers/mmc/host/dw_mmc.h | 2 +-
13180 drivers/mmc/host/mmci.c | 4 +-
13181 drivers/mmc/host/omap_hsmmc.c | 4 +-
13182 drivers/mmc/host/sdhci-esdhc-imx.c | 7 +-
13183 drivers/mmc/host/sdhci-s3c.c | 8 +-
13184 drivers/mtd/chips/cfi_cmdset_0020.c | 2 +-
13185 drivers/mtd/nand/denali.c | 1 +
13186 drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 2 +-
13187 drivers/mtd/nftlmount.c | 1 +
13188 drivers/mtd/sm_ftl.c | 2 +-
13189 drivers/net/bonding/bond_netlink.c | 2 +-
13190 drivers/net/caif/caif_hsi.c | 2 +-
13191 drivers/net/can/Kconfig | 2 +-
13192 drivers/net/can/dev.c | 2 +-
13193 drivers/net/can/vcan.c | 2 +-
13194 drivers/net/dummy.c | 2 +-
13195 drivers/net/ethernet/8390/ax88796.c | 4 +-
13196 drivers/net/ethernet/altera/altera_tse_main.c | 4 +-
13197 drivers/net/ethernet/amd/xgbe/xgbe-common.h | 4 +-
13198 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c | 4 +-
13199 drivers/net/ethernet/amd/xgbe/xgbe-desc.c | 27 +-
13200 drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 143 +-
13201 drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 64 +-
13202 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 10 +-
13203 drivers/net/ethernet/amd/xgbe/xgbe-main.c | 15 +-
13204 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 27 +-
13205 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c | 4 +-
13206 drivers/net/ethernet/amd/xgbe/xgbe.h | 10 +-
13207 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 2 +-
13208 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | 11 +-
13209 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h | 3 +-
13210 drivers/net/ethernet/broadcom/tg3.h | 1 +
13211 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c | 6 +-
13212 drivers/net/ethernet/cavium/liquidio/lio_main.c | 11 +-
13213 drivers/net/ethernet/chelsio/cxgb3/l2t.h | 2 +-
13214 drivers/net/ethernet/dec/tulip/de4x5.c | 4 +-
13215 drivers/net/ethernet/emulex/benet/be_main.c | 2 +-
13216 drivers/net/ethernet/faraday/ftgmac100.c | 2 +
13217 drivers/net/ethernet/faraday/ftmac100.c | 2 +
13218 drivers/net/ethernet/intel/i40e/i40e_ptp.c | 2 +-
13219 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 2 +-
13220 drivers/net/ethernet/mellanox/mlx4/en_tx.c | 4 +-
13221 drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 7 +-
13222 drivers/net/ethernet/neterion/vxge/vxge-config.c | 7 +-
13223 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 4 +-
13224 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c | 12 +-
13225 .../net/ethernet/qlogic/qlcnic/qlcnic_minidump.c | 2 +-
13226 drivers/net/ethernet/realtek/r8169.c | 8 +-
13227 drivers/net/ethernet/sfc/ptp.c | 2 +-
13228 drivers/net/ethernet/stmicro/stmmac/mmc_core.c | 4 +-
13229 drivers/net/ethernet/via/via-rhine.c | 2 +-
13230 drivers/net/geneve.c | 2 +-
13231 drivers/net/hyperv/hyperv_net.h | 2 +-
13232 drivers/net/hyperv/rndis_filter.c | 4 +-
13233 drivers/net/ifb.c | 2 +-
13234 drivers/net/ipvlan/ipvlan_core.c | 2 +-
13235 drivers/net/macvlan.c | 20 +-
13236 drivers/net/macvtap.c | 6 +-
13237 drivers/net/nlmon.c | 2 +-
13238 drivers/net/phy/phy_device.c | 6 +-
13239 drivers/net/ppp/ppp_generic.c | 4 +-
13240 drivers/net/slip/slhc.c | 2 +-
13241 drivers/net/team/team.c | 4 +-
13242 drivers/net/tun.c | 7 +-
13243 drivers/net/usb/hso.c | 23 +-
13244 drivers/net/usb/r8152.c | 2 +-
13245 drivers/net/usb/sierra_net.c | 4 +-
13246 drivers/net/virtio_net.c | 2 +-
13247 drivers/net/vrf.c | 2 +-
13248 drivers/net/vxlan.c | 4 +-
13249 drivers/net/wimax/i2400m/rx.c | 2 +-
13250 drivers/net/wireless/airo.c | 2 +-
13251 drivers/net/wireless/at76c50x-usb.c | 2 +-
13252 drivers/net/wireless/ath/ath10k/ce.c | 6 +-
13253 drivers/net/wireless/ath/ath10k/htc.c | 7 +-
13254 drivers/net/wireless/ath/ath10k/htc.h | 4 +-
13255 drivers/net/wireless/ath/ath9k/ar9002_mac.c | 36 +-
13256 drivers/net/wireless/ath/ath9k/ar9003_mac.c | 64 +-
13257 drivers/net/wireless/ath/ath9k/hw.h | 4 +-
13258 drivers/net/wireless/ath/ath9k/main.c | 22 +-
13259 drivers/net/wireless/ath/wil6210/wil_platform.h | 2 +-
13260 drivers/net/wireless/b43/phy_lp.c | 2 +-
13261 drivers/net/wireless/iwlegacy/3945-mac.c | 4 +-
13262 drivers/net/wireless/iwlwifi/dvm/debugfs.c | 34 +-
13263 drivers/net/wireless/iwlwifi/pcie/trans.c | 4 +-
13264 drivers/net/wireless/mac80211_hwsim.c | 28 +-
13265 drivers/net/wireless/rndis_wlan.c | 2 +-
13266 drivers/net/wireless/rt2x00/rt2x00.h | 2 +-
13267 drivers/net/wireless/rt2x00/rt2x00queue.c | 4 +-
13268 drivers/net/wireless/ti/wl1251/sdio.c | 12 +-
13269 drivers/net/wireless/ti/wl12xx/main.c | 8 +-
13270 drivers/net/wireless/ti/wl18xx/main.c | 6 +-
13271 drivers/nfc/nfcwilink.c | 2 +-
13272 drivers/of/fdt.c | 4 +-
13273 drivers/oprofile/buffer_sync.c | 8 +-
13274 drivers/oprofile/event_buffer.c | 2 +-
13275 drivers/oprofile/oprof.c | 2 +-
13276 drivers/oprofile/oprofile_stats.c | 10 +-
13277 drivers/oprofile/oprofile_stats.h | 10 +-
13278 drivers/oprofile/oprofilefs.c | 6 +-
13279 drivers/oprofile/timer_int.c | 2 +-
13280 drivers/parport/procfs.c | 4 +-
13281 drivers/pci/host/pci-host-generic.c | 24 +-
13282 drivers/pci/hotplug/acpiphp_ibm.c | 4 +-
13283 drivers/pci/hotplug/cpcihp_generic.c | 6 +-
13284 drivers/pci/hotplug/cpcihp_zt5550.c | 14 +-
13285 drivers/pci/hotplug/cpqphp_nvram.c | 2 +
13286 drivers/pci/hotplug/pci_hotplug_core.c | 6 +-
13287 drivers/pci/hotplug/pciehp_core.c | 2 +-
13288 drivers/pci/msi.c | 22 +-
13289 drivers/pci/pci-sysfs.c | 6 +-
13290 drivers/pci/pci.h | 2 +-
13291 drivers/pci/pcie/aspm.c | 6 +-
13292 drivers/pci/pcie/portdrv_pci.c | 2 +-
13293 drivers/pci/probe.c | 2 +-
13294 drivers/pinctrl/nomadik/pinctrl-nomadik.c | 2 +-
13295 drivers/pinctrl/pinctrl-at91.c | 5 +-
13296 drivers/platform/chrome/chromeos_pstore.c | 2 +-
13297 drivers/platform/x86/alienware-wmi.c | 4 +-
13298 drivers/platform/x86/compal-laptop.c | 2 +-
13299 drivers/platform/x86/hdaps.c | 2 +-
13300 drivers/platform/x86/ibm_rtl.c | 2 +-
13301 drivers/platform/x86/intel_oaktrail.c | 2 +-
13302 drivers/platform/x86/msi-laptop.c | 16 +-
13303 drivers/platform/x86/msi-wmi.c | 2 +-
13304 drivers/platform/x86/samsung-laptop.c | 2 +-
13305 drivers/platform/x86/samsung-q10.c | 2 +-
13306 drivers/platform/x86/sony-laptop.c | 14 +-
13307 drivers/platform/x86/thinkpad_acpi.c | 2 +-
13308 drivers/pnp/pnpbios/bioscalls.c | 14 +-
13309 drivers/pnp/pnpbios/core.c | 2 +-
13310 drivers/power/pda_power.c | 7 +-
13311 drivers/power/power_supply.h | 4 +-
13312 drivers/power/power_supply_core.c | 7 +-
13313 drivers/power/power_supply_sysfs.c | 6 +-
13314 drivers/power/reset/at91-reset.c | 9 +-
13315 drivers/powercap/powercap_sys.c | 136 +-
13316 drivers/ptp/ptp_private.h | 2 +-
13317 drivers/ptp/ptp_sysfs.c | 2 +-
13318 drivers/regulator/core.c | 4 +-
13319 drivers/regulator/max8660.c | 6 +-
13320 drivers/regulator/max8973-regulator.c | 16 +-
13321 drivers/regulator/mc13892-regulator.c | 8 +-
13322 drivers/rtc/rtc-armada38x.c | 7 +-
13323 drivers/rtc/rtc-cmos.c | 4 +-
13324 drivers/rtc/rtc-ds1307.c | 2 +-
13325 drivers/rtc/rtc-m48t59.c | 4 +-
13326 drivers/rtc/rtc-test.c | 6 +-
13327 drivers/scsi/be2iscsi/be_main.c | 2 +-
13328 drivers/scsi/bfa/bfa_fcpim.h | 2 +-
13329 drivers/scsi/bfa/bfa_ioc.h | 4 +-
13330 drivers/scsi/fcoe/fcoe_sysfs.c | 12 +-
13331 drivers/scsi/hosts.c | 4 +-
13332 drivers/scsi/hpsa.c | 38 +-
13333 drivers/scsi/hpsa.h | 2 +-
13334 drivers/scsi/libfc/fc_exch.c | 50 +-
13335 drivers/scsi/libsas/sas_ata.c | 2 +-
13336 drivers/scsi/lpfc/lpfc.h | 8 +-
13337 drivers/scsi/lpfc/lpfc_debugfs.c | 18 +-
13338 drivers/scsi/lpfc/lpfc_init.c | 6 +-
13339 drivers/scsi/lpfc/lpfc_scsi.c | 10 +-
13340 drivers/scsi/megaraid/megaraid_sas.h | 2 +-
13341 drivers/scsi/mpt2sas/mpt2sas_scsih.c | 8 +-
13342 drivers/scsi/pmcraid.c | 20 +-
13343 drivers/scsi/pmcraid.h | 8 +-
13344 drivers/scsi/qla2xxx/qla_attr.c | 4 +-
13345 drivers/scsi/qla2xxx/qla_gbl.h | 4 +-
13346 drivers/scsi/qla2xxx/qla_os.c | 6 +-
13347 drivers/scsi/qla4xxx/ql4_def.h | 2 +-
13348 drivers/scsi/qla4xxx/ql4_os.c | 6 +-
13349 drivers/scsi/scsi.c | 2 +-
13350 drivers/scsi/scsi_lib.c | 8 +-
13351 drivers/scsi/scsi_sysfs.c | 2 +-
13352 drivers/scsi/scsi_transport_fc.c | 8 +-
13353 drivers/scsi/scsi_transport_iscsi.c | 6 +-
13354 drivers/scsi/scsi_transport_srp.c | 6 +-
13355 drivers/scsi/sd.c | 6 +-
13356 drivers/scsi/sg.c | 2 +-
13357 drivers/scsi/sr.c | 21 +-
13358 drivers/soc/tegra/fuse/fuse-tegra.c | 2 +-
13359 drivers/spi/spi.c | 2 +-
13360 drivers/staging/android/timed_output.c | 6 +-
13361 drivers/staging/comedi/comedi_fops.c | 8 +-
13362 drivers/staging/fbtft/fbtft-core.c | 2 +-
13363 drivers/staging/fbtft/fbtft.h | 2 +-
13364 drivers/staging/gdm724x/gdm_tty.c | 2 +-
13365 drivers/staging/iio/accel/lis3l02dq_ring.c | 2 +-
13366 drivers/staging/iio/adc/ad7280a.c | 4 +-
13367 drivers/staging/lustre/lnet/selftest/brw_test.c | 12 +-
13368 drivers/staging/lustre/lnet/selftest/framework.c | 4 -
13369 drivers/staging/lustre/lnet/selftest/ping_test.c | 14 +-
13370 drivers/staging/lustre/lustre/include/lustre_dlm.h | 2 +-
13371 drivers/staging/lustre/lustre/include/obd.h | 2 +-
13372 drivers/staging/octeon/ethernet-rx.c | 20 +-
13373 drivers/staging/octeon/ethernet.c | 8 +-
13374 drivers/staging/rdma/ipath/ipath_rc.c | 6 +-
13375 drivers/staging/rdma/ipath/ipath_ruc.c | 6 +-
13376 drivers/staging/rtl8188eu/include/hal_intf.h | 2 +-
13377 drivers/staging/rtl8712/rtl871x_io.h | 2 +-
13378 drivers/staging/sm750fb/sm750.c | 14 +-
13379 drivers/staging/unisys/visorbus/visorbus_private.h | 4 +-
13380 drivers/target/sbp/sbp_target.c | 4 +-
13381 drivers/thermal/cpu_cooling.c | 9 +-
13382 drivers/thermal/int340x_thermal/int3400_thermal.c | 6 +-
13383 drivers/thermal/of-thermal.c | 17 +-
13384 drivers/thermal/x86_pkg_temp_thermal.c | 2 +-
13385 drivers/tty/cyclades.c | 6 +-
13386 drivers/tty/hvc/hvc_console.c | 14 +-
13387 drivers/tty/hvc/hvcs.c | 21 +-
13388 drivers/tty/hvc/hvsi.c | 22 +-
13389 drivers/tty/hvc/hvsi_lib.c | 4 +-
13390 drivers/tty/ipwireless/tty.c | 27 +-
13391 drivers/tty/moxa.c | 2 +-
13392 drivers/tty/n_gsm.c | 4 +-
13393 drivers/tty/n_tty.c | 3 +-
13394 drivers/tty/pty.c | 4 +-
13395 drivers/tty/rocket.c | 6 +-
13396 drivers/tty/serial/8250/8250_core.c | 10 +-
13397 drivers/tty/serial/ifx6x60.c | 2 +-
13398 drivers/tty/serial/ioc4_serial.c | 6 +-
13399 drivers/tty/serial/kgdb_nmi.c | 4 +-
13400 drivers/tty/serial/kgdboc.c | 32 +-
13401 drivers/tty/serial/msm_serial.c | 4 +-
13402 drivers/tty/serial/samsung.c | 9 +-
13403 drivers/tty/serial/serial_core.c | 8 +-
13404 drivers/tty/synclink.c | 34 +-
13405 drivers/tty/synclink_gt.c | 28 +-
13406 drivers/tty/synclinkmp.c | 34 +-
13407 drivers/tty/tty_io.c | 2 +-
13408 drivers/tty/tty_ldisc.c | 8 +-
13409 drivers/tty/tty_port.c | 22 +-
13410 drivers/uio/uio.c | 13 +-
13411 drivers/usb/atm/cxacru.c | 2 +-
13412 drivers/usb/atm/usbatm.c | 24 +-
13413 drivers/usb/class/cdc-acm.h | 2 +-
13414 drivers/usb/core/devices.c | 6 +-
13415 drivers/usb/core/devio.c | 12 +-
13416 drivers/usb/core/hcd.c | 4 +-
13417 drivers/usb/core/sysfs.c | 2 +-
13418 drivers/usb/core/usb.c | 2 +-
13419 drivers/usb/early/ehci-dbgp.c | 16 +-
13420 drivers/usb/gadget/function/u_serial.c | 22 +-
13421 drivers/usb/gadget/udc/dummy_hcd.c | 2 +-
13422 drivers/usb/host/ehci-hcd.c | 2 +-
13423 drivers/usb/host/ehci-hub.c | 4 +-
13424 drivers/usb/host/ehci-q.c | 4 +-
13425 drivers/usb/host/fotg210-hcd.c | 2 +-
13426 drivers/usb/host/fusbh200-hcd.c | 2 +-
13427 drivers/usb/host/hwa-hc.c | 2 +-
13428 drivers/usb/host/ohci-hcd.c | 2 +-
13429 drivers/usb/host/r8a66597.h | 2 +-
13430 drivers/usb/host/uhci-hcd.c | 2 +-
13431 drivers/usb/host/xhci-pci.c | 2 +-
13432 drivers/usb/host/xhci.c | 2 +-
13433 drivers/usb/misc/appledisplay.c | 4 +-
13434 drivers/usb/serial/console.c | 8 +-
13435 drivers/usb/storage/transport.c | 2 +-
13436 drivers/usb/storage/usb.c | 2 +-
13437 drivers/usb/storage/usb.h | 2 +-
13438 drivers/usb/usbip/vhci.h | 2 +-
13439 drivers/usb/usbip/vhci_hcd.c | 6 +-
13440 drivers/usb/usbip/vhci_rx.c | 2 +-
13441 drivers/usb/wusbcore/wa-hc.h | 4 +-
13442 drivers/usb/wusbcore/wa-xfer.c | 2 +-
13443 drivers/vfio/vfio.c | 2 +-
13444 drivers/vhost/vringh.c | 20 +-
13445 drivers/video/backlight/kb3886_bl.c | 2 +-
13446 drivers/video/console/fbcon.c | 2 +-
13447 drivers/video/fbdev/aty/aty128fb.c | 2 +-
13448 drivers/video/fbdev/aty/atyfb_base.c | 8 +-
13449 drivers/video/fbdev/aty/mach64_cursor.c | 5 +-
13450 drivers/video/fbdev/core/fb_defio.c | 6 +-
13451 drivers/video/fbdev/core/fbmem.c | 2 +-
13452 drivers/video/fbdev/hyperv_fb.c | 4 +-
13453 drivers/video/fbdev/i810/i810_accel.c | 1 +
13454 drivers/video/fbdev/matrox/matroxfb_base.c | 2 +-
13455 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c | 16 +-
13456 drivers/video/fbdev/nvidia/nvidia.c | 27 +-
13457 drivers/video/fbdev/omap2/dss/display.c | 8 +-
13458 drivers/video/fbdev/s1d13xxxfb.c | 6 +-
13459 drivers/video/fbdev/smscufx.c | 4 +-
13460 drivers/video/fbdev/udlfb.c | 36 +-
13461 drivers/video/fbdev/uvesafb.c | 52 +-
13462 drivers/video/fbdev/vesafb.c | 58 +-
13463 drivers/video/fbdev/via/via_clock.h | 2 +-
13464 drivers/xen/events/events_base.c | 6 +-
13465 drivers/xen/evtchn.c | 4 +-
13466 fs/Kconfig.binfmt | 2 +-
13467 fs/afs/inode.c | 4 +-
13468 fs/aio.c | 2 +-
13469 fs/autofs4/waitq.c | 2 +-
13470 fs/befs/endian.h | 6 +-
13471 fs/binfmt_aout.c | 23 +-
13472 fs/binfmt_elf.c | 670 +-
13473 fs/binfmt_elf_fdpic.c | 4 +-
13474 fs/block_dev.c | 2 +-
13475 fs/btrfs/ctree.c | 9 +-
13476 fs/btrfs/delayed-inode.c | 9 +-
13477 fs/btrfs/delayed-inode.h | 6 +-
13478 fs/btrfs/file.c | 10 +-
13479 fs/btrfs/inode.c | 14 +-
13480 fs/btrfs/super.c | 2 +-
13481 fs/btrfs/sysfs.c | 2 +-
13482 fs/btrfs/tests/free-space-tests.c | 8 +-
13483 fs/btrfs/tree-log.h | 2 +-
13484 fs/buffer.c | 2 +-
13485 fs/cachefiles/bind.c | 6 +-
13486 fs/cachefiles/daemon.c | 8 +-
13487 fs/cachefiles/internal.h | 12 +-
13488 fs/cachefiles/namei.c | 2 +-
13489 fs/cachefiles/proc.c | 12 +-
13490 fs/ceph/dir.c | 12 +-
13491 fs/ceph/super.c | 4 +-
13492 fs/cifs/cifs_debug.c | 12 +-
13493 fs/cifs/cifsfs.c | 8 +-
13494 fs/cifs/cifsglob.h | 54 +-
13495 fs/cifs/file.c | 10 +-
13496 fs/cifs/misc.c | 4 +-
13497 fs/cifs/smb1ops.c | 80 +-
13498 fs/cifs/smb2ops.c | 84 +-
13499 fs/cifs/smb2pdu.c | 3 +-
13500 fs/coda/cache.c | 10 +-
13501 fs/compat.c | 4 +-
13502 fs/compat_binfmt_elf.c | 2 +
13503 fs/compat_ioctl.c | 12 +-
13504 fs/configfs/dir.c | 10 +-
13505 fs/coredump.c | 16 +-
13506 fs/dcache.c | 51 +-
13507 fs/ecryptfs/inode.c | 2 +-
13508 fs/ecryptfs/miscdev.c | 2 +-
13509 fs/exec.c | 362 +-
13510 fs/ext2/xattr.c | 5 +-
13511 fs/ext4/ext4.h | 20 +-
13512 fs/ext4/mballoc.c | 44 +-
13513 fs/ext4/resize.c | 16 +-
13514 fs/ext4/super.c | 4 +-
13515 fs/ext4/xattr.c | 5 +-
13516 fs/fhandle.c | 3 +-
13517 fs/file.c | 4 +-
13518 fs/fs_struct.c | 8 +-
13519 fs/fscache/cookie.c | 40 +-
13520 fs/fscache/internal.h | 202 +-
13521 fs/fscache/object.c | 26 +-
13522 fs/fscache/operation.c | 38 +-
13523 fs/fscache/page.c | 110 +-
13524 fs/fscache/stats.c | 348 +-
13525 fs/fuse/cuse.c | 10 +-
13526 fs/fuse/dev.c | 4 +-
13527 fs/gfs2/glock.c | 22 +-
13528 fs/gfs2/glops.c | 4 +-
13529 fs/gfs2/quota.c | 6 +-
13530 fs/hugetlbfs/inode.c | 13 +-
13531 fs/inode.c | 4 +-
13532 fs/jffs2/erase.c | 3 +-
13533 fs/jffs2/wbuf.c | 3 +-
13534 fs/jfs/super.c | 2 +-
13535 fs/kernfs/dir.c | 2 +-
13536 fs/kernfs/file.c | 20 +-
13537 fs/libfs.c | 10 +-
13538 fs/lockd/clntproc.c | 4 +-
13539 fs/namei.c | 16 +-
13540 fs/namespace.c | 16 +-
13541 fs/nfs/callback_xdr.c | 2 +-
13542 fs/nfs/inode.c | 6 +-
13543 fs/nfsd/nfs4proc.c | 2 +-
13544 fs/nfsd/nfs4xdr.c | 2 +-
13545 fs/nfsd/nfscache.c | 11 +-
13546 fs/nfsd/vfs.c | 6 +-
13547 fs/nls/nls_base.c | 26 +-
13548 fs/nls/nls_euc-jp.c | 6 +-
13549 fs/nls/nls_koi8-ru.c | 6 +-
13550 fs/notify/fanotify/fanotify_user.c | 4 +-
13551 fs/notify/notification.c | 4 +-
13552 fs/ntfs/dir.c | 2 +-
13553 fs/ntfs/super.c | 6 +-
13554 fs/ocfs2/localalloc.c | 2 +-
13555 fs/ocfs2/ocfs2.h | 10 +-
13556 fs/ocfs2/suballoc.c | 12 +-
13557 fs/ocfs2/super.c | 20 +-
13558 fs/pipe.c | 72 +-
13559 fs/posix_acl.c | 4 +-
13560 fs/proc/array.c | 20 +
13561 fs/proc/base.c | 4 +-
13562 fs/proc/kcore.c | 34 +-
13563 fs/proc/meminfo.c | 2 +-
13564 fs/proc/nommu.c | 2 +-
13565 fs/proc/proc_sysctl.c | 26 +-
13566 fs/proc/task_mmu.c | 39 +-
13567 fs/proc/task_nommu.c | 4 +-
13568 fs/proc/vmcore.c | 16 +-
13569 fs/qnx6/qnx6.h | 4 +-
13570 fs/quota/netlink.c | 4 +-
13571 fs/read_write.c | 2 +-
13572 fs/reiserfs/do_balan.c | 2 +-
13573 fs/reiserfs/procfs.c | 2 +-
13574 fs/reiserfs/reiserfs.h | 4 +-
13575 fs/seq_file.c | 4 +-
13576 fs/splice.c | 43 +-
13577 fs/squashfs/xattr.c | 12 +-
13578 fs/sysv/sysv.h | 2 +-
13579 fs/tracefs/inode.c | 8 +-
13580 fs/udf/misc.c | 2 +-
13581 fs/ufs/swab.h | 4 +-
13582 fs/userfaultfd.c | 2 +-
13583 fs/xattr.c | 21 +
13584 fs/xfs/libxfs/xfs_bmap.c | 2 +-
13585 fs/xfs/xfs_dir2_readdir.c | 7 +-
13586 fs/xfs/xfs_ioctl.c | 2 +-
13587 fs/xfs/xfs_linux.h | 4 +-
13588 include/asm-generic/4level-fixup.h | 2 +
13589 include/asm-generic/atomic-long.h | 156 +-
13590 include/asm-generic/atomic64.h | 12 +
13591 include/asm-generic/bitops/__fls.h | 2 +-
13592 include/asm-generic/bitops/fls.h | 2 +-
13593 include/asm-generic/bitops/fls64.h | 4 +-
13594 include/asm-generic/bug.h | 6 +-
13595 include/asm-generic/cache.h | 4 +-
13596 include/asm-generic/emergency-restart.h | 2 +-
13597 include/asm-generic/kmap_types.h | 4 +-
13598 include/asm-generic/local.h | 13 +
13599 include/asm-generic/pgtable-nopmd.h | 18 +-
13600 include/asm-generic/pgtable-nopud.h | 15 +-
13601 include/asm-generic/pgtable.h | 16 +
13602 include/asm-generic/sections.h | 1 +
13603 include/asm-generic/uaccess.h | 16 +
13604 include/asm-generic/vmlinux.lds.h | 15 +-
13605 include/crypto/algapi.h | 2 +-
13606 include/drm/drmP.h | 16 +-
13607 include/drm/drm_crtc_helper.h | 2 +-
13608 include/drm/drm_mm.h | 2 +-
13609 include/drm/i915_pciids.h | 2 +-
13610 include/drm/intel-gtt.h | 4 +-
13611 include/drm/ttm/ttm_memory.h | 2 +-
13612 include/drm/ttm/ttm_page_alloc.h | 1 +
13613 include/keys/asymmetric-subtype.h | 2 +-
13614 include/linux/atmdev.h | 4 +-
13615 include/linux/atomic.h | 17 +-
13616 include/linux/audit.h | 2 +-
13617 include/linux/average.h | 2 +-
13618 include/linux/binfmts.h | 3 +-
13619 include/linux/bitmap.h | 2 +-
13620 include/linux/bitops.h | 8 +-
13621 include/linux/blkdev.h | 2 +-
13622 include/linux/blktrace_api.h | 2 +-
13623 include/linux/cache.h | 8 +
13624 include/linux/cdrom.h | 1 -
13625 include/linux/cleancache.h | 2 +-
13626 include/linux/clk-provider.h | 1 +
13627 include/linux/compat.h | 6 +-
13628 include/linux/compiler-gcc.h | 28 +-
13629 include/linux/compiler.h | 157 +-
13630 include/linux/configfs.h | 2 +-
13631 include/linux/cpufreq.h | 3 +-
13632 include/linux/cpuidle.h | 5 +-
13633 include/linux/cpumask.h | 14 +-
13634 include/linux/crypto.h | 4 +-
13635 include/linux/ctype.h | 2 +-
13636 include/linux/dcache.h | 4 +-
13637 include/linux/decompress/mm.h | 2 +-
13638 include/linux/devfreq.h | 2 +-
13639 include/linux/device.h | 7 +-
13640 include/linux/dma-mapping.h | 2 +-
13641 include/linux/efi.h | 1 +
13642 include/linux/elf.h | 2 +
13643 include/linux/err.h | 4 +-
13644 include/linux/extcon.h | 2 +-
13645 include/linux/fb.h | 3 +-
13646 include/linux/fdtable.h | 2 +-
13647 include/linux/fs.h | 5 +-
13648 include/linux/fs_struct.h | 2 +-
13649 include/linux/fscache-cache.h | 2 +-
13650 include/linux/fscache.h | 2 +-
13651 include/linux/fsnotify.h | 2 +-
13652 include/linux/genhd.h | 4 +-
13653 include/linux/genl_magic_func.h | 2 +-
13654 include/linux/gfp.h | 12 +-
13655 include/linux/highmem.h | 12 +
13656 include/linux/hwmon-sysfs.h | 6 +-
13657 include/linux/i2c.h | 1 +
13658 include/linux/if_pppox.h | 2 +-
13659 include/linux/init.h | 12 +-
13660 include/linux/init_task.h | 7 +
13661 include/linux/interrupt.h | 6 +-
13662 include/linux/iommu.h | 2 +-
13663 include/linux/ioport.h | 2 +-
13664 include/linux/ipc.h | 2 +-
13665 include/linux/irq.h | 5 +-
13666 include/linux/irqdesc.h | 2 +-
13667 include/linux/irqdomain.h | 3 +
13668 include/linux/jiffies.h | 16 +-
13669 include/linux/key-type.h | 2 +-
13670 include/linux/kgdb.h | 6 +-
13671 include/linux/kmemleak.h | 4 +-
13672 include/linux/kobject.h | 3 +-
13673 include/linux/kobject_ns.h | 2 +-
13674 include/linux/kref.h | 2 +-
13675 include/linux/libata.h | 2 +-
13676 include/linux/linkage.h | 1 +
13677 include/linux/list.h | 15 +
13678 include/linux/lockref.h | 26 +-
13679 include/linux/math64.h | 10 +-
13680 include/linux/mempolicy.h | 7 +
13681 include/linux/mm.h | 102 +-
13682 include/linux/mm_types.h | 20 +
13683 include/linux/mmiotrace.h | 4 +-
13684 include/linux/mmzone.h | 2 +-
13685 include/linux/mod_devicetable.h | 4 +-
13686 include/linux/module.h | 69 +-
13687 include/linux/moduleloader.h | 16 +
13688 include/linux/moduleparam.h | 4 +-
13689 include/linux/net.h | 2 +-
13690 include/linux/netdevice.h | 7 +-
13691 include/linux/netfilter.h | 2 +-
13692 include/linux/netfilter/nfnetlink.h | 2 +-
13693 include/linux/nls.h | 4 +-
13694 include/linux/notifier.h | 3 +-
13695 include/linux/oprofile.h | 4 +-
13696 include/linux/padata.h | 2 +-
13697 include/linux/pci_hotplug.h | 3 +-
13698 include/linux/percpu.h | 2 +-
13699 include/linux/perf_event.h | 12 +-
13700 include/linux/pipe_fs_i.h | 8 +-
13701 include/linux/pm.h | 1 +
13702 include/linux/pm_domain.h | 4 +-
13703 include/linux/pm_runtime.h | 2 +-
13704 include/linux/pnp.h | 2 +-
13705 include/linux/poison.h | 4 +-
13706 include/linux/power/smartreflex.h | 2 +-
13707 include/linux/ppp-comp.h | 2 +-
13708 include/linux/preempt.h | 21 +
13709 include/linux/proc_ns.h | 2 +-
13710 include/linux/psci.h | 2 +-
13711 include/linux/quota.h | 2 +-
13712 include/linux/random.h | 19 +-
13713 include/linux/rculist.h | 16 +
13714 include/linux/reboot.h | 14 +-
13715 include/linux/regset.h | 3 +-
13716 include/linux/relay.h | 2 +-
13717 include/linux/rio.h | 2 +-
13718 include/linux/rmap.h | 4 +-
13719 include/linux/sched.h | 72 +-
13720 include/linux/sched/sysctl.h | 1 +
13721 include/linux/semaphore.h | 2 +-
13722 include/linux/seq_file.h | 1 +
13723 include/linux/signal.h | 2 +-
13724 include/linux/skbuff.h | 12 +-
13725 include/linux/slab.h | 47 +-
13726 include/linux/slab_def.h | 14 +-
13727 include/linux/slub_def.h | 2 +-
13728 include/linux/smp.h | 2 +
13729 include/linux/sock_diag.h | 2 +-
13730 include/linux/sonet.h | 2 +-
13731 include/linux/sunrpc/addr.h | 8 +-
13732 include/linux/sunrpc/clnt.h | 2 +-
13733 include/linux/sunrpc/svc.h | 2 +-
13734 include/linux/sunrpc/svc_rdma.h | 18 +-
13735 include/linux/sunrpc/svcauth.h | 2 +-
13736 include/linux/swapops.h | 10 +-
13737 include/linux/swiotlb.h | 3 +-
13738 include/linux/syscalls.h | 21 +-
13739 include/linux/syscore_ops.h | 2 +-
13740 include/linux/sysctl.h | 3 +-
13741 include/linux/sysfs.h | 9 +-
13742 include/linux/sysrq.h | 3 +-
13743 include/linux/tcp.h | 14 +-
13744 include/linux/thread_info.h | 7 +
13745 include/linux/tty.h | 4 +-
13746 include/linux/tty_driver.h | 2 +-
13747 include/linux/tty_ldisc.h | 2 +-
13748 include/linux/types.h | 16 +
13749 include/linux/uaccess.h | 6 +-
13750 include/linux/uio_driver.h | 2 +-
13751 include/linux/unaligned/access_ok.h | 24 +-
13752 include/linux/usb.h | 12 +-
13753 include/linux/usb/hcd.h | 1 +
13754 include/linux/usb/renesas_usbhs.h | 2 +-
13755 include/linux/vermagic.h | 21 +-
13756 include/linux/vga_switcheroo.h | 8 +-
13757 include/linux/vmalloc.h | 7 +-
13758 include/linux/vmstat.h | 24 +-
13759 include/linux/xattr.h | 5 +-
13760 include/linux/zlib.h | 3 +-
13761 include/media/v4l2-dev.h | 2 +-
13762 include/media/v4l2-device.h | 2 +-
13763 include/net/9p/transport.h | 2 +-
13764 include/net/bluetooth/l2cap.h | 2 +-
13765 include/net/bonding.h | 2 +-
13766 include/net/caif/cfctrl.h | 6 +-
13767 include/net/flow.h | 2 +-
13768 include/net/genetlink.h | 2 +-
13769 include/net/gro_cells.h | 2 +-
13770 include/net/inet_connection_sock.h | 2 +-
13771 include/net/inet_sock.h | 2 +-
13772 include/net/inetpeer.h | 2 +-
13773 include/net/ip_fib.h | 2 +-
13774 include/net/ip_vs.h | 8 +-
13775 include/net/ipv6.h | 2 +-
13776 include/net/irda/ircomm_tty.h | 1 +
13777 include/net/iucv/af_iucv.h | 2 +-
13778 include/net/llc_c_ac.h | 2 +-
13779 include/net/llc_c_ev.h | 4 +-
13780 include/net/llc_c_st.h | 2 +-
13781 include/net/llc_s_ac.h | 2 +-
13782 include/net/llc_s_st.h | 2 +-
13783 include/net/mac80211.h | 4 +-
13784 include/net/neighbour.h | 2 +-
13785 include/net/net_namespace.h | 18 +-
13786 include/net/netlink.h | 2 +-
13787 include/net/netns/conntrack.h | 6 +-
13788 include/net/netns/ipv4.h | 4 +-
13789 include/net/netns/ipv6.h | 4 +-
13790 include/net/netns/xfrm.h | 2 +-
13791 include/net/ping.h | 2 +-
13792 include/net/protocol.h | 4 +-
13793 include/net/rtnetlink.h | 2 +-
13794 include/net/sctp/checksum.h | 4 +-
13795 include/net/sctp/sm.h | 4 +-
13796 include/net/sctp/structs.h | 2 +-
13797 include/net/sock.h | 12 +-
13798 include/net/tcp.h | 8 +-
13799 include/net/xfrm.h | 13 +-
13800 include/rdma/iw_cm.h | 2 +-
13801 include/scsi/libfc.h | 3 +-
13802 include/scsi/scsi_device.h | 6 +-
13803 include/scsi/scsi_driver.h | 2 +-
13804 include/scsi/scsi_transport_fc.h | 3 +-
13805 include/scsi/sg.h | 2 +-
13806 include/sound/compress_driver.h | 2 +-
13807 include/sound/soc.h | 4 +-
13808 include/trace/events/irq.h | 4 +-
13809 include/uapi/linux/a.out.h | 8 +
13810 include/uapi/linux/bcache.h | 5 +-
13811 include/uapi/linux/byteorder/little_endian.h | 28 +-
13812 include/uapi/linux/connector.h | 2 +-
13813 include/uapi/linux/elf.h | 28 +
13814 include/uapi/linux/screen_info.h | 3 +-
13815 include/uapi/linux/swab.h | 6 +-
13816 include/uapi/linux/xattr.h | 4 +
13817 include/video/udlfb.h | 8 +-
13818 include/video/uvesafb.h | 1 +
13819 init/Kconfig | 2 +-
13820 init/Makefile | 3 +
13821 init/do_mounts.c | 14 +-
13822 init/do_mounts.h | 8 +-
13823 init/do_mounts_initrd.c | 30 +-
13824 init/do_mounts_md.c | 6 +-
13825 init/init_task.c | 4 +
13826 init/initramfs.c | 38 +-
13827 init/main.c | 30 +-
13828 ipc/compat.c | 4 +-
13829 ipc/ipc_sysctl.c | 8 +-
13830 ipc/mq_sysctl.c | 4 +-
13831 ipc/sem.c | 4 +-
13832 ipc/shm.c | 6 +
13833 kernel/audit.c | 8 +-
13834 kernel/auditsc.c | 4 +-
13835 kernel/bpf/core.c | 7 +-
13836 kernel/capability.c | 3 +
13837 kernel/compat.c | 38 +-
13838 kernel/debug/debug_core.c | 16 +-
13839 kernel/debug/kdb/kdb_main.c | 4 +-
13840 kernel/events/core.c | 26 +-
13841 kernel/events/internal.h | 10 +-
13842 kernel/events/uprobes.c | 2 +-
13843 kernel/exit.c | 2 +-
13844 kernel/fork.c | 167 +-
13845 kernel/futex.c | 11 +-
13846 kernel/futex_compat.c | 2 +-
13847 kernel/gcov/base.c | 7 +-
13848 kernel/irq/manage.c | 2 +-
13849 kernel/irq/msi.c | 19 +-
13850 kernel/irq/spurious.c | 2 +-
13851 kernel/jump_label.c | 5 +
13852 kernel/kallsyms.c | 37 +-
13853 kernel/kexec.c | 3 +-
13854 kernel/kmod.c | 8 +-
13855 kernel/kprobes.c | 4 +-
13856 kernel/ksysfs.c | 2 +-
13857 kernel/locking/lockdep.c | 7 +-
13858 kernel/locking/mutex-debug.c | 12 +-
13859 kernel/locking/mutex-debug.h | 4 +-
13860 kernel/locking/mutex.c | 6 +-
13861 kernel/module.c | 422 +-
13862 kernel/notifier.c | 17 +-
13863 kernel/padata.c | 4 +-
13864 kernel/panic.c | 5 +-
13865 kernel/pid.c | 2 +-
13866 kernel/pid_namespace.c | 2 +-
13867 kernel/power/process.c | 12 +-
13868 kernel/profile.c | 14 +-
13869 kernel/ptrace.c | 8 +-
13870 kernel/rcu/rcutorture.c | 60 +-
13871 kernel/rcu/tiny.c | 4 +-
13872 kernel/rcu/tree.c | 44 +-
13873 kernel/rcu/tree.h | 14 +-
13874 kernel/rcu/tree_plugin.h | 14 +-
13875 kernel/rcu/tree_trace.c | 12 +-
13876 kernel/sched/auto_group.c | 4 +-
13877 kernel/sched/core.c | 45 +-
13878 kernel/sched/fair.c | 2 +-
13879 kernel/sched/sched.h | 2 +-
13880 kernel/signal.c | 12 +-
13881 kernel/smpboot.c | 4 +-
13882 kernel/softirq.c | 12 +-
13883 kernel/sys.c | 10 +-
13884 kernel/sysctl.c | 34 +-
13885 kernel/time/alarmtimer.c | 2 +-
13886 kernel/time/posix-cpu-timers.c | 4 +-
13887 kernel/time/posix-timers.c | 24 +-
13888 kernel/time/timer.c | 2 +-
13889 kernel/time/timer_stats.c | 10 +-
13890 kernel/trace/blktrace.c | 6 +-
13891 kernel/trace/ftrace.c | 15 +-
13892 kernel/trace/ring_buffer.c | 96 +-
13893 kernel/trace/trace.c | 2 +-
13894 kernel/trace/trace.h | 2 +-
13895 kernel/trace/trace_clock.c | 4 +-
13896 kernel/trace/trace_events.c | 1 -
13897 kernel/trace/trace_functions_graph.c | 4 +-
13898 kernel/trace/trace_mmiotrace.c | 8 +-
13899 kernel/trace/trace_output.c | 10 +-
13900 kernel/trace/trace_seq.c | 2 +-
13901 kernel/trace/trace_stack.c | 2 +-
13902 kernel/user_namespace.c | 2 +-
13903 kernel/utsname_sysctl.c | 2 +-
13904 kernel/watchdog.c | 2 +-
13905 kernel/workqueue.c | 2 +-
13906 lib/Kconfig.debug | 8 +-
13907 lib/Makefile | 2 +-
13908 lib/bitmap.c | 8 +-
13909 lib/bug.c | 2 +
13910 lib/debugobjects.c | 2 +-
13911 lib/decompress_bunzip2.c | 3 +-
13912 lib/decompress_unlzma.c | 4 +-
13913 lib/div64.c | 4 +-
13914 lib/dma-debug.c | 4 +-
13915 lib/inflate.c | 2 +-
13916 lib/ioremap.c | 4 +-
13917 lib/kobject.c | 4 +-
13918 lib/list_debug.c | 126 +-
13919 lib/lockref.c | 44 +-
13920 lib/percpu-refcount.c | 2 +-
13921 lib/radix-tree.c | 2 +-
13922 lib/random32.c | 2 +-
13923 lib/show_mem.c | 2 +-
13924 lib/strncpy_from_user.c | 2 +-
13925 lib/strnlen_user.c | 2 +-
13926 lib/swiotlb.c | 2 +-
13927 lib/usercopy.c | 6 +
13928 lib/vsprintf.c | 12 +-
13929 mm/Kconfig | 6 +-
13930 mm/backing-dev.c | 4 +-
13931 mm/debug.c | 3 +
13932 mm/filemap.c | 2 +-
13933 mm/gup.c | 13 +-
13934 mm/highmem.c | 6 +-
13935 mm/hugetlb.c | 70 +-
13936 mm/internal.h | 1 +
13937 mm/maccess.c | 4 +-
13938 mm/madvise.c | 37 +
13939 mm/memory-failure.c | 6 +-
13940 mm/memory.c | 424 +-
13941 mm/mempolicy.c | 25 +
13942 mm/mlock.c | 15 +-
13943 mm/mm_init.c | 2 +-
13944 mm/mmap.c | 582 +-
13945 mm/mprotect.c | 137 +-
13946 mm/mremap.c | 39 +-
13947 mm/nommu.c | 21 +-
13948 mm/page-writeback.c | 2 +-
13949 mm/page_alloc.c | 49 +-
13950 mm/percpu.c | 2 +-
13951 mm/process_vm_access.c | 14 +-
13952 mm/rmap.c | 45 +-
13953 mm/shmem.c | 19 +-
13954 mm/slab.c | 109 +-
13955 mm/slab.h | 22 +-
13956 mm/slab_common.c | 86 +-
13957 mm/slob.c | 218 +-
13958 mm/slub.c | 102 +-
13959 mm/sparse-vmemmap.c | 4 +-
13960 mm/sparse.c | 2 +-
13961 mm/swap.c | 2 +
13962 mm/swapfile.c | 12 +-
13963 mm/util.c | 6 +
13964 mm/vmalloc.c | 114 +-
13965 mm/vmstat.c | 12 +-
13966 net/8021q/vlan.c | 5 +-
13967 net/8021q/vlan_netlink.c | 2 +-
13968 net/9p/mod.c | 4 +-
13969 net/9p/trans_fd.c | 2 +-
13970 net/atm/atm_misc.c | 8 +-
13971 net/atm/lec.h | 2 +-
13972 net/atm/proc.c | 6 +-
13973 net/atm/resources.c | 4 +-
13974 net/ax25/sysctl_net_ax25.c | 2 +-
13975 net/batman-adv/bat_iv_ogm.c | 8 +-
13976 net/batman-adv/fragmentation.c | 2 +-
13977 net/batman-adv/soft-interface.c | 8 +-
13978 net/batman-adv/types.h | 6 +-
13979 net/bluetooth/hci_sock.c | 2 +-
13980 net/bluetooth/l2cap_core.c | 6 +-
13981 net/bluetooth/l2cap_sock.c | 12 +-
13982 net/bluetooth/rfcomm/sock.c | 4 +-
13983 net/bluetooth/rfcomm/tty.c | 4 +-
13984 net/bridge/br_netlink.c | 2 +-
13985 net/bridge/netfilter/ebtables.c | 6 +-
13986 net/caif/cfctrl.c | 11 +-
13987 net/caif/chnl_net.c | 2 +-
13988 net/can/af_can.c | 2 +-
13989 net/can/gw.c | 6 +-
13990 net/ceph/messenger.c | 4 +-
13991 net/compat.c | 24 +-
13992 net/core/datagram.c | 2 +-
13993 net/core/dev.c | 16 +-
13994 net/core/filter.c | 2 +-
13995 net/core/flow.c | 6 +-
13996 net/core/neighbour.c | 4 +-
13997 net/core/net-sysfs.c | 2 +-
13998 net/core/net_namespace.c | 8 +-
13999 net/core/netpoll.c | 4 +-
14000 net/core/rtnetlink.c | 15 +-
14001 net/core/scm.c | 14 +-
14002 net/core/skbuff.c | 8 +-
14003 net/core/sock.c | 28 +-
14004 net/core/sock_diag.c | 15 +-
14005 net/core/sysctl_net_core.c | 22 +-
14006 net/decnet/af_decnet.c | 1 +
14007 net/decnet/sysctl_net_decnet.c | 4 +-
14008 net/dsa/dsa.c | 2 +-
14009 net/hsr/hsr_netlink.c | 2 +-
14010 net/ieee802154/6lowpan/core.c | 2 +-
14011 net/ieee802154/6lowpan/reassembly.c | 14 +-
14012 net/ipv4/af_inet.c | 2 +-
14013 net/ipv4/devinet.c | 18 +-
14014 net/ipv4/fib_frontend.c | 6 +-
14015 net/ipv4/fib_semantics.c | 2 +-
14016 net/ipv4/inet_connection_sock.c | 4 +-
14017 net/ipv4/inet_timewait_sock.c | 2 +-
14018 net/ipv4/inetpeer.c | 2 +-
14019 net/ipv4/ip_fragment.c | 15 +-
14020 net/ipv4/ip_gre.c | 6 +-
14021 net/ipv4/ip_sockglue.c | 2 +-
14022 net/ipv4/ip_vti.c | 4 +-
14023 net/ipv4/ipconfig.c | 6 +-
14024 net/ipv4/ipip.c | 4 +-
14025 net/ipv4/netfilter/arp_tables.c | 12 +-
14026 net/ipv4/netfilter/ip_tables.c | 12 +-
14027 net/ipv4/ping.c | 14 +-
14028 net/ipv4/raw.c | 14 +-
14029 net/ipv4/route.c | 32 +-
14030 net/ipv4/sysctl_net_ipv4.c | 22 +-
14031 net/ipv4/tcp_input.c | 6 +-
14032 net/ipv4/tcp_probe.c | 2 +-
14033 net/ipv4/udp.c | 10 +-
14034 net/ipv4/xfrm4_policy.c | 18 +-
14035 net/ipv6/addrconf.c | 18 +-
14036 net/ipv6/af_inet6.c | 2 +-
14037 net/ipv6/datagram.c | 2 +-
14038 net/ipv6/icmp.c | 2 +-
14039 net/ipv6/ip6_fib.c | 4 +-
14040 net/ipv6/ip6_gre.c | 10 +-
14041 net/ipv6/ip6_tunnel.c | 4 +-
14042 net/ipv6/ip6_vti.c | 4 +-
14043 net/ipv6/ipv6_sockglue.c | 2 +-
14044 net/ipv6/netfilter/ip6_tables.c | 12 +-
14045 net/ipv6/netfilter/nf_conntrack_reasm.c | 14 +-
14046 net/ipv6/ping.c | 33 +-
14047 net/ipv6/raw.c | 17 +-
14048 net/ipv6/reassembly.c | 13 +-
14049 net/ipv6/route.c | 2 +-
14050 net/ipv6/sit.c | 4 +-
14051 net/ipv6/sysctl_net_ipv6.c | 2 +-
14052 net/ipv6/udp.c | 6 +-
14053 net/ipv6/xfrm6_policy.c | 17 +-
14054 net/irda/ircomm/ircomm_tty.c | 18 +-
14055 net/iucv/af_iucv.c | 4 +-
14056 net/iucv/iucv.c | 2 +-
14057 net/key/af_key.c | 4 +-
14058 net/l2tp/l2tp_eth.c | 38 +-
14059 net/l2tp/l2tp_ip.c | 2 +-
14060 net/l2tp/l2tp_ip6.c | 2 +-
14061 net/mac80211/cfg.c | 8 +-
14062 net/mac80211/ieee80211_i.h | 3 +-
14063 net/mac80211/iface.c | 20 +-
14064 net/mac80211/main.c | 2 +-
14065 net/mac80211/pm.c | 4 +-
14066 net/mac80211/rate.c | 2 +-
14067 net/mac80211/sta_info.c | 2 +-
14068 net/mac80211/util.c | 8 +-
14069 net/mpls/af_mpls.c | 6 +-
14070 net/netfilter/ipset/ip_set_core.c | 2 +-
14071 net/netfilter/ipvs/ip_vs_conn.c | 6 +-
14072 net/netfilter/ipvs/ip_vs_core.c | 4 +-
14073 net/netfilter/ipvs/ip_vs_ctl.c | 14 +-
14074 net/netfilter/ipvs/ip_vs_lblc.c | 2 +-
14075 net/netfilter/ipvs/ip_vs_lblcr.c | 2 +-
14076 net/netfilter/ipvs/ip_vs_sync.c | 6 +-
14077 net/netfilter/ipvs/ip_vs_xmit.c | 4 +-
14078 net/netfilter/nf_conntrack_acct.c | 2 +-
14079 net/netfilter/nf_conntrack_ecache.c | 2 +-
14080 net/netfilter/nf_conntrack_helper.c | 2 +-
14081 net/netfilter/nf_conntrack_proto.c | 2 +-
14082 net/netfilter/nf_conntrack_standalone.c | 2 +-
14083 net/netfilter/nf_conntrack_timestamp.c | 2 +-
14084 net/netfilter/nf_log.c | 10 +-
14085 net/netfilter/nf_sockopt.c | 4 +-
14086 net/netfilter/nfnetlink_log.c | 4 +-
14087 net/netfilter/nft_compat.c | 9 +-
14088 net/netfilter/xt_statistic.c | 8 +-
14089 net/netlink/af_netlink.c | 4 +-
14090 net/openvswitch/vport-internal_dev.c | 2 +-
14091 net/packet/af_packet.c | 8 +-
14092 net/phonet/pep.c | 6 +-
14093 net/phonet/socket.c | 2 +-
14094 net/phonet/sysctl.c | 2 +-
14095 net/rds/cong.c | 6 +-
14096 net/rds/ib.h | 2 +-
14097 net/rds/ib_cm.c | 2 +-
14098 net/rds/ib_recv.c | 4 +-
14099 net/rds/iw.h | 2 +-
14100 net/rds/iw_cm.c | 2 +-
14101 net/rds/iw_recv.c | 4 +-
14102 net/rds/rds.h | 2 +-
14103 net/rds/tcp.c | 2 +-
14104 net/rds/tcp_send.c | 2 +-
14105 net/rxrpc/af_rxrpc.c | 2 +-
14106 net/rxrpc/ar-ack.c | 14 +-
14107 net/rxrpc/ar-call.c | 2 +-
14108 net/rxrpc/ar-connection.c | 2 +-
14109 net/rxrpc/ar-connevent.c | 2 +-
14110 net/rxrpc/ar-input.c | 4 +-
14111 net/rxrpc/ar-internal.h | 8 +-
14112 net/rxrpc/ar-local.c | 2 +-
14113 net/rxrpc/ar-output.c | 4 +-
14114 net/rxrpc/ar-peer.c | 2 +-
14115 net/rxrpc/ar-proc.c | 4 +-
14116 net/rxrpc/ar-transport.c | 2 +-
14117 net/rxrpc/rxkad.c | 4 +-
14118 net/sched/sch_generic.c | 4 +-
14119 net/sctp/ipv6.c | 6 +-
14120 net/sctp/protocol.c | 10 +-
14121 net/sctp/sm_sideeffect.c | 2 +-
14122 net/sctp/socket.c | 21 +-
14123 net/sctp/sysctl.c | 10 +-
14124 net/socket.c | 18 +-
14125 net/sunrpc/auth_gss/svcauth_gss.c | 4 +-
14126 net/sunrpc/clnt.c | 4 +-
14127 net/sunrpc/sched.c | 4 +-
14128 net/sunrpc/svc.c | 4 +-
14129 net/sunrpc/svcauth_unix.c | 2 +-
14130 net/sunrpc/xprtrdma/svc_rdma.c | 38 +-
14131 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 8 +-
14132 net/sunrpc/xprtrdma/svc_rdma_sendto.c | 2 +-
14133 net/sunrpc/xprtrdma/svc_rdma_transport.c | 10 +-
14134 net/tipc/netlink_compat.c | 12 +-
14135 net/tipc/subscr.c | 2 +-
14136 net/unix/af_unix.c | 7 +-
14137 net/unix/sysctl_net_unix.c | 2 +-
14138 net/wireless/wext-core.c | 19 +-
14139 net/xfrm/xfrm_policy.c | 16 +-
14140 net/xfrm/xfrm_state.c | 33 +-
14141 net/xfrm/xfrm_sysctl.c | 2 +-
14142 scripts/Kbuild.include | 2 +-
14143 scripts/Makefile.build | 2 +-
14144 scripts/Makefile.clean | 3 +-
14145 scripts/Makefile.host | 69 +-
14146 scripts/basic/fixdep.c | 12 +-
14147 scripts/dtc/checks.c | 14 +-
14148 scripts/dtc/data.c | 6 +-
14149 scripts/dtc/flattree.c | 8 +-
14150 scripts/dtc/livetree.c | 4 +-
14151 scripts/gcc-plugin.sh | 51 +
14152 scripts/headers_install.sh | 1 +
14153 scripts/kallsyms.c | 4 +-
14154 scripts/kconfig/lkc.h | 5 +-
14155 scripts/kconfig/menu.c | 2 +-
14156 scripts/kconfig/symbol.c | 6 +-
14157 scripts/link-vmlinux.sh | 2 +-
14158 scripts/mod/file2alias.c | 14 +-
14159 scripts/mod/modpost.c | 25 +-
14160 scripts/mod/modpost.h | 6 +-
14161 scripts/mod/sumversion.c | 2 +-
14162 scripts/module-common.lds | 4 +
14163 scripts/package/builddeb | 1 +
14164 scripts/pnmtologo.c | 6 +-
14165 scripts/sortextable.h | 6 +-
14166 scripts/tags.sh | 2 +-
14167 security/Kconfig | 692 +-
14168 security/integrity/ima/ima.h | 4 +-
14169 security/integrity/ima/ima_api.c | 2 +-
14170 security/integrity/ima/ima_fs.c | 4 +-
14171 security/integrity/ima/ima_queue.c | 2 +-
14172 security/keys/key.c | 18 +-
14173 security/selinux/avc.c | 6 +-
14174 security/selinux/include/xfrm.h | 2 +-
14175 security/yama/yama_lsm.c | 2 +-
14176 sound/aoa/codecs/onyx.c | 7 +-
14177 sound/aoa/codecs/onyx.h | 1 +
14178 sound/core/oss/pcm_oss.c | 18 +-
14179 sound/core/pcm_compat.c | 2 +-
14180 sound/core/pcm_native.c | 4 +-
14181 sound/core/sound.c | 2 +-
14182 sound/drivers/mts64.c | 14 +-
14183 sound/drivers/opl4/opl4_lib.c | 2 +-
14184 sound/drivers/portman2x4.c | 3 +-
14185 sound/firewire/amdtp.c | 4 +-
14186 sound/firewire/amdtp.h | 4 +-
14187 sound/firewire/isight.c | 10 +-
14188 sound/firewire/scs1x.c | 8 +-
14189 sound/oss/sb_audio.c | 2 +-
14190 sound/oss/swarm_cs4297a.c | 6 +-
14191 sound/pci/hda/hda_codec.c | 2 +-
14192 sound/pci/ymfpci/ymfpci.h | 2 +-
14193 sound/pci/ymfpci/ymfpci_main.c | 12 +-
14194 sound/soc/codecs/sti-sas.c | 10 +-
14195 sound/soc/soc-ac97.c | 6 +-
14196 sound/soc/xtensa/xtfpga-i2s.c | 2 +-
14197 tools/gcc/Makefile | 42 +
14198 tools/gcc/checker_plugin.c | 150 +
14199 tools/gcc/colorize_plugin.c | 215 +
14200 tools/gcc/constify_plugin.c | 571 +
14201 tools/gcc/gcc-common.h | 812 +
14202 tools/gcc/initify_plugin.c | 552 +
14203 tools/gcc/kallocstat_plugin.c | 188 +
14204 tools/gcc/kernexec_plugin.c | 549 +
14205 tools/gcc/latent_entropy_plugin.c | 470 +
14206 tools/gcc/size_overflow_plugin/.gitignore | 2 +
14207 tools/gcc/size_overflow_plugin/Makefile | 28 +
14208 .../disable_size_overflow_hash.data |12422 ++++++++++++
14209 .../generate_size_overflow_hash.sh | 103 +
14210 .../insert_size_overflow_asm.c | 416 +
14211 .../size_overflow_plugin/intentional_overflow.c | 1010 +
14212 .../size_overflow_plugin/remove_unnecessary_dup.c | 137 +
14213 tools/gcc/size_overflow_plugin/size_overflow.h | 323 +
14214 .../gcc/size_overflow_plugin/size_overflow_debug.c | 194 +
14215 .../size_overflow_plugin/size_overflow_hash.data |20735 ++++++++++++++++++++
14216 .../size_overflow_hash_aux.data | 92 +
14217 tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 1226 ++
14218 .../gcc/size_overflow_plugin/size_overflow_misc.c | 505 +
14219 .../size_overflow_plugin/size_overflow_plugin.c | 318 +
14220 .../size_overflow_plugin_hash.c | 352 +
14221 .../size_overflow_plugin/size_overflow_transform.c | 749 +
14222 .../size_overflow_transform_core.c | 1010 +
14223 tools/gcc/stackleak_plugin.c | 436 +
14224 tools/gcc/structleak_plugin.c | 287 +
14225 tools/include/linux/compiler.h | 8 +
14226 tools/lib/api/Makefile | 2 +-
14227 tools/perf/util/include/asm/alternative-asm.h | 3 +
14228 tools/virtio/linux/uaccess.h | 2 +-
14229 virt/kvm/kvm_main.c | 42 +-
14230 1944 files changed, 66925 insertions(+), 8949 deletions(-)
14231 commit 87790bbd0d8dc2bd7fd86cb947e32886db9e9766
14232 Author: Matthew Wilcox <willy@linux.intel.com>
14233 Date: Tue Feb 2 16:57:52 2016 -0800
14234
14235 radix-tree: fix race in gang lookup
14236
14237 If the indirect_ptr bit is set on a slot, that indicates we need to redo
14238 the lookup. Introduce a new function radix_tree_iter_retry() which
14239 forces the loop to retry the lookup by setting 'slot' to NULL and
14240 turning the iterator back to point at the problematic entry.
14241
14242 This is a pretty rare problem to hit at the moment; the lookup has to
14243 race with a grow of the radix tree from a height of 0. The consequences
14244 of hitting this race are that gang lookup could return a pointer to a
14245 radix_tree_node instead of a pointer to whatever the user had inserted
14246 in the tree.
14247
14248 Fixes: cebbd29e1c2f ("radix-tree: rewrite gang lookup using iterator")
14249 Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
14250 Cc: Hugh Dickins <hughd@google.com>
14251 Cc: Ohad Ben-Cohen <ohad@wizery.com>
14252 Cc: Konstantin Khlebnikov <khlebnikov@openvz.org>
14253 Cc: <stable@vger.kernel.org>
14254 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
14255 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
14256
14257 include/linux/radix-tree.h | 16 ++++++++++++++++
14258 lib/radix-tree.c | 12 ++++++++++--
14259 2 files changed, 26 insertions(+), 2 deletions(-)
14260
14261 commit bf628043b4589c910919a0f221ae7f42aa8cea93
14262 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
14263 Date: Wed Feb 3 02:11:03 2016 +0100
14264
14265 unix: correctly track in-flight fds in sending process user_struct
14266
14267 The commit referenced in the Fixes tag incorrectly accounted the number
14268 of in-flight fds over a unix domain socket to the original opener
14269 of the file-descriptor. This allows another process to arbitrary
14270 deplete the original file-openers resource limit for the maximum of
14271 open files. Instead the sending processes and its struct cred should
14272 be credited.
14273
14274 To do so, we add a reference counted struct user_struct pointer to the
14275 scm_fp_list and use it to account for the number of inflight unix fds.
14276
14277 Fixes: 712f4aad406bb1 ("unix: properly account for FDs passed over unix sockets")
14278 Reported-by: David Herrmann <dh.herrmann@gmail.com>
14279 Cc: David Herrmann <dh.herrmann@gmail.com>
14280 Cc: Willy Tarreau <w@1wt.eu>
14281 Cc: Linus Torvalds <torvalds@linux-foundation.org>
14282 Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
14283 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
14284 Signed-off-by: David S. Miller <davem@davemloft.net>
14285
14286 include/net/af_unix.h | 4 ++--
14287 include/net/scm.h | 1 +
14288 net/core/scm.c | 7 +++++++
14289 net/unix/af_unix.c | 4 ++--
14290 net/unix/garbage.c | 8 ++++----
14291 5 files changed, 16 insertions(+), 8 deletions(-)
14292
14293 commit e830db443ff78d70b7b63536e688d73907face0c
14294 Author: Mike Kravetz <mike.kravetz@oracle.com>
14295 Date: Fri Jan 15 16:57:37 2016 -0800
14296
14297 fs/hugetlbfs/inode.c: fix bugs in hugetlb_vmtruncate_list()
14298
14299 Hillf Danton noticed bugs in the hugetlb_vmtruncate_list routine. The
14300 argument end is of type pgoff_t. It was being converted to a vaddr
14301 offset and passed to unmap_hugepage_range. However, end was also being
14302 used as an argument to the vma_interval_tree_foreach controlling loop.
14303 In addition, the conversion of end to vaddr offset was incorrect.
14304
14305 hugetlb_vmtruncate_list is called as part of a file truncate or
14306 fallocate hole punch operation.
14307
14308 When truncating a hugetlbfs file, this bug could prevent some pages from
14309 being unmapped. This is possible if there are multiple vmas mapping the
14310 file, and there is a sufficiently sized hole between the mappings. The
14311 size of the hole between two vmas (A,B) must be such that the starting
14312 virtual address of B is greater than (ending virtual address of A <<
14313 PAGE_SHIFT). In this case, the pages in B would not be unmapped. If
14314 pages are not properly unmapped during truncate, the following BUG is
14315 hit:
14316
14317 kernel BUG at fs/hugetlbfs/inode.c:428!
14318
14319 In the fallocate hole punch case, this bug could prevent pages from
14320 being unmapped as in the truncate case. However, for hole punch the
14321 result is that unmapped pages will not be removed during the operation.
14322 For hole punch, it is also possible that more pages than desired will be
14323 unmapped. This unnecessary unmapping will cause page faults to
14324 reestablish the mappings on subsequent page access.
14325
14326 Fixes: 1bfad99ab (" hugetlbfs: hugetlb_vmtruncate_list() needs to take a range")Reported-by: Hillf Danton <hillf.zj@alibaba-inc.com>
14327 Signed-off-by: Mike Kravetz <mike.kravetz@oracle.com>
14328 Cc: Hugh Dickins <hughd@google.com>
14329 Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
14330 Cc: Davidlohr Bueso <dave@stgolabs.net>
14331 Cc: Dave Hansen <dave.hansen@linux.intel.com>
14332 Cc: <stable@vger.kernel.org> [4.3]
14333 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
14334 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
14335
14336 fs/hugetlbfs/inode.c | 19 +++++++++++--------
14337 1 files changed, 11 insertions(+), 8 deletions(-)
14338
14339 commit cdb3ba4a9113b779347387f3b6c6ea72dd4db12f
14340 Author: Takashi Iwai <tiwai@suse.de>
14341 Date: Thu Feb 4 17:06:13 2016 +0100
14342
14343 ALSA: timer: Fix leftover link at closing
14344
14345 In ALSA timer core, the active timer instance is managed in
14346 active_list linked list. Each element is added / removed dynamically
14347 at timer start, stop and in timer interrupt. The problem is that
14348 snd_timer_interrupt() has a thinko and leaves the element in
14349 active_list when it's the last opened element. This eventually leads
14350 to list corruption or use-after-free error.
14351
14352 This hasn't been revealed because we used to delete the list forcibly
14353 in snd_timer_stop() in the past. However, the recent fix avoids the
14354 double-stop behavior (in commit [f784beb75ce8: ALSA: timer: Fix link
14355 corruption due to double start or stop]), and this leak hits reality.
14356
14357 This patch fixes the link management in snd_timer_interrupt(). Now it
14358 simply unlinks no matter which stream is.
14359
14360 BugLink: http://lkml.kernel.org/r/CACT4Y+Yy2aukHP-EDp8-ziNqNNmb-NTf=jDWXMP7jB8HDa2vng@mail.gmail.com
14361 Reported-by: Dmitry Vyukov <dvyukov@google.com>
14362 Cc: <stable@vger.kernel.org>
14363 Signed-off-by: Takashi Iwai <tiwai@suse.de>
14364
14365 sound/core/timer.c | 4 ++--
14366 1 files changed, 2 insertions(+), 2 deletions(-)
14367
14368 commit 47d9647902f6a2f46a2be1e0140ba0f6f8c06008
14369 Author: Konstantin Khlebnikov <koct9i@gmail.com>
14370 Date: Fri Feb 5 15:37:01 2016 -0800
14371
14372 radix-tree: fix oops after radix_tree_iter_retry
14373
14374 Helper radix_tree_iter_retry() resets next_index to the current index.
14375 In following radix_tree_next_slot current chunk size becomes zero. This
14376 isn't checked and it tries to dereference null pointer in slot.
14377
14378 Tagged iterator is fine because retry happens only at slot 0 where tag
14379 bitmask in iter->tags is filled with single bit.
14380
14381 Fixes: 46437f9a554f ("radix-tree: fix race in gang lookup")
14382 Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com>
14383 Cc: Matthew Wilcox <willy@linux.intel.com>
14384 Cc: Hugh Dickins <hughd@google.com>
14385 Cc: Ohad Ben-Cohen <ohad@wizery.com>
14386 Cc: Jeremiah Mahler <jmmahler@gmail.com>
14387 Cc: <stable@vger.kernel.org>
14388 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
14389 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
14390
14391 include/linux/radix-tree.h | 6 +++---
14392 1 files changed, 3 insertions(+), 3 deletions(-)
14393
14394 commit 95b5dcb3c01958502af00b0bc0da1d906aae11a2
14395 Merge: 438be0b 256aeaf
14396 Author: Brad Spengler <spender@grsecurity.net>
14397 Date: Sun Feb 7 08:29:33 2016 -0500
14398
14399 Merge branch 'pax-test' into grsec-test
14400
14401 commit 256aeaf87c22de8edf1f03682a572c590ae07771
14402 Author: Brad Spengler <spender@grsecurity.net>
14403 Date: Sun Feb 7 08:29:09 2016 -0500
14404
14405 Update to pax-linux-4.3.5-test28.patch:
14406 - 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)
14407 - spender fixed UDEREF on arm
14408
14409 arch/arm/Kconfig | 1 +
14410 arch/arm/include/asm/domain.h | 21 ++++++++-
14411 arch/arm/include/asm/futex.h | 9 ----
14412 arch/arm/include/asm/thread_info.h | 3 +
14413 arch/arm/include/asm/uaccess.h | 81 +++++++++++++++---------------------
14414 arch/arm/kernel/entry-armv.S | 2 +-
14415 arch/arm/kernel/process.c | 2 +-
14416 arch/arm/mm/alignment.c | 8 ----
14417 arch/x86/mm/numa.c | 2 +-
14418 security/Kconfig | 1 -
14419 10 files changed, 60 insertions(+), 70 deletions(-)
14420
14421 commit 438be0bd112bd17942b2628c53054dc1007558a1
14422 Author: Brad Spengler <spender@grsecurity.net>
14423 Date: Sat Feb 6 19:50:31 2016 -0500
14424
14425 Fix a number of issues caused by the upstream merging of a UDEREF ripoff resulting in unbootable
14426 ARM systems reported on the forums
14427
14428 arch/arm/Kconfig | 1 +
14429 arch/arm/include/asm/domain.h | 21 ++++++++-
14430 arch/arm/include/asm/futex.h | 9 ----
14431 arch/arm/include/asm/thread_info.h | 3 +
14432 arch/arm/include/asm/uaccess.h | 81 +++++++++++++++---------------------
14433 arch/arm/kernel/entry-armv.S | 2 +-
14434 arch/arm/kernel/process.c | 2 +-
14435 arch/arm/mm/alignment.c | 8 ----
14436 security/Kconfig | 1 -
14437 9 files changed, 59 insertions(+), 69 deletions(-)
14438
14439 commit 4ffdd5ef1f87e611af1efb4f251ada92abe9f4c0
14440 Author: Brad Spengler <spender@grsecurity.net>
14441 Date: Sat Feb 6 11:21:53 2016 -0500
14442
14443 Fix another compiler warning
14444
14445 net/ipv4/tcp_input.c | 2 ++
14446 1 files changed, 2 insertions(+), 0 deletions(-)
14447
14448 commit 30b5b7bc0fd67d458bdd5ab35e4689769eabd2ed
14449 Author: Brad Spengler <spender@grsecurity.net>
14450 Date: Sat Feb 6 11:16:12 2016 -0500
14451
14452 Fix two compiler warnings
14453
14454 kernel/pid.c | 5 ++---
14455 kernel/ptrace.c | 3 ++-
14456 2 files changed, 4 insertions(+), 4 deletions(-)
14457
14458 commit dda4d2a21914c480750f10bd55c6e3203d415d8d
14459 Author: Brad Spengler <spender@grsecurity.net>
14460 Date: Wed Feb 3 21:22:40 2016 -0500
14461
14462 Apply fix for integer truncation in NUMA init code, reported by
14463 x14sg1 on the forums:
14464 https://forums.grsecurity.net/viewtopic.php?f=3&t=4374
14465
14466 arch/x86/mm/numa.c | 2 +-
14467 1 files changed, 1 insertions(+), 1 deletions(-)
14468
14469 commit 477505f7c893cb6a2c3e22f83eefd9c985d7b3ca
14470 Merge: a781740 016d0d8
14471 Author: Brad Spengler <spender@grsecurity.net>
14472 Date: Wed Feb 3 21:20:58 2016 -0500
14473
14474 Merge branch 'pax-test' into grsec-test
14475
14476 commit 016d0d81a8dd4be1304c82a68e0ccf425868f467
14477 Author: Brad Spengler <spender@grsecurity.net>
14478 Date: Wed Feb 3 21:20:10 2016 -0500
14479
14480 Update to pax-linux-4.3.5-test27.patch:
14481 - fixed a bunch of potential REFCOUNT false positives, reported by Emese
14482 - restored padding in fpregs_state for storing AVX-512 state in the future
14483 - constified netlink_dump_control
14484 - added const version of debug_gimple_stmt for gcc plugins, by Emese
14485 - Emese fixed a bug in initify that could have initified too much
14486 - Emese fixed a false positive intentional integer overflow in xfrm4_extract_header, reported by corsac
14487
14488 arch/x86/include/asm/fpu/types.h | 1 +
14489 arch/x86/include/asm/mmu_context.h | 2 +-
14490 block/blk-cgroup.c | 18 ++--
14491 block/cfq-iosched.c | 4 +-
14492 crypto/crypto_user.c | 8 ++-
14493 drivers/acpi/apei/ghes.c | 6 +-
14494 drivers/char/ipmi/ipmi_ssif.c | 12 ++--
14495 drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 2 +-
14496 drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | 2 +-
14497 drivers/gpu/drm/amd/scheduler/sched_fence.c | 2 +-
14498 drivers/infiniband/core/netlink.c | 5 +-
14499 drivers/infiniband/hw/cxgb4/device.c | 6 +-
14500 drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 2 +-
14501 drivers/md/bcache/alloc.c | 2 +-
14502 drivers/md/bcache/bcache.h | 10 +-
14503 drivers/md/bcache/btree.c | 2 +-
14504 drivers/md/bcache/io.c | 10 +-
14505 drivers/md/bcache/journal.c | 2 +-
14506 drivers/md/bcache/stats.c | 26 +++---
14507 drivers/md/bcache/stats.h | 16 ++--
14508 drivers/md/bcache/super.c | 2 +-
14509 drivers/md/bcache/sysfs.c | 20 +++---
14510 drivers/md/dm-cache-target.c | 98 ++++++++++++------------
14511 drivers/md/dm-raid.c | 2 +-
14512 drivers/md/md.c | 6 +-
14513 drivers/md/md.h | 2 +-
14514 drivers/md/raid1.c | 2 +-
14515 drivers/md/raid10.c | 2 +-
14516 drivers/md/raid5.c | 4 +-
14517 drivers/media/pci/zoran/zoran.h | 1 -
14518 drivers/media/pci/zoran/zoran_driver.c | 3 -
14519 drivers/net/ethernet/sfc/selftest.c | 20 +++---
14520 drivers/net/irda/vlsi_ir.c | 18 ++--
14521 drivers/net/irda/vlsi_ir.h | 14 ++--
14522 drivers/net/wireless/ath/carl9170/carl9170.h | 6 +-
14523 drivers/net/wireless/ath/carl9170/debug.c | 6 +-
14524 drivers/net/wireless/ath/carl9170/main.c | 10 +-
14525 drivers/net/wireless/ath/carl9170/tx.c | 4 +-
14526 drivers/net/wireless/iwlwifi/mvm/d3.c | 4 +-
14527 drivers/net/wireless/iwlwifi/mvm/tx.c | 2 +-
14528 drivers/scsi/hptiop.c | 2 -
14529 drivers/scsi/hptiop.h | 1 -
14530 drivers/scsi/ipr.c | 6 +-
14531 drivers/scsi/ipr.h | 2 +-
14532 drivers/scsi/qla2xxx/qla_target.c | 10 +-
14533 drivers/scsi/qla2xxx/qla_target.h | 2 +-
14534 fs/btrfs/ctree.c | 2 +-
14535 fs/btrfs/ctree.h | 4 +-
14536 fs/btrfs/delayed-ref.c | 4 +-
14537 fs/btrfs/disk-io.c | 4 +-
14538 fs/btrfs/file.c | 4 +-
14539 fs/btrfs/raid56.c | 32 ++++----
14540 fs/btrfs/tests/btrfs-tests.c | 2 +-
14541 fs/btrfs/transaction.c | 2 +-
14542 fs/btrfs/tree-log.c | 8 +-
14543 fs/btrfs/volumes.c | 14 ++--
14544 fs/btrfs/volumes.h | 22 +++---
14545 fs/jbd2/commit.c | 2 +-
14546 fs/jbd2/transaction.c | 4 +-
14547 fs/ocfs2/dlm/dlmcommon.h | 4 +-
14548 fs/ocfs2/dlm/dlmdebug.c | 10 +-
14549 fs/ocfs2/dlm/dlmdomain.c | 4 +-
14550 fs/ocfs2/dlm/dlmmaster.c | 4 +-
14551 include/acpi/ghes.h | 2 +-
14552 include/linux/blk-cgroup.h | 24 +++---
14553 include/linux/jbd2.h | 2 +-
14554 include/linux/netlink.h | 12 ++--
14555 include/net/cfg802154.h | 2 +-
14556 include/net/mac80211.h | 2 +-
14557 include/net/neighbour.h | 2 +-
14558 kernel/rcu/tree_plugin.h | 4 +-
14559 net/batman-adv/routing.c | 4 +-
14560 net/batman-adv/soft-interface.c | 2 +-
14561 net/batman-adv/translation-table.c | 14 ++--
14562 net/batman-adv/types.h | 2 +-
14563 net/core/neighbour.c | 14 ++--
14564 net/core/rtnetlink.c | 2 +-
14565 net/ipv4/arp.c | 2 +-
14566 net/ipv4/inet_diag.c | 4 +-
14567 net/ipv4/xfrm4_state.c | 4 +-
14568 net/ipv6/ndisc.c | 2 +-
14569 net/mac80211/cfg.c | 2 +-
14570 net/mac80211/debugfs_key.c | 2 +-
14571 net/mac80211/key.c | 4 +-
14572 net/mac80211/tx.c | 2 +-
14573 net/mac80211/wpa.c | 10 +-
14574 net/mac802154/iface.c | 4 +-
14575 net/netfilter/ipset/ip_set_core.c | 2 +-
14576 net/netfilter/nf_conntrack_netlink.c | 22 +++---
14577 net/netfilter/nf_tables_api.c | 13 ++--
14578 net/netfilter/nfnetlink_acct.c | 7 +-
14579 net/netfilter/nfnetlink_cthelper.c | 2 +-
14580 net/netfilter/nfnetlink_cttimeout.c | 2 +-
14581 net/netlink/af_netlink.c | 10 ++-
14582 net/netlink/diag.c | 2 +-
14583 net/netlink/genetlink.c | 14 ++--
14584 net/packet/af_packet.c | 18 ++--
14585 net/packet/diag.c | 2 +-
14586 net/packet/internal.h | 6 +-
14587 net/unix/diag.c | 2 +-
14588 net/xfrm/xfrm_user.c | 2 +-
14589 security/apparmor/include/policy.h | 2 +-
14590 security/apparmor/policy.c | 4 +-
14591 sound/core/seq/seq_clientmgr.c | 2 +-
14592 sound/core/seq/seq_fifo.c | 6 +-
14593 sound/core/seq/seq_fifo.h | 2 +-
14594 tools/gcc/gcc-common.h | 24 ++++--
14595 tools/gcc/initify_plugin.c | 7 +-
14596 tools/lib/api/Makefile | 2 +-
14597 109 files changed, 399 insertions(+), 391 deletions(-)
14598
14599 commit a7817402ac837b1aee07fac42537a02097055098
14600 Author: Matt Fleming <matt@codeblueprint.co.uk>
14601 Date: Fri Jan 29 11:36:10 2016 +0000
14602
14603 x86/mm/pat: Avoid truncation when converting cpa->numpages to address
14604
14605 There are a couple of nasty truncation bugs lurking in the pageattr
14606 code that can be triggered when mapping EFI regions, e.g. when we pass
14607 a cpa->pgd pointer. Because cpa->numpages is a 32-bit value, shifting
14608 left by PAGE_SHIFT will truncate the resultant address to 32-bits.
14609
14610 Viorel-Cătălin managed to trigger this bug on his Dell machine that
14611 provides a ~5GB EFI region which requires 1236992 pages to be mapped.
14612 When calling populate_pud() the end of the region gets calculated
14613 incorrectly in the following buggy expression,
14614
14615 end = start + (cpa->numpages << PAGE_SHIFT);
14616
14617 And only 188416 pages are mapped. Next, populate_pud() gets invoked
14618 for a second time because of the loop in __change_page_attr_set_clr(),
14619 only this time no pages get mapped because shifting the remaining
14620 number of pages (1048576) by PAGE_SHIFT is zero. At which point the
14621 loop in __change_page_attr_set_clr() spins forever because we fail to
14622 map progress.
14623
14624 Hitting this bug depends very much on the virtual address we pick to
14625 map the large region at and how many pages we map on the initial run
14626 through the loop. This explains why this issue was only recently hit
14627 with the introduction of commit
14628
14629 a5caa209ba9c ("x86/efi: Fix boot crash by mapping EFI memmap
14630 entries bottom-up at runtime, instead of top-down")
14631
14632 It's interesting to note that safe uses of cpa->numpages do exist in
14633 the pageattr code. If instead of shifting ->numpages we multiply by
14634 PAGE_SIZE, no truncation occurs because PAGE_SIZE is a UL value, and
14635 so the result is unsigned long.
14636
14637 To avoid surprises when users try to convert very large cpa->numpages
14638 values to addresses, change the data type from 'int' to 'unsigned
14639 long', thereby making it suitable for shifting by PAGE_SHIFT without
14640 any type casting.
14641
14642 The alternative would be to make liberal use of casting, but that is
14643 far more likely to cause problems in the future when someone adds more
14644 code and fails to cast properly; this bug was difficult enough to
14645 track down in the first place.
14646
14647 Reported-and-tested-by: Viorel-Cătălin Răpițeanu <rapiteanu.catalin@gmail.com>
14648 Acked-by: Borislav Petkov <bp@alien8.de>
14649 Cc: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
14650 Cc: <stable@vger.kernel.org>
14651 Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
14652 Link: https://bugzilla.kernel.org/show_bug.cgi?id=110131
14653 Link: http://lkml.kernel.org/r/1454067370-10374-1-git-send-email-matt@codeblueprint.co.uk
14654 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
14655
14656 arch/x86/mm/pageattr.c | 4 ++--
14657 1 files changed, 2 insertions(+), 2 deletions(-)
14658
14659 commit 64dd9d7a67a742fda257cdd16510c29e695c34b5
14660 Author: Jan Beulich <JBeulich@suse.com>
14661 Date: Tue Jan 26 04:15:18 2016 -0700
14662
14663 x86/mm: Fix types used in pgprot cacheability flags translations
14664
14665 For PAE kernels "unsigned long" is not suitable to hold page protection
14666 flags, since _PAGE_NX doesn't fit there. This is the reason for quite a
14667 few W+X pages getting reported as insecure during boot (observed namely
14668 for the entire initrd range).
14669
14670 Fixes: 281d4078be ("x86: Make page cache mode a real type")
14671 Signed-off-by: Jan Beulich <jbeulich@suse.com>
14672 Reviewed-by: Juergen Gross <JGross@suse.com>
14673 Cc: stable@vger.kernel.org
14674 Link: http://lkml.kernel.org/r/56A7635602000078000CAFF1@prv-mh.provo.novell.com
14675 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
14676
14677 arch/x86/include/asm/pgtable_types.h | 6 ++----
14678 1 files changed, 2 insertions(+), 4 deletions(-)
14679
14680 commit bb9a3a9df0d8dfc96d521676e64c42b37ba22aea
14681 Merge: 682d661 f74425b
14682 Author: Brad Spengler <spender@grsecurity.net>
14683 Date: Sun Jan 31 15:06:25 2016 -0500
14684
14685 Merge branch 'pax-test' into grsec-test
14686
14687 Conflicts:
14688 drivers/net/slip/slhc.c
14689 include/linux/sched.h
14690 net/unix/af_unix.c
14691 sound/core/timer.c
14692
14693 commit f74425b5705bfe52aff9e97659ef10c4a14176c3
14694 Merge: d14af1f 849a2d3
14695 Author: Brad Spengler <spender@grsecurity.net>
14696 Date: Sun Jan 31 15:02:55 2016 -0500
14697
14698 Merge branch 'linux-4.3.y' into pax-test
14699
14700 Conflicts:
14701 arch/x86/include/asm/mmu_context.h
14702
14703 commit 682d6611d75542e351c973c8dd74a99d3966c073
14704 Author: Brad Spengler <spender@grsecurity.net>
14705 Date: Sat Jan 30 13:05:03 2016 -0500
14706
14707 Based on a report from Mathias Krause, fix up a number of additional instances
14708 of ulong overflow when passing in values to gr_learn_resource by saturating
14709 to ULONG_MAX
14710
14711 mm/mlock.c | 11 ++++++++---
14712 mm/mmap.c | 16 +++++++++++++---
14713 2 files changed, 21 insertions(+), 6 deletions(-)
14714
14715 commit adb52e95fb9ad4ac9c56cd5d47bd668f47c33096
14716 Author: Jann Horn <jann@thejh.net>
14717 Date: Sat Dec 26 06:00:48 2015 +0100
14718
14719 seccomp: always propagate NO_NEW_PRIVS on tsync
14720
14721 Before this patch, a process with some permissive seccomp filter
14722 that was applied by root without NO_NEW_PRIVS was able to add
14723 more filters to itself without setting NO_NEW_PRIVS by setting
14724 the new filter from a throwaway thread with NO_NEW_PRIVS.
14725
14726 Signed-off-by: Jann Horn <jann@thejh.net>
14727 Cc: stable@vger.kernel.org
14728 Signed-off-by: Kees Cook <keescook@chromium.org>
14729
14730 kernel/seccomp.c | 22 +++++++++++-----------
14731 1 files changed, 11 insertions(+), 11 deletions(-)
14732
14733 commit b85450498a3bbf269441c8963d7574bb3079c838
14734 Merge: 59c216f d14af1f
14735 Author: Brad Spengler <spender@grsecurity.net>
14736 Date: Fri Jan 29 20:54:13 2016 -0500
14737
14738 Merge branch 'pax-test' into grsec-test
14739
14740 commit d14af1f1dd66511f3f0674deee2b572972012b39
14741 Author: Brad Spengler <spender@grsecurity.net>
14742 Date: Fri Jan 29 20:53:51 2016 -0500
14743
14744 Update to pax-linux-4.3.4-test26.patch:
14745 - Emese fixed a few intentional overflows introduced by gcc, reported by StalkR (https://forums.grsecurity.net/viewtopic.php?f=3&t=4370)
14746
14747 fs/cifs/file.c | 2 +-
14748 fs/gfs2/file.c | 2 +-
14749 .../size_overflow_plugin/intentional_overflow.c | 96 ++++++++++++++++++--
14750 tools/gcc/size_overflow_plugin/size_overflow.h | 2 +
14751 .../size_overflow_plugin/size_overflow_plugin.c | 4 +-
14752 .../size_overflow_plugin/size_overflow_transform.c | 6 +-
14753 .../size_overflow_transform_core.c | 5 +
14754 7 files changed, 102 insertions(+), 15 deletions(-)
14755
14756 commit 59c216f13587eacdd692386b7a403ae78ed84fb6
14757 Author: Brad Spengler <spender@grsecurity.net>
14758 Date: Wed Jan 27 17:57:21 2016 -0500
14759
14760 Fix a size_overflow report reported by Mathias Krause in our
14761 truncation of an loff_t to an unsigned long when being passed
14762 to gr_learn_resource() (as all resource checks are against unsigned long
14763 values)
14764
14765 fs/attr.c | 5 ++++-
14766 1 files changed, 4 insertions(+), 1 deletions(-)
14767
14768 commit 70636c6ad60fc1db3af764ecc789b827b7497a97
14769 Author: Yuchung Cheng <ycheng@google.com>
14770 Date: Wed Jan 6 12:42:38 2016 -0800
14771
14772 tcp: fix zero cwnd in tcp_cwnd_reduction
14773
14774 Patch 3759824da87b ("tcp: PRR uses CRB mode by default and SS mode
14775 conditionally") introduced a bug that cwnd may become 0 when both
14776 inflight and sndcnt are 0 (cwnd = inflight + sndcnt). This may lead
14777 to a div-by-zero if the connection starts another cwnd reduction
14778 phase by setting tp->prior_cwnd to the current cwnd (0) in
14779 tcp_init_cwnd_reduction().
14780
14781 To prevent this we skip PRR operation when nothing is acked or
14782 sacked. Then cwnd must be positive in all cases as long as ssthresh
14783 is positive:
14784
14785 1) The proportional reduction mode
14786 inflight > ssthresh > 0
14787
14788 2) The reduction bound mode
14789 a) inflight == ssthresh > 0
14790
14791 b) inflight < ssthresh
14792 sndcnt > 0 since newly_acked_sacked > 0 and inflight < ssthresh
14793
14794 Therefore in all cases inflight and sndcnt can not both be 0.
14795 We check invalid tp->prior_cwnd to avoid potential div0 bugs.
14796
14797 In reality this bug is triggered only with a sequence of less common
14798 events. For example, the connection is terminating an ECN-triggered
14799 cwnd reduction with an inflight 0, then it receives reordered/old
14800 ACKs or DSACKs from prior transmission (which acks nothing). Or the
14801 connection is in fast recovery stage that marks everything lost,
14802 but fails to retransmit due to local issues, then receives data
14803 packets from other end which acks nothing.
14804
14805 Fixes: 3759824da87b ("tcp: PRR uses CRB mode by default and SS mode conditionally")
14806 Reported-by: Oleksandr Natalenko <oleksandr@natalenko.name>
14807 Signed-off-by: Yuchung Cheng <ycheng@google.com>
14808 Signed-off-by: Neal Cardwell <ncardwell@google.com>
14809 Signed-off-by: Eric Dumazet <edumazet@google.com>
14810 Signed-off-by: David S. Miller <davem@davemloft.net>
14811
14812 net/ipv4/tcp_input.c | 3 +++
14813 1 files changed, 3 insertions(+), 0 deletions(-)
14814
14815 commit dac1da2bedbb43195d371c7a192cfeeb45683df0
14816 Author: Eric Dumazet <edumazet@google.com>
14817 Date: Sun Jan 24 13:53:50 2016 -0800
14818
14819 af_unix: fix struct pid memory leak
14820
14821 Dmitry reported a struct pid leak detected by a syzkaller program.
14822
14823 Bug happens in unix_stream_recvmsg() when we break the loop when a
14824 signal is pending, without properly releasing scm.
14825
14826 Fixes: b3ca9b02b007 ("net: fix multithreaded signal handling in unix recv routines")
14827 Reported-by: Dmitry Vyukov <dvyukov@google.com>
14828 Signed-off-by: Eric Dumazet <edumazet@google.com>
14829 Cc: Rainer Weikusat <rweikusat@mobileactivedefense.com>
14830 Signed-off-by: David S. Miller <davem@davemloft.net>
14831
14832 net/unix/af_unix.c | 1 +
14833 1 files changed, 1 insertions(+), 0 deletions(-)
14834
14835 commit 15cc47f127520d1ac0c1fe76d993c2c27f0f2571
14836 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
14837 Date: Fri Jan 22 01:39:43 2016 +0100
14838
14839 pptp: fix illegal memory access caused by multiple bind()s
14840
14841 Several times already this has been reported as kasan reports caused by
14842 syzkaller and trinity and people always looked at RCU races, but it is
14843 much more simple. :)
14844
14845 In case we bind a pptp socket multiple times, we simply add it to
14846 the callid_sock list but don't remove the old binding. Thus the old
14847 socket stays in the bucket with unused call_id indexes and doesn't get
14848 cleaned up. This causes various forms of kasan reports which were hard
14849 to pinpoint.
14850
14851 Simply don't allow multiple binds and correct error handling in
14852 pptp_bind. Also keep sk_state bits in place in pptp_connect.
14853
14854 Fixes: 00959ade36acad ("PPTP: PPP over IPv4 (Point-to-Point Tunneling Protocol)")
14855 Cc: Dmitry Kozlov <xeb@mail.ru>
14856 Cc: Sasha Levin <sasha.levin@oracle.com>
14857 Cc: Dmitry Vyukov <dvyukov@google.com>
14858 Reported-by: Dmitry Vyukov <dvyukov@google.com>
14859 Cc: Dave Jones <davej@codemonkey.org.uk>
14860 Reported-by: Dave Jones <davej@codemonkey.org.uk>
14861 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
14862 Signed-off-by: David S. Miller <davem@davemloft.net>
14863
14864 drivers/net/ppp/pptp.c | 34 ++++++++++++++++++++++++----------
14865 1 files changed, 24 insertions(+), 10 deletions(-)
14866
14867 commit e2b7b8c66851c85188fa6dab2d2b2a6c85bc7332
14868 Author: Brad Spengler <spender@grsecurity.net>
14869 Date: Tue Jan 26 18:17:10 2016 -0500
14870
14871 Add info about cpupower/powertop to GRKERNSEC_KMEM, was present on our
14872 wiki but was removed from the config help at some point
14873
14874 grsecurity/Kconfig | 3 +++
14875 1 files changed, 3 insertions(+), 0 deletions(-)
14876
14877 commit ce2e88efa000fc32bfcd84098f57c8ed8310fefc
14878 Author: Thomas Egerer <hakke_007@gmx.de>
14879 Date: Mon Jan 25 12:58:44 2016 +0100
14880
14881 ipv4+ipv6: Make INET*_ESP select CRYPTO_ECHAINIV
14882
14883 The ESP algorithms using CBC mode require echainiv. Hence INET*_ESP have
14884 to select CRYPTO_ECHAINIV in order to work properly. This solves the
14885 issues caused by a misconfiguration as described in [1].
14886 The original approach, patching crypto/Kconfig was turned down by
14887 Herbert Xu [2].
14888
14889 [1] https://lists.strongswan.org/pipermail/users/2015-December/009074.html
14890 [2] http://marc.info/?l=linux-crypto-vger&m=145224655809562&w=2
14891
14892 Signed-off-by: Thomas Egerer <hakke_007@gmx.de>
14893 Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
14894 Signed-off-by: David S. Miller <davem@davemloft.net>
14895
14896 net/ipv4/Kconfig | 1 +
14897 net/ipv6/Kconfig | 1 +
14898 2 files changed, 2 insertions(+), 0 deletions(-)
14899
14900 commit fca5a303155ea67d28aece0caf2b03ffc3b2668d
14901 Merge: 904114c 6339c1f
14902 Author: Brad Spengler <spender@grsecurity.net>
14903 Date: Tue Jan 26 18:08:40 2016 -0500
14904
14905 Merge branch 'pax-test' into grsec-test
14906
14907 commit 6339c1f9a9beafd417bf9f04d4b257e62aeb45b7
14908 Author: Brad Spengler <spender@grsecurity.net>
14909 Date: Tue Jan 26 18:07:51 2016 -0500
14910
14911 Update to pax-linux-4.3.4-test25.patch:
14912 - 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>
14913 - fixed init_new_context on !MODIFY_LDT_SYSCALL configs, reported by tjh (https://forums.grsecurity.net/viewtopic.php?f=3&t=4368)
14914 - fixed a few REFCOUNT false positives in SNMP related statistics
14915
14916 arch/x86/Kconfig | 2 +-
14917 arch/x86/include/asm/mmu_context.h | 17 +++++++++++++++++
14918 include/net/snmp.h | 10 +++++-----
14919 kernel/fork.c | 11 +++++++++--
14920 net/ipv4/proc.c | 8 ++++----
14921 net/ipv6/addrconf.c | 4 ++--
14922 net/ipv6/proc.c | 10 +++++-----
14923 7 files changed, 43 insertions(+), 19 deletions(-)
14924
14925 commit 904114c2fce3fdff5d57e763da56a78960db4e19
14926 Author: Al Viro <viro@zeniv.linux.org.uk>
14927 Date: Fri Jan 22 18:08:52 2016 -0500
14928
14929 make sure that freeing shmem fast symlinks is RCU-delayed
14930
14931 Cc: stable@vger.kernel.org # v4.2+
14932 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
14933
14934 include/linux/shmem_fs.h | 5 +----
14935 mm/shmem.c | 9 ++++-----
14936 2 files changed, 5 insertions(+), 9 deletions(-)
14937
14938 commit ab86adee64312a2f827dd516cb199521327943ed
14939 Author: Sasha Levin <sasha.levin@oracle.com>
14940 Date: Mon Jan 18 19:23:51 2016 -0500
14941
14942 netfilter: nf_conntrack: use safer way to lock all buckets
14943
14944 When we need to lock all buckets in the connection hashtable we'd attempt to
14945 lock 1024 spinlocks, which is way more preemption levels than supported by
14946 the kernel. Furthermore, this behavior was hidden by checking if lockdep is
14947 enabled, and if it was - use only 8 buckets(!).
14948
14949 Fix this by using a global lock and synchronize all buckets on it when we
14950 need to lock them all. This is pretty heavyweight, but is only done when we
14951 need to resize the hashtable, and that doesn't happen often enough (or at all).
14952
14953 Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
14954 Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
14955 Reviewed-by: Florian Westphal <fw@strlen.de>
14956 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
14957
14958 Conflicts:
14959
14960 net/netfilter/nfnetlink_cttimeout.c
14961
14962 include/net/netfilter/nf_conntrack_core.h | 8 ++----
14963 net/netfilter/nf_conntrack_core.c | 38 +++++++++++++++++++++-------
14964 net/netfilter/nf_conntrack_helper.c | 2 +-
14965 net/netfilter/nf_conntrack_netlink.c | 2 +-
14966 4 files changed, 33 insertions(+), 17 deletions(-)
14967
14968 commit 37014723527225481c720484bb788a1a6358072f
14969 Author: Willy Tarreau <w@1wt.eu>
14970 Date: Mon Jan 18 16:36:09 2016 +0100
14971
14972 pipe: limit the per-user amount of pages allocated in pipes
14973
14974 On no-so-small systems, it is possible for a single process to cause an
14975 OOM condition by filling large pipes with data that are never read. A
14976 typical process filling 4000 pipes with 1 MB of data will use 4 GB of
14977 memory. On small systems it may be tricky to set the pipe max size to
14978 prevent this from happening.
14979
14980 This patch makes it possible to enforce a per-user soft limit above
14981 which new pipes will be limited to a single page, effectively limiting
14982 them to 4 kB each, as well as a hard limit above which no new pipes may
14983 be created for this user. This has the effect of protecting the system
14984 against memory abuse without hurting other users, and still allowing
14985 pipes to work correctly though with less data at once.
14986
14987 The limit are controlled by two new sysctls : pipe-user-pages-soft, and
14988 pipe-user-pages-hard. Both may be disabled by setting them to zero. The
14989 default soft limit allows the default number of FDs per process (1024)
14990 to create pipes of the default size (64kB), thus reaching a limit of 64MB
14991 before starting to create only smaller pipes. With 256 processes limited
14992 to 1024 FDs each, this results in 1024*64kB + (256*1024 - 1024) * 4kB =
14993 1084 MB of memory allocated for a user. The hard limit is disabled by
14994 default to avoid breaking existing applications that make intensive use
14995 of pipes (eg: for splicing).
14996
14997 Reported-by: socketpair@gmail.com
14998 Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
14999 Mitigates: CVE-2013-4312 (Linux 2.0+)
15000 Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
15001 Signed-off-by: Willy Tarreau <w@1wt.eu>
15002 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
15003
15004 Documentation/sysctl/fs.txt | 23 +++++++++++++++++++++
15005 fs/pipe.c | 47 +++++++++++++++++++++++++++++++++++++++++-
15006 include/linux/pipe_fs_i.h | 4 +++
15007 include/linux/sched.h | 1 +
15008 kernel/sysctl.c | 14 ++++++++++++
15009 5 files changed, 87 insertions(+), 2 deletions(-)
15010
15011 commit 51645fa198d194f746651dcfbc5f24a4cf8b9fb8
15012 Merge: 540f2af 7791ecb
15013 Author: Brad Spengler <spender@grsecurity.net>
15014 Date: Sat Jan 23 10:57:11 2016 -0500
15015
15016 Merge branch 'pax-test' into grsec-test
15017
15018 commit 7791ecb84f840343a5646236fd0d34e1fb450793
15019 Merge: 470069c 399588c
15020 Author: Brad Spengler <spender@grsecurity.net>
15021 Date: Sat Jan 23 10:56:47 2016 -0500
15022
15023 Merge branch 'linux-4.3.y' into pax-test
15024
15025 commit 540f2affebd42cdc26a699208ab4f1cb0cb75e33
15026 Author: Brad Spengler <spender@grsecurity.net>
15027 Date: Tue Jan 19 21:18:47 2016 -0500
15028
15029 Update size_overflow hash table
15030
15031 .../size_overflow_plugin/size_overflow_hash.data | 4 +++-
15032 1 files changed, 3 insertions(+), 1 deletions(-)
15033
15034 commit 7e649765626a28437f573f0fbe7a51a04615f041
15035 Author: Brad Spengler <spender@grsecurity.net>
15036 Date: Tue Jan 19 20:29:46 2016 -0500
15037
15038 Backport fix from: https://lkml.org/lkml/2015/12/13/187
15039
15040 fs/ext4/extents.c | 2 +-
15041 1 files changed, 1 insertions(+), 1 deletions(-)
15042
15043 commit 53b859cd0a5f5b6ad54fe0c879dfedaa3c5a3005
15044 Author: Jann Horn <jann@thejh.net>
15045 Date: Tue Jan 5 18:27:30 2016 +0100
15046
15047 compat_ioctl: don't call do_ioctl under set_fs(KERNEL_DS)
15048
15049 This replaces all code in fs/compat_ioctl.c that translated
15050 ioctl arguments into a in-kernel structure, then performed
15051 do_ioctl under set_fs(KERNEL_DS), with code that allocates
15052 data on the user stack and can call the VFS ioctl handler
15053 under USER_DS.
15054
15055 This is done as a hardening measure because the caller
15056 does not know what kind of ioctl handler will be invoked,
15057 only that no corresponding compat_ioctl handler exists and
15058 what the ioctl command number is. The accidental
15059 invocation of an unlocked_ioctl handler that unexpectedly
15060 calls copy_to_user could be a severe security issue.
15061
15062 Signed-off-by: Jann Horn <jann@thejh.net>
15063 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
15064
15065 Conflicts:
15066
15067 fs/compat_ioctl.c
15068
15069 fs/compat_ioctl.c | 130 ++++++++++++++++++++++++++++-------------------------
15070 1 files changed, 68 insertions(+), 62 deletions(-)
15071
15072 commit 3e89e770ae27e931cd1583f021abac41eeebc3e7
15073 Author: Al Viro <viro@zeniv.linux.org.uk>
15074 Date: Thu Jan 7 09:53:30 2016 -0500
15075
15076 compat_ioctl: don't pass fd around when not needed
15077
15078 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
15079
15080 fs/compat_ioctl.c | 103 ++++++++++++++++++++++++++--------------------------
15081 fs/internal.h | 7 ++++
15082 fs/ioctl.c | 4 +-
15083 include/linux/fs.h | 2 -
15084 4 files changed, 61 insertions(+), 55 deletions(-)
15085
15086 commit 9d4e04082752d4d2d68445c4e6faf33a2613df55
15087 Author: Jann Horn <jann@thejh.net>
15088 Date: Tue Jan 5 18:27:29 2016 +0100
15089
15090 compat_ioctl: don't look up the fd twice
15091
15092 In code in fs/compat_ioctl.c that translates ioctl arguments
15093 into a in-kernel structure, then performs sys_ioctl, possibly
15094 under set_fs(KERNEL_DS), this commit changes the sys_ioctl
15095 calls to do_ioctl calls. do_ioctl is a new function that does
15096 the same thing as sys_ioctl, but doesn't look up the fd again.
15097
15098 This change is made to avoid (potential) security issues
15099 because of ioctl handlers that accept one of the ioctl
15100 commands I2C_FUNCS, VIDEO_GET_EVENT, MTIOCPOS, MTIOCGET,
15101 TIOCGSERIAL, TIOCSSERIAL, RTC_IRQP_READ, RTC_EPOCH_READ.
15102 This can happen for multiple reasons:
15103
15104 - The ioctl command number could be reused.
15105 - The ioctl handler might not check the full ioctl
15106 command. This is e.g. true for drm_ioctl.
15107 - The ioctl handler is very special, e.g. cuse_file_ioctl
15108
15109 The real issue is that set_fs(KERNEL_DS) is used here,
15110 but that's fixed in a separate commit
15111 "compat_ioctl: don't call do_ioctl under set_fs(KERNEL_DS)".
15112
15113 This change mitigates potential security issues by
15114 preventing a race that permits invocation of
15115 unlocked_ioctl handlers under KERNEL_DS through compat
15116 code even if a corresponding compat_ioctl handler exists.
15117
15118 So far, no way has been identified to use this to damage
15119 kernel memory without having CAP_SYS_ADMIN in the init ns
15120 (with the capability, doing reads/writes at arbitrary
15121 kernel addresses should be easy through CUSE's ioctl
15122 handler with FUSE_IOCTL_UNRESTRICTED set).
15123
15124 [AV: two missed sys_ioctl() taken care of]
15125
15126 Signed-off-by: Jann Horn <jann@thejh.net>
15127 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
15128
15129 fs/compat_ioctl.c | 122 +++++++++++++++++++++++++++++-----------------------
15130 1 files changed, 68 insertions(+), 54 deletions(-)
15131
15132 commit 5bf9e1ed4ebb278cd956ba142914fc04a024309c
15133 Author: Vasily Kulikov <segoon@openwall.com>
15134 Date: Fri Jan 15 16:57:55 2016 -0800
15135
15136 include/linux/poison.h: use POISON_POINTER_DELTA for poison pointers
15137
15138 TIMER_ENTRY_STATIC is defined as a poison pointers which
15139 should point to nowhere. Redefine them using POISON_POINTER_DELTA
15140 arithmetics to make sure they really point to non-mappable area declared
15141 by the target architecture.
15142
15143 Signed-off-by: Vasily Kulikov <segoon@openwall.com>
15144 Acked-by: Thomas Gleixner <tglx@linutronix.de>
15145 Cc: Solar Designer <solar@openwall.com>
15146 Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
15147 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
15148 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
15149
15150 Conflicts:
15151
15152 include/linux/poison.h
15153
15154 include/linux/poison.h | 2 +-
15155 1 files changed, 1 insertions(+), 1 deletions(-)
15156
15157 commit 60f2e0a05ab8f56c804a9334a23e2b446305d110
15158 Author: Brad Spengler <spender@grsecurity.net>
15159 Date: Tue Jan 19 19:41:44 2016 -0500
15160
15161 Fix ARM compilation, reported by Austin Sepp
15162
15163 grsecurity/grsec_sig.c | 1 +
15164 1 files changed, 1 insertions(+), 0 deletions(-)
15165
15166 commit e15383743443dc43460a2fd73e0db0b608610dca
15167 Author: Takashi Iwai <tiwai@suse.de>
15168 Date: Mon Jan 18 13:52:47 2016 +0100
15169
15170 ALSA: hrtimer: Fix stall by hrtimer_cancel()
15171
15172 hrtimer_cancel() waits for the completion from the callback, thus it
15173 must not be called inside the callback itself. This was already a
15174 problem in the past with ALSA hrtimer driver, and the early commit
15175 [fcfdebe70759: ALSA: hrtimer - Fix lock-up] tried to address it.
15176
15177 However, the previous fix is still insufficient: it may still cause a
15178 lockup when the ALSA timer instance reprograms itself in its callback.
15179 Then it invokes the start function even in snd_timer_interrupt() that
15180 is called in hrtimer callback itself, results in a CPU stall. This is
15181 no hypothetical problem but actually triggered by syzkaller fuzzer.
15182
15183 This patch tries to fix the issue again. Now we call
15184 hrtimer_try_to_cancel() at both start and stop functions so that it
15185 won't fall into a deadlock, yet giving some chance to cancel the queue
15186 if the functions have been called outside the callback. The proper
15187 hrtimer_cancel() is called in anyway at closing, so this should be
15188 enough.
15189
15190 Reported-and-tested-by: Dmitry Vyukov <dvyukov@google.com>
15191 Cc: <stable@vger.kernel.org>
15192 Signed-off-by: Takashi Iwai <tiwai@suse.de>
15193
15194 sound/core/hrtimer.c | 3 ++-
15195 1 files changed, 2 insertions(+), 1 deletions(-)
15196
15197 commit 12d874daf706e6e7c1ae709141859c809599297e
15198 Author: Takashi Iwai <tiwai@suse.de>
15199 Date: Tue Jan 12 12:38:02 2016 +0100
15200
15201 ALSA: seq: Fix missing NULL check at remove_events ioctl
15202
15203 snd_seq_ioctl_remove_events() calls snd_seq_fifo_clear()
15204 unconditionally even if there is no FIFO assigned, and this leads to
15205 an Oops due to NULL dereference. The fix is just to add a proper NULL
15206 check.
15207
15208 Reported-by: Dmitry Vyukov <dvyukov@google.com>
15209 Tested-by: Dmitry Vyukov <dvyukov@google.com>
15210 Cc: <stable@vger.kernel.org>
15211 Signed-off-by: Takashi Iwai <tiwai@suse.de>
15212
15213 sound/core/seq/seq_clientmgr.c | 2 +-
15214 1 files changed, 1 insertions(+), 1 deletions(-)
15215
15216 commit 2eb0632df1351378946507e7ef7ba0682632a7b5
15217 Author: Takashi Iwai <tiwai@suse.de>
15218 Date: Tue Jan 12 15:36:27 2016 +0100
15219
15220 ALSA: seq: Fix race at timer setup and close
15221
15222 ALSA sequencer code has an open race between the timer setup ioctl and
15223 the close of the client. This was triggered by syzkaller fuzzer, and
15224 a use-after-free was caught there as a result.
15225
15226 This patch papers over it by adding a proper queue->timer_mutex lock
15227 around the timer-related calls in the relevant code path.
15228
15229 Reported-by: Dmitry Vyukov <dvyukov@google.com>
15230 Tested-by: Dmitry Vyukov <dvyukov@google.com>
15231 Cc: <stable@vger.kernel.org>
15232 Signed-off-by: Takashi Iwai <tiwai@suse.de>
15233
15234 sound/core/seq/seq_queue.c | 2 ++
15235 1 files changed, 2 insertions(+), 0 deletions(-)
15236
15237 commit b9e55ab955e59b4a636d78a748be90334a48b485
15238 Author: Takashi Iwai <tiwai@suse.de>
15239 Date: Thu Jan 14 16:30:58 2016 +0100
15240
15241 ALSA: timer: Harden slave timer list handling
15242
15243 A slave timer instance might be still accessible in a racy way while
15244 operating the master instance as it lacks of locking. Since the
15245 master operation is mostly protected with timer->lock, we should cope
15246 with it while changing the slave instance, too. Also, some linked
15247 lists (active_list and ack_list) of slave instances aren't unlinked
15248 immediately at stopping or closing, and this may lead to unexpected
15249 accesses.
15250
15251 This patch tries to address these issues. It adds spin lock of
15252 timer->lock (either from master or slave, which is equivalent) in a
15253 few places. For avoiding a deadlock, we ensure that the global
15254 slave_active_lock is always locked at first before each timer lock.
15255
15256 Also, ack and active_list of slave instances are properly unlinked at
15257 snd_timer_stop() and snd_timer_close().
15258
15259 Last but not least, remove the superfluous call of _snd_timer_stop()
15260 at removing slave links. This is a noop, and calling it may confuse
15261 readers wrt locking. Further cleanup will follow in a later patch.
15262
15263 Actually we've got reports of use-after-free by syzkaller fuzzer, and
15264 this hopefully fixes these issues.
15265
15266 Reported-by: Dmitry Vyukov <dvyukov@google.com>
15267 Cc: <stable@vger.kernel.org>
15268 Signed-off-by: Takashi Iwai <tiwai@suse.de>
15269
15270 sound/core/timer.c | 18 ++++++++++++++----
15271 1 files changed, 14 insertions(+), 4 deletions(-)
15272
15273 commit f1ce0547bdfda1b42ae8a66c222f2a897cbe1586
15274 Author: Takashi Iwai <tiwai@suse.de>
15275 Date: Wed Jan 13 17:48:01 2016 +0100
15276
15277 ALSA: timer: Fix race among timer ioctls
15278
15279 ALSA timer ioctls have an open race and this may lead to a
15280 use-after-free of timer instance object. A simplistic fix is to make
15281 each ioctl exclusive. We have already tread_sem for controlling the
15282 tread, and extend this as a global mutex to be applied to each ioctl.
15283
15284 The downside is, of course, the worse concurrency. But these ioctls
15285 aren't to be parallel accessible, in anyway, so it should be fine to
15286 serialize there.
15287
15288 Reported-by: Dmitry Vyukov <dvyukov@google.com>
15289 Tested-by: Dmitry Vyukov <dvyukov@google.com>
15290 Cc: <stable@vger.kernel.org>
15291 Signed-off-by: Takashi Iwai <tiwai@suse.de>
15292
15293 sound/core/timer.c | 32 +++++++++++++++++++-------------
15294 1 files changed, 19 insertions(+), 13 deletions(-)
15295
15296 commit 8347d8461ed48a98f9c76cc3cfcdad8217d314bc
15297 Author: Takashi Iwai <tiwai@suse.de>
15298 Date: Wed Jan 13 21:35:06 2016 +0100
15299
15300 ALSA: timer: Fix double unlink of active_list
15301
15302 ALSA timer instance object has a couple of linked lists and they are
15303 unlinked unconditionally at snd_timer_stop(). Meanwhile
15304 snd_timer_interrupt() unlinks it, but it calls list_del() which leaves
15305 the element list itself unchanged. This ends up with unlinking twice,
15306 and it was caught by syzkaller fuzzer.
15307
15308 The fix is to use list_del_init() variant properly there, too.
15309
15310 Reported-by: Dmitry Vyukov <dvyukov@google.com>
15311 Tested-by: Dmitry Vyukov <dvyukov@google.com>
15312 Cc: <stable@vger.kernel.org>
15313 Signed-off-by: Takashi Iwai <tiwai@suse.de>
15314
15315 sound/core/timer.c | 2 +-
15316 1 files changed, 1 insertions(+), 1 deletions(-)
15317
15318 commit 243aebb7ae71d6e11ea9880faa893d1d0d60cd75
15319 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
15320 Date: Mon Jan 18 18:03:48 2016 +0100
15321
15322 ovs: limit ovs recursions in ovs_execute_actions to not corrupt stack
15323
15324 It was seen that defective configurations of openvswitch could overwrite
15325 the STACK_END_MAGIC and cause a hard crash of the kernel because of too
15326 many recursions within ovs.
15327
15328 This problem arises due to the high stack usage of openvswitch. The rest
15329 of the kernel is fine with the current limit of 10 (RECURSION_LIMIT).
15330
15331 We use the already existing recursion counter in ovs_execute_actions to
15332 implement an upper bound of 5 recursions.
15333
15334 Cc: Pravin Shelar <pshelar@ovn.org>
15335 Cc: Simon Horman <simon.horman@netronome.com>
15336 Cc: Eric Dumazet <eric.dumazet@gmail.com>
15337 Cc: Simon Horman <simon.horman@netronome.com>
15338 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
15339 Signed-off-by: David S. Miller <davem@davemloft.net>
15340
15341 net/openvswitch/actions.c | 19 ++++++++++++++-----
15342 1 files changed, 14 insertions(+), 5 deletions(-)
15343
15344 commit 8080793479c6d5befe37a67b1dbd9e4e0a61af96
15345 Author: Ursula Braun <ursula.braun@de.ibm.com>
15346 Date: Tue Jan 19 10:41:33 2016 +0100
15347
15348 af_iucv: Validate socket address length in iucv_sock_bind()
15349
15350 Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
15351 Reported-by: Dmitry Vyukov <dvyukov@google.com>
15352 Reviewed-by: Evgeny Cherkashin <Eugene.Crosser@ru.ibm.com>
15353 Signed-off-by: David S. Miller <davem@davemloft.net>
15354
15355 net/iucv/af_iucv.c | 3 +++
15356 1 files changed, 3 insertions(+), 0 deletions(-)
15357
15358 commit 50a383c1c91ed7409c3cbdd41e662d6891463d1b
15359 Author: Brad Spengler <spender@grsecurity.net>
15360 Date: Tue Jan 19 19:32:54 2016 -0500
15361
15362 Apply the same fix as everyone else for the recent keys vulnerability that is
15363 unexploitable under PAX_REFCOUNT
15364
15365 Make a couple more changes that no one else can/will
15366
15367 include/linux/key-type.h | 4 ++--
15368 ipc/msgutil.c | 4 ++--
15369 security/keys/internal.h | 2 +-
15370 security/keys/process_keys.c | 1 +
15371 4 files changed, 6 insertions(+), 5 deletions(-)
15372
15373 commit b56c3a63f431c193400aee17543021950bd14bc4
15374 Merge: 38b1a3d 470069c
15375 Author: Brad Spengler <spender@grsecurity.net>
15376 Date: Sun Jan 17 18:30:19 2016 -0500
15377
15378 Merge branch 'pax-test' into grsec-test
15379
15380 commit 470069cfedef2180313233d275be5901bd6d1135
15381 Author: Brad Spengler <spender@grsecurity.net>
15382 Date: Sun Jan 17 18:29:59 2016 -0500
15383
15384 Update to pax-linux-4.3.3-test22.patch:
15385 - Emesed fixed a gcc induced intentional integer overflow in asix_rx_fixup_internal, reported by thomas callison caffrey
15386 - fixed some more fallout from the drm_drivers constification, reported by Colin Childs and Toralf Foerster
15387
15388 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 14 ++++----------
15389 drivers/gpu/drm/drm_pci.c | 3 +++
15390 drivers/gpu/drm/gma500/psb_drv.c | 4 ----
15391 drivers/gpu/drm/i915/i915_drv.c | 16 ++++++++--------
15392 drivers/gpu/drm/nouveau/nouveau_drm.c | 6 +++---
15393 drivers/gpu/drm/radeon/radeon_drv.c | 4 +---
15394 drivers/net/usb/asix_common.c | 3 ++-
15395 include/drm/drmP.h | 1 +
15396 8 files changed, 22 insertions(+), 29 deletions(-)
15397
15398 commit 38b1a3d676f407865c3d41840df8213c5ad639c1
15399 Author: Brad Spengler <spender@grsecurity.net>
15400 Date: Sun Jan 17 12:33:53 2016 -0500
15401
15402 As reported by Luis Ressel, the Kconfig help for GRKERNSEC_BRUTE
15403 mentioned banning execution of suid/sgid binaries, though the kernel
15404 source clearly only mentions banning execution of suid binaries. Since
15405 there's no reason for us to not ban execution of sgid binaries as well,
15406 make the implementation match the Kconfig description.
15407
15408 fs/exec.c | 4 ++--
15409 grsecurity/grsec_sig.c | 27 ++++++++++++++-------------
15410 include/linux/sched.h | 4 ++--
15411 3 files changed, 18 insertions(+), 17 deletions(-)
15412
15413 commit 8c3bcb7dbf7f606acfa0983e81f0f928da1f1ace
15414 Merge: d141a86 ea4a835
15415 Author: Brad Spengler <spender@grsecurity.net>
15416 Date: Sat Jan 16 14:12:22 2016 -0500
15417
15418 Merge branch 'pax-test' into grsec-test
15419
15420 Conflicts:
15421 drivers/gpu/drm/i810/i810_drv.c
15422
15423 commit ea4a835328ada6513ac013986764d6caea8cd348
15424 Author: Brad Spengler <spender@grsecurity.net>
15425 Date: Sat Jan 16 14:11:30 2016 -0500
15426
15427 Update to pax-linux-4.3.3-test21.patch:
15428 - fixed some fallout from the drm_drivers constification, reported by spender
15429
15430 drivers/gpu/drm/armada/armada_drv.c | 3 +--
15431 drivers/gpu/drm/exynos/exynos_drm_drv.c | 1 -
15432 drivers/gpu/drm/i810/i810_dma.c | 2 +-
15433 drivers/gpu/drm/i810/i810_drv.c | 6 +++++-
15434 drivers/gpu/drm/i810/i810_drv.h | 2 +-
15435 5 files changed, 8 insertions(+), 6 deletions(-)
15436
15437 commit d141a86fd66194bc3f896b6809b189e2f12a9a83
15438 Author: Brad Spengler <spender@grsecurity.net>
15439 Date: Sat Jan 16 13:16:36 2016 -0500
15440
15441 compile fix
15442
15443 drivers/gpu/drm/i810/i810_dma.c | 2 +-
15444 drivers/gpu/drm/i810/i810_drv.c | 4 +++-
15445 drivers/gpu/drm/i810/i810_drv.h | 2 +-
15446 3 files changed, 5 insertions(+), 3 deletions(-)
15447
15448 commit 0d9dc4b25ea32c14561bcfe6b5b24f1b00fe0270
15449 Merge: 5fa135d bbda879
15450 Author: Brad Spengler <spender@grsecurity.net>
15451 Date: Sat Jan 16 12:59:22 2016 -0500
15452
15453 Merge branch 'pax-test' into grsec-test
15454
15455 commit bbda87914edf63e27fb46670bf3a373f2b963c73
15456 Author: Brad Spengler <spender@grsecurity.net>
15457 Date: Sat Jan 16 12:58:04 2016 -0500
15458
15459 Update to pax-linux-4.3.3-test20.patch:
15460 - constified drm_driver
15461 - Emese fixed a special case in handling __func__ in the initify plugin
15462 - Emese fixed a false positive size overflow report in handling inbufBits, reported by Martin Filo (https://bugs.gentoo.org/show_bug.cgi?id=567048)
15463 - fixed regression that caused perf to not resolve kernel code addresses under KERNEXEC/i386, reported by minipli
15464
15465 arch/x86/kernel/cpu/perf_event.h | 2 +-
15466 arch/x86/kernel/cpu/perf_event_intel_ds.c | 7 +-
15467 arch/x86/kernel/cpu/perf_event_intel_lbr.c | 4 +-
15468 arch/x86/kernel/uprobes.c | 2 +-
15469 arch/x86/mm/mpx.c | 2 +-
15470 drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +-
15471 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 8 ++-
15472 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +-
15473 drivers/gpu/drm/drm_pci.c | 6 +-
15474 drivers/gpu/drm/gma500/psb_drv.c | 5 +-
15475 drivers/gpu/drm/i915/i915_dma.c | 2 +-
15476 drivers/gpu/drm/i915/i915_drv.c | 15 ++--
15477 drivers/gpu/drm/i915/i915_drv.h | 2 +-
15478 drivers/gpu/drm/i915/i915_irq.c | 88 ++++++++++----------
15479 drivers/gpu/drm/mga/mga_drv.c | 5 +-
15480 drivers/gpu/drm/mga/mga_drv.h | 2 +-
15481 drivers/gpu/drm/mga/mga_state.c | 2 +-
15482 drivers/gpu/drm/nouveau/nouveau_drm.c | 13 ++--
15483 drivers/gpu/drm/qxl/qxl_drv.c | 8 ++-
15484 drivers/gpu/drm/qxl/qxl_ioctl.c | 2 +-
15485 drivers/gpu/drm/r128/r128_drv.c | 4 +-
15486 drivers/gpu/drm/r128/r128_drv.h | 2 +-
15487 drivers/gpu/drm/r128/r128_state.c | 2 +-
15488 drivers/gpu/drm/radeon/radeon_drv.c | 17 +++-
15489 drivers/gpu/drm/radeon/radeon_drv.h | 2 +-
15490 drivers/gpu/drm/radeon/radeon_kms.c | 2 +-
15491 drivers/gpu/drm/radeon/radeon_state.c | 2 +-
15492 drivers/gpu/drm/savage/savage_bci.c | 2 +-
15493 drivers/gpu/drm/savage/savage_drv.c | 5 +-
15494 drivers/gpu/drm/savage/savage_drv.h | 2 +-
15495 drivers/gpu/drm/sis/sis_drv.c | 5 +-
15496 drivers/gpu/drm/sis/sis_drv.h | 2 +-
15497 drivers/gpu/drm/sis/sis_mm.c | 2 +-
15498 drivers/gpu/drm/via/via_dma.c | 2 +-
15499 drivers/gpu/drm/via/via_drv.c | 5 +-
15500 drivers/gpu/drm/via/via_drv.h | 2 +-
15501 include/drm/drmP.h | 2 +-
15502 mm/slab.c | 2 +-
15503 net/sunrpc/xprtrdma/svc_rdma.c | 6 +-
15504 tools/gcc/initify_plugin.c | 15 +++-
15505 .../disable_size_overflow_hash.data | 1 +
15506 .../size_overflow_plugin/size_overflow_hash.data | 3 +-
15507 42 files changed, 156 insertions(+), 110 deletions(-)
15508
15509 commit 5fa135dc116350e0205c39ef65eaf6496ed2748a
15510 Author: Brad Spengler <spender@grsecurity.net>
15511 Date: Sat Jan 16 12:19:23 2016 -0500
15512
15513 compile fix
15514
15515 grsecurity/grsec_sig.c | 3 +--
15516 1 files changed, 1 insertions(+), 2 deletions(-)
15517
15518 commit a9090fa58f33f75c7450fda5721a9b13625a47d9
15519 Author: Brad Spengler <spender@grsecurity.net>
15520 Date: Sat Jan 16 12:10:37 2016 -0500
15521
15522 As pointed out by Jann Horn, some distros are starting to circumvent
15523 previous assumptions about the attainability of a user to control
15524 multiple UIDs by handing out suid binaries that allow a user to run
15525 processes (including exploits) under a number of other pre-defined
15526 UIDs. As this could potentially be used to bypass GRKERNSEC_BRUTE
15527 (though it would have to involve some code path that doesn't involve
15528 locks) fix that here by ensuring no more than 8 users on a system can
15529 be banned before a reboot is required. If more are banned, a panic
15530 is triggered.
15531
15532 grsecurity/grsec_sig.c | 8 ++++++++
15533 1 files changed, 8 insertions(+), 0 deletions(-)
15534
15535 commit a8d37776e9521c567ebff6730d49312f72435f08
15536 Author: Eric Dumazet <edumazet@google.com>
15537 Date: Thu Dec 3 11:12:07 2015 -0800
15538
15539 proc: add a reschedule point in proc_readfd_common()
15540
15541 User can pass an arbitrary large buffer to getdents().
15542
15543 It is typically a 32KB buffer used by libc scandir() implementation.
15544
15545 When scanning /proc/{pid}/fd, we can hold cpu way too long,
15546 so add a cond_resched() to be kind with other tasks.
15547
15548 We've seen latencies of more than 50ms on real workloads.
15549
15550 Signed-off-by: Eric Dumazet <edumazet@google.com>
15551 Cc: Alexander Viro <viro@zeniv.linux.org.uk>
15552 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
15553
15554 fs/proc/fd.c | 1 +
15555 1 files changed, 1 insertions(+), 0 deletions(-)
15556
15557 commit 0adba75f8708f13b1f5d98ebe3fc2fb961e100c8
15558 Author: Rabin Vincent <rabin@rab.in>
15559 Date: Tue Jan 12 20:17:08 2016 +0100
15560
15561 net: bpf: reject invalid shifts
15562
15563 On ARM64, a BUG() is triggered in the eBPF JIT if a filter with a
15564 constant shift that can't be encoded in the immediate field of the
15565 UBFM/SBFM instructions is passed to the JIT. Since these shifts
15566 amounts, which are negative or >= regsize, are invalid, reject them in
15567 the eBPF verifier and the classic BPF filter checker, for all
15568 architectures.
15569
15570 Signed-off-by: Rabin Vincent <rabin@rab.in>
15571 Acked-by: Alexei Starovoitov <ast@kernel.org>
15572 Acked-by: Daniel Borkmann <daniel@iogearbox.net>
15573 Signed-off-by: David S. Miller <davem@davemloft.net>
15574
15575 kernel/bpf/verifier.c | 10 ++++++++++
15576 net/core/filter.c | 5 +++++
15577 2 files changed, 15 insertions(+), 0 deletions(-)
15578
15579 commit c248e115a73496625a1c64660d0eeefd67e55cbf
15580 Author: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
15581 Date: Fri Jan 8 11:00:54 2016 -0200
15582
15583 sctp: fix use-after-free in pr_debug statement
15584
15585 Dmitry Vyukov reported a use-after-free in the code expanded by the
15586 macro debug_post_sfx, which is caused by the use of the asoc pointer
15587 after it was freed within sctp_side_effect() scope.
15588
15589 This patch fixes it by allowing sctp_side_effect to clear that asoc
15590 pointer when the TCB is freed.
15591
15592 As Vlad explained, we also have to cover the SCTP_DISPOSITION_ABORT case
15593 because it will trigger DELETE_TCB too on that same loop.
15594
15595 Also, there were places issuing SCTP_CMD_INIT_FAILED and ASSOC_FAILED
15596 but returning SCTP_DISPOSITION_CONSUME, which would fool the scheme
15597 above. Fix it by returning SCTP_DISPOSITION_ABORT instead.
15598
15599 The macro is already prepared to handle such NULL pointer.
15600
15601 Reported-by: Dmitry Vyukov <dvyukov@google.com>
15602 Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
15603 Acked-by: Vlad Yasevich <vyasevich@gmail.com>
15604 Signed-off-by: David S. Miller <davem@davemloft.net>
15605
15606 net/sctp/sm_sideeffect.c | 11 ++++++-----
15607 net/sctp/sm_statefuns.c | 17 ++++-------------
15608 2 files changed, 10 insertions(+), 18 deletions(-)
15609
15610 commit 395ea8a9e73e184fc14153a033000bccf4213213
15611 Author: willy tarreau <w@1wt.eu>
15612 Date: Sun Jan 10 07:54:56 2016 +0100
15613
15614 unix: properly account for FDs passed over unix sockets
15615
15616 It is possible for a process to allocate and accumulate far more FDs than
15617 the process' limit by sending them over a unix socket then closing them
15618 to keep the process' fd count low.
15619
15620 This change addresses this problem by keeping track of the number of FDs
15621 in flight per user and preventing non-privileged processes from having
15622 more FDs in flight than their configured FD limit.
15623
15624 Reported-by: socketpair@gmail.com
15625 Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
15626 Mitigates: CVE-2013-4312 (Linux 2.0+)
15627 Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
15628 Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
15629 Signed-off-by: Willy Tarreau <w@1wt.eu>
15630 Signed-off-by: David S. Miller <davem@davemloft.net>
15631
15632 include/linux/sched.h | 1 +
15633 net/unix/af_unix.c | 24 ++++++++++++++++++++----
15634 net/unix/garbage.c | 13 ++++++++-----
15635 3 files changed, 29 insertions(+), 9 deletions(-)
15636
15637 commit cb207ab8fbd71dcfc4a49d533aba8085012543fd
15638 Author: Sasha Levin <sasha.levin@oracle.com>
15639 Date: Thu Jan 7 14:52:43 2016 -0500
15640
15641 net: sctp: prevent writes to cookie_hmac_alg from accessing invalid memory
15642
15643 proc_dostring() needs an initialized destination string, while the one
15644 provided in proc_sctp_do_hmac_alg() contains stack garbage.
15645
15646 Thus, writing to cookie_hmac_alg would strlen() that garbage and end up
15647 accessing invalid memory.
15648
15649 Fixes: 3c68198e7 ("sctp: Make hmac algorithm selection for cookie generation dynamic")
15650 Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
15651 Signed-off-by: David S. Miller <davem@davemloft.net>
15652
15653 net/sctp/sysctl.c | 2 +-
15654 1 files changed, 1 insertions(+), 1 deletions(-)
15655
15656 commit 4014e09faf0fe9054119624ccfff1236e886b554
15657 Author: Quentin Casasnovas <quentin.casasnovas@oracle.com>
15658 Date: Tue Nov 24 17:13:21 2015 -0500
15659
15660 RDS: fix race condition when sending a message on unbound socket
15661
15662 commit 8c7188b23474cca017b3ef354c4a58456f68303a upstream.
15663
15664 Sasha's found a NULL pointer dereference in the RDS connection code when
15665 sending a message to an apparently unbound socket. The problem is caused
15666 by the code checking if the socket is bound in rds_sendmsg(), which checks
15667 the rs_bound_addr field without taking a lock on the socket. This opens a
15668 race where rs_bound_addr is temporarily set but where the transport is not
15669 in rds_bind(), leading to a NULL pointer dereference when trying to
15670 dereference 'trans' in __rds_conn_create().
15671
15672 Vegard wrote a reproducer for this issue, so kindly ask him to share if
15673 you're interested.
15674
15675 I cannot reproduce the NULL pointer dereference using Vegard's reproducer
15676 with this patch, whereas I could without.
15677
15678 Complete earlier incomplete fix to CVE-2015-6937:
15679
15680 74e98eb08588 ("RDS: verify the underlying transport exists before creating a connection")
15681
15682 Cc: David S. Miller <davem@davemloft.net>
15683
15684 Reviewed-by: Vegard Nossum <vegard.nossum@oracle.com>
15685 Reviewed-by: Sasha Levin <sasha.levin@oracle.com>
15686 Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
15687 Signed-off-by: Quentin Casasnovas <quentin.casasnovas@oracle.com>
15688 Signed-off-by: David S. Miller <davem@davemloft.net>
15689 Signed-off-by: Jiri Slaby <jslaby@suse.cz>
15690
15691 Conflicts:
15692
15693 net/rds/send.c
15694
15695 net/rds/connection.c | 6 ------
15696 1 files changed, 0 insertions(+), 6 deletions(-)
15697
15698 commit 206df8d01104344d7588d801016a281a4cd25556
15699 Author: Sasha Levin <sasha.levin@oracle.com>
15700 Date: Tue Sep 8 10:53:40 2015 -0400
15701
15702 RDS: verify the underlying transport exists before creating a connection
15703
15704 There was no verification that an underlying transport exists when creating
15705 a connection, this would cause dereferencing a NULL ptr.
15706
15707 It might happen on sockets that weren't properly bound before attempting to
15708 send a message, which will cause a NULL ptr deref:
15709
15710 [135546.047719] kasan: GPF could be caused by NULL-ptr deref or user memory accessgeneral protection fault: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC KASAN
15711 [135546.051270] Modules linked in:
15712 [135546.051781] CPU: 4 PID: 15650 Comm: trinity-c4 Not tainted 4.2.0-next-20150902-sasha-00041-gbaa1222-dirty #2527
15713 [135546.053217] task: ffff8800835bc000 ti: ffff8800bc708000 task.ti: ffff8800bc708000
15714 [135546.054291] RIP: __rds_conn_create (net/rds/connection.c:194)
15715 [135546.055666] RSP: 0018:ffff8800bc70fab0 EFLAGS: 00010202
15716 [135546.056457] RAX: dffffc0000000000 RBX: 0000000000000f2c RCX: ffff8800835bc000
15717 [135546.057494] RDX: 0000000000000007 RSI: ffff8800835bccd8 RDI: 0000000000000038
15718 [135546.058530] RBP: ffff8800bc70fb18 R08: 0000000000000001 R09: 0000000000000000
15719 [135546.059556] R10: ffffed014d7a3a23 R11: ffffed014d7a3a21 R12: 0000000000000000
15720 [135546.060614] R13: 0000000000000001 R14: ffff8801ec3d0000 R15: 0000000000000000
15721 [135546.061668] FS: 00007faad4ffb700(0000) GS:ffff880252000000(0000) knlGS:0000000000000000
15722 [135546.062836] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
15723 [135546.063682] CR2: 000000000000846a CR3: 000000009d137000 CR4: 00000000000006a0
15724 [135546.064723] Stack:
15725 [135546.065048] ffffffffafe2055c ffffffffafe23fc1 ffffed00493097bf ffff8801ec3d0008
15726 [135546.066247] 0000000000000000 00000000000000d0 0000000000000000 ac194a24c0586342
15727 [135546.067438] 1ffff100178e1f78 ffff880320581b00 ffff8800bc70fdd0 ffff880320581b00
15728 [135546.068629] Call Trace:
15729 [135546.069028] ? __rds_conn_create (include/linux/rcupdate.h:856 net/rds/connection.c:134)
15730 [135546.069989] ? rds_message_copy_from_user (net/rds/message.c:298)
15731 [135546.071021] rds_conn_create_outgoing (net/rds/connection.c:278)
15732 [135546.071981] rds_sendmsg (net/rds/send.c:1058)
15733 [135546.072858] ? perf_trace_lock (include/trace/events/lock.h:38)
15734 [135546.073744] ? lockdep_init (kernel/locking/lockdep.c:3298)
15735 [135546.074577] ? rds_send_drop_to (net/rds/send.c:976)
15736 [135546.075508] ? __might_fault (./arch/x86/include/asm/current.h:14 mm/memory.c:3795)
15737 [135546.076349] ? __might_fault (mm/memory.c:3795)
15738 [135546.077179] ? rds_send_drop_to (net/rds/send.c:976)
15739 [135546.078114] sock_sendmsg (net/socket.c:611 net/socket.c:620)
15740 [135546.078856] SYSC_sendto (net/socket.c:1657)
15741 [135546.079596] ? SYSC_connect (net/socket.c:1628)
15742 [135546.080510] ? trace_dump_stack (kernel/trace/trace.c:1926)
15743 [135546.081397] ? ring_buffer_unlock_commit (kernel/trace/ring_buffer.c:2479 kernel/trace/ring_buffer.c:2558 kernel/trace/ring_buffer.c:2674)
15744 [135546.082390] ? trace_buffer_unlock_commit (kernel/trace/trace.c:1749)
15745 [135546.083410] ? trace_event_raw_event_sys_enter (include/trace/events/syscalls.h:16)
15746 [135546.084481] ? do_audit_syscall_entry (include/trace/events/syscalls.h:16)
15747 [135546.085438] ? trace_buffer_unlock_commit (kernel/trace/trace.c:1749)
15748 [135546.085515] rds_ib_laddr_check(): addr 36.74.25.172 ret -99 node type -1
15749
15750 Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
15751 Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
15752 Signed-off-by: David S. Miller <davem@davemloft.net>
15753
15754 net/rds/connection.c | 6 ++++++
15755 1 files changed, 6 insertions(+), 0 deletions(-)
15756
15757 commit 173fa03f05cf0ad485d49a42cbdee8844d3a689a
15758 Author: Steven Rostedt (Red Hat) <rostedt@goodmis.org>
15759 Date: Tue Jan 5 20:32:47 2016 -0500
15760
15761 ftrace/module: Call clean up function when module init fails early
15762
15763 If the module init code fails after calling ftrace_module_init() and before
15764 calling do_init_module(), we can suffer from a memory leak. This is because
15765 ftrace_module_init() allocates pages to store the locations that ftrace
15766 hooks are placed in the module text. If do_init_module() fails, it still
15767 calls the MODULE_GOING notifiers which will tell ftrace to do a clean up of
15768 the pages it allocated for the module. But if load_module() fails before
15769 then, the pages allocated by ftrace_module_init() will never be freed.
15770
15771 Call ftrace_release_mod() on the module if load_module() fails before
15772 getting to do_init_module().
15773
15774 Link: http://lkml.kernel.org/r/567CEA31.1070507@intel.com
15775
15776 Reported-by: "Qiu, PeiyangX" <peiyangx.qiu@intel.com>
15777 Fixes: a949ae560a511 "ftrace/module: Hardcode ftrace_module_init() call into load_module()"
15778 Cc: stable@vger.kernel.org # v2.6.38+
15779 Acked-by: Rusty Russell <rusty@rustcorp.com.au>
15780 Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
15781
15782 include/linux/ftrace.h | 1 +
15783 kernel/module.c | 6 ++++++
15784 2 files changed, 7 insertions(+), 0 deletions(-)
15785
15786 commit 1e5a4a81a4c16c8ac2e264b88a02cc2f42ed0399
15787 Author: Francesco Ruggeri <fruggeri@aristanetworks.com>
15788 Date: Wed Jan 6 00:18:48 2016 -0800
15789
15790 net: possible use after free in dst_release
15791
15792 dst_release should not access dst->flags after decrementing
15793 __refcnt to 0. The dst_entry may be in dst_busy_list and
15794 dst_gc_task may dst_destroy it before dst_release gets a chance
15795 to access dst->flags.
15796
15797 Fixes: d69bbf88c8d0 ("net: fix a race in dst_release()")
15798 Fixes: 27b75c95f10d ("net: avoid RCU for NOCACHE dst")
15799 Signed-off-by: Francesco Ruggeri <fruggeri@arista.com>
15800 Acked-by: Eric Dumazet <edumazet@google.com>
15801 Signed-off-by: David S. Miller <davem@davemloft.net>
15802
15803 net/core/dst.c | 3 ++-
15804 1 files changed, 2 insertions(+), 1 deletions(-)
15805
15806 commit bfb0455793dd4e0f0b49d34a68b3249ab55565cc
15807 Author: Alan <gnomes@lxorguk.ukuu.org.uk>
15808 Date: Wed Jan 6 14:55:02 2016 +0000
15809
15810 mkiss: fix scribble on freed memory
15811
15812 commit d79f16c046086f4fe0d42184a458e187464eb83e fixed a user triggerable
15813 scribble on free memory but added a new one which allows the user to
15814 scribble even more and user controlled data into freed space.
15815
15816 As with 6pack we need to halt the queue before we free the buffers, because
15817 the transmit logic is not protected by the semaphore.
15818
15819 Signed-off-by: Alan Cox <alan@linux.intel.com>
15820 Signed-off-by: David S. Miller <davem@davemloft.net>
15821
15822 drivers/net/hamradio/mkiss.c | 5 +++++
15823 1 files changed, 5 insertions(+), 0 deletions(-)
15824
15825 commit 5cbbcbd32dc1949470f61d342503808fa9555276
15826 Author: David Miller <davem@davemloft.net>
15827 Date: Thu Dec 17 16:05:49 2015 -0500
15828
15829 mkiss: Fix use after free in mkiss_close().
15830
15831 Need to do the unregister_device() after all references to the driver
15832 private have been done.
15833
15834 Signed-off-by: David S. Miller <davem@davemloft.net>
15835
15836 drivers/net/hamradio/mkiss.c | 4 ++--
15837 1 files changed, 2 insertions(+), 2 deletions(-)
15838
15839 commit b00171576794a98068e069a660f0991a6a5190ff
15840 Author: One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
15841 Date: Tue Jan 5 11:51:25 2016 +0000
15842
15843 6pack: fix free memory scribbles
15844
15845 commit acf673a3187edf72068ee2f92f4dc47d66baed47 fixed a user triggerable free
15846 memory scribble but in doing so replaced it with a different one that allows
15847 the user to control the data and scribble even more.
15848
15849 sixpack_close is called by the tty layer in tty context. The tty context is
15850 protected by sp_get() and sp_put(). However network layer activity via
15851 sp_xmit() is not protected this way. We must therefore stop the queue
15852 otherwise the user gets to dump a buffer mostly of their choice into freed
15853 kernel pages.
15854
15855 Signed-off-by: Alan Cox <alan@linux.intel.com>
15856 Signed-off-by: David S. Miller <davem@davemloft.net>
15857
15858 drivers/net/hamradio/6pack.c | 6 ++++++
15859 1 files changed, 6 insertions(+), 0 deletions(-)
15860
15861 commit 5b64a833907cd230a3106aeba2304b2c1bcd116d
15862 Author: David Miller <davem@davemloft.net>
15863 Date: Thu Dec 17 16:05:32 2015 -0500
15864
15865 6pack: Fix use after free in sixpack_close().
15866
15867 Need to do the unregister_device() after all references to the driver
15868 private have been done.
15869
15870 Also we need to use del_timer_sync() for the timers so that we don't
15871 have any asynchronous references after the unregister.
15872
15873 Signed-off-by: David S. Miller <davem@davemloft.net>
15874
15875 drivers/net/hamradio/6pack.c | 8 ++++----
15876 1 files changed, 4 insertions(+), 4 deletions(-)
15877
15878 commit 4f9d532742656b3613d579220fd10c78f24ba37b
15879 Author: Rabin Vincent <rabin@rab.in>
15880 Date: Tue Jan 5 16:23:07 2016 +0100
15881
15882 net: filter: make JITs zero A for SKF_AD_ALU_XOR_X
15883
15884 The SKF_AD_ALU_XOR_X ancillary is not like the other ancillary data
15885 instructions since it XORs A with X while all the others replace A with
15886 some loaded value. All the BPF JITs fail to clear A if this is used as
15887 the first instruction in a filter. This was found using american fuzzy
15888 lop.
15889
15890 Add a helper to determine if A needs to be cleared given the first
15891 instruction in a filter, and use this in the JITs. Except for ARM, the
15892 rest have only been compile-tested.
15893
15894 Fixes: 3480593131e0 ("net: filter: get rid of BPF_S_* enum")
15895 Signed-off-by: Rabin Vincent <rabin@rab.in>
15896 Acked-by: Daniel Borkmann <daniel@iogearbox.net>
15897 Acked-by: Alexei Starovoitov <ast@kernel.org>
15898 Signed-off-by: David S. Miller <davem@davemloft.net>
15899
15900 arch/arm/net/bpf_jit_32.c | 16 +---------------
15901 arch/mips/net/bpf_jit.c | 16 +---------------
15902 arch/powerpc/net/bpf_jit_comp.c | 13 ++-----------
15903 arch/sparc/net/bpf_jit_comp.c | 17 ++---------------
15904 include/linux/filter.h | 19 +++++++++++++++++++
15905 5 files changed, 25 insertions(+), 56 deletions(-)
15906
15907 commit 570d88f8acfffda92b89ae2e1c47320d47256034
15908 Author: John Fastabend <john.fastabend@gmail.com>
15909 Date: Tue Jan 5 09:11:36 2016 -0800
15910
15911 net: sched: fix missing free per cpu on qstats
15912
15913 When a qdisc is using per cpu stats (currently just the ingress
15914 qdisc) only the bstats are being freed. This also free's the qstats.
15915
15916 Fixes: b0ab6f92752b9f9d8 ("net: sched: enable per cpu qstats")
15917 Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
15918 Acked-by: Eric Dumazet <edumazet@google.com>
15919 Acked-by: Daniel Borkmann <daniel@iogearbox.net>
15920 Signed-off-by: David S. Miller <davem@davemloft.net>
15921
15922 net/sched/sch_generic.c | 4 +++-
15923 1 files changed, 3 insertions(+), 1 deletions(-)
15924
15925 commit 32c0ebc51857ee83470a10dcb234d308a0ed1881
15926 Author: Rabin Vincent <rabin@rab.in>
15927 Date: Tue Jan 5 18:34:04 2016 +0100
15928
15929 ARM: net: bpf: fix zero right shift
15930
15931 The LSR instruction cannot be used to perform a zero right shift since a
15932 0 as the immediate value (imm5) in the LSR instruction encoding means
15933 that a shift of 32 is perfomed. See DecodeIMMShift() in the ARM ARM.
15934
15935 Make the JIT skip generation of the LSR if a zero-shift is requested.
15936
15937 This was found using american fuzzy lop.
15938
15939 Signed-off-by: Rabin Vincent <rabin@rab.in>
15940 Acked-by: Alexei Starovoitov <ast@kernel.org>
15941 Signed-off-by: David S. Miller <davem@davemloft.net>
15942
15943 arch/arm/net/bpf_jit_32.c | 3 ++-
15944 1 files changed, 2 insertions(+), 1 deletions(-)
15945
15946 commit 51f5d291750285efa4d4bbe84e5ec23dc00c8d2d
15947 Author: Brad Spengler <spender@grsecurity.net>
15948 Date: Wed Jan 6 20:35:57 2016 -0500
15949
15950 Don't perform hidden lookups in RBAC against the directory of
15951 a file being opened with O_CREAT, reported by Karl Witt
15952
15953 Conflicts:
15954
15955 fs/namei.c
15956
15957 fs/namei.c | 3 ---
15958 1 files changed, 0 insertions(+), 3 deletions(-)
15959
15960 commit 5a8266a6b2769ccdb447256f95bc2577a73cccd1
15961 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
15962 Date: Tue Jan 5 10:46:00 2016 +0100
15963
15964 bridge: Only call /sbin/bridge-stp for the initial network namespace
15965
15966 [I stole this patch from Eric Biederman. He wrote:]
15967
15968 > There is no defined mechanism to pass network namespace information
15969 > into /sbin/bridge-stp therefore don't even try to invoke it except
15970 > for bridge devices in the initial network namespace.
15971 >
15972 > It is possible for unprivileged users to cause /sbin/bridge-stp to be
15973 > invoked for any network device name which if /sbin/bridge-stp does not
15974 > guard against unreasonable arguments or being invoked twice on the
15975 > same network device could cause problems.
15976
15977 [Hannes: changed patch using netns_eq]
15978
15979 Cc: Eric W. Biederman <ebiederm@xmission.com>
15980 Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
15981 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
15982 Signed-off-by: David S. Miller <davem@davemloft.net>
15983
15984 net/bridge/br_stp_if.c | 5 ++++-
15985 1 files changed, 4 insertions(+), 1 deletions(-)
15986
15987 commit 650d535cc39f0aeff2f57e60b6617be25d3ef48b
15988 Author: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
15989 Date: Wed Dec 23 16:28:40 2015 -0200
15990
15991 sctp: use GFP_USER for user-controlled kmalloc
15992
15993 Commit cacc06215271 ("sctp: use GFP_USER for user-controlled kmalloc")
15994 missed two other spots.
15995
15996 For connectx, as it's more likely to be used by kernel users of the API,
15997 it detects if GFP_USER should be used or not.
15998
15999 Fixes: cacc06215271 ("sctp: use GFP_USER for user-controlled kmalloc")
16000 Reported-by: Dmitry Vyukov <dvyukov@google.com>
16001 Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
16002 Signed-off-by: David S. Miller <davem@davemloft.net>
16003
16004 net/sctp/socket.c | 9 ++++++---
16005 1 files changed, 6 insertions(+), 3 deletions(-)
16006
16007 commit 5718a1f63c41fc156f729783423b002763779d04
16008 Author: Florian Westphal <fw@strlen.de>
16009 Date: Thu Dec 31 14:26:33 2015 +0100
16010
16011 connector: bump skb->users before callback invocation
16012
16013 Dmitry reports memleak with syskaller program.
16014 Problem is that connector bumps skb usecount but might not invoke callback.
16015
16016 So move skb_get to where we invoke the callback.
16017
16018 Reported-by: Dmitry Vyukov <dvyukov@google.com>
16019 Signed-off-by: Florian Westphal <fw@strlen.de>
16020 Signed-off-by: David S. Miller <davem@davemloft.net>
16021
16022 drivers/connector/connector.c | 11 +++--------
16023 1 files changed, 3 insertions(+), 8 deletions(-)
16024
16025 commit 2e6372e6a97f8d642416899861f91777f44f13b7
16026 Author: Rainer Weikusat <rweikusat@mobileactivedefense.com>
16027 Date: Sun Jan 3 18:56:38 2016 +0000
16028
16029 af_unix: Fix splice-bind deadlock
16030
16031 On 2015/11/06, Dmitry Vyukov reported a deadlock involving the splice
16032 system call and AF_UNIX sockets,
16033
16034 http://lists.openwall.net/netdev/2015/11/06/24
16035
16036 The situation was analyzed as
16037
16038 (a while ago) A: socketpair()
16039 B: splice() from a pipe to /mnt/regular_file
16040 does sb_start_write() on /mnt
16041 C: try to freeze /mnt
16042 wait for B to finish with /mnt
16043 A: bind() try to bind our socket to /mnt/new_socket_name
16044 lock our socket, see it not bound yet
16045 decide that it needs to create something in /mnt
16046 try to do sb_start_write() on /mnt, block (it's
16047 waiting for C).
16048 D: splice() from the same pipe to our socket
16049 lock the pipe, see that socket is connected
16050 try to lock the socket, block waiting for A
16051 B: get around to actually feeding a chunk from
16052 pipe to file, try to lock the pipe. Deadlock.
16053
16054 on 2015/11/10 by Al Viro,
16055
16056 http://lists.openwall.net/netdev/2015/11/10/4
16057
16058 The patch fixes this by removing the kern_path_create related code from
16059 unix_mknod and executing it as part of unix_bind prior acquiring the
16060 readlock of the socket in question. This means that A (as used above)
16061 will sb_start_write on /mnt before it acquires the readlock, hence, it
16062 won't indirectly block B which first did a sb_start_write and then
16063 waited for a thread trying to acquire the readlock. Consequently, A
16064 being blocked by C waiting for B won't cause a deadlock anymore
16065 (effectively, both A and B acquire two locks in opposite order in the
16066 situation described above).
16067
16068 Dmitry Vyukov(<dvyukov@google.com>) tested the original patch.
16069
16070 Signed-off-by: Rainer Weikusat <rweikusat@mobileactivedefense.com>
16071 Signed-off-by: David S. Miller <davem@davemloft.net>
16072
16073 Conflicts:
16074
16075 net/unix/af_unix.c
16076
16077 net/unix/af_unix.c | 70 +++++++++++++++++++++++++++++++--------------------
16078 1 files changed, 42 insertions(+), 28 deletions(-)
16079
16080 commit 2e729e557c571f3253e32472cd7d382ac16cf1c3
16081 Author: Qiu Peiyang <peiyangx.qiu@intel.com>
16082 Date: Thu Dec 31 13:11:28 2015 +0800
16083
16084 tracing: Fix setting of start_index in find_next()
16085
16086 When we do cat /sys/kernel/debug/tracing/printk_formats, we hit kernel
16087 panic at t_show.
16088
16089 general protection fault: 0000 [#1] PREEMPT SMP
16090 CPU: 0 PID: 2957 Comm: sh Tainted: G W O 3.14.55-x86_64-01062-gd4acdc7 #2
16091 RIP: 0010:[<ffffffff811375b2>]
16092 [<ffffffff811375b2>] t_show+0x22/0xe0
16093 RSP: 0000:ffff88002b4ebe80 EFLAGS: 00010246
16094 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000004
16095 RDX: 0000000000000004 RSI: ffffffff81fd26a6 RDI: ffff880032f9f7b1
16096 RBP: ffff88002b4ebe98 R08: 0000000000001000 R09: 000000000000ffec
16097 R10: 0000000000000000 R11: 000000000000000f R12: ffff880004d9b6c0
16098 R13: 7365725f6d706400 R14: ffff880004d9b6c0 R15: ffffffff82020570
16099 FS: 0000000000000000(0000) GS:ffff88003aa00000(0063) knlGS:00000000f776bc40
16100 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
16101 CR2: 00000000f6c02ff0 CR3: 000000002c2b3000 CR4: 00000000001007f0
16102 Call Trace:
16103 [<ffffffff811dc076>] seq_read+0x2f6/0x3e0
16104 [<ffffffff811b749b>] vfs_read+0x9b/0x160
16105 [<ffffffff811b7f69>] SyS_read+0x49/0xb0
16106 [<ffffffff81a3a4b9>] ia32_do_call+0x13/0x13
16107 ---[ end trace 5bd9eb630614861e ]---
16108 Kernel panic - not syncing: Fatal exception
16109
16110 When the first time find_next calls find_next_mod_format, it should
16111 iterate the trace_bprintk_fmt_list to find the first print format of
16112 the module. However in current code, start_index is smaller than *pos
16113 at first, and code will not iterate the list. Latter container_of will
16114 get the wrong address with former v, which will cause mod_fmt be a
16115 meaningless object and so is the returned mod_fmt->fmt.
16116
16117 This patch will fix it by correcting the start_index. After fixed,
16118 when the first time calls find_next_mod_format, start_index will be
16119 equal to *pos, and code will iterate the trace_bprintk_fmt_list to
16120 get the right module printk format, so is the returned mod_fmt->fmt.
16121
16122 Link: http://lkml.kernel.org/r/5684B900.9000309@intel.com
16123
16124 Cc: stable@vger.kernel.org # 3.12+
16125 Fixes: 102c9323c35a8 "tracing: Add __tracepoint_string() to export string pointers"
16126 Signed-off-by: Qiu Peiyang <peiyangx.qiu@intel.com>
16127 Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
16128
16129 kernel/trace/trace_printk.c | 1 +
16130 1 files changed, 1 insertions(+), 0 deletions(-)
16131
16132 commit 0994af4b1930f32aa493dc08145cd304f8bfc8f4
16133 Author: Al Viro <viro@zeniv.linux.org.uk>
16134 Date: Mon Dec 28 20:47:08 2015 -0500
16135
16136 [PATCH] arm: fix handling of F_OFD_... in oabi_fcntl64()
16137
16138 Cc: stable@vger.kernel.org # 3.15+
16139 Reviewed-by: Jeff Layton <jeff.layton@primarydata.com>
16140 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
16141
16142 arch/arm/kernel/sys_oabi-compat.c | 73 +++++++++++++++++++------------------
16143 1 files changed, 37 insertions(+), 36 deletions(-)
16144
16145 commit 4ed030f65dcf3e6b0128032a49a7d75f947fa351
16146 Merge: de243c2 3adc55a
16147 Author: Brad Spengler <spender@grsecurity.net>
16148 Date: Tue Jan 5 18:10:10 2016 -0500
16149
16150 Merge branch 'pax-test' into grsec-test
16151
16152 commit 3adc55a5acfa429c2a7cc883aef08b960c0079b0
16153 Author: Brad Spengler <spender@grsecurity.net>
16154 Date: Tue Jan 5 18:08:53 2016 -0500
16155
16156 Update to pax-linux-4.3.3-test16.patch:
16157 - small cleanup in entry_64.S on x86
16158 - Emese fixed the initify plugin to recursively check variable initializers, reported by Rasmus Villemoes
16159 - 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)
16160 - 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)
16161 - 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)
16162 - 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)
16163
16164 arch/x86/entry/entry_64.S | 60 +++++-----
16165 arch/x86/kernel/alternative.c | 2 +-
16166 arch/x86/kvm/emulate.c | 4 +-
16167 tools/gcc/initify_plugin.c | 123 +++++++++----------
16168 .../disable_size_overflow_hash.data | 4 +-
16169 .../size_overflow_plugin/size_overflow_hash.data | 2 -
16170 6 files changed, 93 insertions(+), 102 deletions(-)
16171
16172 commit de243c26efd0e423ca92db825af2c3f8eb1ca043
16173 Author: Brad Spengler <spender@grsecurity.net>
16174 Date: Tue Dec 29 18:01:24 2015 -0500
16175
16176 It was noticed during an internal audit that the code under GRKERNSEC_PROC_MEMMAP
16177 which aimed to enforce a 16MB minimum on RLIMIT_DATA for suid/sgid binaries only
16178 did so if RLIMIT_DATA was set lower than PAGE_SIZE.
16179
16180 This addition was only supplemental as GRKERNSEC_BRUTE is the main defense
16181 against suid/sgid attacks and the flaw above would only eliminate the extra
16182 entropy provided for the brk-managed heap, still leaving it with the minimum
16183 of 16-bit entropy for mmap on x86 and 28 on x64.
16184
16185 mm/mmap.c | 2 +-
16186 1 files changed, 1 insertions(+), 1 deletions(-)
16187
16188 commit 8e264cfe47e5f08cdc9ed009a630277206cd2534
16189 Merge: 436201b 2584340
16190 Author: Brad Spengler <spender@grsecurity.net>
16191 Date: Mon Dec 28 20:30:01 2015 -0500
16192
16193 Merge branch 'pax-test' into grsec-test
16194
16195 commit 2584340eab494e64ec1bf9eb5b0d1ae31f926306
16196 Author: Brad Spengler <spender@grsecurity.net>
16197 Date: Mon Dec 28 20:29:28 2015 -0500
16198
16199 Update to pax-linux-4.3.3-test14.patch:
16200 - 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)
16201 - fixed shutdown crash with tboot and KERNEXEC, reported by perfinion
16202 - fixed a few false positive and one real size overflow reports in hyperv, reported by hunger
16203 - fixed compile regressions on armv5, reported by iamb (https://forums.grsecurity.net/viewtopic.php?f=3&t=4350)
16204 - fixed an assert in the initify plugin that triggered in vic_register on arm
16205
16206 arch/arm/include/asm/atomic.h | 7 +++++--
16207 arch/arm/include/asm/domain.h | 5 ++---
16208 arch/x86/kernel/tboot.c | 14 +++++++++-----
16209 drivers/hv/channel.c | 4 +---
16210 drivers/i2c/busses/i2c-designware-pcidrv.c | 2 +-
16211 drivers/net/hyperv/rndis_filter.c | 3 +--
16212 fs/exec.c | 4 ++--
16213 include/linux/atomic.h | 15 ---------------
16214 net/core/skbuff.c | 3 ++-
16215 tools/gcc/initify_plugin.c | 4 +++-
16216 10 files changed, 26 insertions(+), 35 deletions(-)
16217
16218 commit 436201b6626b488d173c8076447000077c27b84a
16219 Author: David Howells <dhowells@redhat.com>
16220 Date: Fri Dec 18 01:34:26 2015 +0000
16221
16222 KEYS: Fix race between read and revoke
16223
16224 This fixes CVE-2015-7550.
16225
16226 There's a race between keyctl_read() and keyctl_revoke(). If the revoke
16227 happens between keyctl_read() checking the validity of a key and the key's
16228 semaphore being taken, then the key type read method will see a revoked key.
16229
16230 This causes a problem for the user-defined key type because it assumes in
16231 its read method that there will always be a payload in a non-revoked key
16232 and doesn't check for a NULL pointer.
16233
16234 Fix this by making keyctl_read() check the validity of a key after taking
16235 semaphore instead of before.
16236
16237 I think the bug was introduced with the original keyrings code.
16238
16239 This was discovered by a multithreaded test program generated by syzkaller
16240 (http://github.com/google/syzkaller). Here's a cleaned up version:
16241
16242 #include <sys/types.h>
16243 #include <keyutils.h>
16244 #include <pthread.h>
16245 void *thr0(void *arg)
16246 {
16247 key_serial_t key = (unsigned long)arg;
16248 keyctl_revoke(key);
16249 return 0;
16250 }
16251 void *thr1(void *arg)
16252 {
16253 key_serial_t key = (unsigned long)arg;
16254 char buffer[16];
16255 keyctl_read(key, buffer, 16);
16256 return 0;
16257 }
16258 int main()
16259 {
16260 key_serial_t key = add_key("user", "%", "foo", 3, KEY_SPEC_USER_KEYRING);
16261 pthread_t th[5];
16262 pthread_create(&th[0], 0, thr0, (void *)(unsigned long)key);
16263 pthread_create(&th[1], 0, thr1, (void *)(unsigned long)key);
16264 pthread_create(&th[2], 0, thr0, (void *)(unsigned long)key);
16265 pthread_create(&th[3], 0, thr1, (void *)(unsigned long)key);
16266 pthread_join(th[0], 0);
16267 pthread_join(th[1], 0);
16268 pthread_join(th[2], 0);
16269 pthread_join(th[3], 0);
16270 return 0;
16271 }
16272
16273 Build as:
16274
16275 cc -o keyctl-race keyctl-race.c -lkeyutils -lpthread
16276
16277 Run as:
16278
16279 while keyctl-race; do :; done
16280
16281 as it may need several iterations to crash the kernel. The crash can be
16282 summarised as:
16283
16284 BUG: unable to handle kernel NULL pointer dereference at 0000000000000010
16285 IP: [<ffffffff81279b08>] user_read+0x56/0xa3
16286 ...
16287 Call Trace:
16288 [<ffffffff81276aa9>] keyctl_read_key+0xb6/0xd7
16289 [<ffffffff81277815>] SyS_keyctl+0x83/0xe0
16290 [<ffffffff815dbb97>] entry_SYSCALL_64_fastpath+0x12/0x6f
16291
16292 Reported-by: Dmitry Vyukov <dvyukov@google.com>
16293 Signed-off-by: David Howells <dhowells@redhat.com>
16294 Tested-by: Dmitry Vyukov <dvyukov@google.com>
16295 Cc: stable@vger.kernel.org
16296 Signed-off-by: James Morris <james.l.morris@oracle.com>
16297
16298 security/keys/keyctl.c | 18 +++++++++---------
16299 1 files changed, 9 insertions(+), 9 deletions(-)
16300
16301 commit 195cea04477025da4a2078bd3e1fb7c4e11206c2
16302 Author: Brad Spengler <spender@grsecurity.net>
16303 Date: Tue Dec 22 20:44:01 2015 -0500
16304
16305 Add new kernel command-line param: pax_size_overflow_report_only
16306 If a user triggers a size_overflow violation that makes it difficult
16307 to obtain the call trace without serial console/net console, they can
16308 use this option to provide that information to us
16309
16310 Documentation/kernel-parameters.txt | 5 +++++
16311 fs/exec.c | 12 +++++++++---
16312 init/main.c | 11 +++++++++++
16313 3 files changed, 25 insertions(+), 3 deletions(-)
16314
16315 commit 4254a8da5851df8c08cdca5c392916e8c105408d
16316 Author: WANG Cong <xiyou.wangcong@gmail.com>
16317 Date: Mon Dec 21 10:55:45 2015 -0800
16318
16319 addrconf: always initialize sysctl table data
16320
16321 When sysctl performs restrict writes, it allows to write from
16322 a middle position of a sysctl file, which requires us to initialize
16323 the table data before calling proc_dostring() for the write case.
16324
16325 Fixes: 3d1bec99320d ("ipv6: introduce secret_stable to ipv6_devconf")
16326 Reported-by: Sasha Levin <sasha.levin@oracle.com>
16327 Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
16328 Tested-by: Sasha Levin <sasha.levin@oracle.com>
16329 Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
16330 Signed-off-by: David S. Miller <davem@davemloft.net>
16331
16332 net/ipv6/addrconf.c | 11 ++++-------
16333 1 files changed, 4 insertions(+), 7 deletions(-)
16334
16335 commit f8002863fb06c363180637046947a78a6ccb3d33
16336 Author: WANG Cong <xiyou.wangcong@gmail.com>
16337 Date: Wed Dec 16 23:39:04 2015 -0800
16338
16339 net: check both type and procotol for tcp sockets
16340
16341 Dmitry reported the following out-of-bound access:
16342
16343 Call Trace:
16344 [<ffffffff816cec2e>] __asan_report_load4_noabort+0x3e/0x40
16345 mm/kasan/report.c:294
16346 [<ffffffff84affb14>] sock_setsockopt+0x1284/0x13d0 net/core/sock.c:880
16347 [< inline >] SYSC_setsockopt net/socket.c:1746
16348 [<ffffffff84aed7ee>] SyS_setsockopt+0x1fe/0x240 net/socket.c:1729
16349 [<ffffffff85c18c76>] entry_SYSCALL_64_fastpath+0x16/0x7a
16350 arch/x86/entry/entry_64.S:185
16351
16352 This is because we mistake a raw socket as a tcp socket.
16353 We should check both sk->sk_type and sk->sk_protocol to ensure
16354 it is a tcp socket.
16355
16356 Willem points out __skb_complete_tx_timestamp() needs to fix as well.
16357
16358 Reported-by: Dmitry Vyukov <dvyukov@google.com>
16359 Cc: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
16360 Cc: Eric Dumazet <eric.dumazet@gmail.com>
16361 Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
16362 Acked-by: Willem de Bruijn <willemb@google.com>
16363 Signed-off-by: David S. Miller <davem@davemloft.net>
16364
16365 net/core/skbuff.c | 3 ++-
16366 net/core/sock.c | 3 ++-
16367 2 files changed, 4 insertions(+), 2 deletions(-)
16368
16369 commit bd6b3399804470a4ad8f34229469ca149dceba3d
16370 Author: Colin Ian King <colin.king@canonical.com>
16371 Date: Fri Dec 18 14:22:01 2015 -0800
16372
16373 proc: fix -ESRCH error when writing to /proc/$pid/coredump_filter
16374
16375 Writing to /proc/$pid/coredump_filter always returns -ESRCH because commit
16376 774636e19ed51 ("proc: convert to kstrto*()/kstrto*_from_user()") removed
16377 the setting of ret after the get_proc_task call and incorrectly left it as
16378 -ESRCH. Instead, return 0 when successful.
16379
16380 Example breakage:
16381
16382 echo 0 > /proc/self/coredump_filter
16383 bash: echo: write error: No such process
16384
16385 Fixes: 774636e19ed51 ("proc: convert to kstrto*()/kstrto*_from_user()")
16386 Signed-off-by: Colin Ian King <colin.king@canonical.com>
16387 Acked-by: Kees Cook <keescook@chromium.org>
16388 Cc: <stable@vger.kernel.org> [4.3+]
16389 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
16390 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
16391
16392 fs/proc/base.c | 1 +
16393 1 files changed, 1 insertions(+), 0 deletions(-)
16394
16395 commit b28aca2b99ed08546778355fb9402c503ff9b29e
16396 Author: Junichi Nomura <j-nomura@ce.jp.nec.com>
16397 Date: Tue Dec 22 10:23:44 2015 -0700
16398
16399 block: ensure to split after potentially bouncing a bio
16400
16401 blk_queue_bio() does split then bounce, which makes the segment
16402 counting based on pages before bouncing and could go wrong. Move
16403 the split to after bouncing, like we do for blk-mq, and the we
16404 fix the issue of having the bio count for segments be wrong.
16405
16406 Fixes: 54efd50bfd87 ("block: make generic_make_request handle arbitrarily sized bios")
16407 Cc: stable@vger.kernel.org
16408 Tested-by: Artem S. Tashkinov <t.artem@lycos.com>
16409 Signed-off-by: Jens Axboe <axboe@fb.com>
16410
16411 block/blk-core.c | 4 ++--
16412 1 files changed, 2 insertions(+), 2 deletions(-)
16413
16414 commit e62a25e917a9e5b35ddd5b4f1b5e5e30fbd2e84c
16415 Merge: f6f63ae ec72fa5
16416 Author: Brad Spengler <spender@grsecurity.net>
16417 Date: Tue Dec 22 19:46:26 2015 -0500
16418
16419 Merge branch 'pax-test' into grsec-test
16420
16421 commit ec72fa5f8d9cb4e223bad1b8b5c2e1071c222f2a
16422 Author: Brad Spengler <spender@grsecurity.net>
16423 Date: Tue Dec 22 19:45:51 2015 -0500
16424
16425 Update to pax-linux-4.3.3-test13.patch:
16426 - 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)
16427 - 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)
16428
16429 arch/arm/mm/fault.c | 2 +-
16430 arch/x86/mm/fault.c | 2 +-
16431 fs/btrfs/extent_map.c | 8 ++++++--
16432 fs/xfs/libxfs/xfs_da_btree.c | 4 +++-
16433 4 files changed, 11 insertions(+), 5 deletions(-)
16434
16435 commit f6f63ae154cd45028add1dc41957878060d77fbf
16436 Author: Brad Spengler <spender@grsecurity.net>
16437 Date: Thu Dec 17 18:43:44 2015 -0500
16438
16439 ptrace_has_cap() checks whether the current process should be
16440 treated as having a certain capability for ptrace checks
16441 against another process. Until now, this was equivalent to
16442 has_ns_capability(current, target_ns, CAP_SYS_PTRACE).
16443
16444 However, if a root-owned process wants to enter a user
16445 namespace for some reason without knowing who owns it and
16446 therefore can't change to the namespace owner's uid and gid
16447 before entering, as soon as it has entered the namespace,
16448 the namespace owner can attach to it via ptrace and thereby
16449 gain access to its uid and gid.
16450
16451 While it is possible for the entering process to switch to
16452 the uid of a claimed namespace owner before entering,
16453 causing the attempt to enter to fail if the claimed uid is
16454 wrong, this doesn't solve the problem of determining an
16455 appropriate gid.
16456
16457 With this change, the entering process can first enter the
16458 namespace and then safely inspect the namespace's
16459 properties, e.g. through /proc/self/{uid_map,gid_map},
16460 assuming that the namespace owner doesn't have access to
16461 uid 0.
16462 Signed-off-by: Jann Horn <jann@thejh.net>
16463
16464 kernel/ptrace.c | 30 +++++++++++++++++++++++++-----
16465 1 files changed, 25 insertions(+), 5 deletions(-)
16466
16467 commit e314f0fb63020f61543b401ff594e953c2c304e5
16468 Author: tadeusz.struk@intel.com <tadeusz.struk@intel.com>
16469 Date: Tue Dec 15 10:46:17 2015 -0800
16470
16471 net: fix uninitialized variable issue
16472
16473 msg_iocb needs to be initialized on the recv/recvfrom path.
16474 Otherwise afalg will wrongly interpret it as an async call.
16475
16476 Cc: stable@vger.kernel.org
16477 Reported-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
16478 Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
16479 Signed-off-by: David S. Miller <davem@davemloft.net>
16480
16481 net/socket.c | 1 +
16482 1 files changed, 1 insertions(+), 0 deletions(-)
16483
16484 commit a3f56a43ad56b8fcaf04f6327636ed2f5970de3b
16485 Merge: dfa764c 142edcf
16486 Author: Brad Spengler <spender@grsecurity.net>
16487 Date: Wed Dec 16 21:01:17 2015 -0500
16488
16489 Merge branch 'pax-test' into grsec-test
16490
16491 commit 142edcf1005a57fb8887823565cf0bafad2f313c
16492 Author: Brad Spengler <spender@grsecurity.net>
16493 Date: Wed Dec 16 21:00:57 2015 -0500
16494
16495 Update to pax-linux-4.3.3-test12.patch:
16496 - 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)
16497 - 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)
16498
16499 drivers/tty/n_tty.c | 16 ++++++++--------
16500 .../disable_size_overflow_hash.data | 2 ++
16501 .../size_overflow_plugin/size_overflow_hash.data | 6 ++----
16502 3 files changed, 12 insertions(+), 12 deletions(-)
16503
16504 commit dfa764cc549892a5bfc1083cac78b99032cae577
16505 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
16506 Date: Tue Dec 15 22:59:12 2015 +0100
16507
16508 ipv6: automatically enable stable privacy mode if stable_secret set
16509
16510 Bjørn reported that while we switch all interfaces to privacy stable mode
16511 when setting the secret, we don't set this mode for new interfaces. This
16512 does not make sense, so change this behaviour.
16513
16514 Fixes: 622c81d57b392cc ("ipv6: generation of stable privacy addresses for link-local and autoconf")
16515 Reported-by: Bjørn Mork <bjorn@mork.no>
16516 Cc: Bjørn Mork <bjorn@mork.no>
16517 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
16518 Signed-off-by: David S. Miller <davem@davemloft.net>
16519
16520 net/ipv6/addrconf.c | 6 ++++++
16521 1 files changed, 6 insertions(+), 0 deletions(-)
16522
16523 commit c2815a1fee03f222273e77c14e43f960da06f35a
16524 Author: Brad Spengler <spender@grsecurity.net>
16525 Date: Wed Dec 16 13:03:38 2015 -0500
16526
16527 Work around upstream limitation on the number of thread info flags causing a compilation error
16528 Reported by fabled at http://forums.grsecurity.net/viewtopic.php?f=3&t=4339
16529
16530 arch/arm/kernel/entry-common.S | 8 ++++++--
16531 1 files changed, 6 insertions(+), 2 deletions(-)
16532
16533 commit 8c9ae168e09ae49324d709d76d73d9fc4ca477e1
16534 Author: Brad Spengler <spender@grsecurity.net>
16535 Date: Tue Dec 15 19:03:41 2015 -0500
16536
16537 Initial import of grsecurity 3.1 for Linux 4.3.3
16538
16539 Documentation/dontdiff | 2 +
16540 Documentation/kernel-parameters.txt | 7 +
16541 Documentation/sysctl/kernel.txt | 15 +
16542 Makefile | 18 +-
16543 arch/alpha/include/asm/cache.h | 4 +-
16544 arch/alpha/kernel/osf_sys.c | 12 +-
16545 arch/arc/Kconfig | 1 +
16546 arch/arm/Kconfig | 1 +
16547 arch/arm/Kconfig.debug | 1 +
16548 arch/arm/include/asm/thread_info.h | 7 +-
16549 arch/arm/kernel/process.c | 4 +-
16550 arch/arm/kernel/ptrace.c | 9 +
16551 arch/arm/kernel/traps.c | 7 +-
16552 arch/arm/mm/Kconfig | 2 +-
16553 arch/arm/mm/fault.c | 40 +-
16554 arch/arm/mm/mmap.c | 8 +-
16555 arch/arm/net/bpf_jit_32.c | 51 +-
16556 arch/arm64/Kconfig.debug | 1 +
16557 arch/avr32/include/asm/cache.h | 4 +-
16558 arch/blackfin/Kconfig.debug | 1 +
16559 arch/blackfin/include/asm/cache.h | 3 +-
16560 arch/cris/include/arch-v10/arch/cache.h | 3 +-
16561 arch/cris/include/arch-v32/arch/cache.h | 3 +-
16562 arch/frv/include/asm/cache.h | 3 +-
16563 arch/frv/mm/elf-fdpic.c | 4 +-
16564 arch/hexagon/include/asm/cache.h | 6 +-
16565 arch/ia64/Kconfig | 1 +
16566 arch/ia64/include/asm/cache.h | 3 +-
16567 arch/ia64/kernel/sys_ia64.c | 2 +
16568 arch/ia64/mm/hugetlbpage.c | 2 +
16569 arch/m32r/include/asm/cache.h | 4 +-
16570 arch/m68k/include/asm/cache.h | 4 +-
16571 arch/metag/mm/hugetlbpage.c | 1 +
16572 arch/microblaze/include/asm/cache.h | 3 +-
16573 arch/mips/Kconfig | 1 +
16574 arch/mips/include/asm/cache.h | 3 +-
16575 arch/mips/include/asm/thread_info.h | 11 +-
16576 arch/mips/kernel/irq.c | 3 +
16577 arch/mips/kernel/ptrace.c | 9 +
16578 arch/mips/mm/mmap.c | 4 +-
16579 arch/mn10300/proc-mn103e010/include/proc/cache.h | 4 +-
16580 arch/mn10300/proc-mn2ws0050/include/proc/cache.h | 4 +-
16581 arch/openrisc/include/asm/cache.h | 4 +-
16582 arch/parisc/include/asm/cache.h | 5 +-
16583 arch/parisc/kernel/sys_parisc.c | 4 +
16584 arch/powerpc/Kconfig | 1 +
16585 arch/powerpc/include/asm/cache.h | 4 +-
16586 arch/powerpc/include/asm/thread_info.h | 5 +-
16587 arch/powerpc/kernel/Makefile | 2 +
16588 arch/powerpc/kernel/irq.c | 3 +
16589 arch/powerpc/kernel/process.c | 10 +-
16590 arch/powerpc/kernel/ptrace.c | 14 +
16591 arch/powerpc/kernel/traps.c | 5 +
16592 arch/powerpc/mm/slice.c | 2 +-
16593 arch/s390/Kconfig.debug | 1 +
16594 arch/s390/include/asm/cache.h | 4 +-
16595 arch/score/include/asm/cache.h | 4 +-
16596 arch/sh/include/asm/cache.h | 3 +-
16597 arch/sh/mm/mmap.c | 6 +-
16598 arch/sparc/include/asm/cache.h | 4 +-
16599 arch/sparc/include/asm/pgalloc_64.h | 1 +
16600 arch/sparc/include/asm/thread_info_64.h | 8 +-
16601 arch/sparc/kernel/process_32.c | 6 +-
16602 arch/sparc/kernel/process_64.c | 8 +-
16603 arch/sparc/kernel/ptrace_64.c | 14 +
16604 arch/sparc/kernel/sys_sparc_64.c | 8 +-
16605 arch/sparc/kernel/syscalls.S | 8 +-
16606 arch/sparc/kernel/traps_32.c | 8 +-
16607 arch/sparc/kernel/traps_64.c | 28 +-
16608 arch/sparc/kernel/unaligned_64.c | 2 +-
16609 arch/sparc/mm/fault_64.c | 2 +-
16610 arch/sparc/mm/hugetlbpage.c | 15 +-
16611 arch/tile/Kconfig | 1 +
16612 arch/tile/include/asm/cache.h | 3 +-
16613 arch/tile/mm/hugetlbpage.c | 2 +
16614 arch/um/include/asm/cache.h | 3 +-
16615 arch/unicore32/include/asm/cache.h | 6 +-
16616 arch/x86/Kconfig | 21 +
16617 arch/x86/Kconfig.debug | 2 +
16618 arch/x86/entry/common.c | 14 +
16619 arch/x86/entry/entry_32.S | 2 +-
16620 arch/x86/entry/entry_64.S | 2 +-
16621 arch/x86/ia32/ia32_aout.c | 2 +
16622 arch/x86/include/asm/floppy.h | 20 +-
16623 arch/x86/include/asm/fpu/types.h | 69 +-
16624 arch/x86/include/asm/io.h | 2 +-
16625 arch/x86/include/asm/page.h | 12 +-
16626 arch/x86/include/asm/paravirt_types.h | 23 +-
16627 arch/x86/include/asm/processor.h | 12 +-
16628 arch/x86/include/asm/thread_info.h | 6 +-
16629 arch/x86/include/asm/uaccess.h | 2 +-
16630 arch/x86/kernel/dumpstack.c | 10 +-
16631 arch/x86/kernel/dumpstack_32.c | 2 +-
16632 arch/x86/kernel/dumpstack_64.c | 2 +-
16633 arch/x86/kernel/ioport.c | 13 +
16634 arch/x86/kernel/irq_32.c | 3 +
16635 arch/x86/kernel/irq_64.c | 4 +
16636 arch/x86/kernel/ldt.c | 18 +
16637 arch/x86/kernel/msr.c | 10 +
16638 arch/x86/kernel/ptrace.c | 14 +
16639 arch/x86/kernel/signal.c | 9 +-
16640 arch/x86/kernel/sys_i386_32.c | 9 +-
16641 arch/x86/kernel/sys_x86_64.c | 8 +-
16642 arch/x86/kernel/traps.c | 5 +
16643 arch/x86/kernel/verify_cpu.S | 1 +
16644 arch/x86/kernel/vm86_32.c | 15 +
16645 arch/x86/kvm/svm.c | 14 +-
16646 arch/x86/mm/fault.c | 12 +-
16647 arch/x86/mm/hugetlbpage.c | 15 +-
16648 arch/x86/mm/init.c | 66 +-
16649 arch/x86/mm/init_32.c | 6 +-
16650 arch/x86/net/bpf_jit_comp.c | 4 +
16651 arch/x86/platform/efi/efi_64.c | 2 +-
16652 arch/x86/xen/Kconfig | 1 +
16653 arch/xtensa/variants/dc232b/include/variant/core.h | 2 +-
16654 arch/xtensa/variants/fsf/include/variant/core.h | 3 +-
16655 crypto/ablkcipher.c | 2 +-
16656 crypto/blkcipher.c | 2 +-
16657 crypto/scatterwalk.c | 10 +-
16658 drivers/acpi/acpica/hwxfsleep.c | 11 +-
16659 drivers/acpi/custom_method.c | 4 +
16660 drivers/block/cciss.h | 30 +-
16661 drivers/block/smart1,2.h | 40 +-
16662 drivers/cdrom/cdrom.c | 2 +-
16663 drivers/char/Kconfig | 4 +-
16664 drivers/char/genrtc.c | 1 +
16665 drivers/char/ipmi/ipmi_si_intf.c | 8 +-
16666 drivers/char/mem.c | 17 +
16667 drivers/char/random.c | 5 +-
16668 drivers/cpufreq/sparc-us3-cpufreq.c | 2 -
16669 drivers/crypto/nx/nx-aes-ccm.c | 2 +-
16670 drivers/crypto/nx/nx-aes-gcm.c | 2 +-
16671 drivers/crypto/talitos.c | 2 +-
16672 drivers/firewire/ohci.c | 4 +
16673 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 70 +-
16674 drivers/gpu/drm/nouveau/nouveau_ttm.c | 28 +-
16675 drivers/gpu/drm/ttm/ttm_bo_manager.c | 10 +-
16676 drivers/gpu/drm/virtio/virtgpu_ttm.c | 10 +-
16677 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c | 10 +-
16678 drivers/hid/hid-wiimote-debug.c | 2 +-
16679 drivers/infiniband/hw/nes/nes_cm.c | 22 +-
16680 drivers/iommu/Kconfig | 1 +
16681 drivers/iommu/amd_iommu.c | 14 +-
16682 drivers/isdn/gigaset/bas-gigaset.c | 32 +-
16683 drivers/isdn/gigaset/ser-gigaset.c | 32 +-
16684 drivers/isdn/gigaset/usb-gigaset.c | 32 +-
16685 drivers/isdn/hisax/config.c | 2 +-
16686 drivers/isdn/hisax/hfc_pci.c | 2 +-
16687 drivers/isdn/hisax/hfc_sx.c | 2 +-
16688 drivers/isdn/hisax/q931.c | 6 +-
16689 drivers/isdn/i4l/isdn_concap.c | 6 +-
16690 drivers/isdn/i4l/isdn_x25iface.c | 16 +-
16691 drivers/md/bcache/Kconfig | 1 +
16692 drivers/md/raid5.c | 8 +
16693 drivers/media/pci/solo6x10/solo6x10-g723.c | 2 +-
16694 drivers/media/platform/sti/c8sectpfe/Kconfig | 1 +
16695 drivers/media/platform/vivid/vivid-osd.c | 1 +
16696 drivers/media/radio/radio-cadet.c | 5 +-
16697 drivers/media/usb/dvb-usb/cinergyT2-core.c | 91 +-
16698 drivers/media/usb/dvb-usb/cinergyT2-fe.c | 182 +-
16699 drivers/media/usb/dvb-usb/dvb-usb-firmware.c | 37 +-
16700 drivers/media/usb/dvb-usb/technisat-usb2.c | 75 +-
16701 drivers/message/fusion/mptbase.c | 9 +
16702 drivers/misc/sgi-xp/xp_main.c | 12 +-
16703 drivers/net/ethernet/brocade/bna/bna_enet.c | 8 +-
16704 drivers/net/ppp/pppoe.c | 14 +-
16705 drivers/net/ppp/pptp.c | 6 +
16706 drivers/net/slip/slhc.c | 3 +
16707 drivers/net/wan/lmc/lmc_media.c | 97 +-
16708 drivers/net/wan/x25_asy.c | 6 +-
16709 drivers/net/wan/z85230.c | 24 +-
16710 drivers/net/wireless/ath/ath9k/Kconfig | 1 -
16711 drivers/net/wireless/zd1211rw/zd_usb.c | 2 +-
16712 drivers/pci/pci-sysfs.c | 2 +-
16713 drivers/pci/proc.c | 9 +
16714 drivers/platform/x86/asus-wmi.c | 12 +
16715 drivers/rtc/rtc-dev.c | 3 +
16716 drivers/scsi/bfa/bfa_fcs.c | 19 +-
16717 drivers/scsi/bfa/bfa_fcs_lport.c | 29 +-
16718 drivers/scsi/bfa/bfa_modules.h | 12 +-
16719 drivers/scsi/hpsa.h | 40 +-
16720 drivers/staging/dgnc/dgnc_mgmt.c | 1 +
16721 drivers/staging/lustre/lustre/ldlm/ldlm_flock.c | 2 +-
16722 drivers/staging/lustre/lustre/libcfs/module.c | 10 +-
16723 drivers/target/target_core_sbc.c | 17 +-
16724 drivers/target/target_core_transport.c | 14 +-
16725 drivers/tty/serial/uartlite.c | 4 +-
16726 drivers/tty/sysrq.c | 2 +-
16727 drivers/tty/vt/keyboard.c | 22 +-
16728 drivers/uio/uio.c | 6 +-
16729 drivers/usb/core/hub.c | 5 +
16730 drivers/usb/gadget/function/f_uac1.c | 1 +
16731 drivers/usb/gadget/function/u_uac1.c | 1 +
16732 drivers/usb/host/hwa-hc.c | 9 +-
16733 drivers/usb/usbip/vhci_sysfs.c | 2 +-
16734 drivers/video/fbdev/arcfb.c | 2 +-
16735 drivers/video/fbdev/matrox/matroxfb_DAC1064.c | 10 +-
16736 drivers/video/fbdev/matrox/matroxfb_Ti3026.c | 5 +-
16737 drivers/video/fbdev/sh_mobile_lcdcfb.c | 6 +-
16738 drivers/video/logo/logo_linux_clut224.ppm | 2720 ++++-----
16739 drivers/xen/xenfs/xenstored.c | 5 +
16740 firmware/Makefile | 2 +
16741 firmware/WHENCE | 20 +-
16742 firmware/bnx2/bnx2-mips-06-6.2.3.fw.ihex | 5804 +++++++++++++++++
16743 firmware/bnx2/bnx2-mips-09-6.2.1b.fw.ihex | 6496 ++++++++++++++++++++
16744 fs/9p/vfs_inode.c | 4 +-
16745 fs/attr.c | 1 +
16746 fs/autofs4/waitq.c | 9 +
16747 fs/binfmt_aout.c | 7 +
16748 fs/binfmt_elf.c | 50 +-
16749 fs/compat.c | 20 +-
16750 fs/coredump.c | 17 +-
16751 fs/dcache.c | 3 +
16752 fs/debugfs/inode.c | 11 +-
16753 fs/exec.c | 219 +-
16754 fs/ext2/balloc.c | 4 +-
16755 fs/ext2/super.c | 8 +-
16756 fs/ext4/balloc.c | 4 +-
16757 fs/fcntl.c | 4 +
16758 fs/fhandle.c | 3 +-
16759 fs/file.c | 4 +
16760 fs/filesystems.c | 4 +
16761 fs/fs_struct.c | 20 +-
16762 fs/hugetlbfs/inode.c | 5 +-
16763 fs/inode.c | 8 +-
16764 fs/kernfs/dir.c | 6 +
16765 fs/mount.h | 4 +-
16766 fs/namei.c | 286 +-
16767 fs/namespace.c | 24 +
16768 fs/nfsd/nfscache.c | 2 +-
16769 fs/open.c | 38 +
16770 fs/overlayfs/inode.c | 11 +-
16771 fs/overlayfs/super.c | 6 +-
16772 fs/pipe.c | 2 +-
16773 fs/posix_acl.c | 15 +-
16774 fs/proc/Kconfig | 10 +-
16775 fs/proc/array.c | 69 +-
16776 fs/proc/base.c | 186 +-
16777 fs/proc/cmdline.c | 4 +
16778 fs/proc/devices.c | 4 +
16779 fs/proc/fd.c | 17 +-
16780 fs/proc/generic.c | 64 +
16781 fs/proc/inode.c | 17 +
16782 fs/proc/internal.h | 11 +-
16783 fs/proc/interrupts.c | 4 +
16784 fs/proc/kcore.c | 3 +
16785 fs/proc/meminfo.c | 7 +-
16786 fs/proc/namespaces.c | 4 +-
16787 fs/proc/proc_net.c | 31 +
16788 fs/proc/proc_sysctl.c | 52 +-
16789 fs/proc/root.c | 8 +
16790 fs/proc/stat.c | 69 +-
16791 fs/proc/task_mmu.c | 66 +-
16792 fs/readdir.c | 19 +
16793 fs/reiserfs/item_ops.c | 24 +-
16794 fs/reiserfs/super.c | 4 +
16795 fs/select.c | 2 +
16796 fs/seq_file.c | 30 +-
16797 fs/splice.c | 8 +
16798 fs/stat.c | 20 +-
16799 fs/sysfs/dir.c | 30 +-
16800 fs/sysv/inode.c | 11 +-
16801 fs/utimes.c | 7 +
16802 fs/xattr.c | 26 +-
16803 grsecurity/Kconfig | 1182 ++++
16804 grsecurity/Makefile | 54 +
16805 grsecurity/gracl.c | 2757 +++++++++
16806 grsecurity/gracl_alloc.c | 105 +
16807 grsecurity/gracl_cap.c | 127 +
16808 grsecurity/gracl_compat.c | 269 +
16809 grsecurity/gracl_fs.c | 448 ++
16810 grsecurity/gracl_ip.c | 386 ++
16811 grsecurity/gracl_learn.c | 207 +
16812 grsecurity/gracl_policy.c | 1786 ++++++
16813 grsecurity/gracl_res.c | 68 +
16814 grsecurity/gracl_segv.c | 304 +
16815 grsecurity/gracl_shm.c | 40 +
16816 grsecurity/grsec_chdir.c | 19 +
16817 grsecurity/grsec_chroot.c | 467 ++
16818 grsecurity/grsec_disabled.c | 445 ++
16819 grsecurity/grsec_exec.c | 189 +
16820 grsecurity/grsec_fifo.c | 26 +
16821 grsecurity/grsec_fork.c | 23 +
16822 grsecurity/grsec_init.c | 290 +
16823 grsecurity/grsec_ipc.c | 48 +
16824 grsecurity/grsec_link.c | 65 +
16825 grsecurity/grsec_log.c | 340 +
16826 grsecurity/grsec_mem.c | 48 +
16827 grsecurity/grsec_mount.c | 65 +
16828 grsecurity/grsec_pax.c | 47 +
16829 grsecurity/grsec_proc.c | 20 +
16830 grsecurity/grsec_ptrace.c | 30 +
16831 grsecurity/grsec_sig.c | 236 +
16832 grsecurity/grsec_sock.c | 244 +
16833 grsecurity/grsec_sysctl.c | 488 ++
16834 grsecurity/grsec_time.c | 16 +
16835 grsecurity/grsec_tpe.c | 78 +
16836 grsecurity/grsec_usb.c | 15 +
16837 grsecurity/grsum.c | 64 +
16838 include/linux/binfmts.h | 5 +-
16839 include/linux/bitops.h | 2 +-
16840 include/linux/capability.h | 13 +
16841 include/linux/compiler-gcc.h | 5 +
16842 include/linux/compiler.h | 8 +
16843 include/linux/cred.h | 8 +-
16844 include/linux/dcache.h | 5 +-
16845 include/linux/fs.h | 24 +-
16846 include/linux/fs_struct.h | 2 +-
16847 include/linux/fsnotify.h | 6 +
16848 include/linux/gracl.h | 342 +
16849 include/linux/gracl_compat.h | 156 +
16850 include/linux/gralloc.h | 9 +
16851 include/linux/grdefs.h | 140 +
16852 include/linux/grinternal.h | 230 +
16853 include/linux/grmsg.h | 118 +
16854 include/linux/grsecurity.h | 255 +
16855 include/linux/grsock.h | 19 +
16856 include/linux/ipc.h | 2 +-
16857 include/linux/ipc_namespace.h | 2 +-
16858 include/linux/kallsyms.h | 18 +-
16859 include/linux/kmod.h | 5 +
16860 include/linux/kobject.h | 2 +-
16861 include/linux/lsm_hooks.h | 4 +-
16862 include/linux/mm.h | 12 +
16863 include/linux/mm_types.h | 4 +-
16864 include/linux/module.h | 5 +-
16865 include/linux/mount.h | 2 +-
16866 include/linux/msg.h | 2 +-
16867 include/linux/netfilter/xt_gradm.h | 9 +
16868 include/linux/path.h | 4 +-
16869 include/linux/perf_event.h | 13 +-
16870 include/linux/pid_namespace.h | 2 +-
16871 include/linux/printk.h | 2 +-
16872 include/linux/proc_fs.h | 22 +-
16873 include/linux/proc_ns.h | 2 +-
16874 include/linux/ptrace.h | 24 +-
16875 include/linux/random.h | 2 +-
16876 include/linux/rbtree_augmented.h | 4 +-
16877 include/linux/scatterlist.h | 12 +-
16878 include/linux/sched.h | 114 +-
16879 include/linux/security.h | 1 +
16880 include/linux/sem.h | 2 +-
16881 include/linux/seq_file.h | 5 +
16882 include/linux/shm.h | 6 +-
16883 include/linux/skbuff.h | 3 +
16884 include/linux/slab.h | 9 -
16885 include/linux/sysctl.h | 8 +-
16886 include/linux/thread_info.h | 6 +-
16887 include/linux/tty.h | 2 +-
16888 include/linux/tty_driver.h | 4 +-
16889 include/linux/uidgid.h | 5 +
16890 include/linux/user_namespace.h | 2 +-
16891 include/linux/utsname.h | 2 +-
16892 include/linux/vermagic.h | 16 +-
16893 include/linux/vmalloc.h | 20 +-
16894 include/net/af_unix.h | 2 +-
16895 include/net/dst.h | 33 +
16896 include/net/ip.h | 2 +-
16897 include/net/neighbour.h | 2 +-
16898 include/net/net_namespace.h | 2 +-
16899 include/net/sock.h | 4 +-
16900 include/target/target_core_base.h | 2 +-
16901 include/trace/events/fs.h | 53 +
16902 include/uapi/linux/personality.h | 1 +
16903 init/Kconfig | 4 +-
16904 init/main.c | 35 +-
16905 ipc/mqueue.c | 1 +
16906 ipc/msg.c | 3 +-
16907 ipc/sem.c | 3 +-
16908 ipc/shm.c | 26 +-
16909 ipc/util.c | 6 +
16910 kernel/auditsc.c | 2 +-
16911 kernel/bpf/syscall.c | 8 +-
16912 kernel/capability.c | 41 +-
16913 kernel/cgroup.c | 5 +-
16914 kernel/compat.c | 1 +
16915 kernel/configs.c | 11 +
16916 kernel/cred.c | 112 +-
16917 kernel/events/core.c | 16 +-
16918 kernel/exit.c | 10 +-
16919 kernel/fork.c | 86 +-
16920 kernel/futex.c | 6 +-
16921 kernel/futex_compat.c | 2 +-
16922 kernel/kallsyms.c | 9 +
16923 kernel/kcmp.c | 8 +-
16924 kernel/kexec_core.c | 2 +-
16925 kernel/kmod.c | 95 +-
16926 kernel/kprobes.c | 7 +-
16927 kernel/ksysfs.c | 2 +
16928 kernel/locking/lockdep_proc.c | 10 +-
16929 kernel/module.c | 108 +-
16930 kernel/panic.c | 4 +-
16931 kernel/pid.c | 23 +-
16932 kernel/power/Kconfig | 2 +
16933 kernel/printk/printk.c | 20 +-
16934 kernel/ptrace.c | 56 +-
16935 kernel/resource.c | 10 +
16936 kernel/sched/core.c | 11 +-
16937 kernel/signal.c | 37 +-
16938 kernel/sys.c | 64 +-
16939 kernel/sysctl.c | 172 +-
16940 kernel/taskstats.c | 6 +
16941 kernel/time/posix-timers.c | 8 +
16942 kernel/time/time.c | 5 +
16943 kernel/time/timekeeping.c | 3 +
16944 kernel/time/timer_list.c | 13 +-
16945 kernel/time/timer_stats.c | 10 +-
16946 kernel/trace/Kconfig | 2 +
16947 kernel/trace/trace_syscalls.c | 8 +
16948 kernel/user_namespace.c | 15 +
16949 lib/Kconfig.debug | 13 +-
16950 lib/Kconfig.kasan | 2 +-
16951 lib/is_single_threaded.c | 3 +
16952 lib/list_debug.c | 65 +-
16953 lib/nlattr.c | 2 +
16954 lib/rbtree.c | 4 +-
16955 lib/vsprintf.c | 39 +-
16956 localversion-grsec | 1 +
16957 mm/Kconfig | 8 +-
16958 mm/Kconfig.debug | 1 +
16959 mm/filemap.c | 1 +
16960 mm/kmemleak.c | 4 +-
16961 mm/memory.c | 2 +-
16962 mm/mempolicy.c | 12 +-
16963 mm/migrate.c | 3 +-
16964 mm/mlock.c | 6 +-
16965 mm/mmap.c | 93 +-
16966 mm/mprotect.c | 8 +
16967 mm/oom_kill.c | 28 +-
16968 mm/page_alloc.c | 2 +-
16969 mm/process_vm_access.c | 8 +-
16970 mm/shmem.c | 36 +-
16971 mm/slab.c | 14 +-
16972 mm/slab_common.c | 2 +-
16973 mm/slob.c | 12 +
16974 mm/slub.c | 33 +-
16975 mm/util.c | 3 +
16976 mm/vmalloc.c | 129 +-
16977 mm/vmstat.c | 29 +-
16978 net/appletalk/atalk_proc.c | 2 +-
16979 net/atm/lec.c | 6 +-
16980 net/atm/mpoa_caches.c | 42 +-
16981 net/bluetooth/sco.c | 3 +
16982 net/can/bcm.c | 2 +-
16983 net/can/proc.c | 2 +-
16984 net/core/dev_ioctl.c | 7 +-
16985 net/core/filter.c | 8 +-
16986 net/core/net-procfs.c | 17 +-
16987 net/core/pktgen.c | 2 +-
16988 net/core/sock.c | 3 +-
16989 net/core/sysctl_net_core.c | 2 +-
16990 net/decnet/dn_dev.c | 2 +-
16991 net/ipv4/devinet.c | 6 +-
16992 net/ipv4/inet_hashtables.c | 4 +
16993 net/ipv4/ip_input.c | 7 +
16994 net/ipv4/ip_sockglue.c | 3 +-
16995 net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 +-
16996 net/ipv4/netfilter/nf_nat_pptp.c | 2 +-
16997 net/ipv4/route.c | 6 +-
16998 net/ipv4/tcp_input.c | 4 +-
16999 net/ipv4/tcp_ipv4.c | 29 +-
17000 net/ipv4/tcp_minisocks.c | 9 +-
17001 net/ipv4/tcp_timer.c | 11 +
17002 net/ipv4/udp.c | 24 +
17003 net/ipv6/addrconf.c | 13 +-
17004 net/ipv6/proc.c | 2 +-
17005 net/ipv6/tcp_ipv6.c | 26 +-
17006 net/ipv6/udp.c | 7 +
17007 net/ipx/ipx_proc.c | 2 +-
17008 net/irda/irproc.c | 2 +-
17009 net/llc/llc_proc.c | 2 +-
17010 net/netfilter/Kconfig | 10 +
17011 net/netfilter/Makefile | 1 +
17012 net/netfilter/nf_conntrack_core.c | 8 +
17013 net/netfilter/xt_gradm.c | 51 +
17014 net/netfilter/xt_hashlimit.c | 4 +-
17015 net/netfilter/xt_recent.c | 2 +-
17016 net/sched/sch_api.c | 2 +-
17017 net/sctp/socket.c | 4 +-
17018 net/socket.c | 75 +-
17019 net/sunrpc/Kconfig | 1 +
17020 net/sunrpc/cache.c | 2 +-
17021 net/sunrpc/stats.c | 2 +-
17022 net/sysctl_net.c | 2 +-
17023 net/unix/af_unix.c | 52 +-
17024 net/vmw_vsock/vmci_transport_notify.c | 30 +-
17025 net/vmw_vsock/vmci_transport_notify_qstate.c | 30 +-
17026 net/x25/sysctl_net_x25.c | 2 +-
17027 net/x25/x25_proc.c | 2 +-
17028 scripts/package/Makefile | 2 +-
17029 scripts/package/mkspec | 41 +-
17030 security/Kconfig | 369 +-
17031 security/apparmor/file.c | 4 +-
17032 security/apparmor/lsm.c | 8 +-
17033 security/commoncap.c | 36 +-
17034 security/min_addr.c | 2 +
17035 security/smack/smack_lsm.c | 8 +-
17036 security/tomoyo/file.c | 12 +-
17037 security/tomoyo/mount.c | 4 +
17038 security/tomoyo/tomoyo.c | 20 +-
17039 security/yama/Kconfig | 2 +-
17040 security/yama/yama_lsm.c | 4 +-
17041 sound/synth/emux/emux_seq.c | 14 +-
17042 sound/usb/line6/driver.c | 40 +-
17043 sound/usb/line6/toneport.c | 12 +-
17044 tools/gcc/.gitignore | 1 +
17045 tools/gcc/Makefile | 12 +
17046 tools/gcc/gen-random-seed.sh | 8 +
17047 tools/gcc/randomize_layout_plugin.c | 930 +++
17048 tools/gcc/size_overflow_plugin/.gitignore | 1 +
17049 .../size_overflow_plugin/size_overflow_hash.data | 459 ++-
17050 511 files changed, 32631 insertions(+), 3196 deletions(-)
17051
17052 commit a76adb92ce39aee8eec5a025c828030ad6135c6d
17053 Author: Brad Spengler <spender@grsecurity.net>
17054 Date: Tue Dec 15 14:31:49 2015 -0500
17055
17056 Update to pax-linux-4.3.3-test11.patch:
17057 - fixed a few compile regressions with the recent plugin changes, reported by spender
17058 - updated the size overflow hash table
17059
17060 tools/gcc/latent_entropy_plugin.c | 2 +-
17061 .../size_overflow_plugin/size_overflow_hash.data | 66 +++++++++++++++++---
17062 tools/gcc/stackleak_plugin.c | 2 +-
17063 tools/gcc/structleak_plugin.c | 6 +--
17064 4 files changed, 60 insertions(+), 16 deletions(-)
17065
17066 commit f7284b1fc06628fcb2d35d2beecdea5454d46af9
17067 Author: Brad Spengler <spender@grsecurity.net>
17068 Date: Tue Dec 15 11:50:24 2015 -0500
17069
17070 Apply structleak ICE fix for gcc < 4.9
17071
17072 tools/gcc/structleak_plugin.c | 4 ++++
17073 1 files changed, 4 insertions(+), 0 deletions(-)
17074
17075 commit 92fe3eb9fd10ec7f7334decab1526989669b0287
17076 Author: Brad Spengler <spender@grsecurity.net>
17077 Date: Tue Dec 15 07:57:06 2015 -0500
17078
17079 Update to pax-linux-4.3.1-test10.patch:
17080 - Emese fixed INDIRECT_REF and TARGET_MEM_REF handling in the initify plugin
17081 - Emese regenerated the size overflow hash tables for 4.3
17082 - fixed some compat syscall exit paths to restore r12 under KERNEXEC/or
17083 - the latent entropy, stackleak and structleak plugins no longer split the entry block unnecessarily
17084
17085 arch/x86/entry/entry_64.S | 2 +-
17086 arch/x86/entry/entry_64_compat.S | 15 +-
17087 scripts/package/builddeb | 2 +-
17088 tools/gcc/initify_plugin.c | 11 +-
17089 tools/gcc/latent_entropy_plugin.c | 20 +-
17090 .../disable_size_overflow_hash.data | 4 +
17091 .../size_overflow_plugin/size_overflow_hash.data | 5345 +++++++++++---------
17092 tools/gcc/stackleak_plugin.c | 26 +-
17093 tools/gcc/structleak_plugin.c | 21 +-
17094 9 files changed, 3079 insertions(+), 2367 deletions(-)
17095
17096 commit 5bd245cb687319079c2f1c0d6a1170791ed1ed2c
17097 Merge: b5847e6 3548341
17098 Author: Brad Spengler <spender@grsecurity.net>
17099 Date: Tue Dec 15 07:47:56 2015 -0500
17100
17101 Merge branch 'linux-4.3.y' into pax-4_3
17102
17103 Conflicts:
17104 net/unix/af_unix.c
17105
17106 commit b5847e6a896c5d99191135ca4d7c3b6be8f116ff
17107 Author: Brad Spengler <spender@grsecurity.net>
17108 Date: Wed Dec 9 23:11:36 2015 -0500
17109
17110 Update to pax-linux-4.3.1-test9.patch:
17111 - 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)
17112 - Emese fixed an intentional overflow caused by gcc, reported by saironiq (https://forums.grsecurity.net/viewtopic.php?f=3&t=4333)
17113 - Emese fixed a false positive overflow report in the forcedeth driver, reported by fx3 (https://forums.grsecurity.net/viewtopic.php?t=4334)
17114 - Emese fixed a false positive overflow report in KVM's emulator, reported by fx3 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4336)
17115 - Emese fixed the initify plugin to detect some captured use of __func__, reported by Rasmus Villemoes <linux@rasmusvillemoes.dk>
17116 - constrained shmmax and shmall to avoid triggering size overflow checks, reported by Mathias Krause <minipli@ld-linux.so>
17117 - 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
17118
17119 Makefile | 6 +
17120 arch/x86/include/asm/compat.h | 4 +
17121 arch/x86/include/asm/dma.h | 2 +
17122 arch/x86/include/asm/pmem.h | 2 +-
17123 arch/x86/include/asm/uaccess.h | 20 +-
17124 arch/x86/kernel/apic/vector.c | 6 +-
17125 arch/x86/kernel/cpu/mtrr/generic.c | 6 +-
17126 arch/x86/kernel/cpu/perf_event_intel.c | 28 +-
17127 arch/x86/kernel/head_64.S | 1 -
17128 arch/x86/kvm/i8259.c | 10 +-
17129 arch/x86/kvm/ioapic.c | 2 +
17130 arch/x86/kvm/x86.c | 2 +
17131 arch/x86/lib/usercopy_64.c | 2 +-
17132 arch/x86/mm/mpx.c | 4 +-
17133 arch/x86/mm/pageattr.c | 7 +
17134 drivers/base/devres.c | 4 +-
17135 drivers/base/power/runtime.c | 6 +-
17136 drivers/base/regmap/regmap.c | 4 +-
17137 drivers/block/drbd/drbd_receiver.c | 4 +-
17138 drivers/block/drbd/drbd_worker.c | 6 +-
17139 drivers/char/virtio_console.c | 6 +-
17140 drivers/md/dm.c | 12 +-
17141 drivers/net/ethernet/nvidia/forcedeth.c | 4 +-
17142 drivers/net/macvtap.c | 4 +-
17143 drivers/video/fbdev/core/fbmem.c | 10 +-
17144 fs/compat.c | 3 +-
17145 fs/coredump.c | 2 +-
17146 fs/dcache.c | 13 +-
17147 fs/fhandle.c | 2 +-
17148 fs/file.c | 14 +-
17149 fs/fs-writeback.c | 11 +-
17150 fs/overlayfs/copy_up.c | 2 +-
17151 fs/readdir.c | 3 +-
17152 fs/super.c | 3 +-
17153 include/linux/compiler.h | 36 ++-
17154 include/linux/rcupdate.h | 8 +
17155 include/linux/sched.h | 4 +-
17156 include/linux/seqlock.h | 10 +
17157 include/linux/spinlock.h | 17 +-
17158 include/linux/srcu.h | 5 +-
17159 include/linux/syscalls.h | 2 +-
17160 include/linux/writeback.h | 3 +-
17161 include/uapi/linux/swab.h | 6 +-
17162 ipc/ipc_sysctl.c | 6 +
17163 kernel/exit.c | 25 +-
17164 kernel/resource.c | 4 +-
17165 kernel/signal.c | 12 +-
17166 kernel/user.c | 2 +-
17167 kernel/workqueue.c | 6 +-
17168 lib/rhashtable.c | 4 +-
17169 net/compat.c | 2 +-
17170 net/ipv4/xfrm4_mode_transport.c | 2 +-
17171 security/keys/internal.h | 8 +-
17172 security/keys/keyring.c | 4 -
17173 sound/core/seq/seq_clientmgr.c | 8 +-
17174 sound/core/seq/seq_compat.c | 2 +-
17175 sound/core/seq/seq_memory.c | 6 +-
17176 tools/gcc/checker_plugin.c | 415 +++++++++++++++++++-
17177 tools/gcc/gcc-common.h | 1 +
17178 tools/gcc/initify_plugin.c | 33 ++-
17179 .../disable_size_overflow_hash.data | 1 +
17180 .../size_overflow_plugin/size_overflow_hash.data | 1 -
17181 62 files changed, 708 insertions(+), 140 deletions(-)
17182
17183 commit f2634c2f6995f4231616f24ed016f890c701f939
17184 Merge: 1241bff 5f8b236
17185 Author: Brad Spengler <spender@grsecurity.net>
17186 Date: Wed Dec 9 21:50:47 2015 -0500
17187
17188 Merge branch 'linux-4.3.y' into pax-4_3
17189
17190 Conflicts:
17191 arch/x86/kernel/fpu/xstate.c
17192 arch/x86/kernel/head_64.S
17193
17194 commit 1241bff82e3d7dadb05de0a60b8d2822afc6547c
17195 Author: Brad Spengler <spender@grsecurity.net>
17196 Date: Sun Dec 6 08:44:56 2015 -0500
17197
17198 Update to pax-linux-4.3-test8.patch:
17199 - 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)
17200 - gcc plugin compilation problems will now also produce the output of the checking script to make diagnosis easier, reported by hunger
17201 - 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)
17202 - 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)
17203
17204 Makefile | 5 +++
17205 drivers/md/md.c | 5 ++-
17206 drivers/md/raid1.c | 2 +-
17207 fs/proc/task_mmu.c | 3 ++
17208 .../disable_size_overflow_hash.data | 4 ++-
17209 .../size_overflow_plugin/intentional_overflow.c | 32 ++++++++++++++++---
17210 .../size_overflow_plugin/size_overflow_hash.data | 2 -
17211 .../size_overflow_plugin/size_overflow_plugin.c | 2 +-
17212 8 files changed, 43 insertions(+), 12 deletions(-)
17213
17214 commit cce6a9f9bdd27096632ca1c0246dcc07f2eb1a18
17215 Author: Brad Spengler <spender@grsecurity.net>
17216 Date: Fri Dec 4 14:24:12 2015 -0500
17217
17218 Initial import of pax-linux-4.3-test7.patch
17219
17220 Documentation/dontdiff | 47 +-
17221 Documentation/kbuild/makefiles.txt | 39 +-
17222 Documentation/kernel-parameters.txt | 28 +
17223 Makefile | 108 +-
17224 arch/alpha/include/asm/atomic.h | 10 +
17225 arch/alpha/include/asm/elf.h | 7 +
17226 arch/alpha/include/asm/pgalloc.h | 6 +
17227 arch/alpha/include/asm/pgtable.h | 11 +
17228 arch/alpha/kernel/module.c | 2 +-
17229 arch/alpha/kernel/osf_sys.c | 8 +-
17230 arch/alpha/mm/fault.c | 141 +-
17231 arch/arm/Kconfig | 2 +-
17232 arch/arm/include/asm/atomic.h | 320 +-
17233 arch/arm/include/asm/cache.h | 5 +-
17234 arch/arm/include/asm/cacheflush.h | 2 +-
17235 arch/arm/include/asm/checksum.h | 14 +-
17236 arch/arm/include/asm/cmpxchg.h | 4 +
17237 arch/arm/include/asm/cpuidle.h | 2 +-
17238 arch/arm/include/asm/domain.h | 22 +-
17239 arch/arm/include/asm/elf.h | 9 +-
17240 arch/arm/include/asm/fncpy.h | 2 +
17241 arch/arm/include/asm/futex.h | 10 +
17242 arch/arm/include/asm/kmap_types.h | 2 +-
17243 arch/arm/include/asm/mach/dma.h | 2 +-
17244 arch/arm/include/asm/mach/map.h | 16 +-
17245 arch/arm/include/asm/outercache.h | 2 +-
17246 arch/arm/include/asm/page.h | 3 +-
17247 arch/arm/include/asm/pgalloc.h | 20 +
17248 arch/arm/include/asm/pgtable-2level-hwdef.h | 4 +-
17249 arch/arm/include/asm/pgtable-2level.h | 3 +
17250 arch/arm/include/asm/pgtable-3level.h | 3 +
17251 arch/arm/include/asm/pgtable.h | 54 +-
17252 arch/arm/include/asm/smp.h | 2 +-
17253 arch/arm/include/asm/tls.h | 3 +
17254 arch/arm/include/asm/uaccess.h | 79 +-
17255 arch/arm/include/uapi/asm/ptrace.h | 2 +-
17256 arch/arm/kernel/armksyms.c | 2 +-
17257 arch/arm/kernel/cpuidle.c | 2 +-
17258 arch/arm/kernel/entry-armv.S | 109 +-
17259 arch/arm/kernel/entry-common.S | 40 +-
17260 arch/arm/kernel/entry-header.S | 55 +
17261 arch/arm/kernel/fiq.c | 3 +
17262 arch/arm/kernel/module-plts.c | 7 +-
17263 arch/arm/kernel/module.c | 38 +-
17264 arch/arm/kernel/patch.c | 2 +
17265 arch/arm/kernel/process.c | 90 +-
17266 arch/arm/kernel/reboot.c | 1 +
17267 arch/arm/kernel/setup.c | 20 +-
17268 arch/arm/kernel/signal.c | 35 +-
17269 arch/arm/kernel/smp.c | 2 +-
17270 arch/arm/kernel/tcm.c | 4 +-
17271 arch/arm/kernel/vmlinux.lds.S | 6 +-
17272 arch/arm/kvm/arm.c | 8 +-
17273 arch/arm/lib/copy_page.S | 1 +
17274 arch/arm/lib/csumpartialcopyuser.S | 4 +-
17275 arch/arm/lib/delay.c | 2 +-
17276 arch/arm/lib/uaccess_with_memcpy.c | 4 +-
17277 arch/arm/mach-exynos/suspend.c | 6 +-
17278 arch/arm/mach-mvebu/coherency.c | 4 +-
17279 arch/arm/mach-omap2/board-n8x0.c | 2 +-
17280 arch/arm/mach-omap2/omap-mpuss-lowpower.c | 4 +-
17281 arch/arm/mach-omap2/omap-smp.c | 1 +
17282 arch/arm/mach-omap2/omap-wakeupgen.c | 2 +-
17283 arch/arm/mach-omap2/omap_device.c | 4 +-
17284 arch/arm/mach-omap2/omap_device.h | 4 +-
17285 arch/arm/mach-omap2/omap_hwmod.c | 4 +-
17286 arch/arm/mach-omap2/powerdomains43xx_data.c | 5 +-
17287 arch/arm/mach-omap2/wd_timer.c | 6 +-
17288 arch/arm/mach-shmobile/platsmp-apmu.c | 5 +-
17289 arch/arm/mach-tegra/cpuidle-tegra20.c | 2 +-
17290 arch/arm/mach-tegra/irq.c | 1 +
17291 arch/arm/mach-ux500/pm.c | 1 +
17292 arch/arm/mach-zynq/platsmp.c | 1 +
17293 arch/arm/mm/Kconfig | 6 +-
17294 arch/arm/mm/alignment.c | 8 +
17295 arch/arm/mm/cache-l2x0.c | 2 +-
17296 arch/arm/mm/context.c | 10 +-
17297 arch/arm/mm/fault.c | 146 +
17298 arch/arm/mm/fault.h | 12 +
17299 arch/arm/mm/init.c | 39 +
17300 arch/arm/mm/ioremap.c | 4 +-
17301 arch/arm/mm/mmap.c | 30 +-
17302 arch/arm/mm/mmu.c | 162 +-
17303 arch/arm/net/bpf_jit_32.c | 3 +
17304 arch/arm/plat-iop/setup.c | 2 +-
17305 arch/arm/plat-omap/sram.c | 2 +
17306 arch/arm64/include/asm/atomic.h | 10 +
17307 arch/arm64/include/asm/percpu.h | 8 +-
17308 arch/arm64/include/asm/pgalloc.h | 5 +
17309 arch/arm64/include/asm/uaccess.h | 1 +
17310 arch/arm64/mm/dma-mapping.c | 2 +-
17311 arch/avr32/include/asm/elf.h | 8 +-
17312 arch/avr32/include/asm/kmap_types.h | 4 +-
17313 arch/avr32/mm/fault.c | 27 +
17314 arch/frv/include/asm/atomic.h | 10 +
17315 arch/frv/include/asm/kmap_types.h | 2 +-
17316 arch/frv/mm/elf-fdpic.c | 3 +-
17317 arch/ia64/Makefile | 1 +
17318 arch/ia64/include/asm/atomic.h | 10 +
17319 arch/ia64/include/asm/elf.h | 7 +
17320 arch/ia64/include/asm/pgalloc.h | 12 +
17321 arch/ia64/include/asm/pgtable.h | 13 +-
17322 arch/ia64/include/asm/spinlock.h | 2 +-
17323 arch/ia64/include/asm/uaccess.h | 27 +-
17324 arch/ia64/kernel/module.c | 45 +-
17325 arch/ia64/kernel/palinfo.c | 2 +-
17326 arch/ia64/kernel/sys_ia64.c | 7 +
17327 arch/ia64/kernel/vmlinux.lds.S | 2 +-
17328 arch/ia64/mm/fault.c | 32 +-
17329 arch/ia64/mm/init.c | 15 +-
17330 arch/m32r/lib/usercopy.c | 6 +
17331 arch/mips/cavium-octeon/dma-octeon.c | 2 +-
17332 arch/mips/include/asm/atomic.h | 368 +-
17333 arch/mips/include/asm/elf.h | 7 +
17334 arch/mips/include/asm/exec.h | 2 +-
17335 arch/mips/include/asm/hw_irq.h | 2 +-
17336 arch/mips/include/asm/local.h | 57 +
17337 arch/mips/include/asm/page.h | 2 +-
17338 arch/mips/include/asm/pgalloc.h | 5 +
17339 arch/mips/include/asm/pgtable.h | 3 +
17340 arch/mips/include/asm/uaccess.h | 1 +
17341 arch/mips/kernel/binfmt_elfn32.c | 7 +
17342 arch/mips/kernel/binfmt_elfo32.c | 7 +
17343 arch/mips/kernel/irq-gt641xx.c | 2 +-
17344 arch/mips/kernel/irq.c | 6 +-
17345 arch/mips/kernel/pm-cps.c | 2 +-
17346 arch/mips/kernel/process.c | 12 -
17347 arch/mips/kernel/sync-r4k.c | 24 +-
17348 arch/mips/kernel/traps.c | 13 +-
17349 arch/mips/mm/fault.c | 25 +
17350 arch/mips/mm/mmap.c | 51 +-
17351 arch/mips/sgi-ip27/ip27-nmi.c | 6 +-
17352 arch/mips/sni/rm200.c | 2 +-
17353 arch/mips/vr41xx/common/icu.c | 2 +-
17354 arch/mips/vr41xx/common/irq.c | 4 +-
17355 arch/parisc/include/asm/atomic.h | 10 +
17356 arch/parisc/include/asm/elf.h | 7 +
17357 arch/parisc/include/asm/pgalloc.h | 6 +
17358 arch/parisc/include/asm/pgtable.h | 11 +
17359 arch/parisc/include/asm/uaccess.h | 4 +-
17360 arch/parisc/kernel/module.c | 50 +-
17361 arch/parisc/kernel/sys_parisc.c | 15 +
17362 arch/parisc/kernel/traps.c | 4 +-
17363 arch/parisc/mm/fault.c | 140 +-
17364 arch/powerpc/include/asm/atomic.h | 329 +-
17365 arch/powerpc/include/asm/elf.h | 12 +
17366 arch/powerpc/include/asm/exec.h | 2 +-
17367 arch/powerpc/include/asm/kmap_types.h | 2 +-
17368 arch/powerpc/include/asm/local.h | 46 +
17369 arch/powerpc/include/asm/mman.h | 2 +-
17370 arch/powerpc/include/asm/page.h | 8 +-
17371 arch/powerpc/include/asm/page_64.h | 7 +-
17372 arch/powerpc/include/asm/pgalloc-64.h | 7 +
17373 arch/powerpc/include/asm/pgtable.h | 1 +
17374 arch/powerpc/include/asm/pte-hash32.h | 1 +
17375 arch/powerpc/include/asm/reg.h | 1 +
17376 arch/powerpc/include/asm/smp.h | 2 +-
17377 arch/powerpc/include/asm/spinlock.h | 42 +-
17378 arch/powerpc/include/asm/uaccess.h | 141 +-
17379 arch/powerpc/kernel/Makefile | 5 +
17380 arch/powerpc/kernel/exceptions-64e.S | 4 +-
17381 arch/powerpc/kernel/exceptions-64s.S | 2 +-
17382 arch/powerpc/kernel/module_32.c | 15 +-
17383 arch/powerpc/kernel/process.c | 46 -
17384 arch/powerpc/kernel/signal_32.c | 2 +-
17385 arch/powerpc/kernel/signal_64.c | 2 +-
17386 arch/powerpc/kernel/traps.c | 21 +
17387 arch/powerpc/kernel/vdso.c | 5 +-
17388 arch/powerpc/lib/usercopy_64.c | 18 -
17389 arch/powerpc/mm/fault.c | 56 +-
17390 arch/powerpc/mm/mmap.c | 16 +
17391 arch/powerpc/mm/slice.c | 13 +-
17392 arch/powerpc/platforms/cell/spufs/file.c | 4 +-
17393 arch/s390/include/asm/atomic.h | 10 +
17394 arch/s390/include/asm/elf.h | 7 +
17395 arch/s390/include/asm/exec.h | 2 +-
17396 arch/s390/include/asm/uaccess.h | 13 +-
17397 arch/s390/kernel/module.c | 22 +-
17398 arch/s390/kernel/process.c | 24 -
17399 arch/s390/mm/mmap.c | 16 +
17400 arch/score/include/asm/exec.h | 2 +-
17401 arch/score/kernel/process.c | 5 -
17402 arch/sh/mm/mmap.c | 22 +-
17403 arch/sparc/include/asm/atomic_64.h | 110 +-
17404 arch/sparc/include/asm/cache.h | 2 +-
17405 arch/sparc/include/asm/elf_32.h | 7 +
17406 arch/sparc/include/asm/elf_64.h | 7 +
17407 arch/sparc/include/asm/pgalloc_32.h | 1 +
17408 arch/sparc/include/asm/pgalloc_64.h | 1 +
17409 arch/sparc/include/asm/pgtable.h | 4 +
17410 arch/sparc/include/asm/pgtable_32.h | 15 +-
17411 arch/sparc/include/asm/pgtsrmmu.h | 5 +
17412 arch/sparc/include/asm/setup.h | 4 +-
17413 arch/sparc/include/asm/spinlock_64.h | 35 +-
17414 arch/sparc/include/asm/thread_info_32.h | 1 +
17415 arch/sparc/include/asm/thread_info_64.h | 2 +
17416 arch/sparc/include/asm/uaccess.h | 1 +
17417 arch/sparc/include/asm/uaccess_32.h | 28 +-
17418 arch/sparc/include/asm/uaccess_64.h | 24 +-
17419 arch/sparc/kernel/Makefile | 2 +-
17420 arch/sparc/kernel/prom_common.c | 2 +-
17421 arch/sparc/kernel/smp_64.c | 8 +-
17422 arch/sparc/kernel/sys_sparc_32.c | 2 +-
17423 arch/sparc/kernel/sys_sparc_64.c | 52 +-
17424 arch/sparc/kernel/traps_64.c | 27 +-
17425 arch/sparc/lib/Makefile | 2 +-
17426 arch/sparc/lib/atomic_64.S | 57 +-
17427 arch/sparc/lib/ksyms.c | 6 +-
17428 arch/sparc/mm/Makefile | 2 +-
17429 arch/sparc/mm/fault_32.c | 292 +
17430 arch/sparc/mm/fault_64.c | 486 +
17431 arch/sparc/mm/hugetlbpage.c | 22 +-
17432 arch/sparc/mm/init_64.c | 10 +-
17433 arch/tile/include/asm/atomic_64.h | 10 +
17434 arch/tile/include/asm/uaccess.h | 4 +-
17435 arch/um/Makefile | 4 +
17436 arch/um/include/asm/kmap_types.h | 2 +-
17437 arch/um/include/asm/page.h | 3 +
17438 arch/um/include/asm/pgtable-3level.h | 1 +
17439 arch/um/kernel/process.c | 16 -
17440 arch/x86/Kconfig | 15 +-
17441 arch/x86/Kconfig.cpu | 6 +-
17442 arch/x86/Kconfig.debug | 4 +-
17443 arch/x86/Makefile | 13 +-
17444 arch/x86/boot/Makefile | 3 +
17445 arch/x86/boot/bitops.h | 4 +-
17446 arch/x86/boot/boot.h | 2 +-
17447 arch/x86/boot/compressed/Makefile | 3 +
17448 arch/x86/boot/compressed/efi_stub_32.S | 16 +-
17449 arch/x86/boot/compressed/efi_thunk_64.S | 4 +-
17450 arch/x86/boot/compressed/head_32.S | 4 +-
17451 arch/x86/boot/compressed/head_64.S | 12 +-
17452 arch/x86/boot/compressed/misc.c | 11 +-
17453 arch/x86/boot/cpucheck.c | 16 +-
17454 arch/x86/boot/header.S | 6 +-
17455 arch/x86/boot/memory.c | 2 +-
17456 arch/x86/boot/video-vesa.c | 1 +
17457 arch/x86/boot/video.c | 2 +-
17458 arch/x86/crypto/aes-x86_64-asm_64.S | 4 +
17459 arch/x86/crypto/aesni-intel_asm.S | 106 +-
17460 arch/x86/crypto/blowfish-x86_64-asm_64.S | 7 +
17461 arch/x86/crypto/camellia-aesni-avx-asm_64.S | 10 +
17462 arch/x86/crypto/camellia-aesni-avx2-asm_64.S | 10 +
17463 arch/x86/crypto/camellia-x86_64-asm_64.S | 7 +
17464 arch/x86/crypto/cast5-avx-x86_64-asm_64.S | 51 +-
17465 arch/x86/crypto/cast6-avx-x86_64-asm_64.S | 25 +-
17466 arch/x86/crypto/crc32c-pcl-intel-asm_64.S | 4 +-
17467 arch/x86/crypto/ghash-clmulni-intel_asm.S | 4 +
17468 arch/x86/crypto/salsa20-x86_64-asm_64.S | 4 +
17469 arch/x86/crypto/serpent-avx-x86_64-asm_64.S | 9 +
17470 arch/x86/crypto/serpent-avx2-asm_64.S | 9 +
17471 arch/x86/crypto/serpent-sse2-x86_64-asm_64.S | 4 +
17472 arch/x86/crypto/sha1_ssse3_asm.S | 10 +-
17473 arch/x86/crypto/sha256-avx-asm.S | 2 +
17474 arch/x86/crypto/sha256-avx2-asm.S | 2 +
17475 arch/x86/crypto/sha256-ssse3-asm.S | 2 +
17476 arch/x86/crypto/sha512-avx-asm.S | 2 +
17477 arch/x86/crypto/sha512-avx2-asm.S | 2 +
17478 arch/x86/crypto/sha512-ssse3-asm.S | 2 +
17479 arch/x86/crypto/twofish-avx-x86_64-asm_64.S | 25 +-
17480 arch/x86/crypto/twofish-x86_64-asm_64-3way.S | 4 +
17481 arch/x86/crypto/twofish-x86_64-asm_64.S | 3 +
17482 arch/x86/entry/calling.h | 86 +-
17483 arch/x86/entry/common.c | 13 +-
17484 arch/x86/entry/entry_32.S | 351 +-
17485 arch/x86/entry/entry_64.S | 619 +-
17486 arch/x86/entry/entry_64_compat.S | 159 +-
17487 arch/x86/entry/thunk_64.S | 2 +
17488 arch/x86/entry/vdso/Makefile | 2 +-
17489 arch/x86/entry/vdso/vdso2c.h | 8 +-
17490 arch/x86/entry/vdso/vma.c | 41 +-
17491 arch/x86/entry/vsyscall/vsyscall_64.c | 16 +-
17492 arch/x86/entry/vsyscall/vsyscall_emu_64.S | 2 +-
17493 arch/x86/ia32/ia32_signal.c | 23 +-
17494 arch/x86/ia32/sys_ia32.c | 42 +-
17495 arch/x86/include/asm/alternative-asm.h | 43 +-
17496 arch/x86/include/asm/alternative.h | 4 +-
17497 arch/x86/include/asm/apic.h | 2 +-
17498 arch/x86/include/asm/apm.h | 4 +-
17499 arch/x86/include/asm/atomic.h | 230 +-
17500 arch/x86/include/asm/atomic64_32.h | 100 +
17501 arch/x86/include/asm/atomic64_64.h | 164 +-
17502 arch/x86/include/asm/bitops.h | 18 +-
17503 arch/x86/include/asm/boot.h | 2 +-
17504 arch/x86/include/asm/cache.h | 5 +-
17505 arch/x86/include/asm/checksum_32.h | 12 +-
17506 arch/x86/include/asm/cmpxchg.h | 39 +
17507 arch/x86/include/asm/compat.h | 2 +-
17508 arch/x86/include/asm/cpufeature.h | 17 +-
17509 arch/x86/include/asm/desc.h | 78 +-
17510 arch/x86/include/asm/desc_defs.h | 6 +
17511 arch/x86/include/asm/div64.h | 2 +-
17512 arch/x86/include/asm/elf.h | 33 +-
17513 arch/x86/include/asm/emergency-restart.h | 2 +-
17514 arch/x86/include/asm/fpu/internal.h | 42 +-
17515 arch/x86/include/asm/fpu/types.h | 6 +-
17516 arch/x86/include/asm/futex.h | 14 +-
17517 arch/x86/include/asm/hw_irq.h | 4 +-
17518 arch/x86/include/asm/i8259.h | 2 +-
17519 arch/x86/include/asm/io.h | 22 +-
17520 arch/x86/include/asm/irqflags.h | 5 +
17521 arch/x86/include/asm/kprobes.h | 9 +-
17522 arch/x86/include/asm/local.h | 106 +-
17523 arch/x86/include/asm/mman.h | 15 +
17524 arch/x86/include/asm/mmu.h | 14 +-
17525 arch/x86/include/asm/mmu_context.h | 114 +-
17526 arch/x86/include/asm/module.h | 17 +-
17527 arch/x86/include/asm/nmi.h | 19 +-
17528 arch/x86/include/asm/page.h | 1 +
17529 arch/x86/include/asm/page_32.h | 12 +-
17530 arch/x86/include/asm/page_64.h | 14 +-
17531 arch/x86/include/asm/paravirt.h | 46 +-
17532 arch/x86/include/asm/paravirt_types.h | 15 +-
17533 arch/x86/include/asm/pgalloc.h | 23 +
17534 arch/x86/include/asm/pgtable-2level.h | 2 +
17535 arch/x86/include/asm/pgtable-3level.h | 7 +
17536 arch/x86/include/asm/pgtable.h | 128 +-
17537 arch/x86/include/asm/pgtable_32.h | 14 +-
17538 arch/x86/include/asm/pgtable_32_types.h | 24 +-
17539 arch/x86/include/asm/pgtable_64.h | 23 +-
17540 arch/x86/include/asm/pgtable_64_types.h | 5 +
17541 arch/x86/include/asm/pgtable_types.h | 26 +-
17542 arch/x86/include/asm/preempt.h | 2 +-
17543 arch/x86/include/asm/processor.h | 57 +-
17544 arch/x86/include/asm/ptrace.h | 13 +-
17545 arch/x86/include/asm/realmode.h | 4 +-
17546 arch/x86/include/asm/reboot.h | 10 +-
17547 arch/x86/include/asm/rmwcc.h | 84 +-
17548 arch/x86/include/asm/rwsem.h | 60 +-
17549 arch/x86/include/asm/segment.h | 27 +-
17550 arch/x86/include/asm/smap.h | 43 +
17551 arch/x86/include/asm/smp.h | 14 +-
17552 arch/x86/include/asm/stackprotector.h | 4 +-
17553 arch/x86/include/asm/stacktrace.h | 32 +-
17554 arch/x86/include/asm/switch_to.h | 4 +-
17555 arch/x86/include/asm/sys_ia32.h | 6 +-
17556 arch/x86/include/asm/thread_info.h | 27 +-
17557 arch/x86/include/asm/tlbflush.h | 77 +-
17558 arch/x86/include/asm/uaccess.h | 192 +-
17559 arch/x86/include/asm/uaccess_32.h | 28 +-
17560 arch/x86/include/asm/uaccess_64.h | 169 +-
17561 arch/x86/include/asm/word-at-a-time.h | 2 +-
17562 arch/x86/include/asm/x86_init.h | 10 +-
17563 arch/x86/include/asm/xen/page.h | 2 +-
17564 arch/x86/include/uapi/asm/e820.h | 2 +-
17565 arch/x86/kernel/Makefile | 2 +-
17566 arch/x86/kernel/acpi/boot.c | 4 +-
17567 arch/x86/kernel/acpi/sleep.c | 4 +
17568 arch/x86/kernel/acpi/wakeup_32.S | 6 +-
17569 arch/x86/kernel/alternative.c | 124 +-
17570 arch/x86/kernel/apic/apic.c | 4 +-
17571 arch/x86/kernel/apic/apic_flat_64.c | 6 +-
17572 arch/x86/kernel/apic/apic_noop.c | 2 +-
17573 arch/x86/kernel/apic/bigsmp_32.c | 2 +-
17574 arch/x86/kernel/apic/io_apic.c | 8 +-
17575 arch/x86/kernel/apic/msi.c | 2 +-
17576 arch/x86/kernel/apic/probe_32.c | 4 +-
17577 arch/x86/kernel/apic/vector.c | 4 +-
17578 arch/x86/kernel/apic/x2apic_cluster.c | 2 +-
17579 arch/x86/kernel/apic/x2apic_phys.c | 2 +-
17580 arch/x86/kernel/apic/x2apic_uv_x.c | 2 +-
17581 arch/x86/kernel/apm_32.c | 21 +-
17582 arch/x86/kernel/asm-offsets.c | 20 +
17583 arch/x86/kernel/asm-offsets_64.c | 1 +
17584 arch/x86/kernel/cpu/Makefile | 4 -
17585 arch/x86/kernel/cpu/amd.c | 2 +-
17586 arch/x86/kernel/cpu/bugs_64.c | 2 +
17587 arch/x86/kernel/cpu/common.c | 202 +-
17588 arch/x86/kernel/cpu/intel_cacheinfo.c | 14 +-
17589 arch/x86/kernel/cpu/mcheck/mce.c | 34 +-
17590 arch/x86/kernel/cpu/mcheck/p5.c | 3 +
17591 arch/x86/kernel/cpu/mcheck/winchip.c | 3 +
17592 arch/x86/kernel/cpu/microcode/intel.c | 4 +-
17593 arch/x86/kernel/cpu/mtrr/main.c | 2 +-
17594 arch/x86/kernel/cpu/mtrr/mtrr.h | 2 +-
17595 arch/x86/kernel/cpu/perf_event.c | 10 +-
17596 arch/x86/kernel/cpu/perf_event_amd_iommu.c | 2 +-
17597 arch/x86/kernel/cpu/perf_event_intel.c | 6 +-
17598 arch/x86/kernel/cpu/perf_event_intel_bts.c | 6 +-
17599 arch/x86/kernel/cpu/perf_event_intel_cqm.c | 4 +-
17600 arch/x86/kernel/cpu/perf_event_intel_pt.c | 44 +-
17601 arch/x86/kernel/cpu/perf_event_intel_rapl.c | 2 +-
17602 arch/x86/kernel/cpu/perf_event_intel_uncore.c | 2 +-
17603 arch/x86/kernel/cpu/perf_event_intel_uncore.h | 2 +-
17604 arch/x86/kernel/crash_dump_64.c | 2 +-
17605 arch/x86/kernel/doublefault.c | 8 +-
17606 arch/x86/kernel/dumpstack.c | 24 +-
17607 arch/x86/kernel/dumpstack_32.c | 25 +-
17608 arch/x86/kernel/dumpstack_64.c | 62 +-
17609 arch/x86/kernel/e820.c | 4 +-
17610 arch/x86/kernel/early_printk.c | 1 +
17611 arch/x86/kernel/espfix_64.c | 44 +-
17612 arch/x86/kernel/fpu/core.c | 24 +-
17613 arch/x86/kernel/fpu/init.c | 40 +-
17614 arch/x86/kernel/fpu/regset.c | 22 +-
17615 arch/x86/kernel/fpu/signal.c | 20 +-
17616 arch/x86/kernel/fpu/xstate.c | 8 +-
17617 arch/x86/kernel/ftrace.c | 18 +-
17618 arch/x86/kernel/head64.c | 14 +-
17619 arch/x86/kernel/head_32.S | 235 +-
17620 arch/x86/kernel/head_64.S | 173 +-
17621 arch/x86/kernel/i386_ksyms_32.c | 12 +
17622 arch/x86/kernel/i8259.c | 10 +-
17623 arch/x86/kernel/io_delay.c | 2 +-
17624 arch/x86/kernel/ioport.c | 2 +-
17625 arch/x86/kernel/irq.c | 8 +-
17626 arch/x86/kernel/irq_32.c | 45 +-
17627 arch/x86/kernel/jump_label.c | 10 +-
17628 arch/x86/kernel/kgdb.c | 21 +-
17629 arch/x86/kernel/kprobes/core.c | 28 +-
17630 arch/x86/kernel/kprobes/opt.c | 16 +-
17631 arch/x86/kernel/ksysfs.c | 2 +-
17632 arch/x86/kernel/kvmclock.c | 20 +-
17633 arch/x86/kernel/ldt.c | 25 +
17634 arch/x86/kernel/livepatch.c | 12 +-
17635 arch/x86/kernel/machine_kexec_32.c | 6 +-
17636 arch/x86/kernel/mcount_64.S | 19 +-
17637 arch/x86/kernel/module.c | 78 +-
17638 arch/x86/kernel/msr.c | 2 +-
17639 arch/x86/kernel/nmi.c | 34 +-
17640 arch/x86/kernel/nmi_selftest.c | 4 +-
17641 arch/x86/kernel/paravirt-spinlocks.c | 2 +-
17642 arch/x86/kernel/paravirt.c | 45 +-
17643 arch/x86/kernel/paravirt_patch_64.c | 8 +
17644 arch/x86/kernel/pci-calgary_64.c | 2 +-
17645 arch/x86/kernel/pci-iommu_table.c | 2 +-
17646 arch/x86/kernel/pci-swiotlb.c | 2 +-
17647 arch/x86/kernel/process.c | 80 +-
17648 arch/x86/kernel/process_32.c | 29 +-
17649 arch/x86/kernel/process_64.c | 14 +-
17650 arch/x86/kernel/ptrace.c | 20 +-
17651 arch/x86/kernel/pvclock.c | 8 +-
17652 arch/x86/kernel/reboot.c | 44 +-
17653 arch/x86/kernel/reboot_fixups_32.c | 2 +-
17654 arch/x86/kernel/relocate_kernel_64.S | 3 +-
17655 arch/x86/kernel/setup.c | 29 +-
17656 arch/x86/kernel/setup_percpu.c | 29 +-
17657 arch/x86/kernel/signal.c | 17 +-
17658 arch/x86/kernel/smp.c | 2 +-
17659 arch/x86/kernel/smpboot.c | 29 +-
17660 arch/x86/kernel/step.c | 6 +-
17661 arch/x86/kernel/sys_i386_32.c | 184 +
17662 arch/x86/kernel/sys_x86_64.c | 22 +-
17663 arch/x86/kernel/tboot.c | 14 +-
17664 arch/x86/kernel/time.c | 8 +-
17665 arch/x86/kernel/tls.c | 7 +-
17666 arch/x86/kernel/tracepoint.c | 4 +-
17667 arch/x86/kernel/traps.c | 53 +-
17668 arch/x86/kernel/tsc.c | 2 +-
17669 arch/x86/kernel/uprobes.c | 2 +-
17670 arch/x86/kernel/vm86_32.c | 6 +-
17671 arch/x86/kernel/vmlinux.lds.S | 153 +-
17672 arch/x86/kernel/x8664_ksyms_64.c | 6 +-
17673 arch/x86/kernel/x86_init.c | 6 +-
17674 arch/x86/kvm/cpuid.c | 21 +-
17675 arch/x86/kvm/emulate.c | 2 +-
17676 arch/x86/kvm/lapic.c | 2 +-
17677 arch/x86/kvm/paging_tmpl.h | 2 +-
17678 arch/x86/kvm/svm.c | 10 +-
17679 arch/x86/kvm/vmx.c | 62 +-
17680 arch/x86/kvm/x86.c | 42 +-
17681 arch/x86/lguest/boot.c | 3 +-
17682 arch/x86/lib/atomic64_386_32.S | 164 +
17683 arch/x86/lib/atomic64_cx8_32.S | 98 +-
17684 arch/x86/lib/checksum_32.S | 99 +-
17685 arch/x86/lib/clear_page_64.S | 3 +
17686 arch/x86/lib/cmpxchg16b_emu.S | 3 +
17687 arch/x86/lib/copy_page_64.S | 14 +-
17688 arch/x86/lib/copy_user_64.S | 66 +-
17689 arch/x86/lib/csum-copy_64.S | 14 +-
17690 arch/x86/lib/csum-wrappers_64.c | 8 +-
17691 arch/x86/lib/getuser.S | 74 +-
17692 arch/x86/lib/insn.c | 8 +-
17693 arch/x86/lib/iomap_copy_64.S | 2 +
17694 arch/x86/lib/memcpy_64.S | 6 +
17695 arch/x86/lib/memmove_64.S | 3 +-
17696 arch/x86/lib/memset_64.S | 3 +
17697 arch/x86/lib/mmx_32.c | 243 +-
17698 arch/x86/lib/msr-reg.S | 2 +
17699 arch/x86/lib/putuser.S | 87 +-
17700 arch/x86/lib/rwsem.S | 6 +-
17701 arch/x86/lib/usercopy_32.c | 359 +-
17702 arch/x86/lib/usercopy_64.c | 20 +-
17703 arch/x86/math-emu/fpu_aux.c | 2 +-
17704 arch/x86/math-emu/fpu_entry.c | 4 +-
17705 arch/x86/math-emu/fpu_system.h | 2 +-
17706 arch/x86/mm/Makefile | 4 +
17707 arch/x86/mm/extable.c | 26 +-
17708 arch/x86/mm/fault.c | 570 +-
17709 arch/x86/mm/gup.c | 6 +-
17710 arch/x86/mm/highmem_32.c | 6 +
17711 arch/x86/mm/hugetlbpage.c | 24 +-
17712 arch/x86/mm/init.c | 111 +-
17713 arch/x86/mm/init_32.c | 111 +-
17714 arch/x86/mm/init_64.c | 46 +-
17715 arch/x86/mm/iomap_32.c | 4 +
17716 arch/x86/mm/ioremap.c | 52 +-
17717 arch/x86/mm/kmemcheck/kmemcheck.c | 4 +-
17718 arch/x86/mm/mmap.c | 40 +-
17719 arch/x86/mm/mmio-mod.c | 10 +-
17720 arch/x86/mm/numa.c | 2 +-
17721 arch/x86/mm/pageattr.c | 38 +-
17722 arch/x86/mm/pat.c | 12 +-
17723 arch/x86/mm/pat_rbtree.c | 2 +-
17724 arch/x86/mm/pf_in.c | 10 +-
17725 arch/x86/mm/pgtable.c | 214 +-
17726 arch/x86/mm/pgtable_32.c | 3 +
17727 arch/x86/mm/setup_nx.c | 7 +
17728 arch/x86/mm/tlb.c | 4 +
17729 arch/x86/mm/uderef_64.c | 37 +
17730 arch/x86/net/bpf_jit.S | 11 +
17731 arch/x86/net/bpf_jit_comp.c | 13 +-
17732 arch/x86/oprofile/backtrace.c | 6 +-
17733 arch/x86/oprofile/nmi_int.c | 8 +-
17734 arch/x86/oprofile/op_model_amd.c | 8 +-
17735 arch/x86/oprofile/op_model_ppro.c | 7 +-
17736 arch/x86/oprofile/op_x86_model.h | 2 +-
17737 arch/x86/pci/intel_mid_pci.c | 2 +-
17738 arch/x86/pci/irq.c | 8 +-
17739 arch/x86/pci/pcbios.c | 144 +-
17740 arch/x86/platform/efi/efi_32.c | 24 +
17741 arch/x86/platform/efi/efi_64.c | 26 +-
17742 arch/x86/platform/efi/efi_stub_32.S | 64 +-
17743 arch/x86/platform/efi/efi_stub_64.S | 2 +
17744 arch/x86/platform/intel-mid/intel-mid.c | 5 +-
17745 arch/x86/platform/intel-mid/intel_mid_weak_decls.h | 6 +-
17746 arch/x86/platform/intel-mid/mfld.c | 4 +-
17747 arch/x86/platform/intel-mid/mrfl.c | 2 +-
17748 arch/x86/platform/intel-quark/imr_selftest.c | 2 +-
17749 arch/x86/platform/olpc/olpc_dt.c | 2 +-
17750 arch/x86/power/cpu.c | 11 +-
17751 arch/x86/realmode/init.c | 10 +-
17752 arch/x86/realmode/rm/Makefile | 3 +
17753 arch/x86/realmode/rm/header.S | 4 +-
17754 arch/x86/realmode/rm/reboot.S | 4 +
17755 arch/x86/realmode/rm/trampoline_32.S | 12 +-
17756 arch/x86/realmode/rm/trampoline_64.S | 3 +-
17757 arch/x86/realmode/rm/wakeup_asm.S | 5 +-
17758 arch/x86/tools/Makefile | 2 +-
17759 arch/x86/tools/relocs.c | 96 +-
17760 arch/x86/um/mem_32.c | 2 +-
17761 arch/x86/um/tls_32.c | 2 +-
17762 arch/x86/xen/enlighten.c | 50 +-
17763 arch/x86/xen/mmu.c | 19 +-
17764 arch/x86/xen/smp.c | 16 +-
17765 arch/x86/xen/xen-asm_32.S | 2 +-
17766 arch/x86/xen/xen-head.S | 11 +
17767 arch/x86/xen/xen-ops.h | 2 -
17768 block/bio.c | 4 +-
17769 block/blk-iopoll.c | 2 +-
17770 block/blk-map.c | 2 +-
17771 block/blk-softirq.c | 2 +-
17772 block/bsg.c | 12 +-
17773 block/compat_ioctl.c | 4 +-
17774 block/genhd.c | 9 +-
17775 block/partitions/efi.c | 8 +-
17776 block/scsi_ioctl.c | 29 +-
17777 crypto/cryptd.c | 4 +-
17778 crypto/pcrypt.c | 2 +-
17779 crypto/zlib.c | 12 +-
17780 drivers/acpi/acpi_video.c | 2 +-
17781 drivers/acpi/apei/apei-internal.h | 2 +-
17782 drivers/acpi/apei/ghes.c | 4 +-
17783 drivers/acpi/bgrt.c | 6 +-
17784 drivers/acpi/blacklist.c | 4 +-
17785 drivers/acpi/bus.c | 4 +-
17786 drivers/acpi/device_pm.c | 4 +-
17787 drivers/acpi/ec.c | 2 +-
17788 drivers/acpi/pci_slot.c | 2 +-
17789 drivers/acpi/processor_idle.c | 2 +-
17790 drivers/acpi/processor_pdc.c | 2 +-
17791 drivers/acpi/sleep.c | 2 +-
17792 drivers/acpi/sysfs.c | 4 +-
17793 drivers/acpi/thermal.c | 2 +-
17794 drivers/acpi/video_detect.c | 7 +-
17795 drivers/ata/libata-core.c | 12 +-
17796 drivers/ata/libata-scsi.c | 2 +-
17797 drivers/ata/libata.h | 2 +-
17798 drivers/ata/pata_arasan_cf.c | 4 +-
17799 drivers/atm/adummy.c | 2 +-
17800 drivers/atm/ambassador.c | 8 +-
17801 drivers/atm/atmtcp.c | 14 +-
17802 drivers/atm/eni.c | 10 +-
17803 drivers/atm/firestream.c | 8 +-
17804 drivers/atm/fore200e.c | 14 +-
17805 drivers/atm/he.c | 18 +-
17806 drivers/atm/horizon.c | 4 +-
17807 drivers/atm/idt77252.c | 36 +-
17808 drivers/atm/iphase.c | 34 +-
17809 drivers/atm/lanai.c | 12 +-
17810 drivers/atm/nicstar.c | 46 +-
17811 drivers/atm/solos-pci.c | 4 +-
17812 drivers/atm/suni.c | 4 +-
17813 drivers/atm/uPD98402.c | 16 +-
17814 drivers/atm/zatm.c | 6 +-
17815 drivers/base/bus.c | 4 +-
17816 drivers/base/devtmpfs.c | 8 +-
17817 drivers/base/node.c | 2 +-
17818 drivers/base/platform-msi.c | 20 +-
17819 drivers/base/power/domain.c | 11 +-
17820 drivers/base/power/sysfs.c | 2 +-
17821 drivers/base/power/wakeup.c | 8 +-
17822 drivers/base/regmap/regmap-debugfs.c | 11 +-
17823 drivers/base/syscore.c | 4 +-
17824 drivers/block/cciss.c | 28 +-
17825 drivers/block/cciss.h | 2 +-
17826 drivers/block/cpqarray.c | 28 +-
17827 drivers/block/cpqarray.h | 2 +-
17828 drivers/block/drbd/drbd_bitmap.c | 2 +-
17829 drivers/block/drbd/drbd_int.h | 8 +-
17830 drivers/block/drbd/drbd_main.c | 12 +-
17831 drivers/block/drbd/drbd_nl.c | 4 +-
17832 drivers/block/drbd/drbd_receiver.c | 34 +-
17833 drivers/block/drbd/drbd_worker.c | 8 +-
17834 drivers/block/pktcdvd.c | 4 +-
17835 drivers/block/rbd.c | 2 +-
17836 drivers/bluetooth/btwilink.c | 2 +-
17837 drivers/bus/arm-cci.c | 12 +-
17838 drivers/cdrom/cdrom.c | 11 +-
17839 drivers/cdrom/gdrom.c | 1 -
17840 drivers/char/agp/compat_ioctl.c | 2 +-
17841 drivers/char/agp/frontend.c | 4 +-
17842 drivers/char/agp/intel-gtt.c | 4 +-
17843 drivers/char/hpet.c | 2 +-
17844 drivers/char/ipmi/ipmi_msghandler.c | 8 +-
17845 drivers/char/ipmi/ipmi_si_intf.c | 8 +-
17846 drivers/char/mem.c | 47 +-
17847 drivers/char/nvram.c | 2 +-
17848 drivers/char/pcmcia/synclink_cs.c | 16 +-
17849 drivers/char/random.c | 12 +-
17850 drivers/char/sonypi.c | 11 +-
17851 drivers/char/tpm/tpm_acpi.c | 3 +-
17852 drivers/char/tpm/tpm_eventlog.c | 4 +-
17853 drivers/char/virtio_console.c | 4 +-
17854 drivers/clk/clk-composite.c | 2 +-
17855 drivers/clk/samsung/clk.h | 2 +-
17856 drivers/clk/socfpga/clk-gate.c | 9 +-
17857 drivers/clk/socfpga/clk-pll.c | 9 +-
17858 drivers/clk/ti/clk.c | 8 +-
17859 drivers/cpufreq/acpi-cpufreq.c | 17 +-
17860 drivers/cpufreq/cpufreq-dt.c | 4 +-
17861 drivers/cpufreq/cpufreq.c | 30 +-
17862 drivers/cpufreq/cpufreq_governor.c | 2 +-
17863 drivers/cpufreq/cpufreq_governor.h | 4 +-
17864 drivers/cpufreq/cpufreq_ondemand.c | 10 +-
17865 drivers/cpufreq/intel_pstate.c | 33 +-
17866 drivers/cpufreq/p4-clockmod.c | 12 +-
17867 drivers/cpufreq/sparc-us3-cpufreq.c | 67 +-
17868 drivers/cpufreq/speedstep-centrino.c | 7 +-
17869 drivers/cpuidle/driver.c | 2 +-
17870 drivers/cpuidle/dt_idle_states.c | 2 +-
17871 drivers/cpuidle/governor.c | 2 +-
17872 drivers/cpuidle/sysfs.c | 2 +-
17873 drivers/crypto/hifn_795x.c | 4 +-
17874 drivers/devfreq/devfreq.c | 4 +-
17875 drivers/dma/sh/shdma-base.c | 4 +-
17876 drivers/dma/sh/shdmac.c | 2 +-
17877 drivers/edac/edac_device.c | 4 +-
17878 drivers/edac/edac_mc_sysfs.c | 2 +-
17879 drivers/edac/edac_pci.c | 4 +-
17880 drivers/edac/edac_pci_sysfs.c | 22 +-
17881 drivers/edac/mce_amd.h | 2 +-
17882 drivers/firewire/core-card.c | 6 +-
17883 drivers/firewire/core-device.c | 2 +-
17884 drivers/firewire/core-transaction.c | 1 +
17885 drivers/firewire/core.h | 1 +
17886 drivers/firmware/dmi-id.c | 2 +-
17887 drivers/firmware/dmi_scan.c | 12 +-
17888 drivers/firmware/efi/cper.c | 8 +-
17889 drivers/firmware/efi/efi.c | 12 +-
17890 drivers/firmware/efi/efivars.c | 2 +-
17891 drivers/firmware/efi/runtime-map.c | 2 +-
17892 drivers/firmware/google/gsmi.c | 2 +-
17893 drivers/firmware/google/memconsole.c | 7 +-
17894 drivers/firmware/memmap.c | 2 +-
17895 drivers/firmware/psci.c | 2 +-
17896 drivers/gpio/gpio-davinci.c | 6 +-
17897 drivers/gpio/gpio-em.c | 2 +-
17898 drivers/gpio/gpio-ich.c | 2 +-
17899 drivers/gpio/gpio-omap.c | 4 +-
17900 drivers/gpio/gpio-rcar.c | 2 +-
17901 drivers/gpio/gpio-vr41xx.c | 2 +-
17902 drivers/gpio/gpiolib.c | 12 +-
17903 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-
17904 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 2 +-
17905 drivers/gpu/drm/amd/amdkfd/kfd_device.c | 6 +-
17906 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 90 +-
17907 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 8 +-
17908 .../drm/amd/amdkfd/kfd_device_queue_manager_cik.c | 14 +-
17909 .../drm/amd/amdkfd/kfd_device_queue_manager_vi.c | 14 +-
17910 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c | 4 +-
17911 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 2 +-
17912 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.h | 2 +-
17913 .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 16 +-
17914 drivers/gpu/drm/drm_crtc.c | 2 +-
17915 drivers/gpu/drm/drm_drv.c | 2 +-
17916 drivers/gpu/drm/drm_fops.c | 12 +-
17917 drivers/gpu/drm/drm_global.c | 14 +-
17918 drivers/gpu/drm/drm_info.c | 13 +-
17919 drivers/gpu/drm/drm_ioc32.c | 13 +-
17920 drivers/gpu/drm/drm_ioctl.c | 2 +-
17921 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 10 +-
17922 drivers/gpu/drm/i810/i810_drv.h | 4 +-
17923 drivers/gpu/drm/i915/i915_dma.c | 2 +-
17924 drivers/gpu/drm/i915/i915_gem_execbuffer.c | 4 +-
17925 drivers/gpu/drm/i915/i915_gem_gtt.c | 16 +-
17926 drivers/gpu/drm/i915/i915_gem_gtt.h | 6 +-
17927 drivers/gpu/drm/i915/i915_ioc32.c | 10 +-
17928 drivers/gpu/drm/i915/intel_display.c | 26 +-
17929 drivers/gpu/drm/imx/imx-drm-core.c | 2 +-
17930 drivers/gpu/drm/mga/mga_drv.h | 4 +-
17931 drivers/gpu/drm/mga/mga_ioc32.c | 10 +-
17932 drivers/gpu/drm/mga/mga_irq.c | 8 +-
17933 drivers/gpu/drm/nouveau/nouveau_bios.c | 2 +-
17934 drivers/gpu/drm/nouveau/nouveau_drm.h | 1 -
17935 drivers/gpu/drm/nouveau/nouveau_ioc32.c | 2 +-
17936 drivers/gpu/drm/nouveau/nouveau_vga.c | 2 +-
17937 drivers/gpu/drm/omapdrm/Makefile | 2 +-
17938 drivers/gpu/drm/qxl/qxl_cmd.c | 12 +-
17939 drivers/gpu/drm/qxl/qxl_debugfs.c | 8 +-
17940 drivers/gpu/drm/qxl/qxl_drv.h | 8 +-
17941 drivers/gpu/drm/qxl/qxl_ioctl.c | 10 +-
17942 drivers/gpu/drm/qxl/qxl_irq.c | 16 +-
17943 drivers/gpu/drm/qxl/qxl_ttm.c | 38 +-
17944 drivers/gpu/drm/r128/r128_cce.c | 2 +-
17945 drivers/gpu/drm/r128/r128_drv.h | 4 +-
17946 drivers/gpu/drm/r128/r128_ioc32.c | 10 +-
17947 drivers/gpu/drm/r128/r128_irq.c | 4 +-
17948 drivers/gpu/drm/r128/r128_state.c | 4 +-
17949 drivers/gpu/drm/radeon/mkregtable.c | 4 +-
17950 drivers/gpu/drm/radeon/radeon_device.c | 2 +-
17951 drivers/gpu/drm/radeon/radeon_drv.h | 2 +-
17952 drivers/gpu/drm/radeon/radeon_ioc32.c | 12 +-
17953 drivers/gpu/drm/radeon/radeon_irq.c | 6 +-
17954 drivers/gpu/drm/radeon/radeon_state.c | 4 +-
17955 drivers/gpu/drm/radeon/radeon_ttm.c | 4 +-
17956 drivers/gpu/drm/tegra/dc.c | 2 +-
17957 drivers/gpu/drm/tegra/dsi.c | 2 +-
17958 drivers/gpu/drm/tegra/hdmi.c | 2 +-
17959 drivers/gpu/drm/tegra/sor.c | 7 +-
17960 drivers/gpu/drm/tilcdc/Makefile | 6 +-
17961 drivers/gpu/drm/ttm/ttm_memory.c | 4 +-
17962 drivers/gpu/drm/ttm/ttm_page_alloc.c | 18 +-
17963 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 18 +-
17964 drivers/gpu/drm/udl/udl_fb.c | 1 -
17965 drivers/gpu/drm/via/via_drv.h | 4 +-
17966 drivers/gpu/drm/via/via_irq.c | 18 +-
17967 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 2 +-
17968 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c | 8 +-
17969 drivers/gpu/drm/vmwgfx/vmwgfx_irq.c | 4 +-
17970 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c | 2 +-
17971 drivers/gpu/vga/vga_switcheroo.c | 4 +-
17972 drivers/hid/hid-core.c | 4 +-
17973 drivers/hid/hid-sensor-custom.c | 2 +-
17974 drivers/hv/channel.c | 2 +-
17975 drivers/hv/hv.c | 4 +-
17976 drivers/hv/hv_balloon.c | 18 +-
17977 drivers/hv/hyperv_vmbus.h | 2 +-
17978 drivers/hwmon/acpi_power_meter.c | 6 +-
17979 drivers/hwmon/applesmc.c | 2 +-
17980 drivers/hwmon/asus_atk0110.c | 10 +-
17981 drivers/hwmon/coretemp.c | 2 +-
17982 drivers/hwmon/dell-smm-hwmon.c | 2 +-
17983 drivers/hwmon/ibmaem.c | 2 +-
17984 drivers/hwmon/iio_hwmon.c | 2 +-
17985 drivers/hwmon/nct6683.c | 6 +-
17986 drivers/hwmon/nct6775.c | 6 +-
17987 drivers/hwmon/pmbus/pmbus_core.c | 10 +-
17988 drivers/hwmon/sht15.c | 12 +-
17989 drivers/hwmon/via-cputemp.c | 2 +-
17990 drivers/i2c/busses/i2c-amd756-s4882.c | 2 +-
17991 drivers/i2c/busses/i2c-nforce2-s4985.c | 2 +-
17992 drivers/i2c/i2c-dev.c | 2 +-
17993 drivers/ide/ide-cd.c | 2 +-
17994 drivers/ide/ide-disk.c | 2 +-
17995 drivers/iio/industrialio-core.c | 2 +-
17996 drivers/iio/magnetometer/ak8975.c | 2 +-
17997 drivers/infiniband/core/cm.c | 32 +-
17998 drivers/infiniband/core/fmr_pool.c | 20 +-
17999 drivers/infiniband/core/uverbs_cmd.c | 3 +
18000 drivers/infiniband/hw/cxgb4/mem.c | 4 +-
18001 drivers/infiniband/hw/mlx4/mad.c | 2 +-
18002 drivers/infiniband/hw/mlx4/mcg.c | 2 +-
18003 drivers/infiniband/hw/mlx4/mlx4_ib.h | 2 +-
18004 drivers/infiniband/hw/mthca/mthca_cmd.c | 8 +-
18005 drivers/infiniband/hw/mthca/mthca_main.c | 2 +-
18006 drivers/infiniband/hw/mthca/mthca_mr.c | 6 +-
18007 drivers/infiniband/hw/mthca/mthca_provider.c | 2 +-
18008 drivers/infiniband/hw/nes/nes.c | 4 +-
18009 drivers/infiniband/hw/nes/nes.h | 40 +-
18010 drivers/infiniband/hw/nes/nes_cm.c | 62 +-
18011 drivers/infiniband/hw/nes/nes_mgt.c | 8 +-
18012 drivers/infiniband/hw/nes/nes_nic.c | 40 +-
18013 drivers/infiniband/hw/nes/nes_verbs.c | 10 +-
18014 drivers/infiniband/hw/qib/qib.h | 1 +
18015 drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 2 +-
18016 drivers/input/gameport/gameport.c | 4 +-
18017 drivers/input/input.c | 4 +-
18018 drivers/input/joystick/sidewinder.c | 1 +
18019 drivers/input/joystick/xpad.c | 4 +-
18020 drivers/input/misc/ims-pcu.c | 4 +-
18021 drivers/input/mouse/psmouse.h | 2 +-
18022 drivers/input/mousedev.c | 2 +-
18023 drivers/input/serio/serio.c | 4 +-
18024 drivers/input/serio/serio_raw.c | 4 +-
18025 drivers/input/touchscreen/htcpen.c | 2 +-
18026 drivers/iommu/arm-smmu-v3.c | 2 +-
18027 drivers/iommu/arm-smmu.c | 43 +-
18028 drivers/iommu/io-pgtable-arm.c | 101 +-
18029 drivers/iommu/io-pgtable.c | 11 +-
18030 drivers/iommu/io-pgtable.h | 19 +-
18031 drivers/iommu/iommu.c | 2 +-
18032 drivers/iommu/ipmmu-vmsa.c | 13 +-
18033 drivers/iommu/irq_remapping.c | 2 +-
18034 drivers/irqchip/irq-gic.c | 2 +-
18035 drivers/irqchip/irq-i8259.c | 2 +-
18036 drivers/irqchip/irq-renesas-intc-irqpin.c | 2 +-
18037 drivers/irqchip/irq-renesas-irqc.c | 2 +-
18038 drivers/isdn/capi/capi.c | 10 +-
18039 drivers/isdn/gigaset/interface.c | 8 +-
18040 drivers/isdn/gigaset/usb-gigaset.c | 2 +-
18041 drivers/isdn/hardware/avm/b1.c | 4 +-
18042 drivers/isdn/i4l/isdn_common.c | 2 +
18043 drivers/isdn/i4l/isdn_tty.c | 22 +-
18044 drivers/isdn/icn/icn.c | 2 +-
18045 drivers/isdn/mISDN/dsp_cmx.c | 2 +-
18046 drivers/lguest/core.c | 10 +-
18047 drivers/lguest/page_tables.c | 2 +-
18048 drivers/lguest/x86/core.c | 12 +-
18049 drivers/lguest/x86/switcher_32.S | 27 +-
18050 drivers/md/bcache/closure.h | 2 +-
18051 drivers/md/bitmap.c | 2 +-
18052 drivers/md/dm-ioctl.c | 2 +-
18053 drivers/md/dm-raid1.c | 18 +-
18054 drivers/md/dm-stats.c | 6 +-
18055 drivers/md/dm-stripe.c | 10 +-
18056 drivers/md/dm-table.c | 2 +-
18057 drivers/md/dm-thin-metadata.c | 4 +-
18058 drivers/md/dm.c | 16 +-
18059 drivers/md/md.c | 26 +-
18060 drivers/md/md.h | 6 +-
18061 drivers/md/persistent-data/dm-space-map-metadata.c | 4 +-
18062 drivers/md/persistent-data/dm-space-map.h | 1 +
18063 drivers/md/raid1.c | 4 +-
18064 drivers/md/raid10.c | 18 +-
18065 drivers/md/raid5.c | 22 +-
18066 drivers/media/dvb-core/dvbdev.c | 2 +-
18067 drivers/media/dvb-frontends/af9033.h | 2 +-
18068 drivers/media/dvb-frontends/dib3000.h | 2 +-
18069 drivers/media/dvb-frontends/dib7000p.h | 2 +-
18070 drivers/media/dvb-frontends/dib8000.h | 2 +-
18071 drivers/media/pci/cx88/cx88-video.c | 6 +-
18072 drivers/media/pci/ivtv/ivtv-driver.c | 2 +-
18073 drivers/media/pci/solo6x10/solo6x10-core.c | 2 +-
18074 drivers/media/pci/solo6x10/solo6x10-p2m.c | 2 +-
18075 drivers/media/pci/solo6x10/solo6x10.h | 2 +-
18076 drivers/media/pci/tw68/tw68-core.c | 2 +-
18077 drivers/media/platform/omap/omap_vout.c | 11 +-
18078 drivers/media/platform/s5p-tv/mixer.h | 2 +-
18079 drivers/media/platform/s5p-tv/mixer_grp_layer.c | 2 +-
18080 drivers/media/platform/s5p-tv/mixer_reg.c | 2 +-
18081 drivers/media/platform/s5p-tv/mixer_video.c | 24 +-
18082 drivers/media/platform/s5p-tv/mixer_vp_layer.c | 2 +-
18083 drivers/media/radio/radio-cadet.c | 2 +
18084 drivers/media/radio/radio-maxiradio.c | 2 +-
18085 drivers/media/radio/radio-shark.c | 2 +-
18086 drivers/media/radio/radio-shark2.c | 2 +-
18087 drivers/media/radio/radio-si476x.c | 2 +-
18088 drivers/media/radio/wl128x/fmdrv_common.c | 2 +-
18089 drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 12 +-
18090 drivers/media/v4l2-core/v4l2-device.c | 4 +-
18091 drivers/media/v4l2-core/v4l2-ioctl.c | 13 +-
18092 drivers/memory/omap-gpmc.c | 21 +-
18093 drivers/message/fusion/mptsas.c | 34 +-
18094 drivers/mfd/ab8500-debugfs.c | 2 +-
18095 drivers/mfd/kempld-core.c | 2 +-
18096 drivers/mfd/max8925-i2c.c | 2 +-
18097 drivers/mfd/tps65910.c | 2 +-
18098 drivers/mfd/twl4030-irq.c | 9 +-
18099 drivers/mfd/wm5110-tables.c | 2 +-
18100 drivers/mfd/wm8998-tables.c | 2 +-
18101 drivers/misc/c2port/core.c | 4 +-
18102 drivers/misc/kgdbts.c | 4 +-
18103 drivers/misc/lis3lv02d/lis3lv02d.c | 8 +-
18104 drivers/misc/lis3lv02d/lis3lv02d.h | 2 +-
18105 drivers/misc/mic/scif/scif_rb.c | 8 +-
18106 drivers/misc/sgi-gru/gruhandles.c | 4 +-
18107 drivers/misc/sgi-gru/gruprocfs.c | 8 +-
18108 drivers/misc/sgi-gru/grutables.h | 154 +-
18109 drivers/misc/sgi-xp/xp.h | 2 +-
18110 drivers/misc/sgi-xp/xpc.h | 3 +-
18111 drivers/misc/sgi-xp/xpc_main.c | 2 +-
18112 drivers/mmc/card/block.c | 2 +-
18113 drivers/mmc/host/dw_mmc.h | 2 +-
18114 drivers/mmc/host/mmci.c | 4 +-
18115 drivers/mmc/host/omap_hsmmc.c | 4 +-
18116 drivers/mmc/host/sdhci-esdhc-imx.c | 7 +-
18117 drivers/mmc/host/sdhci-s3c.c | 8 +-
18118 drivers/mtd/chips/cfi_cmdset_0020.c | 2 +-
18119 drivers/mtd/nand/denali.c | 1 +
18120 drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 2 +-
18121 drivers/mtd/nftlmount.c | 1 +
18122 drivers/mtd/sm_ftl.c | 2 +-
18123 drivers/net/bonding/bond_netlink.c | 2 +-
18124 drivers/net/caif/caif_hsi.c | 2 +-
18125 drivers/net/can/Kconfig | 2 +-
18126 drivers/net/can/dev.c | 2 +-
18127 drivers/net/can/vcan.c | 2 +-
18128 drivers/net/dummy.c | 2 +-
18129 drivers/net/ethernet/8390/ax88796.c | 4 +-
18130 drivers/net/ethernet/altera/altera_tse_main.c | 4 +-
18131 drivers/net/ethernet/amd/xgbe/xgbe-common.h | 4 +-
18132 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c | 4 +-
18133 drivers/net/ethernet/amd/xgbe/xgbe-desc.c | 27 +-
18134 drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 143 +-
18135 drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 64 +-
18136 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 10 +-
18137 drivers/net/ethernet/amd/xgbe/xgbe-main.c | 15 +-
18138 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 27 +-
18139 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c | 4 +-
18140 drivers/net/ethernet/amd/xgbe/xgbe.h | 10 +-
18141 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 2 +-
18142 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | 11 +-
18143 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h | 3 +-
18144 drivers/net/ethernet/broadcom/tg3.h | 1 +
18145 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c | 6 +-
18146 drivers/net/ethernet/cavium/liquidio/lio_main.c | 11 +-
18147 drivers/net/ethernet/chelsio/cxgb3/l2t.h | 2 +-
18148 drivers/net/ethernet/dec/tulip/de4x5.c | 4 +-
18149 drivers/net/ethernet/emulex/benet/be_main.c | 2 +-
18150 drivers/net/ethernet/faraday/ftgmac100.c | 2 +
18151 drivers/net/ethernet/faraday/ftmac100.c | 2 +
18152 drivers/net/ethernet/intel/i40e/i40e_ptp.c | 2 +-
18153 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 2 +-
18154 drivers/net/ethernet/mellanox/mlx4/en_tx.c | 4 +-
18155 drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 7 +-
18156 drivers/net/ethernet/neterion/vxge/vxge-config.c | 7 +-
18157 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 4 +-
18158 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c | 12 +-
18159 .../net/ethernet/qlogic/qlcnic/qlcnic_minidump.c | 2 +-
18160 drivers/net/ethernet/realtek/r8169.c | 8 +-
18161 drivers/net/ethernet/sfc/ptp.c | 2 +-
18162 drivers/net/ethernet/stmicro/stmmac/mmc_core.c | 4 +-
18163 drivers/net/ethernet/via/via-rhine.c | 2 +-
18164 drivers/net/geneve.c | 2 +-
18165 drivers/net/hyperv/hyperv_net.h | 2 +-
18166 drivers/net/hyperv/rndis_filter.c | 4 +-
18167 drivers/net/ifb.c | 2 +-
18168 drivers/net/ipvlan/ipvlan_core.c | 2 +-
18169 drivers/net/macvlan.c | 20 +-
18170 drivers/net/macvtap.c | 6 +-
18171 drivers/net/nlmon.c | 2 +-
18172 drivers/net/phy/phy_device.c | 6 +-
18173 drivers/net/ppp/ppp_generic.c | 4 +-
18174 drivers/net/slip/slhc.c | 2 +-
18175 drivers/net/team/team.c | 4 +-
18176 drivers/net/tun.c | 7 +-
18177 drivers/net/usb/hso.c | 23 +-
18178 drivers/net/usb/r8152.c | 2 +-
18179 drivers/net/usb/sierra_net.c | 4 +-
18180 drivers/net/virtio_net.c | 2 +-
18181 drivers/net/vrf.c | 2 +-
18182 drivers/net/vxlan.c | 4 +-
18183 drivers/net/wimax/i2400m/rx.c | 2 +-
18184 drivers/net/wireless/airo.c | 2 +-
18185 drivers/net/wireless/at76c50x-usb.c | 2 +-
18186 drivers/net/wireless/ath/ath10k/ce.c | 6 +-
18187 drivers/net/wireless/ath/ath10k/htc.c | 7 +-
18188 drivers/net/wireless/ath/ath10k/htc.h | 4 +-
18189 drivers/net/wireless/ath/ath9k/ar9002_mac.c | 36 +-
18190 drivers/net/wireless/ath/ath9k/ar9003_mac.c | 64 +-
18191 drivers/net/wireless/ath/ath9k/hw.h | 4 +-
18192 drivers/net/wireless/ath/ath9k/main.c | 22 +-
18193 drivers/net/wireless/ath/wil6210/wil_platform.h | 2 +-
18194 drivers/net/wireless/b43/phy_lp.c | 2 +-
18195 drivers/net/wireless/iwlegacy/3945-mac.c | 4 +-
18196 drivers/net/wireless/iwlwifi/dvm/debugfs.c | 34 +-
18197 drivers/net/wireless/iwlwifi/pcie/trans.c | 4 +-
18198 drivers/net/wireless/mac80211_hwsim.c | 28 +-
18199 drivers/net/wireless/rndis_wlan.c | 2 +-
18200 drivers/net/wireless/rt2x00/rt2x00.h | 2 +-
18201 drivers/net/wireless/rt2x00/rt2x00queue.c | 4 +-
18202 drivers/net/wireless/ti/wl1251/sdio.c | 12 +-
18203 drivers/net/wireless/ti/wl12xx/main.c | 8 +-
18204 drivers/net/wireless/ti/wl18xx/main.c | 6 +-
18205 drivers/nfc/nfcwilink.c | 2 +-
18206 drivers/of/fdt.c | 4 +-
18207 drivers/oprofile/buffer_sync.c | 8 +-
18208 drivers/oprofile/event_buffer.c | 2 +-
18209 drivers/oprofile/oprof.c | 2 +-
18210 drivers/oprofile/oprofile_stats.c | 10 +-
18211 drivers/oprofile/oprofile_stats.h | 10 +-
18212 drivers/oprofile/oprofilefs.c | 6 +-
18213 drivers/oprofile/timer_int.c | 2 +-
18214 drivers/parport/procfs.c | 4 +-
18215 drivers/pci/host/pci-host-generic.c | 24 +-
18216 drivers/pci/hotplug/acpiphp_ibm.c | 4 +-
18217 drivers/pci/hotplug/cpcihp_generic.c | 6 +-
18218 drivers/pci/hotplug/cpcihp_zt5550.c | 14 +-
18219 drivers/pci/hotplug/cpqphp_nvram.c | 2 +
18220 drivers/pci/hotplug/pci_hotplug_core.c | 6 +-
18221 drivers/pci/hotplug/pciehp_core.c | 2 +-
18222 drivers/pci/msi.c | 22 +-
18223 drivers/pci/pci-sysfs.c | 6 +-
18224 drivers/pci/pci.h | 2 +-
18225 drivers/pci/pcie/aspm.c | 6 +-
18226 drivers/pci/pcie/portdrv_pci.c | 2 +-
18227 drivers/pci/probe.c | 2 +-
18228 drivers/pinctrl/nomadik/pinctrl-nomadik.c | 2 +-
18229 drivers/pinctrl/pinctrl-at91.c | 5 +-
18230 drivers/platform/chrome/chromeos_pstore.c | 2 +-
18231 drivers/platform/x86/alienware-wmi.c | 4 +-
18232 drivers/platform/x86/compal-laptop.c | 2 +-
18233 drivers/platform/x86/hdaps.c | 2 +-
18234 drivers/platform/x86/ibm_rtl.c | 2 +-
18235 drivers/platform/x86/intel_oaktrail.c | 2 +-
18236 drivers/platform/x86/msi-laptop.c | 16 +-
18237 drivers/platform/x86/msi-wmi.c | 2 +-
18238 drivers/platform/x86/samsung-laptop.c | 2 +-
18239 drivers/platform/x86/samsung-q10.c | 2 +-
18240 drivers/platform/x86/sony-laptop.c | 14 +-
18241 drivers/platform/x86/thinkpad_acpi.c | 2 +-
18242 drivers/pnp/pnpbios/bioscalls.c | 14 +-
18243 drivers/pnp/pnpbios/core.c | 2 +-
18244 drivers/power/pda_power.c | 7 +-
18245 drivers/power/power_supply.h | 4 +-
18246 drivers/power/power_supply_core.c | 7 +-
18247 drivers/power/power_supply_sysfs.c | 6 +-
18248 drivers/power/reset/at91-reset.c | 9 +-
18249 drivers/powercap/powercap_sys.c | 136 +-
18250 drivers/ptp/ptp_private.h | 2 +-
18251 drivers/ptp/ptp_sysfs.c | 2 +-
18252 drivers/regulator/core.c | 4 +-
18253 drivers/regulator/max8660.c | 6 +-
18254 drivers/regulator/max8973-regulator.c | 16 +-
18255 drivers/regulator/mc13892-regulator.c | 8 +-
18256 drivers/rtc/rtc-armada38x.c | 7 +-
18257 drivers/rtc/rtc-cmos.c | 4 +-
18258 drivers/rtc/rtc-ds1307.c | 2 +-
18259 drivers/rtc/rtc-m48t59.c | 4 +-
18260 drivers/rtc/rtc-test.c | 6 +-
18261 drivers/scsi/be2iscsi/be_main.c | 2 +-
18262 drivers/scsi/bfa/bfa_fcpim.h | 2 +-
18263 drivers/scsi/bfa/bfa_ioc.h | 4 +-
18264 drivers/scsi/fcoe/fcoe_sysfs.c | 12 +-
18265 drivers/scsi/hosts.c | 4 +-
18266 drivers/scsi/hpsa.c | 38 +-
18267 drivers/scsi/hpsa.h | 2 +-
18268 drivers/scsi/libfc/fc_exch.c | 50 +-
18269 drivers/scsi/libsas/sas_ata.c | 2 +-
18270 drivers/scsi/lpfc/lpfc.h | 8 +-
18271 drivers/scsi/lpfc/lpfc_debugfs.c | 18 +-
18272 drivers/scsi/lpfc/lpfc_init.c | 6 +-
18273 drivers/scsi/lpfc/lpfc_scsi.c | 10 +-
18274 drivers/scsi/megaraid/megaraid_sas.h | 2 +-
18275 drivers/scsi/mpt2sas/mpt2sas_scsih.c | 8 +-
18276 drivers/scsi/pmcraid.c | 20 +-
18277 drivers/scsi/pmcraid.h | 8 +-
18278 drivers/scsi/qla2xxx/qla_attr.c | 4 +-
18279 drivers/scsi/qla2xxx/qla_gbl.h | 4 +-
18280 drivers/scsi/qla2xxx/qla_os.c | 6 +-
18281 drivers/scsi/qla4xxx/ql4_def.h | 2 +-
18282 drivers/scsi/qla4xxx/ql4_os.c | 6 +-
18283 drivers/scsi/scsi.c | 2 +-
18284 drivers/scsi/scsi_lib.c | 8 +-
18285 drivers/scsi/scsi_sysfs.c | 2 +-
18286 drivers/scsi/scsi_transport_fc.c | 8 +-
18287 drivers/scsi/scsi_transport_iscsi.c | 6 +-
18288 drivers/scsi/scsi_transport_srp.c | 6 +-
18289 drivers/scsi/sd.c | 6 +-
18290 drivers/scsi/sg.c | 2 +-
18291 drivers/scsi/sr.c | 21 +-
18292 drivers/soc/tegra/fuse/fuse-tegra.c | 2 +-
18293 drivers/spi/spi.c | 2 +-
18294 drivers/staging/android/timed_output.c | 6 +-
18295 drivers/staging/comedi/comedi_fops.c | 8 +-
18296 drivers/staging/fbtft/fbtft-core.c | 2 +-
18297 drivers/staging/fbtft/fbtft.h | 2 +-
18298 drivers/staging/gdm724x/gdm_tty.c | 2 +-
18299 drivers/staging/iio/accel/lis3l02dq_ring.c | 2 +-
18300 drivers/staging/iio/adc/ad7280a.c | 4 +-
18301 drivers/staging/lustre/lnet/selftest/brw_test.c | 12 +-
18302 drivers/staging/lustre/lnet/selftest/framework.c | 4 -
18303 drivers/staging/lustre/lnet/selftest/ping_test.c | 14 +-
18304 drivers/staging/lustre/lustre/include/lustre_dlm.h | 2 +-
18305 drivers/staging/lustre/lustre/include/obd.h | 2 +-
18306 drivers/staging/octeon/ethernet-rx.c | 20 +-
18307 drivers/staging/octeon/ethernet.c | 8 +-
18308 drivers/staging/rdma/ipath/ipath_rc.c | 6 +-
18309 drivers/staging/rdma/ipath/ipath_ruc.c | 6 +-
18310 drivers/staging/rtl8188eu/include/hal_intf.h | 2 +-
18311 drivers/staging/rtl8712/rtl871x_io.h | 2 +-
18312 drivers/staging/sm750fb/sm750.c | 14 +-
18313 drivers/staging/unisys/visorbus/visorbus_private.h | 4 +-
18314 drivers/target/sbp/sbp_target.c | 4 +-
18315 drivers/thermal/cpu_cooling.c | 9 +-
18316 drivers/thermal/int340x_thermal/int3400_thermal.c | 6 +-
18317 drivers/thermal/of-thermal.c | 17 +-
18318 drivers/thermal/x86_pkg_temp_thermal.c | 2 +-
18319 drivers/tty/cyclades.c | 6 +-
18320 drivers/tty/hvc/hvc_console.c | 14 +-
18321 drivers/tty/hvc/hvcs.c | 21 +-
18322 drivers/tty/hvc/hvsi.c | 22 +-
18323 drivers/tty/hvc/hvsi_lib.c | 4 +-
18324 drivers/tty/ipwireless/tty.c | 27 +-
18325 drivers/tty/moxa.c | 2 +-
18326 drivers/tty/n_gsm.c | 4 +-
18327 drivers/tty/n_tty.c | 3 +-
18328 drivers/tty/pty.c | 4 +-
18329 drivers/tty/rocket.c | 6 +-
18330 drivers/tty/serial/8250/8250_core.c | 10 +-
18331 drivers/tty/serial/ifx6x60.c | 2 +-
18332 drivers/tty/serial/ioc4_serial.c | 6 +-
18333 drivers/tty/serial/kgdb_nmi.c | 4 +-
18334 drivers/tty/serial/kgdboc.c | 32 +-
18335 drivers/tty/serial/msm_serial.c | 4 +-
18336 drivers/tty/serial/samsung.c | 9 +-
18337 drivers/tty/serial/serial_core.c | 8 +-
18338 drivers/tty/synclink.c | 34 +-
18339 drivers/tty/synclink_gt.c | 28 +-
18340 drivers/tty/synclinkmp.c | 34 +-
18341 drivers/tty/tty_io.c | 2 +-
18342 drivers/tty/tty_ldisc.c | 8 +-
18343 drivers/tty/tty_port.c | 22 +-
18344 drivers/uio/uio.c | 13 +-
18345 drivers/usb/atm/cxacru.c | 2 +-
18346 drivers/usb/atm/usbatm.c | 24 +-
18347 drivers/usb/class/cdc-acm.h | 2 +-
18348 drivers/usb/core/devices.c | 6 +-
18349 drivers/usb/core/devio.c | 12 +-
18350 drivers/usb/core/hcd.c | 4 +-
18351 drivers/usb/core/sysfs.c | 2 +-
18352 drivers/usb/core/usb.c | 2 +-
18353 drivers/usb/early/ehci-dbgp.c | 16 +-
18354 drivers/usb/gadget/function/u_serial.c | 22 +-
18355 drivers/usb/gadget/udc/dummy_hcd.c | 2 +-
18356 drivers/usb/host/ehci-hcd.c | 2 +-
18357 drivers/usb/host/ehci-hub.c | 4 +-
18358 drivers/usb/host/ehci-q.c | 4 +-
18359 drivers/usb/host/fotg210-hcd.c | 2 +-
18360 drivers/usb/host/fusbh200-hcd.c | 2 +-
18361 drivers/usb/host/hwa-hc.c | 2 +-
18362 drivers/usb/host/ohci-hcd.c | 2 +-
18363 drivers/usb/host/r8a66597.h | 2 +-
18364 drivers/usb/host/uhci-hcd.c | 2 +-
18365 drivers/usb/host/xhci-pci.c | 2 +-
18366 drivers/usb/host/xhci.c | 2 +-
18367 drivers/usb/misc/appledisplay.c | 4 +-
18368 drivers/usb/serial/console.c | 8 +-
18369 drivers/usb/storage/transport.c | 2 +-
18370 drivers/usb/storage/usb.c | 2 +-
18371 drivers/usb/storage/usb.h | 2 +-
18372 drivers/usb/usbip/vhci.h | 2 +-
18373 drivers/usb/usbip/vhci_hcd.c | 6 +-
18374 drivers/usb/usbip/vhci_rx.c | 2 +-
18375 drivers/usb/wusbcore/wa-hc.h | 4 +-
18376 drivers/usb/wusbcore/wa-xfer.c | 2 +-
18377 drivers/vfio/vfio.c | 2 +-
18378 drivers/vhost/vringh.c | 20 +-
18379 drivers/video/backlight/kb3886_bl.c | 2 +-
18380 drivers/video/console/fbcon.c | 2 +-
18381 drivers/video/fbdev/aty/aty128fb.c | 2 +-
18382 drivers/video/fbdev/aty/atyfb_base.c | 8 +-
18383 drivers/video/fbdev/aty/mach64_cursor.c | 5 +-
18384 drivers/video/fbdev/core/fb_defio.c | 6 +-
18385 drivers/video/fbdev/core/fbmem.c | 2 +-
18386 drivers/video/fbdev/hyperv_fb.c | 4 +-
18387 drivers/video/fbdev/i810/i810_accel.c | 1 +
18388 drivers/video/fbdev/matrox/matroxfb_base.c | 2 +-
18389 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c | 16 +-
18390 drivers/video/fbdev/nvidia/nvidia.c | 27 +-
18391 drivers/video/fbdev/omap2/dss/display.c | 8 +-
18392 drivers/video/fbdev/s1d13xxxfb.c | 6 +-
18393 drivers/video/fbdev/smscufx.c | 4 +-
18394 drivers/video/fbdev/udlfb.c | 36 +-
18395 drivers/video/fbdev/uvesafb.c | 52 +-
18396 drivers/video/fbdev/vesafb.c | 58 +-
18397 drivers/video/fbdev/via/via_clock.h | 2 +-
18398 drivers/xen/events/events_base.c | 6 +-
18399 drivers/xen/evtchn.c | 4 +-
18400 fs/Kconfig.binfmt | 2 +-
18401 fs/afs/inode.c | 4 +-
18402 fs/aio.c | 2 +-
18403 fs/autofs4/waitq.c | 2 +-
18404 fs/befs/endian.h | 6 +-
18405 fs/binfmt_aout.c | 23 +-
18406 fs/binfmt_elf.c | 670 +-
18407 fs/binfmt_elf_fdpic.c | 4 +-
18408 fs/block_dev.c | 2 +-
18409 fs/btrfs/ctree.c | 9 +-
18410 fs/btrfs/delayed-inode.c | 9 +-
18411 fs/btrfs/delayed-inode.h | 6 +-
18412 fs/btrfs/file.c | 10 +-
18413 fs/btrfs/inode.c | 14 +-
18414 fs/btrfs/super.c | 2 +-
18415 fs/btrfs/sysfs.c | 2 +-
18416 fs/btrfs/tests/free-space-tests.c | 8 +-
18417 fs/btrfs/tree-log.h | 2 +-
18418 fs/buffer.c | 2 +-
18419 fs/cachefiles/bind.c | 6 +-
18420 fs/cachefiles/daemon.c | 8 +-
18421 fs/cachefiles/internal.h | 12 +-
18422 fs/cachefiles/namei.c | 2 +-
18423 fs/cachefiles/proc.c | 12 +-
18424 fs/ceph/dir.c | 12 +-
18425 fs/ceph/super.c | 4 +-
18426 fs/cifs/cifs_debug.c | 12 +-
18427 fs/cifs/cifsfs.c | 8 +-
18428 fs/cifs/cifsglob.h | 54 +-
18429 fs/cifs/file.c | 10 +-
18430 fs/cifs/misc.c | 4 +-
18431 fs/cifs/smb1ops.c | 80 +-
18432 fs/cifs/smb2ops.c | 84 +-
18433 fs/cifs/smb2pdu.c | 3 +-
18434 fs/coda/cache.c | 10 +-
18435 fs/compat.c | 4 +-
18436 fs/compat_binfmt_elf.c | 2 +
18437 fs/compat_ioctl.c | 12 +-
18438 fs/configfs/dir.c | 10 +-
18439 fs/coredump.c | 16 +-
18440 fs/dcache.c | 51 +-
18441 fs/ecryptfs/inode.c | 2 +-
18442 fs/ecryptfs/miscdev.c | 2 +-
18443 fs/exec.c | 362 +-
18444 fs/ext2/xattr.c | 5 +-
18445 fs/ext4/ext4.h | 20 +-
18446 fs/ext4/mballoc.c | 44 +-
18447 fs/ext4/resize.c | 16 +-
18448 fs/ext4/super.c | 4 +-
18449 fs/ext4/xattr.c | 5 +-
18450 fs/fhandle.c | 3 +-
18451 fs/file.c | 4 +-
18452 fs/fs_struct.c | 8 +-
18453 fs/fscache/cookie.c | 40 +-
18454 fs/fscache/internal.h | 202 +-
18455 fs/fscache/object.c | 26 +-
18456 fs/fscache/operation.c | 38 +-
18457 fs/fscache/page.c | 110 +-
18458 fs/fscache/stats.c | 348 +-
18459 fs/fuse/cuse.c | 10 +-
18460 fs/fuse/dev.c | 4 +-
18461 fs/gfs2/glock.c | 22 +-
18462 fs/gfs2/glops.c | 4 +-
18463 fs/gfs2/quota.c | 6 +-
18464 fs/hugetlbfs/inode.c | 13 +-
18465 fs/inode.c | 4 +-
18466 fs/jffs2/erase.c | 3 +-
18467 fs/jffs2/wbuf.c | 3 +-
18468 fs/jfs/super.c | 2 +-
18469 fs/kernfs/dir.c | 2 +-
18470 fs/kernfs/file.c | 20 +-
18471 fs/libfs.c | 10 +-
18472 fs/lockd/clntproc.c | 4 +-
18473 fs/namei.c | 16 +-
18474 fs/namespace.c | 16 +-
18475 fs/nfs/callback_xdr.c | 2 +-
18476 fs/nfs/inode.c | 6 +-
18477 fs/nfsd/nfs4proc.c | 2 +-
18478 fs/nfsd/nfs4xdr.c | 2 +-
18479 fs/nfsd/nfscache.c | 11 +-
18480 fs/nfsd/vfs.c | 6 +-
18481 fs/nls/nls_base.c | 26 +-
18482 fs/nls/nls_euc-jp.c | 6 +-
18483 fs/nls/nls_koi8-ru.c | 6 +-
18484 fs/notify/fanotify/fanotify_user.c | 4 +-
18485 fs/notify/notification.c | 4 +-
18486 fs/ntfs/dir.c | 2 +-
18487 fs/ntfs/super.c | 6 +-
18488 fs/ocfs2/localalloc.c | 2 +-
18489 fs/ocfs2/ocfs2.h | 10 +-
18490 fs/ocfs2/suballoc.c | 12 +-
18491 fs/ocfs2/super.c | 20 +-
18492 fs/pipe.c | 72 +-
18493 fs/posix_acl.c | 4 +-
18494 fs/proc/array.c | 20 +
18495 fs/proc/base.c | 4 +-
18496 fs/proc/kcore.c | 34 +-
18497 fs/proc/meminfo.c | 2 +-
18498 fs/proc/nommu.c | 2 +-
18499 fs/proc/proc_sysctl.c | 26 +-
18500 fs/proc/task_mmu.c | 39 +-
18501 fs/proc/task_nommu.c | 4 +-
18502 fs/proc/vmcore.c | 16 +-
18503 fs/qnx6/qnx6.h | 4 +-
18504 fs/quota/netlink.c | 4 +-
18505 fs/read_write.c | 2 +-
18506 fs/reiserfs/do_balan.c | 2 +-
18507 fs/reiserfs/procfs.c | 2 +-
18508 fs/reiserfs/reiserfs.h | 4 +-
18509 fs/seq_file.c | 4 +-
18510 fs/splice.c | 43 +-
18511 fs/squashfs/xattr.c | 12 +-
18512 fs/sysv/sysv.h | 2 +-
18513 fs/tracefs/inode.c | 8 +-
18514 fs/udf/misc.c | 2 +-
18515 fs/ufs/swab.h | 4 +-
18516 fs/userfaultfd.c | 2 +-
18517 fs/xattr.c | 21 +
18518 fs/xfs/libxfs/xfs_bmap.c | 2 +-
18519 fs/xfs/xfs_dir2_readdir.c | 7 +-
18520 fs/xfs/xfs_ioctl.c | 2 +-
18521 fs/xfs/xfs_linux.h | 4 +-
18522 include/asm-generic/4level-fixup.h | 2 +
18523 include/asm-generic/atomic-long.h | 156 +-
18524 include/asm-generic/atomic64.h | 12 +
18525 include/asm-generic/bitops/__fls.h | 2 +-
18526 include/asm-generic/bitops/fls.h | 2 +-
18527 include/asm-generic/bitops/fls64.h | 4 +-
18528 include/asm-generic/bug.h | 6 +-
18529 include/asm-generic/cache.h | 4 +-
18530 include/asm-generic/emergency-restart.h | 2 +-
18531 include/asm-generic/kmap_types.h | 4 +-
18532 include/asm-generic/local.h | 13 +
18533 include/asm-generic/pgtable-nopmd.h | 18 +-
18534 include/asm-generic/pgtable-nopud.h | 15 +-
18535 include/asm-generic/pgtable.h | 16 +
18536 include/asm-generic/sections.h | 1 +
18537 include/asm-generic/uaccess.h | 16 +
18538 include/asm-generic/vmlinux.lds.h | 15 +-
18539 include/crypto/algapi.h | 2 +-
18540 include/drm/drmP.h | 16 +-
18541 include/drm/drm_crtc_helper.h | 2 +-
18542 include/drm/drm_mm.h | 2 +-
18543 include/drm/i915_pciids.h | 2 +-
18544 include/drm/intel-gtt.h | 4 +-
18545 include/drm/ttm/ttm_memory.h | 2 +-
18546 include/drm/ttm/ttm_page_alloc.h | 1 +
18547 include/keys/asymmetric-subtype.h | 2 +-
18548 include/linux/atmdev.h | 4 +-
18549 include/linux/atomic.h | 17 +-
18550 include/linux/audit.h | 2 +-
18551 include/linux/average.h | 2 +-
18552 include/linux/binfmts.h | 3 +-
18553 include/linux/bitmap.h | 2 +-
18554 include/linux/bitops.h | 8 +-
18555 include/linux/blkdev.h | 2 +-
18556 include/linux/blktrace_api.h | 2 +-
18557 include/linux/cache.h | 8 +
18558 include/linux/cdrom.h | 1 -
18559 include/linux/cleancache.h | 2 +-
18560 include/linux/clk-provider.h | 1 +
18561 include/linux/compat.h | 6 +-
18562 include/linux/compiler-gcc.h | 28 +-
18563 include/linux/compiler.h | 157 +-
18564 include/linux/configfs.h | 2 +-
18565 include/linux/cpufreq.h | 3 +-
18566 include/linux/cpuidle.h | 5 +-
18567 include/linux/cpumask.h | 14 +-
18568 include/linux/crypto.h | 4 +-
18569 include/linux/ctype.h | 2 +-
18570 include/linux/dcache.h | 4 +-
18571 include/linux/decompress/mm.h | 2 +-
18572 include/linux/devfreq.h | 2 +-
18573 include/linux/device.h | 7 +-
18574 include/linux/dma-mapping.h | 2 +-
18575 include/linux/efi.h | 1 +
18576 include/linux/elf.h | 2 +
18577 include/linux/err.h | 4 +-
18578 include/linux/extcon.h | 2 +-
18579 include/linux/fb.h | 3 +-
18580 include/linux/fdtable.h | 2 +-
18581 include/linux/fs.h | 5 +-
18582 include/linux/fs_struct.h | 2 +-
18583 include/linux/fscache-cache.h | 2 +-
18584 include/linux/fscache.h | 2 +-
18585 include/linux/fsnotify.h | 2 +-
18586 include/linux/genhd.h | 4 +-
18587 include/linux/genl_magic_func.h | 2 +-
18588 include/linux/gfp.h | 12 +-
18589 include/linux/highmem.h | 12 +
18590 include/linux/hwmon-sysfs.h | 6 +-
18591 include/linux/i2c.h | 1 +
18592 include/linux/if_pppox.h | 2 +-
18593 include/linux/init.h | 12 +-
18594 include/linux/init_task.h | 7 +
18595 include/linux/interrupt.h | 6 +-
18596 include/linux/iommu.h | 2 +-
18597 include/linux/ioport.h | 2 +-
18598 include/linux/ipc.h | 2 +-
18599 include/linux/irq.h | 5 +-
18600 include/linux/irqdesc.h | 2 +-
18601 include/linux/irqdomain.h | 3 +
18602 include/linux/jiffies.h | 16 +-
18603 include/linux/key-type.h | 2 +-
18604 include/linux/kgdb.h | 6 +-
18605 include/linux/kmemleak.h | 4 +-
18606 include/linux/kobject.h | 3 +-
18607 include/linux/kobject_ns.h | 2 +-
18608 include/linux/kref.h | 2 +-
18609 include/linux/libata.h | 2 +-
18610 include/linux/linkage.h | 1 +
18611 include/linux/list.h | 15 +
18612 include/linux/lockref.h | 26 +-
18613 include/linux/math64.h | 10 +-
18614 include/linux/mempolicy.h | 7 +
18615 include/linux/mm.h | 102 +-
18616 include/linux/mm_types.h | 20 +
18617 include/linux/mmiotrace.h | 4 +-
18618 include/linux/mmzone.h | 2 +-
18619 include/linux/mod_devicetable.h | 4 +-
18620 include/linux/module.h | 69 +-
18621 include/linux/moduleloader.h | 16 +
18622 include/linux/moduleparam.h | 4 +-
18623 include/linux/net.h | 2 +-
18624 include/linux/netdevice.h | 7 +-
18625 include/linux/netfilter.h | 2 +-
18626 include/linux/netfilter/nfnetlink.h | 2 +-
18627 include/linux/nls.h | 4 +-
18628 include/linux/notifier.h | 3 +-
18629 include/linux/oprofile.h | 4 +-
18630 include/linux/padata.h | 2 +-
18631 include/linux/pci_hotplug.h | 3 +-
18632 include/linux/percpu.h | 2 +-
18633 include/linux/perf_event.h | 12 +-
18634 include/linux/pipe_fs_i.h | 8 +-
18635 include/linux/pm.h | 1 +
18636 include/linux/pm_domain.h | 4 +-
18637 include/linux/pm_runtime.h | 2 +-
18638 include/linux/pnp.h | 2 +-
18639 include/linux/poison.h | 4 +-
18640 include/linux/power/smartreflex.h | 2 +-
18641 include/linux/ppp-comp.h | 2 +-
18642 include/linux/preempt.h | 21 +
18643 include/linux/proc_ns.h | 2 +-
18644 include/linux/psci.h | 2 +-
18645 include/linux/quota.h | 2 +-
18646 include/linux/random.h | 19 +-
18647 include/linux/rculist.h | 16 +
18648 include/linux/reboot.h | 14 +-
18649 include/linux/regset.h | 3 +-
18650 include/linux/relay.h | 2 +-
18651 include/linux/rio.h | 2 +-
18652 include/linux/rmap.h | 4 +-
18653 include/linux/sched.h | 72 +-
18654 include/linux/sched/sysctl.h | 1 +
18655 include/linux/semaphore.h | 2 +-
18656 include/linux/seq_file.h | 1 +
18657 include/linux/signal.h | 2 +-
18658 include/linux/skbuff.h | 12 +-
18659 include/linux/slab.h | 47 +-
18660 include/linux/slab_def.h | 14 +-
18661 include/linux/slub_def.h | 2 +-
18662 include/linux/smp.h | 2 +
18663 include/linux/sock_diag.h | 2 +-
18664 include/linux/sonet.h | 2 +-
18665 include/linux/sunrpc/addr.h | 8 +-
18666 include/linux/sunrpc/clnt.h | 2 +-
18667 include/linux/sunrpc/svc.h | 2 +-
18668 include/linux/sunrpc/svc_rdma.h | 18 +-
18669 include/linux/sunrpc/svcauth.h | 2 +-
18670 include/linux/swapops.h | 10 +-
18671 include/linux/swiotlb.h | 3 +-
18672 include/linux/syscalls.h | 21 +-
18673 include/linux/syscore_ops.h | 2 +-
18674 include/linux/sysctl.h | 3 +-
18675 include/linux/sysfs.h | 9 +-
18676 include/linux/sysrq.h | 3 +-
18677 include/linux/tcp.h | 14 +-
18678 include/linux/thread_info.h | 7 +
18679 include/linux/tty.h | 4 +-
18680 include/linux/tty_driver.h | 2 +-
18681 include/linux/tty_ldisc.h | 2 +-
18682 include/linux/types.h | 16 +
18683 include/linux/uaccess.h | 6 +-
18684 include/linux/uio_driver.h | 2 +-
18685 include/linux/unaligned/access_ok.h | 24 +-
18686 include/linux/usb.h | 12 +-
18687 include/linux/usb/hcd.h | 1 +
18688 include/linux/usb/renesas_usbhs.h | 2 +-
18689 include/linux/vermagic.h | 21 +-
18690 include/linux/vga_switcheroo.h | 8 +-
18691 include/linux/vmalloc.h | 7 +-
18692 include/linux/vmstat.h | 24 +-
18693 include/linux/xattr.h | 5 +-
18694 include/linux/zlib.h | 3 +-
18695 include/media/v4l2-dev.h | 2 +-
18696 include/media/v4l2-device.h | 2 +-
18697 include/net/9p/transport.h | 2 +-
18698 include/net/bluetooth/l2cap.h | 2 +-
18699 include/net/bonding.h | 2 +-
18700 include/net/caif/cfctrl.h | 6 +-
18701 include/net/flow.h | 2 +-
18702 include/net/genetlink.h | 2 +-
18703 include/net/gro_cells.h | 2 +-
18704 include/net/inet_connection_sock.h | 2 +-
18705 include/net/inet_sock.h | 2 +-
18706 include/net/inetpeer.h | 2 +-
18707 include/net/ip_fib.h | 2 +-
18708 include/net/ip_vs.h | 8 +-
18709 include/net/ipv6.h | 2 +-
18710 include/net/irda/ircomm_tty.h | 1 +
18711 include/net/iucv/af_iucv.h | 2 +-
18712 include/net/llc_c_ac.h | 2 +-
18713 include/net/llc_c_ev.h | 4 +-
18714 include/net/llc_c_st.h | 2 +-
18715 include/net/llc_s_ac.h | 2 +-
18716 include/net/llc_s_st.h | 2 +-
18717 include/net/mac80211.h | 4 +-
18718 include/net/neighbour.h | 2 +-
18719 include/net/net_namespace.h | 18 +-
18720 include/net/netlink.h | 2 +-
18721 include/net/netns/conntrack.h | 6 +-
18722 include/net/netns/ipv4.h | 4 +-
18723 include/net/netns/ipv6.h | 4 +-
18724 include/net/netns/xfrm.h | 2 +-
18725 include/net/ping.h | 2 +-
18726 include/net/protocol.h | 4 +-
18727 include/net/rtnetlink.h | 2 +-
18728 include/net/sctp/checksum.h | 4 +-
18729 include/net/sctp/sm.h | 4 +-
18730 include/net/sctp/structs.h | 2 +-
18731 include/net/sock.h | 12 +-
18732 include/net/tcp.h | 8 +-
18733 include/net/xfrm.h | 13 +-
18734 include/rdma/iw_cm.h | 2 +-
18735 include/scsi/libfc.h | 3 +-
18736 include/scsi/scsi_device.h | 6 +-
18737 include/scsi/scsi_driver.h | 2 +-
18738 include/scsi/scsi_transport_fc.h | 3 +-
18739 include/scsi/sg.h | 2 +-
18740 include/sound/compress_driver.h | 2 +-
18741 include/sound/soc.h | 4 +-
18742 include/trace/events/irq.h | 4 +-
18743 include/uapi/linux/a.out.h | 8 +
18744 include/uapi/linux/bcache.h | 5 +-
18745 include/uapi/linux/byteorder/little_endian.h | 28 +-
18746 include/uapi/linux/connector.h | 2 +-
18747 include/uapi/linux/elf.h | 28 +
18748 include/uapi/linux/screen_info.h | 3 +-
18749 include/uapi/linux/swab.h | 6 +-
18750 include/uapi/linux/xattr.h | 4 +
18751 include/video/udlfb.h | 8 +-
18752 include/video/uvesafb.h | 1 +
18753 init/Kconfig | 2 +-
18754 init/Makefile | 3 +
18755 init/do_mounts.c | 14 +-
18756 init/do_mounts.h | 8 +-
18757 init/do_mounts_initrd.c | 30 +-
18758 init/do_mounts_md.c | 6 +-
18759 init/init_task.c | 4 +
18760 init/initramfs.c | 38 +-
18761 init/main.c | 30 +-
18762 ipc/compat.c | 4 +-
18763 ipc/ipc_sysctl.c | 8 +-
18764 ipc/mq_sysctl.c | 4 +-
18765 ipc/sem.c | 4 +-
18766 ipc/shm.c | 6 +
18767 kernel/audit.c | 8 +-
18768 kernel/auditsc.c | 4 +-
18769 kernel/bpf/core.c | 7 +-
18770 kernel/capability.c | 3 +
18771 kernel/compat.c | 38 +-
18772 kernel/debug/debug_core.c | 16 +-
18773 kernel/debug/kdb/kdb_main.c | 4 +-
18774 kernel/events/core.c | 26 +-
18775 kernel/events/internal.h | 10 +-
18776 kernel/events/uprobes.c | 2 +-
18777 kernel/exit.c | 2 +-
18778 kernel/fork.c | 167 +-
18779 kernel/futex.c | 11 +-
18780 kernel/futex_compat.c | 2 +-
18781 kernel/gcov/base.c | 7 +-
18782 kernel/irq/manage.c | 2 +-
18783 kernel/irq/msi.c | 19 +-
18784 kernel/irq/spurious.c | 2 +-
18785 kernel/jump_label.c | 5 +
18786 kernel/kallsyms.c | 37 +-
18787 kernel/kexec.c | 3 +-
18788 kernel/kmod.c | 8 +-
18789 kernel/kprobes.c | 4 +-
18790 kernel/ksysfs.c | 2 +-
18791 kernel/locking/lockdep.c | 7 +-
18792 kernel/locking/mutex-debug.c | 12 +-
18793 kernel/locking/mutex-debug.h | 4 +-
18794 kernel/locking/mutex.c | 6 +-
18795 kernel/module.c | 422 +-
18796 kernel/notifier.c | 17 +-
18797 kernel/padata.c | 4 +-
18798 kernel/panic.c | 5 +-
18799 kernel/pid.c | 2 +-
18800 kernel/pid_namespace.c | 2 +-
18801 kernel/power/process.c | 12 +-
18802 kernel/profile.c | 14 +-
18803 kernel/ptrace.c | 8 +-
18804 kernel/rcu/rcutorture.c | 60 +-
18805 kernel/rcu/tiny.c | 4 +-
18806 kernel/rcu/tree.c | 44 +-
18807 kernel/rcu/tree.h | 14 +-
18808 kernel/rcu/tree_plugin.h | 14 +-
18809 kernel/rcu/tree_trace.c | 12 +-
18810 kernel/sched/auto_group.c | 4 +-
18811 kernel/sched/core.c | 45 +-
18812 kernel/sched/fair.c | 2 +-
18813 kernel/sched/sched.h | 2 +-
18814 kernel/signal.c | 12 +-
18815 kernel/smpboot.c | 4 +-
18816 kernel/softirq.c | 12 +-
18817 kernel/sys.c | 10 +-
18818 kernel/sysctl.c | 34 +-
18819 kernel/time/alarmtimer.c | 2 +-
18820 kernel/time/posix-cpu-timers.c | 4 +-
18821 kernel/time/posix-timers.c | 24 +-
18822 kernel/time/timer.c | 2 +-
18823 kernel/time/timer_stats.c | 10 +-
18824 kernel/trace/blktrace.c | 6 +-
18825 kernel/trace/ftrace.c | 15 +-
18826 kernel/trace/ring_buffer.c | 96 +-
18827 kernel/trace/trace.c | 2 +-
18828 kernel/trace/trace.h | 2 +-
18829 kernel/trace/trace_clock.c | 4 +-
18830 kernel/trace/trace_events.c | 1 -
18831 kernel/trace/trace_functions_graph.c | 4 +-
18832 kernel/trace/trace_mmiotrace.c | 8 +-
18833 kernel/trace/trace_output.c | 10 +-
18834 kernel/trace/trace_seq.c | 2 +-
18835 kernel/trace/trace_stack.c | 2 +-
18836 kernel/user_namespace.c | 2 +-
18837 kernel/utsname_sysctl.c | 2 +-
18838 kernel/watchdog.c | 2 +-
18839 kernel/workqueue.c | 2 +-
18840 lib/Kconfig.debug | 8 +-
18841 lib/Makefile | 2 +-
18842 lib/bitmap.c | 8 +-
18843 lib/bug.c | 2 +
18844 lib/debugobjects.c | 2 +-
18845 lib/decompress_bunzip2.c | 3 +-
18846 lib/decompress_unlzma.c | 4 +-
18847 lib/div64.c | 4 +-
18848 lib/dma-debug.c | 4 +-
18849 lib/inflate.c | 2 +-
18850 lib/ioremap.c | 4 +-
18851 lib/kobject.c | 4 +-
18852 lib/list_debug.c | 126 +-
18853 lib/lockref.c | 44 +-
18854 lib/percpu-refcount.c | 2 +-
18855 lib/radix-tree.c | 2 +-
18856 lib/random32.c | 2 +-
18857 lib/show_mem.c | 2 +-
18858 lib/strncpy_from_user.c | 2 +-
18859 lib/strnlen_user.c | 2 +-
18860 lib/swiotlb.c | 2 +-
18861 lib/usercopy.c | 6 +
18862 lib/vsprintf.c | 12 +-
18863 mm/Kconfig | 6 +-
18864 mm/backing-dev.c | 4 +-
18865 mm/debug.c | 3 +
18866 mm/filemap.c | 2 +-
18867 mm/gup.c | 13 +-
18868 mm/highmem.c | 6 +-
18869 mm/hugetlb.c | 70 +-
18870 mm/internal.h | 1 +
18871 mm/maccess.c | 4 +-
18872 mm/madvise.c | 37 +
18873 mm/memory-failure.c | 6 +-
18874 mm/memory.c | 424 +-
18875 mm/mempolicy.c | 25 +
18876 mm/mlock.c | 15 +-
18877 mm/mm_init.c | 2 +-
18878 mm/mmap.c | 582 +-
18879 mm/mprotect.c | 137 +-
18880 mm/mremap.c | 39 +-
18881 mm/nommu.c | 21 +-
18882 mm/page-writeback.c | 2 +-
18883 mm/page_alloc.c | 49 +-
18884 mm/percpu.c | 2 +-
18885 mm/process_vm_access.c | 14 +-
18886 mm/rmap.c | 45 +-
18887 mm/shmem.c | 19 +-
18888 mm/slab.c | 109 +-
18889 mm/slab.h | 22 +-
18890 mm/slab_common.c | 86 +-
18891 mm/slob.c | 218 +-
18892 mm/slub.c | 102 +-
18893 mm/sparse-vmemmap.c | 4 +-
18894 mm/sparse.c | 2 +-
18895 mm/swap.c | 2 +
18896 mm/swapfile.c | 12 +-
18897 mm/util.c | 6 +
18898 mm/vmalloc.c | 114 +-
18899 mm/vmstat.c | 12 +-
18900 net/8021q/vlan.c | 5 +-
18901 net/8021q/vlan_netlink.c | 2 +-
18902 net/9p/mod.c | 4 +-
18903 net/9p/trans_fd.c | 2 +-
18904 net/atm/atm_misc.c | 8 +-
18905 net/atm/lec.h | 2 +-
18906 net/atm/proc.c | 6 +-
18907 net/atm/resources.c | 4 +-
18908 net/ax25/sysctl_net_ax25.c | 2 +-
18909 net/batman-adv/bat_iv_ogm.c | 8 +-
18910 net/batman-adv/fragmentation.c | 2 +-
18911 net/batman-adv/soft-interface.c | 8 +-
18912 net/batman-adv/types.h | 6 +-
18913 net/bluetooth/hci_sock.c | 2 +-
18914 net/bluetooth/l2cap_core.c | 6 +-
18915 net/bluetooth/l2cap_sock.c | 12 +-
18916 net/bluetooth/rfcomm/sock.c | 4 +-
18917 net/bluetooth/rfcomm/tty.c | 4 +-
18918 net/bridge/br_netlink.c | 2 +-
18919 net/bridge/netfilter/ebtables.c | 6 +-
18920 net/caif/cfctrl.c | 11 +-
18921 net/caif/chnl_net.c | 2 +-
18922 net/can/af_can.c | 2 +-
18923 net/can/gw.c | 6 +-
18924 net/ceph/messenger.c | 4 +-
18925 net/compat.c | 24 +-
18926 net/core/datagram.c | 2 +-
18927 net/core/dev.c | 16 +-
18928 net/core/filter.c | 2 +-
18929 net/core/flow.c | 6 +-
18930 net/core/neighbour.c | 4 +-
18931 net/core/net-sysfs.c | 2 +-
18932 net/core/net_namespace.c | 8 +-
18933 net/core/netpoll.c | 4 +-
18934 net/core/rtnetlink.c | 15 +-
18935 net/core/scm.c | 14 +-
18936 net/core/skbuff.c | 8 +-
18937 net/core/sock.c | 28 +-
18938 net/core/sock_diag.c | 15 +-
18939 net/core/sysctl_net_core.c | 22 +-
18940 net/decnet/af_decnet.c | 1 +
18941 net/decnet/sysctl_net_decnet.c | 4 +-
18942 net/dsa/dsa.c | 2 +-
18943 net/hsr/hsr_netlink.c | 2 +-
18944 net/ieee802154/6lowpan/core.c | 2 +-
18945 net/ieee802154/6lowpan/reassembly.c | 14 +-
18946 net/ipv4/af_inet.c | 2 +-
18947 net/ipv4/devinet.c | 18 +-
18948 net/ipv4/fib_frontend.c | 6 +-
18949 net/ipv4/fib_semantics.c | 2 +-
18950 net/ipv4/inet_connection_sock.c | 4 +-
18951 net/ipv4/inet_timewait_sock.c | 2 +-
18952 net/ipv4/inetpeer.c | 2 +-
18953 net/ipv4/ip_fragment.c | 15 +-
18954 net/ipv4/ip_gre.c | 6 +-
18955 net/ipv4/ip_sockglue.c | 2 +-
18956 net/ipv4/ip_vti.c | 4 +-
18957 net/ipv4/ipconfig.c | 6 +-
18958 net/ipv4/ipip.c | 4 +-
18959 net/ipv4/netfilter/arp_tables.c | 12 +-
18960 net/ipv4/netfilter/ip_tables.c | 12 +-
18961 net/ipv4/ping.c | 14 +-
18962 net/ipv4/raw.c | 14 +-
18963 net/ipv4/route.c | 32 +-
18964 net/ipv4/sysctl_net_ipv4.c | 22 +-
18965 net/ipv4/tcp_input.c | 6 +-
18966 net/ipv4/tcp_probe.c | 2 +-
18967 net/ipv4/udp.c | 10 +-
18968 net/ipv4/xfrm4_policy.c | 18 +-
18969 net/ipv6/addrconf.c | 18 +-
18970 net/ipv6/af_inet6.c | 2 +-
18971 net/ipv6/datagram.c | 2 +-
18972 net/ipv6/icmp.c | 2 +-
18973 net/ipv6/ip6_fib.c | 4 +-
18974 net/ipv6/ip6_gre.c | 10 +-
18975 net/ipv6/ip6_tunnel.c | 4 +-
18976 net/ipv6/ip6_vti.c | 4 +-
18977 net/ipv6/ipv6_sockglue.c | 2 +-
18978 net/ipv6/netfilter/ip6_tables.c | 12 +-
18979 net/ipv6/netfilter/nf_conntrack_reasm.c | 14 +-
18980 net/ipv6/ping.c | 33 +-
18981 net/ipv6/raw.c | 17 +-
18982 net/ipv6/reassembly.c | 13 +-
18983 net/ipv6/route.c | 2 +-
18984 net/ipv6/sit.c | 4 +-
18985 net/ipv6/sysctl_net_ipv6.c | 2 +-
18986 net/ipv6/udp.c | 6 +-
18987 net/ipv6/xfrm6_policy.c | 17 +-
18988 net/irda/ircomm/ircomm_tty.c | 18 +-
18989 net/iucv/af_iucv.c | 4 +-
18990 net/iucv/iucv.c | 2 +-
18991 net/key/af_key.c | 4 +-
18992 net/l2tp/l2tp_eth.c | 38 +-
18993 net/l2tp/l2tp_ip.c | 2 +-
18994 net/l2tp/l2tp_ip6.c | 2 +-
18995 net/mac80211/cfg.c | 8 +-
18996 net/mac80211/ieee80211_i.h | 3 +-
18997 net/mac80211/iface.c | 20 +-
18998 net/mac80211/main.c | 2 +-
18999 net/mac80211/pm.c | 4 +-
19000 net/mac80211/rate.c | 2 +-
19001 net/mac80211/sta_info.c | 2 +-
19002 net/mac80211/util.c | 8 +-
19003 net/mpls/af_mpls.c | 6 +-
19004 net/netfilter/ipset/ip_set_core.c | 2 +-
19005 net/netfilter/ipvs/ip_vs_conn.c | 6 +-
19006 net/netfilter/ipvs/ip_vs_core.c | 4 +-
19007 net/netfilter/ipvs/ip_vs_ctl.c | 14 +-
19008 net/netfilter/ipvs/ip_vs_lblc.c | 2 +-
19009 net/netfilter/ipvs/ip_vs_lblcr.c | 2 +-
19010 net/netfilter/ipvs/ip_vs_sync.c | 6 +-
19011 net/netfilter/ipvs/ip_vs_xmit.c | 4 +-
19012 net/netfilter/nf_conntrack_acct.c | 2 +-
19013 net/netfilter/nf_conntrack_ecache.c | 2 +-
19014 net/netfilter/nf_conntrack_helper.c | 2 +-
19015 net/netfilter/nf_conntrack_proto.c | 2 +-
19016 net/netfilter/nf_conntrack_standalone.c | 2 +-
19017 net/netfilter/nf_conntrack_timestamp.c | 2 +-
19018 net/netfilter/nf_log.c | 10 +-
19019 net/netfilter/nf_sockopt.c | 4 +-
19020 net/netfilter/nfnetlink_log.c | 4 +-
19021 net/netfilter/nft_compat.c | 9 +-
19022 net/netfilter/xt_statistic.c | 8 +-
19023 net/netlink/af_netlink.c | 4 +-
19024 net/openvswitch/vport-internal_dev.c | 2 +-
19025 net/packet/af_packet.c | 8 +-
19026 net/phonet/pep.c | 6 +-
19027 net/phonet/socket.c | 2 +-
19028 net/phonet/sysctl.c | 2 +-
19029 net/rds/cong.c | 6 +-
19030 net/rds/ib.h | 2 +-
19031 net/rds/ib_cm.c | 2 +-
19032 net/rds/ib_recv.c | 4 +-
19033 net/rds/iw.h | 2 +-
19034 net/rds/iw_cm.c | 2 +-
19035 net/rds/iw_recv.c | 4 +-
19036 net/rds/rds.h | 2 +-
19037 net/rds/tcp.c | 2 +-
19038 net/rds/tcp_send.c | 2 +-
19039 net/rxrpc/af_rxrpc.c | 2 +-
19040 net/rxrpc/ar-ack.c | 14 +-
19041 net/rxrpc/ar-call.c | 2 +-
19042 net/rxrpc/ar-connection.c | 2 +-
19043 net/rxrpc/ar-connevent.c | 2 +-
19044 net/rxrpc/ar-input.c | 4 +-
19045 net/rxrpc/ar-internal.h | 8 +-
19046 net/rxrpc/ar-local.c | 2 +-
19047 net/rxrpc/ar-output.c | 4 +-
19048 net/rxrpc/ar-peer.c | 2 +-
19049 net/rxrpc/ar-proc.c | 4 +-
19050 net/rxrpc/ar-transport.c | 2 +-
19051 net/rxrpc/rxkad.c | 4 +-
19052 net/sched/sch_generic.c | 4 +-
19053 net/sctp/ipv6.c | 6 +-
19054 net/sctp/protocol.c | 10 +-
19055 net/sctp/sm_sideeffect.c | 2 +-
19056 net/sctp/socket.c | 21 +-
19057 net/sctp/sysctl.c | 10 +-
19058 net/socket.c | 18 +-
19059 net/sunrpc/auth_gss/svcauth_gss.c | 4 +-
19060 net/sunrpc/clnt.c | 4 +-
19061 net/sunrpc/sched.c | 4 +-
19062 net/sunrpc/svc.c | 4 +-
19063 net/sunrpc/svcauth_unix.c | 2 +-
19064 net/sunrpc/xprtrdma/svc_rdma.c | 38 +-
19065 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 8 +-
19066 net/sunrpc/xprtrdma/svc_rdma_sendto.c | 2 +-
19067 net/sunrpc/xprtrdma/svc_rdma_transport.c | 10 +-
19068 net/tipc/netlink_compat.c | 12 +-
19069 net/tipc/subscr.c | 2 +-
19070 net/unix/af_unix.c | 7 +-
19071 net/unix/sysctl_net_unix.c | 2 +-
19072 net/wireless/wext-core.c | 19 +-
19073 net/xfrm/xfrm_policy.c | 16 +-
19074 net/xfrm/xfrm_state.c | 33 +-
19075 net/xfrm/xfrm_sysctl.c | 2 +-
19076 scripts/Kbuild.include | 2 +-
19077 scripts/Makefile.build | 2 +-
19078 scripts/Makefile.clean | 3 +-
19079 scripts/Makefile.host | 69 +-
19080 scripts/basic/fixdep.c | 12 +-
19081 scripts/dtc/checks.c | 14 +-
19082 scripts/dtc/data.c | 6 +-
19083 scripts/dtc/flattree.c | 8 +-
19084 scripts/dtc/livetree.c | 4 +-
19085 scripts/gcc-plugin.sh | 51 +
19086 scripts/headers_install.sh | 1 +
19087 scripts/kallsyms.c | 4 +-
19088 scripts/kconfig/lkc.h | 5 +-
19089 scripts/kconfig/menu.c | 2 +-
19090 scripts/kconfig/symbol.c | 6 +-
19091 scripts/link-vmlinux.sh | 2 +-
19092 scripts/mod/file2alias.c | 14 +-
19093 scripts/mod/modpost.c | 25 +-
19094 scripts/mod/modpost.h | 6 +-
19095 scripts/mod/sumversion.c | 2 +-
19096 scripts/module-common.lds | 4 +
19097 scripts/package/builddeb | 1 +
19098 scripts/pnmtologo.c | 6 +-
19099 scripts/sortextable.h | 6 +-
19100 scripts/tags.sh | 2 +-
19101 security/Kconfig | 692 +-
19102 security/integrity/ima/ima.h | 4 +-
19103 security/integrity/ima/ima_api.c | 2 +-
19104 security/integrity/ima/ima_fs.c | 4 +-
19105 security/integrity/ima/ima_queue.c | 2 +-
19106 security/keys/key.c | 18 +-
19107 security/selinux/avc.c | 6 +-
19108 security/selinux/include/xfrm.h | 2 +-
19109 security/yama/yama_lsm.c | 2 +-
19110 sound/aoa/codecs/onyx.c | 7 +-
19111 sound/aoa/codecs/onyx.h | 1 +
19112 sound/core/oss/pcm_oss.c | 18 +-
19113 sound/core/pcm_compat.c | 2 +-
19114 sound/core/pcm_native.c | 4 +-
19115 sound/core/sound.c | 2 +-
19116 sound/drivers/mts64.c | 14 +-
19117 sound/drivers/opl4/opl4_lib.c | 2 +-
19118 sound/drivers/portman2x4.c | 3 +-
19119 sound/firewire/amdtp.c | 4 +-
19120 sound/firewire/amdtp.h | 4 +-
19121 sound/firewire/isight.c | 10 +-
19122 sound/firewire/scs1x.c | 8 +-
19123 sound/oss/sb_audio.c | 2 +-
19124 sound/oss/swarm_cs4297a.c | 6 +-
19125 sound/pci/hda/hda_codec.c | 2 +-
19126 sound/pci/ymfpci/ymfpci.h | 2 +-
19127 sound/pci/ymfpci/ymfpci_main.c | 12 +-
19128 sound/soc/codecs/sti-sas.c | 10 +-
19129 sound/soc/soc-ac97.c | 6 +-
19130 sound/soc/xtensa/xtfpga-i2s.c | 2 +-
19131 tools/gcc/Makefile | 42 +
19132 tools/gcc/checker_plugin.c | 150 +
19133 tools/gcc/colorize_plugin.c | 215 +
19134 tools/gcc/constify_plugin.c | 571 +
19135 tools/gcc/gcc-common.h | 812 +
19136 tools/gcc/initify_plugin.c | 552 +
19137 tools/gcc/kallocstat_plugin.c | 188 +
19138 tools/gcc/kernexec_plugin.c | 549 +
19139 tools/gcc/latent_entropy_plugin.c | 470 +
19140 tools/gcc/size_overflow_plugin/.gitignore | 2 +
19141 tools/gcc/size_overflow_plugin/Makefile | 28 +
19142 .../disable_size_overflow_hash.data |12422 ++++++++++++
19143 .../generate_size_overflow_hash.sh | 103 +
19144 .../insert_size_overflow_asm.c | 416 +
19145 .../size_overflow_plugin/intentional_overflow.c | 1010 +
19146 .../size_overflow_plugin/remove_unnecessary_dup.c | 137 +
19147 tools/gcc/size_overflow_plugin/size_overflow.h | 323 +
19148 .../gcc/size_overflow_plugin/size_overflow_debug.c | 194 +
19149 .../size_overflow_plugin/size_overflow_hash.data |20735 ++++++++++++++++++++
19150 .../size_overflow_hash_aux.data | 92 +
19151 tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 1226 ++
19152 .../gcc/size_overflow_plugin/size_overflow_misc.c | 505 +
19153 .../size_overflow_plugin/size_overflow_plugin.c | 318 +
19154 .../size_overflow_plugin_hash.c | 352 +
19155 .../size_overflow_plugin/size_overflow_transform.c | 749 +
19156 .../size_overflow_transform_core.c | 1010 +
19157 tools/gcc/stackleak_plugin.c | 436 +
19158 tools/gcc/structleak_plugin.c | 287 +
19159 tools/include/linux/compiler.h | 8 +
19160 tools/lib/api/Makefile | 2 +-
19161 tools/perf/util/include/asm/alternative-asm.h | 3 +
19162 tools/virtio/linux/uaccess.h | 2 +-
19163 virt/kvm/kvm_main.c | 42 +-
19164 1944 files changed, 66925 insertions(+), 8949 deletions(-)