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