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