]> git.ipfire.org Git - thirdparty/grsecurity-scrape.git/blame - test/changelog-test.txt
Auto commit, 1 new patch{es}.
[thirdparty/grsecurity-scrape.git] / test / changelog-test.txt
CommitLineData
6b3aba1f
PK
1commit 5316471ff29eab2296624f7d1dd8fe9ee185ee4b
2Author: Masahiro Yamada <yamada.masahiro@socionext.com>
3Date: Mon Aug 17 04:03:33 2015 +0100
4
5 ARM: 8418/1: add boot image dependencies to not generate invalid images
6
7 U-Boot is often used to boot the kernel on ARM boards, but uImage
8 is not built by "make all", so we are often inclined to do
9 "make all uImage" to generate DTBs, modules and uImage in a single
10 command, but we should notice a pitfall behind it. In fact,
11 "make all uImage" could generate an invalid uImage if it is run with
12 the parallel option (-j).
13
14 You can reproduce this problem with the following procedure:
15
16 [1] First, build "all" and "uImage" separately.
17 You will get a valid uImage
18
19 $ git clean -f -x -d
20 $ export CROSS_COMPILE=<your-tools-prefix>
21 $ make -s -j8 ARCH=arm multi_v7_defconfig
22 $ make -s -j8 ARCH=arm all
23 $ make -j8 ARCH=arm UIMAGE_LOADADDR=0x80208000 uImage
24 CHK include/config/kernel.release
25 CHK include/generated/uapi/linux/version.h
26 CHK include/generated/utsrelease.h
27 make[1]: `include/generated/mach-types.h' is up to date.
28 CHK include/generated/timeconst.h
29 CHK include/generated/bounds.h
30 CHK include/generated/asm-offsets.h
31 CALL scripts/checksyscalls.sh
32 CHK include/generated/compile.h
33 Kernel: arch/arm/boot/Image is ready
34 Kernel: arch/arm/boot/zImage is ready
35 UIMAGE arch/arm/boot/uImage
36 Image Name: Linux-4.2.0-rc5-00156-gdd2384a-d
37 Created: Sat Aug 8 23:21:35 2015
38 Image Type: ARM Linux Kernel Image (uncompressed)
39 Data Size: 6138648 Bytes = 5994.77 kB = 5.85 MB
40 Load Address: 80208000
41 Entry Point: 80208000
42 Image arch/arm/boot/uImage is ready
43 $ ls -l arch/arm/boot/*Image
44 -rwxrwxr-x 1 masahiro masahiro 13766656 Aug 8 23:20 arch/arm/boot/Image
45 -rw-rw-r-- 1 masahiro masahiro 6138712 Aug 8 23:21 arch/arm/boot/uImage
46 -rwxrwxr-x 1 masahiro masahiro 6138648 Aug 8 23:20 arch/arm/boot/zImage
47
48 [2] Update some source file(s)
49
50 $ touch init/main.c
51
52 [3] Then, re-build "all" and "uImage" simultaneously.
53 You will get an invalid uImage at random.
54
55 $ make -j8 ARCH=arm UIMAGE_LOADADDR=0x80208000 all uImage
56 CHK include/config/kernel.release
57 CHK include/generated/uapi/linux/version.h
58 CHK include/generated/utsrelease.h
59 make[1]: `include/generated/mach-types.h' is up to date.
60 CHK include/generated/timeconst.h
61 CHK include/generated/bounds.h
62 CHK include/generated/asm-offsets.h
63 CALL scripts/checksyscalls.sh
64 CC init/main.o
65 CHK include/generated/compile.h
66 LD init/built-in.o
67 LINK vmlinux
68 LD vmlinux.o
69 MODPOST vmlinux.o
70 GEN .version
71 CHK include/generated/compile.h
72 UPD include/generated/compile.h
73 CC init/version.o
74 LD init/built-in.o
75 KSYM .tmp_kallsyms1.o
76 KSYM .tmp_kallsyms2.o
77 LD vmlinux
78 SORTEX vmlinux
79 SYSMAP System.map
80 OBJCOPY arch/arm/boot/Image
81 Building modules, stage 2.
82 Kernel: arch/arm/boot/Image is ready
83 GZIP arch/arm/boot/compressed/piggy.gzip
84 AS arch/arm/boot/compressed/piggy.gzip.o
85 Kernel: arch/arm/boot/Image is ready
86 LD arch/arm/boot/compressed/vmlinux
87 GZIP arch/arm/boot/compressed/piggy.gzip
88 OBJCOPY arch/arm/boot/zImage
89 Kernel: arch/arm/boot/zImage is ready
90 UIMAGE arch/arm/boot/uImage
91 Image Name: Linux-4.2.0-rc5-00156-gdd2384a-d
92 Created: Sat Aug 8 23:23:14 2015
93 Image Type: ARM Linux Kernel Image (uncompressed)
94 Data Size: 26472 Bytes = 25.85 kB = 0.03 MB
95 Load Address: 80208000
96 Entry Point: 80208000
97 Image arch/arm/boot/uImage is ready
98 MODPOST 192 modules
99 AS arch/arm/boot/compressed/piggy.gzip.o
100 LD arch/arm/boot/compressed/vmlinux
101 OBJCOPY arch/arm/boot/zImage
102 Kernel: arch/arm/boot/zImage is ready
103 $ ls -l arch/arm/boot/*Image
104 -rwxrwxr-x 1 masahiro masahiro 13766656 Aug 8 23:23 arch/arm/boot/Image
105 -rw-rw-r-- 1 masahiro masahiro 26536 Aug 8 23:23 arch/arm/boot/uImage
106 -rwxrwxr-x 1 masahiro masahiro 6138648 Aug 8 23:23 arch/arm/boot/zImage
107
108 Please notice the uImage is extremely small when this issue is
109 encountered. Besides, "Kernel: arch/arm/boot/zImage is ready" is
110 displayed twice, before and after the uImage log.
111
112 The root cause of this is the race condition between zImage and
113 uImage. Actually, uImage depends on zImage, but the dependency
114 between the two is only described in arch/arm/boot/Makefile.
115 Because arch/arm/boot/Makefile is not included from the top-level
116 Makefile, it cannot know the dependency between zImage and uImage.
117
118 Consequently, when we run make with the parallel option, Kbuild
119 updates vmlinux first, and then two different threads descends into
120 the arch/arm/boot/Makefile almost at the same time, one for updating
121 zImage and the other for uImage. While one thread is re-generating
122 zImage, the other also tries to update zImage before creating uImage
123 on top of that. zImage is overwritten by the slower thread and then
124 uImage is created based on the half-written zImage.
125
126 This is the reason why "Kernel: arch/arm/boot/zImage is ready" is
127 displayed twice, and a broken uImage is created.
128
129 The same problem could happen on bootpImage.
130
131 This commit adds dependencies among Image, zImage, uImage, and
132 bootpImage to arch/arm/Makefile, which is included from the
133 top-level Makefile.
134
135 Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
136 Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
137
138 arch/arm/Makefile | 3 +++
139 1 files changed, 3 insertions(+), 0 deletions(-)
140
141commit f42eedeab0696d55347452d2b77911e06ed90a14
142Author: Vincent Bernat <vincent@bernat.im>
143Date: Sat Aug 15 15:49:13 2015 +0200
144
145 9p: ensure err is initialized to 0 in p9_client_read/write
146
147 Some use of those functions were providing unitialized values to those
148 functions. Notably, when reading 0 bytes from an empty file on a 9P
149 filesystem, the return code of read() was not 0.
150
151 Tested with this simple program:
152
153 #include <assert.h>
154 #include <sys/types.h>
155 #include <sys/stat.h>
156 #include <fcntl.h>
157 #include <unistd.h>
158
159 int main(int argc, const char **argv)
160 {
161 assert(argc == 2);
162 char buffer[256];
163 int fd = open(argv[1], O_RDONLY|O_NOCTTY);
164 assert(fd >= 0);
165 assert(read(fd, buffer, 0) == 0);
166 return 0;
167 }
168
169 Cc: stable@vger.kernel.org # v4.1
170 Signed-off-by: Vincent Bernat <vincent@bernat.im>
171 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
172
173 net/9p/client.c | 2 ++
174 1 files changed, 2 insertions(+), 0 deletions(-)
175
176commit 77e41c5af13df22d45eae269a4241ad9ec56d73c
177Author: Michal Hocko <mhocko@suse.com>
178Date: Fri Aug 21 14:11:51 2015 -0700
179
180 mm: make page pfmemalloc check more robust
181
182 Commit c48a11c7ad26 ("netvm: propagate page->pfmemalloc to skb") added
183 checks for page->pfmemalloc to __skb_fill_page_desc():
184
185 if (page->pfmemalloc && !page->mapping)
186 skb->pfmemalloc = true;
187
188 It assumes page->mapping == NULL implies that page->pfmemalloc can be
189 trusted. However, __delete_from_page_cache() can set set page->mapping
190 to NULL and leave page->index value alone. Due to being in union, a
191 non-zero page->index will be interpreted as true page->pfmemalloc.
192
193 So the assumption is invalid if the networking code can see such a page.
194 And it seems it can. We have encountered this with a NFS over loopback
195 setup when such a page is attached to a new skbuf. There is no copying
196 going on in this case so the page confuses __skb_fill_page_desc which
197 interprets the index as pfmemalloc flag and the network stack drops
198 packets that have been allocated using the reserves unless they are to
199 be queued on sockets handling the swapping which is the case here and
200 that leads to hangs when the nfs client waits for a response from the
201 server which has been dropped and thus never arrive.
202
203 The struct page is already heavily packed so rather than finding another
204 hole to put it in, let's do a trick instead. We can reuse the index
205 again but define it to an impossible value (-1UL). This is the page
206 index so it should never see the value that large. Replace all direct
207 users of page->pfmemalloc by page_is_pfmemalloc which will hide this
208 nastiness from unspoiled eyes.
209
210 The information will get lost if somebody wants to use page->index
211 obviously but that was the case before and the original code expected
212 that the information should be persisted somewhere else if that is
213 really needed (e.g. what SLAB and SLUB do).
214
215 [akpm@linux-foundation.org: fix blooper in slub]
216 Fixes: c48a11c7ad26 ("netvm: propagate page->pfmemalloc to skb")
217 Signed-off-by: Michal Hocko <mhocko@suse.com>
218 Debugged-by: Vlastimil Babka <vbabka@suse.com>
219 Debugged-by: Jiri Bohac <jbohac@suse.com>
220 Cc: Eric Dumazet <eric.dumazet@gmail.com>
221 Cc: David Miller <davem@davemloft.net>
222 Acked-by: Mel Gorman <mgorman@suse.de>
223 Cc: <stable@vger.kernel.org> [3.6+]
224 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
225
226 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
227
228 Conflicts:
229
230 mm/page_alloc.c
231
232 drivers/net/ethernet/intel/fm10k/fm10k_main.c | 2 +-
233 drivers/net/ethernet/intel/igb/igb_main.c | 2 +-
234 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 2 +-
235 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 2 +-
236 include/linux/mm.h | 28 +++++++++++++++++++++
237 include/linux/mm_types.h | 9 ------
238 include/linux/skbuff.h | 14 +++------
239 mm/page_alloc.c | 7 +++-
240 mm/slab.c | 4 +-
241 mm/slub.c | 2 +-
242 net/core/skbuff.c | 2 +-
243 11 files changed, 46 insertions(+), 28 deletions(-)
244
245commit 9f031f8887e8fad0cc93f07b346021630f1697e3
246Author: Andy Lutomirski <luto@kernel.org>
247Date: Mon Aug 17 12:22:50 2015 -0700
248
249 Revert "sched/x86_64: Don't save flags on context switch"
250
251 This reverts commit:
252
253 2c7577a75837 ("sched/x86_64: Don't save flags on context switch")
254
255 It was a nice speedup. It's also not quite correct: SYSENTER
256 enables interrupts too early.
257
258 We can re-add this optimization once the SYSENTER code is beaten
259 into shape, which should happen in 4.3 or 4.4.
260
261 Signed-off-by: Andy Lutomirski <luto@kernel.org>
262 Cc: Linus Torvalds <torvalds@linux-foundation.org>
263 Cc: Peter Zijlstra <peterz@infradead.org>
264 Cc: Thomas Gleixner <tglx@linutronix.de>
265 Cc: stable@vger.kernel.org # v3.19
266 Link: http://lkml.kernel.org/r/85f56651f59f76624e80785a8fd3bdfdd089a818.1439838962.git.luto@kernel.org
267 Signed-off-by: Ingo Molnar <mingo@kernel.org>
268
269 arch/x86/include/asm/switch_to.h | 12 ++++--------
270 1 files changed, 4 insertions(+), 8 deletions(-)
271
db1e636c
PK
272commit cee8eacb4ed0695ad72fc8a4bb515bf4aaadf1d7
273Merge: 1a0a86b 6de0e2c
274Author: Brad Spengler <spender@grsecurity.net>
275Date: Tue Aug 18 19:50:26 2015 -0400
276
277 Merge branch 'pax-test' into grsec-test
278
279commit 6de0e2c52cdd79828f8f31298d67ec6020c51ff7
280Author: Brad Spengler <spender@grsecurity.net>
281Date: Tue Aug 18 19:50:00 2015 -0400
282
283 Update to pax-linux-4.1.6-test14.patch:
284 - fixed early memory reservation problem under KERNEXEC/i386, reported by spender
285
286 arch/x86/kernel/setup.c | 9 ++-------
287 1 files changed, 2 insertions(+), 7 deletions(-)
288
289commit 1a0a86be4eb920418dd8c87e32742291a8a1c9a5
290Merge: 417d7cf 81cf0c8
291Author: Brad Spengler <spender@grsecurity.net>
292Date: Tue Aug 18 18:17:05 2015 -0400
293
294 Merge branch 'pax-test' into grsec-test
295
296 Conflicts:
297 arch/x86/include/asm/tlbflush.h
298
299commit 81cf0c88c9a2338e2d6687eb5efe72797a4cef5a
300Merge: 0007a85 4ff62ca
301Author: Brad Spengler <spender@grsecurity.net>
302Date: Tue Aug 18 18:16:20 2015 -0400
303
304 Update to pax-linux-4.1.6-test13.patch:
305 - fixed some more integer handling issues in sr_done, reported by Christian Apeltauer and nickrobbins@yahoo.com (https://bugs.gentoo.org/show_bug.cgi?id=555860)
306 - fixed KERNEXEC/i386 and alternatives patching some more, reported by ubug (https://forums.grsecurity.net/viewtopic.php?f=3&t=4252)
307 - cleaned up __native_flush_tlb after the recent split of PCID/UDEREF support
308 - made some preparatory changes to support the upcoming size overflow feature that tracks data flow across structure fields as well
309
310 Merge branch 'linux-4.1.y' into pax-test
311
312 Conflicts:
313 arch/x86/kernel/entry_64.S
314 arch/x86/kernel/nmi.c
315
d954fd9f
PK
316commit 417d7cf832d54e32e04357cf1060023717497049
317Author: Eric Dumazet <edumazet@google.com>
318Date: Mon Aug 10 15:07:34 2015 -0700
319
320 inet: fix possible request socket leak
321
322 In commit b357a364c57c9 ("inet: fix possible panic in
323 reqsk_queue_unlink()"), I missed fact that tcp_check_req()
324 can return the listener socket in one case, and that we must
325 release the request socket refcount or we leak it.
326
327 Tested:
328
329 Following packetdrill test template shows the issue
330
331 0 socket(..., SOCK_STREAM, IPPROTO_TCP) = 3
332 +0 setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
333 +0 bind(3, ..., ...) = 0
334 +0 listen(3, 1) = 0
335
336 +0 < S 0:0(0) win 2920 <mss 1460,sackOK,nop,nop>
337 +0 > S. 0:0(0) ack 1 <mss 1460,nop,nop,sackOK>
338 +.002 < . 1:1(0) ack 21 win 2920
339 +0 > R 21:21(0)
340
341 Fixes: b357a364c57c9 ("inet: fix possible panic in reqsk_queue_unlink()")
342 Signed-off-by: Eric Dumazet <edumazet@google.com>
343 Signed-off-by: David S. Miller <davem@davemloft.net>
344
345 net/ipv4/tcp_ipv4.c | 2 +-
346 net/ipv6/tcp_ipv6.c | 2 +-
347 2 files changed, 2 insertions(+), 2 deletions(-)
348
349commit 00d1b8e2bdbad87b713fba3a4866f10693c7c114
350Author: Manfred Spraul <manfred@colorfullife.com>
351Date: Fri Aug 14 15:35:10 2015 -0700
352
353 ipc/sem.c: update/correct memory barriers
354
355 sem_lock() did not properly pair memory barriers:
356
357 !spin_is_locked() and spin_unlock_wait() are both only control barriers.
358 The code needs an acquire barrier, otherwise the cpu might perform read
359 operations before the lock test.
360
361 As no primitive exists inside <include/spinlock.h> and since it seems
362 noone wants another primitive, the code creates a local primitive within
363 ipc/sem.c.
364
365 With regards to -stable:
366
367 The change of sem_wait_array() is a bugfix, the change to sem_lock() is a
368 nop (just a preprocessor redefinition to improve the readability). The
369 bugfix is necessary for all kernels that use sem_wait_array() (i.e.:
370 starting from 3.10).
371
372 Signed-off-by: Manfred Spraul <manfred@colorfullife.com>
373 Reported-by: Oleg Nesterov <oleg@redhat.com>
374 Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
375 Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
376 Cc: Kirill Tkhai <ktkhai@parallels.com>
377 Cc: Ingo Molnar <mingo@redhat.com>
378 Cc: Josh Poimboeuf <jpoimboe@redhat.com>
379 Cc: Davidlohr Bueso <dave@stgolabs.net>
380 Cc: <stable@vger.kernel.org> [3.10+]
381 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
382 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
383
384 ipc/sem.c | 18 ++++++++++++++----
385 1 files changed, 14 insertions(+), 4 deletions(-)
386
387commit 92e6c9f02acf1ecb2b51c7c7a46a7f82f7c16375
388Author: Andy Whitcroft <apw@canonical.com>
389Date: Thu Aug 13 20:49:01 2015 +0100
390
391 ipv4: off-by-one in continuation handling in /proc/net/route
392
393 When generating /proc/net/route we emit a header followed by a line for
394 each route. When a short read is performed we will restart this process
395 based on the open file descriptor. When calculating the start point we
396 fail to take into account that the 0th entry is the header. This leads
397 us to skip the first entry when doing a continuation read.
398
399 This can be easily seen with the comparison below:
400
401 while read l; do echo "$l"; done </proc/net/route >A
402 cat /proc/net/route >B
403 diff -bu A B | grep '^[+-]'
404
405 On my example machine I have approximatly 10KB of route output. There we
406 see the very first non-title element is lost in the while read case,
407 and an entry around the 8K mark in the cat case:
408
409 +wlan0 00000000 02021EAC 0003 0 0 400 00000000 0 0 0
410 -tun1 00C0AC0A 00000000 0001 0 0 950 00C0FFFF 0 0 0
411
412 Fix up the off-by-one when reaquiring position on continuation.
413
414 Fixes: 8be33e955cb9 ("fib_trie: Fib walk rcu should take a tnode and key instead of a trie and a leaf")
415 BugLink: http://bugs.launchpad.net/bugs/1483440
416 Acked-by: Alexander Duyck <alexander.h.duyck@redhat.com>
417 Signed-off-by: Andy Whitcroft <apw@canonical.com>
418 Signed-off-by: David S. Miller <davem@davemloft.net>
419
420 net/ipv4/fib_trie.c | 2 +-
421 1 files changed, 1 insertions(+), 1 deletions(-)
422
423commit 934dc18989ecb31873d13f1056c2782ba6c29574
424Author: Linus Torvalds <torvalds@linux-foundation.org>
425Date: Thu Aug 13 08:25:20 2015 -0700
426
427 Revert x86 sigcontext cleanups
428
429 This reverts commits 9a036b93a344 ("x86/signal/64: Remove 'fs' and 'gs'
430 from sigcontext") and c6f2062935c8 ("x86/signal/64: Fix SS handling for
431 signals delivered to 64-bit programs").
432
433 They were cleanups, but they break dosemu by changing the signal return
434 behavior (and removing 'fs' and 'gs' from the sigcontext struct - while
435 not actually changing any behavior - causes build problems).
436
437 Reported-and-tested-by: Stas Sergeev <stsp@list.ru>
438 Acked-by: Andy Lutomirski <luto@amacapital.net>
439 Cc: Ingo Molnar <mingo@kernel.org>
440 Cc: stable@vger.kernel.org
441 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
442
443 arch/x86/include/asm/sigcontext.h | 6 +++---
444 arch/x86/include/uapi/asm/sigcontext.h | 21 +++------------------
445 arch/x86/kernel/signal.c | 26 +++++++++++---------------
446 3 files changed, 17 insertions(+), 36 deletions(-)
447
448commit abd2382b82a99608d21f7c0372ba3f4fc7f1d698
449Author: Brad Spengler <spender@grsecurity.net>
450Date: Fri Aug 14 21:33:40 2015 -0400
451
452 Revert "ARM: net: handle negative offsets in BPF JIT."
453
454 This reverts commit 36523ec244eb01a4fce02a1cbc0643eb80a55324.
455
456 arch/arm/net/bpf_jit_32.c | 47 ++++++++------------------------------------
457 1 files changed, 9 insertions(+), 38 deletions(-)
458
f2f870b1
PK
459commit 1f986987319e242de1c1a09022d5d813924c6aa4
460Author: Brad Spengler <spender@grsecurity.net>
461Date: Mon Aug 10 20:34:37 2015 -0400
462
463 compile fix recent PCID change
464
465 arch/x86/include/asm/tlbflush.h | 11 +++++------
466 1 files changed, 5 insertions(+), 6 deletions(-)
467
468commit c64bb46423e12f56b43f338115cd187caeb6034b
469Author: Brad Spengler <spender@grsecurity.net>
470Date: Mon Aug 10 20:00:53 2015 -0400
471
472 Update size_overflow hash table
473
474 .../size_overflow_plugin/size_overflow_hash.data | 1 +
475 1 files changed, 1 insertions(+), 0 deletions(-)
476
477commit 9d2f46bfdb737df5bd56b4bb77e5393f84bb802a
478Author: Krzysztof Kozlowski <k.kozlowski@samsung.com>
479Date: Mon Aug 3 14:57:30 2015 +0900
480
481 HID: hid-input: Fix accessing freed memory during device disconnect
482
483 During unbinding the driver was dereferencing a pointer to memory
484 already freed by power_supply_unregister().
485
486 Driver was freeing its internal description of battery through pointers
487 stored in power_supply structure. However, because the core owns the
488 power supply instance, after calling power_supply_unregister() this
489 memory is freed and the driver cannot access these members.
490
491 Fix this by storing the pointer to internal description of battery in a
492 local variable before calling power_supply_unregister(), so the pointer
493 remains valid.
494
495 Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
496 Reported-by: H.J. Lu <hjl.tools@gmail.com>
497 Fixes: 297d716f6260 ("power_supply: Change ownership from driver to core")
498 Cc: <stable@vger.kernel.org>
499 Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
500 Signed-off-by: Jiri Kosina <jkosina@suse.com>
501
502 drivers/hid/hid-input.c | 7 +++++--
503 1 files changed, 5 insertions(+), 2 deletions(-)
504
505commit 3df182a69e38644cffc1fcde01408bfdd84dd920
506Author: Brad Spengler <spender@grsecurity.net>
507Date: Mon Aug 10 19:24:50 2015 -0400
508
509 Small optimization that avoids a find_vm_area on stack copies
510
511 mm/slab.c | 6 +++++-
512 mm/slob.c | 6 +++++-
513 mm/slub.c | 6 +++++-
514 3 files changed, 15 insertions(+), 3 deletions(-)
515
516commit 8bdd4f688a9d992ecbe58802bd0de32c42c5297f
517Author: Brad Spengler <spender@grsecurity.net>
518Date: Mon Aug 10 19:15:58 2015 -0400
519
520 Add ability to mark vmalloc maps as being involved in copies to userland.
521 This allows us to restore the new seq file buffer allocation code and maintain
522 our existing infoleak protection for seqfile buffers.
523
524 fs/seq_file.c | 11 ++++++++++-
525 include/linux/vmalloc.h | 4 ++++
526 mm/slab.c | 7 +++++++
527 mm/slob.c | 7 +++++++
528 mm/slub.c | 7 +++++++
529 mm/vmalloc.c | 8 ++++++++
530 6 files changed, 43 insertions(+), 1 deletions(-)
531
532commit a3f5cb0a1c1ed7fc67651d3a2b81ca41231ee3f3
533Author: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
534Date: Tue Aug 4 19:06:33 2015 +0200
535
536 bridge: netlink: account for the IFLA_BRPORT_PROXYARP_WIFI attribute size and policy
537
538 The attribute size wasn't accounted for in the get_slave_size() callback
539 (br_port_get_slave_size) when it was introduced, so fix it now. Also add
540 a policy entry for it in br_port_policy.
541
542 Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
543 Fixes: 842a9ae08a25 ("bridge: Extend Proxy ARP design to allow optional rules for Wi-Fi")
544 Signed-off-by: David S. Miller <davem@davemloft.net>
545
546 net/bridge/br_netlink.c | 2 ++
547 1 files changed, 2 insertions(+), 0 deletions(-)
548
549commit 5e8e9a3f0f858fbba32b5f5966d65987d009ed70
550Author: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
551Date: Tue Aug 4 19:06:32 2015 +0200
552
553 bridge: netlink: account for the IFLA_BRPORT_PROXYARP attribute size and policy
554
555 The attribute size wasn't accounted for in the get_slave_size() callback
556 (br_port_get_slave_size) when it was introduced, so fix it now. Also add
557 a policy entry for it in br_port_policy.
558
559 Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
560 Fixes: 958501163ddd ("bridge: Add support for IEEE 802.11 Proxy ARP")
561 Signed-off-by: David S. Miller <davem@davemloft.net>
562
563 net/bridge/br_netlink.c | 2 ++
564 1 files changed, 2 insertions(+), 0 deletions(-)
565
566commit a19f8506f07feb487f51c876c5d5176c899b3387
567Author: Dan Carpenter <dan.carpenter@oracle.com>
568Date: Sat Aug 1 15:33:26 2015 +0300
569
570 rds: fix an integer overflow test in rds_info_getsockopt()
571
572 "len" is a signed integer. We check that len is not negative, so it
573 goes from zero to INT_MAX. PAGE_SIZE is unsigned long so the comparison
574 is type promoted to unsigned long. ULONG_MAX - 4095 is a higher than
575 INT_MAX so the condition can never be true.
576
577 I don't know if this is harmful but it seems safe to limit "len" to
578 INT_MAX - 4095.
579
580 Fixes: a8c879a7ee98 ('RDS: Info and stats')
581 Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
582 Signed-off-by: David S. Miller <davem@davemloft.net>
583
584 net/rds/info.c | 2 +-
585 1 files changed, 1 insertions(+), 1 deletions(-)
586
587commit f22c7b1b8c91ec671dfb118ecb1dbb404c653bf8
588Author: Herbert Xu <herbert@gondor.apana.org.au>
589Date: Tue Aug 4 15:42:47 2015 +0800
590
591 net: Fix skb_set_peeked use-after-free bug
592
593 The commit 738ac1ebb96d02e0d23bc320302a6ea94c612dec ("net: Clone
594 skb before setting peeked flag") introduced a use-after-free bug
595 in skb_recv_datagram. This is because skb_set_peeked may create
596 a new skb and free the existing one. As it stands the caller will
597 continue to use the old freed skb.
598
599 This patch fixes it by making skb_set_peeked return the new skb
600 (or the old one if unchanged).
601
602 Fixes: 738ac1ebb96d ("net: Clone skb before setting peeked flag")
603 Reported-by: Brenden Blanco <bblanco@plumgrid.com>
604 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
605 Tested-by: Brenden Blanco <bblanco@plumgrid.com>
606 Reviewed-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
607 Signed-off-by: David S. Miller <davem@davemloft.net>
608
609 net/core/datagram.c | 13 +++++++------
610 1 files changed, 7 insertions(+), 6 deletions(-)
611
612commit 2d8040a96a62265ac5545261cc3485d1e465f235
613Author: David S. Miller <davem@davemloft.net>
614Date: Thu Aug 6 19:13:25 2015 -0700
615
616 sparc64: Fix userspace FPU register corruptions.
617
618 If we have a series of events from userpsace, with %fprs=FPRS_FEF,
619 like follows:
620
621 ETRAP
622 ETRAP
623 VIS_ENTRY(fprs=0x4)
624 VIS_EXIT
625 RTRAP (kernel FPU restore with fpu_saved=0x4)
626 RTRAP
627
628 We will not restore the user registers that were clobbered by the FPU
629 using kernel code in the inner-most trap.
630
631 Traps allocate FPU save slots in the thread struct, and FPU using
632 sequences save the "dirty" FPU registers only.
633
634 This works at the initial trap level because all of the registers
635 get recorded into the top-level FPU save area, and we'll return
636 to userspace with the FPU disabled so that any FPU use by the user
637 will take an FPU disabled trap wherein we'll load the registers
638 back up properly.
639
640 But this is not how trap returns from kernel to kernel operate.
641
642 The simplest fix for this bug is to always save all FPU register state
643 for anything other than the top-most FPU save area.
644
645 Getting rid of the optimized inner-slot FPU saving code ends up
646 making VISEntryHalf degenerate into plain VISEntry.
647
648 Longer term we need to do something smarter to reinstate the partial
649 save optimizations. Perhaps the fundament error is having trap entry
650 and exit allocate FPU save slots and restore register state. Instead,
651 the VISEntry et al. calls should be doing that work.
652
653 This bug is about two decades old.
654
655 Reported-by: James Y Knight <jyknight@google.com>
656 Signed-off-by: David S. Miller <davem@davemloft.net>
657
658 arch/sparc/include/asm/visasm.h | 16 +++------
659 arch/sparc/lib/NG4memcpy.S | 5 ++-
660 arch/sparc/lib/VISsave.S | 67 +-------------------------------------
661 arch/sparc/lib/ksyms.c | 4 --
662 4 files changed, 11 insertions(+), 81 deletions(-)
663
664commit 5f11caef496debbc32465910acf360bed4a7953e
665Author: Al Viro <viro@zeniv.linux.org.uk>
666Date: Tue Aug 4 23:23:50 2015 -0400
667
668 may_follow_link() should use nd->inode
669
670 Now that we can get there in RCU mode, we shouldn't play with
671 nd->path.dentry->d_inode - it's not guaranteed to be stable.
672 Use nd->inode instead.
673
674 Reported-by: Hugh Dickins <hughd@google.com>
675 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
676
677 fs/namei.c | 2 +-
678 1 files changed, 1 insertions(+), 1 deletions(-)
679
680commit 7ceeafab141e7a54050b2d392181f670b0a3aea4
681Merge: 84279d9 0007a85
682Author: Brad Spengler <spender@grsecurity.net>
683Date: Mon Aug 10 18:34:56 2015 -0400
684
685 Merge branch 'pax-test' into grsec-test
686
687commit 0007a85d08e7c1e6ab95aaeb31c142c237b543f0
688Author: Brad Spengler <spender@grsecurity.net>
689Date: Mon Aug 10 18:34:34 2015 -0400
690
691 Update to pax-linux-4.1.5-test12.patch:
692 - fixed boot warning about static_cpu_has(X86_FEATURE_PCIDUDEREF)
693
694 arch/x86/include/asm/cpufeature.h | 2 +-
695 arch/x86/kernel/head64.c | 2 --
696 2 files changed, 1 insertions(+), 3 deletions(-)
697
698commit 4f50708a26734083292c7c906dcff241ef82924c
699Merge: 640dcd8 352cb86
700Author: Brad Spengler <spender@grsecurity.net>
701Date: Mon Aug 10 18:33:43 2015 -0400
702
703 Merge branch 'linux-4.1.y' into pax-test
704
705commit 84279d97b5e4697c143a255ea1424e3c4157cceb
706Author: Brad Spengler <spender@grsecurity.net>
707Date: Mon Aug 10 02:39:35 2015 -0400
708
709 Backport virtio-net security fix by Jason Wang from:
710 http://marc.info/?l=linux-netdev&m=143868216724068&w=2
711
712 drivers/net/virtio_net.c | 4 ++--
713 1 files changed, 2 insertions(+), 2 deletions(-)
714
715commit fcf4c10e74760ab213cec1b55d63e2d2fd9da01d
716Merge: c5627f0 640dcd8
717Author: Brad Spengler <spender@grsecurity.net>
718Date: Mon Aug 10 02:29:34 2015 -0400
719
720 Merge branch 'pax-test' into grsec-test
721
722 Conflicts:
723 init/main.c
724
725commit 640dcd80f5bc1cad2e143729b8a9b422165cdc7e
726Author: Brad Spengler <spender@grsecurity.net>
727Date: Mon Aug 10 02:26:15 2015 -0400
728
729 Update to pax-linux-4.1.4-test11.patch:
730 - more fixes for pax_nouderef handling (PCID/INVPCID will still be used on the host), reported by Victor
731
732 arch/x86/include/asm/cpufeature.h | 1 +
733 arch/x86/include/asm/mmu_context.h | 10 ++--
734 arch/x86/include/asm/tlbflush.h | 26 +++++----
735 arch/x86/kernel/cpu/common.c | 80 +++++++++++++++++++++++-----
736 arch/x86/kernel/entry_64.S | 4 +-
737 drivers/gpu/drm/drm_ioc32.c | 1 -
738 init/main.c | 48 -----------------
739 mm/memory.c | 1 -
740 tools/gcc/size_overflow_plugin/.gitignore | 1 +
741 9 files changed, 90 insertions(+), 82 deletions(-)
742
ea554cf0
PK
743commit c5627f0435c7ec05a07670d053ff24876106e7d2
744Author: Brad Spengler <spender@grsecurity.net>
745Date: Mon Aug 3 22:36:31 2015 -0400
746
747 Update size_overflow hash table
748
749 .../size_overflow_plugin/size_overflow_hash.data | 2 ++
750 1 files changed, 2 insertions(+), 0 deletions(-)
751
752commit cd384c2ee9ff24d7c8e83685bc2793a9ddb80328
753Author: Brad Spengler <spender@grsecurity.net>
754Date: Mon Aug 3 22:12:02 2015 -0400
755
756 Update size_overflow hash table
757
758 .../size_overflow_plugin/size_overflow_hash.data | 3 ++-
759 1 files changed, 2 insertions(+), 1 deletions(-)
760
761commit d877f072db628ea9265aa7f651384d7e0ec6865a
762Author: Brad Spengler <spender@grsecurity.net>
763Date: Mon Aug 3 21:46:08 2015 -0400
764
765 Update size_overflow hash table
766
767 .../size_overflow_plugin/size_overflow_hash.data | 4 +++-
768 1 files changed, 3 insertions(+), 1 deletions(-)
769
770commit 9c510798245942db9e1df1945f7a240f3d51ad80
771Merge: 5cbedec a10d38f
772Author: Brad Spengler <spender@grsecurity.net>
773Date: Mon Aug 3 21:16:26 2015 -0400
774
775 Merge branch 'pax-test' into grsec-test
776
777 Conflicts:
778 security/selinux/hooks.c
779
780commit a10d38f1c800bd587a5feeed9d8cea68dba1aec5
781Merge: d0fff4d 89e4199
782Author: Brad Spengler <spender@grsecurity.net>
783Date: Mon Aug 3 21:15:54 2015 -0400
784
785 Merge branch 'linux-4.1.y' into pax-test
786
787 Conflicts:
788 drivers/gpu/drm/drm_ioc32.c
789 lib/bitmap.c
790 mm/memory.c
791
4b5ba0cf
PK
792commit 5cbedec9d29ae9835ac38560f82cb98acc993647
793Author: Benjamin Randazzo <benjamin@randazzo.fr>
794Date: Sat Jul 25 16:36:50 2015 +0200
795
796 md: use kzalloc() when bitmap is disabled
797
798 In drivers/md/md.c get_bitmap_file() uses kmalloc() for creating a
799 mdu_bitmap_file_t called "file".
800
801 5769 file = kmalloc(sizeof(*file), GFP_NOIO);
802 5770 if (!file)
803 5771 return -ENOMEM;
804
805 This structure is copied to user space at the end of the function.
806
807 5786 if (err == 0 &&
808 5787 copy_to_user(arg, file, sizeof(*file)))
809 5788 err = -EFAULT
810
811 But if bitmap is disabled only the first byte of "file" is initialized
812 with zero, so it's possible to read some bytes (up to 4095) of kernel
813 space memory from user space. This is an information leak.
814
815 5775 /* bitmap disabled, zero the first byte and copy out */
816 5776 if (!mddev->bitmap_info.file)
817 5777 file->pathname[0] = '\0';
818
819 Signed-off-by: Benjamin Randazzo <benjamin@randazzo.fr>
820 Signed-off-by: NeilBrown <neilb@suse.com>
821
822 Conflicts:
823
824 drivers/md/md.c
825
826 drivers/md/md.c | 22 +++++++++++-----------
827 1 files changed, 11 insertions(+), 11 deletions(-)
828
829commit ef22ba5ed995e594e32b3c6c80246b0037c98e7e
830Author: Kinglong Mee <kinglongmee@gmail.com>
831Date: Mon Jul 27 15:31:38 2015 +0800
832
833 nfs: Fix an oops caused by using other thread's stack space in ASYNC mode
834
835 An oops caused by using other thread's stack space in sunrpc ASYNC sending thread.
836
837 [ 9839.007187] ------------[ cut here ]------------
838 [ 9839.007923] kernel BUG at fs/nfs/nfs4xdr.c:910!
839 [ 9839.008069] invalid opcode: 0000 [#1] SMP
840 [ 9839.008069] Modules linked in: blocklayoutdriver rpcsec_gss_krb5 nfsv4 dns_resolver nfs fscache snd_hda_codec_generic snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm joydev iosf_mbi crct10dif_pclmul snd_timer crc32_pclmul crc32c_intel ghash_clmulni_intel snd soundcore ppdev pvpanic parport_pc i2c_piix4 serio_raw virtio_balloon parport acpi_cpufreq nfsd nfs_acl lockd grace auth_rpcgss sunrpc qxl drm_kms_helper virtio_net virtio_console virtio_blk ttm drm virtio_pci virtio_ring virtio ata_generic pata_acpi
841 [ 9839.008069] CPU: 0 PID: 308 Comm: kworker/0:1H Not tainted 4.0.0-0.rc4.git1.3.fc23.x86_64 #1
842 [ 9839.008069] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
843 [ 9839.008069] Workqueue: rpciod rpc_async_schedule [sunrpc]
844 [ 9839.008069] task: ffff8800d8b4d8e0 ti: ffff880036678000 task.ti: ffff880036678000
845 [ 9839.008069] RIP: 0010:[<ffffffffa0339cc9>] [<ffffffffa0339cc9>] reserve_space.part.73+0x9/0x10 [nfsv4]
846 [ 9839.008069] RSP: 0018:ffff88003667ba58 EFLAGS: 00010246
847 [ 9839.008069] RAX: 0000000000000000 RBX: 000000001fc15e18 RCX: ffff8800c0193800
848 [ 9839.008069] RDX: ffff8800e4ae3f24 RSI: 000000001fc15e2c RDI: ffff88003667bcd0
849 [ 9839.008069] RBP: ffff88003667ba58 R08: ffff8800d9173008 R09: 0000000000000003
850 [ 9839.008069] R10: ffff88003667bcd0 R11: 000000000000000c R12: 0000000000010000
851 [ 9839.008069] R13: ffff8800d9173350 R14: 0000000000000000 R15: ffff8800c0067b98
852 [ 9839.008069] FS: 0000000000000000(0000) GS:ffff88011fc00000(0000) knlGS:0000000000000000
853 [ 9839.008069] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
854 [ 9839.008069] CR2: 00007f988c9c8bb0 CR3: 00000000d99b6000 CR4: 00000000000407f0
855 [ 9839.008069] Stack:
856 [ 9839.008069] ffff88003667bbc8 ffffffffa03412c5 00000000c6c55680 ffff880000000003
857 [ 9839.008069] 0000000000000088 00000010c6c55680 0001000000000002 ffffffff816e87e9
858 [ 9839.008069] 0000000000000000 00000000477290e2 ffff88003667bab8 ffffffff81327ba3
859 [ 9839.008069] Call Trace:
860 [ 9839.008069] [<ffffffffa03412c5>] encode_attrs+0x435/0x530 [nfsv4]
861 [ 9839.008069] [<ffffffff816e87e9>] ? inet_sendmsg+0x69/0xb0
862 [ 9839.008069] [<ffffffff81327ba3>] ? selinux_socket_sendmsg+0x23/0x30
863 [ 9839.008069] [<ffffffff8164c1df>] ? do_sock_sendmsg+0x9f/0xc0
864 [ 9839.008069] [<ffffffff8164c278>] ? kernel_sendmsg+0x58/0x70
865 [ 9839.008069] [<ffffffffa011acc0>] ? xdr_reserve_space+0x20/0x170 [sunrpc]
866 [ 9839.008069] [<ffffffffa011acc0>] ? xdr_reserve_space+0x20/0x170 [sunrpc]
867 [ 9839.008069] [<ffffffffa0341b40>] ? nfs4_xdr_enc_open_noattr+0x130/0x130 [nfsv4]
868 [ 9839.008069] [<ffffffffa03419a5>] encode_open+0x2d5/0x340 [nfsv4]
869 [ 9839.008069] [<ffffffffa0341b40>] ? nfs4_xdr_enc_open_noattr+0x130/0x130 [nfsv4]
870 [ 9839.008069] [<ffffffffa011ab89>] ? xdr_encode_opaque+0x19/0x20 [sunrpc]
871 [ 9839.008069] [<ffffffffa0339cfb>] ? encode_string+0x2b/0x40 [nfsv4]
872 [ 9839.008069] [<ffffffffa0341bf3>] nfs4_xdr_enc_open+0xb3/0x140 [nfsv4]
873 [ 9839.008069] [<ffffffffa0110a4c>] rpcauth_wrap_req+0xac/0xf0 [sunrpc]
874 [ 9839.008069] [<ffffffffa01017db>] call_transmit+0x18b/0x2d0 [sunrpc]
875 [ 9839.008069] [<ffffffffa0101650>] ? call_decode+0x860/0x860 [sunrpc]
876 [ 9839.008069] [<ffffffffa0101650>] ? call_decode+0x860/0x860 [sunrpc]
877 [ 9839.008069] [<ffffffffa010caa0>] __rpc_execute+0x90/0x460 [sunrpc]
878 [ 9839.008069] [<ffffffffa010ce85>] rpc_async_schedule+0x15/0x20 [sunrpc]
879 [ 9839.008069] [<ffffffff810b452b>] process_one_work+0x1bb/0x410
880 [ 9839.008069] [<ffffffff810b47d3>] worker_thread+0x53/0x470
881 [ 9839.008069] [<ffffffff810b4780>] ? process_one_work+0x410/0x410
882 [ 9839.008069] [<ffffffff810b4780>] ? process_one_work+0x410/0x410
883 [ 9839.008069] [<ffffffff810ba7b8>] kthread+0xd8/0xf0
884 [ 9839.008069] [<ffffffff810ba6e0>] ? kthread_worker_fn+0x180/0x180
885 [ 9839.008069] [<ffffffff81786418>] ret_from_fork+0x58/0x90
886 [ 9839.008069] [<ffffffff810ba6e0>] ? kthread_worker_fn+0x180/0x180
887 [ 9839.008069] Code: 00 00 48 c7 c7 21 fa 37 a0 e8 94 1c d6 e0 c6 05 d2 17 05 00 01 8b 03 eb d7 66 0f 1f 84 00 00 00 00 00 66 66 66 66 90 55 48 89 e5 <0f> 0b 0f 1f 44 00 00 66 66 66 66 90 55 48 89 e5 41 54 53 89 f3
888 [ 9839.008069] RIP [<ffffffffa0339cc9>] reserve_space.part.73+0x9/0x10 [nfsv4]
889 [ 9839.008069] RSP <ffff88003667ba58>
890 [ 9839.071114] ---[ end trace cc14c03adb522e94 ]---
891
892 Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
893 Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
894
895 fs/nfs/internal.h | 21 +++++++++++++++++++++
896 fs/nfs/nfs4proc.c | 10 +++++++++-
897 2 files changed, 30 insertions(+), 1 deletions(-)
898
899commit 79a18310c8c3f5e66e8b0d5ec4623b04734c982e
900Author: Brad Spengler <spender@grsecurity.net>
901Date: Sat Aug 1 14:55:32 2015 -0400
902
903 From: Colin Ian King <colin.king () canonical com>
904 Subject: [PATCH] KEYS: ensure we free the assoc array edit if edit is valid
905
906 __key_link_end is not freeing the associated array edit structure
907 and this leads to a 512 byte memory leak each time an identical
908 existing key is added with add_key().
909
910 The reason the add_key() system call returns okay is that
911 key_create_or_update() calls __key_link_begin() before checking to see
912 whether it can update a key directly rather than adding/replacing - which
913 it turns out it can. Thus __key_link() is not called through
914 __key_instantiate_and_link() and __key_link_end() must cancel the edit.
915
916 CVE-2015-1333
917
918 Signed-off-by: Colin Ian King <colin.king () canonical com>
919 Signed-off-by: David Howells <dhowells () redhat com>
920
921 security/keys/keyring.c | 8 +++++---
922 1 files changed, 5 insertions(+), 3 deletions(-)
923
924commit 66b9be9914bf6c6d81a83b364cd992369ad7664e
925Author: Shahed Shaikh <shahed.shaikh@qlogic.com>
926Date: Wed Jul 29 07:55:35 2015 -0400
927
928 qlcnic: Fix corruption while copying
929
930 Use proper typecasting while performing byte-by-byte copy
931
932 Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
933 Signed-off-by: David S. Miller <davem@davemloft.net>
934
935 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 2 +-
936 1 files changed, 1 insertions(+), 1 deletions(-)
937
938commit 6663f1a1d2bafc21dcb990066413f1580bd17a9a
939Author: Eric Dumazet <edumazet@google.com>
940Date: Wed Jul 29 12:01:41 2015 +0200
941
942 ipv6: flush nd cache on IFF_NOARP change
943
944 This patch is the IPv6 equivalent of commit
945 6c8b4e3ff81b ("arp: flush arp cache on IFF_NOARP change")
946
947 Without it, we keep buggy neighbours in the cache, with destination
948 MAC address equal to our own MAC address.
949
950 Tested:
951 tcpdump -i eth0 -s 0 ip6 -n -e &
952 ip link set dev eth0 arp off
953 ping6 remote // sends buggy frames
954 ip link set dev eth0 arp on
955 ping6 remote // should work once kernel is patched
956
957 Signed-off-by: Eric Dumazet <edumazet@google.com>
958 Reported-by: Mario Fanelli <mariofanelli@google.com>
959 Signed-off-by: David S. Miller <davem@davemloft.net>
960
961 net/ipv6/ndisc.c | 6 ++++++
962 1 files changed, 6 insertions(+), 0 deletions(-)
963
964commit 5b6b6bc934c671c3583072b045fd44261f962243
965Author: Guenter Roeck <linux@roeck-us.net>
966Date: Sat Jul 4 13:23:42 2015 -0700
967
968 hwmon: (nct7802) Fix integer overflow seen when writing voltage limits
969
970 Writing a large value into a voltage limit attribute can result
971 in an overflow due to an auto-conversion from unsigned long to
972 unsigned int.
973
974 Cc: Constantine Shulyupin <const@MakeLinux.com>
975 Reviewed-by: Jean Delvare <jdelvare@suse.de>
976 Cc: stable@vger.kernel.org # v4.1+
977 Signed-off-by: Guenter Roeck <linux@roeck-us.net>
978
979 drivers/hwmon/nct7802.c | 2 +-
980 1 files changed, 1 insertions(+), 1 deletions(-)
981
982commit 24494632f692af77e1bc1a85959cf661405f4dec
983Author: Dmitry Skorodumov <sdmitry@parallels.com>
984Date: Tue Jul 28 18:38:32 2015 +0400
985
986 x86/efi: Use all 64 bit of efi_memmap in setup_e820()
987
988 The efi_info structure stores low 32 bits of memory map
989 in efi_memmap and high 32 bits in efi_memmap_hi.
990
991 While constructing pointer in the setup_e820(), need
992 to take into account all 64 bit of the pointer.
993
994 It is because on 64bit machine the function
995 efi_get_memory_map() may return full 64bit pointer and before
996 the patch that pointer was truncated.
997
998 The issue is triggered on Parallles virtual machine and
999 fixed with this patch.
1000
1001 Signed-off-by: Dmitry Skorodumov <sdmitry@parallels.com>
1002 Cc: Denis V. Lunev <den@openvz.org>
1003 Cc: <stable@vger.kernel.org>
1004 Signed-off-by: Matt Fleming <matt.fleming@intel.com>
1005
1006 arch/x86/boot/compressed/eboot.c | 4 ++++
1007 1 files changed, 4 insertions(+), 0 deletions(-)
1008
1009commit e559670082dc866b8d7460f965f715fdd577d961
1010Author: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
1011Date: Wed Jul 15 19:36:03 2015 -0700
1012
1013 efi: Check for NULL efi kernel parameters
1014
1015 Even though it is documented how to specifiy efi parameters, it is
1016 possible to cause a kernel panic due to a dereference of a NULL pointer when
1017 parsing such parameters if "efi" alone is given:
1018
1019 PANIC: early exception 0e rip 10:ffffffff812fb361 error 0 cr2 0
1020 [ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.2.0-rc1+ #450
1021 [ 0.000000] ffffffff81fe20a9 ffffffff81e03d50 ffffffff8184bb0f 00000000000003f8
1022 [ 0.000000] 0000000000000000 ffffffff81e03e08 ffffffff81f371a1 64656c62616e6520
1023 [ 0.000000] 0000000000000069 000000000000005f 0000000000000000 0000000000000000
1024 [ 0.000000] Call Trace:
1025 [ 0.000000] [<ffffffff8184bb0f>] dump_stack+0x45/0x57
1026 [ 0.000000] [<ffffffff81f371a1>] early_idt_handler_common+0x81/0xae
1027 [ 0.000000] [<ffffffff812fb361>] ? parse_option_str+0x11/0x90
1028 [ 0.000000] [<ffffffff81f4dd69>] arch_parse_efi_cmdline+0x15/0x42
1029 [ 0.000000] [<ffffffff81f376e1>] do_early_param+0x50/0x8a
1030 [ 0.000000] [<ffffffff8106b1b3>] parse_args+0x1e3/0x400
1031 [ 0.000000] [<ffffffff81f37a43>] parse_early_options+0x24/0x28
1032 [ 0.000000] [<ffffffff81f37691>] ? loglevel+0x31/0x31
1033 [ 0.000000] [<ffffffff81f37a78>] parse_early_param+0x31/0x3d
1034 [ 0.000000] [<ffffffff81f3ae98>] setup_arch+0x2de/0xc08
1035 [ 0.000000] [<ffffffff8109629a>] ? vprintk_default+0x1a/0x20
1036 [ 0.000000] [<ffffffff81f37b20>] start_kernel+0x90/0x423
1037 [ 0.000000] [<ffffffff81f37495>] x86_64_start_reservations+0x2a/0x2c
1038 [ 0.000000] [<ffffffff81f37582>] x86_64_start_kernel+0xeb/0xef
1039 [ 0.000000] RIP 0xffffffff81ba2efc
1040
1041 This panic is not reproducible with "efi=" as this will result in a non-NULL
1042 zero-length string.
1043
1044 Thus, verify that the pointer to the parameter string is not NULL. This is
1045 consistent with other parameter-parsing functions which check for NULL pointers.
1046
1047 Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
1048 Cc: Dave Young <dyoung@redhat.com>
1049 Cc: <stable@vger.kernel.org>
1050 Signed-off-by: Matt Fleming <matt.fleming@intel.com>
1051
1052 arch/x86/platform/efi/efi.c | 5 +++++
1053 drivers/firmware/efi/efi.c | 5 +++++
1054 2 files changed, 10 insertions(+), 0 deletions(-)
1055
1056commit 5ff384683c424fd7a1aa5c60f3f74aaea195be16
1057Author: Andy Lutomirski <luto@kernel.org>
1058Date: Thu Jul 30 14:31:31 2015 -0700
1059
1060 x86/xen: Probe target addresses in set_aliased_prot() before the hypercall
1061
1062 The update_va_mapping hypercall can fail if the VA isn't present
1063 in the guest's page tables. Under certain loads, this can
1064 result in an OOPS when the target address is in unpopulated vmap
1065 space.
1066
1067 While we're at it, add comments to help explain what's going on.
1068
1069 This isn't a great long-term fix. This code should probably be
1070 changed to use something like set_memory_ro.
1071
1072 Signed-off-by: Andy Lutomirski <luto@kernel.org>
1073 Cc: Andrew Cooper <andrew.cooper3@citrix.com>
1074 Cc: Andy Lutomirski <luto@amacapital.net>
1075 Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
1076 Cc: Borislav Petkov <bp@alien8.de>
1077 Cc: Brian Gerst <brgerst@gmail.com>
1078 Cc: David Vrabel <dvrabel@cantab.net>
1079 Cc: Denys Vlasenko <dvlasenk@redhat.com>
1080 Cc: H. Peter Anvin <hpa@zytor.com>
1081 Cc: Jan Beulich <jbeulich@suse.com>
1082 Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
1083 Cc: Linus Torvalds <torvalds@linux-foundation.org>
1084 Cc: Peter Zijlstra <peterz@infradead.org>
1085 Cc: Sasha Levin <sasha.levin@oracle.com>
1086 Cc: Steven Rostedt <rostedt@goodmis.org>
1087 Cc: Thomas Gleixner <tglx@linutronix.de>
1088 Cc: security@kernel.org <security@kernel.org>
1089 Cc: <stable@vger.kernel.org>
1090 Cc: xen-devel <xen-devel@lists.xen.org>
1091 Link: http://lkml.kernel.org/r/0b0e55b995cda11e7829f140b833ef932fcabe3a.1438291540.git.luto@kernel.org
1092 Signed-off-by: Ingo Molnar <mingo@kernel.org>
1093
1094 arch/x86/xen/enlighten.c | 40 ++++++++++++++++++++++++++++++++++++++++
1095 1 files changed, 40 insertions(+), 0 deletions(-)
1096
13f4f005
PK
1097commit bdc543e6fa0c1cf74bca28aeb344a1e225d7e09b
1098Merge: 672a089 d0fff4d
1099Author: Brad Spengler <spender@grsecurity.net>
1100Date: Tue Jul 28 19:37:49 2015 -0400
1101
1102 Merge branch 'pax-test' into grsec-test
1103
1104commit d0fff4d52431b3b92fb24b3baa7f25d5b7b88439
1105Author: Brad Spengler <spender@grsecurity.net>
1106Date: Tue Jul 28 19:37:28 2015 -0400
1107
1108 Revert PCID changes
1109
1110 arch/x86/include/asm/cpufeature.h | 1 -
1111 arch/x86/include/asm/mmu_context.h | 10 +++++-----
1112 arch/x86/include/asm/tlbflush.h | 20 +++++++++-----------
1113 arch/x86/kernel/cpu/common.c | 31 ++++++++++++++-----------------
1114 init/main.c | 3 ++-
1115 5 files changed, 30 insertions(+), 35 deletions(-)
1116
1117commit 672a0895cf976099d985d2a2ef0978fa3b5b5423
1118Author: Dave Hansen <dave.hansen@linux.intel.com>
1119Date: Mon Jul 20 16:01:53 2015 -0700
1120
1121 x86/mm: Add parenthesis for TLB tracepoint size calculation
1122
1123 flush_tlb_info->flush_start/end are both normal virtual
1124 addresses. When calculating 'nr_pages' (only used for the
1125 tracepoint), I neglected to put parenthesis in.
1126
1127 Thanks to David Koufaty for pointing this out.
1128
1129 Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
1130 Cc: Andrew Morton <akpm@linux-foundation.org>
1131 Cc: Linus Torvalds <torvalds@linux-foundation.org>
1132 Cc: Peter Zijlstra <peterz@infradead.org>
1133 Cc: Thomas Gleixner <tglx@linutronix.de>
1134 Cc: dave@sr71.net
1135 Cc: <stable@vger.kernel.org>
1136 Link: http://lkml.kernel.org/r/20150720230153.9E834081@viggo.jf.intel.com
1137 Signed-off-by: Ingo Molnar <mingo@kernel.org>
1138
1139 arch/x86/mm/tlb.c | 2 +-
1140 1 files changed, 1 insertions(+), 1 deletions(-)
1141
1142commit 5f1e4f78d034c849ab516a7e5d45475b95eb9a13
1143Author: Toshi Kani <toshi.kani@hp.com>
1144Date: Thu Jul 16 17:23:15 2015 -0600
1145
1146 x86/mm: Remove region_is_ram() call from ioremap
1147
1148 __ioremap_caller() calls region_is_ram() to walk through the
1149 iomem_resource table to check if a target range is in RAM, which was
1150 added to improve the lookup performance over page_is_ram() (commit
1151 906e36c5c717 "x86: use optimized ioresource lookup in ioremap
1152 function"). page_is_ram() was no longer used when this change was
1153 added, though.
1154
1155 __ioremap_caller() then calls walk_system_ram_range(), which had
1156 replaced page_is_ram() to improve the lookup performance (commit
1157 c81c8a1eeede "x86, ioremap: Speed up check for RAM pages").
1158
1159 Since both checks walk through the same iomem_resource table for
1160 the same purpose, there is no need to call both functions.
1161
1162 Aside of that walk_system_ram_range() is the only useful check at the
1163 moment because region_is_ram() always returns -1 due to an
1164 implementation bug. That bug in region_is_ram() cannot be fixed
1165 without breaking existing ioremap callers, which rely on the subtle
1166 difference of walk_system_ram_range() versus non page aligned ranges.
1167
1168 Once these offending callers are fixed we can use region_is_ram() and
1169 remove walk_system_ram_range().
1170
1171 [ tglx: Massaged changelog ]
1172
1173 Signed-off-by: Toshi Kani <toshi.kani@hp.com>
1174 Reviewed-by: Dan Williams <dan.j.williams@intel.com>
1175 Cc: Roland Dreier <roland@purestorage.com>
1176 Cc: Mike Travis <travis@sgi.com>
1177 Cc: Luis R. Rodriguez <mcgrof@suse.com>
1178 Cc: H. Peter Anvin <hpa@zytor.com>
1179 Cc: Ingo Molnar <mingo@redhat.com>
1180 Cc: Borislav Petkov <bp@alien8.de>
1181 Cc: linux-mm@kvack.org
1182 Link: http://lkml.kernel.org/r/1437088996-28511-3-git-send-email-toshi.kani@hp.com
1183 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1184
1185 arch/x86/mm/ioremap.c | 24 ++++++------------------
1186 1 files changed, 6 insertions(+), 18 deletions(-)
1187
1188commit 4eed17a1f681e80501895c461980734de2bf0c26
1189Author: Toshi Kani <toshi.kani@hp.com>
1190Date: Thu Jul 16 17:23:14 2015 -0600
1191
1192 x86/mm: Move warning from __ioremap_check_ram() to the call site
1193
1194 __ioremap_check_ram() has a WARN_ONCE() which is emitted when the
1195 given pfn range is not RAM. The warning is bogus in two aspects:
1196
1197 - it never triggers since walk_system_ram_range() only calls
1198 __ioremap_check_ram() for RAM ranges.
1199
1200 - the warning message is wrong as it says: "ioremap on RAM' after it
1201 established that the pfn range is not RAM.
1202
1203 Move the WARN_ONCE() to __ioremap_caller(), and update the message to
1204 include the address range so we get an actual warning when something
1205 tries to ioremap system RAM.
1206
1207 [ tglx: Massaged changelog ]
1208
1209 Signed-off-by: Toshi Kani <toshi.kani@hp.com>
1210 Reviewed-by: Dan Williams <dan.j.williams@intel.com>
1211 Cc: Roland Dreier <roland@purestorage.com>
1212 Cc: Luis R. Rodriguez <mcgrof@suse.com>
1213 Cc: H. Peter Anvin <hpa@zytor.com>
1214 Cc: Ingo Molnar <mingo@redhat.com>
1215 Cc: Borislav Petkov <bp@alien8.de>
1216 Cc: linux-mm@kvack.org
1217 Link: http://lkml.kernel.org/r/1437088996-28511-2-git-send-email-toshi.kani@hp.com
1218 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1219
1220 arch/x86/mm/ioremap.c | 7 ++++---
1221 1 files changed, 4 insertions(+), 3 deletions(-)
1222
1223commit 9af4e75578b65827a05cae89a9cdb77d6caef754
1224Author: Toshi Kani <toshi.kani@hp.com>
1225Date: Thu Jul 16 17:23:16 2015 -0600
1226
1227 mm: Fix bugs in region_is_ram()
1228
1229 region_is_ram() looks up the iomem_resource table to check if
1230 a target range is in RAM. However, it always returns with -1
1231 due to invalid range checks. It always breaks the loop at the
1232 first entry of the table.
1233
1234 Another issue is that it compares p->flags and flags, but it always
1235 fails. flags is declared as int, which makes it as a negative value
1236 with IORESOURCE_BUSY (0x80000000) set while p->flags is unsigned long.
1237
1238 Fix the range check and flags so that region_is_ram() works as
1239 advertised.
1240
1241 Signed-off-by: Toshi Kani <toshi.kani@hp.com>
1242 Reviewed-by: Dan Williams <dan.j.williams@intel.com>
1243 Cc: Mike Travis <travis@sgi.com>
1244 Cc: Luis R. Rodriguez <mcgrof@suse.com>
1245 Cc: Andrew Morton <akpm@linux-foundation.org>
1246 Cc: Roland Dreier <roland@purestorage.com>
1247 Cc: linux-mm@kvack.org
1248 Link: http://lkml.kernel.org/r/1437088996-28511-4-git-send-email-toshi.kani@hp.com
1249 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1250
1251 kernel/resource.c | 6 +++---
1252 1 files changed, 3 insertions(+), 3 deletions(-)
1253
1254commit db002defded430624dbef2561ceb76501c8f956b
1255Author: Tomas Winkler <tomas.winkler@intel.com>
1256Date: Thu Jun 18 11:41:03 2015 +0300
1257
1258 mei: prevent unloading mei hw modules while the device is opened.
1259
1260 chrdev_open() increases reference counter on cdev->owner. Instead of
1261 assigning the owner to mei subsystem, the owner has to be set to the
1262 underlaying HW module (mei_me or mei_txe), so once the device is opened
1263 the HW module cannot be unloaded.
1264
1265 Cc: <stable@vger.kernel.org> #3.17+
1266 Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
1267 Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
1268 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1269
1270 drivers/misc/mei/main.c | 2 +-
1271 1 files changed, 1 insertions(+), 1 deletions(-)
1272
1273commit 426a498250be1cf7eb47a4b211754eac4c856fc9
1274Author: Steven Rostedt (Red Hat) <rostedt@goodmis.org>
1275Date: Fri Jul 24 10:38:12 2015 -0400
1276
1277 ftrace: Fix breakage of set_ftrace_pid
1278
1279 Commit 4104d326b670 ("ftrace: Remove global function list and call function
1280 directly") simplified the ftrace code by removing the global_ops list with a
1281 new design. But this cleanup also broke the filtering of PIDs that are added
1282 to the set_ftrace_pid file.
1283
1284 Add back the proper hooks to have pid filtering working once again.
1285
1286 Cc: stable@vger.kernel.org # 3.16+
1287 Reported-by: Matt Fleming <matt@console-pimps.org>
1288 Reported-by: Richard Weinberger <richard.weinberger@gmail.com>
1289 Tested-by: Matt Fleming <matt@console-pimps.org>
1290 Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
1291
1292 include/linux/ftrace.h | 3 ++
1293 kernel/trace/ftrace.c | 52 +++++++++++++++++++++++++++++++----------------
1294 2 files changed, 37 insertions(+), 18 deletions(-)
1295
1296commit ecf07c60ecb962a459c5b466cafc51be06433e4d
1297Author: Matt Fleming <matt.fleming@intel.com>
1298Date: Tue Jul 21 15:55:09 2015 +0100
1299
1300 perf/x86/intel/cqm: Return cached counter value from IRQ context
1301
1302 Peter reported the following potential crash which I was able to
1303 reproduce with his test program,
1304
1305 [ 148.765788] ------------[ cut here ]------------
1306 [ 148.765796] WARNING: CPU: 34 PID: 2840 at kernel/smp.c:417 smp_call_function_many+0xb6/0x260()
1307 [ 148.765797] Modules linked in:
1308 [ 148.765800] CPU: 34 PID: 2840 Comm: perf Not tainted 4.2.0-rc1+ #4
1309 [ 148.765803] ffffffff81cdc398 ffff88085f105950 ffffffff818bdfd5 0000000000000007
1310 [ 148.765805] 0000000000000000 ffff88085f105990 ffffffff810e413a 0000000000000000
1311 [ 148.765807] ffffffff82301080 0000000000000022 ffffffff8107f640 ffffffff8107f640
1312 [ 148.765809] Call Trace:
1313 [ 148.765810] <NMI> [<ffffffff818bdfd5>] dump_stack+0x45/0x57
1314 [ 148.765818] [<ffffffff810e413a>] warn_slowpath_common+0x8a/0xc0
1315 [ 148.765822] [<ffffffff8107f640>] ? intel_cqm_stable+0x60/0x60
1316 [ 148.765824] [<ffffffff8107f640>] ? intel_cqm_stable+0x60/0x60
1317 [ 148.765825] [<ffffffff810e422a>] warn_slowpath_null+0x1a/0x20
1318 [ 148.765827] [<ffffffff811613f6>] smp_call_function_many+0xb6/0x260
1319 [ 148.765829] [<ffffffff8107f640>] ? intel_cqm_stable+0x60/0x60
1320 [ 148.765831] [<ffffffff81161748>] on_each_cpu_mask+0x28/0x60
1321 [ 148.765832] [<ffffffff8107f6ef>] intel_cqm_event_count+0x7f/0xe0
1322 [ 148.765836] [<ffffffff811cdd35>] perf_output_read+0x2a5/0x400
1323 [ 148.765839] [<ffffffff811d2e5a>] perf_output_sample+0x31a/0x590
1324 [ 148.765840] [<ffffffff811d333d>] ? perf_prepare_sample+0x26d/0x380
1325 [ 148.765841] [<ffffffff811d3497>] perf_event_output+0x47/0x60
1326 [ 148.765843] [<ffffffff811d36c5>] __perf_event_overflow+0x215/0x240
1327 [ 148.765844] [<ffffffff811d4124>] perf_event_overflow+0x14/0x20
1328 [ 148.765847] [<ffffffff8107e7f4>] intel_pmu_handle_irq+0x1d4/0x440
1329 [ 148.765849] [<ffffffff811d07a6>] ? __perf_event_task_sched_in+0x36/0xa0
1330 [ 148.765853] [<ffffffff81219bad>] ? vunmap_page_range+0x19d/0x2f0
1331 [ 148.765854] [<ffffffff81219d11>] ? unmap_kernel_range_noflush+0x11/0x20
1332 [ 148.765859] [<ffffffff814ce6fe>] ? ghes_copy_tofrom_phys+0x11e/0x2a0
1333 [ 148.765863] [<ffffffff8109e5db>] ? native_apic_msr_write+0x2b/0x30
1334 [ 148.765865] [<ffffffff8109e44d>] ? x2apic_send_IPI_self+0x1d/0x20
1335 [ 148.765869] [<ffffffff81065135>] ? arch_irq_work_raise+0x35/0x40
1336 [ 148.765872] [<ffffffff811c8d86>] ? irq_work_queue+0x66/0x80
1337 [ 148.765875] [<ffffffff81075306>] perf_event_nmi_handler+0x26/0x40
1338 [ 148.765877] [<ffffffff81063ed9>] nmi_handle+0x79/0x100
1339 [ 148.765879] [<ffffffff81064422>] default_do_nmi+0x42/0x100
1340 [ 148.765880] [<ffffffff81064563>] do_nmi+0x83/0xb0
1341 [ 148.765884] [<ffffffff818c7c0f>] end_repeat_nmi+0x1e/0x2e
1342 [ 148.765886] [<ffffffff811d07a6>] ? __perf_event_task_sched_in+0x36/0xa0
1343 [ 148.765888] [<ffffffff811d07a6>] ? __perf_event_task_sched_in+0x36/0xa0
1344 [ 148.765890] [<ffffffff811d07a6>] ? __perf_event_task_sched_in+0x36/0xa0
1345 [ 148.765891] <<EOE>> [<ffffffff8110ab66>] finish_task_switch+0x156/0x210
1346 [ 148.765898] [<ffffffff818c1671>] __schedule+0x341/0x920
1347 [ 148.765899] [<ffffffff818c1c87>] schedule+0x37/0x80
1348 [ 148.765903] [<ffffffff810ae1af>] ? do_page_fault+0x2f/0x80
1349 [ 148.765905] [<ffffffff818c1f4a>] schedule_user+0x1a/0x50
1350 [ 148.765907] [<ffffffff818c666c>] retint_careful+0x14/0x32
1351 [ 148.765908] ---[ end trace e33ff2be78e14901 ]---
1352
1353 The CQM task events are not safe to be called from within interrupt
1354 context because they require performing an IPI to read the counter value
1355 on all sockets. And performing IPIs from within IRQ context is a
1356 "no-no".
1357
1358 Make do with the last read counter value currently event in
1359 event->count when we're invoked in this context.
1360
1361 Reported-by: Peter Zijlstra <peterz@infradead.org>
1362 Signed-off-by: Matt Fleming <matt.fleming@intel.com>
1363 Cc: Thomas Gleixner <tglx@linutronix.de>
1364 Cc: Vikas Shivappa <vikas.shivappa@intel.com>
1365 Cc: Kanaka Juvva <kanaka.d.juvva@intel.com>
1366 Cc: Will Auld <will.auld@intel.com>
1367 Cc: <stable@vger.kernel.org>
1368 Link: http://lkml.kernel.org/r/1437490509-15373-1-git-send-email-matt@codeblueprint.co.uk
1369 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1370
1371 arch/x86/kernel/cpu/perf_event_intel_cqm.c | 8 ++++++++
1372 1 files changed, 8 insertions(+), 0 deletions(-)
1373
1374commit f0b71d674319afc7cd3d408a95c315ab9332fea6
1375Author: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
1376Date: Thu Jul 23 12:05:40 2015 +0200
1377
1378 inet: frags: remove INET_FRAG_EVICTED and use list_evictor for the test
1379
1380 We can simply remove the INET_FRAG_EVICTED flag to avoid all the flags
1381 race conditions with the evictor and use a participation test for the
1382 evictor list, when we're at that point (after inet_frag_kill) in the
1383 timer there're 2 possible cases:
1384
1385 1. The evictor added the entry to its evictor list while the timer was
1386 waiting for the chainlock
1387 or
1388 2. The timer unchained the entry and the evictor won't see it
1389
1390 In both cases we should be able to see list_evictor correctly due
1391 to the sync on the chainlock.
1392
1393 Joint work with Florian Westphal.
1394
1395 Tested-by: Frank Schreuder <fschreuder@transip.nl>
1396 Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
1397 Signed-off-by: Florian Westphal <fw@strlen.de>
1398 Signed-off-by: David S. Miller <davem@davemloft.net>
1399
1400 include/net/inet_frag.h | 7 +++++--
1401 net/ipv4/inet_fragment.c | 1 -
1402 net/ipv4/ip_fragment.c | 2 +-
1403 net/ipv6/reassembly.c | 2 +-
1404 4 files changed, 7 insertions(+), 5 deletions(-)
1405
1406commit 5bab758a94075d04d16c2e693620149e80c80a6b
1407Author: Florian Westphal <fw@strlen.de>
1408Date: Thu Jul 23 12:05:39 2015 +0200
1409
1410 inet: frag: don't wait for timer deletion when evicting
1411
1412 Frank reports 'NMI watchdog: BUG: soft lockup' errors when
1413 load is high. Instead of (potentially) unbounded restarts of the
1414 eviction process, just skip to the next entry.
1415
1416 One caveat is that, when a netns is exiting, a timer may still be running
1417 by the time inet_evict_bucket returns.
1418
1419 We use the frag memory accounting to wait for outstanding timers,
1420 so that when we free the percpu counter we can be sure no running
1421 timer will trip over it.
1422
1423 Reported-and-tested-by: Frank Schreuder <fschreuder@transip.nl>
1424 Signed-off-by: Florian Westphal <fw@strlen.de>
1425 Signed-off-by: David S. Miller <davem@davemloft.net>
1426
1427 net/ipv4/inet_fragment.c | 29 +++++++++++------------------
1428 1 files changed, 11 insertions(+), 18 deletions(-)
1429
1430commit 243266640fe195843ebaf0f06f00b81861d79083
1431Author: Florian Westphal <fw@strlen.de>
1432Date: Thu Jul 23 12:05:38 2015 +0200
1433
1434 inet: frag: change *_frag_mem_limit functions to take netns_frags as argument
1435
1436 Followup patch will call it after inet_frag_queue was freed, so q->net
1437 doesn't work anymore (but netf = q->net; free(q); mem_limit(netf) would).
1438
1439 Tested-by: Frank Schreuder <fschreuder@transip.nl>
1440 Signed-off-by: Florian Westphal <fw@strlen.de>
1441 Signed-off-by: David S. Miller <davem@davemloft.net>
1442
1443 include/net/inet_frag.h | 8 ++++----
1444 net/ieee802154/6lowpan/reassembly.c | 6 +++---
1445 net/ipv4/inet_fragment.c | 4 ++--
1446 net/ipv4/ip_fragment.c | 10 +++++-----
1447 net/ipv6/netfilter/nf_conntrack_reasm.c | 6 +++---
1448 net/ipv6/reassembly.c | 6 +++---
1449 6 files changed, 20 insertions(+), 20 deletions(-)
1450
1451commit 980c50f6c86defb6bc40d7912008fb5d7057b345
1452Author: Florian Westphal <fw@strlen.de>
1453Date: Thu Jul 23 12:05:37 2015 +0200
1454
1455 inet: frag: don't re-use chainlist for evictor
1456
1457 commit 65ba1f1ec0eff ("inet: frags: fix a race between inet_evict_bucket
1458 and inet_frag_kill") describes the bug, but the fix doesn't work reliably.
1459
1460 Problem is that ->flags member can be set on other cpu without chainlock
1461 being held by that task, i.e. the RMW-Cycle can clear INET_FRAG_EVICTED
1462 bit after we put the element on the evictor private list.
1463
1464 We can crash when walking the 'private' evictor list since an element can
1465 be deleted from list underneath the evictor.
1466
1467 Join work with Nikolay Alexandrov.
1468
1469 Fixes: b13d3cbfb8e8 ("inet: frag: move eviction of queues to work queue")
1470 Reported-by: Johan Schuijt <johan@transip.nl>
1471 Tested-by: Frank Schreuder <fschreuder@transip.nl>
1472 Signed-off-by: Nikolay Alexandrov <nikolay@cumulusnetworks.com>
1473 Signed-off-by: Florian Westphal <fw@strlen.de>
1474 Signed-off-by: David S. Miller <davem@davemloft.net>
1475
1476 include/net/inet_frag.h | 2 ++
1477 net/ipv4/inet_fragment.c | 8 +++-----
1478 2 files changed, 5 insertions(+), 5 deletions(-)
1479
1480commit 18dbb7c79efd6ad05708d5015e9ba1013b5e8d78
1481Author: Johan Hedberg <johan.hedberg@intel.com>
1482Date: Mon Jul 20 20:31:25 2015 +0300
1483
1484 Bluetooth: Fix NULL pointer dereference in smp_conn_security
1485
1486 The l2cap_conn->smp pointer may be NULL for various valid reasons where SMP has
1487 failed to initialize properly. One such scenario is when crypto support is
1488 missing, another when the adapter has been powered on through a legacy method.
1489 The smp_conn_security() function should have the appropriate check for this
1490 situation to avoid NULL pointer dereferences.
1491
1492 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
1493 Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
1494 Cc: stable@vger.kernel.org # 4.0+
1495
1496 net/bluetooth/smp.c | 4 ++++
1497 1 files changed, 4 insertions(+), 0 deletions(-)
1498
257b0f43
PK
1499commit f7806e7d24320350c2673c37682a4ebcede48fbb
1500Merge: 7da4469 9188503
1501Author: Brad Spengler <spender@grsecurity.net>
1502Date: Sun Jul 26 19:15:42 2015 -0400
1503
1504 Merge branch 'pax-test' into grsec-test
1505
1506commit 918850373a254f92f9c146bcaa66ccbcc4da5aa2
1507Author: Brad Spengler <spender@grsecurity.net>
1508Date: Sun Jul 26 19:15:21 2015 -0400
1509
1510 Update to pax-linux-4.1.3-test10.patch:
1511 - fixed compile errors on arm, reported by Michael Tremer <michael.tremer@ipfire.org>
1512 - fixed the new pax_nouderef mechanism
1513
1514 arch/arm/include/asm/cpuidle.h | 2 +-
1515 arch/arm/kernel/cpuidle.c | 2 +-
1516 arch/x86/include/asm/cpufeature.h | 1 +
1517 arch/x86/include/asm/mmu_context.h | 10 +++++-----
1518 arch/x86/include/asm/tlbflush.h | 20 +++++++++++---------
1519 arch/x86/kernel/cpu/common.c | 2 ++
1520 drivers/clk/clk-mux.c | 4 ++--
1521 drivers/clk/samsung/clk.h | 2 +-
1522 drivers/gpio/gpio-omap.c | 2 +-
1523 drivers/gpu/drm/tegra/sor.c | 7 +++++--
1524 drivers/scsi/be2iscsi/be_main.c | 2 +-
1525 include/linux/clk-provider.h | 6 +++---
1526 init/main.c | 1 +
1527 13 files changed, 35 insertions(+), 26 deletions(-)
1528
92147cde
PK
1529commit 7da446903dcd5e93faba1291772a19f3e0e1f261
1530Merge: 8fa9f45 47942a0
1531Author: Brad Spengler <spender@grsecurity.net>
1532Date: Sun Jul 26 11:26:15 2015 -0400
1533
1534 Merge branch 'pax-test' into grsec-test
1535
1536commit 47942a0e37ae866e4a24bbd468fc1f6fe881589d
1537Author: Brad Spengler <spender@grsecurity.net>
1538Date: Sun Jul 26 11:25:51 2015 -0400
1539
1540 Update to pax-linux-4.1.3-test9.patch:
1541 - pax_nouderef no longer disables PCID/INVPCID so that they are still available in guest VMs
1542 - fixed userland crashes under amd64/UDEREF/KERNEXEC caused by an oversight while backporting the NMI fixes, reported by Victor, ajj146 and Nicolas Simond
1543
1544 arch/x86/kernel/cpu/common.c | 31 ++++++++++++++++---------------
1545 arch/x86/kernel/entry_64.S | 10 +++++++++-
1546 init/main.c | 2 --
1547 3 files changed, 25 insertions(+), 18 deletions(-)
1548
1549commit 8fa9f4585fd2d0f71bcf2f6472643f1bcfced4ef
1550Author: Brad Spengler <spender@grsecurity.net>
1551Date: Sat Jul 25 16:12:36 2015 -0400
1552
1553 Protect kexec_load_disabled as well, even though it's disabled under
1554 GRKERNSEC_KMEM already
1555
1556 kernel/kexec.c | 2 +-
1557 kernel/sysctl.c | 2 +-
1558 2 files changed, 2 insertions(+), 2 deletions(-)
1559
1560commit b16ef6f1b3f856c0fd8fad389ab82294dd34fb37
1561Author: Brad Spengler <spender@grsecurity.net>
1562Date: Sat Jul 25 15:10:12 2015 -0400
1563
1564 Add additional missing Broadcom firmware
1565
1566 firmware/Makefile | 1 +
1567 firmware/WHENCE | 1 +
1568 firmware/bnx2/bnx2-mips-06-6.2.3.fw.ihex | 5804 ++++++++++++++++++++++++++++++
1569 3 files changed, 5806 insertions(+), 0 deletions(-)
1570
da1216b9
PK
1571commit dc3a346dcef9b4aec5c6529c786350da2e470aea
1572Merge: 5523ddd 24124ed
71d05bda 1573Author: Brad Spengler <spender@grsecurity.net>
da1216b9 1574Date: Sat Jul 25 12:48:23 2015 -0400
71d05bda 1575
da1216b9 1576 Merge branch 'pax-test' into grsec-test
71d05bda 1577
da1216b9 1578commit 24124edb545ae3bdbd00f4f3657a0a30a883580f
71d05bda 1579Author: Brad Spengler <spender@grsecurity.net>
da1216b9 1580Date: Sat Jul 25 12:47:40 2015 -0400
71d05bda 1581
da1216b9
PK
1582 Update to pax-linux-4.1.3-test8.patch:
1583 - backported the recent NMI fixes for CVE-2015-3290, CVE-2015-3291 and CVE-2015-5157, by Andy Lutomirski <luto@kernel.org> (https://git.kernel.org/cgit/linux/kernel/git/luto/linux.git/log/?h=x86/nmi-backport and http://seclists.org/oss-sec/2015/q3/168)
71d05bda 1584
da1216b9
PK
1585 arch/x86/kernel/entry_64.S | 314 +++++++++++++++++++++++++++++---------------
1586 arch/x86/kernel/nmi.c | 139 +++++++++-----------
1587 2 files changed, 267 insertions(+), 186 deletions(-)
71d05bda 1588
da1216b9 1589commit 5523ddde21cc0a2c16a0aed628e3488de0598f58
71d05bda 1590Author: Brad Spengler <spender@grsecurity.net>
da1216b9 1591Date: Sat Jul 25 11:49:44 2015 -0400
71d05bda 1592
da1216b9 1593 compile fix
71d05bda 1594
da1216b9
PK
1595 kernel/sysctl.c | 4 +++-
1596 1 files changed, 3 insertions(+), 1 deletions(-)
71d05bda 1597
da1216b9 1598commit 4e0fa4c29dab6b0cf5e183d31b7f84dd83d86d9d
d77f18dd 1599Author: Brad Spengler <spender@grsecurity.net>
da1216b9 1600Date: Sat Jul 25 11:28:15 2015 -0400
d77f18dd 1601
da1216b9
PK
1602 Implement modify_ldt sysctl toggle from https://lkml.org/lkml/2015/7/25/103,
1603 make it not depend on CONFIG_MODIFY_LDT_SYSCALL, force modify_ldt to off
1604 regardless of config setting if grsec is enabled (with the allowance to
1605 turn it on at runtime), and harden up the implementation a bit
d77f18dd 1606
da1216b9
PK
1607 Documentation/sysctl/kernel.txt | 15 +++++++++++++++
1608 arch/x86/Kconfig | 16 ++++++++++++++++
1609 arch/x86/kernel/ldt.c | 18 ++++++++++++++++++
1610 kernel/sysctl.c | 8 ++++++++
1611 4 files changed, 57 insertions(+), 0 deletions(-)
d77f18dd 1612
da1216b9 1613commit 532568688f8e8535f3045cba322a8ecde5c47653
d77f18dd 1614Author: Brad Spengler <spender@grsecurity.net>
da1216b9 1615Date: Sat Jul 25 11:02:49 2015 -0400
d77f18dd 1616
da1216b9 1617 compile fix
d77f18dd 1618
da1216b9
PK
1619 grsecurity/grsec_sysctl.c | 2 +-
1620 1 files changed, 1 insertions(+), 1 deletions(-)
d77f18dd 1621
da1216b9 1622commit 5e354cb8e19b2584a7b98bf998abb798cdc3a673
d77f18dd 1623Author: Brad Spengler <spender@grsecurity.net>
da1216b9 1624Date: Sat Jul 25 10:59:07 2015 -0400
d77f18dd 1625
da1216b9 1626 compile fix
d77f18dd 1627
da1216b9
PK
1628 include/linux/sysctl.h | 2 ++
1629 1 files changed, 2 insertions(+), 0 deletions(-)
d77f18dd 1630
da1216b9
PK
1631commit ff2992ddd0298fb7a507e599be8240ab5f6b2503
1632Author: Brad Spengler <spender@grsecurity.net>
1633Date: Sat Jul 25 10:50:51 2015 -0400
1634
1635 Add framework for having ambiently read-only sysctl variables.
1636 Add all grsecurity sysctl entries to it, as well as security-relevant
1637 upstream sysctl values (modules_disabled, kptr_restrict, etc)
1638
1639 grsecurity/grsec_init.c | 104 ++++++++++++++++++++++----------------------
1640 grsecurity/grsec_sysctl.c | 104 ++++++++++++++++++++++----------------------
1641 include/linux/sysctl.h | 2 +
1642 kernel/events/core.c | 6 +-
1643 kernel/module.c | 2 +-
1644 kernel/printk/printk.c | 2 +-
1645 kernel/sysctl.c | 89 +++++++++++++++++++++++++++++++++++---
1646 lib/vsprintf.c | 4 +-
1647 8 files changed, 195 insertions(+), 118 deletions(-)
1648
1649commit d265460434f9f8ab420d67e961b5a80b3cd3dc82
1650Author: Alex Williamson <alex.williamson@redhat.com>
1651Date: Tue Jul 14 14:48:53 2015 -0600
1652
1653 iommu/vt-d: Fix VM domain ID leak
1654
1655 This continues the attempt to fix commit fb170fb4c548 ("iommu/vt-d:
1656 Introduce helper functions to make code symmetric for readability").
1657 The previous attempt in commit 71684406905f ("iommu/vt-d: Detach
1658 domain *only* from attached iommus") overlooked the fact that
1659 dmar_domain.iommu_bmp gets cleared for VM domains when devices are
1660 detached:
1661
1662 intel_iommu_detach_device
1663 domain_remove_one_dev_info
1664 domain_detach_iommu
1665
1666 The domain is detached from the iommu, but the iommu is still attached
1667 to the domain, for whatever reason. Thus when we get to domain_exit(),
1668 we can't rely on iommu_bmp for VM domains to find the active iommus,
1669 we must check them all. Without that, the corresponding bit in
1670 intel_iommu.domain_ids doesn't get cleared and repeated VM domain
1671 creation and destruction will run out of domain IDs. Meanwhile we
1672 still can't call iommu_detach_domain() on arbitrary non-VM domains or
1673 we risk clearing in-use domain IDs, as 71684406905f attempted to
1674 address.
1675
1676 It's tempting to modify iommu_detach_domain() to test the domain
1677 iommu_bmp, but the call ordering from domain_remove_one_dev_info()
1678 prevents it being able to work as fb170fb4c548 seems to have intended.
1679 Caching of unused VM domains on the iommu object seems to be the root
1680 of the problem, but this code is far too fragile for that kind of
1681 rework to be proposed for stable, so we simply revert this chunk to
1682 its state prior to fb170fb4c548.
1683
1684 Fixes: fb170fb4c548 ("iommu/vt-d: Introduce helper functions to make
1685 code symmetric for readability")
1686 Fixes: 71684406905f ("iommu/vt-d: Detach domain *only* from attached
1687 iommus")
1688 Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
1689 Cc: Jiang Liu <jiang.liu@linux.intel.com>
1690 Cc: stable@vger.kernel.org # v3.17+
1691 Signed-off-by: Joerg Roedel <jroedel@suse.de>
1692
1693 drivers/iommu/intel-iommu.c | 9 ++++++---
1694 1 files changed, 6 insertions(+), 3 deletions(-)
1695
1696commit 2a4ff00000e1d36651ec534b8ef59435b9798835
1697Author: Eric W. Biederman <ebiederm@xmission.com>
1698Date: Fri Jul 17 14:54:27 2015 -0500
73bce251 1699
da1216b9 1700 mnt: In detach_mounts detach the appropriate unmounted mount
73bce251 1701
da1216b9
PK
1702 The handling of in detach_mounts of unmounted but connected mounts is
1703 buggy and can lead to an infinite loop.
73bce251 1704
da1216b9
PK
1705 Correct the handling of unmounted mounts in detach_mount. When the
1706 mountpoint of an unmounted but connected mount is connected to a
1707 dentry, and that dentry is deleted we need to disconnect that mount
1708 from the parent mount and the deleted dentry.
73bce251 1709
da1216b9
PK
1710 Nothing changes for the unmounted and connected children. They can be
1711 safely ignored.
1712
1713 Cc: stable@vger.kernel.org
1714 Fixes: ce07d891a0891d3c0d0c2d73d577490486b809e1 mnt: Honor MNT_LOCKED when detaching mounts
1715 Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
73bce251 1716
da1216b9
PK
1717 fs/namespace.c | 7 ++-----
1718 1 files changed, 2 insertions(+), 5 deletions(-)
73bce251 1719
da1216b9
PK
1720commit 4056b87d96d91d73041c360e8260a4a7b6d803ca
1721Author: Eric W. Biederman <ebiederm@xmission.com>
1722Date: Fri Jul 17 14:15:30 2015 -0500
1723
1724 mnt: Clarify and correct the disconnect logic in umount_tree
73bce251 1725
da1216b9
PK
1726 rmdir mntpoint will result in an infinite loop when there is
1727 a mount locked on the mountpoint in another mount namespace.
73bce251 1728
da1216b9
PK
1729 This is because the logic to test to see if a mount should
1730 be disconnected in umount_tree is buggy.
73bce251 1731
da1216b9
PK
1732 Move the logic to decide if a mount should remain connected to
1733 it's mountpoint into it's own function disconnect_mount so that
1734 clarity of expression instead of terseness of expression becomes
1735 a virtue.
73bce251 1736
da1216b9
PK
1737 When the conditions where it is invalid to leave a mount connected
1738 are first ruled out, the logic for deciding if a mount should
1739 be disconnected becomes much clearer and simpler.
73bce251 1740
da1216b9
PK
1741 Fixes: e0c9c0afd2fc958ffa34b697972721d81df8a56f mnt: Update detach_mounts to leave mounts connected
1742 Fixes: ce07d891a0891d3c0d0c2d73d577490486b809e1 mnt: Honor MNT_LOCKED when detaching mounts
1743 Cc: stable@vger.kernel.org
1744 Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
73bce251 1745
da1216b9
PK
1746 fs/namespace.c | 35 +++++++++++++++++++++++++++++++----
1747 fs/pnode.h | 2 --
1748 2 files changed, 31 insertions(+), 6 deletions(-)
62b52422 1749
da1216b9
PK
1750commit beae0745e79a74772b8d9a0c4ece83d23d851716
1751Author: Nicolas Schichan <nschichan@freebox.fr>
1752Date: Tue Jul 21 14:14:12 2015 +0200
62b52422 1753
da1216b9
PK
1754 ARM: net: fix condition for load_order > 0 when translating load instructions.
1755
1756 To check whether the load should take the fast path or not, the code
1757 would check that (r_skb_hlen - load_order) is greater than the offset
1758 of the access using an "Unsigned higher or same" condition. For
1759 halfword accesses and an skb length of 1 at offset 0, that test is
1760 valid, as we end up comparing 0xffffffff(-1) and 0, so the fast path
1761 is taken and the filter allows the load to wrongly succeed. A similar
1762 issue exists for word loads at offset 0 and an skb length of less than
1763 4.
1764
1765 Fix that by using the condition "Signed greater than or equal"
1766 condition for the fast path code for load orders greater than 0.
1767
1768 Signed-off-by: Nicolas Schichan <nschichan@freebox.fr>
1769 Signed-off-by: David S. Miller <davem@davemloft.net>
62b52422 1770
da1216b9
PK
1771 arch/arm/net/bpf_jit_32.c | 2 +-
1772 1 files changed, 1 insertions(+), 1 deletions(-)
62b52422 1773
da1216b9
PK
1774commit 36523ec244eb01a4fce02a1cbc0643eb80a55324
1775Author: Nicolas Schichan <nschichan@freebox.fr>
1776Date: Tue Jul 21 14:14:13 2015 +0200
62b52422 1777
da1216b9
PK
1778 ARM: net: handle negative offsets in BPF JIT.
1779
1780 Previously, the JIT would reject negative offsets known during code
1781 generation and mishandle negative offsets provided at runtime.
1782
1783 Fix that by calling bpf_internal_load_pointer_neg_helper()
1784 appropriately in the jit_get_skb_{b,h,w} slow path helpers and by forcing
1785 the execution flow to the slow path helpers when the offset is
1786 negative.
1787
1788 Signed-off-by: Nicolas Schichan <nschichan@freebox.fr>
1789 Signed-off-by: David S. Miller <davem@davemloft.net>
4f517a68 1790
da1216b9
PK
1791 arch/arm/net/bpf_jit_32.c | 47 ++++++++++++++++++++++++++++++++++++--------
1792 1 files changed, 38 insertions(+), 9 deletions(-)
4f517a68 1793
da1216b9
PK
1794commit 7202f5f549b01fe9fa5837c7102668895ea6916e
1795Author: Nicolas Schichan <nschichan@freebox.fr>
1796Date: Tue Jul 21 14:14:14 2015 +0200
4f517a68 1797
da1216b9
PK
1798 ARM: net: fix vlan access instructions in ARM JIT.
1799
1800 This makes BPF_ANC | SKF_AD_VLAN_TAG and BPF_ANC | SKF_AD_VLAN_TAG_PRESENT
1801 have the same behaviour as the in kernel VM and makes the test_bpf LD_VLAN_TAG
1802 and LD_VLAN_TAG_PRESENT tests pass.
1803
1804 Signed-off-by: Nicolas Schichan <nschichan@freebox.fr>
1805 Signed-off-by: David S. Miller <davem@davemloft.net>
4f517a68 1806
da1216b9
PK
1807 arch/arm/net/bpf_jit_32.c | 8 +++++---
1808 1 files changed, 5 insertions(+), 3 deletions(-)
4f517a68 1809
da1216b9
PK
1810commit 87b1904179ce906f1d9926a19184f6e38448e527
1811Author: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
1812Date: Fri Jul 17 14:01:11 2015 +0300
4f517a68 1813
da1216b9
PK
1814 net: ratelimit warnings about dst entry refcount underflow or overflow
1815
1816 Kernel generates a lot of warnings when dst entry reference counter
1817 overflows and becomes negative. That bug was seen several times at
1818 machines with outdated 3.10.y kernels. Most like it's already fixed
1819 in upstream. Anyway that flood completely kills machine and makes
1820 further debugging impossible.
1821
1822 Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
1823 Signed-off-by: David S. Miller <davem@davemloft.net>
4f517a68 1824
da1216b9
PK
1825 net/core/dst.c | 4 +++-
1826 1 files changed, 3 insertions(+), 1 deletions(-)
4f517a68 1827
da1216b9
PK
1828commit ba84fb968446cbe2499439d812ca80886a17d5c9
1829Author: Simon Guinot <simon.guinot@sequanux.org>
1830Date: Sun Jul 19 13:00:53 2015 +0200
ee1b9a5f 1831
da1216b9
PK
1832 net: mvneta: fix refilling for Rx DMA buffers
1833
1834 With the actual code, if a memory allocation error happens while
1835 refilling a Rx descriptor, then the original Rx buffer is both passed
1836 to the networking stack (in a SKB) and let in the Rx ring. This leads
1837 to various kernel oops and crashes.
1838
1839 As a fix, this patch moves Rx descriptor refilling ahead of building
1840 SKB with the associated Rx buffer. In case of a memory allocation
1841 failure, data is dropped and the original DMA buffer is put back into
1842 the Rx ring.
1843
1844 Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
1845 Fixes: c5aff18204da ("net: mvneta: driver for Marvell Armada 370/XP network unit")
1846 Cc: <stable@vger.kernel.org> # v3.8+
1847 Tested-by: Yoann Sculo <yoann@sculo.fr>
1848 Signed-off-by: David S. Miller <davem@davemloft.net>
ee1b9a5f 1849
da1216b9
PK
1850 drivers/net/ethernet/marvell/mvneta.c | 22 ++++++++++------------
1851 1 files changed, 10 insertions(+), 12 deletions(-)
ee1b9a5f 1852
da1216b9
PK
1853commit b884f1d8eecd2404cf6f6dd1aba1ac0b93a37bca
1854Author: Daniel Borkmann <daniel@iogearbox.net>
1855Date: Fri Jul 17 22:38:43 2015 +0200
ee1b9a5f 1856
da1216b9 1857 sched: cls_bpf: fix panic on filter replace
ee1b9a5f 1858
da1216b9 1859 The following test case causes a NULL pointer dereference in cls_bpf:
ee1b9a5f 1860
da1216b9
PK
1861 FOO="1,6 0 0 4294967295,"
1862 tc filter add dev foo parent 1: bpf bytecode "$FOO" flowid 1:1 action ok
1863 tc filter replace dev foo parent 1: pref 49152 handle 0x1 \
1864 bpf bytecode "$FOO" flowid 1:1 action drop
ee1b9a5f 1865
da1216b9
PK
1866 The problem is that commit 1f947bf151e9 ("net: sched: rcu'ify cls_bpf")
1867 accidentally swapped the arguments of list_replace_rcu(), the old
1868 element needs to be the first argument and the new element the second.
ee1b9a5f 1869
da1216b9
PK
1870 Fixes: 1f947bf151e9 ("net: sched: rcu'ify cls_bpf")
1871 Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
1872 Acked-by: John Fastabend <john.r.fastabend@intel.com>
1873 Acked-by: Alexei Starovoitov <ast@plumgrid.com>
ee1b9a5f
PK
1874 Signed-off-by: David S. Miller <davem@davemloft.net>
1875
da1216b9
PK
1876 net/sched/cls_bpf.c | 2 +-
1877 1 files changed, 1 insertions(+), 1 deletions(-)
ee1b9a5f 1878
da1216b9
PK
1879commit b7bc68bc309cdb7ad58f8e4ec6b5db95f921178b
1880Author: Daniel Borkmann <daniel@iogearbox.net>
1881Date: Fri Jul 17 22:38:45 2015 +0200
ee1b9a5f 1882
da1216b9 1883 sched: cls_flow: fix panic on filter replace
ee1b9a5f 1884
da1216b9 1885 The following test case causes a NULL pointer dereference in cls_flow:
ee1b9a5f 1886
da1216b9
PK
1887 tc filter add dev foo parent 1: handle 0x1 flow hash keys dst action ok
1888 tc filter replace dev foo parent 1: pref 49152 handle 0x1 \
1889 flow hash keys mark action drop
ee1b9a5f 1890
da1216b9
PK
1891 To be more precise, actually two different panics are fixed, the first
1892 occurs because tcf_exts_init() is not called on the newly allocated
1893 filter when we do a replace. And the second panic uncovered after that
1894 happens since the arguments of list_replace_rcu() are swapped, the old
1895 element needs to be the first argument and the new element the second.
1896
1897 Fixes: 70da9f0bf999 ("net: sched: cls_flow use RCU")
1898 Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
1899 Acked-by: John Fastabend <john.r.fastabend@intel.com>
ee1b9a5f
PK
1900 Signed-off-by: David S. Miller <davem@davemloft.net>
1901
da1216b9
PK
1902 net/sched/cls_flow.c | 5 +++--
1903 1 files changed, 3 insertions(+), 2 deletions(-)
ee1b9a5f 1904
da1216b9
PK
1905commit f17540910375d47fe675bc5f1080cac1418b7332
1906Author: Christophe Jaillet <christophe.jaillet@wanadoo.fr>
1907Date: Mon Jul 13 11:32:43 2015 +0200
ee1b9a5f 1908
da1216b9 1909 parisc: mm: Fix a memory leak related to pmd not attached to the pgd
ee1b9a5f 1910
da1216b9
PK
1911 Commit 0e0da48dee8d ("parisc: mm: don't count preallocated pmds")
1912 introduced a memory leak.
ee1b9a5f 1913
da1216b9
PK
1914 After this commit, the 'return' statement in pmd_free is executed in all
1915 cases. Even for pmd that are not attached to the pgd. So 'free_pages'
1916 can never be called anymore, leading to a memory leak.
ee1b9a5f 1917
da1216b9
PK
1918 Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
1919 Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
1920 Acked-by: Mikulas Patocka <mpatocka@redhat.com>
1921 Acked-by: Helge Deller <deller@gmx.de>
1922 Cc: stable@vger.kernel.org # v4.0+
1923 Signed-off-by: Helge Deller <deller@gmx.de>
ee1b9a5f 1924
da1216b9
PK
1925 arch/parisc/include/asm/pgalloc.h | 3 ++-
1926 1 files changed, 2 insertions(+), 1 deletions(-)
ee1b9a5f 1927
da1216b9
PK
1928commit ad167680a92c235b342491acdde96e38987e6aa3
1929Author: Seymour, Shane M <shane.seymour@hp.com>
1930Date: Thu Jul 2 12:01:10 2015 +0000
1931
1932 st: null pointer dereference panic caused by use after kref_put by st_open
1933
1934 Two SLES11 SP3 servers encountered similar crashes simultaneously
1935 following some kind of SAN/tape target issue:
1936
1937 ...
1938 qla2xxx [0000:81:00.0]-801c:3: Abort command issued nexus=3:0:2 -- 1 2002.
1939 qla2xxx [0000:81:00.0]-801c:3: Abort command issued nexus=3:0:2 -- 1 2002.
1940 qla2xxx [0000:81:00.0]-8009:3: DEVICE RESET ISSUED nexus=3:0:2 cmd=ffff882f89c2c7c0.
1941 qla2xxx [0000:81:00.0]-800c:3: do_reset failed for cmd=ffff882f89c2c7c0.
1942 qla2xxx [0000:81:00.0]-800f:3: DEVICE RESET FAILED: Task management failed nexus=3:0:2 cmd=ffff882f89c2c7c0.
1943 qla2xxx [0000:81:00.0]-8009:3: TARGET RESET ISSUED nexus=3:0:2 cmd=ffff882f89c2c7c0.
1944 qla2xxx [0000:81:00.0]-800c:3: do_reset failed for cmd=ffff882f89c2c7c0.
1945 qla2xxx [0000:81:00.0]-800f:3: TARGET RESET FAILED: Task management failed nexus=3:0:2 cmd=ffff882f89c2c7c0.
1946 qla2xxx [0000:81:00.0]-8012:3: BUS RESET ISSUED nexus=3:0:2.
1947 qla2xxx [0000:81:00.0]-802b:3: BUS RESET SUCCEEDED nexus=3:0:2.
1948 qla2xxx [0000:81:00.0]-505f:3: Link is operational (8 Gbps).
1949 qla2xxx [0000:81:00.0]-8018:3: ADAPTER RESET ISSUED nexus=3:0:2.
1950 qla2xxx [0000:81:00.0]-00af:3: Performing ISP error recovery - ha=ffff88bf04d18000.
1951 rport-3:0-0: blocked FC remote port time out: removing target and saving binding
1952 qla2xxx [0000:81:00.0]-505f:3: Link is operational (8 Gbps).
1953 qla2xxx [0000:81:00.0]-8017:3: ADAPTER RESET SUCCEEDED nexus=3:0:2.
1954 rport-2:0-0: blocked FC remote port time out: removing target and saving binding
1955 sg_rq_end_io: device detached
1956 BUG: unable to handle kernel NULL pointer dereference at 00000000000002a8
1957 IP: [<ffffffff8133b268>] __pm_runtime_idle+0x28/0x90
1958 PGD 7e6586f067 PUD 7e5af06067 PMD 0 [1739975.390354] Oops: 0002 [#1] SMP
1959 CPU 0
1960 ...
1961 Supported: No, Proprietary modules are loaded [1739975.390463]
1962 Pid: 27965, comm: ABCD Tainted: PF X 3.0.101-0.29-default #1 HP ProLiant DL580 Gen8
1963 RIP: 0010:[<ffffffff8133b268>] [<ffffffff8133b268>] __pm_runtime_idle+0x28/0x90
1964 RSP: 0018:ffff8839dc1e7c68 EFLAGS: 00010202
1965 RAX: 0000000000000000 RBX: ffff883f0592fc00 RCX: 0000000000000090
1966 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000138
1967 RBP: 0000000000000138 R08: 0000000000000010 R09: ffffffff81bd39d0
1968 R10: 00000000000009c0 R11: ffffffff81025790 R12: 0000000000000001
1969 R13: ffff883022212b80 R14: 0000000000000004 R15: ffff883022212b80
1970 FS: 00007f8e54560720(0000) GS:ffff88407f800000(0000) knlGS:0000000000000000
1971 CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
1972 CR2: 00000000000002a8 CR3: 0000007e6ced6000 CR4: 00000000001407f0
1973 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
1974 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
1975 Process ABCD (pid: 27965, threadinfo ffff8839dc1e6000, task ffff883592e0c640)
1976 Stack:
1977 ffff883f0592fc00 00000000fffffffa 0000000000000001 ffff883022212b80
1978 ffff883eff772400 ffffffffa03fa309 0000000000000000 0000000000000000
1979 ffffffffa04003a0 ffff883f063196c0 ffff887f0379a930 ffffffff8115ea1e
1980 Call Trace:
1981 [<ffffffffa03fa309>] st_open+0x129/0x240 [st]
1982 [<ffffffff8115ea1e>] chrdev_open+0x13e/0x200
1983 [<ffffffff811588a8>] __dentry_open+0x198/0x310
1984 [<ffffffff81167d74>] do_last+0x1f4/0x800
1985 [<ffffffff81168fe9>] path_openat+0xd9/0x420
1986 [<ffffffff8116946c>] do_filp_open+0x4c/0xc0
1987 [<ffffffff8115a00f>] do_sys_open+0x17f/0x250
1988 [<ffffffff81468d92>] system_call_fastpath+0x16/0x1b
1989 [<00007f8e4f617fd0>] 0x7f8e4f617fcf
1990 Code: eb d3 90 48 83 ec 28 40 f6 c6 04 48 89 6c 24 08 4c 89 74 24 20 48 89 fd 48 89 1c 24 4c 89 64 24 10 41 89 f6 4c 89 6c 24 18 74 11 <f0> ff 8f 70 01 00 00 0f 94 c0 45 31 ed 84 c0 74 2b 4c 8d a5 a0
1991 RIP [<ffffffff8133b268>] __pm_runtime_idle+0x28/0x90
1992 RSP <ffff8839dc1e7c68>
1993 CR2: 00000000000002a8
1994
1995 Analysis reveals the cause of the crash to be due to STp->device
1996 being NULL. The pointer was NULLed via scsi_tape_put(STp) when it
1997 calls scsi_tape_release(). In st_open() we jump to err_out after
1998 scsi_block_when_processing_errors() completes and returns the
1999 device as offline (sdev_state was SDEV_DEL):
2000
2001 1180 /* Open the device. Needs to take the BKL only because of incrementing the SCSI host
2002 1181 module count. */
2003 1182 static int st_open(struct inode *inode, struct file *filp)
2004 1183 {
2005 1184 int i, retval = (-EIO);
2006 1185 int resumed = 0;
2007 1186 struct scsi_tape *STp;
2008 1187 struct st_partstat *STps;
2009 1188 int dev = TAPE_NR(inode);
2010 1189 char *name;
2011 ...
2012 1217 if (scsi_autopm_get_device(STp->device) < 0) {
2013 1218 retval = -EIO;
2014 1219 goto err_out;
2015 1220 }
2016 1221 resumed = 1;
2017 1222 if (!scsi_block_when_processing_errors(STp->device)) {
2018 1223 retval = (-ENXIO);
2019 1224 goto err_out;
2020 1225 }
2021 ...
2022 1264 err_out:
2023 1265 normalize_buffer(STp->buffer);
2024 1266 spin_lock(&st_use_lock);
2025 1267 STp->in_use = 0;
2026 1268 spin_unlock(&st_use_lock);
2027 1269 scsi_tape_put(STp); <-- STp->device = 0 after this
2028 1270 if (resumed)
2029 1271 scsi_autopm_put_device(STp->device);
2030 1272 return retval;
2031
2032 The ref count for the struct scsi_tape had already been reduced
2033 to 1 when the .remove method of the st module had been called.
2034 The kref_put() in scsi_tape_put() caused scsi_tape_release()
2035 to be called:
2036
2037 0266 static void scsi_tape_put(struct scsi_tape *STp)
2038 0267 {
2039 0268 struct scsi_device *sdev = STp->device;
2040 0269
2041 0270 mutex_lock(&st_ref_mutex);
2042 0271 kref_put(&STp->kref, scsi_tape_release); <-- calls this
2043 0272 scsi_device_put(sdev);
2044 0273 mutex_unlock(&st_ref_mutex);
2045 0274 }
2046
2047 In scsi_tape_release() the struct scsi_device in the struct
2048 scsi_tape gets set to NULL:
2049
2050 4273 static void scsi_tape_release(struct kref *kref)
2051 4274 {
2052 4275 struct scsi_tape *tpnt = to_scsi_tape(kref);
2053 4276 struct gendisk *disk = tpnt->disk;
2054 4277
2055 4278 tpnt->device = NULL; <<<---- where the dev is nulled
2056 4279
2057 4280 if (tpnt->buffer) {
2058 4281 normalize_buffer(tpnt->buffer);
2059 4282 kfree(tpnt->buffer->reserved_pages);
2060 4283 kfree(tpnt->buffer);
2061 4284 }
2062 4285
2063 4286 disk->private_data = NULL;
2064 4287 put_disk(disk);
2065 4288 kfree(tpnt);
2066 4289 return;
2067 4290 }
2068
2069 Although the problem was reported on SLES11.3 the problem appears
2070 in linux-next as well.
2071
2072 The crash is fixed by reordering the code so we no longer access
2073 the struct scsi_tape after the kref_put() is done on it in st_open().
2074
2075 Signed-off-by: Shane Seymour <shane.seymour@hp.com>
2076 Signed-off-by: Darren Lavender <darren.lavender@hp.com>
2077 Reviewed-by: Johannes Thumshirn <jthumshirn@suse.com>
2078 Acked-by: Kai Mäkisara <kai.makisara@kolumbus.fi>
ee1b9a5f 2079 Cc: stable@vger.kernel.org
da1216b9 2080 Signed-off-by: James Bottomley <JBottomley@Odin.com>
ee1b9a5f 2081
da1216b9
PK
2082 drivers/scsi/st.c | 2 +-
2083 1 files changed, 1 insertions(+), 1 deletions(-)
ee1b9a5f 2084
da1216b9
PK
2085commit 17389660416307cfab2095080c1e4471ee804f99
2086Author: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
2087Date: Fri Jul 17 16:23:42 2015 -0700
2088
2089 include, lib: add __printf attributes to several function prototypes
2090
2091 Using __printf attributes helps to detect several format string issues
2092 at compile time (even though -Wformat-security is currently disabled in
2093 Makefile). For example it can detect when formatting a pointer as a
2094 number, like the issue fixed in commit a3fa71c40f18 ("wl18xx: show
2095 rx_frames_per_rates as an array as it really is"), or when the arguments
2096 do not match the format string, c.f. for example commit 5ce1aca81435
2097 ("reiserfs: fix __RASSERT format string").
2098
2099 To prevent similar bugs in the future, add a __printf attribute to every
2100 function prototype which needs one in include/linux/ and lib/. These
2101 functions were mostly found by using gcc's -Wsuggest-attribute=format
2102 flag.
2103
2104 Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
2105 Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2106 Cc: Felipe Balbi <balbi@ti.com>
2107 Cc: Joel Becker <jlbec@evilplan.org>
2108 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2109 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ee1b9a5f 2110
da1216b9
PK
2111 Conflicts:
2112
2113 include/linux/clkdev.h
2114 include/linux/configfs.h
2115 include/linux/printk.h
2116
2117 include/linux/clkdev.h | 5 +++--
2118 include/linux/compat.h | 2 +-
2119 include/linux/configfs.h | 3 ++-
2120 include/linux/cpu.h | 7 ++++---
2121 include/linux/dcache.h | 3 ++-
2122 include/linux/device.h | 15 +++++++--------
2123 include/linux/iommu.h | 2 +-
2124 include/linux/kernel.h | 9 +++++----
2125 include/linux/kobject.h | 5 +++--
2126 include/linux/mmiotrace.h | 2 +-
2127 include/linux/printk.h | 6 +++---
2128 lib/kobject.c | 5 +++--
2129 12 files changed, 35 insertions(+), 29 deletions(-)
2130
2131commit 41d349e4ee5c4982523f42946a91bb78aa2a7cf6
2132Author: Joonsoo Kim <js1304@gmail.com>
2133Date: Fri Jul 17 16:24:15 2015 -0700
2134
2135 mm/page_owner: fix possible access violation
2136
2137 When I tested my new patches, I found that page pointer which is used
2138 for setting page_owner information is changed. This is because page
2139 pointer is used to set new migratetype in loop. After this work, page
2140 pointer could be out of bound. If this wrong pointer is used for
2141 page_owner, access violation happens. Below is error message that I
2142 got.
2143
2144 BUG: unable to handle kernel paging request at 0000000000b00018
2145 IP: [<ffffffff81025f30>] save_stack_address+0x30/0x40
2146 PGD 1af2d067 PUD 166e0067 PMD 0
2147 Oops: 0002 [#1] SMP
2148 ...snip...
2149 Call Trace:
2150 print_context_stack+0xcf/0x100
2151 dump_trace+0x15f/0x320
2152 save_stack_trace+0x2f/0x50
2153 __set_page_owner+0x46/0x70
2154 __isolate_free_page+0x1f7/0x210
2155 split_free_page+0x21/0xb0
2156 isolate_freepages_block+0x1e2/0x410
2157 compaction_alloc+0x22d/0x2d0
2158 migrate_pages+0x289/0x8b0
2159 compact_zone+0x409/0x880
2160 compact_zone_order+0x6d/0x90
2161 try_to_compact_pages+0x110/0x210
2162 __alloc_pages_direct_compact+0x3d/0xe6
2163 __alloc_pages_nodemask+0x6cd/0x9a0
2164 alloc_pages_current+0x91/0x100
2165 runtest_store+0x296/0xa50
2166 simple_attr_write+0xbd/0xe0
2167 __vfs_write+0x28/0xf0
2168 vfs_write+0xa9/0x1b0
2169 SyS_write+0x46/0xb0
2170 system_call_fastpath+0x16/0x75
2171
2172 This patch fixes this error by moving up set_page_owner().
2173
2174 Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
2175 Cc: Mel Gorman <mgorman@suse.de>
2176 Cc: Vlastimil Babka <vbabka@suse.cz>
2177 Acked-by: Minchan Kim <minchan@kernel.org>
2178 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2179 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ee1b9a5f 2180
da1216b9
PK
2181 mm/page_alloc.c | 4 +++-
2182 1 files changed, 3 insertions(+), 1 deletions(-)
ee1b9a5f 2183
da1216b9
PK
2184commit c7fc195271c087aaf6e7b9c19d632a03d0dcd44f
2185Author: Joonsoo Kim <js1304@gmail.com>
2186Date: Fri Jul 17 16:24:20 2015 -0700
ee1b9a5f 2187
da1216b9 2188 mm/cma_debug: fix debugging alloc/free interface
ee1b9a5f 2189
da1216b9
PK
2190 CMA has alloc/free interface for debugging. It is intended that
2191 alloc/free occurs in specific CMA region, but, currently, alloc/free
2192 interface is on root dir due to the bug so we can't select CMA region
2193 where alloc/free happens.
ee1b9a5f 2194
da1216b9
PK
2195 This patch fixes this problem by making alloc/free interface per CMA
2196 region.
ee1b9a5f 2197
da1216b9
PK
2198 Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
2199 Acked-by: Michal Nazarewicz <mina86@mina86.com>
2200 Cc: Sasha Levin <sasha.levin@oracle.com>
2201 Cc: Stefan Strogin <stefan.strogin@gmail.com>
2202 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2203 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ee1b9a5f 2204
da1216b9 2205 mm/cma_debug.c | 4 ++--
ee1b9a5f
PK
2206 1 files changed, 2 insertions(+), 2 deletions(-)
2207
da1216b9
PK
2208commit bdce4b16c357b6f1aa0de2ebc1e9e737de7b3835
2209Author: Joonsoo Kim <js1304@gmail.com>
2210Date: Fri Jul 17 16:24:23 2015 -0700
ee1b9a5f 2211
da1216b9 2212 mm/cma_debug: correct size input to bitmap function
ee1b9a5f 2213
da1216b9
PK
2214 In CMA, 1 bit in bitmap means 1 << order_per_bits pages so size of
2215 bitmap is cma->count >> order_per_bits rather than just cma->count.
2216 This patch fixes it.
2217
2218 Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
2219 Acked-by: Michal Nazarewicz <mina86@mina86.com>
2220 Cc: Sasha Levin <sasha.levin@oracle.com>
2221 Cc: Stefan Strogin <stefan.strogin@gmail.com>
2222 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2223 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ee1b9a5f 2224
da1216b9
PK
2225 mm/cma_debug.c | 7 ++++---
2226 1 files changed, 4 insertions(+), 3 deletions(-)
ee1b9a5f 2227
da1216b9
PK
2228commit 9fdcb2243392e451c0dead8c1056085cedc295d9
2229Author: Ming Lei <ming.lei@canonical.com>
2230Date: Thu Jul 16 19:53:22 2015 +0800
578d7714 2231
da1216b9
PK
2232 blk-mq: set default timeout as 30 seconds
2233
2234 It is reasonable to set default timeout of request as 30 seconds instead of
2235 30000 ticks, which may be 300 seconds if HZ is 100, for example, some arm64
2236 based systems may choose 100 HZ.
2237
2238 Signed-off-by: Ming Lei <ming.lei@canonical.com>
2239 Fixes: c76cbbcf4044 ("blk-mq: put blk_queue_rq_timeout together in blk_mq_init_queue()"
2240 Signed-off-by: Jens Axboe <axboe@fb.com>
578d7714 2241
da1216b9 2242 block/blk-mq.c | 2 +-
578d7714
PK
2243 1 files changed, 1 insertions(+), 1 deletions(-)
2244
da1216b9
PK
2245commit 1a4d0e757cc0e4685c9df14a70a1ac589f25a094
2246Author: WANG Cong <xiyou.wangcong@gmail.com>
2247Date: Tue Jul 14 16:35:54 2015 +0300
578d7714 2248
da1216b9 2249 ipvlan: use rcu_deference_bh() in ipvlan_queue_xmit()
578d7714 2250
da1216b9
PK
2251 In tx path rcu_read_lock_bh() is held, so we need rcu_deference_bh().
2252 This fixes the following warning:
2253
2254 ===============================
2255 [ INFO: suspicious RCU usage. ]
2256 4.1.0-rc1+ #1007 Not tainted
2257 -------------------------------
2258 drivers/net/ipvlan/ipvlan.h:106 suspicious rcu_dereference_check() usage!
2259
2260 other info that might help us debug this:
2261
2262 rcu_scheduler_active = 1, debug_locks = 0
2263 1 lock held by dhclient/1076:
2264 #0: (rcu_read_lock_bh){......}, at: [<ffffffff817e8d84>] rcu_lock_acquire+0x0/0x26
2265
2266 stack backtrace:
2267 CPU: 2 PID: 1076 Comm: dhclient Not tainted 4.1.0-rc1+ #1007
2268 Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
2269 0000000000000001 ffff8800d381bac8 ffffffff81a4154f 000000003c1a3c19
2270 ffff8800d4d0a690 ffff8800d381baf8 ffffffff810b849f ffff880117d41148
2271 ffff880117d40000 ffff880117d40068 0000000000000156 ffff8800d381bb18
2272 Call Trace:
2273 [<ffffffff81a4154f>] dump_stack+0x4c/0x65
2274 [<ffffffff810b849f>] lockdep_rcu_suspicious+0x107/0x110
2275 [<ffffffff8165a522>] ipvlan_port_get_rcu+0x47/0x4e
2276 [<ffffffff8165ad14>] ipvlan_queue_xmit+0x35/0x450
2277 [<ffffffff817ea45d>] ? rcu_read_unlock+0x3e/0x5f
2278 [<ffffffff810a20bf>] ? local_clock+0x19/0x22
2279 [<ffffffff810b4781>] ? __lock_is_held+0x39/0x52
2280 [<ffffffff8165b64c>] ipvlan_start_xmit+0x1b/0x44
2281 [<ffffffff817edf7f>] dev_hard_start_xmit+0x2ae/0x467
2282 [<ffffffff817ee642>] __dev_queue_xmit+0x50a/0x60c
2283 [<ffffffff817ee7a7>] dev_queue_xmit_sk+0x13/0x15
2284 [<ffffffff81997596>] dev_queue_xmit+0x10/0x12
2285 [<ffffffff8199b41c>] packet_sendmsg+0xb6b/0xbdf
2286 [<ffffffff810b5ea7>] ? mark_lock+0x2e/0x226
2287 [<ffffffff810a1fcc>] ? sched_clock_cpu+0x9e/0xb7
2288 [<ffffffff817d56f9>] sock_sendmsg_nosec+0x12/0x1d
2289 [<ffffffff817d7257>] sock_sendmsg+0x29/0x2e
2290 [<ffffffff817d72cc>] sock_write_iter+0x70/0x91
2291 [<ffffffff81199563>] __vfs_write+0x7e/0xa7
2292 [<ffffffff811996bc>] vfs_write+0x92/0xe8
2293 [<ffffffff811997d7>] SyS_write+0x47/0x7e
2294 [<ffffffff81a4d517>] system_call_fastpath+0x12/0x6f
2295
2296 Fixes: 2ad7bf363841 ("ipvlan: Initial check-in of the IPVLAN driver.")
2297 Cc: Mahesh Bandewar <maheshb@google.com>
2298 Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
2299 Acked-by: Mahesh Bandewar <maheshb@google.com>
2300 Acked-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
2301 Signed-off-by: David S. Miller <davem@davemloft.net>
578d7714 2302
da1216b9
PK
2303 drivers/net/ipvlan/ipvlan.h | 5 +++++
2304 drivers/net/ipvlan/ipvlan_core.c | 2 +-
2305 2 files changed, 6 insertions(+), 1 deletions(-)
578d7714 2306
da1216b9
PK
2307commit 748406865b681031a76395feff1a21c70becfbb0
2308Author: Alexei Starovoitov <ast@plumgrid.com>
2309Date: Tue Jul 14 12:15:19 2015 -0700
578d7714 2310
da1216b9
PK
2311 tc: act_bpf: fix memory leak
2312
2313 prog->bpf_ops is populated when act_bpf is used with classic BPF and
2314 prog->bpf_name is optionally used with extended BPF.
2315 Fix memory leak when act_bpf is released.
2316
2317 Fixes: d23b8ad8ab23 ("tc: add BPF based action")
2318 Fixes: a8cb5f556b56 ("act_bpf: add initial eBPF support for actions")
2319 Acked-by: Daniel Borkmann <daniel@iogearbox.net>
2320 Signed-off-by: Alexei Starovoitov <ast@plumgrid.com>
2321 Signed-off-by: David S. Miller <davem@davemloft.net>
578d7714 2322
da1216b9
PK
2323 net/sched/act_bpf.c | 3 +++
2324 1 files changed, 3 insertions(+), 0 deletions(-)
578d7714 2325
da1216b9
PK
2326commit 2e4619c3f6717c3574c94203d4acf985b6edf05b
2327Author: WANG Cong <xiyou.wangcong@gmail.com>
2328Date: Tue Jul 14 11:21:58 2015 -0700
2329
2330 fq_codel: fix return value of fq_codel_drop()
578d7714 2331
da1216b9
PK
2332 The ->drop() is supposed to return the number of bytes it dropped,
2333 however fq_codel_drop() returns the index of the flow where it drops
2334 a packet from.
2335
2336 Fix this by introducing a helper to wrap fq_codel_drop().
2337
2338 Cc: Eric Dumazet <edumazet@google.com>
2339 Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
2340 Signed-off-by: Cong Wang <cwang@twopensource.com>
2341 Acked-by: Eric Dumazet <edumazet@google.com>
2342 Signed-off-by: David S. Miller <davem@davemloft.net>
578d7714 2343
da1216b9
PK
2344 net/sched/sch_fq_codel.c | 11 ++++++++++-
2345 1 files changed, 10 insertions(+), 1 deletions(-)
578d7714 2346
da1216b9
PK
2347commit 18294b99527edea4cba5cc5aca498d23eafaa81f
2348Author: WANG Cong <xiyou.wangcong@gmail.com>
2349Date: Tue Jul 14 11:21:57 2015 -0700
578d7714 2350
da1216b9
PK
2351 net_sched: fix a use-after-free in sfq
2352
2353 Fixes: 25331d6ce42b ("net: sched: implement qstat helper routines")
2354 Cc: John Fastabend <john.fastabend@gmail.com>
2355 Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
2356 Signed-off-by: Cong Wang <cwang@twopensource.com>
2357 Signed-off-by: David S. Miller <davem@davemloft.net>
578d7714 2358
da1216b9
PK
2359 net/sched/sch_sfq.c | 2 +-
2360 1 files changed, 1 insertions(+), 1 deletions(-)
eeed91c5 2361
da1216b9
PK
2362commit c0cd739353abe2da2e9e08fef1f7ae4e6ae94a0f
2363Author: WANG Cong <xiyou.wangcong@gmail.com>
2364Date: Mon Jul 13 12:30:07 2015 -0700
eeed91c5 2365
da1216b9
PK
2366 fq_codel: fix a use-after-free
2367
2368 Fixes: 25331d6ce42b ("net: sched: implement qstat helper routines")
2369 Cc: John Fastabend <john.fastabend@gmail.com>
2370 Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
2371 Signed-off-by: Cong Wang <cwang@twopensource.com>
2372 Acked-by: Eric Dumazet <edumazet@google.com>
2373 Signed-off-by: David S. Miller <davem@davemloft.net>
eeed91c5 2374
da1216b9
PK
2375 net/sched/sch_fq_codel.c | 2 +-
2376 1 files changed, 1 insertions(+), 1 deletions(-)
eeed91c5 2377
da1216b9
PK
2378commit 5309e574e2fc2c9eb51e3c6d0c18b963e54b6af3
2379Author: Daniel Borkmann <daniel@iogearbox.net>
2380Date: Mon Jul 13 00:06:02 2015 +0200
2381
2382 rtnetlink: reject non-IFLA_VF_PORT attributes inside IFLA_VF_PORTS
2383
2384 Similarly as in commit 4f7d2cdfdde7 ("rtnetlink: verify IFLA_VF_INFO
2385 attributes before passing them to driver"), we have a double nesting
2386 of netlink attributes, i.e. IFLA_VF_PORTS only contains IFLA_VF_PORT
2387 that is nested itself. While IFLA_VF_PORTS is a verified attribute
2388 from ifla_policy[], we only check if the IFLA_VF_PORTS container has
2389 IFLA_VF_PORT attributes and then pass the attribute's content itself
2390 via nla_parse_nested(). It would be more correct to reject inner types
2391 other than IFLA_VF_PORT instead of continuing parsing and also similarly
2392 as in commit 4f7d2cdfdde7, to check for a minimum of NLA_HDRLEN.
2393
2394 Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2395 Cc: Roopa Prabhu <roopa@cumulusnetworks.com>
2396 Cc: Scott Feldman <sfeldma@gmail.com>
2397 Cc: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
2398 Acked-by: Roopa Prabhu <roopa@cumulusnetworks.com>
2399 Signed-off-by: David S. Miller <davem@davemloft.net>
eeed91c5 2400
da1216b9
PK
2401 net/core/rtnetlink.c | 11 +++++++----
2402 1 files changed, 7 insertions(+), 4 deletions(-)
eeed91c5 2403
da1216b9
PK
2404commit 60e851424772877a48d95b4614a35ca7f8922b02
2405Author: Herbert Xu <herbert@gondor.apana.org.au>
2406Date: Mon Jul 13 16:04:13 2015 +0800
2407
2408 net: Clone skb before setting peeked flag
eeed91c5 2409
da1216b9
PK
2410 Shared skbs must not be modified and this is crucial for broadcast
2411 and/or multicast paths where we use it as an optimisation to avoid
2412 unnecessary cloning.
eeed91c5 2413
da1216b9
PK
2414 The function skb_recv_datagram breaks this rule by setting peeked
2415 without cloning the skb first. This causes funky races which leads
2416 to double-free.
eeed91c5 2417
da1216b9
PK
2418 This patch fixes this by cloning the skb and replacing the skb
2419 in the list when setting skb->peeked.
eeed91c5 2420
da1216b9
PK
2421 Fixes: a59322be07c9 ("[UDP]: Only increment counter on first peek/recv")
2422 Reported-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
2423 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2424 Signed-off-by: David S. Miller <davem@davemloft.net>
eeed91c5 2425
da1216b9
PK
2426 net/core/datagram.c | 41 ++++++++++++++++++++++++++++++++++++++---
2427 1 files changed, 38 insertions(+), 3 deletions(-)
eeed91c5 2428
da1216b9
PK
2429commit e8e18c6e6e66399c6c81847457e216931c78888a
2430Author: Richard Stearn <richard@rns-stearn.demon.co.uk>
2431Date: Mon Jul 13 11:38:24 2015 +0200
eeed91c5 2432
da1216b9 2433 NET: AX.25: Stop heartbeat timer on disconnect.
eeed91c5 2434
da1216b9
PK
2435 This may result in a kernel panic. The bug has always existed but
2436 somehow we've run out of luck now and it bites.
eeed91c5 2437
da1216b9
PK
2438 Signed-off-by: Richard Stearn <richard@rns-stearn.demon.co.uk>
2439 Cc: stable@vger.kernel.org # all branches
2440 Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
eeed91c5
PK
2441 Signed-off-by: David S. Miller <davem@davemloft.net>
2442
da1216b9
PK
2443 net/ax25/ax25_subr.c | 1 +
2444 1 files changed, 1 insertions(+), 0 deletions(-)
eeed91c5 2445
da1216b9
PK
2446commit 6091b9490e663f1eb1195581b3c93fc752014aeb
2447Author: Herbert Xu <herbert@gondor.apana.org.au>
2448Date: Mon Jul 13 20:01:42 2015 +0800
eeed91c5 2449
da1216b9 2450 net: Fix skb csum races when peeking
eeed91c5 2451
da1216b9
PK
2452 When we calculate the checksum on the recv path, we store the
2453 result in the skb as an optimisation in case we need the checksum
2454 again down the line.
16159020 2455
da1216b9
PK
2456 This is in fact bogus for the MSG_PEEK case as this is done without
2457 any locking. So multiple threads can peek and then store the result
2458 to the same skb, potentially resulting in bogus skb states.
16159020 2459
da1216b9
PK
2460 This patch fixes this by only storing the result if the skb is not
2461 shared. This preserves the optimisations for the few cases where
2462 it can be done safely due to locking or other reasons, e.g., SIOCINQ.
2463
2464 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2465 Acked-by: Eric Dumazet <edumazet@google.com>
2466 Signed-off-by: David S. Miller <davem@davemloft.net>
16159020 2467
da1216b9
PK
2468 net/core/datagram.c | 15 +++++++++------
2469 1 files changed, 9 insertions(+), 6 deletions(-)
16159020 2470
da1216b9
PK
2471commit 03c466bdf7bbedcd25ee0ec9c0292967b44cc477
2472Author: Dan Carpenter <dan.carpenter@oracle.com>
2473Date: Sun Jul 12 01:20:55 2015 +0300
16159020 2474
da1216b9 2475 net/xen-netback: off by one in BUG_ON() condition
16159020 2476
da1216b9
PK
2477 The > should be >=. I also added spaces around the '-' operations so
2478 the code is a little more consistent and matches the condition better.
16159020 2479
da1216b9
PK
2480 Fixes: f53c3fe8dad7 ('xen-netback: Introduce TX grant mapping')
2481 Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
2482 Signed-off-by: David S. Miller <davem@davemloft.net>
16159020 2483
da1216b9
PK
2484 drivers/net/xen-netback/netback.c | 6 +++---
2485 1 files changed, 3 insertions(+), 3 deletions(-)
16159020 2486
da1216b9
PK
2487commit ed39de3e75da10b25c2bb469c3be5c09049474d0
2488Author: Neil Horman <nhorman@tuxdriver.com>
2489Date: Tue Jul 7 14:02:18 2015 -0400
16159020 2490
da1216b9 2491 vmxnet3: prevent receive getting out of sequence on napi poll
16159020 2492
da1216b9
PK
2493 vmxnet3's current napi path is built to count every rx descriptor we recieve,
2494 and use that as a count of the napi budget. That means its possible to return
2495 from a napi poll halfway through recieving a fragmented packet accross multiple
2496 dma descriptors. If that happens, the next napi poll will start with the
2497 descriptor ring in an improper state (e.g. the first descriptor we look at may
2498 have the end-of-packet bit set), which will cause a BUG halt in the driver.
16159020 2499
da1216b9
PK
2500 Fix the issue by only counting whole received packets in the napi poll and
2501 returning that value, rather than the descriptor count.
16159020 2502
da1216b9
PK
2503 Tested by the reporter and myself, successfully
2504
2505 Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
2506 CC: Shreyas Bhatewara <sbhatewara@vmware.com>
2507 CC: "David S. Miller" <davem@davemloft.net>
2508 Acked-by: Andy Gospodarek <gospo@cumulusnetworks.com>
2509 Signed-off-by: David S. Miller <davem@davemloft.net>
16159020 2510
da1216b9 2511 drivers/net/vmxnet3/vmxnet3_drv.c | 8 ++++----
16159020
PK
2512 1 files changed, 4 insertions(+), 4 deletions(-)
2513
da1216b9
PK
2514commit 3892929957683de4df7b0e8a0c17d7ebd5ca3e4f
2515Author: Johannes Thumshirn <jthumshirn@suse.de>
2516Date: Wed Jul 8 17:16:49 2015 +0200
16159020 2517
da1216b9 2518 macvtap: Destroy minor_idr on module_exit
16159020 2519
da1216b9 2520 Destroy minor_idr on module_exit, reclaiming the allocated memory.
16159020 2521
da1216b9
PK
2522 This was detected by the following semantic patch (written by Luis Rodriguez
2523 <mcgrof@suse.com>)
2524 <SmPL>
2525 @ defines_module_init @
2526 declarer name module_init, module_exit;
2527 declarer name DEFINE_IDR;
2528 identifier init;
2529 @@
16159020 2530
da1216b9 2531 module_init(init);
16159020 2532
da1216b9
PK
2533 @ defines_module_exit @
2534 identifier exit;
2535 @@
16159020 2536
da1216b9 2537 module_exit(exit);
16159020 2538
da1216b9
PK
2539 @ declares_idr depends on defines_module_init && defines_module_exit @
2540 identifier idr;
2541 @@
16159020 2542
da1216b9 2543 DEFINE_IDR(idr);
16159020 2544
da1216b9
PK
2545 @ on_exit_calls_destroy depends on declares_idr && defines_module_exit @
2546 identifier declares_idr.idr, defines_module_exit.exit;
2547 @@
16159020 2548
da1216b9
PK
2549 exit(void)
2550 {
2551 ...
2552 idr_destroy(&idr);
2553 ...
2554 }
babefb38 2555
da1216b9
PK
2556 @ missing_module_idr_destroy depends on declares_idr && defines_module_exit && !on_exit_calls_destroy @
2557 identifier declares_idr.idr, defines_module_exit.exit;
2558 @@
c8714b5a 2559
da1216b9
PK
2560 exit(void)
2561 {
2562 ...
2563 +idr_destroy(&idr);
2564 }
2565 </SmPL>
c8714b5a 2566
da1216b9
PK
2567 Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
2568 Signed-off-by: David S. Miller <davem@davemloft.net>
32ca80f1 2569
da1216b9
PK
2570 drivers/net/macvtap.c | 1 +
2571 1 files changed, 1 insertions(+), 0 deletions(-)
32ca80f1 2572
da1216b9
PK
2573commit ae8298739e89fcd27c26a55ee7633068ad39f201
2574Author: Vaishali Thakkar <vthakkar1994@gmail.com>
2575Date: Wed Jul 8 10:49:30 2015 +0530
32ca80f1 2576
da1216b9
PK
2577 net: systemport: Use eth_hw_addr_random
2578
2579 Use eth_hw_addr_random() instead of calling random_ether_addr().
2580 Here, this change is setting addr_assign_type to NET_ADDR_RANDOM.
2581
2582 The Coccinelle semantic patch that performs this transformation
2583 is as follows:
2584
2585 @@
2586 identifier a,b;
2587 @@
2588
2589 -random_ether_addr(a->b);
2590 +eth_hw_addr_random(a);
2591
2592 Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
2593 Tested-by: Florian Fainelli <f.fainelli@gmail.com>
2594 Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
2595 Signed-off-by: David S. Miller <davem@davemloft.net>
32ca80f1 2596
da1216b9
PK
2597 drivers/net/ethernet/broadcom/bcmsysport.c | 2 +-
2598 1 files changed, 1 insertions(+), 1 deletions(-)
32ca80f1 2599
da1216b9
PK
2600commit eee71120eb1a9bb5289bba524cd8a1d3c86f7916
2601Author: Vutla, Lokesh <lokeshvutla@ti.com>
2602Date: Thu Jul 2 18:33:28 2015 +0530
2603
2604 crypto: omap-des - Fix unmapping of dma channels
2605
2606 dma_unmap_sg() is being called twice after completing the
2607 task. Looks like this is a copy paste error when creating
2608 des driver.
2609 With this the following warn appears during boot:
2610
2611 [ 4.210457] ------------[ cut here ]------------
2612 [ 4.215114] WARNING: CPU: 0 PID: 0 at lib/dma-debug.c:1080 check_unmap+0x710/0x9a0()
2613 [ 4.222899] omap-des 480a5000.des: DMA-API: device driver tries to free DMA memory it has not allocated [device address=0x00000000ab2ce000] [size=8 bytes]
2614 [ 4.236785] Modules linked in:
2615 [ 4.239860] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.14.39-02999-g1bc045a-dirty #182
2616 [ 4.247918] [<c001678c>] (unwind_backtrace) from [<c0012574>] (show_stack+0x10/0x14)
2617 [ 4.255710] [<c0012574>] (show_stack) from [<c05a37e8>] (dump_stack+0x84/0xb8)
2618 [ 4.262977] [<c05a37e8>] (dump_stack) from [<c0046464>] (warn_slowpath_common+0x68/0x8c)
2619 [ 4.271107] [<c0046464>] (warn_slowpath_common) from [<c004651c>] (warn_slowpath_fmt+0x30/0x40)
2620 [ 4.279854] [<c004651c>] (warn_slowpath_fmt) from [<c02d50a4>] (check_unmap+0x710/0x9a0)
2621 [ 4.287991] [<c02d50a4>] (check_unmap) from [<c02d5478>] (debug_dma_unmap_sg+0x90/0x19c)
2622 [ 4.296128] [<c02d5478>] (debug_dma_unmap_sg) from [<c04a77d8>] (omap_des_done_task+0x1cc/0x3e4)
2623 [ 4.304963] [<c04a77d8>] (omap_des_done_task) from [<c004a090>] (tasklet_action+0x84/0x124)
2624 [ 4.313370] [<c004a090>] (tasklet_action) from [<c004a4ac>] (__do_softirq+0xf0/0x20c)
2625 [ 4.321235] [<c004a4ac>] (__do_softirq) from [<c004a840>] (irq_exit+0x98/0xec)
2626 [ 4.328500] [<c004a840>] (irq_exit) from [<c000f9ac>] (handle_IRQ+0x50/0xb0)
2627 [ 4.335589] [<c000f9ac>] (handle_IRQ) from [<c0008688>] (gic_handle_irq+0x28/0x5c)
2628
2629 Removing the duplicate call to dma_unmap_sg().
32ca80f1 2630
da1216b9
PK
2631 Cc: stable@vger.kernel.org
2632 Reported-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2633 Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
2634 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
32ca80f1 2635
da1216b9
PK
2636 drivers/crypto/omap-des.c | 3 ---
2637 1 files changed, 0 insertions(+), 3 deletions(-)
32ca80f1 2638
da1216b9
PK
2639commit 18664b993af1d940bc2fc3a440845840615d77ad
2640Author: Al Viro <viro@zeniv.linux.org.uk>
2641Date: Sun Jul 12 10:34:29 2015 -0400
32ca80f1 2642
da1216b9
PK
2643 9p: don't leave a half-initialized inode sitting around
2644
2645 Cc: stable@vger.kernel.org # all branches
2646 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
32ca80f1 2647
da1216b9
PK
2648 fs/9p/vfs_inode.c | 3 +--
2649 fs/9p/vfs_inode_dotl.c | 3 +--
2650 2 files changed, 2 insertions(+), 4 deletions(-)
32ca80f1 2651
da1216b9
PK
2652commit 5490b434dd429b33e1c7eac3c19f0a8db54bd00e
2653Author: Al Viro <viro@zeniv.linux.org.uk>
2654Date: Sun Jul 12 10:39:45 2015 -0400
32ca80f1 2655
da1216b9
PK
2656 fix a braino in ovl_d_select_inode()
2657
2658 when opening a directory we want the overlayfs inode, not one from
2659 the topmost layer.
2660
2661 Reported-By: Andrey Jr. Melnikov <temnota.am@gmail.com>
2662 Tested-By: Andrey Jr. Melnikov <temnota.am@gmail.com>
2663 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
32ca80f1 2664
da1216b9
PK
2665 fs/overlayfs/inode.c | 3 +++
2666 1 files changed, 3 insertions(+), 0 deletions(-)
e1f904d0 2667
da1216b9
PK
2668commit 36b84539390fc30663a7a026eef598c4656124bc
2669Author: Al Viro <viro@ZenIV.linux.org.uk>
2670Date: Wed Jul 8 02:42:38 2015 +0100
2671
2672 freeing unlinked file indefinitely delayed
2673
2674 Normally opening a file, unlinking it and then closing will have
2675 the inode freed upon close() (provided that it's not otherwise busy and
2676 has no remaining links, of course). However, there's one case where that
2677 does *not* happen. Namely, if you open it by fhandle with cold dcache,
2678 then unlink() and close().
2679
2680 In normal case you get d_delete() in unlink(2) notice that dentry
2681 is busy and unhash it; on the final dput() it will be forcibly evicted from
2682 dcache, triggering iput() and inode removal. In this case, though, we end
2683 up with *two* dentries - disconnected (created by open-by-fhandle) and
2684 regular one (used by unlink()). The latter will have its reference to inode
2685 dropped just fine, but the former will not - it's considered hashed (it
2686 is on the ->s_anon list), so it will stay around until the memory pressure
2687 will finally do it in. As the result, we have the final iput() delayed
2688 indefinitely. It's trivial to reproduce -
2689
2690 void flush_dcache(void)
2691 {
2692 system("mount -o remount,rw /");
2693 }
e1f904d0 2694
da1216b9 2695 static char buf[20 * 1024 * 1024];
e1f904d0 2696
da1216b9
PK
2697 main()
2698 {
2699 int fd;
2700 union {
2701 struct file_handle f;
2702 char buf[MAX_HANDLE_SZ];
2703 } x;
2704 int m;
2705
2706 x.f.handle_bytes = sizeof(x);
2707 chdir("/root");
2708 mkdir("foo", 0700);
2709 fd = open("foo/bar", O_CREAT | O_RDWR, 0600);
2710 close(fd);
2711 name_to_handle_at(AT_FDCWD, "foo/bar", &x.f, &m, 0);
2712 flush_dcache();
2713 fd = open_by_handle_at(AT_FDCWD, &x.f, O_RDWR);
2714 unlink("foo/bar");
2715 write(fd, buf, sizeof(buf));
2716 system("df ."); /* 20Mb eaten */
2717 close(fd);
2718 system("df ."); /* should've freed those 20Mb */
2719 flush_dcache();
2720 system("df ."); /* should be the same as #2 */
2721 }
e1f904d0 2722
da1216b9
PK
2723 will spit out something like
2724 Filesystem 1K-blocks Used Available Use% Mounted on
2725 /dev/root 322023 303843 1131 100% /
2726 Filesystem 1K-blocks Used Available Use% Mounted on
2727 /dev/root 322023 303843 1131 100% /
2728 Filesystem 1K-blocks Used Available Use% Mounted on
2729 /dev/root 322023 283282 21692 93% /
2730 - inode gets freed only when dentry is finally evicted (here we trigger
2731 than by remount; normally it would've happened in response to memory
2732 pressure hell knows when).
2733
2734 Cc: stable@vger.kernel.org # v2.6.38+; earlier ones need s/kill_it/unhash_it/
2735 Acked-by: J. Bruce Fields <bfields@fieldses.org>
2736 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
e1f904d0 2737
da1216b9
PK
2738 fs/dcache.c | 7 +++++--
2739 1 files changed, 5 insertions(+), 2 deletions(-)
e1f904d0 2740
da1216b9 2741commit 96e42524166fe104eb4ce2337ec83d827c5a1f9b
e1f904d0 2742Author: Brad Spengler <spender@grsecurity.net>
da1216b9 2743Date: Fri Jul 24 21:17:42 2015 -0400
e1f904d0 2744
da1216b9
PK
2745 cred_subscribers has to do with the ->cred and ->real_cred fields, not our
2746 delayed_cred field, so don't count it towards it to avoid a BUG() with
2747 DEBUG_CREDENTIALS enabled
e1f904d0 2748
da1216b9
PK
2749 kernel/cred.c | 1 -
2750 1 files changed, 0 insertions(+), 1 deletions(-)
e1f904d0 2751
da1216b9
PK
2752commit 79a0711455de96f695e9eaf404a2e5e125ec918d
2753Merge: 3aae0c0 b917aab
e1f904d0 2754Author: Brad Spengler <spender@grsecurity.net>
da1216b9 2755Date: Fri Jul 24 07:30:44 2015 -0400
e1f904d0
PK
2756
2757 Merge branch 'pax-test' into grsec-test
2758
2759 Conflicts:
da1216b9
PK
2760 drivers/net/ethernet/amd/xgbe/xgbe-dev.c
2761 drivers/tty/serial/8250/8250_core.c
2762 fs/proc/generic.c
e1f904d0 2763
da1216b9
PK
2764commit b917aabeb2d7b2f8621726a3741a312141eb823e
2765Merge: bd9c3c8 c8bde72
e1f904d0 2766Author: Brad Spengler <spender@grsecurity.net>
da1216b9 2767Date: Fri Jul 24 07:19:46 2015 -0400
e1f904d0 2768
da1216b9
PK
2769 Update to pax-linux-4.1.3-test7.patch:
2770 - fixed another silly copy-paste error that would hang the kernel with i386 userland on an amd64 kernel, reported by spender
2771 - fixed silly copy-paste error that would cause early boot crashes on !PCID systems
2772 - disable the use of __int128 when the size overflow plugin is enabled
2773 - fixed plugin compile errors due to the previous update to gcc-common.h
2774 - Emese fixed a size overflow false positive, reported by gaima (https://forums.grsecurity.net/viewtopic.php?f=3&t=4232)
cac6ae42 2775
da1216b9 2776 Merge branch 'linux-4.1.y' into pax-test
cac6ae42 2777
da1216b9
PK
2778 Conflicts:
2779 include/linux/kmemleak.h
cac6ae42 2780
da1216b9
PK
2781commit 3aae0c06150f2d0edd5de7fdc451fcb9d92f6630
2782Author: Brad Spengler <spender@grsecurity.net>
2783Date: Wed Jul 22 20:06:19 2015 -0400
cac6ae42 2784
da1216b9 2785 fix label typo in PCID alternatives, from pipacs
cac6ae42 2786
da1216b9
PK
2787 arch/x86/kernel/entry_64.S | 2 +-
2788 1 files changed, 1 insertions(+), 1 deletions(-)
89de23c2 2789
da1216b9
PK
2790commit 4e8c0f54ad0df5a9bd15a8a7d9dd80dd8f9abbca
2791Author: Brad Spengler <spender@grsecurity.net>
2792Date: Sun Jul 12 11:12:01 2015 -0400
89de23c2 2793
da1216b9 2794 sm750 constify compile fix
89de23c2 2795
da1216b9
PK
2796 drivers/staging/sm750fb/sm750.c | 16 +++++++++++-----
2797 1 files changed, 11 insertions(+), 5 deletions(-)
89de23c2 2798
da1216b9 2799commit 7b41532287be8596b40ff8a89260a2e77535ab6f
3969d2a7 2800Author: Brad Spengler <spender@grsecurity.net>
da1216b9 2801Date: Sun Jul 12 10:33:11 2015 -0400
3969d2a7
PK
2802
2803 Update size_overflow hash table
2804
da1216b9
PK
2805 .../size_overflow_plugin/size_overflow_hash.data | 713 +++++++++++++++-----
2806 1 files changed, 555 insertions(+), 158 deletions(-)
3969d2a7 2807
da1216b9 2808commit 180d814a4601c8f53bb5147cfb902e79a1936e44
3969d2a7 2809Author: Brad Spengler <spender@grsecurity.net>
da1216b9 2810Date: Sun Jul 12 02:33:19 2015 -0400
3969d2a7 2811
da1216b9 2812 serial constify compile fixes
3969d2a7 2813
da1216b9
PK
2814 drivers/tty/serial/8250/8250_core.c | 8 +++++---
2815 drivers/tty/serial/uartlite.c | 4 ++--
2816 2 files changed, 7 insertions(+), 5 deletions(-)
3969d2a7 2817
da1216b9 2818commit 338a2a25ce91d3355a1534f889019f7769ca7ba2
3969d2a7 2819Author: Brad Spengler <spender@grsecurity.net>
da1216b9 2820Date: Sun Jul 12 02:05:44 2015 -0400
3969d2a7 2821
da1216b9 2822 rtc constify compile fix
3969d2a7 2823
da1216b9
PK
2824 drivers/rtc/rtc-test.c | 6 ++++--
2825 1 files changed, 4 insertions(+), 2 deletions(-)
3969d2a7 2826
da1216b9 2827commit 48cf6904def83d1dfd7131960f69c2088d96a8a8
3969d2a7 2828Author: Brad Spengler <spender@grsecurity.net>
da1216b9 2829Date: Sun Jul 12 01:45:49 2015 -0400
3969d2a7 2830
da1216b9 2831 more amd xgbe constify compile fixes
3969d2a7 2832
da1216b9
PK
2833 drivers/net/ethernet/amd/xgbe/xgbe-desc.c | 2 +-
2834 drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 4 ++--
2835 drivers/net/ethernet/amd/xgbe/xgbe.h | 8 ++++----
2836 3 files changed, 7 insertions(+), 7 deletions(-)
3969d2a7 2837
da1216b9 2838commit edb5beab2ed5cdc8b86cf2c00feded7b1ff7015a
4b05c312 2839Author: Brad Spengler <spender@grsecurity.net>
da1216b9 2840Date: Sun Jul 12 01:26:30 2015 -0400
4b05c312 2841
da1216b9 2842 hid sensor constify compile fix
4b05c312 2843
da1216b9
PK
2844 drivers/hid/hid-sensor-custom.c | 4 ++--
2845 1 files changed, 2 insertions(+), 2 deletions(-)
4b05c312 2846
da1216b9 2847commit 6426185a4a34d7fcdaad8affcf163378bc2f44a0
07800abd 2848Author: Brad Spengler <spender@grsecurity.net>
da1216b9 2849Date: Sun Jul 12 01:15:39 2015 -0400
07800abd 2850
da1216b9 2851 hid sensor constify fix
07800abd 2852
da1216b9
PK
2853 drivers/hid/hid-sensor-custom.c | 2 +-
2854 1 files changed, 1 insertions(+), 1 deletions(-)
07800abd 2855
da1216b9 2856commit d1a8ca75a5391570183688fc7a769a90ac09c49f
07800abd 2857Author: Brad Spengler <spender@grsecurity.net>
da1216b9 2858Date: Sun Jul 12 01:09:37 2015 -0400
07800abd 2859
da1216b9 2860 constify compile fix on dsa_netdevice_nb
07800abd 2861
da1216b9
PK
2862 net/dsa/dsa.c | 2 +-
2863 1 files changed, 1 insertions(+), 1 deletions(-)
6ae3ce5b 2864
da1216b9 2865commit b649e0688cb346fa71b84ff77dc52791c6d418ed
6ae3ce5b 2866Author: Brad Spengler <spender@grsecurity.net>
da1216b9 2867Date: Sun Jul 12 00:57:38 2015 -0400
6ae3ce5b 2868
da1216b9 2869 more amd xgbe compile fixes
6ae3ce5b 2870
da1216b9
PK
2871 drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 2 +-
2872 drivers/net/ethernet/amd/xgbe/xgbe.h | 4 ++--
2873 2 files changed, 3 insertions(+), 3 deletions(-)
6ae3ce5b 2874
da1216b9 2875commit b4a813cf341440108d351bcd8114d7d6656184dd
6ae3ce5b 2876Author: Brad Spengler <spender@grsecurity.net>
da1216b9 2877Date: Sun Jul 12 00:42:04 2015 -0400
6ae3ce5b 2878
da1216b9 2879 compile fixes for amd xgbe driver
6ae3ce5b 2880
da1216b9
PK
2881 drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 144 +++++++++++++++---------------
2882 1 files changed, 72 insertions(+), 72 deletions(-)
6ae3ce5b 2883
da1216b9 2884commit d78936ae01718c4f9a3dfe76cdbf4345df050d81
3764e23b 2885Author: Brad Spengler <spender@grsecurity.net>
da1216b9 2886Date: Sun Jul 12 00:13:37 2015 -0400
6181b738
PK
2887
2888 compile fix
2889
da1216b9
PK
2890 grsecurity/gracl_fs.c | 3 ---
2891 1 files changed, 0 insertions(+), 3 deletions(-)
fed340c0 2892
da1216b9 2893commit b7255f77200fb7b508be06c7b2dd3d1e3c403a5b
fed340c0 2894Author: Brad Spengler <spender@grsecurity.net>
da1216b9 2895Date: Sun Jul 12 00:07:19 2015 -0400
fed340c0 2896
da1216b9 2897 compile fix and fix tracefs const modification
fed340c0 2898
da1216b9
PK
2899 fs/tracefs/inode.c | 6 ++++--
2900 grsecurity/gracl.c | 4 ++--
2901 2 files changed, 6 insertions(+), 4 deletions(-)
fed340c0 2902
da1216b9 2903commit 83873aba9c78a658e782ec826cbb5b0e671e4da9
fed340c0 2904Author: Brad Spengler <spender@grsecurity.net>
da1216b9 2905Date: Sun Jul 12 00:02:28 2015 -0400
6883c528 2906
8cf17962 2907 compile fix
6883c528 2908
da1216b9
PK
2909 include/linux/capability.h | 8 ++++++++
2910 1 files changed, 8 insertions(+), 0 deletions(-)
883d498e 2911
da1216b9 2912commit a24d90f1ab8314d612035d9fbf8d5de83a0818a8
76e7c0f9 2913Author: Brad Spengler <spender@grsecurity.net>
da1216b9 2914Date: Sat Jul 11 23:56:19 2015 -0400
76e7c0f9 2915
da1216b9 2916 Initial import of grsecurity 3.1 for Linux 4.1
76e7c0f9 2917
6090327c 2918 Documentation/dontdiff | 2 +
e8242a6d 2919 Documentation/kernel-parameters.txt | 7 +
a8b227b4 2920 Makefile | 18 +-
6090327c
PK
2921 arch/alpha/include/asm/cache.h | 4 +-
2922 arch/alpha/kernel/osf_sys.c | 12 +-
2923 arch/arm/Kconfig | 1 +
2924 arch/arm/include/asm/thread_info.h | 9 +-
2925 arch/arm/kernel/process.c | 4 +-
2926 arch/arm/kernel/ptrace.c | 9 +
2927 arch/arm/kernel/traps.c | 7 +-
2928 arch/arm/mm/Kconfig | 2 +-
2929 arch/arm/mm/fault.c | 40 +-
2930 arch/arm/mm/mmap.c | 8 +-
0986ccbe 2931 arch/arm/net/bpf_jit_32.c | 4 +
6090327c
PK
2932 arch/avr32/include/asm/cache.h | 4 +-
2933 arch/blackfin/include/asm/cache.h | 3 +-
2934 arch/cris/include/arch-v10/arch/cache.h | 3 +-
2935 arch/cris/include/arch-v32/arch/cache.h | 3 +-
2936 arch/frv/include/asm/cache.h | 3 +-
2937 arch/frv/mm/elf-fdpic.c | 4 +-
2938 arch/hexagon/include/asm/cache.h | 6 +-
2939 arch/ia64/Kconfig | 1 +
2940 arch/ia64/include/asm/cache.h | 3 +-
2941 arch/ia64/kernel/sys_ia64.c | 2 +
2942 arch/ia64/mm/hugetlbpage.c | 2 +
2943 arch/m32r/include/asm/cache.h | 4 +-
2944 arch/m68k/include/asm/cache.h | 4 +-
2945 arch/metag/mm/hugetlbpage.c | 1 +
2946 arch/microblaze/include/asm/cache.h | 3 +-
2947 arch/mips/Kconfig | 1 +
2948 arch/mips/include/asm/cache.h | 3 +-
2949 arch/mips/include/asm/thread_info.h | 11 +-
da1216b9 2950 arch/mips/kernel/irq.c | 3 +
6090327c
PK
2951 arch/mips/kernel/ptrace.c | 9 +
2952 arch/mips/mm/mmap.c | 4 +-
2953 arch/mn10300/proc-mn103e010/include/proc/cache.h | 4 +-
2954 arch/mn10300/proc-mn2ws0050/include/proc/cache.h | 4 +-
2955 arch/openrisc/include/asm/cache.h | 4 +-
2956 arch/parisc/include/asm/cache.h | 5 +-
2957 arch/parisc/kernel/sys_parisc.c | 4 +
2958 arch/powerpc/Kconfig | 1 +
2959 arch/powerpc/include/asm/cache.h | 3 +-
2960 arch/powerpc/include/asm/thread_info.h | 5 +-
2961 arch/powerpc/kernel/Makefile | 2 +
2962 arch/powerpc/kernel/irq.c | 3 +
2963 arch/powerpc/kernel/process.c | 10 +-
2964 arch/powerpc/kernel/ptrace.c | 14 +
2965 arch/powerpc/kernel/traps.c | 5 +
6090327c 2966 arch/powerpc/mm/slice.c | 2 +-
6090327c
PK
2967 arch/s390/include/asm/cache.h | 4 +-
2968 arch/score/include/asm/cache.h | 4 +-
2969 arch/sh/include/asm/cache.h | 3 +-
2970 arch/sh/mm/mmap.c | 6 +-
2971 arch/sparc/include/asm/cache.h | 4 +-
0986ccbe
PK
2972 arch/sparc/include/asm/pgalloc_64.h | 1 +
2973 arch/sparc/include/asm/thread_info_64.h | 8 +-
6090327c
PK
2974 arch/sparc/kernel/process_32.c | 6 +-
2975 arch/sparc/kernel/process_64.c | 8 +-
2976 arch/sparc/kernel/ptrace_64.c | 14 +
2977 arch/sparc/kernel/sys_sparc_64.c | 8 +-
2978 arch/sparc/kernel/syscalls.S | 8 +-
2979 arch/sparc/kernel/traps_32.c | 8 +-
2980 arch/sparc/kernel/traps_64.c | 28 +-
2981 arch/sparc/kernel/unaligned_64.c | 2 +-
2982 arch/sparc/mm/fault_64.c | 2 +-
2983 arch/sparc/mm/hugetlbpage.c | 15 +-
2984 arch/tile/Kconfig | 1 +
2985 arch/tile/include/asm/cache.h | 3 +-
2986 arch/tile/mm/hugetlbpage.c | 2 +
2987 arch/um/include/asm/cache.h | 3 +-
2988 arch/unicore32/include/asm/cache.h | 6 +-
0986ccbe 2989 arch/x86/Kconfig | 5 +
6090327c
PK
2990 arch/x86/ia32/ia32_aout.c | 2 +
2991 arch/x86/include/asm/floppy.h | 20 +-
2992 arch/x86/include/asm/io.h | 2 +-
2993 arch/x86/include/asm/page.h | 12 +-
2994 arch/x86/include/asm/paravirt_types.h | 23 +-
2995 arch/x86/include/asm/processor.h | 2 +-
2996 arch/x86/include/asm/thread_info.h | 8 +-
a8b227b4 2997 arch/x86/kernel/dumpstack.c | 10 +-
6090327c
PK
2998 arch/x86/kernel/dumpstack_32.c | 2 +-
2999 arch/x86/kernel/dumpstack_64.c | 2 +-
3000 arch/x86/kernel/entry_32.S | 2 +-
e8242a6d 3001 arch/x86/kernel/entry_64.S | 2 +-
8cf17962 3002 arch/x86/kernel/espfix_64.c | 2 +-
6090327c
PK
3003 arch/x86/kernel/ioport.c | 13 +
3004 arch/x86/kernel/irq_32.c | 3 +
3005 arch/x86/kernel/irq_64.c | 4 +
6090327c
PK
3006 arch/x86/kernel/msr.c | 10 +
3007 arch/x86/kernel/ptrace.c | 28 +
3008 arch/x86/kernel/signal.c | 9 +-
3009 arch/x86/kernel/sys_i386_32.c | 9 +-
3010 arch/x86/kernel/sys_x86_64.c | 8 +-
3011 arch/x86/kernel/traps.c | 5 +
3012 arch/x86/kernel/verify_cpu.S | 1 +
3013 arch/x86/kernel/vm86_32.c | 16 +
da1216b9
PK
3014 arch/x86/kvm/lapic.h | 2 +-
3015 arch/x86/lib/usercopy.c | 2 +-
6090327c
PK
3016 arch/x86/mm/fault.c | 12 +-
3017 arch/x86/mm/hugetlbpage.c | 15 +-
3018 arch/x86/mm/init.c | 66 +-
3019 arch/x86/mm/init_32.c | 6 +-
0986ccbe 3020 arch/x86/net/bpf_jit_comp.c | 4 +
a8b227b4 3021 arch/x86/platform/efi/efi_64.c | 2 +-
6090327c
PK
3022 arch/x86/xen/Kconfig | 1 +
3023 arch/xtensa/variants/dc232b/include/variant/core.h | 2 +-
3024 arch/xtensa/variants/fsf/include/variant/core.h | 3 +-
6090327c
PK
3025 drivers/acpi/acpica/hwxfsleep.c | 11 +-
3026 drivers/acpi/custom_method.c | 4 +
3027 drivers/block/cciss.h | 30 +-
6090327c
PK
3028 drivers/block/smart1,2.h | 40 +-
3029 drivers/cdrom/cdrom.c | 2 +-
3030 drivers/char/Kconfig | 4 +-
3031 drivers/char/genrtc.c | 1 +
3032 drivers/char/mem.c | 17 +
3033 drivers/char/random.c | 5 +-
3034 drivers/cpufreq/sparc-us3-cpufreq.c | 2 -
3035 drivers/firewire/ohci.c | 4 +
da1216b9
PK
3036 drivers/gpu/drm/drm_context.c | 50 +-
3037 drivers/gpu/drm/drm_drv.c | 11 +-
3038 drivers/gpu/drm/drm_lock.c | 18 +-
3039 drivers/gpu/drm/i915/i915_dma.c | 2 +
3040 drivers/gpu/drm/nouveau/nouveau_drm.c | 3 +-
6090327c
PK
3041 drivers/gpu/drm/nouveau/nouveau_ttm.c | 30 +-
3042 drivers/gpu/drm/ttm/ttm_bo_manager.c | 10 +-
3043 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c | 10 +-
6090327c
PK
3044 drivers/hid/hid-wiimote-debug.c | 2 +-
3045 drivers/infiniband/hw/nes/nes_cm.c | 22 +-
0986ccbe 3046 drivers/iommu/amd_iommu.c | 14 +-
6090327c
PK
3047 drivers/isdn/gigaset/bas-gigaset.c | 32 +-
3048 drivers/isdn/gigaset/ser-gigaset.c | 32 +-
3049 drivers/isdn/gigaset/usb-gigaset.c | 32 +-
3050 drivers/isdn/i4l/isdn_concap.c | 6 +-
3051 drivers/isdn/i4l/isdn_x25iface.c | 16 +-
a8b227b4
PK
3052 drivers/md/raid5.c | 8 +
3053 drivers/media/pci/solo6x10/solo6x10-g723.c | 2 +-
6090327c 3054 drivers/media/radio/radio-cadet.c | 5 +-
a8b227b4
PK
3055 drivers/media/usb/dvb-usb/cinergyT2-core.c | 91 +-
3056 drivers/media/usb/dvb-usb/cinergyT2-fe.c | 182 +-
6090327c
PK
3057 drivers/media/usb/dvb-usb/dvb-usb-firmware.c | 37 +-
3058 drivers/media/usb/dvb-usb/technisat-usb2.c | 75 +-
3059 drivers/message/fusion/mptbase.c | 9 +
3060 drivers/misc/sgi-xp/xp_main.c | 12 +-
6090327c
PK
3061 drivers/net/ethernet/brocade/bna/bna_enet.c | 8 +-
3062 drivers/net/wan/lmc/lmc_media.c | 97 +-
3063 drivers/net/wan/z85230.c | 24 +-
3064 drivers/net/wireless/zd1211rw/zd_usb.c | 2 +-
da1216b9 3065 drivers/nfc/st21nfca/st21nfca.c | 11 +-
6090327c
PK
3066 drivers/pci/proc.c | 9 +
3067 drivers/platform/x86/asus-wmi.c | 12 +
3068 drivers/rtc/rtc-dev.c | 3 +
3069 drivers/scsi/bfa/bfa_fcs.c | 19 +-
3070 drivers/scsi/bfa/bfa_fcs_lport.c | 29 +-
3071 drivers/scsi/bfa/bfa_modules.h | 12 +-
e8242a6d 3072 drivers/scsi/hpsa.h | 40 +-
6090327c
PK
3073 drivers/staging/lustre/lustre/ldlm/ldlm_flock.c | 2 +-
3074 drivers/staging/lustre/lustre/libcfs/module.c | 10 +-
6090327c
PK
3075 drivers/tty/sysrq.c | 2 +-
3076 drivers/tty/vt/keyboard.c | 22 +-
3077 drivers/uio/uio.c | 6 +-
3078 drivers/usb/core/hub.c | 5 +
da1216b9 3079 drivers/usb/gadget/configfs.c | 2 +-
a8b227b4
PK
3080 drivers/usb/gadget/function/f_uac1.c | 1 +
3081 drivers/usb/gadget/function/u_uac1.c | 1 +
6090327c
PK
3082 drivers/usb/host/hwa-hc.c | 9 +-
3083 drivers/video/fbdev/arcfb.c | 2 +-
3084 drivers/video/fbdev/matrox/matroxfb_DAC1064.c | 10 +-
3085 drivers/video/fbdev/matrox/matroxfb_Ti3026.c | 5 +-
3086 drivers/video/fbdev/sh_mobile_lcdcfb.c | 6 +-
da1216b9 3087 drivers/video/logo/logo_linux_clut224.ppm | 2720 ++++-----
6090327c 3088 drivers/xen/xenfs/xenstored.c | 5 +
da1216b9
PK
3089 firmware/Makefile | 1 +
3090 firmware/WHENCE | 19 +-
3091 firmware/bnx2/bnx2-mips-09-6.2.1b.fw.ihex | 6496 ++++++++++++++++++++
6090327c
PK
3092 fs/attr.c | 1 +
3093 fs/autofs4/waitq.c | 9 +
3094 fs/binfmt_aout.c | 7 +
3095 fs/binfmt_elf.c | 40 +-
6090327c 3096 fs/compat.c | 20 +-
da1216b9 3097 fs/configfs/item.c | 4 +-
6090327c 3098 fs/coredump.c | 17 +-
8cf17962 3099 fs/dcache.c | 3 +
da1216b9
PK
3100 fs/debugfs/inode.c | 11 +-
3101 fs/exec.c | 218 +-
6090327c 3102 fs/ext2/balloc.c | 4 +-
0986ccbe 3103 fs/ext2/super.c | 8 +-
6090327c 3104 fs/ext3/balloc.c | 4 +-
0986ccbe 3105 fs/ext3/super.c | 8 +-
6090327c 3106 fs/ext4/balloc.c | 4 +-
0986ccbe 3107 fs/fcntl.c | 4 +
da1216b9 3108 fs/fhandle.c | 3 +-
6090327c
PK
3109 fs/file.c | 4 +
3110 fs/filesystems.c | 4 +
e8242a6d 3111 fs/fs_struct.c | 20 +-
6090327c
PK
3112 fs/hugetlbfs/inode.c | 5 +-
3113 fs/inode.c | 6 +-
8cf17962 3114 fs/kernfs/dir.c | 6 +
6090327c 3115 fs/mount.h | 4 +-
da1216b9 3116 fs/namei.c | 240 +-
8cf17962 3117 fs/namespace.c | 24 +
a8b227b4 3118 fs/nfsd/nfscache.c | 2 +-
6090327c 3119 fs/open.c | 38 +
da1216b9 3120 fs/overlayfs/super.c | 6 +-
6090327c
PK
3121 fs/pipe.c | 2 +-
3122 fs/posix_acl.c | 15 +-
3123 fs/proc/Kconfig | 10 +-
0986ccbe 3124 fs/proc/array.c | 66 +-
da1216b9 3125 fs/proc/base.c | 163 +-
6090327c
PK
3126 fs/proc/cmdline.c | 4 +
3127 fs/proc/devices.c | 4 +
3128 fs/proc/fd.c | 17 +-
e8242a6d 3129 fs/proc/generic.c | 64 +
6090327c 3130 fs/proc/inode.c | 17 +
0986ccbe 3131 fs/proc/internal.h | 11 +-
6090327c
PK
3132 fs/proc/interrupts.c | 4 +
3133 fs/proc/kcore.c | 3 +
3134 fs/proc/proc_net.c | 31 +
3135 fs/proc/proc_sysctl.c | 52 +-
3136 fs/proc/root.c | 8 +
3137 fs/proc/stat.c | 69 +-
e8242a6d 3138 fs/proc/task_mmu.c | 66 +-
6090327c
PK
3139 fs/readdir.c | 19 +
3140 fs/reiserfs/item_ops.c | 24 +-
0986ccbe 3141 fs/reiserfs/super.c | 4 +
6090327c 3142 fs/select.c | 2 +
8cf17962 3143 fs/seq_file.c | 37 +-
6090327c 3144 fs/stat.c | 20 +-
e8242a6d 3145 fs/sysfs/dir.c | 30 +-
6090327c 3146 fs/utimes.c | 7 +
8cf17962 3147 fs/xattr.c | 26 +-
da1216b9 3148 grsecurity/Kconfig | 1182 ++++
6090327c 3149 grsecurity/Makefile | 54 +
da1216b9 3150 grsecurity/gracl.c | 2757 +++++++++
6090327c 3151 grsecurity/gracl_alloc.c | 105 +
a8b227b4 3152 grsecurity/gracl_cap.c | 127 +
da1216b9
PK
3153 grsecurity/gracl_compat.c | 269 +
3154 grsecurity/gracl_fs.c | 451 ++
3155 grsecurity/gracl_ip.c | 386 ++
3156 grsecurity/gracl_learn.c | 207 +
3157 grsecurity/gracl_policy.c | 1786 ++++++
6090327c 3158 grsecurity/gracl_res.c | 68 +
da1216b9 3159 grsecurity/gracl_segv.c | 304 +
6090327c
PK
3160 grsecurity/gracl_shm.c | 40 +
3161 grsecurity/grsec_chdir.c | 19 +
da1216b9
PK
3162 grsecurity/grsec_chroot.c | 467 ++
3163 grsecurity/grsec_disabled.c | 445 ++
3164 grsecurity/grsec_exec.c | 189 +
3165 grsecurity/grsec_fifo.c | 26 +
6090327c 3166 grsecurity/grsec_fork.c | 23 +
da1216b9 3167 grsecurity/grsec_init.c | 290 +
6090327c 3168 grsecurity/grsec_ipc.c | 48 +
da1216b9
PK
3169 grsecurity/grsec_link.c | 59 +
3170 grsecurity/grsec_log.c | 341 +
6090327c
PK
3171 grsecurity/grsec_mem.c | 48 +
3172 grsecurity/grsec_mount.c | 65 +
3173 grsecurity/grsec_pax.c | 45 +
3174 grsecurity/grsec_proc.c | 20 +
3175 grsecurity/grsec_ptrace.c | 30 +
da1216b9
PK
3176 grsecurity/grsec_sig.c | 236 +
3177 grsecurity/grsec_sock.c | 244 +
3178 grsecurity/grsec_sysctl.c | 488 ++
6090327c
PK
3179 grsecurity/grsec_time.c | 16 +
3180 grsecurity/grsec_tpe.c | 78 +
3181 grsecurity/grsec_usb.c | 15 +
3182 grsecurity/grsum.c | 64 +
da1216b9 3183 include/drm/drmP.h | 23 +-
6090327c
PK
3184 include/linux/binfmts.h | 5 +-
3185 include/linux/capability.h | 5 +
3186 include/linux/compiler-gcc4.h | 5 +
da1216b9 3187 include/linux/compiler-gcc5.h | 5 +
6090327c 3188 include/linux/compiler.h | 8 +
da1216b9 3189 include/linux/configfs.h | 2 +-
6090327c 3190 include/linux/cred.h | 8 +-
8cf17962 3191 include/linux/dcache.h | 5 +-
6090327c
PK
3192 include/linux/fs.h | 24 +-
3193 include/linux/fs_struct.h | 2 +-
3194 include/linux/fsnotify.h | 6 +
da1216b9
PK
3195 include/linux/gracl.h | 342 +
3196 include/linux/gracl_compat.h | 156 +
6090327c
PK
3197 include/linux/gralloc.h | 9 +
3198 include/linux/grdefs.h | 140 +
da1216b9 3199 include/linux/grinternal.h | 230 +
8cf17962 3200 include/linux/grmsg.h | 118 +
da1216b9 3201 include/linux/grsecurity.h | 247 +
6090327c
PK
3202 include/linux/grsock.h | 19 +
3203 include/linux/ipc_namespace.h | 2 +-
3204 include/linux/kallsyms.h | 18 +-
3205 include/linux/kmod.h | 5 +
3206 include/linux/kobject.h | 2 +-
8cf17962 3207 include/linux/mm.h | 12 +
6090327c
PK
3208 include/linux/mm_types.h | 4 +-
3209 include/linux/module.h | 4 +-
3210 include/linux/mount.h | 2 +-
3211 include/linux/netfilter/xt_gradm.h | 9 +
3212 include/linux/path.h | 4 +-
3213 include/linux/perf_event.h | 13 +-
3214 include/linux/pid_namespace.h | 2 +-
8cf17962 3215 include/linux/printk.h | 2 +-
6090327c
PK
3216 include/linux/proc_fs.h | 22 +-
3217 include/linux/proc_ns.h | 2 +-
3218 include/linux/random.h | 2 +-
3219 include/linux/rbtree_augmented.h | 4 +-
da1216b9 3220 include/linux/scatterlist.h | 12 +-
6090327c
PK
3221 include/linux/sched.h | 104 +-
3222 include/linux/security.h | 3 +-
3223 include/linux/seq_file.h | 5 +
3224 include/linux/shm.h | 4 +
3225 include/linux/skbuff.h | 3 +
3226 include/linux/slab.h | 9 -
3227 include/linux/sysctl.h | 4 +-
3228 include/linux/thread_info.h | 6 +-
3229 include/linux/tty.h | 2 +-
3230 include/linux/tty_driver.h | 4 +-
3231 include/linux/uidgid.h | 5 +
3232 include/linux/user_namespace.h | 2 +-
3233 include/linux/utsname.h | 2 +-
3234 include/linux/vermagic.h | 16 +-
3235 include/linux/vmalloc.h | 4 +
3236 include/net/af_unix.h | 2 +-
3237 include/net/ip.h | 2 +-
3238 include/net/neighbour.h | 2 +-
3239 include/net/net_namespace.h | 2 +-
e8242a6d 3240 include/net/sock.h | 2 +-
6090327c 3241 include/trace/events/fs.h | 53 +
da1216b9 3242 include/uapi/drm/i915_drm.h | 1 +
6090327c
PK
3243 include/uapi/linux/personality.h | 1 +
3244 init/Kconfig | 3 +-
e8242a6d 3245 init/main.c | 35 +-
6090327c 3246 ipc/mqueue.c | 1 +
0986ccbe 3247 ipc/shm.c | 23 +
6090327c 3248 ipc/util.c | 6 +
da1216b9 3249 kernel/auditsc.c | 2 +-
0986ccbe 3250 kernel/bpf/syscall.c | 8 +-
6090327c 3251 kernel/capability.c | 41 +-
0986ccbe 3252 kernel/cgroup.c | 5 +-
6090327c
PK
3253 kernel/compat.c | 1 +
3254 kernel/configs.c | 11 +
3255 kernel/cred.c | 113 +-
3256 kernel/events/core.c | 14 +-
3257 kernel/exit.c | 10 +-
3258 kernel/fork.c | 86 +-
3259 kernel/futex.c | 4 +-
3260 kernel/kallsyms.c | 9 +
3261 kernel/kcmp.c | 4 +
e8242a6d 3262 kernel/kmod.c | 95 +-
6090327c
PK
3263 kernel/kprobes.c | 7 +-
3264 kernel/ksysfs.c | 2 +
3265 kernel/locking/lockdep_proc.c | 10 +-
3266 kernel/module.c | 106 +-
3267 kernel/panic.c | 4 +-
3268 kernel/pid.c | 19 +-
6090327c
PK
3269 kernel/power/Kconfig | 2 +
3270 kernel/printk/printk.c | 5 +
3271 kernel/ptrace.c | 20 +-
6090327c
PK
3272 kernel/resource.c | 10 +
3273 kernel/sched/core.c | 11 +-
3274 kernel/signal.c | 37 +-
a8b227b4 3275 kernel/sys.c | 64 +-
6090327c
PK
3276 kernel/sysctl.c | 71 +-
3277 kernel/taskstats.c | 6 +
a8b227b4
PK
3278 kernel/time/posix-timers.c | 8 +
3279 kernel/time/time.c | 5 +
6090327c
PK
3280 kernel/time/timekeeping.c | 3 +
3281 kernel/time/timer_list.c | 12 +
3282 kernel/time/timer_stats.c | 10 +-
da1216b9 3283 kernel/trace/trace_events_filter.c | 6 +
0986ccbe 3284 kernel/trace/trace_syscalls.c | 8 +
6090327c
PK
3285 kernel/user_namespace.c | 15 +
3286 lib/Kconfig.debug | 7 +-
3287 lib/is_single_threaded.c | 3 +
3288 lib/list_debug.c | 65 +-
e8242a6d 3289 lib/nlattr.c | 2 +
6090327c 3290 lib/rbtree.c | 4 +-
a8b227b4 3291 lib/vsprintf.c | 37 +-
6090327c
PK
3292 localversion-grsec | 1 +
3293 mm/Kconfig | 5 +-
e8242a6d 3294 mm/Kconfig.debug | 1 +
6090327c
PK
3295 mm/filemap.c | 1 +
3296 mm/kmemleak.c | 4 +-
da1216b9 3297 mm/memory.c | 2 +-
6090327c
PK
3298 mm/mempolicy.c | 12 +-
3299 mm/migrate.c | 3 +-
3300 mm/mlock.c | 6 +-
e8242a6d 3301 mm/mmap.c | 93 +-
6090327c 3302 mm/mprotect.c | 8 +
e8242a6d 3303 mm/page_alloc.c | 2 +-
6090327c
PK
3304 mm/process_vm_access.c | 6 +
3305 mm/shmem.c | 2 +-
3306 mm/slab.c | 2 +-
3307 mm/slab_common.c | 2 +-
3308 mm/slub.c | 22 +-
3309 mm/util.c | 3 +
e8242a6d 3310 mm/vmalloc.c | 72 +-
6090327c
PK
3311 mm/vmstat.c | 29 +-
3312 net/appletalk/atalk_proc.c | 2 +-
3313 net/atm/lec.c | 6 +-
3314 net/atm/mpoa_caches.c | 42 +-
da1216b9 3315 net/bridge/br_mdb.c | 2 +
6090327c
PK
3316 net/can/bcm.c | 2 +-
3317 net/can/proc.c | 2 +-
0986ccbe 3318 net/core/dev_ioctl.c | 7 +-
6090327c
PK
3319 net/core/filter.c | 8 +-
3320 net/core/net-procfs.c | 17 +-
3321 net/core/pktgen.c | 2 +-
e8242a6d 3322 net/core/sock.c | 3 +-
0986ccbe 3323 net/core/sysctl_net_core.c | 2 +-
6090327c 3324 net/decnet/dn_dev.c | 2 +-
0986ccbe 3325 net/ipv4/devinet.c | 6 +-
6090327c 3326 net/ipv4/inet_hashtables.c | 5 +
a8b227b4 3327 net/ipv4/ip_input.c | 7 +
6090327c
PK
3328 net/ipv4/ip_sockglue.c | 3 +-
3329 net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 +-
3330 net/ipv4/route.c | 6 +-
da1216b9 3331 net/ipv4/tcp_input.c | 4 +-
6090327c
PK
3332 net/ipv4/tcp_ipv4.c | 24 +-
3333 net/ipv4/tcp_minisocks.c | 9 +-
3334 net/ipv4/tcp_timer.c | 11 +
3335 net/ipv4/udp.c | 24 +
e8242a6d 3336 net/ipv6/addrconf.c | 13 +-
6090327c
PK
3337 net/ipv6/proc.c | 2 +-
3338 net/ipv6/tcp_ipv6.c | 23 +-
3339 net/ipv6/udp.c | 7 +
3340 net/ipx/ipx_proc.c | 2 +-
3341 net/irda/irproc.c | 2 +-
3342 net/llc/llc_proc.c | 2 +-
3343 net/netfilter/Kconfig | 10 +
3344 net/netfilter/Makefile | 1 +
3345 net/netfilter/nf_conntrack_core.c | 8 +
3346 net/netfilter/xt_gradm.c | 51 +
3347 net/netfilter/xt_hashlimit.c | 4 +-
3348 net/netfilter/xt_recent.c | 2 +-
8cf17962 3349 net/socket.c | 71 +-
6090327c
PK
3350 net/sunrpc/cache.c | 2 +-
3351 net/sunrpc/stats.c | 2 +-
3352 net/sysctl_net.c | 2 +-
da1216b9 3353 net/tipc/socket.c | 1 +
e8242a6d 3354 net/unix/af_unix.c | 52 +-
6090327c
PK
3355 net/vmw_vsock/vmci_transport_notify.c | 30 +-
3356 net/vmw_vsock/vmci_transport_notify_qstate.c | 30 +-
3357 net/x25/sysctl_net_x25.c | 2 +-
3358 net/x25/x25_proc.c | 2 +-
0986ccbe
PK
3359 scripts/package/Makefile | 2 +-
3360 scripts/package/mkspec | 38 +-
da1216b9 3361 security/Kconfig | 369 +-
6090327c
PK
3362 security/apparmor/file.c | 4 +-
3363 security/apparmor/lsm.c | 8 +-
3364 security/commoncap.c | 29 +
3365 security/min_addr.c | 2 +
da1216b9 3366 security/selinux/hooks.c | 3 +-
6090327c
PK
3367 security/tomoyo/file.c | 12 +-
3368 security/tomoyo/mount.c | 4 +
da1216b9 3369 security/tomoyo/tomoyo.c | 20 +-
6090327c 3370 security/yama/Kconfig | 2 +-
6090327c 3371 sound/synth/emux/emux_seq.c | 14 +-
e8242a6d
PK
3372 sound/usb/line6/driver.c | 40 +-
3373 sound/usb/line6/toneport.c | 12 +-
6090327c
PK
3374 tools/gcc/.gitignore | 1 +
3375 tools/gcc/Makefile | 12 +
da1216b9 3376 tools/gcc/constify_plugin.c | 4 +
6090327c 3377 tools/gcc/gen-random-seed.sh | 8 +
da1216b9 3378 tools/gcc/randomize_layout_plugin.c | 922 +++
6090327c 3379 tools/gcc/size_overflow_plugin/.gitignore | 2 +
da1216b9
PK
3380 .../size_overflow_plugin/size_overflow_hash.data | 690 ++-
3381 463 files changed, 26450 insertions(+), 2932 deletions(-)
76e7c0f9 3382
da1216b9 3383commit bd9c3c87dd1c7919cde1008efd963724d9a3752b
6090327c 3384Author: Brad Spengler <spender@grsecurity.net>
da1216b9 3385Date: Sat Jul 11 19:14:11 2015 -0400
76e7c0f9 3386
da1216b9 3387 Initial import of pax-linux-4.1.2-test2.patch
76e7c0f9 3388
6090327c 3389 Documentation/dontdiff | 47 +-
a8b227b4 3390 Documentation/kbuild/makefiles.txt | 39 +-
0986ccbe 3391 Documentation/kernel-parameters.txt | 28 +
da1216b9 3392 Makefile | 108 +-
6090327c
PK
3393 arch/alpha/include/asm/atomic.h | 10 +
3394 arch/alpha/include/asm/elf.h | 7 +
3395 arch/alpha/include/asm/pgalloc.h | 6 +
3396 arch/alpha/include/asm/pgtable.h | 11 +
3397 arch/alpha/kernel/module.c | 2 +-
3398 arch/alpha/kernel/osf_sys.c | 8 +-
3399 arch/alpha/mm/fault.c | 141 +-
3400 arch/arm/Kconfig | 2 +-
8cf17962 3401 arch/arm/include/asm/atomic.h | 319 +-
6090327c
PK
3402 arch/arm/include/asm/barrier.h | 2 +-
3403 arch/arm/include/asm/cache.h | 5 +-
3404 arch/arm/include/asm/cacheflush.h | 2 +-
3405 arch/arm/include/asm/checksum.h | 14 +-
3406 arch/arm/include/asm/cmpxchg.h | 2 +
3407 arch/arm/include/asm/domain.h | 33 +-
da1216b9 3408 arch/arm/include/asm/elf.h | 9 +-
6090327c
PK
3409 arch/arm/include/asm/fncpy.h | 2 +
3410 arch/arm/include/asm/futex.h | 10 +
3411 arch/arm/include/asm/kmap_types.h | 2 +-
3412 arch/arm/include/asm/mach/dma.h | 2 +-
3413 arch/arm/include/asm/mach/map.h | 16 +-
3414 arch/arm/include/asm/outercache.h | 2 +-
3415 arch/arm/include/asm/page.h | 3 +-
8cf17962
PK
3416 arch/arm/include/asm/pgalloc.h | 20 +
3417 arch/arm/include/asm/pgtable-2level-hwdef.h | 4 +-
6090327c 3418 arch/arm/include/asm/pgtable-2level.h | 3 +
0986ccbe 3419 arch/arm/include/asm/pgtable-3level.h | 3 +
6090327c
PK
3420 arch/arm/include/asm/pgtable.h | 54 +-
3421 arch/arm/include/asm/psci.h | 2 +-
3422 arch/arm/include/asm/smp.h | 2 +-
3423 arch/arm/include/asm/thread_info.h | 6 +-
a8b227b4 3424 arch/arm/include/asm/tls.h | 3 +
6090327c
PK
3425 arch/arm/include/asm/uaccess.h | 96 +-
3426 arch/arm/include/uapi/asm/ptrace.h | 2 +-
3427 arch/arm/kernel/armksyms.c | 8 +-
3428 arch/arm/kernel/entry-armv.S | 110 +-
3429 arch/arm/kernel/entry-common.S | 40 +-
3430 arch/arm/kernel/entry-header.S | 60 +
3431 arch/arm/kernel/fiq.c | 3 +
3432 arch/arm/kernel/head.S | 2 +-
3433 arch/arm/kernel/module.c | 31 +-
3434 arch/arm/kernel/patch.c | 2 +
da1216b9 3435 arch/arm/kernel/process.c | 90 +-
6090327c 3436 arch/arm/kernel/psci.c | 2 +-
da1216b9 3437 arch/arm/kernel/reboot.c | 1 +
6090327c
PK
3438 arch/arm/kernel/setup.c | 20 +-
3439 arch/arm/kernel/signal.c | 35 +-
3440 arch/arm/kernel/smp.c | 2 +-
3441 arch/arm/kernel/tcm.c | 4 +-
a8b227b4 3442 arch/arm/kernel/traps.c | 6 +-
8cf17962 3443 arch/arm/kernel/vmlinux.lds.S | 6 +-
a8b227b4 3444 arch/arm/kvm/arm.c | 10 +-
6090327c
PK
3445 arch/arm/lib/clear_user.S | 6 +-
3446 arch/arm/lib/copy_from_user.S | 6 +-
3447 arch/arm/lib/copy_page.S | 1 +
3448 arch/arm/lib/copy_to_user.S | 6 +-
3449 arch/arm/lib/csumpartialcopyuser.S | 4 +-
3450 arch/arm/lib/delay.c | 2 +-
3451 arch/arm/lib/uaccess_with_memcpy.c | 4 +-
da1216b9 3452 arch/arm/mach-exynos/suspend.c | 6 +-
0986ccbe 3453 arch/arm/mach-keystone/keystone.c | 2 +-
a8b227b4 3454 arch/arm/mach-mvebu/coherency.c | 4 +-
6090327c 3455 arch/arm/mach-omap2/board-n8x0.c | 2 +-
6090327c 3456 arch/arm/mach-omap2/omap-mpuss-lowpower.c | 4 +-
e8242a6d 3457 arch/arm/mach-omap2/omap-smp.c | 1 +
6090327c
PK
3458 arch/arm/mach-omap2/omap-wakeupgen.c | 2 +-
3459 arch/arm/mach-omap2/omap_device.c | 4 +-
3460 arch/arm/mach-omap2/omap_device.h | 4 +-
3461 arch/arm/mach-omap2/omap_hwmod.c | 4 +-
3462 arch/arm/mach-omap2/powerdomains43xx_data.c | 5 +-
3463 arch/arm/mach-omap2/wd_timer.c | 6 +-
3464 arch/arm/mach-tegra/cpuidle-tegra20.c | 2 +-
e8242a6d
PK
3465 arch/arm/mach-tegra/irq.c | 1 +
3466 arch/arm/mach-ux500/pm.c | 1 +
6090327c 3467 arch/arm/mach-ux500/setup.h | 7 -
e8242a6d 3468 arch/arm/mach-zynq/platsmp.c | 1 +
0986ccbe 3469 arch/arm/mm/Kconfig | 6 +-
6090327c
PK
3470 arch/arm/mm/alignment.c | 8 +
3471 arch/arm/mm/cache-l2x0.c | 2 +-
3472 arch/arm/mm/context.c | 10 +-
0986ccbe 3473 arch/arm/mm/fault.c | 146 +
6090327c 3474 arch/arm/mm/fault.h | 12 +
8cf17962 3475 arch/arm/mm/init.c | 39 +
6090327c
PK
3476 arch/arm/mm/ioremap.c | 4 +-
3477 arch/arm/mm/mmap.c | 30 +-
3478 arch/arm/mm/mmu.c | 182 +-
0986ccbe 3479 arch/arm/net/bpf_jit_32.c | 3 +
6090327c
PK
3480 arch/arm/plat-iop/setup.c | 2 +-
3481 arch/arm/plat-omap/sram.c | 2 +
e8242a6d 3482 arch/arm64/include/asm/atomic.h | 10 +
6090327c 3483 arch/arm64/include/asm/barrier.h | 2 +-
8cf17962 3484 arch/arm64/include/asm/percpu.h | 8 +-
e8242a6d 3485 arch/arm64/include/asm/pgalloc.h | 5 +
6090327c 3486 arch/arm64/include/asm/uaccess.h | 1 +
e8242a6d 3487 arch/arm64/mm/dma-mapping.c | 2 +-
6090327c
PK
3488 arch/avr32/include/asm/elf.h | 8 +-
3489 arch/avr32/include/asm/kmap_types.h | 4 +-
3490 arch/avr32/mm/fault.c | 27 +
3491 arch/frv/include/asm/atomic.h | 10 +
3492 arch/frv/include/asm/kmap_types.h | 2 +-
3493 arch/frv/mm/elf-fdpic.c | 3 +-
a8b227b4 3494 arch/ia64/Makefile | 1 +
6090327c
PK
3495 arch/ia64/include/asm/atomic.h | 10 +
3496 arch/ia64/include/asm/barrier.h | 2 +-
3497 arch/ia64/include/asm/elf.h | 7 +
3498 arch/ia64/include/asm/pgalloc.h | 12 +
3499 arch/ia64/include/asm/pgtable.h | 13 +-
3500 arch/ia64/include/asm/spinlock.h | 2 +-
3501 arch/ia64/include/asm/uaccess.h | 27 +-
8cf17962 3502 arch/ia64/kernel/module.c | 45 +-
6090327c
PK
3503 arch/ia64/kernel/palinfo.c | 2 +-
3504 arch/ia64/kernel/sys_ia64.c | 7 +
3505 arch/ia64/kernel/vmlinux.lds.S | 2 +-
3506 arch/ia64/mm/fault.c | 32 +-
a8b227b4 3507 arch/ia64/mm/init.c | 15 +-
6090327c
PK
3508 arch/m32r/lib/usercopy.c | 6 +
3509 arch/metag/include/asm/barrier.h | 2 +-
3510 arch/mips/cavium-octeon/dma-octeon.c | 2 +-
e8242a6d 3511 arch/mips/include/asm/atomic.h | 355 +-
6090327c 3512 arch/mips/include/asm/barrier.h | 2 +-
da1216b9 3513 arch/mips/include/asm/elf.h | 7 +
6090327c
PK
3514 arch/mips/include/asm/exec.h | 2 +-
3515 arch/mips/include/asm/hw_irq.h | 2 +-
3516 arch/mips/include/asm/local.h | 57 +
3517 arch/mips/include/asm/page.h | 2 +-
3518 arch/mips/include/asm/pgalloc.h | 5 +
3519 arch/mips/include/asm/pgtable.h | 3 +
3520 arch/mips/include/asm/uaccess.h | 1 +
3521 arch/mips/kernel/binfmt_elfn32.c | 7 +
3522 arch/mips/kernel/binfmt_elfo32.c | 7 +
3523 arch/mips/kernel/i8259.c | 2 +-
3524 arch/mips/kernel/irq-gt641xx.c | 2 +-
3525 arch/mips/kernel/irq.c | 6 +-
3526 arch/mips/kernel/pm-cps.c | 2 +-
3527 arch/mips/kernel/process.c | 12 -
6090327c
PK
3528 arch/mips/kernel/sync-r4k.c | 24 +-
3529 arch/mips/kernel/traps.c | 13 +-
a8b227b4 3530 arch/mips/kvm/mips.c | 2 +-
6090327c
PK
3531 arch/mips/mm/fault.c | 25 +
3532 arch/mips/mm/mmap.c | 51 +-
6090327c
PK
3533 arch/mips/sgi-ip27/ip27-nmi.c | 6 +-
3534 arch/mips/sni/rm200.c | 2 +-
3535 arch/mips/vr41xx/common/icu.c | 2 +-
3536 arch/mips/vr41xx/common/irq.c | 4 +-
3537 arch/parisc/include/asm/atomic.h | 10 +
3538 arch/parisc/include/asm/elf.h | 7 +
3539 arch/parisc/include/asm/pgalloc.h | 6 +
3540 arch/parisc/include/asm/pgtable.h | 11 +
3541 arch/parisc/include/asm/uaccess.h | 4 +-
3542 arch/parisc/kernel/module.c | 50 +-
3543 arch/parisc/kernel/sys_parisc.c | 15 +
3544 arch/parisc/kernel/traps.c | 4 +-
3545 arch/parisc/mm/fault.c | 140 +-
0986ccbe 3546 arch/powerpc/include/asm/atomic.h | 329 +-
6090327c 3547 arch/powerpc/include/asm/barrier.h | 2 +-
da1216b9 3548 arch/powerpc/include/asm/elf.h | 12 +
6090327c
PK
3549 arch/powerpc/include/asm/exec.h | 2 +-
3550 arch/powerpc/include/asm/kmap_types.h | 2 +-
0986ccbe 3551 arch/powerpc/include/asm/local.h | 46 +
6090327c
PK
3552 arch/powerpc/include/asm/mman.h | 2 +-
3553 arch/powerpc/include/asm/page.h | 8 +-
3554 arch/powerpc/include/asm/page_64.h | 7 +-
3555 arch/powerpc/include/asm/pgalloc-64.h | 7 +
3556 arch/powerpc/include/asm/pgtable.h | 1 +
3557 arch/powerpc/include/asm/pte-hash32.h | 1 +
3558 arch/powerpc/include/asm/reg.h | 1 +
3559 arch/powerpc/include/asm/smp.h | 2 +-
0986ccbe 3560 arch/powerpc/include/asm/spinlock.h | 42 +-
6090327c 3561 arch/powerpc/include/asm/uaccess.h | 141 +-
8cf17962 3562 arch/powerpc/kernel/Makefile | 5 +
6090327c
PK
3563 arch/powerpc/kernel/exceptions-64e.S | 4 +-
3564 arch/powerpc/kernel/exceptions-64s.S | 2 +-
3565 arch/powerpc/kernel/module_32.c | 15 +-
8cf17962 3566 arch/powerpc/kernel/process.c | 46 -
6090327c
PK
3567 arch/powerpc/kernel/signal_32.c | 2 +-
3568 arch/powerpc/kernel/signal_64.c | 2 +-
0986ccbe 3569 arch/powerpc/kernel/traps.c | 21 +
6090327c
PK
3570 arch/powerpc/kernel/vdso.c | 5 +-
3571 arch/powerpc/kvm/powerpc.c | 2 +-
3572 arch/powerpc/lib/usercopy_64.c | 18 -
e8242a6d 3573 arch/powerpc/mm/fault.c | 56 +-
da1216b9 3574 arch/powerpc/mm/mmap.c | 16 +
6090327c
PK
3575 arch/powerpc/mm/slice.c | 13 +-
3576 arch/powerpc/platforms/cell/spufs/file.c | 4 +-
3577 arch/s390/include/asm/atomic.h | 10 +
3578 arch/s390/include/asm/barrier.h | 2 +-
da1216b9 3579 arch/s390/include/asm/elf.h | 7 +
6090327c
PK
3580 arch/s390/include/asm/exec.h | 2 +-
3581 arch/s390/include/asm/uaccess.h | 13 +-
3582 arch/s390/kernel/module.c | 22 +-
e8242a6d 3583 arch/s390/kernel/process.c | 24 -
da1216b9 3584 arch/s390/mm/mmap.c | 16 +
6090327c
PK
3585 arch/score/include/asm/exec.h | 2 +-
3586 arch/score/kernel/process.c | 5 -
3587 arch/sh/mm/mmap.c | 22 +-
0986ccbe 3588 arch/sparc/include/asm/atomic_64.h | 110 +-
6090327c
PK
3589 arch/sparc/include/asm/barrier_64.h | 2 +-
3590 arch/sparc/include/asm/cache.h | 2 +-
3591 arch/sparc/include/asm/elf_32.h | 7 +
3592 arch/sparc/include/asm/elf_64.h | 7 +
3593 arch/sparc/include/asm/pgalloc_32.h | 1 +
3594 arch/sparc/include/asm/pgalloc_64.h | 1 +
3595 arch/sparc/include/asm/pgtable.h | 4 +
3596 arch/sparc/include/asm/pgtable_32.h | 15 +-
3597 arch/sparc/include/asm/pgtsrmmu.h | 5 +
3598 arch/sparc/include/asm/setup.h | 4 +-
3599 arch/sparc/include/asm/spinlock_64.h | 35 +-
e8242a6d 3600 arch/sparc/include/asm/thread_info_32.h | 1 +
6090327c
PK
3601 arch/sparc/include/asm/thread_info_64.h | 2 +
3602 arch/sparc/include/asm/uaccess.h | 1 +
e8242a6d
PK
3603 arch/sparc/include/asm/uaccess_32.h | 28 +-
3604 arch/sparc/include/asm/uaccess_64.h | 24 +-
6090327c
PK
3605 arch/sparc/kernel/Makefile | 2 +-
3606 arch/sparc/kernel/prom_common.c | 2 +-
3607 arch/sparc/kernel/smp_64.c | 8 +-
3608 arch/sparc/kernel/sys_sparc_32.c | 2 +-
3609 arch/sparc/kernel/sys_sparc_64.c | 52 +-
3610 arch/sparc/kernel/traps_64.c | 27 +-
3611 arch/sparc/lib/Makefile | 2 +-
0986ccbe
PK
3612 arch/sparc/lib/atomic_64.S | 57 +-
3613 arch/sparc/lib/ksyms.c | 6 +-
6090327c
PK
3614 arch/sparc/mm/Makefile | 2 +-
3615 arch/sparc/mm/fault_32.c | 292 +
8cf17962 3616 arch/sparc/mm/fault_64.c | 486 +
6090327c
PK
3617 arch/sparc/mm/hugetlbpage.c | 22 +-
3618 arch/sparc/mm/init_64.c | 10 +-
3619 arch/tile/include/asm/atomic_64.h | 10 +
3620 arch/tile/include/asm/uaccess.h | 4 +-
3621 arch/um/Makefile | 4 +
3622 arch/um/include/asm/kmap_types.h | 2 +-
3623 arch/um/include/asm/page.h | 3 +
3624 arch/um/include/asm/pgtable-3level.h | 1 +
3625 arch/um/kernel/process.c | 16 -
3626 arch/x86/Kconfig | 11 +-
3627 arch/x86/Kconfig.cpu | 6 +-
3628 arch/x86/Kconfig.debug | 4 +-
a8b227b4 3629 arch/x86/Makefile | 13 +-
6090327c
PK
3630 arch/x86/boot/Makefile | 3 +
3631 arch/x86/boot/bitops.h | 4 +-
3632 arch/x86/boot/boot.h | 2 +-
3633 arch/x86/boot/compressed/Makefile | 3 +
3634 arch/x86/boot/compressed/efi_stub_32.S | 16 +-
8cf17962 3635 arch/x86/boot/compressed/efi_thunk_64.S | 4 +-
6090327c
PK
3636 arch/x86/boot/compressed/head_32.S | 4 +-
3637 arch/x86/boot/compressed/head_64.S | 12 +-
3638 arch/x86/boot/compressed/misc.c | 11 +-
3639 arch/x86/boot/cpucheck.c | 16 +-
3640 arch/x86/boot/header.S | 6 +-
3641 arch/x86/boot/memory.c | 2 +-
3642 arch/x86/boot/video-vesa.c | 1 +
3643 arch/x86/boot/video.c | 2 +-
3644 arch/x86/crypto/aes-x86_64-asm_64.S | 4 +
3645 arch/x86/crypto/aesni-intel_asm.S | 106 +-
3646 arch/x86/crypto/blowfish-x86_64-asm_64.S | 7 +
3647 arch/x86/crypto/camellia-aesni-avx-asm_64.S | 10 +
3648 arch/x86/crypto/camellia-aesni-avx2-asm_64.S | 10 +
3649 arch/x86/crypto/camellia-x86_64-asm_64.S | 7 +
3650 arch/x86/crypto/cast5-avx-x86_64-asm_64.S | 51 +-
3651 arch/x86/crypto/cast6-avx-x86_64-asm_64.S | 25 +-
da1216b9 3652 arch/x86/crypto/crc32c-pcl-intel-asm_64.S | 4 +-
6090327c
PK
3653 arch/x86/crypto/ghash-clmulni-intel_asm.S | 4 +
3654 arch/x86/crypto/salsa20-x86_64-asm_64.S | 4 +
3655 arch/x86/crypto/serpent-avx-x86_64-asm_64.S | 9 +
3656 arch/x86/crypto/serpent-avx2-asm_64.S | 9 +
3657 arch/x86/crypto/serpent-sse2-x86_64-asm_64.S | 4 +
3658 arch/x86/crypto/sha1_ssse3_asm.S | 10 +-
3659 arch/x86/crypto/sha256-avx-asm.S | 2 +
3660 arch/x86/crypto/sha256-avx2-asm.S | 2 +
3661 arch/x86/crypto/sha256-ssse3-asm.S | 2 +
3662 arch/x86/crypto/sha512-avx-asm.S | 2 +
3663 arch/x86/crypto/sha512-avx2-asm.S | 2 +
3664 arch/x86/crypto/sha512-ssse3-asm.S | 2 +
3665 arch/x86/crypto/twofish-avx-x86_64-asm_64.S | 25 +-
3666 arch/x86/crypto/twofish-x86_64-asm_64-3way.S | 4 +
3667 arch/x86/crypto/twofish-x86_64-asm_64.S | 3 +
0986ccbe 3668 arch/x86/ia32/ia32_signal.c | 23 +-
da1216b9 3669 arch/x86/ia32/ia32entry.S | 164 +-
6090327c 3670 arch/x86/ia32/sys_ia32.c | 4 +-
da1216b9 3671 arch/x86/include/asm/alternative-asm.h | 43 +-
6090327c
PK
3672 arch/x86/include/asm/alternative.h | 4 +-
3673 arch/x86/include/asm/apic.h | 2 +-
3674 arch/x86/include/asm/apm.h | 4 +-
8cf17962 3675 arch/x86/include/asm/atomic.h | 269 +-
6090327c 3676 arch/x86/include/asm/atomic64_32.h | 100 +
0986ccbe 3677 arch/x86/include/asm/atomic64_64.h | 164 +-
6090327c
PK
3678 arch/x86/include/asm/barrier.h | 4 +-
3679 arch/x86/include/asm/bitops.h | 18 +-
3680 arch/x86/include/asm/boot.h | 7 +-
3681 arch/x86/include/asm/cache.h | 5 +-
da1216b9 3682 arch/x86/include/asm/calling.h | 92 +-
6090327c
PK
3683 arch/x86/include/asm/checksum_32.h | 12 +-
3684 arch/x86/include/asm/cmpxchg.h | 39 +
3685 arch/x86/include/asm/compat.h | 2 +-
3686 arch/x86/include/asm/cpufeature.h | 16 +-
3687 arch/x86/include/asm/desc.h | 78 +-
3688 arch/x86/include/asm/desc_defs.h | 6 +
3689 arch/x86/include/asm/div64.h | 2 +-
da1216b9 3690 arch/x86/include/asm/elf.h | 33 +-
6090327c
PK
3691 arch/x86/include/asm/emergency-restart.h | 2 +-
3692 arch/x86/include/asm/fpu-internal.h | 8 +-
3693 arch/x86/include/asm/futex.h | 14 +-
3694 arch/x86/include/asm/hw_irq.h | 4 +-
3695 arch/x86/include/asm/i8259.h | 2 +-
3696 arch/x86/include/asm/io.h | 21 +-
3697 arch/x86/include/asm/irqflags.h | 5 +
3698 arch/x86/include/asm/kprobes.h | 9 +-
3699 arch/x86/include/asm/local.h | 106 +-
3700 arch/x86/include/asm/mman.h | 15 +
3701 arch/x86/include/asm/mmu.h | 16 +-
3702 arch/x86/include/asm/mmu_context.h | 136 +-
3703 arch/x86/include/asm/module.h | 17 +-
3704 arch/x86/include/asm/nmi.h | 19 +-
3705 arch/x86/include/asm/page.h | 1 +
e8242a6d 3706 arch/x86/include/asm/page_64.h | 8 +-
6090327c
PK
3707 arch/x86/include/asm/paravirt.h | 46 +-
3708 arch/x86/include/asm/paravirt_types.h | 15 +-
3709 arch/x86/include/asm/pgalloc.h | 23 +
3710 arch/x86/include/asm/pgtable-2level.h | 2 +
3711 arch/x86/include/asm/pgtable-3level.h | 4 +
da1216b9 3712 arch/x86/include/asm/pgtable.h | 128 +-
6090327c
PK
3713 arch/x86/include/asm/pgtable_32.h | 14 +-
3714 arch/x86/include/asm/pgtable_32_types.h | 15 +-
da1216b9 3715 arch/x86/include/asm/pgtable_64.h | 22 +-
6090327c
PK
3716 arch/x86/include/asm/pgtable_64_types.h | 5 +
3717 arch/x86/include/asm/pgtable_types.h | 26 +-
3718 arch/x86/include/asm/preempt.h | 2 +-
da1216b9
PK
3719 arch/x86/include/asm/processor.h | 49 +-
3720 arch/x86/include/asm/ptrace.h | 13 +-
6090327c
PK
3721 arch/x86/include/asm/qrwlock.h | 4 +-
3722 arch/x86/include/asm/realmode.h | 4 +-
3723 arch/x86/include/asm/reboot.h | 10 +-
3724 arch/x86/include/asm/rmwcc.h | 84 +-
3725 arch/x86/include/asm/rwsem.h | 60 +-
da1216b9
PK
3726 arch/x86/include/asm/segment.h | 27 +-
3727 arch/x86/include/asm/smap.h | 43 +
6090327c 3728 arch/x86/include/asm/smp.h | 14 +-
6090327c
PK
3729 arch/x86/include/asm/stackprotector.h | 4 +-
3730 arch/x86/include/asm/stacktrace.h | 32 +-
3731 arch/x86/include/asm/switch_to.h | 4 +-
da1216b9 3732 arch/x86/include/asm/thread_info.h | 23 +-
e8242a6d
PK
3733 arch/x86/include/asm/tlbflush.h | 75 +-
3734 arch/x86/include/asm/uaccess.h | 192 +-
8cf17962
PK
3735 arch/x86/include/asm/uaccess_32.h | 28 +-
3736 arch/x86/include/asm/uaccess_64.h | 169 +-
6090327c
PK
3737 arch/x86/include/asm/word-at-a-time.h | 2 +-
3738 arch/x86/include/asm/x86_init.h | 10 +-
3739 arch/x86/include/asm/xen/page.h | 2 +-
3740 arch/x86/include/asm/xsave.h | 14 +-
3741 arch/x86/include/uapi/asm/e820.h | 2 +-
6090327c
PK
3742 arch/x86/kernel/Makefile | 2 +-
3743 arch/x86/kernel/acpi/boot.c | 4 +-
3744 arch/x86/kernel/acpi/sleep.c | 4 +
3745 arch/x86/kernel/acpi/wakeup_32.S | 6 +-
da1216b9 3746 arch/x86/kernel/alternative.c | 88 +-
6090327c
PK
3747 arch/x86/kernel/apic/apic.c | 4 +-
3748 arch/x86/kernel/apic/apic_flat_64.c | 4 +-
3749 arch/x86/kernel/apic/apic_noop.c | 2 +-
3750 arch/x86/kernel/apic/bigsmp_32.c | 2 +-
e8242a6d 3751 arch/x86/kernel/apic/io_apic.c | 8 +-
6090327c 3752 arch/x86/kernel/apic/probe_32.c | 2 +-
8cf17962 3753 arch/x86/kernel/apic/vector.c | 4 +-
6090327c
PK
3754 arch/x86/kernel/apic/x2apic_cluster.c | 4 +-
3755 arch/x86/kernel/apic/x2apic_phys.c | 2 +-
3756 arch/x86/kernel/apic/x2apic_uv_x.c | 2 +-
e8242a6d 3757 arch/x86/kernel/apm_32.c | 21 +-
6090327c
PK
3758 arch/x86/kernel/asm-offsets.c | 20 +
3759 arch/x86/kernel/asm-offsets_64.c | 1 +
3760 arch/x86/kernel/cpu/Makefile | 4 -
3761 arch/x86/kernel/cpu/amd.c | 2 +-
e8242a6d 3762 arch/x86/kernel/cpu/common.c | 140 +-
da1216b9 3763 arch/x86/kernel/cpu/intel_cacheinfo.c | 14 +-
6090327c
PK
3764 arch/x86/kernel/cpu/mcheck/mce.c | 31 +-
3765 arch/x86/kernel/cpu/mcheck/p5.c | 3 +
3766 arch/x86/kernel/cpu/mcheck/winchip.c | 3 +
3767 arch/x86/kernel/cpu/microcode/core.c | 2 +-
3768 arch/x86/kernel/cpu/microcode/intel.c | 4 +-
3769 arch/x86/kernel/cpu/mtrr/main.c | 2 +-
3770 arch/x86/kernel/cpu/mtrr/mtrr.h | 2 +-
3771 arch/x86/kernel/cpu/perf_event.c | 8 +-
3772 arch/x86/kernel/cpu/perf_event_amd_iommu.c | 2 +-
3773 arch/x86/kernel/cpu/perf_event_intel.c | 6 +-
da1216b9
PK
3774 arch/x86/kernel/cpu/perf_event_intel_bts.c | 6 +-
3775 arch/x86/kernel/cpu/perf_event_intel_cqm.c | 4 +-
3776 arch/x86/kernel/cpu/perf_event_intel_pt.c | 44 +-
6090327c
PK
3777 arch/x86/kernel/cpu/perf_event_intel_rapl.c | 2 +-
3778 arch/x86/kernel/cpu/perf_event_intel_uncore.c | 2 +-
3779 arch/x86/kernel/cpu/perf_event_intel_uncore.h | 2 +-
3780 arch/x86/kernel/cpuid.c | 2 +-
6090327c
PK
3781 arch/x86/kernel/crash_dump_64.c | 2 +-
3782 arch/x86/kernel/doublefault.c | 8 +-
da1216b9
PK
3783 arch/x86/kernel/dumpstack.c | 24 +-
3784 arch/x86/kernel/dumpstack_32.c | 25 +-
8cf17962 3785 arch/x86/kernel/dumpstack_64.c | 62 +-
6090327c
PK
3786 arch/x86/kernel/e820.c | 4 +-
3787 arch/x86/kernel/early_printk.c | 1 +
da1216b9
PK
3788 arch/x86/kernel/entry_32.S | 360 +-
3789 arch/x86/kernel/entry_64.S | 651 +-
8cf17962 3790 arch/x86/kernel/espfix_64.c | 13 +-
da1216b9 3791 arch/x86/kernel/ftrace.c | 18 +-
6090327c
PK
3792 arch/x86/kernel/head64.c | 13 +-
3793 arch/x86/kernel/head_32.S | 228 +-
da1216b9 3794 arch/x86/kernel/head_64.S | 149 +-
6090327c 3795 arch/x86/kernel/i386_ksyms_32.c | 12 +
6090327c
PK
3796 arch/x86/kernel/i8259.c | 10 +-
3797 arch/x86/kernel/io_delay.c | 2 +-
3798 arch/x86/kernel/ioport.c | 2 +-
3799 arch/x86/kernel/irq.c | 8 +-
da1216b9 3800 arch/x86/kernel/irq_32.c | 45 +-
6090327c 3801 arch/x86/kernel/jump_label.c | 8 +-
da1216b9
PK
3802 arch/x86/kernel/kgdb.c | 21 +-
3803 arch/x86/kernel/kprobes/core.c | 28 +-
6090327c
PK
3804 arch/x86/kernel/kprobes/opt.c | 16 +-
3805 arch/x86/kernel/ksysfs.c | 2 +-
3806 arch/x86/kernel/ldt.c | 31 +-
e8242a6d 3807 arch/x86/kernel/livepatch.c | 12 +-
6090327c 3808 arch/x86/kernel/machine_kexec_32.c | 6 +-
a8b227b4 3809 arch/x86/kernel/mcount_64.S | 19 +-
6090327c
PK
3810 arch/x86/kernel/module.c | 78 +-
3811 arch/x86/kernel/msr.c | 2 +-
3812 arch/x86/kernel/nmi.c | 34 +-
3813 arch/x86/kernel/nmi_selftest.c | 4 +-
3814 arch/x86/kernel/paravirt-spinlocks.c | 2 +-
3815 arch/x86/kernel/paravirt.c | 45 +-
8cf17962 3816 arch/x86/kernel/paravirt_patch_64.c | 8 +
6090327c
PK
3817 arch/x86/kernel/pci-calgary_64.c | 2 +-
3818 arch/x86/kernel/pci-iommu_table.c | 2 +-
3819 arch/x86/kernel/pci-swiotlb.c | 2 +-
da1216b9
PK
3820 arch/x86/kernel/process.c | 56 +-
3821 arch/x86/kernel/process_32.c | 34 +-
3822 arch/x86/kernel/process_64.c | 20 +-
6090327c
PK
3823 arch/x86/kernel/ptrace.c | 20 +-
3824 arch/x86/kernel/pvclock.c | 8 +-
e8242a6d 3825 arch/x86/kernel/reboot.c | 44 +-
6090327c
PK
3826 arch/x86/kernel/reboot_fixups_32.c | 2 +-
3827 arch/x86/kernel/relocate_kernel_64.S | 3 +-
e8242a6d 3828 arch/x86/kernel/setup.c | 27 +-
6090327c
PK
3829 arch/x86/kernel/setup_percpu.c | 29 +-
3830 arch/x86/kernel/signal.c | 17 +-
3831 arch/x86/kernel/smp.c | 2 +-
da1216b9 3832 arch/x86/kernel/smpboot.c | 31 +-
6090327c
PK
3833 arch/x86/kernel/step.c | 10 +-
3834 arch/x86/kernel/sys_i386_32.c | 184 +
3835 arch/x86/kernel/sys_x86_64.c | 22 +-
da1216b9
PK
3836 arch/x86/kernel/tboot.c | 14 +-
3837 arch/x86/kernel/time.c | 8 +-
6090327c
PK
3838 arch/x86/kernel/tls.c | 7 +-
3839 arch/x86/kernel/tracepoint.c | 4 +-
da1216b9 3840 arch/x86/kernel/traps.c | 53 +-
6090327c 3841 arch/x86/kernel/tsc.c | 2 +-
da1216b9 3842 arch/x86/kernel/uprobes.c | 2 +-
6090327c
PK
3843 arch/x86/kernel/vm86_32.c | 6 +-
3844 arch/x86/kernel/vmlinux.lds.S | 147 +-
8cf17962 3845 arch/x86/kernel/vsyscall_64.c | 16 +-
6090327c
PK
3846 arch/x86/kernel/x8664_ksyms_64.c | 6 +-
3847 arch/x86/kernel/x86_init.c | 6 +-
3848 arch/x86/kernel/xsave.c | 10 +-
3849 arch/x86/kvm/cpuid.c | 21 +-
8cf17962 3850 arch/x86/kvm/emulate.c | 2 +-
6090327c
PK
3851 arch/x86/kvm/lapic.c | 2 +-
3852 arch/x86/kvm/paging_tmpl.h | 2 +-
3853 arch/x86/kvm/svm.c | 8 +
e8242a6d 3854 arch/x86/kvm/vmx.c | 82 +-
6090327c
PK
3855 arch/x86/kvm/x86.c | 8 +-
3856 arch/x86/lguest/boot.c | 3 +-
3857 arch/x86/lib/atomic64_386_32.S | 164 +
da1216b9 3858 arch/x86/lib/atomic64_cx8_32.S | 104 +-
6090327c 3859 arch/x86/lib/checksum_32.S | 100 +-
da1216b9 3860 arch/x86/lib/clear_page_64.S | 3 +
0986ccbe 3861 arch/x86/lib/cmpxchg16b_emu.S | 3 +
da1216b9
PK
3862 arch/x86/lib/copy_page_64.S | 18 +-
3863 arch/x86/lib/copy_user_64.S | 60 +-
6090327c
PK
3864 arch/x86/lib/copy_user_nocache_64.S | 14 +
3865 arch/x86/lib/csum-copy_64.S | 18 +-
3866 arch/x86/lib/csum-wrappers_64.c | 8 +-
3867 arch/x86/lib/getuser.S | 74 +-
8cf17962 3868 arch/x86/lib/insn.c | 8 +-
6090327c 3869 arch/x86/lib/iomap_copy_64.S | 2 +
da1216b9
PK
3870 arch/x86/lib/memcpy_64.S | 6 +
3871 arch/x86/lib/memmove_64.S | 3 +-
3872 arch/x86/lib/memset_64.S | 3 +
6090327c
PK
3873 arch/x86/lib/mmx_32.c | 243 +-
3874 arch/x86/lib/msr-reg.S | 2 +
3875 arch/x86/lib/putuser.S | 90 +-
6090327c 3876 arch/x86/lib/rwsem.S | 6 +-
da1216b9 3877 arch/x86/lib/thunk_64.S | 2 +
6090327c 3878 arch/x86/lib/usercopy_32.c | 357 +-
da1216b9 3879 arch/x86/lib/usercopy_64.c | 20 +-
6090327c
PK
3880 arch/x86/mm/Makefile | 4 +
3881 arch/x86/mm/extable.c | 25 +-
da1216b9 3882 arch/x86/mm/fault.c | 570 +-
6090327c
PK
3883 arch/x86/mm/gup.c | 6 +-
3884 arch/x86/mm/highmem_32.c | 4 +
3885 arch/x86/mm/hugetlbpage.c | 24 +-
3886 arch/x86/mm/init.c | 101 +-
3887 arch/x86/mm/init_32.c | 111 +-
8cf17962 3888 arch/x86/mm/init_64.c | 46 +-
6090327c 3889 arch/x86/mm/iomap_32.c | 4 +
da1216b9 3890 arch/x86/mm/ioremap.c | 45 +-
6090327c 3891 arch/x86/mm/kmemcheck/kmemcheck.c | 4 +-
da1216b9 3892 arch/x86/mm/mmap.c | 40 +-
6090327c
PK
3893 arch/x86/mm/mmio-mod.c | 10 +-
3894 arch/x86/mm/numa.c | 2 +-
3895 arch/x86/mm/pageattr.c | 33 +-
8cf17962 3896 arch/x86/mm/pat.c | 20 +-
6090327c
PK
3897 arch/x86/mm/pat_rbtree.c | 2 +-
3898 arch/x86/mm/pf_in.c | 10 +-
e8242a6d 3899 arch/x86/mm/pgtable.c | 162 +-
6090327c
PK
3900 arch/x86/mm/pgtable_32.c | 3 +
3901 arch/x86/mm/physaddr.c | 4 +-
3902 arch/x86/mm/setup_nx.c | 7 +
3903 arch/x86/mm/tlb.c | 4 +
3904 arch/x86/mm/uderef_64.c | 37 +
3905 arch/x86/net/bpf_jit.S | 11 +
8cf17962 3906 arch/x86/net/bpf_jit_comp.c | 13 +-
da1216b9 3907 arch/x86/oprofile/backtrace.c | 6 +-
6090327c
PK
3908 arch/x86/oprofile/nmi_int.c | 8 +-
3909 arch/x86/oprofile/op_model_amd.c | 8 +-
3910 arch/x86/oprofile/op_model_ppro.c | 7 +-
3911 arch/x86/oprofile/op_x86_model.h | 2 +-
3912 arch/x86/pci/intel_mid_pci.c | 2 +-
3913 arch/x86/pci/irq.c | 8 +-
3914 arch/x86/pci/pcbios.c | 144 +-
3915 arch/x86/platform/efi/efi_32.c | 24 +
da1216b9 3916 arch/x86/platform/efi/efi_64.c | 26 +-
6090327c 3917 arch/x86/platform/efi/efi_stub_32.S | 64 +-
8cf17962 3918 arch/x86/platform/efi/efi_stub_64.S | 2 +
e8242a6d 3919 arch/x86/platform/intel-mid/intel-mid.c | 5 +-
a8b227b4
PK
3920 arch/x86/platform/intel-mid/intel_mid_weak_decls.h | 6 +-
3921 arch/x86/platform/intel-mid/mfld.c | 4 +-
3922 arch/x86/platform/intel-mid/mrfl.c | 2 +-
e8242a6d 3923 arch/x86/platform/intel-quark/imr_selftest.c | 2 +-
6090327c
PK
3924 arch/x86/platform/olpc/olpc_dt.c | 2 +-
3925 arch/x86/power/cpu.c | 11 +-
3926 arch/x86/realmode/init.c | 10 +-
3927 arch/x86/realmode/rm/Makefile | 3 +
3928 arch/x86/realmode/rm/header.S | 4 +-
da1216b9 3929 arch/x86/realmode/rm/reboot.S | 4 +
6090327c
PK
3930 arch/x86/realmode/rm/trampoline_32.S | 12 +-
3931 arch/x86/realmode/rm/trampoline_64.S | 3 +-
3932 arch/x86/realmode/rm/wakeup_asm.S | 5 +-
3933 arch/x86/tools/Makefile | 2 +-
3934 arch/x86/tools/relocs.c | 94 +-
3935 arch/x86/um/mem_32.c | 2 +-
3936 arch/x86/um/tls_32.c | 2 +-
3937 arch/x86/vdso/Makefile | 2 +-
0986ccbe 3938 arch/x86/vdso/vdso2c.h | 2 +-
6090327c 3939 arch/x86/vdso/vdso32-setup.c | 1 +
8cf17962 3940 arch/x86/vdso/vma.c | 41 +-
da1216b9
PK
3941 arch/x86/xen/enlighten.c | 50 +-
3942 arch/x86/xen/mmu.c | 17 +-
3943 arch/x86/xen/smp.c | 16 +-
6090327c
PK
3944 arch/x86/xen/xen-asm_32.S | 2 +-
3945 arch/x86/xen/xen-head.S | 11 +
3946 arch/x86/xen/xen-ops.h | 2 -
e8242a6d 3947 block/bio.c | 4 +-
6090327c
PK
3948 block/blk-iopoll.c | 2 +-
3949 block/blk-map.c | 2 +-
3950 block/blk-softirq.c | 2 +-
3951 block/bsg.c | 12 +-
3952 block/compat_ioctl.c | 4 +-
3953 block/genhd.c | 9 +-
3954 block/partitions/efi.c | 8 +-
3955 block/scsi_ioctl.c | 29 +-
3956 crypto/cryptd.c | 4 +-
3957 crypto/pcrypt.c | 2 +-
e8242a6d 3958 crypto/zlib.c | 4 +-
6090327c
PK
3959 drivers/acpi/apei/apei-internal.h | 2 +-
3960 drivers/acpi/apei/ghes.c | 4 +-
3961 drivers/acpi/bgrt.c | 6 +-
3962 drivers/acpi/blacklist.c | 4 +-
e8242a6d 3963 drivers/acpi/bus.c | 4 +-
0986ccbe 3964 drivers/acpi/device_pm.c | 4 +-
e8242a6d
PK
3965 drivers/acpi/ec.c | 2 +-
3966 drivers/acpi/pci_slot.c | 2 +-
3967 drivers/acpi/processor_driver.c | 2 +-
6090327c 3968 drivers/acpi/processor_idle.c | 2 +-
e8242a6d
PK
3969 drivers/acpi/processor_pdc.c | 2 +-
3970 drivers/acpi/sleep.c | 2 +-
6090327c 3971 drivers/acpi/sysfs.c | 4 +-
e8242a6d
PK
3972 drivers/acpi/thermal.c | 2 +-
3973 drivers/acpi/video.c | 2 +-
6090327c
PK
3974 drivers/ata/libahci.c | 2 +-
3975 drivers/ata/libata-core.c | 12 +-
3976 drivers/ata/libata-scsi.c | 2 +-
3977 drivers/ata/libata.h | 2 +-
3978 drivers/ata/pata_arasan_cf.c | 4 +-
3979 drivers/atm/adummy.c | 2 +-
3980 drivers/atm/ambassador.c | 8 +-
3981 drivers/atm/atmtcp.c | 14 +-
3982 drivers/atm/eni.c | 10 +-
3983 drivers/atm/firestream.c | 8 +-
3984 drivers/atm/fore200e.c | 14 +-
3985 drivers/atm/he.c | 18 +-
3986 drivers/atm/horizon.c | 4 +-
3987 drivers/atm/idt77252.c | 36 +-
3988 drivers/atm/iphase.c | 34 +-
3989 drivers/atm/lanai.c | 12 +-
3990 drivers/atm/nicstar.c | 46 +-
3991 drivers/atm/solos-pci.c | 4 +-
3992 drivers/atm/suni.c | 4 +-
3993 drivers/atm/uPD98402.c | 16 +-
3994 drivers/atm/zatm.c | 6 +-
3995 drivers/base/bus.c | 4 +-
3996 drivers/base/devtmpfs.c | 8 +-
3997 drivers/base/node.c | 2 +-
da1216b9 3998 drivers/base/power/domain.c | 11 +-
6090327c
PK
3999 drivers/base/power/sysfs.c | 2 +-
4000 drivers/base/power/wakeup.c | 8 +-
4001 drivers/base/syscore.c | 4 +-
4002 drivers/block/cciss.c | 28 +-
4003 drivers/block/cciss.h | 2 +-
4004 drivers/block/cpqarray.c | 28 +-
4005 drivers/block/cpqarray.h | 2 +-
a8b227b4 4006 drivers/block/drbd/drbd_bitmap.c | 2 +-
8cf17962 4007 drivers/block/drbd/drbd_int.h | 8 +-
a8b227b4 4008 drivers/block/drbd/drbd_main.c | 12 +-
6090327c 4009 drivers/block/drbd/drbd_nl.c | 4 +-
a8b227b4
PK
4010 drivers/block/drbd/drbd_receiver.c | 34 +-
4011 drivers/block/drbd/drbd_worker.c | 8 +-
6090327c 4012 drivers/block/pktcdvd.c | 4 +-
8cf17962 4013 drivers/block/rbd.c | 2 +-
6090327c
PK
4014 drivers/bluetooth/btwilink.c | 2 +-
4015 drivers/cdrom/cdrom.c | 11 +-
4016 drivers/cdrom/gdrom.c | 1 -
4017 drivers/char/agp/compat_ioctl.c | 2 +-
4018 drivers/char/agp/frontend.c | 4 +-
4019 drivers/char/hpet.c | 2 +-
e8242a6d 4020 drivers/char/i8k.c | 2 +-
6090327c
PK
4021 drivers/char/ipmi/ipmi_msghandler.c | 8 +-
4022 drivers/char/ipmi/ipmi_si_intf.c | 8 +-
8cf17962 4023 drivers/char/mem.c | 47 +-
6090327c 4024 drivers/char/nvram.c | 2 +-
a8b227b4
PK
4025 drivers/char/pcmcia/synclink_cs.c | 16 +-
4026 drivers/char/random.c | 12 +-
e8242a6d 4027 drivers/char/sonypi.c | 11 +-
6090327c
PK
4028 drivers/char/tpm/tpm_acpi.c | 3 +-
4029 drivers/char/tpm/tpm_eventlog.c | 7 +-
4030 drivers/char/virtio_console.c | 4 +-
4031 drivers/clk/clk-composite.c | 2 +-
da1216b9 4032 drivers/clk/samsung/clk.h | 2 +-
6090327c
PK
4033 drivers/clk/socfpga/clk-gate.c | 9 +-
4034 drivers/clk/socfpga/clk-pll.c | 9 +-
4035 drivers/cpufreq/acpi-cpufreq.c | 17 +-
8cf17962 4036 drivers/cpufreq/cpufreq-dt.c | 4 +-
6090327c
PK
4037 drivers/cpufreq/cpufreq.c | 26 +-
4038 drivers/cpufreq/cpufreq_governor.c | 6 +-
4039 drivers/cpufreq/cpufreq_governor.h | 4 +-
4040 drivers/cpufreq/cpufreq_ondemand.c | 10 +-
0986ccbe 4041 drivers/cpufreq/intel_pstate.c | 33 +-
6090327c
PK
4042 drivers/cpufreq/p4-clockmod.c | 12 +-
4043 drivers/cpufreq/sparc-us3-cpufreq.c | 67 +-
4044 drivers/cpufreq/speedstep-centrino.c | 7 +-
4045 drivers/cpuidle/driver.c | 2 +-
4046 drivers/cpuidle/governor.c | 2 +-
4047 drivers/cpuidle/sysfs.c | 2 +-
4048 drivers/crypto/hifn_795x.c | 4 +-
4049 drivers/devfreq/devfreq.c | 4 +-
4050 drivers/dma/sh/shdma-base.c | 4 +-
4051 drivers/dma/sh/shdmac.c | 2 +-
4052 drivers/edac/edac_device.c | 4 +-
da1216b9 4053 drivers/edac/edac_mc_sysfs.c | 2 +-
6090327c
PK
4054 drivers/edac/edac_pci.c | 4 +-
4055 drivers/edac/edac_pci_sysfs.c | 22 +-
4056 drivers/edac/mce_amd.h | 2 +-
4057 drivers/firewire/core-card.c | 6 +-
4058 drivers/firewire/core-device.c | 2 +-
4059 drivers/firewire/core-transaction.c | 1 +
4060 drivers/firewire/core.h | 1 +
4061 drivers/firmware/dmi-id.c | 2 +-
6090327c
PK
4062 drivers/firmware/efi/cper.c | 8 +-
4063 drivers/firmware/efi/efi.c | 12 +-
4064 drivers/firmware/efi/efivars.c | 2 +-
e8242a6d
PK
4065 drivers/firmware/efi/runtime-map.c | 2 +-
4066 drivers/firmware/google/gsmi.c | 2 +-
4067 drivers/firmware/google/memconsole.c | 7 +-
4068 drivers/firmware/memmap.c | 2 +-
6090327c
PK
4069 drivers/gpio/gpio-em.c | 2 +-
4070 drivers/gpio/gpio-ich.c | 2 +-
8cf17962 4071 drivers/gpio/gpio-omap.c | 2 +-
6090327c
PK
4072 drivers/gpio/gpio-rcar.c | 2 +-
4073 drivers/gpio/gpio-vr41xx.c | 2 +-
a8b227b4 4074 drivers/gpio/gpiolib.c | 13 +-
e8242a6d
PK
4075 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 2 +-
4076 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.h | 2 +-
6090327c 4077 drivers/gpu/drm/drm_crtc.c | 2 +-
a8b227b4 4078 drivers/gpu/drm/drm_drv.c | 2 +-
6090327c
PK
4079 drivers/gpu/drm/drm_fops.c | 12 +-
4080 drivers/gpu/drm/drm_global.c | 14 +-
4081 drivers/gpu/drm/drm_info.c | 13 +-
4082 drivers/gpu/drm/drm_ioc32.c | 13 +-
a8b227b4 4083 drivers/gpu/drm/drm_ioctl.c | 2 +-
e8242a6d 4084 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 10 +-
6090327c
PK
4085 drivers/gpu/drm/i810/i810_drv.h | 4 +-
4086 drivers/gpu/drm/i915/i915_dma.c | 2 +-
4087 drivers/gpu/drm/i915/i915_gem_execbuffer.c | 4 +-
da1216b9 4088 drivers/gpu/drm/i915/i915_ioc32.c | 16 +-
6090327c 4089 drivers/gpu/drm/i915/intel_display.c | 26 +-
8cf17962 4090 drivers/gpu/drm/imx/imx-drm-core.c | 2 +-
6090327c 4091 drivers/gpu/drm/mga/mga_drv.h | 4 +-
da1216b9 4092 drivers/gpu/drm/mga/mga_ioc32.c | 10 +-
6090327c
PK
4093 drivers/gpu/drm/mga/mga_irq.c | 8 +-
4094 drivers/gpu/drm/nouveau/nouveau_bios.c | 2 +-
4095 drivers/gpu/drm/nouveau/nouveau_drm.h | 1 -
4096 drivers/gpu/drm/nouveau/nouveau_ioc32.c | 2 +-
4097 drivers/gpu/drm/nouveau/nouveau_vga.c | 2 +-
4098 drivers/gpu/drm/qxl/qxl_cmd.c | 12 +-
4099 drivers/gpu/drm/qxl/qxl_debugfs.c | 8 +-
4100 drivers/gpu/drm/qxl/qxl_drv.h | 8 +-
4101 drivers/gpu/drm/qxl/qxl_ioctl.c | 10 +-
4102 drivers/gpu/drm/qxl/qxl_irq.c | 16 +-
4103 drivers/gpu/drm/qxl/qxl_ttm.c | 38 +-
4104 drivers/gpu/drm/r128/r128_cce.c | 2 +-
4105 drivers/gpu/drm/r128/r128_drv.h | 4 +-
da1216b9 4106 drivers/gpu/drm/r128/r128_ioc32.c | 10 +-
6090327c
PK
4107 drivers/gpu/drm/r128/r128_irq.c | 4 +-
4108 drivers/gpu/drm/r128/r128_state.c | 4 +-
4109 drivers/gpu/drm/radeon/mkregtable.c | 4 +-
4110 drivers/gpu/drm/radeon/radeon_device.c | 2 +-
4111 drivers/gpu/drm/radeon/radeon_drv.h | 2 +-
da1216b9 4112 drivers/gpu/drm/radeon/radeon_ioc32.c | 12 +-
6090327c
PK
4113 drivers/gpu/drm/radeon/radeon_irq.c | 6 +-
4114 drivers/gpu/drm/radeon/radeon_state.c | 4 +-
4115 drivers/gpu/drm/radeon/radeon_ttm.c | 4 +-
4116 drivers/gpu/drm/tegra/dc.c | 2 +-
4117 drivers/gpu/drm/tegra/dsi.c | 2 +-
4118 drivers/gpu/drm/tegra/hdmi.c | 2 +-
4119 drivers/gpu/drm/ttm/ttm_memory.c | 4 +-
0986ccbe
PK
4120 drivers/gpu/drm/ttm/ttm_page_alloc.c | 18 +-
4121 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 18 +-
6090327c
PK
4122 drivers/gpu/drm/udl/udl_fb.c | 1 -
4123 drivers/gpu/drm/via/via_drv.h | 4 +-
4124 drivers/gpu/drm/via/via_irq.c | 18 +-
4125 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 2 +-
4126 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c | 8 +-
4127 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c | 4 +-
4128 drivers/gpu/drm/vmwgfx/vmwgfx_irq.c | 4 +-
4129 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c | 2 +-
4130 drivers/gpu/vga/vga_switcheroo.c | 4 +-
4131 drivers/hid/hid-core.c | 4 +-
e8242a6d 4132 drivers/hv/channel.c | 2 +-
6090327c
PK
4133 drivers/hv/hv.c | 4 +-
4134 drivers/hv/hv_balloon.c | 18 +-
4135 drivers/hv/hyperv_vmbus.h | 2 +-
e8242a6d 4136 drivers/hwmon/acpi_power_meter.c | 6 +-
6090327c
PK
4137 drivers/hwmon/applesmc.c | 2 +-
4138 drivers/hwmon/asus_atk0110.c | 10 +-
4139 drivers/hwmon/coretemp.c | 2 +-
4140 drivers/hwmon/ibmaem.c | 2 +-
4141 drivers/hwmon/iio_hwmon.c | 2 +-
a8b227b4 4142 drivers/hwmon/nct6683.c | 6 +-
6090327c
PK
4143 drivers/hwmon/nct6775.c | 6 +-
4144 drivers/hwmon/pmbus/pmbus_core.c | 10 +-
4145 drivers/hwmon/sht15.c | 12 +-
4146 drivers/hwmon/via-cputemp.c | 2 +-
4147 drivers/i2c/busses/i2c-amd756-s4882.c | 2 +-
4148 drivers/i2c/busses/i2c-diolan-u2c.c | 2 +-
4149 drivers/i2c/busses/i2c-nforce2-s4985.c | 2 +-
4150 drivers/i2c/i2c-dev.c | 2 +-
4151 drivers/ide/ide-cd.c | 2 +-
4152 drivers/iio/industrialio-core.c | 2 +-
4153 drivers/infiniband/core/cm.c | 32 +-
4154 drivers/infiniband/core/fmr_pool.c | 20 +-
e8242a6d 4155 drivers/infiniband/core/uverbs_cmd.c | 3 +
6090327c
PK
4156 drivers/infiniband/hw/cxgb4/mem.c | 4 +-
4157 drivers/infiniband/hw/ipath/ipath_rc.c | 6 +-
4158 drivers/infiniband/hw/ipath/ipath_ruc.c | 6 +-
4159 drivers/infiniband/hw/mlx4/mad.c | 2 +-
4160 drivers/infiniband/hw/mlx4/mcg.c | 2 +-
4161 drivers/infiniband/hw/mlx4/mlx4_ib.h | 2 +-
4162 drivers/infiniband/hw/mthca/mthca_cmd.c | 8 +-
4163 drivers/infiniband/hw/mthca/mthca_main.c | 2 +-
4164 drivers/infiniband/hw/mthca/mthca_mr.c | 6 +-
4165 drivers/infiniband/hw/mthca/mthca_provider.c | 2 +-
4166 drivers/infiniband/hw/nes/nes.c | 4 +-
4167 drivers/infiniband/hw/nes/nes.h | 40 +-
4168 drivers/infiniband/hw/nes/nes_cm.c | 62 +-
4169 drivers/infiniband/hw/nes/nes_mgt.c | 8 +-
4170 drivers/infiniband/hw/nes/nes_nic.c | 40 +-
4171 drivers/infiniband/hw/nes/nes_verbs.c | 10 +-
4172 drivers/infiniband/hw/qib/qib.h | 1 +
0986ccbe 4173 drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 2 +-
6090327c
PK
4174 drivers/input/gameport/gameport.c | 4 +-
4175 drivers/input/input.c | 4 +-
4176 drivers/input/joystick/sidewinder.c | 1 +
4177 drivers/input/joystick/xpad.c | 4 +-
4178 drivers/input/misc/ims-pcu.c | 4 +-
4179 drivers/input/mouse/psmouse.h | 2 +-
4180 drivers/input/mousedev.c | 2 +-
4181 drivers/input/serio/serio.c | 4 +-
4182 drivers/input/serio/serio_raw.c | 4 +-
e8242a6d 4183 drivers/input/touchscreen/htcpen.c | 2 +-
da1216b9
PK
4184 drivers/iommu/arm-smmu.c | 43 +-
4185 drivers/iommu/io-pgtable-arm.c | 101 +-
4186 drivers/iommu/io-pgtable.c | 11 +-
4187 drivers/iommu/io-pgtable.h | 19 +-
0986ccbe 4188 drivers/iommu/iommu.c | 2 +-
da1216b9 4189 drivers/iommu/ipmmu-vmsa.c | 13 +-
6090327c 4190 drivers/iommu/irq_remapping.c | 12 +-
da1216b9 4191 drivers/irqchip/irq-gic.c | 2 +-
8cf17962 4192 drivers/irqchip/irq-renesas-intc-irqpin.c | 2 +-
6090327c
PK
4193 drivers/irqchip/irq-renesas-irqc.c | 2 +-
4194 drivers/isdn/capi/capi.c | 10 +-
4195 drivers/isdn/gigaset/interface.c | 8 +-
4196 drivers/isdn/gigaset/usb-gigaset.c | 2 +-
4197 drivers/isdn/hardware/avm/b1.c | 4 +-
4198 drivers/isdn/i4l/isdn_common.c | 2 +
4199 drivers/isdn/i4l/isdn_tty.c | 22 +-
4200 drivers/isdn/icn/icn.c | 2 +-
4201 drivers/isdn/mISDN/dsp_cmx.c | 2 +-
6090327c
PK
4202 drivers/lguest/core.c | 10 +-
4203 drivers/lguest/page_tables.c | 2 +-
4204 drivers/lguest/x86/core.c | 12 +-
4205 drivers/lguest/x86/switcher_32.S | 27 +-
4206 drivers/md/bcache/closure.h | 2 +-
4207 drivers/md/bitmap.c | 2 +-
4208 drivers/md/dm-ioctl.c | 2 +-
4209 drivers/md/dm-raid1.c | 16 +-
4210 drivers/md/dm-stats.c | 6 +-
4211 drivers/md/dm-stripe.c | 10 +-
0986ccbe 4212 drivers/md/dm-table.c | 2 +-
6090327c
PK
4213 drivers/md/dm-thin-metadata.c | 4 +-
4214 drivers/md/dm.c | 16 +-
4215 drivers/md/md.c | 26 +-
4216 drivers/md/md.h | 6 +-
4217 drivers/md/persistent-data/dm-space-map-metadata.c | 4 +-
4218 drivers/md/persistent-data/dm-space-map.h | 1 +
4219 drivers/md/raid1.c | 4 +-
4220 drivers/md/raid10.c | 16 +-
e8242a6d 4221 drivers/md/raid5.c | 22 +-
6090327c
PK
4222 drivers/media/dvb-core/dvbdev.c | 2 +-
4223 drivers/media/dvb-frontends/af9033.h | 2 +-
4224 drivers/media/dvb-frontends/dib3000.h | 2 +-
a8b227b4
PK
4225 drivers/media/dvb-frontends/dib7000p.h | 2 +-
4226 drivers/media/dvb-frontends/dib8000.h | 2 +-
6090327c
PK
4227 drivers/media/pci/cx88/cx88-video.c | 6 +-
4228 drivers/media/pci/ivtv/ivtv-driver.c | 2 +-
a8b227b4
PK
4229 drivers/media/pci/solo6x10/solo6x10-core.c | 2 +-
4230 drivers/media/pci/solo6x10/solo6x10-p2m.c | 2 +-
4231 drivers/media/pci/solo6x10/solo6x10.h | 2 +-
0986ccbe 4232 drivers/media/pci/tw68/tw68-core.c | 2 +-
6090327c
PK
4233 drivers/media/platform/omap/omap_vout.c | 11 +-
4234 drivers/media/platform/s5p-tv/mixer.h | 2 +-
4235 drivers/media/platform/s5p-tv/mixer_grp_layer.c | 2 +-
4236 drivers/media/platform/s5p-tv/mixer_reg.c | 2 +-
4237 drivers/media/platform/s5p-tv/mixer_video.c | 24 +-
4238 drivers/media/platform/s5p-tv/mixer_vp_layer.c | 2 +-
6090327c
PK
4239 drivers/media/radio/radio-cadet.c | 2 +
4240 drivers/media/radio/radio-maxiradio.c | 2 +-
4241 drivers/media/radio/radio-shark.c | 2 +-
4242 drivers/media/radio/radio-shark2.c | 2 +-
4243 drivers/media/radio/radio-si476x.c | 2 +-
8cf17962 4244 drivers/media/radio/wl128x/fmdrv_common.c | 2 +-
0986ccbe 4245 drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 12 +-
6090327c
PK
4246 drivers/media/v4l2-core/v4l2-device.c | 4 +-
4247 drivers/media/v4l2-core/v4l2-ioctl.c | 13 +-
8cf17962 4248 drivers/memory/omap-gpmc.c | 21 +-
6090327c 4249 drivers/message/fusion/mptsas.c | 34 +-
6090327c 4250 drivers/mfd/ab8500-debugfs.c | 2 +-
e8242a6d 4251 drivers/mfd/kempld-core.c | 2 +-
6090327c
PK
4252 drivers/mfd/max8925-i2c.c | 2 +-
4253 drivers/mfd/tps65910.c | 2 +-
4254 drivers/mfd/twl4030-irq.c | 9 +-
4255 drivers/misc/c2port/core.c | 4 +-
4256 drivers/misc/eeprom/sunxi_sid.c | 4 +-
4257 drivers/misc/kgdbts.c | 4 +-
4258 drivers/misc/lis3lv02d/lis3lv02d.c | 8 +-
4259 drivers/misc/lis3lv02d/lis3lv02d.h | 2 +-
4260 drivers/misc/sgi-gru/gruhandles.c | 4 +-
4261 drivers/misc/sgi-gru/gruprocfs.c | 8 +-
4262 drivers/misc/sgi-gru/grutables.h | 154 +-
4263 drivers/misc/sgi-xp/xp.h | 2 +-
4264 drivers/misc/sgi-xp/xpc.h | 3 +-
da1216b9 4265 drivers/misc/sgi-xp/xpc_main.c | 2 +-
6090327c 4266 drivers/mmc/card/block.c | 2 +-
6090327c
PK
4267 drivers/mmc/host/dw_mmc.h | 2 +-
4268 drivers/mmc/host/mmci.c | 4 +-
0986ccbe 4269 drivers/mmc/host/omap_hsmmc.c | 4 +-
6090327c
PK
4270 drivers/mmc/host/sdhci-esdhc-imx.c | 7 +-
4271 drivers/mmc/host/sdhci-s3c.c | 8 +-
4272 drivers/mtd/chips/cfi_cmdset_0020.c | 2 +-
4273 drivers/mtd/nand/denali.c | 1 +
0986ccbe 4274 drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 2 +-
6090327c
PK
4275 drivers/mtd/nftlmount.c | 1 +
4276 drivers/mtd/sm_ftl.c | 2 +-
4277 drivers/net/bonding/bond_netlink.c | 2 +-
0986ccbe 4278 drivers/net/caif/caif_hsi.c | 2 +-
6090327c 4279 drivers/net/can/Kconfig | 2 +-
0986ccbe
PK
4280 drivers/net/can/dev.c | 2 +-
4281 drivers/net/can/vcan.c | 2 +-
4282 drivers/net/dummy.c | 2 +-
6090327c
PK
4283 drivers/net/ethernet/8390/ax88796.c | 4 +-
4284 drivers/net/ethernet/altera/altera_tse_main.c | 4 +-
a8b227b4 4285 drivers/net/ethernet/amd/xgbe/xgbe-common.h | 4 +-
0986ccbe 4286 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c | 4 +-
e8242a6d 4287 drivers/net/ethernet/amd/xgbe/xgbe-desc.c | 27 +-
da1216b9 4288 drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 141 +-
e8242a6d 4289 drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 58 +-
da1216b9 4290 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 6 +-
a8b227b4
PK
4291 drivers/net/ethernet/amd/xgbe/xgbe-main.c | 11 +-
4292 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 4 +-
4293 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c | 4 +-
4294 drivers/net/ethernet/amd/xgbe/xgbe.h | 7 +-
6090327c
PK
4295 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 2 +-
4296 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | 11 +-
4297 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h | 3 +-
4298 drivers/net/ethernet/broadcom/tg3.h | 1 +
4299 drivers/net/ethernet/chelsio/cxgb3/l2t.h | 2 +-
6090327c
PK
4300 drivers/net/ethernet/dec/tulip/de4x5.c | 4 +-
4301 drivers/net/ethernet/emulex/benet/be_main.c | 2 +-
4302 drivers/net/ethernet/faraday/ftgmac100.c | 2 +
4303 drivers/net/ethernet/faraday/ftmac100.c | 2 +
4304 drivers/net/ethernet/intel/i40e/i40e_ptp.c | 2 +-
4305 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 2 +-
0986ccbe 4306 drivers/net/ethernet/mellanox/mlx4/en_tx.c | 4 +-
6090327c
PK
4307 drivers/net/ethernet/neterion/vxge/vxge-config.c | 7 +-
4308 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 4 +-
4309 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c | 12 +-
4310 .../net/ethernet/qlogic/qlcnic/qlcnic_minidump.c | 2 +-
4311 drivers/net/ethernet/realtek/r8169.c | 8 +-
4312 drivers/net/ethernet/sfc/ptp.c | 2 +-
4313 drivers/net/ethernet/stmicro/stmmac/mmc_core.c | 4 +-
e8242a6d 4314 drivers/net/ethernet/via/via-rhine.c | 2 +-
6090327c
PK
4315 drivers/net/hyperv/hyperv_net.h | 2 +-
4316 drivers/net/hyperv/rndis_filter.c | 4 +-
0986ccbe 4317 drivers/net/ifb.c | 2 +-
6090327c 4318 drivers/net/macvlan.c | 20 +-
0986ccbe
PK
4319 drivers/net/macvtap.c | 6 +-
4320 drivers/net/nlmon.c | 2 +-
8cf17962 4321 drivers/net/phy/phy_device.c | 6 +-
6090327c
PK
4322 drivers/net/ppp/ppp_generic.c | 4 +-
4323 drivers/net/slip/slhc.c | 2 +-
0986ccbe
PK
4324 drivers/net/team/team.c | 4 +-
4325 drivers/net/tun.c | 7 +-
6090327c
PK
4326 drivers/net/usb/hso.c | 23 +-
4327 drivers/net/usb/r8152.c | 2 +-
4328 drivers/net/usb/sierra_net.c | 4 +-
4329 drivers/net/virtio_net.c | 2 +-
4330 drivers/net/vxlan.c | 4 +-
4331 drivers/net/wimax/i2400m/rx.c | 2 +-
4332 drivers/net/wireless/airo.c | 2 +-
4333 drivers/net/wireless/at76c50x-usb.c | 2 +-
4334 drivers/net/wireless/ath/ath10k/htc.c | 7 +-
4335 drivers/net/wireless/ath/ath10k/htc.h | 4 +-
a8b227b4
PK
4336 drivers/net/wireless/ath/ath9k/ar9002_mac.c | 36 +-
4337 drivers/net/wireless/ath/ath9k/ar9003_mac.c | 64 +-
6090327c 4338 drivers/net/wireless/ath/ath9k/hw.h | 4 +-
a8b227b4 4339 drivers/net/wireless/ath/ath9k/main.c | 22 +-
6090327c
PK
4340 drivers/net/wireless/b43/phy_lp.c | 2 +-
4341 drivers/net/wireless/iwlegacy/3945-mac.c | 4 +-
4342 drivers/net/wireless/iwlwifi/dvm/debugfs.c | 34 +-
4343 drivers/net/wireless/iwlwifi/pcie/trans.c | 4 +-
4344 drivers/net/wireless/mac80211_hwsim.c | 28 +-
4345 drivers/net/wireless/rndis_wlan.c | 2 +-
4346 drivers/net/wireless/rt2x00/rt2x00.h | 2 +-
4347 drivers/net/wireless/rt2x00/rt2x00queue.c | 4 +-
4348 drivers/net/wireless/ti/wl1251/sdio.c | 12 +-
4349 drivers/net/wireless/ti/wl12xx/main.c | 8 +-
4350 drivers/net/wireless/ti/wl18xx/main.c | 6 +-
4351 drivers/nfc/nfcwilink.c | 2 +-
e8242a6d 4352 drivers/of/fdt.c | 4 +-
6090327c
PK
4353 drivers/oprofile/buffer_sync.c | 8 +-
4354 drivers/oprofile/event_buffer.c | 2 +-
4355 drivers/oprofile/oprof.c | 2 +-
4356 drivers/oprofile/oprofile_files.c | 2 +-
4357 drivers/oprofile/oprofile_stats.c | 10 +-
4358 drivers/oprofile/oprofile_stats.h | 10 +-
4359 drivers/oprofile/oprofilefs.c | 6 +-
4360 drivers/oprofile/timer_int.c | 2 +-
4361 drivers/parport/procfs.c | 4 +-
e8242a6d 4362 drivers/pci/host/pci-host-generic.c | 24 +-
6090327c
PK
4363 drivers/pci/hotplug/acpiphp_ibm.c | 4 +-
4364 drivers/pci/hotplug/cpcihp_generic.c | 6 +-
4365 drivers/pci/hotplug/cpcihp_zt5550.c | 14 +-
0986ccbe 4366 drivers/pci/hotplug/cpqphp_nvram.c | 2 +
6090327c
PK
4367 drivers/pci/hotplug/pci_hotplug_core.c | 6 +-
4368 drivers/pci/hotplug/pciehp_core.c | 2 +-
4369 drivers/pci/msi.c | 6 +-
4370 drivers/pci/pci-sysfs.c | 6 +-
4371 drivers/pci/pci.h | 2 +-
4372 drivers/pci/pcie/aspm.c | 6 +-
e8242a6d 4373 drivers/pci/pcie/portdrv_pci.c | 2 +-
6090327c 4374 drivers/pci/probe.c | 2 +-
e8242a6d 4375 drivers/platform/chrome/chromeos_pstore.c | 2 +-
6090327c 4376 drivers/platform/x86/alienware-wmi.c | 4 +-
e8242a6d
PK
4377 drivers/platform/x86/compal-laptop.c | 2 +-
4378 drivers/platform/x86/hdaps.c | 2 +-
4379 drivers/platform/x86/ibm_rtl.c | 2 +-
4380 drivers/platform/x86/intel_oaktrail.c | 2 +-
4381 drivers/platform/x86/msi-laptop.c | 16 +-
6090327c 4382 drivers/platform/x86/msi-wmi.c | 2 +-
e8242a6d
PK
4383 drivers/platform/x86/samsung-laptop.c | 2 +-
4384 drivers/platform/x86/samsung-q10.c | 2 +-
4385 drivers/platform/x86/sony-laptop.c | 14 +-
da1216b9 4386 drivers/platform/x86/thinkpad_acpi.c | 2 +-
6090327c 4387 drivers/pnp/pnpbios/bioscalls.c | 14 +-
e8242a6d 4388 drivers/pnp/pnpbios/core.c | 2 +-
6090327c
PK
4389 drivers/power/pda_power.c | 7 +-
4390 drivers/power/power_supply.h | 4 +-
4391 drivers/power/power_supply_core.c | 7 +-
4392 drivers/power/power_supply_sysfs.c | 6 +-
4393 drivers/powercap/powercap_sys.c | 136 +-
4394 drivers/ptp/ptp_private.h | 2 +-
4395 drivers/ptp/ptp_sysfs.c | 2 +-
4396 drivers/regulator/core.c | 4 +-
4397 drivers/regulator/max8660.c | 6 +-
4398 drivers/regulator/max8973-regulator.c | 8 +-
8cf17962 4399 drivers/regulator/mc13892-regulator.c | 8 +-
6090327c
PK
4400 drivers/rtc/rtc-cmos.c | 4 +-
4401 drivers/rtc/rtc-ds1307.c | 2 +-
4402 drivers/rtc/rtc-m48t59.c | 4 +-
4403 drivers/scsi/bfa/bfa_fcpim.h | 2 +-
4404 drivers/scsi/bfa/bfa_ioc.h | 4 +-
4405 drivers/scsi/fcoe/fcoe_sysfs.c | 12 +-
4406 drivers/scsi/hosts.c | 4 +-
e8242a6d 4407 drivers/scsi/hpsa.c | 36 +-
6090327c
PK
4408 drivers/scsi/hpsa.h | 2 +-
4409 drivers/scsi/libfc/fc_exch.c | 50 +-
4410 drivers/scsi/libsas/sas_ata.c | 2 +-
4411 drivers/scsi/lpfc/lpfc.h | 8 +-
4412 drivers/scsi/lpfc/lpfc_debugfs.c | 18 +-
4413 drivers/scsi/lpfc/lpfc_init.c | 6 +-
4414 drivers/scsi/lpfc/lpfc_scsi.c | 10 +-
4415 drivers/scsi/mpt2sas/mpt2sas_scsih.c | 8 +-
4416 drivers/scsi/pmcraid.c | 20 +-
4417 drivers/scsi/pmcraid.h | 8 +-
4418 drivers/scsi/qla2xxx/qla_attr.c | 4 +-
4419 drivers/scsi/qla2xxx/qla_gbl.h | 4 +-
4420 drivers/scsi/qla2xxx/qla_os.c | 6 +-
4421 drivers/scsi/qla4xxx/ql4_def.h | 2 +-
4422 drivers/scsi/qla4xxx/ql4_os.c | 6 +-
da1216b9 4423 drivers/scsi/scsi.c | 2 +-
8cf17962 4424 drivers/scsi/scsi_lib.c | 8 +-
6090327c 4425 drivers/scsi/scsi_sysfs.c | 2 +-
6090327c
PK
4426 drivers/scsi/scsi_transport_fc.c | 8 +-
4427 drivers/scsi/scsi_transport_iscsi.c | 6 +-
4428 drivers/scsi/scsi_transport_srp.c | 6 +-
da1216b9 4429 drivers/scsi/sd.c | 6 +-
6090327c 4430 drivers/scsi/sg.c | 2 +-
da1216b9 4431 drivers/scsi/sr.c | 8 +-
0986ccbe 4432 drivers/soc/tegra/fuse/fuse-tegra.c | 2 +-
6090327c
PK
4433 drivers/spi/spi.c | 2 +-
4434 drivers/staging/android/timed_output.c | 6 +-
8cf17962 4435 drivers/staging/comedi/comedi_fops.c | 8 +-
e8242a6d
PK
4436 drivers/staging/fbtft/fbtft-core.c | 2 +-
4437 drivers/staging/fbtft/fbtft.h | 2 +-
6090327c 4438 drivers/staging/gdm724x/gdm_tty.c | 2 +-
e8242a6d
PK
4439 drivers/staging/i2o/i2o.h | 2 +-
4440 drivers/staging/i2o/i2o_proc.c | 67 +-
4441 drivers/staging/i2o/iop.c | 8 +-
6090327c
PK
4442 drivers/staging/lustre/lnet/selftest/brw_test.c | 12 +-
4443 drivers/staging/lustre/lnet/selftest/framework.c | 4 -
4444 drivers/staging/lustre/lnet/selftest/ping_test.c | 14 +-
4445 drivers/staging/lustre/lustre/include/lustre_dlm.h | 2 +-
4446 drivers/staging/lustre/lustre/include/obd.h | 2 +-
da1216b9 4447 drivers/staging/lustre/lustre/libcfs/module.c | 6 +-
6090327c
PK
4448 drivers/staging/octeon/ethernet-rx.c | 12 +-
4449 drivers/staging/octeon/ethernet.c | 8 +-
4450 drivers/staging/rtl8188eu/include/hal_intf.h | 2 +-
6090327c 4451 drivers/staging/rtl8712/rtl871x_io.h | 2 +-
0986ccbe 4452 drivers/staging/unisys/visorchipset/visorchipset.h | 4 +-
6090327c
PK
4453 drivers/target/sbp/sbp_target.c | 4 +-
4454 drivers/target/target_core_device.c | 2 +-
4455 drivers/target/target_core_transport.c | 2 +-
0986ccbe 4456 drivers/thermal/int340x_thermal/int3400_thermal.c | 6 +-
8cf17962 4457 drivers/thermal/of-thermal.c | 17 +-
e8242a6d 4458 drivers/thermal/x86_pkg_temp_thermal.c | 2 +-
6090327c
PK
4459 drivers/tty/cyclades.c | 6 +-
4460 drivers/tty/hvc/hvc_console.c | 14 +-
4461 drivers/tty/hvc/hvcs.c | 21 +-
4462 drivers/tty/hvc/hvsi.c | 22 +-
4463 drivers/tty/hvc/hvsi_lib.c | 4 +-
4464 drivers/tty/ipwireless/tty.c | 27 +-
4465 drivers/tty/moxa.c | 2 +-
4466 drivers/tty/n_gsm.c | 4 +-
4467 drivers/tty/n_tty.c | 5 +-
4468 drivers/tty/pty.c | 4 +-
4469 drivers/tty/rocket.c | 6 +-
da1216b9 4470 drivers/tty/serial/8250/8250_core.c | 4 +-
6090327c
PK
4471 drivers/tty/serial/ioc4_serial.c | 6 +-
4472 drivers/tty/serial/kgdb_nmi.c | 4 +-
4473 drivers/tty/serial/kgdboc.c | 32 +-
4474 drivers/tty/serial/msm_serial.c | 4 +-
4475 drivers/tty/serial/samsung.c | 9 +-
4476 drivers/tty/serial/serial_core.c | 8 +-
4477 drivers/tty/synclink.c | 34 +-
4478 drivers/tty/synclink_gt.c | 28 +-
4479 drivers/tty/synclinkmp.c | 34 +-
4480 drivers/tty/tty_io.c | 2 +-
4481 drivers/tty/tty_ldisc.c | 8 +-
4482 drivers/tty/tty_port.c | 22 +-
0986ccbe 4483 drivers/uio/uio.c | 13 +-
6090327c
PK
4484 drivers/usb/atm/cxacru.c | 2 +-
4485 drivers/usb/atm/usbatm.c | 24 +-
4486 drivers/usb/core/devices.c | 6 +-
4487 drivers/usb/core/devio.c | 10 +-
4488 drivers/usb/core/hcd.c | 4 +-
4489 drivers/usb/core/message.c | 6 +-
4490 drivers/usb/core/sysfs.c | 2 +-
4491 drivers/usb/core/usb.c | 2 +-
6090327c 4492 drivers/usb/early/ehci-dbgp.c | 16 +-
a8b227b4 4493 drivers/usb/gadget/function/u_serial.c | 22 +-
6090327c
PK
4494 drivers/usb/host/ehci-hub.c | 4 +-
4495 drivers/usb/misc/appledisplay.c | 4 +-
4496 drivers/usb/serial/console.c | 8 +-
4497 drivers/usb/storage/usb.h | 2 +-
a8b227b4
PK
4498 drivers/usb/usbip/vhci.h | 2 +-
4499 drivers/usb/usbip/vhci_hcd.c | 6 +-
4500 drivers/usb/usbip/vhci_rx.c | 2 +-
6090327c
PK
4501 drivers/usb/wusbcore/wa-hc.h | 4 +-
4502 drivers/usb/wusbcore/wa-xfer.c | 2 +-
4503 drivers/vfio/vfio.c | 2 +-
4504 drivers/vhost/vringh.c | 20 +-
4505 drivers/video/backlight/kb3886_bl.c | 2 +-
4506 drivers/video/fbdev/aty/aty128fb.c | 2 +-
4507 drivers/video/fbdev/aty/atyfb_base.c | 8 +-
4508 drivers/video/fbdev/aty/mach64_cursor.c | 5 +-
4509 drivers/video/fbdev/core/fb_defio.c | 6 +-
4510 drivers/video/fbdev/core/fbmem.c | 2 +-
4511 drivers/video/fbdev/hyperv_fb.c | 4 +-
4512 drivers/video/fbdev/i810/i810_accel.c | 1 +
4513 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c | 16 +-
4514 drivers/video/fbdev/nvidia/nvidia.c | 27 +-
4515 drivers/video/fbdev/omap2/dss/display.c | 8 +-
4516 drivers/video/fbdev/s1d13xxxfb.c | 6 +-
4517 drivers/video/fbdev/smscufx.c | 4 +-
4518 drivers/video/fbdev/udlfb.c | 36 +-
4519 drivers/video/fbdev/uvesafb.c | 52 +-
4520 drivers/video/fbdev/vesafb.c | 58 +-
4521 drivers/video/fbdev/via/via_clock.h | 2 +-
e8242a6d 4522 drivers/xen/events/events_base.c | 6 +-
6090327c
PK
4523 fs/9p/vfs_inode.c | 2 +-
4524 fs/Kconfig.binfmt | 2 +-
4525 fs/afs/inode.c | 4 +-
4526 fs/aio.c | 2 +-
4527 fs/autofs4/waitq.c | 2 +-
4528 fs/befs/endian.h | 6 +-
4529 fs/binfmt_aout.c | 23 +-
da1216b9 4530 fs/binfmt_elf.c | 670 +-
6090327c
PK
4531 fs/block_dev.c | 2 +-
4532 fs/btrfs/ctree.c | 9 +-
4533 fs/btrfs/delayed-inode.c | 6 +-
4534 fs/btrfs/delayed-inode.h | 4 +-
4535 fs/btrfs/super.c | 2 +-
4536 fs/btrfs/sysfs.c | 2 +-
0986ccbe 4537 fs/btrfs/tests/free-space-tests.c | 8 +-
6090327c
PK
4538 fs/btrfs/tree-log.h | 2 +-
4539 fs/buffer.c | 2 +-
4540 fs/cachefiles/bind.c | 6 +-
4541 fs/cachefiles/daemon.c | 8 +-
4542 fs/cachefiles/internal.h | 12 +-
4543 fs/cachefiles/namei.c | 2 +-
4544 fs/cachefiles/proc.c | 12 +-
a8b227b4 4545 fs/ceph/dir.c | 11 +-
6090327c
PK
4546 fs/ceph/super.c | 4 +-
4547 fs/cifs/cifs_debug.c | 12 +-
4548 fs/cifs/cifsfs.c | 8 +-
4549 fs/cifs/cifsglob.h | 54 +-
4550 fs/cifs/file.c | 10 +-
4551 fs/cifs/misc.c | 4 +-
4552 fs/cifs/smb1ops.c | 80 +-
4553 fs/cifs/smb2ops.c | 84 +-
4554 fs/cifs/smb2pdu.c | 3 +-
4555 fs/coda/cache.c | 10 +-
4556 fs/compat.c | 4 +-
4557 fs/compat_binfmt_elf.c | 2 +
4558 fs/compat_ioctl.c | 12 +-
4559 fs/configfs/dir.c | 10 +-
4560 fs/coredump.c | 16 +-
e8242a6d 4561 fs/dcache.c | 51 +-
6090327c
PK
4562 fs/ecryptfs/inode.c | 2 +-
4563 fs/ecryptfs/miscdev.c | 2 +-
8cf17962 4564 fs/exec.c | 362 +-
6090327c
PK
4565 fs/ext2/xattr.c | 5 +-
4566 fs/ext3/xattr.c | 5 +-
4567 fs/ext4/ext4.h | 20 +-
4568 fs/ext4/mballoc.c | 44 +-
4569 fs/ext4/mmp.c | 2 +-
e8242a6d 4570 fs/ext4/resize.c | 16 +-
6090327c
PK
4571 fs/ext4/super.c | 4 +-
4572 fs/ext4/xattr.c | 5 +-
4573 fs/fhandle.c | 3 +-
4574 fs/file.c | 4 +-
4575 fs/fs_struct.c | 8 +-
4576 fs/fscache/cookie.c | 40 +-
4577 fs/fscache/internal.h | 200 +-
4578 fs/fscache/object.c | 26 +-
4579 fs/fscache/operation.c | 30 +-
4580 fs/fscache/page.c | 110 +-
4581 fs/fscache/stats.c | 344 +-
4582 fs/fuse/cuse.c | 10 +-
4583 fs/fuse/dev.c | 4 +-
4584 fs/fuse/dir.c | 2 +-
e8242a6d
PK
4585 fs/gfs2/glock.c | 22 +-
4586 fs/gfs2/glops.c | 4 +-
4587 fs/gfs2/quota.c | 6 +-
6090327c
PK
4588 fs/hostfs/hostfs_kern.c | 2 +-
4589 fs/hugetlbfs/inode.c | 13 +-
4590 fs/inode.c | 4 +-
4591 fs/jffs2/erase.c | 3 +-
4592 fs/jffs2/wbuf.c | 3 +-
4593 fs/jfs/super.c | 2 +-
4594 fs/kernfs/dir.c | 2 +-
e8242a6d 4595 fs/kernfs/file.c | 20 +-
6090327c
PK
4596 fs/kernfs/symlink.c | 2 +-
4597 fs/libfs.c | 12 +-
4598 fs/lockd/clntproc.c | 4 +-
e8242a6d 4599 fs/namei.c | 24 +-
6090327c
PK
4600 fs/namespace.c | 16 +-
4601 fs/nfs/callback_xdr.c | 2 +-
4602 fs/nfs/inode.c | 6 +-
4603 fs/nfsd/nfs4proc.c | 2 +-
4604 fs/nfsd/nfs4xdr.c | 2 +-
a8b227b4 4605 fs/nfsd/nfscache.c | 11 +-
6090327c 4606 fs/nfsd/vfs.c | 6 +-
a8b227b4 4607 fs/nls/nls_base.c | 26 +-
6090327c
PK
4608 fs/nls/nls_euc-jp.c | 6 +-
4609 fs/nls/nls_koi8-ru.c | 6 +-
4610 fs/notify/fanotify/fanotify_user.c | 4 +-
4611 fs/notify/notification.c | 4 +-
4612 fs/ntfs/dir.c | 2 +-
6090327c
PK
4613 fs/ntfs/super.c | 6 +-
4614 fs/ocfs2/localalloc.c | 2 +-
4615 fs/ocfs2/ocfs2.h | 10 +-
4616 fs/ocfs2/suballoc.c | 12 +-
4617 fs/ocfs2/super.c | 20 +-
da1216b9 4618 fs/pipe.c | 72 +-
6090327c
PK
4619 fs/posix_acl.c | 4 +-
4620 fs/proc/array.c | 20 +
4621 fs/proc/base.c | 4 +-
e8242a6d 4622 fs/proc/kcore.c | 34 +-
6090327c
PK
4623 fs/proc/meminfo.c | 2 +-
4624 fs/proc/nommu.c | 2 +-
4625 fs/proc/proc_sysctl.c | 18 +-
4626 fs/proc/task_mmu.c | 39 +-
4627 fs/proc/task_nommu.c | 4 +-
4628 fs/proc/vmcore.c | 16 +-
4629 fs/qnx6/qnx6.h | 4 +-
4630 fs/quota/netlink.c | 4 +-
4631 fs/read_write.c | 2 +-
4632 fs/reiserfs/do_balan.c | 2 +-
4633 fs/reiserfs/procfs.c | 2 +-
4634 fs/reiserfs/reiserfs.h | 4 +-
4635 fs/seq_file.c | 4 +-
4636 fs/splice.c | 43 +-
da1216b9 4637 fs/squashfs/xattr.c | 12 +-
6090327c
PK
4638 fs/sysv/sysv.h | 2 +-
4639 fs/ubifs/io.c | 2 +-
4640 fs/udf/misc.c | 2 +-
4641 fs/ufs/swab.h | 4 +-
4642 fs/xattr.c | 21 +
a8b227b4 4643 fs/xfs/libxfs/xfs_bmap.c | 2 +-
6090327c
PK
4644 fs/xfs/xfs_dir2_readdir.c | 7 +-
4645 fs/xfs/xfs_ioctl.c | 2 +-
0986ccbe 4646 fs/xfs/xfs_linux.h | 4 +-
6090327c 4647 include/asm-generic/4level-fixup.h | 2 +
0986ccbe 4648 include/asm-generic/atomic-long.h | 214 +-
6090327c
PK
4649 include/asm-generic/atomic64.h | 12 +
4650 include/asm-generic/barrier.h | 2 +-
4651 include/asm-generic/bitops/__fls.h | 2 +-
4652 include/asm-generic/bitops/fls.h | 2 +-
4653 include/asm-generic/bitops/fls64.h | 4 +-
da1216b9 4654 include/asm-generic/bug.h | 6 +-
6090327c
PK
4655 include/asm-generic/cache.h | 4 +-
4656 include/asm-generic/emergency-restart.h | 2 +-
4657 include/asm-generic/kmap_types.h | 4 +-
4658 include/asm-generic/local.h | 13 +
4659 include/asm-generic/pgtable-nopmd.h | 18 +-
4660 include/asm-generic/pgtable-nopud.h | 15 +-
4661 include/asm-generic/pgtable.h | 16 +
4662 include/asm-generic/uaccess.h | 16 +
da1216b9 4663 include/asm-generic/vmlinux.lds.h | 13 +-
6090327c
PK
4664 include/crypto/algapi.h | 2 +-
4665 include/drm/drmP.h | 16 +-
4666 include/drm/drm_crtc_helper.h | 2 +-
4667 include/drm/i915_pciids.h | 2 +-
4668 include/drm/ttm/ttm_memory.h | 2 +-
4669 include/drm/ttm/ttm_page_alloc.h | 1 +
4670 include/keys/asymmetric-subtype.h | 2 +-
4671 include/linux/atmdev.h | 4 +-
8cf17962 4672 include/linux/atomic.h | 2 +-
6090327c
PK
4673 include/linux/audit.h | 2 +-
4674 include/linux/binfmts.h | 3 +-
8cf17962 4675 include/linux/bitmap.h | 2 +-
6090327c
PK
4676 include/linux/bitops.h | 6 +-
4677 include/linux/blkdev.h | 2 +-
4678 include/linux/blktrace_api.h | 2 +-
4679 include/linux/cache.h | 8 +
4680 include/linux/cdrom.h | 1 -
4681 include/linux/cleancache.h | 2 +-
4682 include/linux/clk-provider.h | 1 +
da1216b9
PK
4683 include/linux/compat.h | 6 +-
4684 include/linux/compiler-gcc.h | 4 +-
4685 include/linux/compiler-gcc4.h | 24 +
4686 include/linux/compiler-gcc5.h | 23 +
4687 include/linux/compiler.h | 93 +-
6090327c
PK
4688 include/linux/completion.h | 12 +-
4689 include/linux/configfs.h | 2 +-
4690 include/linux/cpufreq.h | 3 +-
4691 include/linux/cpuidle.h | 5 +-
8cf17962 4692 include/linux/cpumask.h | 14 +-
6090327c
PK
4693 include/linux/crypto.h | 6 +-
4694 include/linux/ctype.h | 2 +-
e8242a6d 4695 include/linux/dcache.h | 4 +-
6090327c
PK
4696 include/linux/decompress/mm.h | 2 +-
4697 include/linux/devfreq.h | 2 +-
4698 include/linux/device.h | 7 +-
4699 include/linux/dma-mapping.h | 2 +-
6090327c
PK
4700 include/linux/efi.h | 1 +
4701 include/linux/elf.h | 2 +
4702 include/linux/err.h | 4 +-
4703 include/linux/extcon.h | 2 +-
e8242a6d 4704 include/linux/fb.h | 3 +-
6090327c
PK
4705 include/linux/fdtable.h | 2 +-
4706 include/linux/frontswap.h | 2 +-
da1216b9 4707 include/linux/fs.h | 5 +-
6090327c
PK
4708 include/linux/fs_struct.h | 2 +-
4709 include/linux/fscache-cache.h | 4 +-
4710 include/linux/fscache.h | 2 +-
4711 include/linux/fsnotify.h | 2 +-
4712 include/linux/genhd.h | 4 +-
4713 include/linux/genl_magic_func.h | 2 +-
4714 include/linux/gfp.h | 12 +-
6090327c
PK
4715 include/linux/highmem.h | 12 +
4716 include/linux/hwmon-sysfs.h | 6 +-
4717 include/linux/i2c.h | 1 +
6090327c
PK
4718 include/linux/if_pppox.h | 2 +-
4719 include/linux/init.h | 12 +-
4720 include/linux/init_task.h | 7 +
4721 include/linux/interrupt.h | 6 +-
4722 include/linux/iommu.h | 2 +-
4723 include/linux/ioport.h | 2 +-
4724 include/linux/irq.h | 3 +-
8cf17962 4725 include/linux/irqdesc.h | 2 +-
da1216b9 4726 include/linux/irqdomain.h | 1 +
6090327c 4727 include/linux/jiffies.h | 14 +-
8cf17962 4728 include/linux/kernel.h | 2 +-
6090327c
PK
4729 include/linux/key-type.h | 2 +-
4730 include/linux/kgdb.h | 6 +-
8cf17962 4731 include/linux/kmemleak.h | 4 +-
6090327c
PK
4732 include/linux/kobject.h | 3 +-
4733 include/linux/kobject_ns.h | 2 +-
4734 include/linux/kref.h | 2 +-
4735 include/linux/kvm_host.h | 4 +-
4736 include/linux/libata.h | 2 +-
4737 include/linux/linkage.h | 1 +
4738 include/linux/list.h | 15 +
e8242a6d 4739 include/linux/lockref.h | 26 +-
6090327c
PK
4740 include/linux/math64.h | 10 +-
4741 include/linux/mempolicy.h | 7 +
0986ccbe 4742 include/linux/mm.h | 104 +-
6090327c
PK
4743 include/linux/mm_types.h | 20 +
4744 include/linux/mmiotrace.h | 4 +-
4745 include/linux/mmzone.h | 2 +-
4746 include/linux/mod_devicetable.h | 4 +-
4747 include/linux/module.h | 60 +-
4748 include/linux/moduleloader.h | 16 +
4749 include/linux/moduleparam.h | 4 +-
8cf17962 4750 include/linux/namei.h | 4 +-
6090327c
PK
4751 include/linux/net.h | 2 +-
4752 include/linux/netdevice.h | 7 +-
4753 include/linux/netfilter.h | 2 +-
4754 include/linux/netfilter/nfnetlink.h | 2 +-
a8b227b4 4755 include/linux/nls.h | 4 +-
6090327c
PK
4756 include/linux/notifier.h | 3 +-
4757 include/linux/oprofile.h | 4 +-
4758 include/linux/padata.h | 2 +-
4759 include/linux/pci_hotplug.h | 3 +-
8cf17962 4760 include/linux/percpu.h | 2 +-
da1216b9 4761 include/linux/perf_event.h | 12 +-
6090327c
PK
4762 include/linux/pipe_fs_i.h | 8 +-
4763 include/linux/pm.h | 1 +
4764 include/linux/pm_domain.h | 4 +-
4765 include/linux/pm_runtime.h | 2 +-
4766 include/linux/pnp.h | 2 +-
4767 include/linux/poison.h | 4 +-
4768 include/linux/power/smartreflex.h | 2 +-
4769 include/linux/ppp-comp.h | 2 +-
4770 include/linux/preempt.h | 21 +
4771 include/linux/proc_ns.h | 2 +-
4772 include/linux/quota.h | 2 +-
4773 include/linux/random.h | 23 +-
4774 include/linux/rculist.h | 20 +-
0986ccbe 4775 include/linux/rcupdate.h | 2 +-
6090327c
PK
4776 include/linux/reboot.h | 14 +-
4777 include/linux/regset.h | 3 +-
4778 include/linux/relay.h | 2 +-
4779 include/linux/rio.h | 2 +-
4780 include/linux/rmap.h | 4 +-
0986ccbe 4781 include/linux/sched.h | 70 +-
6090327c
PK
4782 include/linux/sched/sysctl.h | 1 +
4783 include/linux/security.h | 2 -
4784 include/linux/semaphore.h | 2 +-
4785 include/linux/seq_file.h | 1 +
4786 include/linux/signal.h | 2 +-
8cf17962 4787 include/linux/skbuff.h | 10 +-
da1216b9 4788 include/linux/slab.h | 47 +-
6090327c
PK
4789 include/linux/slab_def.h | 14 +-
4790 include/linux/slub_def.h | 2 +-
4791 include/linux/smp.h | 2 +
4792 include/linux/sock_diag.h | 2 +-
4793 include/linux/sonet.h | 2 +-
4794 include/linux/sunrpc/addr.h | 8 +-
4795 include/linux/sunrpc/clnt.h | 2 +-
4796 include/linux/sunrpc/svc.h | 2 +-
4797 include/linux/sunrpc/svc_rdma.h | 18 +-
4798 include/linux/sunrpc/svcauth.h | 2 +-
4799 include/linux/swiotlb.h | 3 +-
da1216b9 4800 include/linux/syscalls.h | 21 +-
6090327c 4801 include/linux/syscore_ops.h | 2 +-
a8b227b4 4802 include/linux/sysctl.h | 3 +-
6090327c
PK
4803 include/linux/sysfs.h | 9 +-
4804 include/linux/sysrq.h | 3 +-
4805 include/linux/thread_info.h | 7 +
4806 include/linux/tty.h | 4 +-
4807 include/linux/tty_driver.h | 2 +-
4808 include/linux/tty_ldisc.h | 2 +-
4809 include/linux/types.h | 16 +
4810 include/linux/uaccess.h | 6 +-
0986ccbe 4811 include/linux/uio_driver.h | 2 +-
6090327c
PK
4812 include/linux/unaligned/access_ok.h | 24 +-
4813 include/linux/usb.h | 4 +-
4814 include/linux/usb/renesas_usbhs.h | 2 +-
4815 include/linux/vermagic.h | 21 +-
4816 include/linux/vga_switcheroo.h | 8 +-
4817 include/linux/vmalloc.h | 7 +-
4818 include/linux/vmstat.h | 24 +-
4819 include/linux/xattr.h | 5 +-
4820 include/linux/zlib.h | 3 +-
4821 include/media/v4l2-dev.h | 2 +-
4822 include/media/v4l2-device.h | 2 +-
4823 include/net/9p/transport.h | 2 +-
4824 include/net/bluetooth/l2cap.h | 2 +-
8cf17962 4825 include/net/bonding.h | 2 +-
6090327c
PK
4826 include/net/caif/cfctrl.h | 6 +-
4827 include/net/flow.h | 2 +-
4828 include/net/genetlink.h | 2 +-
4829 include/net/gro_cells.h | 2 +-
4830 include/net/inet_connection_sock.h | 2 +-
4831 include/net/inetpeer.h | 2 +-
4832 include/net/ip_fib.h | 2 +-
4833 include/net/ip_vs.h | 8 +-
4834 include/net/irda/ircomm_tty.h | 1 +
4835 include/net/iucv/af_iucv.h | 2 +-
4836 include/net/llc_c_ac.h | 2 +-
4837 include/net/llc_c_ev.h | 4 +-
4838 include/net/llc_c_st.h | 2 +-
4839 include/net/llc_s_ac.h | 2 +-
4840 include/net/llc_s_st.h | 2 +-
4841 include/net/mac80211.h | 2 +-
4842 include/net/neighbour.h | 2 +-
a8b227b4 4843 include/net/net_namespace.h | 16 +-
6090327c
PK
4844 include/net/netlink.h | 2 +-
4845 include/net/netns/conntrack.h | 6 +-
4846 include/net/netns/ipv4.h | 4 +-
4847 include/net/netns/ipv6.h | 4 +-
4848 include/net/netns/xfrm.h | 2 +-
4849 include/net/ping.h | 2 +-
4850 include/net/protocol.h | 4 +-
4851 include/net/rtnetlink.h | 2 +-
4852 include/net/sctp/checksum.h | 4 +-
4853 include/net/sctp/sm.h | 4 +-
4854 include/net/sctp/structs.h | 2 +-
da1216b9 4855 include/net/sock.h | 10 +-
6090327c
PK
4856 include/net/tcp.h | 8 +-
4857 include/net/xfrm.h | 13 +-
4858 include/rdma/iw_cm.h | 2 +-
4859 include/scsi/libfc.h | 3 +-
4860 include/scsi/scsi_device.h | 6 +-
da1216b9 4861 include/scsi/scsi_driver.h | 2 +-
6090327c
PK
4862 include/scsi/scsi_transport_fc.h | 3 +-
4863 include/sound/compress_driver.h | 2 +-
4864 include/sound/soc.h | 4 +-
4865 include/target/target_core_base.h | 2 +-
4866 include/trace/events/irq.h | 4 +-
4867 include/uapi/linux/a.out.h | 8 +
4868 include/uapi/linux/bcache.h | 5 +-
4869 include/uapi/linux/byteorder/little_endian.h | 28 +-
4870 include/uapi/linux/elf.h | 28 +
4871 include/uapi/linux/screen_info.h | 3 +-
4872 include/uapi/linux/swab.h | 6 +-
6090327c
PK
4873 include/uapi/linux/xattr.h | 4 +
4874 include/video/udlfb.h | 8 +-
4875 include/video/uvesafb.h | 1 +
4876 init/Kconfig | 2 +-
4877 init/Makefile | 3 +
4878 init/do_mounts.c | 14 +-
4879 init/do_mounts.h | 8 +-
4880 init/do_mounts_initrd.c | 30 +-
4881 init/do_mounts_md.c | 6 +-
4882 init/init_task.c | 4 +
a8b227b4 4883 init/initramfs.c | 38 +-
6090327c 4884 init/main.c | 78 +-
da1216b9 4885 ipc/compat.c | 4 +-
8cf17962 4886 ipc/ipc_sysctl.c | 8 +-
6090327c 4887 ipc/mq_sysctl.c | 4 +-
da1216b9 4888 ipc/sem.c | 4 +-
6090327c 4889 ipc/shm.c | 6 +
6090327c
PK
4890 kernel/audit.c | 8 +-
4891 kernel/auditsc.c | 4 +-
8cf17962 4892 kernel/bpf/core.c | 7 +-
6090327c
PK
4893 kernel/capability.c | 3 +
4894 kernel/compat.c | 38 +-
4895 kernel/debug/debug_core.c | 16 +-
4896 kernel/debug/kdb/kdb_main.c | 4 +-
da1216b9 4897 kernel/events/core.c | 26 +-
6090327c
PK
4898 kernel/events/internal.h | 10 +-
4899 kernel/events/uprobes.c | 2 +-
4900 kernel/exit.c | 2 +-
da1216b9 4901 kernel/fork.c | 163 +-
6090327c
PK
4902 kernel/futex.c | 11 +-
4903 kernel/futex_compat.c | 2 +-
4904 kernel/gcov/base.c | 7 +-
8cf17962
PK
4905 kernel/irq/manage.c | 2 +-
4906 kernel/irq/spurious.c | 2 +-
6090327c 4907 kernel/jump_label.c | 5 +
0986ccbe 4908 kernel/kallsyms.c | 37 +-
6090327c
PK
4909 kernel/kexec.c | 3 +-
4910 kernel/kmod.c | 8 +-
4911 kernel/kprobes.c | 4 +-
4912 kernel/ksysfs.c | 2 +-
4913 kernel/locking/lockdep.c | 7 +-
6090327c
PK
4914 kernel/locking/mutex-debug.c | 12 +-
4915 kernel/locking/mutex-debug.h | 4 +-
4916 kernel/locking/mutex.c | 6 +-
4917 kernel/locking/rtmutex-tester.c | 24 +-
e8242a6d 4918 kernel/module.c | 357 +-
6090327c
PK
4919 kernel/notifier.c | 17 +-
4920 kernel/padata.c | 4 +-
4921 kernel/panic.c | 5 +-
4922 kernel/pid.c | 2 +-
4923 kernel/pid_namespace.c | 2 +-
6090327c
PK
4924 kernel/power/process.c | 12 +-
4925 kernel/profile.c | 14 +-
4926 kernel/ptrace.c | 8 +-
0986ccbe 4927 kernel/rcu/rcutorture.c | 60 +-
6090327c
PK
4928 kernel/rcu/tiny.c | 4 +-
4929 kernel/rcu/tiny_plugin.h | 6 +-
e8242a6d 4930 kernel/rcu/tree.c | 128 +-
6090327c 4931 kernel/rcu/tree.h | 26 +-
e8242a6d 4932 kernel/rcu/tree_plugin.h | 42 +-
6090327c 4933 kernel/rcu/tree_trace.c | 22 +-
0986ccbe 4934 kernel/rcu/update.c | 10 +-
6090327c
PK
4935 kernel/sched/auto_group.c | 4 +-
4936 kernel/sched/completion.c | 6 +-
4937 kernel/sched/core.c | 45 +-
4938 kernel/sched/fair.c | 4 +-
4939 kernel/sched/sched.h | 2 +-
4940 kernel/signal.c | 12 +-
4941 kernel/smpboot.c | 4 +-
4942 kernel/softirq.c | 12 +-
4943 kernel/sys.c | 10 +-
4944 kernel/sysctl.c | 34 +-
4945 kernel/time/alarmtimer.c | 2 +-
a8b227b4
PK
4946 kernel/time/hrtimer.c | 2 +-
4947 kernel/time/posix-cpu-timers.c | 4 +-
4948 kernel/time/posix-timers.c | 24 +-
4949 kernel/time/timer.c | 4 +-
6090327c 4950 kernel/time/timer_stats.c | 10 +-
6090327c
PK
4951 kernel/torture.c | 10 +-
4952 kernel/trace/blktrace.c | 6 +-
0986ccbe 4953 kernel/trace/ftrace.c | 15 +-
e8242a6d 4954 kernel/trace/ring_buffer.c | 96 +-
6090327c
PK
4955 kernel/trace/trace.c | 2 +-
4956 kernel/trace/trace.h | 2 +-
4957 kernel/trace/trace_clock.c | 4 +-
4958 kernel/trace/trace_events.c | 1 -
0986ccbe 4959 kernel/trace/trace_functions_graph.c | 4 +-
6090327c 4960 kernel/trace/trace_mmiotrace.c | 8 +-
a8b227b4
PK
4961 kernel/trace/trace_output.c | 10 +-
4962 kernel/trace/trace_seq.c | 2 +-
6090327c
PK
4963 kernel/trace/trace_stack.c | 2 +-
4964 kernel/user_namespace.c | 2 +-
4965 kernel/utsname_sysctl.c | 2 +-
4966 kernel/watchdog.c | 2 +-
4967 kernel/workqueue.c | 2 +-
4968 lib/Kconfig.debug | 8 +-
4969 lib/Makefile | 2 +-
4970 lib/average.c | 2 +-
8cf17962 4971 lib/bitmap.c | 10 +-
6090327c
PK
4972 lib/bug.c | 2 +
4973 lib/debugobjects.c | 2 +-
da1216b9
PK
4974 lib/decompress_bunzip2.c | 3 +-
4975 lib/decompress_unlzma.c | 4 +-
6090327c
PK
4976 lib/div64.c | 4 +-
4977 lib/dma-debug.c | 4 +-
6090327c
PK
4978 lib/inflate.c | 2 +-
4979 lib/ioremap.c | 4 +-
4980 lib/kobject.c | 4 +-
4981 lib/list_debug.c | 126 +-
e8242a6d 4982 lib/lockref.c | 44 +-
6090327c
PK
4983 lib/percpu-refcount.c | 2 +-
4984 lib/radix-tree.c | 2 +-
4985 lib/random32.c | 2 +-
4986 lib/show_mem.c | 2 +-
4987 lib/strncpy_from_user.c | 2 +-
4988 lib/strnlen_user.c | 2 +-
4989 lib/swiotlb.c | 2 +-
da1216b9 4990 lib/test-hexdump.c | 6 +-
6090327c
PK
4991 lib/usercopy.c | 6 +
4992 lib/vsprintf.c | 12 +-
4993 mm/Kconfig | 6 +-
4994 mm/backing-dev.c | 4 +-
4995 mm/filemap.c | 2 +-
6090327c
PK
4996 mm/gup.c | 13 +-
4997 mm/highmem.c | 7 +-
4998 mm/hugetlb.c | 70 +-
4999 mm/internal.h | 3 +-
6090327c 5000 mm/maccess.c | 4 +-
e8242a6d 5001 mm/madvise.c | 37 +
6090327c 5002 mm/memory-failure.c | 30 +-
8cf17962 5003 mm/memory.c | 410 +-
6090327c
PK
5004 mm/mempolicy.c | 25 +
5005 mm/mlock.c | 15 +-
e8242a6d 5006 mm/mm_init.c | 2 +-
da1216b9 5007 mm/mmap.c | 582 +-
0986ccbe 5008 mm/mprotect.c | 137 +-
6090327c
PK
5009 mm/mremap.c | 44 +-
5010 mm/nommu.c | 21 +-
5011 mm/page-writeback.c | 2 +-
a8b227b4 5012 mm/page_alloc.c | 48 +-
6090327c
PK
5013 mm/percpu.c | 2 +-
5014 mm/process_vm_access.c | 14 +-
8cf17962 5015 mm/rmap.c | 45 +-
6090327c 5016 mm/shmem.c | 19 +-
8cf17962 5017 mm/slab.c | 109 +-
0986ccbe 5018 mm/slab.h | 22 +-
8cf17962
PK
5019 mm/slab_common.c | 86 +-
5020 mm/slob.c | 218 +-
5021 mm/slub.c | 101 +-
6090327c
PK
5022 mm/sparse-vmemmap.c | 4 +-
5023 mm/sparse.c | 2 +-
da1216b9 5024 mm/swap.c | 2 +
6090327c
PK
5025 mm/swapfile.c | 12 +-
5026 mm/util.c | 6 +
e8242a6d 5027 mm/vmalloc.c | 112 +-
6090327c
PK
5028 mm/vmstat.c | 12 +-
5029 net/8021q/vlan.c | 5 +-
0986ccbe 5030 net/8021q/vlan_netlink.c | 2 +-
6090327c
PK
5031 net/9p/mod.c | 4 +-
5032 net/9p/trans_fd.c | 2 +-
5033 net/atm/atm_misc.c | 8 +-
5034 net/atm/lec.h | 2 +-
5035 net/atm/proc.c | 6 +-
5036 net/atm/resources.c | 4 +-
5037 net/ax25/sysctl_net_ax25.c | 2 +-
5038 net/batman-adv/bat_iv_ogm.c | 8 +-
5039 net/batman-adv/fragmentation.c | 2 +-
0986ccbe 5040 net/batman-adv/soft-interface.c | 8 +-
6090327c
PK
5041 net/batman-adv/types.h | 6 +-
5042 net/bluetooth/hci_sock.c | 2 +-
5043 net/bluetooth/l2cap_core.c | 6 +-
5044 net/bluetooth/l2cap_sock.c | 12 +-
5045 net/bluetooth/rfcomm/sock.c | 4 +-
5046 net/bluetooth/rfcomm/tty.c | 4 +-
0986ccbe 5047 net/bridge/br_netlink.c | 2 +-
6090327c
PK
5048 net/bridge/netfilter/ebtables.c | 6 +-
5049 net/caif/cfctrl.c | 11 +-
0986ccbe 5050 net/caif/chnl_net.c | 2 +-
6090327c
PK
5051 net/can/af_can.c | 2 +-
5052 net/can/gw.c | 6 +-
5053 net/ceph/messenger.c | 4 +-
8cf17962 5054 net/compat.c | 24 +-
6090327c 5055 net/core/datagram.c | 2 +-
da1216b9 5056 net/core/dev.c | 16 +-
6090327c 5057 net/core/filter.c | 2 +-
e8242a6d 5058 net/core/flow.c | 6 +-
6090327c
PK
5059 net/core/neighbour.c | 4 +-
5060 net/core/net-sysfs.c | 2 +-
5061 net/core/net_namespace.c | 8 +-
5062 net/core/netpoll.c | 4 +-
5063 net/core/rtnetlink.c | 15 +-
5064 net/core/scm.c | 8 +-
5065 net/core/skbuff.c | 8 +-
da1216b9 5066 net/core/sock.c | 26 +-
6090327c 5067 net/core/sock_diag.c | 9 +-
8cf17962 5068 net/core/sysctl_net_core.c | 22 +-
6090327c
PK
5069 net/decnet/af_decnet.c | 1 +
5070 net/decnet/sysctl_net_decnet.c | 4 +-
0986ccbe 5071 net/hsr/hsr_netlink.c | 2 +-
e8242a6d
PK
5072 net/ieee802154/6lowpan/core.c | 2 +-
5073 net/ieee802154/6lowpan/reassembly.c | 14 +-
0986ccbe 5074 net/ipv4/af_inet.c | 2 +-
6090327c
PK
5075 net/ipv4/devinet.c | 18 +-
5076 net/ipv4/fib_frontend.c | 6 +-
5077 net/ipv4/fib_semantics.c | 2 +-
5078 net/ipv4/inetpeer.c | 2 +-
5079 net/ipv4/ip_fragment.c | 15 +-
5080 net/ipv4/ip_gre.c | 6 +-
5081 net/ipv4/ip_sockglue.c | 2 +-
5082 net/ipv4/ip_vti.c | 4 +-
5083 net/ipv4/ipconfig.c | 6 +-
5084 net/ipv4/ipip.c | 4 +-
5085 net/ipv4/netfilter/arp_tables.c | 12 +-
5086 net/ipv4/netfilter/ip_tables.c | 12 +-
0986ccbe 5087 net/ipv4/ping.c | 14 +-
6090327c
PK
5088 net/ipv4/raw.c | 14 +-
5089 net/ipv4/route.c | 32 +-
5090 net/ipv4/sysctl_net_ipv4.c | 22 +-
5091 net/ipv4/tcp_input.c | 4 +-
5092 net/ipv4/tcp_probe.c | 2 +-
5093 net/ipv4/udp.c | 10 +-
5094 net/ipv4/xfrm4_policy.c | 18 +-
da1216b9 5095 net/ipv6/addrconf.c | 16 +-
6090327c
PK
5096 net/ipv6/af_inet6.c | 2 +-
5097 net/ipv6/datagram.c | 2 +-
5098 net/ipv6/icmp.c | 2 +-
0986ccbe 5099 net/ipv6/ip6_fib.c | 4 +-
6090327c
PK
5100 net/ipv6/ip6_gre.c | 10 +-
5101 net/ipv6/ip6_tunnel.c | 4 +-
5102 net/ipv6/ip6_vti.c | 4 +-
5103 net/ipv6/ipv6_sockglue.c | 2 +-
5104 net/ipv6/netfilter/ip6_tables.c | 12 +-
5105 net/ipv6/netfilter/nf_conntrack_reasm.c | 14 +-
5106 net/ipv6/ping.c | 33 +-
5107 net/ipv6/raw.c | 17 +-
5108 net/ipv6/reassembly.c | 13 +-
5109 net/ipv6/route.c | 2 +-
5110 net/ipv6/sit.c | 4 +-
5111 net/ipv6/sysctl_net_ipv6.c | 2 +-
5112 net/ipv6/udp.c | 6 +-
8cf17962 5113 net/ipv6/xfrm6_policy.c | 17 +-
6090327c
PK
5114 net/irda/ircomm/ircomm_tty.c | 18 +-
5115 net/iucv/af_iucv.c | 4 +-
5116 net/iucv/iucv.c | 2 +-
5117 net/key/af_key.c | 4 +-
5118 net/l2tp/l2tp_eth.c | 38 +-
e8242a6d
PK
5119 net/l2tp/l2tp_ip.c | 2 +-
5120 net/l2tp/l2tp_ip6.c | 2 +-
6090327c
PK
5121 net/mac80211/cfg.c | 8 +-
5122 net/mac80211/ieee80211_i.h | 3 +-
5123 net/mac80211/iface.c | 16 +-
5124 net/mac80211/main.c | 2 +-
da1216b9 5125 net/mac80211/pm.c | 4 +-
6090327c 5126 net/mac80211/rate.c | 2 +-
da1216b9 5127 net/mac80211/sta_info.c | 2 +-
e8242a6d 5128 net/mac80211/util.c | 8 +-
da1216b9 5129 net/mpls/af_mpls.c | 6 +-
6090327c
PK
5130 net/netfilter/ipset/ip_set_core.c | 2 +-
5131 net/netfilter/ipvs/ip_vs_conn.c | 6 +-
5132 net/netfilter/ipvs/ip_vs_core.c | 4 +-
5133 net/netfilter/ipvs/ip_vs_ctl.c | 14 +-
5134 net/netfilter/ipvs/ip_vs_lblc.c | 2 +-
5135 net/netfilter/ipvs/ip_vs_lblcr.c | 2 +-
5136 net/netfilter/ipvs/ip_vs_sync.c | 6 +-
5137 net/netfilter/ipvs/ip_vs_xmit.c | 4 +-
5138 net/netfilter/nf_conntrack_acct.c | 2 +-
5139 net/netfilter/nf_conntrack_ecache.c | 2 +-
5140 net/netfilter/nf_conntrack_helper.c | 2 +-
5141 net/netfilter/nf_conntrack_proto.c | 2 +-
5142 net/netfilter/nf_conntrack_standalone.c | 2 +-
5143 net/netfilter/nf_conntrack_timestamp.c | 2 +-
5144 net/netfilter/nf_log.c | 10 +-
5145 net/netfilter/nf_sockopt.c | 4 +-
5146 net/netfilter/nfnetlink_log.c | 4 +-
e8242a6d 5147 net/netfilter/nft_compat.c | 9 +-
6090327c
PK
5148 net/netfilter/xt_statistic.c | 8 +-
5149 net/netlink/af_netlink.c | 4 +-
0986ccbe
PK
5150 net/openvswitch/vport-internal_dev.c | 2 +-
5151 net/openvswitch/vport.c | 16 +-
5152 net/openvswitch/vport.h | 8 +-
da1216b9 5153 net/packet/af_packet.c | 8 +-
6090327c
PK
5154 net/phonet/pep.c | 6 +-
5155 net/phonet/socket.c | 2 +-
5156 net/phonet/sysctl.c | 2 +-
5157 net/rds/cong.c | 6 +-
5158 net/rds/ib.h | 2 +-
5159 net/rds/ib_cm.c | 2 +-
5160 net/rds/ib_recv.c | 4 +-
5161 net/rds/iw.h | 2 +-
5162 net/rds/iw_cm.c | 2 +-
5163 net/rds/iw_recv.c | 4 +-
5164 net/rds/rds.h | 2 +-
5165 net/rds/tcp.c | 2 +-
5166 net/rds/tcp_send.c | 2 +-
5167 net/rxrpc/af_rxrpc.c | 2 +-
5168 net/rxrpc/ar-ack.c | 14 +-
5169 net/rxrpc/ar-call.c | 2 +-
5170 net/rxrpc/ar-connection.c | 2 +-
5171 net/rxrpc/ar-connevent.c | 2 +-
5172 net/rxrpc/ar-input.c | 4 +-
5173 net/rxrpc/ar-internal.h | 8 +-
5174 net/rxrpc/ar-local.c | 2 +-
5175 net/rxrpc/ar-output.c | 4 +-
5176 net/rxrpc/ar-peer.c | 2 +-
5177 net/rxrpc/ar-proc.c | 4 +-
5178 net/rxrpc/ar-transport.c | 2 +-
5179 net/rxrpc/rxkad.c | 4 +-
5180 net/sched/sch_generic.c | 4 +-
5181 net/sctp/ipv6.c | 6 +-
5182 net/sctp/protocol.c | 10 +-
5183 net/sctp/sm_sideeffect.c | 2 +-
5184 net/sctp/socket.c | 21 +-
5185 net/sctp/sysctl.c | 10 +-
8cf17962 5186 net/socket.c | 18 +-
6090327c
PK
5187 net/sunrpc/auth_gss/svcauth_gss.c | 4 +-
5188 net/sunrpc/clnt.c | 4 +-
5189 net/sunrpc/sched.c | 4 +-
5190 net/sunrpc/svc.c | 4 +-
5191 net/sunrpc/svcauth_unix.c | 4 +-
5192 net/sunrpc/xprtrdma/svc_rdma.c | 38 +-
5193 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 8 +-
5194 net/sunrpc/xprtrdma/svc_rdma_sendto.c | 2 +-
5195 net/sunrpc/xprtrdma/svc_rdma_transport.c | 10 +-
e8242a6d 5196 net/tipc/netlink_compat.c | 12 +-
6090327c 5197 net/tipc/subscr.c | 2 +-
8cf17962 5198 net/unix/af_unix.c | 7 +-
6090327c
PK
5199 net/unix/sysctl_net_unix.c | 2 +-
5200 net/wireless/wext-core.c | 19 +-
5201 net/xfrm/xfrm_policy.c | 16 +-
5202 net/xfrm/xfrm_state.c | 33 +-
5203 net/xfrm/xfrm_sysctl.c | 2 +-
8cf17962 5204 scripts/Kbuild.include | 2 +-
6090327c
PK
5205 scripts/Makefile.build | 2 +-
5206 scripts/Makefile.clean | 3 +-
0986ccbe 5207 scripts/Makefile.host | 63 +-
6090327c 5208 scripts/basic/fixdep.c | 12 +-
a8b227b4 5209 scripts/gcc-plugin.sh | 51 +
6090327c
PK
5210 scripts/headers_install.sh | 1 +
5211 scripts/link-vmlinux.sh | 2 +-
5212 scripts/mod/file2alias.c | 14 +-
5213 scripts/mod/modpost.c | 25 +-
5214 scripts/mod/modpost.h | 6 +-
5215 scripts/mod/sumversion.c | 2 +-
5216 scripts/module-common.lds | 4 +
5217 scripts/package/builddeb | 1 +
5218 scripts/pnmtologo.c | 6 +-
5219 scripts/sortextable.h | 6 +-
a8b227b4 5220 scripts/tags.sh | 2 +-
8cf17962 5221 security/Kconfig | 692 +-
6090327c
PK
5222 security/apparmor/lsm.c | 2 +-
5223 security/integrity/ima/ima.h | 4 +-
5224 security/integrity/ima/ima_api.c | 2 +-
5225 security/integrity/ima/ima_fs.c | 4 +-
5226 security/integrity/ima/ima_queue.c | 2 +-
6090327c 5227 security/keys/key.c | 18 +-
6090327c
PK
5228 security/security.c | 9 +-
5229 security/selinux/avc.c | 6 +-
8cf17962 5230 security/selinux/hooks.c | 10 +-
6090327c
PK
5231 security/selinux/include/xfrm.h | 2 +-
5232 security/smack/smack_lsm.c | 2 +-
5233 security/tomoyo/tomoyo.c | 2 +-
da1216b9 5234 security/yama/yama_lsm.c | 4 +-
6090327c
PK
5235 sound/aoa/codecs/onyx.c | 7 +-
5236 sound/aoa/codecs/onyx.h | 1 +
5237 sound/core/oss/pcm_oss.c | 18 +-
5238 sound/core/pcm_compat.c | 2 +-
5239 sound/core/pcm_native.c | 4 +-
6090327c
PK
5240 sound/core/sound.c | 2 +-
5241 sound/drivers/mts64.c | 14 +-
5242 sound/drivers/opl4/opl4_lib.c | 2 +-
5243 sound/drivers/portman2x4.c | 3 +-
5244 sound/firewire/amdtp.c | 4 +-
5245 sound/firewire/amdtp.h | 4 +-
5246 sound/firewire/isight.c | 10 +-
5247 sound/firewire/scs1x.c | 8 +-
5248 sound/oss/sb_audio.c | 2 +-
5249 sound/oss/swarm_cs4297a.c | 6 +-
8cf17962 5250 sound/pci/hda/hda_codec.c | 2 +-
6090327c
PK
5251 sound/pci/ymfpci/ymfpci.h | 2 +-
5252 sound/pci/ymfpci/ymfpci_main.c | 12 +-
8cf17962 5253 sound/soc/soc-ac97.c | 6 +-
e8242a6d 5254 sound/soc/xtensa/xtfpga-i2s.c | 2 +-
da1216b9 5255 tools/gcc/Makefile | 42 +
6090327c 5256 tools/gcc/checker_plugin.c | 150 +
e8242a6d 5257 tools/gcc/colorize_plugin.c | 215 +
da1216b9
PK
5258 tools/gcc/constify_plugin.c | 564 +
5259 tools/gcc/gcc-common.h | 689 +
5260 tools/gcc/initify_plugin.c | 450 +
e8242a6d
PK
5261 tools/gcc/kallocstat_plugin.c | 188 +
5262 tools/gcc/kernexec_plugin.c | 547 +
5263 tools/gcc/latent_entropy_plugin.c | 474 +
6090327c
PK
5264 tools/gcc/size_overflow_plugin/.gitignore | 1 +
5265 tools/gcc/size_overflow_plugin/Makefile | 20 +
5266 .../generate_size_overflow_hash.sh | 102 +
e8242a6d 5267 .../insert_size_overflow_asm.c | 409 +
da1216b9 5268 .../size_overflow_plugin/intentional_overflow.c | 958 +
e8242a6d 5269 tools/gcc/size_overflow_plugin/misc.c | 441 +
8cf17962 5270 .../size_overflow_plugin/remove_unnecessary_dup.c | 137 +
e8242a6d 5271 tools/gcc/size_overflow_plugin/size_overflow.h | 281 +
8cf17962 5272 .../gcc/size_overflow_plugin/size_overflow_debug.c | 164 +
da1216b9 5273 .../size_overflow_plugin/size_overflow_hash.data |27576 ++++++++++++++++++++
6090327c 5274 .../size_overflow_hash_aux.data | 92 +
e8242a6d
PK
5275 tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 913 +
5276 .../size_overflow_plugin/size_overflow_plugin.c | 256 +
8cf17962 5277 .../size_overflow_plugin_hash.c | 345 +
da1216b9
PK
5278 .../size_overflow_plugin/size_overflow_transform.c | 433 +
5279 .../size_overflow_transform_core.c | 962 +
e8242a6d
PK
5280 tools/gcc/stackleak_plugin.c | 432 +
5281 tools/gcc/structleak_plugin.c | 287 +
6090327c
PK
5282 tools/include/linux/compiler.h | 8 +
5283 tools/lib/api/Makefile | 2 +-
5284 tools/perf/util/include/asm/alternative-asm.h | 3 +
5285 tools/virtio/linux/uaccess.h | 2 +-
5286 virt/kvm/kvm_main.c | 44 +-
da1216b9 5287 1898 files changed, 59774 insertions(+), 8683 deletions(-)