]> 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 4a110451298bfce895ed224e6bbd9201d8605b2b
2 Author: Brad Spengler <spender@grsecurity.net>
3 Date: Tue Oct 20 19:25:13 2015 -0400
4
5 Ratelimit the dump_stack as well, both to 15s with a burst of 3, enough not to completely
6 flood syslog
7
8 fs/exec.c | 11 +++++++++--
9 1 files changed, 9 insertions(+), 2 deletions(-)
10
11 commit 183fc2ae7d90e077fd27623998d82916260a2223
12 Merge: a240939 d6dc25f
13 Author: Brad Spengler <spender@grsecurity.net>
14 Date: Tue Oct 20 19:16:04 2015 -0400
15
16 Merge branch 'pax-test' into grsec-test
17
18 Conflicts:
19 tools/gcc/size_overflow_plugin/size_overflow_plugin.c
20
21 commit d6dc25f193a832e08d8e7cf097d7f70b3dc24776
22 Author: Brad Spengler <spender@grsecurity.net>
23 Date: Tue Oct 20 19:14:41 2015 -0400
24
25 Update to pax-linux-4.2.3-test16.patch:
26 - fixed undefined integer shift in proc_do_submiturb, reported by Arnaud <arnaud@drno.eu>
27 - fixed integer underflow in scm_detach_fds (similar to 1ac70e7ad24a88710cf9b6d7ababaefa2b575df0 upstream), reported by kdave (https://forums.grsecurity.net/viewtopic.php?f=1&t=4286)
28 - Emese added a temporary workaround for miscompiling the ath10k driver, reported by victor
29 - Emese fixed a false positive that affected the iwlwifi driver among others, reported by victor
30 - Emese disabled size overflow checking in acpi_ex_do_math_op and on acpi_object_integer, reported by xxterry1xx and rfnx (https://forums.grsecurity.net/viewtopic.php?f=3&t=4287)
31
32 drivers/net/wireless/ath/ath10k/ce.c | 2 +-
33 drivers/usb/core/devio.c | 2 +-
34 fs/dlm/lowcomms.c | 2 +-
35 net/core/scm.c | 6 ++-
36 .../disable_size_overflow_hash.data | 4 +-
37 .../size_overflow_plugin/intentional_overflow.c | 44 --------------------
38 tools/gcc/size_overflow_plugin/size_overflow.h | 1 -
39 .../size_overflow_plugin/size_overflow_hash.data | 4 +-
40 .../size_overflow_plugin/size_overflow_plugin.c | 4 +-
41 .../size_overflow_plugin/size_overflow_transform.c | 3 -
42 .../size_overflow_transform_core.c | 6 +++
43 11 files changed, 19 insertions(+), 59 deletions(-)
44
45 commit a2409394c2b0d97a9f02bf62ca4c0254602e58a6
46 Author: Brad Spengler <spender@grsecurity.net>
47 Date: Tue Oct 20 08:58:25 2015 -0400
48
49 set default to y
50
51 security/Kconfig | 1 +
52 1 files changed, 1 insertions(+), 0 deletions(-)
53
54 commit 3abe24117389419654da44adc87a9a03ad7e3f38
55 Author: Brad Spengler <spender@grsecurity.net>
56 Date: Tue Oct 20 08:08:32 2015 -0400
57
58 Add a new config option from Emese to allow SIZE_OVERFLOW to be enabled
59 while having it not kill the userland process in an overflow condition.
60 This will help us obtain reports over the next few weeks while not making
61 some percentage of users' machines unusable.
62
63 To enable this option, set CONFIG_PAX_SIZE_OVERFLOW_DISABLE_KILL=y in .config
64
65 fs/exec.c | 5 +++++
66 security/Kconfig | 4 ++++
67 .../size_overflow_plugin/size_overflow_plugin.c | 4 ++--
68 3 files changed, 11 insertions(+), 2 deletions(-)
69
70 commit bcae982f720ce0b3463a81f2b72a4807cb89048b
71 Merge: 0e55d80 128d3a5
72 Author: Brad Spengler <spender@grsecurity.net>
73 Date: Mon Oct 19 18:56:09 2015 -0400
74
75 Merge branch 'pax-test' into grsec-test
76
77 commit 128d3a5452ab001b29235b05eb0be3334fff3998
78 Author: Brad Spengler <spender@grsecurity.net>
79 Date: Mon Oct 19 18:55:37 2015 -0400
80
81 Update to pax-linux-4.2.3-test14.patch:
82 - Emese fixed a false positive size overflow report, reported by gus (https://forums.grsecurity.net/viewtopic.php?t=4280)
83 - fixed an integer sign mixup in usb_stor_invoke_transport, reported by Arnaud <arnaud@drno.eu>
84
85 drivers/usb/storage/transport.c | 2 +-
86 .../size_overflow_plugin/size_overflow_plugin.c | 2 +-
87 .../size_overflow_plugin/size_overflow_transform.c | 15 +++-
88 .../size_overflow_transform_core.c | 90 ++++++++++++++-----
89 4 files changed, 81 insertions(+), 28 deletions(-)
90
91 commit 0e55d80a65998266cab71804131a072fcc8ee558
92 Merge: a61fd15 9c4310f
93 Author: Brad Spengler <spender@grsecurity.net>
94 Date: Sat Oct 17 23:15:36 2015 -0400
95
96 Merge branch 'pax-test' into grsec-test
97
98 commit 9c4310fdb2d19f83affc62eb2698d3763ce8c36b
99 Author: Brad Spengler <spender@grsecurity.net>
100 Date: Sat Oct 17 23:15:13 2015 -0400
101
102 Update to pax-linux-4.2.3-test14.patch:
103 - reverted some page table hardening that caused too much slowdown under virtualization, reported by quasar366 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4275)
104
105 arch/x86/include/asm/pgtable-2level.h | 18 ++----------------
106 arch/x86/include/asm/pgtable-3level.h | 10 ----------
107 arch/x86/include/asm/pgtable_32.h | 2 ++
108 arch/x86/include/asm/pgtable_64.h | 18 ++----------------
109 arch/x86/mm/highmem_32.c | 2 ++
110 arch/x86/mm/init_64.c | 2 ++
111 arch/x86/mm/iomap_32.c | 4 ++++
112 arch/x86/mm/pageattr.c | 4 ++++
113 arch/x86/mm/pgtable.c | 2 ++
114 arch/x86/mm/pgtable_32.c | 3 +++
115 mm/highmem.c | 5 +++++
116 mm/vmalloc.c | 7 +++++++
117 12 files changed, 35 insertions(+), 42 deletions(-)
118
119 commit a61fd152e87bd3ed91194b07f6b1fcbcd165093b
120 Merge: 00f1afa db7a8e5
121 Author: Brad Spengler <spender@grsecurity.net>
122 Date: Sat Oct 17 18:33:48 2015 -0400
123
124 Merge branch 'pax-test' into grsec-test
125
126 commit db7a8e5c284179889014b5929a40298e1b228fbc
127 Author: Brad Spengler <spender@grsecurity.net>
128 Date: Sat Oct 17 18:33:22 2015 -0400
129
130 Update to pax-linux-4.2.3-test13.patch:
131 - Emese worked around a sign mixup with wiphy.rts_threshold, reported by gus (https://forums.grsecurity.net/viewtopic.php?f=3&t=4278)
132
133 .../disable_size_overflow_hash.data | 2 ++
134 .../size_overflow_plugin/size_overflow_hash.data | 2 --
135 2 files changed, 2 insertions(+), 2 deletions(-)
136
137 commit 00f1afa694317365e9bd6dc77d2e3e96ae3a68ec
138 Merge: 7098385 57dc21d
139 Author: Brad Spengler <spender@grsecurity.net>
140 Date: Sat Oct 17 11:04:56 2015 -0400
141
142 Merge branch 'pax-test' into grsec-test
143
144 commit 57dc21d203a9fa1312a4abc608da5b3644d29078
145 Author: Brad Spengler <spender@grsecurity.net>
146 Date: Sat Oct 17 11:04:34 2015 -0400
147
148 Update to pax-linux-4.2.3-test12.patch:
149 - removed size_overflow_hash.data.prev that was left behind by accident
150 - Emese fixed a false positive overflow report in the megaraid driver due to a gcc limitation, reported by vortex (https://forums.grsecurity.net/viewtopic.php?f=3&t=4277)
151
152 drivers/scsi/megaraid/megaraid_sas.h | 2 +-
153 1 files changed, 1 insertions(+), 1 deletions(-)
154
155 commit 7098385851c43dea6692508c71cd5fbcce3187b2
156 Merge: bc6d23e 78b0f64
157 Author: Brad Spengler <spender@grsecurity.net>
158 Date: Fri Oct 16 17:45:06 2015 -0400
159
160 Merge branch 'pax-test' into grsec-test
161
162 Conflicts:
163 tools/gcc/size_overflow_plugin/intentional_overflow.c
164
165 commit 78b0f643d8d2b870e8ad5df075d4ab79befa4266
166 Author: Brad Spengler <spender@grsecurity.net>
167 Date: Fri Oct 16 17:44:18 2015 -0400
168
169 Update to pax-linux-4.2.3-test11.patch:
170 - Emese fixed a few false positives caused by error codes
171 - simplified the switch_mm code on x86 a bit
172
173 arch/x86/include/asm/mmu_context.h | 118 +++++--------
174 include/drm/drm_mm.h | 2 +-
175 .../size_overflow_plugin/intentional_overflow.c | 11 +-
176 tools/gcc/size_overflow_plugin/size_overflow.h | 19 ++-
177 .../size_overflow_plugin/size_overflow_plugin.c | 2 +-
178 .../size_overflow_plugin/size_overflow_transform.c | 178 +++++++++-----------
179 .../size_overflow_transform_core.c | 31 ++--
180 7 files changed, 169 insertions(+), 192 deletions(-)
181
182 commit bc6d23e3408e389f8a96134f6bc915e9fc8b370b
183 Author: Brad Spengler <spender@grsecurity.net>
184 Date: Fri Oct 16 17:28:54 2015 -0400
185
186 Update rpm devel spec, thanks to Andrew
187
188 scripts/package/mkspec | 3 +++
189 1 files changed, 3 insertions(+), 0 deletions(-)
190
191 commit b3f30cb9207a72a6aa4a78f23f8c5353be0bb27b
192 Author: Brad Spengler <spender@grsecurity.net>
193 Date: Thu Oct 15 20:10:56 2015 -0400
194
195 disable tracing support with GRKERNSEC_KMEM (it forces debugfs support on)
196
197 kernel/trace/Kconfig | 2 +-
198 1 files changed, 1 insertions(+), 1 deletions(-)
199
200 commit 82a0c12587f14add438ddf3b558e2278fcb7a387
201 Author: Brad Spengler <spender@grsecurity.net>
202 Date: Thu Oct 15 19:19:43 2015 -0400
203
204 Force DEBUG_FS off the hard way, since 'select' can cause it to be
205 inadvertently enabled. Add a backup check that fails the build if
206 GRKERNSEC_KMEM is enabled with DEBUG_FS
207 Ditto for PROC_PAGE_MONITOR
208
209 arch/arc/Kconfig | 1 +
210 arch/arm/Kconfig.debug | 1 +
211 arch/arm64/Kconfig.debug | 1 +
212 arch/blackfin/Kconfig.debug | 1 +
213 arch/s390/Kconfig.debug | 1 +
214 arch/x86/Kconfig.debug | 2 ++
215 drivers/iommu/Kconfig | 1 +
216 drivers/md/bcache/Kconfig | 1 +
217 drivers/net/wireless/ath/ath9k/Kconfig | 1 -
218 include/linux/grsecurity.h | 6 ++++++
219 init/Kconfig | 1 +
220 kernel/trace/Kconfig | 2 ++
221 lib/Kconfig.debug | 6 +++++-
222 mm/Kconfig | 3 +++
223 net/sunrpc/Kconfig | 1 +
224 15 files changed, 27 insertions(+), 2 deletions(-)
225
226 commit 1b6f8fc8b8100292647638c713326776a0865705
227 Author: Brad Spengler <spender@grsecurity.net>
228 Date: Thu Oct 15 17:58:59 2015 -0400
229
230 Force DEBUG_FS off in the kernel config, even having it present is a security
231 risk
232
233 Conflicts:
234
235 lib/Kconfig.debug
236
237 lib/Kconfig.debug | 1 +
238 1 files changed, 1 insertions(+), 0 deletions(-)
239
240 commit 21057fc30571f96aa46acf8922417311905d0f2b
241 Author: Brad Spengler <spender@grsecurity.net>
242 Date: Thu Oct 15 08:15:33 2015 -0400
243
244 Backport fix from: https://patchwork.kernel.org/patch/6853351/
245 The debug_read_tlb() uses the sprintf() functions directly on the buffer
246 allocated by buf = kmalloc(count), without taking into account the size
247 of the buffer, with the consequence corrupting the heap, depending on
248 the count requested by the user.
249
250 The patch fixes the issue replacing sprintf() by seq_printf().
251
252 Signed-off-by: Salva Peiró <speirofr@gmail.com>
253
254 drivers/iommu/omap-iommu-debug.c | 26 +++++++-------------------
255 drivers/iommu/omap-iommu.c | 28 +++++++++++-----------------
256 drivers/iommu/omap-iommu.h | 3 +--
257 3 files changed, 19 insertions(+), 38 deletions(-)
258
259 commit ba936d19274485bad900a69d679878a50faa50aa
260 Author: Joe Perches <joe@perches.com>
261 Date: Wed Oct 14 01:09:40 2015 -0700
262
263 ethtool: Use kcalloc instead of kmalloc for ethtool_get_strings
264
265 It seems that kernel memory can leak into userspace by a
266 kmalloc, ethtool_get_strings, then copy_to_user sequence.
267
268 Avoid this by using kcalloc to zero fill the copied buffer.
269
270 Signed-off-by: Joe Perches <joe@perches.com>
271 Acked-by: Ben Hutchings <ben@decadent.org.uk>
272 Signed-off-by: David S. Miller <davem@davemloft.net>
273
274 net/core/ethtool.c | 2 +-
275 1 files changed, 1 insertions(+), 1 deletions(-)
276
277 commit bae0a8209962cede6a0d486cf2414cac1747f91b
278 Author: Brad Spengler <spender@grsecurity.net>
279 Date: Wed Oct 14 19:54:27 2015 -0400
280
281 Update size_overflow hash table
282
283 .../size_overflow_plugin/size_overflow_hash.data | 53 +++++++++++++++++--
284 1 files changed, 47 insertions(+), 6 deletions(-)
285
286 commit 1d840cc98b8f9b62d3c906ae24385f79c9131e29
287 Author: Brad Spengler <spender@grsecurity.net>
288 Date: Wed Oct 14 19:50:48 2015 -0400
289
290 Update size_overflow hash table
291
292 .../size_overflow_plugin/size_overflow_hash.data | 1 +
293 1 files changed, 1 insertions(+), 0 deletions(-)
294
295 commit fca9b7af6aebd1d80f364d6d849470e917919004
296 Author: Brad Spengler <spender@grsecurity.net>
297 Date: Wed Oct 14 19:47:21 2015 -0400
298
299 Update size_overflow hash table
300
301 .../size_overflow_plugin/size_overflow_hash.data | 300 ++++++++++++++++----
302 1 files changed, 244 insertions(+), 56 deletions(-)
303
304 commit 07cadc277ba83222698c99091c7da2c28275981f
305 Author: Brad Spengler <spender@grsecurity.net>
306 Date: Wed Oct 14 19:39:44 2015 -0400
307
308 squelch some informational messages only used by Emese
309
310 .../size_overflow_plugin/intentional_overflow.c | 6 +++---
311 1 files changed, 3 insertions(+), 3 deletions(-)
312
313 commit 77eeeac20bde1e0ebd72efe0f7b5c52786411bc7
314 Author: Brad Spengler <spender@grsecurity.net>
315 Date: Wed Oct 14 19:15:56 2015 -0400
316
317 Re-enable size_overflow
318
319 security/Kconfig | 1 -
320 1 files changed, 0 insertions(+), 1 deletions(-)
321
322 commit cb8efa1fd63be1bbcf5e585396cc0ed562d0c624
323 Merge: 913cbf6 4c48a7f
324 Author: Brad Spengler <spender@grsecurity.net>
325 Date: Wed Oct 14 17:14:42 2015 -0400
326
327 Merge branch 'pax-test' into grsec-test
328
329 Conflicts:
330 tools/gcc/size_overflow_plugin/size_overflow_hash.data
331
332 commit 4c48a7fc8df9310f994708b42fe1102a2943917c
333 Author: Brad Spengler <spender@grsecurity.net>
334 Date: Wed Oct 14 17:12:54 2015 -0400
335
336 Update to pax-linux-4.2.3-test10.patch:
337 - fixed accidentally dropped csum_partial_copy_generic_to_user entry point for pre-P6 i386 configs, by minipli
338 - Emese fixed a bunch of false positives with the size overflow plugin, let's see how it goes in the real world :)
339
340 arch/x86/include/asm/processor.h | 2 +-
341 arch/x86/include/asm/ptrace.h | 8 +-
342 arch/x86/lib/checksum_32.S | 2 +
343 arch/x86/xen/mmu.c | 2 +-
344 drivers/ata/libahci.c | 2 +-
345 drivers/i2c/busses/i2c-diolan-u2c.c | 2 +-
346 drivers/oprofile/oprofile_files.c | 2 +-
347 drivers/spi/spidev.c | 2 +-
348 drivers/tty/n_tty.c | 2 +-
349 drivers/usb/core/message.c | 6 +-
350 fs/binfmt_elf.c | 2 +-
351 fs/ubifs/io.c | 2 +-
352 include/drm/drm_mm.h | 2 +-
353 include/linux/completion.h | 12 +-
354 include/linux/jiffies.h | 10 +-
355 include/linux/kernel.h | 2 +-
356 include/linux/mm.h | 2 +-
357 include/linux/random.h | 4 +-
358 include/linux/sched.h | 2 +-
359 include/linux/usb.h | 2 +-
360 kernel/sched/completion.c | 6 +-
361 kernel/time/timer.c | 2 +-
362 lib/bitmap.c | 2 +-
363 mm/internal.h | 2 +-
364 net/sunrpc/svcauth_unix.c | 2 +-
365 .../disable_size_overflow_hash.data |22980 +++++++++++---------
366 .../insert_size_overflow_asm.c | 7 +
367 .../size_overflow_plugin/intentional_overflow.c | 10 +-
368 tools/gcc/size_overflow_plugin/size_overflow.h | 29 +-
369 .../gcc/size_overflow_plugin/size_overflow_debug.c | 20 +-
370 .../size_overflow_plugin/size_overflow_hash.data |14092 ++++++++----
371 tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 252 +-
372 .../size_overflow_plugin/size_overflow_plugin.c | 2 +-
373 .../size_overflow_plugin_hash.c | 13 +-
374 .../size_overflow_plugin/size_overflow_transform.c | 205 +-
375 .../size_overflow_transform_core.c | 4 +-
376 36 files changed, 21958 insertions(+), 15740 deletions(-)
377
378 commit 913cbf6a23fcad570b776b1a5a71242b909c5c99
379 Author: Dave Kleikamp <dave.kleikamp@oracle.com>
380 Date: Mon Oct 5 10:08:51 2015 -0500
381
382 crypto: sparc - initialize blkcipher.ivsize
383
384 Some of the crypto algorithms write to the initialization vector,
385 but no space has been allocated for it. This clobbers adjacent memory.
386
387 Cc: stable@vger.kernel.org
388 Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
389 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
390
391 arch/sparc/crypto/aes_glue.c | 2 ++
392 arch/sparc/crypto/camellia_glue.c | 1 +
393 arch/sparc/crypto/des_glue.c | 2 ++
394 3 files changed, 5 insertions(+), 0 deletions(-)
395
396 commit 7af7ad1e287067b7ea659dc0dd3e2e355588e246
397 Author: Brad Spengler <spender@grsecurity.net>
398 Date: Tue Oct 13 08:03:51 2015 -0400
399
400 Apply fix by Tejun Heo for upstream bug reported on the forums by Fuxino:
401 https://forums.grsecurity.net/viewtopic.php?f=3&t=4276#p15570
402
403 Probably made more easily reproducible via SANITIZE, but we won't know for
404 sure without a full oops report.
405
406 For some reason even though this patch was marked for 4.2+ stable over a month
407 ago, it still hasn't hit Greg's tree.
408
409 block/blk-cgroup.c | 3 +++
410 1 files changed, 3 insertions(+), 0 deletions(-)
411
412 commit 8e1f29f9e1af36f71d12213ea6530eb77014c00c
413 Author: Dmitry Vyukov <dvyukov@google.com>
414 Date: Thu Sep 17 17:17:10 2015 +0200
415
416 tty: fix data race on tty_buffer.commit
417
418 Race on buffer data happens when newly committed data is
419 picked up by an old flush work in the following scenario:
420 __tty_buffer_request_room does a plain write of tail->commit,
421 no barriers were executed before that.
422 At this point flush_to_ldisc reads this new value of commit,
423 and reads buffer data, no barriers in between.
424 The committed buffer data is not necessary visible to flush_to_ldisc.
425
426 Similar bug happens when tty_schedule_flip commits data.
427
428 Update commit with smp_store_release and read commit with
429 smp_load_acquire, as it is commit that signals data readiness.
430 This is orthogonal to the existing synchronization on tty_buffer.next,
431 which is required to not dismiss a buffer with unconsumed data.
432
433 The data race was found with KernelThreadSanitizer (KTSAN).
434
435 Signed-off-by: Dmitry Vyukov <dvyukov@google.com>
436 Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
437 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
438
439 drivers/tty/tty_buffer.c | 15 ++++++++++++---
440 1 files changed, 12 insertions(+), 3 deletions(-)
441
442 commit d62db216e7182e24317596471c1a3a2a9fb9d1f5
443 Author: Peter Hurley <peter@hurleysoftware.com>
444 Date: Sun Jul 12 20:50:49 2015 -0400
445
446 tty: Replace smp_rmb/smp_wmb with smp_load_acquire/smp_store_release
447
448 Clarify flip buffer producer/consumer operation; the use of
449 smp_load_acquire() and smp_store_release() more clearly indicates
450 which memory access requires a barrier.
451
452 Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
453 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
454
455 drivers/tty/tty_buffer.c | 10 ++++------
456 1 files changed, 4 insertions(+), 6 deletions(-)
457
458 commit c6bbe8a6097f869b6a3d3c40d456727180573dd9
459 Author: Kosuke Tatsukawa <tatsu@ab.jp.nec.com>
460 Date: Fri Oct 2 08:27:05 2015 +0000
461
462 tty: fix stall caused by missing memory barrier in drivers/tty/n_tty.c
463
464 My colleague ran into a program stall on a x86_64 server, where
465 n_tty_read() was waiting for data even if there was data in the buffer
466 in the pty. kernel stack for the stuck process looks like below.
467 #0 [ffff88303d107b58] __schedule at ffffffff815c4b20
468 #1 [ffff88303d107bd0] schedule at ffffffff815c513e
469 #2 [ffff88303d107bf0] schedule_timeout at ffffffff815c7818
470 #3 [ffff88303d107ca0] wait_woken at ffffffff81096bd2
471 #4 [ffff88303d107ce0] n_tty_read at ffffffff8136fa23
472 #5 [ffff88303d107dd0] tty_read at ffffffff81368013
473 #6 [ffff88303d107e20] __vfs_read at ffffffff811a3704
474 #7 [ffff88303d107ec0] vfs_read at ffffffff811a3a57
475 #8 [ffff88303d107f00] sys_read at ffffffff811a4306
476 #9 [ffff88303d107f50] entry_SYSCALL_64_fastpath at ffffffff815c86d7
477
478 There seems to be two problems causing this issue.
479
480 First, in drivers/tty/n_tty.c, __receive_buf() stores the data and
481 updates ldata->commit_head using smp_store_release() and then checks
482 the wait queue using waitqueue_active(). However, since there is no
483 memory barrier, __receive_buf() could return without calling
484 wake_up_interactive_poll(), and at the same time, n_tty_read() could
485 start to wait in wait_woken() as in the following chart.
486
487 __receive_buf() n_tty_read()
488 ------------------------------------------------------------------------
489 if (waitqueue_active(&tty->read_wait))
490 /* Memory operations issued after the
491 RELEASE may be completed before the
492 RELEASE operation has completed */
493 add_wait_queue(&tty->read_wait, &wait);
494 ...
495 if (!input_available_p(tty, 0)) {
496 smp_store_release(&ldata->commit_head,
497 ldata->read_head);
498 ...
499 timeout = wait_woken(&wait,
500 TASK_INTERRUPTIBLE, timeout);
501 ------------------------------------------------------------------------
502
503 The second problem is that n_tty_read() also lacks a memory barrier
504 call and could also cause __receive_buf() to return without calling
505 wake_up_interactive_poll(), and n_tty_read() to wait in wait_woken()
506 as in the chart below.
507
508 __receive_buf() n_tty_read()
509 ------------------------------------------------------------------------
510 spin_lock_irqsave(&q->lock, flags);
511 /* from add_wait_queue() */
512 ...
513 if (!input_available_p(tty, 0)) {
514 /* Memory operations issued after the
515 RELEASE may be completed before the
516 RELEASE operation has completed */
517 smp_store_release(&ldata->commit_head,
518 ldata->read_head);
519 if (waitqueue_active(&tty->read_wait))
520 __add_wait_queue(q, wait);
521 spin_unlock_irqrestore(&q->lock,flags);
522 /* from add_wait_queue() */
523 ...
524 timeout = wait_woken(&wait,
525 TASK_INTERRUPTIBLE, timeout);
526 ------------------------------------------------------------------------
527
528 There are also other places in drivers/tty/n_tty.c which have similar
529 calls to waitqueue_active(), so instead of adding many memory barrier
530 calls, this patch simply removes the call to waitqueue_active(),
531 leaving just wake_up*() behind.
532
533 This fixes both problems because, even though the memory access before
534 or after the spinlocks in both wake_up*() and add_wait_queue() can
535 sneak into the critical section, it cannot go past it and the critical
536 section assures that they will be serialized (please see "INTER-CPU
537 ACQUIRING BARRIER EFFECTS" in Documentation/memory-barriers.txt for a
538 better explanation). Moreover, the resulting code is much simpler.
539
540 Latency measurement using a ping-pong test over a pty doesn't show any
541 visible performance drop.
542
543 Signed-off-by: Kosuke Tatsukawa <tatsu@ab.jp.nec.com>
544 Cc: stable@vger.kernel.org
545 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
546
547 drivers/tty/n_tty.c | 15 +++++----------
548 1 files changed, 5 insertions(+), 10 deletions(-)
549
550 commit 3af2011ac1a085a3e8c57ca3a840aec393b37db3
551 Author: Dmitry Vyukov <dvyukov@google.com>
552 Date: Thu Sep 17 17:17:08 2015 +0200
553
554 tty: fix data race in flush_to_ldisc
555
556 flush_to_ldisc reads port->itty and checks that it is not NULL,
557 concurrently release_tty sets port->itty to NULL. It is possible
558 that flush_to_ldisc loads port->itty once, ensures that it is
559 not NULL, but then reloads it again and uses. The second load
560 can already return NULL, which will cause a crash.
561
562 Use READ_ONCE to read port->itty.
563
564 The data race was found with KernelThreadSanitizer (KTSAN).
565
566 Signed-off-by: Dmitry Vyukov <dvyukov@google.com>
567 Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
568 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
569
570 drivers/tty/tty_buffer.c | 2 +-
571 1 files changed, 1 insertions(+), 1 deletions(-)
572
573 commit 4a433f384b0a5b7e39f969ee8df89c56537d078d
574 Author: Dmitry Vyukov <dvyukov@google.com>
575 Date: Thu Sep 17 17:17:09 2015 +0200
576
577 tty: fix data race in tty_buffer_flush
578
579 tty_buffer_flush frees not acquired buffers.
580 As the result, for example, read of b->size in tty_buffer_free
581 can return garbage value which will lead to a huge buffer
582 hanging in the freelist. This is just the benignest
583 manifestation of freeing of a not acquired object.
584 If the object is passed to kfree, heap can be corrupted.
585
586 Acquire visibility over the buffer before freeing it.
587
588 The data race was found with KernelThreadSanitizer (KTSAN).
589
590 Signed-off-by: Dmitry Vyukov <dvyukov@google.com>
591 Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
592 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
593
594 drivers/tty/tty_buffer.c | 5 ++++-
595 1 files changed, 4 insertions(+), 1 deletions(-)
596
597 commit 1477c439d65debf45ac3164a1615504131fad1ff
598 Author: Jann Horn <jann@thejh.net>
599 Date: Sun Oct 4 19:29:12 2015 +0200
600
601 drivers/tty: require read access for controlling terminal
602
603 This is mostly a hardening fix, given that write-only access to other
604 users' ttys is usually only given through setgid tty executables.
605
606 Signed-off-by: Jann Horn <jann@thejh.net>
607 Cc: stable@vger.kernel.org
608 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
609
610 drivers/tty/tty_io.c | 31 +++++++++++++++++++++++++++----
611 1 files changed, 27 insertions(+), 4 deletions(-)
612
613 commit c2d51348729aa244b827216715db7734daf07155
614 Author: Brad Spengler <spender@grsecurity.net>
615 Date: Mon Oct 12 07:19:03 2015 -0400
616
617 Don't auto-enable UDEREF on x64 with a VirtualBox host
618
619 Conflicts:
620
621 security/Kconfig
622
623 security/Kconfig | 2 +-
624 1 files changed, 1 insertions(+), 1 deletions(-)
625
626 commit 45ff0fe97624b7133be6f0280ab8fda4610b7937
627 Merge: ca6828e 1c527d2
628 Author: Brad Spengler <spender@grsecurity.net>
629 Date: Sun Oct 11 17:17:58 2015 -0400
630
631 Merge branch 'pax-test' into grsec-test
632
633 Conflicts:
634 arch/x86/mm/pgtable.c
635
636 commit 1c527d25ad2ece4cdb4723047625d96b942a3b91
637 Author: Brad Spengler <spender@grsecurity.net>
638 Date: Sun Oct 11 17:16:49 2015 -0400
639
640 Update to pax-linux-4.2.3-test9.patch:
641 - really fixed vsyscall/pvclock regression caused by the recent page table hardening, reported by kamil (https://forums.grsecurity.net/viewtopic.php?f=3&t=4272) and quasar366 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4275)
642 - fixed a compilation error caused by the above regression, reported by spender
643 - fixed an arm compilation error, reported by Emese
644
645 arch/arm/kernel/module-plts.c | 7 +------
646 arch/x86/mm/pgtable.c | 21 +++++++++++++++++++--
647 2 files changed, 20 insertions(+), 8 deletions(-)
648
649 commit ca6828e73b10b4a7537b16a37c2c0280523171e1
650 Author: Trond Myklebust <trond.myklebust@primarydata.com>
651 Date: Fri Oct 9 13:44:34 2015 -0400
652
653 namei: results of d_is_negative() should be checked after dentry revalidation
654
655 Leandro Awa writes:
656 "After switching to version 4.1.6, our parallelized and distributed
657 workflows now fail consistently with errors of the form:
658
659 T34: ./regex.c:39:22: error: config.h: No such file or directory
660
661 From our 'git bisect' testing, the following commit appears to be the
662 possible cause of the behavior we've been seeing: commit 766c4cbfacd8"
663
664 Al Viro says:
665 "What happens is that 766c4cbfacd8 got the things subtly wrong.
666
667 We used to treat d_is_negative() after lookup_fast() as "fall with
668 ENOENT". That was wrong - checking ->d_flags outside of ->d_seq
669 protection is unreliable and failing with hard error on what should've
670 fallen back to non-RCU pathname resolution is a bug.
671
672 Unfortunately, we'd pulled the test too far up and ran afoul of
673 another kind of staleness. The dentry might have been absolutely
674 stable from the RCU point of view (and we might be on UP, etc), but
675 stale from the remote fs point of view. If ->d_revalidate() returns
676 "it's actually stale", dentry gets thrown away and the original code
677 wouldn't even have looked at its ->d_flags.
678
679 What we need is to check ->d_flags where 766c4cbfacd8 does (prior to
680 ->d_seq validation) but only use the result in cases where we do not
681 discard this dentry outright"
682
683 Reported-by: Leandro Awa <lawa@nvidia.com>
684 Link: https://bugzilla.kernel.org/show_bug.cgi?id=104911
685 Fixes: 766c4cbfacd8 ("namei: d_is_negative() should be checked...")
686 Tested-by: Leandro Awa <lawa@nvidia.com>
687 Cc: stable@vger.kernel.org # v4.1+
688 Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
689 Acked-by: Al Viro <viro@zeniv.linux.org.uk>
690 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
691
692 fs/namei.c | 8 ++++++--
693 1 files changed, 6 insertions(+), 2 deletions(-)
694
695 commit c0181260ce096a814637ad60e45a64c94840fffa
696 Author: Matt Fleming <matt.fleming@intel.com>
697 Date: Fri Sep 25 23:02:18 2015 +0100
698
699 x86/efi: Fix boot crash by mapping EFI memmap entries bottom-up at runtime, instead of top-down
700
701 Beginning with UEFI v2.5 EFI_PROPERTIES_TABLE was introduced
702 that signals that the firmware PE/COFF loader supports splitting
703 code and data sections of PE/COFF images into separate EFI
704 memory map entries. This allows the kernel to map those regions
705 with strict memory protections, e.g. EFI_MEMORY_RO for code,
706 EFI_MEMORY_XP for data, etc.
707
708 Unfortunately, an unwritten requirement of this new feature is
709 that the regions need to be mapped with the same offsets
710 relative to each other as observed in the EFI memory map. If
711 this is not done crashes like this may occur,
712
713 BUG: unable to handle kernel paging request at fffffffefe6086dd
714 IP: [<fffffffefe6086dd>] 0xfffffffefe6086dd
715 Call Trace:
716 [<ffffffff8104c90e>] efi_call+0x7e/0x100
717 [<ffffffff81602091>] ? virt_efi_set_variable+0x61/0x90
718 [<ffffffff8104c583>] efi_delete_dummy_variable+0x63/0x70
719 [<ffffffff81f4e4aa>] efi_enter_virtual_mode+0x383/0x392
720 [<ffffffff81f37e1b>] start_kernel+0x38a/0x417
721 [<ffffffff81f37495>] x86_64_start_reservations+0x2a/0x2c
722 [<ffffffff81f37582>] x86_64_start_kernel+0xeb/0xef
723
724 Here 0xfffffffefe6086dd refers to an address the firmware
725 expects to be mapped but which the OS never claimed was mapped.
726 The issue is that included in these regions are relative
727 addresses to other regions which were emitted by the firmware
728 toolchain before the "splitting" of sections occurred at
729 runtime.
730
731 Needless to say, we don't satisfy this unwritten requirement on
732 x86_64 and instead map the EFI memory map entries in reverse
733 order. The above crash is almost certainly triggerable with any
734 kernel newer than v3.13 because that's when we rewrote the EFI
735 runtime region mapping code, in commit d2f7cbe7b26a ("x86/efi:
736 Runtime services virtual mapping"). For kernel versions before
737 v3.13 things may work by pure luck depending on the
738 fragmentation of the kernel virtual address space at the time we
739 map the EFI regions.
740
741 Instead of mapping the EFI memory map entries in reverse order,
742 where entry N has a higher virtual address than entry N+1, map
743 them in the same order as they appear in the EFI memory map to
744 preserve this relative offset between regions.
745
746 This patch has been kept as small as possible with the intention
747 that it should be applied aggressively to stable and
748 distribution kernels. It is very much a bugfix rather than
749 support for a new feature, since when EFI_PROPERTIES_TABLE is
750 enabled we must map things as outlined above to even boot - we
751 have no way of asking the firmware not to split the code/data
752 regions.
753
754 In fact, this patch doesn't even make use of the more strict
755 memory protections available in UEFI v2.5. That will come later.
756
757 Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
758 Reported-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
759 Signed-off-by: Matt Fleming <matt.fleming@intel.com>
760 Cc: <stable@vger.kernel.org>
761 Cc: Borislav Petkov <bp@suse.de>
762 Cc: Chun-Yi <jlee@suse.com>
763 Cc: Dave Young <dyoung@redhat.com>
764 Cc: H. Peter Anvin <hpa@zytor.com>
765 Cc: James Bottomley <JBottomley@Odin.com>
766 Cc: Lee, Chun-Yi <jlee@suse.com>
767 Cc: Leif Lindholm <leif.lindholm@linaro.org>
768 Cc: Linus Torvalds <torvalds@linux-foundation.org>
769 Cc: Matthew Garrett <mjg59@srcf.ucam.org>
770 Cc: Mike Galbraith <efault@gmx.de>
771 Cc: Peter Jones <pjones@redhat.com>
772 Cc: Peter Zijlstra <peterz@infradead.org>
773 Cc: Thomas Gleixner <tglx@linutronix.de>
774 Cc: linux-kernel@vger.kernel.org
775 Link: http://lkml.kernel.org/r/1443218539-7610-2-git-send-email-matt@codeblueprint.co.uk
776 Signed-off-by: Ingo Molnar <mingo@kernel.org>
777
778 arch/x86/platform/efi/efi.c | 67 ++++++++++++++++++++++++++++++++++++++++++-
779 1 files changed, 66 insertions(+), 1 deletions(-)
780
781 commit 9377caab146791c8c587da3750d6eddcd01bdfba
782 Author: Ard Biesheuvel <ard.biesheuvel@linaro.org>
783 Date: Fri Sep 25 23:02:19 2015 +0100
784
785 arm64/efi: Fix boot crash by not padding between EFI_MEMORY_RUNTIME regions
786
787 The new Properties Table feature introduced in UEFIv2.5 may
788 split memory regions that cover PE/COFF memory images into
789 separate code and data regions. Since these regions only differ
790 in the type (runtime code vs runtime data) and the permission
791 bits, but not in the memory type attributes (UC/WC/WT/WB), the
792 spec does not require them to be aligned to 64 KB.
793
794 Since the relative offset of PE/COFF .text and .data segments
795 cannot be changed on the fly, this means that we can no longer
796 pad out those regions to be mappable using 64 KB pages.
797 Unfortunately, there is no annotation in the UEFI memory map
798 that identifies data regions that were split off from a code
799 region, so we must apply this logic to all adjacent runtime
800 regions whose attributes only differ in the permission bits.
801
802 So instead of rounding each memory region to 64 KB alignment at
803 both ends, only round down regions that are not directly
804 preceded by another runtime region with the same type
805 attributes. Since the UEFI spec does not mandate that the memory
806 map be sorted, this means we also need to sort it first.
807
808 Note that this change will result in all EFI_MEMORY_RUNTIME
809 regions whose start addresses are not aligned to the OS page
810 size to be mapped with executable permissions (i.e., on kernels
811 compiled with 64 KB pages). However, since these mappings are
812 only active during the time that UEFI Runtime Services are being
813 invoked, the window for abuse is rather small.
814
815 Tested-by: Mark Salter <msalter@redhat.com>
816 Tested-by: Mark Rutland <mark.rutland@arm.com> [UEFI 2.4 only]
817 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
818 Signed-off-by: Matt Fleming <matt.fleming@intel.com>
819 Reviewed-by: Mark Salter <msalter@redhat.com>
820 Reviewed-by: Mark Rutland <mark.rutland@arm.com>
821 Cc: <stable@vger.kernel.org> # v4.0+
822 Cc: Catalin Marinas <catalin.marinas@arm.com>
823 Cc: Leif Lindholm <leif.lindholm@linaro.org>
824 Cc: Linus Torvalds <torvalds@linux-foundation.org>
825 Cc: Mike Galbraith <efault@gmx.de>
826 Cc: Peter Zijlstra <peterz@infradead.org>
827 Cc: Thomas Gleixner <tglx@linutronix.de>
828 Cc: Will Deacon <will.deacon@arm.com>
829 Cc: linux-kernel@vger.kernel.org
830 Link: http://lkml.kernel.org/r/1443218539-7610-3-git-send-email-matt@codeblueprint.co.uk
831 Signed-off-by: Ingo Molnar <mingo@kernel.org>
832
833 arch/arm64/kernel/efi.c | 3 +-
834 drivers/firmware/efi/libstub/arm-stub.c | 88 +++++++++++++++++++++++++-----
835 2 files changed, 75 insertions(+), 16 deletions(-)
836
837 commit 189124f1e733622c44d72060832af3c68d7ee8bc
838 Author: Ralf Baechle <ralf@linux-mips.org>
839 Date: Fri Oct 2 09:48:57 2015 +0200
840
841 MIPS: BPF: Fix load delay slots.
842
843 The entire bpf_jit_asm.S is written in noreorder mode because "we know
844 better" according to a comment. This also prevented the assembler from
845 throwing in the required NOPs for MIPS I processors which have no
846 load-use interlock, thus the load's consumer might end up using the
847 old value of the register from prior to the load.
848
849 Fixed by putting the assembler in reorder mode for just the affected
850 load instructions. This is not enough for gas to actually try to be
851 clever by looking at the next instruction and inserting a nop only
852 when needed but as the comment said "we know better", so getting gas
853 to unconditionally emit a NOP is just right in this case and prevents
854 adding further ifdefery.
855
856 Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
857
858 arch/mips/net/bpf_jit_asm.S | 4 ++++
859 1 files changed, 4 insertions(+), 0 deletions(-)
860
861 commit b4b012d6599fbc3c6e81f0a03cd59eb9f0095ed8
862 Author: Lee, Chun-Yi <joeyli.kernel@gmail.com>
863 Date: Tue Sep 29 20:58:57 2015 +0800
864
865 x86/kexec: Fix kexec crash in syscall kexec_file_load()
866
867 The original bug is a page fault crash that sometimes happens
868 on big machines when preparing ELF headers:
869
870 BUG: unable to handle kernel paging request at ffffc90613fc9000
871 IP: [<ffffffff8103d645>] prepare_elf64_ram_headers_callback+0x165/0x260
872
873 The bug is caused by us under-counting the number of memory ranges
874 and subsequently not allocating enough ELF header space for them.
875 The bug is typically masked on smaller systems, because the ELF header
876 allocation is rounded up to the next page.
877
878 This patch modifies the code in fill_up_crash_elf_data() by using
879 walk_system_ram_res() instead of walk_system_ram_range() to correctly
880 count the max number of crash memory ranges. That's because the
881 walk_system_ram_range() filters out small memory regions that
882 reside in the same page, but walk_system_ram_res() does not.
883
884 Here's how I found the bug:
885
886 After tracing prepare_elf64_headers() and prepare_elf64_ram_headers_callback(),
887 the code uses walk_system_ram_res() to fill-in crash memory regions information
888 to the program header, so it counts those small memory regions that
889 reside in a page area.
890
891 But, when the kernel was using walk_system_ram_range() in
892 fill_up_crash_elf_data() to count the number of crash memory regions,
893 it filters out small regions.
894
895 I printed those small memory regions, for example:
896
897 kexec: Get nr_ram ranges. vaddr=0xffff880077592258 paddr=0x77592258, sz=0xdc0
898
899 Based on the code in walk_system_ram_range(), this memory region
900 will be filtered out:
901
902 pfn = (0x77592258 + 0x1000 - 1) >> 12 = 0x77593
903 end_pfn = (0x77592258 + 0xfc0 -1 + 1) >> 12 = 0x77593
904 end_pfn - pfn = 0x77593 - 0x77593 = 0 <=== if (end_pfn > pfn) is FALSE
905
906 So, the max_nr_ranges that's counted by the kernel doesn't include
907 small memory regions - causing us to under-allocate the required space.
908 That causes the page fault crash that happens in a later code path
909 when preparing ELF headers.
910
911 This bug is not easy to reproduce on small machines that have few
912 CPUs, because the allocated page aligned ELF buffer has more free
913 space to cover those small memory regions' PT_LOAD headers.
914
915 Signed-off-by: Lee, Chun-Yi <jlee@suse.com>
916 Cc: Andy Lutomirski <luto@kernel.org>
917 Cc: Baoquan He <bhe@redhat.com>
918 Cc: Jiang Liu <jiang.liu@linux.intel.com>
919 Cc: Linus Torvalds <torvalds@linux-foundation.org>
920 Cc: Mike Galbraith <efault@gmx.de>
921 Cc: Peter Zijlstra <peterz@infradead.org>
922 Cc: Stephen Rothwell <sfr@canb.auug.org.au>
923 Cc: Takashi Iwai <tiwai@suse.de>
924 Cc: Thomas Gleixner <tglx@linutronix.de>
925 Cc: Viresh Kumar <viresh.kumar@linaro.org>
926 Cc: Vivek Goyal <vgoyal@redhat.com>
927 Cc: kexec@lists.infradead.org
928 Cc: linux-kernel@vger.kernel.org
929 Cc: <stable@vger.kernel.org>
930 Link: http://lkml.kernel.org/r/1443531537-29436-1-git-send-email-jlee@suse.com
931 Signed-off-by: Ingo Molnar <mingo@kernel.org>
932
933 arch/x86/kernel/crash.c | 7 +++----
934 1 files changed, 3 insertions(+), 4 deletions(-)
935
936 commit bf91f1e0162bdd27ebd1411090a81fd9188daa4f
937 Author: Elad Raz <eladr@mellanox.com>
938 Date: Sat Aug 22 08:44:11 2015 +0300
939
940 netfilter: ipset: Fixing unnamed union init
941
942 In continue to proposed Vinson Lee's post [1], this patch fixes compilation
943 issues founded at gcc 4.4.7. The initialization of .cidr field of unnamed
944 unions causes compilation error in gcc 4.4.x.
945
946 References
947
948 Visible links
949 [1] https://lkml.org/lkml/2015/7/5/74
950
951 Signed-off-by: Elad Raz <eladr@mellanox.com>
952 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
953
954 net/netfilter/ipset/ip_set_hash_netnet.c | 20 ++++++++++++++++++--
955 net/netfilter/ipset/ip_set_hash_netportnet.c | 20 ++++++++++++++++++--
956 2 files changed, 36 insertions(+), 4 deletions(-)
957
958 commit fed13a5012b8d7e87a6f9efa2e40e0be28eaecd9
959 Author: Brad Spengler <spender@grsecurity.net>
960 Date: Fri Oct 9 23:12:43 2015 -0400
961
962 compile fix
963
964 arch/x86/mm/pgtable.c | 2 ++
965 1 files changed, 2 insertions(+), 0 deletions(-)
966
967 commit 58edc15a668a6dd90b3f66abc84b509f8fba7505
968 Author: Daniel Borkmann <daniel@iogearbox.net>
969 Date: Mon Aug 31 19:11:02 2015 +0200
970
971 netfilter: conntrack: use nf_ct_tmpl_free in CT/synproxy error paths
972
973 Commit 0838aa7fcfcd ("netfilter: fix netns dependencies with conntrack
974 templates") migrated templates to the new allocator api, but forgot to
975 update error paths for them in CT and synproxy to use nf_ct_tmpl_free()
976 instead of nf_conntrack_free().
977
978 Due to that, memory is being freed into the wrong kmemcache, but also
979 we drop the per net reference count of ct objects causing an imbalance.
980
981 In Brad's case, this leads to a wrap-around of net->ct.count and thus
982 lets __nf_conntrack_alloc() refuse to create a new ct object:
983
984 [ 10.340913] xt_addrtype: ipv6 does not support BROADCAST matching
985 [ 10.810168] nf_conntrack: table full, dropping packet
986 [ 11.917416] r8169 0000:07:00.0 eth0: link up
987 [ 11.917438] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
988 [ 12.815902] nf_conntrack: table full, dropping packet
989 [ 15.688561] nf_conntrack: table full, dropping packet
990 [ 15.689365] nf_conntrack: table full, dropping packet
991 [ 15.690169] nf_conntrack: table full, dropping packet
992 [ 15.690967] nf_conntrack: table full, dropping packet
993 [...]
994
995 With slab debugging, it also reports the wrong kmemcache (kmalloc-512 vs.
996 nf_conntrack_ffffffff81ce75c0) and reports poison overwrites, etc. Thus,
997 to fix the problem, export and use nf_ct_tmpl_free() instead.
998
999 Fixes: 0838aa7fcfcd ("netfilter: fix netns dependencies with conntrack templates")
1000 Reported-by: Brad Jackson <bjackson0971@gmail.com>
1001 Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
1002 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
1003
1004 include/net/netfilter/nf_conntrack.h | 1 +
1005 net/netfilter/nf_conntrack_core.c | 3 ++-
1006 net/netfilter/nf_synproxy_core.c | 2 +-
1007 net/netfilter/xt_CT.c | 2 +-
1008 4 files changed, 5 insertions(+), 3 deletions(-)
1009
1010 commit 37d26e44573aaa9c3b1f0c36ec9d4bddc008fc03
1011 Author: Brad Spengler <spender@grsecurity.net>
1012 Date: Fri Oct 9 18:22:54 2015 -0400
1013
1014 Fix BUG() in scatterwalk_map_and_copy caused by virt_to_page being
1015 called on the KSTACKOVERFLOW's vmalloc'd stack. Thanks to
1016 Yves-Alexis Perez for the report
1017
1018 crypto/scatterwalk.c | 10 ++++++++--
1019 1 files changed, 8 insertions(+), 2 deletions(-)
1020
1021 commit 8137d53d2b60023587a48004f0b67946ed6db4a8
1022 Merge: 147420b a9c991f
1023 Author: Brad Spengler <spender@grsecurity.net>
1024 Date: Fri Oct 9 18:20:32 2015 -0400
1025
1026 Merge branch 'pax-test' into grsec-test
1027
1028 commit a9c991f727bb8daf15838296e301683791c17071
1029 Author: Brad Spengler <spender@grsecurity.net>
1030 Date: Fri Oct 9 18:20:07 2015 -0400
1031
1032 Update to pax-linux-4.2.3-test8.patch:
1033 - fixed vsyscall/pvclock regression caused by the recent page table hardening, reported by kamil (https://forums.grsecurity.net/viewtopic.php?f=3&t=4272)
1034
1035 arch/x86/kernel/espfix_64.c | 4 +---
1036 arch/x86/kernel/kvmclock.c | 20 ++++++--------------
1037 arch/x86/mm/highmem_32.c | 2 ++
1038 arch/x86/mm/pgtable.c | 33 +++++++++++++++++++++++++++++++++
1039 4 files changed, 42 insertions(+), 17 deletions(-)
1040
1041 commit 147420b0f00c7f20f354e1dfa460b904a3af432b
1042 Author: Brad Spengler <spender@grsecurity.net>
1043 Date: Fri Oct 9 08:54:24 2015 -0400
1044
1045 Properly fix the bug reported at:
1046 https://code.google.com/p/android/issues/detail?id=187973
1047
1048 drivers/net/slip/slhc.c | 3 +++
1049 1 files changed, 3 insertions(+), 0 deletions(-)
1050
1051 commit 4918a68ea80e1185ec8f3a94d3a2210552ed0bb5
1052 Merge: 4e736d9 7e02f35
1053 Author: Brad Spengler <spender@grsecurity.net>
1054 Date: Wed Oct 7 20:57:21 2015 -0400
1055
1056 Merge branch 'pax-test' into grsec-test
1057
1058 Conflicts:
1059 arch/x86/kernel/espfix_64.c
1060
1061 commit 7e02f35880fd6bdb2f4e7ba07a13d6df1d121008
1062 Author: Brad Spengler <spender@grsecurity.net>
1063 Date: Wed Oct 7 20:54:36 2015 -0400
1064
1065 Update to pax-linux-4.2.3-test7.patch:
1066 - backported vanilla commits b763ec17ac762470eec5be8ebcc43e4f8b2c2b82 and 176fc2d5770a0990eebff903ba680d2edd32e718
1067 - constified a few more page tables for ESPFIX/amd64
1068 - fixed xen and the recently added level1_modules_pgt page tables on amd64
1069
1070 arch/x86/include/asm/pgtable_64.h | 1 +
1071 arch/x86/kernel/espfix_64.c | 35 +++++++++++++++++++++++----------
1072 arch/x86/xen/mmu.c | 4 +++
1073 drivers/base/regmap/regmap-debugfs.c | 14 +++++-------
1074 4 files changed, 35 insertions(+), 19 deletions(-)
1075
1076 commit 4e736d9e568f6cc0d08dfe7519abf9a5d58a5418
1077 Author: Robin Murphy <robin.murphy@arm.com>
1078 Date: Thu Oct 1 15:37:19 2015 -0700
1079
1080 dmapool: fix overflow condition in pool_find_page()
1081
1082 If a DMA pool lies at the very top of the dma_addr_t range (as may
1083 happen with an IOMMU involved), the calculated end address of the pool
1084 wraps around to zero, and page lookup always fails.
1085
1086 Tweak the relevant calculation to be overflow-proof.
1087
1088 Signed-off-by: Robin Murphy <robin.murphy@arm.com>
1089 Cc: Arnd Bergmann <arnd@arndb.de>
1090 Cc: Marek Szyprowski <m.szyprowski@samsung.com>
1091 Cc: Sumit Semwal <sumit.semwal@linaro.org>
1092 Cc: Sakari Ailus <sakari.ailus@iki.fi>
1093 Cc: Russell King <rmk+kernel@arm.linux.org.uk>
1094 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1095 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1096
1097 mm/dmapool.c | 2 +-
1098 1 files changed, 1 insertions(+), 1 deletions(-)
1099
1100 commit 96a101a9b4208a6e5f2a0db7599881142e70ba43
1101 Author: Greg Thelen <gthelen@google.com>
1102 Date: Thu Oct 1 15:37:05 2015 -0700
1103
1104 memcg: make mem_cgroup_read_stat() unsigned
1105
1106 mem_cgroup_read_stat() returns a page count by summing per cpu page
1107 counters. The summing is racy wrt. updates, so a transient negative
1108 sum is possible. Callers don't want negative values:
1109
1110 - mem_cgroup_wb_stats() doesn't want negative nr_dirty or nr_writeback.
1111 This could confuse dirty throttling.
1112
1113 - oom reports and memory.stat shouldn't show confusing negative usage.
1114
1115 - tree_usage() already avoids negatives.
1116
1117 Avoid returning negative page counts from mem_cgroup_read_stat() and
1118 convert it to unsigned.
1119
1120 [akpm@linux-foundation.org: fix old typo while we're in there]
1121 Signed-off-by: Greg Thelen <gthelen@google.com>
1122 Cc: Johannes Weiner <hannes@cmpxchg.org>
1123 Acked-by: Michal Hocko <mhocko@suse.com>
1124 Cc: <stable@vger.kernel.org> [4.2+]
1125 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1126 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1127
1128 mm/memcontrol.c | 30 ++++++++++++++++++------------
1129 1 files changed, 18 insertions(+), 12 deletions(-)
1130
1131 commit b7808c46650d5f4c09f071566de991af36eb9d37
1132 Author: Daniel Borkmann <daniel@iogearbox.net>
1133 Date: Fri Oct 2 12:06:03 2015 +0200
1134
1135 bpf: fix panic in SO_GET_FILTER with native ebpf programs
1136
1137 When sockets have a native eBPF program attached through
1138 setsockopt(sk, SOL_SOCKET, SO_ATTACH_BPF, ...), and then try to
1139 dump these over getsockopt(sk, SOL_SOCKET, SO_GET_FILTER, ...),
1140 the following panic appears:
1141
1142 [49904.178642] BUG: unable to handle kernel NULL pointer dereference at (null)
1143 [49904.178762] IP: [<ffffffff81610fd9>] sk_get_filter+0x39/0x90
1144 [49904.182000] PGD 86fc9067 PUD 531a1067 PMD 0
1145 [49904.185196] Oops: 0000 [#1] SMP
1146 [...]
1147 [49904.224677] Call Trace:
1148 [49904.226090] [<ffffffff815e3d49>] sock_getsockopt+0x319/0x740
1149 [49904.227535] [<ffffffff812f59e3>] ? sock_has_perm+0x63/0x70
1150 [49904.228953] [<ffffffff815e2fc8>] ? release_sock+0x108/0x150
1151 [49904.230380] [<ffffffff812f5a43>] ? selinux_socket_getsockopt+0x23/0x30
1152 [49904.231788] [<ffffffff815dff36>] SyS_getsockopt+0xa6/0xc0
1153 [49904.233267] [<ffffffff8171b9ae>] entry_SYSCALL_64_fastpath+0x12/0x71
1154
1155 The underlying issue is the very same as in commit b382c0865600
1156 ("sock, diag: fix panic in sock_diag_put_filterinfo"), that is,
1157 native eBPF programs don't store an original program since this
1158 is only needed in cBPF ones.
1159
1160 However, sk_get_filter() wasn't updated to test for this at the
1161 time when eBPF could be attached. Just throw an error to the user
1162 to indicate that eBPF cannot be dumped over this interface.
1163 That way, it can also be known that a program _is_ attached (as
1164 opposed to just return 0), and a different (future) method needs
1165 to be consulted for a dump.
1166
1167 Fixes: 89aa075832b0 ("net: sock: allow eBPF programs to be attached to sockets")
1168 Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
1169 Acked-by: Alexei Starovoitov <ast@plumgrid.com>
1170 Signed-off-by: David S. Miller <davem@davemloft.net>
1171
1172 net/core/filter.c | 6 +++++-
1173 1 files changed, 5 insertions(+), 1 deletions(-)
1174
1175 commit 40853c884afb5fc2dcb9f7fc34ef446162566fcc
1176 Author: Steve French <smfrench@gmail.com>
1177 Date: Mon Sep 28 17:21:07 2015 -0500
1178
1179 [SMB3] Do not fall back to SMBWriteX in set_file_size error cases
1180
1181 The error paths in set_file_size for cifs and smb3 are incorrect.
1182
1183 In the unlikely event that a server did not support set file info
1184 of the file size, the code incorrectly falls back to trying SMBWriteX
1185 (note that only the original core SMB Write, used for example by DOS,
1186 can set the file size this way - this actually does not work for the more
1187 recent SMBWriteX). The idea was since the old DOS SMB Write could set
1188 the file size if you write zero bytes at that offset then use that if
1189 server rejects the normal set file info call.
1190
1191 Fortunately the SMBWriteX will never be sent on the wire (except when
1192 file size is zero) since the length and offset fields were reversed
1193 in the two places in this function that call SMBWriteX causing
1194 the fall back path to return an error. It is also important to never call
1195 an SMB request from an SMB2/sMB3 session (which theoretically would
1196 be possible, and can cause a brief session drop, although the client
1197 recovers) so this should be fixed. In practice this path does not happen
1198 with modern servers but the error fall back to SMBWriteX is clearly wrong.
1199
1200 Removing the calls to SMBWriteX in the error paths in cifs_set_file_size
1201
1202 Pointed out by PaX/grsecurity team
1203
1204 Signed-off-by: Steve French <steve.french@primarydata.com>
1205 Reported-by: PaX Team <pageexec@freemail.hu>
1206 CC: Emese Revfy <re.emese@gmail.com>
1207 CC: Brad Spengler <spender@grsecurity.net>
1208 CC: Stable <stable@vger.kernel.org>
1209
1210 fs/cifs/inode.c | 34 ----------------------------------
1211 1 files changed, 0 insertions(+), 34 deletions(-)
1212
1213 commit f5fad97c967a08f4a89513969598b1d3c8232a38
1214 Author: Brad Spengler <spender@grsecurity.net>
1215 Date: Wed Oct 7 18:22:40 2015 -0400
1216
1217 Initial import of grsecurity for Linux 4.2.3
1218 Note that size_overflow is currently marked BROKEN
1219
1220 Documentation/dontdiff | 2 +
1221 Documentation/kernel-parameters.txt | 7 +
1222 Documentation/sysctl/kernel.txt | 15 +
1223 Makefile | 18 +-
1224 arch/alpha/include/asm/cache.h | 4 +-
1225 arch/alpha/kernel/osf_sys.c | 12 +-
1226 arch/arm/Kconfig | 1 +
1227 arch/arm/include/asm/thread_info.h | 9 +-
1228 arch/arm/kernel/process.c | 4 +-
1229 arch/arm/kernel/ptrace.c | 9 +
1230 arch/arm/kernel/traps.c | 7 +-
1231 arch/arm/mm/Kconfig | 2 +-
1232 arch/arm/mm/fault.c | 40 +-
1233 arch/arm/mm/mmap.c | 8 +-
1234 arch/arm/net/bpf_jit_32.c | 51 +-
1235 arch/avr32/include/asm/cache.h | 4 +-
1236 arch/blackfin/include/asm/cache.h | 3 +-
1237 arch/cris/include/arch-v10/arch/cache.h | 3 +-
1238 arch/cris/include/arch-v32/arch/cache.h | 3 +-
1239 arch/frv/include/asm/cache.h | 3 +-
1240 arch/frv/mm/elf-fdpic.c | 4 +-
1241 arch/hexagon/include/asm/cache.h | 6 +-
1242 arch/ia64/Kconfig | 1 +
1243 arch/ia64/include/asm/cache.h | 3 +-
1244 arch/ia64/kernel/sys_ia64.c | 2 +
1245 arch/ia64/mm/hugetlbpage.c | 2 +
1246 arch/m32r/include/asm/cache.h | 4 +-
1247 arch/m68k/include/asm/cache.h | 4 +-
1248 arch/metag/mm/hugetlbpage.c | 1 +
1249 arch/microblaze/include/asm/cache.h | 3 +-
1250 arch/mips/Kconfig | 1 +
1251 arch/mips/include/asm/cache.h | 3 +-
1252 arch/mips/include/asm/thread_info.h | 11 +-
1253 arch/mips/kernel/irq.c | 3 +
1254 arch/mips/kernel/ptrace.c | 9 +
1255 arch/mips/mm/mmap.c | 4 +-
1256 arch/mn10300/proc-mn103e010/include/proc/cache.h | 4 +-
1257 arch/mn10300/proc-mn2ws0050/include/proc/cache.h | 4 +-
1258 arch/openrisc/include/asm/cache.h | 4 +-
1259 arch/parisc/include/asm/cache.h | 5 +-
1260 arch/parisc/kernel/sys_parisc.c | 4 +
1261 arch/powerpc/Kconfig | 1 +
1262 arch/powerpc/include/asm/cache.h | 3 +-
1263 arch/powerpc/include/asm/thread_info.h | 5 +-
1264 arch/powerpc/kernel/Makefile | 2 +
1265 arch/powerpc/kernel/irq.c | 3 +
1266 arch/powerpc/kernel/process.c | 10 +-
1267 arch/powerpc/kernel/ptrace.c | 14 +
1268 arch/powerpc/kernel/traps.c | 5 +
1269 arch/powerpc/mm/slice.c | 2 +-
1270 arch/s390/include/asm/cache.h | 4 +-
1271 arch/score/include/asm/cache.h | 4 +-
1272 arch/sh/include/asm/cache.h | 3 +-
1273 arch/sh/mm/mmap.c | 6 +-
1274 arch/sparc/include/asm/cache.h | 4 +-
1275 arch/sparc/include/asm/pgalloc_64.h | 1 +
1276 arch/sparc/include/asm/thread_info_64.h | 8 +-
1277 arch/sparc/kernel/process_32.c | 6 +-
1278 arch/sparc/kernel/process_64.c | 8 +-
1279 arch/sparc/kernel/ptrace_64.c | 14 +
1280 arch/sparc/kernel/sys_sparc_64.c | 8 +-
1281 arch/sparc/kernel/syscalls.S | 8 +-
1282 arch/sparc/kernel/traps_32.c | 8 +-
1283 arch/sparc/kernel/traps_64.c | 28 +-
1284 arch/sparc/kernel/unaligned_64.c | 2 +-
1285 arch/sparc/mm/fault_64.c | 2 +-
1286 arch/sparc/mm/hugetlbpage.c | 15 +-
1287 arch/tile/Kconfig | 1 +
1288 arch/tile/include/asm/cache.h | 3 +-
1289 arch/tile/mm/hugetlbpage.c | 2 +
1290 arch/um/include/asm/cache.h | 3 +-
1291 arch/unicore32/include/asm/cache.h | 6 +-
1292 arch/x86/Kconfig | 21 +
1293 arch/x86/entry/entry_32.S | 2 +-
1294 arch/x86/entry/entry_64.S | 2 +-
1295 arch/x86/ia32/ia32_aout.c | 2 +
1296 arch/x86/include/asm/floppy.h | 20 +-
1297 arch/x86/include/asm/io.h | 2 +-
1298 arch/x86/include/asm/page.h | 12 +-
1299 arch/x86/include/asm/paravirt_types.h | 23 +-
1300 arch/x86/include/asm/processor.h | 2 +-
1301 arch/x86/include/asm/thread_info.h | 8 +-
1302 arch/x86/kernel/dumpstack.c | 10 +-
1303 arch/x86/kernel/dumpstack_32.c | 2 +-
1304 arch/x86/kernel/dumpstack_64.c | 2 +-
1305 arch/x86/kernel/espfix_64.c | 2 +-
1306 arch/x86/kernel/fpu/init.c | 4 +-
1307 arch/x86/kernel/ioport.c | 13 +
1308 arch/x86/kernel/irq_32.c | 3 +
1309 arch/x86/kernel/irq_64.c | 4 +
1310 arch/x86/kernel/ldt.c | 18 +
1311 arch/x86/kernel/msr.c | 10 +
1312 arch/x86/kernel/ptrace.c | 28 +
1313 arch/x86/kernel/signal.c | 9 +-
1314 arch/x86/kernel/sys_i386_32.c | 9 +-
1315 arch/x86/kernel/sys_x86_64.c | 8 +-
1316 arch/x86/kernel/traps.c | 5 +
1317 arch/x86/kernel/verify_cpu.S | 1 +
1318 arch/x86/kernel/vm86_32.c | 16 +
1319 arch/x86/mm/fault.c | 12 +-
1320 arch/x86/mm/hugetlbpage.c | 15 +-
1321 arch/x86/mm/init.c | 66 +-
1322 arch/x86/mm/init_32.c | 6 +-
1323 arch/x86/net/bpf_jit_comp.c | 4 +
1324 arch/x86/platform/efi/efi_64.c | 2 +-
1325 arch/x86/xen/Kconfig | 1 +
1326 arch/xtensa/variants/dc232b/include/variant/core.h | 2 +-
1327 arch/xtensa/variants/fsf/include/variant/core.h | 3 +-
1328 drivers/acpi/acpica/hwxfsleep.c | 11 +-
1329 drivers/acpi/custom_method.c | 4 +
1330 drivers/block/cciss.h | 30 +-
1331 drivers/block/smart1,2.h | 40 +-
1332 drivers/cdrom/cdrom.c | 2 +-
1333 drivers/char/Kconfig | 4 +-
1334 drivers/char/genrtc.c | 1 +
1335 drivers/char/mem.c | 17 +
1336 drivers/char/random.c | 5 +-
1337 drivers/cpufreq/sparc-us3-cpufreq.c | 2 -
1338 drivers/firewire/ohci.c | 4 +
1339 drivers/gpu/drm/drm_context.c | 50 +-
1340 drivers/gpu/drm/drm_drv.c | 11 +-
1341 drivers/gpu/drm/drm_lock.c | 18 +-
1342 drivers/gpu/drm/i915/i915_dma.c | 2 +
1343 drivers/gpu/drm/nouveau/nouveau_drm.c | 3 +-
1344 drivers/gpu/drm/nouveau/nouveau_ttm.c | 30 +-
1345 drivers/gpu/drm/ttm/ttm_bo_manager.c | 10 +-
1346 drivers/gpu/drm/virtio/virtgpu_ttm.c | 10 +-
1347 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c | 10 +-
1348 drivers/hid/hid-wiimote-debug.c | 2 +-
1349 drivers/infiniband/hw/nes/nes_cm.c | 22 +-
1350 drivers/iommu/amd_iommu.c | 14 +-
1351 drivers/isdn/gigaset/bas-gigaset.c | 32 +-
1352 drivers/isdn/gigaset/ser-gigaset.c | 32 +-
1353 drivers/isdn/gigaset/usb-gigaset.c | 32 +-
1354 drivers/isdn/i4l/isdn_concap.c | 6 +-
1355 drivers/isdn/i4l/isdn_x25iface.c | 16 +-
1356 drivers/md/raid5.c | 8 +
1357 drivers/media/pci/solo6x10/solo6x10-g723.c | 2 +-
1358 drivers/media/radio/radio-cadet.c | 5 +-
1359 drivers/media/usb/dvb-usb/cinergyT2-core.c | 91 +-
1360 drivers/media/usb/dvb-usb/cinergyT2-fe.c | 182 +-
1361 drivers/media/usb/dvb-usb/dvb-usb-firmware.c | 37 +-
1362 drivers/media/usb/dvb-usb/technisat-usb2.c | 75 +-
1363 drivers/message/fusion/mptbase.c | 9 +
1364 drivers/misc/sgi-xp/xp_main.c | 12 +-
1365 drivers/net/ethernet/brocade/bna/bna_enet.c | 8 +-
1366 drivers/net/wan/lmc/lmc_media.c | 97 +-
1367 drivers/net/wan/z85230.c | 24 +-
1368 drivers/net/wireless/zd1211rw/zd_usb.c | 2 +-
1369 drivers/pci/proc.c | 9 +
1370 drivers/platform/x86/asus-wmi.c | 12 +
1371 drivers/rtc/rtc-dev.c | 3 +
1372 drivers/scsi/bfa/bfa_fcs.c | 19 +-
1373 drivers/scsi/bfa/bfa_fcs_lport.c | 29 +-
1374 drivers/scsi/bfa/bfa_modules.h | 12 +-
1375 drivers/scsi/hpsa.h | 40 +-
1376 drivers/staging/lustre/lustre/ldlm/ldlm_flock.c | 2 +-
1377 drivers/staging/lustre/lustre/libcfs/module.c | 10 +-
1378 drivers/staging/sm750fb/sm750.c | 3 +
1379 drivers/tty/serial/uartlite.c | 4 +-
1380 drivers/tty/sysrq.c | 2 +-
1381 drivers/tty/vt/keyboard.c | 22 +-
1382 drivers/uio/uio.c | 6 +-
1383 drivers/usb/core/hub.c | 5 +
1384 drivers/usb/gadget/function/f_uac1.c | 1 +
1385 drivers/usb/gadget/function/u_uac1.c | 1 +
1386 drivers/usb/host/hwa-hc.c | 9 +-
1387 drivers/usb/usbip/vhci_sysfs.c | 2 +-
1388 drivers/video/fbdev/arcfb.c | 2 +-
1389 drivers/video/fbdev/matrox/matroxfb_DAC1064.c | 10 +-
1390 drivers/video/fbdev/matrox/matroxfb_Ti3026.c | 5 +-
1391 drivers/video/fbdev/sh_mobile_lcdcfb.c | 6 +-
1392 drivers/video/logo/logo_linux_clut224.ppm | 2720 ++++-----
1393 drivers/xen/xenfs/xenstored.c | 5 +
1394 firmware/Makefile | 2 +
1395 firmware/WHENCE | 20 +-
1396 firmware/bnx2/bnx2-mips-06-6.2.3.fw.ihex | 5804 +++++++++++++++++
1397 firmware/bnx2/bnx2-mips-09-6.2.1b.fw.ihex | 6496 ++++++++++++++++++++
1398 fs/attr.c | 1 +
1399 fs/autofs4/waitq.c | 9 +
1400 fs/binfmt_aout.c | 7 +
1401 fs/binfmt_elf.c | 40 +-
1402 fs/compat.c | 20 +-
1403 fs/coredump.c | 17 +-
1404 fs/dcache.c | 3 +
1405 fs/debugfs/inode.c | 11 +-
1406 fs/exec.c | 218 +-
1407 fs/ext2/balloc.c | 4 +-
1408 fs/ext2/super.c | 8 +-
1409 fs/ext3/balloc.c | 4 +-
1410 fs/ext3/super.c | 8 +-
1411 fs/ext4/balloc.c | 4 +-
1412 fs/fcntl.c | 4 +
1413 fs/fhandle.c | 3 +-
1414 fs/file.c | 4 +
1415 fs/filesystems.c | 4 +
1416 fs/fs_struct.c | 20 +-
1417 fs/hugetlbfs/inode.c | 5 +-
1418 fs/inode.c | 8 +-
1419 fs/kernfs/dir.c | 6 +
1420 fs/mount.h | 4 +-
1421 fs/namei.c | 285 +-
1422 fs/namespace.c | 24 +
1423 fs/nfsd/nfscache.c | 2 +-
1424 fs/open.c | 38 +
1425 fs/overlayfs/inode.c | 3 +
1426 fs/overlayfs/super.c | 6 +-
1427 fs/pipe.c | 2 +-
1428 fs/posix_acl.c | 15 +-
1429 fs/proc/Kconfig | 10 +-
1430 fs/proc/array.c | 66 +-
1431 fs/proc/base.c | 168 +-
1432 fs/proc/cmdline.c | 4 +
1433 fs/proc/devices.c | 4 +
1434 fs/proc/fd.c | 17 +-
1435 fs/proc/generic.c | 64 +
1436 fs/proc/inode.c | 17 +
1437 fs/proc/internal.h | 11 +-
1438 fs/proc/interrupts.c | 4 +
1439 fs/proc/kcore.c | 3 +
1440 fs/proc/proc_net.c | 31 +
1441 fs/proc/proc_sysctl.c | 52 +-
1442 fs/proc/root.c | 8 +
1443 fs/proc/stat.c | 69 +-
1444 fs/proc/task_mmu.c | 66 +-
1445 fs/readdir.c | 19 +
1446 fs/reiserfs/item_ops.c | 24 +-
1447 fs/reiserfs/super.c | 4 +
1448 fs/select.c | 2 +
1449 fs/seq_file.c | 30 +-
1450 fs/stat.c | 20 +-
1451 fs/sysfs/dir.c | 30 +-
1452 fs/utimes.c | 7 +
1453 fs/xattr.c | 26 +-
1454 grsecurity/Kconfig | 1182 ++++
1455 grsecurity/Makefile | 54 +
1456 grsecurity/gracl.c | 2757 +++++++++
1457 grsecurity/gracl_alloc.c | 105 +
1458 grsecurity/gracl_cap.c | 127 +
1459 grsecurity/gracl_compat.c | 269 +
1460 grsecurity/gracl_fs.c | 448 ++
1461 grsecurity/gracl_ip.c | 386 ++
1462 grsecurity/gracl_learn.c | 207 +
1463 grsecurity/gracl_policy.c | 1786 ++++++
1464 grsecurity/gracl_res.c | 68 +
1465 grsecurity/gracl_segv.c | 304 +
1466 grsecurity/gracl_shm.c | 40 +
1467 grsecurity/grsec_chdir.c | 19 +
1468 grsecurity/grsec_chroot.c | 467 ++
1469 grsecurity/grsec_disabled.c | 445 ++
1470 grsecurity/grsec_exec.c | 189 +
1471 grsecurity/grsec_fifo.c | 26 +
1472 grsecurity/grsec_fork.c | 23 +
1473 grsecurity/grsec_init.c | 290 +
1474 grsecurity/grsec_ipc.c | 48 +
1475 grsecurity/grsec_link.c | 65 +
1476 grsecurity/grsec_log.c | 340 +
1477 grsecurity/grsec_mem.c | 48 +
1478 grsecurity/grsec_mount.c | 65 +
1479 grsecurity/grsec_pax.c | 47 +
1480 grsecurity/grsec_proc.c | 20 +
1481 grsecurity/grsec_ptrace.c | 30 +
1482 grsecurity/grsec_sig.c | 236 +
1483 grsecurity/grsec_sock.c | 244 +
1484 grsecurity/grsec_sysctl.c | 488 ++
1485 grsecurity/grsec_time.c | 16 +
1486 grsecurity/grsec_tpe.c | 78 +
1487 grsecurity/grsec_usb.c | 15 +
1488 grsecurity/grsum.c | 64 +
1489 include/drm/drmP.h | 23 +-
1490 include/linux/binfmts.h | 5 +-
1491 include/linux/capability.h | 13 +
1492 include/linux/compiler-gcc.h | 5 +
1493 include/linux/compiler.h | 8 +
1494 include/linux/cred.h | 8 +-
1495 include/linux/dcache.h | 5 +-
1496 include/linux/fs.h | 24 +-
1497 include/linux/fs_struct.h | 2 +-
1498 include/linux/fsnotify.h | 6 +
1499 include/linux/gracl.h | 342 +
1500 include/linux/gracl_compat.h | 156 +
1501 include/linux/gralloc.h | 9 +
1502 include/linux/grdefs.h | 140 +
1503 include/linux/grinternal.h | 230 +
1504 include/linux/grmsg.h | 118 +
1505 include/linux/grsecurity.h | 249 +
1506 include/linux/grsock.h | 19 +
1507 include/linux/ipc.h | 2 +-
1508 include/linux/ipc_namespace.h | 2 +-
1509 include/linux/kallsyms.h | 18 +-
1510 include/linux/kmod.h | 5 +
1511 include/linux/kobject.h | 2 +-
1512 include/linux/lsm_hooks.h | 4 +-
1513 include/linux/mm.h | 12 +
1514 include/linux/mm_types.h | 4 +-
1515 include/linux/module.h | 5 +-
1516 include/linux/mount.h | 2 +-
1517 include/linux/netfilter/xt_gradm.h | 9 +
1518 include/linux/path.h | 4 +-
1519 include/linux/perf_event.h | 13 +-
1520 include/linux/pid_namespace.h | 2 +-
1521 include/linux/printk.h | 2 +-
1522 include/linux/proc_fs.h | 22 +-
1523 include/linux/proc_ns.h | 2 +-
1524 include/linux/random.h | 2 +-
1525 include/linux/rbtree_augmented.h | 4 +-
1526 include/linux/scatterlist.h | 12 +-
1527 include/linux/sched.h | 110 +-
1528 include/linux/security.h | 3 +-
1529 include/linux/seq_file.h | 5 +
1530 include/linux/shm.h | 6 +-
1531 include/linux/skbuff.h | 3 +
1532 include/linux/slab.h | 9 -
1533 include/linux/sysctl.h | 8 +-
1534 include/linux/thread_info.h | 6 +-
1535 include/linux/tty.h | 2 +-
1536 include/linux/tty_driver.h | 4 +-
1537 include/linux/uidgid.h | 5 +
1538 include/linux/user_namespace.h | 2 +-
1539 include/linux/utsname.h | 2 +-
1540 include/linux/vermagic.h | 16 +-
1541 include/linux/vmalloc.h | 8 +
1542 include/net/af_unix.h | 2 +-
1543 include/net/ip.h | 2 +-
1544 include/net/neighbour.h | 2 +-
1545 include/net/net_namespace.h | 2 +-
1546 include/net/sock.h | 2 +-
1547 include/trace/events/fs.h | 53 +
1548 include/uapi/drm/i915_drm.h | 1 +
1549 include/uapi/linux/personality.h | 1 +
1550 init/Kconfig | 3 +-
1551 init/main.c | 35 +-
1552 ipc/mqueue.c | 1 +
1553 ipc/msg.c | 14 +-
1554 ipc/shm.c | 36 +-
1555 ipc/util.c | 14 +-
1556 kernel/auditsc.c | 2 +-
1557 kernel/bpf/syscall.c | 8 +-
1558 kernel/capability.c | 41 +-
1559 kernel/cgroup.c | 5 +-
1560 kernel/compat.c | 1 +
1561 kernel/configs.c | 11 +
1562 kernel/cred.c | 112 +-
1563 kernel/events/core.c | 14 +-
1564 kernel/exit.c | 10 +-
1565 kernel/fork.c | 86 +-
1566 kernel/futex.c | 4 +-
1567 kernel/kallsyms.c | 9 +
1568 kernel/kcmp.c | 4 +
1569 kernel/kexec.c | 2 +-
1570 kernel/kmod.c | 95 +-
1571 kernel/kprobes.c | 7 +-
1572 kernel/ksysfs.c | 2 +
1573 kernel/locking/lockdep_proc.c | 10 +-
1574 kernel/module.c | 108 +-
1575 kernel/panic.c | 4 +-
1576 kernel/pid.c | 19 +-
1577 kernel/power/Kconfig | 2 +
1578 kernel/printk/printk.c | 7 +-
1579 kernel/ptrace.c | 20 +-
1580 kernel/resource.c | 10 +
1581 kernel/sched/core.c | 11 +-
1582 kernel/signal.c | 37 +-
1583 kernel/sys.c | 64 +-
1584 kernel/sysctl.c | 180 +-
1585 kernel/taskstats.c | 6 +
1586 kernel/time/posix-timers.c | 8 +
1587 kernel/time/time.c | 5 +
1588 kernel/time/timekeeping.c | 3 +
1589 kernel/time/timer_list.c | 13 +-
1590 kernel/time/timer_stats.c | 10 +-
1591 kernel/trace/trace_syscalls.c | 8 +
1592 kernel/user_namespace.c | 15 +
1593 lib/Kconfig.debug | 7 +-
1594 lib/is_single_threaded.c | 3 +
1595 lib/list_debug.c | 65 +-
1596 lib/nlattr.c | 2 +
1597 lib/rbtree.c | 4 +-
1598 lib/vsprintf.c | 39 +-
1599 localversion-grsec | 1 +
1600 mm/Kconfig | 5 +-
1601 mm/Kconfig.debug | 1 +
1602 mm/filemap.c | 1 +
1603 mm/hugetlb.c | 8 +
1604 mm/kmemleak.c | 4 +-
1605 mm/memory.c | 2 +-
1606 mm/mempolicy.c | 12 +-
1607 mm/migrate.c | 3 +-
1608 mm/mlock.c | 6 +-
1609 mm/mmap.c | 93 +-
1610 mm/mprotect.c | 8 +
1611 mm/page_alloc.c | 2 +-
1612 mm/process_vm_access.c | 6 +
1613 mm/shmem.c | 2 +-
1614 mm/slab.c | 27 +-
1615 mm/slab_common.c | 2 +-
1616 mm/slob.c | 12 +
1617 mm/slub.c | 33 +-
1618 mm/util.c | 3 +
1619 mm/vmalloc.c | 80 +-
1620 mm/vmstat.c | 29 +-
1621 net/appletalk/atalk_proc.c | 2 +-
1622 net/atm/lec.c | 6 +-
1623 net/atm/mpoa_caches.c | 42 +-
1624 net/can/bcm.c | 2 +-
1625 net/can/proc.c | 2 +-
1626 net/core/dev_ioctl.c | 7 +-
1627 net/core/filter.c | 8 +-
1628 net/core/net-procfs.c | 17 +-
1629 net/core/pktgen.c | 2 +-
1630 net/core/sock.c | 3 +-
1631 net/core/sysctl_net_core.c | 2 +-
1632 net/decnet/dn_dev.c | 2 +-
1633 net/ipv4/devinet.c | 6 +-
1634 net/ipv4/inet_hashtables.c | 5 +
1635 net/ipv4/ip_input.c | 7 +
1636 net/ipv4/ip_sockglue.c | 3 +-
1637 net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 +-
1638 net/ipv4/route.c | 6 +-
1639 net/ipv4/tcp_input.c | 4 +-
1640 net/ipv4/tcp_ipv4.c | 24 +-
1641 net/ipv4/tcp_minisocks.c | 9 +-
1642 net/ipv4/tcp_timer.c | 11 +
1643 net/ipv4/udp.c | 24 +
1644 net/ipv6/addrconf.c | 13 +-
1645 net/ipv6/proc.c | 2 +-
1646 net/ipv6/tcp_ipv6.c | 23 +-
1647 net/ipv6/udp.c | 7 +
1648 net/ipx/ipx_proc.c | 2 +-
1649 net/irda/irproc.c | 2 +-
1650 net/llc/llc_proc.c | 2 +-
1651 net/netfilter/Kconfig | 10 +
1652 net/netfilter/Makefile | 1 +
1653 net/netfilter/nf_conntrack_core.c | 8 +
1654 net/netfilter/xt_gradm.c | 51 +
1655 net/netfilter/xt_hashlimit.c | 4 +-
1656 net/netfilter/xt_recent.c | 2 +-
1657 net/socket.c | 71 +-
1658 net/sunrpc/cache.c | 2 +-
1659 net/sunrpc/stats.c | 2 +-
1660 net/sysctl_net.c | 2 +-
1661 net/unix/af_unix.c | 52 +-
1662 net/vmw_vsock/vmci_transport_notify.c | 30 +-
1663 net/vmw_vsock/vmci_transport_notify_qstate.c | 30 +-
1664 net/x25/sysctl_net_x25.c | 2 +-
1665 net/x25/x25_proc.c | 2 +-
1666 scripts/package/Makefile | 2 +-
1667 scripts/package/mkspec | 38 +-
1668 security/Kconfig | 370 +-
1669 security/apparmor/file.c | 4 +-
1670 security/apparmor/lsm.c | 8 +-
1671 security/commoncap.c | 29 +
1672 security/min_addr.c | 2 +
1673 security/tomoyo/file.c | 12 +-
1674 security/tomoyo/mount.c | 4 +
1675 security/tomoyo/tomoyo.c | 20 +-
1676 security/yama/Kconfig | 2 +-
1677 sound/synth/emux/emux_seq.c | 14 +-
1678 sound/usb/line6/driver.c | 40 +-
1679 sound/usb/line6/toneport.c | 12 +-
1680 tools/gcc/.gitignore | 1 +
1681 tools/gcc/Makefile | 12 +
1682 tools/gcc/gen-random-seed.sh | 8 +
1683 tools/gcc/randomize_layout_plugin.c | 930 +++
1684 tools/gcc/size_overflow_plugin/.gitignore | 1 +
1685 .../size_overflow_plugin/size_overflow_hash.data | 320 +-
1686 466 files changed, 32295 insertions(+), 2907 deletions(-)
1687
1688 commit fc19197ab5a42069863a7d88f1d41eb687697fe9
1689 Author: Brad Spengler <spender@grsecurity.net>
1690 Date: Sun Oct 4 20:43:51 2015 -0400
1691
1692 Update to pax-linux-4.2.3-test6.patch:
1693 - fixed a KERNEXEC/x86 and early ioremap regression, reported by spender
1694 - sanitized a few more top level page table entries on amd64
1695
1696 arch/x86/kernel/espfix_64.c | 2 +-
1697 arch/x86/kernel/head_64.S | 8 ++++----
1698 arch/x86/mm/ioremap.c | 6 +++++-
1699 3 files changed, 10 insertions(+), 6 deletions(-)
1700
1701 commit 23ac5415b9ef394e10b1516d3b314c742c6a3e59
1702 Author: Brad Spengler <spender@grsecurity.net>
1703 Date: Sun Oct 4 17:47:37 2015 -0400
1704
1705 Resync with pax-linux-4.2.3-test5.patch
1706
1707 arch/x86/include/asm/pgtable-2level.h | 20 ++++++++++++++++----
1708 arch/x86/include/asm/pgtable-3level.h | 8 ++++++++
1709 arch/x86/include/asm/pgtable_32.h | 2 --
1710 arch/x86/include/asm/pgtable_64.h | 20 ++++++++++++++++----
1711 arch/x86/mm/highmem_32.c | 2 --
1712 arch/x86/mm/init_64.c | 2 --
1713 arch/x86/mm/iomap_32.c | 4 ----
1714 arch/x86/mm/ioremap.c | 2 +-
1715 arch/x86/mm/pgtable.c | 2 --
1716 arch/x86/mm/pgtable_32.c | 3 ---
1717 mm/highmem.c | 6 +-----
1718 mm/vmalloc.c | 12 +-----------
1719 .../size_overflow_plugin/size_overflow_hash.data | 2 --
1720 13 files changed, 43 insertions(+), 42 deletions(-)
1721
1722 commit 25f4bed80f0d87783793a70d6c20080031a1fd38
1723 Author: Brad Spengler <spender@grsecurity.net>
1724 Date: Sun Oct 4 13:06:32 2015 -0400
1725
1726 Update to pax-linux-4.2.3-test5.patch:
1727 - forward port to 4.2.3
1728 - fixed integer sign conversion errors caused by ieee80211_tx_rate_control.max_rate_idx, caught by the size overflow plugin
1729 - fixed a bug in try_preserve_large_page that caused unnecessary large page split ups
1730 - increased the number of statically allocated kernel page tables under KERNEXEC/amd64
1731
1732 arch/x86/include/asm/pgtable-2level.h | 2 ++
1733 arch/x86/include/asm/pgtable-3level.h | 5 +++++
1734 arch/x86/include/asm/pgtable_64.h | 2 ++
1735 arch/x86/kernel/cpu/bugs_64.c | 2 ++
1736 arch/x86/kernel/head_64.S | 28 +++++++++++++++++++++++-----
1737 arch/x86/kernel/vmlinux.lds.S | 8 +++++++-
1738 arch/x86/mm/init.c | 18 ++++++++++++++----
1739 arch/x86/mm/ioremap.c | 8 ++++++--
1740 arch/x86/mm/pageattr.c | 5 ++---
1741 arch/x86/mm/pgtable.c | 2 ++
1742 include/asm-generic/sections.h | 1 +
1743 include/asm-generic/vmlinux.lds.h | 2 ++
1744 include/net/mac80211.h | 2 +-
1745 mm/vmalloc.c | 7 ++++++-
1746 14 files changed, 75 insertions(+), 17 deletions(-)
1747
1748 commit a2dce7cb2e3c389b7ef6c76c15ccdbf506007ddd
1749 Merge: d113ff6 fcba09f
1750 Author: Brad Spengler <spender@grsecurity.net>
1751 Date: Sat Oct 3 09:12:31 2015 -0400
1752
1753 Merge branch 'linux-4.2.y' into pax-test
1754
1755 commit d113ff6e7835e89e2b954503b1a100750ddb43c7
1756 Author: Brad Spengler <spender@grsecurity.net>
1757 Date: Thu Oct 1 21:34:12 2015 -0400
1758
1759 Update to pax-linux-4.2.2-test5.patch:
1760 - fixed a RANDKSTACK regression, reported by spender
1761 - fixed some more compiler warnings due to the ktla_ktva changes, reported by spender
1762
1763 arch/x86/entry/entry_64.S | 2 ++
1764 arch/x86/kernel/process.c | 1 +
1765 drivers/hv/hv.c | 2 +-
1766 drivers/lguest/x86/core.c | 4 ++--
1767 drivers/misc/kgdbts.c | 4 ++--
1768 drivers/video/fbdev/uvesafb.c | 4 ++--
1769 fs/binfmt_elf_fdpic.c | 2 +-
1770 7 files changed, 11 insertions(+), 8 deletions(-)
1771
1772 commit 149e32a4dddfae46e2490f011870cd4492ca946c
1773 Author: Brad Spengler <spender@grsecurity.net>
1774 Date: Tue Sep 29 16:31:50 2015 -0400
1775
1776 Update to pax-linux-4.2.2-test4.patch:
1777 - fixed a few compiler warnings caused by the recently reworked ktla_ktva/ktva_ktla functions, reported by spender
1778 - Emese fixed a size overflow false positive in the IDE driver, reported by spender
1779
1780 arch/x86/lib/insn.c | 2 +-
1781 drivers/ide/ide-disk.c | 2 +-
1782 drivers/video/fbdev/vesafb.c | 4 ++--
1783 fs/binfmt_elf.c | 2 +-
1784 .../size_overflow_plugin/size_overflow_plugin.c | 4 ++--
1785 .../size_overflow_transform_core.c | 11 +++++------
1786 6 files changed, 12 insertions(+), 13 deletions(-)
1787
1788 commit 02c41b848fbaddf82ce98690b23d3d85a94d55fe
1789 Merge: b8b2f5b 7659db3
1790 Author: Brad Spengler <spender@grsecurity.net>
1791 Date: Tue Sep 29 15:50:40 2015 -0400
1792
1793 Merge branch 'linux-4.2.y' into pax-test
1794
1795 Conflicts:
1796 fs/nfs/inode.c
1797
1798 commit b8b2f5bc93ced0ca9a8366d0f3fa09abd1ca7ac6
1799 Author: Brad Spengler <spender@grsecurity.net>
1800 Date: Tue Sep 29 09:13:54 2015 -0400
1801
1802 Initial import of pax-linux-4.2.1-test3.patch
1803
1804 Documentation/dontdiff | 47 +-
1805 Documentation/kbuild/makefiles.txt | 39 +-
1806 Documentation/kernel-parameters.txt | 28 +
1807 Makefile | 108 +-
1808 arch/alpha/include/asm/atomic.h | 10 +
1809 arch/alpha/include/asm/elf.h | 7 +
1810 arch/alpha/include/asm/pgalloc.h | 6 +
1811 arch/alpha/include/asm/pgtable.h | 11 +
1812 arch/alpha/kernel/module.c | 2 +-
1813 arch/alpha/kernel/osf_sys.c | 8 +-
1814 arch/alpha/mm/fault.c | 141 +-
1815 arch/arm/Kconfig | 2 +-
1816 arch/arm/include/asm/atomic.h | 319 +-
1817 arch/arm/include/asm/barrier.h | 2 +-
1818 arch/arm/include/asm/cache.h | 5 +-
1819 arch/arm/include/asm/cacheflush.h | 2 +-
1820 arch/arm/include/asm/checksum.h | 14 +-
1821 arch/arm/include/asm/cmpxchg.h | 4 +
1822 arch/arm/include/asm/cpuidle.h | 2 +-
1823 arch/arm/include/asm/domain.h | 33 +-
1824 arch/arm/include/asm/elf.h | 9 +-
1825 arch/arm/include/asm/fncpy.h | 2 +
1826 arch/arm/include/asm/futex.h | 10 +
1827 arch/arm/include/asm/kmap_types.h | 2 +-
1828 arch/arm/include/asm/mach/dma.h | 2 +-
1829 arch/arm/include/asm/mach/map.h | 16 +-
1830 arch/arm/include/asm/outercache.h | 2 +-
1831 arch/arm/include/asm/page.h | 3 +-
1832 arch/arm/include/asm/pgalloc.h | 20 +
1833 arch/arm/include/asm/pgtable-2level-hwdef.h | 4 +-
1834 arch/arm/include/asm/pgtable-2level.h | 3 +
1835 arch/arm/include/asm/pgtable-3level.h | 3 +
1836 arch/arm/include/asm/pgtable.h | 54 +-
1837 arch/arm/include/asm/psci.h | 2 +-
1838 arch/arm/include/asm/smp.h | 2 +-
1839 arch/arm/include/asm/thread_info.h | 6 +-
1840 arch/arm/include/asm/tls.h | 3 +
1841 arch/arm/include/asm/uaccess.h | 100 +-
1842 arch/arm/include/uapi/asm/ptrace.h | 2 +-
1843 arch/arm/kernel/armksyms.c | 8 +-
1844 arch/arm/kernel/cpuidle.c | 2 +-
1845 arch/arm/kernel/entry-armv.S | 110 +-
1846 arch/arm/kernel/entry-common.S | 40 +-
1847 arch/arm/kernel/entry-header.S | 60 +
1848 arch/arm/kernel/fiq.c | 3 +
1849 arch/arm/kernel/head.S | 2 +-
1850 arch/arm/kernel/module.c | 38 +-
1851 arch/arm/kernel/patch.c | 2 +
1852 arch/arm/kernel/process.c | 90 +-
1853 arch/arm/kernel/psci.c | 2 +-
1854 arch/arm/kernel/reboot.c | 1 +
1855 arch/arm/kernel/setup.c | 20 +-
1856 arch/arm/kernel/signal.c | 35 +-
1857 arch/arm/kernel/smp.c | 2 +-
1858 arch/arm/kernel/tcm.c | 4 +-
1859 arch/arm/kernel/traps.c | 6 +-
1860 arch/arm/kernel/vmlinux.lds.S | 6 +-
1861 arch/arm/kvm/arm.c | 10 +-
1862 arch/arm/lib/clear_user.S | 6 +-
1863 arch/arm/lib/copy_from_user.S | 6 +-
1864 arch/arm/lib/copy_page.S | 1 +
1865 arch/arm/lib/copy_to_user.S | 6 +-
1866 arch/arm/lib/csumpartialcopyuser.S | 4 +-
1867 arch/arm/lib/delay.c | 2 +-
1868 arch/arm/lib/uaccess_with_memcpy.c | 8 +-
1869 arch/arm/mach-exynos/suspend.c | 6 +-
1870 arch/arm/mach-mvebu/coherency.c | 4 +-
1871 arch/arm/mach-omap2/board-n8x0.c | 2 +-
1872 arch/arm/mach-omap2/omap-mpuss-lowpower.c | 4 +-
1873 arch/arm/mach-omap2/omap-smp.c | 1 +
1874 arch/arm/mach-omap2/omap-wakeupgen.c | 2 +-
1875 arch/arm/mach-omap2/omap_device.c | 4 +-
1876 arch/arm/mach-omap2/omap_device.h | 4 +-
1877 arch/arm/mach-omap2/omap_hwmod.c | 4 +-
1878 arch/arm/mach-omap2/powerdomains43xx_data.c | 5 +-
1879 arch/arm/mach-omap2/wd_timer.c | 6 +-
1880 arch/arm/mach-shmobile/platsmp-apmu.c | 5 +-
1881 arch/arm/mach-shmobile/pm-r8a7740.c | 5 +-
1882 arch/arm/mach-shmobile/pm-sh73a0.c | 5 +-
1883 arch/arm/mach-tegra/cpuidle-tegra20.c | 2 +-
1884 arch/arm/mach-tegra/irq.c | 1 +
1885 arch/arm/mach-ux500/pm.c | 1 +
1886 arch/arm/mach-zynq/platsmp.c | 1 +
1887 arch/arm/mm/Kconfig | 6 +-
1888 arch/arm/mm/alignment.c | 8 +
1889 arch/arm/mm/cache-l2x0.c | 2 +-
1890 arch/arm/mm/context.c | 10 +-
1891 arch/arm/mm/fault.c | 146 +
1892 arch/arm/mm/fault.h | 12 +
1893 arch/arm/mm/init.c | 39 +
1894 arch/arm/mm/ioremap.c | 4 +-
1895 arch/arm/mm/mmap.c | 30 +-
1896 arch/arm/mm/mmu.c | 182 +-
1897 arch/arm/net/bpf_jit_32.c | 3 +
1898 arch/arm/plat-iop/setup.c | 2 +-
1899 arch/arm/plat-omap/sram.c | 2 +
1900 arch/arm64/include/asm/atomic.h | 10 +
1901 arch/arm64/include/asm/barrier.h | 2 +-
1902 arch/arm64/include/asm/percpu.h | 8 +-
1903 arch/arm64/include/asm/pgalloc.h | 5 +
1904 arch/arm64/include/asm/uaccess.h | 1 +
1905 arch/arm64/mm/dma-mapping.c | 2 +-
1906 arch/avr32/include/asm/elf.h | 8 +-
1907 arch/avr32/include/asm/kmap_types.h | 4 +-
1908 arch/avr32/mm/fault.c | 27 +
1909 arch/frv/include/asm/atomic.h | 10 +
1910 arch/frv/include/asm/kmap_types.h | 2 +-
1911 arch/frv/mm/elf-fdpic.c | 3 +-
1912 arch/ia64/Makefile | 1 +
1913 arch/ia64/include/asm/atomic.h | 10 +
1914 arch/ia64/include/asm/barrier.h | 2 +-
1915 arch/ia64/include/asm/elf.h | 7 +
1916 arch/ia64/include/asm/pgalloc.h | 12 +
1917 arch/ia64/include/asm/pgtable.h | 13 +-
1918 arch/ia64/include/asm/spinlock.h | 2 +-
1919 arch/ia64/include/asm/uaccess.h | 27 +-
1920 arch/ia64/kernel/module.c | 45 +-
1921 arch/ia64/kernel/palinfo.c | 2 +-
1922 arch/ia64/kernel/sys_ia64.c | 7 +
1923 arch/ia64/kernel/vmlinux.lds.S | 2 +-
1924 arch/ia64/mm/fault.c | 32 +-
1925 arch/ia64/mm/init.c | 15 +-
1926 arch/m32r/lib/usercopy.c | 6 +
1927 arch/metag/include/asm/barrier.h | 2 +-
1928 arch/mips/cavium-octeon/dma-octeon.c | 2 +-
1929 arch/mips/include/asm/atomic.h | 355 +-
1930 arch/mips/include/asm/barrier.h | 2 +-
1931 arch/mips/include/asm/elf.h | 7 +
1932 arch/mips/include/asm/exec.h | 2 +-
1933 arch/mips/include/asm/hw_irq.h | 2 +-
1934 arch/mips/include/asm/local.h | 57 +
1935 arch/mips/include/asm/page.h | 2 +-
1936 arch/mips/include/asm/pgalloc.h | 5 +
1937 arch/mips/include/asm/pgtable.h | 3 +
1938 arch/mips/include/asm/uaccess.h | 1 +
1939 arch/mips/kernel/binfmt_elfn32.c | 7 +
1940 arch/mips/kernel/binfmt_elfo32.c | 7 +
1941 arch/mips/kernel/i8259.c | 2 +-
1942 arch/mips/kernel/irq-gt641xx.c | 2 +-
1943 arch/mips/kernel/irq.c | 6 +-
1944 arch/mips/kernel/pm-cps.c | 2 +-
1945 arch/mips/kernel/process.c | 12 -
1946 arch/mips/kernel/sync-r4k.c | 24 +-
1947 arch/mips/kernel/traps.c | 13 +-
1948 arch/mips/kvm/mips.c | 2 +-
1949 arch/mips/mm/fault.c | 25 +
1950 arch/mips/mm/mmap.c | 51 +-
1951 arch/mips/sgi-ip27/ip27-nmi.c | 6 +-
1952 arch/mips/sni/rm200.c | 2 +-
1953 arch/mips/vr41xx/common/icu.c | 2 +-
1954 arch/mips/vr41xx/common/irq.c | 4 +-
1955 arch/parisc/include/asm/atomic.h | 10 +
1956 arch/parisc/include/asm/elf.h | 7 +
1957 arch/parisc/include/asm/pgalloc.h | 6 +
1958 arch/parisc/include/asm/pgtable.h | 11 +
1959 arch/parisc/include/asm/uaccess.h | 4 +-
1960 arch/parisc/kernel/module.c | 50 +-
1961 arch/parisc/kernel/sys_parisc.c | 15 +
1962 arch/parisc/kernel/traps.c | 4 +-
1963 arch/parisc/mm/fault.c | 140 +-
1964 arch/powerpc/include/asm/atomic.h | 329 +-
1965 arch/powerpc/include/asm/barrier.h | 2 +-
1966 arch/powerpc/include/asm/elf.h | 12 +
1967 arch/powerpc/include/asm/exec.h | 2 +-
1968 arch/powerpc/include/asm/kmap_types.h | 2 +-
1969 arch/powerpc/include/asm/local.h | 46 +
1970 arch/powerpc/include/asm/mman.h | 2 +-
1971 arch/powerpc/include/asm/page.h | 8 +-
1972 arch/powerpc/include/asm/page_64.h | 7 +-
1973 arch/powerpc/include/asm/pgalloc-64.h | 7 +
1974 arch/powerpc/include/asm/pgtable.h | 1 +
1975 arch/powerpc/include/asm/pte-hash32.h | 1 +
1976 arch/powerpc/include/asm/reg.h | 1 +
1977 arch/powerpc/include/asm/smp.h | 2 +-
1978 arch/powerpc/include/asm/spinlock.h | 42 +-
1979 arch/powerpc/include/asm/uaccess.h | 141 +-
1980 arch/powerpc/kernel/Makefile | 5 +
1981 arch/powerpc/kernel/exceptions-64e.S | 4 +-
1982 arch/powerpc/kernel/exceptions-64s.S | 2 +-
1983 arch/powerpc/kernel/module_32.c | 15 +-
1984 arch/powerpc/kernel/process.c | 46 -
1985 arch/powerpc/kernel/signal_32.c | 2 +-
1986 arch/powerpc/kernel/signal_64.c | 2 +-
1987 arch/powerpc/kernel/traps.c | 21 +
1988 arch/powerpc/kernel/vdso.c | 5 +-
1989 arch/powerpc/kvm/powerpc.c | 2 +-
1990 arch/powerpc/lib/usercopy_64.c | 18 -
1991 arch/powerpc/mm/fault.c | 56 +-
1992 arch/powerpc/mm/mmap.c | 16 +
1993 arch/powerpc/mm/slice.c | 13 +-
1994 arch/powerpc/platforms/cell/spufs/file.c | 4 +-
1995 arch/s390/include/asm/atomic.h | 10 +
1996 arch/s390/include/asm/barrier.h | 2 +-
1997 arch/s390/include/asm/elf.h | 7 +
1998 arch/s390/include/asm/exec.h | 2 +-
1999 arch/s390/include/asm/uaccess.h | 13 +-
2000 arch/s390/kernel/module.c | 22 +-
2001 arch/s390/kernel/process.c | 24 -
2002 arch/s390/mm/mmap.c | 16 +
2003 arch/score/include/asm/exec.h | 2 +-
2004 arch/score/kernel/process.c | 5 -
2005 arch/sh/mm/mmap.c | 22 +-
2006 arch/sparc/include/asm/atomic_64.h | 110 +-
2007 arch/sparc/include/asm/barrier_64.h | 2 +-
2008 arch/sparc/include/asm/cache.h | 2 +-
2009 arch/sparc/include/asm/elf_32.h | 7 +
2010 arch/sparc/include/asm/elf_64.h | 7 +
2011 arch/sparc/include/asm/pgalloc_32.h | 1 +
2012 arch/sparc/include/asm/pgalloc_64.h | 1 +
2013 arch/sparc/include/asm/pgtable.h | 4 +
2014 arch/sparc/include/asm/pgtable_32.h | 15 +-
2015 arch/sparc/include/asm/pgtsrmmu.h | 5 +
2016 arch/sparc/include/asm/setup.h | 4 +-
2017 arch/sparc/include/asm/spinlock_64.h | 35 +-
2018 arch/sparc/include/asm/thread_info_32.h | 1 +
2019 arch/sparc/include/asm/thread_info_64.h | 2 +
2020 arch/sparc/include/asm/uaccess.h | 1 +
2021 arch/sparc/include/asm/uaccess_32.h | 28 +-
2022 arch/sparc/include/asm/uaccess_64.h | 24 +-
2023 arch/sparc/kernel/Makefile | 2 +-
2024 arch/sparc/kernel/prom_common.c | 2 +-
2025 arch/sparc/kernel/smp_64.c | 8 +-
2026 arch/sparc/kernel/sys_sparc_32.c | 2 +-
2027 arch/sparc/kernel/sys_sparc_64.c | 52 +-
2028 arch/sparc/kernel/traps_64.c | 27 +-
2029 arch/sparc/lib/Makefile | 2 +-
2030 arch/sparc/lib/atomic_64.S | 57 +-
2031 arch/sparc/lib/ksyms.c | 6 +-
2032 arch/sparc/mm/Makefile | 2 +-
2033 arch/sparc/mm/fault_32.c | 292 +
2034 arch/sparc/mm/fault_64.c | 486 +
2035 arch/sparc/mm/hugetlbpage.c | 22 +-
2036 arch/sparc/mm/init_64.c | 10 +-
2037 arch/tile/include/asm/atomic_64.h | 10 +
2038 arch/tile/include/asm/uaccess.h | 4 +-
2039 arch/um/Makefile | 4 +
2040 arch/um/include/asm/kmap_types.h | 2 +-
2041 arch/um/include/asm/page.h | 3 +
2042 arch/um/include/asm/pgtable-3level.h | 1 +
2043 arch/um/kernel/process.c | 16 -
2044 arch/x86/Kconfig | 15 +-
2045 arch/x86/Kconfig.cpu | 6 +-
2046 arch/x86/Kconfig.debug | 4 +-
2047 arch/x86/Makefile | 13 +-
2048 arch/x86/boot/Makefile | 3 +
2049 arch/x86/boot/bitops.h | 4 +-
2050 arch/x86/boot/boot.h | 2 +-
2051 arch/x86/boot/compressed/Makefile | 3 +
2052 arch/x86/boot/compressed/efi_stub_32.S | 16 +-
2053 arch/x86/boot/compressed/efi_thunk_64.S | 4 +-
2054 arch/x86/boot/compressed/head_32.S | 4 +-
2055 arch/x86/boot/compressed/head_64.S | 12 +-
2056 arch/x86/boot/compressed/misc.c | 11 +-
2057 arch/x86/boot/cpucheck.c | 16 +-
2058 arch/x86/boot/header.S | 6 +-
2059 arch/x86/boot/memory.c | 2 +-
2060 arch/x86/boot/video-vesa.c | 1 +
2061 arch/x86/boot/video.c | 2 +-
2062 arch/x86/crypto/aes-x86_64-asm_64.S | 4 +
2063 arch/x86/crypto/aesni-intel_asm.S | 106 +-
2064 arch/x86/crypto/blowfish-x86_64-asm_64.S | 7 +
2065 arch/x86/crypto/camellia-aesni-avx-asm_64.S | 10 +
2066 arch/x86/crypto/camellia-aesni-avx2-asm_64.S | 10 +
2067 arch/x86/crypto/camellia-x86_64-asm_64.S | 7 +
2068 arch/x86/crypto/cast5-avx-x86_64-asm_64.S | 51 +-
2069 arch/x86/crypto/cast6-avx-x86_64-asm_64.S | 25 +-
2070 arch/x86/crypto/crc32c-pcl-intel-asm_64.S | 4 +-
2071 arch/x86/crypto/ghash-clmulni-intel_asm.S | 4 +
2072 arch/x86/crypto/salsa20-x86_64-asm_64.S | 4 +
2073 arch/x86/crypto/serpent-avx-x86_64-asm_64.S | 9 +
2074 arch/x86/crypto/serpent-avx2-asm_64.S | 9 +
2075 arch/x86/crypto/serpent-sse2-x86_64-asm_64.S | 4 +
2076 arch/x86/crypto/sha1_ssse3_asm.S | 10 +-
2077 arch/x86/crypto/sha256-avx-asm.S | 2 +
2078 arch/x86/crypto/sha256-avx2-asm.S | 2 +
2079 arch/x86/crypto/sha256-ssse3-asm.S | 2 +
2080 arch/x86/crypto/sha512-avx-asm.S | 2 +
2081 arch/x86/crypto/sha512-avx2-asm.S | 2 +
2082 arch/x86/crypto/sha512-ssse3-asm.S | 2 +
2083 arch/x86/crypto/twofish-avx-x86_64-asm_64.S | 25 +-
2084 arch/x86/crypto/twofish-x86_64-asm_64-3way.S | 4 +
2085 arch/x86/crypto/twofish-x86_64-asm_64.S | 3 +
2086 arch/x86/entry/calling.h | 92 +-
2087 arch/x86/entry/entry_32.S | 360 +-
2088 arch/x86/entry/entry_64.S | 636 +-
2089 arch/x86/entry/entry_64_compat.S | 159 +-
2090 arch/x86/entry/thunk_64.S | 2 +
2091 arch/x86/entry/vdso/Makefile | 2 +-
2092 arch/x86/entry/vdso/vdso2c.h | 4 +-
2093 arch/x86/entry/vdso/vma.c | 41 +-
2094 arch/x86/entry/vsyscall/vsyscall_64.c | 16 +-
2095 arch/x86/ia32/ia32_signal.c | 23 +-
2096 arch/x86/ia32/sys_ia32.c | 42 +-
2097 arch/x86/include/asm/alternative-asm.h | 43 +-
2098 arch/x86/include/asm/alternative.h | 4 +-
2099 arch/x86/include/asm/apic.h | 2 +-
2100 arch/x86/include/asm/apm.h | 4 +-
2101 arch/x86/include/asm/atomic.h | 269 +-
2102 arch/x86/include/asm/atomic64_32.h | 100 +
2103 arch/x86/include/asm/atomic64_64.h | 164 +-
2104 arch/x86/include/asm/barrier.h | 4 +-
2105 arch/x86/include/asm/bitops.h | 18 +-
2106 arch/x86/include/asm/boot.h | 2 +-
2107 arch/x86/include/asm/cache.h | 5 +-
2108 arch/x86/include/asm/checksum_32.h | 12 +-
2109 arch/x86/include/asm/cmpxchg.h | 39 +
2110 arch/x86/include/asm/compat.h | 2 +-
2111 arch/x86/include/asm/cpufeature.h | 17 +-
2112 arch/x86/include/asm/desc.h | 78 +-
2113 arch/x86/include/asm/desc_defs.h | 6 +
2114 arch/x86/include/asm/div64.h | 2 +-
2115 arch/x86/include/asm/elf.h | 33 +-
2116 arch/x86/include/asm/emergency-restart.h | 2 +-
2117 arch/x86/include/asm/fpu/internal.h | 36 +-
2118 arch/x86/include/asm/fpu/types.h | 5 +-
2119 arch/x86/include/asm/futex.h | 14 +-
2120 arch/x86/include/asm/hw_irq.h | 4 +-
2121 arch/x86/include/asm/i8259.h | 2 +-
2122 arch/x86/include/asm/io.h | 22 +-
2123 arch/x86/include/asm/irqflags.h | 5 +
2124 arch/x86/include/asm/kprobes.h | 9 +-
2125 arch/x86/include/asm/local.h | 106 +-
2126 arch/x86/include/asm/mman.h | 15 +
2127 arch/x86/include/asm/mmu.h | 14 +-
2128 arch/x86/include/asm/mmu_context.h | 138 +-
2129 arch/x86/include/asm/module.h | 17 +-
2130 arch/x86/include/asm/nmi.h | 19 +-
2131 arch/x86/include/asm/page.h | 1 +
2132 arch/x86/include/asm/page_32.h | 12 +-
2133 arch/x86/include/asm/page_64.h | 14 +-
2134 arch/x86/include/asm/paravirt.h | 46 +-
2135 arch/x86/include/asm/paravirt_types.h | 15 +-
2136 arch/x86/include/asm/pgalloc.h | 23 +
2137 arch/x86/include/asm/pgtable-2level.h | 2 +
2138 arch/x86/include/asm/pgtable-3level.h | 4 +
2139 arch/x86/include/asm/pgtable.h | 128 +-
2140 arch/x86/include/asm/pgtable_32.h | 14 +-
2141 arch/x86/include/asm/pgtable_32_types.h | 24 +-
2142 arch/x86/include/asm/pgtable_64.h | 22 +-
2143 arch/x86/include/asm/pgtable_64_types.h | 5 +
2144 arch/x86/include/asm/pgtable_types.h | 26 +-
2145 arch/x86/include/asm/preempt.h | 2 +-
2146 arch/x86/include/asm/processor.h | 59 +-
2147 arch/x86/include/asm/ptrace.h | 21 +-
2148 arch/x86/include/asm/qrwlock.h | 4 +-
2149 arch/x86/include/asm/realmode.h | 4 +-
2150 arch/x86/include/asm/reboot.h | 10 +-
2151 arch/x86/include/asm/rmwcc.h | 84 +-
2152 arch/x86/include/asm/rwsem.h | 60 +-
2153 arch/x86/include/asm/segment.h | 27 +-
2154 arch/x86/include/asm/smap.h | 43 +
2155 arch/x86/include/asm/smp.h | 14 +-
2156 arch/x86/include/asm/stackprotector.h | 4 +-
2157 arch/x86/include/asm/stacktrace.h | 32 +-
2158 arch/x86/include/asm/switch_to.h | 4 +-
2159 arch/x86/include/asm/sys_ia32.h | 6 +-
2160 arch/x86/include/asm/thread_info.h | 27 +-
2161 arch/x86/include/asm/tlbflush.h | 77 +-
2162 arch/x86/include/asm/uaccess.h | 192 +-
2163 arch/x86/include/asm/uaccess_32.h | 28 +-
2164 arch/x86/include/asm/uaccess_64.h | 169 +-
2165 arch/x86/include/asm/word-at-a-time.h | 2 +-
2166 arch/x86/include/asm/x86_init.h | 10 +-
2167 arch/x86/include/asm/xen/page.h | 2 +-
2168 arch/x86/include/uapi/asm/e820.h | 2 +-
2169 arch/x86/kernel/Makefile | 2 +-
2170 arch/x86/kernel/acpi/boot.c | 4 +-
2171 arch/x86/kernel/acpi/sleep.c | 4 +
2172 arch/x86/kernel/acpi/wakeup_32.S | 6 +-
2173 arch/x86/kernel/alternative.c | 124 +-
2174 arch/x86/kernel/apic/apic.c | 4 +-
2175 arch/x86/kernel/apic/apic_flat_64.c | 4 +-
2176 arch/x86/kernel/apic/apic_noop.c | 2 +-
2177 arch/x86/kernel/apic/bigsmp_32.c | 2 +-
2178 arch/x86/kernel/apic/io_apic.c | 8 +-
2179 arch/x86/kernel/apic/msi.c | 2 +-
2180 arch/x86/kernel/apic/probe_32.c | 2 +-
2181 arch/x86/kernel/apic/vector.c | 4 +-
2182 arch/x86/kernel/apic/x2apic_cluster.c | 4 +-
2183 arch/x86/kernel/apic/x2apic_phys.c | 2 +-
2184 arch/x86/kernel/apic/x2apic_uv_x.c | 2 +-
2185 arch/x86/kernel/apm_32.c | 21 +-
2186 arch/x86/kernel/asm-offsets.c | 20 +
2187 arch/x86/kernel/asm-offsets_64.c | 1 +
2188 arch/x86/kernel/cpu/Makefile | 4 -
2189 arch/x86/kernel/cpu/amd.c | 2 +-
2190 arch/x86/kernel/cpu/common.c | 202 +-
2191 arch/x86/kernel/cpu/intel_cacheinfo.c | 14 +-
2192 arch/x86/kernel/cpu/mcheck/mce.c | 31 +-
2193 arch/x86/kernel/cpu/mcheck/p5.c | 3 +
2194 arch/x86/kernel/cpu/mcheck/winchip.c | 3 +
2195 arch/x86/kernel/cpu/microcode/core.c | 2 +-
2196 arch/x86/kernel/cpu/microcode/intel.c | 4 +-
2197 arch/x86/kernel/cpu/mtrr/main.c | 2 +-
2198 arch/x86/kernel/cpu/mtrr/mtrr.h | 2 +-
2199 arch/x86/kernel/cpu/perf_event.c | 10 +-
2200 arch/x86/kernel/cpu/perf_event_amd_iommu.c | 2 +-
2201 arch/x86/kernel/cpu/perf_event_intel.c | 6 +-
2202 arch/x86/kernel/cpu/perf_event_intel_bts.c | 6 +-
2203 arch/x86/kernel/cpu/perf_event_intel_cqm.c | 4 +-
2204 arch/x86/kernel/cpu/perf_event_intel_pt.c | 44 +-
2205 arch/x86/kernel/cpu/perf_event_intel_rapl.c | 2 +-
2206 arch/x86/kernel/cpu/perf_event_intel_uncore.c | 2 +-
2207 arch/x86/kernel/cpu/perf_event_intel_uncore.h | 2 +-
2208 arch/x86/kernel/cpuid.c | 2 +-
2209 arch/x86/kernel/crash_dump_64.c | 2 +-
2210 arch/x86/kernel/doublefault.c | 8 +-
2211 arch/x86/kernel/dumpstack.c | 24 +-
2212 arch/x86/kernel/dumpstack_32.c | 25 +-
2213 arch/x86/kernel/dumpstack_64.c | 62 +-
2214 arch/x86/kernel/e820.c | 4 +-
2215 arch/x86/kernel/early_printk.c | 1 +
2216 arch/x86/kernel/espfix_64.c | 13 +-
2217 arch/x86/kernel/fpu/core.c | 22 +-
2218 arch/x86/kernel/fpu/init.c | 8 +-
2219 arch/x86/kernel/fpu/regset.c | 22 +-
2220 arch/x86/kernel/fpu/signal.c | 20 +-
2221 arch/x86/kernel/fpu/xstate.c | 8 +-
2222 arch/x86/kernel/ftrace.c | 18 +-
2223 arch/x86/kernel/head64.c | 14 +-
2224 arch/x86/kernel/head_32.S | 235 +-
2225 arch/x86/kernel/head_64.S | 149 +-
2226 arch/x86/kernel/i386_ksyms_32.c | 12 +
2227 arch/x86/kernel/i8259.c | 10 +-
2228 arch/x86/kernel/io_delay.c | 2 +-
2229 arch/x86/kernel/ioport.c | 2 +-
2230 arch/x86/kernel/irq.c | 8 +-
2231 arch/x86/kernel/irq_32.c | 45 +-
2232 arch/x86/kernel/jump_label.c | 10 +-
2233 arch/x86/kernel/kgdb.c | 21 +-
2234 arch/x86/kernel/kprobes/core.c | 28 +-
2235 arch/x86/kernel/kprobes/opt.c | 16 +-
2236 arch/x86/kernel/ksysfs.c | 2 +-
2237 arch/x86/kernel/ldt.c | 25 +
2238 arch/x86/kernel/livepatch.c | 12 +-
2239 arch/x86/kernel/machine_kexec_32.c | 6 +-
2240 arch/x86/kernel/mcount_64.S | 19 +-
2241 arch/x86/kernel/module.c | 78 +-
2242 arch/x86/kernel/msr.c | 2 +-
2243 arch/x86/kernel/nmi.c | 34 +-
2244 arch/x86/kernel/nmi_selftest.c | 4 +-
2245 arch/x86/kernel/paravirt-spinlocks.c | 2 +-
2246 arch/x86/kernel/paravirt.c | 45 +-
2247 arch/x86/kernel/paravirt_patch_64.c | 8 +
2248 arch/x86/kernel/pci-calgary_64.c | 2 +-
2249 arch/x86/kernel/pci-iommu_table.c | 2 +-
2250 arch/x86/kernel/pci-swiotlb.c | 2 +-
2251 arch/x86/kernel/process.c | 71 +-
2252 arch/x86/kernel/process_32.c | 30 +-
2253 arch/x86/kernel/process_64.c | 19 +-
2254 arch/x86/kernel/ptrace.c | 20 +-
2255 arch/x86/kernel/pvclock.c | 8 +-
2256 arch/x86/kernel/reboot.c | 44 +-
2257 arch/x86/kernel/reboot_fixups_32.c | 2 +-
2258 arch/x86/kernel/relocate_kernel_64.S | 3 +-
2259 arch/x86/kernel/setup.c | 29 +-
2260 arch/x86/kernel/setup_percpu.c | 29 +-
2261 arch/x86/kernel/signal.c | 17 +-
2262 arch/x86/kernel/smp.c | 2 +-
2263 arch/x86/kernel/smpboot.c | 29 +-
2264 arch/x86/kernel/step.c | 6 +-
2265 arch/x86/kernel/sys_i386_32.c | 184 +
2266 arch/x86/kernel/sys_x86_64.c | 22 +-
2267 arch/x86/kernel/tboot.c | 14 +-
2268 arch/x86/kernel/time.c | 8 +-
2269 arch/x86/kernel/tls.c | 7 +-
2270 arch/x86/kernel/tracepoint.c | 4 +-
2271 arch/x86/kernel/traps.c | 53 +-
2272 arch/x86/kernel/tsc.c | 2 +-
2273 arch/x86/kernel/uprobes.c | 2 +-
2274 arch/x86/kernel/vm86_32.c | 6 +-
2275 arch/x86/kernel/vmlinux.lds.S | 147 +-
2276 arch/x86/kernel/x8664_ksyms_64.c | 6 +-
2277 arch/x86/kernel/x86_init.c | 6 +-
2278 arch/x86/kvm/cpuid.c | 21 +-
2279 arch/x86/kvm/emulate.c | 2 +-
2280 arch/x86/kvm/lapic.c | 2 +-
2281 arch/x86/kvm/paging_tmpl.h | 2 +-
2282 arch/x86/kvm/svm.c | 8 +
2283 arch/x86/kvm/vmx.c | 82 +-
2284 arch/x86/kvm/x86.c | 44 +-
2285 arch/x86/lguest/boot.c | 3 +-
2286 arch/x86/lib/atomic64_386_32.S | 164 +
2287 arch/x86/lib/atomic64_cx8_32.S | 98 +-
2288 arch/x86/lib/checksum_32.S | 97 +-
2289 arch/x86/lib/clear_page_64.S | 3 +
2290 arch/x86/lib/cmpxchg16b_emu.S | 3 +
2291 arch/x86/lib/copy_page_64.S | 14 +-
2292 arch/x86/lib/copy_user_64.S | 66 +-
2293 arch/x86/lib/csum-copy_64.S | 14 +-
2294 arch/x86/lib/csum-wrappers_64.c | 8 +-
2295 arch/x86/lib/getuser.S | 74 +-
2296 arch/x86/lib/insn.c | 8 +-
2297 arch/x86/lib/iomap_copy_64.S | 2 +
2298 arch/x86/lib/memcpy_64.S | 6 +
2299 arch/x86/lib/memmove_64.S | 3 +-
2300 arch/x86/lib/memset_64.S | 3 +
2301 arch/x86/lib/mmx_32.c | 243 +-
2302 arch/x86/lib/msr-reg.S | 2 +
2303 arch/x86/lib/putuser.S | 87 +-
2304 arch/x86/lib/rwsem.S | 6 +-
2305 arch/x86/lib/usercopy_32.c | 359 +-
2306 arch/x86/lib/usercopy_64.c | 20 +-
2307 arch/x86/math-emu/fpu_aux.c | 2 +-
2308 arch/x86/math-emu/fpu_entry.c | 4 +-
2309 arch/x86/math-emu/fpu_system.h | 2 +-
2310 arch/x86/mm/Makefile | 4 +
2311 arch/x86/mm/extable.c | 26 +-
2312 arch/x86/mm/fault.c | 570 +-
2313 arch/x86/mm/gup.c | 6 +-
2314 arch/x86/mm/highmem_32.c | 4 +
2315 arch/x86/mm/hugetlbpage.c | 24 +-
2316 arch/x86/mm/init.c | 101 +-
2317 arch/x86/mm/init_32.c | 111 +-
2318 arch/x86/mm/init_64.c | 46 +-
2319 arch/x86/mm/iomap_32.c | 4 +
2320 arch/x86/mm/ioremap.c | 44 +-
2321 arch/x86/mm/kmemcheck/kmemcheck.c | 4 +-
2322 arch/x86/mm/mmap.c | 40 +-
2323 arch/x86/mm/mmio-mod.c | 10 +-
2324 arch/x86/mm/numa.c | 2 +-
2325 arch/x86/mm/pageattr.c | 33 +-
2326 arch/x86/mm/pat.c | 12 +-
2327 arch/x86/mm/pat_rbtree.c | 2 +-
2328 arch/x86/mm/pf_in.c | 10 +-
2329 arch/x86/mm/pgtable.c | 162 +-
2330 arch/x86/mm/pgtable_32.c | 3 +
2331 arch/x86/mm/setup_nx.c | 7 +
2332 arch/x86/mm/tlb.c | 4 +
2333 arch/x86/mm/uderef_64.c | 37 +
2334 arch/x86/net/bpf_jit.S | 11 +
2335 arch/x86/net/bpf_jit_comp.c | 13 +-
2336 arch/x86/oprofile/backtrace.c | 6 +-
2337 arch/x86/oprofile/nmi_int.c | 8 +-
2338 arch/x86/oprofile/op_model_amd.c | 8 +-
2339 arch/x86/oprofile/op_model_ppro.c | 7 +-
2340 arch/x86/oprofile/op_x86_model.h | 2 +-
2341 arch/x86/pci/intel_mid_pci.c | 2 +-
2342 arch/x86/pci/irq.c | 8 +-
2343 arch/x86/pci/pcbios.c | 144 +-
2344 arch/x86/platform/efi/efi_32.c | 24 +
2345 arch/x86/platform/efi/efi_64.c | 26 +-
2346 arch/x86/platform/efi/efi_stub_32.S | 64 +-
2347 arch/x86/platform/efi/efi_stub_64.S | 2 +
2348 arch/x86/platform/intel-mid/intel-mid.c | 5 +-
2349 arch/x86/platform/intel-mid/intel_mid_weak_decls.h | 6 +-
2350 arch/x86/platform/intel-mid/mfld.c | 4 +-
2351 arch/x86/platform/intel-mid/mrfl.c | 2 +-
2352 arch/x86/platform/intel-quark/imr_selftest.c | 2 +-
2353 arch/x86/platform/olpc/olpc_dt.c | 2 +-
2354 arch/x86/power/cpu.c | 11 +-
2355 arch/x86/realmode/init.c | 10 +-
2356 arch/x86/realmode/rm/Makefile | 3 +
2357 arch/x86/realmode/rm/header.S | 4 +-
2358 arch/x86/realmode/rm/reboot.S | 4 +
2359 arch/x86/realmode/rm/trampoline_32.S | 12 +-
2360 arch/x86/realmode/rm/trampoline_64.S | 3 +-
2361 arch/x86/realmode/rm/wakeup_asm.S | 5 +-
2362 arch/x86/tools/Makefile | 2 +-
2363 arch/x86/tools/relocs.c | 96 +-
2364 arch/x86/um/mem_32.c | 2 +-
2365 arch/x86/um/tls_32.c | 2 +-
2366 arch/x86/xen/enlighten.c | 50 +-
2367 arch/x86/xen/mmu.c | 17 +-
2368 arch/x86/xen/smp.c | 16 +-
2369 arch/x86/xen/xen-asm_32.S | 2 +-
2370 arch/x86/xen/xen-head.S | 11 +
2371 arch/x86/xen/xen-ops.h | 2 -
2372 block/bio.c | 4 +-
2373 block/blk-iopoll.c | 2 +-
2374 block/blk-map.c | 2 +-
2375 block/blk-softirq.c | 2 +-
2376 block/bsg.c | 12 +-
2377 block/compat_ioctl.c | 4 +-
2378 block/genhd.c | 9 +-
2379 block/partitions/efi.c | 8 +-
2380 block/scsi_ioctl.c | 29 +-
2381 crypto/cryptd.c | 4 +-
2382 crypto/pcrypt.c | 2 +-
2383 crypto/zlib.c | 4 +-
2384 drivers/acpi/acpi_video.c | 2 +-
2385 drivers/acpi/apei/apei-internal.h | 2 +-
2386 drivers/acpi/apei/ghes.c | 4 +-
2387 drivers/acpi/bgrt.c | 6 +-
2388 drivers/acpi/blacklist.c | 4 +-
2389 drivers/acpi/bus.c | 4 +-
2390 drivers/acpi/device_pm.c | 4 +-
2391 drivers/acpi/ec.c | 2 +-
2392 drivers/acpi/pci_slot.c | 2 +-
2393 drivers/acpi/processor_driver.c | 2 +-
2394 drivers/acpi/processor_idle.c | 2 +-
2395 drivers/acpi/processor_pdc.c | 2 +-
2396 drivers/acpi/sleep.c | 2 +-
2397 drivers/acpi/sysfs.c | 4 +-
2398 drivers/acpi/thermal.c | 2 +-
2399 drivers/acpi/video_detect.c | 7 +-
2400 drivers/ata/libahci.c | 2 +-
2401 drivers/ata/libata-core.c | 12 +-
2402 drivers/ata/libata-scsi.c | 2 +-
2403 drivers/ata/libata.h | 2 +-
2404 drivers/ata/pata_arasan_cf.c | 4 +-
2405 drivers/atm/adummy.c | 2 +-
2406 drivers/atm/ambassador.c | 8 +-
2407 drivers/atm/atmtcp.c | 14 +-
2408 drivers/atm/eni.c | 10 +-
2409 drivers/atm/firestream.c | 8 +-
2410 drivers/atm/fore200e.c | 14 +-
2411 drivers/atm/he.c | 18 +-
2412 drivers/atm/horizon.c | 4 +-
2413 drivers/atm/idt77252.c | 36 +-
2414 drivers/atm/iphase.c | 34 +-
2415 drivers/atm/lanai.c | 12 +-
2416 drivers/atm/nicstar.c | 46 +-
2417 drivers/atm/solos-pci.c | 4 +-
2418 drivers/atm/suni.c | 4 +-
2419 drivers/atm/uPD98402.c | 16 +-
2420 drivers/atm/zatm.c | 6 +-
2421 drivers/base/bus.c | 4 +-
2422 drivers/base/devtmpfs.c | 8 +-
2423 drivers/base/node.c | 2 +-
2424 drivers/base/power/domain.c | 11 +-
2425 drivers/base/power/sysfs.c | 2 +-
2426 drivers/base/power/wakeup.c | 8 +-
2427 drivers/base/syscore.c | 4 +-
2428 drivers/block/cciss.c | 28 +-
2429 drivers/block/cciss.h | 2 +-
2430 drivers/block/cpqarray.c | 28 +-
2431 drivers/block/cpqarray.h | 2 +-
2432 drivers/block/drbd/drbd_bitmap.c | 2 +-
2433 drivers/block/drbd/drbd_int.h | 8 +-
2434 drivers/block/drbd/drbd_main.c | 12 +-
2435 drivers/block/drbd/drbd_nl.c | 4 +-
2436 drivers/block/drbd/drbd_receiver.c | 34 +-
2437 drivers/block/drbd/drbd_worker.c | 8 +-
2438 drivers/block/pktcdvd.c | 4 +-
2439 drivers/block/rbd.c | 2 +-
2440 drivers/bluetooth/btwilink.c | 2 +-
2441 drivers/cdrom/cdrom.c | 11 +-
2442 drivers/cdrom/gdrom.c | 1 -
2443 drivers/char/agp/compat_ioctl.c | 2 +-
2444 drivers/char/agp/frontend.c | 4 +-
2445 drivers/char/agp/intel-gtt.c | 4 +-
2446 drivers/char/hpet.c | 2 +-
2447 drivers/char/ipmi/ipmi_msghandler.c | 8 +-
2448 drivers/char/ipmi/ipmi_si_intf.c | 8 +-
2449 drivers/char/mem.c | 47 +-
2450 drivers/char/nvram.c | 2 +-
2451 drivers/char/pcmcia/synclink_cs.c | 16 +-
2452 drivers/char/random.c | 12 +-
2453 drivers/char/sonypi.c | 11 +-
2454 drivers/char/tpm/tpm_acpi.c | 3 +-
2455 drivers/char/tpm/tpm_eventlog.c | 7 +-
2456 drivers/char/virtio_console.c | 4 +-
2457 drivers/clk/clk-composite.c | 2 +-
2458 drivers/clk/samsung/clk.h | 2 +-
2459 drivers/clk/socfpga/clk-gate.c | 9 +-
2460 drivers/clk/socfpga/clk-pll.c | 9 +-
2461 drivers/cpufreq/acpi-cpufreq.c | 17 +-
2462 drivers/cpufreq/cpufreq-dt.c | 4 +-
2463 drivers/cpufreq/cpufreq.c | 26 +-
2464 drivers/cpufreq/cpufreq_governor.c | 2 +-
2465 drivers/cpufreq/cpufreq_governor.h | 4 +-
2466 drivers/cpufreq/cpufreq_ondemand.c | 10 +-
2467 drivers/cpufreq/intel_pstate.c | 33 +-
2468 drivers/cpufreq/p4-clockmod.c | 12 +-
2469 drivers/cpufreq/sparc-us3-cpufreq.c | 67 +-
2470 drivers/cpufreq/speedstep-centrino.c | 7 +-
2471 drivers/cpuidle/driver.c | 2 +-
2472 drivers/cpuidle/dt_idle_states.c | 2 +-
2473 drivers/cpuidle/governor.c | 2 +-
2474 drivers/cpuidle/sysfs.c | 2 +-
2475 drivers/crypto/hifn_795x.c | 4 +-
2476 drivers/devfreq/devfreq.c | 4 +-
2477 drivers/dma/sh/shdma-base.c | 4 +-
2478 drivers/dma/sh/shdmac.c | 2 +-
2479 drivers/edac/edac_device.c | 4 +-
2480 drivers/edac/edac_mc_sysfs.c | 2 +-
2481 drivers/edac/edac_pci.c | 4 +-
2482 drivers/edac/edac_pci_sysfs.c | 22 +-
2483 drivers/edac/mce_amd.h | 2 +-
2484 drivers/firewire/core-card.c | 6 +-
2485 drivers/firewire/core-device.c | 2 +-
2486 drivers/firewire/core-transaction.c | 1 +
2487 drivers/firewire/core.h | 1 +
2488 drivers/firmware/dmi-id.c | 2 +-
2489 drivers/firmware/dmi_scan.c | 12 +-
2490 drivers/firmware/efi/cper.c | 8 +-
2491 drivers/firmware/efi/efi.c | 12 +-
2492 drivers/firmware/efi/efivars.c | 2 +-
2493 drivers/firmware/efi/runtime-map.c | 2 +-
2494 drivers/firmware/google/gsmi.c | 2 +-
2495 drivers/firmware/google/memconsole.c | 7 +-
2496 drivers/firmware/memmap.c | 2 +-
2497 drivers/gpio/gpio-davinci.c | 6 +-
2498 drivers/gpio/gpio-em.c | 2 +-
2499 drivers/gpio/gpio-ich.c | 2 +-
2500 drivers/gpio/gpio-omap.c | 4 +-
2501 drivers/gpio/gpio-rcar.c | 2 +-
2502 drivers/gpio/gpio-vr41xx.c | 2 +-
2503 drivers/gpio/gpiolib.c | 13 +-
2504 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-
2505 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 2 +-
2506 drivers/gpu/drm/amd/amdkfd/kfd_device.c | 6 +-
2507 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 90 +-
2508 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 8 +-
2509 .../drm/amd/amdkfd/kfd_device_queue_manager_cik.c | 14 +-
2510 .../drm/amd/amdkfd/kfd_device_queue_manager_vi.c | 14 +-
2511 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c | 4 +-
2512 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 2 +-
2513 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.h | 2 +-
2514 .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 16 +-
2515 drivers/gpu/drm/drm_crtc.c | 2 +-
2516 drivers/gpu/drm/drm_drv.c | 2 +-
2517 drivers/gpu/drm/drm_fops.c | 12 +-
2518 drivers/gpu/drm/drm_global.c | 14 +-
2519 drivers/gpu/drm/drm_info.c | 13 +-
2520 drivers/gpu/drm/drm_ioc32.c | 13 +-
2521 drivers/gpu/drm/drm_ioctl.c | 2 +-
2522 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 10 +-
2523 drivers/gpu/drm/i810/i810_drv.h | 4 +-
2524 drivers/gpu/drm/i915/i915_debugfs.c | 2 +-
2525 drivers/gpu/drm/i915/i915_dma.c | 2 +-
2526 drivers/gpu/drm/i915/i915_gem_execbuffer.c | 4 +-
2527 drivers/gpu/drm/i915/i915_gem_gtt.c | 32 +-
2528 drivers/gpu/drm/i915/i915_gem_gtt.h | 16 +-
2529 drivers/gpu/drm/i915/i915_gem_stolen.c | 2 +-
2530 drivers/gpu/drm/i915/i915_ioc32.c | 16 +-
2531 drivers/gpu/drm/i915/intel_display.c | 26 +-
2532 drivers/gpu/drm/imx/imx-drm-core.c | 2 +-
2533 drivers/gpu/drm/mga/mga_drv.h | 4 +-
2534 drivers/gpu/drm/mga/mga_ioc32.c | 10 +-
2535 drivers/gpu/drm/mga/mga_irq.c | 8 +-
2536 drivers/gpu/drm/nouveau/nouveau_bios.c | 2 +-
2537 drivers/gpu/drm/nouveau/nouveau_drm.h | 1 -
2538 drivers/gpu/drm/nouveau/nouveau_ioc32.c | 2 +-
2539 drivers/gpu/drm/nouveau/nouveau_vga.c | 2 +-
2540 drivers/gpu/drm/omapdrm/Makefile | 2 +-
2541 drivers/gpu/drm/qxl/qxl_cmd.c | 12 +-
2542 drivers/gpu/drm/qxl/qxl_debugfs.c | 8 +-
2543 drivers/gpu/drm/qxl/qxl_drv.h | 8 +-
2544 drivers/gpu/drm/qxl/qxl_ioctl.c | 10 +-
2545 drivers/gpu/drm/qxl/qxl_irq.c | 16 +-
2546 drivers/gpu/drm/qxl/qxl_ttm.c | 38 +-
2547 drivers/gpu/drm/r128/r128_cce.c | 2 +-
2548 drivers/gpu/drm/r128/r128_drv.h | 4 +-
2549 drivers/gpu/drm/r128/r128_ioc32.c | 10 +-
2550 drivers/gpu/drm/r128/r128_irq.c | 4 +-
2551 drivers/gpu/drm/r128/r128_state.c | 4 +-
2552 drivers/gpu/drm/radeon/mkregtable.c | 4 +-
2553 drivers/gpu/drm/radeon/radeon_device.c | 2 +-
2554 drivers/gpu/drm/radeon/radeon_drv.h | 2 +-
2555 drivers/gpu/drm/radeon/radeon_ioc32.c | 12 +-
2556 drivers/gpu/drm/radeon/radeon_irq.c | 6 +-
2557 drivers/gpu/drm/radeon/radeon_state.c | 4 +-
2558 drivers/gpu/drm/radeon/radeon_ttm.c | 4 +-
2559 drivers/gpu/drm/tegra/dc.c | 2 +-
2560 drivers/gpu/drm/tegra/dsi.c | 2 +-
2561 drivers/gpu/drm/tegra/hdmi.c | 2 +-
2562 drivers/gpu/drm/tegra/sor.c | 7 +-
2563 drivers/gpu/drm/tilcdc/Makefile | 6 +-
2564 drivers/gpu/drm/ttm/ttm_memory.c | 4 +-
2565 drivers/gpu/drm/ttm/ttm_page_alloc.c | 18 +-
2566 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 18 +-
2567 drivers/gpu/drm/udl/udl_fb.c | 1 -
2568 drivers/gpu/drm/via/via_drv.h | 4 +-
2569 drivers/gpu/drm/via/via_irq.c | 18 +-
2570 drivers/gpu/drm/virtio/virtgpu_debugfs.c | 2 +-
2571 drivers/gpu/drm/virtio/virtgpu_fence.c | 2 +-
2572 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 2 +-
2573 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c | 8 +-
2574 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c | 4 +-
2575 drivers/gpu/drm/vmwgfx/vmwgfx_irq.c | 4 +-
2576 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c | 2 +-
2577 drivers/gpu/vga/vga_switcheroo.c | 4 +-
2578 drivers/hid/hid-core.c | 4 +-
2579 drivers/hid/hid-sensor-custom.c | 2 +-
2580 drivers/hv/channel.c | 2 +-
2581 drivers/hv/hv.c | 4 +-
2582 drivers/hv/hv_balloon.c | 18 +-
2583 drivers/hv/hyperv_vmbus.h | 2 +-
2584 drivers/hwmon/acpi_power_meter.c | 6 +-
2585 drivers/hwmon/applesmc.c | 2 +-
2586 drivers/hwmon/asus_atk0110.c | 10 +-
2587 drivers/hwmon/coretemp.c | 2 +-
2588 drivers/hwmon/dell-smm-hwmon.c | 2 +-
2589 drivers/hwmon/ibmaem.c | 2 +-
2590 drivers/hwmon/iio_hwmon.c | 2 +-
2591 drivers/hwmon/nct6683.c | 6 +-
2592 drivers/hwmon/nct6775.c | 6 +-
2593 drivers/hwmon/pmbus/pmbus_core.c | 10 +-
2594 drivers/hwmon/sht15.c | 12 +-
2595 drivers/hwmon/via-cputemp.c | 2 +-
2596 drivers/i2c/busses/i2c-amd756-s4882.c | 2 +-
2597 drivers/i2c/busses/i2c-diolan-u2c.c | 2 +-
2598 drivers/i2c/busses/i2c-nforce2-s4985.c | 2 +-
2599 drivers/i2c/i2c-dev.c | 2 +-
2600 drivers/ide/ide-cd.c | 2 +-
2601 drivers/iio/industrialio-core.c | 2 +-
2602 drivers/iio/magnetometer/ak8975.c | 2 +-
2603 drivers/infiniband/core/cm.c | 32 +-
2604 drivers/infiniband/core/fmr_pool.c | 20 +-
2605 drivers/infiniband/core/uverbs_cmd.c | 3 +
2606 drivers/infiniband/hw/cxgb4/mem.c | 4 +-
2607 drivers/infiniband/hw/ipath/ipath_rc.c | 6 +-
2608 drivers/infiniband/hw/ipath/ipath_ruc.c | 6 +-
2609 drivers/infiniband/hw/mlx4/mad.c | 2 +-
2610 drivers/infiniband/hw/mlx4/mcg.c | 2 +-
2611 drivers/infiniband/hw/mlx4/mlx4_ib.h | 2 +-
2612 drivers/infiniband/hw/mthca/mthca_cmd.c | 8 +-
2613 drivers/infiniband/hw/mthca/mthca_main.c | 2 +-
2614 drivers/infiniband/hw/mthca/mthca_mr.c | 6 +-
2615 drivers/infiniband/hw/mthca/mthca_provider.c | 2 +-
2616 drivers/infiniband/hw/nes/nes.c | 4 +-
2617 drivers/infiniband/hw/nes/nes.h | 40 +-
2618 drivers/infiniband/hw/nes/nes_cm.c | 62 +-
2619 drivers/infiniband/hw/nes/nes_mgt.c | 8 +-
2620 drivers/infiniband/hw/nes/nes_nic.c | 40 +-
2621 drivers/infiniband/hw/nes/nes_verbs.c | 10 +-
2622 drivers/infiniband/hw/qib/qib.h | 1 +
2623 drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 2 +-
2624 drivers/input/gameport/gameport.c | 4 +-
2625 drivers/input/input.c | 4 +-
2626 drivers/input/joystick/sidewinder.c | 1 +
2627 drivers/input/joystick/xpad.c | 4 +-
2628 drivers/input/misc/ims-pcu.c | 4 +-
2629 drivers/input/mouse/psmouse.h | 2 +-
2630 drivers/input/mousedev.c | 2 +-
2631 drivers/input/serio/serio.c | 4 +-
2632 drivers/input/serio/serio_raw.c | 4 +-
2633 drivers/input/touchscreen/htcpen.c | 2 +-
2634 drivers/iommu/arm-smmu.c | 43 +-
2635 drivers/iommu/io-pgtable-arm.c | 101 +-
2636 drivers/iommu/io-pgtable.c | 11 +-
2637 drivers/iommu/io-pgtable.h | 19 +-
2638 drivers/iommu/iommu.c | 2 +-
2639 drivers/iommu/ipmmu-vmsa.c | 13 +-
2640 drivers/iommu/irq_remapping.c | 2 +-
2641 drivers/irqchip/irq-gic.c | 2 +-
2642 drivers/irqchip/irq-renesas-intc-irqpin.c | 2 +-
2643 drivers/irqchip/irq-renesas-irqc.c | 2 +-
2644 drivers/isdn/capi/capi.c | 10 +-
2645 drivers/isdn/gigaset/interface.c | 8 +-
2646 drivers/isdn/gigaset/usb-gigaset.c | 2 +-
2647 drivers/isdn/hardware/avm/b1.c | 4 +-
2648 drivers/isdn/i4l/isdn_common.c | 2 +
2649 drivers/isdn/i4l/isdn_tty.c | 22 +-
2650 drivers/isdn/icn/icn.c | 2 +-
2651 drivers/isdn/mISDN/dsp_cmx.c | 2 +-
2652 drivers/lguest/core.c | 10 +-
2653 drivers/lguest/page_tables.c | 2 +-
2654 drivers/lguest/x86/core.c | 12 +-
2655 drivers/lguest/x86/switcher_32.S | 27 +-
2656 drivers/md/bcache/closure.h | 2 +-
2657 drivers/md/bitmap.c | 2 +-
2658 drivers/md/dm-ioctl.c | 2 +-
2659 drivers/md/dm-raid1.c | 18 +-
2660 drivers/md/dm-stats.c | 6 +-
2661 drivers/md/dm-stripe.c | 10 +-
2662 drivers/md/dm-table.c | 2 +-
2663 drivers/md/dm-thin-metadata.c | 4 +-
2664 drivers/md/dm.c | 16 +-
2665 drivers/md/md.c | 26 +-
2666 drivers/md/md.h | 6 +-
2667 drivers/md/persistent-data/dm-space-map-metadata.c | 4 +-
2668 drivers/md/persistent-data/dm-space-map.h | 1 +
2669 drivers/md/raid1.c | 4 +-
2670 drivers/md/raid10.c | 16 +-
2671 drivers/md/raid5.c | 22 +-
2672 drivers/media/dvb-core/dvbdev.c | 2 +-
2673 drivers/media/dvb-frontends/af9033.h | 2 +-
2674 drivers/media/dvb-frontends/dib3000.h | 2 +-
2675 drivers/media/dvb-frontends/dib7000p.h | 2 +-
2676 drivers/media/dvb-frontends/dib8000.h | 2 +-
2677 drivers/media/pci/cx88/cx88-video.c | 6 +-
2678 drivers/media/pci/ivtv/ivtv-driver.c | 2 +-
2679 drivers/media/pci/solo6x10/solo6x10-core.c | 2 +-
2680 drivers/media/pci/solo6x10/solo6x10-p2m.c | 2 +-
2681 drivers/media/pci/solo6x10/solo6x10.h | 2 +-
2682 drivers/media/pci/tw68/tw68-core.c | 2 +-
2683 drivers/media/platform/omap/omap_vout.c | 11 +-
2684 drivers/media/platform/s5p-tv/mixer.h | 2 +-
2685 drivers/media/platform/s5p-tv/mixer_grp_layer.c | 2 +-
2686 drivers/media/platform/s5p-tv/mixer_reg.c | 2 +-
2687 drivers/media/platform/s5p-tv/mixer_video.c | 24 +-
2688 drivers/media/platform/s5p-tv/mixer_vp_layer.c | 2 +-
2689 drivers/media/radio/radio-cadet.c | 2 +
2690 drivers/media/radio/radio-maxiradio.c | 2 +-
2691 drivers/media/radio/radio-shark.c | 2 +-
2692 drivers/media/radio/radio-shark2.c | 2 +-
2693 drivers/media/radio/radio-si476x.c | 2 +-
2694 drivers/media/radio/wl128x/fmdrv_common.c | 2 +-
2695 drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 12 +-
2696 drivers/media/v4l2-core/v4l2-device.c | 4 +-
2697 drivers/media/v4l2-core/v4l2-ioctl.c | 13 +-
2698 drivers/memory/omap-gpmc.c | 21 +-
2699 drivers/message/fusion/mptsas.c | 34 +-
2700 drivers/mfd/ab8500-debugfs.c | 2 +-
2701 drivers/mfd/kempld-core.c | 2 +-
2702 drivers/mfd/max8925-i2c.c | 2 +-
2703 drivers/mfd/tps65910.c | 2 +-
2704 drivers/mfd/twl4030-irq.c | 9 +-
2705 drivers/misc/c2port/core.c | 4 +-
2706 drivers/misc/eeprom/sunxi_sid.c | 4 +-
2707 drivers/misc/kgdbts.c | 4 +-
2708 drivers/misc/lis3lv02d/lis3lv02d.c | 8 +-
2709 drivers/misc/lis3lv02d/lis3lv02d.h | 2 +-
2710 drivers/misc/mic/scif/scif_rb.c | 8 +-
2711 drivers/misc/sgi-gru/gruhandles.c | 4 +-
2712 drivers/misc/sgi-gru/gruprocfs.c | 8 +-
2713 drivers/misc/sgi-gru/grutables.h | 154 +-
2714 drivers/misc/sgi-xp/xp.h | 2 +-
2715 drivers/misc/sgi-xp/xpc.h | 3 +-
2716 drivers/misc/sgi-xp/xpc_main.c | 2 +-
2717 drivers/mmc/card/block.c | 2 +-
2718 drivers/mmc/host/dw_mmc.h | 2 +-
2719 drivers/mmc/host/mmci.c | 4 +-
2720 drivers/mmc/host/omap_hsmmc.c | 4 +-
2721 drivers/mmc/host/sdhci-esdhc-imx.c | 7 +-
2722 drivers/mmc/host/sdhci-s3c.c | 8 +-
2723 drivers/mtd/chips/cfi_cmdset_0020.c | 2 +-
2724 drivers/mtd/nand/denali.c | 1 +
2725 drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 2 +-
2726 drivers/mtd/nftlmount.c | 1 +
2727 drivers/mtd/sm_ftl.c | 2 +-
2728 drivers/net/bonding/bond_netlink.c | 2 +-
2729 drivers/net/caif/caif_hsi.c | 2 +-
2730 drivers/net/can/Kconfig | 2 +-
2731 drivers/net/can/dev.c | 2 +-
2732 drivers/net/can/vcan.c | 2 +-
2733 drivers/net/dummy.c | 2 +-
2734 drivers/net/ethernet/8390/ax88796.c | 4 +-
2735 drivers/net/ethernet/altera/altera_tse_main.c | 4 +-
2736 drivers/net/ethernet/amd/xgbe/xgbe-common.h | 4 +-
2737 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c | 4 +-
2738 drivers/net/ethernet/amd/xgbe/xgbe-desc.c | 27 +-
2739 drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 143 +-
2740 drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 64 +-
2741 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 10 +-
2742 drivers/net/ethernet/amd/xgbe/xgbe-main.c | 15 +-
2743 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 27 +-
2744 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c | 4 +-
2745 drivers/net/ethernet/amd/xgbe/xgbe.h | 10 +-
2746 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 2 +-
2747 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | 11 +-
2748 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h | 3 +-
2749 drivers/net/ethernet/broadcom/tg3.h | 1 +
2750 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c | 6 +-
2751 drivers/net/ethernet/cavium/liquidio/lio_main.c | 11 +-
2752 drivers/net/ethernet/chelsio/cxgb3/l2t.h | 2 +-
2753 drivers/net/ethernet/dec/tulip/de4x5.c | 4 +-
2754 drivers/net/ethernet/emulex/benet/be_main.c | 2 +-
2755 drivers/net/ethernet/faraday/ftgmac100.c | 2 +
2756 drivers/net/ethernet/faraday/ftmac100.c | 2 +
2757 drivers/net/ethernet/intel/i40e/i40e_ptp.c | 2 +-
2758 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 2 +-
2759 drivers/net/ethernet/mellanox/mlx4/en_tx.c | 4 +-
2760 drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 4 +-
2761 drivers/net/ethernet/neterion/vxge/vxge-config.c | 7 +-
2762 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 4 +-
2763 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c | 12 +-
2764 .../net/ethernet/qlogic/qlcnic/qlcnic_minidump.c | 2 +-
2765 drivers/net/ethernet/realtek/r8169.c | 8 +-
2766 drivers/net/ethernet/sfc/ptp.c | 2 +-
2767 drivers/net/ethernet/stmicro/stmmac/mmc_core.c | 4 +-
2768 drivers/net/ethernet/via/via-rhine.c | 2 +-
2769 drivers/net/hyperv/hyperv_net.h | 2 +-
2770 drivers/net/hyperv/rndis_filter.c | 4 +-
2771 drivers/net/ifb.c | 2 +-
2772 drivers/net/ipvlan/ipvlan_core.c | 2 +-
2773 drivers/net/macvlan.c | 20 +-
2774 drivers/net/macvtap.c | 6 +-
2775 drivers/net/nlmon.c | 2 +-
2776 drivers/net/phy/phy_device.c | 6 +-
2777 drivers/net/ppp/ppp_generic.c | 4 +-
2778 drivers/net/slip/slhc.c | 2 +-
2779 drivers/net/team/team.c | 4 +-
2780 drivers/net/tun.c | 7 +-
2781 drivers/net/usb/hso.c | 23 +-
2782 drivers/net/usb/r8152.c | 2 +-
2783 drivers/net/usb/sierra_net.c | 4 +-
2784 drivers/net/virtio_net.c | 2 +-
2785 drivers/net/vxlan.c | 4 +-
2786 drivers/net/wimax/i2400m/rx.c | 2 +-
2787 drivers/net/wireless/airo.c | 2 +-
2788 drivers/net/wireless/at76c50x-usb.c | 2 +-
2789 drivers/net/wireless/ath/ath10k/htc.c | 7 +-
2790 drivers/net/wireless/ath/ath10k/htc.h | 4 +-
2791 drivers/net/wireless/ath/ath9k/ar9002_mac.c | 36 +-
2792 drivers/net/wireless/ath/ath9k/ar9003_mac.c | 64 +-
2793 drivers/net/wireless/ath/ath9k/hw.h | 4 +-
2794 drivers/net/wireless/ath/ath9k/main.c | 22 +-
2795 drivers/net/wireless/b43/phy_lp.c | 2 +-
2796 drivers/net/wireless/iwlegacy/3945-mac.c | 4 +-
2797 drivers/net/wireless/iwlwifi/dvm/debugfs.c | 34 +-
2798 drivers/net/wireless/iwlwifi/pcie/trans.c | 4 +-
2799 drivers/net/wireless/mac80211_hwsim.c | 28 +-
2800 drivers/net/wireless/rndis_wlan.c | 2 +-
2801 drivers/net/wireless/rt2x00/rt2x00.h | 2 +-
2802 drivers/net/wireless/rt2x00/rt2x00queue.c | 4 +-
2803 drivers/net/wireless/ti/wl1251/sdio.c | 12 +-
2804 drivers/net/wireless/ti/wl12xx/main.c | 8 +-
2805 drivers/net/wireless/ti/wl18xx/main.c | 6 +-
2806 drivers/nfc/nfcwilink.c | 2 +-
2807 drivers/of/fdt.c | 4 +-
2808 drivers/oprofile/buffer_sync.c | 8 +-
2809 drivers/oprofile/event_buffer.c | 2 +-
2810 drivers/oprofile/oprof.c | 2 +-
2811 drivers/oprofile/oprofile_files.c | 2 +-
2812 drivers/oprofile/oprofile_stats.c | 10 +-
2813 drivers/oprofile/oprofile_stats.h | 10 +-
2814 drivers/oprofile/oprofilefs.c | 6 +-
2815 drivers/oprofile/timer_int.c | 2 +-
2816 drivers/parport/procfs.c | 4 +-
2817 drivers/pci/host/pci-host-generic.c | 24 +-
2818 drivers/pci/hotplug/acpiphp_ibm.c | 4 +-
2819 drivers/pci/hotplug/cpcihp_generic.c | 6 +-
2820 drivers/pci/hotplug/cpcihp_zt5550.c | 14 +-
2821 drivers/pci/hotplug/cpqphp_nvram.c | 2 +
2822 drivers/pci/hotplug/pci_hotplug_core.c | 6 +-
2823 drivers/pci/hotplug/pciehp_core.c | 2 +-
2824 drivers/pci/msi.c | 21 +-
2825 drivers/pci/pci-sysfs.c | 6 +-
2826 drivers/pci/pci.h | 2 +-
2827 drivers/pci/pcie/aspm.c | 6 +-
2828 drivers/pci/pcie/portdrv_pci.c | 2 +-
2829 drivers/pci/probe.c | 2 +-
2830 drivers/pinctrl/pinctrl-at91.c | 5 +-
2831 drivers/platform/chrome/chromeos_pstore.c | 2 +-
2832 drivers/platform/x86/alienware-wmi.c | 4 +-
2833 drivers/platform/x86/compal-laptop.c | 2 +-
2834 drivers/platform/x86/hdaps.c | 2 +-
2835 drivers/platform/x86/ibm_rtl.c | 2 +-
2836 drivers/platform/x86/intel_oaktrail.c | 2 +-
2837 drivers/platform/x86/msi-laptop.c | 16 +-
2838 drivers/platform/x86/msi-wmi.c | 2 +-
2839 drivers/platform/x86/samsung-laptop.c | 2 +-
2840 drivers/platform/x86/samsung-q10.c | 2 +-
2841 drivers/platform/x86/sony-laptop.c | 14 +-
2842 drivers/platform/x86/thinkpad_acpi.c | 2 +-
2843 drivers/pnp/pnpbios/bioscalls.c | 14 +-
2844 drivers/pnp/pnpbios/core.c | 2 +-
2845 drivers/power/pda_power.c | 7 +-
2846 drivers/power/power_supply.h | 4 +-
2847 drivers/power/power_supply_core.c | 7 +-
2848 drivers/power/power_supply_sysfs.c | 6 +-
2849 drivers/power/reset/at91-reset.c | 9 +-
2850 drivers/powercap/powercap_sys.c | 136 +-
2851 drivers/ptp/ptp_private.h | 2 +-
2852 drivers/ptp/ptp_sysfs.c | 2 +-
2853 drivers/regulator/core.c | 4 +-
2854 drivers/regulator/max8660.c | 6 +-
2855 drivers/regulator/max8973-regulator.c | 16 +-
2856 drivers/regulator/mc13892-regulator.c | 8 +-
2857 drivers/rtc/rtc-armada38x.c | 7 +-
2858 drivers/rtc/rtc-cmos.c | 4 +-
2859 drivers/rtc/rtc-ds1307.c | 2 +-
2860 drivers/rtc/rtc-m48t59.c | 4 +-
2861 drivers/rtc/rtc-test.c | 6 +-
2862 drivers/scsi/be2iscsi/be_main.c | 2 +-
2863 drivers/scsi/bfa/bfa_fcpim.h | 2 +-
2864 drivers/scsi/bfa/bfa_ioc.h | 4 +-
2865 drivers/scsi/fcoe/fcoe_sysfs.c | 12 +-
2866 drivers/scsi/hosts.c | 4 +-
2867 drivers/scsi/hpsa.c | 38 +-
2868 drivers/scsi/hpsa.h | 2 +-
2869 drivers/scsi/libfc/fc_exch.c | 50 +-
2870 drivers/scsi/libsas/sas_ata.c | 2 +-
2871 drivers/scsi/lpfc/lpfc.h | 8 +-
2872 drivers/scsi/lpfc/lpfc_debugfs.c | 18 +-
2873 drivers/scsi/lpfc/lpfc_init.c | 6 +-
2874 drivers/scsi/lpfc/lpfc_scsi.c | 10 +-
2875 drivers/scsi/mpt2sas/mpt2sas_scsih.c | 8 +-
2876 drivers/scsi/pmcraid.c | 20 +-
2877 drivers/scsi/pmcraid.h | 8 +-
2878 drivers/scsi/qla2xxx/qla_attr.c | 4 +-
2879 drivers/scsi/qla2xxx/qla_gbl.h | 4 +-
2880 drivers/scsi/qla2xxx/qla_os.c | 6 +-
2881 drivers/scsi/qla4xxx/ql4_def.h | 2 +-
2882 drivers/scsi/qla4xxx/ql4_os.c | 6 +-
2883 drivers/scsi/scsi.c | 2 +-
2884 drivers/scsi/scsi_lib.c | 8 +-
2885 drivers/scsi/scsi_sysfs.c | 2 +-
2886 drivers/scsi/scsi_transport_fc.c | 8 +-
2887 drivers/scsi/scsi_transport_iscsi.c | 6 +-
2888 drivers/scsi/scsi_transport_srp.c | 6 +-
2889 drivers/scsi/sd.c | 6 +-
2890 drivers/scsi/sg.c | 2 +-
2891 drivers/scsi/sr.c | 21 +-
2892 drivers/soc/tegra/fuse/fuse-tegra.c | 2 +-
2893 drivers/spi/spi.c | 2 +-
2894 drivers/spi/spidev.c | 2 +-
2895 drivers/staging/android/timed_output.c | 6 +-
2896 drivers/staging/comedi/comedi_fops.c | 8 +-
2897 drivers/staging/fbtft/fbtft-core.c | 2 +-
2898 drivers/staging/fbtft/fbtft.h | 2 +-
2899 drivers/staging/gdm724x/gdm_tty.c | 2 +-
2900 drivers/staging/iio/accel/lis3l02dq_ring.c | 2 +-
2901 drivers/staging/iio/adc/ad7280a.c | 4 +-
2902 drivers/staging/lustre/lnet/selftest/brw_test.c | 12 +-
2903 drivers/staging/lustre/lnet/selftest/framework.c | 4 -
2904 drivers/staging/lustre/lnet/selftest/ping_test.c | 14 +-
2905 drivers/staging/lustre/lustre/include/lustre_dlm.h | 2 +-
2906 drivers/staging/lustre/lustre/include/obd.h | 2 +-
2907 drivers/staging/lustre/lustre/libcfs/module.c | 6 +-
2908 drivers/staging/octeon/ethernet-rx.c | 12 +-
2909 drivers/staging/octeon/ethernet.c | 8 +-
2910 drivers/staging/rtl8188eu/include/hal_intf.h | 2 +-
2911 drivers/staging/rtl8712/rtl871x_io.h | 2 +-
2912 drivers/staging/sm750fb/sm750.c | 14 +-
2913 drivers/staging/unisys/visorbus/visorbus_private.h | 4 +-
2914 drivers/target/sbp/sbp_target.c | 4 +-
2915 drivers/target/target_core_device.c | 2 +-
2916 drivers/target/target_core_transport.c | 2 +-
2917 drivers/thermal/cpu_cooling.c | 9 +-
2918 drivers/thermal/int340x_thermal/int3400_thermal.c | 6 +-
2919 drivers/thermal/of-thermal.c | 17 +-
2920 drivers/thermal/x86_pkg_temp_thermal.c | 2 +-
2921 drivers/tty/cyclades.c | 6 +-
2922 drivers/tty/hvc/hvc_console.c | 14 +-
2923 drivers/tty/hvc/hvcs.c | 21 +-
2924 drivers/tty/hvc/hvsi.c | 22 +-
2925 drivers/tty/hvc/hvsi_lib.c | 4 +-
2926 drivers/tty/ipwireless/tty.c | 27 +-
2927 drivers/tty/moxa.c | 2 +-
2928 drivers/tty/n_gsm.c | 4 +-
2929 drivers/tty/n_tty.c | 5 +-
2930 drivers/tty/pty.c | 4 +-
2931 drivers/tty/rocket.c | 6 +-
2932 drivers/tty/serial/8250/8250_core.c | 10 +-
2933 drivers/tty/serial/ifx6x60.c | 2 +-
2934 drivers/tty/serial/ioc4_serial.c | 6 +-
2935 drivers/tty/serial/kgdb_nmi.c | 4 +-
2936 drivers/tty/serial/kgdboc.c | 32 +-
2937 drivers/tty/serial/msm_serial.c | 4 +-
2938 drivers/tty/serial/samsung.c | 9 +-
2939 drivers/tty/serial/serial_core.c | 8 +-
2940 drivers/tty/synclink.c | 34 +-
2941 drivers/tty/synclink_gt.c | 28 +-
2942 drivers/tty/synclinkmp.c | 34 +-
2943 drivers/tty/tty_io.c | 2 +-
2944 drivers/tty/tty_ldisc.c | 8 +-
2945 drivers/tty/tty_port.c | 22 +-
2946 drivers/uio/uio.c | 13 +-
2947 drivers/usb/atm/cxacru.c | 2 +-
2948 drivers/usb/atm/usbatm.c | 24 +-
2949 drivers/usb/core/devices.c | 6 +-
2950 drivers/usb/core/devio.c | 10 +-
2951 drivers/usb/core/hcd.c | 4 +-
2952 drivers/usb/core/message.c | 6 +-
2953 drivers/usb/core/sysfs.c | 2 +-
2954 drivers/usb/core/usb.c | 2 +-
2955 drivers/usb/early/ehci-dbgp.c | 16 +-
2956 drivers/usb/gadget/function/u_serial.c | 22 +-
2957 drivers/usb/gadget/udc/dummy_hcd.c | 2 +-
2958 drivers/usb/host/ehci-hcd.c | 2 +-
2959 drivers/usb/host/ehci-hub.c | 4 +-
2960 drivers/usb/host/ehci-q.c | 4 +-
2961 drivers/usb/host/fotg210-hcd.c | 2 +-
2962 drivers/usb/host/fusbh200-hcd.c | 2 +-
2963 drivers/usb/host/hwa-hc.c | 2 +-
2964 drivers/usb/host/ohci-hcd.c | 2 +-
2965 drivers/usb/host/r8a66597.h | 2 +-
2966 drivers/usb/host/uhci-hcd.c | 2 +-
2967 drivers/usb/host/xhci-pci.c | 2 +-
2968 drivers/usb/host/xhci.c | 2 +-
2969 drivers/usb/misc/appledisplay.c | 4 +-
2970 drivers/usb/serial/console.c | 8 +-
2971 drivers/usb/storage/usb.c | 2 +-
2972 drivers/usb/storage/usb.h | 2 +-
2973 drivers/usb/usbip/vhci.h | 2 +-
2974 drivers/usb/usbip/vhci_hcd.c | 6 +-
2975 drivers/usb/usbip/vhci_rx.c | 2 +-
2976 drivers/usb/wusbcore/wa-hc.h | 4 +-
2977 drivers/usb/wusbcore/wa-xfer.c | 2 +-
2978 drivers/vfio/vfio.c | 2 +-
2979 drivers/vhost/vringh.c | 20 +-
2980 drivers/video/backlight/kb3886_bl.c | 2 +-
2981 drivers/video/fbdev/aty/aty128fb.c | 2 +-
2982 drivers/video/fbdev/aty/atyfb_base.c | 8 +-
2983 drivers/video/fbdev/aty/mach64_cursor.c | 5 +-
2984 drivers/video/fbdev/core/fb_defio.c | 6 +-
2985 drivers/video/fbdev/core/fbmem.c | 2 +-
2986 drivers/video/fbdev/hyperv_fb.c | 4 +-
2987 drivers/video/fbdev/i810/i810_accel.c | 1 +
2988 drivers/video/fbdev/matrox/matroxfb_base.c | 2 +-
2989 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c | 16 +-
2990 drivers/video/fbdev/nvidia/nvidia.c | 27 +-
2991 drivers/video/fbdev/omap2/dss/display.c | 8 +-
2992 drivers/video/fbdev/s1d13xxxfb.c | 6 +-
2993 drivers/video/fbdev/smscufx.c | 4 +-
2994 drivers/video/fbdev/udlfb.c | 36 +-
2995 drivers/video/fbdev/uvesafb.c | 52 +-
2996 drivers/video/fbdev/vesafb.c | 58 +-
2997 drivers/video/fbdev/via/via_clock.h | 2 +-
2998 drivers/xen/events/events_base.c | 6 +-
2999 drivers/xen/evtchn.c | 4 +-
3000 fs/Kconfig.binfmt | 2 +-
3001 fs/afs/inode.c | 4 +-
3002 fs/aio.c | 2 +-
3003 fs/autofs4/waitq.c | 2 +-
3004 fs/befs/endian.h | 6 +-
3005 fs/binfmt_aout.c | 23 +-
3006 fs/binfmt_elf.c | 672 +-
3007 fs/binfmt_elf_fdpic.c | 2 +-
3008 fs/block_dev.c | 2 +-
3009 fs/btrfs/ctree.c | 9 +-
3010 fs/btrfs/delayed-inode.c | 6 +-
3011 fs/btrfs/delayed-inode.h | 4 +-
3012 fs/btrfs/super.c | 2 +-
3013 fs/btrfs/sysfs.c | 2 +-
3014 fs/btrfs/tests/free-space-tests.c | 8 +-
3015 fs/btrfs/tree-log.h | 2 +-
3016 fs/buffer.c | 2 +-
3017 fs/cachefiles/bind.c | 6 +-
3018 fs/cachefiles/daemon.c | 8 +-
3019 fs/cachefiles/internal.h | 12 +-
3020 fs/cachefiles/namei.c | 2 +-
3021 fs/cachefiles/proc.c | 12 +-
3022 fs/ceph/dir.c | 12 +-
3023 fs/ceph/super.c | 4 +-
3024 fs/cifs/cifs_debug.c | 12 +-
3025 fs/cifs/cifsfs.c | 8 +-
3026 fs/cifs/cifsglob.h | 54 +-
3027 fs/cifs/file.c | 10 +-
3028 fs/cifs/misc.c | 4 +-
3029 fs/cifs/smb1ops.c | 80 +-
3030 fs/cifs/smb2ops.c | 84 +-
3031 fs/cifs/smb2pdu.c | 3 +-
3032 fs/coda/cache.c | 10 +-
3033 fs/compat.c | 4 +-
3034 fs/compat_binfmt_elf.c | 2 +
3035 fs/compat_ioctl.c | 12 +-
3036 fs/configfs/dir.c | 10 +-
3037 fs/coredump.c | 16 +-
3038 fs/dcache.c | 51 +-
3039 fs/ecryptfs/inode.c | 2 +-
3040 fs/ecryptfs/miscdev.c | 2 +-
3041 fs/exec.c | 362 +-
3042 fs/ext2/xattr.c | 5 +-
3043 fs/ext3/xattr.c | 5 +-
3044 fs/ext4/ext4.h | 20 +-
3045 fs/ext4/mballoc.c | 44 +-
3046 fs/ext4/mmp.c | 2 +-
3047 fs/ext4/resize.c | 16 +-
3048 fs/ext4/super.c | 4 +-
3049 fs/ext4/xattr.c | 5 +-
3050 fs/fhandle.c | 3 +-
3051 fs/file.c | 4 +-
3052 fs/fs_struct.c | 8 +-
3053 fs/fscache/cookie.c | 40 +-
3054 fs/fscache/internal.h | 202 +-
3055 fs/fscache/object.c | 26 +-
3056 fs/fscache/operation.c | 38 +-
3057 fs/fscache/page.c | 110 +-
3058 fs/fscache/stats.c | 348 +-
3059 fs/fuse/cuse.c | 10 +-
3060 fs/fuse/dev.c | 4 +-
3061 fs/gfs2/glock.c | 22 +-
3062 fs/gfs2/glops.c | 4 +-
3063 fs/gfs2/quota.c | 6 +-
3064 fs/hugetlbfs/inode.c | 13 +-
3065 fs/inode.c | 4 +-
3066 fs/jffs2/erase.c | 3 +-
3067 fs/jffs2/wbuf.c | 3 +-
3068 fs/jfs/super.c | 2 +-
3069 fs/kernfs/dir.c | 2 +-
3070 fs/kernfs/file.c | 20 +-
3071 fs/libfs.c | 10 +-
3072 fs/lockd/clntproc.c | 4 +-
3073 fs/namei.c | 16 +-
3074 fs/namespace.c | 16 +-
3075 fs/nfs/callback_xdr.c | 2 +-
3076 fs/nfs/inode.c | 6 +-
3077 fs/nfsd/nfs4proc.c | 2 +-
3078 fs/nfsd/nfs4xdr.c | 2 +-
3079 fs/nfsd/nfscache.c | 11 +-
3080 fs/nfsd/vfs.c | 6 +-
3081 fs/nls/nls_base.c | 26 +-
3082 fs/nls/nls_euc-jp.c | 6 +-
3083 fs/nls/nls_koi8-ru.c | 6 +-
3084 fs/notify/fanotify/fanotify_user.c | 4 +-
3085 fs/notify/notification.c | 4 +-
3086 fs/ntfs/dir.c | 2 +-
3087 fs/ntfs/super.c | 6 +-
3088 fs/ocfs2/localalloc.c | 2 +-
3089 fs/ocfs2/ocfs2.h | 10 +-
3090 fs/ocfs2/suballoc.c | 12 +-
3091 fs/ocfs2/super.c | 20 +-
3092 fs/pipe.c | 72 +-
3093 fs/posix_acl.c | 4 +-
3094 fs/proc/array.c | 20 +
3095 fs/proc/base.c | 4 +-
3096 fs/proc/kcore.c | 34 +-
3097 fs/proc/meminfo.c | 2 +-
3098 fs/proc/nommu.c | 2 +-
3099 fs/proc/proc_sysctl.c | 26 +-
3100 fs/proc/task_mmu.c | 39 +-
3101 fs/proc/task_nommu.c | 4 +-
3102 fs/proc/vmcore.c | 16 +-
3103 fs/qnx6/qnx6.h | 4 +-
3104 fs/quota/netlink.c | 4 +-
3105 fs/read_write.c | 2 +-
3106 fs/reiserfs/do_balan.c | 2 +-
3107 fs/reiserfs/procfs.c | 2 +-
3108 fs/reiserfs/reiserfs.h | 4 +-
3109 fs/seq_file.c | 4 +-
3110 fs/splice.c | 43 +-
3111 fs/squashfs/xattr.c | 12 +-
3112 fs/sysv/sysv.h | 2 +-
3113 fs/tracefs/inode.c | 8 +-
3114 fs/ubifs/io.c | 2 +-
3115 fs/udf/misc.c | 2 +-
3116 fs/ufs/swab.h | 4 +-
3117 fs/xattr.c | 21 +
3118 fs/xfs/libxfs/xfs_bmap.c | 2 +-
3119 fs/xfs/xfs_dir2_readdir.c | 7 +-
3120 fs/xfs/xfs_ioctl.c | 2 +-
3121 fs/xfs/xfs_linux.h | 4 +-
3122 include/asm-generic/4level-fixup.h | 2 +
3123 include/asm-generic/atomic-long.h | 214 +-
3124 include/asm-generic/atomic64.h | 12 +
3125 include/asm-generic/barrier.h | 2 +-
3126 include/asm-generic/bitops/__fls.h | 2 +-
3127 include/asm-generic/bitops/fls.h | 2 +-
3128 include/asm-generic/bitops/fls64.h | 4 +-
3129 include/asm-generic/bug.h | 6 +-
3130 include/asm-generic/cache.h | 4 +-
3131 include/asm-generic/emergency-restart.h | 2 +-
3132 include/asm-generic/kmap_types.h | 4 +-
3133 include/asm-generic/local.h | 13 +
3134 include/asm-generic/pgtable-nopmd.h | 18 +-
3135 include/asm-generic/pgtable-nopud.h | 15 +-
3136 include/asm-generic/pgtable.h | 16 +
3137 include/asm-generic/uaccess.h | 16 +
3138 include/asm-generic/vmlinux.lds.h | 13 +-
3139 include/crypto/algapi.h | 2 +-
3140 include/drm/drmP.h | 16 +-
3141 include/drm/drm_crtc_helper.h | 2 +-
3142 include/drm/drm_mm.h | 2 +-
3143 include/drm/i915_pciids.h | 2 +-
3144 include/drm/intel-gtt.h | 4 +-
3145 include/drm/ttm/ttm_memory.h | 2 +-
3146 include/drm/ttm/ttm_page_alloc.h | 1 +
3147 include/keys/asymmetric-subtype.h | 2 +-
3148 include/linux/atmdev.h | 4 +-
3149 include/linux/atomic.h | 2 +-
3150 include/linux/audit.h | 2 +-
3151 include/linux/binfmts.h | 3 +-
3152 include/linux/bitmap.h | 2 +-
3153 include/linux/bitops.h | 8 +-
3154 include/linux/blkdev.h | 2 +-
3155 include/linux/blktrace_api.h | 2 +-
3156 include/linux/cache.h | 8 +
3157 include/linux/cdrom.h | 1 -
3158 include/linux/cleancache.h | 2 +-
3159 include/linux/clk-provider.h | 1 +
3160 include/linux/compat.h | 6 +-
3161 include/linux/compiler-gcc.h | 28 +-
3162 include/linux/compiler.h | 95 +-
3163 include/linux/completion.h | 12 +-
3164 include/linux/configfs.h | 2 +-
3165 include/linux/cpufreq.h | 3 +-
3166 include/linux/cpuidle.h | 5 +-
3167 include/linux/cpumask.h | 14 +-
3168 include/linux/crypto.h | 4 +-
3169 include/linux/ctype.h | 2 +-
3170 include/linux/dcache.h | 4 +-
3171 include/linux/decompress/mm.h | 2 +-
3172 include/linux/devfreq.h | 2 +-
3173 include/linux/device.h | 7 +-
3174 include/linux/dma-mapping.h | 2 +-
3175 include/linux/efi.h | 1 +
3176 include/linux/elf.h | 2 +
3177 include/linux/err.h | 4 +-
3178 include/linux/extcon.h | 2 +-
3179 include/linux/fb.h | 3 +-
3180 include/linux/fdtable.h | 2 +-
3181 include/linux/fs.h | 5 +-
3182 include/linux/fs_struct.h | 2 +-
3183 include/linux/fscache-cache.h | 2 +-
3184 include/linux/fscache.h | 2 +-
3185 include/linux/fsnotify.h | 2 +-
3186 include/linux/genhd.h | 4 +-
3187 include/linux/genl_magic_func.h | 2 +-
3188 include/linux/gfp.h | 12 +-
3189 include/linux/highmem.h | 12 +
3190 include/linux/hwmon-sysfs.h | 6 +-
3191 include/linux/i2c.h | 1 +
3192 include/linux/if_pppox.h | 2 +-
3193 include/linux/init.h | 12 +-
3194 include/linux/init_task.h | 7 +
3195 include/linux/interrupt.h | 6 +-
3196 include/linux/iommu.h | 2 +-
3197 include/linux/ioport.h | 2 +-
3198 include/linux/ipc.h | 2 +-
3199 include/linux/irq.h | 5 +-
3200 include/linux/irqdesc.h | 2 +-
3201 include/linux/irqdomain.h | 3 +
3202 include/linux/jiffies.h | 30 +-
3203 include/linux/kernel.h | 2 +-
3204 include/linux/key-type.h | 2 +-
3205 include/linux/kgdb.h | 6 +-
3206 include/linux/kmemleak.h | 4 +-
3207 include/linux/kobject.h | 3 +-
3208 include/linux/kobject_ns.h | 2 +-
3209 include/linux/kref.h | 2 +-
3210 include/linux/kvm_host.h | 4 +-
3211 include/linux/libata.h | 2 +-
3212 include/linux/linkage.h | 1 +
3213 include/linux/list.h | 15 +
3214 include/linux/lockref.h | 26 +-
3215 include/linux/math64.h | 10 +-
3216 include/linux/mempolicy.h | 7 +
3217 include/linux/mm.h | 104 +-
3218 include/linux/mm_types.h | 20 +
3219 include/linux/mmiotrace.h | 4 +-
3220 include/linux/mmzone.h | 2 +-
3221 include/linux/mod_devicetable.h | 4 +-
3222 include/linux/module.h | 69 +-
3223 include/linux/moduleloader.h | 16 +
3224 include/linux/moduleparam.h | 4 +-
3225 include/linux/net.h | 2 +-
3226 include/linux/netdevice.h | 7 +-
3227 include/linux/netfilter.h | 2 +-
3228 include/linux/netfilter/nfnetlink.h | 2 +-
3229 include/linux/nls.h | 4 +-
3230 include/linux/notifier.h | 3 +-
3231 include/linux/oprofile.h | 4 +-
3232 include/linux/padata.h | 2 +-
3233 include/linux/pci_hotplug.h | 3 +-
3234 include/linux/percpu.h | 2 +-
3235 include/linux/perf_event.h | 12 +-
3236 include/linux/pipe_fs_i.h | 8 +-
3237 include/linux/pm.h | 1 +
3238 include/linux/pm_domain.h | 4 +-
3239 include/linux/pm_runtime.h | 2 +-
3240 include/linux/pnp.h | 2 +-
3241 include/linux/poison.h | 4 +-
3242 include/linux/power/smartreflex.h | 2 +-
3243 include/linux/ppp-comp.h | 2 +-
3244 include/linux/preempt.h | 21 +
3245 include/linux/proc_ns.h | 2 +-
3246 include/linux/quota.h | 2 +-
3247 include/linux/random.h | 23 +-
3248 include/linux/rculist.h | 16 +
3249 include/linux/reboot.h | 14 +-
3250 include/linux/regset.h | 3 +-
3251 include/linux/relay.h | 2 +-
3252 include/linux/rio.h | 2 +-
3253 include/linux/rmap.h | 4 +-
3254 include/linux/sched.h | 74 +-
3255 include/linux/sched/sysctl.h | 1 +
3256 include/linux/semaphore.h | 2 +-
3257 include/linux/seq_file.h | 1 +
3258 include/linux/signal.h | 2 +-
3259 include/linux/skbuff.h | 10 +-
3260 include/linux/slab.h | 47 +-
3261 include/linux/slab_def.h | 14 +-
3262 include/linux/slub_def.h | 2 +-
3263 include/linux/smp.h | 2 +
3264 include/linux/sock_diag.h | 2 +-
3265 include/linux/sonet.h | 2 +-
3266 include/linux/sunrpc/addr.h | 8 +-
3267 include/linux/sunrpc/clnt.h | 2 +-
3268 include/linux/sunrpc/svc.h | 2 +-
3269 include/linux/sunrpc/svc_rdma.h | 18 +-
3270 include/linux/sunrpc/svcauth.h | 2 +-
3271 include/linux/swiotlb.h | 3 +-
3272 include/linux/syscalls.h | 21 +-
3273 include/linux/syscore_ops.h | 2 +-
3274 include/linux/sysctl.h | 3 +-
3275 include/linux/sysfs.h | 9 +-
3276 include/linux/sysrq.h | 3 +-
3277 include/linux/tcp.h | 14 +-
3278 include/linux/thread_info.h | 7 +
3279 include/linux/tty.h | 4 +-
3280 include/linux/tty_driver.h | 2 +-
3281 include/linux/tty_ldisc.h | 2 +-
3282 include/linux/types.h | 16 +
3283 include/linux/uaccess.h | 6 +-
3284 include/linux/uio_driver.h | 2 +-
3285 include/linux/unaligned/access_ok.h | 24 +-
3286 include/linux/usb.h | 6 +-
3287 include/linux/usb/hcd.h | 1 +
3288 include/linux/usb/renesas_usbhs.h | 2 +-
3289 include/linux/vermagic.h | 21 +-
3290 include/linux/vga_switcheroo.h | 8 +-
3291 include/linux/vmalloc.h | 7 +-
3292 include/linux/vmstat.h | 24 +-
3293 include/linux/xattr.h | 5 +-
3294 include/linux/zlib.h | 3 +-
3295 include/media/v4l2-dev.h | 2 +-
3296 include/media/v4l2-device.h | 2 +-
3297 include/net/9p/transport.h | 2 +-
3298 include/net/bluetooth/l2cap.h | 2 +-
3299 include/net/bonding.h | 2 +-
3300 include/net/caif/cfctrl.h | 6 +-
3301 include/net/flow.h | 2 +-
3302 include/net/genetlink.h | 2 +-
3303 include/net/gro_cells.h | 2 +-
3304 include/net/inet_connection_sock.h | 2 +-
3305 include/net/inet_sock.h | 2 +-
3306 include/net/inetpeer.h | 2 +-
3307 include/net/ip_fib.h | 2 +-
3308 include/net/ip_vs.h | 8 +-
3309 include/net/irda/ircomm_tty.h | 1 +
3310 include/net/iucv/af_iucv.h | 2 +-
3311 include/net/llc_c_ac.h | 2 +-
3312 include/net/llc_c_ev.h | 4 +-
3313 include/net/llc_c_st.h | 2 +-
3314 include/net/llc_s_ac.h | 2 +-
3315 include/net/llc_s_st.h | 2 +-
3316 include/net/mac80211.h | 2 +-
3317 include/net/neighbour.h | 2 +-
3318 include/net/net_namespace.h | 18 +-
3319 include/net/netlink.h | 2 +-
3320 include/net/netns/conntrack.h | 6 +-
3321 include/net/netns/ipv4.h | 4 +-
3322 include/net/netns/ipv6.h | 4 +-
3323 include/net/netns/xfrm.h | 2 +-
3324 include/net/ping.h | 2 +-
3325 include/net/protocol.h | 4 +-
3326 include/net/rtnetlink.h | 2 +-
3327 include/net/sctp/checksum.h | 4 +-
3328 include/net/sctp/sm.h | 4 +-
3329 include/net/sctp/structs.h | 2 +-
3330 include/net/sock.h | 12 +-
3331 include/net/tcp.h | 8 +-
3332 include/net/xfrm.h | 13 +-
3333 include/rdma/iw_cm.h | 2 +-
3334 include/scsi/libfc.h | 3 +-
3335 include/scsi/scsi_device.h | 6 +-
3336 include/scsi/scsi_driver.h | 2 +-
3337 include/scsi/scsi_transport_fc.h | 3 +-
3338 include/scsi/sg.h | 2 +-
3339 include/sound/compress_driver.h | 2 +-
3340 include/sound/soc.h | 4 +-
3341 include/target/target_core_base.h | 2 +-
3342 include/trace/events/irq.h | 4 +-
3343 include/uapi/linux/a.out.h | 8 +
3344 include/uapi/linux/bcache.h | 5 +-
3345 include/uapi/linux/byteorder/little_endian.h | 28 +-
3346 include/uapi/linux/connector.h | 2 +-
3347 include/uapi/linux/elf.h | 28 +
3348 include/uapi/linux/screen_info.h | 3 +-
3349 include/uapi/linux/swab.h | 6 +-
3350 include/uapi/linux/xattr.h | 4 +
3351 include/video/udlfb.h | 8 +-
3352 include/video/uvesafb.h | 1 +
3353 init/Kconfig | 2 +-
3354 init/Makefile | 3 +
3355 init/do_mounts.c | 14 +-
3356 init/do_mounts.h | 8 +-
3357 init/do_mounts_initrd.c | 30 +-
3358 init/do_mounts_md.c | 6 +-
3359 init/init_task.c | 4 +
3360 init/initramfs.c | 38 +-
3361 init/main.c | 30 +-
3362 ipc/compat.c | 4 +-
3363 ipc/ipc_sysctl.c | 8 +-
3364 ipc/mq_sysctl.c | 4 +-
3365 ipc/sem.c | 4 +-
3366 ipc/shm.c | 6 +
3367 kernel/audit.c | 8 +-
3368 kernel/auditsc.c | 4 +-
3369 kernel/bpf/core.c | 7 +-
3370 kernel/capability.c | 3 +
3371 kernel/compat.c | 38 +-
3372 kernel/debug/debug_core.c | 16 +-
3373 kernel/debug/kdb/kdb_main.c | 4 +-
3374 kernel/events/core.c | 26 +-
3375 kernel/events/internal.h | 10 +-
3376 kernel/events/uprobes.c | 2 +-
3377 kernel/exit.c | 2 +-
3378 kernel/fork.c | 165 +-
3379 kernel/futex.c | 11 +-
3380 kernel/futex_compat.c | 2 +-
3381 kernel/gcov/base.c | 7 +-
3382 kernel/irq/manage.c | 2 +-
3383 kernel/irq/msi.c | 20 +-
3384 kernel/irq/spurious.c | 2 +-
3385 kernel/jump_label.c | 5 +
3386 kernel/kallsyms.c | 37 +-
3387 kernel/kexec.c | 3 +-
3388 kernel/kmod.c | 8 +-
3389 kernel/kprobes.c | 4 +-
3390 kernel/ksysfs.c | 2 +-
3391 kernel/locking/lockdep.c | 7 +-
3392 kernel/locking/mutex-debug.c | 12 +-
3393 kernel/locking/mutex-debug.h | 4 +-
3394 kernel/locking/mutex.c | 6 +-
3395 kernel/locking/rtmutex-tester.c | 24 +-
3396 kernel/module.c | 422 +-
3397 kernel/notifier.c | 17 +-
3398 kernel/padata.c | 4 +-
3399 kernel/panic.c | 5 +-
3400 kernel/pid.c | 2 +-
3401 kernel/pid_namespace.c | 2 +-
3402 kernel/power/process.c | 12 +-
3403 kernel/profile.c | 14 +-
3404 kernel/ptrace.c | 8 +-
3405 kernel/rcu/rcutorture.c | 60 +-
3406 kernel/rcu/tiny.c | 4 +-
3407 kernel/rcu/tree.c | 66 +-
3408 kernel/rcu/tree.h | 26 +-
3409 kernel/rcu/tree_plugin.h | 14 +-
3410 kernel/rcu/tree_trace.c | 22 +-
3411 kernel/sched/auto_group.c | 4 +-
3412 kernel/sched/completion.c | 6 +-
3413 kernel/sched/core.c | 45 +-
3414 kernel/sched/fair.c | 2 +-
3415 kernel/sched/sched.h | 2 +-
3416 kernel/signal.c | 12 +-
3417 kernel/smpboot.c | 4 +-
3418 kernel/softirq.c | 12 +-
3419 kernel/sys.c | 10 +-
3420 kernel/sysctl.c | 34 +-
3421 kernel/time/alarmtimer.c | 2 +-
3422 kernel/time/posix-cpu-timers.c | 4 +-
3423 kernel/time/posix-timers.c | 24 +-
3424 kernel/time/timer.c | 4 +-
3425 kernel/time/timer_stats.c | 10 +-
3426 kernel/trace/blktrace.c | 6 +-
3427 kernel/trace/ftrace.c | 15 +-
3428 kernel/trace/ring_buffer.c | 96 +-
3429 kernel/trace/trace.c | 2 +-
3430 kernel/trace/trace.h | 2 +-
3431 kernel/trace/trace_clock.c | 4 +-
3432 kernel/trace/trace_events.c | 1 -
3433 kernel/trace/trace_functions_graph.c | 4 +-
3434 kernel/trace/trace_mmiotrace.c | 8 +-
3435 kernel/trace/trace_output.c | 10 +-
3436 kernel/trace/trace_seq.c | 2 +-
3437 kernel/trace/trace_stack.c | 2 +-
3438 kernel/user_namespace.c | 2 +-
3439 kernel/utsname_sysctl.c | 2 +-
3440 kernel/watchdog.c | 2 +-
3441 kernel/workqueue.c | 4 +-
3442 lib/Kconfig.debug | 8 +-
3443 lib/Makefile | 2 +-
3444 lib/average.c | 2 +-
3445 lib/bitmap.c | 10 +-
3446 lib/bug.c | 2 +
3447 lib/debugobjects.c | 2 +-
3448 lib/decompress_bunzip2.c | 3 +-
3449 lib/decompress_unlzma.c | 4 +-
3450 lib/div64.c | 4 +-
3451 lib/dma-debug.c | 4 +-
3452 lib/inflate.c | 2 +-
3453 lib/ioremap.c | 4 +-
3454 lib/kobject.c | 4 +-
3455 lib/list_debug.c | 126 +-
3456 lib/lockref.c | 44 +-
3457 lib/percpu-refcount.c | 2 +-
3458 lib/radix-tree.c | 2 +-
3459 lib/random32.c | 2 +-
3460 lib/show_mem.c | 2 +-
3461 lib/strncpy_from_user.c | 2 +-
3462 lib/strnlen_user.c | 2 +-
3463 lib/swiotlb.c | 2 +-
3464 lib/usercopy.c | 6 +
3465 lib/vsprintf.c | 12 +-
3466 mm/Kconfig | 6 +-
3467 mm/backing-dev.c | 4 +-
3468 mm/filemap.c | 2 +-
3469 mm/gup.c | 13 +-
3470 mm/highmem.c | 7 +-
3471 mm/hugetlb.c | 70 +-
3472 mm/internal.h | 3 +-
3473 mm/maccess.c | 4 +-
3474 mm/madvise.c | 37 +
3475 mm/memory-failure.c | 34 +-
3476 mm/memory.c | 425 +-
3477 mm/mempolicy.c | 25 +
3478 mm/mlock.c | 15 +-
3479 mm/mm_init.c | 2 +-
3480 mm/mmap.c | 582 +-
3481 mm/mprotect.c | 137 +-
3482 mm/mremap.c | 44 +-
3483 mm/nommu.c | 21 +-
3484 mm/page-writeback.c | 2 +-
3485 mm/page_alloc.c | 49 +-
3486 mm/percpu.c | 2 +-
3487 mm/process_vm_access.c | 14 +-
3488 mm/rmap.c | 45 +-
3489 mm/shmem.c | 19 +-
3490 mm/slab.c | 109 +-
3491 mm/slab.h | 22 +-
3492 mm/slab_common.c | 86 +-
3493 mm/slob.c | 218 +-
3494 mm/slub.c | 102 +-
3495 mm/sparse-vmemmap.c | 4 +-
3496 mm/sparse.c | 2 +-
3497 mm/swap.c | 2 +
3498 mm/swapfile.c | 12 +-
3499 mm/util.c | 6 +
3500 mm/vmalloc.c | 112 +-
3501 mm/vmstat.c | 12 +-
3502 net/8021q/vlan.c | 5 +-
3503 net/8021q/vlan_netlink.c | 2 +-
3504 net/9p/mod.c | 4 +-
3505 net/9p/trans_fd.c | 2 +-
3506 net/atm/atm_misc.c | 8 +-
3507 net/atm/lec.h | 2 +-
3508 net/atm/proc.c | 6 +-
3509 net/atm/resources.c | 4 +-
3510 net/ax25/sysctl_net_ax25.c | 2 +-
3511 net/batman-adv/bat_iv_ogm.c | 8 +-
3512 net/batman-adv/fragmentation.c | 2 +-
3513 net/batman-adv/soft-interface.c | 8 +-
3514 net/batman-adv/types.h | 6 +-
3515 net/bluetooth/hci_sock.c | 2 +-
3516 net/bluetooth/l2cap_core.c | 6 +-
3517 net/bluetooth/l2cap_sock.c | 12 +-
3518 net/bluetooth/rfcomm/sock.c | 4 +-
3519 net/bluetooth/rfcomm/tty.c | 4 +-
3520 net/bridge/br_netlink.c | 2 +-
3521 net/bridge/netfilter/ebtables.c | 6 +-
3522 net/caif/cfctrl.c | 11 +-
3523 net/caif/chnl_net.c | 2 +-
3524 net/can/af_can.c | 2 +-
3525 net/can/gw.c | 6 +-
3526 net/ceph/messenger.c | 4 +-
3527 net/compat.c | 24 +-
3528 net/core/datagram.c | 2 +-
3529 net/core/dev.c | 16 +-
3530 net/core/filter.c | 2 +-
3531 net/core/flow.c | 6 +-
3532 net/core/neighbour.c | 4 +-
3533 net/core/net-sysfs.c | 2 +-
3534 net/core/net_namespace.c | 8 +-
3535 net/core/netpoll.c | 4 +-
3536 net/core/rtnetlink.c | 15 +-
3537 net/core/scm.c | 8 +-
3538 net/core/skbuff.c | 8 +-
3539 net/core/sock.c | 28 +-
3540 net/core/sock_diag.c | 15 +-
3541 net/core/sysctl_net_core.c | 22 +-
3542 net/decnet/af_decnet.c | 1 +
3543 net/decnet/sysctl_net_decnet.c | 4 +-
3544 net/dsa/dsa.c | 2 +-
3545 net/hsr/hsr_netlink.c | 2 +-
3546 net/ieee802154/6lowpan/core.c | 2 +-
3547 net/ieee802154/6lowpan/reassembly.c | 14 +-
3548 net/ipv4/af_inet.c | 2 +-
3549 net/ipv4/devinet.c | 18 +-
3550 net/ipv4/fib_frontend.c | 6 +-
3551 net/ipv4/fib_semantics.c | 2 +-
3552 net/ipv4/inet_connection_sock.c | 4 +-
3553 net/ipv4/inet_timewait_sock.c | 2 +-
3554 net/ipv4/inetpeer.c | 2 +-
3555 net/ipv4/ip_fragment.c | 15 +-
3556 net/ipv4/ip_gre.c | 6 +-
3557 net/ipv4/ip_sockglue.c | 2 +-
3558 net/ipv4/ip_vti.c | 4 +-
3559 net/ipv4/ipconfig.c | 6 +-
3560 net/ipv4/ipip.c | 4 +-
3561 net/ipv4/netfilter/arp_tables.c | 12 +-
3562 net/ipv4/netfilter/ip_tables.c | 12 +-
3563 net/ipv4/ping.c | 14 +-
3564 net/ipv4/raw.c | 14 +-
3565 net/ipv4/route.c | 32 +-
3566 net/ipv4/sysctl_net_ipv4.c | 22 +-
3567 net/ipv4/tcp_input.c | 6 +-
3568 net/ipv4/tcp_probe.c | 2 +-
3569 net/ipv4/udp.c | 10 +-
3570 net/ipv4/xfrm4_policy.c | 18 +-
3571 net/ipv6/addrconf.c | 16 +-
3572 net/ipv6/af_inet6.c | 2 +-
3573 net/ipv6/datagram.c | 2 +-
3574 net/ipv6/icmp.c | 2 +-
3575 net/ipv6/ip6_fib.c | 4 +-
3576 net/ipv6/ip6_gre.c | 10 +-
3577 net/ipv6/ip6_tunnel.c | 4 +-
3578 net/ipv6/ip6_vti.c | 4 +-
3579 net/ipv6/ipv6_sockglue.c | 2 +-
3580 net/ipv6/netfilter/ip6_tables.c | 12 +-
3581 net/ipv6/netfilter/nf_conntrack_reasm.c | 14 +-
3582 net/ipv6/ping.c | 33 +-
3583 net/ipv6/raw.c | 17 +-
3584 net/ipv6/reassembly.c | 13 +-
3585 net/ipv6/route.c | 2 +-
3586 net/ipv6/sit.c | 4 +-
3587 net/ipv6/sysctl_net_ipv6.c | 2 +-
3588 net/ipv6/udp.c | 6 +-
3589 net/ipv6/xfrm6_policy.c | 23 +-
3590 net/irda/ircomm/ircomm_tty.c | 18 +-
3591 net/iucv/af_iucv.c | 4 +-
3592 net/iucv/iucv.c | 2 +-
3593 net/key/af_key.c | 4 +-
3594 net/l2tp/l2tp_eth.c | 38 +-
3595 net/l2tp/l2tp_ip.c | 2 +-
3596 net/l2tp/l2tp_ip6.c | 2 +-
3597 net/mac80211/cfg.c | 8 +-
3598 net/mac80211/ieee80211_i.h | 3 +-
3599 net/mac80211/iface.c | 20 +-
3600 net/mac80211/main.c | 2 +-
3601 net/mac80211/pm.c | 4 +-
3602 net/mac80211/rate.c | 2 +-
3603 net/mac80211/sta_info.c | 2 +-
3604 net/mac80211/util.c | 8 +-
3605 net/mpls/af_mpls.c | 6 +-
3606 net/netfilter/ipset/ip_set_core.c | 2 +-
3607 net/netfilter/ipvs/ip_vs_conn.c | 6 +-
3608 net/netfilter/ipvs/ip_vs_core.c | 4 +-
3609 net/netfilter/ipvs/ip_vs_ctl.c | 14 +-
3610 net/netfilter/ipvs/ip_vs_lblc.c | 2 +-
3611 net/netfilter/ipvs/ip_vs_lblcr.c | 2 +-
3612 net/netfilter/ipvs/ip_vs_sync.c | 6 +-
3613 net/netfilter/ipvs/ip_vs_xmit.c | 4 +-
3614 net/netfilter/nf_conntrack_acct.c | 2 +-
3615 net/netfilter/nf_conntrack_ecache.c | 2 +-
3616 net/netfilter/nf_conntrack_helper.c | 2 +-
3617 net/netfilter/nf_conntrack_proto.c | 2 +-
3618 net/netfilter/nf_conntrack_standalone.c | 2 +-
3619 net/netfilter/nf_conntrack_timestamp.c | 2 +-
3620 net/netfilter/nf_log.c | 10 +-
3621 net/netfilter/nf_sockopt.c | 4 +-
3622 net/netfilter/nfnetlink_log.c | 4 +-
3623 net/netfilter/nft_compat.c | 9 +-
3624 net/netfilter/xt_statistic.c | 8 +-
3625 net/netlink/af_netlink.c | 4 +-
3626 net/openvswitch/vport-internal_dev.c | 2 +-
3627 net/openvswitch/vport.c | 16 +-
3628 net/openvswitch/vport.h | 8 +-
3629 net/packet/af_packet.c | 8 +-
3630 net/phonet/pep.c | 6 +-
3631 net/phonet/socket.c | 2 +-
3632 net/phonet/sysctl.c | 2 +-
3633 net/rds/cong.c | 6 +-
3634 net/rds/ib.h | 2 +-
3635 net/rds/ib_cm.c | 2 +-
3636 net/rds/ib_recv.c | 4 +-
3637 net/rds/iw.h | 2 +-
3638 net/rds/iw_cm.c | 2 +-
3639 net/rds/iw_recv.c | 4 +-
3640 net/rds/rds.h | 2 +-
3641 net/rds/tcp.c | 2 +-
3642 net/rds/tcp_send.c | 2 +-
3643 net/rxrpc/af_rxrpc.c | 2 +-
3644 net/rxrpc/ar-ack.c | 14 +-
3645 net/rxrpc/ar-call.c | 2 +-
3646 net/rxrpc/ar-connection.c | 2 +-
3647 net/rxrpc/ar-connevent.c | 2 +-
3648 net/rxrpc/ar-input.c | 4 +-
3649 net/rxrpc/ar-internal.h | 8 +-
3650 net/rxrpc/ar-local.c | 2 +-
3651 net/rxrpc/ar-output.c | 4 +-
3652 net/rxrpc/ar-peer.c | 2 +-
3653 net/rxrpc/ar-proc.c | 4 +-
3654 net/rxrpc/ar-transport.c | 2 +-
3655 net/rxrpc/rxkad.c | 4 +-
3656 net/sched/sch_generic.c | 4 +-
3657 net/sctp/ipv6.c | 6 +-
3658 net/sctp/protocol.c | 10 +-
3659 net/sctp/sm_sideeffect.c | 2 +-
3660 net/sctp/socket.c | 21 +-
3661 net/sctp/sysctl.c | 10 +-
3662 net/socket.c | 18 +-
3663 net/sunrpc/auth_gss/svcauth_gss.c | 4 +-
3664 net/sunrpc/clnt.c | 4 +-
3665 net/sunrpc/sched.c | 4 +-
3666 net/sunrpc/svc.c | 4 +-
3667 net/sunrpc/svcauth_unix.c | 4 +-
3668 net/sunrpc/xprtrdma/svc_rdma.c | 38 +-
3669 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 8 +-
3670 net/sunrpc/xprtrdma/svc_rdma_sendto.c | 2 +-
3671 net/sunrpc/xprtrdma/svc_rdma_transport.c | 10 +-
3672 net/tipc/netlink_compat.c | 12 +-
3673 net/tipc/subscr.c | 2 +-
3674 net/unix/af_unix.c | 7 +-
3675 net/unix/sysctl_net_unix.c | 2 +-
3676 net/wireless/wext-core.c | 19 +-
3677 net/xfrm/xfrm_policy.c | 16 +-
3678 net/xfrm/xfrm_state.c | 33 +-
3679 net/xfrm/xfrm_sysctl.c | 2 +-
3680 scripts/Kbuild.include | 2 +-
3681 scripts/Makefile.build | 2 +-
3682 scripts/Makefile.clean | 3 +-
3683 scripts/Makefile.host | 63 +-
3684 scripts/basic/fixdep.c | 12 +-
3685 scripts/dtc/checks.c | 14 +-
3686 scripts/dtc/data.c | 6 +-
3687 scripts/dtc/flattree.c | 8 +-
3688 scripts/dtc/livetree.c | 4 +-
3689 scripts/gcc-plugin.sh | 51 +
3690 scripts/headers_install.sh | 1 +
3691 scripts/kallsyms.c | 4 +-
3692 scripts/kconfig/lkc.h | 5 +-
3693 scripts/kconfig/menu.c | 2 +-
3694 scripts/kconfig/symbol.c | 6 +-
3695 scripts/link-vmlinux.sh | 2 +-
3696 scripts/mod/file2alias.c | 14 +-
3697 scripts/mod/modpost.c | 25 +-
3698 scripts/mod/modpost.h | 6 +-
3699 scripts/mod/sumversion.c | 2 +-
3700 scripts/module-common.lds | 4 +
3701 scripts/package/builddeb | 1 +
3702 scripts/pnmtologo.c | 6 +-
3703 scripts/sortextable.h | 6 +-
3704 scripts/tags.sh | 2 +-
3705 security/Kconfig | 691 +-
3706 security/integrity/ima/ima.h | 4 +-
3707 security/integrity/ima/ima_api.c | 2 +-
3708 security/integrity/ima/ima_fs.c | 4 +-
3709 security/integrity/ima/ima_queue.c | 2 +-
3710 security/keys/key.c | 18 +-
3711 security/selinux/avc.c | 6 +-
3712 security/selinux/include/xfrm.h | 2 +-
3713 security/yama/yama_lsm.c | 2 +-
3714 sound/aoa/codecs/onyx.c | 7 +-
3715 sound/aoa/codecs/onyx.h | 1 +
3716 sound/core/oss/pcm_oss.c | 18 +-
3717 sound/core/pcm_compat.c | 2 +-
3718 sound/core/pcm_native.c | 4 +-
3719 sound/core/sound.c | 2 +-
3720 sound/drivers/mts64.c | 14 +-
3721 sound/drivers/opl4/opl4_lib.c | 2 +-
3722 sound/drivers/portman2x4.c | 3 +-
3723 sound/firewire/amdtp.c | 4 +-
3724 sound/firewire/amdtp.h | 4 +-
3725 sound/firewire/isight.c | 10 +-
3726 sound/firewire/scs1x.c | 8 +-
3727 sound/oss/sb_audio.c | 2 +-
3728 sound/oss/swarm_cs4297a.c | 6 +-
3729 sound/pci/hda/hda_codec.c | 2 +-
3730 sound/pci/ymfpci/ymfpci.h | 2 +-
3731 sound/pci/ymfpci/ymfpci_main.c | 12 +-
3732 sound/soc/soc-ac97.c | 6 +-
3733 sound/soc/xtensa/xtfpga-i2s.c | 2 +-
3734 tools/gcc/Makefile | 42 +
3735 tools/gcc/checker_plugin.c | 150 +
3736 tools/gcc/colorize_plugin.c | 215 +
3737 tools/gcc/constify_plugin.c | 564 +
3738 tools/gcc/gcc-common.h | 790 +
3739 tools/gcc/initify_plugin.c | 450 +
3740 tools/gcc/kallocstat_plugin.c | 188 +
3741 tools/gcc/kernexec_plugin.c | 551 +
3742 tools/gcc/latent_entropy_plugin.c | 470 +
3743 tools/gcc/size_overflow_plugin/.gitignore | 2 +
3744 tools/gcc/size_overflow_plugin/Makefile | 26 +
3745 .../disable_size_overflow_hash.data |11008 ++++++++++++++
3746 .../generate_size_overflow_hash.sh | 103 +
3747 .../insert_size_overflow_asm.c | 409 +
3748 .../size_overflow_plugin/intentional_overflow.c | 980 ++
3749 .../size_overflow_plugin/remove_unnecessary_dup.c | 137 +
3750 tools/gcc/size_overflow_plugin/size_overflow.h | 329 +
3751 .../gcc/size_overflow_plugin/size_overflow_debug.c | 192 +
3752 .../size_overflow_plugin/size_overflow_hash.data |15719 ++++++++++++++++++++
3753 .../size_overflow_hash_aux.data | 92 +
3754 tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 1373 ++
3755 .../gcc/size_overflow_plugin/size_overflow_misc.c | 505 +
3756 .../size_overflow_plugin/size_overflow_plugin.c | 318 +
3757 .../size_overflow_plugin_hash.c | 353 +
3758 .../size_overflow_plugin/size_overflow_transform.c | 576 +
3759 .../size_overflow_transform_core.c | 962 ++
3760 tools/gcc/stackleak_plugin.c | 436 +
3761 tools/gcc/structleak_plugin.c | 287 +
3762 tools/include/linux/compiler.h | 8 +
3763 tools/lib/api/Makefile | 2 +-
3764 tools/perf/util/include/asm/alternative-asm.h | 3 +
3765 tools/virtio/linux/uaccess.h | 2 +-
3766 virt/kvm/kvm_main.c | 44 +-
3767 1963 files changed, 60342 insertions(+), 8946 deletions(-)