Auto commit, grsecurity-3.1-4.9.13-201702270729.patch added.
[thirdparty/grsecurity-scrape.git] / test / changelog-test.txt
1 commit f9c6bb92aa1205f0402085e363fa914ea34beceb
2 Author: Brad Spengler <spender@grsecurity.net>
3 Date:   Mon Feb 27 06:55:25 2017 -0500
4
5     Fix softirq warnings reported by nail at:
6     https://forums.grsecurity.net/viewtopic.php?f=3&t=4668
7     and reported and debugged by Jason Donenfeld.
8     
9     A stray put_cpu() was left in the pax_check_alloca code when
10     porting to Linux 4.9, which would cause a preempt imbalance
11     on interrupts making use of alloca() (either explicitly or through
12     variable length arrays).
13
14 commit 8019276815d5d50fb57b4a1bd9f33af0c5cd7615
15 Author: Brad Spengler <spender@grsecurity.net>
16 Date:   Sun Feb 26 10:28:40 2017 -0500
17
18     Update size_overflow hash table, from Toralf Foerster
19
20 commit 5996b10c778c1b3378219a3c29ae90b504482a50
21 Merge: 1d6d9f9 ef547fe
22 Author: Brad Spengler <spender@grsecurity.net>
23 Date:   Sun Feb 26 07:41:37 2017 -0500
24
25     Merge branch 'pax-test' into grsec-test
26
27 commit ef547fea89fc7818dec64af7db1c7528fc3c1436
28 Merge: bce7062 3737a5f
29 Author: Brad Spengler <spender@grsecurity.net>
30 Date:   Sun Feb 26 07:41:28 2017 -0500
31
32     Merge branch 'linux-4.9.y' into pax-test
33
34 commit 1d6d9f9363ebed20318f0c047dccb5a39a4441e7
35 Author: Brad Spengler <spender@grsecurity.net>
36 Date:   Fri Feb 24 07:11:39 2017 -0500
37
38     Silence a compiler warning, reported by Etienne Buira
39
40 commit e47311b356a178a1652c88cf47aea011f0211061
41 Author: Brad Spengler <spender@grsecurity.net>
42 Date:   Thu Feb 23 18:25:41 2017 -0500
43
44     Update size_overflow hash table
45
46 commit 7852bd5868a61b1a9c4210c0214ef8c1d3e0e7e2
47 Merge: 15fc570 bce7062
48 Author: Brad Spengler <spender@grsecurity.net>
49 Date:   Thu Feb 23 17:41:07 2017 -0500
50
51     Merge branch 'pax-test' into grsec-test
52
53 commit bce7062ee9c933a4188dec2691155442df3a79e8
54 Merge: b26ab25 ae7d431
55 Author: Brad Spengler <spender@grsecurity.net>
56 Date:   Thu Feb 23 17:40:59 2017 -0500
57
58     Merge branch 'linux-4.9.y' into pax-test
59
60 commit 15fc5704b74ec1d5c4a9ecd00c9e24e9955a1e24
61 Author: Brad Spengler <spender@grsecurity.net>
62 Date:   Thu Feb 23 17:35:05 2017 -0500
63
64     Fix !GRKERNSEC_KMEM && GRKERNSEC_SYSFS_RESTRICT incompatibility with
65     KVM, reported at https://bugs.gentoo.org/show_bug.cgi?id=597554
66     by Christian Roessner, Miro Rovis, and Étienne Buira
67
68 commit c26d7750fb91d084a1ba3fbf84fa892cabf2cee9
69 Merge: f0e6f87 b26ab25
70 Author: Brad Spengler <spender@grsecurity.net>
71 Date:   Wed Feb 22 20:46:04 2017 -0500
72
73     Merge branch 'pax-test' into grsec-test
74
75 commit b26ab25c73a41147b14a8edb35eec6a08fafd927
76 Author: Brad Spengler <spender@grsecurity.net>
77 Date:   Wed Feb 22 20:45:31 2017 -0500
78
79     Update to pax-linux-4.9.10-test5.patch:
80     - fixed resume regression on i386/UDEREF caused by upstream commit ffa64eff956a25548cad0391dbc14c672827be7b, reported by corsac
81     - fixed compile regression on i386/XEN, reported by bugmenot (https://forums.grsecurity.net/viewtopic.php?f=3&t=4677)
82     - worked around an intentional integer overflow caused by the amdgpu driver that was caught by the size overflow plugin, reported by foxxx0 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4667)
83     - made better use of upstream's idea of invpcid
84
85 commit f0e6f87d2d7d767eba1534fd8c1fa4e8e26e00c8
86 Author: Andrey Konovalov <andreyknvl@google.com>
87 Date:   Thu Feb 16 17:22:46 2017 +0100
88
89     dccp: fix freeing skb too early for IPV6_RECVPKTINFO
90     
91     In the current DCCP implementation an skb for a DCCP_PKT_REQUEST packet
92     is forcibly freed via __kfree_skb in dccp_rcv_state_process if
93     dccp_v6_conn_request successfully returns.
94     
95     However, if IPV6_RECVPKTINFO is set on a socket, the address of the skb
96     is saved to ireq->pktopts and the ref count for skb is incremented in
97     dccp_v6_conn_request, so skb is still in use. Nevertheless, it gets freed
98     in dccp_rcv_state_process.
99     
100     Fix by calling consume_skb instead of doing goto discard and therefore
101     calling __kfree_skb.
102     
103     Similar fixes for TCP:
104     
105     fb7e2399ec17f1004c0e0ccfd17439f8759ede01 [TCP]: skb is unexpectedly freed.
106     0aea76d35c9651d55bbaf746e7914e5f9ae5a25d tcp: SYN packets are now
107     simply consumed
108     
109     Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
110     Acked-by: Eric Dumazet <edumazet@google.com>
111     Signed-off-by: David S. Miller <davem@davemloft.net>
112
113 commit 9f575ef66df46cb78f751e0d8d509171afe3933e
114 Author: Brad Spengler <spender@grsecurity.net>
115 Date:   Sat Feb 18 13:09:26 2017 -0500
116
117     Update size_overflow hash table
118
119 commit e927308508ef20392a61e493bc411e73d597682f
120 Merge: 55d2e75 d711991
121 Author: Brad Spengler <spender@grsecurity.net>
122 Date:   Sat Feb 18 11:35:11 2017 -0500
123
124     Merge branch 'pax-test' into grsec-test
125
126 commit d711991b1628e84076fde9b2c94d25920cca7882
127 Merge: 70fbe2f eee1550
128 Author: Brad Spengler <spender@grsecurity.net>
129 Date:   Sat Feb 18 11:34:56 2017 -0500
130
131     Merge branch 'linux-4.9.y' into pax-test
132
133 commit 55d2e7501a1db909073644bb1b5c58effb627754
134 Author: Brad Spengler <spender@grsecurity.net>
135 Date:   Thu Feb 16 19:47:51 2017 -0500
136
137     Allow symbol printing for softirq change
138
139 commit e489c2948bc9e1d9643c84667bf81ac8387293e0
140 Merge: d7b63ba 70fbe2f
141 Author: Brad Spengler <spender@grsecurity.net>
142 Date:   Thu Feb 16 19:47:37 2017 -0500
143
144     Merge branch 'pax-test' into grsec-test
145     
146     n why this merge is necessary,
147
148 commit 70fbe2fc1540632d2cc67e770d826f9637b5b73f
149 Author: Brad Spengler <spender@grsecurity.net>
150 Date:   Thu Feb 16 19:46:55 2017 -0500
151
152     Update to pax-linux-4.9.10-test4.patch:
153     - worked around a gcc induced integer truncation that triggered a size overflow, reported by René Korthaus (https://bugs.gentoo.org/show_bug.cgi?id=609500)
154     - disabled size overflow checking on qdisc_tree_reduce_backlog for good as newer gcc is smart enough to get around the previous workaround, reported by craftyguy (https://forums.grsecurity.net/viewtopic.php?f=3&t=4640)
155     - fixed a SEGMEXEC/vma mirroring regression, reported by osea (https://forums.grsecurity.net/viewtopic.php?f=3&t=4643)
156
157 commit d7b63bad761e0ca8897ec9c5df4482483aa20201
158 Merge: d310a9c b6296dc
159 Author: Brad Spengler <spender@grsecurity.net>
160 Date:   Wed Feb 15 20:18:47 2017 -0500
161
162     Merge branch 'pax-test' into grsec-test
163
164 commit b6296dc3544b4a4543a45777a5cc1ecb2ce51042
165 Author: Brad Spengler <spender@grsecurity.net>
166 Date:   Wed Feb 15 20:16:32 2017 -0500
167
168     Update to pax-linux-4.9.9-test3.patch:
169     - fixed a compile error on i386 with X86_CMPXCHG64=n, by Natanael Copa <ncopa@alpinelinux.org>
170     - Emese fixed a few section mismatches and compile errors caused by the initify plugin, reported by Kees Cook, hunger and Valdis Kletnieks
171     - fixed a compile error caused by type mismatches on i386, reported by spender
172
173 commit d310a9c0ab751121a5f97196857bfe4e90d86adf
174 Author: Brad Spengler <spender@grsecurity.net>
175 Date:   Wed Feb 15 20:03:55 2017 -0500
176
177     compile fix, reported by ncopa
178
179 commit f6fed850d763aca4162bc24b29afe5bb23d49d91
180 Merge: c3fff1a 1971888
181 Author: Brad Spengler <spender@grsecurity.net>
182 Date:   Wed Feb 15 17:21:00 2017 -0500
183
184     Merge branch 'pax-test' into grsec-test
185
186 commit 19718886c80977af99f8181fe8e91b0f6f1fb5f7
187 Merge: b608a1f 390caee
188 Author: Brad Spengler <spender@grsecurity.net>
189 Date:   Wed Feb 15 17:20:51 2017 -0500
190
191     Merge branch 'linux-4.9.y' into pax-test
192
193 commit c3fff1a653824ad47021d536dec50e8c937e6347
194 Merge: 57a5c6d b608a1f
195 Author: Brad Spengler <spender@grsecurity.net>
196 Date:   Sun Feb 12 20:14:55 2017 -0500
197
198     Merge branch 'pax-test' into grsec-test
199
200 commit b608a1f8eadf8287e6accf031da5f5e26964e79a
201 Author: Brad Spengler <spender@grsecurity.net>
202 Date:   Sun Feb 12 20:14:47 2017 -0500
203
204     compile fix
205
206 commit 57a5c6d747cce4a1dd99e3677ddb564c47c5305a
207 Merge: f1a2106 0851ca2
208 Author: Brad Spengler <spender@grsecurity.net>
209 Date:   Sun Feb 12 20:13:15 2017 -0500
210
211     Merge branch 'pax-test' into grsec-test
212
213 commit 0851ca2f75213d1f9aabe2d10f98553bf642e024
214 Author: Brad Spengler <spender@grsecurity.net>
215 Date:   Sun Feb 12 20:13:02 2017 -0500
216
217     compile fix
218
219 commit f1a2106f030f628edd9d729e8a4cf7a7cbaffe70
220 Merge: fb5b3e7 5cff6ef
221 Author: Brad Spengler <spender@grsecurity.net>
222 Date:   Sun Feb 12 20:05:35 2017 -0500
223
224     Merge branch 'pax-test' into grsec-test
225
226 commit 5cff6ef64e73635a287a5635ed89db37b4860336
227 Author: Brad Spengler <spender@grsecurity.net>
228 Date:   Sun Feb 12 20:05:28 2017 -0500
229
230     compile fix
231
232 commit fb5b3e71be3a859d01a3e935762125808f8dcff4
233 Merge: 005e22e a85c589
234 Author: Brad Spengler <spender@grsecurity.net>
235 Date:   Sun Feb 12 19:54:55 2017 -0500
236
237     Merge branch 'pax-test' into grsec-test
238
239 commit a85c5893051fbbc5b97ab6504747f60d9359dabe
240 Author: Brad Spengler <spender@grsecurity.net>
241 Date:   Sun Feb 12 19:54:47 2017 -0500
242
243     compile fix
244
245 commit 005e22eb6f5f0630dc47c5bf4c37fe72cb8d5afa
246 Merge: 230f6cf e376f96
247 Author: Brad Spengler <spender@grsecurity.net>
248 Date:   Sun Feb 12 19:49:23 2017 -0500
249
250     Merge branch 'pax-test' into grsec-test
251
252 commit e376f965ed749044bc294004f16b36f4ca7fab28
253 Author: Brad Spengler <spender@grsecurity.net>
254 Date:   Sun Feb 12 19:49:16 2017 -0500
255
256     compile fix
257
258 commit 230f6cf74a165b342fdc05c8202422e8e243b528
259 Merge: a60f9ee f4cbdea
260 Author: Brad Spengler <spender@grsecurity.net>
261 Date:   Sun Feb 12 19:38:05 2017 -0500
262
263     Merge branch 'pax-test' into grsec-test
264
265 commit f4cbdeaa06cfd3658346f94abb5b6e11fe025961
266 Author: Brad Spengler <spender@grsecurity.net>
267 Date:   Sun Feb 12 19:37:57 2017 -0500
268
269     compile fix
270
271 commit a60f9eef51ff4133c0a713bc89c5e2137999e74c
272 Merge: dc07488 d545a4c
273 Author: Brad Spengler <spender@grsecurity.net>
274 Date:   Sun Feb 12 19:24:32 2017 -0500
275
276     Merge branch 'pax-test' into grsec-test
277
278 commit d545a4c83b3191aeee56ebda071a8476a046eb40
279 Author: Brad Spengler <spender@grsecurity.net>
280 Date:   Sun Feb 12 19:22:21 2017 -0500
281
282     Update to pax-linux-4.9.8-test2.patch:
283     - switched to upstream commit 76bee23411f8510fbf5fc5641bae2c203b726eb6 to fix LTO builds
284     - fixed the symbol export of cpu_gdt_table on x86, by corsac
285     - fixed a bunch of compile warnings, by Mathias Krause <minipli@ld-linux.so>
286     - fixed PARAVIRT/RAP boot problems, reported by quasar366 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4663) and Rhett M. Bowen (https://bugs.archlinux.org/task/52881#comment155215), tested by pierrecap@yahoo.fr
287     - fixed KERNEXEC/UEFI boot problems, reported by anoteros (https://bugs.gentoo.org/show_bug.cgi?id=608680) and Clayton Craft (https://bugs.archlinux.org/task/52881#comment155250)
288
289 commit dc07488c378373e2bf6b60df31709da5ff767afd
290 Author: Sean Rees <sean@erifax.org>
291 Date:   Wed Feb 8 14:30:59 2017 -0800
292
293     Another bug from this pointless mitigation
294     see also: https://twitter.com/halvarflake/status/827613317296508928
295     
296     mm/slub.c: fix random_seq offset destruction
297     
298     Commit 210e7a43fa90 ("mm: SLUB freelist randomization") broke USB hub
299     initialisation as described in
300     
301       https://bugzilla.kernel.org/show_bug.cgi?id=177551.
302     
303     Bail out early from init_cache_random_seq if s->random_seq is already
304     initialised.  This prevents destroying the previously computed
305     random_seq offsets later in the function.
306     
307     If the offsets are destroyed, then shuffle_freelist will truncate
308     page->freelist to just the first object (orphaning the rest).
309     
310     Fixes: 210e7a43fa90 ("mm: SLUB freelist randomization")
311     Link: http://lkml.kernel.org/r/20170207140707.20824-1-sean@erifax.org
312     Signed-off-by: Sean Rees <sean@erifax.org>
313     Reported-by: <userwithuid@gmail.com>
314     Cc: Christoph Lameter <cl@linux.com>
315     Cc: Pekka Enberg <penberg@kernel.org>
316     Cc: David Rientjes <rientjes@google.com>
317     Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
318     Cc: Thomas Garnier <thgarnie@google.com>
319     Cc: <stable@vger.kernel.org>
320     Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
321     Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
322
323 commit 7bb22c6cffa5d31bd953b6161db96000edd9eb23
324 Merge: a86976a8 9d73aa5
325 Author: Brad Spengler <spender@grsecurity.net>
326 Date:   Thu Feb 9 07:22:12 2017 -0500
327
328     Merge branch 'pax-test' into grsec-test
329
330 commit 9d73aa5a4dee061781926c89c592a7d447804e7d
331 Merge: 709a650 d2e4b66
332 Author: Brad Spengler <spender@grsecurity.net>
333 Date:   Thu Feb 9 07:22:05 2017 -0500
334
335     Merge branch 'linux-4.9.y' into pax-test
336
337 commit a86976a86e06bb353a436c2486b1ccfb471f9c50
338 Author: Brad Spengler <spender@grsecurity.net>
339 Date:   Tue Feb 7 08:31:41 2017 -0500
340
341     compile fix
342
343 commit 6261adb89e218739e07dc2e55fc87534ea2da325
344 Author: Brad Spengler <spender@grsecurity.net>
345 Date:   Tue Feb 7 07:43:30 2017 -0500
346
347     Relax /proc/pid/auxv check to match what was present in previous patches.
348     Many thanks to M. Vefa Bicakci for the report and fix!
349
350 commit cabfb9cbd9201438006865d5e67d10105d8430bc
351 Author: Brad Spengler <spender@grsecurity.net>
352 Date:   Tue Feb 7 07:31:48 2017 -0500
353
354     Cleanup from Mathias Krause
355
356 commit 24cf8c373075b002719617a16a180bcd1c281c83
357 Author: Brad Spengler <spender@grsecurity.net>
358 Date:   Tue Feb 7 07:28:52 2017 -0500
359
360     Fix driver error case that we had correct but which broke when merging
361     upstream's ripoff of our code, reported by Mathias Krause
362
363 commit d467970a05a441b364d247d5b4366913e44ad7ef
364 Merge: cd0b761 709a650
365 Author: Brad Spengler <spender@grsecurity.net>
366 Date:   Sun Feb 5 10:00:34 2017 -0500
367
368     Merge branch 'pax-test' into grsec-test
369
370 commit 709a650aee15f96f6f564e8f4753ce4d2ce4d666
371 Author: Brad Spengler <spender@grsecurity.net>
372 Date:   Sun Feb 5 10:00:20 2017 -0500
373
374     Update to pax-linux-4.9.8-test1x.patch
375
376 commit cd0b7618163bb40398b593d3649920ded2e1af33
377 Author: Brad Spengler <spender@grsecurity.net>
378 Date:   Sat Feb 4 15:58:39 2017 -0500
379
380     Update size_overflow hash table
381
382 commit a6ac7f5e6378cef84c4c00a051725c023a63021b
383 Author: Brad Spengler <spender@grsecurity.net>
384 Date:   Sat Feb 4 14:58:33 2017 -0500
385
386     Update size_overflow hash tables
387
388 commit ae5d77fb41c008fcc8b504c350fe3556b43c3973
389 Author: Brad Spengler <spender@grsecurity.net>
390 Date:   Sat Feb 4 12:35:54 2017 -0500
391
392     Update size_overflow hash table
393
394 commit 25a2af42cf8bd480755fb946623e868e297a3136
395 Author: Brad Spengler <spender@grsecurity.net>
396 Date:   Sat Feb 4 12:25:45 2017 -0500
397
398     Initial import of grsecurity 3.1 for Linux 4.9.8
399
400 commit e3932cb3abbbcfa7e0c7414541fdbd0a27453d4d
401 Author: Brad Spengler <spender@grsecurity.net>
402 Date:   Sat Feb 4 11:52:14 2017 -0500
403
404     Update to pax-linux-4.9.8-test1.patch
405
406 commit 979bddf15aa0dbb73dcd418d18ff2fd30ff1b38e
407 Merge: d93b949 c8ea2f3
408 Author: Brad Spengler <spender@grsecurity.net>
409 Date:   Sat Feb 4 04:27:39 2017 -0500
410
411     Merge branch 'linux-4.9.y' into pax-test
412
413 commit d93b94991428cb11d0f66e209c070b1ba884bf83
414 Author: Brad Spengler <spender@grsecurity.net>
415 Date:   Thu Feb 2 17:26:16 2017 -0500
416
417     Update to pax-linux-4.9.6-test1xxxxxy.patch
418
419 commit c5ecf5720061b63b90eb0ae6dcac9a7b88edd723
420 Author: Brad Spengler <spender@grsecurity.net>
421 Date:   Wed Feb 1 21:22:36 2017 -0500
422
423     Update to pax-linux-4.9.6-test1xxxxx.patch
424
425 commit aede64e292980acc6c5784bb18864cd7fabec093
426 Author: Brad Spengler <spender@grsecurity.net>
427 Date:   Wed Feb 1 20:34:33 2017 -0500
428
429     Update to pax-linux-4.9.6-test1xxxx.patch
430
431 commit 24a41127f3313bba134e0b68ab9da40f2b0f1ab5
432 Author: Brad Spengler <spender@grsecurity.net>
433 Date:   Wed Feb 1 19:32:39 2017 -0500
434
435     Update to pax-linux-4.9.6-test1xxx.patch
436
437 commit 5ed38e522dd7df25d0102f9faf97fca62ba84102
438 Merge: a2e84e3 fd2ffe5
439 Author: Brad Spengler <spender@grsecurity.net>
440 Date:   Wed Feb 1 08:14:15 2017 -0500
441
442     Merge branch 'linux-4.9.y' into pax-test
443
444 commit a2e84e35dd4c940ddf23d70de6b29a48cbcaa39c
445 Author: Brad Spengler <spender@grsecurity.net>
446 Date:   Wed Feb 1 07:40:25 2017 -0500
447
448     Update to pax-linux-4.9.6-test1xx.patch
449
450 commit a06453c00dca1885a8f638b5a4e0dfa703a2094f
451 Author: Brad Spengler <spender@grsecurity.net>
452 Date:   Tue Jan 31 19:50:03 2017 -0500
453
454     Update to pax-linux-4.9.6-test1x.patch
455
456 commit a78566f6da3985944fee653782344976e37a5dea
457 Author: Brad Spengler <spender@grsecurity.net>
458 Date:   Fri Jan 27 21:41:39 2017 -0500
459
460     Initial import of pax-linux-4.9.6-test1.patch
461 commit e5800118f68fd1553ac02b1f05bc3d567a884e22
462 Author: Brad Spengler <spender@grsecurity.net>
463 Date:   Sun Jan 15 15:50:04 2017 -0500
464
465     Fix size_overflow FP with gcc 6 reported by craftyguy at:
466     https://forums.grsecurity.net/viewtopic.php?f=3&t=4640
467
468  scripts/gcc-plugins/size_overflow_plugin/disable.data  | 1 +
469  scripts/gcc-plugins/size_overflow_plugin/e_fields.data | 1 -
470  2 files changed, 1 insertion(+), 1 deletion(-)
471
472 commit 5861d0ad8a1c929257f1eda7f97dadbc1818112f
473 Author: Brad Spengler <spender@grsecurity.net>
474 Date:   Sun Jan 15 14:17:09 2017 -0500
475
476     Initify plugin updates from Emese Revfy:
477     
478     Fixed a logical error that caused a section mismatch
479     Forgot to handle callees from a caller that is marked by BOTH.
480     
481     WARNING: vmlinux.o(.text.unlikely+0x1b1): Section mismatch in
482     reference from the function uncore_pci_exit.part.22() to the function
483     .init.text:uncore_free_pcibus_map()
484     The function uncore_pci_exit.part.22() references
485     the function __init uncore_free_pcibus_map().
486     This is often because uncore_pci_exit.part.22 lacks a __init
487     annotation or the annotation of uncore_free_pcibus_map is wrong.
488     
489     Reported-by: Kees Cook <keescook@chromium.org>
490     
491     Examine all clones as well for __init/__exit eligibility
492     WARNING: vmlinux.o(.text+0x1087e7): Section mismatch in reference from
493     the function rebind_subsystems() to the variable
494     .init.rodata.str:__func__.4400
495     The function rebind_subsystems() references
496     the variable __initconst __func__.4400.
497     This is often because rebind_subsystems lacks a __initconst
498     annotation or the annotation of __func__.4400 is wrong.
499     
500     Reported-by: Kees Cook <keescook@chromium.org>
501
502  scripts/gcc-plugins/initify_plugin.c | 76 ++++++++++++++++++++++++------------
503  1 file changed, 51 insertions(+), 25 deletions(-)
504
505 commit 08e03c1434f26e9b56f00a6ce8236320bd557494
506 Author: Brad Spengler <spender@grsecurity.net>
507 Date:   Sun Jan 15 14:08:04 2017 -0500
508
509     After over a year of hard work, KSPP has finally released its first
510     ever contribution back to grsecurity, the project from which KSPP
511     plagiarizes^Wobtains every useful improvement to Linux security.  We are proud to
512     announce in this joint release the fruits of their hard work: a typo fix
513     to change 'unkown' to 'unknown' when reporting incorrect GCC plugin
514     command line arguments.  Many thanks to Kees Cook and KSPP for this
515     innovation in spell check, and we look forward to many future
516     contributions of the same ilk from their capable hands.  'This
517     contribution of a typo fix confirms the high level of respect and
518     commitment to long-term sustainability KSPP has for grsecurity and its
519     innovative efforts over the past 16 years in producing the state of the
520     art in Linux security' said Brad Spengler, President of Open Source
521     Security Inc.
522     
523     "Based on a patch by Kees Cook" (since like much upstream efforts this
524     one was incomplete in that it missed the rap and size_overflow typos
525     as they existed in separate directories).
526
527  scripts/gcc-plugins/checker_plugin.c                            | 2 +-
528  scripts/gcc-plugins/colorize_plugin.c                           | 2 +-
529  scripts/gcc-plugins/constify_plugin.c                           | 2 +-
530  scripts/gcc-plugins/initify_plugin.c                            | 2 +-
531  scripts/gcc-plugins/kernexec_plugin.c                           | 2 +-
532  scripts/gcc-plugins/latent_entropy_plugin.c                     | 2 +-
533  scripts/gcc-plugins/randomize_layout_plugin.c                   | 2 +-
534  scripts/gcc-plugins/rap_plugin/rap_plugin.c                     | 2 +-
535  scripts/gcc-plugins/sancov_plugin.c                             | 2 +-
536  scripts/gcc-plugins/size_overflow_plugin/size_overflow_plugin.c | 2 +-
537  scripts/gcc-plugins/stackleak_plugin.c                          | 2 +-
538  scripts/gcc-plugins/structleak_plugin.c                         | 2 +-
539  12 files changed, 12 insertions(+), 12 deletions(-)
540
541 commit 9b4ad0aa5ee41a03f02a928e2fd9679044048bde
542 Author: Brad Spengler <spender@grsecurity.net>
543 Date:   Sun Jan 15 12:18:18 2017 -0500
544
545     Fix boot hang on 32-bit 4.8 kernels with SEGMEXEC enabled, reported by
546     osea at:
547     https://forums.grsecurity.net/viewtopic.php?f=3&t=4643
548
549  mm/memory.c | 11 +++++++++++
550  1 file changed, 11 insertions(+)
551
552 commit 2c93d3e0efb5b3d413cf2c0c5ac56faf47fa3e2d
553 Author: Brad Spengler <spender@grsecurity.net>
554 Date:   Sun Jan 15 08:52:57 2017 -0500
555
556     Allow USERCOPY to be disabled, was a bug in PaX that somehow slipped through
557     the holiday cracks
558     
559     Reported by Chris Henhawke at:
560     https://bugs.gentoo.org/show_bug.cgi?id=603188
561
562  security/Kconfig | 2 +-
563  1 file changed, 1 insertion(+), 1 deletion(-)
564
565 commit e86618efec929cb7f77480f35b21154368f2e7d1
566 Author: John Sperbeck <jsperbeck@google.com>
567 Date:   Tue Jan 10 16:58:24 2017 -0800
568
569     From the team that brought you useless improvements to the useless KASLR:
570     Useless mitigation causing likely privesc, with one of the worst commit messages
571     of all time (that wasn't written by an upstream developer for once -- to his credit,
572     Andrew Morton actually demanded more info (albeit receiving it in vague quality),
573     without which this commit message would have been even more sparse.
574     
575     Someone should request a CVE for this:
576     
577     mm/slab.c: fix SLAB freelist randomization duplicate entries
578     
579     This patch fixes a bug in the freelist randomization code.  When a high
580     random number is used, the freelist will contain duplicate entries.  It
581     will result in different allocations sharing the same chunk.
582     
583     It will result in odd behaviours and crashes.  It should be uncommon but
584     it depends on the machines.  We saw it happening more often on some
585     machines (every few hours of running tests).
586     
587     Fixes: c7ce4f60ac19 ("mm: SLAB freelist randomization")
588     Link: http://lkml.kernel.org/r/20170103181908.143178-1-thgarnie@google.com
589     Signed-off-by: John Sperbeck <jsperbeck@google.com>
590     Signed-off-by: Thomas Garnier <thgarnie@google.com>
591     Cc: Christoph Lameter <cl@linux.com>
592     Cc: Pekka Enberg <penberg@kernel.org>
593     Cc: David Rientjes <rientjes@google.com>
594     Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
595     Cc: <stable@vger.kernel.org>
596     Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
597     Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
598
599  mm/slab.c | 8 ++++----
600  1 file changed, 4 insertions(+), 4 deletions(-)
601
602 commit f7abe91bbcb4950f9c611fadd813b6dbe68db74b
603 Merge: 124f515 006324d
604 Author: Brad Spengler <spender@grsecurity.net>
605 Date:   Mon Jan 9 07:22:15 2017 -0500
606
607     Merge branch 'pax-test' into grsec-test
608
609 commit 006324d50d856bb254eb375407bc0478f8ae95eb
610 Merge: 2f6e197 3d8f8d0
611 Author: Brad Spengler <spender@grsecurity.net>
612 Date:   Mon Jan 9 07:22:06 2017 -0500
613
614     Merge branch 'linux-4.8.y' into pax-test
615
616 commit 124f5155ead017e547c2a3736a312762870d4b0d
617 Author: Brad Spengler <spender@grsecurity.net>
618 Date:   Fri Jan 6 18:03:39 2017 -0500
619
620     compile fix
621
622  fs/exec.c | 2 +-
623  1 file changed, 1 insertion(+), 1 deletion(-)
624
625 commit 655fffef715aff25550a3a90eaf4a7d06426ed8f
626 Author: Brad Spengler <spender@grsecurity.net>
627 Date:   Fri Jan 6 17:57:28 2017 -0500
628
629     compile fix
630
631  fs/exec.c       | 2 +-
632  kernel/ptrace.c | 3 ++-
633  2 files changed, 3 insertions(+), 2 deletions(-)
634
635 commit a4f3d168f78cb8d84eaabba7dd501799b1f6e5a1
636 Merge: c86a12c 2f6e197
637 Author: Brad Spengler <spender@grsecurity.net>
638 Date:   Fri Jan 6 09:01:05 2017 -0500
639
640     Merge branch 'pax-test' into grsec-test
641
642 commit 2f6e19780747cdf28176251e19d15c2741b58813
643 Merge: a685c6f c65ed08
644 Author: Brad Spengler <spender@grsecurity.net>
645 Date:   Fri Jan 6 08:01:20 2017 -0500
646
647     Merge branch 'linux-4.8.y' into pax-test
648
649 commit c86a12c6f8a8551a0025ad531abe9d383e7388d2
650 Author: Brad Spengler <spender@grsecurity.net>
651 Date:   Tue Jan 3 17:37:11 2017 -0500
652
653     Fix an off-by-one in reporting some denied socket families, as reported by
654     Blub
655
656  grsecurity/gracl_ip.c | 2 +-
657  1 file changed, 1 insertion(+), 1 deletion(-)
658
659 commit 85f6681653925320e2040a772aa9526d7bdbe083
660 Merge: 9d7ca54 a685c6f
661 Author: Brad Spengler <spender@grsecurity.net>
662 Date:   Tue Jan 3 17:18:37 2017 -0500
663
664     Merge branch 'pax-test' into grsec-test
665
666 commit a685c6fc603aac945ce129adfcbeb9b05b0aba62
667 Author: Brad Spengler <spender@grsecurity.net>
668 Date:   Tue Jan 3 17:18:07 2017 -0500
669
670     Update to pax-linux-4.8.15-test9.patch:
671     - fixed a few compiler warnings due to KERNEXEC and constification, reported by spender
672     - made a few micro-optimizations to lretq usage on amd64 and BUG_ON
673     - updated gcc-common.h and the plugins to eliminate some code bloat in pass registration
674     - fixed the use of build_string in all gcc plugins as it doesn't set TREE_TYPE itself
675
676  arch/x86/kernel/head_64.S                          |   6 +-
677  drivers/hv/hv.c                                    |   2 +-
678  drivers/net/ethernet/amd/xgbe/xgbe.h               |   6 +-
679  include/asm-generic/bug.h                          |   2 +-
680  scripts/gcc-plugins/checker_plugin.c               |  15 +--
681  scripts/gcc-plugins/colorize_plugin.c              |   8 +-
682  scripts/gcc-plugins/constify_plugin.c              |   9 +-
683  scripts/gcc-plugins/cyc_complexity_plugin.c        |   8 +-
684  scripts/gcc-plugins/gcc-common.h                   | 106 ++++++++++++++++++---
685  scripts/gcc-plugins/initify_plugin.c               |  12 +--
686  scripts/gcc-plugins/kallocstat_plugin.c            |   8 +-
687  scripts/gcc-plugins/kernexec_plugin.c              |  28 ++----
688  scripts/gcc-plugins/latent_entropy_plugin.c        |  10 +-
689  scripts/gcc-plugins/rap_plugin/rap_plugin.c        |  24 ++---
690  scripts/gcc-plugins/sancov_plugin.c                |  14 ++-
691  .../insert_size_overflow_asm.c                     |   6 +-
692  .../size_overflow_plugin/size_overflow_ipa.c       |   2 +-
693  .../size_overflow_plugin/size_overflow_plugin.c    |  26 ++---
694  .../size_overflow_plugin/size_overflow_transform.c |   4 +-
695  .../size_overflow_transform_core.c                 |  20 +---
696  scripts/gcc-plugins/stackleak_plugin.c             |  18 +---
697  scripts/gcc-plugins/structleak_plugin.c            |   8 +-
698  22 files changed, 164 insertions(+), 178 deletions(-)
699
700 commit 9d7ca543b94c0203affd278739c77992ccaa7ba6
701 Author: Brad Spengler <spender@grsecurity.net>
702 Date:   Fri Dec 30 18:21:59 2016 -0500
703
704     Fix virtualbox host compatibility as reported by aurelf at:
705     https://forums.grsecurity.net/viewtopic.php?f=3&t=4634
706     
707     This will be reverted once the VirtualBox devs stop disabling
708     SMAP unnecessarily, which seems like it will happen never.
709     Anyone who cares about security of their host system shouldn't
710     use VirtualBox, as it already precludes the use of KERNEXEC, UDEREF,
711     and RANDKSTACK.
712
713  arch/x86/include/asm/irqflags.h | 4 ++++
714  1 file changed, 4 insertions(+)
715
716 commit cec0b19f2d7ac2d8f8357aee654dddd4418086b8
717 Author: Brad Spengler <spender@grsecurity.net>
718 Date:   Thu Dec 22 22:19:33 2016 -0500
719
720     Make HIDESYM select PAX_USERCOPY instead of the now nonexistent PAX_USERCOPY_SLABS
721
722  grsecurity/Kconfig | 2 +-
723  1 file changed, 1 insertion(+), 1 deletion(-)
724
725 commit 61c3fa5b25ecc4a7c4f3d531a5cc76adeb89336c
726 Author: Brad Spengler <spender@grsecurity.net>
727 Date:   Thu Dec 15 18:36:17 2016 -0500
728
729     Update size_overflow hash table
730
731  scripts/gcc-plugins/size_overflow_plugin/e_fns.data | 1 +
732  1 file changed, 1 insertion(+)
733
734 commit 58e3f480aa38ec2007ec86afdbe668cf30238cd2
735 Author: Linus Torvalds <torvalds@linux-foundation.org>
736 Date:   Wed Dec 14 12:45:25 2016 -0800
737
738     vfs,mm: fix return value of read() at s_maxbytes
739     
740     We truncated the possible read iterator to s_maxbytes in commit
741     c2a9737f45e2 ("vfs,mm: fix a dead loop in truncate_inode_pages_range()"),
742     but our end condition handling was wrong: it's not an error to try to
743     read at the end of the file.
744     
745     Reading past the end should return EOF (0), not EINVAL.
746     
747     See for example
748     
749       https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1649342
750       http://lists.gnu.org/archive/html/bug-coreutils/2016-12/msg00008.html
751     
752     where a md5sum of a maximally sized file fails because the final read is
753     exactly at s_maxbytes.
754     
755     Fixes: c2a9737f45e2 ("vfs,mm: fix a dead loop in truncate_inode_pages_range()")
756     Reported-by: Joseph Salisbury <joseph.salisbury@canonical.com>
757     Cc: Wei Fang <fangwei1@huawei.com>
758     Cc: Christoph Hellwig <hch@infradead.org>
759     Cc: Dave Chinner <david@fromorbit.com>
760     Cc: Al Viro <viro@zeniv.linux.org.uk>
761     Cc: Andrew Morton <akpm@linux-foundation.org>
762     Cc: stable@kernel.org
763     Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
764
765  mm/filemap.c | 2 +-
766  1 file changed, 1 insertion(+), 1 deletion(-)
767
768 commit 70975981c11bc45fd4ad44e9a6f5e8c2210a14f6
769 Merge: 3a0285a 224c7ab
770 Author: Brad Spengler <spender@grsecurity.net>
771 Date:   Thu Dec 15 17:43:49 2016 -0500
772
773     Merge branch 'pax-test' into grsec-test
774
775 commit 224c7ab2cacdcf25cc319978f7fbe64f519f03f0
776 Merge: ccbe963 8bba2e2
777 Author: Brad Spengler <spender@grsecurity.net>
778 Date:   Thu Dec 15 17:43:37 2016 -0500
779
780     Merge branch 'linux-4.8.y' into pax-test
781
782 commit 3a0285abbc886698581f682e6d269143c1709031
783 Merge: eec49c3 ccbe963
784 Author: Brad Spengler <spender@grsecurity.net>
785 Date:   Sat Dec 10 17:49:55 2016 -0500
786
787     Merge branch 'pax-test' into grsec-test
788
789 commit ccbe96350259e7d78fb4178ab1e5ece026641816
790 Merge: dd08da6 7b8c57c
791 Author: Brad Spengler <spender@grsecurity.net>
792 Date:   Sat Dec 10 17:49:17 2016 -0500
793
794     Update to pax-linux-4.8.14-test8.patch:
795     - fixed hyperv hypercall page handling when compiled as a module, reported by Kyle Spiers (kyle@atomicorp.com)
796     - fixed a logic error in initify that initified some ineligible functions triggering a boot crash under hyperv, reported by Kyle Spiers (kyle@atomicorp.com)
797     - Emese turned the compile time error checking of the nocapture attribute into a warning instead
798     - prototypes were missing for make_*_pass(), reported by Andrew Donnellan <andrew.donnellan@au1.ibm.com>
799     
800     Merge branch 'linux-4.8.y' into pax-test
801
802 commit eec49c307bcebdfb24cd0c9d1d69282490d30e90
803 Merge: 2fd4ed6 dd08da6
804 Author: Brad Spengler <spender@grsecurity.net>
805 Date:   Thu Dec 8 20:03:08 2016 -0500
806
807     Merge branch 'pax-test' into grsec-test
808
809 commit dd08da6af044ecb2b82a0be6bb57a8814637a10e
810 Author: Brad Spengler <spender@grsecurity.net>
811 Date:   Thu Dec 8 20:02:44 2016 -0500
812
813     Forward-port some PaX changes:
814     - fixed hyperv hypercall page handling when compiled as a module, reported by Kyle Spiers (kyle@atomicorp.com)
815     - fixed a logic error in initify that initified some ineligible functions triggering a boot crash under hyperv, reported by Kyle Spiers (kyle@atomicorp.com)
816     - Emese turned the compile time error checking of the nocapture attribute into a warning instead
817
818  drivers/hv/hv.c                      |  2 +-
819  scripts/gcc-plugins/initify_plugin.c | 14 ++++++--------
820  2 files changed, 7 insertions(+), 9 deletions(-)
821
822 commit 2fd4ed677eead793deb99095d0fea1014947fc1f
823 Author: David Ahern <dsa@cumulusnetworks.com>
824 Date:   Sun Nov 27 18:52:53 2016 -0800
825
826     net: handle no dst on skb in icmp6_send
827     
828     Andrey reported the following while fuzzing the kernel with syzkaller:
829     
830     kasan: CONFIG_KASAN_INLINE enabled
831     kasan: GPF could be caused by NULL-ptr deref or user memory access
832     general protection fault: 0000 [#1] SMP KASAN
833     Modules linked in:
834     CPU: 0 PID: 3859 Comm: a.out Not tainted 4.9.0-rc6+ #429
835     Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011
836     task: ffff8800666d4200 task.stack: ffff880067348000
837     RIP: 0010:[<ffffffff833617ec>]  [<ffffffff833617ec>]
838     icmp6_send+0x5fc/0x1e30 net/ipv6/icmp.c:451
839     RSP: 0018:ffff88006734f2c0  EFLAGS: 00010206
840     RAX: ffff8800666d4200 RBX: 0000000000000000 RCX: 0000000000000000
841     RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 0000000000000018
842     RBP: ffff88006734f630 R08: ffff880064138418 R09: 0000000000000003
843     R10: dffffc0000000000 R11: 0000000000000005 R12: 0000000000000000
844     R13: ffffffff84e7e200 R14: ffff880064138484 R15: ffff8800641383c0
845     FS:  00007fb3887a07c0(0000) GS:ffff88006cc00000(0000) knlGS:0000000000000000
846     CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
847     CR2: 0000000020000000 CR3: 000000006b040000 CR4: 00000000000006f0
848     Stack:
849      ffff8800666d4200 ffff8800666d49f8 ffff8800666d4200 ffffffff84c02460
850      ffff8800666d4a1a 1ffff1000ccdaa2f ffff88006734f498 0000000000000046
851      ffff88006734f440 ffffffff832f4269 ffff880064ba7456 0000000000000000
852     Call Trace:
853      [<ffffffff83364ddc>] icmpv6_param_prob+0x2c/0x40 net/ipv6/icmp.c:557
854      [<     inline     >] ip6_tlvopt_unknown net/ipv6/exthdrs.c:88
855      [<ffffffff83394405>] ip6_parse_tlv+0x555/0x670 net/ipv6/exthdrs.c:157
856      [<ffffffff8339a759>] ipv6_parse_hopopts+0x199/0x460 net/ipv6/exthdrs.c:663
857      [<ffffffff832ee773>] ipv6_rcv+0xfa3/0x1dc0 net/ipv6/ip6_input.c:191
858      ...
859     
860     icmp6_send / icmpv6_send is invoked for both rx and tx paths. In both
861     cases the dst->dev should be preferred for determining the L3 domain
862     if the dst has been set on the skb. Fallback to the skb->dev if it has
863     not. This covers the case reported here where icmp6_send is invoked on
864     Rx before the route lookup.
865     
866     Fixes: 5d41ce29e ("net: icmp6_send should use dst dev to determine L3 domain")
867     Reported-by: Andrey Konovalov <andreyknvl@google.com>
868     Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
869     Signed-off-by: David S. Miller <davem@davemloft.net>
870
871  net/ipv6/icmp.c | 6 ++++--
872  1 file changed, 4 insertions(+), 2 deletions(-)
873
874 commit 15977cda939cb4a2072de08f265d2d95a97c5c9c
875 Merge: 4d51197 5d6499b
876 Author: Brad Spengler <spender@grsecurity.net>
877 Date:   Thu Dec 8 19:56:26 2016 -0500
878
879     Merge branch 'pax-test' into grsec-test
880
881 commit 5d6499bbf52429aee789035bda61df32919293e0
882 Merge: f3f4924 55d64c0
883 Author: Brad Spengler <spender@grsecurity.net>
884 Date:   Thu Dec 8 19:56:19 2016 -0500
885
886     Merge branch 'linux-4.8.y' into pax-test
887
888 commit 4d51197ad44024df9dcb2f8f3bc871d5cc185808
889 Author: Philip Pettersson <philip.pettersson@gmail.com>
890 Date:   Wed Nov 30 14:55:36 2016 -0800
891
892     Not unpriv privilege escalation on any version of grsecurity --
893     (contrary to copy+pasted Arch Linux security advisories)
894     we've disabled unprivileged userns ever since it existed.
895     
896     packet: fix race condition in packet_set_ring
897     
898     When packet_set_ring creates a ring buffer it will initialize a
899     struct timer_list if the packet version is TPACKET_V3. This value
900     can then be raced by a different thread calling setsockopt to
901     set the version to TPACKET_V1 before packet_set_ring has finished.
902     
903     This leads to a use-after-free on a function pointer in the
904     struct timer_list when the socket is closed as the previously
905     initialized timer will not be deleted.
906     
907     The bug is fixed by taking lock_sock(sk) in packet_setsockopt when
908     changing the packet version while also taking the lock at the start
909     of packet_set_ring.
910     
911     Fixes: f6fb8f100b80 ("af-packet: TPACKET_V3 flexible buffer implementation.")
912     Signed-off-by: Philip Pettersson <philip.pettersson@gmail.com>
913     Signed-off-by: Eric Dumazet <edumazet@google.com>
914     Signed-off-by: David S. Miller <davem@davemloft.net>
915
916  net/packet/af_packet.c | 18 ++++++++++++------
917  1 file changed, 12 insertions(+), 6 deletions(-)
918
919 commit 8fb1a916b99396cae8f6961d1734ea51c333e8ae
920 Merge: 54050b7 f3f4924
921 Author: Brad Spengler <spender@grsecurity.net>
922 Date:   Tue Dec 6 21:42:51 2016 -0500
923
924     Merge branch 'pax-test' into grsec-test
925
926 commit f3f49240500f0393101d222410f48f68c481959b
927 Author: Brad Spengler <spender@grsecurity.net>
928 Date:   Tue Dec 6 21:42:28 2016 -0500
929
930     Update to pax-linux-4.8.12-test7.patch:
931     - fixed non-executable HIBERNATION resume code on amd64, reported and partially fixed by Arseny Solokha <asolokha@gmx.com>
932     - fixed USERCOPY compile regression with old gcc versions, reported by André Ferraz
933     - fixed ENDPROC use on atomic functions on sparc64
934     - fixed return value checking of convert_ip_to_linear
935     - fixed a few function types for RAP
936
937  arch/arm64/include/asm/processor.h     |  7 -------
938  arch/sparc/lib/atomic_64.S             |  8 ++++----
939  arch/x86/kernel/step.c                 |  2 +-
940  arch/x86/mm/fault.c                    |  5 ++++-
941  arch/x86/power/cpu.c                   |  4 ++++
942  arch/x86/power/hibernate_64.c          | 11 +++++------
943  drivers/misc/lkdtm_core.c              |  2 +-
944  drivers/staging/wlan-ng/p80211netdev.c |  2 +-
945  include/linux/init_task.h              |  1 -
946  9 files changed, 20 insertions(+), 22 deletions(-)
947
948 commit 54050b78ed9dc52e72180f178a38474606a09d5c
949 Merge: 736e717 34c61d4
950 Author: Brad Spengler <spender@grsecurity.net>
951 Date:   Sat Dec 3 09:14:47 2016 -0500
952
953     Merge branch 'pax-test' into grsec-test
954
955 commit 34c61d446390e30aa6b5c6940618a500c894a397
956 Merge: 99257a4 356ccf6
957 Author: Brad Spengler <spender@grsecurity.net>
958 Date:   Sat Dec 3 09:14:32 2016 -0500
959
960     Merge branch 'linux-4.8.y' into pax-test
961
962 commit 736e717e33565dd4e71870b60d310e1d5aa3d0cd
963 Merge: 6e1844a 99257a4
964 Author: Brad Spengler <spender@grsecurity.net>
965 Date:   Sun Nov 27 11:33:24 2016 -0500
966
967     Merge branch 'pax-test' into grsec-test
968
969 commit 99257a4169235bbe2576eb44ce2e0ce640070a17
970 Author: Brad Spengler <spender@grsecurity.net>
971 Date:   Sun Nov 27 11:32:06 2016 -0500
972
973     Update to pax-linux-4.8.11-test6.patch:
974     - fixed harmless compile warning introduced by a previous fix, reported by Matt Turner (https://bugs.gentoo.org/show_bug.cgi?id=599320#c11)
975     - removed unnecessary objtree use in generating the size overflow hash tables
976     - Emese worked around a size overflow false positive in drbd, reported by rot (https://forums.grsecurity.net/viewtopic.php?f=3&t=4526)
977
978  drivers/block/drbd/drbd_int.h                     | 2 +-
979  kernel/trace/trace_printk.c                       | 6 ------
980  scripts/gcc-plugins/size_overflow_plugin/Makefile | 4 ++--
981  3 files changed, 3 insertions(+), 9 deletions(-)
982
983 commit 6e1844aa17930704e360cd231fa5d12f3aadda1b
984 Author: Ard Biesheuvel <ard.biesheuvel@linaro.org>
985 Date:   Mon Oct 17 15:05:33 2016 +0100
986
987     mac80211: move struct aead_req off the stack
988     
989     Some crypto implementations (such as the generic CCM wrapper in crypto/)
990     use scatterlists to map fields of private data in their struct aead_req.
991     This means these data structures cannot live in the vmalloc area, which
992     means that they cannot live on the stack (with CONFIG_VMAP_STACK.)
993     
994     This currently occurs only with the generic software implementation, but
995     the private data and usage is implementation specific, so move the whole
996     data structures off the stack into heap by allocating every time we need
997     to use them.
998     
999     In addition, take care not to put any of our own stack allocations into
1000     scatterlists. This involves reserving some extra room when allocating the
1001     aead_request structures, and referring to those allocations in the scatter-
1002     lists (while copying the data from the stack before the crypto operation)
1003     
1004     Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
1005     Signed-off-by: Johannes Berg <johannes.berg@intel.com>
1006
1007  net/mac80211/aes_ccm.c  | 46 ++++++++++++++++++++++++++++++----------------
1008  net/mac80211/aes_ccm.h  |  8 +++++---
1009  net/mac80211/aes_gcm.c  | 43 ++++++++++++++++++++++++++++---------------
1010  net/mac80211/aes_gcm.h  |  6 ++++--
1011  net/mac80211/aes_gmac.c | 26 +++++++++++++-------------
1012  net/mac80211/aes_gmac.h |  4 ++++
1013  net/mac80211/wpa.c      | 22 +++++++++-------------
1014  7 files changed, 93 insertions(+), 62 deletions(-)
1015
1016 commit c10e1633c41d5418e6eedc665582418a5befbb4f
1017 Author: Brad Spengler <spender@grsecurity.net>
1018 Date:   Sun Nov 27 10:27:05 2016 -0500
1019
1020     Work around drbd size_overflow FP when SIZE_OVERFLOW_EXTRA is enabled, reported by rot at:
1021     https://forums.grsecurity.net/viewtopic.php?f=3&t=4526
1022
1023  drivers/block/drbd/drbd_int.h | 2 +-
1024  1 file changed, 1 insertion(+), 1 deletion(-)
1025
1026 commit 249d9232cebd4152a203680c63759332cdac13cb
1027 Merge: 18d46a8 b01d05b
1028 Author: Brad Spengler <spender@grsecurity.net>
1029 Date:   Sat Nov 26 08:07:35 2016 -0500
1030
1031     Merge branch 'pax-test' into grsec-test
1032
1033 commit b01d05b77234043e071a10852c021c594531af1b
1034 Merge: 41ec71c 36bd5bf
1035 Author: Brad Spengler <spender@grsecurity.net>
1036 Date:   Sat Nov 26 08:07:28 2016 -0500
1037
1038     Merge branch 'linux-4.8.y' into pax-test
1039
1040 commit 18d46a8fa74de2cb68fb5e6678959e5e61c6fea6
1041 Author: Brad Spengler <spender@grsecurity.net>
1042 Date:   Fri Nov 25 08:37:05 2016 -0500
1043
1044     Mark __phys_addr_nodebug() on x64 as always-inlined
1045
1046  arch/x86/include/asm/page_64.h | 2 +-
1047  1 file changed, 1 insertion(+), 1 deletion(-)
1048
1049 commit 5dd906f677c6d649efad1b01da6d6965e15ac3db
1050 Author: Andrey Ryabinin <aryabinin@virtuozzo.com>
1051 Date:   Thu Nov 24 13:23:10 2016 +0000
1052
1053     mpi: Fix NULL ptr dereference in mpi_powm() [ver #3]
1054     
1055     This fixes CVE-2016-8650.
1056     
1057     If mpi_powm() is given a zero exponent, it wants to immediately return
1058     either 1 or 0, depending on the modulus.  However, if the result was
1059     initalised with zero limb space, no limbs space is allocated and a
1060     NULL-pointer exception ensues.
1061     
1062     Fix this by allocating a minimal amount of limb space for the result when
1063     the 0-exponent case when the result is 1 and not touching the limb space
1064     when the result is 0.
1065     
1066     This affects the use of RSA keys and X.509 certificates that carry them.
1067     
1068     BUG: unable to handle kernel NULL pointer dereference at           (null)
1069     IP: [<ffffffff8138ce5d>] mpi_powm+0x32/0x7e6
1070     PGD 0
1071     Oops: 0002 [#1] SMP
1072     Modules linked in:
1073     CPU: 3 PID: 3014 Comm: keyctl Not tainted 4.9.0-rc6-fscache+ #278
1074     Hardware name: ASUS All Series/H97-PLUS, BIOS 2306 10/09/2014
1075     task: ffff8804011944c0 task.stack: ffff880401294000
1076     RIP: 0010:[<ffffffff8138ce5d>]  [<ffffffff8138ce5d>] mpi_powm+0x32/0x7e6
1077     RSP: 0018:ffff880401297ad8  EFLAGS: 00010212
1078     RAX: 0000000000000000 RBX: ffff88040868bec0 RCX: ffff88040868bba0
1079     RDX: ffff88040868b260 RSI: ffff88040868bec0 RDI: ffff88040868bee0
1080     RBP: ffff880401297ba8 R08: 0000000000000000 R09: 0000000000000000
1081     R10: 0000000000000047 R11: ffffffff8183b210 R12: 0000000000000000
1082     R13: ffff8804087c7600 R14: 000000000000001f R15: ffff880401297c50
1083     FS:  00007f7a7918c700(0000) GS:ffff88041fb80000(0000) knlGS:0000000000000000
1084     CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
1085     CR2: 0000000000000000 CR3: 0000000401250000 CR4: 00000000001406e0
1086     Stack:
1087      ffff88040868bec0 0000000000000020 ffff880401297b00 ffffffff81376cd4
1088      0000000000000100 ffff880401297b10 ffffffff81376d12 ffff880401297b30
1089      ffffffff81376f37 0000000000000100 0000000000000000 ffff880401297ba8
1090     Call Trace:
1091      [<ffffffff81376cd4>] ? __sg_page_iter_next+0x43/0x66
1092      [<ffffffff81376d12>] ? sg_miter_get_next_page+0x1b/0x5d
1093      [<ffffffff81376f37>] ? sg_miter_next+0x17/0xbd
1094      [<ffffffff8138ba3a>] ? mpi_read_raw_from_sgl+0xf2/0x146
1095      [<ffffffff8132a95c>] rsa_verify+0x9d/0xee
1096      [<ffffffff8132acca>] ? pkcs1pad_sg_set_buf+0x2e/0xbb
1097      [<ffffffff8132af40>] pkcs1pad_verify+0xc0/0xe1
1098      [<ffffffff8133cb5e>] public_key_verify_signature+0x1b0/0x228
1099      [<ffffffff8133d974>] x509_check_for_self_signed+0xa1/0xc4
1100      [<ffffffff8133cdde>] x509_cert_parse+0x167/0x1a1
1101      [<ffffffff8133d609>] x509_key_preparse+0x21/0x1a1
1102      [<ffffffff8133c3d7>] asymmetric_key_preparse+0x34/0x61
1103      [<ffffffff812fc9f3>] key_create_or_update+0x145/0x399
1104      [<ffffffff812fe227>] SyS_add_key+0x154/0x19e
1105      [<ffffffff81001c2b>] do_syscall_64+0x80/0x191
1106      [<ffffffff816825e4>] entry_SYSCALL64_slow_path+0x25/0x25
1107     Code: 56 41 55 41 54 53 48 81 ec a8 00 00 00 44 8b 71 04 8b 42 04 4c 8b 67 18 45 85 f6 89 45 80 0f 84 b4 06 00 00 85 c0 75 2f 41 ff ce <49> c7 04 24 01 00 00 00 b0 01 75 0b 48 8b 41 18 48 83 38 01 0f
1108     RIP  [<ffffffff8138ce5d>] mpi_powm+0x32/0x7e6
1109      RSP <ffff880401297ad8>
1110     CR2: 0000000000000000
1111     ---[ end trace d82015255d4a5d8d ]---
1112     
1113     Basically, this is a backport of a libgcrypt patch:
1114     
1115         http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=patch;h=6e1adb05d290aeeb1c230c763970695f4a538526
1116     
1117     Fixes: cdec9cb5167a ("crypto: GnuPG based MPI lib - source files (part 1)")
1118     Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
1119     Signed-off-by: David Howells <dhowells@redhat.com>
1120     cc: Dmitry Kasatkin <dmitry.kasatkin@gmail.com>
1121     cc: linux-ima-devel@lists.sourceforge.net
1122     cc: stable@vger.kernel.org
1123     Signed-off-by: James Morris <james.l.morris@oracle.com>
1124
1125  lib/mpi/mpi-pow.c | 7 ++++++-
1126  1 file changed, 6 insertions(+), 1 deletion(-)
1127
1128 commit 218b2fc710bd61f32c7c0cf4556aa628bccf0382
1129 Author: Andrey Ryabinin <aryabinin@virtuozzo.com>
1130 Date:   Thu Nov 24 13:23:03 2016 +0000
1131
1132     X.509: Fix double free in x509_cert_parse() [ver #3]
1133     
1134     We shouldn't free cert->pub->key in x509_cert_parse() because
1135     x509_free_certificate() also does this:
1136         BUG: Double free or freeing an invalid pointer
1137         ...
1138         Call Trace:
1139          [<ffffffff81896c20>] dump_stack+0x63/0x83
1140          [<ffffffff81356571>] kasan_object_err+0x21/0x70
1141          [<ffffffff81356ed9>] kasan_report_double_free+0x49/0x60
1142          [<ffffffff813561ad>] kasan_slab_free+0x9d/0xc0
1143          [<ffffffff81350b7a>] kfree+0x8a/0x1a0
1144          [<ffffffff81844fbf>] public_key_free+0x1f/0x30
1145          [<ffffffff818455d4>] x509_free_certificate+0x24/0x90
1146          [<ffffffff818460bc>] x509_cert_parse+0x2bc/0x300
1147          [<ffffffff81846cae>] x509_key_preparse+0x3e/0x330
1148          [<ffffffff818444cf>] asymmetric_key_preparse+0x6f/0x100
1149          [<ffffffff8178bec0>] key_create_or_update+0x260/0x5f0
1150          [<ffffffff8178e6d9>] SyS_add_key+0x199/0x2a0
1151          [<ffffffff821d823b>] entry_SYSCALL_64_fastpath+0x1e/0xad
1152         Object at ffff880110bd1900, in cache kmalloc-512 size: 512
1153         ....
1154         Freed:
1155         PID = 2579
1156         [<ffffffff8104283b>] save_stack_trace+0x1b/0x20
1157         [<ffffffff813558f6>] save_stack+0x46/0xd0
1158         [<ffffffff81356183>] kasan_slab_free+0x73/0xc0
1159         [<ffffffff81350b7a>] kfree+0x8a/0x1a0
1160         [<ffffffff818460a3>] x509_cert_parse+0x2a3/0x300
1161         [<ffffffff81846cae>] x509_key_preparse+0x3e/0x330
1162         [<ffffffff818444cf>] asymmetric_key_preparse+0x6f/0x100
1163         [<ffffffff8178bec0>] key_create_or_update+0x260/0x5f0
1164         [<ffffffff8178e6d9>] SyS_add_key+0x199/0x2a0
1165         [<ffffffff821d823b>] entry_SYSCALL_64_fastpath+0x1e/0xad
1166     
1167     Fixes: db6c43bd2132 ("crypto: KEYS: convert public key and digsig asym to the akcipher api")
1168     Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
1169     Cc: <stable@vger.kernel.org>
1170     Signed-off-by: David Howells <dhowells@redhat.com>
1171     Signed-off-by: James Morris <james.l.morris@oracle.com>
1172
1173  crypto/asymmetric_keys/x509_cert_parser.c | 1 -
1174  1 file changed, 1 deletion(-)
1175
1176 commit 7ab38a1d2f20a0ee1646c61f69c5628868e36e1c
1177 Author: Brad Spengler <spender@grsecurity.net>
1178 Date:   Fri Nov 25 15:04:31 2016 -0500
1179
1180     Mark RANDSTRUCT as depending on GCC_PLUGINS
1181
1182  grsecurity/Kconfig | 1 +
1183  1 file changed, 1 insertion(+)
1184
1185 commit 4b779f90caef66bc904533a068e82ed7929a741f
1186 Author: Brad Spengler <spender@grsecurity.net>
1187 Date:   Wed Nov 23 22:22:22 2016 -0500
1188
1189     whitespace cleanup
1190
1191  mm/usercopy.c | 6 +++---
1192  1 file changed, 3 insertions(+), 3 deletions(-)
1193
1194 commit fa8c4d8069e8a83b3a30bedbb7b5281cc035722e
1195 Author: Brad Spengler <spender@grsecurity.net>
1196 Date:   Wed Nov 23 21:36:42 2016 -0500
1197
1198     Fix regression on i386 KERNEXEC introduced by KSPP ripoff of USERCOPY
1199
1200  mm/usercopy.c | 9 +++++++++
1201  1 file changed, 9 insertions(+)
1202
1203 commit 7bde68e909b1592b4de453d16d9efd544fdcf5d7
1204 Merge: 104123c 41ec71c
1205 Author: Brad Spengler <spender@grsecurity.net>
1206 Date:   Wed Nov 23 19:59:44 2016 -0500
1207
1208     Merge branch 'pax-test' into grsec-test
1209
1210 commit 41ec71c4866375c87ea6d28341bfb980ec5805f3
1211 Author: Brad Spengler <spender@grsecurity.net>
1212 Date:   Wed Nov 23 19:58:53 2016 -0500
1213
1214     Update to pax-linux-4.8.10-test5.patch:
1215     - worked around a false positive initify report with KMEMCHECK, reported by spender
1216     - fixed a compile error of the initify plugin with gcc 4.5
1217     - Emese fixed an infinite recursion bug in the initify plugin that triggered with certain gcc versions, reported by spender
1218     - worked around a false positive initify report with KMEMCHECK, reported by spender
1219     - fixed a compile error of the initify plugin with gcc 4.5
1220     - Emese fixed an infinite recursion bug in the initify plugin that triggered with certain gcc versions, reported by spender
1221
1222  fs/exofs/super.c                                   |   7 +-
1223  kernel/trace/trace_printk.c                        |  11 +-
1224  net/netfilter/nf_log.c                             |   2 +-
1225  .../size_overflow_plugin/size_overflow.h           |   8 +-
1226  .../size_overflow_plugin/size_overflow_debug.c     |   4 +-
1227  .../size_overflow_plugin/size_overflow_ipa.c       | 143 ++++++++++++++-------
1228  .../size_overflow_plugin/size_overflow_plugin.c    |   2 +-
1229  .../size_overflow_plugin_hash.c                    |  40 +++---
1230  .../size_overflow_plugin/size_overflow_transform.c |   6 +-
1231  9 files changed, 136 insertions(+), 87 deletions(-)
1232
1233 commit 104123c7083b4b405c3d94e5cbcf8d82a3c1bf3b
1234 Author: Joerg Roedel <jroedel@suse.de>
1235 Date:   Wed Sep 14 11:41:59 2016 +0200
1236
1237     iommu/amd: Don't put completion-wait semaphore on stack
1238     
1239     The semaphore used by the AMD IOMMU to signal command
1240     completion lived on the stack until now, which was safe as
1241     the driver busy-waited on the semaphore with IRQs disabled,
1242     so the stack can't go away under the driver.
1243     
1244     But the recently introduced vmap-based stacks break this as
1245     the physical address of the semaphore can't be determinded
1246     easily anymore. The driver used the __pa() macro, but that
1247     only works in the direct-mapping. The result were
1248     Completion-Wait timeout errors seen by the IOMMU driver,
1249     breaking system boot.
1250     
1251     Since putting the semaphore on the stack is bad design
1252     anyway, move the semaphore into 'struct amd_iommu'. It is
1253     protected by the per-iommu lock and now in the direct
1254     mapping again. This fixes the Completion-Wait timeout errors
1255     and makes AMD IOMMU systems boot again with vmap-based
1256     stacks enabled.
1257     
1258     Reported-by: Borislav Petkov <bp@alien8.de>
1259     Signed-off-by: Joerg Roedel <jroedel@suse.de>
1260     Cc: H. Peter Anvin <hpa@zytor.com>
1261     Cc: Linus Torvalds <torvalds@linux-foundation.org>
1262     Cc: Peter Zijlstra <peterz@infradead.org>
1263     Cc: Thomas Gleixner <tglx@linutronix.de>
1264     Signed-off-by: Ingo Molnar <mingo@kernel.org>
1265
1266  drivers/iommu/amd_iommu.c       | 51 ++++++++++++++++++++++++++++-------------
1267  drivers/iommu/amd_iommu_types.h |  2 ++
1268  2 files changed, 37 insertions(+), 16 deletions(-)
1269
1270 commit fb4681fbb3ac4fbfc38c4d878a769d9521b2cadc
1271 Merge: 5c7c04f7 2eb064c
1272 Author: Brad Spengler <spender@grsecurity.net>
1273 Date:   Mon Nov 21 07:32:06 2016 -0500
1274
1275     Merge branch 'pax-test' into grsec-test
1276
1277 commit 2eb064cd06070c433afb5bbe06f2912c6fe4c0ca
1278 Merge: ec40a67 cf5ae29
1279 Author: Brad Spengler <spender@grsecurity.net>
1280 Date:   Mon Nov 21 07:31:48 2016 -0500
1281
1282     Merge branch 'linux-4.8.y' into pax-test
1283
1284 commit 5c7c04f7c8fcb7a3730b34db41a0842ef0dbed51
1285 Author: Brad Spengler <spender@grsecurity.net>
1286 Date:   Sat Nov 19 19:50:51 2016 -0500
1287
1288     compile fix
1289
1290  drivers/platform/x86/toshiba-wmi.c | 2 +-
1291  1 file changed, 1 insertion(+), 1 deletion(-)
1292
1293 commit 05eb3d0ec6643c60f794937ba562fea97f5be897
1294 Author: Brad Spengler <spender@grsecurity.net>
1295 Date:   Sat Nov 19 19:32:09 2016 -0500
1296
1297     compile fix
1298
1299  net/netfilter/nf_log.c | 2 +-
1300  1 file changed, 1 insertion(+), 1 deletion(-)
1301
1302 commit fb9517eef2f4321b99e1427728ea81e7beb6709e
1303 Author: Brad Spengler <spender@grsecurity.net>
1304 Date:   Sat Nov 19 19:26:19 2016 -0500
1305
1306     compile fix
1307
1308  drivers/platform/x86/toshiba-wmi.c | 2 +-
1309  1 file changed, 1 insertion(+), 1 deletion(-)
1310
1311 commit d7be8fc340893cb7a61f295adf357433684c1412
1312 Author: Brad Spengler <spender@grsecurity.net>
1313 Date:   Sat Nov 19 18:50:43 2016 -0500
1314
1315     Fix an instance of DMA on stack reported by jotik
1316
1317  drivers/tty/hvc/hvc_console.c | 13 +++++++++++--
1318  1 file changed, 11 insertions(+), 2 deletions(-)
1319
1320 commit 491d119de68bd80666a5e0c9a45538b03a7e0359
1321 Merge: d06ab17 ec40a67
1322 Author: Brad Spengler <spender@grsecurity.net>
1323 Date:   Sat Nov 19 09:49:17 2016 -0500
1324
1325     Merge branch 'pax-test' into grsec-test
1326
1327 commit ec40a67f38da6771cc50d21b8bdfef7fe85c13f9
1328 Merge: d10440d 8765773
1329 Author: Brad Spengler <spender@grsecurity.net>
1330 Date:   Sat Nov 19 09:48:59 2016 -0500
1331
1332     Merge branch 'linux-4.8.y' into pax-test
1333
1334 commit d06ab1776f143f4c0f040b37b5d4be02fb4c2b2f
1335 Author: Brad Spengler <spender@grsecurity.net>
1336 Date:   Wed Nov 16 20:06:47 2016 -0500
1337
1338     Move location of GRKERNSEC_BRUTE call, otherwise on systems with suid
1339     dumping enabled, the crash of a suid/fscapped binary will not produce a
1340     coredump as a SIGKILL to the other threads of the process will trigger
1341     a group exit.  Thanks to Michael Hu and Meenakshi Selvaraj for the report!
1342
1343  fs/coredump.c | 6 +++---
1344  1 file changed, 3 insertions(+), 3 deletions(-)
1345
1346 commit 2deb6e90bf515a547273218c9e5e80362cedf5f4
1347 Merge: 538290f d10440d
1348 Author: Brad Spengler <spender@grsecurity.net>
1349 Date:   Tue Nov 15 07:22:21 2016 -0500
1350
1351     Merge branch 'pax-test' into grsec-test
1352
1353 commit d10440da199a8c4601cf572c85c240b391d7ff1c
1354 Author: Brad Spengler <spender@grsecurity.net>
1355 Date:   Tue Nov 15 07:21:39 2016 -0500
1356
1357     Forward-port PaX INITIFY updates:
1358     - Emese fixed an infinite recursion bug in the initify plugin that triggered with certain gcc versions, reported by spender
1359     - fixed a copy-paste error in the previous initify compile error fix
1360
1361  scripts/gcc-plugins/initify_plugin.c | 7 +++----
1362  1 file changed, 3 insertions(+), 4 deletions(-)
1363
1364 commit 538290f125d86e96ca1cb58ec6b6dc42c6df94f5
1365 Merge: 29790c8 0651bb9
1366 Author: Brad Spengler <spender@grsecurity.net>
1367 Date:   Tue Nov 15 07:16:37 2016 -0500
1368
1369     Merge branch 'pax-test' into grsec-test
1370
1371 commit 0651bb9a29497614f2ac8907576e13c25d14417d
1372 Merge: 3dccfc8 61385cc
1373 Author: Brad Spengler <spender@grsecurity.net>
1374 Date:   Tue Nov 15 07:16:23 2016 -0500
1375
1376     Merge branch 'linux-4.8.y' into pax-test
1377
1378 commit 29790c808b36fed3643adb45a52ddd1eaf215d5a
1379 Merge: 884f7d7 3dccfc8
1380 Author: Brad Spengler <spender@grsecurity.net>
1381 Date:   Mon Nov 14 21:55:00 2016 -0500
1382
1383     Merge branch 'pax-test' into grsec-test
1384
1385 commit 3dccfc8eb94c31bb44f90f2d5673867d47ceeae1
1386 Author: Brad Spengler <spender@grsecurity.net>
1387 Date:   Mon Nov 14 21:53:56 2016 -0500
1388
1389     Forward-ported PaX updates (so all patches can be released tonight):
1390     - worked around a false positive initify report with KMEMCHECK, reported by spender
1391     - fixed a compile error of the initify plugin with gcc 4.5
1392
1393  lib/Kconfig.kmemcheck                | 1 +
1394  scripts/gcc-plugins/initify_plugin.c | 8 ++++++++
1395  2 files changed, 9 insertions(+)
1396
1397 commit 884f7d7137f2cb388491c398a22b555c9e04bd3b
1398 Author: Brad Spengler <spender@grsecurity.net>
1399 Date:   Mon Nov 14 08:52:36 2016 -0500
1400
1401     re-enable INITIFY
1402
1403  security/Kconfig | 1 -
1404  1 file changed, 1 deletion(-)
1405
1406 commit 1199c8fee72e0204eef6e517acf1d17e1edb35d0
1407 Author: Brad Spengler <spender@grsecurity.net>
1408 Date:   Sat Nov 12 09:28:52 2016 -0500
1409
1410     always clear after restore
1411
1412  kernel/power/snapshot.c | 2 --
1413  1 file changed, 2 deletions(-)
1414
1415 commit 6ee3a03e6b4610d3a4c8536222e613c9381d310a
1416 Author: Brad Spengler <spender@grsecurity.net>
1417 Date:   Sat Nov 12 07:48:59 2016 -0500
1418
1419     Remove duplicate function definition caused by bad git merge
1420     Thanks to Toralf Foerster for the report
1421
1422  kernel/power/snapshot.c | 20 --------------------
1423  1 file changed, 20 deletions(-)
1424
1425 commit 972fc7c4ab01bed5011f92621c0235a29b964321
1426 Merge: b797a7f 179609c
1427 Author: Brad Spengler <spender@grsecurity.net>
1428 Date:   Thu Nov 10 21:30:42 2016 -0500
1429
1430     Merge branch 'pax-test' into grsec-test
1431
1432 commit 179609c35bcb2c28967e27dd71850a64dd8d2457
1433 Author: Brad Spengler <spender@grsecurity.net>
1434 Date:   Thu Nov 10 21:28:09 2016 -0500
1435
1436     Update to pax-linux-4.8.7-test3.patch
1437
1438  Makefile                                           |   5 +-
1439  arch/x86/kernel/alternative.c                      |   2 +
1440  arch/x86/kernel/cpu/intel.c                        |   6 +
1441  arch/x86/kernel/tsc.c                              |   3 +
1442  .../gcc-plugins/size_overflow_plugin/.gitignore    |   5 +-
1443  .../gcc-plugins/size_overflow_plugin/e_fields.data | 240 ++++++++++++++++---
1444  .../gcc-plugins/size_overflow_plugin/e_fns.data    | 262 +++++++++++++++++++--
1445  .../gcc-plugins/size_overflow_plugin/e_vars.data   |   3 +
1446  8 files changed, 467 insertions(+), 59 deletions(-)
1447
1448 commit b797a7f8f1bd6dd882c302108d3e0e24eec4eb52
1449 Merge: c65bef9 61c5e35
1450 Author: Brad Spengler <spender@grsecurity.net>
1451 Date:   Thu Nov 10 18:47:19 2016 -0500
1452
1453     Merge branch 'pax-test' into grsec-test
1454
1455 commit 61c5e357c8e096078f3087cc1c9945311580ef58
1456 Merge: 26e177d 567aeca
1457 Author: Brad Spengler <spender@grsecurity.net>
1458 Date:   Thu Nov 10 18:47:09 2016 -0500
1459
1460     Merge branch 'linux-4.8.y' into pax-test
1461
1462 commit c65bef9442a61a12256456658a6e3a3aa6f0017c
1463 Author: Brad Spengler <spender@grsecurity.net>
1464 Date:   Wed Nov 9 17:22:04 2016 -0500
1465
1466     Add SLAB_USERCOPY backward compatibility for out of tree modules
1467
1468  include/linux/slab.h | 7 +++++++
1469  mm/slab_common.c     | 3 ++-
1470  2 files changed, 9 insertions(+), 1 deletion(-)
1471
1472 commit 9f7c67696110c732bc080f27629a93c652aa6784
1473 Merge: 8c2ed61 26e177d
1474 Author: Brad Spengler <spender@grsecurity.net>
1475 Date:   Wed Nov 9 17:13:02 2016 -0500
1476
1477     Merge branch 'pax-test' into grsec-test
1478
1479 commit 26e177df8561bd7b261090dcce16f8bc5a166e43
1480 Author: Brad Spengler <spender@grsecurity.net>
1481 Date:   Wed Nov 9 17:11:43 2016 -0500
1482
1483     Update to pax-linux-4.8.6-test2.patch:
1484     - fixed resume regression on X86 caused by the recent constification of boot_cpu_data, reported by Joe Gabinsky (https://bugs.archlinux.org/task/51767)
1485     - worked around a compile error with gcc enforced PIE, reported by Carlos Carvalho (https://forums.grsecurity.net/viewtopic.php?f=3&t=4607)
1486     - fixed a latent entropy compile error that triggered on arm, reported by spender
1487
1488  Makefile                                              |  2 ++
1489  arch/x86/include/asm/irqflags.h                       |  2 ++
1490  arch/x86/include/asm/uaccess_32.h                     |  3 +++
1491  arch/x86/include/asm/uaccess_64.h                     |  4 ++++
1492  arch/x86/kernel/acpi/wakeup_32.S                      |  2 ++
1493  arch/x86/kernel/acpi/wakeup_64.S                      |  2 ++
1494  arch/x86/kernel/cpu/common.c                          |  6 ++++++
1495  arch/x86/kernel/vm86_32.c                             |  6 ++----
1496  arch/x86/power/hibernate_asm_32.S                     |  2 ++
1497  arch/x86/power/hibernate_asm_64.S                     |  2 ++
1498  fs/pstore/ftrace.c                                    |  1 +
1499  kernel/events/hw_breakpoint.c                         |  1 +
1500  mm/slab.c                                             | 14 +++++++-------
1501  scripts/gcc-plugins/latent_entropy_plugin.c           |  4 ++--
1502  scripts/gcc-plugins/size_overflow_plugin/disable.data |  3 +++
1503  scripts/gcc-plugins/size_overflow_plugin/e_fns.data   |  5 +----
1504  16 files changed, 42 insertions(+), 17 deletions(-)
1505
1506 commit 8c2ed61b048133cef4d19cbcfad489c5229c6d85
1507 Author: Brad Spengler <spender@grsecurity.net>
1508 Date:   Wed Nov 9 17:08:54 2016 -0500
1509
1510     re-enable latent_entropy on ARM
1511
1512  security/Kconfig | 1 -
1513  1 file changed, 1 deletion(-)
1514
1515 commit f111a022d48483a796d7f6d170e5165fa17c32aa
1516 Author: Brad Spengler <spender@grsecurity.net>
1517 Date:   Tue Nov 8 21:10:00 2016 -0500
1518
1519     Update size_overflow hash tables
1520
1521  scripts/gcc-plugins/size_overflow_plugin/e_fields.data | 1 +
1522  scripts/gcc-plugins/size_overflow_plugin/e_fns.data    | 1 +
1523  2 files changed, 2 insertions(+)
1524
1525 commit f4e7a9c6e5c14a7d9765191e4fdae902e777a62b
1526 Author: Brad Spengler <spender@grsecurity.net>
1527 Date:   Tue Nov 8 20:39:56 2016 -0500
1528
1529     Update size_overflow hash table
1530
1531  .../gcc-plugins/size_overflow_plugin/e_fields.data | 87 ++++++++++++++++++----
1532  .../gcc-plugins/size_overflow_plugin/e_fns.data    | 81 +++++++++++++++++---
1533  2 files changed, 143 insertions(+), 25 deletions(-)
1534
1535 commit f3a2f418e4c8c9e7a3c8e44994a9b789b755f690
1536 Author: Brad Spengler <spender@grsecurity.net>
1537 Date:   Tue Nov 8 20:27:26 2016 -0500
1538
1539     Update size_overflow hash table
1540
1541  scripts/gcc-plugins/size_overflow_plugin/e_fields.data | 1 +
1542  scripts/gcc-plugins/size_overflow_plugin/e_fns.data    | 1 +
1543  2 files changed, 2 insertions(+)
1544
1545 commit 7429f39d5af5c7c6744dadbc8cef6fb09bba0378
1546 Author: Brad Spengler <spender@grsecurity.net>
1547 Date:   Tue Nov 8 20:22:07 2016 -0500
1548
1549     compile fix
1550
1551  security/Kconfig | 2 +-
1552  1 file changed, 1 insertion(+), 1 deletion(-)
1553
1554 commit 2c1be792d3b1eced5c977f431b97a6f358257c7d
1555 Author: Brad Spengler <spender@grsecurity.net>
1556 Date:   Tue Nov 8 20:15:52 2016 -0500
1557
1558     Disable LATENT_ENTROPY on ARM temporarily
1559
1560  security/Kconfig | 1 +
1561  1 file changed, 1 insertion(+)
1562
1563 commit 5baa2459453f698c59713d66c19a35ceb08c6423
1564 Author: Brad Spengler <spender@grsecurity.net>
1565 Date:   Tue Nov 8 19:28:11 2016 -0500
1566
1567     Update size_overflow hash tables
1568
1569  .../gcc-plugins/size_overflow_plugin/e_fields.data | 19 +++++++++--
1570  .../gcc-plugins/size_overflow_plugin/e_fns.data    | 38 ++++++++++++++++++++--
1571  .../gcc-plugins/size_overflow_plugin/e_vars.data   |  2 ++
1572  3 files changed, 55 insertions(+), 4 deletions(-)
1573
1574 commit e6ff4162464e018c08a58689f60664f96786a4e0
1575 Author: Brad Spengler <spender@grsecurity.net>
1576 Date:   Tue Nov 8 19:23:13 2016 -0500
1577
1578     Update size_overflow hash tables
1579
1580  .../gcc-plugins/size_overflow_plugin/e_fields.data | 132 +++++++++++++++++---
1581  .../gcc-plugins/size_overflow_plugin/e_fns.data    | 135 +++++++++++++++++++--
1582  .../gcc-plugins/size_overflow_plugin/e_vars.data   |   1 +
1583  3 files changed, 243 insertions(+), 25 deletions(-)
1584
1585 commit ee26614f6745609f79b28620130afa73b2c86ff8
1586 Author: Brad Spengler <spender@grsecurity.net>
1587 Date:   Tue Nov 8 19:10:38 2016 -0500
1588
1589     Update size_overflow hash table
1590
1591  scripts/gcc-plugins/size_overflow_plugin/e_fns.data | 8 ++++++++
1592  1 file changed, 8 insertions(+)
1593
1594 commit d3291c0dc6f25e59c8c402b66416cf0f4f6dddb7
1595 Author: Brad Spengler <spender@grsecurity.net>
1596 Date:   Tue Nov 8 19:03:02 2016 -0500
1597
1598     Initial import of grsecurity 3.1 for Linux 4.8.6
1599
1600  Documentation/dontdiff                             |    2 +
1601  Documentation/kernel-parameters.txt                |    6 +
1602  Documentation/sysctl/kernel.txt                    |   15 +
1603  Makefile                                           |    8 +-
1604  arch/alpha/include/asm/cache.h                     |    4 +-
1605  arch/alpha/kernel/osf_sys.c                        |   12 +-
1606  arch/arc/Kconfig                                   |    1 +
1607  arch/arm/Kconfig                                   |    2 +
1608  arch/arm/Kconfig.debug                             |    1 +
1609  arch/arm/include/asm/cacheflush.h                  |    2 +-
1610  arch/arm/include/asm/thread_info.h                 |    7 +-
1611  arch/arm/kernel/entry-common.S                     |    8 +-
1612  arch/arm/kernel/process.c                          |    4 +-
1613  arch/arm/kernel/ptrace.c                           |    9 +
1614  arch/arm/kernel/traps.c                            |    7 +-
1615  arch/arm/mm/Kconfig                                |    4 +-
1616  arch/arm/mm/fault.c                                |   40 +-
1617  arch/arm/mm/mmap.c                                 |    8 +-
1618  arch/arm/net/bpf_jit_32.c                          |   51 +-
1619  arch/arm64/Kconfig.debug                           |    1 +
1620  arch/arm64/include/asm/atomic.h                    |    2 +
1621  arch/arm64/include/asm/cache.h                     |    2 +
1622  arch/arm64/include/asm/pgtable.h                   |    3 +
1623  arch/avr32/include/asm/cache.h                     |    4 +-
1624  arch/blackfin/Kconfig.debug                        |    1 +
1625  arch/blackfin/include/asm/cache.h                  |    3 +-
1626  arch/cris/include/arch-v10/arch/cache.h            |    3 +-
1627  arch/cris/include/arch-v32/arch/cache.h            |    3 +-
1628  arch/frv/include/asm/cache.h                       |    3 +-
1629  arch/frv/mm/elf-fdpic.c                            |    4 +-
1630  arch/hexagon/include/asm/cache.h                   |    6 +-
1631  arch/ia64/Kconfig                                  |    1 +
1632  arch/ia64/include/asm/cache.h                      |    3 +-
1633  arch/ia64/kernel/sys_ia64.c                        |    2 +
1634  arch/ia64/mm/hugetlbpage.c                         |    2 +
1635  arch/m32r/include/asm/cache.h                      |    4 +-
1636  arch/m68k/include/asm/cache.h                      |    4 +-
1637  arch/m68k/kernel/time.c                            |    1 +
1638  arch/metag/mm/hugetlbpage.c                        |    1 +
1639  arch/microblaze/include/asm/cache.h                |    3 +-
1640  arch/mips/Kconfig                                  |    1 +
1641  arch/mips/include/asm/thread_info.h                |   11 +-
1642  arch/mips/kernel/irq.c                             |    3 +
1643  arch/mips/kernel/ptrace.c                          |    9 +
1644  arch/mips/mm/mmap.c                                |    4 +-
1645  arch/mn10300/proc-mn103e010/include/proc/cache.h   |    4 +-
1646  arch/mn10300/proc-mn2ws0050/include/proc/cache.h   |    4 +-
1647  arch/openrisc/include/asm/cache.h                  |    4 +-
1648  arch/parisc/include/asm/cache.h                    |    3 +
1649  arch/parisc/kernel/sys_parisc.c                    |    4 +
1650  arch/powerpc/Kconfig                               |    1 +
1651  arch/powerpc/include/asm/thread_info.h             |    5 +-
1652  arch/powerpc/kernel/Makefile                       |    2 +
1653  arch/powerpc/kernel/irq.c                          |    3 +
1654  arch/powerpc/kernel/process.c                      |   10 +-
1655  arch/powerpc/kernel/ptrace.c                       |   15 +
1656  arch/powerpc/kernel/traps.c                        |    5 +
1657  arch/powerpc/mm/slice.c                            |    2 +-
1658  arch/s390/Kconfig.debug                            |    1 +
1659  arch/s390/include/asm/cache.h                      |    4 +-
1660  arch/score/include/asm/cache.h                     |    4 +-
1661  arch/sh/include/asm/cache.h                        |    3 +-
1662  arch/sh/mm/mmap.c                                  |    6 +-
1663  arch/sparc/include/asm/thread_info_64.h            |    8 +-
1664  arch/sparc/kernel/process_32.c                     |    6 +-
1665  arch/sparc/kernel/process_64.c                     |    8 +-
1666  arch/sparc/kernel/ptrace_64.c                      |   14 +
1667  arch/sparc/kernel/sys_sparc_64.c                   |    8 +-
1668  arch/sparc/kernel/syscalls.S                       |    8 +-
1669  arch/sparc/kernel/traps_32.c                       |    8 +-
1670  arch/sparc/kernel/traps_64.c                       |   28 +-
1671  arch/sparc/kernel/unaligned_64.c                   |    2 +-
1672  arch/sparc/mm/fault_64.c                           |    2 +-
1673  arch/sparc/mm/hugetlbpage.c                        |   15 +-
1674  arch/tile/Kconfig                                  |    1 +
1675  arch/tile/include/asm/cache.h                      |    3 +-
1676  arch/tile/mm/hugetlbpage.c                         |    2 +
1677  arch/unicore32/include/asm/cache.h                 |    6 +-
1678  arch/x86/Kconfig                                   |   21 +
1679  arch/x86/Kconfig.debug                             |    2 +
1680  arch/x86/entry/common.c                            |   14 +
1681  arch/x86/entry/entry_32.S                          |    2 +-
1682  arch/x86/entry/entry_64.S                          |    2 +-
1683  arch/x86/ia32/ia32_aout.c                          |    2 +
1684  arch/x86/include/asm/floppy.h                      |   20 +-
1685  arch/x86/include/asm/fpu/types.h                   |   69 +-
1686  arch/x86/include/asm/io.h                          |    2 +-
1687  arch/x86/include/asm/page.h                        |   12 +-
1688  arch/x86/include/asm/paravirt_types.h              |   21 +-
1689  arch/x86/include/asm/processor.h                   |    4 +-
1690  arch/x86/include/asm/thread_info.h                 |    6 +-
1691  arch/x86/kernel/dumpstack.c                        |    8 +-
1692  arch/x86/kernel/dumpstack_32.c                     |    1 +
1693  arch/x86/kernel/ioport.c                           |   13 +
1694  arch/x86/kernel/irq_32.c                           |    3 +
1695  arch/x86/kernel/irq_64.c                           |    7 +-
1696  arch/x86/kernel/ldt.c                              |   18 +
1697  arch/x86/kernel/msr.c                              |   12 +
1698  arch/x86/kernel/sys_i386_32.c                      |    9 +-
1699  arch/x86/kernel/sys_x86_64.c                       |    8 +-
1700  arch/x86/kernel/traps.c                            |    5 +
1701  arch/x86/kernel/verify_cpu.S                       |    1 +
1702  arch/x86/kernel/vm86_32.c                          |   15 +
1703  arch/x86/mm/fault.c                                |   12 +-
1704  arch/x86/mm/hugetlbpage.c                          |   15 +-
1705  arch/x86/mm/init.c                                 |   51 +-
1706  arch/x86/mm/init_32.c                              |    6 +-
1707  arch/x86/mm/mmap.c                                 |   16 +-
1708  arch/x86/net/bpf_jit_comp.c                        |    4 +
1709  arch/x86/xen/Kconfig                               |    1 +
1710  arch/xtensa/variants/dc232b/include/variant/core.h |    2 +-
1711  arch/xtensa/variants/fsf/include/variant/core.h    |    3 +-
1712  crypto/scatterwalk.c                               |   10 +-
1713  drivers/acpi/acpica/hwxfsleep.c                    |   11 +-
1714  drivers/acpi/custom_method.c                       |    4 +
1715  drivers/block/cciss.h                              |   30 +-
1716  drivers/block/smart1,2.h                           |   40 +-
1717  drivers/char/Kconfig                               |    4 +-
1718  drivers/char/mem.c                                 |   19 +-
1719  drivers/char/random.c                              |    3 -
1720  drivers/cpufreq/sparc-us3-cpufreq.c                |    2 -
1721  drivers/firewire/ohci.c                            |    4 +
1722  drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c            |   82 +-
1723  .../drm/amd/powerplay/hwmgr/cz_clockpowergating.c  |   12 +-
1724  drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c     |   58 +-
1725  drivers/gpu/drm/amd/powerplay/hwmgr/fiji_thermal.c |   20 +-
1726  .../drm/amd/powerplay/hwmgr/polaris10_thermal.c    |   22 +-
1727  .../gpu/drm/amd/powerplay/hwmgr/tonga_thermal.c    |   20 +-
1728  drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c            |    9 +-
1729  drivers/gpu/drm/nouveau/nouveau_ttm.c              |   28 +-
1730  drivers/gpu/drm/ttm/ttm_bo_manager.c               |   10 +-
1731  drivers/gpu/drm/virtio/virtgpu_ttm.c               |   10 +-
1732  drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c      |   10 +-
1733  drivers/infiniband/hw/i40iw/i40iw_ctrl.c           |  138 +-
1734  drivers/infiniband/hw/i40iw/i40iw_uk.c             |   34 +-
1735  drivers/infiniband/hw/nes/nes_cm.c                 |   22 +-
1736  drivers/iommu/amd_iommu.c                          |   14 +-
1737  drivers/isdn/gigaset/bas-gigaset.c                 |   32 +-
1738  drivers/isdn/gigaset/ser-gigaset.c                 |   32 +-
1739  drivers/isdn/gigaset/usb-gigaset.c                 |   32 +-
1740  drivers/isdn/i4l/isdn_concap.c                     |    6 +-
1741  drivers/isdn/i4l/isdn_x25iface.c                   |   16 +-
1742  drivers/md/bcache/Kconfig                          |    1 +
1743  drivers/md/raid5.c                                 |    8 +
1744  drivers/media/pci/solo6x10/solo6x10-g723.c         |    2 +-
1745  .../media/platform/mtk-vcodec/venc/venc_h264_if.c  |    8 +-
1746  .../media/platform/mtk-vcodec/venc/venc_vp8_if.c   |    8 +-
1747  drivers/media/platform/sti/c8sectpfe/Kconfig       |    1 +
1748  drivers/media/usb/dvb-usb/cinergyT2-core.c         |   91 +-
1749  drivers/media/usb/dvb-usb/cinergyT2-fe.c           |  182 +-
1750  drivers/media/usb/dvb-usb/dvb-usb-firmware.c       |   37 +-
1751  drivers/media/usb/dvb-usb/technisat-usb2.c         |   23 +-
1752  drivers/message/fusion/mptbase.c                   |    9 +
1753  drivers/misc/sgi-xp/xp_main.c                      |   12 +-
1754  drivers/net/ethernet/brocade/bna/bna_enet.c        |    8 +-
1755  drivers/net/wan/lmc/lmc_media.c                    |   97 +-
1756  drivers/net/wan/z85230.c                           |   24 +-
1757  drivers/net/wireless/ath/ath9k/Kconfig             |    1 -
1758  drivers/pci/proc.c                                 |    9 +
1759  drivers/platform/x86/asus-wmi.c                    |   12 +
1760  drivers/rtc/rtc-dev.c                              |    3 +
1761  drivers/scsi/bfa/bfa_fcs.c                         |   19 +-
1762  drivers/scsi/bfa/bfa_fcs_lport.c                   |   29 +-
1763  drivers/scsi/bfa/bfa_modules.h                     |   12 +-
1764  drivers/scsi/hpsa.h                                |   40 +-
1765  drivers/staging/lustre/lustre/ldlm/ldlm_flock.c    |    2 +-
1766  drivers/staging/wilc1000/host_interface.h          |    1 +
1767  drivers/staging/wilc1000/wilc_spi.c                |    1 +
1768  drivers/tty/sysrq.c                                |    2 +-
1769  drivers/tty/tty_io.c                               |    4 +
1770  drivers/tty/vt/keyboard.c                          |   22 +-
1771  drivers/usb/core/hub.c                             |    5 +
1772  drivers/usb/gadget/function/f_uac1.c               |    1 +
1773  drivers/usb/gadget/function/u_uac1.c               |    1 +
1774  drivers/usb/host/hwa-hc.c                          |    9 +-
1775  drivers/usb/usbip/vhci_sysfs.c                     |    2 +-
1776  drivers/video/fbdev/matrox/matroxfb_DAC1064.c      |   10 +-
1777  drivers/video/fbdev/matrox/matroxfb_Ti3026.c       |    5 +-
1778  drivers/video/fbdev/sh_mobile_lcdcfb.c             |    6 +-
1779  drivers/video/logo/logo_linux_clut224.ppm          | 2720 ++++----
1780  drivers/xen/xenfs/xenstored.c                      |    5 +
1781  firmware/Makefile                                  |    2 +
1782  firmware/WHENCE                                    |   20 +-
1783  firmware/bnx2/bnx2-mips-06-6.2.3.fw.ihex           | 5804 +++++++++++++++++
1784  firmware/bnx2/bnx2-mips-09-6.2.1b.fw.ihex          | 6496 ++++++++++++++++++++
1785  fs/attr.c                                          |    4 +
1786  fs/autofs4/waitq.c                                 |    9 +
1787  fs/binfmt_aout.c                                   |    7 +
1788  fs/binfmt_elf.c                                    |   40 +-
1789  fs/compat.c                                        |   20 +-
1790  fs/coredump.c                                      |   17 +-
1791  fs/dcache.c                                        |    5 +-
1792  fs/debugfs/inode.c                                 |   19 +-
1793  fs/exec.c                                          |  159 +-
1794  fs/ext2/balloc.c                                   |    4 +-
1795  fs/ext2/super.c                                    |    8 +-
1796  fs/ext4/balloc.c                                   |    4 +-
1797  fs/fcntl.c                                         |    4 +
1798  fs/fhandle.c                                       |    3 +-
1799  fs/file.c                                          |    4 +
1800  fs/filesystems.c                                   |    4 +
1801  fs/fs_struct.c                                     |   20 +-
1802  fs/hugetlbfs/inode.c                               |    5 +-
1803  fs/inode.c                                         |    8 +-
1804  fs/kernfs/dir.c                                    |    6 +
1805  fs/mount.h                                         |    4 +-
1806  fs/namei.c                                         |  290 +-
1807  fs/namespace.c                                     |   24 +
1808  fs/open.c                                          |   38 +
1809  fs/overlayfs/super.c                               |    6 +-
1810  fs/pipe.c                                          |    2 +-
1811  fs/posix_acl.c                                     |   15 +-
1812  fs/proc/Kconfig                                    |   10 +-
1813  fs/proc/array.c                                    |   67 +-
1814  fs/proc/base.c                                     |  193 +-
1815  fs/proc/cmdline.c                                  |    4 +
1816  fs/proc/devices.c                                  |    4 +
1817  fs/proc/fd.c                                       |   13 +-
1818  fs/proc/generic.c                                  |   64 +
1819  fs/proc/inode.c                                    |   17 +
1820  fs/proc/internal.h                                 |   18 +-
1821  fs/proc/interrupts.c                               |    4 +
1822  fs/proc/kcore.c                                    |    3 +
1823  fs/proc/proc_net.c                                 |   31 +
1824  fs/proc/proc_sysctl.c                              |   50 +-
1825  fs/proc/root.c                                     |    8 +
1826  fs/proc/stat.c                                     |   69 +-
1827  fs/proc/task_mmu.c                                 |   87 +-
1828  fs/proc/task_nommu.c                               |    2 +-
1829  fs/readdir.c                                       |   19 +
1830  fs/reiserfs/item_ops.c                             |   24 +-
1831  fs/reiserfs/super.c                                |    4 +
1832  fs/select.c                                        |    2 +
1833  fs/seq_file.c                                      |   31 +-
1834  fs/stat.c                                          |   20 +-
1835  fs/sysfs/dir.c                                     |   30 +-
1836  fs/utimes.c                                        |    8 +
1837  fs/xattr.c                                         |   26 +-
1838  fs/xfs/xfs_ioctl.c                                 |    6 +
1839  grsecurity/Kconfig                                 | 1205 ++++
1840  grsecurity/Makefile                                |   54 +
1841  grsecurity/gracl.c                                 | 2773 +++++++++
1842  grsecurity/gracl_alloc.c                           |  105 +
1843  grsecurity/gracl_cap.c                             |   96 +
1844  grsecurity/gracl_compat.c                          |  269 +
1845  grsecurity/gracl_fs.c                              |  448 ++
1846  grsecurity/gracl_ip.c                              |  387 ++
1847  grsecurity/gracl_learn.c                           |  209 +
1848  grsecurity/gracl_policy.c                          | 1784 ++++++
1849  grsecurity/gracl_res.c                             |   74 +
1850  grsecurity/gracl_segv.c                            |  306 +
1851  grsecurity/gracl_shm.c                             |   40 +
1852  grsecurity/grsec_chdir.c                           |   19 +
1853  grsecurity/grsec_chroot.c                          |  506 ++
1854  grsecurity/grsec_disabled.c                        |  445 ++
1855  grsecurity/grsec_exec.c                            |  188 +
1856  grsecurity/grsec_fifo.c                            |   26 +
1857  grsecurity/grsec_fork.c                            |   23 +
1858  grsecurity/grsec_init.c                            |  294 +
1859  grsecurity/grsec_ipc.c                             |   48 +
1860  grsecurity/grsec_link.c                            |   65 +
1861  grsecurity/grsec_log.c                             |  340 +
1862  grsecurity/grsec_mem.c                             |   48 +
1863  grsecurity/grsec_mount.c                           |   65 +
1864  grsecurity/grsec_pax.c                             |   47 +
1865  grsecurity/grsec_proc.c                            |   20 +
1866  grsecurity/grsec_ptrace.c                          |   30 +
1867  grsecurity/grsec_sig.c                             |  248 +
1868  grsecurity/grsec_sock.c                            |  244 +
1869  grsecurity/grsec_sysctl.c                          |  497 ++
1870  grsecurity/grsec_time.c                            |   16 +
1871  grsecurity/grsec_tpe.c                             |   78 +
1872  grsecurity/grsec_tty.c                             |   18 +
1873  grsecurity/grsec_usb.c                             |   15 +
1874  grsecurity/grsum.c                                 |   56 +
1875  include/linux/binfmts.h                            |    5 +-
1876  include/linux/capability.h                         |    8 +
1877  include/linux/cdev.h                               |    2 +-
1878  include/linux/compiler-gcc.h                       |    5 +
1879  include/linux/compiler.h                           |    8 +
1880  include/linux/cred.h                               |    8 +-
1881  include/linux/dcache.h                             |    5 +-
1882  include/linux/debugfs.h                            |    2 +-
1883  include/linux/fs.h                                 |   26 +-
1884  include/linux/fs_struct.h                          |    2 +-
1885  include/linux/fsnotify.h                           |    6 +
1886  include/linux/gracl.h                              |  342 ++
1887  include/linux/gracl_compat.h                       |  156 +
1888  include/linux/gralloc.h                            |    9 +
1889  include/linux/grdefs.h                             |  140 +
1890  include/linux/grinternal.h                         |  231 +
1891  include/linux/grmsg.h                              |  120 +
1892  include/linux/grsecurity.h                         |  259 +
1893  include/linux/grsock.h                             |   19 +
1894  include/linux/ipc.h                                |    2 +-
1895  include/linux/ipc_namespace.h                      |    2 +-
1896  include/linux/kallsyms.h                           |   18 +-
1897  include/linux/key-type.h                           |    4 +-
1898  include/linux/kmod.h                               |    7 +-
1899  include/linux/kobject.h                            |    2 +-
1900  include/linux/lsm_hooks.h                          |    4 +-
1901  include/linux/mm.h                                 |   12 +
1902  include/linux/mm_types.h                           |    4 +-
1903  include/linux/module.h                             |    5 +-
1904  include/linux/mount.h                              |    2 +-
1905  include/linux/msg.h                                |    2 +-
1906  include/linux/netfilter/xt_gradm.h                 |    9 +
1907  include/linux/path.h                               |    4 +-
1908  include/linux/perf_event.h                         |   13 +-
1909  include/linux/pid_namespace.h                      |    2 +-
1910  include/linux/printk.h                             |    3 +-
1911  include/linux/proc_fs.h                            |   22 +-
1912  include/linux/proc_ns.h                            |    2 +-
1913  include/linux/rbtree_augmented.h                   |    4 +-
1914  include/linux/scatterlist.h                        |   12 +-
1915  include/linux/sched.h                              |  133 +-
1916  include/linux/security.h                           |    1 +
1917  include/linux/sem.h                                |    2 +-
1918  include/linux/seq_file.h                           |    5 +
1919  include/linux/shm.h                                |    6 +-
1920  include/linux/skbuff.h                             |    3 +
1921  include/linux/slab.h                               |    9 -
1922  include/linux/sysctl.h                             |    8 +-
1923  include/linux/tty.h                                |    2 +-
1924  include/linux/tty_driver.h                         |    4 +-
1925  include/linux/uidgid.h                             |    6 +
1926  include/linux/user_namespace.h                     |    2 +-
1927  include/linux/utsname.h                            |    2 +-
1928  include/linux/vermagic.h                           |   16 +-
1929  include/linux/vmalloc.h                            |   11 +
1930  include/net/af_unix.h                              |    2 +-
1931  include/net/ip.h                                   |    2 +-
1932  include/net/neighbour.h                            |    2 +-
1933  include/net/net_namespace.h                        |    2 +-
1934  include/net/sock.h                                 |    2 +-
1935  include/trace/events/fs.h                          |   53 +
1936  init/Kconfig                                       |    7 +-
1937  init/main.c                                        |   37 +
1938  ipc/mqueue.c                                       |    1 +
1939  ipc/msg.c                                          |    3 +-
1940  ipc/msgutil.c                                      |    4 +-
1941  ipc/sem.c                                          |    3 +-
1942  ipc/shm.c                                          |   26 +-
1943  ipc/util.c                                         |    6 +
1944  kernel/bpf/syscall.c                               |   10 +-
1945  kernel/capability.c                                |   31 +-
1946  kernel/cgroup.c                                    |    5 +-
1947  kernel/compat.c                                    |    1 +
1948  kernel/configs.c                                   |   11 +
1949  kernel/cred.c                                      |  112 +-
1950  kernel/events/core.c                               |   14 +-
1951  kernel/exit.c                                      |    7 +
1952  kernel/fork.c                                      |   93 +-
1953  kernel/futex.c                                     |    4 +-
1954  kernel/kallsyms.c                                  |    9 +
1955  kernel/kcmp.c                                      |    4 +
1956  kernel/kexec_core.c                                |    2 +-
1957  kernel/kmod.c                                      |   96 +-
1958  kernel/kprobes.c                                   |    9 +-
1959  kernel/ksysfs.c                                    |    2 +
1960  kernel/locking/lockdep_proc.c                      |   10 +-
1961  kernel/module.c                                    |  108 +-
1962  kernel/panic.c                                     |    6 +-
1963  kernel/pid.c                                       |   18 +-
1964  kernel/power/Kconfig                               |    1 +
1965  kernel/power/snapshot.c                            |   20 +
1966  kernel/printk/printk.c                             |    7 +-
1967  kernel/ptrace.c                                    |   50 +-
1968  kernel/resource.c                                  |   10 +
1969  kernel/sched/core.c                                |   16 +-
1970  kernel/sched/debug.c                               |    4 +
1971  kernel/signal.c                                    |   37 +-
1972  kernel/sys.c                                       |   64 +-
1973  kernel/sysctl.c                                    |  174 +-
1974  kernel/taskstats.c                                 |    6 +
1975  kernel/time/posix-timers.c                         |    8 +
1976  kernel/time/time.c                                 |    5 +
1977  kernel/time/timekeeping.c                          |    3 +
1978  kernel/time/timer_list.c                           |   13 +-
1979  kernel/time/timer_stats.c                          |   10 +-
1980  kernel/trace/Kconfig                               |    6 +
1981  kernel/trace/trace_syscalls.c                      |    8 +
1982  kernel/user_namespace.c                            |   15 +
1983  lib/Kconfig.debug                                  |   11 +-
1984  lib/is_single_threaded.c                           |    3 +
1985  lib/list_debug.c                                   |   65 +-
1986  lib/nlattr.c                                       |    2 +
1987  lib/rbtree.c                                       |    4 +-
1988  lib/vsprintf.c                                     |   42 +-
1989  localversion-grsec                                 |    1 +
1990  mm/Kconfig                                         |    8 +-
1991  mm/Kconfig.debug                                   |    1 +
1992  mm/filemap.c                                       |    1 +
1993  mm/kmemleak.c                                      |    4 +-
1994  mm/memory.c                                        |    2 +-
1995  mm/mempolicy.c                                     |   12 +-
1996  mm/migrate.c                                       |    3 +-
1997  mm/mlock.c                                         |    9 +
1998  mm/mmap.c                                          |  116 +-
1999  mm/mprotect.c                                      |    8 +
2000  mm/page_alloc.c                                    |    2 +-
2001  mm/process_vm_access.c                             |    6 +
2002  mm/shmem.c                                         |    2 +-
2003  mm/slab.c                                          |   14 +-
2004  mm/slab_common.c                                   |    2 +-
2005  mm/slob.c                                          |   12 +
2006  mm/slub.c                                          |   53 +-
2007  mm/usercopy.c                                      |    2 -
2008  mm/util.c                                          |    3 +
2009  mm/vmalloc.c                                       |   94 +-
2010  mm/vmstat.c                                        |   29 +-
2011  net/appletalk/atalk_proc.c                         |    2 +-
2012  net/atm/lec.c                                      |    6 +-
2013  net/atm/mpoa_caches.c                              |   43 +-
2014  net/can/bcm.c                                      |    2 +-
2015  net/can/proc.c                                     |    2 +-
2016  net/core/dev_ioctl.c                               |    7 +-
2017  net/core/filter.c                                  |    8 +-
2018  net/core/net-procfs.c                              |   17 +-
2019  net/core/pktgen.c                                  |    2 +-
2020  net/core/sock.c                                    |   23 +-
2021  net/core/sysctl_net_core.c                         |    2 +-
2022  net/decnet/dn_dev.c                                |    2 +-
2023  net/ipv4/devinet.c                                 |    6 +-
2024  net/ipv4/inet_hashtables.c                         |    6 +
2025  net/ipv4/ip_input.c                                |    7 +
2026  net/ipv4/ip_vti.c                                  |    2 +-
2027  net/ipv4/netfilter/ipt_CLUSTERIP.c                 |    2 +-
2028  net/ipv4/route.c                                   |    6 +-
2029  net/ipv4/tcp_input.c                               |    6 +-
2030  net/ipv4/tcp_ipv4.c                                |   24 +-
2031  net/ipv4/tcp_minisocks.c                           |    9 +-
2032  net/ipv4/tcp_timer.c                               |   11 +
2033  net/ipv4/udp.c                                     |   23 +
2034  net/ipv6/addrconf.c                                |   13 +-
2035  net/ipv6/proc.c                                    |    2 +-
2036  net/ipv6/tcp_ipv6.c                                |   23 +-
2037  net/ipv6/udp.c                                     |    7 +
2038  net/ipx/ipx_proc.c                                 |    2 +-
2039  net/irda/irproc.c                                  |    2 +-
2040  net/llc/llc_proc.c                                 |    2 +-
2041  net/netfilter/Kconfig                              |   10 +
2042  net/netfilter/Makefile                             |    1 +
2043  net/netfilter/xt_gradm.c                           |   51 +
2044  net/netfilter/xt_hashlimit.c                       |    4 +-
2045  net/netfilter/xt_recent.c                          |    2 +-
2046  net/socket.c                                       |   75 +-
2047  net/sunrpc/Kconfig                                 |    1 +
2048  net/sunrpc/cache.c                                 |    2 +-
2049  net/sunrpc/stats.c                                 |    2 +-
2050  net/unix/af_unix.c                                 |   53 +-
2051  net/vmw_vsock/vmci_transport_notify.c              |   30 +-
2052  net/vmw_vsock/vmci_transport_notify_qstate.c       |   30 +-
2053  net/x25/sysctl_net_x25.c                           |    2 +-
2054  net/x25/x25_proc.c                                 |    2 +-
2055  scripts/Makefile.gcc-plugins                       |    5 +
2056  scripts/gcc-plugins/.gitignore                     |    1 +
2057  scripts/gcc-plugins/Makefile                       |   10 +
2058  scripts/gcc-plugins/gen-random-seed.sh             |    8 +
2059  scripts/gcc-plugins/randomize_layout_plugin.c      |  940 +++
2060  .../gcc-plugins/size_overflow_plugin/.gitignore    |    5 +-
2061  scripts/package/Makefile                           |    2 +-
2062  scripts/package/mkspec                             |   41 +-
2063  security/Kconfig                                   |  314 +-
2064  security/apparmor/file.c                           |    4 +-
2065  security/apparmor/lsm.c                            |    6 +-
2066  security/commoncap.c                               |   29 +
2067  security/keys/internal.h                           |    2 +-
2068  security/tomoyo/file.c                             |   12 +-
2069  security/tomoyo/mount.c                            |    4 +
2070  security/tomoyo/tomoyo.c                           |   20 +-
2071  security/yama/Kconfig                              |    2 +-
2072  sound/synth/emux/emux_seq.c                        |   14 +-
2073  sound/usb/line6/driver.c                           |   40 +-
2074  sound/usb/line6/toneport.c                         |   12 +-
2075  475 files changed, 32298 insertions(+), 3053 deletions(-)
2076
2077 commit 863a7358ccafaadba7ca6d6c7b9dec8232aef6fd
2078 Author: Brad Spengler <spender@grsecurity.net>
2079 Date:   Tue Nov 8 18:33:39 2016 -0500
2080
2081     Initial import of pax-linux-4.8.6-test1.patch
2082
2083  Documentation/dontdiff                             |    49 +-
2084  Documentation/kbuild/makefiles.txt                 |    39 +-
2085  Documentation/kernel-parameters.txt                |    33 +
2086  Makefile                                           |    13 +-
2087  arch/Kconfig                                       |     2 +-
2088  arch/alpha/include/asm/atomic.h                    |    10 +
2089  arch/alpha/include/asm/elf.h                       |     7 +
2090  arch/alpha/include/asm/pgalloc.h                   |     6 +
2091  arch/alpha/include/asm/pgtable.h                   |    11 +
2092  arch/alpha/kernel/module.c                         |     2 +-
2093  arch/alpha/kernel/osf_sys.c                        |     8 +-
2094  arch/alpha/mm/fault.c                              |   141 +-
2095  arch/arm/Kconfig                                   |     5 +-
2096  arch/arm/boot/compressed/Makefile                  |     2 +
2097  arch/arm/crypto/sha1_glue.c                        |    12 +-
2098  arch/arm/crypto/sha1_neon_glue.c                   |    10 +-
2099  arch/arm/crypto/sha256_glue.c                      |    13 +-
2100  arch/arm/crypto/sha256_neon_glue.c                 |    13 +-
2101  arch/arm/crypto/sha512-glue.c                      |    11 +-
2102  arch/arm/crypto/sha512-neon-glue.c                 |    11 +-
2103  arch/arm/include/asm/atomic.h                      |   306 +-
2104  arch/arm/include/asm/cache.h                       |     4 +-
2105  arch/arm/include/asm/cacheflush.h                  |     2 +-
2106  arch/arm/include/asm/checksum.h                    |    14 +-
2107  arch/arm/include/asm/cmpxchg.h                     |     5 +
2108  arch/arm/include/asm/cpuidle.h                     |     2 +-
2109  arch/arm/include/asm/domain.h                      |    43 +-
2110  arch/arm/include/asm/elf.h                         |     9 +-
2111  arch/arm/include/asm/fncpy.h                       |     2 +
2112  arch/arm/include/asm/futex.h                       |     1 +
2113  arch/arm/include/asm/kmap_types.h                  |     2 +-
2114  arch/arm/include/asm/mach/dma.h                    |     2 +-
2115  arch/arm/include/asm/mach/map.h                    |    16 +-
2116  arch/arm/include/asm/outercache.h                  |     2 +-
2117  arch/arm/include/asm/page.h                        |     3 +-
2118  arch/arm/include/asm/pgalloc.h                     |    20 +
2119  arch/arm/include/asm/pgtable-2level-hwdef.h        |     4 +-
2120  arch/arm/include/asm/pgtable-2level.h              |     3 +
2121  arch/arm/include/asm/pgtable-3level.h              |     3 +
2122  arch/arm/include/asm/pgtable.h                     |    54 +-
2123  arch/arm/include/asm/smp.h                         |     2 +-
2124  arch/arm/include/asm/string.h                      |    10 +-
2125  arch/arm/include/asm/thread_info.h                 |     3 +
2126  arch/arm/include/asm/timex.h                       |     1 +
2127  arch/arm/include/asm/tls.h                         |     3 +
2128  arch/arm/include/asm/uaccess.h                     |   102 +-
2129  arch/arm/include/uapi/asm/ptrace.h                 |     2 +-
2130  arch/arm/kernel/armksyms.c                         |     2 +-
2131  arch/arm/kernel/cpuidle.c                          |     2 +-
2132  arch/arm/kernel/efi.c                              |     4 +-
2133  arch/arm/kernel/entry-armv.S                       |   109 +-
2134  arch/arm/kernel/entry-common.S                     |    40 +-
2135  arch/arm/kernel/entry-header.S                     |    55 +
2136  arch/arm/kernel/fiq.c                              |     3 +
2137  arch/arm/kernel/module-plts.c                      |     7 +-
2138  arch/arm/kernel/module.c                           |    38 +-
2139  arch/arm/kernel/patch.c                            |     2 +
2140  arch/arm/kernel/process.c                          |    86 +-
2141  arch/arm/kernel/reboot.c                           |     1 +
2142  arch/arm/kernel/setup.c                            |    20 +-
2143  arch/arm/kernel/signal.c                           |    35 +-
2144  arch/arm/kernel/smp.c                              |     2 +-
2145  arch/arm/kernel/tcm.c                              |     4 +-
2146  arch/arm/kernel/vmlinux.lds.S                      |     3 +-
2147  arch/arm/kvm/arm.c                                 |     8 +-
2148  arch/arm/lib/copy_page.S                           |     1 +
2149  arch/arm/lib/csumpartialcopyuser.S                 |     4 +-
2150  arch/arm/lib/delay.c                               |     2 +-
2151  arch/arm/lib/uaccess_with_memcpy.c                 |     4 +-
2152  arch/arm/mach-exynos/suspend.c                     |     6 +-
2153  arch/arm/mach-mmp/mmp2.c                           |     4 +-
2154  arch/arm/mach-mmp/pxa910.c                         |     4 +-
2155  arch/arm/mach-mvebu/coherency.c                    |     6 +-
2156  arch/arm/mach-mvebu/pmsu.c                         |     2 +-
2157  arch/arm/mach-omap2/board-n8x0.c                   |     2 +-
2158  arch/arm/mach-omap2/omap-mpuss-lowpower.c          |     4 +-
2159  arch/arm/mach-omap2/omap-smp.c                     |     1 +
2160  arch/arm/mach-omap2/omap_device.c                  |     4 +-
2161  arch/arm/mach-omap2/omap_device.h                  |     4 +-
2162  arch/arm/mach-omap2/omap_hwmod.c                   |     4 +-
2163  arch/arm/mach-omap2/powerdomains43xx_data.c        |     5 +-
2164  arch/arm/mach-omap2/wd_timer.c                     |     6 +-
2165  arch/arm/mach-s3c64xx/mach-smdk6410.c              |     2 +-
2166  arch/arm/mach-shmobile/platsmp-apmu.c              |     5 +-
2167  arch/arm/mach-tegra/cpuidle-tegra20.c              |     2 +-
2168  arch/arm/mach-tegra/irq.c                          |     1 +
2169  arch/arm/mach-ux500/pm.c                           |     1 +
2170  arch/arm/mach-zynq/platsmp.c                       |     1 +
2171  arch/arm/mm/Kconfig                                |     6 +-
2172  arch/arm/mm/alignment.c                            |    24 +-
2173  arch/arm/mm/cache-l2x0.c                           |     2 +-
2174  arch/arm/mm/context.c                              |    10 +-
2175  arch/arm/mm/fault.c                                |   160 +
2176  arch/arm/mm/fault.h                                |    12 +
2177  arch/arm/mm/init.c                                 |    39 +
2178  arch/arm/mm/ioremap.c                              |     4 +-
2179  arch/arm/mm/mmap.c                                 |    36 +-
2180  arch/arm/mm/mmu.c                                  |   162 +-
2181  arch/arm/net/bpf_jit_32.c                          |     3 +
2182  arch/arm/plat-iop/setup.c                          |     2 +-
2183  arch/arm/plat-omap/sram.c                          |     2 +
2184  arch/arm64/Kconfig                                 |     1 +
2185  arch/arm64/crypto/sha1-ce-glue.c                   |    12 +-
2186  arch/arm64/include/asm/atomic.h                    |    13 +
2187  arch/arm64/include/asm/cache.h                     |     4 +-
2188  arch/arm64/include/asm/percpu.h                    |     8 +-
2189  arch/arm64/include/asm/pgalloc.h                   |    10 +
2190  arch/arm64/include/asm/pgtable.h                   |     3 +
2191  arch/arm64/include/asm/processor.h                 |     7 +
2192  arch/arm64/include/asm/string.h                    |    24 +-
2193  arch/arm64/include/asm/uaccess.h                   |    10 +
2194  arch/arm64/kernel/hibernate.c                      |    14 +-
2195  arch/arm64/kernel/probes/decode-insn.c             |     4 +-
2196  arch/arm64/kernel/process.c                        |     9 +-
2197  arch/arm64/kernel/stacktrace.c                     |     4 +-
2198  arch/arm64/kernel/traps.c                          |     2 +-
2199  arch/avr32/include/asm/elf.h                       |     8 +-
2200  arch/avr32/include/asm/kmap_types.h                |     4 +-
2201  arch/avr32/mm/fault.c                              |    27 +
2202  arch/frv/include/asm/atomic.h                      |    10 +
2203  arch/frv/include/asm/kmap_types.h                  |     2 +-
2204  arch/frv/mm/elf-fdpic.c                            |     3 +-
2205  arch/ia64/Makefile                                 |     1 +
2206  arch/ia64/include/asm/atomic.h                     |    10 +
2207  arch/ia64/include/asm/elf.h                        |     7 +
2208  arch/ia64/include/asm/pgalloc.h                    |    12 +
2209  arch/ia64/include/asm/pgtable.h                    |    13 +-
2210  arch/ia64/include/asm/spinlock.h                   |     2 +-
2211  arch/ia64/include/asm/uaccess.h                    |    27 +-
2212  arch/ia64/kernel/module.c                          |    20 +-
2213  arch/ia64/kernel/palinfo.c                         |     2 +-
2214  arch/ia64/kernel/sys_ia64.c                        |     7 +
2215  arch/ia64/kernel/vmlinux.lds.S                     |     2 +-
2216  arch/ia64/mm/fault.c                               |    32 +-
2217  arch/ia64/mm/init.c                                |    15 +-
2218  arch/m32r/lib/usercopy.c                           |     6 +
2219  arch/mips/Kbuild                                   |     2 +-
2220  arch/mips/Kconfig                                  |     3 +-
2221  arch/mips/include/asm/atomic.h                     |   387 +-
2222  arch/mips/include/asm/cache.h                      |     3 +-
2223  arch/mips/include/asm/elf.h                        |     7 +
2224  arch/mips/include/asm/exec.h                       |     2 +-
2225  arch/mips/include/asm/hw_irq.h                     |     2 +-
2226  arch/mips/include/asm/irq.h                        |     1 -
2227  arch/mips/include/asm/local.h                      |    57 +
2228  arch/mips/include/asm/page.h                       |     2 +-
2229  arch/mips/include/asm/pgalloc.h                    |     5 +
2230  arch/mips/include/asm/pgtable.h                    |     3 +
2231  arch/mips/include/asm/uaccess.h                    |     1 +
2232  arch/mips/kernel/binfmt_elfn32.c                   |     7 +
2233  arch/mips/kernel/binfmt_elfo32.c                   |     7 +
2234  arch/mips/kernel/irq-gt641xx.c                     |     2 +-
2235  arch/mips/kernel/irq.c                             |     6 +-
2236  arch/mips/kernel/pm-cps.c                          |     2 +-
2237  arch/mips/kernel/process.c                         |    12 -
2238  arch/mips/kernel/sync-r4k.c                        |    24 +-
2239  arch/mips/kernel/traps.c                           |    13 +-
2240  arch/mips/lib/ashldi3.c                            |    21 +-
2241  arch/mips/lib/ashrdi3.c                            |    19 +-
2242  arch/mips/lib/libgcc.h                             |    12 +-
2243  arch/mips/mm/fault.c                               |    25 +
2244  arch/mips/mm/init.c                                |     4 +-
2245  arch/mips/mm/mmap.c                                |    24 +-
2246  arch/mips/sgi-ip27/ip27-nmi.c                      |     6 +-
2247  arch/mips/sni/rm200.c                              |     2 +-
2248  arch/mips/vr41xx/common/icu.c                      |     2 +-
2249  arch/mips/vr41xx/common/irq.c                      |     4 +-
2250  arch/parisc/include/asm/atomic.h                   |    10 +
2251  arch/parisc/include/asm/elf.h                      |     7 +
2252  arch/parisc/include/asm/pgalloc.h                  |     6 +
2253  arch/parisc/include/asm/pgtable.h                  |    11 +
2254  arch/parisc/include/asm/uaccess.h                  |     6 +-
2255  arch/parisc/kernel/module.c                        |    26 +-
2256  arch/parisc/kernel/sys_parisc.c                    |    15 +
2257  arch/parisc/kernel/traps.c                         |     4 +-
2258  arch/parisc/mm/fault.c                             |   140 +-
2259  arch/powerpc/Kconfig                               |     1 +
2260  arch/powerpc/include/asm/atomic.h                  |   306 +-
2261  arch/powerpc/include/asm/book3s/32/hash.h          |     1 +
2262  arch/powerpc/include/asm/book3s/32/pgtable.h       |     2 +-
2263  arch/powerpc/include/asm/book3s/64/pgalloc.h       |    10 +
2264  arch/powerpc/include/asm/cache.h                   |     4 +-
2265  arch/powerpc/include/asm/elf.h                     |    12 +
2266  arch/powerpc/include/asm/exec.h                    |     2 +-
2267  arch/powerpc/include/asm/kmap_types.h              |     2 +-
2268  arch/powerpc/include/asm/local.h                   |    46 +
2269  arch/powerpc/include/asm/mman.h                    |     2 +-
2270  arch/powerpc/include/asm/nohash/64/pgalloc.h       |     7 +
2271  arch/powerpc/include/asm/page.h                    |     8 +-
2272  arch/powerpc/include/asm/page_64.h                 |     7 +-
2273  arch/powerpc/include/asm/pgtable.h                 |     1 +
2274  arch/powerpc/include/asm/pte-common.h              |    30 +-
2275  arch/powerpc/include/asm/reg.h                     |     1 +
2276  arch/powerpc/include/asm/smp.h                     |     2 +-
2277  arch/powerpc/include/asm/spinlock.h                |    43 +-
2278  arch/powerpc/include/asm/string.h                  |    20 +-
2279  arch/powerpc/include/asm/uaccess.h                 |   102 +-
2280  arch/powerpc/kernel/Makefile                       |     5 +
2281  arch/powerpc/kernel/exceptions-64e.S               |     4 +-
2282  arch/powerpc/kernel/exceptions-64s.S               |     2 +-
2283  arch/powerpc/kernel/module_32.c                    |    15 +-
2284  arch/powerpc/kernel/process.c                      |     7 -
2285  arch/powerpc/kernel/signal_32.c                    |     2 +-
2286  arch/powerpc/kernel/signal_64.c                    |     2 +-
2287  arch/powerpc/kernel/traps.c                        |    21 +
2288  arch/powerpc/kernel/vdso.c                         |     5 +-
2289  arch/powerpc/lib/usercopy_64.c                     |    18 -
2290  arch/powerpc/mm/fault.c                            |    56 +-
2291  arch/powerpc/mm/mmap.c                             |    16 +
2292  arch/powerpc/mm/slice.c                            |    21 +-
2293  arch/powerpc/platforms/cell/spufs/file.c           |     4 +-
2294  arch/s390/include/asm/atomic.h                     |    10 +
2295  arch/s390/include/asm/elf.h                        |     7 +
2296  arch/s390/include/asm/exec.h                       |     2 +-
2297  arch/s390/include/asm/uaccess.h                    |    13 +-
2298  arch/s390/kernel/module.c                          |    22 +-
2299  arch/s390/kernel/process.c                         |     7 -
2300  arch/s390/mm/mmap.c                                |    22 +-
2301  arch/score/include/asm/exec.h                      |     2 +-
2302  arch/score/kernel/process.c                        |     5 -
2303  arch/sh/mm/mmap.c                                  |    28 +-
2304  arch/sparc/Kconfig                                 |     1 +
2305  arch/sparc/include/asm/atomic_64.h                 |   116 +-
2306  arch/sparc/include/asm/cache.h                     |     4 +-
2307  arch/sparc/include/asm/elf_32.h                    |     7 +
2308  arch/sparc/include/asm/elf_64.h                    |     7 +
2309  arch/sparc/include/asm/pgalloc_32.h                |     1 +
2310  arch/sparc/include/asm/pgalloc_64.h                |     2 +
2311  arch/sparc/include/asm/pgtable.h                   |     4 +
2312  arch/sparc/include/asm/pgtable_32.h                |    15 +-
2313  arch/sparc/include/asm/pgtsrmmu.h                  |     5 +
2314  arch/sparc/include/asm/setup.h                     |     4 +-
2315  arch/sparc/include/asm/spinlock_64.h               |    35 +-
2316  arch/sparc/include/asm/thread_info_32.h            |     1 +
2317  arch/sparc/include/asm/thread_info_64.h            |     2 +
2318  arch/sparc/include/asm/uaccess.h                   |     1 +
2319  arch/sparc/include/asm/uaccess_32.h                |    13 +
2320  arch/sparc/include/asm/uaccess_64.h                |    12 +
2321  arch/sparc/kernel/Makefile                         |     2 +-
2322  arch/sparc/kernel/prom_common.c                    |     2 +-
2323  arch/sparc/kernel/smp_64.c                         |     8 +-
2324  arch/sparc/kernel/sys_sparc_32.c                   |     2 +-
2325  arch/sparc/kernel/sys_sparc_64.c                   |    58 +-
2326  arch/sparc/kernel/traps_64.c                       |    27 +-
2327  arch/sparc/lib/Makefile                            |     2 +-
2328  arch/sparc/lib/atomic_64.S                         |    57 +-
2329  arch/sparc/lib/ksyms.c                             |     6 +-
2330  arch/sparc/mm/Makefile                             |     2 +-
2331  arch/sparc/mm/fault_32.c                           |   292 +
2332  arch/sparc/mm/fault_64.c                           |   486 +
2333  arch/sparc/mm/hugetlbpage.c                        |    30 +-
2334  arch/sparc/mm/init_64.c                            |    10 +-
2335  arch/tile/include/asm/atomic_64.h                  |    10 +
2336  arch/tile/include/asm/uaccess.h                    |     4 +-
2337  arch/um/Makefile                                   |     2 +
2338  arch/um/include/asm/cache.h                        |     3 +-
2339  arch/um/include/asm/kmap_types.h                   |     2 +-
2340  arch/um/include/asm/page.h                         |     3 +
2341  arch/um/include/asm/pgtable-3level.h               |     1 +
2342  arch/um/kernel/process.c                           |    16 -
2343  arch/x86/Kconfig                                   |    35 +-
2344  arch/x86/Kconfig.cpu                               |     6 +-
2345  arch/x86/Kconfig.debug                             |     3 +-
2346  arch/x86/Makefile                                  |    13 +-
2347  arch/x86/boot/bitops.h                             |     4 +-
2348  arch/x86/boot/boot.h                               |     2 +-
2349  arch/x86/boot/compressed/Makefile                  |    17 +
2350  arch/x86/boot/compressed/efi_stub_32.S             |    16 +-
2351  arch/x86/boot/compressed/efi_thunk_64.S            |     4 +-
2352  arch/x86/boot/compressed/head_32.S                 |     4 +-
2353  arch/x86/boot/compressed/head_64.S                 |    12 +-
2354  arch/x86/boot/compressed/misc.c                    |    21 +-
2355  arch/x86/boot/compressed/pagetable.c               |     1 +
2356  arch/x86/boot/cpucheck.c                           |    16 +-
2357  arch/x86/boot/header.S                             |     7 +-
2358  arch/x86/boot/memory.c                             |     2 +-
2359  arch/x86/boot/video-vesa.c                         |     1 +
2360  arch/x86/boot/video.c                              |     2 +-
2361  arch/x86/crypto/aes-x86_64-asm_64.S                |     4 +
2362  arch/x86/crypto/aesni-intel_asm.S                  |   116 +-
2363  arch/x86/crypto/aesni-intel_glue.c                 |     4 +-
2364  arch/x86/crypto/blowfish-x86_64-asm_64.S           |    11 +-
2365  arch/x86/crypto/camellia-aesni-avx-asm_64.S        |    22 +-
2366  arch/x86/crypto/camellia-aesni-avx2-asm_64.S       |    22 +-
2367  arch/x86/crypto/camellia-x86_64-asm_64.S           |    11 +-
2368  arch/x86/crypto/camellia_aesni_avx2_glue.c         |    18 +-
2369  arch/x86/crypto/camellia_aesni_avx_glue.c          |    18 +-
2370  arch/x86/crypto/camellia_glue.c                    |     8 +-
2371  arch/x86/crypto/cast5-avx-x86_64-asm_64.S          |    55 +-
2372  arch/x86/crypto/cast6-avx-x86_64-asm_64.S          |    37 +-
2373  arch/x86/crypto/cast6_avx_glue.c                   |    16 +-
2374  arch/x86/crypto/crc32-pclmul_asm.S                 |    19 +-
2375  arch/x86/crypto/crc32c-pcl-intel-asm_64.S          |     2 +
2376  arch/x86/crypto/ghash-clmulni-intel_asm.S          |     4 +
2377  arch/x86/crypto/glue_helper.c                      |     2 +-
2378  arch/x86/crypto/salsa20-x86_64-asm_64.S            |     4 +
2379  arch/x86/crypto/serpent-avx-x86_64-asm_64.S        |    21 +-
2380  arch/x86/crypto/serpent-avx2-asm_64.S              |    21 +-
2381  arch/x86/crypto/serpent-sse2-x86_64-asm_64.S       |     4 +
2382  arch/x86/crypto/serpent_avx2_glue.c                |    14 +-
2383  arch/x86/crypto/serpent_avx_glue.c                 |    18 +-
2384  arch/x86/crypto/serpent_sse2_glue.c                |     4 +-
2385  arch/x86/crypto/sha1-mb/sha1_mb_mgr_flush_avx2.S   |     4 +-
2386  arch/x86/crypto/sha1-mb/sha1_mb_mgr_submit_avx2.S  |     2 +-
2387  arch/x86/crypto/sha1_ssse3_asm.S                   |    13 +-
2388  arch/x86/crypto/sha1_ssse3_glue.c                  |    56 +-
2389  arch/x86/crypto/sha256-avx-asm.S                   |     5 +-
2390  arch/x86/crypto/sha256-avx2-asm.S                  |     5 +-
2391  .../crypto/sha256-mb/sha256_mb_mgr_flush_avx2.S    |     4 +-
2392  .../crypto/sha256-mb/sha256_mb_mgr_submit_avx2.S   |     2 +-
2393  arch/x86/crypto/sha256-ssse3-asm.S                 |     6 +-
2394  arch/x86/crypto/sha256_ni_asm.S                    |     2 +-
2395  arch/x86/crypto/sha256_ssse3_glue.c                |    26 +-
2396  arch/x86/crypto/sha512-avx-asm.S                   |     5 +-
2397  arch/x86/crypto/sha512-avx2-asm.S                  |     5 +-
2398  .../crypto/sha512-mb/sha512_mb_mgr_flush_avx2.S    |     4 +-
2399  .../crypto/sha512-mb/sha512_mb_mgr_submit_avx2.S   |     2 +-
2400  arch/x86/crypto/sha512-ssse3-asm.S                 |     5 +-
2401  arch/x86/crypto/sha512_ssse3_glue.c                |    22 +-
2402  arch/x86/crypto/twofish-avx-x86_64-asm_64.S        |    37 +-
2403  arch/x86/crypto/twofish-i586-asm_32.S              |     4 +-
2404  arch/x86/crypto/twofish-x86_64-asm_64-3way.S       |     6 +-
2405  arch/x86/crypto/twofish-x86_64-asm_64.S            |     7 +-
2406  arch/x86/crypto/twofish_avx_glue.c                 |    21 +-
2407  arch/x86/crypto/twofish_glue.c                     |     4 +-
2408  arch/x86/crypto/twofish_glue_3way.c                |    12 +-
2409  arch/x86/entry/Makefile                            |     2 +
2410  arch/x86/entry/calling.h                           |    86 +-
2411  arch/x86/entry/common.c                            |    89 +-
2412  arch/x86/entry/entry_32.S                          |   343 +-
2413  arch/x86/entry/entry_64.S                          |   611 +-
2414  arch/x86/entry/entry_64_compat.S                   |   110 +-
2415  arch/x86/entry/thunk_64.S                          |     2 +
2416  arch/x86/entry/vdso/Makefile                       |     2 +-
2417  arch/x86/entry/vdso/vclock_gettime.c               |     2 +-
2418  arch/x86/entry/vdso/vdso2c.h                       |     4 +-
2419  arch/x86/entry/vdso/vma.c                          |    44 +-
2420  arch/x86/entry/vsyscall/vsyscall_64.c              |    20 +-
2421  arch/x86/entry/vsyscall/vsyscall_emu_64.S          |     3 +-
2422  arch/x86/events/amd/iommu.c                        |     8 +-
2423  arch/x86/events/core.c                             |     8 +-
2424  arch/x86/events/intel/core.c                       |    34 +-
2425  arch/x86/events/intel/cqm.c                        |    14 +-
2426  arch/x86/events/intel/cstate.c                     |     6 +-
2427  arch/x86/events/intel/ds.c                         |     7 +-
2428  arch/x86/events/intel/lbr.c                        |     4 +-
2429  arch/x86/events/intel/pt.c                         |    38 +-
2430  arch/x86/events/intel/rapl.c                       |     8 +-
2431  arch/x86/events/intel/uncore.c                     |     6 +-
2432  arch/x86/events/intel/uncore.h                     |    14 +-
2433  arch/x86/events/perf_event.h                       |     2 +-
2434  arch/x86/ia32/ia32_signal.c                        |    23 +-
2435  arch/x86/ia32/sys_ia32.c                           |    42 +-
2436  arch/x86/include/asm/alternative-asm.h             |    64 +-
2437  arch/x86/include/asm/alternative.h                 |    34 +-
2438  arch/x86/include/asm/apic.h                        |     2 +-
2439  arch/x86/include/asm/apm.h                         |     4 +-
2440  arch/x86/include/asm/asm.h                         |    24 -
2441  arch/x86/include/asm/atomic.h                      |   272 +-
2442  arch/x86/include/asm/atomic64_32.h                 |   133 +-
2443  arch/x86/include/asm/atomic64_64.h                 |   144 +-
2444  arch/x86/include/asm/bitops.h                      |    18 +-
2445  arch/x86/include/asm/boot.h                        |     2 +-
2446  arch/x86/include/asm/cache.h                       |     4 +-
2447  arch/x86/include/asm/checksum_32.h                 |    12 +-
2448  arch/x86/include/asm/cmpxchg.h                     |    33 +
2449  arch/x86/include/asm/compat.h                      |     4 +
2450  arch/x86/include/asm/cpufeature.h                  |     2 +-
2451  arch/x86/include/asm/cpufeatures.h                 |     5 +-
2452  arch/x86/include/asm/crypto/camellia.h             |    30 +-
2453  arch/x86/include/asm/crypto/glue_helper.h          |    10 +-
2454  arch/x86/include/asm/crypto/serpent-avx.h          |    18 +-
2455  arch/x86/include/asm/crypto/serpent-sse2.h         |     8 +-
2456  arch/x86/include/asm/crypto/twofish.h              |    10 +-
2457  arch/x86/include/asm/desc.h                        |    78 +-
2458  arch/x86/include/asm/desc_defs.h                   |     6 +
2459  arch/x86/include/asm/div64.h                       |     2 +-
2460  arch/x86/include/asm/dma.h                         |     2 +
2461  arch/x86/include/asm/efi.h                         |     5 +
2462  arch/x86/include/asm/elf.h                         |    33 +-
2463  arch/x86/include/asm/emergency-restart.h           |     2 +-
2464  arch/x86/include/asm/fixmap.h                      |     2 +-
2465  arch/x86/include/asm/fpu/internal.h                |    45 +-
2466  arch/x86/include/asm/fpu/types.h                   |     5 +-
2467  arch/x86/include/asm/fpu/xstate.h                  |     1 +
2468  arch/x86/include/asm/futex.h                       |    24 +-
2469  arch/x86/include/asm/hw_irq.h                      |     4 +-
2470  arch/x86/include/asm/hypervisor.h                  |     2 +-
2471  arch/x86/include/asm/i8259.h                       |     2 +-
2472  arch/x86/include/asm/io.h                          |    22 +-
2473  arch/x86/include/asm/irq_vectors.h                 |     2 +
2474  arch/x86/include/asm/irqflags.h                    |     5 +
2475  arch/x86/include/asm/kprobes.h                     |     2 +-
2476  arch/x86/include/asm/kvm_emulate.h                 |     7 +-
2477  arch/x86/include/asm/local.h                       |    75 +-
2478  arch/x86/include/asm/mce.h                         |     2 +-
2479  arch/x86/include/asm/mman.h                        |    15 +
2480  arch/x86/include/asm/mmu.h                         |    14 +-
2481  arch/x86/include/asm/mmu_context.h                 |    33 +-
2482  arch/x86/include/asm/module.h                      |    23 +-
2483  arch/x86/include/asm/nmi.h                         |    19 +-
2484  arch/x86/include/asm/page.h                        |     2 +
2485  arch/x86/include/asm/page_32.h                     |    12 +-
2486  arch/x86/include/asm/page_64.h                     |    14 +-
2487  arch/x86/include/asm/paravirt.h                    |    46 +-
2488  arch/x86/include/asm/paravirt_types.h              |    13 +-
2489  arch/x86/include/asm/pgalloc.h                     |    23 +
2490  arch/x86/include/asm/pgtable-2level.h              |     2 +
2491  arch/x86/include/asm/pgtable-3level.h              |     7 +
2492  arch/x86/include/asm/pgtable.h                     |   128 +-
2493  arch/x86/include/asm/pgtable_32.h                  |    14 +-
2494  arch/x86/include/asm/pgtable_32_types.h            |    24 +-
2495  arch/x86/include/asm/pgtable_64.h                  |    23 +-
2496  arch/x86/include/asm/pgtable_64_types.h            |     5 +
2497  arch/x86/include/asm/pgtable_types.h               |    28 +-
2498  arch/x86/include/asm/pmem.h                        |     2 +-
2499  arch/x86/include/asm/preempt.h                     |     2 +-
2500  arch/x86/include/asm/processor.h                   |    69 +-
2501  arch/x86/include/asm/ptrace.h                      |    13 +-
2502  arch/x86/include/asm/realmode.h                    |     4 +-
2503  arch/x86/include/asm/reboot.h                      |    10 +-
2504  arch/x86/include/asm/rmwcc.h                       |    55 +-
2505  arch/x86/include/asm/rwsem.h                       |    35 +-
2506  arch/x86/include/asm/segment.h                     |    27 +-
2507  arch/x86/include/asm/setup.h                       |     3 +-
2508  arch/x86/include/asm/smap.h                        |    46 +
2509  arch/x86/include/asm/smp.h                         |     4 +-
2510  arch/x86/include/asm/stackprotector.h              |     4 +-
2511  arch/x86/include/asm/stacktrace.h                  |    34 +-
2512  arch/x86/include/asm/string_32.h                   |    24 +-
2513  arch/x86/include/asm/string_64.h                   |    20 +-
2514  arch/x86/include/asm/switch_to.h                   |     4 +-
2515  arch/x86/include/asm/sys_ia32.h                    |     6 +-
2516  arch/x86/include/asm/thread_info.h                 |    83 +-
2517  arch/x86/include/asm/tlbflush.h                    |    83 +-
2518  arch/x86/include/asm/trace/fpu.h                   |     4 +-
2519  arch/x86/include/asm/traps.h                       |    17 +-
2520  arch/x86/include/asm/uaccess.h                     |   219 +-
2521  arch/x86/include/asm/uaccess_32.h                  |    24 +-
2522  arch/x86/include/asm/uaccess_64.h                  |   166 +-
2523  arch/x86/include/asm/word-at-a-time.h              |     2 +-
2524  arch/x86/include/asm/x86_init.h                    |     8 +-
2525  arch/x86/include/asm/xen/page.h                    |     2 +-
2526  arch/x86/include/uapi/asm/e820.h                   |     2 +-
2527  arch/x86/kernel/Makefile                           |     2 +-
2528  arch/x86/kernel/acpi/boot.c                        |     4 +-
2529  arch/x86/kernel/acpi/sleep.c                       |     4 +
2530  arch/x86/kernel/acpi/wakeup_32.S                   |     6 +-
2531  arch/x86/kernel/alternative.c                      |   118 +-
2532  arch/x86/kernel/apic/apic.c                        |     4 +-
2533  arch/x86/kernel/apic/apic_flat_64.c                |     6 +-
2534  arch/x86/kernel/apic/apic_noop.c                   |     2 +-
2535  arch/x86/kernel/apic/bigsmp_32.c                   |     2 +-
2536  arch/x86/kernel/apic/io_apic.c                     |    10 +-
2537  arch/x86/kernel/apic/msi.c                         |     2 +-
2538  arch/x86/kernel/apic/probe_32.c                    |     4 +-
2539  arch/x86/kernel/apic/vector.c                      |     2 +
2540  arch/x86/kernel/apic/x2apic_cluster.c              |     2 +-
2541  arch/x86/kernel/apic/x2apic_phys.c                 |     2 +-
2542  arch/x86/kernel/apic/x2apic_uv_x.c                 |     2 +-
2543  arch/x86/kernel/apm_32.c                           |    21 +-
2544  arch/x86/kernel/asm-offsets.c                      |    23 +-
2545  arch/x86/kernel/cpu/Makefile                       |     4 -
2546  arch/x86/kernel/cpu/amd.c                          |     2 +-
2547  arch/x86/kernel/cpu/bugs_64.c                      |     2 +
2548  arch/x86/kernel/cpu/common.c                       |   206 +-
2549  arch/x86/kernel/cpu/intel_cacheinfo.c              |    14 +-
2550  arch/x86/kernel/cpu/mcheck/mce.c                   |    38 +-
2551  arch/x86/kernel/cpu/mcheck/p5.c                    |     3 +
2552  arch/x86/kernel/cpu/mcheck/winchip.c               |     3 +
2553  arch/x86/kernel/cpu/microcode/intel.c              |     4 +-
2554  arch/x86/kernel/cpu/mshyperv.c                     |     2 +-
2555  arch/x86/kernel/cpu/mtrr/generic.c                 |     6 +-
2556  arch/x86/kernel/cpu/mtrr/main.c                    |     2 +-
2557  arch/x86/kernel/cpu/mtrr/mtrr.h                    |     2 +-
2558  arch/x86/kernel/cpu/vmware.c                       |     2 +-
2559  arch/x86/kernel/crash_dump_64.c                    |     2 +-
2560  arch/x86/kernel/doublefault.c                      |     8 +-
2561  arch/x86/kernel/dumpstack.c                        |    12 +-
2562  arch/x86/kernel/dumpstack_32.c                     |    23 +-
2563  arch/x86/kernel/dumpstack_64.c                     |    70 +-
2564  arch/x86/kernel/e820.c                             |     4 +-
2565  arch/x86/kernel/early_printk.c                     |     1 +
2566  arch/x86/kernel/espfix_64.c                        |    44 +-
2567  arch/x86/kernel/fpu/core.c                         |    31 +-
2568  arch/x86/kernel/fpu/init.c                         |    49 +-
2569  arch/x86/kernel/fpu/regset.c                       |    24 +-
2570  arch/x86/kernel/fpu/signal.c                       |    22 +-
2571  arch/x86/kernel/fpu/xstate.c                       |     6 +-
2572  arch/x86/kernel/ftrace.c                           |    18 +-
2573  arch/x86/kernel/head64.c                           |    14 +-
2574  arch/x86/kernel/head_32.S                          |   236 +-
2575  arch/x86/kernel/head_64.S                          |   179 +-
2576  arch/x86/kernel/hpet.c                             |     2 +-
2577  arch/x86/kernel/i386_ksyms_32.c                    |    12 +
2578  arch/x86/kernel/i8259.c                            |    10 +-
2579  arch/x86/kernel/io_delay.c                         |     2 +-
2580  arch/x86/kernel/ioport.c                           |     2 +-
2581  arch/x86/kernel/irq.c                              |     8 +-
2582  arch/x86/kernel/irq_32.c                           |    43 +-
2583  arch/x86/kernel/jump_label.c                       |    10 +-
2584  arch/x86/kernel/kgdb.c                             |    21 +-
2585  arch/x86/kernel/kprobes/core.c                     |    28 +-
2586  arch/x86/kernel/kprobes/opt.c                      |    16 +-
2587  arch/x86/kernel/ksysfs.c                           |     2 +-
2588  arch/x86/kernel/kvm.c                              |     2 +-
2589  arch/x86/kernel/kvmclock.c                         |    20 +-
2590  arch/x86/kernel/ldt.c                              |    25 +
2591  arch/x86/kernel/machine_kexec_32.c                 |     6 +-
2592  arch/x86/kernel/mcount_64.S                        |    21 +-
2593  arch/x86/kernel/module.c                           |    78 +-
2594  arch/x86/kernel/msr.c                              |     2 +-
2595  arch/x86/kernel/nmi.c                              |    34 +-
2596  arch/x86/kernel/nmi_selftest.c                     |     4 +-
2597  arch/x86/kernel/paravirt-spinlocks.c               |    24 +-
2598  arch/x86/kernel/paravirt.c                         |   133 +-
2599  arch/x86/kernel/paravirt_patch_64.c                |     8 +
2600  arch/x86/kernel/pci-calgary_64.c                   |     2 +-
2601  arch/x86/kernel/pci-iommu_table.c                  |     2 +-
2602  arch/x86/kernel/process.c                          |    80 +-
2603  arch/x86/kernel/process_32.c                       |    29 +-
2604  arch/x86/kernel/process_64.c                       |    14 +-
2605  arch/x86/kernel/ptrace.c                           |    32 +-
2606  arch/x86/kernel/pvclock.c                          |     8 +-
2607  arch/x86/kernel/reboot.c                           |    44 +-
2608  arch/x86/kernel/reboot_fixups_32.c                 |     2 +-
2609  arch/x86/kernel/relocate_kernel_64.S               |     3 +-
2610  arch/x86/kernel/setup.c                            |    33 +-
2611  arch/x86/kernel/setup_percpu.c                     |    29 +-
2612  arch/x86/kernel/signal.c                           |    17 +-
2613  arch/x86/kernel/smp.c                              |     2 +-
2614  arch/x86/kernel/smpboot.c                          |    29 +-
2615  arch/x86/kernel/step.c                             |     6 +-
2616  arch/x86/kernel/sys_i386_32.c                      |   184 +
2617  arch/x86/kernel/sys_x86_64.c                       |    28 +-
2618  arch/x86/kernel/tboot.c                            |    22 +-
2619  arch/x86/kernel/time.c                             |     8 +-
2620  arch/x86/kernel/tls.c                              |     7 +-
2621  arch/x86/kernel/tracepoint.c                       |     4 +-
2622  arch/x86/kernel/traps.c                            |   102 +-
2623  arch/x86/kernel/tsc.c                              |     2 +-
2624  arch/x86/kernel/uprobes.c                          |     4 +-
2625  arch/x86/kernel/vm86_32.c                          |     6 +-
2626  arch/x86/kernel/vmlinux.lds.S                      |   144 +-
2627  arch/x86/kernel/x8664_ksyms_64.c                   |     6 +-
2628  arch/x86/kernel/x86_init.c                         |     6 +-
2629  arch/x86/kvm/cpuid.c                               |    21 +-
2630  arch/x86/kvm/emulate.c                             |    20 +-
2631  arch/x86/kvm/i8259.c                               |    10 +-
2632  arch/x86/kvm/ioapic.c                              |     2 +
2633  arch/x86/kvm/lapic.c                               |     2 +-
2634  arch/x86/kvm/paging_tmpl.h                         |     2 +-
2635  arch/x86/kvm/svm.c                                 |    10 +-
2636  arch/x86/kvm/vmx.c                                 |    60 +-
2637  arch/x86/kvm/x86.c                                 |    46 +-
2638  arch/x86/lguest/boot.c                             |     3 +-
2639  arch/x86/lib/Makefile                              |     4 +
2640  arch/x86/lib/atomic64_386_32.S                     |    85 +
2641  arch/x86/lib/atomic64_cx8_32.S                     |    75 +-
2642  arch/x86/lib/checksum_32.S                         |    99 +-
2643  arch/x86/lib/clear_page_64.S                       |     3 +
2644  arch/x86/lib/cmpxchg16b_emu.S                      |     3 +
2645  arch/x86/lib/copy_page_64.S                        |    14 +-
2646  arch/x86/lib/copy_user_64.S                        |   108 +-
2647  arch/x86/lib/csum-copy_64.S                        |    14 +-
2648  arch/x86/lib/csum-wrappers_64.c                    |    12 +-
2649  arch/x86/lib/getuser.S                             |   111 +-
2650  arch/x86/lib/insn.c                                |     8 +-
2651  arch/x86/lib/iomap_copy_64.S                       |     2 +
2652  arch/x86/lib/memcpy_64.S                           |     6 +
2653  arch/x86/lib/memmove_64.S                          |     3 +-
2654  arch/x86/lib/memset_64.S                           |     3 +
2655  arch/x86/lib/mmx_32.c                              |   243 +-
2656  arch/x86/lib/msr-reg.S                             |     2 +
2657  arch/x86/lib/putuser.S                             |    97 +-
2658  arch/x86/lib/rwsem.S                               |     4 +
2659  arch/x86/lib/usercopy_32.c                         |   359 +-
2660  arch/x86/lib/usercopy_64.c                         |    23 +-
2661  arch/x86/math-emu/fpu_aux.c                        |     2 +-
2662  arch/x86/math-emu/fpu_entry.c                      |     4 +-
2663  arch/x86/math-emu/fpu_etc.c                        |     9 +-
2664  arch/x86/math-emu/fpu_system.h                     |     2 +-
2665  arch/x86/math-emu/fpu_trig.c                       |    13 +-
2666  arch/x86/math-emu/reg_constant.c                   |     7 +-
2667  arch/x86/mm/Makefile                               |     4 +
2668  arch/x86/mm/dump_pagetables.c                      |    32 +-
2669  arch/x86/mm/extable.c                              |     2 +-
2670  arch/x86/mm/fault.c                                |   571 +-
2671  arch/x86/mm/gup.c                                  |     6 +-
2672  arch/x86/mm/highmem_32.c                           |     6 +
2673  arch/x86/mm/hugetlbpage.c                          |    24 +-
2674  arch/x86/mm/init.c                                 |    19 +-
2675  arch/x86/mm/init_32.c                              |   157 +-
2676  arch/x86/mm/init_64.c                              |   106 +-
2677  arch/x86/mm/iomap_32.c                             |     4 +
2678  arch/x86/mm/ioremap.c                              |    54 +-
2679  arch/x86/mm/kmemcheck/kmemcheck.c                  |     4 +-
2680  arch/x86/mm/mmap.c                                 |    46 +-
2681  arch/x86/mm/mmio-mod.c                             |    10 +-
2682  arch/x86/mm/mpx.c                                  |     6 +-
2683  arch/x86/mm/numa.c                                 |     2 +-
2684  arch/x86/mm/pageattr.c                             |    38 +-
2685  arch/x86/mm/pat.c                                  |     8 +-
2686  arch/x86/mm/pat_rbtree.c                           |     2 +-
2687  arch/x86/mm/pf_in.c                                |    10 +-
2688  arch/x86/mm/pgtable.c                              |   211 +-
2689  arch/x86/mm/pgtable_32.c                           |     3 +
2690  arch/x86/mm/setup_nx.c                             |     7 +
2691  arch/x86/mm/tlb.c                                  |   104 +-
2692  arch/x86/mm/uderef_64.c                            |    37 +
2693  arch/x86/net/bpf_jit.S                             |    11 +
2694  arch/x86/net/bpf_jit_comp.c                        |    13 +-
2695  arch/x86/oprofile/backtrace.c                      |     6 +-
2696  arch/x86/oprofile/nmi_int.c                        |    10 +-
2697  arch/x86/oprofile/op_model_amd.c                   |     8 +-
2698  arch/x86/oprofile/op_model_ppro.c                  |     7 +-
2699  arch/x86/oprofile/op_x86_model.h                   |     2 +-
2700  arch/x86/pci/intel_mid_pci.c                       |     2 +-
2701  arch/x86/pci/irq.c                                 |     8 +-
2702  arch/x86/pci/pcbios.c                              |   112 +-
2703  arch/x86/pci/vmd.c                                 |     4 +-
2704  arch/x86/platform/efi/efi_32.c                     |    24 +
2705  arch/x86/platform/efi/efi_64.c                     |    26 +-
2706  arch/x86/platform/efi/efi_stub_32.S                |    64 +-
2707  arch/x86/platform/efi/efi_stub_64.S                |     2 +
2708  arch/x86/platform/intel-mid/intel-mid.c            |     7 +-
2709  arch/x86/platform/intel-mid/intel_mid_weak_decls.h |     6 +-
2710  arch/x86/platform/intel-mid/mfld.c                 |     4 +-
2711  arch/x86/platform/intel-mid/mrfld.c                |     2 +-
2712  arch/x86/platform/intel-quark/imr_selftest.c       |     2 +-
2713  arch/x86/platform/olpc/olpc_dt.c                   |     2 +-
2714  arch/x86/power/cpu.c                               |    11 +-
2715  arch/x86/realmode/init.c                           |    10 +-
2716  arch/x86/realmode/rm/header.S                      |     4 +-
2717  arch/x86/realmode/rm/reboot.S                      |     4 +
2718  arch/x86/realmode/rm/trampoline_32.S               |    12 +-
2719  arch/x86/realmode/rm/trampoline_64.S               |     3 +-
2720  arch/x86/realmode/rm/wakeup_asm.S                  |     5 +-
2721  arch/x86/tools/Makefile                            |     2 +-
2722  arch/x86/tools/relocs.c                            |    97 +-
2723  arch/x86/um/mem_32.c                               |     2 +-
2724  arch/x86/um/tls_32.c                               |     2 +-
2725  arch/x86/xen/enlighten.c                           |    56 +-
2726  arch/x86/xen/mmu.c                                 |    31 +-
2727  arch/x86/xen/pmu.c                                 |     1 +
2728  arch/x86/xen/smp.c                                 |    16 +-
2729  arch/x86/xen/xen-asm_32.S                          |     2 +-
2730  arch/x86/xen/xen-head.S                            |    12 +
2731  arch/x86/xen/xen-ops.h                             |     2 -
2732  block/bio.c                                        |     6 +-
2733  block/blk-cgroup.c                                 |    18 +-
2734  block/blk-core.c                                   |     7 +-
2735  block/blk-map.c                                    |     2 +-
2736  block/blk-softirq.c                                |     2 +-
2737  block/cfq-iosched.c                                |     4 +-
2738  block/compat_ioctl.c                               |     4 +-
2739  block/genhd.c                                      |     9 +-
2740  block/partitions/efi.c                             |     8 +-
2741  block/scsi_ioctl.c                                 |     2 +-
2742  crypto/cast6_generic.c                             |     6 +-
2743  crypto/cryptd.c                                    |     4 +-
2744  crypto/crypto_user.c                               |     2 +-
2745  crypto/pcrypt.c                                    |     2 +-
2746  crypto/salsa20_generic.c                           |    16 +-
2747  crypto/serpent_generic.c                           |     6 +-
2748  drivers/acpi/ac.c                                  |     2 +-
2749  drivers/acpi/acpi_video.c                          |     2 +-
2750  drivers/acpi/acpica/acutils.h                      |     2 +-
2751  drivers/acpi/acpica/dbhistry.c                     |     2 +-
2752  drivers/acpi/acpica/dbinput.c                      |    10 +-
2753  drivers/acpi/acpica/dbstats.c                      |    88 +-
2754  drivers/acpi/acpica/utdebug.c                      |     2 +-
2755  drivers/acpi/apei/apei-internal.h                  |     2 +-
2756  drivers/acpi/apei/ghes.c                           |    10 +-
2757  drivers/acpi/battery.c                             |     2 +-
2758  drivers/acpi/bgrt.c                                |    36 +-
2759  drivers/acpi/blacklist.c                           |     6 +-
2760  drivers/acpi/bus.c                                 |     4 +-
2761  drivers/acpi/button.c                              |     4 +-
2762  drivers/acpi/device_pm.c                           |     4 +-
2763  drivers/acpi/ec.c                                  |     6 +-
2764  drivers/acpi/osi.c                                 |     2 +-
2765  drivers/acpi/pci_slot.c                            |     2 +-
2766  drivers/acpi/processor_idle.c                      |     4 +-
2767  drivers/acpi/processor_pdc.c                       |     2 +-
2768  drivers/acpi/sleep.c                               |     2 +-
2769  drivers/acpi/sysfs.c                               |    14 +-
2770  drivers/acpi/thermal.c                             |     2 +-
2771  drivers/acpi/video_detect.c                        |     7 +-
2772  drivers/android/binder.c                           |     2 +-
2773  drivers/ata/libata-core.c                          |    12 +-
2774  drivers/ata/libata-scsi.c                          |     2 +-
2775  drivers/ata/libata.h                               |     2 +-
2776  drivers/ata/pata_arasan_cf.c                       |     4 +-
2777  drivers/atm/adummy.c                               |     2 +-
2778  drivers/atm/ambassador.c                           |     8 +-
2779  drivers/atm/atmtcp.c                               |    14 +-
2780  drivers/atm/eni.c                                  |    10 +-
2781  drivers/atm/firestream.c                           |     8 +-
2782  drivers/atm/fore200e.c                             |    14 +-
2783  drivers/atm/he.c                                   |    18 +-
2784  drivers/atm/horizon.c                              |     4 +-
2785  drivers/atm/idt77252.c                             |    36 +-
2786  drivers/atm/iphase.c                               |    34 +-
2787  drivers/atm/lanai.c                                |    12 +-
2788  drivers/atm/nicstar.c                              |    46 +-
2789  drivers/atm/solos-pci.c                            |     4 +-
2790  drivers/atm/suni.c                                 |     4 +-
2791  drivers/atm/uPD98402.c                             |    16 +-
2792  drivers/atm/zatm.c                                 |     6 +-
2793  drivers/base/bus.c                                 |     4 +-
2794  drivers/base/devres.c                              |     4 +-
2795  drivers/base/devtmpfs.c                            |     8 +-
2796  drivers/base/node.c                                |     2 +-
2797  drivers/base/platform-msi.c                        |    20 +-
2798  drivers/base/power/domain.c                        |     6 +-
2799  drivers/base/power/runtime.c                       |    61 +-
2800  drivers/base/power/sysfs.c                         |     2 +-
2801  drivers/base/power/wakeup.c                        |     8 +-
2802  drivers/base/regmap/regmap-debugfs.c               |     2 +-
2803  drivers/base/regmap/regmap.c                       |     4 +-
2804  drivers/base/syscore.c                             |     4 +-
2805  drivers/block/cciss.c                              |    28 +-
2806  drivers/block/cciss.h                              |     2 +-
2807  drivers/block/drbd/drbd_bitmap.c                   |     2 +-
2808  drivers/block/drbd/drbd_int.h                      |    12 +-
2809  drivers/block/drbd/drbd_main.c                     |    12 +-
2810  drivers/block/drbd/drbd_nl.c                       |    16 +-
2811  drivers/block/drbd/drbd_receiver.c                 |    42 +-
2812  drivers/block/drbd/drbd_state.c                    |    12 +-
2813  drivers/block/drbd/drbd_state.h                    |     2 +-
2814  drivers/block/drbd/drbd_state_change.h             |     8 +-
2815  drivers/block/drbd/drbd_worker.c                   |    14 +-
2816  drivers/block/floppy.c                             |     8 +-
2817  drivers/block/pktcdvd.c                            |     4 +-
2818  drivers/block/rbd.c                                |     2 +-
2819  drivers/bluetooth/btwilink.c                       |     2 +-
2820  drivers/bus/arm-cci.c                              |     6 +-
2821  drivers/cdrom/cdrom.c                              |    13 +-
2822  drivers/cdrom/gdrom.c                              |     1 -
2823  drivers/char/agp/compat_ioctl.c                    |     2 +-
2824  drivers/char/agp/frontend.c                        |     4 +-
2825  drivers/char/agp/intel-gtt.c                       |     4 +-
2826  drivers/char/hpet.c                                |     2 +-
2827  drivers/char/ipmi/ipmi_msghandler.c                |     8 +-
2828  drivers/char/ipmi/ipmi_poweroff.c                  |     2 +-
2829  drivers/char/ipmi/ipmi_si_intf.c                   |    12 +-
2830  drivers/char/ipmi/ipmi_ssif.c                      |    12 +-
2831  drivers/char/mem.c                                 |    36 +-
2832  drivers/char/nvram.c                               |     2 +-
2833  drivers/char/pcmcia/synclink_cs.c                  |    16 +-
2834  drivers/char/random.c                              |    12 +-
2835  drivers/char/sonypi.c                              |    11 +-
2836  drivers/char/tpm/tpm-chip.c                        |     9 +-
2837  drivers/char/tpm/tpm_acpi.c                        |     3 +-
2838  drivers/char/tpm/tpm_eventlog.c                    |     5 +-
2839  drivers/char/virtio_console.c                      |     6 +-
2840  drivers/clk/bcm/clk-bcm2835.c                      |    16 +-
2841  drivers/clk/clk-composite.c                        |     2 +-
2842  drivers/clk/socfpga/clk-gate-a10.c                 |     9 +-
2843  drivers/clk/socfpga/clk-gate.c                     |     9 +-
2844  drivers/clk/socfpga/clk-pll-a10.c                  |     9 +-
2845  drivers/clk/socfpga/clk-pll.c                      |     9 +-
2846  drivers/clk/ti/adpll.c                             |     2 +-
2847  drivers/clk/ti/clk.c                               |     8 +-
2848  drivers/cpufreq/acpi-cpufreq.c                     |    17 +-
2849  drivers/cpufreq/cpufreq-dt.c                       |     4 +-
2850  drivers/cpufreq/cpufreq.c                          |    27 +-
2851  drivers/cpufreq/cpufreq_governor.h                 |     2 +-
2852  drivers/cpufreq/cpufreq_ondemand.c                 |    10 +-
2853  drivers/cpufreq/intel_pstate.c                     |    56 +-
2854  drivers/cpufreq/p4-clockmod.c                      |    12 +-
2855  drivers/cpufreq/sparc-us3-cpufreq.c                |    67 +-
2856  drivers/cpufreq/speedstep-centrino.c               |     7 +-
2857  drivers/cpuidle/driver.c                           |     2 +-
2858  drivers/cpuidle/dt_idle_states.c                   |     2 +-
2859  drivers/cpuidle/governor.c                         |     2 +-
2860  drivers/cpuidle/governors/ladder.c                 |    13 +-