]> git.ipfire.org Git - thirdparty/grsecurity-scrape.git/blob - test/changelog-test.txt
Auto commit, 1 new patch{es}.
[thirdparty/grsecurity-scrape.git] / test / changelog-test.txt
1 commit 58c0443674275163e4d488f890ba1b985d13a4b0
2 Author: Brad Spengler <spender@grsecurity.net>
3 Date: Mon Jul 11 21:30:57 2016 -0400
4
5 Temporary workaround for size_overflow detection reported at:
6 https://forums.grsecurity.net/viewtopic.php?f=3&t=4510
7 by brainatwork
8
9 drivers/block/drbd/drbd_int.h | 4 ++--
10 1 file changed, 2 insertions(+), 2 deletions(-)
11
12 commit aa1f32f7a62f394d1f90c2d9952befdd5294c088
13 Author: Brad Spengler <spender@grsecurity.net>
14 Date: Mon Jul 11 21:18:20 2016 -0400
15
16 Update size_overflow hash table
17
18 scripts/gcc-plugins/size_overflow_plugin/size_overflow_hash.data | 1 +
19 1 file changed, 1 insertion(+)
20
21 commit 329fa438e13041fda3dcd292adf2aeb1c008c72c
22 Author: Jeff Mahoney <jeffm@suse.com>
23 Date: Tue Jul 5 17:32:30 2016 -0400
24
25 ecryptfs: don't allow mmap when the lower fs doesn't support it
26
27 There are legitimate reasons to disallow mmap on certain files, notably
28 in sysfs or procfs. We shouldn't emulate mmap support on file systems
29 that don't offer support natively.
30
31 CVE-2016-1583
32
33 Signed-off-by: Jeff Mahoney <jeffm@suse.com>
34 Cc: stable@vger.kernel.org
35 [tyhicks: clean up f_op check by using ecryptfs_file_to_lower()]
36 Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
37
38 fs/ecryptfs/file.c | 15 ++++++++++++++-
39 1 file changed, 14 insertions(+), 1 deletion(-)
40
41 commit 5b86b77c32a55ebc8b441ac71839bb50012e505a
42 Author: Vegard Nossum <vegard.nossum@oracle.com>
43 Date: Thu Jul 7 13:41:11 2016 -0700
44
45 apparmor: fix oops, validate buffer size in apparmor_setprocattr()
46
47 When proc_pid_attr_write() was changed to use memdup_user apparmor's
48 (interface violating) assumption that the setprocattr buffer was always
49 a single page was violated.
50
51 The size test is not strictly speaking needed as proc_pid_attr_write()
52 will reject anything larger, but for the sake of robustness we can keep
53 it in.
54
55 SMACK and SELinux look safe to me, but somebody else should probably
56 have a look just in case.
57
58 Based on original patch from Vegard Nossum <vegard.nossum@oracle.com>
59 modified for the case that apparmor provides null termination.
60
61 Fixes: bb646cdb12e75d82258c2f2e7746d5952d3e321a
62 Reported-by: Vegard Nossum <vegard.nossum@oracle.com>
63 Cc: Al Viro <viro@zeniv.linux.org.uk>
64 Cc: John Johansen <john.johansen@canonical.com>
65 Cc: Paul Moore <paul@paul-moore.com>
66 Cc: Stephen Smalley <sds@tycho.nsa.gov>
67 Cc: Eric Paris <eparis@parisplace.org>
68 Cc: Casey Schaufler <casey@schaufler-ca.com>
69 Cc: stable@kernel.org
70 Signed-off-by: John Johansen <john.johansen@canonical.com>
71 Reviewed-by: Tyler Hicks <tyhicks@canonical.com>
72 Signed-off-by: James Morris <james.l.morris@oracle.com>
73
74 security/apparmor/lsm.c | 36 +++++++++++++++++++-----------------
75 1 file changed, 19 insertions(+), 17 deletions(-)
76
77 commit cf7f94ad6c32ff91363641573a64c85f4877e290
78 Merge: 7765cd9 50212d6
79 Author: Brad Spengler <spender@grsecurity.net>
80 Date: Mon Jul 11 18:39:35 2016 -0400
81
82 Merge branch 'pax-test' into grsec-test
83
84 commit 50212d610aeb6ced453e1835c169c46acdf3940d
85 Merge: 98d6186 310ca59
86 Author: Brad Spengler <spender@grsecurity.net>
87 Date: Mon Jul 11 18:39:08 2016 -0400
88
89 Merge branch 'linux-4.6.y' into pax-test
90
91 commit 7765cd90c911e58959451529995ea44b7a2271d6
92 Author: Brad Spengler <spender@grsecurity.net>
93 Date: Thu Jul 7 07:12:54 2016 -0400
94
95 Compile fix reported by adminwset on the forums:
96 https://forums.grsecurity.net/viewtopic.php?t=4507&p=16420#p16420
97
98 fs/proc/task_mmu.c | 2 +-
99 1 file changed, 1 insertion(+), 1 deletion(-)
100
101 commit c94fbc6f47fdae9a2dcf29d3048c8da8752dbbdf
102 Author: Brad Spengler <spender@grsecurity.net>
103 Date: Wed Jul 6 21:11:33 2016 -0400
104
105 compile fix
106
107 arch/x86/mm/init_32.c | 1 -
108 1 file changed, 1 deletion(-)
109
110 commit ee4f4cdd26864ac40ac22b4a3b88f284a6d057d0
111 Author: Miklos Szeredi <mszeredi@redhat.com>
112 Date: Wed Jun 29 16:03:55 2016 +0200
113
114 ovl: get_write_access() in truncate
115
116 When truncating a file we should check write access on the underlying
117 inode. And we should do so on the lower file as well (before copy-up) for
118 consistency.
119
120 Original patch and test case by Aihua Zhang.
121
122 - - >o >o - - test.c - - >o >o - -
123 #include <stdio.h>
124 #include <errno.h>
125 #include <unistd.h>
126
127 int main(int argc, char *argv[])
128 {
129 int ret;
130
131 ret = truncate(argv[0], 4096);
132 if (ret != -1) {
133 fprintf(stderr, "truncate(argv[0]) should have failed\n");
134 return 1;
135 }
136 if (errno != ETXTBSY) {
137 perror("truncate(argv[0])");
138 return 1;
139 }
140
141 return 0;
142 }
143 - - >o >o - - >o >o - - >o >o - -
144
145 Reported-by: Aihua Zhang <zhangaihua1@huawei.com>
146 Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
147 Cc: <stable@vger.kernel.org>
148
149 fs/overlayfs/inode.c | 21 +++++++++++++++++++++
150 1 file changed, 21 insertions(+)
151
152 commit 4585d082282707fbe91025c987bd8cef4152196d
153 Author: Vivek Goyal <vgoyal@redhat.com>
154 Date: Fri Jul 1 10:02:44 2016 -0400
155
156 ovl: warn instead of error if d_type is not supported
157
158 overlay needs underlying fs to support d_type. Recently I put in a
159 patch in to detect this condition and started failing mount if
160 underlying fs did not support d_type.
161
162 But this breaks existing configurations over kernel upgrade. Those who
163 are running docker (partially broken configuration) with xfs not
164 supporting d_type, are surprised that after kernel upgrade docker does
165 not run anymore.
166
167 https://github.com/docker/docker/issues/22937#issuecomment-229881315
168
169 So instead of erroring out, detect broken configuration and warn
170 about it. This should allow existing docker setups to continue
171 working after kernel upgrade.
172
173 Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
174 Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
175 Fixes: 45aebeaf4f67 ("ovl: Ensure upper filesystem supports d_type")
176 Cc: <stable@vger.kernel.org> 4.6
177
178 fs/overlayfs/super.c | 12 +++++++-----
179 1 file changed, 7 insertions(+), 5 deletions(-)
180
181 commit 97bb95801d1ce86dafd1a59483803aba5b93e7c0
182 Author: Randy Dunlap <rdunlap@infradead.org>
183 Date: Wed Jul 6 16:06:53 2016 -0700
184
185 init/Kconfig: keep Expert users menu together
186
187 The "expert" menu was broken (split) such that all entries in it after
188 KALLSYMS were displayed in the "General setup" area instead of in the
189 "Expert users" area. Fix this by adding one kconfig dependency.
190
191 Yes, the Expert users menu is fragile. Problems like this have happened
192 several times in the past. I will attempt to isolate the Expert users
193 menu if there is interest in that.
194
195 Fixes: 4d5d5664c900 ("x86: kallsyms: disable absolute percpu symbols on !SMP")
196 Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
197 Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
198 Cc: stable@vger.kernel.org # 4.6
199 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
200
201 init/Kconfig | 1 +
202 1 file changed, 1 insertion(+)
203
204 commit 616a19ea32197667494240e8afc0de98d28fdd47
205 Merge: 769cc1b 98d6186
206 Author: Brad Spengler <spender@grsecurity.net>
207 Date: Wed Jul 6 20:41:51 2016 -0400
208
209 Merge branch 'pax-test' into grsec-test
210
211 commit 98d61867ac6a18500bbd9771678138154869cec3
212 Author: Brad Spengler <spender@grsecurity.net>
213 Date: Wed Jul 6 20:29:35 2016 -0400
214
215 Update to pax-linux-4.6.3-test10.patch:
216 - fixed a size overflow false positive in xfrm4_beet_output and xfrm6_beet_output, by Mathias Krause <minipli@ld-linux.so>
217 - fixed UEFI boot regression under KERNEXEC, reported by Yves-Alexis Perez <corsac@corsac.net> and x14sg1 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4502)
218 - fixed a few constification related compile errors on arm/mips, by spender
219 - updated the size overflow hash table from grsecurity
220 - fixed an integer truncation bug in __ioremap_caller caught by the size overflow plugin
221
222 arch/arm/mach-mmp/mmp2.c | 4 +-
223 arch/arm/mach-mmp/pxa910.c | 4 +-
224 arch/arm/mach-s3c64xx/mach-smdk6410.c | 2 +-
225 arch/arm/mm/fault.c | 2 +-
226 arch/x86/include/asm/efi.h | 5 +
227 arch/x86/include/asm/pgtable.h | 2 +-
228 arch/x86/mm/dump_pagetables.c | 32 +++-
229 arch/x86/mm/init_32.c | 55 +++---
230 arch/x86/mm/init_64.c | 12 +-
231 arch/x86/mm/ioremap.c | 2 +-
232 arch/x86/mm/pageattr.c | 2 +-
233 drivers/gpu/drm/sti/sti_cursor.c | 4 +-
234 drivers/gpu/drm/sti/sti_dvo.c | 4 +-
235 drivers/gpu/drm/sti/sti_gdp.c | 12 +-
236 drivers/gpu/drm/sti/sti_hdmi.c | 4 +-
237 drivers/gpu/drm/sti/sti_mixer.c | 8 +-
238 drivers/gpu/drm/sti/sti_vid.c | 4 +-
239 drivers/irqchip/irq-mmp.c | 2 +-
240 drivers/net/ethernet/broadcom/bnxt/bnxt.c | 2 +-
241 include/linux/irqchip/mmp.h | 2 +-
242 net/ipv4/xfrm4_mode_beet.c | 2 +-
243 net/ipv6/xfrm6_mode_beet.c | 2 +-
244 .../size_overflow_plugin/size_overflow_hash.data | 203 +++++++++++++++++----
245 23 files changed, 280 insertions(+), 91 deletions(-)
246
247 commit 769cc1b850f164d9fd9284898295eb616896d66b
248 Author: Brad Spengler <spender@grsecurity.net>
249 Date: Wed Jul 6 20:08:29 2016 -0400
250
251 Fix bug in RBAC learning reported by Andrew Flannery
252 Nolog/noaudit-type capability checks were handled in a separate
253 function which did not check if the requestor had the capability in
254 their effective set. This would cause privileged processes to be
255 denied use of their capabilities in the small number of instances
256 these kinds of checks were used (for ptrace_may_access() etc, which
257 get used in deciding if privileged processes can bypass /proc
258 restrictions) only when RBAC learning was enabled on the process.
259
260 Remove some code duplication in the process of fixing the bug.
261
262 grsecurity/gracl_cap.c | 49 +++++++++------------------------------------
263 grsecurity/grsec_disabled.c | 2 +-
264 grsecurity/grsec_exec.c | 9 ++++-----
265 include/linux/grsecurity.h | 4 ++--
266 kernel/capability.c | 2 +-
267 kernel/sys.c | 4 ++--
268 6 files changed, 19 insertions(+), 51 deletions(-)
269
270 commit 244fda357c13b44ac2d174713205863c552eb30d
271 Author: Brad Spengler <spender@grsecurity.net>
272 Date: Wed Jul 6 07:19:26 2016 -0400
273
274 Compile fix for recent /proc/pid/mem changes, reported by adminwset at
275 https://forums.grsecurity.net/viewtopic.php?t=4505&p=16415#p16415
276
277 fs/proc/base.c | 2 +-
278 fs/proc/internal.h | 2 +-
279 include/linux/sched.h | 2 ++
280 3 files changed, 4 insertions(+), 2 deletions(-)
281
282 commit 5bd1344d3f28c5402bcd85972bb520a5baaf612c
283 Author: Brad Spengler <spender@grsecurity.net>
284 Date: Sun Jul 3 21:27:25 2016 -0400
285
286 Initial import of grsecurity for Linux 4.6.3
287
288 Documentation/dontdiff | 2 +
289 Documentation/kernel-parameters.txt | 11 +
290 Documentation/sysctl/kernel.txt | 15 +
291 Makefile | 5 +-
292 arch/alpha/include/asm/cache.h | 4 +-
293 arch/alpha/kernel/osf_sys.c | 12 +-
294 arch/arc/Kconfig | 1 +
295 arch/arm/Kconfig | 1 +
296 arch/arm/Kconfig.debug | 1 +
297 arch/arm/include/asm/thread_info.h | 7 +-
298 arch/arm/kernel/entry-common.S | 8 +-
299 arch/arm/kernel/process.c | 4 +-
300 arch/arm/kernel/ptrace.c | 9 +
301 arch/arm/kernel/traps.c | 7 +-
302 arch/arm/mach-mmp/mmp2.c | 4 +-
303 arch/arm/mach-mmp/pxa910.c | 4 +-
304 arch/arm/mach-s3c64xx/mach-smdk6410.c | 2 +-
305 arch/arm/mm/Kconfig | 4 +-
306 arch/arm/mm/alignment.c | 24 +-
307 arch/arm/mm/fault.c | 42 +-
308 arch/arm/mm/mmap.c | 8 +-
309 arch/arm/net/bpf_jit_32.c | 51 +-
310 arch/arm64/Kconfig.debug | 1 +
311 arch/avr32/include/asm/cache.h | 4 +-
312 arch/blackfin/Kconfig.debug | 1 +
313 arch/blackfin/include/asm/cache.h | 3 +-
314 arch/cris/include/arch-v10/arch/cache.h | 3 +-
315 arch/cris/include/arch-v32/arch/cache.h | 3 +-
316 arch/frv/include/asm/cache.h | 3 +-
317 arch/frv/mm/elf-fdpic.c | 4 +-
318 arch/hexagon/include/asm/cache.h | 6 +-
319 arch/ia64/Kconfig | 1 +
320 arch/ia64/include/asm/cache.h | 3 +-
321 arch/ia64/kernel/sys_ia64.c | 2 +
322 arch/ia64/mm/hugetlbpage.c | 2 +
323 arch/m32r/include/asm/cache.h | 4 +-
324 arch/m68k/include/asm/cache.h | 4 +-
325 arch/metag/mm/hugetlbpage.c | 1 +
326 arch/microblaze/include/asm/cache.h | 3 +-
327 arch/mips/Kbuild | 2 +-
328 arch/mips/Kconfig | 1 +
329 arch/mips/include/asm/irq.h | 1 -
330 arch/mips/include/asm/thread_info.h | 11 +-
331 arch/mips/kernel/irq.c | 3 +
332 arch/mips/kernel/ptrace.c | 9 +
333 arch/mips/mm/mmap.c | 4 +-
334 arch/mn10300/proc-mn103e010/include/proc/cache.h | 4 +-
335 arch/mn10300/proc-mn2ws0050/include/proc/cache.h | 4 +-
336 arch/openrisc/include/asm/cache.h | 4 +-
337 arch/parisc/include/asm/cache.h | 3 +
338 arch/parisc/kernel/sys_parisc.c | 4 +
339 arch/powerpc/Kconfig | 1 +
340 arch/powerpc/include/asm/cache.h | 4 +-
341 arch/powerpc/include/asm/thread_info.h | 5 +-
342 arch/powerpc/kernel/Makefile | 2 +
343 arch/powerpc/kernel/irq.c | 3 +
344 arch/powerpc/kernel/process.c | 10 +-
345 arch/powerpc/kernel/ptrace.c | 14 +
346 arch/powerpc/kernel/traps.c | 5 +
347 arch/powerpc/mm/slice.c | 2 +-
348 arch/s390/Kconfig.debug | 1 +
349 arch/s390/include/asm/cache.h | 4 +-
350 arch/score/include/asm/cache.h | 4 +-
351 arch/sh/include/asm/cache.h | 3 +-
352 arch/sh/mm/mmap.c | 6 +-
353 arch/sparc/include/asm/atomic_64.h | 5 +
354 arch/sparc/include/asm/cache.h | 4 +-
355 arch/sparc/include/asm/pgalloc_64.h | 1 +
356 arch/sparc/include/asm/thread_info_64.h | 8 +-
357 arch/sparc/kernel/process_32.c | 6 +-
358 arch/sparc/kernel/process_64.c | 8 +-
359 arch/sparc/kernel/ptrace_64.c | 14 +
360 arch/sparc/kernel/sys_sparc_64.c | 8 +-
361 arch/sparc/kernel/syscalls.S | 8 +-
362 arch/sparc/kernel/traps_32.c | 8 +-
363 arch/sparc/kernel/traps_64.c | 28 +-
364 arch/sparc/kernel/unaligned_64.c | 2 +-
365 arch/sparc/lib/atomic_64.S | 2 +-
366 arch/sparc/lib/ksyms.c | 4 +-
367 arch/sparc/mm/fault_64.c | 2 +-
368 arch/sparc/mm/hugetlbpage.c | 15 +-
369 arch/tile/Kconfig | 1 +
370 arch/tile/include/asm/cache.h | 3 +-
371 arch/tile/mm/hugetlbpage.c | 2 +
372 arch/um/include/asm/cache.h | 3 +-
373 arch/unicore32/include/asm/cache.h | 6 +-
374 arch/x86/Kconfig | 21 +
375 arch/x86/Kconfig.debug | 2 +
376 arch/x86/entry/common.c | 14 +
377 arch/x86/entry/entry_32.S | 2 +-
378 arch/x86/entry/entry_64.S | 2 +-
379 arch/x86/ia32/ia32_aout.c | 2 +
380 arch/x86/include/asm/floppy.h | 20 +-
381 arch/x86/include/asm/fpu/types.h | 69 +-
382 arch/x86/include/asm/io.h | 2 +-
383 arch/x86/include/asm/page.h | 12 +-
384 arch/x86/include/asm/paravirt_types.h | 21 +-
385 arch/x86/include/asm/processor.h | 12 +-
386 arch/x86/include/asm/thread_info.h | 6 +-
387 arch/x86/kernel/dumpstack.c | 10 +-
388 arch/x86/kernel/dumpstack_32.c | 2 +-
389 arch/x86/kernel/dumpstack_64.c | 2 +-
390 arch/x86/kernel/ioport.c | 13 +
391 arch/x86/kernel/irq_32.c | 3 +
392 arch/x86/kernel/irq_64.c | 4 +
393 arch/x86/kernel/ldt.c | 18 +
394 arch/x86/kernel/msr.c | 12 +
395 arch/x86/kernel/ptrace.c | 14 +
396 arch/x86/kernel/signal.c | 9 +-
397 arch/x86/kernel/sys_i386_32.c | 9 +-
398 arch/x86/kernel/sys_x86_64.c | 8 +-
399 arch/x86/kernel/traps.c | 5 +
400 arch/x86/kernel/verify_cpu.S | 1 +
401 arch/x86/kernel/vm86_32.c | 15 +
402 arch/x86/mm/fault.c | 12 +-
403 arch/x86/mm/hugetlbpage.c | 15 +-
404 arch/x86/mm/init.c | 51 +-
405 arch/x86/mm/init_32.c | 10 +-
406 arch/x86/net/bpf_jit_comp.c | 4 +
407 arch/x86/platform/efi/efi_64.c | 2 +-
408 arch/x86/xen/Kconfig | 1 +
409 arch/xtensa/variants/dc232b/include/variant/core.h | 2 +-
410 arch/xtensa/variants/fsf/include/variant/core.h | 3 +-
411 crypto/scatterwalk.c | 10 +-
412 drivers/acpi/acpica/hwxfsleep.c | 11 +-
413 drivers/acpi/custom_method.c | 4 +
414 drivers/block/cciss.h | 30 +-
415 drivers/block/smart1,2.h | 40 +-
416 drivers/cdrom/cdrom.c | 2 +-
417 drivers/char/Kconfig | 4 +-
418 drivers/char/genrtc.c | 1 +
419 drivers/char/mem.c | 17 +
420 drivers/char/random.c | 5 +-
421 drivers/cpufreq/sparc-us3-cpufreq.c | 2 -
422 drivers/firewire/ohci.c | 4 +
423 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 80 +-
424 .../drm/amd/powerplay/hwmgr/cz_clockpowergating.c | 12 +-
425 drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c | 58 +-
426 drivers/gpu/drm/amd/powerplay/hwmgr/fiji_thermal.c | 20 +-
427 .../gpu/drm/amd/powerplay/hwmgr/tonga_thermal.c | 20 +-
428 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 7 +-
429 drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c | 9 +-
430 drivers/gpu/drm/nouveau/nouveau_ttm.c | 28 +-
431 drivers/gpu/drm/sti/sti_cursor.c | 6 +-
432 drivers/gpu/drm/sti/sti_dvo.c | 6 +-
433 drivers/gpu/drm/sti/sti_gdp.c | 6 +-
434 drivers/gpu/drm/sti/sti_hda.c | 6 +-
435 drivers/gpu/drm/sti/sti_hdmi.c | 6 +-
436 drivers/gpu/drm/sti/sti_hqvdp.c | 6 +-
437 drivers/gpu/drm/sti/sti_mixer.c | 6 +-
438 drivers/gpu/drm/sti/sti_tvout.c | 6 +-
439 drivers/gpu/drm/sti/sti_vid.c | 6 +-
440 drivers/gpu/drm/tilcdc/tilcdc_external.c | 2 +-
441 drivers/gpu/drm/ttm/ttm_bo_manager.c | 10 +-
442 drivers/gpu/drm/virtio/virtgpu_ttm.c | 10 +-
443 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c | 10 +-
444 drivers/hid/hid-wiimote-debug.c | 2 +-
445 drivers/hid/usbhid/hiddev.c | 10 +-
446 drivers/infiniband/hw/i40iw/i40iw_ctrl.c | 160 +-
447 drivers/infiniband/hw/i40iw/i40iw_uk.c | 34 +-
448 drivers/infiniband/hw/nes/nes_cm.c | 22 +-
449 drivers/iommu/Kconfig | 1 +
450 drivers/iommu/amd_iommu.c | 14 +-
451 drivers/irqchip/irq-mmp.c | 2 +-
452 drivers/isdn/gigaset/bas-gigaset.c | 32 +-
453 drivers/isdn/gigaset/ser-gigaset.c | 32 +-
454 drivers/isdn/gigaset/usb-gigaset.c | 34 +-
455 drivers/isdn/i4l/isdn_concap.c | 6 +-
456 drivers/isdn/i4l/isdn_x25iface.c | 16 +-
457 drivers/md/bcache/Kconfig | 1 +
458 drivers/md/raid5.c | 8 +
459 drivers/media/pci/solo6x10/solo6x10-g723.c | 2 +-
460 drivers/media/platform/sti/c8sectpfe/Kconfig | 1 +
461 drivers/media/radio/radio-cadet.c | 5 +-
462 drivers/media/usb/dvb-usb/cinergyT2-core.c | 91 +-
463 drivers/media/usb/dvb-usb/cinergyT2-fe.c | 182 +-
464 drivers/media/usb/dvb-usb/dvb-usb-firmware.c | 37 +-
465 drivers/media/usb/dvb-usb/technisat-usb2.c | 23 +-
466 drivers/message/fusion/mptbase.c | 9 +
467 drivers/misc/sgi-xp/xp_main.c | 12 +-
468 drivers/mtd/nand/brcmnand/bcm63138_nand.c | 6 +-
469 drivers/mtd/nand/brcmnand/iproc_nand.c | 8 +-
470 drivers/net/ethernet/brocade/bna/bna_enet.c | 8 +-
471 drivers/net/wan/lmc/lmc_media.c | 97 +-
472 drivers/net/wan/z85230.c | 24 +-
473 drivers/net/wireless/ath/ath9k/Kconfig | 1 -
474 drivers/net/wireless/zydas/zd1211rw/zd_usb.c | 2 +-
475 drivers/pci/proc.c | 9 +
476 drivers/platform/x86/asus-wmi.c | 12 +
477 drivers/rtc/rtc-dev.c | 3 +
478 drivers/scsi/bfa/bfa_fcs.c | 19 +-
479 drivers/scsi/bfa/bfa_fcs_lport.c | 29 +-
480 drivers/scsi/bfa/bfa_modules.h | 12 +-
481 drivers/scsi/hpsa.h | 40 +-
482 drivers/staging/lustre/lnet/libcfs/module.c | 10 +-
483 drivers/staging/lustre/lustre/ldlm/ldlm_flock.c | 2 +-
484 drivers/staging/wilc1000/host_interface.h | 1 +
485 drivers/staging/wilc1000/wilc_spi.c | 1 +
486 drivers/tty/serial/uartlite.c | 4 +-
487 drivers/tty/sysrq.c | 2 +-
488 drivers/tty/tty_io.c | 4 +
489 drivers/tty/vt/keyboard.c | 22 +-
490 drivers/uio/uio.c | 6 +-
491 drivers/usb/core/devio.c | 9 +-
492 drivers/usb/core/hub.c | 5 +
493 drivers/usb/gadget/function/f_uac1.c | 1 +
494 drivers/usb/gadget/function/u_uac1.c | 1 +
495 drivers/usb/host/hwa-hc.c | 9 +-
496 drivers/usb/usbip/vhci_sysfs.c | 2 +-
497 drivers/video/fbdev/arcfb.c | 2 +-
498 drivers/video/fbdev/matrox/matroxfb_DAC1064.c | 10 +-
499 drivers/video/fbdev/matrox/matroxfb_Ti3026.c | 5 +-
500 drivers/video/fbdev/sh_mobile_lcdcfb.c | 6 +-
501 drivers/video/logo/logo_linux_clut224.ppm | 2720 ++++----
502 drivers/xen/xenfs/xenstored.c | 5 +
503 firmware/Makefile | 2 +
504 firmware/WHENCE | 20 +-
505 firmware/bnx2/bnx2-mips-06-6.2.3.fw.ihex | 5804 +++++++++++++++++
506 firmware/bnx2/bnx2-mips-09-6.2.1b.fw.ihex | 6496 ++++++++++++++++++++
507 fs/attr.c | 4 +
508 fs/autofs4/waitq.c | 9 +
509 fs/binfmt_aout.c | 7 +
510 fs/binfmt_elf.c | 40 +-
511 fs/compat.c | 20 +-
512 fs/coredump.c | 17 +-
513 fs/dcache.c | 3 +
514 fs/debugfs/inode.c | 19 +-
515 fs/exec.c | 249 +-
516 fs/ext2/balloc.c | 4 +-
517 fs/ext2/super.c | 8 +-
518 fs/ext4/balloc.c | 4 +-
519 fs/ext4/extents.c | 2 +-
520 fs/fcntl.c | 4 +
521 fs/fhandle.c | 3 +-
522 fs/file.c | 4 +
523 fs/filesystems.c | 4 +
524 fs/fs_struct.c | 20 +-
525 fs/hugetlbfs/inode.c | 5 +-
526 fs/inode.c | 8 +-
527 fs/kernfs/dir.c | 6 +
528 fs/mount.h | 4 +-
529 fs/namei.c | 292 +-
530 fs/namespace.c | 24 +
531 fs/nfsd/nfs2acl.c | 20 +-
532 fs/nfsd/nfs3acl.c | 16 +-
533 fs/nfsd/nfs4acl.c | 16 +-
534 fs/nfsd/nfscache.c | 2 +-
535 fs/open.c | 38 +
536 fs/overlayfs/inode.c | 3 +
537 fs/overlayfs/super.c | 6 +-
538 fs/pipe.c | 2 +-
539 fs/posix_acl.c | 61 +-
540 fs/proc/Kconfig | 10 +-
541 fs/proc/array.c | 67 +-
542 fs/proc/base.c | 193 +-
543 fs/proc/cmdline.c | 4 +
544 fs/proc/devices.c | 4 +
545 fs/proc/fd.c | 13 +-
546 fs/proc/generic.c | 64 +
547 fs/proc/inode.c | 17 +
548 fs/proc/internal.h | 18 +-
549 fs/proc/interrupts.c | 4 +
550 fs/proc/kcore.c | 3 +
551 fs/proc/proc_net.c | 31 +
552 fs/proc/proc_sysctl.c | 52 +-
553 fs/proc/root.c | 8 +
554 fs/proc/stat.c | 69 +-
555 fs/proc/task_mmu.c | 85 +-
556 fs/proc/task_nommu.c | 2 +-
557 fs/readdir.c | 19 +
558 fs/reiserfs/item_ops.c | 24 +-
559 fs/reiserfs/super.c | 4 +
560 fs/select.c | 2 +
561 fs/seq_file.c | 31 +-
562 fs/stat.c | 20 +-
563 fs/sysfs/dir.c | 30 +-
564 fs/utimes.c | 7 +
565 fs/xattr.c | 26 +-
566 fs/xfs/xfs_icache.c | 60 +-
567 fs/xfs/xfs_inode.c | 13 +
568 grsecurity/Kconfig | 1205 ++++
569 grsecurity/Makefile | 54 +
570 grsecurity/gracl.c | 2757 +++++++++
571 grsecurity/gracl_alloc.c | 105 +
572 grsecurity/gracl_cap.c | 127 +
573 grsecurity/gracl_compat.c | 269 +
574 grsecurity/gracl_fs.c | 448 ++
575 grsecurity/gracl_ip.c | 387 ++
576 grsecurity/gracl_learn.c | 207 +
577 grsecurity/gracl_policy.c | 1784 ++++++
578 grsecurity/gracl_res.c | 68 +
579 grsecurity/gracl_segv.c | 306 +
580 grsecurity/gracl_shm.c | 40 +
581 grsecurity/grsec_chdir.c | 19 +
582 grsecurity/grsec_chroot.c | 506 ++
583 grsecurity/grsec_disabled.c | 445 ++
584 grsecurity/grsec_exec.c | 189 +
585 grsecurity/grsec_fifo.c | 26 +
586 grsecurity/grsec_fork.c | 23 +
587 grsecurity/grsec_init.c | 294 +
588 grsecurity/grsec_ipc.c | 48 +
589 grsecurity/grsec_link.c | 65 +
590 grsecurity/grsec_log.c | 340 +
591 grsecurity/grsec_mem.c | 48 +
592 grsecurity/grsec_mount.c | 65 +
593 grsecurity/grsec_pax.c | 47 +
594 grsecurity/grsec_proc.c | 20 +
595 grsecurity/grsec_ptrace.c | 30 +
596 grsecurity/grsec_sig.c | 248 +
597 grsecurity/grsec_sock.c | 244 +
598 grsecurity/grsec_sysctl.c | 497 ++
599 grsecurity/grsec_time.c | 16 +
600 grsecurity/grsec_tpe.c | 78 +
601 grsecurity/grsec_tty.c | 18 +
602 grsecurity/grsec_usb.c | 15 +
603 grsecurity/grsum.c | 56 +
604 include/drm/drm_modeset_helper_vtables.h | 1 +
605 include/linux/binfmts.h | 5 +-
606 include/linux/capability.h | 13 +
607 include/linux/compiler-gcc.h | 5 +
608 include/linux/compiler.h | 8 +
609 include/linux/cred.h | 8 +-
610 include/linux/dcache.h | 5 +-
611 include/linux/fs.h | 24 +-
612 include/linux/fs_struct.h | 2 +-
613 include/linux/fsnotify.h | 6 +
614 include/linux/gracl.h | 342 ++
615 include/linux/gracl_compat.h | 156 +
616 include/linux/gralloc.h | 9 +
617 include/linux/grdefs.h | 140 +
618 include/linux/grinternal.h | 231 +
619 include/linux/grmsg.h | 120 +
620 include/linux/grsecurity.h | 259 +
621 include/linux/grsock.h | 19 +
622 include/linux/ipc.h | 2 +-
623 include/linux/ipc_namespace.h | 2 +-
624 include/linux/kallsyms.h | 18 +-
625 include/linux/key-type.h | 4 +-
626 include/linux/kmod.h | 5 +
627 include/linux/kobject.h | 2 +-
628 include/linux/lsm_hooks.h | 4 +-
629 include/linux/mm.h | 12 +
630 include/linux/mm_types.h | 4 +-
631 include/linux/module.h | 5 +-
632 include/linux/mount.h | 2 +-
633 include/linux/msg.h | 2 +-
634 include/linux/netfilter/xt_gradm.h | 9 +
635 include/linux/path.h | 4 +-
636 include/linux/perf_event.h | 13 +-
637 include/linux/pid_namespace.h | 2 +-
638 include/linux/printk.h | 2 +-
639 include/linux/proc_fs.h | 22 +-
640 include/linux/proc_ns.h | 2 +-
641 include/linux/random.h | 2 +-
642 include/linux/rbtree_augmented.h | 4 +-
643 include/linux/scatterlist.h | 12 +-
644 include/linux/sched.h | 135 +-
645 include/linux/security.h | 1 +
646 include/linux/sem.h | 2 +-
647 include/linux/seq_file.h | 5 +
648 include/linux/shm.h | 6 +-
649 include/linux/skbuff.h | 3 +
650 include/linux/slab.h | 9 -
651 include/linux/sysctl.h | 8 +-
652 include/linux/thread_info.h | 6 +-
653 include/linux/tty.h | 2 +-
654 include/linux/tty_driver.h | 4 +-
655 include/linux/uidgid.h | 6 +
656 include/linux/user_namespace.h | 2 +-
657 include/linux/utsname.h | 2 +-
658 include/linux/vermagic.h | 16 +-
659 include/linux/vmalloc.h | 8 +
660 include/net/af_unix.h | 2 +-
661 include/net/ip.h | 2 +-
662 include/net/neighbour.h | 2 +-
663 include/net/net_namespace.h | 2 +-
664 include/net/sock.h | 2 +-
665 include/trace/events/fs.h | 53 +
666 include/uapi/linux/personality.h | 1 +
667 init/Kconfig | 5 +-
668 init/main.c | 46 +-
669 ipc/mqueue.c | 1 +
670 ipc/msg.c | 3 +-
671 ipc/msgutil.c | 4 +-
672 ipc/sem.c | 3 +-
673 ipc/shm.c | 26 +-
674 ipc/util.c | 6 +
675 kernel/auditsc.c | 2 +-
676 kernel/bpf/syscall.c | 10 +-
677 kernel/capability.c | 41 +-
678 kernel/cgroup.c | 5 +-
679 kernel/compat.c | 1 +
680 kernel/configs.c | 11 +
681 kernel/cred.c | 112 +-
682 kernel/events/core.c | 14 +-
683 kernel/exit.c | 10 +-
684 kernel/fork.c | 92 +-
685 kernel/futex.c | 4 +-
686 kernel/kallsyms.c | 9 +
687 kernel/kcmp.c | 4 +
688 kernel/kexec_core.c | 2 +-
689 kernel/kmod.c | 96 +-
690 kernel/kprobes.c | 9 +-
691 kernel/ksysfs.c | 2 +
692 kernel/locking/lockdep_proc.c | 10 +-
693 kernel/module.c | 108 +-
694 kernel/panic.c | 6 +-
695 kernel/pid.c | 18 +-
696 kernel/power/Kconfig | 2 +
697 kernel/printk/printk.c | 7 +-
698 kernel/ptrace.c | 50 +-
699 kernel/resource.c | 10 +
700 kernel/sched/core.c | 9 +-
701 kernel/sched/debug.c | 4 +
702 kernel/signal.c | 37 +-
703 kernel/sys.c | 64 +-
704 kernel/sysctl.c | 174 +-
705 kernel/taskstats.c | 6 +
706 kernel/time/posix-timers.c | 8 +
707 kernel/time/time.c | 5 +
708 kernel/time/timekeeping.c | 3 +
709 kernel/time/timer_list.c | 13 +-
710 kernel/time/timer_stats.c | 10 +-
711 kernel/trace/Kconfig | 6 +
712 kernel/trace/trace_syscalls.c | 8 +
713 kernel/user_namespace.c | 15 +
714 lib/Kconfig.debug | 13 +-
715 lib/is_single_threaded.c | 3 +
716 lib/list_debug.c | 65 +-
717 lib/nlattr.c | 2 +
718 lib/rbtree.c | 4 +-
719 lib/vsprintf.c | 39 +-
720 localversion-grsec | 1 +
721 mm/Kconfig | 8 +-
722 mm/Kconfig.debug | 1 +
723 mm/filemap.c | 1 +
724 mm/kmemleak.c | 4 +-
725 mm/memory.c | 2 +-
726 mm/mempolicy.c | 12 +-
727 mm/migrate.c | 3 +-
728 mm/mlock.c | 11 +-
729 mm/mmap.c | 124 +-
730 mm/mprotect.c | 8 +
731 mm/page_alloc.c | 2 +-
732 mm/percpu.c | 73 +-
733 mm/process_vm_access.c | 6 +
734 mm/shmem.c | 2 +-
735 mm/slab.c | 14 +-
736 mm/slab_common.c | 2 +-
737 mm/slob.c | 12 +
738 mm/slub.c | 33 +-
739 mm/util.c | 3 +
740 mm/vmalloc.c | 84 +-
741 mm/vmstat.c | 29 +-
742 net/appletalk/atalk_proc.c | 2 +-
743 net/atm/lec.c | 6 +-
744 net/atm/mpoa_caches.c | 43 +-
745 net/can/bcm.c | 2 +-
746 net/can/proc.c | 2 +-
747 net/core/dev_ioctl.c | 7 +-
748 net/core/filter.c | 8 +-
749 net/core/net-procfs.c | 17 +-
750 net/core/pktgen.c | 2 +-
751 net/core/sock.c | 23 +-
752 net/core/sysctl_net_core.c | 2 +-
753 net/decnet/dn_dev.c | 2 +-
754 net/ipv4/devinet.c | 6 +-
755 net/ipv4/inet_hashtables.c | 6 +
756 net/ipv4/ip_input.c | 7 +
757 net/ipv4/ip_sockglue.c | 3 +-
758 net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 +-
759 net/ipv4/route.c | 6 +-
760 net/ipv4/tcp_input.c | 6 +-
761 net/ipv4/tcp_ipv4.c | 24 +-
762 net/ipv4/tcp_minisocks.c | 9 +-
763 net/ipv4/tcp_timer.c | 11 +
764 net/ipv4/udp.c | 24 +
765 net/ipv6/addrconf.c | 13 +-
766 net/ipv6/proc.c | 2 +-
767 net/ipv6/tcp_ipv6.c | 23 +-
768 net/ipv6/udp.c | 7 +
769 net/ipx/ipx_proc.c | 2 +-
770 net/irda/irproc.c | 2 +-
771 net/llc/llc_proc.c | 2 +-
772 net/netfilter/Kconfig | 10 +
773 net/netfilter/Makefile | 1 +
774 net/netfilter/xt_gradm.c | 51 +
775 net/netfilter/xt_hashlimit.c | 4 +-
776 net/netfilter/xt_recent.c | 2 +-
777 net/socket.c | 75 +-
778 net/sunrpc/Kconfig | 1 +
779 net/sunrpc/cache.c | 2 +-
780 net/sunrpc/stats.c | 2 +-
781 net/sysctl_net.c | 2 +-
782 net/unix/af_unix.c | 52 +-
783 net/vmw_vsock/vmci_transport_notify.c | 30 +-
784 net/vmw_vsock/vmci_transport_notify_qstate.c | 30 +-
785 net/x25/sysctl_net_x25.c | 2 +-
786 net/x25/x25_proc.c | 2 +-
787 scripts/Makefile.gcc-plugins | 5 +
788 scripts/gcc-plugins/.gitignore | 1 +
789 scripts/gcc-plugins/Makefile | 10 +
790 scripts/gcc-plugins/gen-random-seed.sh | 8 +
791 scripts/gcc-plugins/randomize_layout_plugin.c | 940 +++
792 .../size_overflow_plugin/size_overflow_hash.data | 724 ++-
793 scripts/package/Makefile | 2 +-
794 scripts/package/mkspec | 41 +-
795 security/Kconfig | 364 +-
796 security/apparmor/file.c | 4 +-
797 security/apparmor/lsm.c | 8 +-
798 security/commoncap.c | 29 +
799 security/keys/internal.h | 2 +-
800 security/keys/key.c | 2 +-
801 security/min_addr.c | 2 +
802 security/tomoyo/file.c | 12 +-
803 security/tomoyo/mount.c | 4 +
804 security/tomoyo/tomoyo.c | 20 +-
805 security/yama/Kconfig | 2 +-
806 sound/synth/emux/emux_seq.c | 14 +-
807 sound/usb/line6/driver.c | 40 +-
808 sound/usb/line6/toneport.c | 12 +-
809 521 files changed, 33285 insertions(+), 3355 deletions(-)
810
811 commit 96b2aa21ce8de62dfa0ee023b2cd20928f5021a1
812 Author: Brad Spengler <spender@grsecurity.net>
813 Date: Sat Jul 2 09:03:17 2016 -0400
814
815 Initial commit of pax-linux-4.6.3-test9.patch
816
817 .gitignore | 1 +
818 Documentation/dontdiff | 46 +-
819 Documentation/kbuild/makefiles.txt | 39 +-
820 Documentation/kernel-parameters.txt | 28 +
821 Makefile | 20 +-
822 arch/Kconfig | 14 +
823 arch/alpha/include/asm/atomic.h | 10 +
824 arch/alpha/include/asm/elf.h | 7 +
825 arch/alpha/include/asm/pgalloc.h | 6 +
826 arch/alpha/include/asm/pgtable.h | 11 +
827 arch/alpha/kernel/module.c | 2 +-
828 arch/alpha/kernel/osf_sys.c | 8 +-
829 arch/alpha/mm/fault.c | 141 +-
830 arch/arm/Kconfig | 6 +-
831 arch/arm/boot/compressed/Makefile | 2 +
832 arch/arm/include/asm/atomic.h | 323 +-
833 arch/arm/include/asm/cache.h | 4 +-
834 arch/arm/include/asm/cacheflush.h | 2 +-
835 arch/arm/include/asm/checksum.h | 14 +-
836 arch/arm/include/asm/cmpxchg.h | 4 +
837 arch/arm/include/asm/cpuidle.h | 2 +-
838 arch/arm/include/asm/domain.h | 42 +-
839 arch/arm/include/asm/elf.h | 9 +-
840 arch/arm/include/asm/fncpy.h | 2 +
841 arch/arm/include/asm/futex.h | 1 +
842 arch/arm/include/asm/kmap_types.h | 2 +-
843 arch/arm/include/asm/mach/dma.h | 2 +-
844 arch/arm/include/asm/mach/map.h | 16 +-
845 arch/arm/include/asm/outercache.h | 2 +-
846 arch/arm/include/asm/page.h | 3 +-
847 arch/arm/include/asm/pgalloc.h | 20 +
848 arch/arm/include/asm/pgtable-2level-hwdef.h | 4 +-
849 arch/arm/include/asm/pgtable-2level.h | 3 +
850 arch/arm/include/asm/pgtable-3level.h | 3 +
851 arch/arm/include/asm/pgtable.h | 54 +-
852 arch/arm/include/asm/smp.h | 2 +-
853 arch/arm/include/asm/string.h | 10 +-
854 arch/arm/include/asm/thread_info.h | 3 +
855 arch/arm/include/asm/tls.h | 3 +
856 arch/arm/include/asm/uaccess.h | 113 +-
857 arch/arm/include/uapi/asm/ptrace.h | 2 +-
858 arch/arm/kernel/armksyms.c | 2 +-
859 arch/arm/kernel/cpuidle.c | 2 +-
860 arch/arm/kernel/entry-armv.S | 109 +-
861 arch/arm/kernel/entry-common.S | 40 +-
862 arch/arm/kernel/entry-header.S | 55 +
863 arch/arm/kernel/fiq.c | 3 +
864 arch/arm/kernel/module-plts.c | 7 +-
865 arch/arm/kernel/module.c | 38 +-
866 arch/arm/kernel/patch.c | 2 +
867 arch/arm/kernel/process.c | 86 +-
868 arch/arm/kernel/reboot.c | 1 +
869 arch/arm/kernel/setup.c | 20 +-
870 arch/arm/kernel/signal.c | 35 +-
871 arch/arm/kernel/smp.c | 2 +-
872 arch/arm/kernel/tcm.c | 4 +-
873 arch/arm/kernel/vmlinux.lds.S | 6 +-
874 arch/arm/kvm/arm.c | 8 +-
875 arch/arm/lib/copy_page.S | 1 +
876 arch/arm/lib/csumpartialcopyuser.S | 4 +-
877 arch/arm/lib/delay.c | 2 +-
878 arch/arm/lib/uaccess_with_memcpy.c | 4 +-
879 arch/arm/mach-exynos/suspend.c | 6 +-
880 arch/arm/mach-mvebu/coherency.c | 4 +-
881 arch/arm/mach-omap2/board-n8x0.c | 2 +-
882 arch/arm/mach-omap2/omap-mpuss-lowpower.c | 4 +-
883 arch/arm/mach-omap2/omap-smp.c | 1 +
884 arch/arm/mach-omap2/omap_device.c | 4 +-
885 arch/arm/mach-omap2/omap_device.h | 4 +-
886 arch/arm/mach-omap2/omap_hwmod.c | 4 +-
887 arch/arm/mach-omap2/powerdomains43xx_data.c | 5 +-
888 arch/arm/mach-omap2/wd_timer.c | 6 +-
889 arch/arm/mach-shmobile/platsmp-apmu.c | 5 +-
890 arch/arm/mach-tegra/cpuidle-tegra20.c | 2 +-
891 arch/arm/mach-tegra/irq.c | 1 +
892 arch/arm/mach-ux500/pm.c | 1 +
893 arch/arm/mach-zynq/platsmp.c | 1 +
894 arch/arm/mm/Kconfig | 6 +-
895 arch/arm/mm/cache-l2x0.c | 2 +-
896 arch/arm/mm/context.c | 10 +-
897 arch/arm/mm/fault.c | 160 +
898 arch/arm/mm/fault.h | 12 +
899 arch/arm/mm/init.c | 39 +
900 arch/arm/mm/ioremap.c | 4 +-
901 arch/arm/mm/mmap.c | 36 +-
902 arch/arm/mm/mmu.c | 162 +-
903 arch/arm/net/bpf_jit_32.c | 3 +
904 arch/arm/plat-iop/setup.c | 2 +-
905 arch/arm/plat-omap/sram.c | 2 +
906 arch/arm64/Kconfig | 1 +
907 arch/arm64/include/asm/atomic.h | 10 +
908 arch/arm64/include/asm/percpu.h | 8 +-
909 arch/arm64/include/asm/pgalloc.h | 5 +
910 arch/arm64/include/asm/string.h | 22 +-
911 arch/arm64/include/asm/uaccess.h | 1 +
912 arch/arm64/mm/dma-mapping.c | 2 +-
913 arch/avr32/include/asm/elf.h | 8 +-
914 arch/avr32/include/asm/kmap_types.h | 4 +-
915 arch/avr32/mm/fault.c | 27 +
916 arch/frv/include/asm/atomic.h | 10 +
917 arch/frv/include/asm/kmap_types.h | 2 +-
918 arch/frv/mm/elf-fdpic.c | 3 +-
919 arch/ia64/Makefile | 1 +
920 arch/ia64/include/asm/atomic.h | 10 +
921 arch/ia64/include/asm/elf.h | 7 +
922 arch/ia64/include/asm/pgalloc.h | 12 +
923 arch/ia64/include/asm/pgtable.h | 13 +-
924 arch/ia64/include/asm/spinlock.h | 2 +-
925 arch/ia64/include/asm/uaccess.h | 27 +-
926 arch/ia64/kernel/module.c | 20 +-
927 arch/ia64/kernel/palinfo.c | 2 +-
928 arch/ia64/kernel/sys_ia64.c | 7 +
929 arch/ia64/kernel/vmlinux.lds.S | 2 +-
930 arch/ia64/mm/fault.c | 32 +-
931 arch/ia64/mm/init.c | 15 +-
932 arch/m32r/lib/usercopy.c | 6 +
933 arch/mips/Kconfig | 1 +
934 arch/mips/cavium-octeon/dma-octeon.c | 2 +-
935 arch/mips/include/asm/atomic.h | 372 +-
936 arch/mips/include/asm/cache.h | 3 +-
937 arch/mips/include/asm/elf.h | 7 +
938 arch/mips/include/asm/exec.h | 2 +-
939 arch/mips/include/asm/hw_irq.h | 2 +-
940 arch/mips/include/asm/local.h | 57 +
941 arch/mips/include/asm/page.h | 2 +-
942 arch/mips/include/asm/pgalloc.h | 5 +
943 arch/mips/include/asm/pgtable.h | 3 +
944 arch/mips/include/asm/uaccess.h | 1 +
945 arch/mips/kernel/binfmt_elfn32.c | 7 +
946 arch/mips/kernel/binfmt_elfo32.c | 7 +
947 arch/mips/kernel/irq-gt641xx.c | 2 +-
948 arch/mips/kernel/irq.c | 6 +-
949 arch/mips/kernel/pm-cps.c | 2 +-
950 arch/mips/kernel/process.c | 12 -
951 arch/mips/kernel/sync-r4k.c | 24 +-
952 arch/mips/kernel/traps.c | 13 +-
953 arch/mips/lib/ashldi3.c | 21 +-
954 arch/mips/lib/ashrdi3.c | 19 +-
955 arch/mips/lib/libgcc.h | 12 +-
956 arch/mips/mm/fault.c | 25 +
957 arch/mips/mm/init.c | 4 +-
958 arch/mips/mm/mmap.c | 24 +-
959 arch/mips/sgi-ip27/ip27-nmi.c | 6 +-
960 arch/mips/sni/rm200.c | 2 +-
961 arch/mips/vr41xx/common/icu.c | 2 +-
962 arch/mips/vr41xx/common/irq.c | 4 +-
963 arch/parisc/include/asm/atomic.h | 10 +
964 arch/parisc/include/asm/elf.h | 7 +
965 arch/parisc/include/asm/pgalloc.h | 6 +
966 arch/parisc/include/asm/pgtable.h | 11 +
967 arch/parisc/include/asm/uaccess.h | 4 +-
968 arch/parisc/kernel/module.c | 26 +-
969 arch/parisc/kernel/sys_parisc.c | 15 +
970 arch/parisc/kernel/traps.c | 4 +-
971 arch/parisc/mm/fault.c | 140 +-
972 arch/powerpc/Kconfig | 1 +
973 arch/powerpc/include/asm/atomic.h | 317 +-
974 arch/powerpc/include/asm/book3s/32/hash.h | 1 +
975 arch/powerpc/include/asm/elf.h | 12 +
976 arch/powerpc/include/asm/exec.h | 2 +-
977 arch/powerpc/include/asm/kmap_types.h | 2 +-
978 arch/powerpc/include/asm/local.h | 46 +
979 arch/powerpc/include/asm/mman.h | 2 +-
980 arch/powerpc/include/asm/page.h | 8 +-
981 arch/powerpc/include/asm/page_64.h | 7 +-
982 arch/powerpc/include/asm/pgalloc-64.h | 11 +
983 arch/powerpc/include/asm/pgtable.h | 1 +
984 arch/powerpc/include/asm/reg.h | 1 +
985 arch/powerpc/include/asm/smp.h | 2 +-
986 arch/powerpc/include/asm/spinlock.h | 42 +-
987 arch/powerpc/include/asm/string.h | 18 +-
988 arch/powerpc/include/asm/uaccess.h | 141 +-
989 arch/powerpc/kernel/Makefile | 5 +
990 arch/powerpc/kernel/exceptions-64e.S | 4 +-
991 arch/powerpc/kernel/exceptions-64s.S | 2 +-
992 arch/powerpc/kernel/module_32.c | 15 +-
993 arch/powerpc/kernel/process.c | 7 -
994 arch/powerpc/kernel/signal_32.c | 2 +-
995 arch/powerpc/kernel/signal_64.c | 2 +-
996 arch/powerpc/kernel/traps.c | 21 +
997 arch/powerpc/kernel/vdso.c | 5 +-
998 arch/powerpc/lib/usercopy_64.c | 18 -
999 arch/powerpc/mm/fault.c | 56 +-
1000 arch/powerpc/mm/mmap.c | 16 +
1001 arch/powerpc/mm/slice.c | 21 +-
1002 arch/powerpc/platforms/cell/spufs/file.c | 4 +-
1003 arch/s390/include/asm/atomic.h | 10 +
1004 arch/s390/include/asm/elf.h | 7 +
1005 arch/s390/include/asm/exec.h | 2 +-
1006 arch/s390/include/asm/uaccess.h | 13 +-
1007 arch/s390/kernel/module.c | 22 +-
1008 arch/s390/kernel/process.c | 7 -
1009 arch/s390/mm/mmap.c | 22 +-
1010 arch/score/include/asm/exec.h | 2 +-
1011 arch/score/kernel/process.c | 5 -
1012 arch/sh/mm/mmap.c | 28 +-
1013 arch/sparc/Kconfig | 1 +
1014 arch/sparc/include/asm/atomic_64.h | 110 +-
1015 arch/sparc/include/asm/cache.h | 2 +-
1016 arch/sparc/include/asm/elf_32.h | 7 +
1017 arch/sparc/include/asm/elf_64.h | 7 +
1018 arch/sparc/include/asm/pgalloc_32.h | 1 +
1019 arch/sparc/include/asm/pgalloc_64.h | 1 +
1020 arch/sparc/include/asm/pgtable.h | 4 +
1021 arch/sparc/include/asm/pgtable_32.h | 15 +-
1022 arch/sparc/include/asm/pgtsrmmu.h | 5 +
1023 arch/sparc/include/asm/setup.h | 4 +-
1024 arch/sparc/include/asm/spinlock_64.h | 35 +-
1025 arch/sparc/include/asm/thread_info_32.h | 1 +
1026 arch/sparc/include/asm/thread_info_64.h | 2 +
1027 arch/sparc/include/asm/uaccess.h | 1 +
1028 arch/sparc/include/asm/uaccess_32.h | 28 +-
1029 arch/sparc/include/asm/uaccess_64.h | 24 +-
1030 arch/sparc/kernel/Makefile | 2 +-
1031 arch/sparc/kernel/prom_common.c | 2 +-
1032 arch/sparc/kernel/smp_64.c | 8 +-
1033 arch/sparc/kernel/sys_sparc_32.c | 2 +-
1034 arch/sparc/kernel/sys_sparc_64.c | 58 +-
1035 arch/sparc/kernel/traps_64.c | 27 +-
1036 arch/sparc/lib/Makefile | 2 +-
1037 arch/sparc/lib/atomic_64.S | 57 +-
1038 arch/sparc/lib/ksyms.c | 6 +-
1039 arch/sparc/mm/Makefile | 2 +-
1040 arch/sparc/mm/fault_32.c | 292 +
1041 arch/sparc/mm/fault_64.c | 486 +
1042 arch/sparc/mm/hugetlbpage.c | 30 +-
1043 arch/sparc/mm/init_64.c | 10 +-
1044 arch/tile/include/asm/atomic_64.h | 10 +
1045 arch/tile/include/asm/uaccess.h | 4 +-
1046 arch/um/Makefile | 2 +
1047 arch/um/include/asm/kmap_types.h | 2 +-
1048 arch/um/include/asm/page.h | 3 +
1049 arch/um/include/asm/pgtable-3level.h | 1 +
1050 arch/um/kernel/process.c | 16 -
1051 arch/x86/Kconfig | 33 +-
1052 arch/x86/Kconfig.cpu | 6 +-
1053 arch/x86/Kconfig.debug | 3 +-
1054 arch/x86/Makefile | 13 +-
1055 arch/x86/boot/bitops.h | 4 +-
1056 arch/x86/boot/boot.h | 2 +-
1057 arch/x86/boot/compressed/Makefile | 17 +
1058 arch/x86/boot/compressed/efi_stub_32.S | 16 +-
1059 arch/x86/boot/compressed/efi_thunk_64.S | 4 +-
1060 arch/x86/boot/compressed/head_32.S | 4 +-
1061 arch/x86/boot/compressed/head_64.S | 12 +-
1062 arch/x86/boot/compressed/misc.c | 11 +-
1063 arch/x86/boot/cpucheck.c | 16 +-
1064 arch/x86/boot/header.S | 6 +-
1065 arch/x86/boot/memory.c | 2 +-
1066 arch/x86/boot/video-vesa.c | 1 +
1067 arch/x86/boot/video.c | 2 +-
1068 arch/x86/crypto/aes-x86_64-asm_64.S | 4 +
1069 arch/x86/crypto/aesni-intel_asm.S | 116 +-
1070 arch/x86/crypto/aesni-intel_glue.c | 4 +-
1071 arch/x86/crypto/blowfish-x86_64-asm_64.S | 11 +-
1072 arch/x86/crypto/camellia-aesni-avx-asm_64.S | 22 +-
1073 arch/x86/crypto/camellia-aesni-avx2-asm_64.S | 22 +-
1074 arch/x86/crypto/camellia-x86_64-asm_64.S | 11 +-
1075 arch/x86/crypto/camellia_aesni_avx2_glue.c | 18 +-
1076 arch/x86/crypto/camellia_aesni_avx_glue.c | 18 +-
1077 arch/x86/crypto/camellia_glue.c | 8 +-
1078 arch/x86/crypto/cast5-avx-x86_64-asm_64.S | 55 +-
1079 arch/x86/crypto/cast6-avx-x86_64-asm_64.S | 37 +-
1080 arch/x86/crypto/cast6_avx_glue.c | 16 +-
1081 arch/x86/crypto/crc32c-pcl-intel-asm_64.S | 2 +
1082 arch/x86/crypto/ghash-clmulni-intel_asm.S | 4 +
1083 arch/x86/crypto/glue_helper.c | 2 +-
1084 arch/x86/crypto/salsa20-x86_64-asm_64.S | 4 +
1085 arch/x86/crypto/serpent-avx-x86_64-asm_64.S | 21 +-
1086 arch/x86/crypto/serpent-avx2-asm_64.S | 21 +-
1087 arch/x86/crypto/serpent-sse2-x86_64-asm_64.S | 4 +
1088 arch/x86/crypto/serpent_avx2_glue.c | 14 +-
1089 arch/x86/crypto/serpent_avx_glue.c | 18 +-
1090 arch/x86/crypto/serpent_sse2_glue.c | 4 +-
1091 arch/x86/crypto/sha-mb/sha1_mb_mgr_flush_avx2.S | 4 +-
1092 arch/x86/crypto/sha-mb/sha1_mb_mgr_submit_avx2.S | 2 +-
1093 arch/x86/crypto/sha1_ssse3_asm.S | 13 +-
1094 arch/x86/crypto/sha1_ssse3_glue.c | 56 +-
1095 arch/x86/crypto/sha256-avx-asm.S | 5 +-
1096 arch/x86/crypto/sha256-avx2-asm.S | 5 +-
1097 arch/x86/crypto/sha256-ssse3-asm.S | 6 +-
1098 arch/x86/crypto/sha256_ni_asm.S | 2 +-
1099 arch/x86/crypto/sha256_ssse3_glue.c | 26 +-
1100 arch/x86/crypto/sha512-avx-asm.S | 5 +-
1101 arch/x86/crypto/sha512-avx2-asm.S | 5 +-
1102 arch/x86/crypto/sha512-ssse3-asm.S | 5 +-
1103 arch/x86/crypto/sha512_ssse3_glue.c | 22 +-
1104 arch/x86/crypto/twofish-avx-x86_64-asm_64.S | 37 +-
1105 arch/x86/crypto/twofish-i586-asm_32.S | 4 +-
1106 arch/x86/crypto/twofish-x86_64-asm_64-3way.S | 6 +-
1107 arch/x86/crypto/twofish-x86_64-asm_64.S | 7 +-
1108 arch/x86/crypto/twofish_avx_glue.c | 21 +-
1109 arch/x86/crypto/twofish_glue.c | 4 +-
1110 arch/x86/crypto/twofish_glue_3way.c | 12 +-
1111 arch/x86/entry/Makefile | 2 +
1112 arch/x86/entry/calling.h | 86 +-
1113 arch/x86/entry/common.c | 89 +-
1114 arch/x86/entry/entry_32.S | 330 +-
1115 arch/x86/entry/entry_64.S | 600 +-
1116 arch/x86/entry/entry_64_compat.S | 115 +-
1117 arch/x86/entry/thunk_64.S | 2 +
1118 arch/x86/entry/vdso/Makefile | 5 +-
1119 arch/x86/entry/vdso/vclock_gettime.c | 2 +-
1120 arch/x86/entry/vdso/vdso2c.h | 4 +-
1121 arch/x86/entry/vdso/vma.c | 42 +-
1122 arch/x86/entry/vsyscall/vsyscall_64.c | 20 +-
1123 arch/x86/entry/vsyscall/vsyscall_emu_64.S | 2 +-
1124 arch/x86/events/amd/iommu.c | 8 +-
1125 arch/x86/events/core.c | 8 +-
1126 arch/x86/events/intel/bts.c | 6 +-
1127 arch/x86/events/intel/core.c | 34 +-
1128 arch/x86/events/intel/cqm.c | 14 +-
1129 arch/x86/events/intel/cstate.c | 6 +-
1130 arch/x86/events/intel/ds.c | 7 +-
1131 arch/x86/events/intel/lbr.c | 4 +-
1132 arch/x86/events/intel/pt.c | 44 +-
1133 arch/x86/events/intel/rapl.c | 8 +-
1134 arch/x86/events/intel/uncore.c | 6 +-
1135 arch/x86/events/intel/uncore.h | 14 +-
1136 arch/x86/events/perf_event.h | 2 +-
1137 arch/x86/ia32/ia32_signal.c | 23 +-
1138 arch/x86/ia32/sys_ia32.c | 42 +-
1139 arch/x86/include/asm/alternative-asm.h | 43 +-
1140 arch/x86/include/asm/alternative.h | 4 +-
1141 arch/x86/include/asm/apic.h | 2 +-
1142 arch/x86/include/asm/apm.h | 4 +-
1143 arch/x86/include/asm/atomic.h | 230 +-
1144 arch/x86/include/asm/atomic64_32.h | 119 +
1145 arch/x86/include/asm/atomic64_64.h | 169 +-
1146 arch/x86/include/asm/bitops.h | 18 +-
1147 arch/x86/include/asm/boot.h | 2 +-
1148 arch/x86/include/asm/cache.h | 4 +-
1149 arch/x86/include/asm/checksum_32.h | 12 +-
1150 arch/x86/include/asm/cmpxchg.h | 39 +
1151 arch/x86/include/asm/compat.h | 4 +
1152 arch/x86/include/asm/cpufeature.h | 2 +-
1153 arch/x86/include/asm/cpufeatures.h | 5 +-
1154 arch/x86/include/asm/crypto/camellia.h | 30 +-
1155 arch/x86/include/asm/crypto/glue_helper.h | 10 +-
1156 arch/x86/include/asm/crypto/serpent-avx.h | 18 +-
1157 arch/x86/include/asm/crypto/serpent-sse2.h | 8 +-
1158 arch/x86/include/asm/crypto/twofish.h | 10 +-
1159 arch/x86/include/asm/desc.h | 78 +-
1160 arch/x86/include/asm/desc_defs.h | 6 +
1161 arch/x86/include/asm/div64.h | 2 +-
1162 arch/x86/include/asm/dma.h | 2 +
1163 arch/x86/include/asm/elf.h | 33 +-
1164 arch/x86/include/asm/emergency-restart.h | 2 +-
1165 arch/x86/include/asm/fixmap.h | 2 +-
1166 arch/x86/include/asm/fpu/internal.h | 38 +-
1167 arch/x86/include/asm/fpu/types.h | 5 +-
1168 arch/x86/include/asm/futex.h | 14 +-
1169 arch/x86/include/asm/hw_irq.h | 4 +-
1170 arch/x86/include/asm/hypervisor.h | 2 +-
1171 arch/x86/include/asm/i8259.h | 2 +-
1172 arch/x86/include/asm/io.h | 22 +-
1173 arch/x86/include/asm/irqflags.h | 5 +
1174 arch/x86/include/asm/kprobes.h | 9 +-
1175 arch/x86/include/asm/kvm_emulate.h | 7 +-
1176 arch/x86/include/asm/local.h | 106 +-
1177 arch/x86/include/asm/mman.h | 15 +
1178 arch/x86/include/asm/mmu.h | 14 +-
1179 arch/x86/include/asm/mmu_context.h | 133 +-
1180 arch/x86/include/asm/module.h | 23 +-
1181 arch/x86/include/asm/nmi.h | 19 +-
1182 arch/x86/include/asm/page.h | 1 +
1183 arch/x86/include/asm/page_32.h | 12 +-
1184 arch/x86/include/asm/page_64.h | 14 +-
1185 arch/x86/include/asm/paravirt.h | 46 +-
1186 arch/x86/include/asm/paravirt_types.h | 13 +-
1187 arch/x86/include/asm/pgalloc.h | 23 +
1188 arch/x86/include/asm/pgtable-2level.h | 2 +
1189 arch/x86/include/asm/pgtable-3level.h | 7 +
1190 arch/x86/include/asm/pgtable.h | 126 +-
1191 arch/x86/include/asm/pgtable_32.h | 14 +-
1192 arch/x86/include/asm/pgtable_32_types.h | 24 +-
1193 arch/x86/include/asm/pgtable_64.h | 23 +-
1194 arch/x86/include/asm/pgtable_64_types.h | 5 +
1195 arch/x86/include/asm/pgtable_types.h | 27 +-
1196 arch/x86/include/asm/pmem.h | 2 +-
1197 arch/x86/include/asm/preempt.h | 2 +-
1198 arch/x86/include/asm/processor.h | 57 +-
1199 arch/x86/include/asm/ptrace.h | 15 +-
1200 arch/x86/include/asm/realmode.h | 4 +-
1201 arch/x86/include/asm/reboot.h | 10 +-
1202 arch/x86/include/asm/rmwcc.h | 84 +-
1203 arch/x86/include/asm/rwsem.h | 60 +-
1204 arch/x86/include/asm/segment.h | 27 +-
1205 arch/x86/include/asm/smap.h | 43 +
1206 arch/x86/include/asm/smp.h | 14 +-
1207 arch/x86/include/asm/stackprotector.h | 4 +-
1208 arch/x86/include/asm/stacktrace.h | 34 +-
1209 arch/x86/include/asm/string_32.h | 20 +-
1210 arch/x86/include/asm/string_64.h | 16 +-
1211 arch/x86/include/asm/switch_to.h | 4 +-
1212 arch/x86/include/asm/sys_ia32.h | 6 +-
1213 arch/x86/include/asm/thread_info.h | 54 +-
1214 arch/x86/include/asm/tlbflush.h | 77 +-
1215 arch/x86/include/asm/traps.h | 4 +-
1216 arch/x86/include/asm/uaccess.h | 210 +-
1217 arch/x86/include/asm/uaccess_32.h | 28 +-
1218 arch/x86/include/asm/uaccess_64.h | 169 +-
1219 arch/x86/include/asm/word-at-a-time.h | 2 +-
1220 arch/x86/include/asm/x86_init.h | 10 +-
1221 arch/x86/include/asm/xen/page.h | 2 +-
1222 arch/x86/include/uapi/asm/e820.h | 2 +-
1223 arch/x86/kernel/Makefile | 2 +-
1224 arch/x86/kernel/acpi/boot.c | 4 +-
1225 arch/x86/kernel/acpi/sleep.c | 4 +
1226 arch/x86/kernel/acpi/wakeup_32.S | 6 +-
1227 arch/x86/kernel/alternative.c | 124 +-
1228 arch/x86/kernel/apic/apic.c | 4 +-
1229 arch/x86/kernel/apic/apic_flat_64.c | 6 +-
1230 arch/x86/kernel/apic/apic_noop.c | 2 +-
1231 arch/x86/kernel/apic/bigsmp_32.c | 2 +-
1232 arch/x86/kernel/apic/io_apic.c | 10 +-
1233 arch/x86/kernel/apic/msi.c | 2 +-
1234 arch/x86/kernel/apic/probe_32.c | 4 +-
1235 arch/x86/kernel/apic/vector.c | 2 +
1236 arch/x86/kernel/apic/x2apic_cluster.c | 2 +-
1237 arch/x86/kernel/apic/x2apic_phys.c | 2 +-
1238 arch/x86/kernel/apic/x2apic_uv_x.c | 2 +-
1239 arch/x86/kernel/apm_32.c | 21 +-
1240 arch/x86/kernel/asm-offsets.c | 22 +
1241 arch/x86/kernel/cpu/Makefile | 4 -
1242 arch/x86/kernel/cpu/amd.c | 2 +-
1243 arch/x86/kernel/cpu/bugs_64.c | 2 +
1244 arch/x86/kernel/cpu/common.c | 202 +-
1245 arch/x86/kernel/cpu/intel_cacheinfo.c | 14 +-
1246 arch/x86/kernel/cpu/mcheck/mce.c | 34 +-
1247 arch/x86/kernel/cpu/mcheck/p5.c | 3 +
1248 arch/x86/kernel/cpu/mcheck/winchip.c | 3 +
1249 arch/x86/kernel/cpu/microcode/intel.c | 4 +-
1250 arch/x86/kernel/cpu/mshyperv.c | 2 +-
1251 arch/x86/kernel/cpu/mtrr/generic.c | 6 +-
1252 arch/x86/kernel/cpu/mtrr/main.c | 2 +-
1253 arch/x86/kernel/cpu/mtrr/mtrr.h | 2 +-
1254 arch/x86/kernel/cpu/vmware.c | 2 +-
1255 arch/x86/kernel/crash_dump_64.c | 2 +-
1256 arch/x86/kernel/doublefault.c | 8 +-
1257 arch/x86/kernel/dumpstack.c | 24 +-
1258 arch/x86/kernel/dumpstack_32.c | 25 +-
1259 arch/x86/kernel/dumpstack_64.c | 72 +-
1260 arch/x86/kernel/e820.c | 4 +-
1261 arch/x86/kernel/early_printk.c | 1 +
1262 arch/x86/kernel/espfix_64.c | 44 +-
1263 arch/x86/kernel/fpu/core.c | 30 +-
1264 arch/x86/kernel/fpu/init.c | 49 +-
1265 arch/x86/kernel/fpu/regset.c | 22 +-
1266 arch/x86/kernel/fpu/signal.c | 20 +-
1267 arch/x86/kernel/fpu/xstate.c | 12 +-
1268 arch/x86/kernel/ftrace.c | 18 +-
1269 arch/x86/kernel/head64.c | 14 +-
1270 arch/x86/kernel/head_32.S | 240 +-
1271 arch/x86/kernel/head_64.S | 182 +-
1272 arch/x86/kernel/i386_ksyms_32.c | 12 +
1273 arch/x86/kernel/i8259.c | 10 +-
1274 arch/x86/kernel/io_delay.c | 2 +-
1275 arch/x86/kernel/ioport.c | 2 +-
1276 arch/x86/kernel/irq.c | 8 +-
1277 arch/x86/kernel/irq_32.c | 45 +-
1278 arch/x86/kernel/jump_label.c | 10 +-
1279 arch/x86/kernel/kgdb.c | 21 +-
1280 arch/x86/kernel/kprobes/core.c | 28 +-
1281 arch/x86/kernel/kprobes/opt.c | 16 +-
1282 arch/x86/kernel/ksysfs.c | 2 +-
1283 arch/x86/kernel/kvm.c | 2 +-
1284 arch/x86/kernel/kvmclock.c | 20 +-
1285 arch/x86/kernel/ldt.c | 25 +
1286 arch/x86/kernel/livepatch.c | 9 +-
1287 arch/x86/kernel/machine_kexec_32.c | 6 +-
1288 arch/x86/kernel/mcount_64.S | 21 +-
1289 arch/x86/kernel/module.c | 78 +-
1290 arch/x86/kernel/msr.c | 2 +-
1291 arch/x86/kernel/nmi.c | 34 +-
1292 arch/x86/kernel/nmi_selftest.c | 4 +-
1293 arch/x86/kernel/paravirt-spinlocks.c | 24 +-
1294 arch/x86/kernel/paravirt.c | 133 +-
1295 arch/x86/kernel/paravirt_patch_64.c | 8 +
1296 arch/x86/kernel/pci-calgary_64.c | 2 +-
1297 arch/x86/kernel/pci-iommu_table.c | 2 +-
1298 arch/x86/kernel/pci-swiotlb.c | 2 +-
1299 arch/x86/kernel/process.c | 80 +-
1300 arch/x86/kernel/process_32.c | 29 +-
1301 arch/x86/kernel/process_64.c | 14 +-
1302 arch/x86/kernel/ptrace.c | 20 +-
1303 arch/x86/kernel/pvclock.c | 8 +-
1304 arch/x86/kernel/reboot.c | 44 +-
1305 arch/x86/kernel/reboot_fixups_32.c | 2 +-
1306 arch/x86/kernel/relocate_kernel_64.S | 3 +-
1307 arch/x86/kernel/setup.c | 29 +-
1308 arch/x86/kernel/setup_percpu.c | 29 +-
1309 arch/x86/kernel/signal.c | 17 +-
1310 arch/x86/kernel/smp.c | 2 +-
1311 arch/x86/kernel/smpboot.c | 29 +-
1312 arch/x86/kernel/step.c | 6 +-
1313 arch/x86/kernel/sys_i386_32.c | 184 +
1314 arch/x86/kernel/sys_x86_64.c | 28 +-
1315 arch/x86/kernel/tboot.c | 22 +-
1316 arch/x86/kernel/time.c | 8 +-
1317 arch/x86/kernel/tls.c | 7 +-
1318 arch/x86/kernel/tracepoint.c | 4 +-
1319 arch/x86/kernel/traps.c | 66 +-
1320 arch/x86/kernel/tsc.c | 2 +-
1321 arch/x86/kernel/uprobes.c | 4 +-
1322 arch/x86/kernel/vm86_32.c | 6 +-
1323 arch/x86/kernel/vmlinux.lds.S | 144 +-
1324 arch/x86/kernel/x8664_ksyms_64.c | 6 +-
1325 arch/x86/kernel/x86_init.c | 6 +-
1326 arch/x86/kvm/cpuid.c | 21 +-
1327 arch/x86/kvm/emulate.c | 20 +-
1328 arch/x86/kvm/i8259.c | 10 +-
1329 arch/x86/kvm/ioapic.c | 2 +
1330 arch/x86/kvm/lapic.c | 2 +-
1331 arch/x86/kvm/paging_tmpl.h | 2 +-
1332 arch/x86/kvm/svm.c | 10 +-
1333 arch/x86/kvm/vmx.c | 60 +-
1334 arch/x86/kvm/x86.c | 44 +-
1335 arch/x86/lguest/boot.c | 3 +-
1336 arch/x86/lib/atomic64_386_32.S | 164 +
1337 arch/x86/lib/atomic64_cx8_32.S | 98 +-
1338 arch/x86/lib/checksum_32.S | 99 +-
1339 arch/x86/lib/clear_page_64.S | 3 +
1340 arch/x86/lib/cmpxchg16b_emu.S | 3 +
1341 arch/x86/lib/copy_page_64.S | 14 +-
1342 arch/x86/lib/copy_user_64.S | 66 +-
1343 arch/x86/lib/csum-copy_64.S | 14 +-
1344 arch/x86/lib/csum-wrappers_64.c | 8 +-
1345 arch/x86/lib/getuser.S | 74 +-
1346 arch/x86/lib/insn.c | 8 +-
1347 arch/x86/lib/iomap_copy_64.S | 2 +
1348 arch/x86/lib/memcpy_64.S | 6 +
1349 arch/x86/lib/memmove_64.S | 3 +-
1350 arch/x86/lib/memset_64.S | 3 +
1351 arch/x86/lib/mmx_32.c | 243 +-
1352 arch/x86/lib/msr-reg.S | 2 +
1353 arch/x86/lib/putuser.S | 87 +-
1354 arch/x86/lib/rwsem.S | 4 +
1355 arch/x86/lib/usercopy_32.c | 359 +-
1356 arch/x86/lib/usercopy_64.c | 22 +-
1357 arch/x86/math-emu/fpu_aux.c | 2 +-
1358 arch/x86/math-emu/fpu_entry.c | 4 +-
1359 arch/x86/math-emu/fpu_etc.c | 9 +-
1360 arch/x86/math-emu/fpu_system.h | 2 +-
1361 arch/x86/math-emu/fpu_trig.c | 13 +-
1362 arch/x86/math-emu/reg_constant.c | 7 +-
1363 arch/x86/mm/Makefile | 3 +
1364 arch/x86/mm/extable.c | 20 +-
1365 arch/x86/mm/fault.c | 573 +-
1366 arch/x86/mm/gup.c | 6 +-
1367 arch/x86/mm/highmem_32.c | 6 +
1368 arch/x86/mm/hugetlbpage.c | 24 +-
1369 arch/x86/mm/init.c | 19 +-
1370 arch/x86/mm/init_32.c | 157 +-
1371 arch/x86/mm/init_64.c | 100 +-
1372 arch/x86/mm/iomap_32.c | 4 +
1373 arch/x86/mm/ioremap.c | 52 +-
1374 arch/x86/mm/kmemcheck/kmemcheck.c | 4 +-
1375 arch/x86/mm/mmap.c | 46 +-
1376 arch/x86/mm/mmio-mod.c | 10 +-
1377 arch/x86/mm/mpx.c | 6 +-
1378 arch/x86/mm/numa.c | 2 +-
1379 arch/x86/mm/pageattr.c | 36 +-
1380 arch/x86/mm/pat.c | 12 +-
1381 arch/x86/mm/pat_rbtree.c | 2 +-
1382 arch/x86/mm/pf_in.c | 10 +-
1383 arch/x86/mm/pgtable.c | 211 +-
1384 arch/x86/mm/pgtable_32.c | 3 +
1385 arch/x86/mm/setup_nx.c | 7 +
1386 arch/x86/mm/tlb.c | 4 +
1387 arch/x86/mm/uderef_64.c | 37 +
1388 arch/x86/net/bpf_jit.S | 11 +
1389 arch/x86/net/bpf_jit_comp.c | 13 +-
1390 arch/x86/oprofile/backtrace.c | 6 +-
1391 arch/x86/oprofile/nmi_int.c | 10 +-
1392 arch/x86/oprofile/op_model_amd.c | 8 +-
1393 arch/x86/oprofile/op_model_ppro.c | 7 +-
1394 arch/x86/oprofile/op_x86_model.h | 2 +-
1395 arch/x86/pci/intel_mid_pci.c | 2 +-
1396 arch/x86/pci/irq.c | 8 +-
1397 arch/x86/pci/pcbios.c | 112 +-
1398 arch/x86/pci/vmd.c | 4 +-
1399 arch/x86/platform/efi/efi_32.c | 24 +
1400 arch/x86/platform/efi/efi_64.c | 26 +-
1401 arch/x86/platform/efi/efi_stub_32.S | 64 +-
1402 arch/x86/platform/efi/efi_stub_64.S | 2 +
1403 arch/x86/platform/intel-mid/intel-mid.c | 5 +-
1404 arch/x86/platform/intel-mid/intel_mid_weak_decls.h | 6 +-
1405 arch/x86/platform/intel-mid/mfld.c | 4 +-
1406 arch/x86/platform/intel-mid/mrfl.c | 2 +-
1407 arch/x86/platform/intel-quark/imr_selftest.c | 2 +-
1408 arch/x86/platform/olpc/olpc_dt.c | 2 +-
1409 arch/x86/power/cpu.c | 11 +-
1410 arch/x86/realmode/init.c | 10 +-
1411 arch/x86/realmode/rm/header.S | 4 +-
1412 arch/x86/realmode/rm/reboot.S | 4 +
1413 arch/x86/realmode/rm/trampoline_32.S | 12 +-
1414 arch/x86/realmode/rm/trampoline_64.S | 3 +-
1415 arch/x86/realmode/rm/wakeup_asm.S | 5 +-
1416 arch/x86/tools/Makefile | 2 +-
1417 arch/x86/tools/relocs.c | 97 +-
1418 arch/x86/um/mem_32.c | 2 +-
1419 arch/x86/um/tls_32.c | 2 +-
1420 arch/x86/xen/enlighten.c | 52 +-
1421 arch/x86/xen/mmu.c | 31 +-
1422 arch/x86/xen/smp.c | 16 +-
1423 arch/x86/xen/xen-asm_32.S | 2 +-
1424 arch/x86/xen/xen-head.S | 12 +
1425 arch/x86/xen/xen-ops.h | 2 -
1426 block/bio.c | 4 +-
1427 block/blk-cgroup.c | 18 +-
1428 block/blk-map.c | 2 +-
1429 block/blk-softirq.c | 2 +-
1430 block/bsg.c | 12 +-
1431 block/cfq-iosched.c | 4 +-
1432 block/compat_ioctl.c | 4 +-
1433 block/genhd.c | 9 +-
1434 block/partitions/efi.c | 8 +-
1435 block/scsi_ioctl.c | 29 +-
1436 crypto/cast6_generic.c | 6 +-
1437 crypto/cryptd.c | 4 +-
1438 crypto/crypto_user.c | 2 +-
1439 crypto/pcrypt.c | 2 +-
1440 crypto/salsa20_generic.c | 16 +-
1441 crypto/serpent_generic.c | 6 +-
1442 drivers/acpi/ac.c | 2 +-
1443 drivers/acpi/acpi_video.c | 2 +-
1444 drivers/acpi/apei/apei-internal.h | 2 +-
1445 drivers/acpi/apei/ghes.c | 10 +-
1446 drivers/acpi/battery.c | 2 +-
1447 drivers/acpi/bgrt.c | 6 +-
1448 drivers/acpi/blacklist.c | 4 +-
1449 drivers/acpi/bus.c | 4 +-
1450 drivers/acpi/device_pm.c | 4 +-
1451 drivers/acpi/ec.c | 6 +-
1452 drivers/acpi/pci_slot.c | 2 +-
1453 drivers/acpi/processor_idle.c | 2 +-
1454 drivers/acpi/processor_pdc.c | 2 +-
1455 drivers/acpi/sleep.c | 2 +-
1456 drivers/acpi/sysfs.c | 14 +-
1457 drivers/acpi/thermal.c | 2 +-
1458 drivers/acpi/video_detect.c | 7 +-
1459 drivers/android/binder.c | 2 +-
1460 drivers/ata/libata-core.c | 12 +-
1461 drivers/ata/libata-scsi.c | 2 +-
1462 drivers/ata/libata.h | 2 +-
1463 drivers/ata/pata_arasan_cf.c | 4 +-
1464 drivers/atm/adummy.c | 2 +-
1465 drivers/atm/ambassador.c | 8 +-
1466 drivers/atm/atmtcp.c | 14 +-
1467 drivers/atm/eni.c | 10 +-
1468 drivers/atm/firestream.c | 8 +-
1469 drivers/atm/fore200e.c | 14 +-
1470 drivers/atm/he.c | 18 +-
1471 drivers/atm/horizon.c | 4 +-
1472 drivers/atm/idt77252.c | 36 +-
1473 drivers/atm/iphase.c | 34 +-
1474 drivers/atm/lanai.c | 12 +-
1475 drivers/atm/nicstar.c | 46 +-
1476 drivers/atm/solos-pci.c | 4 +-
1477 drivers/atm/suni.c | 4 +-
1478 drivers/atm/uPD98402.c | 16 +-
1479 drivers/atm/zatm.c | 6 +-
1480 drivers/base/bus.c | 4 +-
1481 drivers/base/devres.c | 4 +-
1482 drivers/base/devtmpfs.c | 8 +-
1483 drivers/base/node.c | 2 +-
1484 drivers/base/platform-msi.c | 20 +-
1485 drivers/base/power/domain.c | 6 +-
1486 drivers/base/power/runtime.c | 61 +-
1487 drivers/base/power/sysfs.c | 2 +-
1488 drivers/base/power/wakeup.c | 8 +-
1489 drivers/base/regmap/regmap-debugfs.c | 4 +-
1490 drivers/base/regmap/regmap.c | 4 +-
1491 drivers/base/syscore.c | 4 +-
1492 drivers/block/cciss.c | 28 +-
1493 drivers/block/cciss.h | 2 +-
1494 drivers/block/drbd/drbd_bitmap.c | 2 +-
1495 drivers/block/drbd/drbd_int.h | 8 +-
1496 drivers/block/drbd/drbd_main.c | 12 +-
1497 drivers/block/drbd/drbd_nl.c | 16 +-
1498 drivers/block/drbd/drbd_receiver.c | 38 +-
1499 drivers/block/drbd/drbd_state.c | 12 +-
1500 drivers/block/drbd/drbd_state.h | 2 +-
1501 drivers/block/drbd/drbd_state_change.h | 8 +-
1502 drivers/block/drbd/drbd_worker.c | 14 +-
1503 drivers/block/floppy.c | 8 +-
1504 drivers/block/pktcdvd.c | 4 +-
1505 drivers/block/rbd.c | 2 +-
1506 drivers/bluetooth/btwilink.c | 2 +-
1507 drivers/bus/arm-cci.c | 6 +-
1508 drivers/cdrom/cdrom.c | 11 +-
1509 drivers/cdrom/gdrom.c | 1 -
1510 drivers/char/agp/compat_ioctl.c | 2 +-
1511 drivers/char/agp/frontend.c | 4 +-
1512 drivers/char/agp/intel-gtt.c | 4 +-
1513 drivers/char/hpet.c | 2 +-
1514 drivers/char/ipmi/ipmi_msghandler.c | 8 +-
1515 drivers/char/ipmi/ipmi_poweroff.c | 2 +-
1516 drivers/char/ipmi/ipmi_si_intf.c | 12 +-
1517 drivers/char/ipmi/ipmi_ssif.c | 12 +-
1518 drivers/char/mem.c | 47 +-
1519 drivers/char/nvram.c | 2 +-
1520 drivers/char/pcmcia/synclink_cs.c | 16 +-
1521 drivers/char/random.c | 12 +-
1522 drivers/char/sonypi.c | 11 +-
1523 drivers/char/tpm/tpm-chip.c | 7 +-
1524 drivers/char/tpm/tpm_acpi.c | 3 +-
1525 drivers/char/tpm/tpm_eventlog.c | 5 +-
1526 drivers/char/virtio_console.c | 6 +-
1527 drivers/clk/clk-composite.c | 2 +-
1528 drivers/clk/samsung/clk.h | 2 +-
1529 drivers/clk/socfpga/clk-gate-a10.c | 9 +-
1530 drivers/clk/socfpga/clk-gate.c | 9 +-
1531 drivers/clk/socfpga/clk-pll-a10.c | 9 +-
1532 drivers/clk/socfpga/clk-pll.c | 9 +-
1533 drivers/clk/ti/adpll.c | 2 +-
1534 drivers/clk/ti/clk.c | 8 +-
1535 drivers/cpufreq/acpi-cpufreq.c | 17 +-
1536 drivers/cpufreq/cpufreq-dt.c | 4 +-
1537 drivers/cpufreq/cpufreq.c | 27 +-
1538 drivers/cpufreq/cpufreq_governor.h | 2 +-
1539 drivers/cpufreq/cpufreq_ondemand.c | 10 +-
1540 drivers/cpufreq/intel_pstate.c | 56 +-
1541 drivers/cpufreq/p4-clockmod.c | 12 +-
1542 drivers/cpufreq/sparc-us3-cpufreq.c | 67 +-
1543 drivers/cpufreq/speedstep-centrino.c | 7 +-
1544 drivers/cpuidle/driver.c | 2 +-
1545 drivers/cpuidle/dt_idle_states.c | 2 +-
1546 drivers/cpuidle/governor.c | 2 +-
1547 drivers/cpuidle/governors/ladder.c | 13 +-
1548 drivers/cpuidle/sysfs.c | 2 +-
1549 drivers/crypto/hifn_795x.c | 4 +-
1550 drivers/crypto/qat/qat_common/adf_aer.c | 2 +-
1551 drivers/crypto/qat/qat_common/adf_sriov.c | 4 +-
1552 drivers/crypto/qat/qat_common/adf_vf_isr.c | 6 +-
1553 drivers/devfreq/devfreq.c | 4 +-
1554 drivers/dma-buf/dma-buf.c | 5 +-
1555 drivers/dma/qcom/hidma_mgmt_sys.c | 2 +-
1556 drivers/dma/sh/shdma-base.c | 4 +-
1557 drivers/dma/sh/shdmac.c | 2 +-
1558 drivers/edac/edac_device.c | 4 +-
1559 drivers/edac/edac_device_sysfs.c | 2 +-
1560 drivers/edac/edac_mc_sysfs.c | 4 +-
1561 drivers/edac/edac_module.c | 2 +-
1562 drivers/edac/edac_pci.c | 4 +-
1563 drivers/edac/edac_pci_sysfs.c | 22 +-
1564 drivers/edac/mce_amd.h | 2 +-
1565 drivers/firewire/core-card.c | 6 +-
1566 drivers/firewire/core-cdev.c | 4 +-
1567 drivers/firewire/core-device.c | 2 +-
1568 drivers/firewire/core-iso.c | 2 +-
1569 drivers/firewire/core-transaction.c | 1 +
1570 drivers/firewire/core.h | 1 +
1571 drivers/firmware/dmi-id.c | 9 +-
1572 drivers/firmware/dmi_scan.c | 12 +-
1573 drivers/firmware/efi/cper.c | 8 +-
1574 drivers/firmware/efi/efi.c | 14 +-
1575 drivers/firmware/efi/efivars.c | 2 +-
1576 drivers/firmware/efi/runtime-map.c | 2 +-
1577 drivers/firmware/google/gsmi.c | 2 +-
1578 drivers/firmware/google/memconsole.c | 7 +-
1579 drivers/firmware/memmap.c | 2 +-
1580 drivers/firmware/psci.c | 2 +-
1581 drivers/gpio/gpio-davinci.c | 6 +-
1582 drivers/gpio/gpio-em.c | 2 +-
1583 drivers/gpio/gpio-ich.c | 2 +-
1584 drivers/gpio/gpio-mpc8xxx.c | 6 +-
1585 drivers/gpio/gpio-omap.c | 4 +-
1586 drivers/gpio/gpio-rcar.c | 2 +-
1587 drivers/gpio/gpio-vr41xx.c | 2 +-
1588 drivers/gpio/gpiolib.c | 12 +-
1589 drivers/gpu/drm/amd/amdgpu/amdgpu.h | 4 +-
1590 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | 2 +-
1591 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c | 8 +-
1592 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-
1593 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 18 +-
1594 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +-
1595 drivers/gpu/drm/amd/amdgpu/fiji_smc.c | 4 +-
1596 drivers/gpu/drm/amd/amdgpu/iceland_smc.c | 4 +-
1597 drivers/gpu/drm/amd/amdgpu/tonga_smc.c | 4 +-
1598 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 2 +-
1599 drivers/gpu/drm/amd/amdkfd/kfd_device.c | 6 +-
1600 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 90 +-
1601 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 8 +-
1602 .../drm/amd/amdkfd/kfd_device_queue_manager_cik.c | 14 +-
1603 .../drm/amd/amdkfd/kfd_device_queue_manager_vi.c | 14 +-
1604 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c | 4 +-
1605 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 2 +-
1606 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.h | 2 +-
1607 .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 16 +-
1608 drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 2 +-
1609 drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | 2 +-
1610 drivers/gpu/drm/amd/scheduler/sched_fence.c | 2 +-
1611 drivers/gpu/drm/armada/armada_drv.c | 3 +-
1612 drivers/gpu/drm/ast/ast_mode.c | 2 +-
1613 drivers/gpu/drm/bochs/bochs_kms.c | 2 +-
1614 drivers/gpu/drm/drm_crtc.c | 2 +-
1615 drivers/gpu/drm/drm_drv.c | 2 +-
1616 drivers/gpu/drm/drm_fops.c | 19 +-
1617 drivers/gpu/drm/drm_global.c | 14 +-
1618 drivers/gpu/drm/drm_info.c | 13 +-
1619 drivers/gpu/drm/drm_ioc32.c | 13 +-
1620 drivers/gpu/drm/drm_ioctl.c | 2 +-
1621 drivers/gpu/drm/drm_pci.c | 9 +-
1622 drivers/gpu/drm/exynos/exynos_drm_drv.c | 1 -
1623 drivers/gpu/drm/exynos/exynos_drm_g2d.c | 5 +
1624 drivers/gpu/drm/gma500/cdv_intel_crt.c | 2 +-
1625 drivers/gpu/drm/gma500/cdv_intel_dp.c | 2 +-
1626 drivers/gpu/drm/gma500/cdv_intel_hdmi.c | 2 +-
1627 drivers/gpu/drm/gma500/cdv_intel_lvds.c | 2 +-
1628 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 3 +
1629 drivers/gpu/drm/gma500/mdfld_dsi_output.c | 2 +-
1630 drivers/gpu/drm/gma500/oaktrail_hdmi.c | 2 +-
1631 drivers/gpu/drm/gma500/psb_drv.c | 1 -
1632 drivers/gpu/drm/gma500/psb_intel_drv.h | 2 +-
1633 drivers/gpu/drm/gma500/psb_intel_lvds.c | 2 +-
1634 drivers/gpu/drm/gma500/psb_intel_sdvo.c | 2 +-
1635 drivers/gpu/drm/i2c/tda998x_drv.c | 2 +-
1636 drivers/gpu/drm/i810/i810_dma.c | 2 +-
1637 drivers/gpu/drm/i810/i810_drv.c | 6 +-
1638 drivers/gpu/drm/i810/i810_drv.h | 6 +-
1639 drivers/gpu/drm/i915/dvo.h | 2 +-
1640 drivers/gpu/drm/i915/i915_dma.c | 4 +-
1641 drivers/gpu/drm/i915/i915_drv.c | 7 +-
1642 drivers/gpu/drm/i915/i915_drv.h | 2 +-
1643 drivers/gpu/drm/i915/i915_gem_execbuffer.c | 4 +-
1644 drivers/gpu/drm/i915/i915_gem_gtt.c | 16 +-
1645 drivers/gpu/drm/i915/i915_gem_gtt.h | 6 +-
1646 drivers/gpu/drm/i915/i915_ioc32.c | 10 +-
1647 drivers/gpu/drm/i915/i915_irq.c | 88 +-
1648 drivers/gpu/drm/i915/intel_display.c | 30 +-
1649 drivers/gpu/drm/imx/imx-drm-core.c | 2 +-
1650 drivers/gpu/drm/mga/mga_drv.c | 5 +-
1651 drivers/gpu/drm/mga/mga_drv.h | 6 +-
1652 drivers/gpu/drm/mga/mga_ioc32.c | 10 +-
1653 drivers/gpu/drm/mga/mga_irq.c | 8 +-
1654 drivers/gpu/drm/mga/mga_state.c | 2 +-
1655 drivers/gpu/drm/mgag200/mgag200_mode.c | 2 +-
1656 drivers/gpu/drm/nouveau/nouveau_acpi.c | 2 +-
1657 drivers/gpu/drm/nouveau/nouveau_bios.c | 2 +-
1658 drivers/gpu/drm/nouveau/nouveau_connector.c | 2 +-
1659 drivers/gpu/drm/nouveau/nouveau_drm.c | 13 +-
1660 drivers/gpu/drm/nouveau/nouveau_drm.h | 1 -
1661 drivers/gpu/drm/nouveau/nouveau_ioc32.c | 2 +-
1662 drivers/gpu/drm/nouveau/nouveau_usif.c | 7 +-
1663 drivers/gpu/drm/nouveau/nouveau_vga.c | 2 +-
1664 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c | 7 +-
1665 .../gpu/drm/nouveau/nvkm/subdev/bios/shadowpci.c | 7 +-
1666 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/priv.h | 4 +-
1667 drivers/gpu/drm/omapdrm/dss/display.c | 8 +-
1668 drivers/gpu/drm/qxl/qxl_cmd.c | 12 +-
1669 drivers/gpu/drm/qxl/qxl_debugfs.c | 8 +-
1670 drivers/gpu/drm/qxl/qxl_display.c | 2 +-
1671 drivers/gpu/drm/qxl/qxl_drv.c | 8 +-
1672 drivers/gpu/drm/qxl/qxl_drv.h | 8 +-
1673 drivers/gpu/drm/qxl/qxl_ioctl.c | 12 +-
1674 drivers/gpu/drm/qxl/qxl_irq.c | 16 +-
1675 drivers/gpu/drm/qxl/qxl_ttm.c | 38 +-
1676 drivers/gpu/drm/r128/r128_cce.c | 2 +-
1677 drivers/gpu/drm/r128/r128_drv.c | 4 +-
1678 drivers/gpu/drm/r128/r128_drv.h | 6 +-
1679 drivers/gpu/drm/r128/r128_ioc32.c | 10 +-
1680 drivers/gpu/drm/r128/r128_irq.c | 4 +-
1681 drivers/gpu/drm/r128/r128_state.c | 6 +-
1682 drivers/gpu/drm/radeon/mkregtable.c | 4 +-
1683 drivers/gpu/drm/radeon/radeon_atpx_handler.c | 2 +-
1684 drivers/gpu/drm/radeon/radeon_connectors.c | 10 +-
1685 drivers/gpu/drm/radeon/radeon_device.c | 2 +-
1686 drivers/gpu/drm/radeon/radeon_drv.c | 11 +-
1687 drivers/gpu/drm/radeon/radeon_ioc32.c | 12 +-
1688 drivers/gpu/drm/radeon/radeon_kms.c | 8 +-
1689 drivers/gpu/drm/radeon/radeon_ttm.c | 4 +-
1690 drivers/gpu/drm/savage/savage_bci.c | 2 +-
1691 drivers/gpu/drm/savage/savage_drv.c | 5 +-
1692 drivers/gpu/drm/savage/savage_drv.h | 2 +-
1693 drivers/gpu/drm/sis/sis_drv.c | 5 +-
1694 drivers/gpu/drm/sis/sis_drv.h | 2 +-
1695 drivers/gpu/drm/sis/sis_mm.c | 2 +-
1696 drivers/gpu/drm/tegra/dc.c | 2 +-
1697 drivers/gpu/drm/tegra/dsi.c | 2 +-
1698 drivers/gpu/drm/tegra/hdmi.c | 2 +-
1699 drivers/gpu/drm/tegra/sor.c | 7 +-
1700 drivers/gpu/drm/tilcdc/Makefile | 6 +-
1701 drivers/gpu/drm/ttm/ttm_memory.c | 4 +-
1702 drivers/gpu/drm/ttm/ttm_page_alloc.c | 18 +-
1703 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 18 +-
1704 drivers/gpu/drm/udl/udl_connector.c | 2 +-
1705 drivers/gpu/drm/udl/udl_fb.c | 1 -
1706 drivers/gpu/drm/vc4/vc4_drv.c | 8 +-
1707 drivers/gpu/drm/via/via_dma.c | 2 +-
1708 drivers/gpu/drm/via/via_drv.c | 5 +-
1709 drivers/gpu/drm/via/via_drv.h | 6 +-
1710 drivers/gpu/drm/via/via_irq.c | 18 +-
1711 drivers/gpu/drm/virtio/virtgpu_display.c | 2 +-
1712 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 2 +-
1713 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c | 8 +-
1714 drivers/gpu/drm/vmwgfx/vmwgfx_irq.c | 4 +-
1715 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c | 2 +-
1716 drivers/gpu/vga/vga_switcheroo.c | 4 +-
1717 drivers/hid/hid-core.c | 4 +-
1718 drivers/hid/hid-magicmouse.c | 2 +-
1719 drivers/hid/hid-sensor-custom.c | 2 +-
1720 drivers/hv/channel.c | 6 +-
1721 drivers/hv/hv.c | 22 +-
1722 drivers/hv/hv_balloon.c | 18 +-
1723 drivers/hv/hyperv_vmbus.h | 2 +-
1724 drivers/hwmon/acpi_power_meter.c | 6 +-
1725 drivers/hwmon/applesmc.c | 4 +-
1726 drivers/hwmon/asus_atk0110.c | 10 +-
1727 drivers/hwmon/coretemp.c | 2 +-
1728 drivers/hwmon/dell-smm-hwmon.c | 4 +-
1729 drivers/hwmon/ibmaem.c | 2 +-
1730 drivers/hwmon/iio_hwmon.c | 2 +-
1731 drivers/hwmon/nct6683.c | 6 +-
1732 drivers/hwmon/nct6775.c | 6 +-
1733 drivers/hwmon/pmbus/pmbus_core.c | 10 +-
1734 drivers/hwmon/sht15.c | 12 +-
1735 drivers/hwmon/via-cputemp.c | 2 +-
1736 drivers/i2c/busses/i2c-amd756-s4882.c | 2 +-
1737 drivers/i2c/busses/i2c-designware-pcidrv.c | 2 +-
1738 drivers/i2c/busses/i2c-nforce2-s4985.c | 2 +-
1739 drivers/i2c/i2c-dev.c | 2 +-
1740 drivers/ide/ide-cd.c | 2 +-
1741 drivers/ide/ide-disk.c | 2 +-
1742 drivers/ide/ide.c | 4 +-
1743 drivers/idle/intel_idle.c | 6 +-
1744 drivers/iio/industrialio-core.c | 2 +-
1745 drivers/iio/magnetometer/ak8975.c | 2 +-
1746 drivers/infiniband/core/cm.c | 46 +-
1747 drivers/infiniband/core/fmr_pool.c | 20 +-
1748 drivers/infiniband/core/netlink.c | 5 +-
1749 drivers/infiniband/core/ucm.c | 4 +-
1750 drivers/infiniband/core/uverbs_cmd.c | 3 +
1751 drivers/infiniband/hw/cxgb4/device.c | 6 +-
1752 drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 2 +-
1753 drivers/infiniband/hw/cxgb4/mem.c | 4 +-
1754 drivers/infiniband/hw/i40iw/i40iw_user.h | 2 +-
1755 drivers/infiniband/hw/mlx4/mad.c | 2 +-
1756 drivers/infiniband/hw/mlx4/mcg.c | 2 +-
1757 drivers/infiniband/hw/mlx4/mlx4_ib.h | 2 +-
1758 drivers/infiniband/hw/mthca/mthca_cmd.c | 8 +-
1759 drivers/infiniband/hw/mthca/mthca_main.c | 2 +-
1760 drivers/infiniband/hw/mthca/mthca_mr.c | 6 +-
1761 drivers/infiniband/hw/mthca/mthca_provider.c | 2 +-
1762 drivers/infiniband/hw/nes/nes.c | 4 +-
1763 drivers/infiniband/hw/nes/nes.h | 40 +-
1764 drivers/infiniband/hw/nes/nes_cm.c | 62 +-
1765 drivers/infiniband/hw/nes/nes_mgt.c | 8 +-
1766 drivers/infiniband/hw/nes/nes_nic.c | 42 +-
1767 drivers/infiniband/hw/nes/nes_verbs.c | 10 +-
1768 drivers/infiniband/hw/qib/qib_iba7322.c | 4 +-
1769 drivers/infiniband/hw/qib/qib_pcie.c | 2 +-
1770 drivers/infiniband/ulp/ipoib/ipoib_main.c | 2 +-
1771 drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 2 +-
1772 drivers/infiniband/ulp/srpt/ib_srpt.c | 8 +-
1773 drivers/input/evdev.c | 2 +-
1774 drivers/input/gameport/gameport.c | 4 +-
1775 drivers/input/input.c | 4 +-
1776 drivers/input/joystick/sidewinder.c | 1 +
1777 drivers/input/misc/ims-pcu.c | 4 +-
1778 drivers/input/mouse/psmouse.h | 2 +-
1779 drivers/input/mousedev.c | 2 +-
1780 drivers/input/serio/serio.c | 4 +-
1781 drivers/input/serio/serio_raw.c | 4 +-
1782 drivers/input/touchscreen/htcpen.c | 2 +-
1783 drivers/iommu/arm-smmu-v3.c | 2 +-
1784 drivers/iommu/arm-smmu.c | 42 +-
1785 drivers/iommu/io-pgtable-arm-v7s.c | 62 +-
1786 drivers/iommu/io-pgtable-arm.c | 99 +-
1787 drivers/iommu/io-pgtable.c | 11 +-
1788 drivers/iommu/io-pgtable.h | 21 +-
1789 drivers/iommu/iommu.c | 2 +-
1790 drivers/iommu/ipmmu-vmsa.c | 13 +-
1791 drivers/iommu/irq_remapping.c | 2 +-
1792 drivers/iommu/mtk_iommu.c | 16 +-
1793 drivers/irqchip/irq-gic.c | 2 +-
1794 drivers/irqchip/irq-i8259.c | 2 +-
1795 drivers/irqchip/irq-renesas-intc-irqpin.c | 2 +-
1796 drivers/irqchip/irq-ts4800.c | 2 +-
1797 drivers/isdn/capi/capi.c | 10 +-
1798 drivers/isdn/gigaset/interface.c | 8 +-
1799 drivers/isdn/gigaset/usb-gigaset.c | 2 +-
1800 drivers/isdn/hardware/avm/b1.c | 4 +-
1801 drivers/isdn/hardware/eicon/capifunc.c | 6 +-
1802 drivers/isdn/hardware/eicon/dadapter.c | 18 +-
1803 drivers/isdn/hardware/eicon/diddfunc.c | 7 +-
1804 drivers/isdn/hardware/eicon/divasfunc.c | 9 +-
1805 drivers/isdn/hardware/eicon/divasync.h | 2 +-
1806 drivers/isdn/hardware/eicon/idifunc.c | 9 +-
1807 drivers/isdn/hardware/eicon/mntfunc.c | 13 +-
1808 drivers/isdn/hardware/mISDN/avmfritz.c | 2 +-
1809 drivers/isdn/hardware/mISDN/hfcmulti.c | 7 +-
1810 drivers/isdn/hardware/mISDN/hfcpci.c | 16 +-
1811 drivers/isdn/hardware/mISDN/mISDNinfineon.c | 7 +-
1812 drivers/isdn/hardware/mISDN/mISDNipac.c | 5 +-
1813 drivers/isdn/hardware/mISDN/netjet.c | 2 +-
1814 drivers/isdn/hardware/mISDN/speedfax.c | 7 +-
1815 drivers/isdn/hardware/mISDN/w6692.c | 7 +-
1816 drivers/isdn/hisax/amd7930_fn.c | 5 +-
1817 drivers/isdn/hisax/arcofi.c | 5 +-
1818 drivers/isdn/hisax/diva.c | 7 +-
1819 drivers/isdn/hisax/elsa.c | 9 +-
1820 drivers/isdn/hisax/fsm.c | 5 +-
1821 drivers/isdn/hisax/hfc4s8s_l1.c | 14 +-
1822 drivers/isdn/hisax/hfc_2bds0.c | 4 +-
1823 drivers/isdn/hisax/hfc_pci.c | 10 +-
1824 drivers/isdn/hisax/hfc_sx.c | 10 +-
1825 drivers/isdn/hisax/hfc_usb.c | 12 +-
1826 drivers/isdn/hisax/hfcscard.c | 6 +-
1827 drivers/isdn/hisax/icc.c | 5 +-
1828 drivers/isdn/hisax/ipacx.c | 7 +-
1829 drivers/isdn/hisax/isac.c | 5 +-
1830 drivers/isdn/hisax/isar.c | 5 +-
1831 drivers/isdn/hisax/isdnl3.c | 5 +-
1832 drivers/isdn/hisax/saphir.c | 5 +-
1833 drivers/isdn/hisax/teleint.c | 5 +-
1834 drivers/isdn/hisax/w6692.c | 5 +-
1835 drivers/isdn/i4l/isdn_common.c | 2 +
1836 drivers/isdn/i4l/isdn_tty.c | 22 +-
1837 drivers/isdn/mISDN/dsp.h | 4 +-
1838 drivers/isdn/mISDN/dsp_cmx.c | 4 +-
1839 drivers/isdn/mISDN/dsp_core.c | 4 +-
1840 drivers/isdn/mISDN/dsp_tones.c | 4 +-
1841 drivers/isdn/mISDN/fsm.c | 5 +-
1842 drivers/isdn/mISDN/l1oip_core.c | 8 +-
1843 drivers/leds/leds-clevo-mail.c | 2 +-
1844 drivers/leds/leds-ss4200.c | 2 +-
1845 drivers/lguest/core.c | 9 +-
1846 drivers/lguest/page_tables.c | 2 +-
1847 drivers/lguest/x86/core.c | 12 +-
1848 drivers/lguest/x86/switcher_32.S | 27 +-
1849 drivers/lightnvm/rrpc.c | 4 +-
1850 drivers/lightnvm/rrpc.h | 2 +-
1851 drivers/md/bcache/alloc.c | 2 +-
1852 drivers/md/bcache/bcache.h | 10 +-
1853 drivers/md/bcache/btree.c | 13 +-
1854 drivers/md/bcache/closure.c | 4 +-
1855 drivers/md/bcache/closure.h | 10 +-
1856 drivers/md/bcache/io.c | 10 +-
1857 drivers/md/bcache/journal.c | 18 +-
1858 drivers/md/bcache/movinggc.c | 12 +-
1859 drivers/md/bcache/request.c | 54 +-
1860 drivers/md/bcache/request.h | 2 +-
1861 drivers/md/bcache/stats.c | 26 +-
1862 drivers/md/bcache/stats.h | 16 +-
1863 drivers/md/bcache/super.c | 32 +-
1864 drivers/md/bcache/sysfs.c | 20 +-
1865 drivers/md/bcache/writeback.c | 12 +-
1866 drivers/md/bitmap.c | 2 +-
1867 drivers/md/dm-cache-target.c | 116 +-
1868 drivers/md/dm-ioctl.c | 2 +-
1869 drivers/md/dm-raid.c | 2 +-
1870 drivers/md/dm-raid1.c | 18 +-
1871 drivers/md/dm-stats.c | 6 +-
1872 drivers/md/dm-stripe.c | 10 +-
1873 drivers/md/dm-table.c | 2 +-
1874 drivers/md/dm-thin-metadata.c | 4 +-
1875 drivers/md/dm.c | 28 +-
1876 drivers/md/md.c | 41 +-
1877 drivers/md/md.h | 8 +-
1878 drivers/md/persistent-data/dm-space-map-metadata.c | 4 +-
1879 drivers/md/persistent-data/dm-space-map.h | 1 +
1880 drivers/md/raid1.c | 8 +-
1881 drivers/md/raid10.c | 20 +-
1882 drivers/md/raid5.c | 26 +-
1883 drivers/media/dvb-core/dvb_net.c | 2 +-
1884 drivers/media/dvb-core/dvbdev.c | 2 +-
1885 drivers/media/dvb-frontends/af9033.h | 2 +-
1886 drivers/media/dvb-frontends/cx24116.c | 2 +-
1887 drivers/media/dvb-frontends/cx24117.c | 2 +-
1888 drivers/media/dvb-frontends/cx24120.c | 2 +-
1889 drivers/media/dvb-frontends/cx24123.c | 2 +-
1890 drivers/media/dvb-frontends/cxd2820r_core.c | 2 +-
1891 drivers/media/dvb-frontends/dib3000.h | 2 +-
1892 drivers/media/dvb-frontends/dib7000p.h | 2 +-
1893 drivers/media/dvb-frontends/dib8000.h | 2 +-
1894 drivers/media/dvb-frontends/hd29l2.c | 2 +-
1895 drivers/media/dvb-frontends/lgdt3306a.c | 2 +-
1896 drivers/media/dvb-frontends/mt312.c | 6 +-
1897 drivers/media/dvb-frontends/s921.c | 2 +-
1898 drivers/media/pci/bt8xx/dst.c | 2 +-
1899 drivers/media/pci/cx88/cx88-video.c | 6 +-
1900 drivers/media/pci/ivtv/ivtv-driver.c | 2 +-
1901 drivers/media/pci/pt1/va1j5jf8007s.c | 2 +-
1902 drivers/media/pci/pt1/va1j5jf8007t.c | 2 +-
1903 drivers/media/pci/solo6x10/solo6x10-core.c | 2 +-
1904 drivers/media/pci/solo6x10/solo6x10-p2m.c | 2 +-
1905 drivers/media/pci/solo6x10/solo6x10.h | 2 +-
1906 drivers/media/pci/sta2x11/sta2x11_vip.c | 5 +-
1907 drivers/media/pci/tw68/tw68-core.c | 2 +-
1908 drivers/media/pci/zoran/zoran.h | 1 -
1909 drivers/media/pci/zoran/zoran_card.c | 4 +-
1910 drivers/media/pci/zoran/zoran_driver.c | 3 -
1911 drivers/media/platform/am437x/am437x-vpfe.c | 2 +-
1912 drivers/media/platform/omap/omap_vout.c | 11 +-
1913 drivers/media/platform/s5p-tv/mixer.h | 2 +-
1914 drivers/media/platform/s5p-tv/mixer_grp_layer.c | 2 +-
1915 drivers/media/platform/s5p-tv/mixer_reg.c | 2 +-
1916 drivers/media/platform/s5p-tv/mixer_video.c | 24 +-
1917 drivers/media/platform/s5p-tv/mixer_vp_layer.c | 2 +-
1918 drivers/media/platform/soc_camera/soc_camera.c | 2 +-
1919 drivers/media/radio/radio-cadet.c | 2 +
1920 drivers/media/radio/radio-maxiradio.c | 2 +-
1921 drivers/media/radio/radio-shark.c | 2 +-
1922 drivers/media/radio/radio-shark2.c | 2 +-
1923 drivers/media/radio/radio-si476x.c | 2 +-
1924 drivers/media/radio/wl128x/fmdrv_common.c | 2 +-
1925 drivers/media/usb/pvrusb2/pvrusb2-context.c | 8 +-
1926 drivers/media/usb/pvrusb2/pvrusb2-dvb.c | 7 +-
1927 drivers/media/usb/pvrusb2/pvrusb2-hdw.c | 2 +-
1928 drivers/media/usb/pvrusb2/pvrusb2-std.c | 2 +-
1929 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c | 6 +-
1930 drivers/media/usb/uvc/uvc_driver.c | 4 +-
1931 drivers/media/v4l2-core/v4l2-common.c | 2 +-
1932 drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 12 +-
1933 drivers/media/v4l2-core/v4l2-device.c | 4 +-
1934 drivers/media/v4l2-core/v4l2-ioctl.c | 287 +-
1935 drivers/memory/omap-gpmc.c | 21 +-
1936 drivers/message/fusion/mptbase.c | 4 +-
1937 drivers/message/fusion/mptlan.c | 2 +-
1938 drivers/message/fusion/mptsas.c | 34 +-
1939 drivers/mfd/ab8500-debugfs.c | 2 +-
1940 drivers/mfd/kempld-core.c | 2 +-
1941 drivers/mfd/max8925-i2c.c | 2 +-
1942 drivers/mfd/tps65910.c | 2 +-
1943 drivers/mfd/twl4030-irq.c | 9 +-
1944 drivers/misc/c2port/core.c | 4 +-
1945 drivers/misc/kgdbts.c | 6 +-
1946 drivers/misc/lis3lv02d/lis3lv02d.c | 8 +-
1947 drivers/misc/lis3lv02d/lis3lv02d.h | 2 +-
1948 drivers/misc/mic/scif/scif_api.c | 10 +-
1949 drivers/misc/mic/scif/scif_rb.c | 8 +-
1950 drivers/misc/panel.c | 4 +-
1951 drivers/misc/sgi-gru/gruhandles.c | 4 +-
1952 drivers/misc/sgi-gru/gruprocfs.c | 8 +-
1953 drivers/misc/sgi-gru/grutables.h | 158 +-
1954 drivers/misc/sgi-xp/xp.h | 2 +-
1955 drivers/misc/sgi-xp/xp_main.c | 57 +-
1956 drivers/misc/sgi-xp/xpc.h | 3 +-
1957 drivers/misc/sgi-xp/xpc_main.c | 2 +-
1958 drivers/misc/sgi-xp/xpnet.c | 2 +-
1959 drivers/misc/ti-st/st_kim.c | 32 +-
1960 drivers/mmc/card/mmc_test.c | 4 +-
1961 drivers/mmc/host/dw_mmc.h | 2 +-
1962 drivers/mmc/host/mmci.c | 4 +-
1963 drivers/mmc/host/omap_hsmmc.c | 4 +-
1964 drivers/mmc/host/sdhci-esdhc-imx.c | 7 +-
1965 drivers/mmc/host/sdhci-s3c.c | 8 +-
1966 drivers/mtd/chips/cfi_cmdset_0020.c | 2 +-
1967 drivers/mtd/devices/block2mtd.c | 2 +-
1968 drivers/mtd/devices/phram.c | 2 +-
1969 drivers/mtd/maps/gpio-addr-flash.c | 2 +-
1970 drivers/mtd/maps/latch-addr-flash.c | 2 +-
1971 drivers/mtd/maps/pci.c | 4 +-
1972 drivers/mtd/maps/pcmciamtd.c | 8 +-
1973 drivers/mtd/maps/sbc_gxx.c | 2 +-
1974 drivers/mtd/nand/brcmnand/brcmnand.h | 2 +-
1975 drivers/mtd/nand/cafe_nand.c | 18 +-
1976 drivers/mtd/nand/denali.c | 1 +
1977 drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 2 +-
1978 drivers/mtd/nftlmount.c | 1 +
1979 drivers/mtd/sm_ftl.c | 2 +-
1980 drivers/mtd/ubi/build.c | 2 +-
1981 drivers/net/bonding/bond_netlink.c | 2 +-
1982 drivers/net/caif/caif_hsi.c | 4 +-
1983 drivers/net/caif/caif_serial.c | 2 +-
1984 drivers/net/caif/caif_spi.c | 2 +-
1985 drivers/net/caif/caif_virtio.c | 2 +-
1986 drivers/net/can/Kconfig | 2 +-
1987 drivers/net/can/bfin_can.c | 2 +-
1988 drivers/net/can/dev.c | 2 +-
1989 drivers/net/can/flexcan.c | 2 +-
1990 drivers/net/can/janz-ican3.c | 2 +-
1991 drivers/net/can/led.c | 2 +-
1992 drivers/net/can/sun4i_can.c | 2 +-
1993 drivers/net/can/vcan.c | 2 +-
1994 drivers/net/can/xilinx_can.c | 2 +-
1995 drivers/net/dummy.c | 2 +-
1996 drivers/net/ethernet/8390/ax88796.c | 6 +-
1997 drivers/net/ethernet/8390/axnet_cs.c | 4 +-
1998 drivers/net/ethernet/8390/ne2k-pci.c | 6 +-
1999 drivers/net/ethernet/8390/pcnet_cs.c | 4 +-
2000 drivers/net/ethernet/adi/bfin_mac.c | 2 +-
2001 drivers/net/ethernet/allwinner/sun4i-emac.c | 2 +-
2002 drivers/net/ethernet/altera/altera_tse_main.c | 6 +-
2003 drivers/net/ethernet/amd/7990.c | 2 +-
2004 drivers/net/ethernet/amd/7990.h | 2 +-
2005 drivers/net/ethernet/amd/amd8111e.c | 5 +-
2006 drivers/net/ethernet/amd/atarilance.c | 4 +-
2007 drivers/net/ethernet/amd/declance.c | 2 +-
2008 drivers/net/ethernet/amd/pcnet32.c | 7 +-
2009 drivers/net/ethernet/amd/sun3lance.c | 4 +-
2010 drivers/net/ethernet/amd/sunlance.c | 2 +-
2011 drivers/net/ethernet/amd/xgbe/xgbe-common.h | 4 +-
2012 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c | 4 +-
2013 drivers/net/ethernet/amd/xgbe/xgbe-desc.c | 27 +-
2014 drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 145 +-
2015 drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 68 +-
2016 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 10 +-
2017 drivers/net/ethernet/amd/xgbe/xgbe-main.c | 15 +-
2018 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 27 +-
2019 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c | 4 +-
2020 drivers/net/ethernet/amd/xgbe/xgbe.h | 10 +-
2021 drivers/net/ethernet/apm/xgene/xgene_enet_main.c | 4 +-
2022 drivers/net/ethernet/arc/emac_main.c | 2 +-
2023 drivers/net/ethernet/atheros/alx/main.c | 2 +-
2024 drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 2 +-
2025 drivers/net/ethernet/atheros/atl1e/atl1e_main.c | 2 +-
2026 drivers/net/ethernet/aurora/nb8800.c | 2 +-
2027 drivers/net/ethernet/broadcom/bcm63xx_enet.c | 2 +-
2028 drivers/net/ethernet/broadcom/bnx2.c | 2 +-
2029 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 2 +-
2030 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | 216 +-
2031 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h | 4 +-
2032 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 2 +-
2033 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | 11 +-
2034 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h | 3 +-
2035 drivers/net/ethernet/broadcom/tg3.c | 2 +-
2036 drivers/net/ethernet/broadcom/tg3.h | 1 +
2037 drivers/net/ethernet/brocade/bna/bfa_cs.h | 42 +-
2038 drivers/net/ethernet/brocade/bna/bfa_ioc.c | 10 +-
2039 drivers/net/ethernet/brocade/bna/bfa_ioc.h | 4 +-
2040 drivers/net/ethernet/brocade/bna/bfa_msgq.h | 8 +-
2041 drivers/net/ethernet/brocade/bna/bna_enet.c | 6 +-
2042 drivers/net/ethernet/brocade/bna/bna_tx_rx.c | 6 +-
2043 drivers/net/ethernet/brocade/bna/bna_types.h | 24 +-
2044 drivers/net/ethernet/brocade/bna/bnad.c | 11 +-
2045 drivers/net/ethernet/cadence/macb.c | 4 +-
2046 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c | 6 +-
2047 drivers/net/ethernet/cavium/liquidio/lio_main.c | 15 +-
2048 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c | 2 +-
2049 drivers/net/ethernet/chelsio/cxgb3/l2t.h | 2 +-
2050 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 2 +-
2051 drivers/net/ethernet/chelsio/cxgb4vf/adapter.h | 2 +-
2052 drivers/net/ethernet/chelsio/cxgb4vf/sge.c | 2 +-
2053 drivers/net/ethernet/davicom/dm9000.c | 2 +-
2054 drivers/net/ethernet/dec/tulip/de4x5.c | 13 +-
2055 drivers/net/ethernet/emulex/benet/be_main.c | 4 +-
2056 drivers/net/ethernet/faraday/ftgmac100.c | 4 +-
2057 drivers/net/ethernet/faraday/ftmac100.c | 4 +-
2058 drivers/net/ethernet/freescale/fec_mpc52xx.c | 2 +-
2059 .../net/ethernet/freescale/fs_enet/fs_enet-main.c | 2 +-
2060 drivers/net/ethernet/freescale/gianfar.c | 4 +-
2061 drivers/net/ethernet/freescale/ucc_geth.c | 2 +-
2062 drivers/net/ethernet/hisilicon/hip04_eth.c | 2 +-
2063 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c | 2 +-
2064 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 6 +-
2065 drivers/net/ethernet/i825xx/lib82596.c | 4 +-
2066 drivers/net/ethernet/ibm/ehea/ehea_main.c | 2 +-
2067 drivers/net/ethernet/ibm/emac/core.c | 4 +-
2068 drivers/net/ethernet/intel/e100.c | 2 +-
2069 drivers/net/ethernet/intel/e1000/e1000_main.c | 2 +-
2070 drivers/net/ethernet/intel/e1000e/netdev.c | 2 +-
2071 drivers/net/ethernet/intel/fm10k/fm10k_pci.c | 2 +-
2072 drivers/net/ethernet/intel/i40e/i40e_ptp.c | 2 +-
2073 drivers/net/ethernet/intel/igb/igb_main.c | 2 +-
2074 drivers/net/ethernet/intel/igbvf/netdev.c | 2 +-
2075 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 2 +-
2076 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 2 +-
2077 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 4 +-
2078 drivers/net/ethernet/marvell/pxa168_eth.c | 2 +-
2079 drivers/net/ethernet/mellanox/mlx4/en_tx.c | 4 +-
2080 drivers/net/ethernet/mellanox/mlx4/main.c | 2 +-
2081 drivers/net/ethernet/mellanox/mlx5/core/main.c | 2 +-
2082 drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 2 +-
2083 drivers/net/ethernet/micrel/ks8695net.c | 2 +-
2084 drivers/net/ethernet/micrel/ks8851_mll.c | 2 +-
2085 drivers/net/ethernet/moxa/moxart_ether.c | 2 +-
2086 drivers/net/ethernet/neterion/s2io.c | 2 +-
2087 drivers/net/ethernet/neterion/vxge/vxge-config.c | 7 +-
2088 drivers/net/ethernet/neterion/vxge/vxge-main.c | 2 +-
2089 .../net/ethernet/netronome/nfp/nfp_net_common.c | 2 +-
2090 drivers/net/ethernet/netx-eth.c | 2 +-
2091 drivers/net/ethernet/nuvoton/w90p910_ether.c | 2 +-
2092 drivers/net/ethernet/nvidia/forcedeth.c | 4 +-
2093 drivers/net/ethernet/nxp/lpc_eth.c | 2 +-
2094 .../net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c | 4 +-
2095 .../net/ethernet/qlogic/netxen/netxen_nic_main.c | 2 +-
2096 drivers/net/ethernet/qlogic/qed/qed_mcp.c | 6 +-
2097 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 4 +-
2098 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c | 12 +-
2099 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c | 2 +-
2100 .../net/ethernet/qlogic/qlcnic/qlcnic_minidump.c | 2 +-
2101 drivers/net/ethernet/realtek/r8169.c | 8 +-
2102 drivers/net/ethernet/renesas/sh_eth.c | 2 +-
2103 drivers/net/ethernet/rocker/rocker_main.c | 4 +-
2104 drivers/net/ethernet/seeq/sgiseeq.c | 2 +-
2105 drivers/net/ethernet/sfc/ptp.c | 2 +-
2106 drivers/net/ethernet/sfc/selftest.c | 20 +-
2107 drivers/net/ethernet/sgi/ioc3-eth.c | 4 +-
2108 drivers/net/ethernet/smsc/smc911x.c | 2 +-
2109 drivers/net/ethernet/smsc/smc91x.c | 2 +-
2110 drivers/net/ethernet/smsc/smsc911x.c | 2 +-
2111 drivers/net/ethernet/stmicro/stmmac/mmc_core.c | 4 +-
2112 drivers/net/ethernet/sun/sunbmac.c | 2 +-
2113 drivers/net/ethernet/sun/sunqe.c | 2 +-
2114 drivers/net/ethernet/sun/sunvnet.c | 2 +-
2115 drivers/net/ethernet/sun/sunvnet_common.c | 6 +-
2116 drivers/net/ethernet/synopsys/dwc_eth_qos.c | 2 +-
2117 drivers/net/ethernet/ti/cpmac.c | 2 +-
2118 drivers/net/ethernet/ti/netcp_core.c | 2 +-
2119 drivers/net/ethernet/via/via-rhine.c | 2 +-
2120 drivers/net/ethernet/wiznet/w5100.c | 2 +-
2121 drivers/net/ethernet/wiznet/w5300.c | 2 +-
2122 drivers/net/ethernet/xilinx/ll_temac_main.c | 2 +-
2123 drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 2 +-
2124 drivers/net/geneve.c | 2 +-
2125 drivers/net/hamradio/baycom_epp.c | 2 +-
2126 drivers/net/hyperv/hyperv_net.h | 2 +-
2127 drivers/net/hyperv/netvsc_drv.c | 2 +-
2128 drivers/net/hyperv/rndis_filter.c | 7 +-
2129 drivers/net/ifb.c | 2 +-
2130 drivers/net/ipvlan/ipvlan_core.c | 2 +-
2131 drivers/net/ipvlan/ipvlan_main.c | 6 +-
2132 drivers/net/irda/sh_irda.c | 2 +-
2133 drivers/net/irda/vlsi_ir.c | 18 +-
2134 drivers/net/irda/vlsi_ir.h | 14 +-
2135 drivers/net/loopback.c | 2 +-
2136 drivers/net/macsec.c | 2 +-
2137 drivers/net/macvlan.c | 20 +-
2138 drivers/net/macvtap.c | 10 +-
2139 drivers/net/nlmon.c | 2 +-
2140 drivers/net/phy/phy_device.c | 6 +-
2141 drivers/net/plip/plip.c | 2 +-
2142 drivers/net/ppp/ppp_generic.c | 4 +-
2143 drivers/net/ppp/pptp.c | 2 +-
2144 drivers/net/rionet.c | 2 +-
2145 drivers/net/slip/slhc.c | 2 +-
2146 drivers/net/team/team.c | 4 +-
2147 drivers/net/tun.c | 7 +-
2148 drivers/net/usb/hso.c | 28 +-
2149 drivers/net/usb/ipheth.c | 2 +-
2150 drivers/net/usb/r8152.c | 2 +-
2151 drivers/net/usb/sierra_net.c | 4 +-
2152 drivers/net/virtio_net.c | 2 +-
2153 drivers/net/vrf.c | 4 +-
2154 drivers/net/vxlan.c | 4 +-
2155 drivers/net/wimax/i2400m/rx.c | 2 +-
2156 drivers/net/wireless/ath/ath10k/ce.c | 6 +-
2157 drivers/net/wireless/ath/ath10k/htc.h | 4 +-
2158 drivers/net/wireless/ath/ath6kl/core.h | 2 +-
2159 drivers/net/wireless/ath/ath6kl/txrx.c | 2 +-
2160 drivers/net/wireless/ath/ath9k/ar9002_mac.c | 36 +-
2161 drivers/net/wireless/ath/ath9k/ar9003_mac.c | 64 +-
2162 drivers/net/wireless/ath/ath9k/hw.h | 4 +-
2163 drivers/net/wireless/ath/ath9k/main.c | 22 +-
2164 drivers/net/wireless/ath/carl9170/carl9170.h | 6 +-
2165 drivers/net/wireless/ath/carl9170/debug.c | 6 +-
2166 drivers/net/wireless/ath/carl9170/main.c | 10 +-
2167 drivers/net/wireless/ath/carl9170/tx.c | 4 +-
2168 drivers/net/wireless/ath/wil6210/pcie_bus.c | 2 +-
2169 drivers/net/wireless/ath/wil6210/wil_platform.h | 2 +-
2170 drivers/net/wireless/atmel/at76c50x-usb.c | 2 +-
2171 drivers/net/wireless/atmel/atmel.c | 183 +-
2172 drivers/net/wireless/broadcom/b43/phy_lp.c | 2 +-
2173 drivers/net/wireless/broadcom/b43legacy/main.c | 5 +-
2174 .../broadcom/brcm80211/brcmfmac/cfg80211.c | 55 +-
2175 .../broadcom/brcm80211/brcmsmac/phy/phy_cmn.c | 3 +-
2176 .../broadcom/brcm80211/brcmsmac/phy_shim.c | 5 +-
2177 .../broadcom/brcm80211/brcmsmac/phy_shim.h | 2 +-
2178 drivers/net/wireless/cisco/airo.c | 201 +-
2179 drivers/net/wireless/intel/ipw2x00/ipw2100.c | 8 +-
2180 drivers/net/wireless/intel/ipw2x00/ipw2200.c | 6 +-
2181 drivers/net/wireless/intel/iwlegacy/3945-mac.c | 11 +-
2182 drivers/net/wireless/intel/iwlegacy/4965-mac.c | 7 +-
2183 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c | 34 +-
2184 drivers/net/wireless/intel/iwlwifi/dvm/lib.c | 4 +-
2185 drivers/net/wireless/intel/iwlwifi/mvm/d3.c | 8 +-
2186 drivers/net/wireless/intel/iwlwifi/mvm/tx.c | 4 +-
2187 drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 4 +-
2188 .../net/wireless/intersil/hostap/hostap_ioctl.c | 134 +-
2189 drivers/net/wireless/intersil/orinoco/wext.c | 131 +-
2190 drivers/net/wireless/intersil/prism54/isl_ioctl.c | 292 +-
2191 drivers/net/wireless/mac80211_hwsim.c | 28 +-
2192 drivers/net/wireless/marvell/mwifiex/11n_aggr.c | 2 +-
2193 drivers/net/wireless/marvell/mwifiex/main.c | 2 +-
2194 drivers/net/wireless/marvell/mwifiex/pcie.c | 4 +-
2195 drivers/net/wireless/marvell/mwifiex/sdio.c | 10 +-
2196 drivers/net/wireless/ralink/rt2x00/rt2400pci.c | 4 +-
2197 drivers/net/wireless/ralink/rt2x00/rt2500pci.c | 4 +-
2198 drivers/net/wireless/ralink/rt2x00/rt2500usb.c | 4 +-
2199 drivers/net/wireless/ralink/rt2x00/rt2800lib.c | 6 +-
2200 drivers/net/wireless/ralink/rt2x00/rt2x00.h | 2 +-
2201 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c | 4 +-
2202 drivers/net/wireless/ralink/rt2x00/rt61pci.c | 4 +-
2203 drivers/net/wireless/ralink/rt2x00/rt73usb.c | 4 +-
2204 drivers/net/wireless/realtek/rtlwifi/base.c | 14 +-
2205 drivers/net/wireless/realtek/rtlwifi/base.h | 4 +-
2206 drivers/net/wireless/realtek/rtlwifi/pci.c | 15 +-
2207 drivers/net/wireless/realtek/rtlwifi/ps.c | 6 +-
2208 drivers/net/wireless/realtek/rtlwifi/ps.h | 6 +-
2209 drivers/net/wireless/ti/wl1251/sdio.c | 12 +-
2210 drivers/net/wireless/ti/wl12xx/main.c | 8 +-
2211 drivers/net/wireless/ti/wl18xx/main.c | 6 +-
2212 drivers/net/wireless/zydas/zd1201.c | 192 +-
2213 drivers/net/xen-netback/interface.c | 2 +-
2214 drivers/net/xen-netfront.c | 2 +-
2215 drivers/nvme/host/pci.c | 2 +-
2216 drivers/of/fdt.c | 4 +-
2217 drivers/oprofile/buffer_sync.c | 8 +-
2218 drivers/oprofile/event_buffer.c | 2 +-
2219 drivers/oprofile/oprof.c | 2 +-
2220 drivers/oprofile/oprofile_stats.c | 10 +-
2221 drivers/oprofile/oprofile_stats.h | 10 +-
2222 drivers/oprofile/oprofilefs.c | 6 +-
2223 drivers/oprofile/timer_int.c | 2 +-
2224 drivers/parport/procfs.c | 4 +-
2225 drivers/pci/host/pci-host-common.h | 2 +-
2226 drivers/pci/hotplug/acpiphp_ibm.c | 4 +-
2227 drivers/pci/hotplug/cpcihp_generic.c | 6 +-
2228 drivers/pci/hotplug/cpcihp_zt5550.c | 14 +-
2229 drivers/pci/hotplug/cpqphp_nvram.c | 2 +
2230 drivers/pci/hotplug/pci_hotplug_core.c | 6 +-
2231 drivers/pci/hotplug/pciehp_core.c | 2 +-
2232 drivers/pci/msi.c | 22 +-
2233 drivers/pci/pci-sysfs.c | 6 +-
2234 drivers/pci/pci.h | 4 +-
2235 drivers/pci/pcie/aspm.c | 10 +-
2236 drivers/pci/pcie/portdrv_pci.c | 2 +-
2237 drivers/pci/probe.c | 2 +-
2238 drivers/pci/setup-bus.c | 10 +-
2239 drivers/pinctrl/nomadik/pinctrl-nomadik.c | 2 +-
2240 drivers/pinctrl/pinctrl-at91.c | 5 +-
2241 drivers/platform/chrome/chromeos_laptop.c | 2 +-
2242 drivers/platform/chrome/chromeos_pstore.c | 2 +-
2243 drivers/platform/chrome/cros_ec_lpc.c | 2 +-
2244 drivers/platform/x86/alienware-wmi.c | 4 +-
2245 drivers/platform/x86/apple-gmux.c | 2 +-
2246 drivers/platform/x86/compal-laptop.c | 2 +-
2247 drivers/platform/x86/hdaps.c | 2 +-
2248 drivers/platform/x86/ibm_rtl.c | 2 +-
2249 drivers/platform/x86/intel_oaktrail.c | 2 +-
2250 drivers/platform/x86/msi-laptop.c | 16 +-
2251 drivers/platform/x86/msi-wmi.c | 2 +-
2252 drivers/platform/x86/samsung-laptop.c | 2 +-
2253 drivers/platform/x86/samsung-q10.c | 2 +-
2254 drivers/platform/x86/sony-laptop.c | 14 +-
2255 drivers/platform/x86/thinkpad_acpi.c | 10 +-
2256 drivers/pnp/pnpbios/bioscalls.c | 14 +-
2257 drivers/pnp/pnpbios/core.c | 2 +-
2258 drivers/power/pda_power.c | 7 +-
2259 drivers/power/power_supply.h | 4 +-
2260 drivers/power/power_supply_core.c | 7 +-
2261 drivers/power/power_supply_sysfs.c | 6 +-
2262 drivers/power/reset/at91-reset.c | 5 +-
2263 drivers/powercap/powercap_sys.c | 136 +-
2264 drivers/ptp/ptp_private.h | 2 +-
2265 drivers/ptp/ptp_sysfs.c | 2 +-
2266 drivers/regulator/core.c | 4 +-
2267 drivers/regulator/max8660.c | 6 +-
2268 drivers/regulator/max8973-regulator.c | 16 +-
2269 drivers/regulator/mc13892-regulator.c | 8 +-
2270 drivers/remoteproc/remoteproc_core.c | 26 +-
2271 drivers/rtc/rtc-armada38x.c | 7 +-
2272 drivers/rtc/rtc-cmos.c | 4 +-
2273 drivers/rtc/rtc-ds1307.c | 2 +-
2274 drivers/rtc/rtc-m48t59.c | 4 +-
2275 drivers/rtc/rtc-rv8803.c | 15 +-
2276 drivers/rtc/rtc-rx8010.c | 8 +-
2277 drivers/rtc/rtc-test.c | 6 +-
2278 drivers/scsi/aacraid/aachba.c | 7 +-
2279 drivers/scsi/aic7xxx/aic79xx.h | 2 +-
2280 drivers/scsi/aic7xxx/aic79xx_core.c | 11 +-
2281 drivers/scsi/be2iscsi/be_main.c | 2 +-
2282 drivers/scsi/bfa/bfa.h | 4 +-
2283 drivers/scsi/bfa/bfa_core.c | 4 +-
2284 drivers/scsi/bfa/bfa_cs.h | 124 +-
2285 drivers/scsi/bfa/bfa_fcpim.h | 14 +-
2286 drivers/scsi/bfa/bfa_fcs.h | 34 +-
2287 drivers/scsi/bfa/bfa_fcs_fcpim.c | 6 +-
2288 drivers/scsi/bfa/bfa_fcs_lport.c | 4 +-
2289 drivers/scsi/bfa/bfa_fcs_rport.c | 4 +-
2290 drivers/scsi/bfa/bfa_ioc.c | 8 +-
2291 drivers/scsi/bfa/bfa_ioc.h | 16 +-
2292 drivers/scsi/bfa/bfa_svc.c | 12 +-
2293 drivers/scsi/bfa/bfa_svc.h | 20 +-
2294 drivers/scsi/bfa/bfad.c | 12 +-
2295 drivers/scsi/bfa/bfad_bsg.c | 8 +-
2296 drivers/scsi/bfa/bfad_drv.h | 5 +-
2297 drivers/scsi/csiostor/csio_defs.h | 19 +-
2298 drivers/scsi/csiostor/csio_hw.c | 67 +-
2299 drivers/scsi/csiostor/csio_init.c | 2 +-
2300 drivers/scsi/csiostor/csio_lnode.c | 32 +-
2301 drivers/scsi/csiostor/csio_rnode.c | 28 +-
2302 drivers/scsi/csiostor/csio_scsi.c | 37 +-
2303 drivers/scsi/fcoe/fcoe_sysfs.c | 12 +-
2304 drivers/scsi/fcoe/fcoe_transport.c | 16 +-
2305 drivers/scsi/hpsa.c | 38 +-
2306 drivers/scsi/hpsa.h | 2 +-
2307 drivers/scsi/hptiop.c | 2 -
2308 drivers/scsi/hptiop.h | 1 -
2309 drivers/scsi/ipr.c | 32 +-
2310 drivers/scsi/ipr.h | 2 +-
2311 drivers/scsi/libfc/fc_exch.c | 50 +-
2312 drivers/scsi/libsas/sas_ata.c | 2 +-
2313 drivers/scsi/lpfc/lpfc.h | 8 +-
2314 drivers/scsi/lpfc/lpfc_debugfs.c | 18 +-
2315 drivers/scsi/lpfc/lpfc_init.c | 8 +-
2316 drivers/scsi/lpfc/lpfc_scsi.c | 10 +-
2317 drivers/scsi/megaraid/megaraid_sas.h | 2 +-
2318 drivers/scsi/mpt3sas/mpt3sas_base.c | 2 +-
2319 drivers/scsi/mpt3sas/mpt3sas_scsih.c | 4 +-
2320 drivers/scsi/pmcraid.c | 46 +-
2321 drivers/scsi/pmcraid.h | 8 +-
2322 drivers/scsi/qla2xxx/qla_attr.c | 4 +-
2323 drivers/scsi/qla2xxx/qla_gbl.h | 8 +-
2324 drivers/scsi/qla2xxx/qla_os.c | 15 +-
2325 drivers/scsi/qla2xxx/qla_target.c | 16 +-
2326 drivers/scsi/qla2xxx/qla_target.h | 2 +-
2327 drivers/scsi/qla4xxx/ql4_def.h | 2 +-
2328 drivers/scsi/qla4xxx/ql4_os.c | 15 +-
2329 drivers/scsi/scsi.c | 2 +-
2330 drivers/scsi/scsi_lib.c | 8 +-
2331 drivers/scsi/scsi_sysfs.c | 2 +-
2332 drivers/scsi/scsi_transport_fc.c | 8 +-
2333 drivers/scsi/scsi_transport_iscsi.c | 6 +-
2334 drivers/scsi/scsi_transport_spi.c | 2 +-
2335 drivers/scsi/scsi_transport_srp.c | 8 +-
2336 drivers/scsi/sd.c | 6 +-
2337 drivers/scsi/sg.c | 2 +-
2338 drivers/scsi/sr.c | 21 +-
2339 drivers/soc/tegra/fuse/fuse-tegra.c | 2 +-
2340 drivers/spi/spi.c | 2 +-
2341 drivers/staging/android/timed_output.c | 6 +-
2342 drivers/staging/comedi/comedi_fops.c | 8 +-
2343 drivers/staging/fbtft/fbtft-core.c | 2 +-
2344 drivers/staging/fbtft/fbtft.h | 2 +-
2345 drivers/staging/gdm724x/gdm_lte.c | 2 +-
2346 drivers/staging/gdm724x/gdm_tty.c | 2 +-
2347 drivers/staging/i4l/icn/icn.c | 2 +-
2348 drivers/staging/iio/accel/lis3l02dq_ring.c | 2 +-
2349 drivers/staging/iio/adc/ad7280a.c | 4 +-
2350 .../staging/lustre/lnet/klnds/socklnd/socklnd.h | 6 +-
2351 drivers/staging/lustre/lnet/selftest/brw_test.c | 12 +-
2352 drivers/staging/lustre/lnet/selftest/framework.c | 2 -
2353 drivers/staging/lustre/lnet/selftest/ping_test.c | 14 +-
2354 drivers/staging/lustre/lnet/selftest/selftest.h | 2 -
2355 .../lustre/lustre/include/lustre/lustre_idl.h | 82 +-
2356 drivers/staging/lustre/lustre/include/lustre_dlm.h | 8 +-
2357 drivers/staging/lustre/lustre/include/lustre_net.h | 2 +-
2358 drivers/staging/lustre/lustre/include/obd.h | 2 +-
2359 drivers/staging/lustre/lustre/ldlm/ldlm_request.c | 5 +-
2360 drivers/staging/lustre/lustre/llite/dir.c | 2 +-
2361 drivers/staging/lustre/lustre/lov/lov_io.c | 62 +-
2362 drivers/staging/lustre/lustre/obdclass/llog_swab.c | 24 +-
2363 drivers/staging/lustre/lustre/osc/osc_request.c | 24 +-
2364 drivers/staging/lustre/lustre/ptlrpc/layout.c | 7 +-
2365 .../staging/lustre/lustre/ptlrpc/pack_generic.c | 136 +-
2366 drivers/staging/rdma/hfi1/pcie.c | 2 +-
2367 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 18 +-
2368 drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c | 2 +-
2369 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c | 2 +-
2370 drivers/staging/rtl8188eu/include/Hal8188EPhyCfg.h | 8 -
2371 drivers/staging/rtl8188eu/include/hal_intf.h | 5 +-
2372 drivers/staging/rtl8188eu/include/odm_precomp.h | 2 +-
2373 drivers/staging/rtl8188eu/include/recv_osdep.h | 1 -
2374 drivers/staging/rtl8188eu/include/rtl8188e_recv.h | 2 +-
2375 drivers/staging/rtl8188eu/include/rtl8188e_xmit.h | 2 +-
2376 drivers/staging/rtl8188eu/include/rtw_cmd.h | 1 -
2377 drivers/staging/rtl8188eu/include/rtw_eeprom.h | 6 -
2378 drivers/staging/rtl8188eu/include/rtw_ioctl.h | 9 -
2379 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h | 12 +-
2380 drivers/staging/rtl8188eu/include/xmit_osdep.h | 2 +-
2381 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c | 4 +-
2382 drivers/staging/rtl8188eu/os_dep/xmit_linux.c | 2 +-
2383 drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 49 +-
2384 drivers/staging/rtl8192e/rtl8192e/rtl_core.h | 4 +-
2385 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 10 +-
2386 drivers/staging/rtl8192e/rtl8192e/rtl_dm.h | 4 +-
2387 drivers/staging/rtl8192e/rtl8192e/rtl_ps.c | 6 +-
2388 drivers/staging/rtl8192e/rtl8192e/rtl_ps.h | 3 +-
2389 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 48 +-
2390 drivers/staging/rtl8192e/rtllib.h | 4 +-
2391 drivers/staging/rtl8192e/rtllib_softmac.c | 32 +-
2392 drivers/staging/rtl8192e/rtllib_softmac_wx.c | 2 +-
2393 drivers/staging/rtl8192e/rtllib_tx.c | 2 +-
2394 drivers/staging/rtl8192u/ieee80211/ieee80211.h | 2 +-
2395 .../staging/rtl8192u/ieee80211/ieee80211_softmac.c | 6 +-
2396 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c | 2 +-
2397 drivers/staging/rtl8192u/r8192U_core.c | 7 +-
2398 drivers/staging/rtl8712/rtl8712_recv.c | 6 +-
2399 drivers/staging/rtl8712/rtl871x_io.h | 2 +-
2400 drivers/staging/rtl8712/rtl871x_ioctl.h | 14 -
2401 drivers/staging/rtl8712/rtl871x_xmit.c | 2 +-
2402 drivers/staging/rtl8712/rtl871x_xmit.h | 2 +-
2403 drivers/staging/rtl8712/usb_ops_linux.c | 4 +-
2404 drivers/staging/rtl8712/xmit_linux.c | 2 +-
2405 drivers/staging/rtl8712/xmit_osdep.h | 2 +-
2406 drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 12 +-
2407 drivers/staging/rtl8723au/core/rtw_xmit.c | 2 +-
2408 drivers/staging/rtl8723au/hal/rtl8723au_recv.c | 2 +-
2409 drivers/staging/rtl8723au/hal/usb_ops_linux.c | 4 +-
2410 drivers/staging/rtl8723au/include/Hal8723APhyCfg.h | 8 -
2411 drivers/staging/rtl8723au/include/drv_types.h | 2 +-
2412 drivers/staging/rtl8723au/include/hal_intf.h | 2 -
2413 drivers/staging/rtl8723au/include/recv_osdep.h | 1 -
2414 drivers/staging/rtl8723au/include/rtw_ap.h | 2 -
2415 drivers/staging/rtl8723au/include/rtw_cmd.h | 1 -
2416 drivers/staging/rtl8723au/include/rtw_eeprom.h | 7 -
2417 drivers/staging/rtl8723au/include/rtw_mlme_ext.h | 14 +-
2418 drivers/staging/rtl8723au/include/usb_ops.h | 8 +-
2419 drivers/staging/rtl8723au/include/xmit_osdep.h | 2 +-
2420 drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 2 +-
2421 drivers/staging/rtl8723au/os_dep/xmit_linux.c | 2 +-
2422 drivers/staging/sm750fb/sm750.c | 14 +-
2423 drivers/staging/unisys/visorbus/visorbus_private.h | 4 +-
2424 drivers/staging/unisys/visornic/visornic_main.c | 2 +-
2425 drivers/staging/vt6655/rxtx.c | 2 +-
2426 drivers/staging/vt6656/rxtx.c | 2 +-
2427 drivers/staging/wilc1000/linux_wlan.c | 2 +-
2428 drivers/staging/wilc1000/wilc_wlan.h | 2 +-
2429 drivers/staging/wlan-ng/p80211netdev.c | 2 +-
2430 drivers/target/sbp/sbp_target.c | 4 +-
2431 drivers/thermal/cpu_cooling.c | 9 +-
2432 drivers/thermal/devfreq_cooling.c | 19 +-
2433 drivers/thermal/int340x_thermal/int3400_thermal.c | 6 +-
2434 drivers/thermal/of-thermal.c | 17 +-
2435 drivers/thermal/x86_pkg_temp_thermal.c | 2 +-
2436 drivers/tty/cyclades.c | 6 +-
2437 drivers/tty/hvc/hvc_console.c | 14 +-
2438 drivers/tty/hvc/hvcs.c | 21 +-
2439 drivers/tty/hvc/hvsi.c | 22 +-
2440 drivers/tty/hvc/hvsi_lib.c | 4 +-
2441 drivers/tty/ipwireless/tty.c | 27 +-
2442 drivers/tty/moxa.c | 2 +-
2443 drivers/tty/n_gsm.c | 6 +-
2444 drivers/tty/n_tty.c | 28 +-
2445 drivers/tty/pty.c | 4 +-
2446 drivers/tty/rocket.c | 6 +-
2447 drivers/tty/serial/8250/8250_core.c | 10 +-
2448 drivers/tty/serial/8250/8250_pci.c | 2 +-
2449 drivers/tty/serial/ifx6x60.c | 2 +-
2450 drivers/tty/serial/ioc4_serial.c | 6 +-
2451 drivers/tty/serial/jsm/jsm_driver.c | 2 +-
2452 drivers/tty/serial/kgdb_nmi.c | 4 +-
2453 drivers/tty/serial/kgdboc.c | 34 +-
2454 drivers/tty/serial/msm_serial.c | 4 +-
2455 drivers/tty/serial/samsung.c | 9 +-
2456 drivers/tty/serial/serial_core.c | 8 +-
2457 drivers/tty/synclink.c | 34 +-
2458 drivers/tty/synclink_gt.c | 28 +-
2459 drivers/tty/synclinkmp.c | 34 +-
2460 drivers/tty/tty_io.c | 2 +-
2461 drivers/tty/tty_ldisc.c | 8 +-
2462 drivers/tty/tty_port.c | 22 +-
2463 drivers/uio/uio.c | 13 +-
2464 drivers/usb/atm/cxacru.c | 2 +-
2465 drivers/usb/atm/usbatm.c | 24 +-
2466 drivers/usb/class/cdc-acm.h | 2 +-
2467 drivers/usb/core/devices.c | 6 +-
2468 drivers/usb/core/devio.c | 12 +-
2469 drivers/usb/core/hcd.c | 4 +-
2470 drivers/usb/core/sysfs.c | 2 +-
2471 drivers/usb/core/usb.c | 2 +-
2472 drivers/usb/early/ehci-dbgp.c | 16 +-
2473 drivers/usb/gadget/function/f_phonet.c | 2 +-
2474 drivers/usb/gadget/function/u_serial.c | 22 +-
2475 drivers/usb/gadget/udc/dummy_hcd.c | 2 +-
2476 drivers/usb/host/ehci-hcd.c | 2 +-
2477 drivers/usb/host/ehci-hub.c | 4 +-
2478 drivers/usb/host/ehci-q.c | 4 +-
2479 drivers/usb/host/fotg210-hcd.c | 2 +-
2480 drivers/usb/host/hwa-hc.c | 2 +-
2481 drivers/usb/host/ohci-hcd.c | 2 +-
2482 drivers/usb/host/r8a66597.h | 2 +-
2483 drivers/usb/host/uhci-hcd.c | 2 +-
2484 drivers/usb/host/xhci-pci.c | 2 +-
2485 drivers/usb/host/xhci-ring.c | 52 +-
2486 drivers/usb/host/xhci.c | 2 +-
2487 drivers/usb/misc/appledisplay.c | 4 +-
2488 drivers/usb/misc/sisusbvga/sisusb_con.c | 98 +-
2489 drivers/usb/serial/console.c | 8 +-
2490 drivers/usb/storage/transport.c | 2 +-
2491 drivers/usb/storage/usb.c | 2 +-
2492 drivers/usb/storage/usb.h | 2 +-
2493 drivers/usb/usbip/vhci.h | 2 +-
2494 drivers/usb/usbip/vhci_hcd.c | 6 +-
2495 drivers/usb/usbip/vhci_rx.c | 2 +-
2496 drivers/usb/wusbcore/wa-hc.h | 4 +-
2497 drivers/usb/wusbcore/wa-xfer.c | 2 +-
2498 drivers/vfio/pci/vfio_pci.c | 2 +-
2499 drivers/vhost/vringh.c | 20 +-
2500 drivers/video/backlight/kb3886_bl.c | 2 +-
2501 drivers/video/console/dummycon.c | 96 +-
2502 drivers/video/console/fbcon.c | 2 +-
2503 drivers/video/console/vgacon.c | 23 +-
2504 drivers/video/fbdev/aty/aty128fb.c | 2 +-
2505 drivers/video/fbdev/aty/atyfb_base.c | 8 +-
2506 drivers/video/fbdev/aty/mach64_ct.c | 5 +-
2507 drivers/video/fbdev/aty/mach64_cursor.c | 5 +-
2508 drivers/video/fbdev/aty/mach64_gx.c | 17 +-
2509 drivers/video/fbdev/core/fb_defio.c | 8 +-
2510 drivers/video/fbdev/core/fbmem.c | 12 +-
2511 drivers/video/fbdev/hyperv_fb.c | 4 +-
2512 drivers/video/fbdev/i810/i810_accel.c | 1 +
2513 drivers/video/fbdev/matrox/matroxfb_base.c | 2 +-
2514 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c | 16 +-
2515 drivers/video/fbdev/nvidia/nvidia.c | 27 +-
2516 drivers/video/fbdev/omap2/omapfb/dss/display.c | 8 +-
2517 drivers/video/fbdev/s1d13xxxfb.c | 6 +-
2518 drivers/video/fbdev/sis/sis_main.h | 2 +-
2519 drivers/video/fbdev/smscufx.c | 4 +-
2520 drivers/video/fbdev/udlfb.c | 36 +-
2521 drivers/video/fbdev/uvesafb.c | 52 +-
2522 drivers/video/fbdev/vesafb.c | 58 +-
2523 drivers/video/fbdev/via/via_clock.h | 2 +-
2524 drivers/xen/events/events_base.c | 6 +-
2525 drivers/xen/xen-pciback/pci_stub.c | 2 +-
2526 fs/9p/vfs_addr.c | 2 +-
2527 fs/9p/vfs_inode_dotl.c | 4 +-
2528 fs/Kconfig.binfmt | 2 +-
2529 fs/afs/file.c | 8 +-
2530 fs/afs/inode.c | 4 +-
2531 fs/afs/internal.h | 4 +-
2532 fs/aio.c | 2 +-
2533 fs/autofs4/waitq.c | 2 +-
2534 fs/befs/endian.h | 6 +-
2535 fs/binfmt_aout.c | 23 +-
2536 fs/binfmt_elf.c | 670 +-
2537 fs/binfmt_elf_fdpic.c | 4 +-
2538 fs/block_dev.c | 2 +-
2539 fs/btrfs/ctree.c | 11 +-
2540 fs/btrfs/ctree.h | 4 +-
2541 fs/btrfs/delayed-inode.c | 6 +-
2542 fs/btrfs/delayed-inode.h | 4 +-
2543 fs/btrfs/delayed-ref.c | 4 +-
2544 fs/btrfs/disk-io.c | 4 +-
2545 fs/btrfs/extent_map.c | 8 +-
2546 fs/btrfs/file.c | 4 +-
2547 fs/btrfs/free-space-cache.h | 1 +
2548 fs/btrfs/raid56.c | 30 +-
2549 fs/btrfs/super.c | 2 +-
2550 fs/btrfs/sysfs.c | 2 +-
2551 fs/btrfs/tests/btrfs-tests.c | 2 +-
2552 fs/btrfs/tests/free-space-tests.c | 2 +-
2553 fs/btrfs/transaction.c | 2 +-
2554 fs/btrfs/tree-log.c | 8 +-
2555 fs/btrfs/tree-log.h | 2 +-
2556 fs/btrfs/volumes.c | 14 +-
2557 fs/btrfs/volumes.h | 22 +-
2558 fs/buffer.c | 2 +-
2559 fs/cachefiles/bind.c | 6 +-
2560 fs/cachefiles/daemon.c | 12 +-
2561 fs/cachefiles/internal.h | 16 +-
2562 fs/cachefiles/namei.c | 6 +-
2563 fs/cachefiles/proc.c | 12 +-
2564 fs/ceph/dir.c | 12 +-
2565 fs/ceph/super.c | 4 +-
2566 fs/cifs/cifs_debug.c | 12 +-
2567 fs/cifs/cifsfs.c | 8 +-
2568 fs/cifs/cifsglob.h | 54 +-
2569 fs/cifs/file.c | 14 +-
2570 fs/cifs/misc.c | 4 +-
2571 fs/cifs/smb1ops.c | 80 +-
2572 fs/cifs/smb2ops.c | 84 +-
2573 fs/cifs/smb2pdu.c | 3 +-
2574 fs/coda/cache.c | 10 +-
2575 fs/coda/dir.c | 5 +-
2576 fs/compat.c | 9 +-
2577 fs/compat_binfmt_elf.c | 2 +
2578 fs/compat_ioctl.c | 12 +-
2579 fs/configfs/dir.c | 10 +-
2580 fs/coredump.c | 18 +-
2581 fs/dcache.c | 64 +-
2582 fs/ecryptfs/inode.c | 2 +-
2583 fs/ecryptfs/miscdev.c | 2 +-
2584 fs/exec.c | 370 +-
2585 fs/exofs/inode.c | 7 +-
2586 fs/ext2/xattr.c | 5 +-
2587 fs/ext4/ext4.h | 20 +-
2588 fs/ext4/mballoc.c | 44 +-
2589 fs/ext4/resize.c | 16 +-
2590 fs/ext4/super.c | 2 +-
2591 fs/ext4/sysfs.c | 2 +-
2592 fs/ext4/xattr.c | 5 +-
2593 fs/fhandle.c | 5 +-
2594 fs/file.c | 18 +-
2595 fs/freevxfs/vxfs_inode.c | 8 +-
2596 fs/freevxfs/vxfs_inode.h | 4 +-
2597 fs/fs-writeback.c | 11 +-
2598 fs/fs_struct.c | 8 +-
2599 fs/fscache/cookie.c | 40 +-
2600 fs/fscache/internal.h | 202 +-
2601 fs/fscache/object.c | 26 +-
2602 fs/fscache/operation.c | 38 +-
2603 fs/fscache/page.c | 110 +-
2604 fs/fscache/stats.c | 348 +-
2605 fs/fuse/cuse.c | 10 +-
2606 fs/fuse/dev.c | 4 +-
2607 fs/fuse/file.c | 4 +-
2608 fs/fuse/inode.c | 4 +-
2609 fs/gfs2/aops.c | 2 +-
2610 fs/gfs2/file.c | 2 +-
2611 fs/gfs2/glock.c | 22 +-
2612 fs/gfs2/glops.c | 4 +-
2613 fs/gfs2/quota.c | 6 +-
2614 fs/hugetlbfs/inode.c | 13 +-
2615 fs/inode.c | 4 +-
2616 fs/jbd2/commit.c | 2 +-
2617 fs/jbd2/transaction.c | 4 +-
2618 fs/jffs2/erase.c | 3 +-
2619 fs/jffs2/file.c | 5 +-
2620 fs/jffs2/fs.c | 2 +-
2621 fs/jffs2/os-linux.h | 2 +-
2622 fs/jffs2/wbuf.c | 3 +-
2623 fs/jfs/super.c | 2 +-
2624 fs/kernfs/dir.c | 2 +-
2625 fs/kernfs/file.c | 20 +-
2626 fs/libfs.c | 10 +-
2627 fs/lockd/clnt4xdr.c | 46 +-
2628 fs/lockd/clntproc.c | 4 +-
2629 fs/lockd/clntxdr.c | 44 +-
2630 fs/lockd/mon.c | 24 +-
2631 fs/lockd/svc.c | 2 +-
2632 fs/lockd/svc4proc.c | 69 +-
2633 fs/lockd/svcproc.c | 75 +-
2634 fs/lockd/xdr.c | 44 +-
2635 fs/lockd/xdr4.c | 41 +-
2636 fs/logfs/dev_bdev.c | 13 +-
2637 fs/logfs/dev_mtd.c | 13 +-
2638 fs/logfs/dir.c | 4 +-
2639 fs/logfs/logfs.h | 5 +-
2640 fs/logfs/readwrite.c | 2 +-
2641 fs/logfs/segment.c | 2 +-
2642 fs/logfs/super.c | 39 -
2643 fs/namei.c | 14 +-
2644 fs/namespace.c | 15 +-
2645 fs/nfs/callback.h | 18 +-
2646 fs/nfs/callback_proc.c | 26 +-
2647 fs/nfs/callback_xdr.c | 73 +-
2648 fs/nfs/dir.c | 5 +-
2649 fs/nfs/inode.c | 6 +-
2650 fs/nfs/internal.h | 5 +-
2651 fs/nfs/mount_clnt.c | 26 +-
2652 fs/nfs/nfs2xdr.c | 101 +-
2653 fs/nfs/nfs3xdr.c | 201 +-
2654 fs/nfs/nfs42xdr.c | 60 +-
2655 fs/nfs/nfs4xdr.c | 507 +-
2656 fs/nfs/read.c | 2 +-
2657 fs/nfs/symlink.c | 6 +-
2658 fs/nfsd/current_stateid.h | 24 +-
2659 fs/nfsd/nfs2acl.c | 85 +-
2660 fs/nfsd/nfs3acl.c | 44 +-
2661 fs/nfsd/nfs3proc.c | 271 +-
2662 fs/nfsd/nfs3xdr.c | 171 +-
2663 fs/nfsd/nfs4callback.c | 31 +-
2664 fs/nfsd/nfs4proc.c | 320 +-
2665 fs/nfsd/nfs4state.c | 111 +-
2666 fs/nfsd/nfs4xdr.c | 564 +-
2667 fs/nfsd/nfscache.c | 11 +-
2668 fs/nfsd/nfsproc.c | 193 +-
2669 fs/nfsd/nfsxdr.c | 96 +-
2670 fs/nfsd/vfs.c | 6 +-
2671 fs/nfsd/xdr.h | 50 +-
2672 fs/nfsd/xdr3.h | 100 +-
2673 fs/nfsd/xdr4.h | 50 +-
2674 fs/nls/nls_base.c | 26 +-
2675 fs/nls/nls_cp932.c | 2 +-
2676 fs/nls/nls_cp936.c | 2 +-
2677 fs/nls/nls_cp949.c | 2 +-
2678 fs/nls/nls_cp950.c | 2 +-
2679 fs/nls/nls_euc-jp.c | 8 +-
2680 fs/nls/nls_koi8-ru.c | 8 +-
2681 fs/notify/fanotify/fanotify_user.c | 4 +-
2682 fs/notify/notification.c | 4 +-
2683 fs/ntfs/dir.c | 4 +-
2684 fs/ntfs/inode.c | 19 +-
2685 fs/ntfs/inode.h | 4 +-
2686 fs/ntfs/mft.c | 4 +-
2687 fs/ntfs/super.c | 8 +-
2688 fs/ocfs2/dlm/dlmcommon.h | 4 +-
2689 fs/ocfs2/dlm/dlmdebug.c | 10 +-
2690 fs/ocfs2/dlm/dlmdomain.c | 4 +-
2691 fs/ocfs2/dlm/dlmmaster.c | 4 +-
2692 fs/ocfs2/dlmfs/dlmfs.c | 4 +-
2693 fs/ocfs2/filecheck.c | 2 +-
2694 fs/ocfs2/localalloc.c | 2 +-
2695 fs/ocfs2/ocfs2.h | 10 +-
2696 fs/ocfs2/suballoc.c | 12 +-
2697 fs/ocfs2/super.c | 20 +-
2698 fs/overlayfs/copy_up.c | 2 +-
2699 fs/pipe.c | 72 +-
2700 fs/posix_acl.c | 4 +-
2701 fs/proc/array.c | 20 +
2702 fs/proc/base.c | 7 +-
2703 fs/proc/kcore.c | 36 +-
2704 fs/proc/meminfo.c | 2 +-
2705 fs/proc/nommu.c | 2 +-
2706 fs/proc/proc_net.c | 2 +-
2707 fs/proc/proc_sysctl.c | 26 +-
2708 fs/proc/task_mmu.c | 39 +-
2709 fs/proc/task_nommu.c | 6 +-
2710 fs/proc/vmcore.c | 16 +-
2711 fs/qnx6/qnx6.h | 4 +-
2712 fs/quota/netlink.c | 4 +-
2713 fs/read_write.c | 34 +-
2714 fs/readdir.c | 3 +-
2715 fs/reiserfs/do_balan.c | 2 +-
2716 fs/reiserfs/procfs.c | 2 +-
2717 fs/reiserfs/reiserfs.h | 4 +-
2718 fs/select.c | 2 +-
2719 fs/seq_file.c | 4 +-
2720 fs/splice.c | 43 +-
2721 fs/squashfs/xattr.c | 10 +-
2722 fs/super.c | 3 +-
2723 fs/sysv/sysv.h | 2 +-
2724 fs/tracefs/inode.c | 8 +-
2725 fs/ubifs/find.c | 34 +-
2726 fs/ubifs/lprops.c | 5 +-
2727 fs/udf/misc.c | 2 +-
2728 fs/ufs/swab.h | 4 +-
2729 fs/userfaultfd.c | 2 +-
2730 fs/xattr.c | 21 +
2731 fs/xfs/libxfs/xfs_bmap.c | 2 +-
2732 fs/xfs/libxfs/xfs_da_btree.c | 4 +-
2733 fs/xfs/xfs_dir2_readdir.c | 7 +-
2734 fs/xfs/xfs_ioctl.c | 2 +-
2735 fs/xfs/xfs_linux.h | 4 +-
2736 include/acpi/ghes.h | 2 +-
2737 include/asm-generic/4level-fixup.h | 2 +
2738 include/asm-generic/atomic-long.h | 186 +-
2739 include/asm-generic/atomic64.h | 12 +
2740 include/asm-generic/bitops/__fls.h | 2 +-
2741 include/asm-generic/bitops/fls.h | 2 +-
2742 include/asm-generic/bitops/fls64.h | 4 +-
2743 include/asm-generic/bug.h | 6 +-
2744 include/asm-generic/cache.h | 4 +-
2745 include/asm-generic/emergency-restart.h | 2 +-
2746 include/asm-generic/kmap_types.h | 4 +-
2747 include/asm-generic/local.h | 13 +
2748 include/asm-generic/pgtable-nopmd.h | 18 +-
2749 include/asm-generic/pgtable-nopud.h | 15 +-
2750 include/asm-generic/pgtable.h | 16 +
2751 include/asm-generic/sections.h | 1 +
2752 include/asm-generic/uaccess.h | 16 +
2753 include/asm-generic/vmlinux.lds.h | 15 +-
2754 include/crypto/algapi.h | 2 +-
2755 include/crypto/cast6.h | 4 +-
2756 include/crypto/serpent.h | 4 +-
2757 include/crypto/xts.h | 2 +-
2758 include/drm/drmP.h | 19 +-
2759 include/drm/drm_mm.h | 2 +-
2760 include/drm/drm_modeset_helper_vtables.h | 2 +-
2761 include/drm/i915_pciids.h | 2 +-
2762 include/drm/intel-gtt.h | 4 +-
2763 include/drm/ttm/ttm_memory.h | 2 +-
2764 include/drm/ttm/ttm_page_alloc.h | 1 +
2765 include/keys/asymmetric-subtype.h | 2 +-
2766 include/keys/encrypted-type.h | 2 +-
2767 include/keys/rxrpc-type.h | 2 +-
2768 include/keys/user-type.h | 2 +-
2769 include/linux/atmdev.h | 4 +-
2770 include/linux/atomic.h | 12 +-
2771 include/linux/audit.h | 2 +-
2772 include/linux/average.h | 2 +-
2773 include/linux/binfmts.h | 3 +-
2774 include/linux/bitmap.h | 2 +-
2775 include/linux/bitops.h | 8 +-
2776 include/linux/blk-cgroup.h | 24 +-
2777 include/linux/blkdev.h | 2 +-
2778 include/linux/blktrace_api.h | 2 +-
2779 include/linux/cache.h | 9 +
2780 include/linux/cdrom.h | 1 -
2781 include/linux/cgroup-defs.h | 2 +-
2782 include/linux/cleancache.h | 2 +-
2783 include/linux/clk-provider.h | 1 +
2784 include/linux/compat.h | 15 +-
2785 include/linux/compiler-gcc.h | 33 +-
2786 include/linux/compiler.h | 197 +-
2787 include/linux/configfs.h | 2 +-
2788 include/linux/cpufreq.h | 7 +-
2789 include/linux/cpuidle.h | 5 +-
2790 include/linux/cpumask.h | 14 +-
2791 include/linux/crypto.h | 4 +-
2792 include/linux/ctype.h | 2 +-
2793 include/linux/dcache.h | 4 +-
2794 include/linux/decompress/mm.h | 2 +-
2795 include/linux/devfreq.h | 2 +-
2796 include/linux/device.h | 7 +-
2797 include/linux/dma-mapping.h | 2 +-
2798 include/linux/efi.h | 1 +
2799 include/linux/elf.h | 2 +
2800 include/linux/err.h | 4 +-
2801 include/linux/extcon.h | 2 +-
2802 include/linux/fb.h | 3 +-
2803 include/linux/fdtable.h | 2 +-
2804 include/linux/firewire.h | 2 +-
2805 include/linux/fs.h | 5 +-
2806 include/linux/fs_struct.h | 2 +-
2807 include/linux/fscache-cache.h | 2 +-
2808 include/linux/fscache.h | 2 +-
2809 include/linux/fsnotify.h | 2 +-
2810 include/linux/genhd.h | 4 +-
2811 include/linux/genl_magic_func.h | 2 +-
2812 include/linux/genl_magic_struct.h | 4 +-
2813 include/linux/gfp.h | 14 +-
2814 include/linux/highmem.h | 12 +
2815 include/linux/hugetlb.h | 2 +-
2816 include/linux/hugetlb_cgroup.h | 11 +
2817 include/linux/hwmon-sysfs.h | 6 +-
2818 include/linux/i2c.h | 1 +
2819 include/linux/if_pppox.h | 2 +-
2820 include/linux/init.h | 10 +-
2821 include/linux/init_task.h | 7 +
2822 include/linux/interrupt.h | 6 +-
2823 include/linux/iommu.h | 2 +-
2824 include/linux/ioport.h | 2 +-
2825 include/linux/ipc.h | 2 +-
2826 include/linux/irq.h | 5 +-
2827 include/linux/irqdesc.h | 2 +-
2828 include/linux/irqdomain.h | 3 +
2829 include/linux/jbd2.h | 2 +-
2830 include/linux/jiffies.h | 16 +-
2831 include/linux/kallsyms.h | 18 +-
2832 include/linux/key-type.h | 2 +-
2833 include/linux/kgdb.h | 6 +-
2834 include/linux/kmemleak.h | 4 +-
2835 include/linux/kobject.h | 3 +-
2836 include/linux/kobject_ns.h | 2 +-
2837 include/linux/kref.h | 2 +-
2838 include/linux/libata.h | 2 +-
2839 include/linux/linkage.h | 22 +-
2840 include/linux/list.h | 15 +
2841 include/linux/lockd/xdr.h | 34 +-
2842 include/linux/lockd/xdr4.h | 34 +-
2843 include/linux/lockref.h | 26 +-
2844 include/linux/math64.h | 10 +-
2845 include/linux/memcontrol.h | 2 +-
2846 include/linux/memory.h | 2 +-
2847 include/linux/mempolicy.h | 7 +
2848 include/linux/mm.h | 98 +-
2849 include/linux/mm_types.h | 20 +
2850 include/linux/mmiotrace.h | 4 +-
2851 include/linux/mmzone.h | 2 +-
2852 include/linux/mod_devicetable.h | 4 +-
2853 include/linux/module.h | 58 +-
2854 include/linux/moduleloader.h | 16 +
2855 include/linux/moduleparam.h | 12 +-
2856 include/linux/net.h | 2 +-
2857 include/linux/netdevice.h | 11 +-
2858 include/linux/netfilter.h | 2 +-
2859 include/linux/netfilter/ipset/ip_set_comment.h | 3 +-
2860 include/linux/netfilter/nfnetlink.h | 2 +-
2861 include/linux/netlink.h | 12 +-
2862 include/linux/nls.h | 4 +-
2863 include/linux/notifier.h | 3 +-
2864 include/linux/oprofile.h | 4 +-
2865 include/linux/padata.h | 2 +-
2866 include/linux/pagemap.h | 4 +-
2867 include/linux/pci_hotplug.h | 3 +-
2868 include/linux/percpu.h | 2 +-
2869 include/linux/perf_event.h | 12 +-
2870 include/linux/pid.h | 4 +-
2871 include/linux/pipe_fs_i.h | 8 +-
2872 include/linux/pm.h | 1 +
2873 include/linux/pm_domain.h | 2 +-
2874 include/linux/pm_runtime.h | 2 +-
2875 include/linux/pnp.h | 2 +-
2876 include/linux/poison.h | 4 +-
2877 include/linux/power/smartreflex.h | 2 +-
2878 include/linux/ppp-comp.h | 2 +-
2879 include/linux/preempt.h | 21 +
2880 include/linux/printk.h | 2 +-
2881 include/linux/proc_ns.h | 2 +-
2882 include/linux/psci.h | 2 +-
2883 include/linux/quota.h | 2 +-
2884 include/linux/random.h | 19 +-
2885 include/linux/rculist.h | 16 +
2886 include/linux/rcupdate.h | 8 +
2887 include/linux/reboot.h | 14 +-
2888 include/linux/regset.h | 3 +-
2889 include/linux/relay.h | 2 +-
2890 include/linux/rio.h | 2 +-
2891 include/linux/rmap.h | 4 +-
2892 include/linux/sched.h | 76 +-
2893 include/linux/scif.h | 2 +-
2894 include/linux/semaphore.h | 2 +-
2895 include/linux/seq_buf.h | 4 +-
2896 include/linux/seq_file.h | 1 +
2897 include/linux/seqlock.h | 10 +
2898 include/linux/signal.h | 2 +-
2899 include/linux/skbuff.h | 12 +-
2900 include/linux/slab.h | 47 +-
2901 include/linux/slab_def.h | 14 +-
2902 include/linux/slub_def.h | 2 +-
2903 include/linux/smp.h | 2 +
2904 include/linux/sock_diag.h | 2 +-
2905 include/linux/sonet.h | 2 +-
2906 include/linux/spinlock.h | 17 +-
2907 include/linux/srcu.h | 5 +-
2908 include/linux/string.h | 70 +-
2909 include/linux/sunrpc/addr.h | 8 +-
2910 include/linux/sunrpc/clnt.h | 2 +-
2911 include/linux/sunrpc/svc.h | 2 +-
2912 include/linux/sunrpc/svc_rdma.h | 18 +-
2913 include/linux/sunrpc/svcauth.h | 2 +-
2914 include/linux/swapops.h | 10 +-
2915 include/linux/swiotlb.h | 3 +-
2916 include/linux/syscalls.h | 36 +-
2917 include/linux/syscore_ops.h | 2 +-
2918 include/linux/sysctl.h | 3 +-
2919 include/linux/sysfs.h | 11 +-
2920 include/linux/sysrq.h | 3 +-
2921 include/linux/tcp.h | 14 +-
2922 include/linux/thread_info.h | 7 +
2923 include/linux/tty.h | 4 +-
2924 include/linux/tty_driver.h | 2 +-
2925 include/linux/tty_ldisc.h | 2 +-
2926 include/linux/types.h | 18 +
2927 include/linux/uaccess.h | 2 +-
2928 include/linux/uio_driver.h | 2 +-
2929 include/linux/unaligned/access_ok.h | 24 +-
2930 include/linux/usb.h | 12 +-
2931 include/linux/usb/hcd.h | 1 +
2932 include/linux/usb/renesas_usbhs.h | 2 +-
2933 include/linux/vermagic.h | 21 +-
2934 include/linux/vga_switcheroo.h | 8 +-
2935 include/linux/vmalloc.h | 7 +-
2936 include/linux/vmstat.h | 24 +-
2937 include/linux/writeback.h | 3 +-
2938 include/linux/xattr.h | 5 +-
2939 include/linux/zlib.h | 3 +-
2940 include/media/v4l2-dev.h | 2 +-
2941 include/media/v4l2-device.h | 2 +-
2942 include/net/9p/transport.h | 2 +-
2943 include/net/bluetooth/l2cap.h | 2 +-
2944 include/net/bonding.h | 2 +-
2945 include/net/caif/cfctrl.h | 6 +-
2946 include/net/cfg80211-wext.h | 20 +-
2947 include/net/cfg802154.h | 2 +-
2948 include/net/fib_rules.h | 3 +-
2949 include/net/flow.h | 2 +-
2950 include/net/genetlink.h | 2 +-
2951 include/net/gro_cells.h | 2 +-
2952 include/net/inet_connection_sock.h | 2 +-
2953 include/net/inet_sock.h | 2 +-
2954 include/net/inetpeer.h | 2 +-
2955 include/net/ip_fib.h | 2 +-
2956 include/net/ip_vs.h | 8 +-
2957 include/net/ipv6.h | 2 +-
2958 include/net/irda/ircomm_tty.h | 1 +
2959 include/net/irda/irias_object.h | 2 +-
2960 include/net/irda/irlmp.h | 1 +
2961 include/net/irda/irlmp_event.h | 6 +-
2962 include/net/irda/timer.h | 6 +-
2963 include/net/iucv/af_iucv.h | 2 +-
2964 include/net/llc_c_ac.h | 2 +-
2965 include/net/llc_c_ev.h | 4 +-
2966 include/net/llc_c_st.h | 2 +-
2967 include/net/llc_s_ac.h | 2 +-
2968 include/net/llc_s_st.h | 2 +-
2969 include/net/mac80211.h | 6 +-
2970 include/net/neighbour.h | 4 +-
2971 include/net/net_namespace.h | 18 +-
2972 include/net/netfilter/nf_conntrack.h | 2 +-
2973 include/net/netlink.h | 2 +-
2974 include/net/netns/conntrack.h | 6 +-
2975 include/net/netns/ipv4.h | 4 +-
2976 include/net/netns/ipv6.h | 4 +-
2977 include/net/netns/xfrm.h | 2 +-
2978 include/net/ping.h | 2 +-
2979 include/net/protocol.h | 4 +-
2980 include/net/rtnetlink.h | 2 +-
2981 include/net/sctp/checksum.h | 4 +-
2982 include/net/sctp/sm.h | 4 +-
2983 include/net/sctp/structs.h | 2 +-
2984 include/net/snmp.h | 10 +-
2985 include/net/sock.h | 12 +-
2986 include/net/tcp.h | 8 +-
2987 include/net/xfrm.h | 15 +-
2988 include/rdma/ib_cm.h | 8 +-
2989 include/scsi/libfc.h | 3 +-
2990 include/scsi/scsi_device.h | 6 +-
2991 include/scsi/scsi_driver.h | 2 +-
2992 include/scsi/scsi_transport_fc.h | 3 +-
2993 include/scsi/sg.h | 2 +-
2994 include/sound/compress_driver.h | 2 +-
2995 include/sound/control.h | 4 +-
2996 include/sound/pcm.h | 2 +-
2997 include/sound/rawmidi.h | 3 +-
2998 include/sound/seq_kernel.h | 2 +-
2999 include/sound/soc.h | 4 +-
3000 include/trace/events/irq.h | 4 +-
3001 include/trace/events/mmflags.h | 7 +
3002 include/uapi/linux/a.out.h | 8 +
3003 include/uapi/linux/bcache.h | 5 +-
3004 include/uapi/linux/byteorder/little_endian.h | 28 +-
3005 include/uapi/linux/connector.h | 2 +-
3006 include/uapi/linux/elf.h | 28 +
3007 include/uapi/linux/screen_info.h | 2 +-
3008 include/uapi/linux/swab.h | 6 +-
3009 include/uapi/linux/xattr.h | 5 +
3010 include/video/udlfb.h | 8 +-
3011 include/video/uvesafb.h | 1 +
3012 init/Kconfig | 2 +-
3013 init/do_mounts.c | 16 +-
3014 init/do_mounts.h | 8 +-
3015 init/do_mounts_initrd.c | 30 +-
3016 init/do_mounts_md.c | 6 +-
3017 init/init_task.c | 4 +
3018 init/initramfs.c | 38 +-
3019 init/main.c | 30 +-
3020 ipc/compat.c | 4 +-
3021 ipc/ipc_sysctl.c | 14 +-
3022 ipc/mq_sysctl.c | 4 +-
3023 ipc/sem.c | 4 +-
3024 ipc/shm.c | 8 +-
3025 kernel/audit.c | 10 +-
3026 kernel/auditsc.c | 4 +-
3027 kernel/bpf/core.c | 28 +-
3028 kernel/capability.c | 3 +
3029 kernel/cgroup.c | 29 +-
3030 kernel/compat.c | 38 +-
3031 kernel/debug/debug_core.c | 16 +-
3032 kernel/debug/kdb/kdb_main.c | 4 +-
3033 kernel/events/core.c | 36 +-
3034 kernel/events/internal.h | 10 +-
3035 kernel/events/uprobes.c | 2 +-
3036 kernel/exit.c | 27 +-
3037 kernel/fork.c | 175 +-
3038 kernel/futex.c | 11 +-
3039 kernel/futex_compat.c | 2 +-
3040 kernel/irq/manage.c | 2 +-
3041 kernel/irq/msi.c | 19 +-
3042 kernel/irq/spurious.c | 2 +-
3043 kernel/jump_label.c | 5 +
3044 kernel/kallsyms.c | 40 +-
3045 kernel/kexec.c | 3 +-
3046 kernel/kmod.c | 8 +-
3047 kernel/kprobes.c | 4 +-
3048 kernel/ksysfs.c | 2 +-
3049 kernel/locking/lockdep.c | 7 +-
3050 kernel/locking/mutex-debug.c | 12 +-
3051 kernel/locking/mutex-debug.h | 4 +-
3052 kernel/locking/mutex.c | 6 +-
3053 kernel/module.c | 405 +-
3054 kernel/notifier.c | 17 +-
3055 kernel/padata.c | 4 +-
3056 kernel/panic.c | 11 +-
3057 kernel/pid.c | 8 +-
3058 kernel/pid_namespace.c | 2 +-
3059 kernel/power/process.c | 12 +-
3060 kernel/profile.c | 14 +-
3061 kernel/ptrace.c | 8 +-
3062 kernel/rcu/rcutorture.c | 60 +-
3063 kernel/rcu/tiny.c | 4 +-
3064 kernel/rcu/tree.c | 42 +-
3065 kernel/rcu/tree.h | 16 +-
3066 kernel/rcu/tree_plugin.h | 18 +-
3067 kernel/rcu/tree_trace.c | 14 +-
3068 kernel/resource.c | 4 +-
3069 kernel/sched/auto_group.c | 4 +-
3070 kernel/sched/core.c | 8 +-
3071 kernel/sched/deadline.c | 4 +-
3072 kernel/sched/debug.c | 43 +-
3073 kernel/sched/fair.c | 2 +-
3074 kernel/sched/rt.c | 4 +-
3075 kernel/sched/sched.h | 13 +-
3076 kernel/signal.c | 28 +-
3077 kernel/smp.c | 2 +-
3078 kernel/smpboot.c | 7 +-
3079 kernel/softirq.c | 12 +-
3080 kernel/stop_machine.c | 2 +-
3081 kernel/sys.c | 10 +-
3082 kernel/sys_ni.c | 4 +-
3083 kernel/sysctl.c | 34 +-
3084 kernel/time/alarmtimer.c | 4 +-
3085 kernel/time/posix-clock.c | 8 +-
3086 kernel/time/posix-cpu-timers.c | 4 +-
3087 kernel/time/posix-timers.c | 36 +-
3088 kernel/time/timer.c | 2 +-
3089 kernel/time/timer_stats.c | 10 +-
3090 kernel/trace/blktrace.c | 6 +-
3091 kernel/trace/ftrace.c | 33 +-
3092 kernel/trace/ring_buffer.c | 96 +-
3093 kernel/trace/trace.c | 2 +-
3094 kernel/trace/trace.h | 2 +-
3095 kernel/trace/trace_clock.c | 4 +-
3096 kernel/trace/trace_events.c | 1 -
3097 kernel/trace/trace_functions_graph.c | 4 +-
3098 kernel/trace/trace_mmiotrace.c | 8 +-
3099 kernel/trace/trace_output.c | 10 +-
3100 kernel/trace/trace_seq.c | 2 +-
3101 kernel/trace/trace_stack.c | 2 +-
3102 kernel/user.c | 2 +-
3103 kernel/user_namespace.c | 2 +-
3104 kernel/utsname_sysctl.c | 2 +-
3105 kernel/watchdog.c | 2 +-
3106 kernel/workqueue.c | 8 +-
3107 lib/Kconfig.debug | 8 +-
3108 lib/Makefile | 2 +-
3109 lib/bitmap.c | 8 +-
3110 lib/bug.c | 2 +
3111 lib/debugobjects.c | 2 +-
3112 lib/decompress_bunzip2.c | 3 +-
3113 lib/decompress_unlzma.c | 4 +-
3114 lib/div64.c | 4 +-
3115 lib/dma-debug.c | 4 +-
3116 lib/extable.c | 11 +-
3117 lib/inflate.c | 2 +-
3118 lib/ioremap.c | 4 +-
3119 lib/irq_poll.c | 2 +-
3120 lib/kobject.c | 4 +-
3121 lib/list_debug.c | 126 +-
3122 lib/lockref.c | 44 +-
3123 lib/percpu-refcount.c | 2 +-
3124 lib/radix-tree.c | 2 +-
3125 lib/random32.c | 2 +-
3126 lib/rhashtable.c | 4 +-
3127 lib/seq_buf.c | 4 +-
3128 lib/show_mem.c | 2 +-
3129 lib/strncpy_from_user.c | 2 +-
3130 lib/strnlen_user.c | 2 +-
3131 lib/swiotlb.c | 2 +-
3132 lib/usercopy.c | 6 +
3133 lib/vsprintf.c | 12 +-
3134 mm/Kconfig | 6 +-
3135 mm/backing-dev.c | 4 +-
3136 mm/fadvise.c | 2 +-
3137 mm/filemap.c | 8 +-
3138 mm/gup.c | 13 +-
3139 mm/highmem.c | 6 +-
3140 mm/hugetlb.c | 125 +-
3141 mm/hugetlb_cgroup.c | 60 +-
3142 mm/internal.h | 3 +-
3143 mm/maccess.c | 12 +-
3144 mm/madvise.c | 37 +
3145 mm/memcontrol.c | 6 +-
3146 mm/memory-failure.c | 6 +-
3147 mm/memory.c | 424 +-
3148 mm/mempolicy.c | 25 +
3149 mm/mlock.c | 18 +-
3150 mm/mm_init.c | 2 +-
3151 mm/mmap.c | 572 +-
3152 mm/mprotect.c | 137 +-
3153 mm/mremap.c | 39 +-
3154 mm/nommu.c | 21 +-
3155 mm/page-writeback.c | 2 +-
3156 mm/page_alloc.c | 61 +-
3157 mm/percpu.c | 2 +-
3158 mm/process_vm_access.c | 14 +-
3159 mm/readahead.c | 2 +-
3160 mm/rmap.c | 43 +-
3161 mm/shmem.c | 35 +-
3162 mm/slab.c | 113 +-
3163 mm/slab.h | 37 +-
3164 mm/slab_common.c | 79 +-
3165 mm/slob.c | 220 +-
3166 mm/slub.c | 111 +-
3167 mm/sparse-vmemmap.c | 4 +-
3168 mm/sparse.c | 2 +-
3169 mm/swap.c | 7 +
3170 mm/swapfile.c | 12 +-
3171 mm/util.c | 7 +
3172 mm/vmalloc.c | 116 +-
3173 mm/vmstat.c | 12 +-
3174 net/8021q/vlan.c | 5 +-
3175 net/8021q/vlan_netlink.c | 2 +-
3176 net/9p/mod.c | 4 +-
3177 net/9p/trans_fd.c | 2 +-
3178 net/atm/atm_misc.c | 8 +-
3179 net/atm/lec.h | 2 +-
3180 net/atm/proc.c | 6 +-
3181 net/atm/resources.c | 4 +-
3182 net/ax25/sysctl_net_ax25.c | 2 +-
3183 net/batman-adv/bat_iv_ogm.c | 8 +-
3184 net/batman-adv/fragmentation.c | 2 +-
3185 net/batman-adv/routing.c | 4 +-
3186 net/batman-adv/soft-interface.c | 12 +-
3187 net/batman-adv/sysfs.c | 48 +-
3188 net/batman-adv/sysfs.h | 4 +-
3189 net/batman-adv/translation-table.c | 14 +-
3190 net/batman-adv/types.h | 8 +-
3191 net/bluetooth/hci_sock.c | 2 +-
3192 net/bluetooth/l2cap_core.c | 6 +-
3193 net/bluetooth/l2cap_sock.c | 12 +-
3194 net/bluetooth/rfcomm/sock.c | 4 +-
3195 net/bluetooth/rfcomm/tty.c | 4 +-
3196 net/bridge/br_netfilter_hooks.c | 4 +-
3197 net/bridge/br_netlink.c | 2 +-
3198 net/bridge/netfilter/ebtables.c | 6 +-
3199 net/caif/cfctrl.c | 11 +-
3200 net/caif/chnl_net.c | 4 +-
3201 net/can/af_can.c | 2 +-
3202 net/can/gw.c | 6 +-
3203 net/ceph/ceph_common.c | 2 +-
3204 net/ceph/messenger.c | 4 +-
3205 net/compat.c | 26 +-
3206 net/core/datagram.c | 2 +-
3207 net/core/dev.c | 24 +-
3208 net/core/filter.c | 2 +-
3209 net/core/flow.c | 8 +-
3210 net/core/neighbour.c | 18 +-
3211 net/core/net-procfs.c | 4 +-
3212 net/core/net-sysfs.c | 2 +-
3213 net/core/net_namespace.c | 10 +-
3214 net/core/netpoll.c | 4 +-
3215 net/core/rtnetlink.c | 17 +-
3216 net/core/scm.c | 12 +-
3217 net/core/skbuff.c | 11 +-
3218 net/core/sock.c | 30 +-
3219 net/core/sock_diag.c | 15 +-
3220 net/core/sysctl_net_core.c | 22 +-
3221 net/decnet/af_decnet.c | 1 +
3222 net/decnet/sysctl_net_decnet.c | 4 +-
3223 net/dsa/dsa.c | 2 +-
3224 net/hsr/hsr_device.c | 2 +-
3225 net/hsr/hsr_netlink.c | 2 +-
3226 net/ieee802154/6lowpan/core.c | 2 +-
3227 net/ieee802154/6lowpan/reassembly.c | 14 +-
3228 net/ieee802154/core.c | 6 +-
3229 net/ipv4/af_inet.c | 6 +-
3230 net/ipv4/arp.c | 2 +-
3231 net/ipv4/devinet.c | 20 +-
3232 net/ipv4/fib_frontend.c | 6 +-
3233 net/ipv4/fib_semantics.c | 2 +-
3234 net/ipv4/icmp.c | 2 +-
3235 net/ipv4/inet_connection_sock.c | 4 +-
3236 net/ipv4/inet_diag.c | 4 +-
3237 net/ipv4/inet_timewait_sock.c | 2 +-
3238 net/ipv4/inetpeer.c | 2 +-
3239 net/ipv4/ip_fragment.c | 17 +-
3240 net/ipv4/ip_gre.c | 6 +-
3241 net/ipv4/ip_sockglue.c | 2 +-
3242 net/ipv4/ip_vti.c | 4 +-
3243 net/ipv4/ipconfig.c | 6 +-
3244 net/ipv4/ipip.c | 4 +-
3245 net/ipv4/netfilter/arp_tables.c | 12 +-
3246 net/ipv4/netfilter/ip_tables.c | 12 +-
3247 net/ipv4/ping.c | 14 +-
3248 net/ipv4/proc.c | 10 +-
3249 net/ipv4/raw.c | 16 +-
3250 net/ipv4/route.c | 40 +-
3251 net/ipv4/sysctl_net_ipv4.c | 24 +-
3252 net/ipv4/tcp_input.c | 6 +-
3253 net/ipv4/tcp_ipv4.c | 2 +-
3254 net/ipv4/tcp_metrics.c | 2 +-
3255 net/ipv4/tcp_probe.c | 2 +-
3256 net/ipv4/udp.c | 10 +-
3257 net/ipv4/xfrm4_mode_transport.c | 2 +-
3258 net/ipv4/xfrm4_policy.c | 19 +-
3259 net/ipv4/xfrm4_state.c | 4 +-
3260 net/ipv6/addrconf.c | 24 +-
3261 net/ipv6/af_inet6.c | 2 +-
3262 net/ipv6/datagram.c | 2 +-
3263 net/ipv6/icmp.c | 2 +-
3264 net/ipv6/inet6_hashtables.c | 2 +-
3265 net/ipv6/ip6_fib.c | 4 +-
3266 net/ipv6/ip6_gre.c | 10 +-
3267 net/ipv6/ip6_tunnel.c | 4 +-
3268 net/ipv6/ip6_vti.c | 4 +-
3269 net/ipv6/ipv6_sockglue.c | 2 +-
3270 net/ipv6/ndisc.c | 2 +-
3271 net/ipv6/netfilter/ip6_tables.c | 12 +-
3272 net/ipv6/netfilter/nf_conntrack_reasm.c | 14 +-
3273 net/ipv6/ping.c | 33 +-
3274 net/ipv6/proc.c | 10 +-
3275 net/ipv6/raw.c | 17 +-
3276 net/ipv6/reassembly.c | 13 +-
3277 net/ipv6/route.c | 2 +-
3278 net/ipv6/sit.c | 4 +-
3279 net/ipv6/sysctl_net_ipv6.c | 2 +-
3280 net/ipv6/udp.c | 6 +-
3281 net/ipv6/xfrm6_mode_transport.c | 2 +-
3282 net/ipv6/xfrm6_policy.c | 17 +-
3283 net/irda/discovery.c | 2 +-
3284 net/irda/ircomm/ircomm_core.c | 13 +-
3285 net/irda/ircomm/ircomm_tty.c | 24 +-
3286 net/irda/ircomm/ircomm_tty_attach.c | 4 +-
3287 net/irda/irda_device.c | 14 +-
3288 net/irda/iriap.c | 14 +-
3289 net/irda/irias_object.c | 10 +-
3290 net/irda/irlan/irlan_client.c | 2 +-
3291 net/irda/irlap.c | 15 +-
3292 net/irda/irlap_event.c | 2 +-
3293 net/irda/irlmp.c | 21 +-
3294 net/irda/irlmp_event.c | 6 +-
3295 net/irda/irnet/irnet.h | 2 +-
3296 net/irda/irnet/irnet_irda.c | 6 +-
3297 net/irda/irttp.c | 8 +-
3298 net/irda/timer.c | 24 +-
3299 net/iucv/af_iucv.c | 4 +-
3300 net/iucv/iucv.c | 2 +-
3301 net/key/af_key.c | 4 +-
3302 net/l2tp/l2tp_eth.c | 40 +-
3303 net/l2tp/l2tp_ip.c | 2 +-
3304 net/l2tp/l2tp_ip6.c | 2 +-
3305 net/mac80211/cfg.c | 12 +-
3306 net/mac80211/debugfs.c | 2 +-
3307 net/mac80211/debugfs_key.c | 6 +-
3308 net/mac80211/ieee80211_i.h | 3 +-
3309 net/mac80211/iface.c | 20 +-
3310 net/mac80211/main.c | 2 +-
3311 net/mac80211/pm.c | 4 +-
3312 net/mac80211/rate.c | 2 +-
3313 net/mac80211/sta_info.c | 2 +-
3314 net/mac80211/tx.c | 2 +-
3315 net/mac80211/util.c | 8 +-
3316 net/mac80211/wpa.c | 12 +-
3317 net/mac802154/iface.c | 6 +-
3318 net/mpls/af_mpls.c | 10 +-
3319 net/netfilter/ipset/ip_set_core.c | 7 +-
3320 net/netfilter/ipvs/ip_vs_conn.c | 6 +-
3321 net/netfilter/ipvs/ip_vs_core.c | 4 +-
3322 net/netfilter/ipvs/ip_vs_ctl.c | 14 +-
3323 net/netfilter/ipvs/ip_vs_lblc.c | 2 +-
3324 net/netfilter/ipvs/ip_vs_lblcr.c | 2 +-
3325 net/netfilter/ipvs/ip_vs_sync.c | 6 +-
3326 net/netfilter/ipvs/ip_vs_xmit.c | 4 +-
3327 net/netfilter/nf_conntrack_acct.c | 2 +-
3328 net/netfilter/nf_conntrack_core.c | 6 +-
3329 net/netfilter/nf_conntrack_ecache.c | 2 +-
3330 net/netfilter/nf_conntrack_helper.c | 2 +-
3331 net/netfilter/nf_conntrack_netlink.c | 22 +-
3332 net/netfilter/nf_conntrack_proto.c | 2 +-
3333 net/netfilter/nf_conntrack_standalone.c | 2 +-
3334 net/netfilter/nf_conntrack_timestamp.c | 2 +-
3335 net/netfilter/nf_log.c | 10 +-
3336 net/netfilter/nf_nat_ftp.c | 2 +-
3337 net/netfilter/nf_nat_irc.c | 2 +-
3338 net/netfilter/nf_sockopt.c | 4 +-
3339 net/netfilter/nf_tables_api.c | 13 +-
3340 net/netfilter/nfnetlink_acct.c | 7 +-
3341 net/netfilter/nfnetlink_cthelper.c | 2 +-
3342 net/netfilter/nfnetlink_cttimeout.c | 2 +-
3343 net/netfilter/nfnetlink_log.c | 4 +-
3344 net/netfilter/nft_compat.c | 9 +-
3345 net/netfilter/xt_IDLETIMER.c | 12 +-
3346 net/netfilter/xt_statistic.c | 8 +-
3347 net/netlink/af_netlink.c | 16 +-
3348 net/netlink/diag.c | 2 +-
3349 net/netlink/genetlink.c | 14 +-
3350 net/openvswitch/vport-geneve.c | 7 +-
3351 net/openvswitch/vport-gre.c | 7 +-
3352 net/openvswitch/vport-internal_dev.c | 4 +-
3353 net/openvswitch/vport-netdev.c | 7 +-
3354 net/openvswitch/vport-vxlan.c | 7 +-
3355 net/packet/af_packet.c | 26 +-
3356 net/packet/diag.c | 2 +-
3357 net/packet/internal.h | 6 +-
3358 net/phonet/pep.c | 6 +-
3359 net/phonet/socket.c | 2 +-
3360 net/phonet/sysctl.c | 2 +-
3361 net/rds/cong.c | 6 +-
3362 net/rds/ib.h | 2 +-
3363 net/rds/ib_cm.c | 2 +-
3364 net/rds/ib_recv.c | 4 +-
3365 net/rds/rds.h | 2 +-
3366 net/rds/tcp.c | 6 +-
3367 net/rds/tcp.h | 6 +-
3368 net/rds/tcp_send.c | 2 +-
3369 net/rxrpc/af_rxrpc.c | 2 +-
3370 net/rxrpc/ar-ack.c | 14 +-
3371 net/rxrpc/ar-call.c | 2 +-
3372 net/rxrpc/ar-connection.c | 2 +-
3373 net/rxrpc/ar-connevent.c | 2 +-
3374 net/rxrpc/ar-input.c | 4 +-
3375 net/rxrpc/ar-internal.h | 8 +-
3376 net/rxrpc/ar-local.c | 2 +-
3377 net/rxrpc/ar-output.c | 4 +-
3378 net/rxrpc/ar-peer.c | 2 +-
3379 net/rxrpc/ar-proc.c | 4 +-
3380 net/rxrpc/ar-transport.c | 2 +-
3381 net/rxrpc/rxkad.c | 4 +-
3382 net/sched/sch_generic.c | 4 +-
3383 net/sched/sch_tbf.c | 9 +-
3384 net/sctp/ipv6.c | 4 +-
3385 net/sctp/protocol.c | 8 +-
3386 net/sctp/sm_sideeffect.c | 4 +-
3387 net/sctp/socket.c | 21 +-
3388 net/sctp/sysctl.c | 10 +-
3389 net/socket.c | 18 +-
3390 net/sunrpc/auth_gss/gss_rpc_upcall.c | 4 +-
3391 net/sunrpc/auth_gss/gss_rpc_xdr.c | 11 +-
3392 net/sunrpc/auth_gss/gss_rpc_xdr.h | 8 +-
3393 net/sunrpc/auth_gss/svcauth_gss.c | 4 +-
3394 net/sunrpc/clnt.c | 4 +-
3395 net/sunrpc/rpcb_clnt.c | 66 +-
3396 net/sunrpc/sched.c | 4 +-
3397 net/sunrpc/svc.c | 8 +-
3398 net/sunrpc/svcauth_unix.c | 2 +-
3399 net/sunrpc/xprtrdma/svc_rdma.c | 44 +-
3400 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 8 +-
3401 net/sunrpc/xprtrdma/svc_rdma_sendto.c | 2 +-
3402 net/sunrpc/xprtrdma/svc_rdma_transport.c | 2 +-
3403 net/tipc/netlink_compat.c | 12 +-
3404 net/tipc/subscr.c | 2 +-
3405 net/unix/diag.c | 2 +-
3406 net/unix/sysctl_net_unix.c | 2 +-
3407 net/wireless/scan.c | 3 +-
3408 net/wireless/wext-compat.c | 140 +-
3409 net/wireless/wext-compat.h | 8 +-
3410 net/wireless/wext-core.c | 19 +-
3411 net/wireless/wext-sme.c | 5 +-
3412 net/xfrm/xfrm_policy.c | 18 +-
3413 net/xfrm/xfrm_state.c | 37 +-
3414 net/xfrm/xfrm_sysctl.c | 2 +-
3415 net/xfrm/xfrm_user.c | 2 +-
3416 scripts/Kbuild.include | 12 +-
3417 scripts/Makefile | 2 +-
3418 scripts/Makefile.build | 2 +-
3419 scripts/Makefile.clean | 4 +-
3420 scripts/Makefile.extrawarn | 4 +
3421 scripts/Makefile.gcc-plugins | 93 +
3422 scripts/Makefile.host | 73 +-
3423 scripts/basic/fixdep.c | 12 +-
3424 scripts/dtc/checks.c | 14 +-
3425 scripts/dtc/data.c | 6 +-
3426 scripts/dtc/flattree.c | 8 +-
3427 scripts/dtc/livetree.c | 4 +-
3428 scripts/gcc-plugin.sh | 65 +
3429 scripts/gcc-plugins/Makefile | 25 +
3430 scripts/gcc-plugins/checker_plugin.c | 496 +
3431 scripts/gcc-plugins/colorize_plugin.c | 162 +
3432 scripts/gcc-plugins/constify_plugin.c | 583 +
3433 scripts/gcc-plugins/gcc-common.h | 893 +
3434 scripts/gcc-plugins/gcc-generate-gimple-pass.h | 175 +
3435 scripts/gcc-plugins/gcc-generate-ipa-pass.h | 289 +
3436 scripts/gcc-plugins/gcc-generate-rtl-pass.h | 175 +
3437 scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | 175 +
3438 scripts/gcc-plugins/initify_plugin.c | 536 +
3439 scripts/gcc-plugins/kallocstat_plugin.c | 135 +
3440 scripts/gcc-plugins/kernexec_plugin.c | 407 +
3441 scripts/gcc-plugins/latent_entropy_plugin.c | 613 +
3442 scripts/gcc-plugins/rap_plugin/Makefile | 6 +
3443 scripts/gcc-plugins/rap_plugin/rap.h | 36 +
3444 scripts/gcc-plugins/rap_plugin/rap_fptr_pass.c | 220 +
3445 scripts/gcc-plugins/rap_plugin/rap_hash.c | 382 +
3446 scripts/gcc-plugins/rap_plugin/rap_plugin.c | 511 +
3447 scripts/gcc-plugins/rap_plugin/sip.c | 96 +
3448 .../gcc-plugins/size_overflow_plugin/.gitignore | 3 +
3449 scripts/gcc-plugins/size_overflow_plugin/Makefile | 30 +
3450 .../disable_size_overflow_hash.data | 12445 +++++++++++
3451 .../generate_size_overflow_hash.sh | 103 +
3452 .../insert_size_overflow_asm.c | 369 +
3453 .../size_overflow_plugin/intentional_overflow.c | 1166 +
3454 .../size_overflow_plugin/remove_unnecessary_dup.c | 137 +
3455 .../size_overflow_plugin/size_overflow.h | 331 +
3456 .../size_overflow_plugin/size_overflow_debug.c | 194 +
3457 .../size_overflow_plugin/size_overflow_hash.data | 21503 +++++++++++++++++++
3458 .../size_overflow_hash_aux.data | 97 +
3459 .../size_overflow_plugin/size_overflow_ipa.c | 1163 +
3460 .../size_overflow_plugin/size_overflow_misc.c | 505 +
3461 .../size_overflow_plugin/size_overflow_plugin.c | 290 +
3462 .../size_overflow_plugin_hash.c | 352 +
3463 .../size_overflow_plugin/size_overflow_transform.c | 743 +
3464 .../size_overflow_transform_core.c | 1025 +
3465 scripts/gcc-plugins/stackleak_plugin.c | 350 +
3466 scripts/gcc-plugins/structleak_plugin.c | 239 +
3467 scripts/headers_install.sh | 1 +
3468 scripts/kallsyms.c | 4 +-
3469 scripts/kconfig/lkc.h | 5 +-
3470 scripts/kconfig/menu.c | 2 +-
3471 scripts/kconfig/symbol.c | 6 +-
3472 scripts/link-vmlinux.sh | 2 +-
3473 scripts/mod/file2alias.c | 14 +-
3474 scripts/mod/modpost.c | 40 +-
3475 scripts/mod/modpost.h | 6 +-
3476 scripts/mod/sumversion.c | 2 +-
3477 scripts/module-common.lds | 4 +
3478 scripts/package/builddeb | 1 +
3479 scripts/pnmtologo.c | 6 +-
3480 scripts/sortextable.h | 6 +-
3481 scripts/tags.sh | 2 +-
3482 security/Kconfig | 710 +-
3483 security/apparmor/include/policy.h | 2 +-
3484 security/apparmor/lsm.c | 16 +-
3485 security/apparmor/policy.c | 4 +-
3486 security/integrity/ima/ima.h | 4 +-
3487 security/integrity/ima/ima_api.c | 2 +-
3488 security/integrity/ima/ima_fs.c | 4 +-
3489 security/integrity/ima/ima_queue.c | 2 +-
3490 security/keys/internal.h | 8 +-
3491 security/keys/key.c | 18 +-
3492 security/keys/keyring.c | 4 -
3493 security/selinux/avc.c | 6 +-
3494 security/selinux/include/xfrm.h | 2 +-
3495 security/yama/yama_lsm.c | 2 +-
3496 sound/aoa/codecs/onyx.c | 7 +-
3497 sound/aoa/codecs/onyx.h | 1 +
3498 sound/core/oss/pcm_oss.c | 18 +-
3499 sound/core/pcm_compat.c | 2 +-
3500 sound/core/pcm_lib.c | 3 +-
3501 sound/core/pcm_native.c | 4 +-
3502 sound/core/rawmidi.c | 5 +-
3503 sound/core/seq/oss/seq_oss_synth.c | 4 +-
3504 sound/core/seq/seq_clientmgr.c | 10 +-
3505 sound/core/seq/seq_compat.c | 2 +-
3506 sound/core/seq/seq_fifo.c | 6 +-
3507 sound/core/seq/seq_fifo.h | 2 +-
3508 sound/core/seq/seq_memory.c | 18 +-
3509 sound/core/seq/seq_midi.c | 5 +-
3510 sound/core/seq/seq_virmidi.c | 2 +-
3511 sound/core/sound.c | 2 +-
3512 sound/drivers/mts64.c | 14 +-
3513 sound/drivers/opl4/opl4_lib.c | 2 +-
3514 sound/drivers/portman2x4.c | 3 +-
3515 sound/firewire/amdtp-am824.c | 2 +-
3516 sound/firewire/amdtp-stream.c | 4 +-
3517 sound/firewire/amdtp-stream.h | 2 +-
3518 sound/firewire/digi00x/amdtp-dot.c | 2 +-
3519 sound/firewire/isight.c | 10 +-
3520 sound/firewire/oxfw/oxfw-scs1x.c | 8 +-
3521 sound/oss/sb_audio.c | 2 +-
3522 sound/oss/swarm_cs4297a.c | 6 +-
3523 sound/pci/als300.c | 2 +-
3524 sound/pci/aw2/aw2-alsa.c | 2 -
3525 sound/pci/aw2/aw2-saa7146.c | 4 +-
3526 sound/pci/ctxfi/ctamixer.c | 14 +-
3527 sound/pci/ctxfi/ctamixer.h | 8 +-
3528 sound/pci/ctxfi/ctatc.c | 20 +-
3529 sound/pci/ctxfi/ctdaio.c | 6 +-
3530 sound/pci/ctxfi/ctdaio.h | 4 +-
3531 sound/pci/ctxfi/ctsrc.c | 13 +-
3532 sound/pci/ctxfi/ctsrc.h | 8 +-
3533 sound/pci/hda/hda_codec.c | 2 +-
3534 sound/pci/ymfpci/ymfpci.h | 2 +-
3535 sound/pci/ymfpci/ymfpci_main.c | 12 +-
3536 sound/soc/codecs/cx20442.c | 8 +-
3537 sound/soc/codecs/sti-sas.c | 10 +-
3538 sound/soc/codecs/tlv320dac33.c | 7 +-
3539 sound/soc/codecs/uda1380.c | 7 +-
3540 sound/soc/intel/skylake/skl-sst-dsp.h | 4 +-
3541 sound/soc/soc-ac97.c | 6 +-
3542 sound/soc/xtensa/xtfpga-i2s.c | 2 +-
3543 tools/include/linux/compiler.h | 8 +
3544 tools/perf/util/include/asm/alternative-asm.h | 3 +
3545 tools/virtio/linux/uaccess.h | 2 +-
3546 virt/kvm/kvm_main.c | 42 +-
3547 2730 files changed, 77381 insertions(+), 14195 deletions(-)
3548 commit 5988c8dba8a5da45e35d71f4a8fec34c267258c5
3549 Author: Brad Spengler <spender@grsecurity.net>
3550 Date: Mon Apr 25 20:40:53 2016 -0400
3551
3552 Fix DoS in n_tty_receive_buf_common reported by marcan at:
3553 https://forums.grsecurity.net/viewtopic.php?t=4342&p=16222
3554 and via lengthy diatribe on Twitter:
3555 https://twitter.com/marcan42/status/724740708104474626
3556 https://twitter.com/marcan42/status/724740985146609664
3557 https://twitter.com/marcan42/status/724741270325760000
3558 https://twitter.com/marcan42/status/724742465199050752
3559 https://twitter.com/marcan42/status/724745886794833920
3560 https://twitter.com/marcan42/status/724749571495075840
3561 https://twitter.com/marcan42/status/724746427285409796
3562 https://twitter.com/marcan42/status/724743150263095296
3563 https://twitter.com/marcan42/status/724757473433808896
3564
3565 Fix it correctly instead of using the incorrect fix suggested
3566 by marcan (aka "try reading the code next time")
3567 The original code was meant to fix an integer truncation issue
3568 that would also have caused a SIZE_OVERFLOW "DoS".
3569
3570 drivers/tty/n_tty.c | 9 +++++----
3571 1 file changed, 5 insertions(+), 4 deletions(-)
3572
3573 commit 5459ff57d8987389fa17d5d6f55b70a789347c2f
3574 Author: Brad Spengler <spender@grsecurity.net>
3575 Date: Mon Apr 25 19:52:33 2016 -0400
3576
3577 Avoid overflow in environ_read() caught by SIZE_OVERFLOW,
3578 reported by jotik at:
3579 https://forums.grsecurity.net/viewtopic.php?t=4363&p=16217
3580 patch from Mathias Krause
3581
3582 fs/proc/base.c | 2 +-
3583 1 file changed, 1 insertion(+), 1 deletion(-)
3584
3585 commit 24a5c92e147af1e739e9eeca020c61ad2674e784
3586 Author: Jiri Benc <jbenc@redhat.com>
3587 Date: Fri Apr 22 13:09:13 2016 +0200
3588
3589 cxgbi: fix uninitialized flowi6
3590
3591 ip6_route_output looks into different fields in the passed flowi6 structure,
3592 yet cxgbi passes garbage in nearly all those fields. Zero the structure out
3593 first.
3594
3595 Fixes: fc8d0590d9142 ("libcxgbi: Add ipv6 api to driver")
3596 Signed-off-by: Jiri Benc <jbenc@redhat.com>
3597 Signed-off-by: David S. Miller <davem@davemloft.net>
3598
3599 drivers/scsi/cxgbi/libcxgbi.c | 1 +
3600 1 file changed, 1 insertion(+)
3601
3602 commit ec65caa32652841a5be21d6e73146921af16d7a8
3603 Author: Brad Spengler <spender@grsecurity.net>
3604 Date: Wed Apr 20 20:59:43 2016 -0400
3605
3606 Make /proc/sched_debug only readable by root, mentioned in
3607 recent NCC Group paper on Linux containers
3608
3609 kernel/sched/debug.c | 4 ++++
3610 1 file changed, 4 insertions(+)
3611
3612 commit 7957d30730bb26a4aef54ab484dc3b4108f1fdb1
3613 Merge: 463149f ff26083
3614 Author: Brad Spengler <spender@grsecurity.net>
3615 Date: Wed Apr 20 17:55:53 2016 -0400
3616
3617 Merge branch 'pax-test' into grsec-test
3618
3619 commit ff260839e610d2bc1b0c579edd7deb0028198f01
3620 Author: Brad Spengler <spender@grsecurity.net>
3621 Date: Wed Apr 20 17:55:24 2016 -0400
3622
3623 Update to pax-linux-4.4.8-test14.patch:
3624 - Emese fixed some CodingStyle issues in the latent entropy plugin
3625 - fixed some build problems on mips, reported by Steve Arnold (https://bugs.gentoo.org/show_bug.cgi?id=578394)
3626
3627 arch/mips/include/asm/cache.h | 3 ++-
3628 arch/mips/lib/ashldi3.c | 21 ++++++++++++++-------
3629 arch/mips/lib/ashrdi3.c | 19 +++++++++++++------
3630 arch/mips/lib/libgcc.h | 12 +++++++++---
3631 drivers/idle/intel_idle.c | 6 ++++--
3632 tools/gcc/latent_entropy_plugin.c | 29 +++++++++++++++--------------
3633 6 files changed, 57 insertions(+), 33 deletions(-)
3634
3635 commit 463149f47a64db4b26a13009f83ed73d393a209c
3636 Author: Xiaodong Liu <xiaodong.liu@intel.com>
3637 Date: Tue Apr 12 09:45:51 2016 +0000
3638
3639 crypto: sha1-mb - use corrcet pointer while completing jobs
3640
3641 In sha_complete_job, incorrect mcryptd_hash_request_ctx pointer is used
3642 when check and complete other jobs. If the memory of first completed req
3643 is freed, while still completing other jobs in the func, kernel will
3644 crash since NULL pointer is assigned to RIP.
3645
3646 Cc: <stable@vger.kernel.org>
3647 Signed-off-by: Xiaodong Liu <xiaodong.liu@intel.com>
3648 Acked-by: Tim Chen <tim.c.chen@linux.intel.com>
3649 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
3650
3651 arch/x86/crypto/sha-mb/sha1_mb.c | 4 ++--
3652 1 file changed, 2 insertions(+), 2 deletions(-)
3653
3654 commit b4e6484e67b917afb77478cab1260f41dbbc92fc
3655 Author: Tom Lendacky <thomas.lendacky@amd.com>
3656 Date: Wed Apr 13 10:52:25 2016 -0500
3657
3658 crypto: ccp - Prevent information leakage on export
3659
3660 Prevent information from leaking to userspace by doing a memset to 0 of
3661 the export state structure before setting the structure values and copying
3662 it. This prevents un-initialized padding areas from being copied into the
3663 export area.
3664
3665 Cc: <stable@vger.kernel.org> # 3.14.x-
3666 Reported-by: Ben Hutchings <ben@decadent.org.uk>
3667 Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
3668 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
3669
3670 drivers/crypto/ccp/ccp-crypto-aes-cmac.c | 3 +++
3671 drivers/crypto/ccp/ccp-crypto-sha.c | 3 +++
3672 2 files changed, 6 insertions(+)
3673
3674 commit 7d7e961d3f4e4614b22518d8e410e6cf4108f1b0
3675 Author: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
3676 Date: Mon Apr 18 14:33:54 2016 +0300
3677
3678 net/mlx4_en: allocate non 0-order pages for RX ring with __GFP_NOMEMALLOC
3679
3680 High order pages are optional here since commit 51151a16a60f ("mlx4: allow
3681 order-0 memory allocations in RX path"), so here is no reason for depleting
3682 reserves. Generic __netdev_alloc_frag() implements the same logic.
3683
3684 Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
3685 Acked-by: Eric Dumazet <edumazet@google.com>
3686 Signed-off-by: David S. Miller <davem@davemloft.net>
3687
3688 drivers/net/ethernet/mellanox/mlx4/en_rx.c | 2 +-
3689 1 file changed, 1 insertion(+), 1 deletion(-)
3690
3691 commit 6b80edde2edc7fd055f9be8ec42b88abbe328639
3692 Author: Ignat Korchagin <ignat.korchagin@gmail.com>
3693 Date: Thu Mar 17 18:00:29 2016 +0000
3694
3695 USB: usbip: fix potential out-of-bounds write
3696
3697 Fix potential out-of-bounds write to urb->transfer_buffer
3698 usbip handles network communication directly in the kernel. When receiving a
3699 packet from its peer, usbip code parses headers according to protocol. As
3700 part of this parsing urb->actual_length is filled. Since the input for
3701 urb->actual_length comes from the network, it should be treated as untrusted.
3702 Any entity controlling the network may put any value in the input and the
3703 preallocated urb->transfer_buffer may not be large enough to hold the data.
3704 Thus, the malicious entity is able to write arbitrary data to kernel memory.
3705
3706 Signed-off-by: Ignat Korchagin <ignat.korchagin@gmail.com>
3707 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
3708
3709 drivers/usb/usbip/usbip_common.c | 11 +++++++++++
3710 1 file changed, 11 insertions(+)
3711
3712 commit 0ce101ec9e74c2cfcd28cbcd18b0626e3d9a2482
3713 Merge: d60a24d f5fe5fd
3714 Author: Brad Spengler <spender@grsecurity.net>
3715 Date: Wed Apr 20 17:35:58 2016 -0400
3716
3717 Merge branch 'pax-test' into grsec-test
3718
3719 commit f5fe5fddf49f1b81a2a3bb43b1e0a8c087aba438
3720 Merge: a107ba2 8c9aef0
3721 Author: Brad Spengler <spender@grsecurity.net>
3722 Date: Wed Apr 20 17:35:29 2016 -0400
3723
3724 Merge branch 'linux-4.4.y' into pax-test
3725
3726 commit d60a24d6e4f61072d0bd1dc12be1177181fa8c2b
3727 Author: Brad Spengler <spender@grsecurity.net>
3728 Date: Mon Apr 18 17:48:10 2016 -0400
3729
3730 fix cast for constify change, reported by pipacs
3731
3732 drivers/idle/intel_idle.c | 4 ++--
3733 1 file changed, 2 insertions(+), 2 deletions(-)
3734
3735 commit 1d376287aeba7a53c91d5ee49ef0a11d02193964
3736 Author: Brad Spengler <spender@grsecurity.net>
3737 Date: Fri Apr 15 21:31:07 2016 -0400
3738
3739 Use proper type for function pointer
3740
3741 drivers/gpu/drm/gma500/mdfld_dsi_output.c | 6 +++---
3742 1 file changed, 3 insertions(+), 3 deletions(-)
3743
3744 commit 0a4104a2fa32904102fac07245426d78a1e9dfab
3745 Author: Brad Spengler <spender@grsecurity.net>
3746 Date: Fri Apr 15 21:24:04 2016 -0400
3747
3748 Fix skylake cstates compat with constify
3749
3750 drivers/idle/intel_idle.c | 6 ++++--
3751 1 file changed, 4 insertions(+), 2 deletions(-)
3752
3753 commit f433f8fd372253c9e78e307afe5b800c5ab0ea61
3754 Author: Brad Spengler <spender@grsecurity.net>
3755 Date: Fri Apr 15 21:10:44 2016 -0400
3756
3757 Update size_overflow hash table
3758
3759 tools/gcc/size_overflow_plugin/size_overflow_hash.data | 3 ++-
3760 1 file changed, 2 insertions(+), 1 deletion(-)
3761
3762 commit ef7804da81cb3c6b6a4c985a3c14ee230a03f26a
3763 Author: Brad Spengler <spender@grsecurity.net>
3764 Date: Fri Apr 15 20:52:37 2016 -0400
3765
3766 compile fix
3767
3768 fs/coredump.c | 3 ---
3769 1 file changed, 3 deletions(-)
3770
3771 commit 967224da52bd98d078b1237aea5ec9e622238fba
3772 Merge: 92771d6 a107ba2
3773 Author: Brad Spengler <spender@grsecurity.net>
3774 Date: Fri Apr 15 20:30:23 2016 -0400
3775
3776 Merge branch 'pax-test' into grsec-test
3777
3778 commit a107ba25214d9694eb836fb04c782ad694977b91
3779 Merge: 4d8fc00 b40108b
3780 Author: Brad Spengler <spender@grsecurity.net>
3781 Date: Fri Apr 15 20:18:26 2016 -0400
3782
3783 Merge branch 'linux-4.4.y' into pax-test
3784
3785 commit 92771d60677d68e8f6ea7a91ff34dd6e24b6d4cf
3786 Author: Brad Spengler <spender@grsecurity.net>
3787 Date: Sun Apr 10 07:18:03 2016 -0400
3788
3789 From: Mathias Krause <minipli@googlemail.com>
3790 To: "David S. Miller" <davem@davemloft.net>
3791 Cc: netdev@vger.kernel.org, "Eric W. Biederman" <ebiederm@xmission.com>, Pavel
3792 Emelyanov <xemul@parallels.com>
3793 Subject: [PATCH net] packet: fix heap info leak in PACKET_DIAG_MCLIST sock_diag
3794 interface
3795
3796 Because we miss to wipe the remainder of i->addr[] in packet_mc_add(),
3797 pdiag_put_mclist() leaks uninitialized heap bytes via the
3798 PACKET_DIAG_MCLIST netlink attribute.
3799
3800 Fix this by explicitly memset(0)ing the remaining bytes in i->addr[].
3801
3802 Fixes: eea68e2f1a00 ("packet: Report socket mclist info via diag module")
3803 Signed-off-by: Mathias Krause <minipli@googlemail.com>
3804 Cc: Eric W. Biederman <ebiederm@xmission.com>
3805 Cc: Pavel Emelyanov <xemul@parallels.com>
3806 ---
3807 The bug itself precedes commit eea68e2f1a00 but the list wasn't exposed
3808 to userland before the introduction of the packet_diag interface.
3809 Therefore the "Fixes:" line on that commit.
3810
3811 net/packet/af_packet.c | 1 +
3812 1 file changed, 1 insertion(+)
3813
3814 commit 4286ce3f9e9db4d68870af46ae1d5f9b90b920dd
3815 Author: Jakub Sitnicki <jkbs@redhat.com>
3816 Date: Tue Apr 5 18:41:08 2016 +0200
3817
3818 ipv6: Count in extension headers in skb->network_header
3819
3820 When sending a UDPv6 message longer than MTU, account for the length
3821 of fragmentable IPv6 extension headers in skb->network_header offset.
3822 Same as we do in alloc_new_skb path in __ip6_append_data().
3823
3824 This ensures that later on __ip6_make_skb() will make space in
3825 headroom for fragmentable extension headers:
3826
3827 /* move skb->data to ip header from ext header */
3828 if (skb->data < skb_network_header(skb))
3829 __skb_pull(skb, skb_network_offset(skb));
3830
3831 Prevents a splat due to skb_under_panic:
3832
3833 skbuff: skb_under_panic: text:ffffffff8143397b len:2126 put:14 \
3834 head:ffff880005bacf50 data:ffff880005bacf4a tail:0x48 end:0xc0 dev:lo
3835 ------------[ cut here ]------------
3836 kernel BUG at net/core/skbuff.c:104!
3837 invalid opcode: 0000 [#1] KASAN
3838 CPU: 0 PID: 160 Comm: reproducer Not tainted 4.6.0-rc2 #65
3839 [...]
3840 Call Trace:
3841 [<ffffffff813eb7b9>] skb_push+0x79/0x80
3842 [<ffffffff8143397b>] eth_header+0x2b/0x100
3843 [<ffffffff8141e0d0>] neigh_resolve_output+0x210/0x310
3844 [<ffffffff814eab77>] ip6_finish_output2+0x4a7/0x7c0
3845 [<ffffffff814efe3a>] ip6_output+0x16a/0x280
3846 [<ffffffff815440c1>] ip6_local_out+0xb1/0xf0
3847 [<ffffffff814f1115>] ip6_send_skb+0x45/0xd0
3848 [<ffffffff81518836>] udp_v6_send_skb+0x246/0x5d0
3849 [<ffffffff8151985e>] udpv6_sendmsg+0xa6e/0x1090
3850 [...]
3851
3852 Reported-by: Ji Jianwen <jiji@redhat.com>
3853 Signed-off-by: Jakub Sitnicki <jkbs@redhat.com>
3854 Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
3855 Signed-off-by: David S. Miller <davem@davemloft.net>
3856
3857 net/ipv6/ip6_output.c | 8 ++++----
3858 1 file changed, 4 insertions(+), 4 deletions(-)
3859
3860 commit 638dad49a9ba3d86f627adb58b2f4636ed253685
3861 Author: Thadeu Lima de Souza Cascardo <cascardo@redhat.com>
3862 Date: Fri Apr 1 17:17:50 2016 -0300
3863
3864 ip6_tunnel: set rtnl_link_ops before calling register_netdevice
3865
3866 When creating an ip6tnl tunnel with ip tunnel, rtnl_link_ops is not set
3867 before ip6_tnl_create2 is called. When register_netdevice is called, there
3868 is no linkinfo attribute in the NEWLINK message because of that.
3869
3870 Setting rtnl_link_ops before calling register_netdevice fixes that.
3871
3872 Fixes: 0b112457229d ("ip6tnl: add support of link creation via rtnl")
3873 Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com>
3874 Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
3875 Signed-off-by: David S. Miller <davem@davemloft.net>
3876
3877 net/ipv6/ip6_tunnel.c | 2 +-
3878 1 file changed, 1 insertion(+), 1 deletion(-)
3879
3880 commit 14146a0bfaf2ced0055fe549c8fa0941c61e2457
3881 Author: Brad Spengler <spender@grsecurity.net>
3882 Date: Tue Apr 5 21:12:44 2016 -0400
3883
3884 Code cleanups to RANDSTRUCT based on feedback from the PaX Team
3885
3886 tools/gcc/randomize_layout_plugin.c | 18 ++++++++++++------
3887 1 file changed, 12 insertions(+), 6 deletions(-)
3888
3889 commit 3f7dea5e59b0bb34f6bdb628c87251f0105b3d57
3890 Author: Brad Spengler <spender@grsecurity.net>
3891 Date: Sun Apr 3 20:10:10 2016 -0400
3892
3893 Fix RANDSTRUCT support on ARM
3894
3895 tools/gcc/randomize_layout_plugin.c | 54 +++++++++++++++++++++++++++++++++++--
3896 1 file changed, 52 insertions(+), 2 deletions(-)
3897
3898 commit bd893a75ab49f6ea5a216eb334471507337118ba
3899 Merge: 87b7f1d 4d8fc00
3900 Author: Brad Spengler <spender@grsecurity.net>
3901 Date: Sat Apr 2 11:54:20 2016 -0400
3902
3903 Merge branch 'pax-test' into grsec-test
3904
3905 commit 4d8fc00c0066b1921e233123b346efe6ffb27691
3906 Author: Brad Spengler <spender@grsecurity.net>
3907 Date: Sat Apr 2 11:53:53 2016 -0400
3908
3909 Update to pax-linux-4.4.6-test13.patch:
3910 - fixed a REFCOUNT related compile regression on mips, reported by Steve Arnold (https://bugs.gentoo.org/show_bug.cgi?id=578394)
3911 - worked around an integer signedness mixup in md causing a size overflow false positive, reported by Étienne Buira (https://bugs.gentoo.org/show_bug.cgi?id=578502)
3912
3913 arch/mips/include/asm/atomic.h | 4 ----
3914 tools/gcc/size_overflow_plugin/disable_size_overflow_hash.data | 1 +
3915 tools/gcc/size_overflow_plugin/size_overflow_hash.data | 1 -
3916 3 files changed, 1 insertion(+), 5 deletions(-)
3917
3918 commit 87b7f1d200023ba826b9d552834a2ee85e67526c
3919 Merge: 3335266 3abdad0
3920 Author: Brad Spengler <spender@grsecurity.net>
3921 Date: Sat Apr 2 11:19:17 2016 -0400
3922
3923 Merge branch 'pax-test' into grsec-test
3924
3925 commit 3abdad0c3b436c076c88289f07a250b811d6f79d
3926 Author: Brad Spengler <spender@grsecurity.net>
3927 Date: Sat Apr 2 11:12:56 2016 -0400
3928
3929 Update to pax-linux-4.4.6-test12.patch:
3930 - fixed vmalloc_fault on i386/PAE to use the correct percpu userland pgd table/entry
3931 - fixed a size overflow false positive report in pptp, reported by Pinkbyte (https://forums.grsecurity.net/viewtopic.php?f=3&t=4437)
3932 - fixed a size overflow false positive report in tbf_segment, reported by audiocricket (https://forums.grsecurity.net/viewtopic.php?f=3&t=4438)
3933 - Emese fixed the x86 vdso32 CFLAGS to omit the gcc plugins
3934 - Emese simplified the gcc plugin related make rules, suggested by Masahiro Yamada
3935 - André Fabian Silva Delgado fixed a compile regression on arm, reported by coadde (https://forums.grsecurity.net/viewtopic.php?f=3&t=4435)
3936 - fixed an integer sign conversion error in nfs_super_set_maxbytes caught by the size overflow plugin, reported by Alexey Dvoichenkov <xale@hyperplane.net>
3937 - fixed a size overflow false positive in squashfs, reported by Mathias Krause <minipli@ld-linux.so>
3938 - fixed a size overflow false positive in xfrm6_transport_output, reported by marcan (https://forums.grsecurity.net/viewtopic.php?f=3&t=4426)
3939 - fixed an integer truncation bug in elf_kcore_store_hdr caught by the size overflow plugin
3940 - fixed a gratuitous userland dereference in the amd64 stack walker
3941 - added latent entropy gathering to a few more functions
3942 - constified a few smp_hotplug_thread instances
3943
3944 arch/x86/entry/vdso/Makefile | 1 +
3945 arch/x86/include/asm/cpufeature.h | 1 -
3946 arch/x86/kernel/dumpstack_64.c | 17 ++++++-----------
3947 arch/x86/kernel/head_32.S | 6 +++---
3948 arch/x86/mm/fault.c | 2 +-
3949 drivers/iommu/arm-smmu.c | 2 +-
3950 drivers/net/ppp/pptp.c | 1 +
3951 drivers/staging/rdma/ehca/ehca_irq.c | 2 +-
3952 fs/nfs/internal.h | 5 +++--
3953 fs/proc/kcore.c | 2 +-
3954 kernel/module.c | 6 +++---
3955 kernel/rcu/tree.c | 2 +-
3956 kernel/softirq.c | 2 +-
3957 kernel/stop_machine.c | 2 +-
3958 net/ipv6/xfrm6_mode_transport.c | 2 +-
3959 net/sched/sch_tbf.c | 9 ++++++---
3960 scripts/Makefile.gcc-plugins | 13 +++----------
3961 scripts/Makefile.host | 3 +--
3962 .../disable_size_overflow_hash.data | 4 +++-
3963 tools/gcc/size_overflow_plugin/size_overflow_hash.data | 6 ++----
3964 20 files changed, 40 insertions(+), 48 deletions(-)
3965
3966 commit 3335266d5bec9bc01580736c0a7026ed96cf25e5
3967 Author: Mika Penttilä <mika.penttila@nextfour.com>
3968 Date: Mon Feb 22 17:56:52 2016 +0100
3969
3970 ARM: 8544/1: set_memory_xx fixes
3971
3972 Allow zero size updates. This makes set_memory_xx() consistent with x86, s390 and arm64 and makes apply_to_page_range() not to BUG() when loading modules.
3973
3974 Signed-off-by: Mika Penttilä mika.penttila@nextfour.com
3975 Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
3976
3977 arch/arm/mm/pageattr.c | 3 +++
3978 1 file changed, 3 insertions(+)
3979
3980 commit d6d6499b22c0e5593a16f41c516041b23fbf9eeb
3981 Author: Josh Boyer <jwboyer@fedoraproject.org>
3982 Date: Mon Mar 14 10:42:38 2016 -0400
3983
3984 USB: iowarrior: fix oops with malicious USB descriptors
3985
3986 The iowarrior driver expects at least one valid endpoint. If given
3987 malicious descriptors that specify 0 for the number of endpoints,
3988 it will crash in the probe function. Ensure there is at least
3989 one endpoint on the interface before using it.
3990
3991 The full report of this issue can be found here:
3992 http://seclists.org/bugtraq/2016/Mar/87
3993
3994 Reported-by: Ralf Spenneberg <ralf@spenneberg.net>
3995 Cc: stable <stable@vger.kernel.org>
3996 Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
3997 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
3998
3999 drivers/usb/misc/iowarrior.c | 6 ++++++
4000 1 file changed, 6 insertions(+)
4001
4002 commit 79a1fb47ab1245e81040bcd45b3e44e65d282684
4003 Author: Oliver Neukum <oneukum@suse.com>
4004 Date: Tue Mar 15 10:14:04 2016 +0100
4005
4006 USB: cdc-acm: more sanity checking
4007
4008 An attack has become available which pretends to be a quirky
4009 device circumventing normal sanity checks and crashes the kernel
4010 by an insufficient number of interfaces. This patch adds a check
4011 to the code path for quirky devices.
4012
4013 Signed-off-by: Oliver Neukum <ONeukum@suse.com>
4014 CC: stable@vger.kernel.org
4015 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
4016
4017 drivers/usb/class/cdc-acm.c | 3 +++
4018 1 file changed, 3 insertions(+)
4019
4020 commit 6ee21acdf0da6602671cb50edeca0abfba3955f7
4021 Author: Oliver Neukum <oneukum@suse.com>
4022 Date: Wed Mar 16 13:26:17 2016 +0100
4023
4024 USB: usb_driver_claim_interface: add sanity checking
4025
4026 Attacks that trick drivers into passing a NULL pointer
4027 to usb_driver_claim_interface() using forged descriptors are
4028 known. This thwarts them by sanity checking.
4029
4030 Signed-off-by: Oliver Neukum <ONeukum@suse.com>
4031 CC: stable@vger.kernel.org
4032 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
4033
4034 drivers/usb/core/driver.c | 6 +++++-
4035 1 file changed, 5 insertions(+), 1 deletion(-)
4036
4037 commit 44247834ddab762509eaaf5c742e15bfadcd9d94
4038 Author: Paolo Bonzini <pbonzini@redhat.com>
4039 Date: Mon Mar 21 10:15:25 2016 +0100
4040
4041 KVM: fix spin_lock_init order on x86
4042
4043 Moving the initialization earlier is needed in 4.6 because
4044 kvm_arch_init_vm is now using mmu_lock, causing lockdep to
4045 complain:
4046
4047 [ 284.440294] INFO: trying to register non-static key.
4048 [ 284.445259] the code is fine but needs lockdep annotation.
4049 [ 284.450736] turning off the locking correctness validator.
4050 ...
4051 [ 284.528318] [<ffffffff810aecc3>] lock_acquire+0xd3/0x240
4052 [ 284.533733] [<ffffffffa0305aa0>] ? kvm_page_track_register_notifier+0x20/0x60 [kvm]
4053 [ 284.541467] [<ffffffff81715581>] _raw_spin_lock+0x41/0x80
4054 [ 284.546960] [<ffffffffa0305aa0>] ? kvm_page_track_register_notifier+0x20/0x60 [kvm]
4055 [ 284.554707] [<ffffffffa0305aa0>] kvm_page_track_register_notifier+0x20/0x60 [kvm]
4056 [ 284.562281] [<ffffffffa02ece70>] kvm_mmu_init_vm+0x20/0x30 [kvm]
4057 [ 284.568381] [<ffffffffa02dbf7a>] kvm_arch_init_vm+0x1ea/0x200 [kvm]
4058 [ 284.574740] [<ffffffffa02bff3f>] kvm_dev_ioctl+0xbf/0x4d0 [kvm]
4059
4060 However, it also helps fixing a preexisting problem, which is why this
4061 patch is also good for stable kernels: kvm_create_vm was incrementing
4062 current->mm->mm_count but not decrementing it at the out_err label (in
4063 case kvm_init_mmu_notifier failed). The new initialization order makes
4064 it possible to add the required mmdrop without adding a new error label.
4065
4066 Cc: stable@vger.kernel.org
4067 Reported-by: Borislav Petkov <bp@alien8.de>
4068 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
4069
4070 virt/kvm/kvm_main.c | 21 +++++++++++----------
4071 1 file changed, 11 insertions(+), 10 deletions(-)
4072
4073 commit 9d0cf281d74a9fe490f3ba5ca3d0e57eac066e1c
4074 Author: Paolo Bonzini <pbonzini@redhat.com>
4075 Date: Fri Mar 18 16:53:42 2016 +0100
4076
4077 KVM: VMX: avoid guest hang on invalid invvpid instruction
4078
4079 A guest executing an invalid invvpid instruction would hang
4080 because the instruction pointer was not updated.
4081
4082 Reported-by: jmontleo@redhat.com
4083 Tested-by: jmontleo@redhat.com
4084 Cc: stable@vger.kernel.org
4085 Fixes: 99b83ac893b84ed1a62ad6d1f2b6cc32026b9e85
4086 Reviewed-by: David Matlack <dmatlack@google.com>
4087 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
4088
4089 arch/x86/kvm/vmx.c | 1 +
4090 1 file changed, 1 insertion(+)
4091
4092 commit 602caaece277e5e21ae43771398bbf7778061beb
4093 Author: Paolo Bonzini <pbonzini@redhat.com>
4094 Date: Fri Mar 18 16:53:29 2016 +0100
4095
4096 KVM: VMX: avoid guest hang on invalid invept instruction
4097
4098 A guest executing an invalid invept instruction would hang
4099 because the instruction pointer was not updated.
4100
4101 Cc: stable@vger.kernel.org
4102 Fixes: bfd0a56b90005f8c8a004baf407ad90045c2b11e
4103 Reviewed-by: David Matlack <dmatlack@google.com>
4104 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
4105
4106 arch/x86/kvm/vmx.c | 1 +
4107 1 file changed, 1 insertion(+)
4108
4109 commit 3309ac82d6596de8abc6ea51dd0a942416da1cc1
4110 Author: Jann Horn <jann@thejh.net>
4111 Date: Tue Mar 22 14:25:36 2016 -0700
4112
4113 fs/coredump: prevent fsuid=0 dumps into user-controlled directories
4114
4115 This commit fixes the following security hole affecting systems where
4116 all of the following conditions are fulfilled:
4117
4118 - The fs.suid_dumpable sysctl is set to 2.
4119 - The kernel.core_pattern sysctl's value starts with "/". (Systems
4120 where kernel.core_pattern starts with "|/" are not affected.)
4121 - Unprivileged user namespace creation is permitted. (This is
4122 true on Linux >=3.8, but some distributions disallow it by
4123 default using a distro patch.)
4124
4125 Under these conditions, if a program executes under secure exec rules,
4126 causing it to run with the SUID_DUMP_ROOT flag, then unshares its user
4127 namespace, changes its root directory and crashes, the coredump will be
4128 written using fsuid=0 and a path derived from kernel.core_pattern - but
4129 this path is interpreted relative to the root directory of the process,
4130 allowing the attacker to control where a coredump will be written with
4131 root privileges.
4132
4133 To fix the security issue, always interpret core_pattern for dumps that
4134 are written under SUID_DUMP_ROOT relative to the root directory of init.
4135
4136 Signed-off-by: Jann Horn <jann@thejh.net>
4137 Acked-by: Kees Cook <keescook@chromium.org>
4138 Cc: Al Viro <viro@zeniv.linux.org.uk>
4139 Cc: "Eric W. Biederman" <ebiederm@xmission.com>
4140 Cc: Andy Lutomirski <luto@kernel.org>
4141 Cc: Oleg Nesterov <oleg@redhat.com>
4142 Cc: <stable@vger.kernel.org>
4143 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
4144 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
4145
4146 arch/um/drivers/mconsole_kern.c | 2 +-
4147 fs/coredump.c | 31 +++++++++++++++++++++++++++----
4148 fs/fhandle.c | 2 +-
4149 fs/open.c | 6 ++----
4150 include/linux/fs.h | 2 +-
4151 kernel/sysctl_binary.c | 2 +-
4152 6 files changed, 33 insertions(+), 12 deletions(-)
4153
4154 commit a7c8d3c91a3e50d0873942f09afbb5071382d5e7
4155 Author: Takashi Iwai <tiwai@suse.de>
4156 Date: Fri Apr 1 12:28:16 2016 +0200
4157
4158 ALSA: timer: Use mod_timer() for rearming the system timer
4159
4160 ALSA system timer backend stops the timer via del_timer() without sync
4161 and leaves del_timer_sync() at the close instead. This is because of
4162 the restriction by the design of ALSA timer: namely, the stop callback
4163 may be called from the timer handler, and calling the sync shall lead
4164 to a hangup. However, this also triggers a kernel BUG() when the
4165 timer is rearmed immediately after stopping without sync:
4166 kernel BUG at kernel/time/timer.c:966!
4167 Call Trace:
4168 <IRQ>
4169 [<ffffffff8239c94e>] snd_timer_s_start+0x13e/0x1a0
4170 [<ffffffff8239e1f4>] snd_timer_interrupt+0x504/0xec0
4171 [<ffffffff8122fca0>] ? debug_check_no_locks_freed+0x290/0x290
4172 [<ffffffff8239ec64>] snd_timer_s_function+0xb4/0x120
4173 [<ffffffff81296b72>] call_timer_fn+0x162/0x520
4174 [<ffffffff81296add>] ? call_timer_fn+0xcd/0x520
4175 [<ffffffff8239ebb0>] ? snd_timer_interrupt+0xec0/0xec0
4176 ....
4177
4178 It's the place where add_timer() checks the pending timer. It's clear
4179 that this may happen after the immediate restart without sync in our
4180 cases.
4181
4182 So, the workaround here is just to use mod_timer() instead of
4183 add_timer(). This looks like a band-aid fix, but it's a right move,
4184 as snd_timer_interrupt() takes care of the continuous rearm of timer.
4185
4186 Reported-by: Jiri Slaby <jslaby@suse.cz>
4187 Cc: <stable@vger.kernel.org>
4188 Signed-off-by: Takashi Iwai <tiwai@suse.de>
4189
4190 sound/core/timer.c | 4 ++--
4191 1 file changed, 2 insertions(+), 2 deletions(-)
4192
4193 commit 2de05c5fc90b461d78a54a7240b664a068844c8c
4194 Author: Daniel Vetter <daniel.vetter@ffwll.ch>
4195 Date: Wed Mar 30 11:40:43 2016 +0200
4196
4197 drm/udl: Use unlocked gem unreferencing
4198
4199 For drm_gem_object_unreference callers are required to hold
4200 dev->struct_mutex, which these paths don't. Enforcing this requirement
4201 has become a bit more strict with
4202
4203 commit ef4c6270bf2867e2f8032e9614d1a8cfc6c71663
4204 Author: Daniel Vetter <daniel.vetter@ffwll.ch>
4205 Date: Thu Oct 15 09:36:25 2015 +0200
4206
4207 drm/gem: Check locking in drm_gem_object_unreference
4208
4209 Cc: stable@vger.kernel.org
4210 Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
4211 Signed-off-by: Dave Airlie <airlied@redhat.com>
4212
4213 drivers/gpu/drm/udl/udl_fb.c | 2 +-
4214 drivers/gpu/drm/udl/udl_gem.c | 2 +-
4215 2 files changed, 2 insertions(+), 2 deletions(-)
4216
4217 commit c8153b6b1731b8fee33966dd8d148643240f1dc0
4218 Author: Jan Kara <jack@suse.com>
4219 Date: Mon Dec 7 14:34:49 2015 -0500
4220
4221 ext4: fix races of writeback with punch hole and zero range
4222
4223 When doing delayed allocation, update of on-disk inode size is postponed
4224 until IO submission time. However hole punch or zero range fallocate
4225 calls can end up discarding the tail page cache page and thus on-disk
4226 inode size would never be properly updated.
4227
4228 Make sure the on-disk inode size is updated before truncating page
4229 cache.
4230
4231 Signed-off-by: Jan Kara <jack@suse.com>
4232 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
4233
4234 fs/ext4/ext4.h | 3 +++
4235 fs/ext4/extents.c | 5 +++++
4236 fs/ext4/inode.c | 35 ++++++++++++++++++++++++++++++++++-
4237 3 files changed, 42 insertions(+), 1 deletion(-)
4238
4239 commit d64beb441579f2667e99eb9d4d6e83deb88bf59b
4240 Author: Jan Kara <jack@suse.com>
4241 Date: Mon Dec 7 14:31:11 2015 -0500
4242
4243 ext4: fix races between buffered IO and collapse / insert range
4244
4245 Current code implementing FALLOC_FL_COLLAPSE_RANGE and
4246 FALLOC_FL_INSERT_RANGE is prone to races with buffered writes and page
4247 faults. If buffered write or write via mmap manages to squeeze between
4248 filemap_write_and_wait_range() and truncate_pagecache() in the fallocate
4249 implementations, the written data is simply discarded by
4250 truncate_pagecache() although it should have been shifted.
4251
4252 Fix the problem by moving filemap_write_and_wait_range() call inside
4253 i_mutex and i_mmap_sem. That way we are protected against races with
4254 both buffered writes and page faults.
4255
4256 Signed-off-by: Jan Kara <jack@suse.com>
4257 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
4258
4259 fs/ext4/extents.c | 59 +++++++++++++++++++++++++++++--------------------------
4260 1 file changed, 31 insertions(+), 28 deletions(-)
4261
4262 commit b1ae49aa4dad39233b16456e0765a23ba4e0546c
4263 Author: Jan Kara <jack@suse.com>
4264 Date: Mon Dec 7 14:29:17 2015 -0500
4265
4266 ext4: move unlocked dio protection from ext4_alloc_file_blocks()
4267
4268 Currently ext4_alloc_file_blocks() was handling protection against
4269 unlocked DIO. However we now need to sometimes call it under i_mmap_sem
4270 and sometimes not and DIO protection ranks above it (although strictly
4271 speaking this cannot currently create any deadlocks). Also
4272 ext4_zero_range() was actually getting & releasing unlocked DIO
4273 protection twice in some cases. Luckily it didn't introduce any real bug
4274 but it was a land mine waiting to be stepped on. So move DIO protection
4275 out from ext4_alloc_file_blocks() into the two callsites.
4276
4277 Signed-off-by: Jan Kara <jack@suse.com>
4278 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
4279
4280 fs/ext4/extents.c | 21 ++++++++++-----------
4281 1 file changed, 10 insertions(+), 11 deletions(-)
4282
4283 commit f9329a4ec30a26f0fababf809c5f1a3ef851b625
4284 Author: Jan Kara <jack@suse.com>
4285 Date: Mon Dec 7 14:28:03 2015 -0500
4286
4287 ext4: fix races between page faults and hole punching
4288
4289 Currently, page faults and hole punching are completely unsynchronized.
4290 This can result in page fault faulting in a page into a range that we
4291 are punching after truncate_pagecache_range() has been called and thus
4292 we can end up with a page mapped to disk blocks that will be shortly
4293 freed. Filesystem corruption will shortly follow. Note that the same
4294 race is avoided for truncate by checking page fault offset against
4295 i_size but there isn't similar mechanism available for punching holes.
4296
4297 Fix the problem by creating new rw semaphore i_mmap_sem in inode and
4298 grab it for writing over truncate, hole punching, and other functions
4299 removing blocks from extent tree and for read over page faults. We
4300 cannot easily use i_data_sem for this since that ranks below transaction
4301 start and we need something ranking above it so that it can be held over
4302 the whole truncate / hole punching operation. Also remove various
4303 workarounds we had in the code to reduce race window when page fault
4304 could have created pages with stale mapping information.
4305
4306 Signed-off-by: Jan Kara <jack@suse.com>
4307 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
4308
4309 fs/ext4/ext4.h | 10 +++++++++
4310 fs/ext4/extents.c | 54 ++++++++++++++++++++++++--------------------
4311 fs/ext4/file.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++--------
4312 fs/ext4/inode.c | 36 +++++++++++++++++++++--------
4313 fs/ext4/super.c | 1 +
4314 fs/ext4/truncate.h | 2 ++
4315 6 files changed, 127 insertions(+), 42 deletions(-)
4316
4317 commit 572a615b85c1d5c8aeea4ffd24ab428775a1cca9
4318 Author: Guenter Roeck <linux@roeck-us.net>
4319 Date: Sat Mar 26 12:28:05 2016 -0700
4320
4321 hwmon: (max1111) Return -ENODEV from max1111_read_channel if not instantiated
4322
4323 arm:pxa_defconfig can result in the following crash if the max1111 driver
4324 is not instantiated.
4325
4326 Unhandled fault: page domain fault (0x01b) at 0x00000000
4327 pgd = c0004000
4328 [00000000] *pgd=00000000
4329 Internal error: : 1b [#1] PREEMPT ARM
4330 Modules linked in:
4331 CPU: 0 PID: 300 Comm: kworker/0:1 Not tainted 4.5.0-01301-g1701f680407c #10
4332 Hardware name: SHARP Akita
4333 Workqueue: events sharpsl_charge_toggle
4334 task: c390a000 ti: c391e000 task.ti: c391e000
4335 PC is at max1111_read_channel+0x20/0x30
4336 LR is at sharpsl_pm_pxa_read_max1111+0x2c/0x3c
4337 pc : [<c03aaab0>] lr : [<c0024b50>] psr: 20000013
4338 ...
4339 [<c03aaab0>] (max1111_read_channel) from [<c0024b50>]
4340 (sharpsl_pm_pxa_read_max1111+0x2c/0x3c)
4341 [<c0024b50>] (sharpsl_pm_pxa_read_max1111) from [<c00262e0>]
4342 (spitzpm_read_devdata+0x5c/0xc4)
4343 [<c00262e0>] (spitzpm_read_devdata) from [<c0024094>]
4344 (sharpsl_check_battery_temp+0x78/0x110)
4345 [<c0024094>] (sharpsl_check_battery_temp) from [<c0024f9c>]
4346 (sharpsl_charge_toggle+0x48/0x110)
4347 [<c0024f9c>] (sharpsl_charge_toggle) from [<c004429c>]
4348 (process_one_work+0x14c/0x48c)
4349 [<c004429c>] (process_one_work) from [<c0044618>] (worker_thread+0x3c/0x5d4)
4350 [<c0044618>] (worker_thread) from [<c004a238>] (kthread+0xd0/0xec)
4351 [<c004a238>] (kthread) from [<c000a670>] (ret_from_fork+0x14/0x24)
4352
4353 This can occur because the SPI controller driver (SPI_PXA2XX) is built as
4354 module and thus not necessarily loaded. While building SPI_PXA2XX into the
4355 kernel would make the problem disappear, it appears prudent to ensure that
4356 the driver is instantiated before accessing its data structures.
4357
4358 Cc: Arnd Bergmann <arnd@arndb.de>
4359 Cc: stable@vger.kernel.org
4360 Signed-off-by: Guenter Roeck <linux@roeck-us.net>
4361
4362 drivers/hwmon/max1111.c | 6 ++++++
4363 1 file changed, 6 insertions(+)
4364
4365 commit f75f1af7a0b4be055855ca5120ee78174f3370f2
4366 Author: Nicolai Stange <nicstange@gmail.com>
4367 Date: Sun Mar 20 23:23:46 2016 +0100
4368
4369 PKCS#7: pkcs7_validate_trust(): initialize the _trusted output argument
4370
4371 Despite what the DocBook comment to pkcs7_validate_trust() says, the
4372 *_trusted argument is never set to false.
4373
4374 pkcs7_validate_trust() only positively sets *_trusted upon encountering
4375 a trusted PKCS#7 SignedInfo block.
4376
4377 This is quite unfortunate since its callers, system_verify_data() for
4378 example, depend on pkcs7_validate_trust() clearing *_trusted on non-trust.
4379
4380 Indeed, UBSAN splats when attempting to load the uninitialized local
4381 variable 'trusted' from system_verify_data() in pkcs7_validate_trust():
4382
4383 UBSAN: Undefined behaviour in crypto/asymmetric_keys/pkcs7_trust.c:194:14
4384 load of value 82 is not a valid value for type '_Bool'
4385 [...]
4386 Call Trace:
4387 [<ffffffff818c4d35>] dump_stack+0xbc/0x117
4388 [<ffffffff818c4c79>] ? _atomic_dec_and_lock+0x169/0x169
4389 [<ffffffff8194113b>] ubsan_epilogue+0xd/0x4e
4390 [<ffffffff819419fa>] __ubsan_handle_load_invalid_value+0x111/0x158
4391 [<ffffffff819418e9>] ? val_to_string.constprop.12+0xcf/0xcf
4392 [<ffffffff818334a4>] ? x509_request_asymmetric_key+0x114/0x370
4393 [<ffffffff814b83f0>] ? kfree+0x220/0x370
4394 [<ffffffff818312c2>] ? public_key_verify_signature_2+0x32/0x50
4395 [<ffffffff81835e04>] pkcs7_validate_trust+0x524/0x5f0
4396 [<ffffffff813c391a>] system_verify_data+0xca/0x170
4397 [<ffffffff813c3850>] ? top_trace_array+0x9b/0x9b
4398 [<ffffffff81510b29>] ? __vfs_read+0x279/0x3d0
4399 [<ffffffff8129372f>] mod_verify_sig+0x1ff/0x290
4400 [...]
4401
4402 The implication is that pkcs7_validate_trust() effectively grants trust
4403 when it really shouldn't have.
4404
4405 Fix this by explicitly setting *_trusted to false at the very beginning
4406 of pkcs7_validate_trust().
4407
4408 Cc: <stable@vger.kernel.org>
4409 Signed-off-by: Nicolai Stange <nicstange@gmail.com>
4410 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
4411
4412 crypto/asymmetric_keys/pkcs7_trust.c | 2 ++
4413 1 file changed, 2 insertions(+)
4414
4415 commit 1052826f7352ccc98167129b0b83222f45d50046
4416 Author: Florian Westphal <fw@strlen.de>
4417 Date: Tue Mar 22 18:02:49 2016 +0100
4418
4419 netfilter: x_tables: validate e->target_offset early
4420
4421 We should check that e->target_offset is sane before
4422 mark_source_chains gets called since it will fetch the target entry
4423 for loop detection.
4424
4425 Signed-off-by: Florian Westphal <fw@strlen.de>
4426 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
4427
4428 net/ipv4/netfilter/arp_tables.c | 17 ++++++++---------
4429 net/ipv4/netfilter/ip_tables.c | 17 ++++++++---------
4430 net/ipv6/netfilter/ip6_tables.c | 17 ++++++++---------
4431 3 files changed, 24 insertions(+), 27 deletions(-)
4432
4433 commit b35d19509e8dab157214e46dd24314663ccf554f
4434 Author: Florian Westphal <fw@strlen.de>
4435 Date: Tue Mar 22 18:02:50 2016 +0100
4436
4437 netfilter: x_tables: make sure e->next_offset covers remaining blob size
4438
4439 Otherwise this function may read data beyond the ruleset blob.
4440
4441 Signed-off-by: Florian Westphal <fw@strlen.de>
4442 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
4443
4444 net/ipv4/netfilter/arp_tables.c | 6 ++++--
4445 net/ipv4/netfilter/ip_tables.c | 6 ++++--
4446 net/ipv6/netfilter/ip6_tables.c | 6 ++++--
4447 3 files changed, 12 insertions(+), 6 deletions(-)
4448
4449 commit 4d7642ed66b69140733a7b51fcd6d37ce4d4514c
4450 Author: Florian Westphal <fw@strlen.de>
4451 Date: Tue Mar 22 18:02:52 2016 +0100
4452
4453 netfilter: x_tables: fix unconditional helper
4454
4455 Ben Hawkes says:
4456
4457 In the mark_source_chains function (net/ipv4/netfilter/ip_tables.c) it
4458 is possible for a user-supplied ipt_entry structure to have a large
4459 next_offset field. This field is not bounds checked prior to writing a
4460 counter value at the supplied offset.
4461
4462 Problem is that mark_source_chains should not have been called --
4463 the rule doesn't have a next entry, so its supposed to return
4464 an absolute verdict of either ACCEPT or DROP.
4465
4466 However, the function conditional() doesn't work as the name implies.
4467 It only checks that the rule is using wildcard address matching.
4468
4469 However, an unconditional rule must also not be using any matches
4470 (no -m args).
4471
4472 The underflow validator only checked the addresses, therefore
4473 passing the 'unconditional absolute verdict' test, while
4474 mark_source_chains also tested for presence of matches, and thus
4475 proceeeded to the next (not-existent) rule.
4476
4477 Unify this so that all the callers have same idea of 'unconditional rule'.
4478
4479 Reported-by: Ben Hawkes <hawkes@google.com>
4480 Signed-off-by: Florian Westphal <fw@strlen.de>
4481 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
4482
4483 net/ipv4/netfilter/arp_tables.c | 18 +++++++++---------
4484 net/ipv4/netfilter/ip_tables.c | 23 +++++++++++------------
4485 net/ipv6/netfilter/ip6_tables.c | 23 +++++++++++------------
4486 3 files changed, 31 insertions(+), 33 deletions(-)
4487
4488 commit e3e51682563f1453dfc4b9ef88b29af4d1a78e78
4489 Author: Pablo Neira Ayuso <pablo@netfilter.org>
4490 Date: Thu Mar 24 21:29:53 2016 +0100
4491
4492 netfilter: x_tables: enforce nul-terminated table name from getsockopt GET_ENTRIES
4493
4494 Make sure the table names via getsockopt GET_ENTRIES is nul-terminated
4495 in ebtables and all the x_tables variants and their respective compat
4496 code. Uncovered by KASAN.
4497
4498 Reported-by: Baozeng Ding <sploving1@gmail.com>
4499 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
4500
4501 net/bridge/netfilter/ebtables.c | 4 ++++
4502 net/ipv4/netfilter/arp_tables.c | 2 ++
4503 net/ipv4/netfilter/ip_tables.c | 2 ++
4504 net/ipv6/netfilter/ip6_tables.c | 2 ++
4505 4 files changed, 10 insertions(+)
4506
4507 commit 7742471b674597627f8f608f6a89c6e5bbd6533d
4508 Author: Nicolai Stange <nicstange@gmail.com>
4509 Date: Fri Mar 25 14:22:14 2016 -0700
4510
4511 mm/filemap: generic_file_read_iter(): check for zero reads unconditionally
4512
4513 If
4514 - generic_file_read_iter() gets called with a zero read length,
4515 - the read offset is at a page boundary,
4516 - IOCB_DIRECT is not set
4517 - and the page in question hasn't made it into the page cache yet,
4518 then do_generic_file_read() will trigger a readahead with a req_size hint
4519 of zero.
4520
4521 Since roundup_pow_of_two(0) is undefined, UBSAN reports
4522
4523 UBSAN: Undefined behaviour in include/linux/log2.h:63:13
4524 shift exponent 64 is too large for 64-bit type 'long unsigned int'
4525 CPU: 3 PID: 1017 Comm: sa1 Tainted: G L 4.5.0-next-20160318+ #14
4526 [...]
4527 Call Trace:
4528 [...]
4529 [<ffffffff813ef61a>] ondemand_readahead+0x3aa/0x3d0
4530 [<ffffffff813ef61a>] ? ondemand_readahead+0x3aa/0x3d0
4531 [<ffffffff813c73bd>] ? find_get_entry+0x2d/0x210
4532 [<ffffffff813ef9c3>] page_cache_sync_readahead+0x63/0xa0
4533 [<ffffffff813cc04d>] do_generic_file_read+0x80d/0xf90
4534 [<ffffffff813cc955>] generic_file_read_iter+0x185/0x420
4535 [...]
4536 [<ffffffff81510b06>] __vfs_read+0x256/0x3d0
4537 [...]
4538
4539 when get_init_ra_size() gets called from ondemand_readahead().
4540
4541 The net effect is that the initial readahead size is arch dependent for
4542 requested read lengths of zero: for example, since
4543
4544 1UL << (sizeof(unsigned long) * 8)
4545
4546 evaluates to 1 on x86 while its result is 0 on ARMv7, the initial readahead
4547 size becomes 4 on the former and 0 on the latter.
4548
4549 What's more, whether or not the file access timestamp is updated for zero
4550 length reads is decided differently for the two cases of IOCB_DIRECT
4551 being set or cleared: in the first case, generic_file_read_iter()
4552 explicitly skips updating that timestamp while in the latter case, it is
4553 always updated through the call to do_generic_file_read().
4554
4555 According to POSIX, zero length reads "do not modify the last data access
4556 timestamp" and thus, the IOCB_DIRECT behaviour is POSIXly correct.
4557
4558 Let generic_file_read_iter() unconditionally check the requested read
4559 length at its entry and return immediately with success if it is zero.
4560
4561 Signed-off-by: Nicolai Stange <nicstange@gmail.com>
4562 Cc: Al Viro <viro@zeniv.linux.org.uk>
4563 Reviewed-by: Jan Kara <jack@suse.cz>
4564 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
4565 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
4566
4567 mm/filemap.c | 7 ++++---
4568 1 file changed, 4 insertions(+), 3 deletions(-)
4569
4570 commit 604785419da498d7e876a0191b2e11626db706bb
4571 Author: Oliver Neukum <oneukum@suse.com>
4572 Date: Thu Mar 17 14:00:17 2016 -0700
4573
4574 Input: ims-pcu - sanity check against missing interfaces
4575
4576 A malicious device missing interface can make the driver oops.
4577 Add sanity checking.
4578
4579 Signed-off-by: Oliver Neukum <ONeukum@suse.com>
4580 CC: stable@vger.kernel.org
4581 Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
4582
4583 drivers/input/misc/ims-pcu.c | 4 ++++
4584 1 file changed, 4 insertions(+)
4585
4586 commit 24c3f4f6652f07eb2c3deea1488ff4de00592e80
4587 Author: Vladis Dronov <vdronov@redhat.com>
4588 Date: Wed Mar 23 11:53:46 2016 -0700
4589
4590 Input: ati_remote2 - fix crashes on detecting device with invalid descriptor
4591
4592 The ati_remote2 driver expects at least two interfaces with one
4593 endpoint each. If given malicious descriptor that specify one
4594 interface or no endpoints, it will crash in the probe function.
4595 Ensure there is at least two interfaces and one endpoint for each
4596 interface before using it.
4597
4598 The full disclosure: http://seclists.org/bugtraq/2016/Mar/90
4599
4600 Reported-by: Ralf Spenneberg <ralf@spenneberg.net>
4601 Signed-off-by: Vladis Dronov <vdronov@redhat.com>
4602 Cc: stable@vger.kernel.org
4603 Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
4604
4605 drivers/input/misc/ati_remote2.c | 36 ++++++++++++++++++++++++++++++------
4606 1 file changed, 30 insertions(+), 6 deletions(-)
4607
4608 commit 262df604d00e72a4b930fbf7fe3a770f0196a5a5
4609 Author: Oliver Neukum <oneukum@suse.com>
4610 Date: Wed Mar 23 14:36:56 2016 -0700
4611
4612 Input: sur40 - fix DMA on stack
4613
4614 During the initialisation the driver uses a buffer on the stack for DMA.
4615 That violates the cache coherency rules. The fix is to allocate the buffer
4616 with kmalloc().
4617
4618 Signed-off-by: Oliver Neukum <ONeukum@suse.com>
4619 Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
4620
4621 drivers/input/touchscreen/sur40.c | 21 ++++++++++++++-------
4622 1 file changed, 14 insertions(+), 7 deletions(-)
4623
4624 commit 015dd03669b2ab646723f6b123377e4ef5694a10
4625 Author: Haiyang Zhang <haiyangz@microsoft.com>
4626 Date: Wed Mar 23 09:43:10 2016 -0700
4627
4628 hv_netvsc: Fix the array sizes to be max supported channels
4629
4630 The VRSS_CHANNEL_MAX is the max number of channels supported by Hyper-V
4631 hosts. We use it for the related array sizes instead of using NR_CPUS,
4632 which may be set to several thousands.
4633 This patch reduces possible memory allocation failures.
4634
4635 Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
4636 Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
4637 Signed-off-by: David S. Miller <davem@davemloft.net>
4638
4639 drivers/net/hyperv/hyperv_net.h | 7 ++++---
4640 drivers/net/hyperv/rndis_filter.c | 4 ++--
4641 2 files changed, 6 insertions(+), 5 deletions(-)
4642
4643 commit a850a78d6393ef22a970266cbbefdf3dba0267b5
4644 Author: Haiyang Zhang <haiyangz@microsoft.com>
4645 Date: Wed Mar 23 09:43:09 2016 -0700
4646
4647 hv_netvsc: Fix accessing freed memory in netvsc_change_mtu()
4648
4649 struct netvsc_device is freed in rndis_filter_device_remove(). So we save
4650 the nvdev->num_chn into a temp variable for later usage.
4651
4652 (Please also include this patch into stable branch.)
4653
4654 Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
4655 Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
4656 Signed-off-by: David S. Miller <davem@davemloft.net>
4657
4658 drivers/net/hyperv/netvsc_drv.c | 5 ++++-
4659 1 file changed, 4 insertions(+), 1 deletion(-)
4660
4661 commit 7409626e43fe871cede30ac926425938f3ccddaf
4662 Author: Guillaume Nault <g.nault@alphalink.fr>
4663 Date: Wed Mar 23 16:38:55 2016 +0100
4664
4665 ppp: take reference on channels netns
4666
4667 Let channels hold a reference on their network namespace.
4668 Some channel types, like ppp_async and ppp_synctty, can have their
4669 userspace controller running in a different namespace. Therefore they
4670 can't rely on them to preclude their netns from being removed from
4671 under them.
4672
4673 ==================================================================
4674 BUG: KASAN: use-after-free in ppp_unregister_channel+0x372/0x3a0 at
4675 addr ffff880064e217e0
4676 Read of size 8 by task syz-executor/11581
4677 =============================================================================
4678 BUG net_namespace (Not tainted): kasan: bad access detected
4679 -----------------------------------------------------------------------------
4680
4681 Disabling lock debugging due to kernel taint
4682 INFO: Allocated in copy_net_ns+0x6b/0x1a0 age=92569 cpu=3 pid=6906
4683 [< none >] ___slab_alloc+0x4c7/0x500 kernel/mm/slub.c:2440
4684 [< none >] __slab_alloc+0x4c/0x90 kernel/mm/slub.c:2469
4685 [< inline >] slab_alloc_node kernel/mm/slub.c:2532
4686 [< inline >] slab_alloc kernel/mm/slub.c:2574
4687 [< none >] kmem_cache_alloc+0x23a/0x2b0 kernel/mm/slub.c:2579
4688 [< inline >] kmem_cache_zalloc kernel/include/linux/slab.h:597
4689 [< inline >] net_alloc kernel/net/core/net_namespace.c:325
4690 [< none >] copy_net_ns+0x6b/0x1a0 kernel/net/core/net_namespace.c:360
4691 [< none >] create_new_namespaces+0x2f6/0x610 kernel/kernel/nsproxy.c:95
4692 [< none >] copy_namespaces+0x297/0x320 kernel/kernel/nsproxy.c:150
4693 [< none >] copy_process.part.35+0x1bf4/0x5760 kernel/kernel/fork.c:1451
4694 [< inline >] copy_process kernel/kernel/fork.c:1274
4695 [< none >] _do_fork+0x1bc/0xcb0 kernel/kernel/fork.c:1723
4696 [< inline >] SYSC_clone kernel/kernel/fork.c:1832
4697 [< none >] SyS_clone+0x37/0x50 kernel/kernel/fork.c:1826
4698 [< none >] entry_SYSCALL_64_fastpath+0x16/0x7a kernel/arch/x86/entry/entry_64.S:185
4699
4700 INFO: Freed in net_drop_ns+0x67/0x80 age=575 cpu=2 pid=2631
4701 [< none >] __slab_free+0x1fc/0x320 kernel/mm/slub.c:2650
4702 [< inline >] slab_free kernel/mm/slub.c:2805
4703 [< none >] kmem_cache_free+0x2a0/0x330 kernel/mm/slub.c:2814
4704 [< inline >] net_free kernel/net/core/net_namespace.c:341
4705 [< none >] net_drop_ns+0x67/0x80 kernel/net/core/net_namespace.c:348
4706 [< none >] cleanup_net+0x4e5/0x600 kernel/net/core/net_namespace.c:448
4707 [< none >] process_one_work+0x794/0x1440 kernel/kernel/workqueue.c:2036
4708 [< none >] worker_thread+0xdb/0xfc0 kernel/kernel/workqueue.c:2170
4709 [< none >] kthread+0x23f/0x2d0 kernel/drivers/block/aoe/aoecmd.c:1303
4710 [< none >] ret_from_fork+0x3f/0x70 kernel/arch/x86/entry/entry_64.S:468
4711 INFO: Slab 0xffffea0001938800 objects=3 used=0 fp=0xffff880064e20000
4712 flags=0x5fffc0000004080
4713 INFO: Object 0xffff880064e20000 @offset=0 fp=0xffff880064e24200
4714
4715 CPU: 1 PID: 11581 Comm: syz-executor Tainted: G B 4.4.0+
4716 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
4717 rel-1.8.2-0-g33fbe13 by qemu-project.org 04/01/2014
4718 00000000ffffffff ffff8800662c7790 ffffffff8292049d ffff88003e36a300
4719 ffff880064e20000 ffff880064e20000 ffff8800662c77c0 ffffffff816f2054
4720 ffff88003e36a300 ffffea0001938800 ffff880064e20000 0000000000000000
4721 Call Trace:
4722 [< inline >] __dump_stack kernel/lib/dump_stack.c:15
4723 [<ffffffff8292049d>] dump_stack+0x6f/0xa2 kernel/lib/dump_stack.c:50
4724 [<ffffffff816f2054>] print_trailer+0xf4/0x150 kernel/mm/slub.c:654
4725 [<ffffffff816f875f>] object_err+0x2f/0x40 kernel/mm/slub.c:661
4726 [< inline >] print_address_description kernel/mm/kasan/report.c:138
4727 [<ffffffff816fb0c5>] kasan_report_error+0x215/0x530 kernel/mm/kasan/report.c:236
4728 [< inline >] kasan_report kernel/mm/kasan/report.c:259
4729 [<ffffffff816fb4de>] __asan_report_load8_noabort+0x3e/0x40 kernel/mm/kasan/report.c:280
4730 [< inline >] ? ppp_pernet kernel/include/linux/compiler.h:218
4731 [<ffffffff83ad71b2>] ? ppp_unregister_channel+0x372/0x3a0 kernel/drivers/net/ppp/ppp_generic.c:2392
4732 [< inline >] ppp_pernet kernel/include/linux/compiler.h:218
4733 [<ffffffff83ad71b2>] ppp_unregister_channel+0x372/0x3a0 kernel/drivers/net/ppp/ppp_generic.c:2392
4734 [< inline >] ? ppp_pernet kernel/drivers/net/ppp/ppp_generic.c:293
4735 [<ffffffff83ad6f26>] ? ppp_unregister_channel+0xe6/0x3a0 kernel/drivers/net/ppp/ppp_generic.c:2392
4736 [<ffffffff83ae18f3>] ppp_asynctty_close+0xa3/0x130 kernel/drivers/net/ppp/ppp_async.c:241
4737 [<ffffffff83ae1850>] ? async_lcp_peek+0x5b0/0x5b0 kernel/drivers/net/ppp/ppp_async.c:1000
4738 [<ffffffff82c33239>] tty_ldisc_close.isra.1+0x99/0xe0 kernel/drivers/tty/tty_ldisc.c:478
4739 [<ffffffff82c332c0>] tty_ldisc_kill+0x40/0x170 kernel/drivers/tty/tty_ldisc.c:744
4740 [<ffffffff82c34943>] tty_ldisc_release+0x1b3/0x260 kernel/drivers/tty/tty_ldisc.c:772
4741 [<ffffffff82c1ef21>] tty_release+0xac1/0x13e0 kernel/drivers/tty/tty_io.c:1901
4742 [<ffffffff82c1e460>] ? release_tty+0x320/0x320 kernel/drivers/tty/tty_io.c:1688
4743 [<ffffffff8174de36>] __fput+0x236/0x780 kernel/fs/file_table.c:208
4744 [<ffffffff8174e405>] ____fput+0x15/0x20 kernel/fs/file_table.c:244
4745 [<ffffffff813595ab>] task_work_run+0x16b/0x200 kernel/kernel/task_work.c:115
4746 [< inline >] exit_task_work kernel/include/linux/task_work.h:21
4747 [<ffffffff81307105>] do_exit+0x8b5/0x2c60 kernel/kernel/exit.c:750
4748 [<ffffffff813fdd20>] ? debug_check_no_locks_freed+0x290/0x290 kernel/kernel/locking/lockdep.c:4123
4749 [<ffffffff81306850>] ? mm_update_next_owner+0x6f0/0x6f0 kernel/kernel/exit.c:357
4750 [<ffffffff813215e6>] ? __dequeue_signal+0x136/0x470 kernel/kernel/signal.c:550
4751 [<ffffffff8132067b>] ? recalc_sigpending_tsk+0x13b/0x180 kernel/kernel/signal.c:145
4752 [<ffffffff81309628>] do_group_exit+0x108/0x330 kernel/kernel/exit.c:880
4753 [<ffffffff8132b9d4>] get_signal+0x5e4/0x14f0 kernel/kernel/signal.c:2307
4754 [< inline >] ? kretprobe_table_lock kernel/kernel/kprobes.c:1113
4755 [<ffffffff8151d355>] ? kprobe_flush_task+0xb5/0x450 kernel/kernel/kprobes.c:1158
4756 [<ffffffff8115f7d3>] do_signal+0x83/0x1c90 kernel/arch/x86/kernel/signal.c:712
4757 [<ffffffff8151d2a0>] ? recycle_rp_inst+0x310/0x310 kernel/include/linux/list.h:655
4758 [<ffffffff8115f750>] ? setup_sigcontext+0x780/0x780 kernel/arch/x86/kernel/signal.c:165
4759 [<ffffffff81380864>] ? finish_task_switch+0x424/0x5f0 kernel/kernel/sched/core.c:2692
4760 [< inline >] ? finish_lock_switch kernel/kernel/sched/sched.h:1099
4761 [<ffffffff81380560>] ? finish_task_switch+0x120/0x5f0 kernel/kernel/sched/core.c:2678
4762 [< inline >] ? context_switch kernel/kernel/sched/core.c:2807
4763 [<ffffffff85d794e9>] ? __schedule+0x919/0x1bd0 kernel/kernel/sched/core.c:3283
4764 [<ffffffff81003901>] exit_to_usermode_loop+0xf1/0x1a0 kernel/arch/x86/entry/common.c:247
4765 [< inline >] prepare_exit_to_usermode kernel/arch/x86/entry/common.c:282
4766 [<ffffffff810062ef>] syscall_return_slowpath+0x19f/0x210 kernel/arch/x86/entry/common.c:344
4767 [<ffffffff85d88022>] int_ret_from_sys_call+0x25/0x9f kernel/arch/x86/entry/entry_64.S:281
4768 Memory state around the buggy address:
4769 ffff880064e21680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
4770 ffff880064e21700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
4771 >ffff880064e21780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
4772 ^
4773 ffff880064e21800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
4774 ffff880064e21880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
4775 ==================================================================
4776
4777 Fixes: 273ec51dd7ce ("net: ppp_generic - introduce net-namespace functionality v2")
4778 Reported-by: Baozeng Ding <sploving1@gmail.com>
4779 Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
4780 Reviewed-by: Cyrill Gorcunov <gorcunov@openvz.org>
4781 Signed-off-by: David S. Miller <davem@davemloft.net>
4782
4783 drivers/net/ppp/ppp_generic.c | 4 +++-
4784 1 file changed, 3 insertions(+), 1 deletion(-)
4785
4786 commit bfb890c1ac9d29b377f6bec4a5aab51d053114c4
4787 Author: Herbert Xu <herbert@gondor.apana.org.au>
4788 Date: Wed Mar 16 17:06:01 2016 +0800
4789
4790 eCryptfs: Use skcipher and shash
4791
4792 eCryptfs: Fix null pointer dereference on kzalloc error path
4793
4794 The conversion to skcipher and shash added a couple of null pointer
4795 dereference bugs on the kzalloc failure path. This patch fixes them.
4796
4797 Fixes: 3095e8e366b4 ("eCryptfs: Use skcipher and shash")
4798 Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
4799 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
4800
4801 fs/ecryptfs/keystore.c | 6 ++----
4802 1 file changed, 2 insertions(+), 4 deletions(-)
4803
4804 commit 58a8421ae537e0609c4ff59bf6b11be869a43cc6
4805 Author: Boris BREZILLON <boris.brezillon@free-electrons.com>
4806 Date: Thu Mar 17 10:21:34 2016 +0100
4807
4808 crypto: marvell/cesa - fix memory leak
4809
4810 Crypto requests are not guaranteed to be finalized (->final() call),
4811 and can be freed at any moment, without getting any notification from
4812 the core. This can lead to memory leaks of the ->cache buffer.
4813
4814 Make this buffer part of the request object, and allocate an extra buffer
4815 from the DMA cache pool when doing DMA operations.
4816
4817 As a side effect, this patch also fixes another bug related to cache
4818 allocation and DMA operations. When the core allocates a new request and
4819 import an existing state, a cache buffer can be allocated (depending
4820 on the state). The problem is, at that very moment, we don't know yet
4821 whether the request will use DMA or not, and since everything is
4822 likely to be initialized to zero, mv_cesa_ahash_alloc_cache() thinks it
4823 should allocate a buffer for standard operation. But when
4824 mv_cesa_ahash_free_cache() is called, req->type has been set to
4825 CESA_DMA_REQ in the meantime, thus leading to an invalind dma_pool_free()
4826 call (the buffer passed in argument has not been allocated from the pool).
4827
4828 Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
4829 Reported-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
4830 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
4831
4832 drivers/crypto/marvell/cesa.h | 3 +-
4833 drivers/crypto/marvell/hash.c | 86 +++++++++----------------------------------
4834 2 files changed, 20 insertions(+), 69 deletions(-)
4835
4836 commit 1ec604f99895b9c37f26a692ff83a7da02d667fd
4837 Author: Boris BREZILLON <boris.brezillon@free-electrons.com>
4838 Date: Thu Mar 17 10:21:35 2016 +0100
4839
4840 crypto: marvell/cesa - initialize hash states
4841
4842 ->export() might be called before we have done an update operation,
4843 and in this case the ->state field is left uninitialized.
4844 Put the correct default value when initializing the request.
4845
4846 Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
4847 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
4848
4849 drivers/crypto/marvell/hash.c | 20 ++++++++++++++++++++
4850 1 file changed, 20 insertions(+)
4851
4852 commit 23879f055d23e82c2f78cceca22c33e631973977
4853 Author: David S. Miller <davem@davemloft.net>
4854 Date: Sun Mar 13 23:28:00 2016 -0400
4855
4856 ipv4: Don't do expensive useless work during inetdev destroy.
4857
4858 When an inetdev is destroyed, every address assigned to the interface
4859 is removed. And in this scenerio we do two pointless things which can
4860 be very expensive if the number of assigned interfaces is large:
4861
4862 1) Address promotion. We are deleting all addresses, so there is no
4863 point in doing this.
4864
4865 2) A full nf conntrack table purge for every address. We only need to
4866 do this once, as is already caught by the existing
4867 masq_dev_notifier so masq_inet_event() can skip this.
4868
4869 Reported-by: Solar Designer <solar@openwall.com>
4870 Signed-off-by: David S. Miller <davem@davemloft.net>
4871 Tested-by: Cyrill Gorcunov <gorcunov@openvz.org>
4872
4873 net/ipv4/devinet.c | 4 ++++
4874 net/ipv4/fib_frontend.c | 4 ++++
4875 net/ipv4/netfilter/nf_nat_masquerade_ipv4.c | 12 ++++++++++--
4876 3 files changed, 18 insertions(+), 2 deletions(-)
4877
4878 commit 60394231e840e884024592a76a6c5612433d3756
4879 Author: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
4880 Date: Tue Mar 8 10:34:28 2016 -0300
4881
4882 sctp: fix copying more bytes than expected in sctp_add_bind_addr
4883
4884 Dmitry reported that sctp_add_bind_addr may read more bytes than
4885 expected in case the parameter is a IPv4 addr supplied by the user
4886 through calls such as sctp_bindx_add(), because it always copies
4887 sizeof(union sctp_addr) while the buffer may be just a struct
4888 sockaddr_in, which is smaller.
4889
4890 This patch then fixes it by limiting the memcpy to the min between the
4891 union size and a (new parameter) provided addr size. Where possible this
4892 parameter still is the size of that union, except for reading from
4893 user-provided buffers, which then it accounts for protocol type.
4894
4895 Reported-by: Dmitry Vyukov <dvyukov@google.com>
4896 Tested-by: Dmitry Vyukov <dvyukov@google.com>
4897 Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
4898 Signed-off-by: David S. Miller <davem@davemloft.net>
4899
4900 include/net/sctp/structs.h | 2 +-
4901 net/sctp/bind_addr.c | 14 ++++++++------
4902 net/sctp/protocol.c | 1 +
4903 net/sctp/sm_make_chunk.c | 3 ++-
4904 net/sctp/socket.c | 4 +++-
4905 5 files changed, 15 insertions(+), 9 deletions(-)
4906
4907 commit 9831caa50e1453818c5ec618890291f028b7992f
4908 Author: Brad Spengler <spender@grsecurity.net>
4909 Date: Mon Mar 28 19:20:28 2016 -0400
4910
4911 Also allow /bin/false as needed by systemd
4912
4913 kernel/kmod.c | 2 +-
4914 1 file changed, 1 insertion(+), 1 deletion(-)
4915
4916 commit bb38a61b496a3f09f4d7b93d2f0fe15476918147
4917 Author: Brad Spengler <spender@grsecurity.net>
4918 Date: Tue Mar 22 16:59:43 2016 -0400
4919
4920 Fix size_overflow FP reported by marcan at:
4921 https://forums.grsecurity.net/viewtopic.php?f=3&t=4426
4922
4923 net/ipv6/xfrm6_mode_transport.c | 2 +-
4924 1 file changed, 1 insertion(+), 1 deletion(-)
4925
4926 commit 523a36a9c845da3051e58c6767c2e1a0f640998a
4927 Merge: 0d0ec9e c0b77a7
4928 Author: Brad Spengler <spender@grsecurity.net>
4929 Date: Wed Mar 16 20:20:40 2016 -0400
4930
4931 Merge branch 'pax-test' into grsec-test
4932
4933 commit c0b77a7cb578199f0b7dc90768a13ca6c044aba9
4934 Merge: 10d57c1 0d19123
4935 Author: Brad Spengler <spender@grsecurity.net>
4936 Date: Wed Mar 16 20:20:27 2016 -0400
4937
4938 Merge branch 'linux-4.4.y' into pax-test
4939
4940 commit 0d0ec9ee83144ab839710a01cfd746bd78257394
4941 Author: Brad Spengler <spender@grsecurity.net>
4942 Date: Mon Mar 14 20:15:47 2016 -0400
4943
4944 Invert logic to clean up code
4945
4946 fs/namei.c | 32 +++++++-------------------------
4947 grsecurity/grsec_chroot.c | 10 +++++-----
4948 2 files changed, 12 insertions(+), 30 deletions(-)
4949
4950 commit 39e0e623c84863af7b3ace759b583ff938fde2b7
4951 Author: Brad Spengler <spender@grsecurity.net>
4952 Date: Mon Mar 14 19:59:36 2016 -0400
4953
4954 compile fix
4955
4956 fs/namei.c | 5 ++---
4957 1 file changed, 2 insertions(+), 3 deletions(-)
4958
4959 commit 2b3ad8bc095fea829275b7fcc7e5671677b8ed33
4960 Author: Brad Spengler <spender@grsecurity.net>
4961 Date: Mon Mar 14 19:57:53 2016 -0400
4962
4963 Also handle renames
4964
4965 fs/namei.c | 9 +++++++++
4966 1 file changed, 9 insertions(+)
4967
4968 commit 54dfd13b19743d4a340de0cd5683b5bde44e7d9c
4969 Author: Brad Spengler <spender@grsecurity.net>
4970 Date: Mon Mar 14 19:45:56 2016 -0400
4971
4972 Add additional check to cover lookup family of functions
4973
4974 fs/namei.c | 9 +++++++++
4975 1 file changed, 9 insertions(+)
4976
4977 commit c3df846baa7873fb99401136f220676b87452918
4978 Author: Brad Spengler <spender@grsecurity.net>
4979 Date: Mon Mar 14 18:42:37 2016 -0400
4980
4981 compile fix
4982
4983 fs/namei.c | 2 +-
4984 1 file changed, 1 insertion(+), 1 deletion(-)
4985
4986 commit 384ea9c0ef9df4298dfa3a71948c08e70f1092bf
4987 Author: Brad Spengler <spender@grsecurity.net>
4988 Date: Mon Mar 14 18:34:40 2016 -0400
4989
4990 Fix recent chroot check on the create side, as reported by
4991 Toralf Foerster
4992
4993 fs/namei.c | 26 ++++++++++++++++----------
4994 1 file changed, 16 insertions(+), 10 deletions(-)
4995
4996 commit 82e7dc61a626c47887d392ff9cd35b104f01fd25
4997 Author: Paolo Bonzini <pbonzini@redhat.com>
4998 Date: Tue Mar 8 12:13:39 2016 +0100
4999
5000 KVM: MMU: fix ept=0/pte.u=1/pte.w=0/CR0.WP=0/CR4.SMEP=1/EFER.NX=0 combo
5001
5002 Yes, all of these are needed. :) This is admittedly a bit odd, but
5003 kvm-unit-tests access.flat tests this if you run it with "-cpu host"
5004 and of course ept=0.
5005
5006 KVM runs the guest with CR0.WP=1, so it must handle supervisor writes
5007 specially when pte.u=1/pte.w=0/CR0.WP=0. Such writes cause a fault
5008 when U=1 and W=0 in the SPTE, but they must succeed because CR0.WP=0.
5009 When KVM gets the fault, it sets U=0 and W=1 in the shadow PTE and
5010 restarts execution. This will still cause a user write to fault, while
5011 supervisor writes will succeed. User reads will fault spuriously now,
5012 and KVM will then flip U and W again in the SPTE (U=1, W=0). User reads
5013 will be enabled and supervisor writes disabled, going back to the
5014 originary situation where supervisor writes fault spuriously.
5015
5016 When SMEP is in effect, however, U=0 will enable kernel execution of
5017 this page. To avoid this, KVM also sets NX=1 in the shadow PTE together
5018 with U=0. If the guest has not enabled NX, the result is a continuous
5019 stream of page faults due to the NX bit being reserved.
5020
5021 The fix is to force EFER.NX=1 even if the CPU is taking care of the EFER
5022 switch. (All machines with SMEP have the CPU_LOAD_IA32_EFER vm-entry
5023 control, so they do not use user-return notifiers for EFER---if they did,
5024 EFER.NX would be forced to the same value as the host).
5025
5026 There is another bug in the reserved bit check, which I've split to a
5027 separate patch for easier application to stable kernels.
5028
5029 Cc: stable@vger.kernel.org
5030 Cc: Andy Lutomirski <luto@amacapital.net>
5031 Reviewed-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
5032 Fixes: f6577a5fa15d82217ca73c74cd2dcbc0f6c781dd
5033 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
5034
5035 Documentation/virtual/kvm/mmu.txt | 3 ++-
5036 arch/x86/kvm/vmx.c | 36 +++++++++++++++++++++++-------------
5037 2 files changed, 25 insertions(+), 14 deletions(-)
5038
5039 commit 802a88e57b141e9643e93afb7805813ad8da22f3
5040 Author: Paolo Bonzini <pbonzini@redhat.com>
5041 Date: Wed Mar 9 14:28:02 2016 +0100
5042
5043 KVM: MMU: fix reserved bit check for ept=0/CR0.WP=0/CR4.SMEP=1/EFER.NX=0
5044
5045 KVM has special logic to handle pages with pte.u=1 and pte.w=0 when
5046 CR0.WP=1. These pages' SPTEs flip continuously between two states:
5047 U=1/W=0 (user and supervisor reads allowed, supervisor writes not allowed)
5048 and U=0/W=1 (supervisor reads and writes allowed, user writes not allowed).
5049
5050 When SMEP is in effect, however, U=0 will enable kernel execution of
5051 this page. To avoid this, KVM also sets NX=1 in the shadow PTE together
5052 with U=0, making the two states U=1/W=0/NX=gpte.NX and U=0/W=1/NX=1.
5053 When guest EFER has the NX bit cleared, the reserved bit check thinks
5054 that the latter state is invalid; teach it that the smep_andnot_wp case
5055 will also use the NX bit of SPTEs.
5056
5057 Cc: stable@vger.kernel.org
5058 Reviewed-by: Xiao Guangrong <guangrong.xiao@linux.inel.com>
5059 Fixes: c258b62b264fdc469b6d3610a907708068145e3b
5060 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
5061
5062 arch/x86/kvm/mmu.c | 4 +++-
5063 1 file changed, 3 insertions(+), 1 deletion(-)
5064
5065 commit 3925851224428c1d2bca32cf33821befb947c4f3
5066 Author: Ming Lei <ming.lei@canonical.com>
5067 Date: Sat Mar 12 22:56:19 2016 +0800
5068
5069 block: don't optimize for non-cloned bio in bio_get_last_bvec()
5070
5071 For !BIO_CLONED bio, we can use .bi_vcnt safely, but it
5072 doesn't mean we can just simply return .bi_io_vec[.bi_vcnt - 1]
5073 because the start postion may have been moved in the middle of
5074 the bvec, such as splitting in the middle of bvec.
5075
5076 Fixes: 7bcd79ac50d9(block: bio: introduce helpers to get the 1st and last bvec)
5077 Cc: stable@vger.kernel.org
5078 Reported-by: Kent Overstreet <kent.overstreet@gmail.com>
5079 Signed-off-by: Ming Lei <ming.lei@canonical.com>
5080 Signed-off-by: Jens Axboe <axboe@fb.com>
5081
5082 include/linux/bio.h | 5 -----
5083 1 file changed, 5 deletions(-)
5084
5085 commit db541463b4a0926bebdbac743c8736fb9e903d58
5086 Author: Borislav Petkov <bp@alien8.de>
5087 Date: Fri Mar 11 12:32:06 2016 +0100
5088
5089 x86/fpu: Fix eager-FPU handling on legacy FPU machines
5090
5091 i486 derived cores like Intel Quark support only the very old,
5092 legacy x87 FPU (FSAVE/FRSTOR, CPUID bit FXSR is not set), and
5093 our FPU code wasn't handling the saving and restoring there
5094 properly in the 'eagerfpu' case.
5095
5096 So after we made eagerfpu the default for all CPU types:
5097
5098 58122bf1d856 x86/fpu: Default eagerfpu=on on all CPUs
5099
5100 these old FPU designs broke. First, Andy Shevchenko reported a splat:
5101
5102 WARNING: CPU: 0 PID: 823 at arch/x86/include/asm/fpu/internal.h:163 fpu__clear+0x8c/0x160
5103
5104 which was us trying to execute FXRSTOR on those machines even though
5105 they don't support it.
5106
5107 After taking care of that, Bryan O'Donoghue reported that a simple FPU
5108 test still failed because we weren't initializing the FPU state properly
5109 on those machines.
5110
5111 Take care of all that.
5112
5113 Reported-and-tested-by: Bryan O'Donoghue <pure.logic@nexus-software.ie>
5114 Reported-by: Andy Shevchenko <andy.shevchenko@gmail.com>
5115 Signed-off-by: Borislav Petkov <bp@suse.de>
5116 Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
5117 Cc: Andrew Morton <akpm@linux-foundation.org>
5118 Cc: Andy Lutomirski <luto@amacapital.net>
5119 Cc: Borislav Petkov <bp@alien8.de>
5120 Cc: Brian Gerst <brgerst@gmail.com>
5121 Cc: Dave Hansen <dave.hansen@linux.intel.com>
5122 Cc: Denys Vlasenko <dvlasenk@redhat.com>
5123 Cc: Fenghua Yu <fenghua.yu@intel.com>
5124 Cc: H. Peter Anvin <hpa@zytor.com>
5125 Cc: Oleg Nesterov <oleg@redhat.com>
5126 Cc: Peter Zijlstra <peterz@infradead.org>
5127 Cc: Quentin Casasnovas <quentin.casasnovas@oracle.com>
5128 Cc: Thomas Gleixner <tglx@linutronix.de>
5129 Cc: Yu-cheng <yu-cheng.yu@intel.com>
5130 Link: http://lkml.kernel.org/r/20160311113206.GD4312@pd.tnic
5131 Signed-off-by: Ingo Molnar <mingo@kernel.org>
5132
5133 arch/x86/kernel/fpu/core.c | 4 +++-
5134 arch/x86/kernel/fpu/init.c | 2 +-
5135 2 files changed, 4 insertions(+), 2 deletions(-)
5136
5137 commit 8fed14e935cb62d2d46e99793d728dc7760dcc87
5138 Author: Brad Spengler <spender@grsecurity.net>
5139 Date: Sun Mar 13 11:35:56 2016 -0400
5140
5141 Compile fixes
5142
5143 fs/namei.c | 2 +-
5144 grsecurity/grsec_chroot.c | 2 +-
5145 include/linux/grsecurity.h | 2 +-
5146 3 files changed, 3 insertions(+), 3 deletions(-)
5147
5148 commit aab25a3496c4683c5858056960010119fb7d9a5a
5149 Author: Brad Spengler <spender@grsecurity.net>
5150 Date: Sun Mar 13 10:53:59 2016 -0400
5151
5152 Use fput instead of put_filp()
5153
5154 fs/namei.c | 4 ++--
5155 1 file changed, 2 insertions(+), 2 deletions(-)
5156
5157 commit 928ddec9dfe5415dff82d941c3b3e76ee6f48761
5158 Author: Brad Spengler <spender@grsecurity.net>
5159 Date: Sun Mar 13 10:30:54 2016 -0400
5160
5161 Update MPROTECT_COMPAT config description, disable by default
5162
5163 security/Kconfig | 18 ++++++------------
5164 1 file changed, 6 insertions(+), 12 deletions(-)
5165
5166 commit 4cc29af2e81e7a4bdfab1afedfdedca6e23362d5
5167 Author: Brad Spengler <spender@grsecurity.net>
5168 Date: Sun Mar 13 10:35:55 2016 -0400
5169
5170 As reported by Jann Horn, chroot scenarios where the chrooting application
5171 brings in a directory fd can be used to access any file outside of the chroot
5172 via *at syscalls. To maintain compatibility with Chromium and other apps,
5173 we specifically only disallow relative accesses off a directory fd when the
5174 final path is not located under that directory described by the fd and exists
5175 outside of the chroot. This additional restriction will exist under the
5176 current GRKERNSEC_CHROOT_FCHDIR option.
5177
5178 fs/namei.c | 9 +++++++++
5179 grsecurity/Kconfig | 10 ++++++----
5180 grsecurity/grsec_chroot.c | 39 +++++++++++++++++++++++++++++++++++++++
5181 include/linux/grmsg.h | 1 +
5182 include/linux/grsecurity.h | 1 +
5183 5 files changed, 56 insertions(+), 4 deletions(-)
5184
5185 commit 7d02a991213f0b07a3677dcc93cdafc3ac309142
5186 Author: Brad Spengler <spender@grsecurity.net>
5187 Date: Thu Mar 10 22:17:16 2016 -0500
5188
5189 Update size_overflow hash table
5190
5191 tools/gcc/size_overflow_plugin/size_overflow_hash.data | 1 +
5192 1 file changed, 1 insertion(+)
5193
5194 commit 29f25ddda6a5625340df26beb394279fefea2b49
5195 Author: Brad Spengler <spender@grsecurity.net>
5196 Date: Thu Mar 10 22:16:04 2016 -0500
5197
5198 Fix module support
5199
5200 kernel/module.c | 3 ++-
5201 1 file changed, 2 insertions(+), 1 deletion(-)
5202
5203 commit b057a45636b626e7eaf03077ed0916b95fea054c
5204 Merge: ba5ee94 10d57c1
5205 Author: Brad Spengler <spender@grsecurity.net>
5206 Date: Thu Mar 10 21:36:10 2016 -0500
5207
5208 Merge branch 'pax-test' into grsec-test
5209
5210 commit 10d57c107e7fabffbe616b14efab73df585576c2
5211 Merge: 1cbae46 62e2195
5212 Author: Brad Spengler <spender@grsecurity.net>
5213 Date: Thu Mar 10 21:34:58 2016 -0500
5214
5215 Update to pax-linux-4.4.5-test9.patch:
5216 - fixed an integer signedness mixup in the old select syscall caught by the size overflow plugin, by Mathias Krause <minipli@ld-linux.so>
5217 - Emese cleaned up a few unnecessary type casts in the size overflow plugin
5218 - fixed the initify plugin to not trigger a compiler assert with gcc 6 in LTO mode
5219 - compile the x86 vdso without plugins, reported by Emese
5220 - fixed a REFCOUNT/arm compile error, reported by coadde (https://forums.grsecurity.net/viewtopic.php?f=3&t=4410)
5221 - fixed gcc-common.h for gcc 6, reported by psturm (https://forums.grsecurity.net/viewtopic.php?f=3&t=4394)
5222
5223 Merge branch 'linux-4.4.y' into pax-test
5224
5225 commit ba5ee94199b11c1429559a08c2158677dd8f1761
5226 Author: Brad Spengler <spender@grsecurity.net>
5227 Date: Thu Mar 3 20:20:19 2016 -0500
5228
5229 Update size_overflow hash table
5230
5231 tools/gcc/size_overflow_plugin/size_overflow_hash.data | 1 +
5232 1 file changed, 1 insertion(+)
5233
5234 commit 50a5cd726362f0988b81a54d4c962acf8fd34a70
5235 Merge: 335c04c 1cbae46
5236 Author: Brad Spengler <spender@grsecurity.net>
5237 Date: Thu Mar 3 20:04:00 2016 -0500
5238
5239 Merge branch 'pax-test' into grsec-test
5240
5241 commit 1cbae46efa0b111ef2d46502f8d34c4c572a0e00
5242 Merge: a51cdb8 c252409
5243 Author: Brad Spengler <spender@grsecurity.net>
5244 Date: Thu Mar 3 19:57:43 2016 -0500
5245
5246 Merge branch 'linux-4.4.y' into pax-test
5247
5248 commit 335c04c8146a696a6101a9c69dbd47f11383549e
5249 Merge: 897877e a51cdb8
5250 Author: Brad Spengler <spender@grsecurity.net>
5251 Date: Tue Mar 1 17:57:24 2016 -0500
5252
5253 Merge branch 'pax-test' into grsec-test
5254
5255 commit a51cdb83569b450858737a30d2be043d87d7ddc1
5256 Author: Brad Spengler <spender@grsecurity.net>
5257 Date: Tue Mar 1 17:56:43 2016 -0500
5258
5259 Update to pax-linux-4.4.3-test6.patch:
5260 - spender fixed the cftype constification fallout, reported by quasar366 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4391)
5261 - fixed a few section mismatches on notifier_block variables
5262 - fixed a few REFCOUNT false positives found by Emese's plugin
5263 - constified hypervisor_x86
5264
5265 arch/x86/include/asm/hypervisor.h | 2 +-
5266 arch/x86/kernel/cpu/mshyperv.c | 2 +-
5267 arch/x86/kernel/cpu/vmware.c | 2 +-
5268 arch/x86/kernel/kvm.c | 2 +-
5269 drivers/lightnvm/rrpc.c | 4 ++--
5270 drivers/lightnvm/rrpc.h | 2 +-
5271 drivers/net/can/led.c | 2 +-
5272 drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 2 +-
5273 drivers/net/ethernet/rocker/rocker.c | 4 ++--
5274 drivers/net/ipvlan/ipvlan_main.c | 6 +++---
5275 drivers/net/vrf.c | 2 +-
5276 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 12 ++++++------
5277 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h | 2 +-
5278 drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 12 ++++++------
5279 drivers/staging/rtl8723au/include/drv_types.h | 2 +-
5280 drivers/staging/rtl8723au/include/rtw_mlme_ext.h | 2 +-
5281 drivers/staging/rtl8723au/include/usb_ops.h | 4 ++--
5282 drivers/thermal/x86_pkg_temp_thermal.c | 2 +-
5283 fs/proc/kcore.c | 2 +-
5284 mm/hugetlb_cgroup.c | 8 ++++----
5285 mm/mm_init.c | 2 +-
5286 mm/slub.c | 2 +-
5287 net/mac802154/iface.c | 2 +-
5288 23 files changed, 41 insertions(+), 41 deletions(-)
5289
5290 commit 897877e79629a0b854e98cb666a9d898256d45a7
5291 Merge: 1ffa5d5 4f4b213
5292 Author: Brad Spengler <spender@grsecurity.net>
5293 Date: Sun Feb 28 20:54:59 2016 -0500
5294
5295 Merge branch 'pax-test' into grsec-test
5296
5297 commit 4f4b21342a4a4f87c01f7909406e6b5f4c9dadbf
5298 Author: Brad Spengler <spender@grsecurity.net>
5299 Date: Sun Feb 28 20:54:06 2016 -0500
5300
5301 Update to pax-linux-4.4.3-test5.patch:
5302 - constified xfrm_mgr and cftype, by Mathias Krause <minipli@ld-linux.so>
5303 - Emese fixed a few checkpatch reports on the gcc plugin generator headers
5304 - Emese fixed a false positive size overflow report in get_next_ino, reported by KARBOWSKI Piotr <piotr.karbowski@gmail.com>
5305 - added a generator for SIMPLE_IPA passes as well
5306
5307 include/linux/cgroup-defs.h | 2 +-
5308 include/linux/hugetlb.h | 2 +-
5309 include/linux/hugetlb_cgroup.h | 11 ++
5310 include/net/xfrm.h | 2 +-
5311 kernel/cgroup.c | 29 ++--
5312 mm/hugetlb.c | 55 ++++++-
5313 mm/hugetlb_cgroup.c | 60 ++-----
5314 mm/mmap.c | 38 ++---
5315 net/xfrm/xfrm_state.c | 4 +-
5316 tools/gcc/constify_plugin.c | 5 +-
5317 tools/gcc/gcc-common.h | 42 +++--
5318 tools/gcc/gcc-generate-gimple-pass.h | 27 ++--
5319 tools/gcc/gcc-generate-ipa-pass.h | 43 ++---
5320 tools/gcc/gcc-generate-rtl-pass.h | 27 ++--
5321 tools/gcc/gcc-generate-simple_ipa-pass.h | 173 +++++++++++++++++++++
5322 tools/gcc/size_overflow_plugin/.gitignore | 1 +
5323 .../disable_size_overflow_hash.data | 7 +-
5324 .../size_overflow_plugin/size_overflow_hash.data | 3 -
5325 18 files changed, 385 insertions(+), 146 deletions(-)
5326
5327 commit 1ffa5d50a2161311d46b56fdef734f309503cb80
5328 Author: Brad Spengler <spender@grsecurity.net>
5329 Date: Sun Feb 28 20:43:02 2016 -0500
5330
5331 Make suid/sgid bruteforce prevention also apply to binaries with fscaps
5332 enabled
5333
5334 grsecurity/grsec_sig.c | 3 +--
5335 1 file changed, 1 insertion(+), 2 deletions(-)
5336
5337 commit cfdb373a77c88d01c1539e605e28143af5981571
5338 Author: Brad Spengler <spender@grsecurity.net>
5339 Date: Sun Feb 28 19:12:39 2016 -0500
5340
5341 compile fix
5342
5343 grsecurity/gracl_segv.c | 2 +-
5344 grsecurity/grsec_sig.c | 2 +-
5345 2 files changed, 2 insertions(+), 2 deletions(-)
5346
5347 commit 67d5160f8c1ee12ee4da1e7ad57f8688fcc77b53
5348 Author: Brad Spengler <spender@grsecurity.net>
5349 Date: Sun Feb 28 18:24:50 2016 -0500
5350
5351 Update the daemon check in handling of anti-bruteforcing of suid binaries
5352 by GRKERNSEC_BRUTE to prevent a bypass reported by Jann Horn where one
5353 could create unprivileged copies of the suid binary via ptrace, inject
5354 code into them, and fork+exec a privileged copy. A crash then in the
5355 privileged copy would trigger the daemon detection which could be avoided
5356 by simply terminating the original process. Defeat this by using our
5357 is_privileged_binary() function against the task's mm->binfmt->file to detect
5358 an fscaps-enabled or suid/sgid binary being involved.
5359
5360 Also update the RBAC RES_CRASH code to use is_privileged_binary().
5361
5362 grsecurity/gracl_segv.c | 15 +--------------
5363 grsecurity/grsec_sig.c | 3 ++-
5364 2 files changed, 3 insertions(+), 15 deletions(-)
5365
5366 commit 7382ec22b0c9627c674ccbb00210276d26f219e3
5367 Author: Brad Spengler <spender@grsecurity.net>
5368 Date: Sun Feb 28 15:06:32 2016 -0500
5369
5370 Fix a GRKERNSEC_PTRACE_READEXEC bypass reported by Jann Horn where one
5371 could dump out an unreadable suid binary by creating a script that used
5372 that binary as an interpreter.
5373
5374 fs/exec.c | 14 +++++++++-----
5375 1 file changed, 9 insertions(+), 5 deletions(-)
5376
5377 commit 3e60eddebe1c59b97c0b5432506bf8e13d84e8e6
5378 Merge: 2d35d52 8327ee6
5379 Author: Brad Spengler <spender@grsecurity.net>
5380 Date: Thu Feb 25 18:44:11 2016 -0500
5381
5382 Merge branch 'pax-test' into grsec-test
5383
5384 Conflicts:
5385 fs/proc/base.c
5386 kernel/ptrace.c
5387 mm/process_vm_access.c
5388
5389 commit 8327ee64e5e24ae6a3446dd96b95d5185f70e1f6
5390 Merge: 09d53c7 2134d97
5391 Author: Brad Spengler <spender@grsecurity.net>
5392 Date: Thu Feb 25 18:36:46 2016 -0500
5393
5394 Merge branch 'linux-4.4.y' into pax-test
5395
5396 Conflicts:
5397 mm/mmap.c
5398
5399 commit 2d35d5276f3feb0c053209f8c3a77b1f55f9d96b
5400 Author: Brad Spengler <spender@grsecurity.net>
5401 Date: Wed Feb 24 07:59:12 2016 -0500
5402
5403 Remove /proc/pid/map_files which we had previously prevented via
5404 an inverted dependency on checkpoint/restart, but clearly should have
5405 guarded independently as upstream in 4.3 enabled it regardless of checkpoint/
5406 restart support. It can be used since 4.3 as an ASLR leak under RBAC to
5407 processes of the same UID. Thanks to Mathias Krause for the report!
5408
5409 fs/proc/base.c | 2 ++
5410 1 file changed, 2 insertions(+)
5411
5412 commit e4f1e517092222aa28179b20e14c0ddfb2796049
5413 Author: Brad Spengler <spender@grsecurity.net>
5414 Date: Thu Feb 18 19:32:39 2016 -0500
5415
5416 Update size_overflow hash table
5417
5418 .../size_overflow_plugin/size_overflow_hash.data | 158 +++++++++++++++++----
5419 1 file changed, 131 insertions(+), 27 deletions(-)
5420
5421 commit d5f895ddfa903d0d70425b8c3d7ef649c7e6943b
5422 Author: Brad Spengler <spender@grsecurity.net>
5423 Date: Thu Feb 18 18:52:37 2016 -0500
5424
5425 Update size_overflow hash table
5426
5427 .../size_overflow_plugin/size_overflow_hash.data | 293 +++++++++++++++++----
5428 1 file changed, 237 insertions(+), 56 deletions(-)
5429
5430 commit 9d198df724c306c36e254fe19d0957fb608c3fa2
5431 Author: Brad Spengler <spender@grsecurity.net>
5432 Date: Thu Feb 18 18:23:03 2016 -0500
5433
5434 compile fix
5435
5436 tools/gcc/randomize_layout_plugin.c | 2 +-
5437 1 file changed, 1 insertion(+), 1 deletion(-)
5438
5439 commit 024d2af98b755712daff6ed7c49af921da4e8883
5440 Author: Brad Spengler <spender@grsecurity.net>
5441 Date: Thu Feb 18 18:19:47 2016 -0500
5442
5443 compile fix
5444
5445 tools/gcc/randomize_layout_plugin.c | 2 +-
5446 1 file changed, 1 insertion(+), 1 deletion(-)
5447
5448 commit 14a7b3bb5c3d8c6ef70c3e0842a5adc7f0f3e2c8
5449 Author: Brad Spengler <spender@grsecurity.net>
5450 Date: Thu Feb 18 18:16:32 2016 -0500
5451
5452 compile fix
5453
5454 tools/gcc/randomize_layout_plugin.c | 9 +++++----
5455 1 file changed, 5 insertions(+), 4 deletions(-)
5456
5457 commit 9b2d0ee62bc66858c274f256c0502cbcbd34b2bf
5458 Author: Brad Spengler <spender@grsecurity.net>
5459 Date: Thu Feb 18 17:54:51 2016 -0500
5460
5461 Compile fix
5462
5463 tools/gcc/randomize_layout_plugin.c | 2 +-
5464 1 file changed, 1 insertion(+), 1 deletion(-)
5465
5466 commit 13823395101c4228ecded4b624583389ee13bfb3
5467 Author: Brad Spengler <spender@grsecurity.net>
5468 Date: Thu Feb 18 17:35:21 2016 -0500
5469
5470 compile fix
5471
5472 Makefile | 5 +----
5473 1 file changed, 1 insertion(+), 4 deletions(-)
5474
5475 commit 0316a42a37e67b0bc8a545c7a8b63db2d25f1ab0
5476 Merge: 45cbb7e 09d53c7
5477 Author: Brad Spengler <spender@grsecurity.net>
5478 Date: Thu Feb 18 16:40:51 2016 -0500
5479
5480 Merge branch 'pax-test' into grsec-test
5481
5482 Conflicts:
5483 Makefile
5484 include/linux/genl_magic_struct.h
5485 scripts/mod/modpost.c
5486 tools/gcc/size_overflow_plugin/size_overflow_hash.data
5487
5488 commit 09d53c74140e87e886a28980cedbb7e771f2a356
5489 Author: Brad Spengler <spender@grsecurity.net>
5490 Date: Thu Feb 18 16:24:02 2016 -0500
5491
5492 Update to pax-linux-4.4.2-test4.patch:
5493 - fixed the initialization of ipc_namespace.shm_ctlmax to prevent the size overflow plugin from catching an integer truncation when calling shmem_kernel_file_setup, reported by Mathias Krause <minipli@ld-linux.so>
5494 - moved gcc plugin related makefile bits into a separate file, by Emese
5495 - changed modpost to report writable function pointers separately
5496 - increased the size of mem_cgroup.numainfo_events to avoid a wraparound caught by REFCOUNT, reported by alexey vlasov
5497 - reduced the size of the compat syscall entry points on amd64
5498 - fixed an integer signedness mixup in drbd caught by the size overflow plugin, reported by iamb and gaima (https://forums.grsecurity.net/viewtopic.php?f=3&t=4366)
5499 - Emese regenerated the size overflow hash table for 4.4
5500 - all plugins now use the new pass generator headers
5501
5502 Makefile | 73 +-
5503 arch/x86/entry/entry_64.S | 2 +-
5504 arch/x86/entry/entry_64_compat.S | 48 +-
5505 fs/exec.c | 3 +
5506 include/linux/genl_magic_struct.h | 4 +-
5507 include/linux/memcontrol.h | 2 +-
5508 ipc/shm.c | 2 +-
5509 mm/memcontrol.c | 6 +-
5510 scripts/Makefile.extrawarn | 4 +
5511 scripts/Makefile.gcc-plugins | 69 +
5512 scripts/mod/modpost.c | 15 +-
5513 tools/gcc/checker_plugin.c | 71 +-
5514 tools/gcc/colorize_plugin.c | 65 +-
5515 tools/gcc/constify_plugin.c | 65 +-
5516 tools/gcc/gcc-generate-gimple-pass.h | 172 +
5517 tools/gcc/gcc-generate-ipa-pass.h | 286 +
5518 tools/gcc/gcc-generate-rtl-pass.h | 172 +
5519 tools/gcc/initify_plugin.c | 74 +-
5520 tools/gcc/kallocstat_plugin.c | 65 +-
5521 tools/gcc/kernexec_plugin.c | 184 +-
5522 tools/gcc/latent_entropy_plugin.c | 71 +-
5523 tools/gcc/randomize_layout_seed.h | 1 -
5524 .../disable_size_overflow_hash.h | 152601 ------------------
5525 .../insert_size_overflow_asm.c | 71 +-
5526 .../size_overflow_plugin/intentional_overflow.c | 6 +-
5527 tools/gcc/size_overflow_plugin/size_overflow.h | 20 +-
5528 .../size_overflow_plugin/size_overflow_hash.data | 2898 +-
5529 tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 94 +-
5530 .../size_overflow_plugin/size_overflow_plugin.c | 14 +-
5531 .../size_overflow_plugin/size_overflow_transform.c | 2 +-
5532 .../size_overflow_transform_core.c | 2 +-
5533 tools/gcc/stackleak_plugin.c | 132 +-
5534 tools/gcc/structleak_plugin.c | 67 +-
5535 33 files changed, 2238 insertions(+), 155123 deletions(-)
5536
5537 commit 45cbb7e015a18625dafb019246e13e8cf3a18ace
5538 Merge: 3b5448b 0c85110
5539 Author: Brad Spengler <spender@grsecurity.net>
5540 Date: Wed Feb 17 19:11:25 2016 -0500
5541
5542 Merge branch 'pax-test' into grsec-test
5543
5544 commit 0c851109f683896aaff8a310bbfa943272b47516
5545 Merge: 6cb4f49 1cb8570
5546 Author: Brad Spengler <spender@grsecurity.net>
5547 Date: Wed Feb 17 19:11:21 2016 -0500
5548
5549 Merge branch 'linux-4.4.y' into pax-test
5550
5551 commit 3b5448bd1d85025d19b2587902e4264eb212a0a3
5552 Author: Brad Spengler <spender@grsecurity.net>
5553 Date: Mon Feb 15 18:02:40 2016 -0500
5554
5555 Fix a drbd bug reported by iamb on the forums:
5556 https://forums.grsecurity.net/viewtopic.php?f=3&t=4366#p16032
5557 which caused a size_overflow report
5558
5559 include/linux/genl_magic_struct.h | 4 ++--
5560 1 file changed, 2 insertions(+), 2 deletions(-)
5561
5562 commit 061fcd0e74441189a87bfe13b55fb02b98f7d7c0
5563 Author: Brad Spengler <spender@grsecurity.net>
5564 Date: Mon Feb 15 13:20:38 2016 -0500
5565
5566 compile fix
5567
5568 drivers/staging/wilc1000/host_interface.h | 1 +
5569 1 file changed, 1 insertion(+)
5570
5571 commit 675f2dcbdd4ea3293eea9c42f0cc427b1c903fc8
5572 Author: Brad Spengler <spender@grsecurity.net>
5573 Date: Mon Feb 15 12:54:52 2016 -0500
5574
5575 Update size_overflow hash table
5576
5577 .../size_overflow_plugin/size_overflow_hash.data | 21 +++++++++++++++++----
5578 1 file changed, 17 insertions(+), 4 deletions(-)
5579
5580 commit c8c50394f0c9f2e9baaeb884a29be2057cadbf7b
5581 Author: Brad Spengler <spender@grsecurity.net>
5582 Date: Mon Feb 15 12:53:54 2016 -0500
5583
5584 compile fix
5585
5586 drivers/staging/wilc1000/wilc_spi.c | 1 -
5587 drivers/staging/wilc1000/wilc_wlan.h | 2 +-
5588 2 files changed, 1 insertion(+), 2 deletions(-)
5589
5590 commit a9dd4481db099082967585be8e153899e5fd24c7
5591 Author: Brad Spengler <spender@grsecurity.net>
5592 Date: Mon Feb 15 12:52:32 2016 -0500
5593
5594 compile fix
5595
5596 fs/proc/fd.c | 2 --
5597 1 file changed, 2 deletions(-)
5598
5599 commit 5acb4fa0063460807096429f073181d1c5a3e566
5600 Author: Brad Spengler <spender@grsecurity.net>
5601 Date: Mon Feb 15 12:32:13 2016 -0500
5602
5603 Update size_overflow hash table
5604
5605 .../size_overflow_plugin/size_overflow_hash.data | 224 +++++++++++++++++----
5606 1 file changed, 182 insertions(+), 42 deletions(-)
5607
5608 commit c0bac9ff9af7ef753740622b5736684a32b49a9f
5609 Author: Brad Spengler <spender@grsecurity.net>
5610 Date: Mon Feb 15 12:31:16 2016 -0500
5611
5612 compile fix
5613
5614 drivers/staging/wilc1000/wilc_spi.c | 1 +
5615 1 file changed, 1 insertion(+)
5616
5617 commit 2f89ebdee131f6a6c85e611e5b993d4b19bc2673
5618 Author: Brad Spengler <spender@grsecurity.net>
5619 Date: Mon Feb 15 12:28:36 2016 -0500
5620
5621 RANDSTRUCT compile fix
5622
5623 drivers/staging/wilc1000/wilc_spi.c | 32 ++++++++++++++++----------------
5624 1 file changed, 16 insertions(+), 16 deletions(-)
5625
5626 commit 693be5d7f5b783f451499bbe83162aeb0f27a09f
5627 Author: Brad Spengler <spender@grsecurity.net>
5628 Date: Mon Feb 15 12:24:49 2016 -0500
5629
5630 RANDSTRUCT compile fix
5631
5632 drivers/staging/wilc1000/wilc_sdio.c | 34 +++++++++++++++++-----------------
5633 1 file changed, 17 insertions(+), 17 deletions(-)
5634
5635 commit bdf3dcd665c1a8ef9b69ad6525760c5160ec19a2
5636 Author: Hariprasad S <hariprasad@chelsio.com>
5637 Date: Fri Dec 11 13:59:17 2015 +0530
5638
5639 iw_cxgb3: Fix incorrectly returning error on success
5640
5641 The cxgb3_*_send() functions return NET_XMIT_ values, which are
5642 positive integers values. So don't treat positive return values
5643 as an error.
5644
5645 Signed-off-by: Steve Wise <swise@opengridcomputing.com>
5646 Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
5647 Signed-off-by: Doug Ledford <dledford@redhat.com>
5648
5649 drivers/infiniband/hw/cxgb3/iwch_cm.c | 4 ++--
5650 1 file changed, 2 insertions(+), 2 deletions(-)
5651
5652 commit 8705fe372dc21046ca3fc55381b70cffb4c60207
5653 Author: Daniel Borkmann <daniel@iogearbox.net>
5654 Date: Wed Feb 10 16:47:11 2016 +0100
5655
5656 bpf: fix branch offset adjustment on backjumps after patching ctx expansion
5657
5658 When ctx access is used, the kernel often needs to expand/rewrite
5659 instructions, so after that patching, branch offsets have to be
5660 adjusted for both forward and backward jumps in the new eBPF program,
5661 but for backward jumps it fails to account the delta. Meaning, for
5662 example, if the expansion happens exactly on the insn that sits at
5663 the jump target, it doesn't fix up the back jump offset.
5664
5665 Analysis on what the check in adjust_branches() is currently doing:
5666
5667 /* adjust offset of jmps if necessary */
5668 if (i < pos && i + insn->off + 1 > pos)
5669 insn->off += delta;
5670 else if (i > pos && i + insn->off + 1 < pos)
5671 insn->off -= delta;
5672
5673 First condition (forward jumps):
5674
5675 Before: After:
5676
5677 insns[0] insns[0]
5678 insns[1] <--- i/insn insns[1] <--- i/insn
5679 insns[2] <--- pos insns[P] <--- pos
5680 insns[3] insns[P] `------| delta
5681 insns[4] <--- target_X insns[P] `-----|
5682 insns[5] insns[3]
5683 insns[4] <--- target_X
5684 insns[5]
5685
5686 First case is if we cross pos-boundary and the jump instruction was
5687 before pos. This is handeled correctly. I.e. if i == pos, then this
5688 would mean our jump that we currently check was the patchlet itself
5689 that we just injected. Since such patchlets are self-contained and
5690 have no awareness of any insns before or after the patched one, the
5691 delta is correctly not adjusted. Also, for the second condition in
5692 case of i + insn->off + 1 == pos, means we jump to that newly patched
5693 instruction, so no offset adjustment are needed. That part is correct.
5694
5695 Second condition (backward jumps):
5696
5697 Before: After:
5698
5699 insns[0] insns[0]
5700 insns[1] <--- target_X insns[1] <--- target_X
5701 insns[2] <--- pos <-- target_Y insns[P] <--- pos <-- target_Y
5702 insns[3] insns[P] `------| delta
5703 insns[4] <--- i/insn insns[P] `-----|
5704 insns[5] insns[3]
5705 insns[4] <--- i/insn
5706 insns[5]
5707
5708 Second interesting case is where we cross pos-boundary and the jump
5709 instruction was after pos. Backward jump with i == pos would be
5710 impossible and pose a bug somewhere in the patchlet, so the first
5711 condition checking i > pos is okay only by itself. However, i +
5712 insn->off + 1 < pos does not always work as intended to trigger the
5713 adjustment. It works when jump targets would be far off where the
5714 delta wouldn't matter. But, for example, where the fixed insn->off
5715 before pointed to pos (target_Y), it now points to pos + delta, so
5716 that additional room needs to be taken into account for the check.
5717 This means that i) both tests here need to be adjusted into pos + delta,
5718 and ii) for the second condition, the test needs to be <= as pos
5719 itself can be a target in the backjump, too.
5720
5721 Fixes: 9bac3d6d548e ("bpf: allow extended BPF programs access skb fields")
5722 Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
5723 Signed-off-by: David S. Miller <davem@davemloft.net>
5724
5725 kernel/bpf/verifier.c | 2 +-
5726 1 file changed, 1 insertion(+), 1 deletion(-)
5727
5728 commit 61b513b644116e77313addf65970db58f4981608
5729 Author: Ryan Ware <ware@linux.intel.com>
5730 Date: Thu Feb 11 15:58:44 2016 -0800
5731
5732 EVM: Use crypto_memneq() for digest comparisons
5733
5734 This patch fixes vulnerability CVE-2016-2085. The problem exists
5735 because the vm_verify_hmac() function includes a use of memcmp().
5736 Unfortunately, this allows timing side channel attacks; specifically
5737 a MAC forgery complexity drop from 2^128 to 2^12. This patch changes
5738 the memcmp() to the cryptographically safe crypto_memneq().
5739
5740 Reported-by: Xiaofei Rex Guo <xiaofei.rex.guo@intel.com>
5741 Signed-off-by: Ryan Ware <ware@linux.intel.com>
5742 Cc: stable@vger.kernel.org
5743 Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
5744 Signed-off-by: James Morris <james.l.morris@oracle.com>
5745
5746 security/integrity/evm/evm_main.c | 3 ++-
5747 1 file changed, 2 insertions(+), 1 deletion(-)
5748
5749 commit 970b961e7d0684624f9c69f0b4367d5c76b65a63
5750 Author: Michael McConville <mmcco@mykolab.com>
5751 Date: Fri Feb 5 20:46:25 2016 -0500
5752
5753 dscc4: Undefined signed int shift
5754
5755 My analysis in the below mail applies, although the second part is
5756 unnecessary because i isn't used in arithmetic operations here:
5757
5758 https://marc.info/?l=openbsd-tech&m=145377854103866&w=2
5759
5760 Thanks for your time.
5761
5762 Signed-off-by: Michael McConville <mmcco@mykolab.com>
5763 Acked-by: Francois Romieu <romieu@fr.zoreil.com>
5764 Signed-off-by: David S. Miller <davem@davemloft.net>
5765
5766 drivers/net/wan/dscc4.c | 2 +-
5767 1 file changed, 1 insertion(+), 1 deletion(-)
5768
5769 commit d843df24b6680b600e87ebfea3b7b198b90b5a2a
5770 Author: Andrey Konovalov <andreyknvl@gmail.com>
5771 Date: Sat Feb 13 11:08:06 2016 +0300
5772
5773 ALSA: usb-audio: avoid freeing umidi object twice
5774
5775 The 'umidi' object will be free'd on the error path by snd_usbmidi_free()
5776 when tearing down the rawmidi interface. So we shouldn't try to free it
5777 in snd_usbmidi_create() after having registered the rawmidi interface.
5778
5779 Found by KASAN.
5780
5781 Signed-off-by: Andrey Konovalov <andreyknvl@gmail.com>
5782 Acked-by: Clemens Ladisch <clemens@ladisch.de>
5783 Cc: <stable@vger.kernel.org>
5784 Signed-off-by: Takashi Iwai <tiwai@suse.de>
5785
5786 sound/usb/midi.c | 1 -
5787 1 file changed, 1 deletion(-)
5788
5789 commit ed3a8ab1976674d56e258da93639e61f1446e703
5790 Author: zengtao <prime.zeng@huawei.com>
5791 Date: Tue Feb 2 11:38:34 2016 +0800
5792
5793 cputime: Prevent 32bit overflow in time[val|spec]_to_cputime()
5794
5795 The datatype __kernel_time_t is u32 on 32bit platform, so its subject to
5796 overflows in the timeval/timespec to cputime conversion.
5797
5798 Currently the following functions are affected:
5799 1. setitimer()
5800 2. timer_create/timer_settime()
5801 3. sys_clock_nanosleep
5802
5803 This can happen on MIPS32 and ARM32 with "Full dynticks CPU time accounting"
5804 enabled, which is required for CONFIG_NO_HZ_FULL.
5805
5806 Enforce u64 conversion to prevent the overflow.
5807
5808 Fixes: 31c1fc818715 ("ARM: Kconfig: allow full nohz CPU accounting")
5809 Signed-off-by: zengtao <prime.zeng@huawei.com>
5810 Reviewed-by: Arnd Bergmann <arnd@arndb.de>
5811 Cc: <fweisbec@gmail.com>
5812 Cc: stable@vger.kernel.org
5813 Link: http://lkml.kernel.org/r/1454384314-154784-1-git-send-email-prime.zeng@huawei.com
5814 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
5815
5816 include/asm-generic/cputime_nsecs.h | 5 +++--
5817 1 file changed, 3 insertions(+), 2 deletions(-)
5818
5819 commit bf8a2de485da37d73850e7cfa31967b7798b6ce0
5820 Author: Brad Spengler <spender@grsecurity.net>
5821 Date: Mon Feb 15 11:55:18 2016 -0500
5822
5823 Fix building with allnoconfig, don't make our added DATA_TO_TEXT mismatch warnings
5824 count as actual mismatches
5825
5826 scripts/mod/modpost.c | 3 ++-
5827 1 file changed, 2 insertions(+), 1 deletion(-)
5828
5829 commit c9d82b6d0f1a2484fea0a516989dbdc6c55e5693
5830 Author: Brad Spengler <spender@grsecurity.net>
5831 Date: Mon Feb 15 11:44:36 2016 -0500
5832
5833 Compile fix
5834
5835 tools/gcc/randomize_layout_seed.h | 1 -
5836 1 file changed, 1 deletion(-)
5837
5838 commit fb68cbb98732e6801e8fc8d1da1f1195e51ff077
5839 Author: Brad Spengler <spender@grsecurity.net>
5840 Date: Mon Feb 15 11:27:32 2016 -0500
5841
5842 disable USELIB
5843
5844 init/Kconfig | 3 ++-
5845 1 file changed, 2 insertions(+), 1 deletion(-)
5846
5847 commit cbda9a44b7f92161eb1e444bf7fe2bbcbedaae65
5848 Author: Brad Spengler <spender@grsecurity.net>
5849 Date: Mon Feb 15 11:23:56 2016 -0500
5850
5851 compile fix
5852
5853 fs/proc/fd.c | 2 +-
5854 1 file changed, 1 insertion(+), 1 deletion(-)
5855
5856 commit 5cf0a2e87ab7105d1ba01f55f7636fa2e1fa4bb4
5857 Author: Brad Spengler <spender@grsecurity.net>
5858 Date: Mon Feb 15 11:19:26 2016 -0500
5859
5860 Initial import of grsecurity for Linux 4.4.1
5861
5862 Documentation/dontdiff | 2 +
5863 Documentation/kernel-parameters.txt | 11 +
5864 Documentation/sysctl/fs.txt | 23 +
5865 Documentation/sysctl/kernel.txt | 15 +
5866 Makefile | 18 +-
5867 arch/alpha/include/asm/cache.h | 4 +-
5868 arch/alpha/kernel/osf_sys.c | 12 +-
5869 arch/arc/Kconfig | 1 +
5870 arch/arm/Kconfig | 1 +
5871 arch/arm/Kconfig.debug | 1 +
5872 arch/arm/include/asm/thread_info.h | 7 +-
5873 arch/arm/kernel/entry-common.S | 8 +-
5874 arch/arm/kernel/process.c | 4 +-
5875 arch/arm/kernel/ptrace.c | 9 +
5876 arch/arm/kernel/traps.c | 7 +-
5877 arch/arm/mm/Kconfig | 4 +-
5878 arch/arm/mm/fault.c | 40 +-
5879 arch/arm/mm/mmap.c | 8 +-
5880 arch/arm/net/bpf_jit_32.c | 51 +-
5881 arch/arm64/Kconfig.debug | 1 +
5882 arch/avr32/include/asm/cache.h | 4 +-
5883 arch/blackfin/Kconfig.debug | 1 +
5884 arch/blackfin/include/asm/cache.h | 3 +-
5885 arch/cris/include/arch-v10/arch/cache.h | 3 +-
5886 arch/cris/include/arch-v32/arch/cache.h | 3 +-
5887 arch/frv/include/asm/cache.h | 3 +-
5888 arch/frv/mm/elf-fdpic.c | 4 +-
5889 arch/hexagon/include/asm/cache.h | 6 +-
5890 arch/ia64/Kconfig | 1 +
5891 arch/ia64/include/asm/cache.h | 3 +-
5892 arch/ia64/kernel/sys_ia64.c | 2 +
5893 arch/ia64/mm/hugetlbpage.c | 2 +
5894 arch/m32r/include/asm/cache.h | 4 +-
5895 arch/m68k/include/asm/cache.h | 4 +-
5896 arch/metag/mm/hugetlbpage.c | 1 +
5897 arch/microblaze/include/asm/cache.h | 3 +-
5898 arch/mips/Kconfig | 1 +
5899 arch/mips/include/asm/cache.h | 3 +-
5900 arch/mips/include/asm/thread_info.h | 11 +-
5901 arch/mips/kernel/irq.c | 3 +
5902 arch/mips/kernel/ptrace.c | 9 +
5903 arch/mips/mm/mmap.c | 4 +-
5904 arch/mn10300/proc-mn103e010/include/proc/cache.h | 4 +-
5905 arch/mn10300/proc-mn2ws0050/include/proc/cache.h | 4 +-
5906 arch/openrisc/include/asm/cache.h | 4 +-
5907 arch/parisc/include/asm/cache.h | 3 +
5908 arch/parisc/kernel/sys_parisc.c | 4 +
5909 arch/powerpc/Kconfig | 1 +
5910 arch/powerpc/include/asm/cache.h | 4 +-
5911 arch/powerpc/include/asm/thread_info.h | 5 +-
5912 arch/powerpc/kernel/Makefile | 2 +
5913 arch/powerpc/kernel/irq.c | 3 +
5914 arch/powerpc/kernel/process.c | 10 +-
5915 arch/powerpc/kernel/ptrace.c | 14 +
5916 arch/powerpc/kernel/traps.c | 5 +
5917 arch/powerpc/mm/slice.c | 2 +-
5918 arch/s390/Kconfig.debug | 1 +
5919 arch/s390/include/asm/cache.h | 4 +-
5920 arch/score/include/asm/cache.h | 4 +-
5921 arch/sh/include/asm/cache.h | 3 +-
5922 arch/sh/mm/mmap.c | 6 +-
5923 arch/sparc/include/asm/cache.h | 4 +-
5924 arch/sparc/include/asm/pgalloc_64.h | 1 +
5925 arch/sparc/include/asm/thread_info_64.h | 8 +-
5926 arch/sparc/kernel/process_32.c | 6 +-
5927 arch/sparc/kernel/process_64.c | 8 +-
5928 arch/sparc/kernel/ptrace_64.c | 14 +
5929 arch/sparc/kernel/sys_sparc_64.c | 8 +-
5930 arch/sparc/kernel/syscalls.S | 8 +-
5931 arch/sparc/kernel/traps_32.c | 8 +-
5932 arch/sparc/kernel/traps_64.c | 28 +-
5933 arch/sparc/kernel/unaligned_64.c | 2 +-
5934 arch/sparc/mm/fault_64.c | 2 +-
5935 arch/sparc/mm/hugetlbpage.c | 15 +-
5936 arch/tile/Kconfig | 1 +
5937 arch/tile/include/asm/cache.h | 3 +-
5938 arch/tile/mm/hugetlbpage.c | 2 +
5939 arch/um/include/asm/cache.h | 3 +-
5940 arch/unicore32/include/asm/cache.h | 6 +-
5941 arch/x86/Kconfig | 21 +
5942 arch/x86/Kconfig.debug | 2 +
5943 arch/x86/entry/common.c | 14 +
5944 arch/x86/entry/entry_32.S | 2 +-
5945 arch/x86/entry/entry_64.S | 2 +-
5946 arch/x86/ia32/ia32_aout.c | 2 +
5947 arch/x86/include/asm/floppy.h | 20 +-
5948 arch/x86/include/asm/fpu/types.h | 69 +-
5949 arch/x86/include/asm/io.h | 2 +-
5950 arch/x86/include/asm/page.h | 12 +-
5951 arch/x86/include/asm/paravirt_types.h | 23 +-
5952 arch/x86/include/asm/pgtable_types.h | 6 +-
5953 arch/x86/include/asm/processor.h | 12 +-
5954 arch/x86/include/asm/thread_info.h | 6 +-
5955 arch/x86/include/asm/uaccess.h | 2 +-
5956 arch/x86/kernel/dumpstack.c | 10 +-
5957 arch/x86/kernel/dumpstack_32.c | 2 +-
5958 arch/x86/kernel/dumpstack_64.c | 2 +-
5959 arch/x86/kernel/ioport.c | 13 +
5960 arch/x86/kernel/irq_32.c | 3 +
5961 arch/x86/kernel/irq_64.c | 4 +
5962 arch/x86/kernel/ldt.c | 18 +
5963 arch/x86/kernel/msr.c | 10 +
5964 arch/x86/kernel/ptrace.c | 14 +
5965 arch/x86/kernel/signal.c | 9 +-
5966 arch/x86/kernel/sys_i386_32.c | 9 +-
5967 arch/x86/kernel/sys_x86_64.c | 8 +-
5968 arch/x86/kernel/traps.c | 5 +
5969 arch/x86/kernel/verify_cpu.S | 1 +
5970 arch/x86/kernel/vm86_32.c | 15 +
5971 arch/x86/mm/fault.c | 12 +-
5972 arch/x86/mm/hugetlbpage.c | 15 +-
5973 arch/x86/mm/init.c | 66 +-
5974 arch/x86/mm/init_32.c | 6 +-
5975 arch/x86/mm/pageattr.c | 4 +-
5976 arch/x86/net/bpf_jit_comp.c | 4 +
5977 arch/x86/platform/efi/efi_64.c | 2 +-
5978 arch/x86/xen/Kconfig | 1 +
5979 arch/xtensa/variants/dc232b/include/variant/core.h | 2 +-
5980 arch/xtensa/variants/fsf/include/variant/core.h | 3 +-
5981 crypto/scatterwalk.c | 10 +-
5982 drivers/acpi/acpica/hwxfsleep.c | 11 +-
5983 drivers/acpi/custom_method.c | 4 +
5984 drivers/block/cciss.h | 30 +-
5985 drivers/block/smart1,2.h | 40 +-
5986 drivers/cdrom/cdrom.c | 2 +-
5987 drivers/char/Kconfig | 4 +-
5988 drivers/char/genrtc.c | 1 +
5989 drivers/char/mem.c | 17 +
5990 drivers/char/random.c | 5 +-
5991 drivers/cpufreq/sparc-us3-cpufreq.c | 2 -
5992 drivers/firewire/ohci.c | 4 +
5993 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 70 +-
5994 drivers/gpu/drm/nouveau/nouveau_ttm.c | 28 +-
5995 drivers/gpu/drm/ttm/ttm_bo_manager.c | 10 +-
5996 drivers/gpu/drm/virtio/virtgpu_ttm.c | 10 +-
5997 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c | 10 +-
5998 drivers/hid/hid-wiimote-debug.c | 2 +-
5999 drivers/infiniband/hw/nes/nes_cm.c | 22 +-
6000 drivers/iommu/Kconfig | 1 +
6001 drivers/iommu/amd_iommu.c | 14 +-
6002 drivers/isdn/gigaset/bas-gigaset.c | 32 +-
6003 drivers/isdn/gigaset/ser-gigaset.c | 32 +-
6004 drivers/isdn/gigaset/usb-gigaset.c | 32 +-
6005 drivers/isdn/i4l/isdn_concap.c | 6 +-
6006 drivers/isdn/i4l/isdn_x25iface.c | 16 +-
6007 drivers/md/bcache/Kconfig | 1 +
6008 drivers/md/raid5.c | 8 +
6009 drivers/media/pci/solo6x10/solo6x10-g723.c | 2 +-
6010 drivers/media/platform/sti/c8sectpfe/Kconfig | 1 +
6011 drivers/media/radio/radio-cadet.c | 5 +-
6012 drivers/media/usb/dvb-usb/cinergyT2-core.c | 91 +-
6013 drivers/media/usb/dvb-usb/cinergyT2-fe.c | 182 +-
6014 drivers/media/usb/dvb-usb/dvb-usb-firmware.c | 37 +-
6015 drivers/media/usb/dvb-usb/technisat-usb2.c | 75 +-
6016 drivers/message/fusion/mptbase.c | 9 +
6017 drivers/misc/sgi-xp/xp_main.c | 12 +-
6018 drivers/net/ethernet/brocade/bna/bna_enet.c | 8 +-
6019 drivers/net/ppp/pptp.c | 34 +-
6020 drivers/net/wan/lmc/lmc_media.c | 97 +-
6021 drivers/net/wan/z85230.c | 24 +-
6022 drivers/net/wireless/ath/ath9k/Kconfig | 1 -
6023 drivers/net/wireless/zd1211rw/zd_usb.c | 2 +-
6024 drivers/pci/proc.c | 9 +
6025 drivers/platform/x86/asus-wmi.c | 12 +
6026 drivers/rtc/rtc-dev.c | 3 +
6027 drivers/scsi/bfa/bfa_fcs.c | 19 +-
6028 drivers/scsi/bfa/bfa_fcs_lport.c | 29 +-
6029 drivers/scsi/bfa/bfa_modules.h | 12 +-
6030 drivers/scsi/hpsa.h | 40 +-
6031 drivers/staging/lustre/lustre/ldlm/ldlm_flock.c | 2 +-
6032 drivers/staging/lustre/lustre/libcfs/module.c | 10 +-
6033 drivers/tty/serial/uartlite.c | 4 +-
6034 drivers/tty/sysrq.c | 2 +-
6035 drivers/tty/tty_io.c | 4 +
6036 drivers/tty/vt/keyboard.c | 22 +-
6037 drivers/uio/uio.c | 6 +-
6038 drivers/usb/core/hub.c | 5 +
6039 drivers/usb/gadget/function/f_uac1.c | 1 +
6040 drivers/usb/gadget/function/u_uac1.c | 1 +
6041 drivers/usb/host/hwa-hc.c | 9 +-
6042 drivers/usb/usbip/vhci_sysfs.c | 2 +-
6043 drivers/video/fbdev/arcfb.c | 2 +-
6044 drivers/video/fbdev/matrox/matroxfb_DAC1064.c | 10 +-
6045 drivers/video/fbdev/matrox/matroxfb_Ti3026.c | 5 +-
6046 drivers/video/fbdev/sh_mobile_lcdcfb.c | 6 +-
6047 drivers/video/logo/logo_linux_clut224.ppm | 2720 ++++----
6048 drivers/xen/xenfs/xenstored.c | 5 +
6049 firmware/Makefile | 2 +
6050 firmware/WHENCE | 20 +-
6051 firmware/bnx2/bnx2-mips-06-6.2.3.fw.ihex | 5804 +++++++++++++++++
6052 firmware/bnx2/bnx2-mips-09-6.2.1b.fw.ihex | 6496 ++++++++++++++++++++
6053 fs/attr.c | 4 +
6054 fs/autofs4/waitq.c | 9 +
6055 fs/binfmt_aout.c | 7 +
6056 fs/binfmt_elf.c | 40 +-
6057 fs/compat.c | 20 +-
6058 fs/compat_ioctl.c | 253 +-
6059 fs/coredump.c | 17 +-
6060 fs/dcache.c | 3 +
6061 fs/debugfs/inode.c | 11 +-
6062 fs/exec.c | 231 +-
6063 fs/ext2/balloc.c | 4 +-
6064 fs/ext2/super.c | 8 +-
6065 fs/ext4/balloc.c | 4 +-
6066 fs/ext4/extents.c | 2 +-
6067 fs/fcntl.c | 4 +
6068 fs/fhandle.c | 3 +-
6069 fs/file.c | 4 +
6070 fs/filesystems.c | 4 +
6071 fs/fs_struct.c | 20 +-
6072 fs/hugetlbfs/inode.c | 24 +-
6073 fs/inode.c | 8 +-
6074 fs/internal.h | 7 +
6075 fs/ioctl.c | 4 +-
6076 fs/kernfs/dir.c | 6 +
6077 fs/mount.h | 4 +-
6078 fs/namei.c | 283 +-
6079 fs/namespace.c | 24 +
6080 fs/nfsd/nfscache.c | 2 +-
6081 fs/open.c | 38 +
6082 fs/overlayfs/inode.c | 3 +
6083 fs/overlayfs/super.c | 6 +-
6084 fs/pipe.c | 49 +-
6085 fs/posix_acl.c | 15 +-
6086 fs/proc/Kconfig | 10 +-
6087 fs/proc/array.c | 69 +-
6088 fs/proc/base.c | 186 +-
6089 fs/proc/cmdline.c | 4 +
6090 fs/proc/devices.c | 4 +
6091 fs/proc/fd.c | 12 +-
6092 fs/proc/generic.c | 64 +
6093 fs/proc/inode.c | 17 +
6094 fs/proc/internal.h | 11 +-
6095 fs/proc/interrupts.c | 4 +
6096 fs/proc/kcore.c | 3 +
6097 fs/proc/namespaces.c | 4 +-
6098 fs/proc/proc_net.c | 31 +
6099 fs/proc/proc_sysctl.c | 52 +-
6100 fs/proc/root.c | 8 +
6101 fs/proc/stat.c | 69 +-
6102 fs/proc/task_mmu.c | 66 +-
6103 fs/readdir.c | 19 +
6104 fs/reiserfs/item_ops.c | 24 +-
6105 fs/reiserfs/super.c | 4 +
6106 fs/select.c | 2 +
6107 fs/seq_file.c | 30 +-
6108 fs/stat.c | 20 +-
6109 fs/sysfs/dir.c | 30 +-
6110 fs/utimes.c | 7 +
6111 fs/xattr.c | 26 +-
6112 grsecurity/Kconfig | 1203 ++++
6113 grsecurity/Makefile | 54 +
6114 grsecurity/gracl.c | 2757 +++++++++
6115 grsecurity/gracl_alloc.c | 105 +
6116 grsecurity/gracl_cap.c | 127 +
6117 grsecurity/gracl_compat.c | 269 +
6118 grsecurity/gracl_fs.c | 448 ++
6119 grsecurity/gracl_ip.c | 386 ++
6120 grsecurity/gracl_learn.c | 207 +
6121 grsecurity/gracl_policy.c | 1786 ++++++
6122 grsecurity/gracl_res.c | 68 +
6123 grsecurity/gracl_segv.c | 304 +
6124 grsecurity/gracl_shm.c | 40 +
6125 grsecurity/grsec_chdir.c | 19 +
6126 grsecurity/grsec_chroot.c | 467 ++
6127 grsecurity/grsec_disabled.c | 445 ++
6128 grsecurity/grsec_exec.c | 189 +
6129 grsecurity/grsec_fifo.c | 26 +
6130 grsecurity/grsec_fork.c | 23 +
6131 grsecurity/grsec_init.c | 294 +
6132 grsecurity/grsec_ipc.c | 48 +
6133 grsecurity/grsec_link.c | 65 +
6134 grsecurity/grsec_log.c | 340 +
6135 grsecurity/grsec_mem.c | 48 +
6136 grsecurity/grsec_mount.c | 65 +
6137 grsecurity/grsec_pax.c | 47 +
6138 grsecurity/grsec_proc.c | 20 +
6139 grsecurity/grsec_ptrace.c | 30 +
6140 grsecurity/grsec_sig.c | 245 +
6141 grsecurity/grsec_sock.c | 244 +
6142 grsecurity/grsec_sysctl.c | 497 ++
6143 grsecurity/grsec_time.c | 16 +
6144 grsecurity/grsec_tpe.c | 78 +
6145 grsecurity/grsec_tty.c | 18 +
6146 grsecurity/grsec_usb.c | 15 +
6147 grsecurity/grsum.c | 54 +
6148 include/linux/binfmts.h | 5 +-
6149 include/linux/capability.h | 13 +
6150 include/linux/compiler-gcc.h | 5 +
6151 include/linux/compiler.h | 8 +
6152 include/linux/cred.h | 8 +-
6153 include/linux/dcache.h | 5 +-
6154 include/linux/fs.h | 26 +-
6155 include/linux/fs_struct.h | 2 +-
6156 include/linux/fsnotify.h | 6 +
6157 include/linux/gracl.h | 342 ++
6158 include/linux/gracl_compat.h | 156 +
6159 include/linux/gralloc.h | 9 +
6160 include/linux/grdefs.h | 140 +
6161 include/linux/grinternal.h | 231 +
6162 include/linux/grmsg.h | 119 +
6163 include/linux/grsecurity.h | 258 +
6164 include/linux/grsock.h | 19 +
6165 include/linux/ipc.h | 2 +-
6166 include/linux/ipc_namespace.h | 2 +-
6167 include/linux/kallsyms.h | 18 +-
6168 include/linux/key-type.h | 4 +-
6169 include/linux/kmod.h | 5 +
6170 include/linux/kobject.h | 2 +-
6171 include/linux/lsm_hooks.h | 4 +-
6172 include/linux/mm.h | 12 +
6173 include/linux/mm_types.h | 4 +-
6174 include/linux/module.h | 5 +-
6175 include/linux/mount.h | 2 +-
6176 include/linux/msg.h | 2 +-
6177 include/linux/netfilter/xt_gradm.h | 9 +
6178 include/linux/path.h | 4 +-
6179 include/linux/perf_event.h | 13 +-
6180 include/linux/pid_namespace.h | 2 +-
6181 include/linux/pipe_fs_i.h | 4 +
6182 include/linux/poison.h | 2 +-
6183 include/linux/printk.h | 2 +-
6184 include/linux/proc_fs.h | 22 +-
6185 include/linux/proc_ns.h | 2 +-
6186 include/linux/ptrace.h | 24 +-
6187 include/linux/radix-tree.h | 22 +-
6188 include/linux/random.h | 2 +-
6189 include/linux/rbtree_augmented.h | 4 +-
6190 include/linux/scatterlist.h | 12 +-
6191 include/linux/sched.h | 115 +-
6192 include/linux/security.h | 1 +
6193 include/linux/sem.h | 2 +-
6194 include/linux/seq_file.h | 5 +
6195 include/linux/shm.h | 6 +-
6196 include/linux/shmem_fs.h | 5 +-
6197 include/linux/skbuff.h | 3 +
6198 include/linux/slab.h | 9 -
6199 include/linux/sysctl.h | 8 +-
6200 include/linux/thread_info.h | 6 +-
6201 include/linux/tty.h | 2 +-
6202 include/linux/tty_driver.h | 4 +-
6203 include/linux/uidgid.h | 5 +
6204 include/linux/user_namespace.h | 2 +-
6205 include/linux/utsname.h | 2 +-
6206 include/linux/vermagic.h | 16 +-
6207 include/linux/vmalloc.h | 8 +
6208 include/net/af_unix.h | 6 +-
6209 include/net/ip.h | 2 +-
6210 include/net/neighbour.h | 2 +-
6211 include/net/net_namespace.h | 2 +-
6212 include/net/netfilter/nf_conntrack_core.h | 8 +-
6213 include/net/scm.h | 1 +
6214 include/net/sock.h | 2 +-
6215 include/trace/events/fs.h | 53 +
6216 include/uapi/linux/personality.h | 1 +
6217 init/Kconfig | 2 +
6218 init/main.c | 46 +-
6219 ipc/mqueue.c | 1 +
6220 ipc/msg.c | 3 +-
6221 ipc/msgutil.c | 4 +-
6222 ipc/sem.c | 3 +-
6223 ipc/shm.c | 26 +-
6224 ipc/util.c | 6 +
6225 kernel/auditsc.c | 2 +-
6226 kernel/bpf/syscall.c | 10 +-
6227 kernel/capability.c | 41 +-
6228 kernel/cgroup.c | 5 +-
6229 kernel/compat.c | 1 +
6230 kernel/configs.c | 11 +
6231 kernel/cred.c | 112 +-
6232 kernel/events/core.c | 16 +-
6233 kernel/exit.c | 10 +-
6234 kernel/fork.c | 86 +-
6235 kernel/futex.c | 6 +-
6236 kernel/futex_compat.c | 2 +-
6237 kernel/kallsyms.c | 9 +
6238 kernel/kcmp.c | 8 +-
6239 kernel/kexec_core.c | 2 +-
6240 kernel/kmod.c | 96 +-
6241 kernel/kprobes.c | 9 +-
6242 kernel/ksysfs.c | 2 +
6243 kernel/locking/lockdep_proc.c | 10 +-
6244 kernel/module.c | 108 +-
6245 kernel/panic.c | 4 +-
6246 kernel/pid.c | 18 +-
6247 kernel/power/Kconfig | 2 +
6248 kernel/printk/printk.c | 7 +-
6249 kernel/ptrace.c | 89 +-
6250 kernel/resource.c | 10 +
6251 kernel/sched/core.c | 11 +-
6252 kernel/seccomp.c | 22 +-
6253 kernel/signal.c | 37 +-
6254 kernel/sys.c | 64 +-
6255 kernel/sysctl.c | 186 +-
6256 kernel/taskstats.c | 6 +
6257 kernel/time/posix-timers.c | 8 +
6258 kernel/time/time.c | 5 +
6259 kernel/time/timekeeping.c | 3 +
6260 kernel/time/timer_list.c | 13 +-
6261 kernel/time/timer_stats.c | 10 +-
6262 kernel/trace/Kconfig | 2 +
6263 kernel/trace/trace_syscalls.c | 8 +
6264 kernel/user_namespace.c | 15 +
6265 lib/Kconfig.debug | 13 +-
6266 lib/Kconfig.kasan | 2 +-
6267 lib/is_single_threaded.c | 3 +
6268 lib/list_debug.c | 65 +-
6269 lib/nlattr.c | 2 +
6270 lib/radix-tree.c | 12 +-
6271 lib/rbtree.c | 4 +-
6272 lib/vsprintf.c | 39 +-
6273 localversion-grsec | 1 +
6274 mm/Kconfig | 8 +-
6275 mm/Kconfig.debug | 1 +
6276 mm/filemap.c | 1 +
6277 mm/kmemleak.c | 4 +-
6278 mm/memory.c | 2 +-
6279 mm/mempolicy.c | 12 +-
6280 mm/migrate.c | 3 +-
6281 mm/mlock.c | 11 +-
6282 mm/mmap.c | 103 +-
6283 mm/mprotect.c | 8 +
6284 mm/oom_kill.c | 4 +
6285 mm/page_alloc.c | 2 +-
6286 mm/process_vm_access.c | 8 +-
6287 mm/shmem.c | 11 +-
6288 mm/slab.c | 14 +-
6289 mm/slab_common.c | 2 +-
6290 mm/slob.c | 12 +
6291 mm/slub.c | 33 +-
6292 mm/util.c | 3 +
6293 mm/vmalloc.c | 82 +-
6294 mm/vmstat.c | 29 +-
6295 net/appletalk/atalk_proc.c | 2 +-
6296 net/atm/lec.c | 6 +-
6297 net/atm/mpoa_caches.c | 42 +-
6298 net/can/bcm.c | 2 +-
6299 net/can/proc.c | 2 +-
6300 net/core/dev_ioctl.c | 7 +-
6301 net/core/filter.c | 8 +-
6302 net/core/net-procfs.c | 17 +-
6303 net/core/pktgen.c | 2 +-
6304 net/core/scm.c | 7 +
6305 net/core/sock.c | 3 +-
6306 net/core/sysctl_net_core.c | 2 +-
6307 net/decnet/dn_dev.c | 2 +-
6308 net/ipv4/Kconfig | 1 +
6309 net/ipv4/devinet.c | 6 +-
6310 net/ipv4/inet_hashtables.c | 4 +
6311 net/ipv4/ip_input.c | 7 +
6312 net/ipv4/ip_sockglue.c | 3 +-
6313 net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 +-
6314 net/ipv4/route.c | 6 +-
6315 net/ipv4/tcp_input.c | 6 +-
6316 net/ipv4/tcp_ipv4.c | 24 +-
6317 net/ipv4/tcp_minisocks.c | 9 +-
6318 net/ipv4/tcp_timer.c | 11 +
6319 net/ipv4/udp.c | 24 +
6320 net/ipv6/Kconfig | 1 +
6321 net/ipv6/addrconf.c | 13 +-
6322 net/ipv6/proc.c | 2 +-
6323 net/ipv6/tcp_ipv6.c | 23 +-
6324 net/ipv6/udp.c | 7 +
6325 net/ipx/ipx_proc.c | 2 +-
6326 net/irda/irproc.c | 2 +-
6327 net/iucv/af_iucv.c | 3 +
6328 net/llc/llc_proc.c | 2 +-
6329 net/netfilter/Kconfig | 10 +
6330 net/netfilter/Makefile | 1 +
6331 net/netfilter/nf_conntrack_core.c | 46 +-
6332 net/netfilter/nf_conntrack_helper.c | 2 +-
6333 net/netfilter/nf_conntrack_netlink.c | 2 +-
6334 net/netfilter/xt_gradm.c | 51 +
6335 net/netfilter/xt_hashlimit.c | 4 +-
6336 net/netfilter/xt_recent.c | 2 +-
6337 net/openvswitch/actions.c | 19 +-
6338 net/sctp/sm_sideeffect.c | 11 +-
6339 net/sctp/sm_statefuns.c | 17 +-
6340 net/socket.c | 75 +-
6341 net/sunrpc/Kconfig | 1 +
6342 net/sunrpc/cache.c | 2 +-
6343 net/sunrpc/stats.c | 2 +-
6344 net/sysctl_net.c | 2 +-
6345 net/unix/af_unix.c | 57 +-
6346 net/unix/garbage.c | 8 +-
6347 net/vmw_vsock/vmci_transport_notify.c | 30 +-
6348 net/vmw_vsock/vmci_transport_notify_qstate.c | 30 +-
6349 net/x25/sysctl_net_x25.c | 2 +-
6350 net/x25/x25_proc.c | 2 +-
6351 scripts/package/Makefile | 2 +-
6352 scripts/package/mkspec | 41 +-
6353 security/Kconfig | 369 +-
6354 security/apparmor/file.c | 4 +-
6355 security/apparmor/lsm.c | 8 +-
6356 security/commoncap.c | 36 +-
6357 security/keys/internal.h | 2 +-
6358 security/min_addr.c | 2 +
6359 security/smack/smack_lsm.c | 8 +-
6360 security/tomoyo/file.c | 12 +-
6361 security/tomoyo/mount.c | 4 +
6362 security/tomoyo/tomoyo.c | 20 +-
6363 security/yama/Kconfig | 2 +-
6364 security/yama/yama_lsm.c | 4 +-
6365 sound/core/timer.c | 4 +-
6366 sound/synth/emux/emux_seq.c | 14 +-
6367 sound/usb/line6/driver.c | 40 +-
6368 sound/usb/line6/toneport.c | 12 +-
6369 tools/gcc/.gitignore | 1 +
6370 tools/gcc/Makefile | 12 +
6371 tools/gcc/gen-random-seed.sh | 8 +
6372 tools/gcc/randomize_layout_plugin.c | 930 +++
6373 tools/gcc/size_overflow_plugin/.gitignore | 1 +
6374 .../size_overflow_plugin/size_overflow_hash.data | 463 +-
6375 513 files changed, 33007 insertions(+), 3251 deletions(-)
6376
6377 commit 6cb4f49b6a55cf16ae82685e1ab9b74c95b2f743
6378 Author: Brad Spengler <spender@grsecurity.net>
6379 Date: Mon Feb 15 10:51:41 2016 -0500
6380
6381 Initial import of pax-linux-4.4.1-test3.patch
6382
6383 Documentation/dontdiff | 46 +-
6384 Documentation/kbuild/makefiles.txt | 39 +-
6385 Documentation/kernel-parameters.txt | 28 +
6386 Makefile | 119 +-
6387 arch/alpha/include/asm/atomic.h | 10 +
6388 arch/alpha/include/asm/elf.h | 7 +
6389 arch/alpha/include/asm/pgalloc.h | 6 +
6390 arch/alpha/include/asm/pgtable.h | 11 +
6391 arch/alpha/kernel/module.c | 2 +-
6392 arch/alpha/kernel/osf_sys.c | 8 +-
6393 arch/alpha/mm/fault.c | 141 +-
6394 arch/arm/Kconfig | 3 +-
6395 arch/arm/include/asm/atomic.h | 323 +-
6396 arch/arm/include/asm/cache.h | 5 +-
6397 arch/arm/include/asm/cacheflush.h | 2 +-
6398 arch/arm/include/asm/checksum.h | 14 +-
6399 arch/arm/include/asm/cmpxchg.h | 4 +
6400 arch/arm/include/asm/cpuidle.h | 2 +-
6401 arch/arm/include/asm/domain.h | 42 +-
6402 arch/arm/include/asm/elf.h | 9 +-
6403 arch/arm/include/asm/fncpy.h | 2 +
6404 arch/arm/include/asm/futex.h | 1 +
6405 arch/arm/include/asm/kmap_types.h | 2 +-
6406 arch/arm/include/asm/mach/dma.h | 2 +-
6407 arch/arm/include/asm/mach/map.h | 16 +-
6408 arch/arm/include/asm/outercache.h | 2 +-
6409 arch/arm/include/asm/page.h | 3 +-
6410 arch/arm/include/asm/pgalloc.h | 20 +
6411 arch/arm/include/asm/pgtable-2level-hwdef.h | 4 +-
6412 arch/arm/include/asm/pgtable-2level.h | 3 +
6413 arch/arm/include/asm/pgtable-3level.h | 3 +
6414 arch/arm/include/asm/pgtable.h | 54 +-
6415 arch/arm/include/asm/smp.h | 2 +-
6416 arch/arm/include/asm/thread_info.h | 3 +
6417 arch/arm/include/asm/tls.h | 3 +
6418 arch/arm/include/asm/uaccess.h | 113 +-
6419 arch/arm/include/uapi/asm/ptrace.h | 2 +-
6420 arch/arm/kernel/armksyms.c | 2 +-
6421 arch/arm/kernel/cpuidle.c | 2 +-
6422 arch/arm/kernel/entry-armv.S | 109 +-
6423 arch/arm/kernel/entry-common.S | 40 +-
6424 arch/arm/kernel/entry-header.S | 55 +
6425 arch/arm/kernel/fiq.c | 3 +
6426 arch/arm/kernel/module-plts.c | 7 +-
6427 arch/arm/kernel/module.c | 38 +-
6428 arch/arm/kernel/patch.c | 2 +
6429 arch/arm/kernel/process.c | 92 +-
6430 arch/arm/kernel/reboot.c | 1 +
6431 arch/arm/kernel/setup.c | 20 +-
6432 arch/arm/kernel/signal.c | 35 +-
6433 arch/arm/kernel/smp.c | 2 +-
6434 arch/arm/kernel/tcm.c | 4 +-
6435 arch/arm/kernel/vmlinux.lds.S | 6 +-
6436 arch/arm/kvm/arm.c | 8 +-
6437 arch/arm/lib/copy_page.S | 1 +
6438 arch/arm/lib/csumpartialcopyuser.S | 4 +-
6439 arch/arm/lib/delay.c | 2 +-
6440 arch/arm/lib/uaccess_with_memcpy.c | 4 +-
6441 arch/arm/mach-exynos/suspend.c | 6 +-
6442 arch/arm/mach-mvebu/coherency.c | 4 +-
6443 arch/arm/mach-omap2/board-n8x0.c | 2 +-
6444 arch/arm/mach-omap2/omap-mpuss-lowpower.c | 4 +-
6445 arch/arm/mach-omap2/omap-smp.c | 1 +
6446 arch/arm/mach-omap2/omap_device.c | 4 +-
6447 arch/arm/mach-omap2/omap_device.h | 4 +-
6448 arch/arm/mach-omap2/omap_hwmod.c | 4 +-
6449 arch/arm/mach-omap2/powerdomains43xx_data.c | 5 +-
6450 arch/arm/mach-omap2/wd_timer.c | 6 +-
6451 arch/arm/mach-shmobile/platsmp-apmu.c | 5 +-
6452 arch/arm/mach-tegra/cpuidle-tegra20.c | 2 +-
6453 arch/arm/mach-tegra/irq.c | 1 +
6454 arch/arm/mach-ux500/pm.c | 1 +
6455 arch/arm/mach-zynq/platsmp.c | 1 +
6456 arch/arm/mm/Kconfig | 6 +-
6457 arch/arm/mm/cache-l2x0.c | 2 +-
6458 arch/arm/mm/context.c | 10 +-
6459 arch/arm/mm/fault.c | 146 +
6460 arch/arm/mm/fault.h | 12 +
6461 arch/arm/mm/init.c | 39 +
6462 arch/arm/mm/ioremap.c | 4 +-
6463 arch/arm/mm/mmap.c | 30 +-
6464 arch/arm/mm/mmu.c | 162 +-
6465 arch/arm/net/bpf_jit_32.c | 3 +
6466 arch/arm/plat-iop/setup.c | 2 +-
6467 arch/arm/plat-omap/sram.c | 2 +
6468 arch/arm64/include/asm/atomic.h | 10 +
6469 arch/arm64/include/asm/percpu.h | 8 +-
6470 arch/arm64/include/asm/pgalloc.h | 5 +
6471 arch/arm64/include/asm/uaccess.h | 1 +
6472 arch/arm64/mm/dma-mapping.c | 2 +-
6473 arch/avr32/include/asm/elf.h | 8 +-
6474 arch/avr32/include/asm/kmap_types.h | 4 +-
6475 arch/avr32/mm/fault.c | 27 +
6476 arch/frv/include/asm/atomic.h | 10 +
6477 arch/frv/include/asm/kmap_types.h | 2 +-
6478 arch/frv/mm/elf-fdpic.c | 3 +-
6479 arch/ia64/Makefile | 1 +
6480 arch/ia64/include/asm/atomic.h | 10 +
6481 arch/ia64/include/asm/elf.h | 7 +
6482 arch/ia64/include/asm/pgalloc.h | 12 +
6483 arch/ia64/include/asm/pgtable.h | 13 +-
6484 arch/ia64/include/asm/spinlock.h | 2 +-
6485 arch/ia64/include/asm/uaccess.h | 27 +-
6486 arch/ia64/kernel/module.c | 45 +-
6487 arch/ia64/kernel/palinfo.c | 2 +-
6488 arch/ia64/kernel/sys_ia64.c | 7 +
6489 arch/ia64/kernel/vmlinux.lds.S | 2 +-
6490 arch/ia64/mm/fault.c | 32 +-
6491 arch/ia64/mm/init.c | 15 +-
6492 arch/m32r/lib/usercopy.c | 6 +
6493 arch/mips/cavium-octeon/dma-octeon.c | 2 +-
6494 arch/mips/include/asm/atomic.h | 368 +-
6495 arch/mips/include/asm/elf.h | 7 +
6496 arch/mips/include/asm/exec.h | 2 +-
6497 arch/mips/include/asm/hw_irq.h | 2 +-
6498 arch/mips/include/asm/local.h | 57 +
6499 arch/mips/include/asm/page.h | 2 +-
6500 arch/mips/include/asm/pgalloc.h | 5 +
6501 arch/mips/include/asm/pgtable.h | 3 +
6502 arch/mips/include/asm/uaccess.h | 1 +
6503 arch/mips/kernel/binfmt_elfn32.c | 7 +
6504 arch/mips/kernel/binfmt_elfo32.c | 7 +
6505 arch/mips/kernel/irq-gt641xx.c | 2 +-
6506 arch/mips/kernel/irq.c | 6 +-
6507 arch/mips/kernel/pm-cps.c | 2 +-
6508 arch/mips/kernel/process.c | 12 -
6509 arch/mips/kernel/sync-r4k.c | 24 +-
6510 arch/mips/kernel/traps.c | 13 +-
6511 arch/mips/mm/fault.c | 25 +
6512 arch/mips/mm/mmap.c | 51 +-
6513 arch/mips/sgi-ip27/ip27-nmi.c | 6 +-
6514 arch/mips/sni/rm200.c | 2 +-
6515 arch/mips/vr41xx/common/icu.c | 2 +-
6516 arch/mips/vr41xx/common/irq.c | 4 +-
6517 arch/parisc/include/asm/atomic.h | 10 +
6518 arch/parisc/include/asm/elf.h | 7 +
6519 arch/parisc/include/asm/pgalloc.h | 6 +
6520 arch/parisc/include/asm/pgtable.h | 11 +
6521 arch/parisc/include/asm/uaccess.h | 4 +-
6522 arch/parisc/kernel/module.c | 50 +-
6523 arch/parisc/kernel/sys_parisc.c | 15 +
6524 arch/parisc/kernel/traps.c | 4 +-
6525 arch/parisc/mm/fault.c | 140 +-
6526 arch/powerpc/include/asm/atomic.h | 329 +-
6527 arch/powerpc/include/asm/elf.h | 12 +
6528 arch/powerpc/include/asm/exec.h | 2 +-
6529 arch/powerpc/include/asm/kmap_types.h | 2 +-
6530 arch/powerpc/include/asm/local.h | 46 +
6531 arch/powerpc/include/asm/mman.h | 2 +-
6532 arch/powerpc/include/asm/page.h | 8 +-
6533 arch/powerpc/include/asm/page_64.h | 7 +-
6534 arch/powerpc/include/asm/pgalloc-64.h | 7 +
6535 arch/powerpc/include/asm/pgtable.h | 1 +
6536 arch/powerpc/include/asm/pte-hash32.h | 1 +
6537 arch/powerpc/include/asm/reg.h | 1 +
6538 arch/powerpc/include/asm/smp.h | 2 +-
6539 arch/powerpc/include/asm/spinlock.h | 42 +-
6540 arch/powerpc/include/asm/uaccess.h | 141 +-
6541 arch/powerpc/kernel/Makefile | 5 +
6542 arch/powerpc/kernel/exceptions-64e.S | 4 +-
6543 arch/powerpc/kernel/exceptions-64s.S | 2 +-
6544 arch/powerpc/kernel/module_32.c | 15 +-
6545 arch/powerpc/kernel/process.c | 46 -
6546 arch/powerpc/kernel/signal_32.c | 2 +-
6547 arch/powerpc/kernel/signal_64.c | 2 +-
6548 arch/powerpc/kernel/traps.c | 21 +
6549 arch/powerpc/kernel/vdso.c | 5 +-
6550 arch/powerpc/lib/usercopy_64.c | 18 -
6551 arch/powerpc/mm/fault.c | 56 +-
6552 arch/powerpc/mm/mmap.c | 16 +
6553 arch/powerpc/mm/slice.c | 13 +-
6554 arch/powerpc/platforms/cell/spufs/file.c | 4 +-
6555 arch/s390/include/asm/atomic.h | 10 +
6556 arch/s390/include/asm/elf.h | 7 +
6557 arch/s390/include/asm/exec.h | 2 +-
6558 arch/s390/include/asm/uaccess.h | 13 +-
6559 arch/s390/kernel/module.c | 22 +-
6560 arch/s390/kernel/process.c | 20 -
6561 arch/s390/mm/mmap.c | 16 +
6562 arch/score/include/asm/exec.h | 2 +-
6563 arch/score/kernel/process.c | 5 -
6564 arch/sh/mm/mmap.c | 22 +-
6565 arch/sparc/include/asm/atomic_64.h | 110 +-
6566 arch/sparc/include/asm/cache.h | 2 +-
6567 arch/sparc/include/asm/elf_32.h | 7 +
6568 arch/sparc/include/asm/elf_64.h | 7 +
6569 arch/sparc/include/asm/pgalloc_32.h | 1 +
6570 arch/sparc/include/asm/pgalloc_64.h | 1 +
6571 arch/sparc/include/asm/pgtable.h | 4 +
6572 arch/sparc/include/asm/pgtable_32.h | 15 +-
6573 arch/sparc/include/asm/pgtsrmmu.h | 5 +
6574 arch/sparc/include/asm/setup.h | 4 +-
6575 arch/sparc/include/asm/spinlock_64.h | 35 +-
6576 arch/sparc/include/asm/thread_info_32.h | 1 +
6577 arch/sparc/include/asm/thread_info_64.h | 2 +
6578 arch/sparc/include/asm/uaccess.h | 1 +
6579 arch/sparc/include/asm/uaccess_32.h | 28 +-
6580 arch/sparc/include/asm/uaccess_64.h | 24 +-
6581 arch/sparc/kernel/Makefile | 2 +-
6582 arch/sparc/kernel/prom_common.c | 2 +-
6583 arch/sparc/kernel/smp_64.c | 8 +-
6584 arch/sparc/kernel/sys_sparc_32.c | 2 +-
6585 arch/sparc/kernel/sys_sparc_64.c | 52 +-
6586 arch/sparc/kernel/traps_64.c | 27 +-
6587 arch/sparc/lib/Makefile | 2 +-
6588 arch/sparc/lib/atomic_64.S | 57 +-
6589 arch/sparc/lib/ksyms.c | 6 +-
6590 arch/sparc/mm/Makefile | 2 +-
6591 arch/sparc/mm/fault_32.c | 292 +
6592 arch/sparc/mm/fault_64.c | 486 +
6593 arch/sparc/mm/hugetlbpage.c | 22 +-
6594 arch/sparc/mm/init_64.c | 10 +-
6595 arch/tile/include/asm/atomic_64.h | 10 +
6596 arch/tile/include/asm/uaccess.h | 4 +-
6597 arch/um/Makefile | 4 +
6598 arch/um/include/asm/kmap_types.h | 2 +-
6599 arch/um/include/asm/page.h | 3 +
6600 arch/um/include/asm/pgtable-3level.h | 1 +
6601 arch/um/kernel/process.c | 16 -
6602 arch/x86/Kconfig | 26 +-
6603 arch/x86/Kconfig.cpu | 6 +-
6604 arch/x86/Kconfig.debug | 4 +-
6605 arch/x86/Makefile | 13 +-
6606 arch/x86/boot/Makefile | 3 +
6607 arch/x86/boot/bitops.h | 4 +-
6608 arch/x86/boot/boot.h | 2 +-
6609 arch/x86/boot/compressed/Makefile | 3 +
6610 arch/x86/boot/compressed/efi_stub_32.S | 16 +-
6611 arch/x86/boot/compressed/efi_thunk_64.S | 4 +-
6612 arch/x86/boot/compressed/head_32.S | 4 +-
6613 arch/x86/boot/compressed/head_64.S | 12 +-
6614 arch/x86/boot/compressed/misc.c | 11 +-
6615 arch/x86/boot/cpucheck.c | 16 +-
6616 arch/x86/boot/header.S | 6 +-
6617 arch/x86/boot/memory.c | 2 +-
6618 arch/x86/boot/video-vesa.c | 1 +
6619 arch/x86/boot/video.c | 2 +-
6620 arch/x86/crypto/aes-x86_64-asm_64.S | 4 +
6621 arch/x86/crypto/aesni-intel_asm.S | 106 +-
6622 arch/x86/crypto/blowfish-x86_64-asm_64.S | 7 +
6623 arch/x86/crypto/camellia-aesni-avx-asm_64.S | 10 +
6624 arch/x86/crypto/camellia-aesni-avx2-asm_64.S | 10 +
6625 arch/x86/crypto/camellia-x86_64-asm_64.S | 7 +
6626 arch/x86/crypto/cast5-avx-x86_64-asm_64.S | 51 +-
6627 arch/x86/crypto/cast6-avx-x86_64-asm_64.S | 25 +-
6628 arch/x86/crypto/crc32c-pcl-intel-asm_64.S | 2 +
6629 arch/x86/crypto/ghash-clmulni-intel_asm.S | 4 +
6630 arch/x86/crypto/salsa20-x86_64-asm_64.S | 4 +
6631 arch/x86/crypto/serpent-avx-x86_64-asm_64.S | 9 +
6632 arch/x86/crypto/serpent-avx2-asm_64.S | 9 +
6633 arch/x86/crypto/serpent-sse2-x86_64-asm_64.S | 4 +
6634 arch/x86/crypto/sha1_ssse3_asm.S | 10 +-
6635 arch/x86/crypto/sha256-avx-asm.S | 2 +
6636 arch/x86/crypto/sha256-avx2-asm.S | 2 +
6637 arch/x86/crypto/sha256-ssse3-asm.S | 2 +
6638 arch/x86/crypto/sha512-avx-asm.S | 2 +
6639 arch/x86/crypto/sha512-avx2-asm.S | 2 +
6640 arch/x86/crypto/sha512-ssse3-asm.S | 2 +
6641 arch/x86/crypto/twofish-avx-x86_64-asm_64.S | 25 +-
6642 arch/x86/crypto/twofish-x86_64-asm_64-3way.S | 4 +
6643 arch/x86/crypto/twofish-x86_64-asm_64.S | 3 +
6644 arch/x86/entry/calling.h | 86 +-
6645 arch/x86/entry/common.c | 28 +-
6646 arch/x86/entry/entry_32.S | 311 +-
6647 arch/x86/entry/entry_64.S | 625 +-
6648 arch/x86/entry/entry_64_compat.S | 67 +-
6649 arch/x86/entry/thunk_64.S | 2 +
6650 arch/x86/entry/vdso/Makefile | 2 +-
6651 arch/x86/entry/vdso/vdso2c.h | 8 +-
6652 arch/x86/entry/vdso/vma.c | 37 +-
6653 arch/x86/entry/vsyscall/vsyscall_64.c | 20 +-
6654 arch/x86/entry/vsyscall/vsyscall_emu_64.S | 2 +-
6655 arch/x86/ia32/ia32_signal.c | 23 +-
6656 arch/x86/ia32/sys_ia32.c | 42 +-
6657 arch/x86/include/asm/alternative-asm.h | 43 +-
6658 arch/x86/include/asm/alternative.h | 4 +-
6659 arch/x86/include/asm/apic.h | 2 +-
6660 arch/x86/include/asm/apm.h | 4 +-
6661 arch/x86/include/asm/atomic.h | 230 +-
6662 arch/x86/include/asm/atomic64_32.h | 100 +
6663 arch/x86/include/asm/atomic64_64.h | 164 +-
6664 arch/x86/include/asm/bitops.h | 18 +-
6665 arch/x86/include/asm/boot.h | 2 +-
6666 arch/x86/include/asm/cache.h | 5 +-
6667 arch/x86/include/asm/checksum_32.h | 12 +-
6668 arch/x86/include/asm/cmpxchg.h | 39 +
6669 arch/x86/include/asm/compat.h | 4 +
6670 arch/x86/include/asm/cpufeature.h | 17 +-
6671 arch/x86/include/asm/desc.h | 78 +-
6672 arch/x86/include/asm/desc_defs.h | 6 +
6673 arch/x86/include/asm/div64.h | 2 +-
6674 arch/x86/include/asm/dma.h | 2 +
6675 arch/x86/include/asm/elf.h | 33 +-
6676 arch/x86/include/asm/emergency-restart.h | 2 +-
6677 arch/x86/include/asm/fpu/internal.h | 42 +-
6678 arch/x86/include/asm/fpu/types.h | 5 +-
6679 arch/x86/include/asm/futex.h | 14 +-
6680 arch/x86/include/asm/hw_irq.h | 4 +-
6681 arch/x86/include/asm/i8259.h | 2 +-
6682 arch/x86/include/asm/io.h | 22 +-
6683 arch/x86/include/asm/irqflags.h | 5 +
6684 arch/x86/include/asm/kprobes.h | 9 +-
6685 arch/x86/include/asm/local.h | 106 +-
6686 arch/x86/include/asm/mman.h | 15 +
6687 arch/x86/include/asm/mmu.h | 14 +-
6688 arch/x86/include/asm/mmu_context.h | 133 +-
6689 arch/x86/include/asm/module.h | 17 +-
6690 arch/x86/include/asm/nmi.h | 19 +-
6691 arch/x86/include/asm/page.h | 1 +
6692 arch/x86/include/asm/page_32.h | 12 +-
6693 arch/x86/include/asm/page_64.h | 14 +-
6694 arch/x86/include/asm/paravirt.h | 46 +-
6695 arch/x86/include/asm/paravirt_types.h | 15 +-
6696 arch/x86/include/asm/pgalloc.h | 23 +
6697 arch/x86/include/asm/pgtable-2level.h | 2 +
6698 arch/x86/include/asm/pgtable-3level.h | 7 +
6699 arch/x86/include/asm/pgtable.h | 126 +-
6700 arch/x86/include/asm/pgtable_32.h | 14 +-
6701 arch/x86/include/asm/pgtable_32_types.h | 24 +-
6702 arch/x86/include/asm/pgtable_64.h | 23 +-
6703 arch/x86/include/asm/pgtable_64_types.h | 5 +
6704 arch/x86/include/asm/pgtable_types.h | 26 +-
6705 arch/x86/include/asm/pmem.h | 2 +-
6706 arch/x86/include/asm/preempt.h | 2 +-
6707 arch/x86/include/asm/processor.h | 57 +-
6708 arch/x86/include/asm/ptrace.h | 15 +-
6709 arch/x86/include/asm/realmode.h | 4 +-
6710 arch/x86/include/asm/reboot.h | 10 +-
6711 arch/x86/include/asm/rmwcc.h | 84 +-
6712 arch/x86/include/asm/rwsem.h | 60 +-
6713 arch/x86/include/asm/segment.h | 27 +-
6714 arch/x86/include/asm/smap.h | 43 +
6715 arch/x86/include/asm/smp.h | 14 +-
6716 arch/x86/include/asm/stackprotector.h | 4 +-
6717 arch/x86/include/asm/stacktrace.h | 34 +-
6718 arch/x86/include/asm/switch_to.h | 4 +-
6719 arch/x86/include/asm/sys_ia32.h | 6 +-
6720 arch/x86/include/asm/thread_info.h | 27 +-
6721 arch/x86/include/asm/tlbflush.h | 77 +-
6722 arch/x86/include/asm/uaccess.h | 210 +-
6723 arch/x86/include/asm/uaccess_32.h | 28 +-
6724 arch/x86/include/asm/uaccess_64.h | 169 +-
6725 arch/x86/include/asm/word-at-a-time.h | 2 +-
6726 arch/x86/include/asm/x86_init.h | 10 +-
6727 arch/x86/include/asm/xen/page.h | 2 +-
6728 arch/x86/include/uapi/asm/e820.h | 2 +-
6729 arch/x86/kernel/Makefile | 2 +-
6730 arch/x86/kernel/acpi/boot.c | 4 +-
6731 arch/x86/kernel/acpi/sleep.c | 4 +
6732 arch/x86/kernel/acpi/wakeup_32.S | 6 +-
6733 arch/x86/kernel/alternative.c | 124 +-
6734 arch/x86/kernel/apic/apic.c | 4 +-
6735 arch/x86/kernel/apic/apic_flat_64.c | 6 +-
6736 arch/x86/kernel/apic/apic_noop.c | 2 +-
6737 arch/x86/kernel/apic/bigsmp_32.c | 2 +-
6738 arch/x86/kernel/apic/io_apic.c | 8 +-
6739 arch/x86/kernel/apic/msi.c | 2 +-
6740 arch/x86/kernel/apic/probe_32.c | 4 +-
6741 arch/x86/kernel/apic/vector.c | 2 +
6742 arch/x86/kernel/apic/x2apic_cluster.c | 2 +-
6743 arch/x86/kernel/apic/x2apic_phys.c | 2 +-
6744 arch/x86/kernel/apic/x2apic_uv_x.c | 2 +-
6745 arch/x86/kernel/apm_32.c | 21 +-
6746 arch/x86/kernel/asm-offsets.c | 20 +
6747 arch/x86/kernel/asm-offsets_64.c | 1 +
6748 arch/x86/kernel/cpu/Makefile | 4 -
6749 arch/x86/kernel/cpu/amd.c | 2 +-
6750 arch/x86/kernel/cpu/bugs_64.c | 2 +
6751 arch/x86/kernel/cpu/common.c | 202 +-
6752 arch/x86/kernel/cpu/intel_cacheinfo.c | 14 +-
6753 arch/x86/kernel/cpu/mcheck/mce.c | 34 +-
6754 arch/x86/kernel/cpu/mcheck/p5.c | 3 +
6755 arch/x86/kernel/cpu/mcheck/winchip.c | 3 +
6756 arch/x86/kernel/cpu/microcode/intel.c | 4 +-
6757 arch/x86/kernel/cpu/mtrr/generic.c | 6 +-
6758 arch/x86/kernel/cpu/mtrr/main.c | 2 +-
6759 arch/x86/kernel/cpu/mtrr/mtrr.h | 2 +-
6760 arch/x86/kernel/cpu/perf_event.c | 10 +-
6761 arch/x86/kernel/cpu/perf_event.h | 2 +-
6762 arch/x86/kernel/cpu/perf_event_amd_iommu.c | 2 +-
6763 arch/x86/kernel/cpu/perf_event_intel.c | 34 +-
6764 arch/x86/kernel/cpu/perf_event_intel_bts.c | 6 +-
6765 arch/x86/kernel/cpu/perf_event_intel_cqm.c | 4 +-
6766 arch/x86/kernel/cpu/perf_event_intel_ds.c | 7 +-
6767 arch/x86/kernel/cpu/perf_event_intel_lbr.c | 4 +-
6768 arch/x86/kernel/cpu/perf_event_intel_pt.c | 42 +-
6769 arch/x86/kernel/cpu/perf_event_intel_rapl.c | 2 +-
6770 arch/x86/kernel/cpu/perf_event_intel_uncore.c | 2 +-
6771 arch/x86/kernel/cpu/perf_event_intel_uncore.h | 2 +-
6772 arch/x86/kernel/crash_dump_64.c | 2 +-
6773 arch/x86/kernel/doublefault.c | 8 +-
6774 arch/x86/kernel/dumpstack.c | 24 +-
6775 arch/x86/kernel/dumpstack_32.c | 25 +-
6776 arch/x86/kernel/dumpstack_64.c | 62 +-
6777 arch/x86/kernel/e820.c | 4 +-
6778 arch/x86/kernel/early_printk.c | 1 +
6779 arch/x86/kernel/espfix_64.c | 44 +-
6780 arch/x86/kernel/fpu/core.c | 24 +-
6781 arch/x86/kernel/fpu/init.c | 40 +-
6782 arch/x86/kernel/fpu/regset.c | 22 +-
6783 arch/x86/kernel/fpu/signal.c | 20 +-
6784 arch/x86/kernel/fpu/xstate.c | 6 +-
6785 arch/x86/kernel/ftrace.c | 18 +-
6786 arch/x86/kernel/head64.c | 14 +-
6787 arch/x86/kernel/head_32.S | 235 +-
6788 arch/x86/kernel/head_64.S | 173 +-
6789 arch/x86/kernel/i386_ksyms_32.c | 12 +
6790 arch/x86/kernel/i8259.c | 10 +-
6791 arch/x86/kernel/io_delay.c | 2 +-
6792 arch/x86/kernel/ioport.c | 2 +-
6793 arch/x86/kernel/irq.c | 8 +-
6794 arch/x86/kernel/irq_32.c | 45 +-
6795 arch/x86/kernel/jump_label.c | 10 +-
6796 arch/x86/kernel/kgdb.c | 21 +-
6797 arch/x86/kernel/kprobes/core.c | 28 +-
6798 arch/x86/kernel/kprobes/opt.c | 16 +-
6799 arch/x86/kernel/ksysfs.c | 2 +-
6800 arch/x86/kernel/kvmclock.c | 20 +-
6801 arch/x86/kernel/ldt.c | 25 +
6802 arch/x86/kernel/livepatch.c | 11 +-
6803 arch/x86/kernel/machine_kexec_32.c | 6 +-
6804 arch/x86/kernel/mcount_64.S | 19 +-
6805 arch/x86/kernel/module.c | 78 +-
6806 arch/x86/kernel/msr.c | 2 +-
6807 arch/x86/kernel/nmi.c | 34 +-
6808 arch/x86/kernel/nmi_selftest.c | 4 +-
6809 arch/x86/kernel/paravirt-spinlocks.c | 2 +-
6810 arch/x86/kernel/paravirt.c | 45 +-
6811 arch/x86/kernel/paravirt_patch_64.c | 8 +
6812 arch/x86/kernel/pci-calgary_64.c | 2 +-
6813 arch/x86/kernel/pci-iommu_table.c | 2 +-
6814 arch/x86/kernel/pci-swiotlb.c | 2 +-
6815 arch/x86/kernel/process.c | 80 +-
6816 arch/x86/kernel/process_32.c | 29 +-
6817 arch/x86/kernel/process_64.c | 14 +-
6818 arch/x86/kernel/ptrace.c | 20 +-
6819 arch/x86/kernel/pvclock.c | 8 +-
6820 arch/x86/kernel/reboot.c | 44 +-
6821 arch/x86/kernel/reboot_fixups_32.c | 2 +-
6822 arch/x86/kernel/relocate_kernel_64.S | 3 +-
6823 arch/x86/kernel/setup.c | 29 +-
6824 arch/x86/kernel/setup_percpu.c | 29 +-
6825 arch/x86/kernel/signal.c | 17 +-
6826 arch/x86/kernel/smp.c | 2 +-
6827 arch/x86/kernel/smpboot.c | 29 +-
6828 arch/x86/kernel/step.c | 6 +-
6829 arch/x86/kernel/sys_i386_32.c | 184 +
6830 arch/x86/kernel/sys_x86_64.c | 22 +-
6831 arch/x86/kernel/tboot.c | 22 +-
6832 arch/x86/kernel/time.c | 8 +-
6833 arch/x86/kernel/tls.c | 7 +-
6834 arch/x86/kernel/tracepoint.c | 4 +-
6835 arch/x86/kernel/traps.c | 53 +-
6836 arch/x86/kernel/tsc.c | 2 +-
6837 arch/x86/kernel/uprobes.c | 4 +-
6838 arch/x86/kernel/vm86_32.c | 6 +-
6839 arch/x86/kernel/vmlinux.lds.S | 153 +-
6840 arch/x86/kernel/x8664_ksyms_64.c | 6 +-
6841 arch/x86/kernel/x86_init.c | 6 +-
6842 arch/x86/kvm/cpuid.c | 21 +-
6843 arch/x86/kvm/emulate.c | 6 +-
6844 arch/x86/kvm/i8259.c | 10 +-
6845 arch/x86/kvm/ioapic.c | 2 +
6846 arch/x86/kvm/lapic.c | 2 +-
6847 arch/x86/kvm/paging_tmpl.h | 2 +-
6848 arch/x86/kvm/svm.c | 10 +-
6849 arch/x86/kvm/vmx.c | 62 +-
6850 arch/x86/kvm/x86.c | 44 +-
6851 arch/x86/lguest/boot.c | 3 +-
6852 arch/x86/lib/atomic64_386_32.S | 164 +
6853 arch/x86/lib/atomic64_cx8_32.S | 98 +-
6854 arch/x86/lib/checksum_32.S | 99 +-
6855 arch/x86/lib/clear_page_64.S | 3 +
6856 arch/x86/lib/cmpxchg16b_emu.S | 3 +
6857 arch/x86/lib/copy_page_64.S | 14 +-
6858 arch/x86/lib/copy_user_64.S | 66 +-
6859 arch/x86/lib/csum-copy_64.S | 14 +-
6860 arch/x86/lib/csum-wrappers_64.c | 8 +-
6861 arch/x86/lib/getuser.S | 74 +-
6862 arch/x86/lib/insn.c | 8 +-
6863 arch/x86/lib/iomap_copy_64.S | 2 +
6864 arch/x86/lib/memcpy_64.S | 6 +
6865 arch/x86/lib/memmove_64.S | 3 +-
6866 arch/x86/lib/memset_64.S | 3 +
6867 arch/x86/lib/mmx_32.c | 243 +-
6868 arch/x86/lib/msr-reg.S | 2 +
6869 arch/x86/lib/putuser.S | 87 +-
6870 arch/x86/lib/rwsem.S | 6 +-
6871 arch/x86/lib/usercopy_32.c | 359 +-
6872 arch/x86/lib/usercopy_64.c | 22 +-
6873 arch/x86/math-emu/fpu_aux.c | 2 +-
6874 arch/x86/math-emu/fpu_entry.c | 4 +-
6875 arch/x86/math-emu/fpu_system.h | 2 +-
6876 arch/x86/mm/Makefile | 4 +
6877 arch/x86/mm/extable.c | 26 +-
6878 arch/x86/mm/fault.c | 570 +-
6879 arch/x86/mm/gup.c | 6 +-
6880 arch/x86/mm/highmem_32.c | 6 +
6881 arch/x86/mm/hugetlbpage.c | 24 +-
6882 arch/x86/mm/init.c | 111 +-
6883 arch/x86/mm/init_32.c | 111 +-
6884 arch/x86/mm/init_64.c | 46 +-
6885 arch/x86/mm/iomap_32.c | 4 +
6886 arch/x86/mm/ioremap.c | 52 +-
6887 arch/x86/mm/kmemcheck/kmemcheck.c | 4 +-
6888 arch/x86/mm/mmap.c | 40 +-
6889 arch/x86/mm/mmio-mod.c | 10 +-
6890 arch/x86/mm/mpx.c | 6 +-
6891 arch/x86/mm/numa.c | 4 +-
6892 arch/x86/mm/pageattr.c | 42 +-
6893 arch/x86/mm/pat.c | 12 +-
6894 arch/x86/mm/pat_rbtree.c | 2 +-
6895 arch/x86/mm/pf_in.c | 10 +-
6896 arch/x86/mm/pgtable.c | 214 +-
6897 arch/x86/mm/pgtable_32.c | 3 +
6898 arch/x86/mm/setup_nx.c | 7 +
6899 arch/x86/mm/tlb.c | 4 +
6900 arch/x86/mm/uderef_64.c | 37 +
6901 arch/x86/net/bpf_jit.S | 11 +
6902 arch/x86/net/bpf_jit_comp.c | 13 +-
6903 arch/x86/oprofile/backtrace.c | 6 +-
6904 arch/x86/oprofile/nmi_int.c | 8 +-
6905 arch/x86/oprofile/op_model_amd.c | 8 +-
6906 arch/x86/oprofile/op_model_ppro.c | 7 +-
6907 arch/x86/oprofile/op_x86_model.h | 2 +-
6908 arch/x86/pci/intel_mid_pci.c | 2 +-
6909 arch/x86/pci/irq.c | 8 +-
6910 arch/x86/pci/pcbios.c | 144 +-
6911 arch/x86/platform/efi/efi_32.c | 24 +
6912 arch/x86/platform/efi/efi_64.c | 26 +-
6913 arch/x86/platform/efi/efi_stub_32.S | 64 +-
6914 arch/x86/platform/efi/efi_stub_64.S | 2 +
6915 arch/x86/platform/intel-mid/intel-mid.c | 5 +-
6916 arch/x86/platform/intel-mid/intel_mid_weak_decls.h | 6 +-
6917 arch/x86/platform/intel-mid/mfld.c | 4 +-
6918 arch/x86/platform/intel-mid/mrfl.c | 2 +-
6919 arch/x86/platform/intel-quark/imr_selftest.c | 2 +-
6920 arch/x86/platform/olpc/olpc_dt.c | 2 +-
6921 arch/x86/power/cpu.c | 11 +-
6922 arch/x86/realmode/init.c | 10 +-
6923 arch/x86/realmode/rm/Makefile | 3 +
6924 arch/x86/realmode/rm/header.S | 4 +-
6925 arch/x86/realmode/rm/reboot.S | 4 +
6926 arch/x86/realmode/rm/trampoline_32.S | 12 +-
6927 arch/x86/realmode/rm/trampoline_64.S | 3 +-
6928 arch/x86/realmode/rm/wakeup_asm.S | 5 +-
6929 arch/x86/tools/Makefile | 2 +-
6930 arch/x86/tools/relocs.c | 96 +-
6931 arch/x86/um/mem_32.c | 2 +-
6932 arch/x86/um/tls_32.c | 2 +-
6933 arch/x86/xen/enlighten.c | 50 +-
6934 arch/x86/xen/mmu.c | 19 +-
6935 arch/x86/xen/smp.c | 16 +-
6936 arch/x86/xen/xen-asm_32.S | 2 +-
6937 arch/x86/xen/xen-head.S | 11 +
6938 arch/x86/xen/xen-ops.h | 2 -
6939 block/bio.c | 4 +-
6940 block/blk-cgroup.c | 18 +-
6941 block/blk-iopoll.c | 2 +-
6942 block/blk-map.c | 2 +-
6943 block/blk-softirq.c | 2 +-
6944 block/bsg.c | 12 +-
6945 block/cfq-iosched.c | 4 +-
6946 block/compat_ioctl.c | 4 +-
6947 block/genhd.c | 9 +-
6948 block/partitions/efi.c | 8 +-
6949 block/scsi_ioctl.c | 29 +-
6950 crypto/cryptd.c | 4 +-
6951 crypto/crypto_user.c | 8 +-
6952 crypto/pcrypt.c | 2 +-
6953 crypto/zlib.c | 12 +-
6954 drivers/acpi/acpi_video.c | 2 +-
6955 drivers/acpi/apei/apei-internal.h | 2 +-
6956 drivers/acpi/apei/ghes.c | 10 +-
6957 drivers/acpi/bgrt.c | 6 +-
6958 drivers/acpi/blacklist.c | 4 +-
6959 drivers/acpi/bus.c | 4 +-
6960 drivers/acpi/device_pm.c | 4 +-
6961 drivers/acpi/ec.c | 2 +-
6962 drivers/acpi/pci_slot.c | 2 +-
6963 drivers/acpi/processor_idle.c | 2 +-
6964 drivers/acpi/processor_pdc.c | 2 +-
6965 drivers/acpi/sleep.c | 2 +-
6966 drivers/acpi/sysfs.c | 4 +-
6967 drivers/acpi/thermal.c | 2 +-
6968 drivers/acpi/video_detect.c | 7 +-
6969 drivers/ata/libata-core.c | 12 +-
6970 drivers/ata/libata-scsi.c | 2 +-
6971 drivers/ata/libata.h | 2 +-
6972 drivers/ata/pata_arasan_cf.c | 4 +-
6973 drivers/atm/adummy.c | 2 +-
6974 drivers/atm/ambassador.c | 8 +-
6975 drivers/atm/atmtcp.c | 14 +-
6976 drivers/atm/eni.c | 10 +-
6977 drivers/atm/firestream.c | 8 +-
6978 drivers/atm/fore200e.c | 14 +-
6979 drivers/atm/he.c | 18 +-
6980 drivers/atm/horizon.c | 4 +-
6981 drivers/atm/idt77252.c | 36 +-
6982 drivers/atm/iphase.c | 34 +-
6983 drivers/atm/lanai.c | 12 +-
6984 drivers/atm/nicstar.c | 46 +-
6985 drivers/atm/solos-pci.c | 4 +-
6986 drivers/atm/suni.c | 4 +-
6987 drivers/atm/uPD98402.c | 16 +-
6988 drivers/atm/zatm.c | 6 +-
6989 drivers/base/bus.c | 4 +-
6990 drivers/base/devres.c | 4 +-
6991 drivers/base/devtmpfs.c | 8 +-
6992 drivers/base/node.c | 2 +-
6993 drivers/base/platform-msi.c | 20 +-
6994 drivers/base/power/domain.c | 7 +-
6995 drivers/base/power/runtime.c | 6 +-
6996 drivers/base/power/sysfs.c | 2 +-
6997 drivers/base/power/wakeup.c | 8 +-
6998 drivers/base/regmap/regmap-debugfs.c | 4 +-
6999 drivers/base/regmap/regmap.c | 4 +-
7000 drivers/base/syscore.c | 4 +-
7001 drivers/block/cciss.c | 28 +-
7002 drivers/block/cciss.h | 2 +-
7003 drivers/block/cpqarray.c | 28 +-
7004 drivers/block/cpqarray.h | 2 +-
7005 drivers/block/drbd/drbd_bitmap.c | 2 +-
7006 drivers/block/drbd/drbd_int.h | 8 +-
7007 drivers/block/drbd/drbd_main.c | 12 +-
7008 drivers/block/drbd/drbd_nl.c | 4 +-
7009 drivers/block/drbd/drbd_receiver.c | 38 +-
7010 drivers/block/drbd/drbd_worker.c | 14 +-
7011 drivers/block/pktcdvd.c | 4 +-
7012 drivers/block/rbd.c | 2 +-
7013 drivers/bluetooth/btwilink.c | 2 +-
7014 drivers/bus/arm-cci.c | 12 +-
7015 drivers/cdrom/cdrom.c | 11 +-
7016 drivers/cdrom/gdrom.c | 1 -
7017 drivers/char/agp/compat_ioctl.c | 2 +-
7018 drivers/char/agp/frontend.c | 4 +-
7019 drivers/char/agp/intel-gtt.c | 4 +-
7020 drivers/char/hpet.c | 2 +-
7021 drivers/char/ipmi/ipmi_msghandler.c | 8 +-
7022 drivers/char/ipmi/ipmi_si_intf.c | 8 +-
7023 drivers/char/ipmi/ipmi_ssif.c | 12 +-
7024 drivers/char/mem.c | 47 +-
7025 drivers/char/nvram.c | 2 +-
7026 drivers/char/pcmcia/synclink_cs.c | 16 +-
7027 drivers/char/random.c | 12 +-
7028 drivers/char/sonypi.c | 11 +-
7029 drivers/char/tpm/tpm_acpi.c | 3 +-
7030 drivers/char/tpm/tpm_eventlog.c | 5 +-
7031 drivers/char/virtio_console.c | 6 +-
7032 drivers/clk/clk-composite.c | 2 +-
7033 drivers/clk/samsung/clk.h | 2 +-
7034 drivers/clk/socfpga/clk-gate.c | 9 +-
7035 drivers/clk/socfpga/clk-pll.c | 9 +-
7036 drivers/clk/ti/clk.c | 8 +-
7037 drivers/cpufreq/acpi-cpufreq.c | 17 +-
7038 drivers/cpufreq/cpufreq-dt.c | 4 +-
7039 drivers/cpufreq/cpufreq.c | 30 +-
7040 drivers/cpufreq/cpufreq_governor.c | 2 +-
7041 drivers/cpufreq/cpufreq_governor.h | 4 +-
7042 drivers/cpufreq/cpufreq_ondemand.c | 10 +-
7043 drivers/cpufreq/intel_pstate.c | 38 +-
7044 drivers/cpufreq/p4-clockmod.c | 12 +-
7045 drivers/cpufreq/sparc-us3-cpufreq.c | 67 +-
7046 drivers/cpufreq/speedstep-centrino.c | 7 +-
7047 drivers/cpuidle/driver.c | 2 +-
7048 drivers/cpuidle/dt_idle_states.c | 2 +-
7049 drivers/cpuidle/governor.c | 2 +-
7050 drivers/cpuidle/sysfs.c | 2 +-
7051 drivers/crypto/hifn_795x.c | 4 +-
7052 drivers/devfreq/devfreq.c | 4 +-
7053 drivers/dma/sh/shdma-base.c | 4 +-
7054 drivers/dma/sh/shdmac.c | 2 +-
7055 drivers/edac/edac_device.c | 4 +-
7056 drivers/edac/edac_mc_sysfs.c | 2 +-
7057 drivers/edac/edac_pci.c | 4 +-
7058 drivers/edac/edac_pci_sysfs.c | 22 +-
7059 drivers/edac/mce_amd.h | 2 +-
7060 drivers/firewire/core-card.c | 6 +-
7061 drivers/firewire/core-device.c | 2 +-
7062 drivers/firewire/core-transaction.c | 1 +
7063 drivers/firewire/core.h | 1 +
7064 drivers/firmware/dmi-id.c | 2 +-
7065 drivers/firmware/dmi_scan.c | 12 +-
7066 drivers/firmware/efi/cper.c | 8 +-
7067 drivers/firmware/efi/efi.c | 12 +-
7068 drivers/firmware/efi/efivars.c | 2 +-
7069 drivers/firmware/efi/runtime-map.c | 2 +-
7070 drivers/firmware/google/gsmi.c | 2 +-
7071 drivers/firmware/google/memconsole.c | 7 +-
7072 drivers/firmware/memmap.c | 2 +-
7073 drivers/firmware/psci.c | 2 +-
7074 drivers/gpio/gpio-davinci.c | 6 +-
7075 drivers/gpio/gpio-em.c | 2 +-
7076 drivers/gpio/gpio-ich.c | 2 +-
7077 drivers/gpio/gpio-omap.c | 4 +-
7078 drivers/gpio/gpio-rcar.c | 2 +-
7079 drivers/gpio/gpio-vr41xx.c | 2 +-
7080 drivers/gpio/gpiolib.c | 12 +-
7081 drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +-
7082 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-
7083 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 18 +-
7084 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +-
7085 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 2 +-
7086 drivers/gpu/drm/amd/amdkfd/kfd_device.c | 6 +-
7087 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 90 +-
7088 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 8 +-
7089 .../drm/amd/amdkfd/kfd_device_queue_manager_cik.c | 14 +-
7090 .../drm/amd/amdkfd/kfd_device_queue_manager_vi.c | 14 +-
7091 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c | 4 +-
7092 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 2 +-
7093 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.h | 2 +-
7094 .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 16 +-
7095 drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 2 +-
7096 drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | 2 +-
7097 drivers/gpu/drm/amd/scheduler/sched_fence.c | 2 +-
7098 drivers/gpu/drm/armada/armada_drv.c | 3 +-
7099 drivers/gpu/drm/drm_crtc.c | 2 +-
7100 drivers/gpu/drm/drm_drv.c | 2 +-
7101 drivers/gpu/drm/drm_fops.c | 12 +-
7102 drivers/gpu/drm/drm_global.c | 14 +-
7103 drivers/gpu/drm/drm_info.c | 13 +-
7104 drivers/gpu/drm/drm_ioc32.c | 13 +-
7105 drivers/gpu/drm/drm_ioctl.c | 2 +-
7106 drivers/gpu/drm/drm_pci.c | 9 +-
7107 drivers/gpu/drm/exynos/exynos_drm_drv.c | 1 -
7108 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 10 +-
7109 drivers/gpu/drm/gma500/psb_drv.c | 1 -
7110 drivers/gpu/drm/i810/i810_dma.c | 2 +-
7111 drivers/gpu/drm/i810/i810_drv.c | 6 +-
7112 drivers/gpu/drm/i810/i810_drv.h | 6 +-
7113 drivers/gpu/drm/i915/i915_dma.c | 4 +-
7114 drivers/gpu/drm/i915/i915_drv.c | 7 +-
7115 drivers/gpu/drm/i915/i915_drv.h | 2 +-
7116 drivers/gpu/drm/i915/i915_gem_execbuffer.c | 4 +-
7117 drivers/gpu/drm/i915/i915_gem_gtt.c | 16 +-
7118 drivers/gpu/drm/i915/i915_gem_gtt.h | 6 +-
7119 drivers/gpu/drm/i915/i915_ioc32.c | 10 +-
7120 drivers/gpu/drm/i915/i915_irq.c | 88 +-
7121 drivers/gpu/drm/i915/intel_display.c | 26 +-
7122 drivers/gpu/drm/imx/imx-drm-core.c | 2 +-
7123 drivers/gpu/drm/mga/mga_drv.c | 5 +-
7124 drivers/gpu/drm/mga/mga_drv.h | 6 +-
7125 drivers/gpu/drm/mga/mga_ioc32.c | 10 +-
7126 drivers/gpu/drm/mga/mga_irq.c | 8 +-
7127 drivers/gpu/drm/mga/mga_state.c | 2 +-
7128 drivers/gpu/drm/nouveau/nouveau_bios.c | 2 +-
7129 drivers/gpu/drm/nouveau/nouveau_drm.c | 13 +-
7130 drivers/gpu/drm/nouveau/nouveau_drm.h | 1 -
7131 drivers/gpu/drm/nouveau/nouveau_ioc32.c | 2 +-
7132 drivers/gpu/drm/nouveau/nouveau_vga.c | 2 +-
7133 drivers/gpu/drm/omapdrm/Makefile | 2 +-
7134 drivers/gpu/drm/qxl/qxl_cmd.c | 12 +-
7135 drivers/gpu/drm/qxl/qxl_debugfs.c | 8 +-
7136 drivers/gpu/drm/qxl/qxl_drv.c | 8 +-
7137 drivers/gpu/drm/qxl/qxl_drv.h | 8 +-
7138 drivers/gpu/drm/qxl/qxl_ioctl.c | 12 +-
7139 drivers/gpu/drm/qxl/qxl_irq.c | 16 +-
7140 drivers/gpu/drm/qxl/qxl_ttm.c | 38 +-
7141 drivers/gpu/drm/r128/r128_cce.c | 2 +-
7142 drivers/gpu/drm/r128/r128_drv.c | 4 +-
7143 drivers/gpu/drm/r128/r128_drv.h | 6 +-
7144 drivers/gpu/drm/r128/r128_ioc32.c | 10 +-
7145 drivers/gpu/drm/r128/r128_irq.c | 4 +-
7146 drivers/gpu/drm/r128/r128_state.c | 6 +-
7147 drivers/gpu/drm/radeon/mkregtable.c | 4 +-
7148 drivers/gpu/drm/radeon/radeon_device.c | 2 +-
7149 drivers/gpu/drm/radeon/radeon_drv.c | 17 +-
7150 drivers/gpu/drm/radeon/radeon_drv.h | 4 +-
7151 drivers/gpu/drm/radeon/radeon_ioc32.c | 12 +-
7152 drivers/gpu/drm/radeon/radeon_irq.c | 6 +-
7153 drivers/gpu/drm/radeon/radeon_kms.c | 2 +-
7154 drivers/gpu/drm/radeon/radeon_state.c | 6 +-
7155 drivers/gpu/drm/radeon/radeon_ttm.c | 4 +-
7156 drivers/gpu/drm/savage/savage_bci.c | 2 +-
7157 drivers/gpu/drm/savage/savage_drv.c | 5 +-
7158 drivers/gpu/drm/savage/savage_drv.h | 2 +-
7159 drivers/gpu/drm/sis/sis_drv.c | 5 +-
7160 drivers/gpu/drm/sis/sis_drv.h | 2 +-
7161 drivers/gpu/drm/sis/sis_mm.c | 2 +-
7162 drivers/gpu/drm/tegra/dc.c | 2 +-
7163 drivers/gpu/drm/tegra/dsi.c | 2 +-
7164 drivers/gpu/drm/tegra/hdmi.c | 2 +-
7165 drivers/gpu/drm/tegra/sor.c | 7 +-
7166 drivers/gpu/drm/tilcdc/Makefile | 6 +-
7167 drivers/gpu/drm/ttm/ttm_memory.c | 4 +-
7168 drivers/gpu/drm/ttm/ttm_page_alloc.c | 18 +-
7169 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 18 +-
7170 drivers/gpu/drm/udl/udl_fb.c | 1 -
7171 drivers/gpu/drm/via/via_dma.c | 2 +-
7172 drivers/gpu/drm/via/via_drv.c | 5 +-
7173 drivers/gpu/drm/via/via_drv.h | 6 +-
7174 drivers/gpu/drm/via/via_irq.c | 18 +-
7175 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 2 +-
7176 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c | 8 +-
7177 drivers/gpu/drm/vmwgfx/vmwgfx_irq.c | 4 +-
7178 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c | 2 +-
7179 drivers/gpu/vga/vga_switcheroo.c | 4 +-
7180 drivers/hid/hid-core.c | 4 +-
7181 drivers/hid/hid-sensor-custom.c | 2 +-
7182 drivers/hv/channel.c | 6 +-
7183 drivers/hv/hv.c | 4 +-
7184 drivers/hv/hv_balloon.c | 18 +-
7185 drivers/hv/hyperv_vmbus.h | 2 +-
7186 drivers/hwmon/acpi_power_meter.c | 6 +-
7187 drivers/hwmon/applesmc.c | 2 +-
7188 drivers/hwmon/asus_atk0110.c | 10 +-
7189 drivers/hwmon/coretemp.c | 2 +-
7190 drivers/hwmon/dell-smm-hwmon.c | 2 +-
7191 drivers/hwmon/ibmaem.c | 2 +-
7192 drivers/hwmon/iio_hwmon.c | 2 +-
7193 drivers/hwmon/nct6683.c | 6 +-
7194 drivers/hwmon/nct6775.c | 6 +-
7195 drivers/hwmon/pmbus/pmbus_core.c | 10 +-
7196 drivers/hwmon/sht15.c | 12 +-
7197 drivers/hwmon/via-cputemp.c | 2 +-
7198 drivers/i2c/busses/i2c-amd756-s4882.c | 2 +-
7199 drivers/i2c/busses/i2c-designware-pcidrv.c | 2 +-
7200 drivers/i2c/busses/i2c-nforce2-s4985.c | 2 +-
7201 drivers/i2c/i2c-dev.c | 2 +-
7202 drivers/ide/ide-cd.c | 2 +-
7203 drivers/ide/ide-disk.c | 2 +-
7204 drivers/iio/industrialio-core.c | 2 +-
7205 drivers/iio/magnetometer/ak8975.c | 2 +-
7206 drivers/infiniband/core/cm.c | 32 +-
7207 drivers/infiniband/core/fmr_pool.c | 20 +-
7208 drivers/infiniband/core/netlink.c | 5 +-
7209 drivers/infiniband/core/uverbs_cmd.c | 3 +
7210 drivers/infiniband/hw/cxgb4/device.c | 6 +-
7211 drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 2 +-
7212 drivers/infiniband/hw/cxgb4/mem.c | 4 +-
7213 drivers/infiniband/hw/mlx4/mad.c | 2 +-
7214 drivers/infiniband/hw/mlx4/mcg.c | 2 +-
7215 drivers/infiniband/hw/mlx4/mlx4_ib.h | 2 +-
7216 drivers/infiniband/hw/mthca/mthca_cmd.c | 8 +-
7217 drivers/infiniband/hw/mthca/mthca_main.c | 2 +-
7218 drivers/infiniband/hw/mthca/mthca_mr.c | 6 +-
7219 drivers/infiniband/hw/mthca/mthca_provider.c | 2 +-
7220 drivers/infiniband/hw/nes/nes.c | 4 +-
7221 drivers/infiniband/hw/nes/nes.h | 40 +-
7222 drivers/infiniband/hw/nes/nes_cm.c | 62 +-
7223 drivers/infiniband/hw/nes/nes_mgt.c | 8 +-
7224 drivers/infiniband/hw/nes/nes_nic.c | 40 +-
7225 drivers/infiniband/hw/nes/nes_verbs.c | 10 +-
7226 drivers/infiniband/hw/qib/qib.h | 1 +
7227 drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 2 +-
7228 drivers/input/evdev.c | 2 +-
7229 drivers/input/gameport/gameport.c | 4 +-
7230 drivers/input/input.c | 4 +-
7231 drivers/input/joystick/sidewinder.c | 1 +
7232 drivers/input/misc/ims-pcu.c | 4 +-
7233 drivers/input/mouse/psmouse.h | 2 +-
7234 drivers/input/mousedev.c | 2 +-
7235 drivers/input/serio/serio.c | 4 +-
7236 drivers/input/serio/serio_raw.c | 4 +-
7237 drivers/input/touchscreen/htcpen.c | 2 +-
7238 drivers/iommu/arm-smmu-v3.c | 2 +-
7239 drivers/iommu/arm-smmu.c | 43 +-
7240 drivers/iommu/io-pgtable-arm.c | 101 +-
7241 drivers/iommu/io-pgtable.c | 11 +-
7242 drivers/iommu/io-pgtable.h | 19 +-
7243 drivers/iommu/iommu.c | 2 +-
7244 drivers/iommu/ipmmu-vmsa.c | 13 +-
7245 drivers/iommu/irq_remapping.c | 2 +-
7246 drivers/irqchip/irq-gic.c | 2 +-
7247 drivers/irqchip/irq-i8259.c | 2 +-
7248 drivers/irqchip/irq-renesas-intc-irqpin.c | 2 +-
7249 drivers/isdn/capi/capi.c | 10 +-
7250 drivers/isdn/gigaset/interface.c | 8 +-
7251 drivers/isdn/gigaset/usb-gigaset.c | 2 +-
7252 drivers/isdn/hardware/avm/b1.c | 4 +-
7253 drivers/isdn/i4l/isdn_common.c | 2 +
7254 drivers/isdn/i4l/isdn_tty.c | 22 +-
7255 drivers/isdn/icn/icn.c | 2 +-
7256 drivers/isdn/mISDN/dsp_cmx.c | 2 +-
7257 drivers/lguest/core.c | 10 +-
7258 drivers/lguest/page_tables.c | 2 +-
7259 drivers/lguest/x86/core.c | 12 +-
7260 drivers/lguest/x86/switcher_32.S | 27 +-
7261 drivers/md/bcache/alloc.c | 2 +-
7262 drivers/md/bcache/bcache.h | 10 +-
7263 drivers/md/bcache/btree.c | 2 +-
7264 drivers/md/bcache/closure.h | 2 +-
7265 drivers/md/bcache/io.c | 10 +-
7266 drivers/md/bcache/journal.c | 2 +-
7267 drivers/md/bcache/stats.c | 26 +-
7268 drivers/md/bcache/stats.h | 16 +-
7269 drivers/md/bcache/super.c | 2 +-
7270 drivers/md/bcache/sysfs.c | 20 +-
7271 drivers/md/bitmap.c | 2 +-
7272 drivers/md/dm-cache-target.c | 98 +-
7273 drivers/md/dm-ioctl.c | 2 +-
7274 drivers/md/dm-raid.c | 2 +-
7275 drivers/md/dm-raid1.c | 18 +-
7276 drivers/md/dm-stats.c | 6 +-
7277 drivers/md/dm-stripe.c | 10 +-
7278 drivers/md/dm-table.c | 2 +-
7279 drivers/md/dm-thin-metadata.c | 4 +-
7280 drivers/md/dm.c | 28 +-
7281 drivers/md/md.c | 37 +-
7282 drivers/md/md.h | 8 +-
7283 drivers/md/persistent-data/dm-space-map-metadata.c | 4 +-
7284 drivers/md/persistent-data/dm-space-map.h | 1 +
7285 drivers/md/raid1.c | 8 +-
7286 drivers/md/raid10.c | 20 +-
7287 drivers/md/raid5.c | 26 +-
7288 drivers/media/dvb-core/dvbdev.c | 2 +-
7289 drivers/media/dvb-frontends/af9033.h | 2 +-
7290 drivers/media/dvb-frontends/dib3000.h | 2 +-
7291 drivers/media/dvb-frontends/dib7000p.h | 2 +-
7292 drivers/media/dvb-frontends/dib8000.h | 2 +-
7293 drivers/media/pci/cx88/cx88-video.c | 6 +-
7294 drivers/media/pci/ivtv/ivtv-driver.c | 2 +-
7295 drivers/media/pci/solo6x10/solo6x10-core.c | 2 +-
7296 drivers/media/pci/solo6x10/solo6x10-p2m.c | 2 +-
7297 drivers/media/pci/solo6x10/solo6x10.h | 2 +-
7298 drivers/media/pci/tw68/tw68-core.c | 2 +-
7299 drivers/media/pci/zoran/zoran.h | 1 -
7300 drivers/media/pci/zoran/zoran_driver.c | 3 -
7301 drivers/media/platform/omap/omap_vout.c | 11 +-
7302 drivers/media/platform/s5p-tv/mixer.h | 2 +-
7303 drivers/media/platform/s5p-tv/mixer_grp_layer.c | 2 +-
7304 drivers/media/platform/s5p-tv/mixer_reg.c | 2 +-
7305 drivers/media/platform/s5p-tv/mixer_video.c | 24 +-
7306 drivers/media/platform/s5p-tv/mixer_vp_layer.c | 2 +-
7307 drivers/media/radio/radio-cadet.c | 2 +
7308 drivers/media/radio/radio-maxiradio.c | 2 +-
7309 drivers/media/radio/radio-shark.c | 2 +-
7310 drivers/media/radio/radio-shark2.c | 2 +-
7311 drivers/media/radio/radio-si476x.c | 2 +-
7312 drivers/media/radio/wl128x/fmdrv_common.c | 2 +-
7313 drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 12 +-
7314 drivers/media/v4l2-core/v4l2-device.c | 4 +-
7315 drivers/media/v4l2-core/v4l2-ioctl.c | 13 +-
7316 drivers/memory/omap-gpmc.c | 21 +-
7317 drivers/message/fusion/mptsas.c | 34 +-
7318 drivers/mfd/ab8500-debugfs.c | 2 +-
7319 drivers/mfd/kempld-core.c | 2 +-
7320 drivers/mfd/max8925-i2c.c | 2 +-
7321 drivers/mfd/tps65910.c | 2 +-
7322 drivers/mfd/twl4030-irq.c | 9 +-
7323 drivers/misc/c2port/core.c | 4 +-
7324 drivers/misc/kgdbts.c | 4 +-
7325 drivers/misc/lis3lv02d/lis3lv02d.c | 8 +-
7326 drivers/misc/lis3lv02d/lis3lv02d.h | 2 +-
7327 drivers/misc/mic/scif/scif_api.c | 10 +-
7328 drivers/misc/mic/scif/scif_rb.c | 8 +-
7329 drivers/misc/sgi-gru/gruhandles.c | 4 +-
7330 drivers/misc/sgi-gru/gruprocfs.c | 8 +-
7331 drivers/misc/sgi-gru/grutables.h | 158 +-
7332 drivers/misc/sgi-xp/xp.h | 2 +-
7333 drivers/misc/sgi-xp/xpc.h | 3 +-
7334 drivers/misc/sgi-xp/xpc_main.c | 2 +-
7335 drivers/mmc/host/dw_mmc.h | 2 +-
7336 drivers/mmc/host/mmci.c | 4 +-
7337 drivers/mmc/host/omap_hsmmc.c | 4 +-
7338 drivers/mmc/host/sdhci-esdhc-imx.c | 7 +-
7339 drivers/mmc/host/sdhci-s3c.c | 8 +-
7340 drivers/mtd/chips/cfi_cmdset_0020.c | 2 +-
7341 drivers/mtd/nand/denali.c | 1 +
7342 drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 2 +-
7343 drivers/mtd/nftlmount.c | 1 +
7344 drivers/mtd/sm_ftl.c | 2 +-
7345 drivers/net/bonding/bond_netlink.c | 2 +-
7346 drivers/net/caif/caif_hsi.c | 2 +-
7347 drivers/net/can/Kconfig | 2 +-
7348 drivers/net/can/dev.c | 2 +-
7349 drivers/net/can/vcan.c | 2 +-
7350 drivers/net/dummy.c | 2 +-
7351 drivers/net/ethernet/8390/ax88796.c | 4 +-
7352 drivers/net/ethernet/altera/altera_tse_main.c | 4 +-
7353 drivers/net/ethernet/amd/xgbe/xgbe-common.h | 4 +-
7354 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c | 4 +-
7355 drivers/net/ethernet/amd/xgbe/xgbe-desc.c | 27 +-
7356 drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 143 +-
7357 drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 64 +-
7358 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 10 +-
7359 drivers/net/ethernet/amd/xgbe/xgbe-main.c | 15 +-
7360 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 27 +-
7361 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c | 4 +-
7362 drivers/net/ethernet/amd/xgbe/xgbe.h | 10 +-
7363 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 2 +-
7364 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | 11 +-
7365 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h | 3 +-
7366 drivers/net/ethernet/broadcom/tg3.h | 1 +
7367 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c | 6 +-
7368 drivers/net/ethernet/cavium/liquidio/lio_main.c | 11 +-
7369 drivers/net/ethernet/chelsio/cxgb3/l2t.h | 2 +-
7370 drivers/net/ethernet/dec/tulip/de4x5.c | 4 +-
7371 drivers/net/ethernet/emulex/benet/be_main.c | 2 +-
7372 drivers/net/ethernet/faraday/ftgmac100.c | 2 +
7373 drivers/net/ethernet/faraday/ftmac100.c | 2 +
7374 drivers/net/ethernet/intel/i40e/i40e_ptp.c | 2 +-
7375 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 2 +-
7376 drivers/net/ethernet/mellanox/mlx4/en_tx.c | 4 +-
7377 drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 7 +-
7378 drivers/net/ethernet/neterion/vxge/vxge-config.c | 7 +-
7379 drivers/net/ethernet/nvidia/forcedeth.c | 4 +-
7380 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 4 +-
7381 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c | 12 +-
7382 .../net/ethernet/qlogic/qlcnic/qlcnic_minidump.c | 2 +-
7383 drivers/net/ethernet/realtek/r8169.c | 8 +-
7384 drivers/net/ethernet/sfc/ptp.c | 2 +-
7385 drivers/net/ethernet/sfc/selftest.c | 20 +-
7386 drivers/net/ethernet/stmicro/stmmac/mmc_core.c | 4 +-
7387 drivers/net/ethernet/via/via-rhine.c | 2 +-
7388 drivers/net/geneve.c | 2 +-
7389 drivers/net/hyperv/hyperv_net.h | 2 +-
7390 drivers/net/hyperv/rndis_filter.c | 7 +-
7391 drivers/net/ifb.c | 2 +-
7392 drivers/net/ipvlan/ipvlan_core.c | 2 +-
7393 drivers/net/irda/vlsi_ir.c | 18 +-
7394 drivers/net/irda/vlsi_ir.h | 14 +-
7395 drivers/net/macvlan.c | 20 +-
7396 drivers/net/macvtap.c | 10 +-
7397 drivers/net/nlmon.c | 2 +-
7398 drivers/net/phy/phy_device.c | 6 +-
7399 drivers/net/ppp/ppp_generic.c | 4 +-
7400 drivers/net/slip/slhc.c | 2 +-
7401 drivers/net/team/team.c | 4 +-
7402 drivers/net/tun.c | 7 +-
7403 drivers/net/usb/hso.c | 23 +-
7404 drivers/net/usb/r8152.c | 2 +-
7405 drivers/net/usb/sierra_net.c | 4 +-
7406 drivers/net/virtio_net.c | 2 +-
7407 drivers/net/vrf.c | 2 +-
7408 drivers/net/vxlan.c | 4 +-
7409 drivers/net/wimax/i2400m/rx.c | 2 +-
7410 drivers/net/wireless/airo.c | 2 +-
7411 drivers/net/wireless/at76c50x-usb.c | 2 +-
7412 drivers/net/wireless/ath/ath10k/ce.c | 6 +-
7413 drivers/net/wireless/ath/ath10k/htc.h | 4 +-
7414 drivers/net/wireless/ath/ath9k/ar9002_mac.c | 36 +-
7415 drivers/net/wireless/ath/ath9k/ar9003_mac.c | 64 +-
7416 drivers/net/wireless/ath/ath9k/hw.h | 4 +-
7417 drivers/net/wireless/ath/ath9k/main.c | 22 +-
7418 drivers/net/wireless/ath/carl9170/carl9170.h | 6 +-
7419 drivers/net/wireless/ath/carl9170/debug.c | 6 +-
7420 drivers/net/wireless/ath/carl9170/main.c | 10 +-
7421 drivers/net/wireless/ath/carl9170/tx.c | 4 +-
7422 drivers/net/wireless/ath/wil6210/wil_platform.h | 2 +-
7423 drivers/net/wireless/b43/phy_lp.c | 2 +-
7424 drivers/net/wireless/iwlegacy/3945-mac.c | 4 +-
7425 drivers/net/wireless/iwlwifi/dvm/debugfs.c | 34 +-
7426 drivers/net/wireless/iwlwifi/mvm/d3.c | 4 +-
7427 drivers/net/wireless/iwlwifi/mvm/tx.c | 2 +-
7428 drivers/net/wireless/iwlwifi/pcie/trans.c | 4 +-
7429 drivers/net/wireless/mac80211_hwsim.c | 28 +-
7430 drivers/net/wireless/rt2x00/rt2x00.h | 2 +-
7431 drivers/net/wireless/rt2x00/rt2x00queue.c | 4 +-
7432 drivers/net/wireless/ti/wl1251/sdio.c | 12 +-
7433 drivers/net/wireless/ti/wl12xx/main.c | 8 +-
7434 drivers/net/wireless/ti/wl18xx/main.c | 6 +-
7435 drivers/of/fdt.c | 4 +-
7436 drivers/oprofile/buffer_sync.c | 8 +-
7437 drivers/oprofile/event_buffer.c | 2 +-
7438 drivers/oprofile/oprof.c | 2 +-
7439 drivers/oprofile/oprofile_stats.c | 10 +-
7440 drivers/oprofile/oprofile_stats.h | 10 +-
7441 drivers/oprofile/oprofilefs.c | 6 +-
7442 drivers/oprofile/timer_int.c | 2 +-
7443 drivers/parport/procfs.c | 4 +-
7444 drivers/pci/host/pci-host-generic.c | 2 +-
7445 drivers/pci/hotplug/acpiphp_ibm.c | 4 +-
7446 drivers/pci/hotplug/cpcihp_generic.c | 6 +-
7447 drivers/pci/hotplug/cpcihp_zt5550.c | 14 +-
7448 drivers/pci/hotplug/cpqphp_nvram.c | 2 +
7449 drivers/pci/hotplug/pci_hotplug_core.c | 6 +-
7450 drivers/pci/hotplug/pciehp_core.c | 2 +-
7451 drivers/pci/msi.c | 22 +-
7452 drivers/pci/pci-sysfs.c | 6 +-
7453 drivers/pci/pci.h | 2 +-
7454 drivers/pci/pcie/aspm.c | 6 +-
7455 drivers/pci/pcie/portdrv_pci.c | 2 +-
7456 drivers/pci/probe.c | 2 +-
7457 drivers/pinctrl/nomadik/pinctrl-nomadik.c | 2 +-
7458 drivers/pinctrl/pinctrl-at91.c | 5 +-
7459 drivers/platform/chrome/chromeos_pstore.c | 2 +-
7460 drivers/platform/x86/alienware-wmi.c | 4 +-
7461 drivers/platform/x86/compal-laptop.c | 2 +-
7462 drivers/platform/x86/hdaps.c | 2 +-
7463 drivers/platform/x86/ibm_rtl.c | 2 +-
7464 drivers/platform/x86/intel_oaktrail.c | 2 +-
7465 drivers/platform/x86/msi-laptop.c | 16 +-
7466 drivers/platform/x86/msi-wmi.c | 2 +-
7467 drivers/platform/x86/samsung-laptop.c | 2 +-
7468 drivers/platform/x86/samsung-q10.c | 2 +-
7469 drivers/platform/x86/sony-laptop.c | 14 +-
7470 drivers/platform/x86/thinkpad_acpi.c | 2 +-
7471 drivers/pnp/pnpbios/bioscalls.c | 14 +-
7472 drivers/pnp/pnpbios/core.c | 2 +-
7473 drivers/power/pda_power.c | 7 +-
7474 drivers/power/power_supply.h | 4 +-
7475 drivers/power/power_supply_core.c | 7 +-
7476 drivers/power/power_supply_sysfs.c | 6 +-
7477 drivers/power/reset/at91-reset.c | 5 +-
7478 drivers/powercap/powercap_sys.c | 136 +-
7479 drivers/ptp/ptp_private.h | 2 +-
7480 drivers/ptp/ptp_sysfs.c | 2 +-
7481 drivers/regulator/core.c | 4 +-
7482 drivers/regulator/max8660.c | 6 +-
7483 drivers/regulator/max8973-regulator.c | 16 +-
7484 drivers/regulator/mc13892-regulator.c | 8 +-
7485 drivers/rtc/rtc-armada38x.c | 7 +-
7486 drivers/rtc/rtc-cmos.c | 4 +-
7487 drivers/rtc/rtc-ds1307.c | 2 +-
7488 drivers/rtc/rtc-m48t59.c | 4 +-
7489 drivers/rtc/rtc-rv8803.c | 15 +-
7490 drivers/rtc/rtc-test.c | 6 +-
7491 drivers/scsi/bfa/bfa_fcpim.h | 2 +-
7492 drivers/scsi/bfa/bfa_ioc.h | 4 +-
7493 drivers/scsi/fcoe/fcoe_sysfs.c | 12 +-
7494 drivers/scsi/hosts.c | 4 +-
7495 drivers/scsi/hpsa.c | 38 +-
7496 drivers/scsi/hpsa.h | 2 +-
7497 drivers/scsi/hptiop.c | 2 -
7498 drivers/scsi/hptiop.h | 1 -
7499 drivers/scsi/ipr.c | 6 +-
7500 drivers/scsi/ipr.h | 2 +-
7501 drivers/scsi/libfc/fc_exch.c | 50 +-
7502 drivers/scsi/libsas/sas_ata.c | 2 +-
7503 drivers/scsi/lpfc/lpfc.h | 8 +-
7504 drivers/scsi/lpfc/lpfc_debugfs.c | 18 +-
7505 drivers/scsi/lpfc/lpfc_init.c | 6 +-
7506 drivers/scsi/lpfc/lpfc_scsi.c | 10 +-
7507 drivers/scsi/megaraid/megaraid_sas.h | 2 +-
7508 drivers/scsi/pmcraid.c | 20 +-
7509 drivers/scsi/pmcraid.h | 8 +-
7510 drivers/scsi/qla2xxx/qla_attr.c | 4 +-
7511 drivers/scsi/qla2xxx/qla_gbl.h | 4 +-
7512 drivers/scsi/qla2xxx/qla_os.c | 6 +-
7513 drivers/scsi/qla2xxx/qla_target.c | 10 +-
7514 drivers/scsi/qla2xxx/qla_target.h | 2 +-
7515 drivers/scsi/qla4xxx/ql4_def.h | 2 +-
7516 drivers/scsi/qla4xxx/ql4_os.c | 6 +-
7517 drivers/scsi/scsi.c | 2 +-
7518 drivers/scsi/scsi_lib.c | 8 +-
7519 drivers/scsi/scsi_sysfs.c | 2 +-
7520 drivers/scsi/scsi_transport_fc.c | 8 +-
7521 drivers/scsi/scsi_transport_iscsi.c | 6 +-
7522 drivers/scsi/scsi_transport_srp.c | 6 +-
7523 drivers/scsi/sd.c | 6 +-
7524 drivers/scsi/sg.c | 2 +-
7525 drivers/scsi/sr.c | 21 +-
7526 drivers/soc/tegra/fuse/fuse-tegra.c | 2 +-
7527 drivers/spi/spi.c | 2 +-
7528 drivers/staging/android/timed_output.c | 6 +-
7529 drivers/staging/comedi/comedi_fops.c | 8 +-
7530 drivers/staging/fbtft/fbtft-core.c | 2 +-
7531 drivers/staging/fbtft/fbtft.h | 2 +-
7532 drivers/staging/gdm724x/gdm_tty.c | 2 +-
7533 drivers/staging/iio/accel/lis3l02dq_ring.c | 2 +-
7534 drivers/staging/iio/adc/ad7280a.c | 4 +-
7535 drivers/staging/lustre/lnet/selftest/brw_test.c | 12 +-
7536 drivers/staging/lustre/lnet/selftest/framework.c | 4 -
7537 drivers/staging/lustre/lnet/selftest/ping_test.c | 14 +-
7538 drivers/staging/lustre/lustre/include/lustre_dlm.h | 2 +-
7539 drivers/staging/lustre/lustre/include/obd.h | 2 +-
7540 drivers/staging/octeon/ethernet-rx.c | 20 +-
7541 drivers/staging/octeon/ethernet.c | 8 +-
7542 drivers/staging/rdma/ipath/ipath_rc.c | 6 +-
7543 drivers/staging/rdma/ipath/ipath_ruc.c | 6 +-
7544 drivers/staging/rtl8188eu/include/hal_intf.h | 2 +-
7545 drivers/staging/rtl8712/rtl871x_io.h | 2 +-
7546 drivers/staging/sm750fb/sm750.c | 14 +-
7547 drivers/staging/unisys/visorbus/visorbus_private.h | 4 +-
7548 drivers/target/sbp/sbp_target.c | 4 +-
7549 drivers/thermal/cpu_cooling.c | 9 +-
7550 drivers/thermal/devfreq_cooling.c | 19 +-
7551 drivers/thermal/int340x_thermal/int3400_thermal.c | 6 +-
7552 drivers/thermal/of-thermal.c | 17 +-
7553 drivers/thermal/x86_pkg_temp_thermal.c | 2 +-
7554 drivers/tty/cyclades.c | 6 +-
7555 drivers/tty/hvc/hvc_console.c | 14 +-
7556 drivers/tty/hvc/hvcs.c | 21 +-
7557 drivers/tty/hvc/hvsi.c | 22 +-
7558 drivers/tty/hvc/hvsi_lib.c | 4 +-
7559 drivers/tty/ipwireless/tty.c | 27 +-
7560 drivers/tty/moxa.c | 2 +-
7561 drivers/tty/n_gsm.c | 4 +-
7562 drivers/tty/n_tty.c | 19 +-
7563 drivers/tty/pty.c | 4 +-
7564 drivers/tty/rocket.c | 6 +-
7565 drivers/tty/serial/8250/8250_core.c | 10 +-
7566 drivers/tty/serial/ifx6x60.c | 2 +-
7567 drivers/tty/serial/ioc4_serial.c | 6 +-
7568 drivers/tty/serial/kgdb_nmi.c | 4 +-
7569 drivers/tty/serial/kgdboc.c | 32 +-
7570 drivers/tty/serial/msm_serial.c | 4 +-
7571 drivers/tty/serial/samsung.c | 9 +-
7572 drivers/tty/serial/serial_core.c | 8 +-
7573 drivers/tty/synclink.c | 34 +-
7574 drivers/tty/synclink_gt.c | 28 +-
7575 drivers/tty/synclinkmp.c | 34 +-
7576 drivers/tty/tty_io.c | 2 +-
7577 drivers/tty/tty_ldisc.c | 8 +-
7578 drivers/tty/tty_port.c | 22 +-
7579 drivers/uio/uio.c | 13 +-
7580 drivers/usb/atm/cxacru.c | 2 +-
7581 drivers/usb/atm/usbatm.c | 24 +-
7582 drivers/usb/class/cdc-acm.h | 2 +-
7583 drivers/usb/core/devices.c | 6 +-
7584 drivers/usb/core/devio.c | 12 +-
7585 drivers/usb/core/hcd.c | 4 +-
7586 drivers/usb/core/sysfs.c | 2 +-
7587 drivers/usb/core/usb.c | 2 +-
7588 drivers/usb/early/ehci-dbgp.c | 16 +-
7589 drivers/usb/gadget/function/u_serial.c | 22 +-
7590 drivers/usb/gadget/udc/dummy_hcd.c | 2 +-
7591 drivers/usb/host/ehci-hcd.c | 2 +-
7592 drivers/usb/host/ehci-hub.c | 4 +-
7593 drivers/usb/host/ehci-q.c | 4 +-
7594 drivers/usb/host/fotg210-hcd.c | 2 +-
7595 drivers/usb/host/hwa-hc.c | 2 +-
7596 drivers/usb/host/ohci-hcd.c | 2 +-
7597 drivers/usb/host/r8a66597.h | 2 +-
7598 drivers/usb/host/uhci-hcd.c | 2 +-
7599 drivers/usb/host/xhci-pci.c | 2 +-
7600 drivers/usb/host/xhci.c | 2 +-
7601 drivers/usb/misc/appledisplay.c | 4 +-
7602 drivers/usb/serial/console.c | 8 +-
7603 drivers/usb/storage/transport.c | 2 +-
7604 drivers/usb/storage/usb.c | 2 +-
7605 drivers/usb/storage/usb.h | 2 +-
7606 drivers/usb/usbip/vhci.h | 2 +-
7607 drivers/usb/usbip/vhci_hcd.c | 6 +-
7608 drivers/usb/usbip/vhci_rx.c | 2 +-
7609 drivers/usb/wusbcore/wa-hc.h | 4 +-
7610 drivers/usb/wusbcore/wa-xfer.c | 2 +-
7611 drivers/vhost/vringh.c | 20 +-
7612 drivers/video/backlight/kb3886_bl.c | 2 +-
7613 drivers/video/console/fbcon.c | 2 +-
7614 drivers/video/fbdev/aty/aty128fb.c | 2 +-
7615 drivers/video/fbdev/aty/atyfb_base.c | 8 +-
7616 drivers/video/fbdev/aty/mach64_cursor.c | 5 +-
7617 drivers/video/fbdev/core/fb_defio.c | 6 +-
7618 drivers/video/fbdev/core/fbmem.c | 12 +-
7619 drivers/video/fbdev/hyperv_fb.c | 4 +-
7620 drivers/video/fbdev/i810/i810_accel.c | 1 +
7621 drivers/video/fbdev/matrox/matroxfb_base.c | 2 +-
7622 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c | 16 +-
7623 drivers/video/fbdev/nvidia/nvidia.c | 27 +-
7624 drivers/video/fbdev/omap2/dss/display.c | 8 +-
7625 drivers/video/fbdev/s1d13xxxfb.c | 6 +-
7626 drivers/video/fbdev/smscufx.c | 4 +-
7627 drivers/video/fbdev/udlfb.c | 36 +-
7628 drivers/video/fbdev/uvesafb.c | 52 +-
7629 drivers/video/fbdev/vesafb.c | 58 +-
7630 drivers/video/fbdev/via/via_clock.h | 2 +-
7631 drivers/xen/events/events_base.c | 6 +-
7632 fs/Kconfig.binfmt | 2 +-
7633 fs/afs/inode.c | 4 +-
7634 fs/aio.c | 2 +-
7635 fs/autofs4/waitq.c | 2 +-
7636 fs/befs/endian.h | 6 +-
7637 fs/binfmt_aout.c | 23 +-
7638 fs/binfmt_elf.c | 670 +-
7639 fs/binfmt_elf_fdpic.c | 4 +-
7640 fs/block_dev.c | 2 +-
7641 fs/btrfs/ctree.c | 11 +-
7642 fs/btrfs/ctree.h | 4 +-
7643 fs/btrfs/delayed-inode.c | 9 +-
7644 fs/btrfs/delayed-inode.h | 6 +-
7645 fs/btrfs/delayed-ref.c | 4 +-
7646 fs/btrfs/disk-io.c | 4 +-
7647 fs/btrfs/extent_map.c | 8 +-
7648 fs/btrfs/file.c | 4 +-
7649 fs/btrfs/inode.c | 14 +-
7650 fs/btrfs/raid56.c | 32 +-
7651 fs/btrfs/super.c | 2 +-
7652 fs/btrfs/sysfs.c | 2 +-
7653 fs/btrfs/tests/btrfs-tests.c | 2 +-
7654 fs/btrfs/tests/free-space-tests.c | 8 +-
7655 fs/btrfs/transaction.c | 2 +-
7656 fs/btrfs/tree-log.c | 8 +-
7657 fs/btrfs/tree-log.h | 2 +-
7658 fs/btrfs/volumes.c | 14 +-
7659 fs/btrfs/volumes.h | 22 +-
7660 fs/buffer.c | 2 +-
7661 fs/cachefiles/bind.c | 6 +-
7662 fs/cachefiles/daemon.c | 8 +-
7663 fs/cachefiles/internal.h | 12 +-
7664 fs/cachefiles/namei.c | 2 +-
7665 fs/cachefiles/proc.c | 12 +-
7666 fs/ceph/dir.c | 12 +-
7667 fs/ceph/super.c | 4 +-
7668 fs/cifs/cifs_debug.c | 12 +-
7669 fs/cifs/cifsfs.c | 8 +-
7670 fs/cifs/cifsglob.h | 54 +-
7671 fs/cifs/file.c | 12 +-
7672 fs/cifs/misc.c | 4 +-
7673 fs/cifs/smb1ops.c | 80 +-
7674 fs/cifs/smb2ops.c | 84 +-
7675 fs/cifs/smb2pdu.c | 3 +-
7676 fs/coda/cache.c | 10 +-
7677 fs/compat.c | 7 +-
7678 fs/compat_binfmt_elf.c | 2 +
7679 fs/compat_ioctl.c | 12 +-
7680 fs/configfs/dir.c | 10 +-
7681 fs/coredump.c | 18 +-
7682 fs/dcache.c | 64 +-
7683 fs/ecryptfs/inode.c | 2 +-
7684 fs/ecryptfs/miscdev.c | 2 +-
7685 fs/exec.c | 362 +-
7686 fs/ext2/xattr.c | 5 +-
7687 fs/ext4/ext4.h | 20 +-
7688 fs/ext4/mballoc.c | 44 +-
7689 fs/ext4/resize.c | 16 +-
7690 fs/ext4/super.c | 2 +-
7691 fs/ext4/sysfs.c | 2 +-
7692 fs/ext4/xattr.c | 5 +-
7693 fs/fhandle.c | 5 +-
7694 fs/file.c | 18 +-
7695 fs/fs-writeback.c | 11 +-
7696 fs/fs_struct.c | 8 +-
7697 fs/fscache/cookie.c | 40 +-
7698 fs/fscache/internal.h | 202 +-
7699 fs/fscache/object.c | 26 +-
7700 fs/fscache/operation.c | 38 +-
7701 fs/fscache/page.c | 110 +-
7702 fs/fscache/stats.c | 348 +-
7703 fs/fuse/cuse.c | 10 +-
7704 fs/fuse/dev.c | 4 +-
7705 fs/gfs2/file.c | 2 +-
7706 fs/gfs2/glock.c | 22 +-
7707 fs/gfs2/glops.c | 4 +-
7708 fs/gfs2/quota.c | 6 +-
7709 fs/hugetlbfs/inode.c | 13 +-
7710 fs/inode.c | 4 +-
7711 fs/jbd2/commit.c | 2 +-
7712 fs/jbd2/transaction.c | 4 +-
7713 fs/jffs2/erase.c | 3 +-
7714 fs/jffs2/wbuf.c | 3 +-
7715 fs/jfs/super.c | 2 +-
7716 fs/kernfs/dir.c | 2 +-
7717 fs/kernfs/file.c | 20 +-
7718 fs/libfs.c | 10 +-
7719 fs/lockd/clntproc.c | 4 +-
7720 fs/namei.c | 16 +-
7721 fs/namespace.c | 16 +-
7722 fs/nfs/callback_xdr.c | 2 +-
7723 fs/nfs/inode.c | 6 +-
7724 fs/nfsd/nfs4proc.c | 2 +-
7725 fs/nfsd/nfs4xdr.c | 2 +-
7726 fs/nfsd/nfscache.c | 11 +-
7727 fs/nfsd/vfs.c | 6 +-
7728 fs/nls/nls_base.c | 26 +-
7729 fs/nls/nls_euc-jp.c | 6 +-
7730 fs/nls/nls_koi8-ru.c | 6 +-
7731 fs/notify/fanotify/fanotify_user.c | 4 +-
7732 fs/notify/notification.c | 4 +-
7733 fs/ntfs/dir.c | 2 +-
7734 fs/ntfs/super.c | 6 +-
7735 fs/ocfs2/dlm/dlmcommon.h | 4 +-
7736 fs/ocfs2/dlm/dlmdebug.c | 10 +-
7737 fs/ocfs2/dlm/dlmdomain.c | 4 +-
7738 fs/ocfs2/dlm/dlmmaster.c | 4 +-
7739 fs/ocfs2/localalloc.c | 2 +-
7740 fs/ocfs2/ocfs2.h | 10 +-
7741 fs/ocfs2/suballoc.c | 12 +-
7742 fs/ocfs2/super.c | 20 +-
7743 fs/overlayfs/copy_up.c | 2 +-
7744 fs/pipe.c | 72 +-
7745 fs/posix_acl.c | 4 +-
7746 fs/proc/array.c | 20 +
7747 fs/proc/base.c | 4 +-
7748 fs/proc/kcore.c | 34 +-
7749 fs/proc/meminfo.c | 2 +-
7750 fs/proc/nommu.c | 2 +-
7751 fs/proc/proc_sysctl.c | 26 +-
7752 fs/proc/task_mmu.c | 42 +-
7753 fs/proc/task_nommu.c | 4 +-
7754 fs/proc/vmcore.c | 16 +-
7755 fs/qnx6/qnx6.h | 4 +-
7756 fs/quota/netlink.c | 4 +-
7757 fs/read_write.c | 2 +-
7758 fs/readdir.c | 3 +-
7759 fs/reiserfs/do_balan.c | 2 +-
7760 fs/reiserfs/procfs.c | 2 +-
7761 fs/reiserfs/reiserfs.h | 4 +-
7762 fs/seq_file.c | 4 +-
7763 fs/splice.c | 43 +-
7764 fs/squashfs/xattr.c | 12 +-
7765 fs/super.c | 3 +-
7766 fs/sysv/sysv.h | 2 +-
7767 fs/tracefs/inode.c | 8 +-
7768 fs/udf/misc.c | 2 +-
7769 fs/ufs/swab.h | 4 +-
7770 fs/userfaultfd.c | 2 +-
7771 fs/xattr.c | 21 +
7772 fs/xfs/libxfs/xfs_bmap.c | 2 +-
7773 fs/xfs/libxfs/xfs_da_btree.c | 4 +-
7774 fs/xfs/xfs_dir2_readdir.c | 7 +-
7775 fs/xfs/xfs_ioctl.c | 2 +-
7776 fs/xfs/xfs_linux.h | 4 +-
7777 include/acpi/ghes.h | 2 +-
7778 include/asm-generic/4level-fixup.h | 2 +
7779 include/asm-generic/atomic-long.h | 176 +-
7780 include/asm-generic/atomic64.h | 12 +
7781 include/asm-generic/bitops/__fls.h | 2 +-
7782 include/asm-generic/bitops/fls.h | 2 +-
7783 include/asm-generic/bitops/fls64.h | 4 +-
7784 include/asm-generic/bug.h | 6 +-
7785 include/asm-generic/cache.h | 4 +-
7786 include/asm-generic/emergency-restart.h | 2 +-
7787 include/asm-generic/kmap_types.h | 4 +-
7788 include/asm-generic/local.h | 13 +
7789 include/asm-generic/pgtable-nopmd.h | 18 +-
7790 include/asm-generic/pgtable-nopud.h | 15 +-
7791 include/asm-generic/pgtable.h | 16 +
7792 include/asm-generic/sections.h | 1 +
7793 include/asm-generic/uaccess.h | 16 +
7794 include/asm-generic/vmlinux.lds.h | 15 +-
7795 include/crypto/algapi.h | 2 +-
7796 include/drm/drmP.h | 19 +-
7797 include/drm/drm_crtc_helper.h | 2 +-
7798 include/drm/drm_mm.h | 2 +-
7799 include/drm/i915_pciids.h | 2 +-
7800 include/drm/intel-gtt.h | 4 +-
7801 include/drm/ttm/ttm_memory.h | 2 +-
7802 include/drm/ttm/ttm_page_alloc.h | 1 +
7803 include/keys/asymmetric-subtype.h | 2 +-
7804 include/linux/atmdev.h | 4 +-
7805 include/linux/atomic.h | 2 +-
7806 include/linux/audit.h | 2 +-
7807 include/linux/average.h | 2 +-
7808 include/linux/binfmts.h | 3 +-
7809 include/linux/bitmap.h | 2 +-
7810 include/linux/bitops.h | 8 +-
7811 include/linux/blk-cgroup.h | 24 +-
7812 include/linux/blkdev.h | 2 +-
7813 include/linux/blktrace_api.h | 2 +-
7814 include/linux/cache.h | 8 +
7815 include/linux/cdrom.h | 1 -
7816 include/linux/cleancache.h | 2 +-
7817 include/linux/clk-provider.h | 1 +
7818 include/linux/compat.h | 6 +-
7819 include/linux/compiler-gcc.h | 28 +-
7820 include/linux/compiler.h | 193 +-
7821 include/linux/configfs.h | 2 +-
7822 include/linux/cpufreq.h | 3 +-
7823 include/linux/cpuidle.h | 5 +-
7824 include/linux/cpumask.h | 14 +-
7825 include/linux/crypto.h | 4 +-
7826 include/linux/ctype.h | 2 +-
7827 include/linux/dcache.h | 4 +-
7828 include/linux/decompress/mm.h | 2 +-
7829 include/linux/devfreq.h | 2 +-
7830 include/linux/device.h | 7 +-
7831 include/linux/dma-mapping.h | 2 +-
7832 include/linux/efi.h | 1 +
7833 include/linux/elf.h | 2 +
7834 include/linux/err.h | 4 +-
7835 include/linux/extcon.h | 2 +-
7836 include/linux/fb.h | 3 +-
7837 include/linux/fdtable.h | 2 +-
7838 include/linux/fs.h | 5 +-
7839 include/linux/fs_struct.h | 2 +-
7840 include/linux/fscache-cache.h | 2 +-
7841 include/linux/fscache.h | 2 +-
7842 include/linux/fsnotify.h | 2 +-
7843 include/linux/genhd.h | 4 +-
7844 include/linux/genl_magic_func.h | 2 +-
7845 include/linux/gfp.h | 12 +-
7846 include/linux/highmem.h | 12 +
7847 include/linux/hwmon-sysfs.h | 6 +-
7848 include/linux/i2c.h | 1 +
7849 include/linux/if_pppox.h | 2 +-
7850 include/linux/init.h | 12 +-
7851 include/linux/init_task.h | 7 +
7852 include/linux/interrupt.h | 6 +-
7853 include/linux/iommu.h | 2 +-
7854 include/linux/ioport.h | 2 +-
7855 include/linux/ipc.h | 2 +-
7856 include/linux/irq.h | 5 +-
7857 include/linux/irqdesc.h | 2 +-
7858 include/linux/irqdomain.h | 3 +
7859 include/linux/jbd2.h | 2 +-
7860 include/linux/jiffies.h | 16 +-
7861 include/linux/key-type.h | 2 +-
7862 include/linux/kgdb.h | 6 +-
7863 include/linux/kmemleak.h | 4 +-
7864 include/linux/kobject.h | 3 +-
7865 include/linux/kobject_ns.h | 2 +-
7866 include/linux/kref.h | 2 +-
7867 include/linux/libata.h | 2 +-
7868 include/linux/linkage.h | 1 +
7869 include/linux/list.h | 15 +
7870 include/linux/lockref.h | 26 +-
7871 include/linux/math64.h | 10 +-
7872 include/linux/mempolicy.h | 7 +
7873 include/linux/mm.h | 102 +-
7874 include/linux/mm_types.h | 20 +
7875 include/linux/mmiotrace.h | 4 +-
7876 include/linux/mmzone.h | 2 +-
7877 include/linux/mod_devicetable.h | 4 +-
7878 include/linux/module.h | 69 +-
7879 include/linux/moduleloader.h | 16 +
7880 include/linux/moduleparam.h | 4 +-
7881 include/linux/net.h | 2 +-
7882 include/linux/netdevice.h | 7 +-
7883 include/linux/netfilter.h | 2 +-
7884 include/linux/netfilter/nfnetlink.h | 2 +-
7885 include/linux/netlink.h | 12 +-
7886 include/linux/nls.h | 4 +-
7887 include/linux/notifier.h | 3 +-
7888 include/linux/oprofile.h | 4 +-
7889 include/linux/padata.h | 2 +-
7890 include/linux/pci_hotplug.h | 3 +-
7891 include/linux/percpu.h | 2 +-
7892 include/linux/perf_event.h | 12 +-
7893 include/linux/pipe_fs_i.h | 8 +-
7894 include/linux/pm.h | 1 +
7895 include/linux/pm_domain.h | 2 +-
7896 include/linux/pm_runtime.h | 2 +-
7897 include/linux/pnp.h | 2 +-
7898 include/linux/poison.h | 4 +-
7899 include/linux/power/smartreflex.h | 2 +-
7900 include/linux/ppp-comp.h | 2 +-
7901 include/linux/preempt.h | 21 +
7902 include/linux/proc_ns.h | 2 +-
7903 include/linux/psci.h | 2 +-
7904 include/linux/quota.h | 2 +-
7905 include/linux/random.h | 19 +-
7906 include/linux/rculist.h | 16 +
7907 include/linux/rcupdate.h | 8 +
7908 include/linux/reboot.h | 14 +-
7909 include/linux/regset.h | 3 +-
7910 include/linux/relay.h | 2 +-
7911 include/linux/rio.h | 2 +-
7912 include/linux/rmap.h | 4 +-
7913 include/linux/sched.h | 76 +-
7914 include/linux/sched/sysctl.h | 1 +
7915 include/linux/scif.h | 2 +-
7916 include/linux/semaphore.h | 2 +-
7917 include/linux/seq_file.h | 1 +
7918 include/linux/seqlock.h | 10 +
7919 include/linux/signal.h | 2 +-
7920 include/linux/skbuff.h | 12 +-
7921 include/linux/slab.h | 47 +-
7922 include/linux/slab_def.h | 14 +-
7923 include/linux/slub_def.h | 2 +-
7924 include/linux/smp.h | 2 +
7925 include/linux/sock_diag.h | 2 +-
7926 include/linux/sonet.h | 2 +-
7927 include/linux/spinlock.h | 17 +-
7928 include/linux/srcu.h | 5 +-
7929 include/linux/sunrpc/addr.h | 8 +-
7930 include/linux/sunrpc/clnt.h | 2 +-
7931 include/linux/sunrpc/svc.h | 2 +-
7932 include/linux/sunrpc/svc_rdma.h | 18 +-
7933 include/linux/sunrpc/svcauth.h | 2 +-
7934 include/linux/swapops.h | 10 +-
7935 include/linux/swiotlb.h | 3 +-
7936 include/linux/syscalls.h | 23 +-
7937 include/linux/syscore_ops.h | 2 +-
7938 include/linux/sysctl.h | 3 +-
7939 include/linux/sysfs.h | 9 +-
7940 include/linux/sysrq.h | 3 +-
7941 include/linux/tcp.h | 14 +-
7942 include/linux/thread_info.h | 7 +
7943 include/linux/tty.h | 4 +-
7944 include/linux/tty_driver.h | 2 +-
7945 include/linux/tty_ldisc.h | 2 +-
7946 include/linux/types.h | 16 +
7947 include/linux/uaccess.h | 2 +-
7948 include/linux/uio_driver.h | 2 +-
7949 include/linux/unaligned/access_ok.h | 24 +-
7950 include/linux/usb.h | 12 +-
7951 include/linux/usb/hcd.h | 1 +
7952 include/linux/usb/renesas_usbhs.h | 2 +-
7953 include/linux/vermagic.h | 21 +-
7954 include/linux/vga_switcheroo.h | 8 +-
7955 include/linux/vmalloc.h | 7 +-
7956 include/linux/vmstat.h | 24 +-
7957 include/linux/writeback.h | 3 +-
7958 include/linux/xattr.h | 5 +-
7959 include/linux/zlib.h | 3 +-
7960 include/media/v4l2-dev.h | 2 +-
7961 include/media/v4l2-device.h | 2 +-
7962 include/net/9p/transport.h | 2 +-
7963 include/net/bluetooth/l2cap.h | 2 +-
7964 include/net/bonding.h | 2 +-
7965 include/net/caif/cfctrl.h | 6 +-
7966 include/net/cfg802154.h | 2 +-
7967 include/net/flow.h | 2 +-
7968 include/net/genetlink.h | 2 +-
7969 include/net/gro_cells.h | 2 +-
7970 include/net/inet_connection_sock.h | 2 +-
7971 include/net/inet_sock.h | 2 +-
7972 include/net/inetpeer.h | 2 +-
7973 include/net/ip_fib.h | 2 +-
7974 include/net/ip_vs.h | 8 +-
7975 include/net/ipv6.h | 2 +-
7976 include/net/irda/ircomm_tty.h | 1 +
7977 include/net/iucv/af_iucv.h | 2 +-
7978 include/net/llc_c_ac.h | 2 +-
7979 include/net/llc_c_ev.h | 4 +-
7980 include/net/llc_c_st.h | 2 +-
7981 include/net/llc_s_ac.h | 2 +-
7982 include/net/llc_s_st.h | 2 +-
7983 include/net/mac80211.h | 6 +-
7984 include/net/neighbour.h | 4 +-
7985 include/net/net_namespace.h | 18 +-
7986 include/net/netlink.h | 2 +-
7987 include/net/netns/conntrack.h | 6 +-
7988 include/net/netns/ipv4.h | 4 +-
7989 include/net/netns/ipv6.h | 4 +-
7990 include/net/netns/xfrm.h | 2 +-
7991 include/net/ping.h | 2 +-
7992 include/net/protocol.h | 4 +-
7993 include/net/rtnetlink.h | 2 +-
7994 include/net/sctp/checksum.h | 4 +-
7995 include/net/sctp/sm.h | 4 +-
7996 include/net/sctp/structs.h | 2 +-
7997 include/net/snmp.h | 10 +-
7998 include/net/sock.h | 12 +-
7999 include/net/tcp.h | 8 +-
8000 include/net/xfrm.h | 13 +-
8001 include/rdma/iw_cm.h | 2 +-
8002 include/scsi/libfc.h | 3 +-
8003 include/scsi/scsi_device.h | 6 +-
8004 include/scsi/scsi_driver.h | 2 +-
8005 include/scsi/scsi_transport_fc.h | 3 +-
8006 include/scsi/sg.h | 2 +-
8007 include/sound/compress_driver.h | 2 +-
8008 include/sound/soc.h | 4 +-
8009 include/trace/events/irq.h | 4 +-
8010 include/uapi/linux/a.out.h | 8 +
8011 include/uapi/linux/bcache.h | 5 +-
8012 include/uapi/linux/byteorder/little_endian.h | 28 +-
8013 include/uapi/linux/connector.h | 2 +-
8014 include/uapi/linux/elf.h | 28 +
8015 include/uapi/linux/screen_info.h | 2 +-
8016 include/uapi/linux/swab.h | 6 +-
8017 include/uapi/linux/xattr.h | 4 +
8018 include/video/udlfb.h | 8 +-
8019 include/video/uvesafb.h | 1 +
8020 init/Kconfig | 2 +-
8021 init/Makefile | 3 +
8022 init/do_mounts.c | 14 +-
8023 init/do_mounts.h | 8 +-
8024 init/do_mounts_initrd.c | 30 +-
8025 init/do_mounts_md.c | 6 +-
8026 init/init_task.c | 4 +
8027 init/initramfs.c | 38 +-
8028 init/main.c | 30 +-
8029 ipc/compat.c | 4 +-
8030 ipc/ipc_sysctl.c | 14 +-
8031 ipc/mq_sysctl.c | 4 +-
8032 ipc/sem.c | 4 +-
8033 ipc/shm.c | 6 +
8034 kernel/audit.c | 8 +-
8035 kernel/auditsc.c | 4 +-
8036 kernel/bpf/core.c | 7 +-
8037 kernel/capability.c | 3 +
8038 kernel/compat.c | 38 +-
8039 kernel/debug/debug_core.c | 16 +-
8040 kernel/debug/kdb/kdb_main.c | 4 +-
8041 kernel/events/core.c | 30 +-
8042 kernel/events/internal.h | 10 +-
8043 kernel/events/uprobes.c | 2 +-
8044 kernel/exit.c | 27 +-
8045 kernel/fork.c | 175 +-
8046 kernel/futex.c | 11 +-
8047 kernel/futex_compat.c | 2 +-
8048 kernel/gcov/base.c | 7 +-
8049 kernel/irq/manage.c | 2 +-
8050 kernel/irq/msi.c | 19 +-
8051 kernel/irq/spurious.c | 2 +-
8052 kernel/jump_label.c | 5 +
8053 kernel/kallsyms.c | 37 +-
8054 kernel/kexec.c | 3 +-
8055 kernel/kmod.c | 8 +-
8056 kernel/kprobes.c | 4 +-
8057 kernel/ksysfs.c | 2 +-
8058 kernel/locking/lockdep.c | 7 +-
8059 kernel/locking/mutex-debug.c | 12 +-
8060 kernel/locking/mutex-debug.h | 4 +-
8061 kernel/locking/mutex.c | 6 +-
8062 kernel/module.c | 422 +-
8063 kernel/notifier.c | 17 +-
8064 kernel/padata.c | 4 +-
8065 kernel/panic.c | 5 +-
8066 kernel/pid.c | 2 +-
8067 kernel/pid_namespace.c | 2 +-
8068 kernel/power/process.c | 12 +-
8069 kernel/profile.c | 14 +-
8070 kernel/ptrace.c | 8 +-
8071 kernel/rcu/rcutorture.c | 60 +-
8072 kernel/rcu/tiny.c | 4 +-
8073 kernel/rcu/tree.c | 42 +-
8074 kernel/rcu/tree.h | 16 +-
8075 kernel/rcu/tree_plugin.h | 18 +-
8076 kernel/rcu/tree_trace.c | 14 +-
8077 kernel/resource.c | 4 +-
8078 kernel/sched/auto_group.c | 4 +-
8079 kernel/sched/core.c | 45 +-
8080 kernel/sched/fair.c | 2 +-
8081 kernel/sched/sched.h | 2 +-
8082 kernel/signal.c | 24 +-
8083 kernel/smpboot.c | 4 +-
8084 kernel/softirq.c | 12 +-
8085 kernel/sys.c | 10 +-
8086 kernel/sysctl.c | 34 +-
8087 kernel/time/alarmtimer.c | 2 +-
8088 kernel/time/posix-cpu-timers.c | 4 +-
8089 kernel/time/posix-timers.c | 24 +-
8090 kernel/time/timer.c | 2 +-
8091 kernel/time/timer_stats.c | 10 +-
8092 kernel/trace/blktrace.c | 6 +-
8093 kernel/trace/ftrace.c | 15 +-
8094 kernel/trace/ring_buffer.c | 96 +-
8095 kernel/trace/trace.c | 2 +-
8096 kernel/trace/trace.h | 2 +-
8097 kernel/trace/trace_clock.c | 4 +-
8098 kernel/trace/trace_events.c | 1 -
8099 kernel/trace/trace_functions_graph.c | 4 +-
8100 kernel/trace/trace_mmiotrace.c | 8 +-
8101 kernel/trace/trace_output.c | 10 +-
8102 kernel/trace/trace_seq.c | 2 +-
8103 kernel/trace/trace_stack.c | 2 +-
8104 kernel/user.c | 2 +-
8105 kernel/user_namespace.c | 2 +-
8106 kernel/utsname_sysctl.c | 2 +-
8107 kernel/watchdog.c | 2 +-
8108 kernel/workqueue.c | 8 +-
8109 lib/Kconfig.debug | 8 +-
8110 lib/Makefile | 2 +-
8111 lib/bitmap.c | 8 +-
8112 lib/bug.c | 2 +
8113 lib/debugobjects.c | 2 +-
8114 lib/decompress_bunzip2.c | 3 +-
8115 lib/decompress_unlzma.c | 4 +-
8116 lib/div64.c | 4 +-
8117 lib/dma-debug.c | 4 +-
8118 lib/inflate.c | 2 +-
8119 lib/ioremap.c | 4 +-
8120 lib/kobject.c | 4 +-
8121 lib/list_debug.c | 126 +-
8122 lib/lockref.c | 44 +-
8123 lib/percpu-refcount.c | 2 +-
8124 lib/radix-tree.c | 2 +-
8125 lib/random32.c | 2 +-
8126 lib/rhashtable.c | 4 +-
8127 lib/show_mem.c | 2 +-
8128 lib/strncpy_from_user.c | 2 +-
8129 lib/strnlen_user.c | 2 +-
8130 lib/swiotlb.c | 2 +-
8131 lib/usercopy.c | 6 +
8132 lib/vsprintf.c | 12 +-
8133 mm/Kconfig | 6 +-
8134 mm/backing-dev.c | 4 +-
8135 mm/debug.c | 3 +
8136 mm/filemap.c | 2 +-
8137 mm/gup.c | 13 +-
8138 mm/highmem.c | 6 +-
8139 mm/hugetlb.c | 70 +-
8140 mm/internal.h | 1 +
8141 mm/maccess.c | 12 +-
8142 mm/madvise.c | 37 +
8143 mm/memory-failure.c | 6 +-
8144 mm/memory.c | 424 +-
8145 mm/mempolicy.c | 25 +
8146 mm/mlock.c | 18 +-
8147 mm/mm_init.c | 2 +-
8148 mm/mmap.c | 582 +-
8149 mm/mprotect.c | 137 +-
8150 mm/mremap.c | 39 +-
8151 mm/nommu.c | 21 +-
8152 mm/page-writeback.c | 2 +-
8153 mm/page_alloc.c | 50 +-
8154 mm/percpu.c | 2 +-
8155 mm/process_vm_access.c | 14 +-
8156 mm/rmap.c | 45 +-
8157 mm/shmem.c | 19 +-
8158 mm/slab.c | 111 +-
8159 mm/slab.h | 22 +-
8160 mm/slab_common.c | 86 +-
8161 mm/slob.c | 218 +-
8162 mm/slub.c | 109 +-
8163 mm/sparse-vmemmap.c | 4 +-
8164 mm/sparse.c | 2 +-
8165 mm/swap.c | 2 +
8166 mm/swapfile.c | 12 +-
8167 mm/util.c | 6 +
8168 mm/vmalloc.c | 114 +-
8169 mm/vmstat.c | 12 +-
8170 net/8021q/vlan.c | 5 +-
8171 net/8021q/vlan_netlink.c | 2 +-
8172 net/9p/mod.c | 4 +-
8173 net/9p/trans_fd.c | 2 +-
8174 net/atm/atm_misc.c | 8 +-
8175 net/atm/lec.h | 2 +-
8176 net/atm/proc.c | 6 +-
8177 net/atm/resources.c | 4 +-
8178 net/ax25/sysctl_net_ax25.c | 2 +-
8179 net/batman-adv/bat_iv_ogm.c | 8 +-
8180 net/batman-adv/fragmentation.c | 2 +-
8181 net/batman-adv/routing.c | 4 +-
8182 net/batman-adv/soft-interface.c | 10 +-
8183 net/batman-adv/translation-table.c | 14 +-
8184 net/batman-adv/types.h | 8 +-
8185 net/bluetooth/hci_sock.c | 2 +-
8186 net/bluetooth/l2cap_core.c | 6 +-
8187 net/bluetooth/l2cap_sock.c | 12 +-
8188 net/bluetooth/rfcomm/sock.c | 4 +-
8189 net/bluetooth/rfcomm/tty.c | 4 +-
8190 net/bridge/br_netlink.c | 2 +-
8191 net/bridge/netfilter/ebtables.c | 6 +-
8192 net/caif/cfctrl.c | 11 +-
8193 net/caif/chnl_net.c | 2 +-
8194 net/can/af_can.c | 2 +-
8195 net/can/gw.c | 6 +-
8196 net/ceph/messenger.c | 4 +-
8197 net/compat.c | 26 +-
8198 net/core/datagram.c | 2 +-
8199 net/core/dev.c | 16 +-
8200 net/core/filter.c | 2 +-
8201 net/core/flow.c | 6 +-
8202 net/core/neighbour.c | 18 +-
8203 net/core/net-sysfs.c | 2 +-
8204 net/core/net_namespace.c | 8 +-
8205 net/core/netpoll.c | 4 +-
8206 net/core/rtnetlink.c | 17 +-
8207 net/core/scm.c | 12 +-
8208 net/core/skbuff.c | 11 +-
8209 net/core/sock.c | 28 +-
8210 net/core/sock_diag.c | 15 +-
8211 net/core/sysctl_net_core.c | 22 +-
8212 net/decnet/af_decnet.c | 1 +
8213 net/decnet/sysctl_net_decnet.c | 4 +-
8214 net/dsa/dsa.c | 2 +-
8215 net/hsr/hsr_netlink.c | 2 +-
8216 net/ieee802154/6lowpan/core.c | 2 +-
8217 net/ieee802154/6lowpan/reassembly.c | 14 +-
8218 net/ipv4/af_inet.c | 2 +-
8219 net/ipv4/arp.c | 2 +-
8220 net/ipv4/devinet.c | 18 +-
8221 net/ipv4/fib_frontend.c | 6 +-
8222 net/ipv4/fib_semantics.c | 2 +-
8223 net/ipv4/inet_connection_sock.c | 4 +-
8224 net/ipv4/inet_diag.c | 4 +-
8225 net/ipv4/inet_timewait_sock.c | 2 +-
8226 net/ipv4/inetpeer.c | 2 +-
8227 net/ipv4/ip_fragment.c | 15 +-
8228 net/ipv4/ip_gre.c | 6 +-
8229 net/ipv4/ip_sockglue.c | 2 +-
8230 net/ipv4/ip_vti.c | 4 +-
8231 net/ipv4/ipconfig.c | 6 +-
8232 net/ipv4/ipip.c | 4 +-
8233 net/ipv4/netfilter/arp_tables.c | 12 +-
8234 net/ipv4/netfilter/ip_tables.c | 12 +-
8235 net/ipv4/ping.c | 14 +-
8236 net/ipv4/proc.c | 8 +-
8237 net/ipv4/raw.c | 14 +-
8238 net/ipv4/route.c | 32 +-
8239 net/ipv4/sysctl_net_ipv4.c | 22 +-
8240 net/ipv4/tcp_input.c | 6 +-
8241 net/ipv4/tcp_probe.c | 2 +-
8242 net/ipv4/udp.c | 10 +-
8243 net/ipv4/xfrm4_mode_transport.c | 2 +-
8244 net/ipv4/xfrm4_policy.c | 17 +-
8245 net/ipv4/xfrm4_state.c | 4 +-
8246 net/ipv6/addrconf.c | 22 +-
8247 net/ipv6/af_inet6.c | 2 +-
8248 net/ipv6/datagram.c | 2 +-
8249 net/ipv6/icmp.c | 2 +-
8250 net/ipv6/ip6_fib.c | 4 +-
8251 net/ipv6/ip6_gre.c | 10 +-
8252 net/ipv6/ip6_tunnel.c | 4 +-
8253 net/ipv6/ip6_vti.c | 4 +-
8254 net/ipv6/ipv6_sockglue.c | 2 +-
8255 net/ipv6/ndisc.c | 2 +-
8256 net/ipv6/netfilter/ip6_tables.c | 12 +-
8257 net/ipv6/netfilter/nf_conntrack_reasm.c | 14 +-
8258 net/ipv6/ping.c | 33 +-
8259 net/ipv6/proc.c | 10 +-
8260 net/ipv6/raw.c | 17 +-
8261 net/ipv6/reassembly.c | 13 +-
8262 net/ipv6/route.c | 2 +-
8263 net/ipv6/sit.c | 4 +-
8264 net/ipv6/sysctl_net_ipv6.c | 2 +-
8265 net/ipv6/udp.c | 6 +-
8266 net/ipv6/xfrm6_policy.c | 17 +-
8267 net/irda/ircomm/ircomm_tty.c | 18 +-
8268 net/iucv/af_iucv.c | 4 +-
8269 net/iucv/iucv.c | 2 +-
8270 net/key/af_key.c | 4 +-
8271 net/l2tp/l2tp_eth.c | 38 +-
8272 net/l2tp/l2tp_ip.c | 2 +-
8273 net/l2tp/l2tp_ip6.c | 2 +-
8274 net/mac80211/cfg.c | 10 +-
8275 net/mac80211/debugfs_key.c | 4 +-
8276 net/mac80211/ieee80211_i.h | 3 +-
8277 net/mac80211/iface.c | 20 +-
8278 net/mac80211/key.c | 4 +-
8279 net/mac80211/main.c | 2 +-
8280 net/mac80211/pm.c | 4 +-
8281 net/mac80211/rate.c | 2 +-
8282 net/mac80211/sta_info.c | 2 +-
8283 net/mac80211/tx.c | 2 +-
8284 net/mac80211/util.c | 8 +-
8285 net/mac80211/wpa.c | 10 +-
8286 net/mac802154/iface.c | 4 +-
8287 net/mpls/af_mpls.c | 6 +-
8288 net/netfilter/ipset/ip_set_core.c | 4 +-
8289 net/netfilter/ipvs/ip_vs_conn.c | 6 +-
8290 net/netfilter/ipvs/ip_vs_core.c | 4 +-
8291 net/netfilter/ipvs/ip_vs_ctl.c | 14 +-
8292 net/netfilter/ipvs/ip_vs_lblc.c | 2 +-
8293 net/netfilter/ipvs/ip_vs_lblcr.c | 2 +-
8294 net/netfilter/ipvs/ip_vs_sync.c | 6 +-
8295 net/netfilter/ipvs/ip_vs_xmit.c | 4 +-
8296 net/netfilter/nf_conntrack_acct.c | 2 +-
8297 net/netfilter/nf_conntrack_ecache.c | 2 +-
8298 net/netfilter/nf_conntrack_helper.c | 2 +-
8299 net/netfilter/nf_conntrack_netlink.c | 22 +-
8300 net/netfilter/nf_conntrack_proto.c | 2 +-
8301 net/netfilter/nf_conntrack_standalone.c | 2 +-
8302 net/netfilter/nf_conntrack_timestamp.c | 2 +-
8303 net/netfilter/nf_log.c | 10 +-
8304 net/netfilter/nf_sockopt.c | 4 +-
8305 net/netfilter/nf_tables_api.c | 13 +-
8306 net/netfilter/nfnetlink_acct.c | 7 +-
8307 net/netfilter/nfnetlink_cthelper.c | 2 +-
8308 net/netfilter/nfnetlink_cttimeout.c | 2 +-
8309 net/netfilter/nfnetlink_log.c | 4 +-
8310 net/netfilter/nft_compat.c | 9 +-
8311 net/netfilter/xt_statistic.c | 8 +-
8312 net/netlink/af_netlink.c | 14 +-
8313 net/netlink/diag.c | 2 +-
8314 net/netlink/genetlink.c | 14 +-
8315 net/openvswitch/vport-internal_dev.c | 2 +-
8316 net/packet/af_packet.c | 26 +-
8317 net/packet/diag.c | 2 +-
8318 net/packet/internal.h | 6 +-
8319 net/phonet/pep.c | 6 +-
8320 net/phonet/socket.c | 2 +-
8321 net/phonet/sysctl.c | 2 +-
8322 net/rds/cong.c | 6 +-
8323 net/rds/ib.h | 2 +-
8324 net/rds/ib_cm.c | 2 +-
8325 net/rds/ib_recv.c | 4 +-
8326 net/rds/iw.h | 2 +-
8327 net/rds/iw_cm.c | 2 +-
8328 net/rds/iw_recv.c | 4 +-
8329 net/rds/rds.h | 2 +-
8330 net/rds/tcp.c | 2 +-
8331 net/rds/tcp_send.c | 2 +-
8332 net/rxrpc/af_rxrpc.c | 2 +-
8333 net/rxrpc/ar-ack.c | 14 +-
8334 net/rxrpc/ar-call.c | 2 +-
8335 net/rxrpc/ar-connection.c | 2 +-
8336 net/rxrpc/ar-connevent.c | 2 +-
8337 net/rxrpc/ar-input.c | 4 +-
8338 net/rxrpc/ar-internal.h | 8 +-
8339 net/rxrpc/ar-local.c | 2 +-
8340 net/rxrpc/ar-output.c | 4 +-
8341 net/rxrpc/ar-peer.c | 2 +-
8342 net/rxrpc/ar-proc.c | 4 +-
8343 net/rxrpc/ar-transport.c | 2 +-
8344 net/rxrpc/rxkad.c | 4 +-
8345 net/sched/sch_generic.c | 4 +-
8346 net/sctp/ipv6.c | 6 +-
8347 net/sctp/protocol.c | 10 +-
8348 net/sctp/sm_sideeffect.c | 2 +-
8349 net/sctp/socket.c | 21 +-
8350 net/sctp/sysctl.c | 10 +-
8351 net/socket.c | 18 +-
8352 net/sunrpc/auth_gss/svcauth_gss.c | 4 +-
8353 net/sunrpc/clnt.c | 4 +-
8354 net/sunrpc/sched.c | 4 +-
8355 net/sunrpc/svc.c | 4 +-
8356 net/sunrpc/svcauth_unix.c | 2 +-
8357 net/sunrpc/xprtrdma/svc_rdma.c | 44 +-
8358 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 8 +-
8359 net/sunrpc/xprtrdma/svc_rdma_sendto.c | 2 +-
8360 net/sunrpc/xprtrdma/svc_rdma_transport.c | 10 +-
8361 net/tipc/netlink_compat.c | 12 +-
8362 net/tipc/subscr.c | 2 +-
8363 net/unix/diag.c | 2 +-
8364 net/unix/sysctl_net_unix.c | 2 +-
8365 net/wireless/wext-core.c | 19 +-
8366 net/xfrm/xfrm_policy.c | 16 +-
8367 net/xfrm/xfrm_state.c | 33 +-
8368 net/xfrm/xfrm_sysctl.c | 2 +-
8369 net/xfrm/xfrm_user.c | 2 +-
8370 scripts/Kbuild.include | 2 +-
8371 scripts/Makefile.build | 2 +-
8372 scripts/Makefile.clean | 3 +-
8373 scripts/Makefile.host | 69 +-
8374 scripts/basic/fixdep.c | 12 +-
8375 scripts/dtc/checks.c | 14 +-
8376 scripts/dtc/data.c | 6 +-
8377 scripts/dtc/flattree.c | 8 +-
8378 scripts/dtc/livetree.c | 4 +-
8379 scripts/gcc-plugin.sh | 51 +
8380 scripts/headers_install.sh | 1 +
8381 scripts/kallsyms.c | 4 +-
8382 scripts/kconfig/lkc.h | 5 +-
8383 scripts/kconfig/menu.c | 2 +-
8384 scripts/kconfig/symbol.c | 6 +-
8385 scripts/link-vmlinux.sh | 2 +-
8386 scripts/mod/file2alias.c | 14 +-
8387 scripts/mod/modpost.c | 25 +-
8388 scripts/mod/modpost.h | 6 +-
8389 scripts/mod/sumversion.c | 2 +-
8390 scripts/module-common.lds | 4 +
8391 scripts/package/builddeb | 1 +
8392 scripts/pnmtologo.c | 6 +-
8393 scripts/sortextable.h | 6 +-
8394 scripts/tags.sh | 2 +-
8395 security/Kconfig | 691 +-
8396 security/apparmor/include/policy.h | 2 +-
8397 security/apparmor/policy.c | 4 +-
8398 security/integrity/ima/ima.h | 4 +-
8399 security/integrity/ima/ima_api.c | 2 +-
8400 security/integrity/ima/ima_fs.c | 4 +-
8401 security/integrity/ima/ima_queue.c | 2 +-
8402 security/keys/internal.h | 8 +-
8403 security/keys/key.c | 18 +-
8404 security/keys/keyring.c | 4 -
8405 security/selinux/avc.c | 6 +-
8406 security/selinux/include/xfrm.h | 2 +-
8407 security/yama/yama_lsm.c | 2 +-
8408 sound/aoa/codecs/onyx.c | 7 +-
8409 sound/aoa/codecs/onyx.h | 1 +
8410 sound/core/oss/pcm_oss.c | 18 +-
8411 sound/core/pcm_compat.c | 2 +-
8412 sound/core/pcm_native.c | 4 +-
8413 sound/core/seq/seq_clientmgr.c | 10 +-
8414 sound/core/seq/seq_compat.c | 2 +-
8415 sound/core/seq/seq_fifo.c | 6 +-
8416 sound/core/seq/seq_fifo.h | 2 +-
8417 sound/core/seq/seq_memory.c | 6 +-
8418 sound/core/sound.c | 2 +-
8419 sound/drivers/mts64.c | 14 +-
8420 sound/drivers/opl4/opl4_lib.c | 2 +-
8421 sound/drivers/portman2x4.c | 3 +-
8422 sound/firewire/amdtp-am824.c | 2 +-
8423 sound/firewire/amdtp-stream.c | 4 +-
8424 sound/firewire/amdtp-stream.h | 2 +-
8425 sound/firewire/digi00x/amdtp-dot.c | 2 +-
8426 sound/firewire/isight.c | 10 +-
8427 sound/firewire/scs1x.c | 8 +-
8428 sound/oss/sb_audio.c | 2 +-
8429 sound/oss/swarm_cs4297a.c | 6 +-
8430 sound/pci/hda/hda_codec.c | 2 +-
8431 sound/pci/ymfpci/ymfpci.h | 2 +-
8432 sound/pci/ymfpci/ymfpci_main.c | 12 +-
8433 sound/soc/codecs/sti-sas.c | 10 +-
8434 sound/soc/intel/skylake/skl-sst-dsp.h | 4 +-
8435 sound/soc/soc-ac97.c | 6 +-
8436 sound/soc/xtensa/xtfpga-i2s.c | 2 +-
8437 tools/gcc/Makefile | 42 +
8438 tools/gcc/checker_plugin.c | 549 +
8439 tools/gcc/colorize_plugin.c | 215 +
8440 tools/gcc/constify_plugin.c | 571 +
8441 tools/gcc/gcc-common.h | 819 +
8442 tools/gcc/initify_plugin.c | 591 +
8443 tools/gcc/kallocstat_plugin.c | 188 +
8444 tools/gcc/kernexec_plugin.c | 549 +
8445 tools/gcc/latent_entropy_plugin.c | 474 +
8446 tools/gcc/randomize_layout_seed.h | 1 +
8447 tools/gcc/size_overflow_plugin/.gitignore | 2 +
8448 tools/gcc/size_overflow_plugin/Makefile | 28 +
8449 .../disable_size_overflow_hash.data | 12434 ++
8450 .../disable_size_overflow_hash.h | 152601 ++++++++++++++++++
8451 .../generate_size_overflow_hash.sh | 103 +
8452 .../insert_size_overflow_asm.c | 416 +
8453 .../size_overflow_plugin/intentional_overflow.c | 1116 +
8454 .../size_overflow_plugin/remove_unnecessary_dup.c | 137 +
8455 tools/gcc/size_overflow_plugin/size_overflow.h | 325 +
8456 .../gcc/size_overflow_plugin/size_overflow_debug.c | 194 +
8457 .../size_overflow_plugin/size_overflow_hash.data | 21454 +++
8458 .../size_overflow_hash_aux.data | 92 +
8459 tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 1226 +
8460 .../gcc/size_overflow_plugin/size_overflow_misc.c | 505 +
8461 .../size_overflow_plugin/size_overflow_plugin.c | 318 +
8462 .../size_overflow_plugin_hash.c | 352 +
8463 .../size_overflow_plugin/size_overflow_transform.c | 745 +
8464 .../size_overflow_transform_core.c | 1015 +
8465 tools/gcc/stackleak_plugin.c | 444 +
8466 tools/gcc/structleak_plugin.c | 290 +
8467 tools/include/linux/compiler.h | 8 +
8468 tools/perf/util/include/asm/alternative-asm.h | 3 +
8469 tools/virtio/linux/uaccess.h | 2 +-
8470 virt/kvm/kvm_main.c | 42 +-
8471 2088 files changed, 221599 insertions(+), 9618 deletions(-)
8472 commit 87790bbd0d8dc2bd7fd86cb947e32886db9e9766
8473 Author: Matthew Wilcox <willy@linux.intel.com>
8474 Date: Tue Feb 2 16:57:52 2016 -0800
8475
8476 radix-tree: fix race in gang lookup
8477
8478 If the indirect_ptr bit is set on a slot, that indicates we need to redo
8479 the lookup. Introduce a new function radix_tree_iter_retry() which
8480 forces the loop to retry the lookup by setting 'slot' to NULL and
8481 turning the iterator back to point at the problematic entry.
8482
8483 This is a pretty rare problem to hit at the moment; the lookup has to
8484 race with a grow of the radix tree from a height of 0. The consequences
8485 of hitting this race are that gang lookup could return a pointer to a
8486 radix_tree_node instead of a pointer to whatever the user had inserted
8487 in the tree.
8488
8489 Fixes: cebbd29e1c2f ("radix-tree: rewrite gang lookup using iterator")
8490 Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
8491 Cc: Hugh Dickins <hughd@google.com>
8492 Cc: Ohad Ben-Cohen <ohad@wizery.com>
8493 Cc: Konstantin Khlebnikov <khlebnikov@openvz.org>
8494 Cc: <stable@vger.kernel.org>
8495 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
8496 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
8497
8498 include/linux/radix-tree.h | 16 ++++++++++++++++
8499 lib/radix-tree.c | 12 ++++++++++--
8500 2 files changed, 26 insertions(+), 2 deletions(-)
8501
8502 commit bf628043b4589c910919a0f221ae7f42aa8cea93
8503 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
8504 Date: Wed Feb 3 02:11:03 2016 +0100
8505
8506 unix: correctly track in-flight fds in sending process user_struct
8507
8508 The commit referenced in the Fixes tag incorrectly accounted the number
8509 of in-flight fds over a unix domain socket to the original opener
8510 of the file-descriptor. This allows another process to arbitrary
8511 deplete the original file-openers resource limit for the maximum of
8512 open files. Instead the sending processes and its struct cred should
8513 be credited.
8514
8515 To do so, we add a reference counted struct user_struct pointer to the
8516 scm_fp_list and use it to account for the number of inflight unix fds.
8517
8518 Fixes: 712f4aad406bb1 ("unix: properly account for FDs passed over unix sockets")
8519 Reported-by: David Herrmann <dh.herrmann@gmail.com>
8520 Cc: David Herrmann <dh.herrmann@gmail.com>
8521 Cc: Willy Tarreau <w@1wt.eu>
8522 Cc: Linus Torvalds <torvalds@linux-foundation.org>
8523 Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
8524 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
8525 Signed-off-by: David S. Miller <davem@davemloft.net>
8526
8527 include/net/af_unix.h | 4 ++--
8528 include/net/scm.h | 1 +
8529 net/core/scm.c | 7 +++++++
8530 net/unix/af_unix.c | 4 ++--
8531 net/unix/garbage.c | 8 ++++----
8532 5 files changed, 16 insertions(+), 8 deletions(-)
8533
8534 commit e830db443ff78d70b7b63536e688d73907face0c
8535 Author: Mike Kravetz <mike.kravetz@oracle.com>
8536 Date: Fri Jan 15 16:57:37 2016 -0800
8537
8538 fs/hugetlbfs/inode.c: fix bugs in hugetlb_vmtruncate_list()
8539
8540 Hillf Danton noticed bugs in the hugetlb_vmtruncate_list routine. The
8541 argument end is of type pgoff_t. It was being converted to a vaddr
8542 offset and passed to unmap_hugepage_range. However, end was also being
8543 used as an argument to the vma_interval_tree_foreach controlling loop.
8544 In addition, the conversion of end to vaddr offset was incorrect.
8545
8546 hugetlb_vmtruncate_list is called as part of a file truncate or
8547 fallocate hole punch operation.
8548
8549 When truncating a hugetlbfs file, this bug could prevent some pages from
8550 being unmapped. This is possible if there are multiple vmas mapping the
8551 file, and there is a sufficiently sized hole between the mappings. The
8552 size of the hole between two vmas (A,B) must be such that the starting
8553 virtual address of B is greater than (ending virtual address of A <<
8554 PAGE_SHIFT). In this case, the pages in B would not be unmapped. If
8555 pages are not properly unmapped during truncate, the following BUG is
8556 hit:
8557
8558 kernel BUG at fs/hugetlbfs/inode.c:428!
8559
8560 In the fallocate hole punch case, this bug could prevent pages from
8561 being unmapped as in the truncate case. However, for hole punch the
8562 result is that unmapped pages will not be removed during the operation.
8563 For hole punch, it is also possible that more pages than desired will be
8564 unmapped. This unnecessary unmapping will cause page faults to
8565 reestablish the mappings on subsequent page access.
8566
8567 Fixes: 1bfad99ab (" hugetlbfs: hugetlb_vmtruncate_list() needs to take a range")Reported-by: Hillf Danton <hillf.zj@alibaba-inc.com>
8568 Signed-off-by: Mike Kravetz <mike.kravetz@oracle.com>
8569 Cc: Hugh Dickins <hughd@google.com>
8570 Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
8571 Cc: Davidlohr Bueso <dave@stgolabs.net>
8572 Cc: Dave Hansen <dave.hansen@linux.intel.com>
8573 Cc: <stable@vger.kernel.org> [4.3]
8574 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
8575 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
8576
8577 fs/hugetlbfs/inode.c | 19 +++++++++++--------
8578 1 files changed, 11 insertions(+), 8 deletions(-)
8579
8580 commit cdb3ba4a9113b779347387f3b6c6ea72dd4db12f
8581 Author: Takashi Iwai <tiwai@suse.de>
8582 Date: Thu Feb 4 17:06:13 2016 +0100
8583
8584 ALSA: timer: Fix leftover link at closing
8585
8586 In ALSA timer core, the active timer instance is managed in
8587 active_list linked list. Each element is added / removed dynamically
8588 at timer start, stop and in timer interrupt. The problem is that
8589 snd_timer_interrupt() has a thinko and leaves the element in
8590 active_list when it's the last opened element. This eventually leads
8591 to list corruption or use-after-free error.
8592
8593 This hasn't been revealed because we used to delete the list forcibly
8594 in snd_timer_stop() in the past. However, the recent fix avoids the
8595 double-stop behavior (in commit [f784beb75ce8: ALSA: timer: Fix link
8596 corruption due to double start or stop]), and this leak hits reality.
8597
8598 This patch fixes the link management in snd_timer_interrupt(). Now it
8599 simply unlinks no matter which stream is.
8600
8601 BugLink: http://lkml.kernel.org/r/CACT4Y+Yy2aukHP-EDp8-ziNqNNmb-NTf=jDWXMP7jB8HDa2vng@mail.gmail.com
8602 Reported-by: Dmitry Vyukov <dvyukov@google.com>
8603 Cc: <stable@vger.kernel.org>
8604 Signed-off-by: Takashi Iwai <tiwai@suse.de>
8605
8606 sound/core/timer.c | 4 ++--
8607 1 files changed, 2 insertions(+), 2 deletions(-)
8608
8609 commit 47d9647902f6a2f46a2be1e0140ba0f6f8c06008
8610 Author: Konstantin Khlebnikov <koct9i@gmail.com>
8611 Date: Fri Feb 5 15:37:01 2016 -0800
8612
8613 radix-tree: fix oops after radix_tree_iter_retry
8614
8615 Helper radix_tree_iter_retry() resets next_index to the current index.
8616 In following radix_tree_next_slot current chunk size becomes zero. This
8617 isn't checked and it tries to dereference null pointer in slot.
8618
8619 Tagged iterator is fine because retry happens only at slot 0 where tag
8620 bitmask in iter->tags is filled with single bit.
8621
8622 Fixes: 46437f9a554f ("radix-tree: fix race in gang lookup")
8623 Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com>
8624 Cc: Matthew Wilcox <willy@linux.intel.com>
8625 Cc: Hugh Dickins <hughd@google.com>
8626 Cc: Ohad Ben-Cohen <ohad@wizery.com>
8627 Cc: Jeremiah Mahler <jmmahler@gmail.com>
8628 Cc: <stable@vger.kernel.org>
8629 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
8630 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
8631
8632 include/linux/radix-tree.h | 6 +++---
8633 1 files changed, 3 insertions(+), 3 deletions(-)
8634
8635 commit 95b5dcb3c01958502af00b0bc0da1d906aae11a2
8636 Merge: 438be0b 256aeaf
8637 Author: Brad Spengler <spender@grsecurity.net>
8638 Date: Sun Feb 7 08:29:33 2016 -0500
8639
8640 Merge branch 'pax-test' into grsec-test
8641
8642 commit 256aeaf87c22de8edf1f03682a572c590ae07771
8643 Author: Brad Spengler <spender@grsecurity.net>
8644 Date: Sun Feb 7 08:29:09 2016 -0500
8645
8646 Update to pax-linux-4.3.5-test28.patch:
8647 - fixed an integer truncation bug in numa_clear_kernel_node_hotplug caught by the size overflow plugin, reported by x14sg1 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4374)
8648 - spender fixed UDEREF on arm
8649
8650 arch/arm/Kconfig | 1 +
8651 arch/arm/include/asm/domain.h | 21 ++++++++-
8652 arch/arm/include/asm/futex.h | 9 ----
8653 arch/arm/include/asm/thread_info.h | 3 +
8654 arch/arm/include/asm/uaccess.h | 81 +++++++++++++++---------------------
8655 arch/arm/kernel/entry-armv.S | 2 +-
8656 arch/arm/kernel/process.c | 2 +-
8657 arch/arm/mm/alignment.c | 8 ----
8658 arch/x86/mm/numa.c | 2 +-
8659 security/Kconfig | 1 -
8660 10 files changed, 60 insertions(+), 70 deletions(-)
8661
8662 commit 438be0bd112bd17942b2628c53054dc1007558a1
8663 Author: Brad Spengler <spender@grsecurity.net>
8664 Date: Sat Feb 6 19:50:31 2016 -0500
8665
8666 Fix a number of issues caused by the upstream merging of a UDEREF ripoff resulting in unbootable
8667 ARM systems reported on the forums
8668
8669 arch/arm/Kconfig | 1 +
8670 arch/arm/include/asm/domain.h | 21 ++++++++-
8671 arch/arm/include/asm/futex.h | 9 ----
8672 arch/arm/include/asm/thread_info.h | 3 +
8673 arch/arm/include/asm/uaccess.h | 81 +++++++++++++++---------------------
8674 arch/arm/kernel/entry-armv.S | 2 +-
8675 arch/arm/kernel/process.c | 2 +-
8676 arch/arm/mm/alignment.c | 8 ----
8677 security/Kconfig | 1 -
8678 9 files changed, 59 insertions(+), 69 deletions(-)
8679
8680 commit 4ffdd5ef1f87e611af1efb4f251ada92abe9f4c0
8681 Author: Brad Spengler <spender@grsecurity.net>
8682 Date: Sat Feb 6 11:21:53 2016 -0500
8683
8684 Fix another compiler warning
8685
8686 net/ipv4/tcp_input.c | 2 ++
8687 1 files changed, 2 insertions(+), 0 deletions(-)
8688
8689 commit 30b5b7bc0fd67d458bdd5ab35e4689769eabd2ed
8690 Author: Brad Spengler <spender@grsecurity.net>
8691 Date: Sat Feb 6 11:16:12 2016 -0500
8692
8693 Fix two compiler warnings
8694
8695 kernel/pid.c | 5 ++---
8696 kernel/ptrace.c | 3 ++-
8697 2 files changed, 4 insertions(+), 4 deletions(-)
8698
8699 commit dda4d2a21914c480750f10bd55c6e3203d415d8d
8700 Author: Brad Spengler <spender@grsecurity.net>
8701 Date: Wed Feb 3 21:22:40 2016 -0500
8702
8703 Apply fix for integer truncation in NUMA init code, reported by
8704 x14sg1 on the forums:
8705 https://forums.grsecurity.net/viewtopic.php?f=3&t=4374
8706
8707 arch/x86/mm/numa.c | 2 +-
8708 1 files changed, 1 insertions(+), 1 deletions(-)
8709
8710 commit 477505f7c893cb6a2c3e22f83eefd9c985d7b3ca
8711 Merge: a781740 016d0d8
8712 Author: Brad Spengler <spender@grsecurity.net>
8713 Date: Wed Feb 3 21:20:58 2016 -0500
8714
8715 Merge branch 'pax-test' into grsec-test
8716
8717 commit 016d0d81a8dd4be1304c82a68e0ccf425868f467
8718 Author: Brad Spengler <spender@grsecurity.net>
8719 Date: Wed Feb 3 21:20:10 2016 -0500
8720
8721 Update to pax-linux-4.3.5-test27.patch:
8722 - fixed a bunch of potential REFCOUNT false positives, reported by Emese
8723 - restored padding in fpregs_state for storing AVX-512 state in the future
8724 - constified netlink_dump_control
8725 - added const version of debug_gimple_stmt for gcc plugins, by Emese
8726 - Emese fixed a bug in initify that could have initified too much
8727 - Emese fixed a false positive intentional integer overflow in xfrm4_extract_header, reported by corsac
8728
8729 arch/x86/include/asm/fpu/types.h | 1 +
8730 arch/x86/include/asm/mmu_context.h | 2 +-
8731 block/blk-cgroup.c | 18 ++--
8732 block/cfq-iosched.c | 4 +-
8733 crypto/crypto_user.c | 8 ++-
8734 drivers/acpi/apei/ghes.c | 6 +-
8735 drivers/char/ipmi/ipmi_ssif.c | 12 ++--
8736 drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 2 +-
8737 drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | 2 +-
8738 drivers/gpu/drm/amd/scheduler/sched_fence.c | 2 +-
8739 drivers/infiniband/core/netlink.c | 5 +-
8740 drivers/infiniband/hw/cxgb4/device.c | 6 +-
8741 drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 2 +-
8742 drivers/md/bcache/alloc.c | 2 +-
8743 drivers/md/bcache/bcache.h | 10 +-
8744 drivers/md/bcache/btree.c | 2 +-
8745 drivers/md/bcache/io.c | 10 +-
8746 drivers/md/bcache/journal.c | 2 +-
8747 drivers/md/bcache/stats.c | 26 +++---
8748 drivers/md/bcache/stats.h | 16 ++--
8749 drivers/md/bcache/super.c | 2 +-
8750 drivers/md/bcache/sysfs.c | 20 +++---
8751 drivers/md/dm-cache-target.c | 98 ++++++++++++------------
8752 drivers/md/dm-raid.c | 2 +-
8753 drivers/md/md.c | 6 +-
8754 drivers/md/md.h | 2 +-
8755 drivers/md/raid1.c | 2 +-
8756 drivers/md/raid10.c | 2 +-
8757 drivers/md/raid5.c | 4 +-
8758 drivers/media/pci/zoran/zoran.h | 1 -
8759 drivers/media/pci/zoran/zoran_driver.c | 3 -
8760 drivers/net/ethernet/sfc/selftest.c | 20 +++---
8761 drivers/net/irda/vlsi_ir.c | 18 ++--
8762 drivers/net/irda/vlsi_ir.h | 14 ++--
8763 drivers/net/wireless/ath/carl9170/carl9170.h | 6 +-
8764 drivers/net/wireless/ath/carl9170/debug.c | 6 +-
8765 drivers/net/wireless/ath/carl9170/main.c | 10 +-
8766 drivers/net/wireless/ath/carl9170/tx.c | 4 +-
8767 drivers/net/wireless/iwlwifi/mvm/d3.c | 4 +-
8768 drivers/net/wireless/iwlwifi/mvm/tx.c | 2 +-
8769 drivers/scsi/hptiop.c | 2 -
8770 drivers/scsi/hptiop.h | 1 -
8771 drivers/scsi/ipr.c | 6 +-
8772 drivers/scsi/ipr.h | 2 +-
8773 drivers/scsi/qla2xxx/qla_target.c | 10 +-
8774 drivers/scsi/qla2xxx/qla_target.h | 2 +-
8775 fs/btrfs/ctree.c | 2 +-
8776 fs/btrfs/ctree.h | 4 +-
8777 fs/btrfs/delayed-ref.c | 4 +-
8778 fs/btrfs/disk-io.c | 4 +-
8779 fs/btrfs/file.c | 4 +-
8780 fs/btrfs/raid56.c | 32 ++++----
8781 fs/btrfs/tests/btrfs-tests.c | 2 +-
8782 fs/btrfs/transaction.c | 2 +-
8783 fs/btrfs/tree-log.c | 8 +-
8784 fs/btrfs/volumes.c | 14 ++--
8785 fs/btrfs/volumes.h | 22 +++---
8786 fs/jbd2/commit.c | 2 +-
8787 fs/jbd2/transaction.c | 4 +-
8788 fs/ocfs2/dlm/dlmcommon.h | 4 +-
8789 fs/ocfs2/dlm/dlmdebug.c | 10 +-
8790 fs/ocfs2/dlm/dlmdomain.c | 4 +-
8791 fs/ocfs2/dlm/dlmmaster.c | 4 +-
8792 include/acpi/ghes.h | 2 +-
8793 include/linux/blk-cgroup.h | 24 +++---
8794 include/linux/jbd2.h | 2 +-
8795 include/linux/netlink.h | 12 ++--
8796 include/net/cfg802154.h | 2 +-
8797 include/net/mac80211.h | 2 +-
8798 include/net/neighbour.h | 2 +-
8799 kernel/rcu/tree_plugin.h | 4 +-
8800 net/batman-adv/routing.c | 4 +-
8801 net/batman-adv/soft-interface.c | 2 +-
8802 net/batman-adv/translation-table.c | 14 ++--
8803 net/batman-adv/types.h | 2 +-
8804 net/core/neighbour.c | 14 ++--
8805 net/core/rtnetlink.c | 2 +-
8806 net/ipv4/arp.c | 2 +-
8807 net/ipv4/inet_diag.c | 4 +-
8808 net/ipv4/xfrm4_state.c | 4 +-
8809 net/ipv6/ndisc.c | 2 +-
8810 net/mac80211/cfg.c | 2 +-
8811 net/mac80211/debugfs_key.c | 2 +-
8812 net/mac80211/key.c | 4 +-
8813 net/mac80211/tx.c | 2 +-
8814 net/mac80211/wpa.c | 10 +-
8815 net/mac802154/iface.c | 4 +-
8816 net/netfilter/ipset/ip_set_core.c | 2 +-
8817 net/netfilter/nf_conntrack_netlink.c | 22 +++---
8818 net/netfilter/nf_tables_api.c | 13 ++--
8819 net/netfilter/nfnetlink_acct.c | 7 +-
8820 net/netfilter/nfnetlink_cthelper.c | 2 +-
8821 net/netfilter/nfnetlink_cttimeout.c | 2 +-
8822 net/netlink/af_netlink.c | 10 ++-
8823 net/netlink/diag.c | 2 +-
8824 net/netlink/genetlink.c | 14 ++--
8825 net/packet/af_packet.c | 18 ++--
8826 net/packet/diag.c | 2 +-
8827 net/packet/internal.h | 6 +-
8828 net/unix/diag.c | 2 +-
8829 net/xfrm/xfrm_user.c | 2 +-
8830 security/apparmor/include/policy.h | 2 +-
8831 security/apparmor/policy.c | 4 +-
8832 sound/core/seq/seq_clientmgr.c | 2 +-
8833 sound/core/seq/seq_fifo.c | 6 +-
8834 sound/core/seq/seq_fifo.h | 2 +-
8835 tools/gcc/gcc-common.h | 24 ++++--
8836 tools/gcc/initify_plugin.c | 7 +-
8837 tools/lib/api/Makefile | 2 +-
8838 109 files changed, 399 insertions(+), 391 deletions(-)
8839
8840 commit a7817402ac837b1aee07fac42537a02097055098
8841 Author: Matt Fleming <matt@codeblueprint.co.uk>
8842 Date: Fri Jan 29 11:36:10 2016 +0000
8843
8844 x86/mm/pat: Avoid truncation when converting cpa->numpages to address
8845
8846 There are a couple of nasty truncation bugs lurking in the pageattr
8847 code that can be triggered when mapping EFI regions, e.g. when we pass
8848 a cpa->pgd pointer. Because cpa->numpages is a 32-bit value, shifting
8849 left by PAGE_SHIFT will truncate the resultant address to 32-bits.
8850
8851 Viorel-Cătălin managed to trigger this bug on his Dell machine that
8852 provides a ~5GB EFI region which requires 1236992 pages to be mapped.
8853 When calling populate_pud() the end of the region gets calculated
8854 incorrectly in the following buggy expression,
8855
8856 end = start + (cpa->numpages << PAGE_SHIFT);
8857
8858 And only 188416 pages are mapped. Next, populate_pud() gets invoked
8859 for a second time because of the loop in __change_page_attr_set_clr(),
8860 only this time no pages get mapped because shifting the remaining
8861 number of pages (1048576) by PAGE_SHIFT is zero. At which point the
8862 loop in __change_page_attr_set_clr() spins forever because we fail to
8863 map progress.
8864
8865 Hitting this bug depends very much on the virtual address we pick to
8866 map the large region at and how many pages we map on the initial run
8867 through the loop. This explains why this issue was only recently hit
8868 with the introduction of commit
8869
8870 a5caa209ba9c ("x86/efi: Fix boot crash by mapping EFI memmap
8871 entries bottom-up at runtime, instead of top-down")
8872
8873 It's interesting to note that safe uses of cpa->numpages do exist in
8874 the pageattr code. If instead of shifting ->numpages we multiply by
8875 PAGE_SIZE, no truncation occurs because PAGE_SIZE is a UL value, and
8876 so the result is unsigned long.
8877
8878 To avoid surprises when users try to convert very large cpa->numpages
8879 values to addresses, change the data type from 'int' to 'unsigned
8880 long', thereby making it suitable for shifting by PAGE_SHIFT without
8881 any type casting.
8882
8883 The alternative would be to make liberal use of casting, but that is
8884 far more likely to cause problems in the future when someone adds more
8885 code and fails to cast properly; this bug was difficult enough to
8886 track down in the first place.
8887
8888 Reported-and-tested-by: Viorel-Cătălin Răpițeanu <rapiteanu.catalin@gmail.com>
8889 Acked-by: Borislav Petkov <bp@alien8.de>
8890 Cc: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
8891 Cc: <stable@vger.kernel.org>
8892 Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
8893 Link: https://bugzilla.kernel.org/show_bug.cgi?id=110131
8894 Link: http://lkml.kernel.org/r/1454067370-10374-1-git-send-email-matt@codeblueprint.co.uk
8895 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
8896
8897 arch/x86/mm/pageattr.c | 4 ++--
8898 1 files changed, 2 insertions(+), 2 deletions(-)
8899
8900 commit 64dd9d7a67a742fda257cdd16510c29e695c34b5
8901 Author: Jan Beulich <JBeulich@suse.com>
8902 Date: Tue Jan 26 04:15:18 2016 -0700
8903
8904 x86/mm: Fix types used in pgprot cacheability flags translations
8905
8906 For PAE kernels "unsigned long" is not suitable to hold page protection
8907 flags, since _PAGE_NX doesn't fit there. This is the reason for quite a
8908 few W+X pages getting reported as insecure during boot (observed namely
8909 for the entire initrd range).
8910
8911 Fixes: 281d4078be ("x86: Make page cache mode a real type")
8912 Signed-off-by: Jan Beulich <jbeulich@suse.com>
8913 Reviewed-by: Juergen Gross <JGross@suse.com>
8914 Cc: stable@vger.kernel.org
8915 Link: http://lkml.kernel.org/r/56A7635602000078000CAFF1@prv-mh.provo.novell.com
8916 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
8917
8918 arch/x86/include/asm/pgtable_types.h | 6 ++----
8919 1 files changed, 2 insertions(+), 4 deletions(-)
8920
8921 commit bb9a3a9df0d8dfc96d521676e64c42b37ba22aea
8922 Merge: 682d661 f74425b
8923 Author: Brad Spengler <spender@grsecurity.net>
8924 Date: Sun Jan 31 15:06:25 2016 -0500
8925
8926 Merge branch 'pax-test' into grsec-test
8927
8928 Conflicts:
8929 drivers/net/slip/slhc.c
8930 include/linux/sched.h
8931 net/unix/af_unix.c
8932 sound/core/timer.c
8933
8934 commit f74425b5705bfe52aff9e97659ef10c4a14176c3
8935 Merge: d14af1f 849a2d3
8936 Author: Brad Spengler <spender@grsecurity.net>
8937 Date: Sun Jan 31 15:02:55 2016 -0500
8938
8939 Merge branch 'linux-4.3.y' into pax-test
8940
8941 Conflicts:
8942 arch/x86/include/asm/mmu_context.h
8943
8944 commit 682d6611d75542e351c973c8dd74a99d3966c073
8945 Author: Brad Spengler <spender@grsecurity.net>
8946 Date: Sat Jan 30 13:05:03 2016 -0500
8947
8948 Based on a report from Mathias Krause, fix up a number of additional instances
8949 of ulong overflow when passing in values to gr_learn_resource by saturating
8950 to ULONG_MAX
8951
8952 mm/mlock.c | 11 ++++++++---
8953 mm/mmap.c | 16 +++++++++++++---
8954 2 files changed, 21 insertions(+), 6 deletions(-)
8955
8956 commit adb52e95fb9ad4ac9c56cd5d47bd668f47c33096
8957 Author: Jann Horn <jann@thejh.net>
8958 Date: Sat Dec 26 06:00:48 2015 +0100
8959
8960 seccomp: always propagate NO_NEW_PRIVS on tsync
8961
8962 Before this patch, a process with some permissive seccomp filter
8963 that was applied by root without NO_NEW_PRIVS was able to add
8964 more filters to itself without setting NO_NEW_PRIVS by setting
8965 the new filter from a throwaway thread with NO_NEW_PRIVS.
8966
8967 Signed-off-by: Jann Horn <jann@thejh.net>
8968 Cc: stable@vger.kernel.org
8969 Signed-off-by: Kees Cook <keescook@chromium.org>
8970
8971 kernel/seccomp.c | 22 +++++++++++-----------
8972 1 files changed, 11 insertions(+), 11 deletions(-)
8973
8974 commit b85450498a3bbf269441c8963d7574bb3079c838
8975 Merge: 59c216f d14af1f
8976 Author: Brad Spengler <spender@grsecurity.net>
8977 Date: Fri Jan 29 20:54:13 2016 -0500
8978
8979 Merge branch 'pax-test' into grsec-test
8980
8981 commit d14af1f1dd66511f3f0674deee2b572972012b39
8982 Author: Brad Spengler <spender@grsecurity.net>
8983 Date: Fri Jan 29 20:53:51 2016 -0500
8984
8985 Update to pax-linux-4.3.4-test26.patch:
8986 - Emese fixed a few intentional overflows introduced by gcc, reported by StalkR (https://forums.grsecurity.net/viewtopic.php?f=3&t=4370)
8987
8988 fs/cifs/file.c | 2 +-
8989 fs/gfs2/file.c | 2 +-
8990 .../size_overflow_plugin/intentional_overflow.c | 96 ++++++++++++++++++--
8991 tools/gcc/size_overflow_plugin/size_overflow.h | 2 +
8992 .../size_overflow_plugin/size_overflow_plugin.c | 4 +-
8993 .../size_overflow_plugin/size_overflow_transform.c | 6 +-
8994 .../size_overflow_transform_core.c | 5 +
8995 7 files changed, 102 insertions(+), 15 deletions(-)
8996
8997 commit 59c216f13587eacdd692386b7a403ae78ed84fb6
8998 Author: Brad Spengler <spender@grsecurity.net>
8999 Date: Wed Jan 27 17:57:21 2016 -0500
9000
9001 Fix a size_overflow report reported by Mathias Krause in our
9002 truncation of an loff_t to an unsigned long when being passed
9003 to gr_learn_resource() (as all resource checks are against unsigned long
9004 values)
9005
9006 fs/attr.c | 5 ++++-
9007 1 files changed, 4 insertions(+), 1 deletions(-)
9008
9009 commit 70636c6ad60fc1db3af764ecc789b827b7497a97
9010 Author: Yuchung Cheng <ycheng@google.com>
9011 Date: Wed Jan 6 12:42:38 2016 -0800
9012
9013 tcp: fix zero cwnd in tcp_cwnd_reduction
9014
9015 Patch 3759824da87b ("tcp: PRR uses CRB mode by default and SS mode
9016 conditionally") introduced a bug that cwnd may become 0 when both
9017 inflight and sndcnt are 0 (cwnd = inflight + sndcnt). This may lead
9018 to a div-by-zero if the connection starts another cwnd reduction
9019 phase by setting tp->prior_cwnd to the current cwnd (0) in
9020 tcp_init_cwnd_reduction().
9021
9022 To prevent this we skip PRR operation when nothing is acked or
9023 sacked. Then cwnd must be positive in all cases as long as ssthresh
9024 is positive:
9025
9026 1) The proportional reduction mode
9027 inflight > ssthresh > 0
9028
9029 2) The reduction bound mode
9030 a) inflight == ssthresh > 0
9031
9032 b) inflight < ssthresh
9033 sndcnt > 0 since newly_acked_sacked > 0 and inflight < ssthresh
9034
9035 Therefore in all cases inflight and sndcnt can not both be 0.
9036 We check invalid tp->prior_cwnd to avoid potential div0 bugs.
9037
9038 In reality this bug is triggered only with a sequence of less common
9039 events. For example, the connection is terminating an ECN-triggered
9040 cwnd reduction with an inflight 0, then it receives reordered/old
9041 ACKs or DSACKs from prior transmission (which acks nothing). Or the
9042 connection is in fast recovery stage that marks everything lost,
9043 but fails to retransmit due to local issues, then receives data
9044 packets from other end which acks nothing.
9045
9046 Fixes: 3759824da87b ("tcp: PRR uses CRB mode by default and SS mode conditionally")
9047 Reported-by: Oleksandr Natalenko <oleksandr@natalenko.name>
9048 Signed-off-by: Yuchung Cheng <ycheng@google.com>
9049 Signed-off-by: Neal Cardwell <ncardwell@google.com>
9050 Signed-off-by: Eric Dumazet <edumazet@google.com>
9051 Signed-off-by: David S. Miller <davem@davemloft.net>
9052
9053 net/ipv4/tcp_input.c | 3 +++
9054 1 files changed, 3 insertions(+), 0 deletions(-)
9055
9056 commit dac1da2bedbb43195d371c7a192cfeeb45683df0
9057 Author: Eric Dumazet <edumazet@google.com>
9058 Date: Sun Jan 24 13:53:50 2016 -0800
9059
9060 af_unix: fix struct pid memory leak
9061
9062 Dmitry reported a struct pid leak detected by a syzkaller program.
9063
9064 Bug happens in unix_stream_recvmsg() when we break the loop when a
9065 signal is pending, without properly releasing scm.
9066
9067 Fixes: b3ca9b02b007 ("net: fix multithreaded signal handling in unix recv routines")
9068 Reported-by: Dmitry Vyukov <dvyukov@google.com>
9069 Signed-off-by: Eric Dumazet <edumazet@google.com>
9070 Cc: Rainer Weikusat <rweikusat@mobileactivedefense.com>
9071 Signed-off-by: David S. Miller <davem@davemloft.net>
9072
9073 net/unix/af_unix.c | 1 +
9074 1 files changed, 1 insertions(+), 0 deletions(-)
9075
9076 commit 15cc47f127520d1ac0c1fe76d993c2c27f0f2571
9077 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
9078 Date: Fri Jan 22 01:39:43 2016 +0100
9079
9080 pptp: fix illegal memory access caused by multiple bind()s
9081
9082 Several times already this has been reported as kasan reports caused by
9083 syzkaller and trinity and people always looked at RCU races, but it is
9084 much more simple. :)
9085
9086 In case we bind a pptp socket multiple times, we simply add it to
9087 the callid_sock list but don't remove the old binding. Thus the old
9088 socket stays in the bucket with unused call_id indexes and doesn't get
9089 cleaned up. This causes various forms of kasan reports which were hard
9090 to pinpoint.
9091
9092 Simply don't allow multiple binds and correct error handling in
9093 pptp_bind. Also keep sk_state bits in place in pptp_connect.
9094
9095 Fixes: 00959ade36acad ("PPTP: PPP over IPv4 (Point-to-Point Tunneling Protocol)")
9096 Cc: Dmitry Kozlov <xeb@mail.ru>
9097 Cc: Sasha Levin <sasha.levin@oracle.com>
9098 Cc: Dmitry Vyukov <dvyukov@google.com>
9099 Reported-by: Dmitry Vyukov <dvyukov@google.com>
9100 Cc: Dave Jones <davej@codemonkey.org.uk>
9101 Reported-by: Dave Jones <davej@codemonkey.org.uk>
9102 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
9103 Signed-off-by: David S. Miller <davem@davemloft.net>
9104
9105 drivers/net/ppp/pptp.c | 34 ++++++++++++++++++++++++----------
9106 1 files changed, 24 insertions(+), 10 deletions(-)
9107
9108 commit e2b7b8c66851c85188fa6dab2d2b2a6c85bc7332
9109 Author: Brad Spengler <spender@grsecurity.net>
9110 Date: Tue Jan 26 18:17:10 2016 -0500
9111
9112 Add info about cpupower/powertop to GRKERNSEC_KMEM, was present on our
9113 wiki but was removed from the config help at some point
9114
9115 grsecurity/Kconfig | 3 +++
9116 1 files changed, 3 insertions(+), 0 deletions(-)
9117
9118 commit ce2e88efa000fc32bfcd84098f57c8ed8310fefc
9119 Author: Thomas Egerer <hakke_007@gmx.de>
9120 Date: Mon Jan 25 12:58:44 2016 +0100
9121
9122 ipv4+ipv6: Make INET*_ESP select CRYPTO_ECHAINIV
9123
9124 The ESP algorithms using CBC mode require echainiv. Hence INET*_ESP have
9125 to select CRYPTO_ECHAINIV in order to work properly. This solves the
9126 issues caused by a misconfiguration as described in [1].
9127 The original approach, patching crypto/Kconfig was turned down by
9128 Herbert Xu [2].
9129
9130 [1] https://lists.strongswan.org/pipermail/users/2015-December/009074.html
9131 [2] http://marc.info/?l=linux-crypto-vger&m=145224655809562&w=2
9132
9133 Signed-off-by: Thomas Egerer <hakke_007@gmx.de>
9134 Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
9135 Signed-off-by: David S. Miller <davem@davemloft.net>
9136
9137 net/ipv4/Kconfig | 1 +
9138 net/ipv6/Kconfig | 1 +
9139 2 files changed, 2 insertions(+), 0 deletions(-)
9140
9141 commit fca5a303155ea67d28aece0caf2b03ffc3b2668d
9142 Merge: 904114c 6339c1f
9143 Author: Brad Spengler <spender@grsecurity.net>
9144 Date: Tue Jan 26 18:08:40 2016 -0500
9145
9146 Merge branch 'pax-test' into grsec-test
9147
9148 commit 6339c1f9a9beafd417bf9f04d4b257e62aeb45b7
9149 Author: Brad Spengler <spender@grsecurity.net>
9150 Date: Tue Jan 26 18:07:51 2016 -0500
9151
9152 Update to pax-linux-4.3.4-test25.patch:
9153 - fixed incorrect handling of VM_DONTCOPY during fork that would trigger a consistency check in the vma mirroring logic, reported by Mathias Krause <minipli@googlemail.com>
9154 - fixed init_new_context on !MODIFY_LDT_SYSCALL configs, reported by tjh (https://forums.grsecurity.net/viewtopic.php?f=3&t=4368)
9155 - fixed a few REFCOUNT false positives in SNMP related statistics
9156
9157 arch/x86/Kconfig | 2 +-
9158 arch/x86/include/asm/mmu_context.h | 17 +++++++++++++++++
9159 include/net/snmp.h | 10 +++++-----
9160 kernel/fork.c | 11 +++++++++--
9161 net/ipv4/proc.c | 8 ++++----
9162 net/ipv6/addrconf.c | 4 ++--
9163 net/ipv6/proc.c | 10 +++++-----
9164 7 files changed, 43 insertions(+), 19 deletions(-)
9165
9166 commit 904114c2fce3fdff5d57e763da56a78960db4e19
9167 Author: Al Viro <viro@zeniv.linux.org.uk>
9168 Date: Fri Jan 22 18:08:52 2016 -0500
9169
9170 make sure that freeing shmem fast symlinks is RCU-delayed
9171
9172 Cc: stable@vger.kernel.org # v4.2+
9173 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
9174
9175 include/linux/shmem_fs.h | 5 +----
9176 mm/shmem.c | 9 ++++-----
9177 2 files changed, 5 insertions(+), 9 deletions(-)
9178
9179 commit ab86adee64312a2f827dd516cb199521327943ed
9180 Author: Sasha Levin <sasha.levin@oracle.com>
9181 Date: Mon Jan 18 19:23:51 2016 -0500
9182
9183 netfilter: nf_conntrack: use safer way to lock all buckets
9184
9185 When we need to lock all buckets in the connection hashtable we'd attempt to
9186 lock 1024 spinlocks, which is way more preemption levels than supported by
9187 the kernel. Furthermore, this behavior was hidden by checking if lockdep is
9188 enabled, and if it was - use only 8 buckets(!).
9189
9190 Fix this by using a global lock and synchronize all buckets on it when we
9191 need to lock them all. This is pretty heavyweight, but is only done when we
9192 need to resize the hashtable, and that doesn't happen often enough (or at all).
9193
9194 Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
9195 Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
9196 Reviewed-by: Florian Westphal <fw@strlen.de>
9197 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
9198
9199 Conflicts:
9200
9201 net/netfilter/nfnetlink_cttimeout.c
9202
9203 include/net/netfilter/nf_conntrack_core.h | 8 ++----
9204 net/netfilter/nf_conntrack_core.c | 38 +++++++++++++++++++++-------
9205 net/netfilter/nf_conntrack_helper.c | 2 +-
9206 net/netfilter/nf_conntrack_netlink.c | 2 +-
9207 4 files changed, 33 insertions(+), 17 deletions(-)
9208
9209 commit 37014723527225481c720484bb788a1a6358072f
9210 Author: Willy Tarreau <w@1wt.eu>
9211 Date: Mon Jan 18 16:36:09 2016 +0100
9212
9213 pipe: limit the per-user amount of pages allocated in pipes
9214
9215 On no-so-small systems, it is possible for a single process to cause an
9216 OOM condition by filling large pipes with data that are never read. A
9217 typical process filling 4000 pipes with 1 MB of data will use 4 GB of
9218 memory. On small systems it may be tricky to set the pipe max size to
9219 prevent this from happening.
9220
9221 This patch makes it possible to enforce a per-user soft limit above
9222 which new pipes will be limited to a single page, effectively limiting
9223 them to 4 kB each, as well as a hard limit above which no new pipes may
9224 be created for this user. This has the effect of protecting the system
9225 against memory abuse without hurting other users, and still allowing
9226 pipes to work correctly though with less data at once.
9227
9228 The limit are controlled by two new sysctls : pipe-user-pages-soft, and
9229 pipe-user-pages-hard. Both may be disabled by setting them to zero. The
9230 default soft limit allows the default number of FDs per process (1024)
9231 to create pipes of the default size (64kB), thus reaching a limit of 64MB
9232 before starting to create only smaller pipes. With 256 processes limited
9233 to 1024 FDs each, this results in 1024*64kB + (256*1024 - 1024) * 4kB =
9234 1084 MB of memory allocated for a user. The hard limit is disabled by
9235 default to avoid breaking existing applications that make intensive use
9236 of pipes (eg: for splicing).
9237
9238 Reported-by: socketpair@gmail.com
9239 Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
9240 Mitigates: CVE-2013-4312 (Linux 2.0+)
9241 Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
9242 Signed-off-by: Willy Tarreau <w@1wt.eu>
9243 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
9244
9245 Documentation/sysctl/fs.txt | 23 +++++++++++++++++++++
9246 fs/pipe.c | 47 +++++++++++++++++++++++++++++++++++++++++-
9247 include/linux/pipe_fs_i.h | 4 +++
9248 include/linux/sched.h | 1 +
9249 kernel/sysctl.c | 14 ++++++++++++
9250 5 files changed, 87 insertions(+), 2 deletions(-)
9251
9252 commit 51645fa198d194f746651dcfbc5f24a4cf8b9fb8
9253 Merge: 540f2af 7791ecb
9254 Author: Brad Spengler <spender@grsecurity.net>
9255 Date: Sat Jan 23 10:57:11 2016 -0500
9256
9257 Merge branch 'pax-test' into grsec-test
9258
9259 commit 7791ecb84f840343a5646236fd0d34e1fb450793
9260 Merge: 470069c 399588c
9261 Author: Brad Spengler <spender@grsecurity.net>
9262 Date: Sat Jan 23 10:56:47 2016 -0500
9263
9264 Merge branch 'linux-4.3.y' into pax-test
9265
9266 commit 540f2affebd42cdc26a699208ab4f1cb0cb75e33
9267 Author: Brad Spengler <spender@grsecurity.net>
9268 Date: Tue Jan 19 21:18:47 2016 -0500
9269
9270 Update size_overflow hash table
9271
9272 .../size_overflow_plugin/size_overflow_hash.data | 4 +++-
9273 1 files changed, 3 insertions(+), 1 deletions(-)
9274
9275 commit 7e649765626a28437f573f0fbe7a51a04615f041
9276 Author: Brad Spengler <spender@grsecurity.net>
9277 Date: Tue Jan 19 20:29:46 2016 -0500
9278
9279 Backport fix from: https://lkml.org/lkml/2015/12/13/187
9280
9281 fs/ext4/extents.c | 2 +-
9282 1 files changed, 1 insertions(+), 1 deletions(-)
9283
9284 commit 53b859cd0a5f5b6ad54fe0c879dfedaa3c5a3005
9285 Author: Jann Horn <jann@thejh.net>
9286 Date: Tue Jan 5 18:27:30 2016 +0100
9287
9288 compat_ioctl: don't call do_ioctl under set_fs(KERNEL_DS)
9289
9290 This replaces all code in fs/compat_ioctl.c that translated
9291 ioctl arguments into a in-kernel structure, then performed
9292 do_ioctl under set_fs(KERNEL_DS), with code that allocates
9293 data on the user stack and can call the VFS ioctl handler
9294 under USER_DS.
9295
9296 This is done as a hardening measure because the caller
9297 does not know what kind of ioctl handler will be invoked,
9298 only that no corresponding compat_ioctl handler exists and
9299 what the ioctl command number is. The accidental
9300 invocation of an unlocked_ioctl handler that unexpectedly
9301 calls copy_to_user could be a severe security issue.
9302
9303 Signed-off-by: Jann Horn <jann@thejh.net>
9304 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
9305
9306 Conflicts:
9307
9308 fs/compat_ioctl.c
9309
9310 fs/compat_ioctl.c | 130 ++++++++++++++++++++++++++++-------------------------
9311 1 files changed, 68 insertions(+), 62 deletions(-)
9312
9313 commit 3e89e770ae27e931cd1583f021abac41eeebc3e7
9314 Author: Al Viro <viro@zeniv.linux.org.uk>
9315 Date: Thu Jan 7 09:53:30 2016 -0500
9316
9317 compat_ioctl: don't pass fd around when not needed
9318
9319 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
9320
9321 fs/compat_ioctl.c | 103 ++++++++++++++++++++++++++--------------------------
9322 fs/internal.h | 7 ++++
9323 fs/ioctl.c | 4 +-
9324 include/linux/fs.h | 2 -
9325 4 files changed, 61 insertions(+), 55 deletions(-)
9326
9327 commit 9d4e04082752d4d2d68445c4e6faf33a2613df55
9328 Author: Jann Horn <jann@thejh.net>
9329 Date: Tue Jan 5 18:27:29 2016 +0100
9330
9331 compat_ioctl: don't look up the fd twice
9332
9333 In code in fs/compat_ioctl.c that translates ioctl arguments
9334 into a in-kernel structure, then performs sys_ioctl, possibly
9335 under set_fs(KERNEL_DS), this commit changes the sys_ioctl
9336 calls to do_ioctl calls. do_ioctl is a new function that does
9337 the same thing as sys_ioctl, but doesn't look up the fd again.
9338
9339 This change is made to avoid (potential) security issues
9340 because of ioctl handlers that accept one of the ioctl
9341 commands I2C_FUNCS, VIDEO_GET_EVENT, MTIOCPOS, MTIOCGET,
9342 TIOCGSERIAL, TIOCSSERIAL, RTC_IRQP_READ, RTC_EPOCH_READ.
9343 This can happen for multiple reasons:
9344
9345 - The ioctl command number could be reused.
9346 - The ioctl handler might not check the full ioctl
9347 command. This is e.g. true for drm_ioctl.
9348 - The ioctl handler is very special, e.g. cuse_file_ioctl
9349
9350 The real issue is that set_fs(KERNEL_DS) is used here,
9351 but that's fixed in a separate commit
9352 "compat_ioctl: don't call do_ioctl under set_fs(KERNEL_DS)".
9353
9354 This change mitigates potential security issues by
9355 preventing a race that permits invocation of
9356 unlocked_ioctl handlers under KERNEL_DS through compat
9357 code even if a corresponding compat_ioctl handler exists.
9358
9359 So far, no way has been identified to use this to damage
9360 kernel memory without having CAP_SYS_ADMIN in the init ns
9361 (with the capability, doing reads/writes at arbitrary
9362 kernel addresses should be easy through CUSE's ioctl
9363 handler with FUSE_IOCTL_UNRESTRICTED set).
9364
9365 [AV: two missed sys_ioctl() taken care of]
9366
9367 Signed-off-by: Jann Horn <jann@thejh.net>
9368 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
9369
9370 fs/compat_ioctl.c | 122 +++++++++++++++++++++++++++++-----------------------
9371 1 files changed, 68 insertions(+), 54 deletions(-)
9372
9373 commit 5bf9e1ed4ebb278cd956ba142914fc04a024309c
9374 Author: Vasily Kulikov <segoon@openwall.com>
9375 Date: Fri Jan 15 16:57:55 2016 -0800
9376
9377 include/linux/poison.h: use POISON_POINTER_DELTA for poison pointers
9378
9379 TIMER_ENTRY_STATIC is defined as a poison pointers which
9380 should point to nowhere. Redefine them using POISON_POINTER_DELTA
9381 arithmetics to make sure they really point to non-mappable area declared
9382 by the target architecture.
9383
9384 Signed-off-by: Vasily Kulikov <segoon@openwall.com>
9385 Acked-by: Thomas Gleixner <tglx@linutronix.de>
9386 Cc: Solar Designer <solar@openwall.com>
9387 Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
9388 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9389 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
9390
9391 Conflicts:
9392
9393 include/linux/poison.h
9394
9395 include/linux/poison.h | 2 +-
9396 1 files changed, 1 insertions(+), 1 deletions(-)
9397
9398 commit 60f2e0a05ab8f56c804a9334a23e2b446305d110
9399 Author: Brad Spengler <spender@grsecurity.net>
9400 Date: Tue Jan 19 19:41:44 2016 -0500
9401
9402 Fix ARM compilation, reported by Austin Sepp
9403
9404 grsecurity/grsec_sig.c | 1 +
9405 1 files changed, 1 insertions(+), 0 deletions(-)
9406
9407 commit e15383743443dc43460a2fd73e0db0b608610dca
9408 Author: Takashi Iwai <tiwai@suse.de>
9409 Date: Mon Jan 18 13:52:47 2016 +0100
9410
9411 ALSA: hrtimer: Fix stall by hrtimer_cancel()
9412
9413 hrtimer_cancel() waits for the completion from the callback, thus it
9414 must not be called inside the callback itself. This was already a
9415 problem in the past with ALSA hrtimer driver, and the early commit
9416 [fcfdebe70759: ALSA: hrtimer - Fix lock-up] tried to address it.
9417
9418 However, the previous fix is still insufficient: it may still cause a
9419 lockup when the ALSA timer instance reprograms itself in its callback.
9420 Then it invokes the start function even in snd_timer_interrupt() that
9421 is called in hrtimer callback itself, results in a CPU stall. This is
9422 no hypothetical problem but actually triggered by syzkaller fuzzer.
9423
9424 This patch tries to fix the issue again. Now we call
9425 hrtimer_try_to_cancel() at both start and stop functions so that it
9426 won't fall into a deadlock, yet giving some chance to cancel the queue
9427 if the functions have been called outside the callback. The proper
9428 hrtimer_cancel() is called in anyway at closing, so this should be
9429 enough.
9430
9431 Reported-and-tested-by: Dmitry Vyukov <dvyukov@google.com>
9432 Cc: <stable@vger.kernel.org>
9433 Signed-off-by: Takashi Iwai <tiwai@suse.de>
9434
9435 sound/core/hrtimer.c | 3 ++-
9436 1 files changed, 2 insertions(+), 1 deletions(-)
9437
9438 commit 12d874daf706e6e7c1ae709141859c809599297e
9439 Author: Takashi Iwai <tiwai@suse.de>
9440 Date: Tue Jan 12 12:38:02 2016 +0100
9441
9442 ALSA: seq: Fix missing NULL check at remove_events ioctl
9443
9444 snd_seq_ioctl_remove_events() calls snd_seq_fifo_clear()
9445 unconditionally even if there is no FIFO assigned, and this leads to
9446 an Oops due to NULL dereference. The fix is just to add a proper NULL
9447 check.
9448
9449 Reported-by: Dmitry Vyukov <dvyukov@google.com>
9450 Tested-by: Dmitry Vyukov <dvyukov@google.com>
9451 Cc: <stable@vger.kernel.org>
9452 Signed-off-by: Takashi Iwai <tiwai@suse.de>
9453
9454 sound/core/seq/seq_clientmgr.c | 2 +-
9455 1 files changed, 1 insertions(+), 1 deletions(-)
9456
9457 commit 2eb0632df1351378946507e7ef7ba0682632a7b5
9458 Author: Takashi Iwai <tiwai@suse.de>
9459 Date: Tue Jan 12 15:36:27 2016 +0100
9460
9461 ALSA: seq: Fix race at timer setup and close
9462
9463 ALSA sequencer code has an open race between the timer setup ioctl and
9464 the close of the client. This was triggered by syzkaller fuzzer, and
9465 a use-after-free was caught there as a result.
9466
9467 This patch papers over it by adding a proper queue->timer_mutex lock
9468 around the timer-related calls in the relevant code path.
9469
9470 Reported-by: Dmitry Vyukov <dvyukov@google.com>
9471 Tested-by: Dmitry Vyukov <dvyukov@google.com>
9472 Cc: <stable@vger.kernel.org>
9473 Signed-off-by: Takashi Iwai <tiwai@suse.de>
9474
9475 sound/core/seq/seq_queue.c | 2 ++
9476 1 files changed, 2 insertions(+), 0 deletions(-)
9477
9478 commit b9e55ab955e59b4a636d78a748be90334a48b485
9479 Author: Takashi Iwai <tiwai@suse.de>
9480 Date: Thu Jan 14 16:30:58 2016 +0100
9481
9482 ALSA: timer: Harden slave timer list handling
9483
9484 A slave timer instance might be still accessible in a racy way while
9485 operating the master instance as it lacks of locking. Since the
9486 master operation is mostly protected with timer->lock, we should cope
9487 with it while changing the slave instance, too. Also, some linked
9488 lists (active_list and ack_list) of slave instances aren't unlinked
9489 immediately at stopping or closing, and this may lead to unexpected
9490 accesses.
9491
9492 This patch tries to address these issues. It adds spin lock of
9493 timer->lock (either from master or slave, which is equivalent) in a
9494 few places. For avoiding a deadlock, we ensure that the global
9495 slave_active_lock is always locked at first before each timer lock.
9496
9497 Also, ack and active_list of slave instances are properly unlinked at
9498 snd_timer_stop() and snd_timer_close().
9499
9500 Last but not least, remove the superfluous call of _snd_timer_stop()
9501 at removing slave links. This is a noop, and calling it may confuse
9502 readers wrt locking. Further cleanup will follow in a later patch.
9503
9504 Actually we've got reports of use-after-free by syzkaller fuzzer, and
9505 this hopefully fixes these issues.
9506
9507 Reported-by: Dmitry Vyukov <dvyukov@google.com>
9508 Cc: <stable@vger.kernel.org>
9509 Signed-off-by: Takashi Iwai <tiwai@suse.de>
9510
9511 sound/core/timer.c | 18 ++++++++++++++----
9512 1 files changed, 14 insertions(+), 4 deletions(-)
9513
9514 commit f1ce0547bdfda1b42ae8a66c222f2a897cbe1586
9515 Author: Takashi Iwai <tiwai@suse.de>
9516 Date: Wed Jan 13 17:48:01 2016 +0100
9517
9518 ALSA: timer: Fix race among timer ioctls
9519
9520 ALSA timer ioctls have an open race and this may lead to a
9521 use-after-free of timer instance object. A simplistic fix is to make
9522 each ioctl exclusive. We have already tread_sem for controlling the
9523 tread, and extend this as a global mutex to be applied to each ioctl.
9524
9525 The downside is, of course, the worse concurrency. But these ioctls
9526 aren't to be parallel accessible, in anyway, so it should be fine to
9527 serialize there.
9528
9529 Reported-by: Dmitry Vyukov <dvyukov@google.com>
9530 Tested-by: Dmitry Vyukov <dvyukov@google.com>
9531 Cc: <stable@vger.kernel.org>
9532 Signed-off-by: Takashi Iwai <tiwai@suse.de>
9533
9534 sound/core/timer.c | 32 +++++++++++++++++++-------------
9535 1 files changed, 19 insertions(+), 13 deletions(-)
9536
9537 commit 8347d8461ed48a98f9c76cc3cfcdad8217d314bc
9538 Author: Takashi Iwai <tiwai@suse.de>
9539 Date: Wed Jan 13 21:35:06 2016 +0100
9540
9541 ALSA: timer: Fix double unlink of active_list
9542
9543 ALSA timer instance object has a couple of linked lists and they are
9544 unlinked unconditionally at snd_timer_stop(). Meanwhile
9545 snd_timer_interrupt() unlinks it, but it calls list_del() which leaves
9546 the element list itself unchanged. This ends up with unlinking twice,
9547 and it was caught by syzkaller fuzzer.
9548
9549 The fix is to use list_del_init() variant properly there, too.
9550
9551 Reported-by: Dmitry Vyukov <dvyukov@google.com>
9552 Tested-by: Dmitry Vyukov <dvyukov@google.com>
9553 Cc: <stable@vger.kernel.org>
9554 Signed-off-by: Takashi Iwai <tiwai@suse.de>
9555
9556 sound/core/timer.c | 2 +-
9557 1 files changed, 1 insertions(+), 1 deletions(-)
9558
9559 commit 243aebb7ae71d6e11ea9880faa893d1d0d60cd75
9560 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
9561 Date: Mon Jan 18 18:03:48 2016 +0100
9562
9563 ovs: limit ovs recursions in ovs_execute_actions to not corrupt stack
9564
9565 It was seen that defective configurations of openvswitch could overwrite
9566 the STACK_END_MAGIC and cause a hard crash of the kernel because of too
9567 many recursions within ovs.
9568
9569 This problem arises due to the high stack usage of openvswitch. The rest
9570 of the kernel is fine with the current limit of 10 (RECURSION_LIMIT).
9571
9572 We use the already existing recursion counter in ovs_execute_actions to
9573 implement an upper bound of 5 recursions.
9574
9575 Cc: Pravin Shelar <pshelar@ovn.org>
9576 Cc: Simon Horman <simon.horman@netronome.com>
9577 Cc: Eric Dumazet <eric.dumazet@gmail.com>
9578 Cc: Simon Horman <simon.horman@netronome.com>
9579 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
9580 Signed-off-by: David S. Miller <davem@davemloft.net>
9581
9582 net/openvswitch/actions.c | 19 ++++++++++++++-----
9583 1 files changed, 14 insertions(+), 5 deletions(-)
9584
9585 commit 8080793479c6d5befe37a67b1dbd9e4e0a61af96
9586 Author: Ursula Braun <ursula.braun@de.ibm.com>
9587 Date: Tue Jan 19 10:41:33 2016 +0100
9588
9589 af_iucv: Validate socket address length in iucv_sock_bind()
9590
9591 Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
9592 Reported-by: Dmitry Vyukov <dvyukov@google.com>
9593 Reviewed-by: Evgeny Cherkashin <Eugene.Crosser@ru.ibm.com>
9594 Signed-off-by: David S. Miller <davem@davemloft.net>
9595
9596 net/iucv/af_iucv.c | 3 +++
9597 1 files changed, 3 insertions(+), 0 deletions(-)
9598
9599 commit 50a383c1c91ed7409c3cbdd41e662d6891463d1b
9600 Author: Brad Spengler <spender@grsecurity.net>
9601 Date: Tue Jan 19 19:32:54 2016 -0500
9602
9603 Apply the same fix as everyone else for the recent keys vulnerability that is
9604 unexploitable under PAX_REFCOUNT
9605
9606 Make a couple more changes that no one else can/will
9607
9608 include/linux/key-type.h | 4 ++--
9609 ipc/msgutil.c | 4 ++--
9610 security/keys/internal.h | 2 +-
9611 security/keys/process_keys.c | 1 +
9612 4 files changed, 6 insertions(+), 5 deletions(-)
9613
9614 commit b56c3a63f431c193400aee17543021950bd14bc4
9615 Merge: 38b1a3d 470069c
9616 Author: Brad Spengler <spender@grsecurity.net>
9617 Date: Sun Jan 17 18:30:19 2016 -0500
9618
9619 Merge branch 'pax-test' into grsec-test
9620
9621 commit 470069cfedef2180313233d275be5901bd6d1135
9622 Author: Brad Spengler <spender@grsecurity.net>
9623 Date: Sun Jan 17 18:29:59 2016 -0500
9624
9625 Update to pax-linux-4.3.3-test22.patch:
9626 - Emesed fixed a gcc induced intentional integer overflow in asix_rx_fixup_internal, reported by thomas callison caffrey
9627 - fixed some more fallout from the drm_drivers constification, reported by Colin Childs and Toralf Foerster
9628
9629 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 14 ++++----------
9630 drivers/gpu/drm/drm_pci.c | 3 +++
9631 drivers/gpu/drm/gma500/psb_drv.c | 4 ----
9632 drivers/gpu/drm/i915/i915_drv.c | 16 ++++++++--------
9633 drivers/gpu/drm/nouveau/nouveau_drm.c | 6 +++---
9634 drivers/gpu/drm/radeon/radeon_drv.c | 4 +---
9635 drivers/net/usb/asix_common.c | 3 ++-
9636 include/drm/drmP.h | 1 +
9637 8 files changed, 22 insertions(+), 29 deletions(-)
9638
9639 commit 38b1a3d676f407865c3d41840df8213c5ad639c1
9640 Author: Brad Spengler <spender@grsecurity.net>
9641 Date: Sun Jan 17 12:33:53 2016 -0500
9642
9643 As reported by Luis Ressel, the Kconfig help for GRKERNSEC_BRUTE
9644 mentioned banning execution of suid/sgid binaries, though the kernel
9645 source clearly only mentions banning execution of suid binaries. Since
9646 there's no reason for us to not ban execution of sgid binaries as well,
9647 make the implementation match the Kconfig description.
9648
9649 fs/exec.c | 4 ++--
9650 grsecurity/grsec_sig.c | 27 ++++++++++++++-------------
9651 include/linux/sched.h | 4 ++--
9652 3 files changed, 18 insertions(+), 17 deletions(-)
9653
9654 commit 8c3bcb7dbf7f606acfa0983e81f0f928da1f1ace
9655 Merge: d141a86 ea4a835
9656 Author: Brad Spengler <spender@grsecurity.net>
9657 Date: Sat Jan 16 14:12:22 2016 -0500
9658
9659 Merge branch 'pax-test' into grsec-test
9660
9661 Conflicts:
9662 drivers/gpu/drm/i810/i810_drv.c
9663
9664 commit ea4a835328ada6513ac013986764d6caea8cd348
9665 Author: Brad Spengler <spender@grsecurity.net>
9666 Date: Sat Jan 16 14:11:30 2016 -0500
9667
9668 Update to pax-linux-4.3.3-test21.patch:
9669 - fixed some fallout from the drm_drivers constification, reported by spender
9670
9671 drivers/gpu/drm/armada/armada_drv.c | 3 +--
9672 drivers/gpu/drm/exynos/exynos_drm_drv.c | 1 -
9673 drivers/gpu/drm/i810/i810_dma.c | 2 +-
9674 drivers/gpu/drm/i810/i810_drv.c | 6 +++++-
9675 drivers/gpu/drm/i810/i810_drv.h | 2 +-
9676 5 files changed, 8 insertions(+), 6 deletions(-)
9677
9678 commit d141a86fd66194bc3f896b6809b189e2f12a9a83
9679 Author: Brad Spengler <spender@grsecurity.net>
9680 Date: Sat Jan 16 13:16:36 2016 -0500
9681
9682 compile fix
9683
9684 drivers/gpu/drm/i810/i810_dma.c | 2 +-
9685 drivers/gpu/drm/i810/i810_drv.c | 4 +++-
9686 drivers/gpu/drm/i810/i810_drv.h | 2 +-
9687 3 files changed, 5 insertions(+), 3 deletions(-)
9688
9689 commit 0d9dc4b25ea32c14561bcfe6b5b24f1b00fe0270
9690 Merge: 5fa135d bbda879
9691 Author: Brad Spengler <spender@grsecurity.net>
9692 Date: Sat Jan 16 12:59:22 2016 -0500
9693
9694 Merge branch 'pax-test' into grsec-test
9695
9696 commit bbda87914edf63e27fb46670bf3a373f2b963c73
9697 Author: Brad Spengler <spender@grsecurity.net>
9698 Date: Sat Jan 16 12:58:04 2016 -0500
9699
9700 Update to pax-linux-4.3.3-test20.patch:
9701 - constified drm_driver
9702 - Emese fixed a special case in handling __func__ in the initify plugin
9703 - Emese fixed a false positive size overflow report in handling inbufBits, reported by Martin Filo (https://bugs.gentoo.org/show_bug.cgi?id=567048)
9704 - fixed regression that caused perf to not resolve kernel code addresses under KERNEXEC/i386, reported by minipli
9705
9706 arch/x86/kernel/cpu/perf_event.h | 2 +-
9707 arch/x86/kernel/cpu/perf_event_intel_ds.c | 7 +-
9708 arch/x86/kernel/cpu/perf_event_intel_lbr.c | 4 +-
9709 arch/x86/kernel/uprobes.c | 2 +-
9710 arch/x86/mm/mpx.c | 2 +-
9711 drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +-
9712 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 8 ++-
9713 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +-
9714 drivers/gpu/drm/drm_pci.c | 6 +-
9715 drivers/gpu/drm/gma500/psb_drv.c | 5 +-
9716 drivers/gpu/drm/i915/i915_dma.c | 2 +-
9717 drivers/gpu/drm/i915/i915_drv.c | 15 ++--
9718 drivers/gpu/drm/i915/i915_drv.h | 2 +-
9719 drivers/gpu/drm/i915/i915_irq.c | 88 ++++++++++----------
9720 drivers/gpu/drm/mga/mga_drv.c | 5 +-
9721 drivers/gpu/drm/mga/mga_drv.h | 2 +-
9722 drivers/gpu/drm/mga/mga_state.c | 2 +-
9723 drivers/gpu/drm/nouveau/nouveau_drm.c | 13 ++--
9724 drivers/gpu/drm/qxl/qxl_drv.c | 8 ++-
9725 drivers/gpu/drm/qxl/qxl_ioctl.c | 2 +-
9726 drivers/gpu/drm/r128/r128_drv.c | 4 +-
9727 drivers/gpu/drm/r128/r128_drv.h | 2 +-
9728 drivers/gpu/drm/r128/r128_state.c | 2 +-
9729 drivers/gpu/drm/radeon/radeon_drv.c | 17 +++-
9730 drivers/gpu/drm/radeon/radeon_drv.h | 2 +-
9731 drivers/gpu/drm/radeon/radeon_kms.c | 2 +-
9732 drivers/gpu/drm/radeon/radeon_state.c | 2 +-
9733 drivers/gpu/drm/savage/savage_bci.c | 2 +-
9734 drivers/gpu/drm/savage/savage_drv.c | 5 +-
9735 drivers/gpu/drm/savage/savage_drv.h | 2 +-
9736 drivers/gpu/drm/sis/sis_drv.c | 5 +-
9737 drivers/gpu/drm/sis/sis_drv.h | 2 +-
9738 drivers/gpu/drm/sis/sis_mm.c | 2 +-
9739 drivers/gpu/drm/via/via_dma.c | 2 +-
9740 drivers/gpu/drm/via/via_drv.c | 5 +-
9741 drivers/gpu/drm/via/via_drv.h | 2 +-
9742 include/drm/drmP.h | 2 +-
9743 mm/slab.c | 2 +-
9744 net/sunrpc/xprtrdma/svc_rdma.c | 6 +-
9745 tools/gcc/initify_plugin.c | 15 +++-
9746 .../disable_size_overflow_hash.data | 1 +
9747 .../size_overflow_plugin/size_overflow_hash.data | 3 +-
9748 42 files changed, 156 insertions(+), 110 deletions(-)
9749
9750 commit 5fa135dc116350e0205c39ef65eaf6496ed2748a
9751 Author: Brad Spengler <spender@grsecurity.net>
9752 Date: Sat Jan 16 12:19:23 2016 -0500
9753
9754 compile fix
9755
9756 grsecurity/grsec_sig.c | 3 +--
9757 1 files changed, 1 insertions(+), 2 deletions(-)
9758
9759 commit a9090fa58f33f75c7450fda5721a9b13625a47d9
9760 Author: Brad Spengler <spender@grsecurity.net>
9761 Date: Sat Jan 16 12:10:37 2016 -0500
9762
9763 As pointed out by Jann Horn, some distros are starting to circumvent
9764 previous assumptions about the attainability of a user to control
9765 multiple UIDs by handing out suid binaries that allow a user to run
9766 processes (including exploits) under a number of other pre-defined
9767 UIDs. As this could potentially be used to bypass GRKERNSEC_BRUTE
9768 (though it would have to involve some code path that doesn't involve
9769 locks) fix that here by ensuring no more than 8 users on a system can
9770 be banned before a reboot is required. If more are banned, a panic
9771 is triggered.
9772
9773 grsecurity/grsec_sig.c | 8 ++++++++
9774 1 files changed, 8 insertions(+), 0 deletions(-)
9775
9776 commit a8d37776e9521c567ebff6730d49312f72435f08
9777 Author: Eric Dumazet <edumazet@google.com>
9778 Date: Thu Dec 3 11:12:07 2015 -0800
9779
9780 proc: add a reschedule point in proc_readfd_common()
9781
9782 User can pass an arbitrary large buffer to getdents().
9783
9784 It is typically a 32KB buffer used by libc scandir() implementation.
9785
9786 When scanning /proc/{pid}/fd, we can hold cpu way too long,
9787 so add a cond_resched() to be kind with other tasks.
9788
9789 We've seen latencies of more than 50ms on real workloads.
9790
9791 Signed-off-by: Eric Dumazet <edumazet@google.com>
9792 Cc: Alexander Viro <viro@zeniv.linux.org.uk>
9793 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
9794
9795 fs/proc/fd.c | 1 +
9796 1 files changed, 1 insertions(+), 0 deletions(-)
9797
9798 commit 0adba75f8708f13b1f5d98ebe3fc2fb961e100c8
9799 Author: Rabin Vincent <rabin@rab.in>
9800 Date: Tue Jan 12 20:17:08 2016 +0100
9801
9802 net: bpf: reject invalid shifts
9803
9804 On ARM64, a BUG() is triggered in the eBPF JIT if a filter with a
9805 constant shift that can't be encoded in the immediate field of the
9806 UBFM/SBFM instructions is passed to the JIT. Since these shifts
9807 amounts, which are negative or >= regsize, are invalid, reject them in
9808 the eBPF verifier and the classic BPF filter checker, for all
9809 architectures.
9810
9811 Signed-off-by: Rabin Vincent <rabin@rab.in>
9812 Acked-by: Alexei Starovoitov <ast@kernel.org>
9813 Acked-by: Daniel Borkmann <daniel@iogearbox.net>
9814 Signed-off-by: David S. Miller <davem@davemloft.net>
9815
9816 kernel/bpf/verifier.c | 10 ++++++++++
9817 net/core/filter.c | 5 +++++
9818 2 files changed, 15 insertions(+), 0 deletions(-)
9819
9820 commit c248e115a73496625a1c64660d0eeefd67e55cbf
9821 Author: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
9822 Date: Fri Jan 8 11:00:54 2016 -0200
9823
9824 sctp: fix use-after-free in pr_debug statement
9825
9826 Dmitry Vyukov reported a use-after-free in the code expanded by the
9827 macro debug_post_sfx, which is caused by the use of the asoc pointer
9828 after it was freed within sctp_side_effect() scope.
9829
9830 This patch fixes it by allowing sctp_side_effect to clear that asoc
9831 pointer when the TCB is freed.
9832
9833 As Vlad explained, we also have to cover the SCTP_DISPOSITION_ABORT case
9834 because it will trigger DELETE_TCB too on that same loop.
9835
9836 Also, there were places issuing SCTP_CMD_INIT_FAILED and ASSOC_FAILED
9837 but returning SCTP_DISPOSITION_CONSUME, which would fool the scheme
9838 above. Fix it by returning SCTP_DISPOSITION_ABORT instead.
9839
9840 The macro is already prepared to handle such NULL pointer.
9841
9842 Reported-by: Dmitry Vyukov <dvyukov@google.com>
9843 Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
9844 Acked-by: Vlad Yasevich <vyasevich@gmail.com>
9845 Signed-off-by: David S. Miller <davem@davemloft.net>
9846
9847 net/sctp/sm_sideeffect.c | 11 ++++++-----
9848 net/sctp/sm_statefuns.c | 17 ++++-------------
9849 2 files changed, 10 insertions(+), 18 deletions(-)
9850
9851 commit 395ea8a9e73e184fc14153a033000bccf4213213
9852 Author: willy tarreau <w@1wt.eu>
9853 Date: Sun Jan 10 07:54:56 2016 +0100
9854
9855 unix: properly account for FDs passed over unix sockets
9856
9857 It is possible for a process to allocate and accumulate far more FDs than
9858 the process' limit by sending them over a unix socket then closing them
9859 to keep the process' fd count low.
9860
9861 This change addresses this problem by keeping track of the number of FDs
9862 in flight per user and preventing non-privileged processes from having
9863 more FDs in flight than their configured FD limit.
9864
9865 Reported-by: socketpair@gmail.com
9866 Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
9867 Mitigates: CVE-2013-4312 (Linux 2.0+)
9868 Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
9869 Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
9870 Signed-off-by: Willy Tarreau <w@1wt.eu>
9871 Signed-off-by: David S. Miller <davem@davemloft.net>
9872
9873 include/linux/sched.h | 1 +
9874 net/unix/af_unix.c | 24 ++++++++++++++++++++----
9875 net/unix/garbage.c | 13 ++++++++-----
9876 3 files changed, 29 insertions(+), 9 deletions(-)
9877
9878 commit cb207ab8fbd71dcfc4a49d533aba8085012543fd
9879 Author: Sasha Levin <sasha.levin@oracle.com>
9880 Date: Thu Jan 7 14:52:43 2016 -0500
9881
9882 net: sctp: prevent writes to cookie_hmac_alg from accessing invalid memory
9883
9884 proc_dostring() needs an initialized destination string, while the one
9885 provided in proc_sctp_do_hmac_alg() contains stack garbage.
9886
9887 Thus, writing to cookie_hmac_alg would strlen() that garbage and end up
9888 accessing invalid memory.
9889
9890 Fixes: 3c68198e7 ("sctp: Make hmac algorithm selection for cookie generation dynamic")
9891 Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
9892 Signed-off-by: David S. Miller <davem@davemloft.net>
9893
9894 net/sctp/sysctl.c | 2 +-
9895 1 files changed, 1 insertions(+), 1 deletions(-)
9896
9897 commit 4014e09faf0fe9054119624ccfff1236e886b554
9898 Author: Quentin Casasnovas <quentin.casasnovas@oracle.com>
9899 Date: Tue Nov 24 17:13:21 2015 -0500
9900
9901 RDS: fix race condition when sending a message on unbound socket
9902
9903 commit 8c7188b23474cca017b3ef354c4a58456f68303a upstream.
9904
9905 Sasha's found a NULL pointer dereference in the RDS connection code when
9906 sending a message to an apparently unbound socket. The problem is caused
9907 by the code checking if the socket is bound in rds_sendmsg(), which checks
9908 the rs_bound_addr field without taking a lock on the socket. This opens a
9909 race where rs_bound_addr is temporarily set but where the transport is not
9910 in rds_bind(), leading to a NULL pointer dereference when trying to
9911 dereference 'trans' in __rds_conn_create().
9912
9913 Vegard wrote a reproducer for this issue, so kindly ask him to share if
9914 you're interested.
9915
9916 I cannot reproduce the NULL pointer dereference using Vegard's reproducer
9917 with this patch, whereas I could without.
9918
9919 Complete earlier incomplete fix to CVE-2015-6937:
9920
9921 74e98eb08588 ("RDS: verify the underlying transport exists before creating a connection")
9922
9923 Cc: David S. Miller <davem@davemloft.net>
9924
9925 Reviewed-by: Vegard Nossum <vegard.nossum@oracle.com>
9926 Reviewed-by: Sasha Levin <sasha.levin@oracle.com>
9927 Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9928 Signed-off-by: Quentin Casasnovas <quentin.casasnovas@oracle.com>
9929 Signed-off-by: David S. Miller <davem@davemloft.net>
9930 Signed-off-by: Jiri Slaby <jslaby@suse.cz>
9931
9932 Conflicts:
9933
9934 net/rds/send.c
9935
9936 net/rds/connection.c | 6 ------
9937 1 files changed, 0 insertions(+), 6 deletions(-)
9938
9939 commit 206df8d01104344d7588d801016a281a4cd25556
9940 Author: Sasha Levin <sasha.levin@oracle.com>
9941 Date: Tue Sep 8 10:53:40 2015 -0400
9942
9943 RDS: verify the underlying transport exists before creating a connection
9944
9945 There was no verification that an underlying transport exists when creating
9946 a connection, this would cause dereferencing a NULL ptr.
9947
9948 It might happen on sockets that weren't properly bound before attempting to
9949 send a message, which will cause a NULL ptr deref:
9950
9951 [135546.047719] kasan: GPF could be caused by NULL-ptr deref or user memory accessgeneral protection fault: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC KASAN
9952 [135546.051270] Modules linked in:
9953 [135546.051781] CPU: 4 PID: 15650 Comm: trinity-c4 Not tainted 4.2.0-next-20150902-sasha-00041-gbaa1222-dirty #2527
9954 [135546.053217] task: ffff8800835bc000 ti: ffff8800bc708000 task.ti: ffff8800bc708000
9955 [135546.054291] RIP: __rds_conn_create (net/rds/connection.c:194)
9956 [135546.055666] RSP: 0018:ffff8800bc70fab0 EFLAGS: 00010202
9957 [135546.056457] RAX: dffffc0000000000 RBX: 0000000000000f2c RCX: ffff8800835bc000
9958 [135546.057494] RDX: 0000000000000007 RSI: ffff8800835bccd8 RDI: 0000000000000038
9959 [135546.058530] RBP: ffff8800bc70fb18 R08: 0000000000000001 R09: 0000000000000000
9960 [135546.059556] R10: ffffed014d7a3a23 R11: ffffed014d7a3a21 R12: 0000000000000000
9961 [135546.060614] R13: 0000000000000001 R14: ffff8801ec3d0000 R15: 0000000000000000
9962 [135546.061668] FS: 00007faad4ffb700(0000) GS:ffff880252000000(0000) knlGS:0000000000000000
9963 [135546.062836] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
9964 [135546.063682] CR2: 000000000000846a CR3: 000000009d137000 CR4: 00000000000006a0
9965 [135546.064723] Stack:
9966 [135546.065048] ffffffffafe2055c ffffffffafe23fc1 ffffed00493097bf ffff8801ec3d0008
9967 [135546.066247] 0000000000000000 00000000000000d0 0000000000000000 ac194a24c0586342
9968 [135546.067438] 1ffff100178e1f78 ffff880320581b00 ffff8800bc70fdd0 ffff880320581b00
9969 [135546.068629] Call Trace:
9970 [135546.069028] ? __rds_conn_create (include/linux/rcupdate.h:856 net/rds/connection.c:134)
9971 [135546.069989] ? rds_message_copy_from_user (net/rds/message.c:298)
9972 [135546.071021] rds_conn_create_outgoing (net/rds/connection.c:278)
9973 [135546.071981] rds_sendmsg (net/rds/send.c:1058)
9974 [135546.072858] ? perf_trace_lock (include/trace/events/lock.h:38)
9975 [135546.073744] ? lockdep_init (kernel/locking/lockdep.c:3298)
9976 [135546.074577] ? rds_send_drop_to (net/rds/send.c:976)
9977 [135546.075508] ? __might_fault (./arch/x86/include/asm/current.h:14 mm/memory.c:3795)
9978 [135546.076349] ? __might_fault (mm/memory.c:3795)
9979 [135546.077179] ? rds_send_drop_to (net/rds/send.c:976)
9980 [135546.078114] sock_sendmsg (net/socket.c:611 net/socket.c:620)
9981 [135546.078856] SYSC_sendto (net/socket.c:1657)
9982 [135546.079596] ? SYSC_connect (net/socket.c:1628)
9983 [135546.080510] ? trace_dump_stack (kernel/trace/trace.c:1926)
9984 [135546.081397] ? ring_buffer_unlock_commit (kernel/trace/ring_buffer.c:2479 kernel/trace/ring_buffer.c:2558 kernel/trace/ring_buffer.c:2674)
9985 [135546.082390] ? trace_buffer_unlock_commit (kernel/trace/trace.c:1749)
9986 [135546.083410] ? trace_event_raw_event_sys_enter (include/trace/events/syscalls.h:16)
9987 [135546.084481] ? do_audit_syscall_entry (include/trace/events/syscalls.h:16)
9988 [135546.085438] ? trace_buffer_unlock_commit (kernel/trace/trace.c:1749)
9989 [135546.085515] rds_ib_laddr_check(): addr 36.74.25.172 ret -99 node type -1
9990
9991 Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9992 Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
9993 Signed-off-by: David S. Miller <davem@davemloft.net>
9994
9995 net/rds/connection.c | 6 ++++++
9996 1 files changed, 6 insertions(+), 0 deletions(-)
9997
9998 commit 173fa03f05cf0ad485d49a42cbdee8844d3a689a
9999 Author: Steven Rostedt (Red Hat) <rostedt@goodmis.org>
10000 Date: Tue Jan 5 20:32:47 2016 -0500
10001
10002 ftrace/module: Call clean up function when module init fails early
10003
10004 If the module init code fails after calling ftrace_module_init() and before
10005 calling do_init_module(), we can suffer from a memory leak. This is because
10006 ftrace_module_init() allocates pages to store the locations that ftrace
10007 hooks are placed in the module text. If do_init_module() fails, it still
10008 calls the MODULE_GOING notifiers which will tell ftrace to do a clean up of
10009 the pages it allocated for the module. But if load_module() fails before
10010 then, the pages allocated by ftrace_module_init() will never be freed.
10011
10012 Call ftrace_release_mod() on the module if load_module() fails before
10013 getting to do_init_module().
10014
10015 Link: http://lkml.kernel.org/r/567CEA31.1070507@intel.com
10016
10017 Reported-by: "Qiu, PeiyangX" <peiyangx.qiu@intel.com>
10018 Fixes: a949ae560a511 "ftrace/module: Hardcode ftrace_module_init() call into load_module()"
10019 Cc: stable@vger.kernel.org # v2.6.38+
10020 Acked-by: Rusty Russell <rusty@rustcorp.com.au>
10021 Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
10022
10023 include/linux/ftrace.h | 1 +
10024 kernel/module.c | 6 ++++++
10025 2 files changed, 7 insertions(+), 0 deletions(-)
10026
10027 commit 1e5a4a81a4c16c8ac2e264b88a02cc2f42ed0399
10028 Author: Francesco Ruggeri <fruggeri@aristanetworks.com>
10029 Date: Wed Jan 6 00:18:48 2016 -0800
10030
10031 net: possible use after free in dst_release
10032
10033 dst_release should not access dst->flags after decrementing
10034 __refcnt to 0. The dst_entry may be in dst_busy_list and
10035 dst_gc_task may dst_destroy it before dst_release gets a chance
10036 to access dst->flags.
10037
10038 Fixes: d69bbf88c8d0 ("net: fix a race in dst_release()")
10039 Fixes: 27b75c95f10d ("net: avoid RCU for NOCACHE dst")
10040 Signed-off-by: Francesco Ruggeri <fruggeri@arista.com>
10041 Acked-by: Eric Dumazet <edumazet@google.com>
10042 Signed-off-by: David S. Miller <davem@davemloft.net>
10043
10044 net/core/dst.c | 3 ++-
10045 1 files changed, 2 insertions(+), 1 deletions(-)
10046
10047 commit bfb0455793dd4e0f0b49d34a68b3249ab55565cc
10048 Author: Alan <gnomes@lxorguk.ukuu.org.uk>
10049 Date: Wed Jan 6 14:55:02 2016 +0000
10050
10051 mkiss: fix scribble on freed memory
10052
10053 commit d79f16c046086f4fe0d42184a458e187464eb83e fixed a user triggerable
10054 scribble on free memory but added a new one which allows the user to
10055 scribble even more and user controlled data into freed space.
10056
10057 As with 6pack we need to halt the queue before we free the buffers, because
10058 the transmit logic is not protected by the semaphore.
10059
10060 Signed-off-by: Alan Cox <alan@linux.intel.com>
10061 Signed-off-by: David S. Miller <davem@davemloft.net>
10062
10063 drivers/net/hamradio/mkiss.c | 5 +++++
10064 1 files changed, 5 insertions(+), 0 deletions(-)
10065
10066 commit 5cbbcbd32dc1949470f61d342503808fa9555276
10067 Author: David Miller <davem@davemloft.net>
10068 Date: Thu Dec 17 16:05:49 2015 -0500
10069
10070 mkiss: Fix use after free in mkiss_close().
10071
10072 Need to do the unregister_device() after all references to the driver
10073 private have been done.
10074
10075 Signed-off-by: David S. Miller <davem@davemloft.net>
10076
10077 drivers/net/hamradio/mkiss.c | 4 ++--
10078 1 files changed, 2 insertions(+), 2 deletions(-)
10079
10080 commit b00171576794a98068e069a660f0991a6a5190ff
10081 Author: One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
10082 Date: Tue Jan 5 11:51:25 2016 +0000
10083
10084 6pack: fix free memory scribbles
10085
10086 commit acf673a3187edf72068ee2f92f4dc47d66baed47 fixed a user triggerable free
10087 memory scribble but in doing so replaced it with a different one that allows
10088 the user to control the data and scribble even more.
10089
10090 sixpack_close is called by the tty layer in tty context. The tty context is
10091 protected by sp_get() and sp_put(). However network layer activity via
10092 sp_xmit() is not protected this way. We must therefore stop the queue
10093 otherwise the user gets to dump a buffer mostly of their choice into freed
10094 kernel pages.
10095
10096 Signed-off-by: Alan Cox <alan@linux.intel.com>
10097 Signed-off-by: David S. Miller <davem@davemloft.net>
10098
10099 drivers/net/hamradio/6pack.c | 6 ++++++
10100 1 files changed, 6 insertions(+), 0 deletions(-)
10101
10102 commit 5b64a833907cd230a3106aeba2304b2c1bcd116d
10103 Author: David Miller <davem@davemloft.net>
10104 Date: Thu Dec 17 16:05:32 2015 -0500
10105
10106 6pack: Fix use after free in sixpack_close().
10107
10108 Need to do the unregister_device() after all references to the driver
10109 private have been done.
10110
10111 Also we need to use del_timer_sync() for the timers so that we don't
10112 have any asynchronous references after the unregister.
10113
10114 Signed-off-by: David S. Miller <davem@davemloft.net>
10115
10116 drivers/net/hamradio/6pack.c | 8 ++++----
10117 1 files changed, 4 insertions(+), 4 deletions(-)
10118
10119 commit 4f9d532742656b3613d579220fd10c78f24ba37b
10120 Author: Rabin Vincent <rabin@rab.in>
10121 Date: Tue Jan 5 16:23:07 2016 +0100
10122
10123 net: filter: make JITs zero A for SKF_AD_ALU_XOR_X
10124
10125 The SKF_AD_ALU_XOR_X ancillary is not like the other ancillary data
10126 instructions since it XORs A with X while all the others replace A with
10127 some loaded value. All the BPF JITs fail to clear A if this is used as
10128 the first instruction in a filter. This was found using american fuzzy
10129 lop.
10130
10131 Add a helper to determine if A needs to be cleared given the first
10132 instruction in a filter, and use this in the JITs. Except for ARM, the
10133 rest have only been compile-tested.
10134
10135 Fixes: 3480593131e0 ("net: filter: get rid of BPF_S_* enum")
10136 Signed-off-by: Rabin Vincent <rabin@rab.in>
10137 Acked-by: Daniel Borkmann <daniel@iogearbox.net>
10138 Acked-by: Alexei Starovoitov <ast@kernel.org>
10139 Signed-off-by: David S. Miller <davem@davemloft.net>
10140
10141 arch/arm/net/bpf_jit_32.c | 16 +---------------
10142 arch/mips/net/bpf_jit.c | 16 +---------------
10143 arch/powerpc/net/bpf_jit_comp.c | 13 ++-----------
10144 arch/sparc/net/bpf_jit_comp.c | 17 ++---------------
10145 include/linux/filter.h | 19 +++++++++++++++++++
10146 5 files changed, 25 insertions(+), 56 deletions(-)
10147
10148 commit 570d88f8acfffda92b89ae2e1c47320d47256034
10149 Author: John Fastabend <john.fastabend@gmail.com>
10150 Date: Tue Jan 5 09:11:36 2016 -0800
10151
10152 net: sched: fix missing free per cpu on qstats
10153
10154 When a qdisc is using per cpu stats (currently just the ingress
10155 qdisc) only the bstats are being freed. This also free's the qstats.
10156
10157 Fixes: b0ab6f92752b9f9d8 ("net: sched: enable per cpu qstats")
10158 Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
10159 Acked-by: Eric Dumazet <edumazet@google.com>
10160 Acked-by: Daniel Borkmann <daniel@iogearbox.net>
10161 Signed-off-by: David S. Miller <davem@davemloft.net>
10162
10163 net/sched/sch_generic.c | 4 +++-
10164 1 files changed, 3 insertions(+), 1 deletions(-)
10165
10166 commit 32c0ebc51857ee83470a10dcb234d308a0ed1881
10167 Author: Rabin Vincent <rabin@rab.in>
10168 Date: Tue Jan 5 18:34:04 2016 +0100
10169
10170 ARM: net: bpf: fix zero right shift
10171
10172 The LSR instruction cannot be used to perform a zero right shift since a
10173 0 as the immediate value (imm5) in the LSR instruction encoding means
10174 that a shift of 32 is perfomed. See DecodeIMMShift() in the ARM ARM.
10175
10176 Make the JIT skip generation of the LSR if a zero-shift is requested.
10177
10178 This was found using american fuzzy lop.
10179
10180 Signed-off-by: Rabin Vincent <rabin@rab.in>
10181 Acked-by: Alexei Starovoitov <ast@kernel.org>
10182 Signed-off-by: David S. Miller <davem@davemloft.net>
10183
10184 arch/arm/net/bpf_jit_32.c | 3 ++-
10185 1 files changed, 2 insertions(+), 1 deletions(-)
10186
10187 commit 51f5d291750285efa4d4bbe84e5ec23dc00c8d2d
10188 Author: Brad Spengler <spender@grsecurity.net>
10189 Date: Wed Jan 6 20:35:57 2016 -0500
10190
10191 Don't perform hidden lookups in RBAC against the directory of
10192 a file being opened with O_CREAT, reported by Karl Witt
10193
10194 Conflicts:
10195
10196 fs/namei.c
10197
10198 fs/namei.c | 3 ---
10199 1 files changed, 0 insertions(+), 3 deletions(-)
10200
10201 commit 5a8266a6b2769ccdb447256f95bc2577a73cccd1
10202 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
10203 Date: Tue Jan 5 10:46:00 2016 +0100
10204
10205 bridge: Only call /sbin/bridge-stp for the initial network namespace
10206
10207 [I stole this patch from Eric Biederman. He wrote:]
10208
10209 > There is no defined mechanism to pass network namespace information
10210 > into /sbin/bridge-stp therefore don't even try to invoke it except
10211 > for bridge devices in the initial network namespace.
10212 >
10213 > It is possible for unprivileged users to cause /sbin/bridge-stp to be
10214 > invoked for any network device name which if /sbin/bridge-stp does not
10215 > guard against unreasonable arguments or being invoked twice on the
10216 > same network device could cause problems.
10217
10218 [Hannes: changed patch using netns_eq]
10219
10220 Cc: Eric W. Biederman <ebiederm@xmission.com>
10221 Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
10222 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
10223 Signed-off-by: David S. Miller <davem@davemloft.net>
10224
10225 net/bridge/br_stp_if.c | 5 ++++-
10226 1 files changed, 4 insertions(+), 1 deletions(-)
10227
10228 commit 650d535cc39f0aeff2f57e60b6617be25d3ef48b
10229 Author: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
10230 Date: Wed Dec 23 16:28:40 2015 -0200
10231
10232 sctp: use GFP_USER for user-controlled kmalloc
10233
10234 Commit cacc06215271 ("sctp: use GFP_USER for user-controlled kmalloc")
10235 missed two other spots.
10236
10237 For connectx, as it's more likely to be used by kernel users of the API,
10238 it detects if GFP_USER should be used or not.
10239
10240 Fixes: cacc06215271 ("sctp: use GFP_USER for user-controlled kmalloc")
10241 Reported-by: Dmitry Vyukov <dvyukov@google.com>
10242 Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
10243 Signed-off-by: David S. Miller <davem@davemloft.net>
10244
10245 net/sctp/socket.c | 9 ++++++---
10246 1 files changed, 6 insertions(+), 3 deletions(-)
10247
10248 commit 5718a1f63c41fc156f729783423b002763779d04
10249 Author: Florian Westphal <fw@strlen.de>
10250 Date: Thu Dec 31 14:26:33 2015 +0100
10251
10252 connector: bump skb->users before callback invocation
10253
10254 Dmitry reports memleak with syskaller program.
10255 Problem is that connector bumps skb usecount but might not invoke callback.
10256
10257 So move skb_get to where we invoke the callback.
10258
10259 Reported-by: Dmitry Vyukov <dvyukov@google.com>
10260 Signed-off-by: Florian Westphal <fw@strlen.de>
10261 Signed-off-by: David S. Miller <davem@davemloft.net>
10262
10263 drivers/connector/connector.c | 11 +++--------
10264 1 files changed, 3 insertions(+), 8 deletions(-)
10265
10266 commit 2e6372e6a97f8d642416899861f91777f44f13b7
10267 Author: Rainer Weikusat <rweikusat@mobileactivedefense.com>
10268 Date: Sun Jan 3 18:56:38 2016 +0000
10269
10270 af_unix: Fix splice-bind deadlock
10271
10272 On 2015/11/06, Dmitry Vyukov reported a deadlock involving the splice
10273 system call and AF_UNIX sockets,
10274
10275 http://lists.openwall.net/netdev/2015/11/06/24
10276
10277 The situation was analyzed as
10278
10279 (a while ago) A: socketpair()
10280 B: splice() from a pipe to /mnt/regular_file
10281 does sb_start_write() on /mnt
10282 C: try to freeze /mnt
10283 wait for B to finish with /mnt
10284 A: bind() try to bind our socket to /mnt/new_socket_name
10285 lock our socket, see it not bound yet
10286 decide that it needs to create something in /mnt
10287 try to do sb_start_write() on /mnt, block (it's
10288 waiting for C).
10289 D: splice() from the same pipe to our socket
10290 lock the pipe, see that socket is connected
10291 try to lock the socket, block waiting for A
10292 B: get around to actually feeding a chunk from
10293 pipe to file, try to lock the pipe. Deadlock.
10294
10295 on 2015/11/10 by Al Viro,
10296
10297 http://lists.openwall.net/netdev/2015/11/10/4
10298
10299 The patch fixes this by removing the kern_path_create related code from
10300 unix_mknod and executing it as part of unix_bind prior acquiring the
10301 readlock of the socket in question. This means that A (as used above)
10302 will sb_start_write on /mnt before it acquires the readlock, hence, it
10303 won't indirectly block B which first did a sb_start_write and then
10304 waited for a thread trying to acquire the readlock. Consequently, A
10305 being blocked by C waiting for B won't cause a deadlock anymore
10306 (effectively, both A and B acquire two locks in opposite order in the
10307 situation described above).
10308
10309 Dmitry Vyukov(<dvyukov@google.com>) tested the original patch.
10310
10311 Signed-off-by: Rainer Weikusat <rweikusat@mobileactivedefense.com>
10312 Signed-off-by: David S. Miller <davem@davemloft.net>
10313
10314 Conflicts:
10315
10316 net/unix/af_unix.c
10317
10318 net/unix/af_unix.c | 70 +++++++++++++++++++++++++++++++--------------------
10319 1 files changed, 42 insertions(+), 28 deletions(-)
10320
10321 commit 2e729e557c571f3253e32472cd7d382ac16cf1c3
10322 Author: Qiu Peiyang <peiyangx.qiu@intel.com>
10323 Date: Thu Dec 31 13:11:28 2015 +0800
10324
10325 tracing: Fix setting of start_index in find_next()
10326
10327 When we do cat /sys/kernel/debug/tracing/printk_formats, we hit kernel
10328 panic at t_show.
10329
10330 general protection fault: 0000 [#1] PREEMPT SMP
10331 CPU: 0 PID: 2957 Comm: sh Tainted: G W O 3.14.55-x86_64-01062-gd4acdc7 #2
10332 RIP: 0010:[<ffffffff811375b2>]
10333 [<ffffffff811375b2>] t_show+0x22/0xe0
10334 RSP: 0000:ffff88002b4ebe80 EFLAGS: 00010246
10335 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000004
10336 RDX: 0000000000000004 RSI: ffffffff81fd26a6 RDI: ffff880032f9f7b1
10337 RBP: ffff88002b4ebe98 R08: 0000000000001000 R09: 000000000000ffec
10338 R10: 0000000000000000 R11: 000000000000000f R12: ffff880004d9b6c0
10339 R13: 7365725f6d706400 R14: ffff880004d9b6c0 R15: ffffffff82020570
10340 FS: 0000000000000000(0000) GS:ffff88003aa00000(0063) knlGS:00000000f776bc40
10341 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
10342 CR2: 00000000f6c02ff0 CR3: 000000002c2b3000 CR4: 00000000001007f0
10343 Call Trace:
10344 [<ffffffff811dc076>] seq_read+0x2f6/0x3e0
10345 [<ffffffff811b749b>] vfs_read+0x9b/0x160
10346 [<ffffffff811b7f69>] SyS_read+0x49/0xb0
10347 [<ffffffff81a3a4b9>] ia32_do_call+0x13/0x13
10348 ---[ end trace 5bd9eb630614861e ]---
10349 Kernel panic - not syncing: Fatal exception
10350
10351 When the first time find_next calls find_next_mod_format, it should
10352 iterate the trace_bprintk_fmt_list to find the first print format of
10353 the module. However in current code, start_index is smaller than *pos
10354 at first, and code will not iterate the list. Latter container_of will
10355 get the wrong address with former v, which will cause mod_fmt be a
10356 meaningless object and so is the returned mod_fmt->fmt.
10357
10358 This patch will fix it by correcting the start_index. After fixed,
10359 when the first time calls find_next_mod_format, start_index will be
10360 equal to *pos, and code will iterate the trace_bprintk_fmt_list to
10361 get the right module printk format, so is the returned mod_fmt->fmt.
10362
10363 Link: http://lkml.kernel.org/r/5684B900.9000309@intel.com
10364
10365 Cc: stable@vger.kernel.org # 3.12+
10366 Fixes: 102c9323c35a8 "tracing: Add __tracepoint_string() to export string pointers"
10367 Signed-off-by: Qiu Peiyang <peiyangx.qiu@intel.com>
10368 Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
10369
10370 kernel/trace/trace_printk.c | 1 +
10371 1 files changed, 1 insertions(+), 0 deletions(-)
10372
10373 commit 0994af4b1930f32aa493dc08145cd304f8bfc8f4
10374 Author: Al Viro <viro@zeniv.linux.org.uk>
10375 Date: Mon Dec 28 20:47:08 2015 -0500
10376
10377 [PATCH] arm: fix handling of F_OFD_... in oabi_fcntl64()
10378
10379 Cc: stable@vger.kernel.org # 3.15+
10380 Reviewed-by: Jeff Layton <jeff.layton@primarydata.com>
10381 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
10382
10383 arch/arm/kernel/sys_oabi-compat.c | 73 +++++++++++++++++++------------------
10384 1 files changed, 37 insertions(+), 36 deletions(-)
10385
10386 commit 4ed030f65dcf3e6b0128032a49a7d75f947fa351
10387 Merge: de243c2 3adc55a
10388 Author: Brad Spengler <spender@grsecurity.net>
10389 Date: Tue Jan 5 18:10:10 2016 -0500
10390
10391 Merge branch 'pax-test' into grsec-test
10392
10393 commit 3adc55a5acfa429c2a7cc883aef08b960c0079b0
10394 Author: Brad Spengler <spender@grsecurity.net>
10395 Date: Tue Jan 5 18:08:53 2016 -0500
10396
10397 Update to pax-linux-4.3.3-test16.patch:
10398 - small cleanup in entry_64.S on x86
10399 - Emese fixed the initify plugin to recursively check variable initializers, reported by Rasmus Villemoes
10400 - fixed an integer truncation of a partially uninitialized value bug in em_pop_sreg, reported by fx3 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4354)
10401 - fixed alternatives patching of call insns under KERNEXEC/i386, reported by fly_a320 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4305) and TTgrsec (https://forums.grsecurity.net/viewtopic.php?f=3&t=4353)
10402 - fixed a size overflow false positive that triggered in tcp_parse_options on arm, reported by iamb (https://forums.grsecurity.net/viewtopic.php?f=3&t=4350&p=15917#p15916)
10403 - fixed a boot crash on amd64 with KERNEXEC/OR and CONTEXT_TRACKING, reported by Klaus Kusche (https://bugs.gentoo.org/show_bug.cgi?id=570420)
10404
10405 arch/x86/entry/entry_64.S | 60 +++++-----
10406 arch/x86/kernel/alternative.c | 2 +-
10407 arch/x86/kvm/emulate.c | 4 +-
10408 tools/gcc/initify_plugin.c | 123 +++++++++----------
10409 .../disable_size_overflow_hash.data | 4 +-
10410 .../size_overflow_plugin/size_overflow_hash.data | 2 -
10411 6 files changed, 93 insertions(+), 102 deletions(-)
10412
10413 commit de243c26efd0e423ca92db825af2c3f8eb1ca043
10414 Author: Brad Spengler <spender@grsecurity.net>
10415 Date: Tue Dec 29 18:01:24 2015 -0500
10416
10417 It was noticed during an internal audit that the code under GRKERNSEC_PROC_MEMMAP
10418 which aimed to enforce a 16MB minimum on RLIMIT_DATA for suid/sgid binaries only
10419 did so if RLIMIT_DATA was set lower than PAGE_SIZE.
10420
10421 This addition was only supplemental as GRKERNSEC_BRUTE is the main defense
10422 against suid/sgid attacks and the flaw above would only eliminate the extra
10423 entropy provided for the brk-managed heap, still leaving it with the minimum
10424 of 16-bit entropy for mmap on x86 and 28 on x64.
10425
10426 mm/mmap.c | 2 +-
10427 1 files changed, 1 insertions(+), 1 deletions(-)
10428
10429 commit 8e264cfe47e5f08cdc9ed009a630277206cd2534
10430 Merge: 436201b 2584340
10431 Author: Brad Spengler <spender@grsecurity.net>
10432 Date: Mon Dec 28 20:30:01 2015 -0500
10433
10434 Merge branch 'pax-test' into grsec-test
10435
10436 commit 2584340eab494e64ec1bf9eb5b0d1ae31f926306
10437 Author: Brad Spengler <spender@grsecurity.net>
10438 Date: Mon Dec 28 20:29:28 2015 -0500
10439
10440 Update to pax-linux-4.3.3-test14.patch:
10441 - fixed an integer sign conversion error in i2c_dw_pci_probe caught by the size overflow plugin, reported by Jean Lucas and ganymede (https://forums.grsecurity.net/viewtopic.php?f=3&t=4349)
10442 - fixed shutdown crash with tboot and KERNEXEC, reported by perfinion
10443 - fixed a few false positive and one real size overflow reports in hyperv, reported by hunger
10444 - fixed compile regressions on armv5, reported by iamb (https://forums.grsecurity.net/viewtopic.php?f=3&t=4350)
10445 - fixed an assert in the initify plugin that triggered in vic_register on arm
10446
10447 arch/arm/include/asm/atomic.h | 7 +++++--
10448 arch/arm/include/asm/domain.h | 5 ++---
10449 arch/x86/kernel/tboot.c | 14 +++++++++-----
10450 drivers/hv/channel.c | 4 +---
10451 drivers/i2c/busses/i2c-designware-pcidrv.c | 2 +-
10452 drivers/net/hyperv/rndis_filter.c | 3 +--
10453 fs/exec.c | 4 ++--
10454 include/linux/atomic.h | 15 ---------------
10455 net/core/skbuff.c | 3 ++-
10456 tools/gcc/initify_plugin.c | 4 +++-
10457 10 files changed, 26 insertions(+), 35 deletions(-)
10458
10459 commit 436201b6626b488d173c8076447000077c27b84a
10460 Author: David Howells <dhowells@redhat.com>
10461 Date: Fri Dec 18 01:34:26 2015 +0000
10462
10463 KEYS: Fix race between read and revoke
10464
10465 This fixes CVE-2015-7550.
10466
10467 There's a race between keyctl_read() and keyctl_revoke(). If the revoke
10468 happens between keyctl_read() checking the validity of a key and the key's
10469 semaphore being taken, then the key type read method will see a revoked key.
10470
10471 This causes a problem for the user-defined key type because it assumes in
10472 its read method that there will always be a payload in a non-revoked key
10473 and doesn't check for a NULL pointer.
10474
10475 Fix this by making keyctl_read() check the validity of a key after taking
10476 semaphore instead of before.
10477
10478 I think the bug was introduced with the original keyrings code.
10479
10480 This was discovered by a multithreaded test program generated by syzkaller
10481 (http://github.com/google/syzkaller). Here's a cleaned up version:
10482
10483 #include <sys/types.h>
10484 #include <keyutils.h>
10485 #include <pthread.h>
10486 void *thr0(void *arg)
10487 {
10488 key_serial_t key = (unsigned long)arg;
10489 keyctl_revoke(key);
10490 return 0;
10491 }
10492 void *thr1(void *arg)
10493 {
10494 key_serial_t key = (unsigned long)arg;
10495 char buffer[16];
10496 keyctl_read(key, buffer, 16);
10497 return 0;
10498 }
10499 int main()
10500 {
10501 key_serial_t key = add_key("user", "%", "foo", 3, KEY_SPEC_USER_KEYRING);
10502 pthread_t th[5];
10503 pthread_create(&th[0], 0, thr0, (void *)(unsigned long)key);
10504 pthread_create(&th[1], 0, thr1, (void *)(unsigned long)key);
10505 pthread_create(&th[2], 0, thr0, (void *)(unsigned long)key);
10506 pthread_create(&th[3], 0, thr1, (void *)(unsigned long)key);
10507 pthread_join(th[0], 0);
10508 pthread_join(th[1], 0);
10509 pthread_join(th[2], 0);
10510 pthread_join(th[3], 0);
10511 return 0;
10512 }
10513
10514 Build as:
10515
10516 cc -o keyctl-race keyctl-race.c -lkeyutils -lpthread
10517
10518 Run as:
10519
10520 while keyctl-race; do :; done
10521
10522 as it may need several iterations to crash the kernel. The crash can be
10523 summarised as:
10524
10525 BUG: unable to handle kernel NULL pointer dereference at 0000000000000010
10526 IP: [<ffffffff81279b08>] user_read+0x56/0xa3
10527 ...
10528 Call Trace:
10529 [<ffffffff81276aa9>] keyctl_read_key+0xb6/0xd7
10530 [<ffffffff81277815>] SyS_keyctl+0x83/0xe0
10531 [<ffffffff815dbb97>] entry_SYSCALL_64_fastpath+0x12/0x6f
10532
10533 Reported-by: Dmitry Vyukov <dvyukov@google.com>
10534 Signed-off-by: David Howells <dhowells@redhat.com>
10535 Tested-by: Dmitry Vyukov <dvyukov@google.com>
10536 Cc: stable@vger.kernel.org
10537 Signed-off-by: James Morris <james.l.morris@oracle.com>
10538
10539 security/keys/keyctl.c | 18 +++++++++---------
10540 1 files changed, 9 insertions(+), 9 deletions(-)
10541
10542 commit 195cea04477025da4a2078bd3e1fb7c4e11206c2
10543 Author: Brad Spengler <spender@grsecurity.net>
10544 Date: Tue Dec 22 20:44:01 2015 -0500
10545
10546 Add new kernel command-line param: pax_size_overflow_report_only
10547 If a user triggers a size_overflow violation that makes it difficult
10548 to obtain the call trace without serial console/net console, they can
10549 use this option to provide that information to us
10550
10551 Documentation/kernel-parameters.txt | 5 +++++
10552 fs/exec.c | 12 +++++++++---
10553 init/main.c | 11 +++++++++++
10554 3 files changed, 25 insertions(+), 3 deletions(-)
10555
10556 commit 4254a8da5851df8c08cdca5c392916e8c105408d
10557 Author: WANG Cong <xiyou.wangcong@gmail.com>
10558 Date: Mon Dec 21 10:55:45 2015 -0800
10559
10560 addrconf: always initialize sysctl table data
10561
10562 When sysctl performs restrict writes, it allows to write from
10563 a middle position of a sysctl file, which requires us to initialize
10564 the table data before calling proc_dostring() for the write case.
10565
10566 Fixes: 3d1bec99320d ("ipv6: introduce secret_stable to ipv6_devconf")
10567 Reported-by: Sasha Levin <sasha.levin@oracle.com>
10568 Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
10569 Tested-by: Sasha Levin <sasha.levin@oracle.com>
10570 Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
10571 Signed-off-by: David S. Miller <davem@davemloft.net>
10572
10573 net/ipv6/addrconf.c | 11 ++++-------
10574 1 files changed, 4 insertions(+), 7 deletions(-)
10575
10576 commit f8002863fb06c363180637046947a78a6ccb3d33
10577 Author: WANG Cong <xiyou.wangcong@gmail.com>
10578 Date: Wed Dec 16 23:39:04 2015 -0800
10579
10580 net: check both type and procotol for tcp sockets
10581
10582 Dmitry reported the following out-of-bound access:
10583
10584 Call Trace:
10585 [<ffffffff816cec2e>] __asan_report_load4_noabort+0x3e/0x40
10586 mm/kasan/report.c:294
10587 [<ffffffff84affb14>] sock_setsockopt+0x1284/0x13d0 net/core/sock.c:880
10588 [< inline >] SYSC_setsockopt net/socket.c:1746
10589 [<ffffffff84aed7ee>] SyS_setsockopt+0x1fe/0x240 net/socket.c:1729
10590 [<ffffffff85c18c76>] entry_SYSCALL_64_fastpath+0x16/0x7a
10591 arch/x86/entry/entry_64.S:185
10592
10593 This is because we mistake a raw socket as a tcp socket.
10594 We should check both sk->sk_type and sk->sk_protocol to ensure
10595 it is a tcp socket.
10596
10597 Willem points out __skb_complete_tx_timestamp() needs to fix as well.
10598
10599 Reported-by: Dmitry Vyukov <dvyukov@google.com>
10600 Cc: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
10601 Cc: Eric Dumazet <eric.dumazet@gmail.com>
10602 Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
10603 Acked-by: Willem de Bruijn <willemb@google.com>
10604 Signed-off-by: David S. Miller <davem@davemloft.net>
10605
10606 net/core/skbuff.c | 3 ++-
10607 net/core/sock.c | 3 ++-
10608 2 files changed, 4 insertions(+), 2 deletions(-)
10609
10610 commit bd6b3399804470a4ad8f34229469ca149dceba3d
10611 Author: Colin Ian King <colin.king@canonical.com>
10612 Date: Fri Dec 18 14:22:01 2015 -0800
10613
10614 proc: fix -ESRCH error when writing to /proc/$pid/coredump_filter
10615
10616 Writing to /proc/$pid/coredump_filter always returns -ESRCH because commit
10617 774636e19ed51 ("proc: convert to kstrto*()/kstrto*_from_user()") removed
10618 the setting of ret after the get_proc_task call and incorrectly left it as
10619 -ESRCH. Instead, return 0 when successful.
10620
10621 Example breakage:
10622
10623 echo 0 > /proc/self/coredump_filter
10624 bash: echo: write error: No such process
10625
10626 Fixes: 774636e19ed51 ("proc: convert to kstrto*()/kstrto*_from_user()")
10627 Signed-off-by: Colin Ian King <colin.king@canonical.com>
10628 Acked-by: Kees Cook <keescook@chromium.org>
10629 Cc: <stable@vger.kernel.org> [4.3+]
10630 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
10631 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
10632
10633 fs/proc/base.c | 1 +
10634 1 files changed, 1 insertions(+), 0 deletions(-)
10635
10636 commit b28aca2b99ed08546778355fb9402c503ff9b29e
10637 Author: Junichi Nomura <j-nomura@ce.jp.nec.com>
10638 Date: Tue Dec 22 10:23:44 2015 -0700
10639
10640 block: ensure to split after potentially bouncing a bio
10641
10642 blk_queue_bio() does split then bounce, which makes the segment
10643 counting based on pages before bouncing and could go wrong. Move
10644 the split to after bouncing, like we do for blk-mq, and the we
10645 fix the issue of having the bio count for segments be wrong.
10646
10647 Fixes: 54efd50bfd87 ("block: make generic_make_request handle arbitrarily sized bios")
10648 Cc: stable@vger.kernel.org
10649 Tested-by: Artem S. Tashkinov <t.artem@lycos.com>
10650 Signed-off-by: Jens Axboe <axboe@fb.com>
10651
10652 block/blk-core.c | 4 ++--
10653 1 files changed, 2 insertions(+), 2 deletions(-)
10654
10655 commit e62a25e917a9e5b35ddd5b4f1b5e5e30fbd2e84c
10656 Merge: f6f63ae ec72fa5
10657 Author: Brad Spengler <spender@grsecurity.net>
10658 Date: Tue Dec 22 19:46:26 2015 -0500
10659
10660 Merge branch 'pax-test' into grsec-test
10661
10662 commit ec72fa5f8d9cb4e223bad1b8b5c2e1071c222f2a
10663 Author: Brad Spengler <spender@grsecurity.net>
10664 Date: Tue Dec 22 19:45:51 2015 -0500
10665
10666 Update to pax-linux-4.3.3-test13.patch:
10667 - Emese fixed a (probably) false positive integer truncation in xfs_da_grow_inode_int, reported by jdkbx (http://forums.grsecurity.net/viewtopic.php?f=3&t=4346)
10668 - fixed a size overflow in btrfs/try_merge_map, reported by Alex W (https://bugs.archlinux.org/task/47173) and mathias and dwokfur (https://forums.grsecurity.net/viewtopic.php?f=3&t=4344)
10669
10670 arch/arm/mm/fault.c | 2 +-
10671 arch/x86/mm/fault.c | 2 +-
10672 fs/btrfs/extent_map.c | 8 ++++++--
10673 fs/xfs/libxfs/xfs_da_btree.c | 4 +++-
10674 4 files changed, 11 insertions(+), 5 deletions(-)
10675
10676 commit f6f63ae154cd45028add1dc41957878060d77fbf
10677 Author: Brad Spengler <spender@grsecurity.net>
10678 Date: Thu Dec 17 18:43:44 2015 -0500
10679
10680 ptrace_has_cap() checks whether the current process should be
10681 treated as having a certain capability for ptrace checks
10682 against another process. Until now, this was equivalent to
10683 has_ns_capability(current, target_ns, CAP_SYS_PTRACE).
10684
10685 However, if a root-owned process wants to enter a user
10686 namespace for some reason without knowing who owns it and
10687 therefore can't change to the namespace owner's uid and gid
10688 before entering, as soon as it has entered the namespace,
10689 the namespace owner can attach to it via ptrace and thereby
10690 gain access to its uid and gid.
10691
10692 While it is possible for the entering process to switch to
10693 the uid of a claimed namespace owner before entering,
10694 causing the attempt to enter to fail if the claimed uid is
10695 wrong, this doesn't solve the problem of determining an
10696 appropriate gid.
10697
10698 With this change, the entering process can first enter the
10699 namespace and then safely inspect the namespace's
10700 properties, e.g. through /proc/self/{uid_map,gid_map},
10701 assuming that the namespace owner doesn't have access to
10702 uid 0.
10703 Signed-off-by: Jann Horn <jann@thejh.net>
10704
10705 kernel/ptrace.c | 30 +++++++++++++++++++++++++-----
10706 1 files changed, 25 insertions(+), 5 deletions(-)
10707
10708 commit e314f0fb63020f61543b401ff594e953c2c304e5
10709 Author: tadeusz.struk@intel.com <tadeusz.struk@intel.com>
10710 Date: Tue Dec 15 10:46:17 2015 -0800
10711
10712 net: fix uninitialized variable issue
10713
10714 msg_iocb needs to be initialized on the recv/recvfrom path.
10715 Otherwise afalg will wrongly interpret it as an async call.
10716
10717 Cc: stable@vger.kernel.org
10718 Reported-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
10719 Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
10720 Signed-off-by: David S. Miller <davem@davemloft.net>
10721
10722 net/socket.c | 1 +
10723 1 files changed, 1 insertions(+), 0 deletions(-)
10724
10725 commit a3f56a43ad56b8fcaf04f6327636ed2f5970de3b
10726 Merge: dfa764c 142edcf
10727 Author: Brad Spengler <spender@grsecurity.net>
10728 Date: Wed Dec 16 21:01:17 2015 -0500
10729
10730 Merge branch 'pax-test' into grsec-test
10731
10732 commit 142edcf1005a57fb8887823565cf0bafad2f313c
10733 Author: Brad Spengler <spender@grsecurity.net>
10734 Date: Wed Dec 16 21:00:57 2015 -0500
10735
10736 Update to pax-linux-4.3.3-test12.patch:
10737 - Emese fixed a size overflow false positive in reiserfs/leaf_paste_entries, reported by Christian Apeltauer (https://bugs.gentoo.org/show_bug.cgi?id=568046)
10738 - fixed a bunch of int/size_t mismatches in the drivers/tty/n_tty.c code causing size overflow false positives, reported by Toralf Förster, mathias (https://forums.grsecurity.net/viewtopic.php?f=3&t=4342), N8Fear (https://forums.grsecurity.net/viewtopic.php?f=3&t=4341)
10739
10740 drivers/tty/n_tty.c | 16 ++++++++--------
10741 .../disable_size_overflow_hash.data | 2 ++
10742 .../size_overflow_plugin/size_overflow_hash.data | 6 ++----
10743 3 files changed, 12 insertions(+), 12 deletions(-)
10744
10745 commit dfa764cc549892a5bfc1083cac78b99032cae577
10746 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
10747 Date: Tue Dec 15 22:59:12 2015 +0100
10748
10749 ipv6: automatically enable stable privacy mode if stable_secret set
10750
10751 Bjørn reported that while we switch all interfaces to privacy stable mode
10752 when setting the secret, we don't set this mode for new interfaces. This
10753 does not make sense, so change this behaviour.
10754
10755 Fixes: 622c81d57b392cc ("ipv6: generation of stable privacy addresses for link-local and autoconf")
10756 Reported-by: Bjørn Mork <bjorn@mork.no>
10757 Cc: Bjørn Mork <bjorn@mork.no>
10758 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
10759 Signed-off-by: David S. Miller <davem@davemloft.net>
10760
10761 net/ipv6/addrconf.c | 6 ++++++
10762 1 files changed, 6 insertions(+), 0 deletions(-)
10763
10764 commit c2815a1fee03f222273e77c14e43f960da06f35a
10765 Author: Brad Spengler <spender@grsecurity.net>
10766 Date: Wed Dec 16 13:03:38 2015 -0500
10767
10768 Work around upstream limitation on the number of thread info flags causing a compilation error
10769 Reported by fabled at http://forums.grsecurity.net/viewtopic.php?f=3&t=4339
10770
10771 arch/arm/kernel/entry-common.S | 8 ++++++--
10772 1 files changed, 6 insertions(+), 2 deletions(-)
10773
10774 commit 8c9ae168e09ae49324d709d76d73d9fc4ca477e1
10775 Author: Brad Spengler <spender@grsecurity.net>
10776 Date: Tue Dec 15 19:03:41 2015 -0500
10777
10778 Initial import of grsecurity 3.1 for Linux 4.3.3
10779
10780 Documentation/dontdiff | 2 +
10781 Documentation/kernel-parameters.txt | 7 +
10782 Documentation/sysctl/kernel.txt | 15 +
10783 Makefile | 18 +-
10784 arch/alpha/include/asm/cache.h | 4 +-
10785 arch/alpha/kernel/osf_sys.c | 12 +-
10786 arch/arc/Kconfig | 1 +
10787 arch/arm/Kconfig | 1 +
10788 arch/arm/Kconfig.debug | 1 +
10789 arch/arm/include/asm/thread_info.h | 7 +-
10790 arch/arm/kernel/process.c | 4 +-
10791 arch/arm/kernel/ptrace.c | 9 +
10792 arch/arm/kernel/traps.c | 7 +-
10793 arch/arm/mm/Kconfig | 2 +-
10794 arch/arm/mm/fault.c | 40 +-
10795 arch/arm/mm/mmap.c | 8 +-
10796 arch/arm/net/bpf_jit_32.c | 51 +-
10797 arch/arm64/Kconfig.debug | 1 +
10798 arch/avr32/include/asm/cache.h | 4 +-
10799 arch/blackfin/Kconfig.debug | 1 +
10800 arch/blackfin/include/asm/cache.h | 3 +-
10801 arch/cris/include/arch-v10/arch/cache.h | 3 +-
10802 arch/cris/include/arch-v32/arch/cache.h | 3 +-
10803 arch/frv/include/asm/cache.h | 3 +-
10804 arch/frv/mm/elf-fdpic.c | 4 +-
10805 arch/hexagon/include/asm/cache.h | 6 +-
10806 arch/ia64/Kconfig | 1 +
10807 arch/ia64/include/asm/cache.h | 3 +-
10808 arch/ia64/kernel/sys_ia64.c | 2 +
10809 arch/ia64/mm/hugetlbpage.c | 2 +
10810 arch/m32r/include/asm/cache.h | 4 +-
10811 arch/m68k/include/asm/cache.h | 4 +-
10812 arch/metag/mm/hugetlbpage.c | 1 +
10813 arch/microblaze/include/asm/cache.h | 3 +-
10814 arch/mips/Kconfig | 1 +
10815 arch/mips/include/asm/cache.h | 3 +-
10816 arch/mips/include/asm/thread_info.h | 11 +-
10817 arch/mips/kernel/irq.c | 3 +
10818 arch/mips/kernel/ptrace.c | 9 +
10819 arch/mips/mm/mmap.c | 4 +-
10820 arch/mn10300/proc-mn103e010/include/proc/cache.h | 4 +-
10821 arch/mn10300/proc-mn2ws0050/include/proc/cache.h | 4 +-
10822 arch/openrisc/include/asm/cache.h | 4 +-
10823 arch/parisc/include/asm/cache.h | 5 +-
10824 arch/parisc/kernel/sys_parisc.c | 4 +
10825 arch/powerpc/Kconfig | 1 +
10826 arch/powerpc/include/asm/cache.h | 4 +-
10827 arch/powerpc/include/asm/thread_info.h | 5 +-
10828 arch/powerpc/kernel/Makefile | 2 +
10829 arch/powerpc/kernel/irq.c | 3 +
10830 arch/powerpc/kernel/process.c | 10 +-
10831 arch/powerpc/kernel/ptrace.c | 14 +
10832 arch/powerpc/kernel/traps.c | 5 +
10833 arch/powerpc/mm/slice.c | 2 +-
10834 arch/s390/Kconfig.debug | 1 +
10835 arch/s390/include/asm/cache.h | 4 +-
10836 arch/score/include/asm/cache.h | 4 +-
10837 arch/sh/include/asm/cache.h | 3 +-
10838 arch/sh/mm/mmap.c | 6 +-
10839 arch/sparc/include/asm/cache.h | 4 +-
10840 arch/sparc/include/asm/pgalloc_64.h | 1 +
10841 arch/sparc/include/asm/thread_info_64.h | 8 +-
10842 arch/sparc/kernel/process_32.c | 6 +-
10843 arch/sparc/kernel/process_64.c | 8 +-
10844 arch/sparc/kernel/ptrace_64.c | 14 +
10845 arch/sparc/kernel/sys_sparc_64.c | 8 +-
10846 arch/sparc/kernel/syscalls.S | 8 +-
10847 arch/sparc/kernel/traps_32.c | 8 +-
10848 arch/sparc/kernel/traps_64.c | 28 +-
10849 arch/sparc/kernel/unaligned_64.c | 2 +-
10850 arch/sparc/mm/fault_64.c | 2 +-
10851 arch/sparc/mm/hugetlbpage.c | 15 +-
10852 arch/tile/Kconfig | 1 +
10853 arch/tile/include/asm/cache.h | 3 +-
10854 arch/tile/mm/hugetlbpage.c | 2 +
10855 arch/um/include/asm/cache.h | 3 +-
10856 arch/unicore32/include/asm/cache.h | 6 +-
10857 arch/x86/Kconfig | 21 +
10858 arch/x86/Kconfig.debug | 2 +
10859 arch/x86/entry/common.c | 14 +
10860 arch/x86/entry/entry_32.S | 2 +-
10861 arch/x86/entry/entry_64.S | 2 +-
10862 arch/x86/ia32/ia32_aout.c | 2 +
10863 arch/x86/include/asm/floppy.h | 20 +-
10864 arch/x86/include/asm/fpu/types.h | 69 +-
10865 arch/x86/include/asm/io.h | 2 +-
10866 arch/x86/include/asm/page.h | 12 +-
10867 arch/x86/include/asm/paravirt_types.h | 23 +-
10868 arch/x86/include/asm/processor.h | 12 +-
10869 arch/x86/include/asm/thread_info.h | 6 +-
10870 arch/x86/include/asm/uaccess.h | 2 +-
10871 arch/x86/kernel/dumpstack.c | 10 +-
10872 arch/x86/kernel/dumpstack_32.c | 2 +-
10873 arch/x86/kernel/dumpstack_64.c | 2 +-
10874 arch/x86/kernel/ioport.c | 13 +
10875 arch/x86/kernel/irq_32.c | 3 +
10876 arch/x86/kernel/irq_64.c | 4 +
10877 arch/x86/kernel/ldt.c | 18 +
10878 arch/x86/kernel/msr.c | 10 +
10879 arch/x86/kernel/ptrace.c | 14 +
10880 arch/x86/kernel/signal.c | 9 +-
10881 arch/x86/kernel/sys_i386_32.c | 9 +-
10882 arch/x86/kernel/sys_x86_64.c | 8 +-
10883 arch/x86/kernel/traps.c | 5 +
10884 arch/x86/kernel/verify_cpu.S | 1 +
10885 arch/x86/kernel/vm86_32.c | 15 +
10886 arch/x86/kvm/svm.c | 14 +-
10887 arch/x86/mm/fault.c | 12 +-
10888 arch/x86/mm/hugetlbpage.c | 15 +-
10889 arch/x86/mm/init.c | 66 +-
10890 arch/x86/mm/init_32.c | 6 +-
10891 arch/x86/net/bpf_jit_comp.c | 4 +
10892 arch/x86/platform/efi/efi_64.c | 2 +-
10893 arch/x86/xen/Kconfig | 1 +
10894 arch/xtensa/variants/dc232b/include/variant/core.h | 2 +-
10895 arch/xtensa/variants/fsf/include/variant/core.h | 3 +-
10896 crypto/ablkcipher.c | 2 +-
10897 crypto/blkcipher.c | 2 +-
10898 crypto/scatterwalk.c | 10 +-
10899 drivers/acpi/acpica/hwxfsleep.c | 11 +-
10900 drivers/acpi/custom_method.c | 4 +
10901 drivers/block/cciss.h | 30 +-
10902 drivers/block/smart1,2.h | 40 +-
10903 drivers/cdrom/cdrom.c | 2 +-
10904 drivers/char/Kconfig | 4 +-
10905 drivers/char/genrtc.c | 1 +
10906 drivers/char/ipmi/ipmi_si_intf.c | 8 +-
10907 drivers/char/mem.c | 17 +
10908 drivers/char/random.c | 5 +-
10909 drivers/cpufreq/sparc-us3-cpufreq.c | 2 -
10910 drivers/crypto/nx/nx-aes-ccm.c | 2 +-
10911 drivers/crypto/nx/nx-aes-gcm.c | 2 +-
10912 drivers/crypto/talitos.c | 2 +-
10913 drivers/firewire/ohci.c | 4 +
10914 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 70 +-
10915 drivers/gpu/drm/nouveau/nouveau_ttm.c | 28 +-
10916 drivers/gpu/drm/ttm/ttm_bo_manager.c | 10 +-
10917 drivers/gpu/drm/virtio/virtgpu_ttm.c | 10 +-
10918 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c | 10 +-
10919 drivers/hid/hid-wiimote-debug.c | 2 +-
10920 drivers/infiniband/hw/nes/nes_cm.c | 22 +-
10921 drivers/iommu/Kconfig | 1 +
10922 drivers/iommu/amd_iommu.c | 14 +-
10923 drivers/isdn/gigaset/bas-gigaset.c | 32 +-
10924 drivers/isdn/gigaset/ser-gigaset.c | 32 +-
10925 drivers/isdn/gigaset/usb-gigaset.c | 32 +-
10926 drivers/isdn/hisax/config.c | 2 +-
10927 drivers/isdn/hisax/hfc_pci.c | 2 +-
10928 drivers/isdn/hisax/hfc_sx.c | 2 +-
10929 drivers/isdn/hisax/q931.c | 6 +-
10930 drivers/isdn/i4l/isdn_concap.c | 6 +-
10931 drivers/isdn/i4l/isdn_x25iface.c | 16 +-
10932 drivers/md/bcache/Kconfig | 1 +
10933 drivers/md/raid5.c | 8 +
10934 drivers/media/pci/solo6x10/solo6x10-g723.c | 2 +-
10935 drivers/media/platform/sti/c8sectpfe/Kconfig | 1 +
10936 drivers/media/platform/vivid/vivid-osd.c | 1 +
10937 drivers/media/radio/radio-cadet.c | 5 +-
10938 drivers/media/usb/dvb-usb/cinergyT2-core.c | 91 +-
10939 drivers/media/usb/dvb-usb/cinergyT2-fe.c | 182 +-
10940 drivers/media/usb/dvb-usb/dvb-usb-firmware.c | 37 +-
10941 drivers/media/usb/dvb-usb/technisat-usb2.c | 75 +-
10942 drivers/message/fusion/mptbase.c | 9 +
10943 drivers/misc/sgi-xp/xp_main.c | 12 +-
10944 drivers/net/ethernet/brocade/bna/bna_enet.c | 8 +-
10945 drivers/net/ppp/pppoe.c | 14 +-
10946 drivers/net/ppp/pptp.c | 6 +
10947 drivers/net/slip/slhc.c | 3 +
10948 drivers/net/wan/lmc/lmc_media.c | 97 +-
10949 drivers/net/wan/x25_asy.c | 6 +-
10950 drivers/net/wan/z85230.c | 24 +-
10951 drivers/net/wireless/ath/ath9k/Kconfig | 1 -
10952 drivers/net/wireless/zd1211rw/zd_usb.c | 2 +-
10953 drivers/pci/pci-sysfs.c | 2 +-
10954 drivers/pci/proc.c | 9 +
10955 drivers/platform/x86/asus-wmi.c | 12 +
10956 drivers/rtc/rtc-dev.c | 3 +
10957 drivers/scsi/bfa/bfa_fcs.c | 19 +-
10958 drivers/scsi/bfa/bfa_fcs_lport.c | 29 +-
10959 drivers/scsi/bfa/bfa_modules.h | 12 +-
10960 drivers/scsi/hpsa.h | 40 +-
10961 drivers/staging/dgnc/dgnc_mgmt.c | 1 +
10962 drivers/staging/lustre/lustre/ldlm/ldlm_flock.c | 2 +-
10963 drivers/staging/lustre/lustre/libcfs/module.c | 10 +-
10964 drivers/target/target_core_sbc.c | 17 +-
10965 drivers/target/target_core_transport.c | 14 +-
10966 drivers/tty/serial/uartlite.c | 4 +-
10967 drivers/tty/sysrq.c | 2 +-
10968 drivers/tty/vt/keyboard.c | 22 +-
10969 drivers/uio/uio.c | 6 +-
10970 drivers/usb/core/hub.c | 5 +
10971 drivers/usb/gadget/function/f_uac1.c | 1 +
10972 drivers/usb/gadget/function/u_uac1.c | 1 +
10973 drivers/usb/host/hwa-hc.c | 9 +-
10974 drivers/usb/usbip/vhci_sysfs.c | 2 +-
10975 drivers/video/fbdev/arcfb.c | 2 +-
10976 drivers/video/fbdev/matrox/matroxfb_DAC1064.c | 10 +-
10977 drivers/video/fbdev/matrox/matroxfb_Ti3026.c | 5 +-
10978 drivers/video/fbdev/sh_mobile_lcdcfb.c | 6 +-
10979 drivers/video/logo/logo_linux_clut224.ppm | 2720 ++++-----
10980 drivers/xen/xenfs/xenstored.c | 5 +
10981 firmware/Makefile | 2 +
10982 firmware/WHENCE | 20 +-
10983 firmware/bnx2/bnx2-mips-06-6.2.3.fw.ihex | 5804 +++++++++++++++++
10984 firmware/bnx2/bnx2-mips-09-6.2.1b.fw.ihex | 6496 ++++++++++++++++++++
10985 fs/9p/vfs_inode.c | 4 +-
10986 fs/attr.c | 1 +
10987 fs/autofs4/waitq.c | 9 +
10988 fs/binfmt_aout.c | 7 +
10989 fs/binfmt_elf.c | 50 +-
10990 fs/compat.c | 20 +-
10991 fs/coredump.c | 17 +-
10992 fs/dcache.c | 3 +
10993 fs/debugfs/inode.c | 11 +-
10994 fs/exec.c | 219 +-
10995 fs/ext2/balloc.c | 4 +-
10996 fs/ext2/super.c | 8 +-
10997 fs/ext4/balloc.c | 4 +-
10998 fs/fcntl.c | 4 +
10999 fs/fhandle.c | 3 +-
11000 fs/file.c | 4 +
11001 fs/filesystems.c | 4 +
11002 fs/fs_struct.c | 20 +-
11003 fs/hugetlbfs/inode.c | 5 +-
11004 fs/inode.c | 8 +-
11005 fs/kernfs/dir.c | 6 +
11006 fs/mount.h | 4 +-
11007 fs/namei.c | 286 +-
11008 fs/namespace.c | 24 +
11009 fs/nfsd/nfscache.c | 2 +-
11010 fs/open.c | 38 +
11011 fs/overlayfs/inode.c | 11 +-
11012 fs/overlayfs/super.c | 6 +-
11013 fs/pipe.c | 2 +-
11014 fs/posix_acl.c | 15 +-
11015 fs/proc/Kconfig | 10 +-
11016 fs/proc/array.c | 69 +-
11017 fs/proc/base.c | 186 +-
11018 fs/proc/cmdline.c | 4 +
11019 fs/proc/devices.c | 4 +
11020 fs/proc/fd.c | 17 +-
11021 fs/proc/generic.c | 64 +
11022 fs/proc/inode.c | 17 +
11023 fs/proc/internal.h | 11 +-
11024 fs/proc/interrupts.c | 4 +
11025 fs/proc/kcore.c | 3 +
11026 fs/proc/meminfo.c | 7 +-
11027 fs/proc/namespaces.c | 4 +-
11028 fs/proc/proc_net.c | 31 +
11029 fs/proc/proc_sysctl.c | 52 +-
11030 fs/proc/root.c | 8 +
11031 fs/proc/stat.c | 69 +-
11032 fs/proc/task_mmu.c | 66 +-
11033 fs/readdir.c | 19 +
11034 fs/reiserfs/item_ops.c | 24 +-
11035 fs/reiserfs/super.c | 4 +
11036 fs/select.c | 2 +
11037 fs/seq_file.c | 30 +-
11038 fs/splice.c | 8 +
11039 fs/stat.c | 20 +-
11040 fs/sysfs/dir.c | 30 +-
11041 fs/sysv/inode.c | 11 +-
11042 fs/utimes.c | 7 +
11043 fs/xattr.c | 26 +-
11044 grsecurity/Kconfig | 1182 ++++
11045 grsecurity/Makefile | 54 +
11046 grsecurity/gracl.c | 2757 +++++++++
11047 grsecurity/gracl_alloc.c | 105 +
11048 grsecurity/gracl_cap.c | 127 +
11049 grsecurity/gracl_compat.c | 269 +
11050 grsecurity/gracl_fs.c | 448 ++
11051 grsecurity/gracl_ip.c | 386 ++
11052 grsecurity/gracl_learn.c | 207 +
11053 grsecurity/gracl_policy.c | 1786 ++++++
11054 grsecurity/gracl_res.c | 68 +
11055 grsecurity/gracl_segv.c | 304 +
11056 grsecurity/gracl_shm.c | 40 +
11057 grsecurity/grsec_chdir.c | 19 +
11058 grsecurity/grsec_chroot.c | 467 ++
11059 grsecurity/grsec_disabled.c | 445 ++
11060 grsecurity/grsec_exec.c | 189 +
11061 grsecurity/grsec_fifo.c | 26 +
11062 grsecurity/grsec_fork.c | 23 +
11063 grsecurity/grsec_init.c | 290 +
11064 grsecurity/grsec_ipc.c | 48 +
11065 grsecurity/grsec_link.c | 65 +
11066 grsecurity/grsec_log.c | 340 +
11067 grsecurity/grsec_mem.c | 48 +
11068 grsecurity/grsec_mount.c | 65 +
11069 grsecurity/grsec_pax.c | 47 +
11070 grsecurity/grsec_proc.c | 20 +
11071 grsecurity/grsec_ptrace.c | 30 +
11072 grsecurity/grsec_sig.c | 236 +
11073 grsecurity/grsec_sock.c | 244 +
11074 grsecurity/grsec_sysctl.c | 488 ++
11075 grsecurity/grsec_time.c | 16 +
11076 grsecurity/grsec_tpe.c | 78 +
11077 grsecurity/grsec_usb.c | 15 +
11078 grsecurity/grsum.c | 64 +
11079 include/linux/binfmts.h | 5 +-
11080 include/linux/bitops.h | 2 +-
11081 include/linux/capability.h | 13 +
11082 include/linux/compiler-gcc.h | 5 +
11083 include/linux/compiler.h | 8 +
11084 include/linux/cred.h | 8 +-
11085 include/linux/dcache.h | 5 +-
11086 include/linux/fs.h | 24 +-
11087 include/linux/fs_struct.h | 2 +-
11088 include/linux/fsnotify.h | 6 +
11089 include/linux/gracl.h | 342 +
11090 include/linux/gracl_compat.h | 156 +
11091 include/linux/gralloc.h | 9 +
11092 include/linux/grdefs.h | 140 +
11093 include/linux/grinternal.h | 230 +
11094 include/linux/grmsg.h | 118 +
11095 include/linux/grsecurity.h | 255 +
11096 include/linux/grsock.h | 19 +
11097 include/linux/ipc.h | 2 +-
11098 include/linux/ipc_namespace.h | 2 +-
11099 include/linux/kallsyms.h | 18 +-
11100 include/linux/kmod.h | 5 +
11101 include/linux/kobject.h | 2 +-
11102 include/linux/lsm_hooks.h | 4 +-
11103 include/linux/mm.h | 12 +
11104 include/linux/mm_types.h | 4 +-
11105 include/linux/module.h | 5 +-
11106 include/linux/mount.h | 2 +-
11107 include/linux/msg.h | 2 +-
11108 include/linux/netfilter/xt_gradm.h | 9 +
11109 include/linux/path.h | 4 +-
11110 include/linux/perf_event.h | 13 +-
11111 include/linux/pid_namespace.h | 2 +-
11112 include/linux/printk.h | 2 +-
11113 include/linux/proc_fs.h | 22 +-
11114 include/linux/proc_ns.h | 2 +-
11115 include/linux/ptrace.h | 24 +-
11116 include/linux/random.h | 2 +-
11117 include/linux/rbtree_augmented.h | 4 +-
11118 include/linux/scatterlist.h | 12 +-
11119 include/linux/sched.h | 114 +-
11120 include/linux/security.h | 1 +
11121 include/linux/sem.h | 2 +-
11122 include/linux/seq_file.h | 5 +
11123 include/linux/shm.h | 6 +-
11124 include/linux/skbuff.h | 3 +
11125 include/linux/slab.h | 9 -
11126 include/linux/sysctl.h | 8 +-
11127 include/linux/thread_info.h | 6 +-
11128 include/linux/tty.h | 2 +-
11129 include/linux/tty_driver.h | 4 +-
11130 include/linux/uidgid.h | 5 +
11131 include/linux/user_namespace.h | 2 +-
11132 include/linux/utsname.h | 2 +-
11133 include/linux/vermagic.h | 16 +-
11134 include/linux/vmalloc.h | 20 +-
11135 include/net/af_unix.h | 2 +-
11136 include/net/dst.h | 33 +
11137 include/net/ip.h | 2 +-
11138 include/net/neighbour.h | 2 +-
11139 include/net/net_namespace.h | 2 +-
11140 include/net/sock.h | 4 +-
11141 include/target/target_core_base.h | 2 +-
11142 include/trace/events/fs.h | 53 +
11143 include/uapi/linux/personality.h | 1 +
11144 init/Kconfig | 4 +-
11145 init/main.c | 35 +-
11146 ipc/mqueue.c | 1 +
11147 ipc/msg.c | 3 +-
11148 ipc/sem.c | 3 +-
11149 ipc/shm.c | 26 +-
11150 ipc/util.c | 6 +
11151 kernel/auditsc.c | 2 +-
11152 kernel/bpf/syscall.c | 8 +-
11153 kernel/capability.c | 41 +-
11154 kernel/cgroup.c | 5 +-
11155 kernel/compat.c | 1 +
11156 kernel/configs.c | 11 +
11157 kernel/cred.c | 112 +-
11158 kernel/events/core.c | 16 +-
11159 kernel/exit.c | 10 +-
11160 kernel/fork.c | 86 +-
11161 kernel/futex.c | 6 +-
11162 kernel/futex_compat.c | 2 +-
11163 kernel/kallsyms.c | 9 +
11164 kernel/kcmp.c | 8 +-
11165 kernel/kexec_core.c | 2 +-
11166 kernel/kmod.c | 95 +-
11167 kernel/kprobes.c | 7 +-
11168 kernel/ksysfs.c | 2 +
11169 kernel/locking/lockdep_proc.c | 10 +-
11170 kernel/module.c | 108 +-
11171 kernel/panic.c | 4 +-
11172 kernel/pid.c | 23 +-
11173 kernel/power/Kconfig | 2 +
11174 kernel/printk/printk.c | 20 +-
11175 kernel/ptrace.c | 56 +-
11176 kernel/resource.c | 10 +
11177 kernel/sched/core.c | 11 +-
11178 kernel/signal.c | 37 +-
11179 kernel/sys.c | 64 +-
11180 kernel/sysctl.c | 172 +-
11181 kernel/taskstats.c | 6 +
11182 kernel/time/posix-timers.c | 8 +
11183 kernel/time/time.c | 5 +
11184 kernel/time/timekeeping.c | 3 +
11185 kernel/time/timer_list.c | 13 +-
11186 kernel/time/timer_stats.c | 10 +-
11187 kernel/trace/Kconfig | 2 +
11188 kernel/trace/trace_syscalls.c | 8 +
11189 kernel/user_namespace.c | 15 +
11190 lib/Kconfig.debug | 13 +-
11191 lib/Kconfig.kasan | 2 +-
11192 lib/is_single_threaded.c | 3 +
11193 lib/list_debug.c | 65 +-
11194 lib/nlattr.c | 2 +
11195 lib/rbtree.c | 4 +-
11196 lib/vsprintf.c | 39 +-
11197 localversion-grsec | 1 +
11198 mm/Kconfig | 8 +-
11199 mm/Kconfig.debug | 1 +
11200 mm/filemap.c | 1 +
11201 mm/kmemleak.c | 4 +-
11202 mm/memory.c | 2 +-
11203 mm/mempolicy.c | 12 +-
11204 mm/migrate.c | 3 +-
11205 mm/mlock.c | 6 +-
11206 mm/mmap.c | 93 +-
11207 mm/mprotect.c | 8 +
11208 mm/oom_kill.c | 28 +-
11209 mm/page_alloc.c | 2 +-
11210 mm/process_vm_access.c | 8 +-
11211 mm/shmem.c | 36 +-
11212 mm/slab.c | 14 +-
11213 mm/slab_common.c | 2 +-
11214 mm/slob.c | 12 +
11215 mm/slub.c | 33 +-
11216 mm/util.c | 3 +
11217 mm/vmalloc.c | 129 +-
11218 mm/vmstat.c | 29 +-
11219 net/appletalk/atalk_proc.c | 2 +-
11220 net/atm/lec.c | 6 +-
11221 net/atm/mpoa_caches.c | 42 +-
11222 net/bluetooth/sco.c | 3 +
11223 net/can/bcm.c | 2 +-
11224 net/can/proc.c | 2 +-
11225 net/core/dev_ioctl.c | 7 +-
11226 net/core/filter.c | 8 +-
11227 net/core/net-procfs.c | 17 +-
11228 net/core/pktgen.c | 2 +-
11229 net/core/sock.c | 3 +-
11230 net/core/sysctl_net_core.c | 2 +-
11231 net/decnet/dn_dev.c | 2 +-
11232 net/ipv4/devinet.c | 6 +-
11233 net/ipv4/inet_hashtables.c | 4 +
11234 net/ipv4/ip_input.c | 7 +
11235 net/ipv4/ip_sockglue.c | 3 +-
11236 net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 +-
11237 net/ipv4/netfilter/nf_nat_pptp.c | 2 +-
11238 net/ipv4/route.c | 6 +-
11239 net/ipv4/tcp_input.c | 4 +-
11240 net/ipv4/tcp_ipv4.c | 29 +-
11241 net/ipv4/tcp_minisocks.c | 9 +-
11242 net/ipv4/tcp_timer.c | 11 +
11243 net/ipv4/udp.c | 24 +
11244 net/ipv6/addrconf.c | 13 +-
11245 net/ipv6/proc.c | 2 +-
11246 net/ipv6/tcp_ipv6.c | 26 +-
11247 net/ipv6/udp.c | 7 +
11248 net/ipx/ipx_proc.c | 2 +-
11249 net/irda/irproc.c | 2 +-
11250 net/llc/llc_proc.c | 2 +-
11251 net/netfilter/Kconfig | 10 +
11252 net/netfilter/Makefile | 1 +
11253 net/netfilter/nf_conntrack_core.c | 8 +
11254 net/netfilter/xt_gradm.c | 51 +
11255 net/netfilter/xt_hashlimit.c | 4 +-
11256 net/netfilter/xt_recent.c | 2 +-
11257 net/sched/sch_api.c | 2 +-
11258 net/sctp/socket.c | 4 +-
11259 net/socket.c | 75 +-
11260 net/sunrpc/Kconfig | 1 +
11261 net/sunrpc/cache.c | 2 +-
11262 net/sunrpc/stats.c | 2 +-
11263 net/sysctl_net.c | 2 +-
11264 net/unix/af_unix.c | 52 +-
11265 net/vmw_vsock/vmci_transport_notify.c | 30 +-
11266 net/vmw_vsock/vmci_transport_notify_qstate.c | 30 +-
11267 net/x25/sysctl_net_x25.c | 2 +-
11268 net/x25/x25_proc.c | 2 +-
11269 scripts/package/Makefile | 2 +-
11270 scripts/package/mkspec | 41 +-
11271 security/Kconfig | 369 +-
11272 security/apparmor/file.c | 4 +-
11273 security/apparmor/lsm.c | 8 +-
11274 security/commoncap.c | 36 +-
11275 security/min_addr.c | 2 +
11276 security/smack/smack_lsm.c | 8 +-
11277 security/tomoyo/file.c | 12 +-
11278 security/tomoyo/mount.c | 4 +
11279 security/tomoyo/tomoyo.c | 20 +-
11280 security/yama/Kconfig | 2 +-
11281 security/yama/yama_lsm.c | 4 +-
11282 sound/synth/emux/emux_seq.c | 14 +-
11283 sound/usb/line6/driver.c | 40 +-
11284 sound/usb/line6/toneport.c | 12 +-
11285 tools/gcc/.gitignore | 1 +
11286 tools/gcc/Makefile | 12 +
11287 tools/gcc/gen-random-seed.sh | 8 +
11288 tools/gcc/randomize_layout_plugin.c | 930 +++
11289 tools/gcc/size_overflow_plugin/.gitignore | 1 +
11290 .../size_overflow_plugin/size_overflow_hash.data | 459 ++-
11291 511 files changed, 32631 insertions(+), 3196 deletions(-)
11292
11293 commit a76adb92ce39aee8eec5a025c828030ad6135c6d
11294 Author: Brad Spengler <spender@grsecurity.net>
11295 Date: Tue Dec 15 14:31:49 2015 -0500
11296
11297 Update to pax-linux-4.3.3-test11.patch:
11298 - fixed a few compile regressions with the recent plugin changes, reported by spender
11299 - updated the size overflow hash table
11300
11301 tools/gcc/latent_entropy_plugin.c | 2 +-
11302 .../size_overflow_plugin/size_overflow_hash.data | 66 +++++++++++++++++---
11303 tools/gcc/stackleak_plugin.c | 2 +-
11304 tools/gcc/structleak_plugin.c | 6 +--
11305 4 files changed, 60 insertions(+), 16 deletions(-)
11306
11307 commit f7284b1fc06628fcb2d35d2beecdea5454d46af9
11308 Author: Brad Spengler <spender@grsecurity.net>
11309 Date: Tue Dec 15 11:50:24 2015 -0500
11310
11311 Apply structleak ICE fix for gcc < 4.9
11312
11313 tools/gcc/structleak_plugin.c | 4 ++++
11314 1 files changed, 4 insertions(+), 0 deletions(-)
11315
11316 commit 92fe3eb9fd10ec7f7334decab1526989669b0287
11317 Author: Brad Spengler <spender@grsecurity.net>
11318 Date: Tue Dec 15 07:57:06 2015 -0500
11319
11320 Update to pax-linux-4.3.1-test10.patch:
11321 - Emese fixed INDIRECT_REF and TARGET_MEM_REF handling in the initify plugin
11322 - Emese regenerated the size overflow hash tables for 4.3
11323 - fixed some compat syscall exit paths to restore r12 under KERNEXEC/or
11324 - the latent entropy, stackleak and structleak plugins no longer split the entry block unnecessarily
11325
11326 arch/x86/entry/entry_64.S | 2 +-
11327 arch/x86/entry/entry_64_compat.S | 15 +-
11328 scripts/package/builddeb | 2 +-
11329 tools/gcc/initify_plugin.c | 11 +-
11330 tools/gcc/latent_entropy_plugin.c | 20 +-
11331 .../disable_size_overflow_hash.data | 4 +
11332 .../size_overflow_plugin/size_overflow_hash.data | 5345 +++++++++++---------
11333 tools/gcc/stackleak_plugin.c | 26 +-
11334 tools/gcc/structleak_plugin.c | 21 +-
11335 9 files changed, 3079 insertions(+), 2367 deletions(-)
11336
11337 commit 5bd245cb687319079c2f1c0d6a1170791ed1ed2c
11338 Merge: b5847e6 3548341
11339 Author: Brad Spengler <spender@grsecurity.net>
11340 Date: Tue Dec 15 07:47:56 2015 -0500
11341
11342 Merge branch 'linux-4.3.y' into pax-4_3
11343
11344 Conflicts:
11345 net/unix/af_unix.c
11346
11347 commit b5847e6a896c5d99191135ca4d7c3b6be8f116ff
11348 Author: Brad Spengler <spender@grsecurity.net>
11349 Date: Wed Dec 9 23:11:36 2015 -0500
11350
11351 Update to pax-linux-4.3.1-test9.patch:
11352 - fixed __get_user on x86 to lie less about the size of the load, reported by peetaur (https://forums.grsecurity.net/viewtopic.php?f=3&t=4332)
11353 - Emese fixed an intentional overflow caused by gcc, reported by saironiq (https://forums.grsecurity.net/viewtopic.php?f=3&t=4333)
11354 - Emese fixed a false positive overflow report in the forcedeth driver, reported by fx3 (https://forums.grsecurity.net/viewtopic.php?t=4334)
11355 - Emese fixed a false positive overflow report in KVM's emulator, reported by fx3 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4336)
11356 - Emese fixed the initify plugin to detect some captured use of __func__, reported by Rasmus Villemoes <linux@rasmusvillemoes.dk>
11357 - constrained shmmax and shmall to avoid triggering size overflow checks, reported by Mathias Krause <minipli@ld-linux.so>
11358 - the checker plugin can partially handle sparse's locking context annotations, it's context insensitive and thus not exactly useful for now, also see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59856
11359
11360 Makefile | 6 +
11361 arch/x86/include/asm/compat.h | 4 +
11362 arch/x86/include/asm/dma.h | 2 +
11363 arch/x86/include/asm/pmem.h | 2 +-
11364 arch/x86/include/asm/uaccess.h | 20 +-
11365 arch/x86/kernel/apic/vector.c | 6 +-
11366 arch/x86/kernel/cpu/mtrr/generic.c | 6 +-
11367 arch/x86/kernel/cpu/perf_event_intel.c | 28 +-
11368 arch/x86/kernel/head_64.S | 1 -
11369 arch/x86/kvm/i8259.c | 10 +-
11370 arch/x86/kvm/ioapic.c | 2 +
11371 arch/x86/kvm/x86.c | 2 +
11372 arch/x86/lib/usercopy_64.c | 2 +-
11373 arch/x86/mm/mpx.c | 4 +-
11374 arch/x86/mm/pageattr.c | 7 +
11375 drivers/base/devres.c | 4 +-
11376 drivers/base/power/runtime.c | 6 +-
11377 drivers/base/regmap/regmap.c | 4 +-
11378 drivers/block/drbd/drbd_receiver.c | 4 +-
11379 drivers/block/drbd/drbd_worker.c | 6 +-
11380 drivers/char/virtio_console.c | 6 +-
11381 drivers/md/dm.c | 12 +-
11382 drivers/net/ethernet/nvidia/forcedeth.c | 4 +-
11383 drivers/net/macvtap.c | 4 +-
11384 drivers/video/fbdev/core/fbmem.c | 10 +-
11385 fs/compat.c | 3 +-
11386 fs/coredump.c | 2 +-
11387 fs/dcache.c | 13 +-
11388 fs/fhandle.c | 2 +-
11389 fs/file.c | 14 +-
11390 fs/fs-writeback.c | 11 +-
11391 fs/overlayfs/copy_up.c | 2 +-
11392 fs/readdir.c | 3 +-
11393 fs/super.c | 3 +-
11394 include/linux/compiler.h | 36 ++-
11395 include/linux/rcupdate.h | 8 +
11396 include/linux/sched.h | 4 +-
11397 include/linux/seqlock.h | 10 +
11398 include/linux/spinlock.h | 17 +-
11399 include/linux/srcu.h | 5 +-
11400 include/linux/syscalls.h | 2 +-
11401 include/linux/writeback.h | 3 +-
11402 include/uapi/linux/swab.h | 6 +-
11403 ipc/ipc_sysctl.c | 6 +
11404 kernel/exit.c | 25 +-
11405 kernel/resource.c | 4 +-
11406 kernel/signal.c | 12 +-
11407 kernel/user.c | 2 +-
11408 kernel/workqueue.c | 6 +-
11409 lib/rhashtable.c | 4 +-
11410 net/compat.c | 2 +-
11411 net/ipv4/xfrm4_mode_transport.c | 2 +-
11412 security/keys/internal.h | 8 +-
11413 security/keys/keyring.c | 4 -
11414 sound/core/seq/seq_clientmgr.c | 8 +-
11415 sound/core/seq/seq_compat.c | 2 +-
11416 sound/core/seq/seq_memory.c | 6 +-
11417 tools/gcc/checker_plugin.c | 415 +++++++++++++++++++-
11418 tools/gcc/gcc-common.h | 1 +
11419 tools/gcc/initify_plugin.c | 33 ++-
11420 .../disable_size_overflow_hash.data | 1 +
11421 .../size_overflow_plugin/size_overflow_hash.data | 1 -
11422 62 files changed, 708 insertions(+), 140 deletions(-)
11423
11424 commit f2634c2f6995f4231616f24ed016f890c701f939
11425 Merge: 1241bff 5f8b236
11426 Author: Brad Spengler <spender@grsecurity.net>
11427 Date: Wed Dec 9 21:50:47 2015 -0500
11428
11429 Merge branch 'linux-4.3.y' into pax-4_3
11430
11431 Conflicts:
11432 arch/x86/kernel/fpu/xstate.c
11433 arch/x86/kernel/head_64.S
11434
11435 commit 1241bff82e3d7dadb05de0a60b8d2822afc6547c
11436 Author: Brad Spengler <spender@grsecurity.net>
11437 Date: Sun Dec 6 08:44:56 2015 -0500
11438
11439 Update to pax-linux-4.3-test8.patch:
11440 - fixed integer truncation check in md introduced by upstream commits 284ae7cab0f7335c9e0aa8992b28415ef1a54c7c and 58c0fed400603a802968b23ddf78f029c5a84e41, reported by BeiKed9o (https://forums.grsecurity.net/viewtopic.php?f=3&t=4328)
11441 - gcc plugin compilation problems will now also produce the output of the checking script to make diagnosis easier, reported by hunger
11442 - Emese fixed a false positive size overflow report in __vhost_add_used_n, reported by quasar366 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4329)
11443 - fixed a potential integer truncation error in the raid1 code caught by the size overflow plugin, reported by d1b (https://forums.grsecurity.net/viewtopic.php?f=3&t=4331)
11444
11445 Makefile | 5 +++
11446 drivers/md/md.c | 5 ++-
11447 drivers/md/raid1.c | 2 +-
11448 fs/proc/task_mmu.c | 3 ++
11449 .../disable_size_overflow_hash.data | 4 ++-
11450 .../size_overflow_plugin/intentional_overflow.c | 32 ++++++++++++++++---
11451 .../size_overflow_plugin/size_overflow_hash.data | 2 -
11452 .../size_overflow_plugin/size_overflow_plugin.c | 2 +-
11453 8 files changed, 43 insertions(+), 12 deletions(-)
11454
11455 commit cce6a9f9bdd27096632ca1c0246dcc07f2eb1a18
11456 Author: Brad Spengler <spender@grsecurity.net>
11457 Date: Fri Dec 4 14:24:12 2015 -0500
11458
11459 Initial import of pax-linux-4.3-test7.patch
11460
11461 Documentation/dontdiff | 47 +-
11462 Documentation/kbuild/makefiles.txt | 39 +-
11463 Documentation/kernel-parameters.txt | 28 +
11464 Makefile | 108 +-
11465 arch/alpha/include/asm/atomic.h | 10 +
11466 arch/alpha/include/asm/elf.h | 7 +
11467 arch/alpha/include/asm/pgalloc.h | 6 +
11468 arch/alpha/include/asm/pgtable.h | 11 +
11469 arch/alpha/kernel/module.c | 2 +-
11470 arch/alpha/kernel/osf_sys.c | 8 +-
11471 arch/alpha/mm/fault.c | 141 +-
11472 arch/arm/Kconfig | 2 +-
11473 arch/arm/include/asm/atomic.h | 320 +-
11474 arch/arm/include/asm/cache.h | 5 +-
11475 arch/arm/include/asm/cacheflush.h | 2 +-
11476 arch/arm/include/asm/checksum.h | 14 +-
11477 arch/arm/include/asm/cmpxchg.h | 4 +
11478 arch/arm/include/asm/cpuidle.h | 2 +-
11479 arch/arm/include/asm/domain.h | 22 +-
11480 arch/arm/include/asm/elf.h | 9 +-
11481 arch/arm/include/asm/fncpy.h | 2 +
11482 arch/arm/include/asm/futex.h | 10 +
11483 arch/arm/include/asm/kmap_types.h | 2 +-
11484 arch/arm/include/asm/mach/dma.h | 2 +-
11485 arch/arm/include/asm/mach/map.h | 16 +-
11486 arch/arm/include/asm/outercache.h | 2 +-
11487 arch/arm/include/asm/page.h | 3 +-
11488 arch/arm/include/asm/pgalloc.h | 20 +
11489 arch/arm/include/asm/pgtable-2level-hwdef.h | 4 +-
11490 arch/arm/include/asm/pgtable-2level.h | 3 +
11491 arch/arm/include/asm/pgtable-3level.h | 3 +
11492 arch/arm/include/asm/pgtable.h | 54 +-
11493 arch/arm/include/asm/smp.h | 2 +-
11494 arch/arm/include/asm/tls.h | 3 +
11495 arch/arm/include/asm/uaccess.h | 79 +-
11496 arch/arm/include/uapi/asm/ptrace.h | 2 +-
11497 arch/arm/kernel/armksyms.c | 2 +-
11498 arch/arm/kernel/cpuidle.c | 2 +-
11499 arch/arm/kernel/entry-armv.S | 109 +-
11500 arch/arm/kernel/entry-common.S | 40 +-
11501 arch/arm/kernel/entry-header.S | 55 +
11502 arch/arm/kernel/fiq.c | 3 +
11503 arch/arm/kernel/module-plts.c | 7 +-
11504 arch/arm/kernel/module.c | 38 +-
11505 arch/arm/kernel/patch.c | 2 +
11506 arch/arm/kernel/process.c | 90 +-
11507 arch/arm/kernel/reboot.c | 1 +
11508 arch/arm/kernel/setup.c | 20 +-
11509 arch/arm/kernel/signal.c | 35 +-
11510 arch/arm/kernel/smp.c | 2 +-
11511 arch/arm/kernel/tcm.c | 4 +-
11512 arch/arm/kernel/vmlinux.lds.S | 6 +-
11513 arch/arm/kvm/arm.c | 8 +-
11514 arch/arm/lib/copy_page.S | 1 +
11515 arch/arm/lib/csumpartialcopyuser.S | 4 +-
11516 arch/arm/lib/delay.c | 2 +-
11517 arch/arm/lib/uaccess_with_memcpy.c | 4 +-
11518 arch/arm/mach-exynos/suspend.c | 6 +-
11519 arch/arm/mach-mvebu/coherency.c | 4 +-
11520 arch/arm/mach-omap2/board-n8x0.c | 2 +-
11521 arch/arm/mach-omap2/omap-mpuss-lowpower.c | 4 +-
11522 arch/arm/mach-omap2/omap-smp.c | 1 +
11523 arch/arm/mach-omap2/omap-wakeupgen.c | 2 +-
11524 arch/arm/mach-omap2/omap_device.c | 4 +-
11525 arch/arm/mach-omap2/omap_device.h | 4 +-
11526 arch/arm/mach-omap2/omap_hwmod.c | 4 +-
11527 arch/arm/mach-omap2/powerdomains43xx_data.c | 5 +-
11528 arch/arm/mach-omap2/wd_timer.c | 6 +-
11529 arch/arm/mach-shmobile/platsmp-apmu.c | 5 +-
11530 arch/arm/mach-tegra/cpuidle-tegra20.c | 2 +-
11531 arch/arm/mach-tegra/irq.c | 1 +
11532 arch/arm/mach-ux500/pm.c | 1 +
11533 arch/arm/mach-zynq/platsmp.c | 1 +
11534 arch/arm/mm/Kconfig | 6 +-
11535 arch/arm/mm/alignment.c | 8 +
11536 arch/arm/mm/cache-l2x0.c | 2 +-
11537 arch/arm/mm/context.c | 10 +-
11538 arch/arm/mm/fault.c | 146 +
11539 arch/arm/mm/fault.h | 12 +
11540 arch/arm/mm/init.c | 39 +
11541 arch/arm/mm/ioremap.c | 4 +-
11542 arch/arm/mm/mmap.c | 30 +-
11543 arch/arm/mm/mmu.c | 162 +-
11544 arch/arm/net/bpf_jit_32.c | 3 +
11545 arch/arm/plat-iop/setup.c | 2 +-
11546 arch/arm/plat-omap/sram.c | 2 +
11547 arch/arm64/include/asm/atomic.h | 10 +
11548 arch/arm64/include/asm/percpu.h | 8 +-
11549 arch/arm64/include/asm/pgalloc.h | 5 +
11550 arch/arm64/include/asm/uaccess.h | 1 +
11551 arch/arm64/mm/dma-mapping.c | 2 +-
11552 arch/avr32/include/asm/elf.h | 8 +-
11553 arch/avr32/include/asm/kmap_types.h | 4 +-
11554 arch/avr32/mm/fault.c | 27 +
11555 arch/frv/include/asm/atomic.h | 10 +
11556 arch/frv/include/asm/kmap_types.h | 2 +-
11557 arch/frv/mm/elf-fdpic.c | 3 +-
11558 arch/ia64/Makefile | 1 +
11559 arch/ia64/include/asm/atomic.h | 10 +
11560 arch/ia64/include/asm/elf.h | 7 +
11561 arch/ia64/include/asm/pgalloc.h | 12 +
11562 arch/ia64/include/asm/pgtable.h | 13 +-
11563 arch/ia64/include/asm/spinlock.h | 2 +-
11564 arch/ia64/include/asm/uaccess.h | 27 +-
11565 arch/ia64/kernel/module.c | 45 +-
11566 arch/ia64/kernel/palinfo.c | 2 +-
11567 arch/ia64/kernel/sys_ia64.c | 7 +
11568 arch/ia64/kernel/vmlinux.lds.S | 2 +-
11569 arch/ia64/mm/fault.c | 32 +-
11570 arch/ia64/mm/init.c | 15 +-
11571 arch/m32r/lib/usercopy.c | 6 +
11572 arch/mips/cavium-octeon/dma-octeon.c | 2 +-
11573 arch/mips/include/asm/atomic.h | 368 +-
11574 arch/mips/include/asm/elf.h | 7 +
11575 arch/mips/include/asm/exec.h | 2 +-
11576 arch/mips/include/asm/hw_irq.h | 2 +-
11577 arch/mips/include/asm/local.h | 57 +
11578 arch/mips/include/asm/page.h | 2 +-
11579 arch/mips/include/asm/pgalloc.h | 5 +
11580 arch/mips/include/asm/pgtable.h | 3 +
11581 arch/mips/include/asm/uaccess.h | 1 +
11582 arch/mips/kernel/binfmt_elfn32.c | 7 +
11583 arch/mips/kernel/binfmt_elfo32.c | 7 +
11584 arch/mips/kernel/irq-gt641xx.c | 2 +-
11585 arch/mips/kernel/irq.c | 6 +-
11586 arch/mips/kernel/pm-cps.c | 2 +-
11587 arch/mips/kernel/process.c | 12 -
11588 arch/mips/kernel/sync-r4k.c | 24 +-
11589 arch/mips/kernel/traps.c | 13 +-
11590 arch/mips/mm/fault.c | 25 +
11591 arch/mips/mm/mmap.c | 51 +-
11592 arch/mips/sgi-ip27/ip27-nmi.c | 6 +-
11593 arch/mips/sni/rm200.c | 2 +-
11594 arch/mips/vr41xx/common/icu.c | 2 +-
11595 arch/mips/vr41xx/common/irq.c | 4 +-
11596 arch/parisc/include/asm/atomic.h | 10 +
11597 arch/parisc/include/asm/elf.h | 7 +
11598 arch/parisc/include/asm/pgalloc.h | 6 +
11599 arch/parisc/include/asm/pgtable.h | 11 +
11600 arch/parisc/include/asm/uaccess.h | 4 +-
11601 arch/parisc/kernel/module.c | 50 +-
11602 arch/parisc/kernel/sys_parisc.c | 15 +
11603 arch/parisc/kernel/traps.c | 4 +-
11604 arch/parisc/mm/fault.c | 140 +-
11605 arch/powerpc/include/asm/atomic.h | 329 +-
11606 arch/powerpc/include/asm/elf.h | 12 +
11607 arch/powerpc/include/asm/exec.h | 2 +-
11608 arch/powerpc/include/asm/kmap_types.h | 2 +-
11609 arch/powerpc/include/asm/local.h | 46 +
11610 arch/powerpc/include/asm/mman.h | 2 +-
11611 arch/powerpc/include/asm/page.h | 8 +-
11612 arch/powerpc/include/asm/page_64.h | 7 +-
11613 arch/powerpc/include/asm/pgalloc-64.h | 7 +
11614 arch/powerpc/include/asm/pgtable.h | 1 +
11615 arch/powerpc/include/asm/pte-hash32.h | 1 +
11616 arch/powerpc/include/asm/reg.h | 1 +
11617 arch/powerpc/include/asm/smp.h | 2 +-
11618 arch/powerpc/include/asm/spinlock.h | 42 +-
11619 arch/powerpc/include/asm/uaccess.h | 141 +-
11620 arch/powerpc/kernel/Makefile | 5 +
11621 arch/powerpc/kernel/exceptions-64e.S | 4 +-
11622 arch/powerpc/kernel/exceptions-64s.S | 2 +-
11623 arch/powerpc/kernel/module_32.c | 15 +-
11624 arch/powerpc/kernel/process.c | 46 -
11625 arch/powerpc/kernel/signal_32.c | 2 +-
11626 arch/powerpc/kernel/signal_64.c | 2 +-
11627 arch/powerpc/kernel/traps.c | 21 +
11628 arch/powerpc/kernel/vdso.c | 5 +-
11629 arch/powerpc/lib/usercopy_64.c | 18 -
11630 arch/powerpc/mm/fault.c | 56 +-
11631 arch/powerpc/mm/mmap.c | 16 +
11632 arch/powerpc/mm/slice.c | 13 +-
11633 arch/powerpc/platforms/cell/spufs/file.c | 4 +-
11634 arch/s390/include/asm/atomic.h | 10 +
11635 arch/s390/include/asm/elf.h | 7 +
11636 arch/s390/include/asm/exec.h | 2 +-
11637 arch/s390/include/asm/uaccess.h | 13 +-
11638 arch/s390/kernel/module.c | 22 +-
11639 arch/s390/kernel/process.c | 24 -
11640 arch/s390/mm/mmap.c | 16 +
11641 arch/score/include/asm/exec.h | 2 +-
11642 arch/score/kernel/process.c | 5 -
11643 arch/sh/mm/mmap.c | 22 +-
11644 arch/sparc/include/asm/atomic_64.h | 110 +-
11645 arch/sparc/include/asm/cache.h | 2 +-
11646 arch/sparc/include/asm/elf_32.h | 7 +
11647 arch/sparc/include/asm/elf_64.h | 7 +
11648 arch/sparc/include/asm/pgalloc_32.h | 1 +
11649 arch/sparc/include/asm/pgalloc_64.h | 1 +
11650 arch/sparc/include/asm/pgtable.h | 4 +
11651 arch/sparc/include/asm/pgtable_32.h | 15 +-
11652 arch/sparc/include/asm/pgtsrmmu.h | 5 +
11653 arch/sparc/include/asm/setup.h | 4 +-
11654 arch/sparc/include/asm/spinlock_64.h | 35 +-
11655 arch/sparc/include/asm/thread_info_32.h | 1 +
11656 arch/sparc/include/asm/thread_info_64.h | 2 +
11657 arch/sparc/include/asm/uaccess.h | 1 +
11658 arch/sparc/include/asm/uaccess_32.h | 28 +-
11659 arch/sparc/include/asm/uaccess_64.h | 24 +-
11660 arch/sparc/kernel/Makefile | 2 +-
11661 arch/sparc/kernel/prom_common.c | 2 +-
11662 arch/sparc/kernel/smp_64.c | 8 +-
11663 arch/sparc/kernel/sys_sparc_32.c | 2 +-
11664 arch/sparc/kernel/sys_sparc_64.c | 52 +-
11665 arch/sparc/kernel/traps_64.c | 27 +-
11666 arch/sparc/lib/Makefile | 2 +-
11667 arch/sparc/lib/atomic_64.S | 57 +-
11668 arch/sparc/lib/ksyms.c | 6 +-
11669 arch/sparc/mm/Makefile | 2 +-
11670 arch/sparc/mm/fault_32.c | 292 +
11671 arch/sparc/mm/fault_64.c | 486 +
11672 arch/sparc/mm/hugetlbpage.c | 22 +-
11673 arch/sparc/mm/init_64.c | 10 +-
11674 arch/tile/include/asm/atomic_64.h | 10 +
11675 arch/tile/include/asm/uaccess.h | 4 +-
11676 arch/um/Makefile | 4 +
11677 arch/um/include/asm/kmap_types.h | 2 +-
11678 arch/um/include/asm/page.h | 3 +
11679 arch/um/include/asm/pgtable-3level.h | 1 +
11680 arch/um/kernel/process.c | 16 -
11681 arch/x86/Kconfig | 15 +-
11682 arch/x86/Kconfig.cpu | 6 +-
11683 arch/x86/Kconfig.debug | 4 +-
11684 arch/x86/Makefile | 13 +-
11685 arch/x86/boot/Makefile | 3 +
11686 arch/x86/boot/bitops.h | 4 +-
11687 arch/x86/boot/boot.h | 2 +-
11688 arch/x86/boot/compressed/Makefile | 3 +
11689 arch/x86/boot/compressed/efi_stub_32.S | 16 +-
11690 arch/x86/boot/compressed/efi_thunk_64.S | 4 +-
11691 arch/x86/boot/compressed/head_32.S | 4 +-
11692 arch/x86/boot/compressed/head_64.S | 12 +-
11693 arch/x86/boot/compressed/misc.c | 11 +-
11694 arch/x86/boot/cpucheck.c | 16 +-
11695 arch/x86/boot/header.S | 6 +-
11696 arch/x86/boot/memory.c | 2 +-
11697 arch/x86/boot/video-vesa.c | 1 +
11698 arch/x86/boot/video.c | 2 +-
11699 arch/x86/crypto/aes-x86_64-asm_64.S | 4 +
11700 arch/x86/crypto/aesni-intel_asm.S | 106 +-
11701 arch/x86/crypto/blowfish-x86_64-asm_64.S | 7 +
11702 arch/x86/crypto/camellia-aesni-avx-asm_64.S | 10 +
11703 arch/x86/crypto/camellia-aesni-avx2-asm_64.S | 10 +
11704 arch/x86/crypto/camellia-x86_64-asm_64.S | 7 +
11705 arch/x86/crypto/cast5-avx-x86_64-asm_64.S | 51 +-
11706 arch/x86/crypto/cast6-avx-x86_64-asm_64.S | 25 +-
11707 arch/x86/crypto/crc32c-pcl-intel-asm_64.S | 4 +-
11708 arch/x86/crypto/ghash-clmulni-intel_asm.S | 4 +
11709 arch/x86/crypto/salsa20-x86_64-asm_64.S | 4 +
11710 arch/x86/crypto/serpent-avx-x86_64-asm_64.S | 9 +
11711 arch/x86/crypto/serpent-avx2-asm_64.S | 9 +
11712 arch/x86/crypto/serpent-sse2-x86_64-asm_64.S | 4 +
11713 arch/x86/crypto/sha1_ssse3_asm.S | 10 +-
11714 arch/x86/crypto/sha256-avx-asm.S | 2 +
11715 arch/x86/crypto/sha256-avx2-asm.S | 2 +
11716 arch/x86/crypto/sha256-ssse3-asm.S | 2 +
11717 arch/x86/crypto/sha512-avx-asm.S | 2 +
11718 arch/x86/crypto/sha512-avx2-asm.S | 2 +
11719 arch/x86/crypto/sha512-ssse3-asm.S | 2 +
11720 arch/x86/crypto/twofish-avx-x86_64-asm_64.S | 25 +-
11721 arch/x86/crypto/twofish-x86_64-asm_64-3way.S | 4 +
11722 arch/x86/crypto/twofish-x86_64-asm_64.S | 3 +
11723 arch/x86/entry/calling.h | 86 +-
11724 arch/x86/entry/common.c | 13 +-
11725 arch/x86/entry/entry_32.S | 351 +-
11726 arch/x86/entry/entry_64.S | 619 +-
11727 arch/x86/entry/entry_64_compat.S | 159 +-
11728 arch/x86/entry/thunk_64.S | 2 +
11729 arch/x86/entry/vdso/Makefile | 2 +-
11730 arch/x86/entry/vdso/vdso2c.h | 8 +-
11731 arch/x86/entry/vdso/vma.c | 41 +-
11732 arch/x86/entry/vsyscall/vsyscall_64.c | 16 +-
11733 arch/x86/entry/vsyscall/vsyscall_emu_64.S | 2 +-
11734 arch/x86/ia32/ia32_signal.c | 23 +-
11735 arch/x86/ia32/sys_ia32.c | 42 +-
11736 arch/x86/include/asm/alternative-asm.h | 43 +-
11737 arch/x86/include/asm/alternative.h | 4 +-
11738 arch/x86/include/asm/apic.h | 2 +-
11739 arch/x86/include/asm/apm.h | 4 +-
11740 arch/x86/include/asm/atomic.h | 230 +-
11741 arch/x86/include/asm/atomic64_32.h | 100 +
11742 arch/x86/include/asm/atomic64_64.h | 164 +-
11743 arch/x86/include/asm/bitops.h | 18 +-
11744 arch/x86/include/asm/boot.h | 2 +-
11745 arch/x86/include/asm/cache.h | 5 +-
11746 arch/x86/include/asm/checksum_32.h | 12 +-
11747 arch/x86/include/asm/cmpxchg.h | 39 +
11748 arch/x86/include/asm/compat.h | 2 +-
11749 arch/x86/include/asm/cpufeature.h | 17 +-
11750 arch/x86/include/asm/desc.h | 78 +-
11751 arch/x86/include/asm/desc_defs.h | 6 +
11752 arch/x86/include/asm/div64.h | 2 +-
11753 arch/x86/include/asm/elf.h | 33 +-
11754 arch/x86/include/asm/emergency-restart.h | 2 +-
11755 arch/x86/include/asm/fpu/internal.h | 42 +-
11756 arch/x86/include/asm/fpu/types.h | 6 +-
11757 arch/x86/include/asm/futex.h | 14 +-
11758 arch/x86/include/asm/hw_irq.h | 4 +-
11759 arch/x86/include/asm/i8259.h | 2 +-
11760 arch/x86/include/asm/io.h | 22 +-
11761 arch/x86/include/asm/irqflags.h | 5 +
11762 arch/x86/include/asm/kprobes.h | 9 +-
11763 arch/x86/include/asm/local.h | 106 +-
11764 arch/x86/include/asm/mman.h | 15 +
11765 arch/x86/include/asm/mmu.h | 14 +-
11766 arch/x86/include/asm/mmu_context.h | 114 +-
11767 arch/x86/include/asm/module.h | 17 +-
11768 arch/x86/include/asm/nmi.h | 19 +-
11769 arch/x86/include/asm/page.h | 1 +
11770 arch/x86/include/asm/page_32.h | 12 +-
11771 arch/x86/include/asm/page_64.h | 14 +-
11772 arch/x86/include/asm/paravirt.h | 46 +-
11773 arch/x86/include/asm/paravirt_types.h | 15 +-
11774 arch/x86/include/asm/pgalloc.h | 23 +
11775 arch/x86/include/asm/pgtable-2level.h | 2 +
11776 arch/x86/include/asm/pgtable-3level.h | 7 +
11777 arch/x86/include/asm/pgtable.h | 128 +-
11778 arch/x86/include/asm/pgtable_32.h | 14 +-
11779 arch/x86/include/asm/pgtable_32_types.h | 24 +-
11780 arch/x86/include/asm/pgtable_64.h | 23 +-
11781 arch/x86/include/asm/pgtable_64_types.h | 5 +
11782 arch/x86/include/asm/pgtable_types.h | 26 +-
11783 arch/x86/include/asm/preempt.h | 2 +-
11784 arch/x86/include/asm/processor.h | 57 +-
11785 arch/x86/include/asm/ptrace.h | 13 +-
11786 arch/x86/include/asm/realmode.h | 4 +-
11787 arch/x86/include/asm/reboot.h | 10 +-
11788 arch/x86/include/asm/rmwcc.h | 84 +-
11789 arch/x86/include/asm/rwsem.h | 60 +-
11790 arch/x86/include/asm/segment.h | 27 +-
11791 arch/x86/include/asm/smap.h | 43 +
11792 arch/x86/include/asm/smp.h | 14 +-
11793 arch/x86/include/asm/stackprotector.h | 4 +-
11794 arch/x86/include/asm/stacktrace.h | 32 +-
11795 arch/x86/include/asm/switch_to.h | 4 +-
11796 arch/x86/include/asm/sys_ia32.h | 6 +-
11797 arch/x86/include/asm/thread_info.h | 27 +-
11798 arch/x86/include/asm/tlbflush.h | 77 +-
11799 arch/x86/include/asm/uaccess.h | 192 +-
11800 arch/x86/include/asm/uaccess_32.h | 28 +-
11801 arch/x86/include/asm/uaccess_64.h | 169 +-
11802 arch/x86/include/asm/word-at-a-time.h | 2 +-
11803 arch/x86/include/asm/x86_init.h | 10 +-
11804 arch/x86/include/asm/xen/page.h | 2 +-
11805 arch/x86/include/uapi/asm/e820.h | 2 +-
11806 arch/x86/kernel/Makefile | 2 +-
11807 arch/x86/kernel/acpi/boot.c | 4 +-
11808 arch/x86/kernel/acpi/sleep.c | 4 +
11809 arch/x86/kernel/acpi/wakeup_32.S | 6 +-
11810 arch/x86/kernel/alternative.c | 124 +-
11811 arch/x86/kernel/apic/apic.c | 4 +-
11812 arch/x86/kernel/apic/apic_flat_64.c | 6 +-
11813 arch/x86/kernel/apic/apic_noop.c | 2 +-
11814 arch/x86/kernel/apic/bigsmp_32.c | 2 +-
11815 arch/x86/kernel/apic/io_apic.c | 8 +-
11816 arch/x86/kernel/apic/msi.c | 2 +-
11817 arch/x86/kernel/apic/probe_32.c | 4 +-
11818 arch/x86/kernel/apic/vector.c | 4 +-
11819 arch/x86/kernel/apic/x2apic_cluster.c | 2 +-
11820 arch/x86/kernel/apic/x2apic_phys.c | 2 +-
11821 arch/x86/kernel/apic/x2apic_uv_x.c | 2 +-
11822 arch/x86/kernel/apm_32.c | 21 +-
11823 arch/x86/kernel/asm-offsets.c | 20 +
11824 arch/x86/kernel/asm-offsets_64.c | 1 +
11825 arch/x86/kernel/cpu/Makefile | 4 -
11826 arch/x86/kernel/cpu/amd.c | 2 +-
11827 arch/x86/kernel/cpu/bugs_64.c | 2 +
11828 arch/x86/kernel/cpu/common.c | 202 +-
11829 arch/x86/kernel/cpu/intel_cacheinfo.c | 14 +-
11830 arch/x86/kernel/cpu/mcheck/mce.c | 34 +-
11831 arch/x86/kernel/cpu/mcheck/p5.c | 3 +
11832 arch/x86/kernel/cpu/mcheck/winchip.c | 3 +
11833 arch/x86/kernel/cpu/microcode/intel.c | 4 +-
11834 arch/x86/kernel/cpu/mtrr/main.c | 2 +-
11835 arch/x86/kernel/cpu/mtrr/mtrr.h | 2 +-
11836 arch/x86/kernel/cpu/perf_event.c | 10 +-
11837 arch/x86/kernel/cpu/perf_event_amd_iommu.c | 2 +-
11838 arch/x86/kernel/cpu/perf_event_intel.c | 6 +-
11839 arch/x86/kernel/cpu/perf_event_intel_bts.c | 6 +-
11840 arch/x86/kernel/cpu/perf_event_intel_cqm.c | 4 +-
11841 arch/x86/kernel/cpu/perf_event_intel_pt.c | 44 +-
11842 arch/x86/kernel/cpu/perf_event_intel_rapl.c | 2 +-
11843 arch/x86/kernel/cpu/perf_event_intel_uncore.c | 2 +-
11844 arch/x86/kernel/cpu/perf_event_intel_uncore.h | 2 +-
11845 arch/x86/kernel/crash_dump_64.c | 2 +-
11846 arch/x86/kernel/doublefault.c | 8 +-
11847 arch/x86/kernel/dumpstack.c | 24 +-
11848 arch/x86/kernel/dumpstack_32.c | 25 +-
11849 arch/x86/kernel/dumpstack_64.c | 62 +-
11850 arch/x86/kernel/e820.c | 4 +-
11851 arch/x86/kernel/early_printk.c | 1 +
11852 arch/x86/kernel/espfix_64.c | 44 +-
11853 arch/x86/kernel/fpu/core.c | 24 +-
11854 arch/x86/kernel/fpu/init.c | 40 +-
11855 arch/x86/kernel/fpu/regset.c | 22 +-
11856 arch/x86/kernel/fpu/signal.c | 20 +-
11857 arch/x86/kernel/fpu/xstate.c | 8 +-
11858 arch/x86/kernel/ftrace.c | 18 +-
11859 arch/x86/kernel/head64.c | 14 +-
11860 arch/x86/kernel/head_32.S | 235 +-
11861 arch/x86/kernel/head_64.S | 173 +-
11862 arch/x86/kernel/i386_ksyms_32.c | 12 +
11863 arch/x86/kernel/i8259.c | 10 +-
11864 arch/x86/kernel/io_delay.c | 2 +-
11865 arch/x86/kernel/ioport.c | 2 +-
11866 arch/x86/kernel/irq.c | 8 +-
11867 arch/x86/kernel/irq_32.c | 45 +-
11868 arch/x86/kernel/jump_label.c | 10 +-
11869 arch/x86/kernel/kgdb.c | 21 +-
11870 arch/x86/kernel/kprobes/core.c | 28 +-
11871 arch/x86/kernel/kprobes/opt.c | 16 +-
11872 arch/x86/kernel/ksysfs.c | 2 +-
11873 arch/x86/kernel/kvmclock.c | 20 +-
11874 arch/x86/kernel/ldt.c | 25 +
11875 arch/x86/kernel/livepatch.c | 12 +-
11876 arch/x86/kernel/machine_kexec_32.c | 6 +-
11877 arch/x86/kernel/mcount_64.S | 19 +-
11878 arch/x86/kernel/module.c | 78 +-
11879 arch/x86/kernel/msr.c | 2 +-
11880 arch/x86/kernel/nmi.c | 34 +-
11881 arch/x86/kernel/nmi_selftest.c | 4 +-
11882 arch/x86/kernel/paravirt-spinlocks.c | 2 +-
11883 arch/x86/kernel/paravirt.c | 45 +-
11884 arch/x86/kernel/paravirt_patch_64.c | 8 +
11885 arch/x86/kernel/pci-calgary_64.c | 2 +-
11886 arch/x86/kernel/pci-iommu_table.c | 2 +-
11887 arch/x86/kernel/pci-swiotlb.c | 2 +-
11888 arch/x86/kernel/process.c | 80 +-
11889 arch/x86/kernel/process_32.c | 29 +-
11890 arch/x86/kernel/process_64.c | 14 +-
11891 arch/x86/kernel/ptrace.c | 20 +-
11892 arch/x86/kernel/pvclock.c | 8 +-
11893 arch/x86/kernel/reboot.c | 44 +-
11894 arch/x86/kernel/reboot_fixups_32.c | 2 +-
11895 arch/x86/kernel/relocate_kernel_64.S | 3 +-
11896 arch/x86/kernel/setup.c | 29 +-
11897 arch/x86/kernel/setup_percpu.c | 29 +-
11898 arch/x86/kernel/signal.c | 17 +-
11899 arch/x86/kernel/smp.c | 2 +-
11900 arch/x86/kernel/smpboot.c | 29 +-
11901 arch/x86/kernel/step.c | 6 +-
11902 arch/x86/kernel/sys_i386_32.c | 184 +
11903 arch/x86/kernel/sys_x86_64.c | 22 +-
11904 arch/x86/kernel/tboot.c | 14 +-
11905 arch/x86/kernel/time.c | 8 +-
11906 arch/x86/kernel/tls.c | 7 +-
11907 arch/x86/kernel/tracepoint.c | 4 +-
11908 arch/x86/kernel/traps.c | 53 +-
11909 arch/x86/kernel/tsc.c | 2 +-
11910 arch/x86/kernel/uprobes.c | 2 +-
11911 arch/x86/kernel/vm86_32.c | 6 +-
11912 arch/x86/kernel/vmlinux.lds.S | 153 +-
11913 arch/x86/kernel/x8664_ksyms_64.c | 6 +-
11914 arch/x86/kernel/x86_init.c | 6 +-
11915 arch/x86/kvm/cpuid.c | 21 +-
11916 arch/x86/kvm/emulate.c | 2 +-
11917 arch/x86/kvm/lapic.c | 2 +-
11918 arch/x86/kvm/paging_tmpl.h | 2 +-
11919 arch/x86/kvm/svm.c | 10 +-
11920 arch/x86/kvm/vmx.c | 62 +-
11921 arch/x86/kvm/x86.c | 42 +-
11922 arch/x86/lguest/boot.c | 3 +-
11923 arch/x86/lib/atomic64_386_32.S | 164 +
11924 arch/x86/lib/atomic64_cx8_32.S | 98 +-
11925 arch/x86/lib/checksum_32.S | 99 +-
11926 arch/x86/lib/clear_page_64.S | 3 +
11927 arch/x86/lib/cmpxchg16b_emu.S | 3 +
11928 arch/x86/lib/copy_page_64.S | 14 +-
11929 arch/x86/lib/copy_user_64.S | 66 +-
11930 arch/x86/lib/csum-copy_64.S | 14 +-
11931 arch/x86/lib/csum-wrappers_64.c | 8 +-
11932 arch/x86/lib/getuser.S | 74 +-
11933 arch/x86/lib/insn.c | 8 +-
11934 arch/x86/lib/iomap_copy_64.S | 2 +
11935 arch/x86/lib/memcpy_64.S | 6 +
11936 arch/x86/lib/memmove_64.S | 3 +-
11937 arch/x86/lib/memset_64.S | 3 +
11938 arch/x86/lib/mmx_32.c | 243 +-
11939 arch/x86/lib/msr-reg.S | 2 +
11940 arch/x86/lib/putuser.S | 87 +-
11941 arch/x86/lib/rwsem.S | 6 +-
11942 arch/x86/lib/usercopy_32.c | 359 +-
11943 arch/x86/lib/usercopy_64.c | 20 +-
11944 arch/x86/math-emu/fpu_aux.c | 2 +-
11945 arch/x86/math-emu/fpu_entry.c | 4 +-
11946 arch/x86/math-emu/fpu_system.h | 2 +-
11947 arch/x86/mm/Makefile | 4 +
11948 arch/x86/mm/extable.c | 26 +-
11949 arch/x86/mm/fault.c | 570 +-
11950 arch/x86/mm/gup.c | 6 +-
11951 arch/x86/mm/highmem_32.c | 6 +
11952 arch/x86/mm/hugetlbpage.c | 24 +-
11953 arch/x86/mm/init.c | 111 +-
11954 arch/x86/mm/init_32.c | 111 +-
11955 arch/x86/mm/init_64.c | 46 +-
11956 arch/x86/mm/iomap_32.c | 4 +
11957 arch/x86/mm/ioremap.c | 52 +-
11958 arch/x86/mm/kmemcheck/kmemcheck.c | 4 +-
11959 arch/x86/mm/mmap.c | 40 +-
11960 arch/x86/mm/mmio-mod.c | 10 +-
11961 arch/x86/mm/numa.c | 2 +-
11962 arch/x86/mm/pageattr.c | 38 +-
11963 arch/x86/mm/pat.c | 12 +-
11964 arch/x86/mm/pat_rbtree.c | 2 +-
11965 arch/x86/mm/pf_in.c | 10 +-
11966 arch/x86/mm/pgtable.c | 214 +-
11967 arch/x86/mm/pgtable_32.c | 3 +
11968 arch/x86/mm/setup_nx.c | 7 +
11969 arch/x86/mm/tlb.c | 4 +
11970 arch/x86/mm/uderef_64.c | 37 +
11971 arch/x86/net/bpf_jit.S | 11 +
11972 arch/x86/net/bpf_jit_comp.c | 13 +-
11973 arch/x86/oprofile/backtrace.c | 6 +-
11974 arch/x86/oprofile/nmi_int.c | 8 +-
11975 arch/x86/oprofile/op_model_amd.c | 8 +-
11976 arch/x86/oprofile/op_model_ppro.c | 7 +-
11977 arch/x86/oprofile/op_x86_model.h | 2 +-
11978 arch/x86/pci/intel_mid_pci.c | 2 +-
11979 arch/x86/pci/irq.c | 8 +-
11980 arch/x86/pci/pcbios.c | 144 +-
11981 arch/x86/platform/efi/efi_32.c | 24 +
11982 arch/x86/platform/efi/efi_64.c | 26 +-
11983 arch/x86/platform/efi/efi_stub_32.S | 64 +-
11984 arch/x86/platform/efi/efi_stub_64.S | 2 +
11985 arch/x86/platform/intel-mid/intel-mid.c | 5 +-
11986 arch/x86/platform/intel-mid/intel_mid_weak_decls.h | 6 +-
11987 arch/x86/platform/intel-mid/mfld.c | 4 +-
11988 arch/x86/platform/intel-mid/mrfl.c | 2 +-
11989 arch/x86/platform/intel-quark/imr_selftest.c | 2 +-
11990 arch/x86/platform/olpc/olpc_dt.c | 2 +-
11991 arch/x86/power/cpu.c | 11 +-
11992 arch/x86/realmode/init.c | 10 +-
11993 arch/x86/realmode/rm/Makefile | 3 +
11994 arch/x86/realmode/rm/header.S | 4 +-
11995 arch/x86/realmode/rm/reboot.S | 4 +
11996 arch/x86/realmode/rm/trampoline_32.S | 12 +-
11997 arch/x86/realmode/rm/trampoline_64.S | 3 +-
11998 arch/x86/realmode/rm/wakeup_asm.S | 5 +-
11999 arch/x86/tools/Makefile | 2 +-
12000 arch/x86/tools/relocs.c | 96 +-
12001 arch/x86/um/mem_32.c | 2 +-
12002 arch/x86/um/tls_32.c | 2 +-
12003 arch/x86/xen/enlighten.c | 50 +-
12004 arch/x86/xen/mmu.c | 19 +-
12005 arch/x86/xen/smp.c | 16 +-
12006 arch/x86/xen/xen-asm_32.S | 2 +-
12007 arch/x86/xen/xen-head.S | 11 +
12008 arch/x86/xen/xen-ops.h | 2 -
12009 block/bio.c | 4 +-
12010 block/blk-iopoll.c | 2 +-
12011 block/blk-map.c | 2 +-
12012 block/blk-softirq.c | 2 +-
12013 block/bsg.c | 12 +-
12014 block/compat_ioctl.c | 4 +-
12015 block/genhd.c | 9 +-
12016 block/partitions/efi.c | 8 +-
12017 block/scsi_ioctl.c | 29 +-
12018 crypto/cryptd.c | 4 +-
12019 crypto/pcrypt.c | 2 +-
12020 crypto/zlib.c | 12 +-
12021 drivers/acpi/acpi_video.c | 2 +-
12022 drivers/acpi/apei/apei-internal.h | 2 +-
12023 drivers/acpi/apei/ghes.c | 4 +-
12024 drivers/acpi/bgrt.c | 6 +-
12025 drivers/acpi/blacklist.c | 4 +-
12026 drivers/acpi/bus.c | 4 +-
12027 drivers/acpi/device_pm.c | 4 +-
12028 drivers/acpi/ec.c | 2 +-
12029 drivers/acpi/pci_slot.c | 2 +-
12030 drivers/acpi/processor_idle.c | 2 +-
12031 drivers/acpi/processor_pdc.c | 2 +-
12032 drivers/acpi/sleep.c | 2 +-
12033 drivers/acpi/sysfs.c | 4 +-
12034 drivers/acpi/thermal.c | 2 +-
12035 drivers/acpi/video_detect.c | 7 +-
12036 drivers/ata/libata-core.c | 12 +-
12037 drivers/ata/libata-scsi.c | 2 +-
12038 drivers/ata/libata.h | 2 +-
12039 drivers/ata/pata_arasan_cf.c | 4 +-
12040 drivers/atm/adummy.c | 2 +-
12041 drivers/atm/ambassador.c | 8 +-
12042 drivers/atm/atmtcp.c | 14 +-
12043 drivers/atm/eni.c | 10 +-
12044 drivers/atm/firestream.c | 8 +-
12045 drivers/atm/fore200e.c | 14 +-
12046 drivers/atm/he.c | 18 +-
12047 drivers/atm/horizon.c | 4 +-
12048 drivers/atm/idt77252.c | 36 +-
12049 drivers/atm/iphase.c | 34 +-
12050 drivers/atm/lanai.c | 12 +-
12051 drivers/atm/nicstar.c | 46 +-
12052 drivers/atm/solos-pci.c | 4 +-
12053 drivers/atm/suni.c | 4 +-
12054 drivers/atm/uPD98402.c | 16 +-
12055 drivers/atm/zatm.c | 6 +-
12056 drivers/base/bus.c | 4 +-
12057 drivers/base/devtmpfs.c | 8 +-
12058 drivers/base/node.c | 2 +-
12059 drivers/base/platform-msi.c | 20 +-
12060 drivers/base/power/domain.c | 11 +-
12061 drivers/base/power/sysfs.c | 2 +-
12062 drivers/base/power/wakeup.c | 8 +-
12063 drivers/base/regmap/regmap-debugfs.c | 11 +-
12064 drivers/base/syscore.c | 4 +-
12065 drivers/block/cciss.c | 28 +-
12066 drivers/block/cciss.h | 2 +-
12067 drivers/block/cpqarray.c | 28 +-
12068 drivers/block/cpqarray.h | 2 +-
12069 drivers/block/drbd/drbd_bitmap.c | 2 +-
12070 drivers/block/drbd/drbd_int.h | 8 +-
12071 drivers/block/drbd/drbd_main.c | 12 +-
12072 drivers/block/drbd/drbd_nl.c | 4 +-
12073 drivers/block/drbd/drbd_receiver.c | 34 +-
12074 drivers/block/drbd/drbd_worker.c | 8 +-
12075 drivers/block/pktcdvd.c | 4 +-
12076 drivers/block/rbd.c | 2 +-
12077 drivers/bluetooth/btwilink.c | 2 +-
12078 drivers/bus/arm-cci.c | 12 +-
12079 drivers/cdrom/cdrom.c | 11 +-
12080 drivers/cdrom/gdrom.c | 1 -
12081 drivers/char/agp/compat_ioctl.c | 2 +-
12082 drivers/char/agp/frontend.c | 4 +-
12083 drivers/char/agp/intel-gtt.c | 4 +-
12084 drivers/char/hpet.c | 2 +-
12085 drivers/char/ipmi/ipmi_msghandler.c | 8 +-
12086 drivers/char/ipmi/ipmi_si_intf.c | 8 +-
12087 drivers/char/mem.c | 47 +-
12088 drivers/char/nvram.c | 2 +-
12089 drivers/char/pcmcia/synclink_cs.c | 16 +-
12090 drivers/char/random.c | 12 +-
12091 drivers/char/sonypi.c | 11 +-
12092 drivers/char/tpm/tpm_acpi.c | 3 +-
12093 drivers/char/tpm/tpm_eventlog.c | 4 +-
12094 drivers/char/virtio_console.c | 4 +-
12095 drivers/clk/clk-composite.c | 2 +-
12096 drivers/clk/samsung/clk.h | 2 +-
12097 drivers/clk/socfpga/clk-gate.c | 9 +-
12098 drivers/clk/socfpga/clk-pll.c | 9 +-
12099 drivers/clk/ti/clk.c | 8 +-
12100 drivers/cpufreq/acpi-cpufreq.c | 17 +-
12101 drivers/cpufreq/cpufreq-dt.c | 4 +-
12102 drivers/cpufreq/cpufreq.c | 30 +-
12103 drivers/cpufreq/cpufreq_governor.c | 2 +-
12104 drivers/cpufreq/cpufreq_governor.h | 4 +-
12105 drivers/cpufreq/cpufreq_ondemand.c | 10 +-
12106 drivers/cpufreq/intel_pstate.c | 33 +-
12107 drivers/cpufreq/p4-clockmod.c | 12 +-
12108 drivers/cpufreq/sparc-us3-cpufreq.c | 67 +-
12109 drivers/cpufreq/speedstep-centrino.c | 7 +-
12110 drivers/cpuidle/driver.c | 2 +-
12111 drivers/cpuidle/dt_idle_states.c | 2 +-
12112 drivers/cpuidle/governor.c | 2 +-
12113 drivers/cpuidle/sysfs.c | 2 +-
12114 drivers/crypto/hifn_795x.c | 4 +-
12115 drivers/devfreq/devfreq.c | 4 +-
12116 drivers/dma/sh/shdma-base.c | 4 +-
12117 drivers/dma/sh/shdmac.c | 2 +-
12118 drivers/edac/edac_device.c | 4 +-
12119 drivers/edac/edac_mc_sysfs.c | 2 +-
12120 drivers/edac/edac_pci.c | 4 +-
12121 drivers/edac/edac_pci_sysfs.c | 22 +-
12122 drivers/edac/mce_amd.h | 2 +-
12123 drivers/firewire/core-card.c | 6 +-
12124 drivers/firewire/core-device.c | 2 +-
12125 drivers/firewire/core-transaction.c | 1 +
12126 drivers/firewire/core.h | 1 +
12127 drivers/firmware/dmi-id.c | 2 +-
12128 drivers/firmware/dmi_scan.c | 12 +-
12129 drivers/firmware/efi/cper.c | 8 +-
12130 drivers/firmware/efi/efi.c | 12 +-
12131 drivers/firmware/efi/efivars.c | 2 +-
12132 drivers/firmware/efi/runtime-map.c | 2 +-
12133 drivers/firmware/google/gsmi.c | 2 +-
12134 drivers/firmware/google/memconsole.c | 7 +-
12135 drivers/firmware/memmap.c | 2 +-
12136 drivers/firmware/psci.c | 2 +-
12137 drivers/gpio/gpio-davinci.c | 6 +-
12138 drivers/gpio/gpio-em.c | 2 +-
12139 drivers/gpio/gpio-ich.c | 2 +-
12140 drivers/gpio/gpio-omap.c | 4 +-
12141 drivers/gpio/gpio-rcar.c | 2 +-
12142 drivers/gpio/gpio-vr41xx.c | 2 +-
12143 drivers/gpio/gpiolib.c | 12 +-
12144 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-
12145 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 2 +-
12146 drivers/gpu/drm/amd/amdkfd/kfd_device.c | 6 +-
12147 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 90 +-
12148 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 8 +-
12149 .../drm/amd/amdkfd/kfd_device_queue_manager_cik.c | 14 +-
12150 .../drm/amd/amdkfd/kfd_device_queue_manager_vi.c | 14 +-
12151 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c | 4 +-
12152 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 2 +-
12153 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.h | 2 +-
12154 .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 16 +-
12155 drivers/gpu/drm/drm_crtc.c | 2 +-
12156 drivers/gpu/drm/drm_drv.c | 2 +-
12157 drivers/gpu/drm/drm_fops.c | 12 +-
12158 drivers/gpu/drm/drm_global.c | 14 +-
12159 drivers/gpu/drm/drm_info.c | 13 +-
12160 drivers/gpu/drm/drm_ioc32.c | 13 +-
12161 drivers/gpu/drm/drm_ioctl.c | 2 +-
12162 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 10 +-
12163 drivers/gpu/drm/i810/i810_drv.h | 4 +-
12164 drivers/gpu/drm/i915/i915_dma.c | 2 +-
12165 drivers/gpu/drm/i915/i915_gem_execbuffer.c | 4 +-
12166 drivers/gpu/drm/i915/i915_gem_gtt.c | 16 +-
12167 drivers/gpu/drm/i915/i915_gem_gtt.h | 6 +-
12168 drivers/gpu/drm/i915/i915_ioc32.c | 10 +-
12169 drivers/gpu/drm/i915/intel_display.c | 26 +-
12170 drivers/gpu/drm/imx/imx-drm-core.c | 2 +-
12171 drivers/gpu/drm/mga/mga_drv.h | 4 +-
12172 drivers/gpu/drm/mga/mga_ioc32.c | 10 +-
12173 drivers/gpu/drm/mga/mga_irq.c | 8 +-
12174 drivers/gpu/drm/nouveau/nouveau_bios.c | 2 +-
12175 drivers/gpu/drm/nouveau/nouveau_drm.h | 1 -
12176 drivers/gpu/drm/nouveau/nouveau_ioc32.c | 2 +-
12177 drivers/gpu/drm/nouveau/nouveau_vga.c | 2 +-
12178 drivers/gpu/drm/omapdrm/Makefile | 2 +-
12179 drivers/gpu/drm/qxl/qxl_cmd.c | 12 +-
12180 drivers/gpu/drm/qxl/qxl_debugfs.c | 8 +-
12181 drivers/gpu/drm/qxl/qxl_drv.h | 8 +-
12182 drivers/gpu/drm/qxl/qxl_ioctl.c | 10 +-
12183 drivers/gpu/drm/qxl/qxl_irq.c | 16 +-
12184 drivers/gpu/drm/qxl/qxl_ttm.c | 38 +-
12185 drivers/gpu/drm/r128/r128_cce.c | 2 +-
12186 drivers/gpu/drm/r128/r128_drv.h | 4 +-
12187 drivers/gpu/drm/r128/r128_ioc32.c | 10 +-
12188 drivers/gpu/drm/r128/r128_irq.c | 4 +-
12189 drivers/gpu/drm/r128/r128_state.c | 4 +-
12190 drivers/gpu/drm/radeon/mkregtable.c | 4 +-
12191 drivers/gpu/drm/radeon/radeon_device.c | 2 +-
12192 drivers/gpu/drm/radeon/radeon_drv.h | 2 +-
12193 drivers/gpu/drm/radeon/radeon_ioc32.c | 12 +-
12194 drivers/gpu/drm/radeon/radeon_irq.c | 6 +-
12195 drivers/gpu/drm/radeon/radeon_state.c | 4 +-
12196 drivers/gpu/drm/radeon/radeon_ttm.c | 4 +-
12197 drivers/gpu/drm/tegra/dc.c | 2 +-
12198 drivers/gpu/drm/tegra/dsi.c | 2 +-
12199 drivers/gpu/drm/tegra/hdmi.c | 2 +-
12200 drivers/gpu/drm/tegra/sor.c | 7 +-
12201 drivers/gpu/drm/tilcdc/Makefile | 6 +-
12202 drivers/gpu/drm/ttm/ttm_memory.c | 4 +-
12203 drivers/gpu/drm/ttm/ttm_page_alloc.c | 18 +-
12204 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 18 +-
12205 drivers/gpu/drm/udl/udl_fb.c | 1 -
12206 drivers/gpu/drm/via/via_drv.h | 4 +-
12207 drivers/gpu/drm/via/via_irq.c | 18 +-
12208 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 2 +-
12209 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c | 8 +-
12210 drivers/gpu/drm/vmwgfx/vmwgfx_irq.c | 4 +-
12211 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c | 2 +-
12212 drivers/gpu/vga/vga_switcheroo.c | 4 +-
12213 drivers/hid/hid-core.c | 4 +-
12214 drivers/hid/hid-sensor-custom.c | 2 +-
12215 drivers/hv/channel.c | 2 +-
12216 drivers/hv/hv.c | 4 +-
12217 drivers/hv/hv_balloon.c | 18 +-
12218 drivers/hv/hyperv_vmbus.h | 2 +-
12219 drivers/hwmon/acpi_power_meter.c | 6 +-
12220 drivers/hwmon/applesmc.c | 2 +-
12221 drivers/hwmon/asus_atk0110.c | 10 +-
12222 drivers/hwmon/coretemp.c | 2 +-
12223 drivers/hwmon/dell-smm-hwmon.c | 2 +-
12224 drivers/hwmon/ibmaem.c | 2 +-
12225 drivers/hwmon/iio_hwmon.c | 2 +-
12226 drivers/hwmon/nct6683.c | 6 +-
12227 drivers/hwmon/nct6775.c | 6 +-
12228 drivers/hwmon/pmbus/pmbus_core.c | 10 +-
12229 drivers/hwmon/sht15.c | 12 +-
12230 drivers/hwmon/via-cputemp.c | 2 +-
12231 drivers/i2c/busses/i2c-amd756-s4882.c | 2 +-
12232 drivers/i2c/busses/i2c-nforce2-s4985.c | 2 +-
12233 drivers/i2c/i2c-dev.c | 2 +-
12234 drivers/ide/ide-cd.c | 2 +-
12235 drivers/ide/ide-disk.c | 2 +-
12236 drivers/iio/industrialio-core.c | 2 +-
12237 drivers/iio/magnetometer/ak8975.c | 2 +-
12238 drivers/infiniband/core/cm.c | 32 +-
12239 drivers/infiniband/core/fmr_pool.c | 20 +-
12240 drivers/infiniband/core/uverbs_cmd.c | 3 +
12241 drivers/infiniband/hw/cxgb4/mem.c | 4 +-
12242 drivers/infiniband/hw/mlx4/mad.c | 2 +-
12243 drivers/infiniband/hw/mlx4/mcg.c | 2 +-
12244 drivers/infiniband/hw/mlx4/mlx4_ib.h | 2 +-
12245 drivers/infiniband/hw/mthca/mthca_cmd.c | 8 +-
12246 drivers/infiniband/hw/mthca/mthca_main.c | 2 +-
12247 drivers/infiniband/hw/mthca/mthca_mr.c | 6 +-
12248 drivers/infiniband/hw/mthca/mthca_provider.c | 2 +-
12249 drivers/infiniband/hw/nes/nes.c | 4 +-
12250 drivers/infiniband/hw/nes/nes.h | 40 +-
12251 drivers/infiniband/hw/nes/nes_cm.c | 62 +-
12252 drivers/infiniband/hw/nes/nes_mgt.c | 8 +-
12253 drivers/infiniband/hw/nes/nes_nic.c | 40 +-
12254 drivers/infiniband/hw/nes/nes_verbs.c | 10 +-
12255 drivers/infiniband/hw/qib/qib.h | 1 +
12256 drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 2 +-
12257 drivers/input/gameport/gameport.c | 4 +-
12258 drivers/input/input.c | 4 +-
12259 drivers/input/joystick/sidewinder.c | 1 +
12260 drivers/input/joystick/xpad.c | 4 +-
12261 drivers/input/misc/ims-pcu.c | 4 +-
12262 drivers/input/mouse/psmouse.h | 2 +-
12263 drivers/input/mousedev.c | 2 +-
12264 drivers/input/serio/serio.c | 4 +-
12265 drivers/input/serio/serio_raw.c | 4 +-
12266 drivers/input/touchscreen/htcpen.c | 2 +-
12267 drivers/iommu/arm-smmu-v3.c | 2 +-
12268 drivers/iommu/arm-smmu.c | 43 +-
12269 drivers/iommu/io-pgtable-arm.c | 101 +-
12270 drivers/iommu/io-pgtable.c | 11 +-
12271 drivers/iommu/io-pgtable.h | 19 +-
12272 drivers/iommu/iommu.c | 2 +-
12273 drivers/iommu/ipmmu-vmsa.c | 13 +-
12274 drivers/iommu/irq_remapping.c | 2 +-
12275 drivers/irqchip/irq-gic.c | 2 +-
12276 drivers/irqchip/irq-i8259.c | 2 +-
12277 drivers/irqchip/irq-renesas-intc-irqpin.c | 2 +-
12278 drivers/irqchip/irq-renesas-irqc.c | 2 +-
12279 drivers/isdn/capi/capi.c | 10 +-
12280 drivers/isdn/gigaset/interface.c | 8 +-
12281 drivers/isdn/gigaset/usb-gigaset.c | 2 +-
12282 drivers/isdn/hardware/avm/b1.c | 4 +-
12283 drivers/isdn/i4l/isdn_common.c | 2 +
12284 drivers/isdn/i4l/isdn_tty.c | 22 +-
12285 drivers/isdn/icn/icn.c | 2 +-
12286 drivers/isdn/mISDN/dsp_cmx.c | 2 +-
12287 drivers/lguest/core.c | 10 +-
12288 drivers/lguest/page_tables.c | 2 +-
12289 drivers/lguest/x86/core.c | 12 +-
12290 drivers/lguest/x86/switcher_32.S | 27 +-
12291 drivers/md/bcache/closure.h | 2 +-
12292 drivers/md/bitmap.c | 2 +-
12293 drivers/md/dm-ioctl.c | 2 +-
12294 drivers/md/dm-raid1.c | 18 +-
12295 drivers/md/dm-stats.c | 6 +-
12296 drivers/md/dm-stripe.c | 10 +-
12297 drivers/md/dm-table.c | 2 +-
12298 drivers/md/dm-thin-metadata.c | 4 +-
12299 drivers/md/dm.c | 16 +-
12300 drivers/md/md.c | 26 +-
12301 drivers/md/md.h | 6 +-
12302 drivers/md/persistent-data/dm-space-map-metadata.c | 4 +-
12303 drivers/md/persistent-data/dm-space-map.h | 1 +
12304 drivers/md/raid1.c | 4 +-
12305 drivers/md/raid10.c | 18 +-
12306 drivers/md/raid5.c | 22 +-
12307 drivers/media/dvb-core/dvbdev.c | 2 +-
12308 drivers/media/dvb-frontends/af9033.h | 2 +-
12309 drivers/media/dvb-frontends/dib3000.h | 2 +-
12310 drivers/media/dvb-frontends/dib7000p.h | 2 +-
12311 drivers/media/dvb-frontends/dib8000.h | 2 +-
12312 drivers/media/pci/cx88/cx88-video.c | 6 +-
12313 drivers/media/pci/ivtv/ivtv-driver.c | 2 +-
12314 drivers/media/pci/solo6x10/solo6x10-core.c | 2 +-
12315 drivers/media/pci/solo6x10/solo6x10-p2m.c | 2 +-
12316 drivers/media/pci/solo6x10/solo6x10.h | 2 +-
12317 drivers/media/pci/tw68/tw68-core.c | 2 +-
12318 drivers/media/platform/omap/omap_vout.c | 11 +-
12319 drivers/media/platform/s5p-tv/mixer.h | 2 +-
12320 drivers/media/platform/s5p-tv/mixer_grp_layer.c | 2 +-
12321 drivers/media/platform/s5p-tv/mixer_reg.c | 2 +-
12322 drivers/media/platform/s5p-tv/mixer_video.c | 24 +-
12323 drivers/media/platform/s5p-tv/mixer_vp_layer.c | 2 +-
12324 drivers/media/radio/radio-cadet.c | 2 +
12325 drivers/media/radio/radio-maxiradio.c | 2 +-
12326 drivers/media/radio/radio-shark.c | 2 +-
12327 drivers/media/radio/radio-shark2.c | 2 +-
12328 drivers/media/radio/radio-si476x.c | 2 +-
12329 drivers/media/radio/wl128x/fmdrv_common.c | 2 +-
12330 drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 12 +-
12331 drivers/media/v4l2-core/v4l2-device.c | 4 +-
12332 drivers/media/v4l2-core/v4l2-ioctl.c | 13 +-
12333 drivers/memory/omap-gpmc.c | 21 +-
12334 drivers/message/fusion/mptsas.c | 34 +-
12335 drivers/mfd/ab8500-debugfs.c | 2 +-
12336 drivers/mfd/kempld-core.c | 2 +-
12337 drivers/mfd/max8925-i2c.c | 2 +-
12338 drivers/mfd/tps65910.c | 2 +-
12339 drivers/mfd/twl4030-irq.c | 9 +-
12340 drivers/mfd/wm5110-tables.c | 2 +-
12341 drivers/mfd/wm8998-tables.c | 2 +-
12342 drivers/misc/c2port/core.c | 4 +-
12343 drivers/misc/kgdbts.c | 4 +-
12344 drivers/misc/lis3lv02d/lis3lv02d.c | 8 +-
12345 drivers/misc/lis3lv02d/lis3lv02d.h | 2 +-
12346 drivers/misc/mic/scif/scif_rb.c | 8 +-
12347 drivers/misc/sgi-gru/gruhandles.c | 4 +-
12348 drivers/misc/sgi-gru/gruprocfs.c | 8 +-
12349 drivers/misc/sgi-gru/grutables.h | 154 +-
12350 drivers/misc/sgi-xp/xp.h | 2 +-
12351 drivers/misc/sgi-xp/xpc.h | 3 +-
12352 drivers/misc/sgi-xp/xpc_main.c | 2 +-
12353 drivers/mmc/card/block.c | 2 +-
12354 drivers/mmc/host/dw_mmc.h | 2 +-
12355 drivers/mmc/host/mmci.c | 4 +-
12356 drivers/mmc/host/omap_hsmmc.c | 4 +-
12357 drivers/mmc/host/sdhci-esdhc-imx.c | 7 +-
12358 drivers/mmc/host/sdhci-s3c.c | 8 +-
12359 drivers/mtd/chips/cfi_cmdset_0020.c | 2 +-
12360 drivers/mtd/nand/denali.c | 1 +
12361 drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 2 +-
12362 drivers/mtd/nftlmount.c | 1 +
12363 drivers/mtd/sm_ftl.c | 2 +-
12364 drivers/net/bonding/bond_netlink.c | 2 +-
12365 drivers/net/caif/caif_hsi.c | 2 +-
12366 drivers/net/can/Kconfig | 2 +-
12367 drivers/net/can/dev.c | 2 +-
12368 drivers/net/can/vcan.c | 2 +-
12369 drivers/net/dummy.c | 2 +-
12370 drivers/net/ethernet/8390/ax88796.c | 4 +-
12371 drivers/net/ethernet/altera/altera_tse_main.c | 4 +-
12372 drivers/net/ethernet/amd/xgbe/xgbe-common.h | 4 +-
12373 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c | 4 +-
12374 drivers/net/ethernet/amd/xgbe/xgbe-desc.c | 27 +-
12375 drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 143 +-
12376 drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 64 +-
12377 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 10 +-
12378 drivers/net/ethernet/amd/xgbe/xgbe-main.c | 15 +-
12379 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 27 +-
12380 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c | 4 +-
12381 drivers/net/ethernet/amd/xgbe/xgbe.h | 10 +-
12382 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 2 +-
12383 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | 11 +-
12384 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h | 3 +-
12385 drivers/net/ethernet/broadcom/tg3.h | 1 +
12386 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c | 6 +-
12387 drivers/net/ethernet/cavium/liquidio/lio_main.c | 11 +-
12388 drivers/net/ethernet/chelsio/cxgb3/l2t.h | 2 +-
12389 drivers/net/ethernet/dec/tulip/de4x5.c | 4 +-
12390 drivers/net/ethernet/emulex/benet/be_main.c | 2 +-
12391 drivers/net/ethernet/faraday/ftgmac100.c | 2 +
12392 drivers/net/ethernet/faraday/ftmac100.c | 2 +
12393 drivers/net/ethernet/intel/i40e/i40e_ptp.c | 2 +-
12394 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 2 +-
12395 drivers/net/ethernet/mellanox/mlx4/en_tx.c | 4 +-
12396 drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 7 +-
12397 drivers/net/ethernet/neterion/vxge/vxge-config.c | 7 +-
12398 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 4 +-
12399 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c | 12 +-
12400 .../net/ethernet/qlogic/qlcnic/qlcnic_minidump.c | 2 +-
12401 drivers/net/ethernet/realtek/r8169.c | 8 +-
12402 drivers/net/ethernet/sfc/ptp.c | 2 +-
12403 drivers/net/ethernet/stmicro/stmmac/mmc_core.c | 4 +-
12404 drivers/net/ethernet/via/via-rhine.c | 2 +-
12405 drivers/net/geneve.c | 2 +-
12406 drivers/net/hyperv/hyperv_net.h | 2 +-
12407 drivers/net/hyperv/rndis_filter.c | 4 +-
12408 drivers/net/ifb.c | 2 +-
12409 drivers/net/ipvlan/ipvlan_core.c | 2 +-
12410 drivers/net/macvlan.c | 20 +-
12411 drivers/net/macvtap.c | 6 +-
12412 drivers/net/nlmon.c | 2 +-
12413 drivers/net/phy/phy_device.c | 6 +-
12414 drivers/net/ppp/ppp_generic.c | 4 +-
12415 drivers/net/slip/slhc.c | 2 +-
12416 drivers/net/team/team.c | 4 +-
12417 drivers/net/tun.c | 7 +-
12418 drivers/net/usb/hso.c | 23 +-
12419 drivers/net/usb/r8152.c | 2 +-
12420 drivers/net/usb/sierra_net.c | 4 +-
12421 drivers/net/virtio_net.c | 2 +-
12422 drivers/net/vrf.c | 2 +-
12423 drivers/net/vxlan.c | 4 +-
12424 drivers/net/wimax/i2400m/rx.c | 2 +-
12425 drivers/net/wireless/airo.c | 2 +-
12426 drivers/net/wireless/at76c50x-usb.c | 2 +-
12427 drivers/net/wireless/ath/ath10k/ce.c | 6 +-
12428 drivers/net/wireless/ath/ath10k/htc.c | 7 +-
12429 drivers/net/wireless/ath/ath10k/htc.h | 4 +-
12430 drivers/net/wireless/ath/ath9k/ar9002_mac.c | 36 +-
12431 drivers/net/wireless/ath/ath9k/ar9003_mac.c | 64 +-
12432 drivers/net/wireless/ath/ath9k/hw.h | 4 +-
12433 drivers/net/wireless/ath/ath9k/main.c | 22 +-
12434 drivers/net/wireless/ath/wil6210/wil_platform.h | 2 +-
12435 drivers/net/wireless/b43/phy_lp.c | 2 +-
12436 drivers/net/wireless/iwlegacy/3945-mac.c | 4 +-
12437 drivers/net/wireless/iwlwifi/dvm/debugfs.c | 34 +-
12438 drivers/net/wireless/iwlwifi/pcie/trans.c | 4 +-
12439 drivers/net/wireless/mac80211_hwsim.c | 28 +-
12440 drivers/net/wireless/rndis_wlan.c | 2 +-
12441 drivers/net/wireless/rt2x00/rt2x00.h | 2 +-
12442 drivers/net/wireless/rt2x00/rt2x00queue.c | 4 +-
12443 drivers/net/wireless/ti/wl1251/sdio.c | 12 +-
12444 drivers/net/wireless/ti/wl12xx/main.c | 8 +-
12445 drivers/net/wireless/ti/wl18xx/main.c | 6 +-
12446 drivers/nfc/nfcwilink.c | 2 +-
12447 drivers/of/fdt.c | 4 +-
12448 drivers/oprofile/buffer_sync.c | 8 +-
12449 drivers/oprofile/event_buffer.c | 2 +-
12450 drivers/oprofile/oprof.c | 2 +-
12451 drivers/oprofile/oprofile_stats.c | 10 +-
12452 drivers/oprofile/oprofile_stats.h | 10 +-
12453 drivers/oprofile/oprofilefs.c | 6 +-
12454 drivers/oprofile/timer_int.c | 2 +-
12455 drivers/parport/procfs.c | 4 +-
12456 drivers/pci/host/pci-host-generic.c | 24 +-
12457 drivers/pci/hotplug/acpiphp_ibm.c | 4 +-
12458 drivers/pci/hotplug/cpcihp_generic.c | 6 +-
12459 drivers/pci/hotplug/cpcihp_zt5550.c | 14 +-
12460 drivers/pci/hotplug/cpqphp_nvram.c | 2 +
12461 drivers/pci/hotplug/pci_hotplug_core.c | 6 +-
12462 drivers/pci/hotplug/pciehp_core.c | 2 +-
12463 drivers/pci/msi.c | 22 +-
12464 drivers/pci/pci-sysfs.c | 6 +-
12465 drivers/pci/pci.h | 2 +-
12466 drivers/pci/pcie/aspm.c | 6 +-
12467 drivers/pci/pcie/portdrv_pci.c | 2 +-
12468 drivers/pci/probe.c | 2 +-
12469 drivers/pinctrl/nomadik/pinctrl-nomadik.c | 2 +-
12470 drivers/pinctrl/pinctrl-at91.c | 5 +-
12471 drivers/platform/chrome/chromeos_pstore.c | 2 +-
12472 drivers/platform/x86/alienware-wmi.c | 4 +-
12473 drivers/platform/x86/compal-laptop.c | 2 +-
12474 drivers/platform/x86/hdaps.c | 2 +-
12475 drivers/platform/x86/ibm_rtl.c | 2 +-
12476 drivers/platform/x86/intel_oaktrail.c | 2 +-
12477 drivers/platform/x86/msi-laptop.c | 16 +-
12478 drivers/platform/x86/msi-wmi.c | 2 +-
12479 drivers/platform/x86/samsung-laptop.c | 2 +-
12480 drivers/platform/x86/samsung-q10.c | 2 +-
12481 drivers/platform/x86/sony-laptop.c | 14 +-
12482 drivers/platform/x86/thinkpad_acpi.c | 2 +-
12483 drivers/pnp/pnpbios/bioscalls.c | 14 +-
12484 drivers/pnp/pnpbios/core.c | 2 +-
12485 drivers/power/pda_power.c | 7 +-
12486 drivers/power/power_supply.h | 4 +-
12487 drivers/power/power_supply_core.c | 7 +-
12488 drivers/power/power_supply_sysfs.c | 6 +-
12489 drivers/power/reset/at91-reset.c | 9 +-
12490 drivers/powercap/powercap_sys.c | 136 +-
12491 drivers/ptp/ptp_private.h | 2 +-
12492 drivers/ptp/ptp_sysfs.c | 2 +-
12493 drivers/regulator/core.c | 4 +-
12494 drivers/regulator/max8660.c | 6 +-
12495 drivers/regulator/max8973-regulator.c | 16 +-
12496 drivers/regulator/mc13892-regulator.c | 8 +-
12497 drivers/rtc/rtc-armada38x.c | 7 +-
12498 drivers/rtc/rtc-cmos.c | 4 +-
12499 drivers/rtc/rtc-ds1307.c | 2 +-
12500 drivers/rtc/rtc-m48t59.c | 4 +-
12501 drivers/rtc/rtc-test.c | 6 +-
12502 drivers/scsi/be2iscsi/be_main.c | 2 +-
12503 drivers/scsi/bfa/bfa_fcpim.h | 2 +-
12504 drivers/scsi/bfa/bfa_ioc.h | 4 +-
12505 drivers/scsi/fcoe/fcoe_sysfs.c | 12 +-
12506 drivers/scsi/hosts.c | 4 +-
12507 drivers/scsi/hpsa.c | 38 +-
12508 drivers/scsi/hpsa.h | 2 +-
12509 drivers/scsi/libfc/fc_exch.c | 50 +-
12510 drivers/scsi/libsas/sas_ata.c | 2 +-
12511 drivers/scsi/lpfc/lpfc.h | 8 +-
12512 drivers/scsi/lpfc/lpfc_debugfs.c | 18 +-
12513 drivers/scsi/lpfc/lpfc_init.c | 6 +-
12514 drivers/scsi/lpfc/lpfc_scsi.c | 10 +-
12515 drivers/scsi/megaraid/megaraid_sas.h | 2 +-
12516 drivers/scsi/mpt2sas/mpt2sas_scsih.c | 8 +-
12517 drivers/scsi/pmcraid.c | 20 +-
12518 drivers/scsi/pmcraid.h | 8 +-
12519 drivers/scsi/qla2xxx/qla_attr.c | 4 +-
12520 drivers/scsi/qla2xxx/qla_gbl.h | 4 +-
12521 drivers/scsi/qla2xxx/qla_os.c | 6 +-
12522 drivers/scsi/qla4xxx/ql4_def.h | 2 +-
12523 drivers/scsi/qla4xxx/ql4_os.c | 6 +-
12524 drivers/scsi/scsi.c | 2 +-
12525 drivers/scsi/scsi_lib.c | 8 +-
12526 drivers/scsi/scsi_sysfs.c | 2 +-
12527 drivers/scsi/scsi_transport_fc.c | 8 +-
12528 drivers/scsi/scsi_transport_iscsi.c | 6 +-
12529 drivers/scsi/scsi_transport_srp.c | 6 +-
12530 drivers/scsi/sd.c | 6 +-
12531 drivers/scsi/sg.c | 2 +-
12532 drivers/scsi/sr.c | 21 +-
12533 drivers/soc/tegra/fuse/fuse-tegra.c | 2 +-
12534 drivers/spi/spi.c | 2 +-
12535 drivers/staging/android/timed_output.c | 6 +-
12536 drivers/staging/comedi/comedi_fops.c | 8 +-
12537 drivers/staging/fbtft/fbtft-core.c | 2 +-
12538 drivers/staging/fbtft/fbtft.h | 2 +-
12539 drivers/staging/gdm724x/gdm_tty.c | 2 +-
12540 drivers/staging/iio/accel/lis3l02dq_ring.c | 2 +-
12541 drivers/staging/iio/adc/ad7280a.c | 4 +-
12542 drivers/staging/lustre/lnet/selftest/brw_test.c | 12 +-
12543 drivers/staging/lustre/lnet/selftest/framework.c | 4 -
12544 drivers/staging/lustre/lnet/selftest/ping_test.c | 14 +-
12545 drivers/staging/lustre/lustre/include/lustre_dlm.h | 2 +-
12546 drivers/staging/lustre/lustre/include/obd.h | 2 +-
12547 drivers/staging/octeon/ethernet-rx.c | 20 +-
12548 drivers/staging/octeon/ethernet.c | 8 +-
12549 drivers/staging/rdma/ipath/ipath_rc.c | 6 +-
12550 drivers/staging/rdma/ipath/ipath_ruc.c | 6 +-
12551 drivers/staging/rtl8188eu/include/hal_intf.h | 2 +-
12552 drivers/staging/rtl8712/rtl871x_io.h | 2 +-
12553 drivers/staging/sm750fb/sm750.c | 14 +-
12554 drivers/staging/unisys/visorbus/visorbus_private.h | 4 +-
12555 drivers/target/sbp/sbp_target.c | 4 +-
12556 drivers/thermal/cpu_cooling.c | 9 +-
12557 drivers/thermal/int340x_thermal/int3400_thermal.c | 6 +-
12558 drivers/thermal/of-thermal.c | 17 +-
12559 drivers/thermal/x86_pkg_temp_thermal.c | 2 +-
12560 drivers/tty/cyclades.c | 6 +-
12561 drivers/tty/hvc/hvc_console.c | 14 +-
12562 drivers/tty/hvc/hvcs.c | 21 +-
12563 drivers/tty/hvc/hvsi.c | 22 +-
12564 drivers/tty/hvc/hvsi_lib.c | 4 +-
12565 drivers/tty/ipwireless/tty.c | 27 +-
12566 drivers/tty/moxa.c | 2 +-
12567 drivers/tty/n_gsm.c | 4 +-
12568 drivers/tty/n_tty.c | 3 +-
12569 drivers/tty/pty.c | 4 +-
12570 drivers/tty/rocket.c | 6 +-
12571 drivers/tty/serial/8250/8250_core.c | 10 +-
12572 drivers/tty/serial/ifx6x60.c | 2 +-
12573 drivers/tty/serial/ioc4_serial.c | 6 +-
12574 drivers/tty/serial/kgdb_nmi.c | 4 +-
12575 drivers/tty/serial/kgdboc.c | 32 +-
12576 drivers/tty/serial/msm_serial.c | 4 +-
12577 drivers/tty/serial/samsung.c | 9 +-
12578 drivers/tty/serial/serial_core.c | 8 +-
12579 drivers/tty/synclink.c | 34 +-
12580 drivers/tty/synclink_gt.c | 28 +-
12581 drivers/tty/synclinkmp.c | 34 +-
12582 drivers/tty/tty_io.c | 2 +-
12583 drivers/tty/tty_ldisc.c | 8 +-
12584 drivers/tty/tty_port.c | 22 +-
12585 drivers/uio/uio.c | 13 +-
12586 drivers/usb/atm/cxacru.c | 2 +-
12587 drivers/usb/atm/usbatm.c | 24 +-
12588 drivers/usb/class/cdc-acm.h | 2 +-
12589 drivers/usb/core/devices.c | 6 +-
12590 drivers/usb/core/devio.c | 12 +-
12591 drivers/usb/core/hcd.c | 4 +-
12592 drivers/usb/core/sysfs.c | 2 +-
12593 drivers/usb/core/usb.c | 2 +-
12594 drivers/usb/early/ehci-dbgp.c | 16 +-
12595 drivers/usb/gadget/function/u_serial.c | 22 +-
12596 drivers/usb/gadget/udc/dummy_hcd.c | 2 +-
12597 drivers/usb/host/ehci-hcd.c | 2 +-
12598 drivers/usb/host/ehci-hub.c | 4 +-
12599 drivers/usb/host/ehci-q.c | 4 +-
12600 drivers/usb/host/fotg210-hcd.c | 2 +-
12601 drivers/usb/host/fusbh200-hcd.c | 2 +-
12602 drivers/usb/host/hwa-hc.c | 2 +-
12603 drivers/usb/host/ohci-hcd.c | 2 +-
12604 drivers/usb/host/r8a66597.h | 2 +-
12605 drivers/usb/host/uhci-hcd.c | 2 +-
12606 drivers/usb/host/xhci-pci.c | 2 +-
12607 drivers/usb/host/xhci.c | 2 +-
12608 drivers/usb/misc/appledisplay.c | 4 +-
12609 drivers/usb/serial/console.c | 8 +-
12610 drivers/usb/storage/transport.c | 2 +-
12611 drivers/usb/storage/usb.c | 2 +-
12612 drivers/usb/storage/usb.h | 2 +-
12613 drivers/usb/usbip/vhci.h | 2 +-
12614 drivers/usb/usbip/vhci_hcd.c | 6 +-
12615 drivers/usb/usbip/vhci_rx.c | 2 +-
12616 drivers/usb/wusbcore/wa-hc.h | 4 +-
12617 drivers/usb/wusbcore/wa-xfer.c | 2 +-
12618 drivers/vfio/vfio.c | 2 +-
12619 drivers/vhost/vringh.c | 20 +-
12620 drivers/video/backlight/kb3886_bl.c | 2 +-
12621 drivers/video/console/fbcon.c | 2 +-
12622 drivers/video/fbdev/aty/aty128fb.c | 2 +-
12623 drivers/video/fbdev/aty/atyfb_base.c | 8 +-
12624 drivers/video/fbdev/aty/mach64_cursor.c | 5 +-
12625 drivers/video/fbdev/core/fb_defio.c | 6 +-
12626 drivers/video/fbdev/core/fbmem.c | 2 +-
12627 drivers/video/fbdev/hyperv_fb.c | 4 +-
12628 drivers/video/fbdev/i810/i810_accel.c | 1 +
12629 drivers/video/fbdev/matrox/matroxfb_base.c | 2 +-
12630 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c | 16 +-
12631 drivers/video/fbdev/nvidia/nvidia.c | 27 +-
12632 drivers/video/fbdev/omap2/dss/display.c | 8 +-
12633 drivers/video/fbdev/s1d13xxxfb.c | 6 +-
12634 drivers/video/fbdev/smscufx.c | 4 +-
12635 drivers/video/fbdev/udlfb.c | 36 +-
12636 drivers/video/fbdev/uvesafb.c | 52 +-
12637 drivers/video/fbdev/vesafb.c | 58 +-
12638 drivers/video/fbdev/via/via_clock.h | 2 +-
12639 drivers/xen/events/events_base.c | 6 +-
12640 drivers/xen/evtchn.c | 4 +-
12641 fs/Kconfig.binfmt | 2 +-
12642 fs/afs/inode.c | 4 +-
12643 fs/aio.c | 2 +-
12644 fs/autofs4/waitq.c | 2 +-
12645 fs/befs/endian.h | 6 +-
12646 fs/binfmt_aout.c | 23 +-
12647 fs/binfmt_elf.c | 670 +-
12648 fs/binfmt_elf_fdpic.c | 4 +-
12649 fs/block_dev.c | 2 +-
12650 fs/btrfs/ctree.c | 9 +-
12651 fs/btrfs/delayed-inode.c | 9 +-
12652 fs/btrfs/delayed-inode.h | 6 +-
12653 fs/btrfs/file.c | 10 +-
12654 fs/btrfs/inode.c | 14 +-
12655 fs/btrfs/super.c | 2 +-
12656 fs/btrfs/sysfs.c | 2 +-
12657 fs/btrfs/tests/free-space-tests.c | 8 +-
12658 fs/btrfs/tree-log.h | 2 +-
12659 fs/buffer.c | 2 +-
12660 fs/cachefiles/bind.c | 6 +-
12661 fs/cachefiles/daemon.c | 8 +-
12662 fs/cachefiles/internal.h | 12 +-
12663 fs/cachefiles/namei.c | 2 +-
12664 fs/cachefiles/proc.c | 12 +-
12665 fs/ceph/dir.c | 12 +-
12666 fs/ceph/super.c | 4 +-
12667 fs/cifs/cifs_debug.c | 12 +-
12668 fs/cifs/cifsfs.c | 8 +-
12669 fs/cifs/cifsglob.h | 54 +-
12670 fs/cifs/file.c | 10 +-
12671 fs/cifs/misc.c | 4 +-
12672 fs/cifs/smb1ops.c | 80 +-
12673 fs/cifs/smb2ops.c | 84 +-
12674 fs/cifs/smb2pdu.c | 3 +-
12675 fs/coda/cache.c | 10 +-
12676 fs/compat.c | 4 +-
12677 fs/compat_binfmt_elf.c | 2 +
12678 fs/compat_ioctl.c | 12 +-
12679 fs/configfs/dir.c | 10 +-
12680 fs/coredump.c | 16 +-
12681 fs/dcache.c | 51 +-
12682 fs/ecryptfs/inode.c | 2 +-
12683 fs/ecryptfs/miscdev.c | 2 +-
12684 fs/exec.c | 362 +-
12685 fs/ext2/xattr.c | 5 +-
12686 fs/ext4/ext4.h | 20 +-
12687 fs/ext4/mballoc.c | 44 +-
12688 fs/ext4/resize.c | 16 +-
12689 fs/ext4/super.c | 4 +-
12690 fs/ext4/xattr.c | 5 +-
12691 fs/fhandle.c | 3 +-
12692 fs/file.c | 4 +-
12693 fs/fs_struct.c | 8 +-
12694 fs/fscache/cookie.c | 40 +-
12695 fs/fscache/internal.h | 202 +-
12696 fs/fscache/object.c | 26 +-
12697 fs/fscache/operation.c | 38 +-
12698 fs/fscache/page.c | 110 +-
12699 fs/fscache/stats.c | 348 +-
12700 fs/fuse/cuse.c | 10 +-
12701 fs/fuse/dev.c | 4 +-
12702 fs/gfs2/glock.c | 22 +-
12703 fs/gfs2/glops.c | 4 +-
12704 fs/gfs2/quota.c | 6 +-
12705 fs/hugetlbfs/inode.c | 13 +-
12706 fs/inode.c | 4 +-
12707 fs/jffs2/erase.c | 3 +-
12708 fs/jffs2/wbuf.c | 3 +-
12709 fs/jfs/super.c | 2 +-
12710 fs/kernfs/dir.c | 2 +-
12711 fs/kernfs/file.c | 20 +-
12712 fs/libfs.c | 10 +-
12713 fs/lockd/clntproc.c | 4 +-
12714 fs/namei.c | 16 +-
12715 fs/namespace.c | 16 +-
12716 fs/nfs/callback_xdr.c | 2 +-
12717 fs/nfs/inode.c | 6 +-
12718 fs/nfsd/nfs4proc.c | 2 +-
12719 fs/nfsd/nfs4xdr.c | 2 +-
12720 fs/nfsd/nfscache.c | 11 +-
12721 fs/nfsd/vfs.c | 6 +-
12722 fs/nls/nls_base.c | 26 +-
12723 fs/nls/nls_euc-jp.c | 6 +-
12724 fs/nls/nls_koi8-ru.c | 6 +-
12725 fs/notify/fanotify/fanotify_user.c | 4 +-
12726 fs/notify/notification.c | 4 +-
12727 fs/ntfs/dir.c | 2 +-
12728 fs/ntfs/super.c | 6 +-
12729 fs/ocfs2/localalloc.c | 2 +-
12730 fs/ocfs2/ocfs2.h | 10 +-
12731 fs/ocfs2/suballoc.c | 12 +-
12732 fs/ocfs2/super.c | 20 +-
12733 fs/pipe.c | 72 +-
12734 fs/posix_acl.c | 4 +-
12735 fs/proc/array.c | 20 +
12736 fs/proc/base.c | 4 +-
12737 fs/proc/kcore.c | 34 +-
12738 fs/proc/meminfo.c | 2 +-
12739 fs/proc/nommu.c | 2 +-
12740 fs/proc/proc_sysctl.c | 26 +-
12741 fs/proc/task_mmu.c | 39 +-
12742 fs/proc/task_nommu.c | 4 +-
12743 fs/proc/vmcore.c | 16 +-
12744 fs/qnx6/qnx6.h | 4 +-
12745 fs/quota/netlink.c | 4 +-
12746 fs/read_write.c | 2 +-
12747 fs/reiserfs/do_balan.c | 2 +-
12748 fs/reiserfs/procfs.c | 2 +-
12749 fs/reiserfs/reiserfs.h | 4 +-
12750 fs/seq_file.c | 4 +-
12751 fs/splice.c | 43 +-
12752 fs/squashfs/xattr.c | 12 +-
12753 fs/sysv/sysv.h | 2 +-
12754 fs/tracefs/inode.c | 8 +-
12755 fs/udf/misc.c | 2 +-
12756 fs/ufs/swab.h | 4 +-
12757 fs/userfaultfd.c | 2 +-
12758 fs/xattr.c | 21 +
12759 fs/xfs/libxfs/xfs_bmap.c | 2 +-
12760 fs/xfs/xfs_dir2_readdir.c | 7 +-
12761 fs/xfs/xfs_ioctl.c | 2 +-
12762 fs/xfs/xfs_linux.h | 4 +-
12763 include/asm-generic/4level-fixup.h | 2 +
12764 include/asm-generic/atomic-long.h | 156 +-
12765 include/asm-generic/atomic64.h | 12 +
12766 include/asm-generic/bitops/__fls.h | 2 +-
12767 include/asm-generic/bitops/fls.h | 2 +-
12768 include/asm-generic/bitops/fls64.h | 4 +-
12769 include/asm-generic/bug.h | 6 +-
12770 include/asm-generic/cache.h | 4 +-
12771 include/asm-generic/emergency-restart.h | 2 +-
12772 include/asm-generic/kmap_types.h | 4 +-
12773 include/asm-generic/local.h | 13 +
12774 include/asm-generic/pgtable-nopmd.h | 18 +-
12775 include/asm-generic/pgtable-nopud.h | 15 +-
12776 include/asm-generic/pgtable.h | 16 +
12777 include/asm-generic/sections.h | 1 +
12778 include/asm-generic/uaccess.h | 16 +
12779 include/asm-generic/vmlinux.lds.h | 15 +-
12780 include/crypto/algapi.h | 2 +-
12781 include/drm/drmP.h | 16 +-
12782 include/drm/drm_crtc_helper.h | 2 +-
12783 include/drm/drm_mm.h | 2 +-
12784 include/drm/i915_pciids.h | 2 +-
12785 include/drm/intel-gtt.h | 4 +-
12786 include/drm/ttm/ttm_memory.h | 2 +-
12787 include/drm/ttm/ttm_page_alloc.h | 1 +
12788 include/keys/asymmetric-subtype.h | 2 +-
12789 include/linux/atmdev.h | 4 +-
12790 include/linux/atomic.h | 17 +-
12791 include/linux/audit.h | 2 +-
12792 include/linux/average.h | 2 +-
12793 include/linux/binfmts.h | 3 +-
12794 include/linux/bitmap.h | 2 +-
12795 include/linux/bitops.h | 8 +-
12796 include/linux/blkdev.h | 2 +-
12797 include/linux/blktrace_api.h | 2 +-
12798 include/linux/cache.h | 8 +
12799 include/linux/cdrom.h | 1 -
12800 include/linux/cleancache.h | 2 +-
12801 include/linux/clk-provider.h | 1 +
12802 include/linux/compat.h | 6 +-
12803 include/linux/compiler-gcc.h | 28 +-
12804 include/linux/compiler.h | 157 +-
12805 include/linux/configfs.h | 2 +-
12806 include/linux/cpufreq.h | 3 +-
12807 include/linux/cpuidle.h | 5 +-
12808 include/linux/cpumask.h | 14 +-
12809 include/linux/crypto.h | 4 +-
12810 include/linux/ctype.h | 2 +-
12811 include/linux/dcache.h | 4 +-
12812 include/linux/decompress/mm.h | 2 +-
12813 include/linux/devfreq.h | 2 +-
12814 include/linux/device.h | 7 +-
12815 include/linux/dma-mapping.h | 2 +-
12816 include/linux/efi.h | 1 +
12817 include/linux/elf.h | 2 +
12818 include/linux/err.h | 4 +-
12819 include/linux/extcon.h | 2 +-
12820 include/linux/fb.h | 3 +-
12821 include/linux/fdtable.h | 2 +-
12822 include/linux/fs.h | 5 +-
12823 include/linux/fs_struct.h | 2 +-
12824 include/linux/fscache-cache.h | 2 +-
12825 include/linux/fscache.h | 2 +-
12826 include/linux/fsnotify.h | 2 +-
12827 include/linux/genhd.h | 4 +-
12828 include/linux/genl_magic_func.h | 2 +-
12829 include/linux/gfp.h | 12 +-
12830 include/linux/highmem.h | 12 +
12831 include/linux/hwmon-sysfs.h | 6 +-
12832 include/linux/i2c.h | 1 +
12833 include/linux/if_pppox.h | 2 +-
12834 include/linux/init.h | 12 +-
12835 include/linux/init_task.h | 7 +
12836 include/linux/interrupt.h | 6 +-
12837 include/linux/iommu.h | 2 +-
12838 include/linux/ioport.h | 2 +-
12839 include/linux/ipc.h | 2 +-
12840 include/linux/irq.h | 5 +-
12841 include/linux/irqdesc.h | 2 +-
12842 include/linux/irqdomain.h | 3 +
12843 include/linux/jiffies.h | 16 +-
12844 include/linux/key-type.h | 2 +-
12845 include/linux/kgdb.h | 6 +-
12846 include/linux/kmemleak.h | 4 +-
12847 include/linux/kobject.h | 3 +-
12848 include/linux/kobject_ns.h | 2 +-
12849 include/linux/kref.h | 2 +-
12850 include/linux/libata.h | 2 +-
12851 include/linux/linkage.h | 1 +
12852 include/linux/list.h | 15 +
12853 include/linux/lockref.h | 26 +-
12854 include/linux/math64.h | 10 +-
12855 include/linux/mempolicy.h | 7 +
12856 include/linux/mm.h | 102 +-
12857 include/linux/mm_types.h | 20 +
12858 include/linux/mmiotrace.h | 4 +-
12859 include/linux/mmzone.h | 2 +-
12860 include/linux/mod_devicetable.h | 4 +-
12861 include/linux/module.h | 69 +-
12862 include/linux/moduleloader.h | 16 +
12863 include/linux/moduleparam.h | 4 +-
12864 include/linux/net.h | 2 +-
12865 include/linux/netdevice.h | 7 +-
12866 include/linux/netfilter.h | 2 +-
12867 include/linux/netfilter/nfnetlink.h | 2 +-
12868 include/linux/nls.h | 4 +-
12869 include/linux/notifier.h | 3 +-
12870 include/linux/oprofile.h | 4 +-
12871 include/linux/padata.h | 2 +-
12872 include/linux/pci_hotplug.h | 3 +-
12873 include/linux/percpu.h | 2 +-
12874 include/linux/perf_event.h | 12 +-
12875 include/linux/pipe_fs_i.h | 8 +-
12876 include/linux/pm.h | 1 +
12877 include/linux/pm_domain.h | 4 +-
12878 include/linux/pm_runtime.h | 2 +-
12879 include/linux/pnp.h | 2 +-
12880 include/linux/poison.h | 4 +-
12881 include/linux/power/smartreflex.h | 2 +-
12882 include/linux/ppp-comp.h | 2 +-
12883 include/linux/preempt.h | 21 +
12884 include/linux/proc_ns.h | 2 +-
12885 include/linux/psci.h | 2 +-
12886 include/linux/quota.h | 2 +-
12887 include/linux/random.h | 19 +-
12888 include/linux/rculist.h | 16 +
12889 include/linux/reboot.h | 14 +-
12890 include/linux/regset.h | 3 +-
12891 include/linux/relay.h | 2 +-
12892 include/linux/rio.h | 2 +-
12893 include/linux/rmap.h | 4 +-
12894 include/linux/sched.h | 72 +-
12895 include/linux/sched/sysctl.h | 1 +
12896 include/linux/semaphore.h | 2 +-
12897 include/linux/seq_file.h | 1 +
12898 include/linux/signal.h | 2 +-
12899 include/linux/skbuff.h | 12 +-
12900 include/linux/slab.h | 47 +-
12901 include/linux/slab_def.h | 14 +-
12902 include/linux/slub_def.h | 2 +-
12903 include/linux/smp.h | 2 +
12904 include/linux/sock_diag.h | 2 +-
12905 include/linux/sonet.h | 2 +-
12906 include/linux/sunrpc/addr.h | 8 +-
12907 include/linux/sunrpc/clnt.h | 2 +-
12908 include/linux/sunrpc/svc.h | 2 +-
12909 include/linux/sunrpc/svc_rdma.h | 18 +-
12910 include/linux/sunrpc/svcauth.h | 2 +-
12911 include/linux/swapops.h | 10 +-
12912 include/linux/swiotlb.h | 3 +-
12913 include/linux/syscalls.h | 21 +-
12914 include/linux/syscore_ops.h | 2 +-
12915 include/linux/sysctl.h | 3 +-
12916 include/linux/sysfs.h | 9 +-
12917 include/linux/sysrq.h | 3 +-
12918 include/linux/tcp.h | 14 +-
12919 include/linux/thread_info.h | 7 +
12920 include/linux/tty.h | 4 +-
12921 include/linux/tty_driver.h | 2 +-
12922 include/linux/tty_ldisc.h | 2 +-
12923 include/linux/types.h | 16 +
12924 include/linux/uaccess.h | 6 +-
12925 include/linux/uio_driver.h | 2 +-
12926 include/linux/unaligned/access_ok.h | 24 +-
12927 include/linux/usb.h | 12 +-
12928 include/linux/usb/hcd.h | 1 +
12929 include/linux/usb/renesas_usbhs.h | 2 +-
12930 include/linux/vermagic.h | 21 +-
12931 include/linux/vga_switcheroo.h | 8 +-
12932 include/linux/vmalloc.h | 7 +-
12933 include/linux/vmstat.h | 24 +-
12934 include/linux/xattr.h | 5 +-
12935 include/linux/zlib.h | 3 +-
12936 include/media/v4l2-dev.h | 2 +-
12937 include/media/v4l2-device.h | 2 +-
12938 include/net/9p/transport.h | 2 +-
12939 include/net/bluetooth/l2cap.h | 2 +-
12940 include/net/bonding.h | 2 +-
12941 include/net/caif/cfctrl.h | 6 +-
12942 include/net/flow.h | 2 +-
12943 include/net/genetlink.h | 2 +-
12944 include/net/gro_cells.h | 2 +-
12945 include/net/inet_connection_sock.h | 2 +-
12946 include/net/inet_sock.h | 2 +-
12947 include/net/inetpeer.h | 2 +-
12948 include/net/ip_fib.h | 2 +-
12949 include/net/ip_vs.h | 8 +-
12950 include/net/ipv6.h | 2 +-
12951 include/net/irda/ircomm_tty.h | 1 +
12952 include/net/iucv/af_iucv.h | 2 +-
12953 include/net/llc_c_ac.h | 2 +-
12954 include/net/llc_c_ev.h | 4 +-
12955 include/net/llc_c_st.h | 2 +-
12956 include/net/llc_s_ac.h | 2 +-
12957 include/net/llc_s_st.h | 2 +-
12958 include/net/mac80211.h | 4 +-
12959 include/net/neighbour.h | 2 +-
12960 include/net/net_namespace.h | 18 +-
12961 include/net/netlink.h | 2 +-
12962 include/net/netns/conntrack.h | 6 +-
12963 include/net/netns/ipv4.h | 4 +-
12964 include/net/netns/ipv6.h | 4 +-
12965 include/net/netns/xfrm.h | 2 +-
12966 include/net/ping.h | 2 +-
12967 include/net/protocol.h | 4 +-
12968 include/net/rtnetlink.h | 2 +-
12969 include/net/sctp/checksum.h | 4 +-
12970 include/net/sctp/sm.h | 4 +-
12971 include/net/sctp/structs.h | 2 +-
12972 include/net/sock.h | 12 +-
12973 include/net/tcp.h | 8 +-
12974 include/net/xfrm.h | 13 +-
12975 include/rdma/iw_cm.h | 2 +-
12976 include/scsi/libfc.h | 3 +-
12977 include/scsi/scsi_device.h | 6 +-
12978 include/scsi/scsi_driver.h | 2 +-
12979 include/scsi/scsi_transport_fc.h | 3 +-
12980 include/scsi/sg.h | 2 +-
12981 include/sound/compress_driver.h | 2 +-
12982 include/sound/soc.h | 4 +-
12983 include/trace/events/irq.h | 4 +-
12984 include/uapi/linux/a.out.h | 8 +
12985 include/uapi/linux/bcache.h | 5 +-
12986 include/uapi/linux/byteorder/little_endian.h | 28 +-
12987 include/uapi/linux/connector.h | 2 +-
12988 include/uapi/linux/elf.h | 28 +
12989 include/uapi/linux/screen_info.h | 3 +-
12990 include/uapi/linux/swab.h | 6 +-
12991 include/uapi/linux/xattr.h | 4 +
12992 include/video/udlfb.h | 8 +-
12993 include/video/uvesafb.h | 1 +
12994 init/Kconfig | 2 +-
12995 init/Makefile | 3 +
12996 init/do_mounts.c | 14 +-
12997 init/do_mounts.h | 8 +-
12998 init/do_mounts_initrd.c | 30 +-
12999 init/do_mounts_md.c | 6 +-
13000 init/init_task.c | 4 +
13001 init/initramfs.c | 38 +-
13002 init/main.c | 30 +-
13003 ipc/compat.c | 4 +-
13004 ipc/ipc_sysctl.c | 8 +-
13005 ipc/mq_sysctl.c | 4 +-
13006 ipc/sem.c | 4 +-
13007 ipc/shm.c | 6 +
13008 kernel/audit.c | 8 +-
13009 kernel/auditsc.c | 4 +-
13010 kernel/bpf/core.c | 7 +-
13011 kernel/capability.c | 3 +
13012 kernel/compat.c | 38 +-
13013 kernel/debug/debug_core.c | 16 +-
13014 kernel/debug/kdb/kdb_main.c | 4 +-
13015 kernel/events/core.c | 26 +-
13016 kernel/events/internal.h | 10 +-
13017 kernel/events/uprobes.c | 2 +-
13018 kernel/exit.c | 2 +-
13019 kernel/fork.c | 167 +-
13020 kernel/futex.c | 11 +-
13021 kernel/futex_compat.c | 2 +-
13022 kernel/gcov/base.c | 7 +-
13023 kernel/irq/manage.c | 2 +-
13024 kernel/irq/msi.c | 19 +-
13025 kernel/irq/spurious.c | 2 +-
13026 kernel/jump_label.c | 5 +
13027 kernel/kallsyms.c | 37 +-
13028 kernel/kexec.c | 3 +-
13029 kernel/kmod.c | 8 +-
13030 kernel/kprobes.c | 4 +-
13031 kernel/ksysfs.c | 2 +-
13032 kernel/locking/lockdep.c | 7 +-
13033 kernel/locking/mutex-debug.c | 12 +-
13034 kernel/locking/mutex-debug.h | 4 +-
13035 kernel/locking/mutex.c | 6 +-
13036 kernel/module.c | 422 +-
13037 kernel/notifier.c | 17 +-
13038 kernel/padata.c | 4 +-
13039 kernel/panic.c | 5 +-
13040 kernel/pid.c | 2 +-
13041 kernel/pid_namespace.c | 2 +-
13042 kernel/power/process.c | 12 +-
13043 kernel/profile.c | 14 +-
13044 kernel/ptrace.c | 8 +-
13045 kernel/rcu/rcutorture.c | 60 +-
13046 kernel/rcu/tiny.c | 4 +-
13047 kernel/rcu/tree.c | 44 +-
13048 kernel/rcu/tree.h | 14 +-
13049 kernel/rcu/tree_plugin.h | 14 +-
13050 kernel/rcu/tree_trace.c | 12 +-
13051 kernel/sched/auto_group.c | 4 +-
13052 kernel/sched/core.c | 45 +-
13053 kernel/sched/fair.c | 2 +-
13054 kernel/sched/sched.h | 2 +-
13055 kernel/signal.c | 12 +-
13056 kernel/smpboot.c | 4 +-
13057 kernel/softirq.c | 12 +-
13058 kernel/sys.c | 10 +-
13059 kernel/sysctl.c | 34 +-
13060 kernel/time/alarmtimer.c | 2 +-
13061 kernel/time/posix-cpu-timers.c | 4 +-
13062 kernel/time/posix-timers.c | 24 +-
13063 kernel/time/timer.c | 2 +-
13064 kernel/time/timer_stats.c | 10 +-
13065 kernel/trace/blktrace.c | 6 +-
13066 kernel/trace/ftrace.c | 15 +-
13067 kernel/trace/ring_buffer.c | 96 +-
13068 kernel/trace/trace.c | 2 +-
13069 kernel/trace/trace.h | 2 +-
13070 kernel/trace/trace_clock.c | 4 +-
13071 kernel/trace/trace_events.c | 1 -
13072 kernel/trace/trace_functions_graph.c | 4 +-
13073 kernel/trace/trace_mmiotrace.c | 8 +-
13074 kernel/trace/trace_output.c | 10 +-
13075 kernel/trace/trace_seq.c | 2 +-
13076 kernel/trace/trace_stack.c | 2 +-
13077 kernel/user_namespace.c | 2 +-
13078 kernel/utsname_sysctl.c | 2 +-
13079 kernel/watchdog.c | 2 +-
13080 kernel/workqueue.c | 2 +-
13081 lib/Kconfig.debug | 8 +-
13082 lib/Makefile | 2 +-
13083 lib/bitmap.c | 8 +-
13084 lib/bug.c | 2 +
13085 lib/debugobjects.c | 2 +-
13086 lib/decompress_bunzip2.c | 3 +-
13087 lib/decompress_unlzma.c | 4 +-
13088 lib/div64.c | 4 +-
13089 lib/dma-debug.c | 4 +-
13090 lib/inflate.c | 2 +-
13091 lib/ioremap.c | 4 +-
13092 lib/kobject.c | 4 +-
13093 lib/list_debug.c | 126 +-
13094 lib/lockref.c | 44 +-
13095 lib/percpu-refcount.c | 2 +-
13096 lib/radix-tree.c | 2 +-
13097 lib/random32.c | 2 +-
13098 lib/show_mem.c | 2 +-
13099 lib/strncpy_from_user.c | 2 +-
13100 lib/strnlen_user.c | 2 +-
13101 lib/swiotlb.c | 2 +-
13102 lib/usercopy.c | 6 +
13103 lib/vsprintf.c | 12 +-
13104 mm/Kconfig | 6 +-
13105 mm/backing-dev.c | 4 +-
13106 mm/debug.c | 3 +
13107 mm/filemap.c | 2 +-
13108 mm/gup.c | 13 +-
13109 mm/highmem.c | 6 +-
13110 mm/hugetlb.c | 70 +-
13111 mm/internal.h | 1 +
13112 mm/maccess.c | 4 +-
13113 mm/madvise.c | 37 +
13114 mm/memory-failure.c | 6 +-
13115 mm/memory.c | 424 +-
13116 mm/mempolicy.c | 25 +
13117 mm/mlock.c | 15 +-
13118 mm/mm_init.c | 2 +-
13119 mm/mmap.c | 582 +-
13120 mm/mprotect.c | 137 +-
13121 mm/mremap.c | 39 +-
13122 mm/nommu.c | 21 +-
13123 mm/page-writeback.c | 2 +-
13124 mm/page_alloc.c | 49 +-
13125 mm/percpu.c | 2 +-
13126 mm/process_vm_access.c | 14 +-
13127 mm/rmap.c | 45 +-
13128 mm/shmem.c | 19 +-
13129 mm/slab.c | 109 +-
13130 mm/slab.h | 22 +-
13131 mm/slab_common.c | 86 +-
13132 mm/slob.c | 218 +-
13133 mm/slub.c | 102 +-
13134 mm/sparse-vmemmap.c | 4 +-
13135 mm/sparse.c | 2 +-
13136 mm/swap.c | 2 +
13137 mm/swapfile.c | 12 +-
13138 mm/util.c | 6 +
13139 mm/vmalloc.c | 114 +-
13140 mm/vmstat.c | 12 +-
13141 net/8021q/vlan.c | 5 +-
13142 net/8021q/vlan_netlink.c | 2 +-
13143 net/9p/mod.c | 4 +-
13144 net/9p/trans_fd.c | 2 +-
13145 net/atm/atm_misc.c | 8 +-
13146 net/atm/lec.h | 2 +-
13147 net/atm/proc.c | 6 +-
13148 net/atm/resources.c | 4 +-
13149 net/ax25/sysctl_net_ax25.c | 2 +-
13150 net/batman-adv/bat_iv_ogm.c | 8 +-
13151 net/batman-adv/fragmentation.c | 2 +-
13152 net/batman-adv/soft-interface.c | 8 +-
13153 net/batman-adv/types.h | 6 +-
13154 net/bluetooth/hci_sock.c | 2 +-
13155 net/bluetooth/l2cap_core.c | 6 +-
13156 net/bluetooth/l2cap_sock.c | 12 +-
13157 net/bluetooth/rfcomm/sock.c | 4 +-
13158 net/bluetooth/rfcomm/tty.c | 4 +-
13159 net/bridge/br_netlink.c | 2 +-
13160 net/bridge/netfilter/ebtables.c | 6 +-
13161 net/caif/cfctrl.c | 11 +-
13162 net/caif/chnl_net.c | 2 +-
13163 net/can/af_can.c | 2 +-
13164 net/can/gw.c | 6 +-
13165 net/ceph/messenger.c | 4 +-
13166 net/compat.c | 24 +-
13167 net/core/datagram.c | 2 +-
13168 net/core/dev.c | 16 +-
13169 net/core/filter.c | 2 +-
13170 net/core/flow.c | 6 +-
13171 net/core/neighbour.c | 4 +-
13172 net/core/net-sysfs.c | 2 +-
13173 net/core/net_namespace.c | 8 +-
13174 net/core/netpoll.c | 4 +-
13175 net/core/rtnetlink.c | 15 +-
13176 net/core/scm.c | 14 +-
13177 net/core/skbuff.c | 8 +-
13178 net/core/sock.c | 28 +-
13179 net/core/sock_diag.c | 15 +-
13180 net/core/sysctl_net_core.c | 22 +-
13181 net/decnet/af_decnet.c | 1 +
13182 net/decnet/sysctl_net_decnet.c | 4 +-
13183 net/dsa/dsa.c | 2 +-
13184 net/hsr/hsr_netlink.c | 2 +-
13185 net/ieee802154/6lowpan/core.c | 2 +-
13186 net/ieee802154/6lowpan/reassembly.c | 14 +-
13187 net/ipv4/af_inet.c | 2 +-
13188 net/ipv4/devinet.c | 18 +-
13189 net/ipv4/fib_frontend.c | 6 +-
13190 net/ipv4/fib_semantics.c | 2 +-
13191 net/ipv4/inet_connection_sock.c | 4 +-
13192 net/ipv4/inet_timewait_sock.c | 2 +-
13193 net/ipv4/inetpeer.c | 2 +-
13194 net/ipv4/ip_fragment.c | 15 +-
13195 net/ipv4/ip_gre.c | 6 +-
13196 net/ipv4/ip_sockglue.c | 2 +-
13197 net/ipv4/ip_vti.c | 4 +-
13198 net/ipv4/ipconfig.c | 6 +-
13199 net/ipv4/ipip.c | 4 +-
13200 net/ipv4/netfilter/arp_tables.c | 12 +-
13201 net/ipv4/netfilter/ip_tables.c | 12 +-
13202 net/ipv4/ping.c | 14 +-
13203 net/ipv4/raw.c | 14 +-
13204 net/ipv4/route.c | 32 +-
13205 net/ipv4/sysctl_net_ipv4.c | 22 +-
13206 net/ipv4/tcp_input.c | 6 +-
13207 net/ipv4/tcp_probe.c | 2 +-
13208 net/ipv4/udp.c | 10 +-
13209 net/ipv4/xfrm4_policy.c | 18 +-
13210 net/ipv6/addrconf.c | 18 +-
13211 net/ipv6/af_inet6.c | 2 +-
13212 net/ipv6/datagram.c | 2 +-
13213 net/ipv6/icmp.c | 2 +-
13214 net/ipv6/ip6_fib.c | 4 +-
13215 net/ipv6/ip6_gre.c | 10 +-
13216 net/ipv6/ip6_tunnel.c | 4 +-
13217 net/ipv6/ip6_vti.c | 4 +-
13218 net/ipv6/ipv6_sockglue.c | 2 +-
13219 net/ipv6/netfilter/ip6_tables.c | 12 +-
13220 net/ipv6/netfilter/nf_conntrack_reasm.c | 14 +-
13221 net/ipv6/ping.c | 33 +-
13222 net/ipv6/raw.c | 17 +-
13223 net/ipv6/reassembly.c | 13 +-
13224 net/ipv6/route.c | 2 +-
13225 net/ipv6/sit.c | 4 +-
13226 net/ipv6/sysctl_net_ipv6.c | 2 +-
13227 net/ipv6/udp.c | 6 +-
13228 net/ipv6/xfrm6_policy.c | 17 +-
13229 net/irda/ircomm/ircomm_tty.c | 18 +-
13230 net/iucv/af_iucv.c | 4 +-
13231 net/iucv/iucv.c | 2 +-
13232 net/key/af_key.c | 4 +-
13233 net/l2tp/l2tp_eth.c | 38 +-
13234 net/l2tp/l2tp_ip.c | 2 +-
13235 net/l2tp/l2tp_ip6.c | 2 +-
13236 net/mac80211/cfg.c | 8 +-
13237 net/mac80211/ieee80211_i.h | 3 +-
13238 net/mac80211/iface.c | 20 +-
13239 net/mac80211/main.c | 2 +-
13240 net/mac80211/pm.c | 4 +-
13241 net/mac80211/rate.c | 2 +-
13242 net/mac80211/sta_info.c | 2 +-
13243 net/mac80211/util.c | 8 +-
13244 net/mpls/af_mpls.c | 6 +-
13245 net/netfilter/ipset/ip_set_core.c | 2 +-
13246 net/netfilter/ipvs/ip_vs_conn.c | 6 +-
13247 net/netfilter/ipvs/ip_vs_core.c | 4 +-
13248 net/netfilter/ipvs/ip_vs_ctl.c | 14 +-
13249 net/netfilter/ipvs/ip_vs_lblc.c | 2 +-
13250 net/netfilter/ipvs/ip_vs_lblcr.c | 2 +-
13251 net/netfilter/ipvs/ip_vs_sync.c | 6 +-
13252 net/netfilter/ipvs/ip_vs_xmit.c | 4 +-
13253 net/netfilter/nf_conntrack_acct.c | 2 +-
13254 net/netfilter/nf_conntrack_ecache.c | 2 +-
13255 net/netfilter/nf_conntrack_helper.c | 2 +-
13256 net/netfilter/nf_conntrack_proto.c | 2 +-
13257 net/netfilter/nf_conntrack_standalone.c | 2 +-
13258 net/netfilter/nf_conntrack_timestamp.c | 2 +-
13259 net/netfilter/nf_log.c | 10 +-
13260 net/netfilter/nf_sockopt.c | 4 +-
13261 net/netfilter/nfnetlink_log.c | 4 +-
13262 net/netfilter/nft_compat.c | 9 +-
13263 net/netfilter/xt_statistic.c | 8 +-
13264 net/netlink/af_netlink.c | 4 +-
13265 net/openvswitch/vport-internal_dev.c | 2 +-
13266 net/packet/af_packet.c | 8 +-
13267 net/phonet/pep.c | 6 +-
13268 net/phonet/socket.c | 2 +-
13269 net/phonet/sysctl.c | 2 +-
13270 net/rds/cong.c | 6 +-
13271 net/rds/ib.h | 2 +-
13272 net/rds/ib_cm.c | 2 +-
13273 net/rds/ib_recv.c | 4 +-
13274 net/rds/iw.h | 2 +-
13275 net/rds/iw_cm.c | 2 +-
13276 net/rds/iw_recv.c | 4 +-
13277 net/rds/rds.h | 2 +-
13278 net/rds/tcp.c | 2 +-
13279 net/rds/tcp_send.c | 2 +-
13280 net/rxrpc/af_rxrpc.c | 2 +-
13281 net/rxrpc/ar-ack.c | 14 +-
13282 net/rxrpc/ar-call.c | 2 +-
13283 net/rxrpc/ar-connection.c | 2 +-
13284 net/rxrpc/ar-connevent.c | 2 +-
13285 net/rxrpc/ar-input.c | 4 +-
13286 net/rxrpc/ar-internal.h | 8 +-
13287 net/rxrpc/ar-local.c | 2 +-
13288 net/rxrpc/ar-output.c | 4 +-
13289 net/rxrpc/ar-peer.c | 2 +-
13290 net/rxrpc/ar-proc.c | 4 +-
13291 net/rxrpc/ar-transport.c | 2 +-
13292 net/rxrpc/rxkad.c | 4 +-
13293 net/sched/sch_generic.c | 4 +-
13294 net/sctp/ipv6.c | 6 +-
13295 net/sctp/protocol.c | 10 +-
13296 net/sctp/sm_sideeffect.c | 2 +-
13297 net/sctp/socket.c | 21 +-
13298 net/sctp/sysctl.c | 10 +-
13299 net/socket.c | 18 +-
13300 net/sunrpc/auth_gss/svcauth_gss.c | 4 +-
13301 net/sunrpc/clnt.c | 4 +-
13302 net/sunrpc/sched.c | 4 +-
13303 net/sunrpc/svc.c | 4 +-
13304 net/sunrpc/svcauth_unix.c | 2 +-
13305 net/sunrpc/xprtrdma/svc_rdma.c | 38 +-
13306 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 8 +-
13307 net/sunrpc/xprtrdma/svc_rdma_sendto.c | 2 +-
13308 net/sunrpc/xprtrdma/svc_rdma_transport.c | 10 +-
13309 net/tipc/netlink_compat.c | 12 +-
13310 net/tipc/subscr.c | 2 +-
13311 net/unix/af_unix.c | 7 +-
13312 net/unix/sysctl_net_unix.c | 2 +-
13313 net/wireless/wext-core.c | 19 +-
13314 net/xfrm/xfrm_policy.c | 16 +-
13315 net/xfrm/xfrm_state.c | 33 +-
13316 net/xfrm/xfrm_sysctl.c | 2 +-
13317 scripts/Kbuild.include | 2 +-
13318 scripts/Makefile.build | 2 +-
13319 scripts/Makefile.clean | 3 +-
13320 scripts/Makefile.host | 69 +-
13321 scripts/basic/fixdep.c | 12 +-
13322 scripts/dtc/checks.c | 14 +-
13323 scripts/dtc/data.c | 6 +-
13324 scripts/dtc/flattree.c | 8 +-
13325 scripts/dtc/livetree.c | 4 +-
13326 scripts/gcc-plugin.sh | 51 +
13327 scripts/headers_install.sh | 1 +
13328 scripts/kallsyms.c | 4 +-
13329 scripts/kconfig/lkc.h | 5 +-
13330 scripts/kconfig/menu.c | 2 +-
13331 scripts/kconfig/symbol.c | 6 +-
13332 scripts/link-vmlinux.sh | 2 +-
13333 scripts/mod/file2alias.c | 14 +-
13334 scripts/mod/modpost.c | 25 +-
13335 scripts/mod/modpost.h | 6 +-
13336 scripts/mod/sumversion.c | 2 +-
13337 scripts/module-common.lds | 4 +
13338 scripts/package/builddeb | 1 +
13339 scripts/pnmtologo.c | 6 +-
13340 scripts/sortextable.h | 6 +-
13341 scripts/tags.sh | 2 +-
13342 security/Kconfig | 692 +-
13343 security/integrity/ima/ima.h | 4 +-
13344 security/integrity/ima/ima_api.c | 2 +-
13345 security/integrity/ima/ima_fs.c | 4 +-
13346 security/integrity/ima/ima_queue.c | 2 +-
13347 security/keys/key.c | 18 +-
13348 security/selinux/avc.c | 6 +-
13349 security/selinux/include/xfrm.h | 2 +-
13350 security/yama/yama_lsm.c | 2 +-
13351 sound/aoa/codecs/onyx.c | 7 +-
13352 sound/aoa/codecs/onyx.h | 1 +
13353 sound/core/oss/pcm_oss.c | 18 +-
13354 sound/core/pcm_compat.c | 2 +-
13355 sound/core/pcm_native.c | 4 +-
13356 sound/core/sound.c | 2 +-
13357 sound/drivers/mts64.c | 14 +-
13358 sound/drivers/opl4/opl4_lib.c | 2 +-
13359 sound/drivers/portman2x4.c | 3 +-
13360 sound/firewire/amdtp.c | 4 +-
13361 sound/firewire/amdtp.h | 4 +-
13362 sound/firewire/isight.c | 10 +-
13363 sound/firewire/scs1x.c | 8 +-
13364 sound/oss/sb_audio.c | 2 +-
13365 sound/oss/swarm_cs4297a.c | 6 +-
13366 sound/pci/hda/hda_codec.c | 2 +-
13367 sound/pci/ymfpci/ymfpci.h | 2 +-
13368 sound/pci/ymfpci/ymfpci_main.c | 12 +-
13369 sound/soc/codecs/sti-sas.c | 10 +-
13370 sound/soc/soc-ac97.c | 6 +-
13371 sound/soc/xtensa/xtfpga-i2s.c | 2 +-
13372 tools/gcc/Makefile | 42 +
13373 tools/gcc/checker_plugin.c | 150 +
13374 tools/gcc/colorize_plugin.c | 215 +
13375 tools/gcc/constify_plugin.c | 571 +
13376 tools/gcc/gcc-common.h | 812 +
13377 tools/gcc/initify_plugin.c | 552 +
13378 tools/gcc/kallocstat_plugin.c | 188 +
13379 tools/gcc/kernexec_plugin.c | 549 +
13380 tools/gcc/latent_entropy_plugin.c | 470 +
13381 tools/gcc/size_overflow_plugin/.gitignore | 2 +
13382 tools/gcc/size_overflow_plugin/Makefile | 28 +
13383 .../disable_size_overflow_hash.data |12422 ++++++++++++
13384 .../generate_size_overflow_hash.sh | 103 +
13385 .../insert_size_overflow_asm.c | 416 +
13386 .../size_overflow_plugin/intentional_overflow.c | 1010 +
13387 .../size_overflow_plugin/remove_unnecessary_dup.c | 137 +
13388 tools/gcc/size_overflow_plugin/size_overflow.h | 323 +
13389 .../gcc/size_overflow_plugin/size_overflow_debug.c | 194 +
13390 .../size_overflow_plugin/size_overflow_hash.data |20735 ++++++++++++++++++++
13391 .../size_overflow_hash_aux.data | 92 +
13392 tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 1226 ++
13393 .../gcc/size_overflow_plugin/size_overflow_misc.c | 505 +
13394 .../size_overflow_plugin/size_overflow_plugin.c | 318 +
13395 .../size_overflow_plugin_hash.c | 352 +
13396 .../size_overflow_plugin/size_overflow_transform.c | 749 +
13397 .../size_overflow_transform_core.c | 1010 +
13398 tools/gcc/stackleak_plugin.c | 436 +
13399 tools/gcc/structleak_plugin.c | 287 +
13400 tools/include/linux/compiler.h | 8 +
13401 tools/lib/api/Makefile | 2 +-
13402 tools/perf/util/include/asm/alternative-asm.h | 3 +
13403 tools/virtio/linux/uaccess.h | 2 +-
13404 virt/kvm/kvm_main.c | 42 +-
13405 1944 files changed, 66925 insertions(+), 8949 deletions(-)
13406 commit 87790bbd0d8dc2bd7fd86cb947e32886db9e9766
13407 Author: Matthew Wilcox <willy@linux.intel.com>
13408 Date: Tue Feb 2 16:57:52 2016 -0800
13409
13410 radix-tree: fix race in gang lookup
13411
13412 If the indirect_ptr bit is set on a slot, that indicates we need to redo
13413 the lookup. Introduce a new function radix_tree_iter_retry() which
13414 forces the loop to retry the lookup by setting 'slot' to NULL and
13415 turning the iterator back to point at the problematic entry.
13416
13417 This is a pretty rare problem to hit at the moment; the lookup has to
13418 race with a grow of the radix tree from a height of 0. The consequences
13419 of hitting this race are that gang lookup could return a pointer to a
13420 radix_tree_node instead of a pointer to whatever the user had inserted
13421 in the tree.
13422
13423 Fixes: cebbd29e1c2f ("radix-tree: rewrite gang lookup using iterator")
13424 Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
13425 Cc: Hugh Dickins <hughd@google.com>
13426 Cc: Ohad Ben-Cohen <ohad@wizery.com>
13427 Cc: Konstantin Khlebnikov <khlebnikov@openvz.org>
13428 Cc: <stable@vger.kernel.org>
13429 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
13430 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
13431
13432 include/linux/radix-tree.h | 16 ++++++++++++++++
13433 lib/radix-tree.c | 12 ++++++++++--
13434 2 files changed, 26 insertions(+), 2 deletions(-)
13435
13436 commit bf628043b4589c910919a0f221ae7f42aa8cea93
13437 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
13438 Date: Wed Feb 3 02:11:03 2016 +0100
13439
13440 unix: correctly track in-flight fds in sending process user_struct
13441
13442 The commit referenced in the Fixes tag incorrectly accounted the number
13443 of in-flight fds over a unix domain socket to the original opener
13444 of the file-descriptor. This allows another process to arbitrary
13445 deplete the original file-openers resource limit for the maximum of
13446 open files. Instead the sending processes and its struct cred should
13447 be credited.
13448
13449 To do so, we add a reference counted struct user_struct pointer to the
13450 scm_fp_list and use it to account for the number of inflight unix fds.
13451
13452 Fixes: 712f4aad406bb1 ("unix: properly account for FDs passed over unix sockets")
13453 Reported-by: David Herrmann <dh.herrmann@gmail.com>
13454 Cc: David Herrmann <dh.herrmann@gmail.com>
13455 Cc: Willy Tarreau <w@1wt.eu>
13456 Cc: Linus Torvalds <torvalds@linux-foundation.org>
13457 Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
13458 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
13459 Signed-off-by: David S. Miller <davem@davemloft.net>
13460
13461 include/net/af_unix.h | 4 ++--
13462 include/net/scm.h | 1 +
13463 net/core/scm.c | 7 +++++++
13464 net/unix/af_unix.c | 4 ++--
13465 net/unix/garbage.c | 8 ++++----
13466 5 files changed, 16 insertions(+), 8 deletions(-)
13467
13468 commit e830db443ff78d70b7b63536e688d73907face0c
13469 Author: Mike Kravetz <mike.kravetz@oracle.com>
13470 Date: Fri Jan 15 16:57:37 2016 -0800
13471
13472 fs/hugetlbfs/inode.c: fix bugs in hugetlb_vmtruncate_list()
13473
13474 Hillf Danton noticed bugs in the hugetlb_vmtruncate_list routine. The
13475 argument end is of type pgoff_t. It was being converted to a vaddr
13476 offset and passed to unmap_hugepage_range. However, end was also being
13477 used as an argument to the vma_interval_tree_foreach controlling loop.
13478 In addition, the conversion of end to vaddr offset was incorrect.
13479
13480 hugetlb_vmtruncate_list is called as part of a file truncate or
13481 fallocate hole punch operation.
13482
13483 When truncating a hugetlbfs file, this bug could prevent some pages from
13484 being unmapped. This is possible if there are multiple vmas mapping the
13485 file, and there is a sufficiently sized hole between the mappings. The
13486 size of the hole between two vmas (A,B) must be such that the starting
13487 virtual address of B is greater than (ending virtual address of A <<
13488 PAGE_SHIFT). In this case, the pages in B would not be unmapped. If
13489 pages are not properly unmapped during truncate, the following BUG is
13490 hit:
13491
13492 kernel BUG at fs/hugetlbfs/inode.c:428!
13493
13494 In the fallocate hole punch case, this bug could prevent pages from
13495 being unmapped as in the truncate case. However, for hole punch the
13496 result is that unmapped pages will not be removed during the operation.
13497 For hole punch, it is also possible that more pages than desired will be
13498 unmapped. This unnecessary unmapping will cause page faults to
13499 reestablish the mappings on subsequent page access.
13500
13501 Fixes: 1bfad99ab (" hugetlbfs: hugetlb_vmtruncate_list() needs to take a range")Reported-by: Hillf Danton <hillf.zj@alibaba-inc.com>
13502 Signed-off-by: Mike Kravetz <mike.kravetz@oracle.com>
13503 Cc: Hugh Dickins <hughd@google.com>
13504 Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
13505 Cc: Davidlohr Bueso <dave@stgolabs.net>
13506 Cc: Dave Hansen <dave.hansen@linux.intel.com>
13507 Cc: <stable@vger.kernel.org> [4.3]
13508 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
13509 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
13510
13511 fs/hugetlbfs/inode.c | 19 +++++++++++--------
13512 1 files changed, 11 insertions(+), 8 deletions(-)
13513
13514 commit cdb3ba4a9113b779347387f3b6c6ea72dd4db12f
13515 Author: Takashi Iwai <tiwai@suse.de>
13516 Date: Thu Feb 4 17:06:13 2016 +0100
13517
13518 ALSA: timer: Fix leftover link at closing
13519
13520 In ALSA timer core, the active timer instance is managed in
13521 active_list linked list. Each element is added / removed dynamically
13522 at timer start, stop and in timer interrupt. The problem is that
13523 snd_timer_interrupt() has a thinko and leaves the element in
13524 active_list when it's the last opened element. This eventually leads
13525 to list corruption or use-after-free error.
13526
13527 This hasn't been revealed because we used to delete the list forcibly
13528 in snd_timer_stop() in the past. However, the recent fix avoids the
13529 double-stop behavior (in commit [f784beb75ce8: ALSA: timer: Fix link
13530 corruption due to double start or stop]), and this leak hits reality.
13531
13532 This patch fixes the link management in snd_timer_interrupt(). Now it
13533 simply unlinks no matter which stream is.
13534
13535 BugLink: http://lkml.kernel.org/r/CACT4Y+Yy2aukHP-EDp8-ziNqNNmb-NTf=jDWXMP7jB8HDa2vng@mail.gmail.com
13536 Reported-by: Dmitry Vyukov <dvyukov@google.com>
13537 Cc: <stable@vger.kernel.org>
13538 Signed-off-by: Takashi Iwai <tiwai@suse.de>
13539
13540 sound/core/timer.c | 4 ++--
13541 1 files changed, 2 insertions(+), 2 deletions(-)
13542
13543 commit 47d9647902f6a2f46a2be1e0140ba0f6f8c06008
13544 Author: Konstantin Khlebnikov <koct9i@gmail.com>
13545 Date: Fri Feb 5 15:37:01 2016 -0800
13546
13547 radix-tree: fix oops after radix_tree_iter_retry
13548
13549 Helper radix_tree_iter_retry() resets next_index to the current index.
13550 In following radix_tree_next_slot current chunk size becomes zero. This
13551 isn't checked and it tries to dereference null pointer in slot.
13552
13553 Tagged iterator is fine because retry happens only at slot 0 where tag
13554 bitmask in iter->tags is filled with single bit.
13555
13556 Fixes: 46437f9a554f ("radix-tree: fix race in gang lookup")
13557 Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com>
13558 Cc: Matthew Wilcox <willy@linux.intel.com>
13559 Cc: Hugh Dickins <hughd@google.com>
13560 Cc: Ohad Ben-Cohen <ohad@wizery.com>
13561 Cc: Jeremiah Mahler <jmmahler@gmail.com>
13562 Cc: <stable@vger.kernel.org>
13563 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
13564 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
13565
13566 include/linux/radix-tree.h | 6 +++---
13567 1 files changed, 3 insertions(+), 3 deletions(-)
13568
13569 commit 95b5dcb3c01958502af00b0bc0da1d906aae11a2
13570 Merge: 438be0b 256aeaf
13571 Author: Brad Spengler <spender@grsecurity.net>
13572 Date: Sun Feb 7 08:29:33 2016 -0500
13573
13574 Merge branch 'pax-test' into grsec-test
13575
13576 commit 256aeaf87c22de8edf1f03682a572c590ae07771
13577 Author: Brad Spengler <spender@grsecurity.net>
13578 Date: Sun Feb 7 08:29:09 2016 -0500
13579
13580 Update to pax-linux-4.3.5-test28.patch:
13581 - fixed an integer truncation bug in numa_clear_kernel_node_hotplug caught by the size overflow plugin, reported by x14sg1 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4374)
13582 - spender fixed UDEREF on arm
13583
13584 arch/arm/Kconfig | 1 +
13585 arch/arm/include/asm/domain.h | 21 ++++++++-
13586 arch/arm/include/asm/futex.h | 9 ----
13587 arch/arm/include/asm/thread_info.h | 3 +
13588 arch/arm/include/asm/uaccess.h | 81 +++++++++++++++---------------------
13589 arch/arm/kernel/entry-armv.S | 2 +-
13590 arch/arm/kernel/process.c | 2 +-
13591 arch/arm/mm/alignment.c | 8 ----
13592 arch/x86/mm/numa.c | 2 +-
13593 security/Kconfig | 1 -
13594 10 files changed, 60 insertions(+), 70 deletions(-)
13595
13596 commit 438be0bd112bd17942b2628c53054dc1007558a1
13597 Author: Brad Spengler <spender@grsecurity.net>
13598 Date: Sat Feb 6 19:50:31 2016 -0500
13599
13600 Fix a number of issues caused by the upstream merging of a UDEREF ripoff resulting in unbootable
13601 ARM systems reported on the forums
13602
13603 arch/arm/Kconfig | 1 +
13604 arch/arm/include/asm/domain.h | 21 ++++++++-
13605 arch/arm/include/asm/futex.h | 9 ----
13606 arch/arm/include/asm/thread_info.h | 3 +
13607 arch/arm/include/asm/uaccess.h | 81 +++++++++++++++---------------------
13608 arch/arm/kernel/entry-armv.S | 2 +-
13609 arch/arm/kernel/process.c | 2 +-
13610 arch/arm/mm/alignment.c | 8 ----
13611 security/Kconfig | 1 -
13612 9 files changed, 59 insertions(+), 69 deletions(-)
13613
13614 commit 4ffdd5ef1f87e611af1efb4f251ada92abe9f4c0
13615 Author: Brad Spengler <spender@grsecurity.net>
13616 Date: Sat Feb 6 11:21:53 2016 -0500
13617
13618 Fix another compiler warning
13619
13620 net/ipv4/tcp_input.c | 2 ++
13621 1 files changed, 2 insertions(+), 0 deletions(-)
13622
13623 commit 30b5b7bc0fd67d458bdd5ab35e4689769eabd2ed
13624 Author: Brad Spengler <spender@grsecurity.net>
13625 Date: Sat Feb 6 11:16:12 2016 -0500
13626
13627 Fix two compiler warnings
13628
13629 kernel/pid.c | 5 ++---
13630 kernel/ptrace.c | 3 ++-
13631 2 files changed, 4 insertions(+), 4 deletions(-)
13632
13633 commit dda4d2a21914c480750f10bd55c6e3203d415d8d
13634 Author: Brad Spengler <spender@grsecurity.net>
13635 Date: Wed Feb 3 21:22:40 2016 -0500
13636
13637 Apply fix for integer truncation in NUMA init code, reported by
13638 x14sg1 on the forums:
13639 https://forums.grsecurity.net/viewtopic.php?f=3&t=4374
13640
13641 arch/x86/mm/numa.c | 2 +-
13642 1 files changed, 1 insertions(+), 1 deletions(-)
13643
13644 commit 477505f7c893cb6a2c3e22f83eefd9c985d7b3ca
13645 Merge: a781740 016d0d8
13646 Author: Brad Spengler <spender@grsecurity.net>
13647 Date: Wed Feb 3 21:20:58 2016 -0500
13648
13649 Merge branch 'pax-test' into grsec-test
13650
13651 commit 016d0d81a8dd4be1304c82a68e0ccf425868f467
13652 Author: Brad Spengler <spender@grsecurity.net>
13653 Date: Wed Feb 3 21:20:10 2016 -0500
13654
13655 Update to pax-linux-4.3.5-test27.patch:
13656 - fixed a bunch of potential REFCOUNT false positives, reported by Emese
13657 - restored padding in fpregs_state for storing AVX-512 state in the future
13658 - constified netlink_dump_control
13659 - added const version of debug_gimple_stmt for gcc plugins, by Emese
13660 - Emese fixed a bug in initify that could have initified too much
13661 - Emese fixed a false positive intentional integer overflow in xfrm4_extract_header, reported by corsac
13662
13663 arch/x86/include/asm/fpu/types.h | 1 +
13664 arch/x86/include/asm/mmu_context.h | 2 +-
13665 block/blk-cgroup.c | 18 ++--
13666 block/cfq-iosched.c | 4 +-
13667 crypto/crypto_user.c | 8 ++-
13668 drivers/acpi/apei/ghes.c | 6 +-
13669 drivers/char/ipmi/ipmi_ssif.c | 12 ++--
13670 drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 2 +-
13671 drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | 2 +-
13672 drivers/gpu/drm/amd/scheduler/sched_fence.c | 2 +-
13673 drivers/infiniband/core/netlink.c | 5 +-
13674 drivers/infiniband/hw/cxgb4/device.c | 6 +-
13675 drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 2 +-
13676 drivers/md/bcache/alloc.c | 2 +-
13677 drivers/md/bcache/bcache.h | 10 +-
13678 drivers/md/bcache/btree.c | 2 +-
13679 drivers/md/bcache/io.c | 10 +-
13680 drivers/md/bcache/journal.c | 2 +-
13681 drivers/md/bcache/stats.c | 26 +++---
13682 drivers/md/bcache/stats.h | 16 ++--
13683 drivers/md/bcache/super.c | 2 +-
13684 drivers/md/bcache/sysfs.c | 20 +++---
13685 drivers/md/dm-cache-target.c | 98 ++++++++++++------------
13686 drivers/md/dm-raid.c | 2 +-
13687 drivers/md/md.c | 6 +-
13688 drivers/md/md.h | 2 +-
13689 drivers/md/raid1.c | 2 +-
13690 drivers/md/raid10.c | 2 +-
13691 drivers/md/raid5.c | 4 +-
13692 drivers/media/pci/zoran/zoran.h | 1 -
13693 drivers/media/pci/zoran/zoran_driver.c | 3 -
13694 drivers/net/ethernet/sfc/selftest.c | 20 +++---
13695 drivers/net/irda/vlsi_ir.c | 18 ++--
13696 drivers/net/irda/vlsi_ir.h | 14 ++--
13697 drivers/net/wireless/ath/carl9170/carl9170.h | 6 +-
13698 drivers/net/wireless/ath/carl9170/debug.c | 6 +-
13699 drivers/net/wireless/ath/carl9170/main.c | 10 +-
13700 drivers/net/wireless/ath/carl9170/tx.c | 4 +-
13701 drivers/net/wireless/iwlwifi/mvm/d3.c | 4 +-
13702 drivers/net/wireless/iwlwifi/mvm/tx.c | 2 +-
13703 drivers/scsi/hptiop.c | 2 -
13704 drivers/scsi/hptiop.h | 1 -
13705 drivers/scsi/ipr.c | 6 +-
13706 drivers/scsi/ipr.h | 2 +-
13707 drivers/scsi/qla2xxx/qla_target.c | 10 +-
13708 drivers/scsi/qla2xxx/qla_target.h | 2 +-
13709 fs/btrfs/ctree.c | 2 +-
13710 fs/btrfs/ctree.h | 4 +-
13711 fs/btrfs/delayed-ref.c | 4 +-
13712 fs/btrfs/disk-io.c | 4 +-
13713 fs/btrfs/file.c | 4 +-
13714 fs/btrfs/raid56.c | 32 ++++----
13715 fs/btrfs/tests/btrfs-tests.c | 2 +-
13716 fs/btrfs/transaction.c | 2 +-
13717 fs/btrfs/tree-log.c | 8 +-
13718 fs/btrfs/volumes.c | 14 ++--
13719 fs/btrfs/volumes.h | 22 +++---
13720 fs/jbd2/commit.c | 2 +-
13721 fs/jbd2/transaction.c | 4 +-
13722 fs/ocfs2/dlm/dlmcommon.h | 4 +-
13723 fs/ocfs2/dlm/dlmdebug.c | 10 +-
13724 fs/ocfs2/dlm/dlmdomain.c | 4 +-
13725 fs/ocfs2/dlm/dlmmaster.c | 4 +-
13726 include/acpi/ghes.h | 2 +-
13727 include/linux/blk-cgroup.h | 24 +++---
13728 include/linux/jbd2.h | 2 +-
13729 include/linux/netlink.h | 12 ++--
13730 include/net/cfg802154.h | 2 +-
13731 include/net/mac80211.h | 2 +-
13732 include/net/neighbour.h | 2 +-
13733 kernel/rcu/tree_plugin.h | 4 +-
13734 net/batman-adv/routing.c | 4 +-
13735 net/batman-adv/soft-interface.c | 2 +-
13736 net/batman-adv/translation-table.c | 14 ++--
13737 net/batman-adv/types.h | 2 +-
13738 net/core/neighbour.c | 14 ++--
13739 net/core/rtnetlink.c | 2 +-
13740 net/ipv4/arp.c | 2 +-
13741 net/ipv4/inet_diag.c | 4 +-
13742 net/ipv4/xfrm4_state.c | 4 +-
13743 net/ipv6/ndisc.c | 2 +-
13744 net/mac80211/cfg.c | 2 +-
13745 net/mac80211/debugfs_key.c | 2 +-
13746 net/mac80211/key.c | 4 +-
13747 net/mac80211/tx.c | 2 +-
13748 net/mac80211/wpa.c | 10 +-
13749 net/mac802154/iface.c | 4 +-
13750 net/netfilter/ipset/ip_set_core.c | 2 +-
13751 net/netfilter/nf_conntrack_netlink.c | 22 +++---
13752 net/netfilter/nf_tables_api.c | 13 ++--
13753 net/netfilter/nfnetlink_acct.c | 7 +-
13754 net/netfilter/nfnetlink_cthelper.c | 2 +-
13755 net/netfilter/nfnetlink_cttimeout.c | 2 +-
13756 net/netlink/af_netlink.c | 10 ++-
13757 net/netlink/diag.c | 2 +-
13758 net/netlink/genetlink.c | 14 ++--
13759 net/packet/af_packet.c | 18 ++--
13760 net/packet/diag.c | 2 +-
13761 net/packet/internal.h | 6 +-
13762 net/unix/diag.c | 2 +-
13763 net/xfrm/xfrm_user.c | 2 +-
13764 security/apparmor/include/policy.h | 2 +-
13765 security/apparmor/policy.c | 4 +-
13766 sound/core/seq/seq_clientmgr.c | 2 +-
13767 sound/core/seq/seq_fifo.c | 6 +-
13768 sound/core/seq/seq_fifo.h | 2 +-
13769 tools/gcc/gcc-common.h | 24 ++++--
13770 tools/gcc/initify_plugin.c | 7 +-
13771 tools/lib/api/Makefile | 2 +-
13772 109 files changed, 399 insertions(+), 391 deletions(-)
13773
13774 commit a7817402ac837b1aee07fac42537a02097055098
13775 Author: Matt Fleming <matt@codeblueprint.co.uk>
13776 Date: Fri Jan 29 11:36:10 2016 +0000
13777
13778 x86/mm/pat: Avoid truncation when converting cpa->numpages to address
13779
13780 There are a couple of nasty truncation bugs lurking in the pageattr
13781 code that can be triggered when mapping EFI regions, e.g. when we pass
13782 a cpa->pgd pointer. Because cpa->numpages is a 32-bit value, shifting
13783 left by PAGE_SHIFT will truncate the resultant address to 32-bits.
13784
13785 Viorel-Cătălin managed to trigger this bug on his Dell machine that
13786 provides a ~5GB EFI region which requires 1236992 pages to be mapped.
13787 When calling populate_pud() the end of the region gets calculated
13788 incorrectly in the following buggy expression,
13789
13790 end = start + (cpa->numpages << PAGE_SHIFT);
13791
13792 And only 188416 pages are mapped. Next, populate_pud() gets invoked
13793 for a second time because of the loop in __change_page_attr_set_clr(),
13794 only this time no pages get mapped because shifting the remaining
13795 number of pages (1048576) by PAGE_SHIFT is zero. At which point the
13796 loop in __change_page_attr_set_clr() spins forever because we fail to
13797 map progress.
13798
13799 Hitting this bug depends very much on the virtual address we pick to
13800 map the large region at and how many pages we map on the initial run
13801 through the loop. This explains why this issue was only recently hit
13802 with the introduction of commit
13803
13804 a5caa209ba9c ("x86/efi: Fix boot crash by mapping EFI memmap
13805 entries bottom-up at runtime, instead of top-down")
13806
13807 It's interesting to note that safe uses of cpa->numpages do exist in
13808 the pageattr code. If instead of shifting ->numpages we multiply by
13809 PAGE_SIZE, no truncation occurs because PAGE_SIZE is a UL value, and
13810 so the result is unsigned long.
13811
13812 To avoid surprises when users try to convert very large cpa->numpages
13813 values to addresses, change the data type from 'int' to 'unsigned
13814 long', thereby making it suitable for shifting by PAGE_SHIFT without
13815 any type casting.
13816
13817 The alternative would be to make liberal use of casting, but that is
13818 far more likely to cause problems in the future when someone adds more
13819 code and fails to cast properly; this bug was difficult enough to
13820 track down in the first place.
13821
13822 Reported-and-tested-by: Viorel-Cătălin Răpițeanu <rapiteanu.catalin@gmail.com>
13823 Acked-by: Borislav Petkov <bp@alien8.de>
13824 Cc: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
13825 Cc: <stable@vger.kernel.org>
13826 Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
13827 Link: https://bugzilla.kernel.org/show_bug.cgi?id=110131
13828 Link: http://lkml.kernel.org/r/1454067370-10374-1-git-send-email-matt@codeblueprint.co.uk
13829 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
13830
13831 arch/x86/mm/pageattr.c | 4 ++--
13832 1 files changed, 2 insertions(+), 2 deletions(-)
13833
13834 commit 64dd9d7a67a742fda257cdd16510c29e695c34b5
13835 Author: Jan Beulich <JBeulich@suse.com>
13836 Date: Tue Jan 26 04:15:18 2016 -0700
13837
13838 x86/mm: Fix types used in pgprot cacheability flags translations
13839
13840 For PAE kernels "unsigned long" is not suitable to hold page protection
13841 flags, since _PAGE_NX doesn't fit there. This is the reason for quite a
13842 few W+X pages getting reported as insecure during boot (observed namely
13843 for the entire initrd range).
13844
13845 Fixes: 281d4078be ("x86: Make page cache mode a real type")
13846 Signed-off-by: Jan Beulich <jbeulich@suse.com>
13847 Reviewed-by: Juergen Gross <JGross@suse.com>
13848 Cc: stable@vger.kernel.org
13849 Link: http://lkml.kernel.org/r/56A7635602000078000CAFF1@prv-mh.provo.novell.com
13850 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
13851
13852 arch/x86/include/asm/pgtable_types.h | 6 ++----
13853 1 files changed, 2 insertions(+), 4 deletions(-)
13854
13855 commit bb9a3a9df0d8dfc96d521676e64c42b37ba22aea
13856 Merge: 682d661 f74425b
13857 Author: Brad Spengler <spender@grsecurity.net>
13858 Date: Sun Jan 31 15:06:25 2016 -0500
13859
13860 Merge branch 'pax-test' into grsec-test
13861
13862 Conflicts:
13863 drivers/net/slip/slhc.c
13864 include/linux/sched.h
13865 net/unix/af_unix.c
13866 sound/core/timer.c
13867
13868 commit f74425b5705bfe52aff9e97659ef10c4a14176c3
13869 Merge: d14af1f 849a2d3
13870 Author: Brad Spengler <spender@grsecurity.net>
13871 Date: Sun Jan 31 15:02:55 2016 -0500
13872
13873 Merge branch 'linux-4.3.y' into pax-test
13874
13875 Conflicts:
13876 arch/x86/include/asm/mmu_context.h
13877
13878 commit 682d6611d75542e351c973c8dd74a99d3966c073
13879 Author: Brad Spengler <spender@grsecurity.net>
13880 Date: Sat Jan 30 13:05:03 2016 -0500
13881
13882 Based on a report from Mathias Krause, fix up a number of additional instances
13883 of ulong overflow when passing in values to gr_learn_resource by saturating
13884 to ULONG_MAX
13885
13886 mm/mlock.c | 11 ++++++++---
13887 mm/mmap.c | 16 +++++++++++++---
13888 2 files changed, 21 insertions(+), 6 deletions(-)
13889
13890 commit adb52e95fb9ad4ac9c56cd5d47bd668f47c33096
13891 Author: Jann Horn <jann@thejh.net>
13892 Date: Sat Dec 26 06:00:48 2015 +0100
13893
13894 seccomp: always propagate NO_NEW_PRIVS on tsync
13895
13896 Before this patch, a process with some permissive seccomp filter
13897 that was applied by root without NO_NEW_PRIVS was able to add
13898 more filters to itself without setting NO_NEW_PRIVS by setting
13899 the new filter from a throwaway thread with NO_NEW_PRIVS.
13900
13901 Signed-off-by: Jann Horn <jann@thejh.net>
13902 Cc: stable@vger.kernel.org
13903 Signed-off-by: Kees Cook <keescook@chromium.org>
13904
13905 kernel/seccomp.c | 22 +++++++++++-----------
13906 1 files changed, 11 insertions(+), 11 deletions(-)
13907
13908 commit b85450498a3bbf269441c8963d7574bb3079c838
13909 Merge: 59c216f d14af1f
13910 Author: Brad Spengler <spender@grsecurity.net>
13911 Date: Fri Jan 29 20:54:13 2016 -0500
13912
13913 Merge branch 'pax-test' into grsec-test
13914
13915 commit d14af1f1dd66511f3f0674deee2b572972012b39
13916 Author: Brad Spengler <spender@grsecurity.net>
13917 Date: Fri Jan 29 20:53:51 2016 -0500
13918
13919 Update to pax-linux-4.3.4-test26.patch:
13920 - Emese fixed a few intentional overflows introduced by gcc, reported by StalkR (https://forums.grsecurity.net/viewtopic.php?f=3&t=4370)
13921
13922 fs/cifs/file.c | 2 +-
13923 fs/gfs2/file.c | 2 +-
13924 .../size_overflow_plugin/intentional_overflow.c | 96 ++++++++++++++++++--
13925 tools/gcc/size_overflow_plugin/size_overflow.h | 2 +
13926 .../size_overflow_plugin/size_overflow_plugin.c | 4 +-
13927 .../size_overflow_plugin/size_overflow_transform.c | 6 +-
13928 .../size_overflow_transform_core.c | 5 +
13929 7 files changed, 102 insertions(+), 15 deletions(-)
13930
13931 commit 59c216f13587eacdd692386b7a403ae78ed84fb6
13932 Author: Brad Spengler <spender@grsecurity.net>
13933 Date: Wed Jan 27 17:57:21 2016 -0500
13934
13935 Fix a size_overflow report reported by Mathias Krause in our
13936 truncation of an loff_t to an unsigned long when being passed
13937 to gr_learn_resource() (as all resource checks are against unsigned long
13938 values)
13939
13940 fs/attr.c | 5 ++++-
13941 1 files changed, 4 insertions(+), 1 deletions(-)
13942
13943 commit 70636c6ad60fc1db3af764ecc789b827b7497a97
13944 Author: Yuchung Cheng <ycheng@google.com>
13945 Date: Wed Jan 6 12:42:38 2016 -0800
13946
13947 tcp: fix zero cwnd in tcp_cwnd_reduction
13948
13949 Patch 3759824da87b ("tcp: PRR uses CRB mode by default and SS mode
13950 conditionally") introduced a bug that cwnd may become 0 when both
13951 inflight and sndcnt are 0 (cwnd = inflight + sndcnt). This may lead
13952 to a div-by-zero if the connection starts another cwnd reduction
13953 phase by setting tp->prior_cwnd to the current cwnd (0) in
13954 tcp_init_cwnd_reduction().
13955
13956 To prevent this we skip PRR operation when nothing is acked or
13957 sacked. Then cwnd must be positive in all cases as long as ssthresh
13958 is positive:
13959
13960 1) The proportional reduction mode
13961 inflight > ssthresh > 0
13962
13963 2) The reduction bound mode
13964 a) inflight == ssthresh > 0
13965
13966 b) inflight < ssthresh
13967 sndcnt > 0 since newly_acked_sacked > 0 and inflight < ssthresh
13968
13969 Therefore in all cases inflight and sndcnt can not both be 0.
13970 We check invalid tp->prior_cwnd to avoid potential div0 bugs.
13971
13972 In reality this bug is triggered only with a sequence of less common
13973 events. For example, the connection is terminating an ECN-triggered
13974 cwnd reduction with an inflight 0, then it receives reordered/old
13975 ACKs or DSACKs from prior transmission (which acks nothing). Or the
13976 connection is in fast recovery stage that marks everything lost,
13977 but fails to retransmit due to local issues, then receives data
13978 packets from other end which acks nothing.
13979
13980 Fixes: 3759824da87b ("tcp: PRR uses CRB mode by default and SS mode conditionally")
13981 Reported-by: Oleksandr Natalenko <oleksandr@natalenko.name>
13982 Signed-off-by: Yuchung Cheng <ycheng@google.com>
13983 Signed-off-by: Neal Cardwell <ncardwell@google.com>
13984 Signed-off-by: Eric Dumazet <edumazet@google.com>
13985 Signed-off-by: David S. Miller <davem@davemloft.net>
13986
13987 net/ipv4/tcp_input.c | 3 +++
13988 1 files changed, 3 insertions(+), 0 deletions(-)
13989
13990 commit dac1da2bedbb43195d371c7a192cfeeb45683df0
13991 Author: Eric Dumazet <edumazet@google.com>
13992 Date: Sun Jan 24 13:53:50 2016 -0800
13993
13994 af_unix: fix struct pid memory leak
13995
13996 Dmitry reported a struct pid leak detected by a syzkaller program.
13997
13998 Bug happens in unix_stream_recvmsg() when we break the loop when a
13999 signal is pending, without properly releasing scm.
14000
14001 Fixes: b3ca9b02b007 ("net: fix multithreaded signal handling in unix recv routines")
14002 Reported-by: Dmitry Vyukov <dvyukov@google.com>
14003 Signed-off-by: Eric Dumazet <edumazet@google.com>
14004 Cc: Rainer Weikusat <rweikusat@mobileactivedefense.com>
14005 Signed-off-by: David S. Miller <davem@davemloft.net>
14006
14007 net/unix/af_unix.c | 1 +
14008 1 files changed, 1 insertions(+), 0 deletions(-)
14009
14010 commit 15cc47f127520d1ac0c1fe76d993c2c27f0f2571
14011 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
14012 Date: Fri Jan 22 01:39:43 2016 +0100
14013
14014 pptp: fix illegal memory access caused by multiple bind()s
14015
14016 Several times already this has been reported as kasan reports caused by
14017 syzkaller and trinity and people always looked at RCU races, but it is
14018 much more simple. :)
14019
14020 In case we bind a pptp socket multiple times, we simply add it to
14021 the callid_sock list but don't remove the old binding. Thus the old
14022 socket stays in the bucket with unused call_id indexes and doesn't get
14023 cleaned up. This causes various forms of kasan reports which were hard
14024 to pinpoint.
14025
14026 Simply don't allow multiple binds and correct error handling in
14027 pptp_bind. Also keep sk_state bits in place in pptp_connect.
14028
14029 Fixes: 00959ade36acad ("PPTP: PPP over IPv4 (Point-to-Point Tunneling Protocol)")
14030 Cc: Dmitry Kozlov <xeb@mail.ru>
14031 Cc: Sasha Levin <sasha.levin@oracle.com>
14032 Cc: Dmitry Vyukov <dvyukov@google.com>
14033 Reported-by: Dmitry Vyukov <dvyukov@google.com>
14034 Cc: Dave Jones <davej@codemonkey.org.uk>
14035 Reported-by: Dave Jones <davej@codemonkey.org.uk>
14036 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
14037 Signed-off-by: David S. Miller <davem@davemloft.net>
14038
14039 drivers/net/ppp/pptp.c | 34 ++++++++++++++++++++++++----------
14040 1 files changed, 24 insertions(+), 10 deletions(-)
14041
14042 commit e2b7b8c66851c85188fa6dab2d2b2a6c85bc7332
14043 Author: Brad Spengler <spender@grsecurity.net>
14044 Date: Tue Jan 26 18:17:10 2016 -0500
14045
14046 Add info about cpupower/powertop to GRKERNSEC_KMEM, was present on our
14047 wiki but was removed from the config help at some point
14048
14049 grsecurity/Kconfig | 3 +++
14050 1 files changed, 3 insertions(+), 0 deletions(-)
14051
14052 commit ce2e88efa000fc32bfcd84098f57c8ed8310fefc
14053 Author: Thomas Egerer <hakke_007@gmx.de>
14054 Date: Mon Jan 25 12:58:44 2016 +0100
14055
14056 ipv4+ipv6: Make INET*_ESP select CRYPTO_ECHAINIV
14057
14058 The ESP algorithms using CBC mode require echainiv. Hence INET*_ESP have
14059 to select CRYPTO_ECHAINIV in order to work properly. This solves the
14060 issues caused by a misconfiguration as described in [1].
14061 The original approach, patching crypto/Kconfig was turned down by
14062 Herbert Xu [2].
14063
14064 [1] https://lists.strongswan.org/pipermail/users/2015-December/009074.html
14065 [2] http://marc.info/?l=linux-crypto-vger&m=145224655809562&w=2
14066
14067 Signed-off-by: Thomas Egerer <hakke_007@gmx.de>
14068 Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
14069 Signed-off-by: David S. Miller <davem@davemloft.net>
14070
14071 net/ipv4/Kconfig | 1 +
14072 net/ipv6/Kconfig | 1 +
14073 2 files changed, 2 insertions(+), 0 deletions(-)
14074
14075 commit fca5a303155ea67d28aece0caf2b03ffc3b2668d
14076 Merge: 904114c 6339c1f
14077 Author: Brad Spengler <spender@grsecurity.net>
14078 Date: Tue Jan 26 18:08:40 2016 -0500
14079
14080 Merge branch 'pax-test' into grsec-test
14081
14082 commit 6339c1f9a9beafd417bf9f04d4b257e62aeb45b7
14083 Author: Brad Spengler <spender@grsecurity.net>
14084 Date: Tue Jan 26 18:07:51 2016 -0500
14085
14086 Update to pax-linux-4.3.4-test25.patch:
14087 - fixed incorrect handling of VM_DONTCOPY during fork that would trigger a consistency check in the vma mirroring logic, reported by Mathias Krause <minipli@googlemail.com>
14088 - fixed init_new_context on !MODIFY_LDT_SYSCALL configs, reported by tjh (https://forums.grsecurity.net/viewtopic.php?f=3&t=4368)
14089 - fixed a few REFCOUNT false positives in SNMP related statistics
14090
14091 arch/x86/Kconfig | 2 +-
14092 arch/x86/include/asm/mmu_context.h | 17 +++++++++++++++++
14093 include/net/snmp.h | 10 +++++-----
14094 kernel/fork.c | 11 +++++++++--
14095 net/ipv4/proc.c | 8 ++++----
14096 net/ipv6/addrconf.c | 4 ++--
14097 net/ipv6/proc.c | 10 +++++-----
14098 7 files changed, 43 insertions(+), 19 deletions(-)
14099
14100 commit 904114c2fce3fdff5d57e763da56a78960db4e19
14101 Author: Al Viro <viro@zeniv.linux.org.uk>
14102 Date: Fri Jan 22 18:08:52 2016 -0500
14103
14104 make sure that freeing shmem fast symlinks is RCU-delayed
14105
14106 Cc: stable@vger.kernel.org # v4.2+
14107 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
14108
14109 include/linux/shmem_fs.h | 5 +----
14110 mm/shmem.c | 9 ++++-----
14111 2 files changed, 5 insertions(+), 9 deletions(-)
14112
14113 commit ab86adee64312a2f827dd516cb199521327943ed
14114 Author: Sasha Levin <sasha.levin@oracle.com>
14115 Date: Mon Jan 18 19:23:51 2016 -0500
14116
14117 netfilter: nf_conntrack: use safer way to lock all buckets
14118
14119 When we need to lock all buckets in the connection hashtable we'd attempt to
14120 lock 1024 spinlocks, which is way more preemption levels than supported by
14121 the kernel. Furthermore, this behavior was hidden by checking if lockdep is
14122 enabled, and if it was - use only 8 buckets(!).
14123
14124 Fix this by using a global lock and synchronize all buckets on it when we
14125 need to lock them all. This is pretty heavyweight, but is only done when we
14126 need to resize the hashtable, and that doesn't happen often enough (or at all).
14127
14128 Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
14129 Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
14130 Reviewed-by: Florian Westphal <fw@strlen.de>
14131 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
14132
14133 Conflicts:
14134
14135 net/netfilter/nfnetlink_cttimeout.c
14136
14137 include/net/netfilter/nf_conntrack_core.h | 8 ++----
14138 net/netfilter/nf_conntrack_core.c | 38 +++++++++++++++++++++-------
14139 net/netfilter/nf_conntrack_helper.c | 2 +-
14140 net/netfilter/nf_conntrack_netlink.c | 2 +-
14141 4 files changed, 33 insertions(+), 17 deletions(-)
14142
14143 commit 37014723527225481c720484bb788a1a6358072f
14144 Author: Willy Tarreau <w@1wt.eu>
14145 Date: Mon Jan 18 16:36:09 2016 +0100
14146
14147 pipe: limit the per-user amount of pages allocated in pipes
14148
14149 On no-so-small systems, it is possible for a single process to cause an
14150 OOM condition by filling large pipes with data that are never read. A
14151 typical process filling 4000 pipes with 1 MB of data will use 4 GB of
14152 memory. On small systems it may be tricky to set the pipe max size to
14153 prevent this from happening.
14154
14155 This patch makes it possible to enforce a per-user soft limit above
14156 which new pipes will be limited to a single page, effectively limiting
14157 them to 4 kB each, as well as a hard limit above which no new pipes may
14158 be created for this user. This has the effect of protecting the system
14159 against memory abuse without hurting other users, and still allowing
14160 pipes to work correctly though with less data at once.
14161
14162 The limit are controlled by two new sysctls : pipe-user-pages-soft, and
14163 pipe-user-pages-hard. Both may be disabled by setting them to zero. The
14164 default soft limit allows the default number of FDs per process (1024)
14165 to create pipes of the default size (64kB), thus reaching a limit of 64MB
14166 before starting to create only smaller pipes. With 256 processes limited
14167 to 1024 FDs each, this results in 1024*64kB + (256*1024 - 1024) * 4kB =
14168 1084 MB of memory allocated for a user. The hard limit is disabled by
14169 default to avoid breaking existing applications that make intensive use
14170 of pipes (eg: for splicing).
14171
14172 Reported-by: socketpair@gmail.com
14173 Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
14174 Mitigates: CVE-2013-4312 (Linux 2.0+)
14175 Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
14176 Signed-off-by: Willy Tarreau <w@1wt.eu>
14177 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
14178
14179 Documentation/sysctl/fs.txt | 23 +++++++++++++++++++++
14180 fs/pipe.c | 47 +++++++++++++++++++++++++++++++++++++++++-
14181 include/linux/pipe_fs_i.h | 4 +++
14182 include/linux/sched.h | 1 +
14183 kernel/sysctl.c | 14 ++++++++++++
14184 5 files changed, 87 insertions(+), 2 deletions(-)
14185
14186 commit 51645fa198d194f746651dcfbc5f24a4cf8b9fb8
14187 Merge: 540f2af 7791ecb
14188 Author: Brad Spengler <spender@grsecurity.net>
14189 Date: Sat Jan 23 10:57:11 2016 -0500
14190
14191 Merge branch 'pax-test' into grsec-test
14192
14193 commit 7791ecb84f840343a5646236fd0d34e1fb450793
14194 Merge: 470069c 399588c
14195 Author: Brad Spengler <spender@grsecurity.net>
14196 Date: Sat Jan 23 10:56:47 2016 -0500
14197
14198 Merge branch 'linux-4.3.y' into pax-test
14199
14200 commit 540f2affebd42cdc26a699208ab4f1cb0cb75e33
14201 Author: Brad Spengler <spender@grsecurity.net>
14202 Date: Tue Jan 19 21:18:47 2016 -0500
14203
14204 Update size_overflow hash table
14205
14206 .../size_overflow_plugin/size_overflow_hash.data | 4 +++-
14207 1 files changed, 3 insertions(+), 1 deletions(-)
14208
14209 commit 7e649765626a28437f573f0fbe7a51a04615f041
14210 Author: Brad Spengler <spender@grsecurity.net>
14211 Date: Tue Jan 19 20:29:46 2016 -0500
14212
14213 Backport fix from: https://lkml.org/lkml/2015/12/13/187
14214
14215 fs/ext4/extents.c | 2 +-
14216 1 files changed, 1 insertions(+), 1 deletions(-)
14217
14218 commit 53b859cd0a5f5b6ad54fe0c879dfedaa3c5a3005
14219 Author: Jann Horn <jann@thejh.net>
14220 Date: Tue Jan 5 18:27:30 2016 +0100
14221
14222 compat_ioctl: don't call do_ioctl under set_fs(KERNEL_DS)
14223
14224 This replaces all code in fs/compat_ioctl.c that translated
14225 ioctl arguments into a in-kernel structure, then performed
14226 do_ioctl under set_fs(KERNEL_DS), with code that allocates
14227 data on the user stack and can call the VFS ioctl handler
14228 under USER_DS.
14229
14230 This is done as a hardening measure because the caller
14231 does not know what kind of ioctl handler will be invoked,
14232 only that no corresponding compat_ioctl handler exists and
14233 what the ioctl command number is. The accidental
14234 invocation of an unlocked_ioctl handler that unexpectedly
14235 calls copy_to_user could be a severe security issue.
14236
14237 Signed-off-by: Jann Horn <jann@thejh.net>
14238 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
14239
14240 Conflicts:
14241
14242 fs/compat_ioctl.c
14243
14244 fs/compat_ioctl.c | 130 ++++++++++++++++++++++++++++-------------------------
14245 1 files changed, 68 insertions(+), 62 deletions(-)
14246
14247 commit 3e89e770ae27e931cd1583f021abac41eeebc3e7
14248 Author: Al Viro <viro@zeniv.linux.org.uk>
14249 Date: Thu Jan 7 09:53:30 2016 -0500
14250
14251 compat_ioctl: don't pass fd around when not needed
14252
14253 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
14254
14255 fs/compat_ioctl.c | 103 ++++++++++++++++++++++++++--------------------------
14256 fs/internal.h | 7 ++++
14257 fs/ioctl.c | 4 +-
14258 include/linux/fs.h | 2 -
14259 4 files changed, 61 insertions(+), 55 deletions(-)
14260
14261 commit 9d4e04082752d4d2d68445c4e6faf33a2613df55
14262 Author: Jann Horn <jann@thejh.net>
14263 Date: Tue Jan 5 18:27:29 2016 +0100
14264
14265 compat_ioctl: don't look up the fd twice
14266
14267 In code in fs/compat_ioctl.c that translates ioctl arguments
14268 into a in-kernel structure, then performs sys_ioctl, possibly
14269 under set_fs(KERNEL_DS), this commit changes the sys_ioctl
14270 calls to do_ioctl calls. do_ioctl is a new function that does
14271 the same thing as sys_ioctl, but doesn't look up the fd again.
14272
14273 This change is made to avoid (potential) security issues
14274 because of ioctl handlers that accept one of the ioctl
14275 commands I2C_FUNCS, VIDEO_GET_EVENT, MTIOCPOS, MTIOCGET,
14276 TIOCGSERIAL, TIOCSSERIAL, RTC_IRQP_READ, RTC_EPOCH_READ.
14277 This can happen for multiple reasons:
14278
14279 - The ioctl command number could be reused.
14280 - The ioctl handler might not check the full ioctl
14281 command. This is e.g. true for drm_ioctl.
14282 - The ioctl handler is very special, e.g. cuse_file_ioctl
14283
14284 The real issue is that set_fs(KERNEL_DS) is used here,
14285 but that's fixed in a separate commit
14286 "compat_ioctl: don't call do_ioctl under set_fs(KERNEL_DS)".
14287
14288 This change mitigates potential security issues by
14289 preventing a race that permits invocation of
14290 unlocked_ioctl handlers under KERNEL_DS through compat
14291 code even if a corresponding compat_ioctl handler exists.
14292
14293 So far, no way has been identified to use this to damage
14294 kernel memory without having CAP_SYS_ADMIN in the init ns
14295 (with the capability, doing reads/writes at arbitrary
14296 kernel addresses should be easy through CUSE's ioctl
14297 handler with FUSE_IOCTL_UNRESTRICTED set).
14298
14299 [AV: two missed sys_ioctl() taken care of]
14300
14301 Signed-off-by: Jann Horn <jann@thejh.net>
14302 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
14303
14304 fs/compat_ioctl.c | 122 +++++++++++++++++++++++++++++-----------------------
14305 1 files changed, 68 insertions(+), 54 deletions(-)
14306
14307 commit 5bf9e1ed4ebb278cd956ba142914fc04a024309c
14308 Author: Vasily Kulikov <segoon@openwall.com>
14309 Date: Fri Jan 15 16:57:55 2016 -0800
14310
14311 include/linux/poison.h: use POISON_POINTER_DELTA for poison pointers
14312
14313 TIMER_ENTRY_STATIC is defined as a poison pointers which
14314 should point to nowhere. Redefine them using POISON_POINTER_DELTA
14315 arithmetics to make sure they really point to non-mappable area declared
14316 by the target architecture.
14317
14318 Signed-off-by: Vasily Kulikov <segoon@openwall.com>
14319 Acked-by: Thomas Gleixner <tglx@linutronix.de>
14320 Cc: Solar Designer <solar@openwall.com>
14321 Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
14322 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
14323 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
14324
14325 Conflicts:
14326
14327 include/linux/poison.h
14328
14329 include/linux/poison.h | 2 +-
14330 1 files changed, 1 insertions(+), 1 deletions(-)
14331
14332 commit 60f2e0a05ab8f56c804a9334a23e2b446305d110
14333 Author: Brad Spengler <spender@grsecurity.net>
14334 Date: Tue Jan 19 19:41:44 2016 -0500
14335
14336 Fix ARM compilation, reported by Austin Sepp
14337
14338 grsecurity/grsec_sig.c | 1 +
14339 1 files changed, 1 insertions(+), 0 deletions(-)
14340
14341 commit e15383743443dc43460a2fd73e0db0b608610dca
14342 Author: Takashi Iwai <tiwai@suse.de>
14343 Date: Mon Jan 18 13:52:47 2016 +0100
14344
14345 ALSA: hrtimer: Fix stall by hrtimer_cancel()
14346
14347 hrtimer_cancel() waits for the completion from the callback, thus it
14348 must not be called inside the callback itself. This was already a
14349 problem in the past with ALSA hrtimer driver, and the early commit
14350 [fcfdebe70759: ALSA: hrtimer - Fix lock-up] tried to address it.
14351
14352 However, the previous fix is still insufficient: it may still cause a
14353 lockup when the ALSA timer instance reprograms itself in its callback.
14354 Then it invokes the start function even in snd_timer_interrupt() that
14355 is called in hrtimer callback itself, results in a CPU stall. This is
14356 no hypothetical problem but actually triggered by syzkaller fuzzer.
14357
14358 This patch tries to fix the issue again. Now we call
14359 hrtimer_try_to_cancel() at both start and stop functions so that it
14360 won't fall into a deadlock, yet giving some chance to cancel the queue
14361 if the functions have been called outside the callback. The proper
14362 hrtimer_cancel() is called in anyway at closing, so this should be
14363 enough.
14364
14365 Reported-and-tested-by: Dmitry Vyukov <dvyukov@google.com>
14366 Cc: <stable@vger.kernel.org>
14367 Signed-off-by: Takashi Iwai <tiwai@suse.de>
14368
14369 sound/core/hrtimer.c | 3 ++-
14370 1 files changed, 2 insertions(+), 1 deletions(-)
14371
14372 commit 12d874daf706e6e7c1ae709141859c809599297e
14373 Author: Takashi Iwai <tiwai@suse.de>
14374 Date: Tue Jan 12 12:38:02 2016 +0100
14375
14376 ALSA: seq: Fix missing NULL check at remove_events ioctl
14377
14378 snd_seq_ioctl_remove_events() calls snd_seq_fifo_clear()
14379 unconditionally even if there is no FIFO assigned, and this leads to
14380 an Oops due to NULL dereference. The fix is just to add a proper NULL
14381 check.
14382
14383 Reported-by: Dmitry Vyukov <dvyukov@google.com>
14384 Tested-by: Dmitry Vyukov <dvyukov@google.com>
14385 Cc: <stable@vger.kernel.org>
14386 Signed-off-by: Takashi Iwai <tiwai@suse.de>
14387
14388 sound/core/seq/seq_clientmgr.c | 2 +-
14389 1 files changed, 1 insertions(+), 1 deletions(-)
14390
14391 commit 2eb0632df1351378946507e7ef7ba0682632a7b5
14392 Author: Takashi Iwai <tiwai@suse.de>
14393 Date: Tue Jan 12 15:36:27 2016 +0100
14394
14395 ALSA: seq: Fix race at timer setup and close
14396
14397 ALSA sequencer code has an open race between the timer setup ioctl and
14398 the close of the client. This was triggered by syzkaller fuzzer, and
14399 a use-after-free was caught there as a result.
14400
14401 This patch papers over it by adding a proper queue->timer_mutex lock
14402 around the timer-related calls in the relevant code path.
14403
14404 Reported-by: Dmitry Vyukov <dvyukov@google.com>
14405 Tested-by: Dmitry Vyukov <dvyukov@google.com>
14406 Cc: <stable@vger.kernel.org>
14407 Signed-off-by: Takashi Iwai <tiwai@suse.de>
14408
14409 sound/core/seq/seq_queue.c | 2 ++
14410 1 files changed, 2 insertions(+), 0 deletions(-)
14411
14412 commit b9e55ab955e59b4a636d78a748be90334a48b485
14413 Author: Takashi Iwai <tiwai@suse.de>
14414 Date: Thu Jan 14 16:30:58 2016 +0100
14415
14416 ALSA: timer: Harden slave timer list handling
14417
14418 A slave timer instance might be still accessible in a racy way while
14419 operating the master instance as it lacks of locking. Since the
14420 master operation is mostly protected with timer->lock, we should cope
14421 with it while changing the slave instance, too. Also, some linked
14422 lists (active_list and ack_list) of slave instances aren't unlinked
14423 immediately at stopping or closing, and this may lead to unexpected
14424 accesses.
14425
14426 This patch tries to address these issues. It adds spin lock of
14427 timer->lock (either from master or slave, which is equivalent) in a
14428 few places. For avoiding a deadlock, we ensure that the global
14429 slave_active_lock is always locked at first before each timer lock.
14430
14431 Also, ack and active_list of slave instances are properly unlinked at
14432 snd_timer_stop() and snd_timer_close().
14433
14434 Last but not least, remove the superfluous call of _snd_timer_stop()
14435 at removing slave links. This is a noop, and calling it may confuse
14436 readers wrt locking. Further cleanup will follow in a later patch.
14437
14438 Actually we've got reports of use-after-free by syzkaller fuzzer, and
14439 this hopefully fixes these issues.
14440
14441 Reported-by: Dmitry Vyukov <dvyukov@google.com>
14442 Cc: <stable@vger.kernel.org>
14443 Signed-off-by: Takashi Iwai <tiwai@suse.de>
14444
14445 sound/core/timer.c | 18 ++++++++++++++----
14446 1 files changed, 14 insertions(+), 4 deletions(-)
14447
14448 commit f1ce0547bdfda1b42ae8a66c222f2a897cbe1586
14449 Author: Takashi Iwai <tiwai@suse.de>
14450 Date: Wed Jan 13 17:48:01 2016 +0100
14451
14452 ALSA: timer: Fix race among timer ioctls
14453
14454 ALSA timer ioctls have an open race and this may lead to a
14455 use-after-free of timer instance object. A simplistic fix is to make
14456 each ioctl exclusive. We have already tread_sem for controlling the
14457 tread, and extend this as a global mutex to be applied to each ioctl.
14458
14459 The downside is, of course, the worse concurrency. But these ioctls
14460 aren't to be parallel accessible, in anyway, so it should be fine to
14461 serialize there.
14462
14463 Reported-by: Dmitry Vyukov <dvyukov@google.com>
14464 Tested-by: Dmitry Vyukov <dvyukov@google.com>
14465 Cc: <stable@vger.kernel.org>
14466 Signed-off-by: Takashi Iwai <tiwai@suse.de>
14467
14468 sound/core/timer.c | 32 +++++++++++++++++++-------------
14469 1 files changed, 19 insertions(+), 13 deletions(-)
14470
14471 commit 8347d8461ed48a98f9c76cc3cfcdad8217d314bc
14472 Author: Takashi Iwai <tiwai@suse.de>
14473 Date: Wed Jan 13 21:35:06 2016 +0100
14474
14475 ALSA: timer: Fix double unlink of active_list
14476
14477 ALSA timer instance object has a couple of linked lists and they are
14478 unlinked unconditionally at snd_timer_stop(). Meanwhile
14479 snd_timer_interrupt() unlinks it, but it calls list_del() which leaves
14480 the element list itself unchanged. This ends up with unlinking twice,
14481 and it was caught by syzkaller fuzzer.
14482
14483 The fix is to use list_del_init() variant properly there, too.
14484
14485 Reported-by: Dmitry Vyukov <dvyukov@google.com>
14486 Tested-by: Dmitry Vyukov <dvyukov@google.com>
14487 Cc: <stable@vger.kernel.org>
14488 Signed-off-by: Takashi Iwai <tiwai@suse.de>
14489
14490 sound/core/timer.c | 2 +-
14491 1 files changed, 1 insertions(+), 1 deletions(-)
14492
14493 commit 243aebb7ae71d6e11ea9880faa893d1d0d60cd75
14494 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
14495 Date: Mon Jan 18 18:03:48 2016 +0100
14496
14497 ovs: limit ovs recursions in ovs_execute_actions to not corrupt stack
14498
14499 It was seen that defective configurations of openvswitch could overwrite
14500 the STACK_END_MAGIC and cause a hard crash of the kernel because of too
14501 many recursions within ovs.
14502
14503 This problem arises due to the high stack usage of openvswitch. The rest
14504 of the kernel is fine with the current limit of 10 (RECURSION_LIMIT).
14505
14506 We use the already existing recursion counter in ovs_execute_actions to
14507 implement an upper bound of 5 recursions.
14508
14509 Cc: Pravin Shelar <pshelar@ovn.org>
14510 Cc: Simon Horman <simon.horman@netronome.com>
14511 Cc: Eric Dumazet <eric.dumazet@gmail.com>
14512 Cc: Simon Horman <simon.horman@netronome.com>
14513 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
14514 Signed-off-by: David S. Miller <davem@davemloft.net>
14515
14516 net/openvswitch/actions.c | 19 ++++++++++++++-----
14517 1 files changed, 14 insertions(+), 5 deletions(-)
14518
14519 commit 8080793479c6d5befe37a67b1dbd9e4e0a61af96
14520 Author: Ursula Braun <ursula.braun@de.ibm.com>
14521 Date: Tue Jan 19 10:41:33 2016 +0100
14522
14523 af_iucv: Validate socket address length in iucv_sock_bind()
14524
14525 Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
14526 Reported-by: Dmitry Vyukov <dvyukov@google.com>
14527 Reviewed-by: Evgeny Cherkashin <Eugene.Crosser@ru.ibm.com>
14528 Signed-off-by: David S. Miller <davem@davemloft.net>
14529
14530 net/iucv/af_iucv.c | 3 +++
14531 1 files changed, 3 insertions(+), 0 deletions(-)
14532
14533 commit 50a383c1c91ed7409c3cbdd41e662d6891463d1b
14534 Author: Brad Spengler <spender@grsecurity.net>
14535 Date: Tue Jan 19 19:32:54 2016 -0500
14536
14537 Apply the same fix as everyone else for the recent keys vulnerability that is
14538 unexploitable under PAX_REFCOUNT
14539
14540 Make a couple more changes that no one else can/will
14541
14542 include/linux/key-type.h | 4 ++--
14543 ipc/msgutil.c | 4 ++--
14544 security/keys/internal.h | 2 +-
14545 security/keys/process_keys.c | 1 +
14546 4 files changed, 6 insertions(+), 5 deletions(-)
14547
14548 commit b56c3a63f431c193400aee17543021950bd14bc4
14549 Merge: 38b1a3d 470069c
14550 Author: Brad Spengler <spender@grsecurity.net>
14551 Date: Sun Jan 17 18:30:19 2016 -0500
14552
14553 Merge branch 'pax-test' into grsec-test
14554
14555 commit 470069cfedef2180313233d275be5901bd6d1135
14556 Author: Brad Spengler <spender@grsecurity.net>
14557 Date: Sun Jan 17 18:29:59 2016 -0500
14558
14559 Update to pax-linux-4.3.3-test22.patch:
14560 - Emesed fixed a gcc induced intentional integer overflow in asix_rx_fixup_internal, reported by thomas callison caffrey
14561 - fixed some more fallout from the drm_drivers constification, reported by Colin Childs and Toralf Foerster
14562
14563 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 14 ++++----------
14564 drivers/gpu/drm/drm_pci.c | 3 +++
14565 drivers/gpu/drm/gma500/psb_drv.c | 4 ----
14566 drivers/gpu/drm/i915/i915_drv.c | 16 ++++++++--------
14567 drivers/gpu/drm/nouveau/nouveau_drm.c | 6 +++---
14568 drivers/gpu/drm/radeon/radeon_drv.c | 4 +---
14569 drivers/net/usb/asix_common.c | 3 ++-
14570 include/drm/drmP.h | 1 +
14571 8 files changed, 22 insertions(+), 29 deletions(-)
14572
14573 commit 38b1a3d676f407865c3d41840df8213c5ad639c1
14574 Author: Brad Spengler <spender@grsecurity.net>
14575 Date: Sun Jan 17 12:33:53 2016 -0500
14576
14577 As reported by Luis Ressel, the Kconfig help for GRKERNSEC_BRUTE
14578 mentioned banning execution of suid/sgid binaries, though the kernel
14579 source clearly only mentions banning execution of suid binaries. Since
14580 there's no reason for us to not ban execution of sgid binaries as well,
14581 make the implementation match the Kconfig description.
14582
14583 fs/exec.c | 4 ++--
14584 grsecurity/grsec_sig.c | 27 ++++++++++++++-------------
14585 include/linux/sched.h | 4 ++--
14586 3 files changed, 18 insertions(+), 17 deletions(-)
14587
14588 commit 8c3bcb7dbf7f606acfa0983e81f0f928da1f1ace
14589 Merge: d141a86 ea4a835
14590 Author: Brad Spengler <spender@grsecurity.net>
14591 Date: Sat Jan 16 14:12:22 2016 -0500
14592
14593 Merge branch 'pax-test' into grsec-test
14594
14595 Conflicts:
14596 drivers/gpu/drm/i810/i810_drv.c
14597
14598 commit ea4a835328ada6513ac013986764d6caea8cd348
14599 Author: Brad Spengler <spender@grsecurity.net>
14600 Date: Sat Jan 16 14:11:30 2016 -0500
14601
14602 Update to pax-linux-4.3.3-test21.patch:
14603 - fixed some fallout from the drm_drivers constification, reported by spender
14604
14605 drivers/gpu/drm/armada/armada_drv.c | 3 +--
14606 drivers/gpu/drm/exynos/exynos_drm_drv.c | 1 -
14607 drivers/gpu/drm/i810/i810_dma.c | 2 +-
14608 drivers/gpu/drm/i810/i810_drv.c | 6 +++++-
14609 drivers/gpu/drm/i810/i810_drv.h | 2 +-
14610 5 files changed, 8 insertions(+), 6 deletions(-)
14611
14612 commit d141a86fd66194bc3f896b6809b189e2f12a9a83
14613 Author: Brad Spengler <spender@grsecurity.net>
14614 Date: Sat Jan 16 13:16:36 2016 -0500
14615
14616 compile fix
14617
14618 drivers/gpu/drm/i810/i810_dma.c | 2 +-
14619 drivers/gpu/drm/i810/i810_drv.c | 4 +++-
14620 drivers/gpu/drm/i810/i810_drv.h | 2 +-
14621 3 files changed, 5 insertions(+), 3 deletions(-)
14622
14623 commit 0d9dc4b25ea32c14561bcfe6b5b24f1b00fe0270
14624 Merge: 5fa135d bbda879
14625 Author: Brad Spengler <spender@grsecurity.net>
14626 Date: Sat Jan 16 12:59:22 2016 -0500
14627
14628 Merge branch 'pax-test' into grsec-test
14629
14630 commit bbda87914edf63e27fb46670bf3a373f2b963c73
14631 Author: Brad Spengler <spender@grsecurity.net>
14632 Date: Sat Jan 16 12:58:04 2016 -0500
14633
14634 Update to pax-linux-4.3.3-test20.patch:
14635 - constified drm_driver
14636 - Emese fixed a special case in handling __func__ in the initify plugin
14637 - Emese fixed a false positive size overflow report in handling inbufBits, reported by Martin Filo (https://bugs.gentoo.org/show_bug.cgi?id=567048)
14638 - fixed regression that caused perf to not resolve kernel code addresses under KERNEXEC/i386, reported by minipli
14639
14640 arch/x86/kernel/cpu/perf_event.h | 2 +-
14641 arch/x86/kernel/cpu/perf_event_intel_ds.c | 7 +-
14642 arch/x86/kernel/cpu/perf_event_intel_lbr.c | 4 +-
14643 arch/x86/kernel/uprobes.c | 2 +-
14644 arch/x86/mm/mpx.c | 2 +-
14645 drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +-
14646 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 8 ++-
14647 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +-
14648 drivers/gpu/drm/drm_pci.c | 6 +-
14649 drivers/gpu/drm/gma500/psb_drv.c | 5 +-
14650 drivers/gpu/drm/i915/i915_dma.c | 2 +-
14651 drivers/gpu/drm/i915/i915_drv.c | 15 ++--
14652 drivers/gpu/drm/i915/i915_drv.h | 2 +-
14653 drivers/gpu/drm/i915/i915_irq.c | 88 ++++++++++----------
14654 drivers/gpu/drm/mga/mga_drv.c | 5 +-
14655 drivers/gpu/drm/mga/mga_drv.h | 2 +-
14656 drivers/gpu/drm/mga/mga_state.c | 2 +-
14657 drivers/gpu/drm/nouveau/nouveau_drm.c | 13 ++--
14658 drivers/gpu/drm/qxl/qxl_drv.c | 8 ++-
14659 drivers/gpu/drm/qxl/qxl_ioctl.c | 2 +-
14660 drivers/gpu/drm/r128/r128_drv.c | 4 +-
14661 drivers/gpu/drm/r128/r128_drv.h | 2 +-
14662 drivers/gpu/drm/r128/r128_state.c | 2 +-
14663 drivers/gpu/drm/radeon/radeon_drv.c | 17 +++-
14664 drivers/gpu/drm/radeon/radeon_drv.h | 2 +-
14665 drivers/gpu/drm/radeon/radeon_kms.c | 2 +-
14666 drivers/gpu/drm/radeon/radeon_state.c | 2 +-
14667 drivers/gpu/drm/savage/savage_bci.c | 2 +-
14668 drivers/gpu/drm/savage/savage_drv.c | 5 +-
14669 drivers/gpu/drm/savage/savage_drv.h | 2 +-
14670 drivers/gpu/drm/sis/sis_drv.c | 5 +-
14671 drivers/gpu/drm/sis/sis_drv.h | 2 +-
14672 drivers/gpu/drm/sis/sis_mm.c | 2 +-
14673 drivers/gpu/drm/via/via_dma.c | 2 +-
14674 drivers/gpu/drm/via/via_drv.c | 5 +-
14675 drivers/gpu/drm/via/via_drv.h | 2 +-
14676 include/drm/drmP.h | 2 +-
14677 mm/slab.c | 2 +-
14678 net/sunrpc/xprtrdma/svc_rdma.c | 6 +-
14679 tools/gcc/initify_plugin.c | 15 +++-
14680 .../disable_size_overflow_hash.data | 1 +
14681 .../size_overflow_plugin/size_overflow_hash.data | 3 +-
14682 42 files changed, 156 insertions(+), 110 deletions(-)
14683
14684 commit 5fa135dc116350e0205c39ef65eaf6496ed2748a
14685 Author: Brad Spengler <spender@grsecurity.net>
14686 Date: Sat Jan 16 12:19:23 2016 -0500
14687
14688 compile fix
14689
14690 grsecurity/grsec_sig.c | 3 +--
14691 1 files changed, 1 insertions(+), 2 deletions(-)
14692
14693 commit a9090fa58f33f75c7450fda5721a9b13625a47d9
14694 Author: Brad Spengler <spender@grsecurity.net>
14695 Date: Sat Jan 16 12:10:37 2016 -0500
14696
14697 As pointed out by Jann Horn, some distros are starting to circumvent
14698 previous assumptions about the attainability of a user to control
14699 multiple UIDs by handing out suid binaries that allow a user to run
14700 processes (including exploits) under a number of other pre-defined
14701 UIDs. As this could potentially be used to bypass GRKERNSEC_BRUTE
14702 (though it would have to involve some code path that doesn't involve
14703 locks) fix that here by ensuring no more than 8 users on a system can
14704 be banned before a reboot is required. If more are banned, a panic
14705 is triggered.
14706
14707 grsecurity/grsec_sig.c | 8 ++++++++
14708 1 files changed, 8 insertions(+), 0 deletions(-)
14709
14710 commit a8d37776e9521c567ebff6730d49312f72435f08
14711 Author: Eric Dumazet <edumazet@google.com>
14712 Date: Thu Dec 3 11:12:07 2015 -0800
14713
14714 proc: add a reschedule point in proc_readfd_common()
14715
14716 User can pass an arbitrary large buffer to getdents().
14717
14718 It is typically a 32KB buffer used by libc scandir() implementation.
14719
14720 When scanning /proc/{pid}/fd, we can hold cpu way too long,
14721 so add a cond_resched() to be kind with other tasks.
14722
14723 We've seen latencies of more than 50ms on real workloads.
14724
14725 Signed-off-by: Eric Dumazet <edumazet@google.com>
14726 Cc: Alexander Viro <viro@zeniv.linux.org.uk>
14727 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
14728
14729 fs/proc/fd.c | 1 +
14730 1 files changed, 1 insertions(+), 0 deletions(-)
14731
14732 commit 0adba75f8708f13b1f5d98ebe3fc2fb961e100c8
14733 Author: Rabin Vincent <rabin@rab.in>
14734 Date: Tue Jan 12 20:17:08 2016 +0100
14735
14736 net: bpf: reject invalid shifts
14737
14738 On ARM64, a BUG() is triggered in the eBPF JIT if a filter with a
14739 constant shift that can't be encoded in the immediate field of the
14740 UBFM/SBFM instructions is passed to the JIT. Since these shifts
14741 amounts, which are negative or >= regsize, are invalid, reject them in
14742 the eBPF verifier and the classic BPF filter checker, for all
14743 architectures.
14744
14745 Signed-off-by: Rabin Vincent <rabin@rab.in>
14746 Acked-by: Alexei Starovoitov <ast@kernel.org>
14747 Acked-by: Daniel Borkmann <daniel@iogearbox.net>
14748 Signed-off-by: David S. Miller <davem@davemloft.net>
14749
14750 kernel/bpf/verifier.c | 10 ++++++++++
14751 net/core/filter.c | 5 +++++
14752 2 files changed, 15 insertions(+), 0 deletions(-)
14753
14754 commit c248e115a73496625a1c64660d0eeefd67e55cbf
14755 Author: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
14756 Date: Fri Jan 8 11:00:54 2016 -0200
14757
14758 sctp: fix use-after-free in pr_debug statement
14759
14760 Dmitry Vyukov reported a use-after-free in the code expanded by the
14761 macro debug_post_sfx, which is caused by the use of the asoc pointer
14762 after it was freed within sctp_side_effect() scope.
14763
14764 This patch fixes it by allowing sctp_side_effect to clear that asoc
14765 pointer when the TCB is freed.
14766
14767 As Vlad explained, we also have to cover the SCTP_DISPOSITION_ABORT case
14768 because it will trigger DELETE_TCB too on that same loop.
14769
14770 Also, there were places issuing SCTP_CMD_INIT_FAILED and ASSOC_FAILED
14771 but returning SCTP_DISPOSITION_CONSUME, which would fool the scheme
14772 above. Fix it by returning SCTP_DISPOSITION_ABORT instead.
14773
14774 The macro is already prepared to handle such NULL pointer.
14775
14776 Reported-by: Dmitry Vyukov <dvyukov@google.com>
14777 Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
14778 Acked-by: Vlad Yasevich <vyasevich@gmail.com>
14779 Signed-off-by: David S. Miller <davem@davemloft.net>
14780
14781 net/sctp/sm_sideeffect.c | 11 ++++++-----
14782 net/sctp/sm_statefuns.c | 17 ++++-------------
14783 2 files changed, 10 insertions(+), 18 deletions(-)
14784
14785 commit 395ea8a9e73e184fc14153a033000bccf4213213
14786 Author: willy tarreau <w@1wt.eu>
14787 Date: Sun Jan 10 07:54:56 2016 +0100
14788
14789 unix: properly account for FDs passed over unix sockets
14790
14791 It is possible for a process to allocate and accumulate far more FDs than
14792 the process' limit by sending them over a unix socket then closing them
14793 to keep the process' fd count low.
14794
14795 This change addresses this problem by keeping track of the number of FDs
14796 in flight per user and preventing non-privileged processes from having
14797 more FDs in flight than their configured FD limit.
14798
14799 Reported-by: socketpair@gmail.com
14800 Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
14801 Mitigates: CVE-2013-4312 (Linux 2.0+)
14802 Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
14803 Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
14804 Signed-off-by: Willy Tarreau <w@1wt.eu>
14805 Signed-off-by: David S. Miller <davem@davemloft.net>
14806
14807 include/linux/sched.h | 1 +
14808 net/unix/af_unix.c | 24 ++++++++++++++++++++----
14809 net/unix/garbage.c | 13 ++++++++-----
14810 3 files changed, 29 insertions(+), 9 deletions(-)
14811
14812 commit cb207ab8fbd71dcfc4a49d533aba8085012543fd
14813 Author: Sasha Levin <sasha.levin@oracle.com>
14814 Date: Thu Jan 7 14:52:43 2016 -0500
14815
14816 net: sctp: prevent writes to cookie_hmac_alg from accessing invalid memory
14817
14818 proc_dostring() needs an initialized destination string, while the one
14819 provided in proc_sctp_do_hmac_alg() contains stack garbage.
14820
14821 Thus, writing to cookie_hmac_alg would strlen() that garbage and end up
14822 accessing invalid memory.
14823
14824 Fixes: 3c68198e7 ("sctp: Make hmac algorithm selection for cookie generation dynamic")
14825 Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
14826 Signed-off-by: David S. Miller <davem@davemloft.net>
14827
14828 net/sctp/sysctl.c | 2 +-
14829 1 files changed, 1 insertions(+), 1 deletions(-)
14830
14831 commit 4014e09faf0fe9054119624ccfff1236e886b554
14832 Author: Quentin Casasnovas <quentin.casasnovas@oracle.com>
14833 Date: Tue Nov 24 17:13:21 2015 -0500
14834
14835 RDS: fix race condition when sending a message on unbound socket
14836
14837 commit 8c7188b23474cca017b3ef354c4a58456f68303a upstream.
14838
14839 Sasha's found a NULL pointer dereference in the RDS connection code when
14840 sending a message to an apparently unbound socket. The problem is caused
14841 by the code checking if the socket is bound in rds_sendmsg(), which checks
14842 the rs_bound_addr field without taking a lock on the socket. This opens a
14843 race where rs_bound_addr is temporarily set but where the transport is not
14844 in rds_bind(), leading to a NULL pointer dereference when trying to
14845 dereference 'trans' in __rds_conn_create().
14846
14847 Vegard wrote a reproducer for this issue, so kindly ask him to share if
14848 you're interested.
14849
14850 I cannot reproduce the NULL pointer dereference using Vegard's reproducer
14851 with this patch, whereas I could without.
14852
14853 Complete earlier incomplete fix to CVE-2015-6937:
14854
14855 74e98eb08588 ("RDS: verify the underlying transport exists before creating a connection")
14856
14857 Cc: David S. Miller <davem@davemloft.net>
14858
14859 Reviewed-by: Vegard Nossum <vegard.nossum@oracle.com>
14860 Reviewed-by: Sasha Levin <sasha.levin@oracle.com>
14861 Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
14862 Signed-off-by: Quentin Casasnovas <quentin.casasnovas@oracle.com>
14863 Signed-off-by: David S. Miller <davem@davemloft.net>
14864 Signed-off-by: Jiri Slaby <jslaby@suse.cz>
14865
14866 Conflicts:
14867
14868 net/rds/send.c
14869
14870 net/rds/connection.c | 6 ------
14871 1 files changed, 0 insertions(+), 6 deletions(-)
14872
14873 commit 206df8d01104344d7588d801016a281a4cd25556
14874 Author: Sasha Levin <sasha.levin@oracle.com>
14875 Date: Tue Sep 8 10:53:40 2015 -0400
14876
14877 RDS: verify the underlying transport exists before creating a connection
14878
14879 There was no verification that an underlying transport exists when creating
14880 a connection, this would cause dereferencing a NULL ptr.
14881
14882 It might happen on sockets that weren't properly bound before attempting to
14883 send a message, which will cause a NULL ptr deref:
14884
14885 [135546.047719] kasan: GPF could be caused by NULL-ptr deref or user memory accessgeneral protection fault: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC KASAN
14886 [135546.051270] Modules linked in:
14887 [135546.051781] CPU: 4 PID: 15650 Comm: trinity-c4 Not tainted 4.2.0-next-20150902-sasha-00041-gbaa1222-dirty #2527
14888 [135546.053217] task: ffff8800835bc000 ti: ffff8800bc708000 task.ti: ffff8800bc708000
14889 [135546.054291] RIP: __rds_conn_create (net/rds/connection.c:194)
14890 [135546.055666] RSP: 0018:ffff8800bc70fab0 EFLAGS: 00010202
14891 [135546.056457] RAX: dffffc0000000000 RBX: 0000000000000f2c RCX: ffff8800835bc000
14892 [135546.057494] RDX: 0000000000000007 RSI: ffff8800835bccd8 RDI: 0000000000000038
14893 [135546.058530] RBP: ffff8800bc70fb18 R08: 0000000000000001 R09: 0000000000000000
14894 [135546.059556] R10: ffffed014d7a3a23 R11: ffffed014d7a3a21 R12: 0000000000000000
14895 [135546.060614] R13: 0000000000000001 R14: ffff8801ec3d0000 R15: 0000000000000000
14896 [135546.061668] FS: 00007faad4ffb700(0000) GS:ffff880252000000(0000) knlGS:0000000000000000
14897 [135546.062836] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
14898 [135546.063682] CR2: 000000000000846a CR3: 000000009d137000 CR4: 00000000000006a0
14899 [135546.064723] Stack:
14900 [135546.065048] ffffffffafe2055c ffffffffafe23fc1 ffffed00493097bf ffff8801ec3d0008
14901 [135546.066247] 0000000000000000 00000000000000d0 0000000000000000 ac194a24c0586342
14902 [135546.067438] 1ffff100178e1f78 ffff880320581b00 ffff8800bc70fdd0 ffff880320581b00
14903 [135546.068629] Call Trace:
14904 [135546.069028] ? __rds_conn_create (include/linux/rcupdate.h:856 net/rds/connection.c:134)
14905 [135546.069989] ? rds_message_copy_from_user (net/rds/message.c:298)
14906 [135546.071021] rds_conn_create_outgoing (net/rds/connection.c:278)
14907 [135546.071981] rds_sendmsg (net/rds/send.c:1058)
14908 [135546.072858] ? perf_trace_lock (include/trace/events/lock.h:38)
14909 [135546.073744] ? lockdep_init (kernel/locking/lockdep.c:3298)
14910 [135546.074577] ? rds_send_drop_to (net/rds/send.c:976)
14911 [135546.075508] ? __might_fault (./arch/x86/include/asm/current.h:14 mm/memory.c:3795)
14912 [135546.076349] ? __might_fault (mm/memory.c:3795)
14913 [135546.077179] ? rds_send_drop_to (net/rds/send.c:976)
14914 [135546.078114] sock_sendmsg (net/socket.c:611 net/socket.c:620)
14915 [135546.078856] SYSC_sendto (net/socket.c:1657)
14916 [135546.079596] ? SYSC_connect (net/socket.c:1628)
14917 [135546.080510] ? trace_dump_stack (kernel/trace/trace.c:1926)
14918 [135546.081397] ? ring_buffer_unlock_commit (kernel/trace/ring_buffer.c:2479 kernel/trace/ring_buffer.c:2558 kernel/trace/ring_buffer.c:2674)
14919 [135546.082390] ? trace_buffer_unlock_commit (kernel/trace/trace.c:1749)
14920 [135546.083410] ? trace_event_raw_event_sys_enter (include/trace/events/syscalls.h:16)
14921 [135546.084481] ? do_audit_syscall_entry (include/trace/events/syscalls.h:16)
14922 [135546.085438] ? trace_buffer_unlock_commit (kernel/trace/trace.c:1749)
14923 [135546.085515] rds_ib_laddr_check(): addr 36.74.25.172 ret -99 node type -1
14924
14925 Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
14926 Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
14927 Signed-off-by: David S. Miller <davem@davemloft.net>
14928
14929 net/rds/connection.c | 6 ++++++
14930 1 files changed, 6 insertions(+), 0 deletions(-)
14931
14932 commit 173fa03f05cf0ad485d49a42cbdee8844d3a689a
14933 Author: Steven Rostedt (Red Hat) <rostedt@goodmis.org>
14934 Date: Tue Jan 5 20:32:47 2016 -0500
14935
14936 ftrace/module: Call clean up function when module init fails early
14937
14938 If the module init code fails after calling ftrace_module_init() and before
14939 calling do_init_module(), we can suffer from a memory leak. This is because
14940 ftrace_module_init() allocates pages to store the locations that ftrace
14941 hooks are placed in the module text. If do_init_module() fails, it still
14942 calls the MODULE_GOING notifiers which will tell ftrace to do a clean up of
14943 the pages it allocated for the module. But if load_module() fails before
14944 then, the pages allocated by ftrace_module_init() will never be freed.
14945
14946 Call ftrace_release_mod() on the module if load_module() fails before
14947 getting to do_init_module().
14948
14949 Link: http://lkml.kernel.org/r/567CEA31.1070507@intel.com
14950
14951 Reported-by: "Qiu, PeiyangX" <peiyangx.qiu@intel.com>
14952 Fixes: a949ae560a511 "ftrace/module: Hardcode ftrace_module_init() call into load_module()"
14953 Cc: stable@vger.kernel.org # v2.6.38+
14954 Acked-by: Rusty Russell <rusty@rustcorp.com.au>
14955 Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
14956
14957 include/linux/ftrace.h | 1 +
14958 kernel/module.c | 6 ++++++
14959 2 files changed, 7 insertions(+), 0 deletions(-)
14960
14961 commit 1e5a4a81a4c16c8ac2e264b88a02cc2f42ed0399
14962 Author: Francesco Ruggeri <fruggeri@aristanetworks.com>
14963 Date: Wed Jan 6 00:18:48 2016 -0800
14964
14965 net: possible use after free in dst_release
14966
14967 dst_release should not access dst->flags after decrementing
14968 __refcnt to 0. The dst_entry may be in dst_busy_list and
14969 dst_gc_task may dst_destroy it before dst_release gets a chance
14970 to access dst->flags.
14971
14972 Fixes: d69bbf88c8d0 ("net: fix a race in dst_release()")
14973 Fixes: 27b75c95f10d ("net: avoid RCU for NOCACHE dst")
14974 Signed-off-by: Francesco Ruggeri <fruggeri@arista.com>
14975 Acked-by: Eric Dumazet <edumazet@google.com>
14976 Signed-off-by: David S. Miller <davem@davemloft.net>
14977
14978 net/core/dst.c | 3 ++-
14979 1 files changed, 2 insertions(+), 1 deletions(-)
14980
14981 commit bfb0455793dd4e0f0b49d34a68b3249ab55565cc
14982 Author: Alan <gnomes@lxorguk.ukuu.org.uk>
14983 Date: Wed Jan 6 14:55:02 2016 +0000
14984
14985 mkiss: fix scribble on freed memory
14986
14987 commit d79f16c046086f4fe0d42184a458e187464eb83e fixed a user triggerable
14988 scribble on free memory but added a new one which allows the user to
14989 scribble even more and user controlled data into freed space.
14990
14991 As with 6pack we need to halt the queue before we free the buffers, because
14992 the transmit logic is not protected by the semaphore.
14993
14994 Signed-off-by: Alan Cox <alan@linux.intel.com>
14995 Signed-off-by: David S. Miller <davem@davemloft.net>
14996
14997 drivers/net/hamradio/mkiss.c | 5 +++++
14998 1 files changed, 5 insertions(+), 0 deletions(-)
14999
15000 commit 5cbbcbd32dc1949470f61d342503808fa9555276
15001 Author: David Miller <davem@davemloft.net>
15002 Date: Thu Dec 17 16:05:49 2015 -0500
15003
15004 mkiss: Fix use after free in mkiss_close().
15005
15006 Need to do the unregister_device() after all references to the driver
15007 private have been done.
15008
15009 Signed-off-by: David S. Miller <davem@davemloft.net>
15010
15011 drivers/net/hamradio/mkiss.c | 4 ++--
15012 1 files changed, 2 insertions(+), 2 deletions(-)
15013
15014 commit b00171576794a98068e069a660f0991a6a5190ff
15015 Author: One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
15016 Date: Tue Jan 5 11:51:25 2016 +0000
15017
15018 6pack: fix free memory scribbles
15019
15020 commit acf673a3187edf72068ee2f92f4dc47d66baed47 fixed a user triggerable free
15021 memory scribble but in doing so replaced it with a different one that allows
15022 the user to control the data and scribble even more.
15023
15024 sixpack_close is called by the tty layer in tty context. The tty context is
15025 protected by sp_get() and sp_put(). However network layer activity via
15026 sp_xmit() is not protected this way. We must therefore stop the queue
15027 otherwise the user gets to dump a buffer mostly of their choice into freed
15028 kernel pages.
15029
15030 Signed-off-by: Alan Cox <alan@linux.intel.com>
15031 Signed-off-by: David S. Miller <davem@davemloft.net>
15032
15033 drivers/net/hamradio/6pack.c | 6 ++++++
15034 1 files changed, 6 insertions(+), 0 deletions(-)
15035
15036 commit 5b64a833907cd230a3106aeba2304b2c1bcd116d
15037 Author: David Miller <davem@davemloft.net>
15038 Date: Thu Dec 17 16:05:32 2015 -0500
15039
15040 6pack: Fix use after free in sixpack_close().
15041
15042 Need to do the unregister_device() after all references to the driver
15043 private have been done.
15044
15045 Also we need to use del_timer_sync() for the timers so that we don't
15046 have any asynchronous references after the unregister.
15047
15048 Signed-off-by: David S. Miller <davem@davemloft.net>
15049
15050 drivers/net/hamradio/6pack.c | 8 ++++----
15051 1 files changed, 4 insertions(+), 4 deletions(-)
15052
15053 commit 4f9d532742656b3613d579220fd10c78f24ba37b
15054 Author: Rabin Vincent <rabin@rab.in>
15055 Date: Tue Jan 5 16:23:07 2016 +0100
15056
15057 net: filter: make JITs zero A for SKF_AD_ALU_XOR_X
15058
15059 The SKF_AD_ALU_XOR_X ancillary is not like the other ancillary data
15060 instructions since it XORs A with X while all the others replace A with
15061 some loaded value. All the BPF JITs fail to clear A if this is used as
15062 the first instruction in a filter. This was found using american fuzzy
15063 lop.
15064
15065 Add a helper to determine if A needs to be cleared given the first
15066 instruction in a filter, and use this in the JITs. Except for ARM, the
15067 rest have only been compile-tested.
15068
15069 Fixes: 3480593131e0 ("net: filter: get rid of BPF_S_* enum")
15070 Signed-off-by: Rabin Vincent <rabin@rab.in>
15071 Acked-by: Daniel Borkmann <daniel@iogearbox.net>
15072 Acked-by: Alexei Starovoitov <ast@kernel.org>
15073 Signed-off-by: David S. Miller <davem@davemloft.net>
15074
15075 arch/arm/net/bpf_jit_32.c | 16 +---------------
15076 arch/mips/net/bpf_jit.c | 16 +---------------
15077 arch/powerpc/net/bpf_jit_comp.c | 13 ++-----------
15078 arch/sparc/net/bpf_jit_comp.c | 17 ++---------------
15079 include/linux/filter.h | 19 +++++++++++++++++++
15080 5 files changed, 25 insertions(+), 56 deletions(-)
15081
15082 commit 570d88f8acfffda92b89ae2e1c47320d47256034
15083 Author: John Fastabend <john.fastabend@gmail.com>
15084 Date: Tue Jan 5 09:11:36 2016 -0800
15085
15086 net: sched: fix missing free per cpu on qstats
15087
15088 When a qdisc is using per cpu stats (currently just the ingress
15089 qdisc) only the bstats are being freed. This also free's the qstats.
15090
15091 Fixes: b0ab6f92752b9f9d8 ("net: sched: enable per cpu qstats")
15092 Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
15093 Acked-by: Eric Dumazet <edumazet@google.com>
15094 Acked-by: Daniel Borkmann <daniel@iogearbox.net>
15095 Signed-off-by: David S. Miller <davem@davemloft.net>
15096
15097 net/sched/sch_generic.c | 4 +++-
15098 1 files changed, 3 insertions(+), 1 deletions(-)
15099
15100 commit 32c0ebc51857ee83470a10dcb234d308a0ed1881
15101 Author: Rabin Vincent <rabin@rab.in>
15102 Date: Tue Jan 5 18:34:04 2016 +0100
15103
15104 ARM: net: bpf: fix zero right shift
15105
15106 The LSR instruction cannot be used to perform a zero right shift since a
15107 0 as the immediate value (imm5) in the LSR instruction encoding means
15108 that a shift of 32 is perfomed. See DecodeIMMShift() in the ARM ARM.
15109
15110 Make the JIT skip generation of the LSR if a zero-shift is requested.
15111
15112 This was found using american fuzzy lop.
15113
15114 Signed-off-by: Rabin Vincent <rabin@rab.in>
15115 Acked-by: Alexei Starovoitov <ast@kernel.org>
15116 Signed-off-by: David S. Miller <davem@davemloft.net>
15117
15118 arch/arm/net/bpf_jit_32.c | 3 ++-
15119 1 files changed, 2 insertions(+), 1 deletions(-)
15120
15121 commit 51f5d291750285efa4d4bbe84e5ec23dc00c8d2d
15122 Author: Brad Spengler <spender@grsecurity.net>
15123 Date: Wed Jan 6 20:35:57 2016 -0500
15124
15125 Don't perform hidden lookups in RBAC against the directory of
15126 a file being opened with O_CREAT, reported by Karl Witt
15127
15128 Conflicts:
15129
15130 fs/namei.c
15131
15132 fs/namei.c | 3 ---
15133 1 files changed, 0 insertions(+), 3 deletions(-)
15134
15135 commit 5a8266a6b2769ccdb447256f95bc2577a73cccd1
15136 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
15137 Date: Tue Jan 5 10:46:00 2016 +0100
15138
15139 bridge: Only call /sbin/bridge-stp for the initial network namespace
15140
15141 [I stole this patch from Eric Biederman. He wrote:]
15142
15143 > There is no defined mechanism to pass network namespace information
15144 > into /sbin/bridge-stp therefore don't even try to invoke it except
15145 > for bridge devices in the initial network namespace.
15146 >
15147 > It is possible for unprivileged users to cause /sbin/bridge-stp to be
15148 > invoked for any network device name which if /sbin/bridge-stp does not
15149 > guard against unreasonable arguments or being invoked twice on the
15150 > same network device could cause problems.
15151
15152 [Hannes: changed patch using netns_eq]
15153
15154 Cc: Eric W. Biederman <ebiederm@xmission.com>
15155 Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
15156 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
15157 Signed-off-by: David S. Miller <davem@davemloft.net>
15158
15159 net/bridge/br_stp_if.c | 5 ++++-
15160 1 files changed, 4 insertions(+), 1 deletions(-)
15161
15162 commit 650d535cc39f0aeff2f57e60b6617be25d3ef48b
15163 Author: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
15164 Date: Wed Dec 23 16:28:40 2015 -0200
15165
15166 sctp: use GFP_USER for user-controlled kmalloc
15167
15168 Commit cacc06215271 ("sctp: use GFP_USER for user-controlled kmalloc")
15169 missed two other spots.
15170
15171 For connectx, as it's more likely to be used by kernel users of the API,
15172 it detects if GFP_USER should be used or not.
15173
15174 Fixes: cacc06215271 ("sctp: use GFP_USER for user-controlled kmalloc")
15175 Reported-by: Dmitry Vyukov <dvyukov@google.com>
15176 Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
15177 Signed-off-by: David S. Miller <davem@davemloft.net>
15178
15179 net/sctp/socket.c | 9 ++++++---
15180 1 files changed, 6 insertions(+), 3 deletions(-)
15181
15182 commit 5718a1f63c41fc156f729783423b002763779d04
15183 Author: Florian Westphal <fw@strlen.de>
15184 Date: Thu Dec 31 14:26:33 2015 +0100
15185
15186 connector: bump skb->users before callback invocation
15187
15188 Dmitry reports memleak with syskaller program.
15189 Problem is that connector bumps skb usecount but might not invoke callback.
15190
15191 So move skb_get to where we invoke the callback.
15192
15193 Reported-by: Dmitry Vyukov <dvyukov@google.com>
15194 Signed-off-by: Florian Westphal <fw@strlen.de>
15195 Signed-off-by: David S. Miller <davem@davemloft.net>
15196
15197 drivers/connector/connector.c | 11 +++--------
15198 1 files changed, 3 insertions(+), 8 deletions(-)
15199
15200 commit 2e6372e6a97f8d642416899861f91777f44f13b7
15201 Author: Rainer Weikusat <rweikusat@mobileactivedefense.com>
15202 Date: Sun Jan 3 18:56:38 2016 +0000
15203
15204 af_unix: Fix splice-bind deadlock
15205
15206 On 2015/11/06, Dmitry Vyukov reported a deadlock involving the splice
15207 system call and AF_UNIX sockets,
15208
15209 http://lists.openwall.net/netdev/2015/11/06/24
15210
15211 The situation was analyzed as
15212
15213 (a while ago) A: socketpair()
15214 B: splice() from a pipe to /mnt/regular_file
15215 does sb_start_write() on /mnt
15216 C: try to freeze /mnt
15217 wait for B to finish with /mnt
15218 A: bind() try to bind our socket to /mnt/new_socket_name
15219 lock our socket, see it not bound yet
15220 decide that it needs to create something in /mnt
15221 try to do sb_start_write() on /mnt, block (it's
15222 waiting for C).
15223 D: splice() from the same pipe to our socket
15224 lock the pipe, see that socket is connected
15225 try to lock the socket, block waiting for A
15226 B: get around to actually feeding a chunk from
15227 pipe to file, try to lock the pipe. Deadlock.
15228
15229 on 2015/11/10 by Al Viro,
15230
15231 http://lists.openwall.net/netdev/2015/11/10/4
15232
15233 The patch fixes this by removing the kern_path_create related code from
15234 unix_mknod and executing it as part of unix_bind prior acquiring the
15235 readlock of the socket in question. This means that A (as used above)
15236 will sb_start_write on /mnt before it acquires the readlock, hence, it
15237 won't indirectly block B which first did a sb_start_write and then
15238 waited for a thread trying to acquire the readlock. Consequently, A
15239 being blocked by C waiting for B won't cause a deadlock anymore
15240 (effectively, both A and B acquire two locks in opposite order in the
15241 situation described above).
15242
15243 Dmitry Vyukov(<dvyukov@google.com>) tested the original patch.
15244
15245 Signed-off-by: Rainer Weikusat <rweikusat@mobileactivedefense.com>
15246 Signed-off-by: David S. Miller <davem@davemloft.net>
15247
15248 Conflicts:
15249
15250 net/unix/af_unix.c
15251
15252 net/unix/af_unix.c | 70 +++++++++++++++++++++++++++++++--------------------
15253 1 files changed, 42 insertions(+), 28 deletions(-)
15254
15255 commit 2e729e557c571f3253e32472cd7d382ac16cf1c3
15256 Author: Qiu Peiyang <peiyangx.qiu@intel.com>
15257 Date: Thu Dec 31 13:11:28 2015 +0800
15258
15259 tracing: Fix setting of start_index in find_next()
15260
15261 When we do cat /sys/kernel/debug/tracing/printk_formats, we hit kernel
15262 panic at t_show.
15263
15264 general protection fault: 0000 [#1] PREEMPT SMP
15265 CPU: 0 PID: 2957 Comm: sh Tainted: G W O 3.14.55-x86_64-01062-gd4acdc7 #2
15266 RIP: 0010:[<ffffffff811375b2>]
15267 [<ffffffff811375b2>] t_show+0x22/0xe0
15268 RSP: 0000:ffff88002b4ebe80 EFLAGS: 00010246
15269 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000004
15270 RDX: 0000000000000004 RSI: ffffffff81fd26a6 RDI: ffff880032f9f7b1
15271 RBP: ffff88002b4ebe98 R08: 0000000000001000 R09: 000000000000ffec
15272 R10: 0000000000000000 R11: 000000000000000f R12: ffff880004d9b6c0
15273 R13: 7365725f6d706400 R14: ffff880004d9b6c0 R15: ffffffff82020570
15274 FS: 0000000000000000(0000) GS:ffff88003aa00000(0063) knlGS:00000000f776bc40
15275 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
15276 CR2: 00000000f6c02ff0 CR3: 000000002c2b3000 CR4: 00000000001007f0
15277 Call Trace:
15278 [<ffffffff811dc076>] seq_read+0x2f6/0x3e0
15279 [<ffffffff811b749b>] vfs_read+0x9b/0x160
15280 [<ffffffff811b7f69>] SyS_read+0x49/0xb0
15281 [<ffffffff81a3a4b9>] ia32_do_call+0x13/0x13
15282 ---[ end trace 5bd9eb630614861e ]---
15283 Kernel panic - not syncing: Fatal exception
15284
15285 When the first time find_next calls find_next_mod_format, it should
15286 iterate the trace_bprintk_fmt_list to find the first print format of
15287 the module. However in current code, start_index is smaller than *pos
15288 at first, and code will not iterate the list. Latter container_of will
15289 get the wrong address with former v, which will cause mod_fmt be a
15290 meaningless object and so is the returned mod_fmt->fmt.
15291
15292 This patch will fix it by correcting the start_index. After fixed,
15293 when the first time calls find_next_mod_format, start_index will be
15294 equal to *pos, and code will iterate the trace_bprintk_fmt_list to
15295 get the right module printk format, so is the returned mod_fmt->fmt.
15296
15297 Link: http://lkml.kernel.org/r/5684B900.9000309@intel.com
15298
15299 Cc: stable@vger.kernel.org # 3.12+
15300 Fixes: 102c9323c35a8 "tracing: Add __tracepoint_string() to export string pointers"
15301 Signed-off-by: Qiu Peiyang <peiyangx.qiu@intel.com>
15302 Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
15303
15304 kernel/trace/trace_printk.c | 1 +
15305 1 files changed, 1 insertions(+), 0 deletions(-)
15306
15307 commit 0994af4b1930f32aa493dc08145cd304f8bfc8f4
15308 Author: Al Viro <viro@zeniv.linux.org.uk>
15309 Date: Mon Dec 28 20:47:08 2015 -0500
15310
15311 [PATCH] arm: fix handling of F_OFD_... in oabi_fcntl64()
15312
15313 Cc: stable@vger.kernel.org # 3.15+
15314 Reviewed-by: Jeff Layton <jeff.layton@primarydata.com>
15315 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
15316
15317 arch/arm/kernel/sys_oabi-compat.c | 73 +++++++++++++++++++------------------
15318 1 files changed, 37 insertions(+), 36 deletions(-)
15319
15320 commit 4ed030f65dcf3e6b0128032a49a7d75f947fa351
15321 Merge: de243c2 3adc55a
15322 Author: Brad Spengler <spender@grsecurity.net>
15323 Date: Tue Jan 5 18:10:10 2016 -0500
15324
15325 Merge branch 'pax-test' into grsec-test
15326
15327 commit 3adc55a5acfa429c2a7cc883aef08b960c0079b0
15328 Author: Brad Spengler <spender@grsecurity.net>
15329 Date: Tue Jan 5 18:08:53 2016 -0500
15330
15331 Update to pax-linux-4.3.3-test16.patch:
15332 - small cleanup in entry_64.S on x86
15333 - Emese fixed the initify plugin to recursively check variable initializers, reported by Rasmus Villemoes
15334 - fixed an integer truncation of a partially uninitialized value bug in em_pop_sreg, reported by fx3 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4354)
15335 - fixed alternatives patching of call insns under KERNEXEC/i386, reported by fly_a320 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4305) and TTgrsec (https://forums.grsecurity.net/viewtopic.php?f=3&t=4353)
15336 - fixed a size overflow false positive that triggered in tcp_parse_options on arm, reported by iamb (https://forums.grsecurity.net/viewtopic.php?f=3&t=4350&p=15917#p15916)
15337 - fixed a boot crash on amd64 with KERNEXEC/OR and CONTEXT_TRACKING, reported by Klaus Kusche (https://bugs.gentoo.org/show_bug.cgi?id=570420)
15338
15339 arch/x86/entry/entry_64.S | 60 +++++-----
15340 arch/x86/kernel/alternative.c | 2 +-
15341 arch/x86/kvm/emulate.c | 4 +-
15342 tools/gcc/initify_plugin.c | 123 +++++++++----------
15343 .../disable_size_overflow_hash.data | 4 +-
15344 .../size_overflow_plugin/size_overflow_hash.data | 2 -
15345 6 files changed, 93 insertions(+), 102 deletions(-)
15346
15347 commit de243c26efd0e423ca92db825af2c3f8eb1ca043
15348 Author: Brad Spengler <spender@grsecurity.net>
15349 Date: Tue Dec 29 18:01:24 2015 -0500
15350
15351 It was noticed during an internal audit that the code under GRKERNSEC_PROC_MEMMAP
15352 which aimed to enforce a 16MB minimum on RLIMIT_DATA for suid/sgid binaries only
15353 did so if RLIMIT_DATA was set lower than PAGE_SIZE.
15354
15355 This addition was only supplemental as GRKERNSEC_BRUTE is the main defense
15356 against suid/sgid attacks and the flaw above would only eliminate the extra
15357 entropy provided for the brk-managed heap, still leaving it with the minimum
15358 of 16-bit entropy for mmap on x86 and 28 on x64.
15359
15360 mm/mmap.c | 2 +-
15361 1 files changed, 1 insertions(+), 1 deletions(-)
15362
15363 commit 8e264cfe47e5f08cdc9ed009a630277206cd2534
15364 Merge: 436201b 2584340
15365 Author: Brad Spengler <spender@grsecurity.net>
15366 Date: Mon Dec 28 20:30:01 2015 -0500
15367
15368 Merge branch 'pax-test' into grsec-test
15369
15370 commit 2584340eab494e64ec1bf9eb5b0d1ae31f926306
15371 Author: Brad Spengler <spender@grsecurity.net>
15372 Date: Mon Dec 28 20:29:28 2015 -0500
15373
15374 Update to pax-linux-4.3.3-test14.patch:
15375 - fixed an integer sign conversion error in i2c_dw_pci_probe caught by the size overflow plugin, reported by Jean Lucas and ganymede (https://forums.grsecurity.net/viewtopic.php?f=3&t=4349)
15376 - fixed shutdown crash with tboot and KERNEXEC, reported by perfinion
15377 - fixed a few false positive and one real size overflow reports in hyperv, reported by hunger
15378 - fixed compile regressions on armv5, reported by iamb (https://forums.grsecurity.net/viewtopic.php?f=3&t=4350)
15379 - fixed an assert in the initify plugin that triggered in vic_register on arm
15380
15381 arch/arm/include/asm/atomic.h | 7 +++++--
15382 arch/arm/include/asm/domain.h | 5 ++---
15383 arch/x86/kernel/tboot.c | 14 +++++++++-----
15384 drivers/hv/channel.c | 4 +---
15385 drivers/i2c/busses/i2c-designware-pcidrv.c | 2 +-
15386 drivers/net/hyperv/rndis_filter.c | 3 +--
15387 fs/exec.c | 4 ++--
15388 include/linux/atomic.h | 15 ---------------
15389 net/core/skbuff.c | 3 ++-
15390 tools/gcc/initify_plugin.c | 4 +++-
15391 10 files changed, 26 insertions(+), 35 deletions(-)
15392
15393 commit 436201b6626b488d173c8076447000077c27b84a
15394 Author: David Howells <dhowells@redhat.com>
15395 Date: Fri Dec 18 01:34:26 2015 +0000
15396
15397 KEYS: Fix race between read and revoke
15398
15399 This fixes CVE-2015-7550.
15400
15401 There's a race between keyctl_read() and keyctl_revoke(). If the revoke
15402 happens between keyctl_read() checking the validity of a key and the key's
15403 semaphore being taken, then the key type read method will see a revoked key.
15404
15405 This causes a problem for the user-defined key type because it assumes in
15406 its read method that there will always be a payload in a non-revoked key
15407 and doesn't check for a NULL pointer.
15408
15409 Fix this by making keyctl_read() check the validity of a key after taking
15410 semaphore instead of before.
15411
15412 I think the bug was introduced with the original keyrings code.
15413
15414 This was discovered by a multithreaded test program generated by syzkaller
15415 (http://github.com/google/syzkaller). Here's a cleaned up version:
15416
15417 #include <sys/types.h>
15418 #include <keyutils.h>
15419 #include <pthread.h>
15420 void *thr0(void *arg)
15421 {
15422 key_serial_t key = (unsigned long)arg;
15423 keyctl_revoke(key);
15424 return 0;
15425 }
15426 void *thr1(void *arg)
15427 {
15428 key_serial_t key = (unsigned long)arg;
15429 char buffer[16];
15430 keyctl_read(key, buffer, 16);
15431 return 0;
15432 }
15433 int main()
15434 {
15435 key_serial_t key = add_key("user", "%", "foo", 3, KEY_SPEC_USER_KEYRING);
15436 pthread_t th[5];
15437 pthread_create(&th[0], 0, thr0, (void *)(unsigned long)key);
15438 pthread_create(&th[1], 0, thr1, (void *)(unsigned long)key);
15439 pthread_create(&th[2], 0, thr0, (void *)(unsigned long)key);
15440 pthread_create(&th[3], 0, thr1, (void *)(unsigned long)key);
15441 pthread_join(th[0], 0);
15442 pthread_join(th[1], 0);
15443 pthread_join(th[2], 0);
15444 pthread_join(th[3], 0);
15445 return 0;
15446 }
15447
15448 Build as:
15449
15450 cc -o keyctl-race keyctl-race.c -lkeyutils -lpthread
15451
15452 Run as:
15453
15454 while keyctl-race; do :; done
15455
15456 as it may need several iterations to crash the kernel. The crash can be
15457 summarised as:
15458
15459 BUG: unable to handle kernel NULL pointer dereference at 0000000000000010
15460 IP: [<ffffffff81279b08>] user_read+0x56/0xa3
15461 ...
15462 Call Trace:
15463 [<ffffffff81276aa9>] keyctl_read_key+0xb6/0xd7
15464 [<ffffffff81277815>] SyS_keyctl+0x83/0xe0
15465 [<ffffffff815dbb97>] entry_SYSCALL_64_fastpath+0x12/0x6f
15466
15467 Reported-by: Dmitry Vyukov <dvyukov@google.com>
15468 Signed-off-by: David Howells <dhowells@redhat.com>
15469 Tested-by: Dmitry Vyukov <dvyukov@google.com>
15470 Cc: stable@vger.kernel.org
15471 Signed-off-by: James Morris <james.l.morris@oracle.com>
15472
15473 security/keys/keyctl.c | 18 +++++++++---------
15474 1 files changed, 9 insertions(+), 9 deletions(-)
15475
15476 commit 195cea04477025da4a2078bd3e1fb7c4e11206c2
15477 Author: Brad Spengler <spender@grsecurity.net>
15478 Date: Tue Dec 22 20:44:01 2015 -0500
15479
15480 Add new kernel command-line param: pax_size_overflow_report_only
15481 If a user triggers a size_overflow violation that makes it difficult
15482 to obtain the call trace without serial console/net console, they can
15483 use this option to provide that information to us
15484
15485 Documentation/kernel-parameters.txt | 5 +++++
15486 fs/exec.c | 12 +++++++++---
15487 init/main.c | 11 +++++++++++
15488 3 files changed, 25 insertions(+), 3 deletions(-)
15489
15490 commit 4254a8da5851df8c08cdca5c392916e8c105408d
15491 Author: WANG Cong <xiyou.wangcong@gmail.com>
15492 Date: Mon Dec 21 10:55:45 2015 -0800
15493
15494 addrconf: always initialize sysctl table data
15495
15496 When sysctl performs restrict writes, it allows to write from
15497 a middle position of a sysctl file, which requires us to initialize
15498 the table data before calling proc_dostring() for the write case.
15499
15500 Fixes: 3d1bec99320d ("ipv6: introduce secret_stable to ipv6_devconf")
15501 Reported-by: Sasha Levin <sasha.levin@oracle.com>
15502 Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
15503 Tested-by: Sasha Levin <sasha.levin@oracle.com>
15504 Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
15505 Signed-off-by: David S. Miller <davem@davemloft.net>
15506
15507 net/ipv6/addrconf.c | 11 ++++-------
15508 1 files changed, 4 insertions(+), 7 deletions(-)
15509
15510 commit f8002863fb06c363180637046947a78a6ccb3d33
15511 Author: WANG Cong <xiyou.wangcong@gmail.com>
15512 Date: Wed Dec 16 23:39:04 2015 -0800
15513
15514 net: check both type and procotol for tcp sockets
15515
15516 Dmitry reported the following out-of-bound access:
15517
15518 Call Trace:
15519 [<ffffffff816cec2e>] __asan_report_load4_noabort+0x3e/0x40
15520 mm/kasan/report.c:294
15521 [<ffffffff84affb14>] sock_setsockopt+0x1284/0x13d0 net/core/sock.c:880
15522 [< inline >] SYSC_setsockopt net/socket.c:1746
15523 [<ffffffff84aed7ee>] SyS_setsockopt+0x1fe/0x240 net/socket.c:1729
15524 [<ffffffff85c18c76>] entry_SYSCALL_64_fastpath+0x16/0x7a
15525 arch/x86/entry/entry_64.S:185
15526
15527 This is because we mistake a raw socket as a tcp socket.
15528 We should check both sk->sk_type and sk->sk_protocol to ensure
15529 it is a tcp socket.
15530
15531 Willem points out __skb_complete_tx_timestamp() needs to fix as well.
15532
15533 Reported-by: Dmitry Vyukov <dvyukov@google.com>
15534 Cc: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
15535 Cc: Eric Dumazet <eric.dumazet@gmail.com>
15536 Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
15537 Acked-by: Willem de Bruijn <willemb@google.com>
15538 Signed-off-by: David S. Miller <davem@davemloft.net>
15539
15540 net/core/skbuff.c | 3 ++-
15541 net/core/sock.c | 3 ++-
15542 2 files changed, 4 insertions(+), 2 deletions(-)
15543
15544 commit bd6b3399804470a4ad8f34229469ca149dceba3d
15545 Author: Colin Ian King <colin.king@canonical.com>
15546 Date: Fri Dec 18 14:22:01 2015 -0800
15547
15548 proc: fix -ESRCH error when writing to /proc/$pid/coredump_filter
15549
15550 Writing to /proc/$pid/coredump_filter always returns -ESRCH because commit
15551 774636e19ed51 ("proc: convert to kstrto*()/kstrto*_from_user()") removed
15552 the setting of ret after the get_proc_task call and incorrectly left it as
15553 -ESRCH. Instead, return 0 when successful.
15554
15555 Example breakage:
15556
15557 echo 0 > /proc/self/coredump_filter
15558 bash: echo: write error: No such process
15559
15560 Fixes: 774636e19ed51 ("proc: convert to kstrto*()/kstrto*_from_user()")
15561 Signed-off-by: Colin Ian King <colin.king@canonical.com>
15562 Acked-by: Kees Cook <keescook@chromium.org>
15563 Cc: <stable@vger.kernel.org> [4.3+]
15564 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
15565 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
15566
15567 fs/proc/base.c | 1 +
15568 1 files changed, 1 insertions(+), 0 deletions(-)
15569
15570 commit b28aca2b99ed08546778355fb9402c503ff9b29e
15571 Author: Junichi Nomura <j-nomura@ce.jp.nec.com>
15572 Date: Tue Dec 22 10:23:44 2015 -0700
15573
15574 block: ensure to split after potentially bouncing a bio
15575
15576 blk_queue_bio() does split then bounce, which makes the segment
15577 counting based on pages before bouncing and could go wrong. Move
15578 the split to after bouncing, like we do for blk-mq, and the we
15579 fix the issue of having the bio count for segments be wrong.
15580
15581 Fixes: 54efd50bfd87 ("block: make generic_make_request handle arbitrarily sized bios")
15582 Cc: stable@vger.kernel.org
15583 Tested-by: Artem S. Tashkinov <t.artem@lycos.com>
15584 Signed-off-by: Jens Axboe <axboe@fb.com>
15585
15586 block/blk-core.c | 4 ++--
15587 1 files changed, 2 insertions(+), 2 deletions(-)
15588
15589 commit e62a25e917a9e5b35ddd5b4f1b5e5e30fbd2e84c
15590 Merge: f6f63ae ec72fa5
15591 Author: Brad Spengler <spender@grsecurity.net>
15592 Date: Tue Dec 22 19:46:26 2015 -0500
15593
15594 Merge branch 'pax-test' into grsec-test
15595
15596 commit ec72fa5f8d9cb4e223bad1b8b5c2e1071c222f2a
15597 Author: Brad Spengler <spender@grsecurity.net>
15598 Date: Tue Dec 22 19:45:51 2015 -0500
15599
15600 Update to pax-linux-4.3.3-test13.patch:
15601 - Emese fixed a (probably) false positive integer truncation in xfs_da_grow_inode_int, reported by jdkbx (http://forums.grsecurity.net/viewtopic.php?f=3&t=4346)
15602 - fixed a size overflow in btrfs/try_merge_map, reported by Alex W (https://bugs.archlinux.org/task/47173) and mathias and dwokfur (https://forums.grsecurity.net/viewtopic.php?f=3&t=4344)
15603
15604 arch/arm/mm/fault.c | 2 +-
15605 arch/x86/mm/fault.c | 2 +-
15606 fs/btrfs/extent_map.c | 8 ++++++--
15607 fs/xfs/libxfs/xfs_da_btree.c | 4 +++-
15608 4 files changed, 11 insertions(+), 5 deletions(-)
15609
15610 commit f6f63ae154cd45028add1dc41957878060d77fbf
15611 Author: Brad Spengler <spender@grsecurity.net>
15612 Date: Thu Dec 17 18:43:44 2015 -0500
15613
15614 ptrace_has_cap() checks whether the current process should be
15615 treated as having a certain capability for ptrace checks
15616 against another process. Until now, this was equivalent to
15617 has_ns_capability(current, target_ns, CAP_SYS_PTRACE).
15618
15619 However, if a root-owned process wants to enter a user
15620 namespace for some reason without knowing who owns it and
15621 therefore can't change to the namespace owner's uid and gid
15622 before entering, as soon as it has entered the namespace,
15623 the namespace owner can attach to it via ptrace and thereby
15624 gain access to its uid and gid.
15625
15626 While it is possible for the entering process to switch to
15627 the uid of a claimed namespace owner before entering,
15628 causing the attempt to enter to fail if the claimed uid is
15629 wrong, this doesn't solve the problem of determining an
15630 appropriate gid.
15631
15632 With this change, the entering process can first enter the
15633 namespace and then safely inspect the namespace's
15634 properties, e.g. through /proc/self/{uid_map,gid_map},
15635 assuming that the namespace owner doesn't have access to
15636 uid 0.
15637 Signed-off-by: Jann Horn <jann@thejh.net>
15638
15639 kernel/ptrace.c | 30 +++++++++++++++++++++++++-----
15640 1 files changed, 25 insertions(+), 5 deletions(-)
15641
15642 commit e314f0fb63020f61543b401ff594e953c2c304e5
15643 Author: tadeusz.struk@intel.com <tadeusz.struk@intel.com>
15644 Date: Tue Dec 15 10:46:17 2015 -0800
15645
15646 net: fix uninitialized variable issue
15647
15648 msg_iocb needs to be initialized on the recv/recvfrom path.
15649 Otherwise afalg will wrongly interpret it as an async call.
15650
15651 Cc: stable@vger.kernel.org
15652 Reported-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
15653 Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
15654 Signed-off-by: David S. Miller <davem@davemloft.net>
15655
15656 net/socket.c | 1 +
15657 1 files changed, 1 insertions(+), 0 deletions(-)
15658
15659 commit a3f56a43ad56b8fcaf04f6327636ed2f5970de3b
15660 Merge: dfa764c 142edcf
15661 Author: Brad Spengler <spender@grsecurity.net>
15662 Date: Wed Dec 16 21:01:17 2015 -0500
15663
15664 Merge branch 'pax-test' into grsec-test
15665
15666 commit 142edcf1005a57fb8887823565cf0bafad2f313c
15667 Author: Brad Spengler <spender@grsecurity.net>
15668 Date: Wed Dec 16 21:00:57 2015 -0500
15669
15670 Update to pax-linux-4.3.3-test12.patch:
15671 - Emese fixed a size overflow false positive in reiserfs/leaf_paste_entries, reported by Christian Apeltauer (https://bugs.gentoo.org/show_bug.cgi?id=568046)
15672 - fixed a bunch of int/size_t mismatches in the drivers/tty/n_tty.c code causing size overflow false positives, reported by Toralf Förster, mathias (https://forums.grsecurity.net/viewtopic.php?f=3&t=4342), N8Fear (https://forums.grsecurity.net/viewtopic.php?f=3&t=4341)
15673
15674 drivers/tty/n_tty.c | 16 ++++++++--------
15675 .../disable_size_overflow_hash.data | 2 ++
15676 .../size_overflow_plugin/size_overflow_hash.data | 6 ++----
15677 3 files changed, 12 insertions(+), 12 deletions(-)
15678
15679 commit dfa764cc549892a5bfc1083cac78b99032cae577
15680 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
15681 Date: Tue Dec 15 22:59:12 2015 +0100
15682
15683 ipv6: automatically enable stable privacy mode if stable_secret set
15684
15685 Bjørn reported that while we switch all interfaces to privacy stable mode
15686 when setting the secret, we don't set this mode for new interfaces. This
15687 does not make sense, so change this behaviour.
15688
15689 Fixes: 622c81d57b392cc ("ipv6: generation of stable privacy addresses for link-local and autoconf")
15690 Reported-by: Bjørn Mork <bjorn@mork.no>
15691 Cc: Bjørn Mork <bjorn@mork.no>
15692 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
15693 Signed-off-by: David S. Miller <davem@davemloft.net>
15694
15695 net/ipv6/addrconf.c | 6 ++++++
15696 1 files changed, 6 insertions(+), 0 deletions(-)
15697
15698 commit c2815a1fee03f222273e77c14e43f960da06f35a
15699 Author: Brad Spengler <spender@grsecurity.net>
15700 Date: Wed Dec 16 13:03:38 2015 -0500
15701
15702 Work around upstream limitation on the number of thread info flags causing a compilation error
15703 Reported by fabled at http://forums.grsecurity.net/viewtopic.php?f=3&t=4339
15704
15705 arch/arm/kernel/entry-common.S | 8 ++++++--
15706 1 files changed, 6 insertions(+), 2 deletions(-)
15707
15708 commit 8c9ae168e09ae49324d709d76d73d9fc4ca477e1
15709 Author: Brad Spengler <spender@grsecurity.net>
15710 Date: Tue Dec 15 19:03:41 2015 -0500
15711
15712 Initial import of grsecurity 3.1 for Linux 4.3.3
15713
15714 Documentation/dontdiff | 2 +
15715 Documentation/kernel-parameters.txt | 7 +
15716 Documentation/sysctl/kernel.txt | 15 +
15717 Makefile | 18 +-
15718 arch/alpha/include/asm/cache.h | 4 +-
15719 arch/alpha/kernel/osf_sys.c | 12 +-
15720 arch/arc/Kconfig | 1 +
15721 arch/arm/Kconfig | 1 +
15722 arch/arm/Kconfig.debug | 1 +
15723 arch/arm/include/asm/thread_info.h | 7 +-
15724 arch/arm/kernel/process.c | 4 +-
15725 arch/arm/kernel/ptrace.c | 9 +
15726 arch/arm/kernel/traps.c | 7 +-
15727 arch/arm/mm/Kconfig | 2 +-
15728 arch/arm/mm/fault.c | 40 +-
15729 arch/arm/mm/mmap.c | 8 +-
15730 arch/arm/net/bpf_jit_32.c | 51 +-
15731 arch/arm64/Kconfig.debug | 1 +
15732 arch/avr32/include/asm/cache.h | 4 +-
15733 arch/blackfin/Kconfig.debug | 1 +
15734 arch/blackfin/include/asm/cache.h | 3 +-
15735 arch/cris/include/arch-v10/arch/cache.h | 3 +-
15736 arch/cris/include/arch-v32/arch/cache.h | 3 +-
15737 arch/frv/include/asm/cache.h | 3 +-
15738 arch/frv/mm/elf-fdpic.c | 4 +-
15739 arch/hexagon/include/asm/cache.h | 6 +-
15740 arch/ia64/Kconfig | 1 +
15741 arch/ia64/include/asm/cache.h | 3 +-
15742 arch/ia64/kernel/sys_ia64.c | 2 +
15743 arch/ia64/mm/hugetlbpage.c | 2 +
15744 arch/m32r/include/asm/cache.h | 4 +-
15745 arch/m68k/include/asm/cache.h | 4 +-
15746 arch/metag/mm/hugetlbpage.c | 1 +
15747 arch/microblaze/include/asm/cache.h | 3 +-
15748 arch/mips/Kconfig | 1 +
15749 arch/mips/include/asm/cache.h | 3 +-
15750 arch/mips/include/asm/thread_info.h | 11 +-
15751 arch/mips/kernel/irq.c | 3 +
15752 arch/mips/kernel/ptrace.c | 9 +
15753 arch/mips/mm/mmap.c | 4 +-
15754 arch/mn10300/proc-mn103e010/include/proc/cache.h | 4 +-
15755 arch/mn10300/proc-mn2ws0050/include/proc/cache.h | 4 +-
15756 arch/openrisc/include/asm/cache.h | 4 +-
15757 arch/parisc/include/asm/cache.h | 5 +-
15758 arch/parisc/kernel/sys_parisc.c | 4 +
15759 arch/powerpc/Kconfig | 1 +
15760 arch/powerpc/include/asm/cache.h | 4 +-
15761 arch/powerpc/include/asm/thread_info.h | 5 +-
15762 arch/powerpc/kernel/Makefile | 2 +
15763 arch/powerpc/kernel/irq.c | 3 +
15764 arch/powerpc/kernel/process.c | 10 +-
15765 arch/powerpc/kernel/ptrace.c | 14 +
15766 arch/powerpc/kernel/traps.c | 5 +
15767 arch/powerpc/mm/slice.c | 2 +-
15768 arch/s390/Kconfig.debug | 1 +
15769 arch/s390/include/asm/cache.h | 4 +-
15770 arch/score/include/asm/cache.h | 4 +-
15771 arch/sh/include/asm/cache.h | 3 +-
15772 arch/sh/mm/mmap.c | 6 +-
15773 arch/sparc/include/asm/cache.h | 4 +-
15774 arch/sparc/include/asm/pgalloc_64.h | 1 +
15775 arch/sparc/include/asm/thread_info_64.h | 8 +-
15776 arch/sparc/kernel/process_32.c | 6 +-
15777 arch/sparc/kernel/process_64.c | 8 +-
15778 arch/sparc/kernel/ptrace_64.c | 14 +
15779 arch/sparc/kernel/sys_sparc_64.c | 8 +-
15780 arch/sparc/kernel/syscalls.S | 8 +-
15781 arch/sparc/kernel/traps_32.c | 8 +-
15782 arch/sparc/kernel/traps_64.c | 28 +-
15783 arch/sparc/kernel/unaligned_64.c | 2 +-
15784 arch/sparc/mm/fault_64.c | 2 +-
15785 arch/sparc/mm/hugetlbpage.c | 15 +-
15786 arch/tile/Kconfig | 1 +
15787 arch/tile/include/asm/cache.h | 3 +-
15788 arch/tile/mm/hugetlbpage.c | 2 +
15789 arch/um/include/asm/cache.h | 3 +-
15790 arch/unicore32/include/asm/cache.h | 6 +-
15791 arch/x86/Kconfig | 21 +
15792 arch/x86/Kconfig.debug | 2 +
15793 arch/x86/entry/common.c | 14 +
15794 arch/x86/entry/entry_32.S | 2 +-
15795 arch/x86/entry/entry_64.S | 2 +-
15796 arch/x86/ia32/ia32_aout.c | 2 +
15797 arch/x86/include/asm/floppy.h | 20 +-
15798 arch/x86/include/asm/fpu/types.h | 69 +-
15799 arch/x86/include/asm/io.h | 2 +-
15800 arch/x86/include/asm/page.h | 12 +-
15801 arch/x86/include/asm/paravirt_types.h | 23 +-
15802 arch/x86/include/asm/processor.h | 12 +-
15803 arch/x86/include/asm/thread_info.h | 6 +-
15804 arch/x86/include/asm/uaccess.h | 2 +-
15805 arch/x86/kernel/dumpstack.c | 10 +-
15806 arch/x86/kernel/dumpstack_32.c | 2 +-
15807 arch/x86/kernel/dumpstack_64.c | 2 +-
15808 arch/x86/kernel/ioport.c | 13 +
15809 arch/x86/kernel/irq_32.c | 3 +
15810 arch/x86/kernel/irq_64.c | 4 +
15811 arch/x86/kernel/ldt.c | 18 +
15812 arch/x86/kernel/msr.c | 10 +
15813 arch/x86/kernel/ptrace.c | 14 +
15814 arch/x86/kernel/signal.c | 9 +-
15815 arch/x86/kernel/sys_i386_32.c | 9 +-
15816 arch/x86/kernel/sys_x86_64.c | 8 +-
15817 arch/x86/kernel/traps.c | 5 +
15818 arch/x86/kernel/verify_cpu.S | 1 +
15819 arch/x86/kernel/vm86_32.c | 15 +
15820 arch/x86/kvm/svm.c | 14 +-
15821 arch/x86/mm/fault.c | 12 +-
15822 arch/x86/mm/hugetlbpage.c | 15 +-
15823 arch/x86/mm/init.c | 66 +-
15824 arch/x86/mm/init_32.c | 6 +-
15825 arch/x86/net/bpf_jit_comp.c | 4 +
15826 arch/x86/platform/efi/efi_64.c | 2 +-
15827 arch/x86/xen/Kconfig | 1 +
15828 arch/xtensa/variants/dc232b/include/variant/core.h | 2 +-
15829 arch/xtensa/variants/fsf/include/variant/core.h | 3 +-
15830 crypto/ablkcipher.c | 2 +-
15831 crypto/blkcipher.c | 2 +-
15832 crypto/scatterwalk.c | 10 +-
15833 drivers/acpi/acpica/hwxfsleep.c | 11 +-
15834 drivers/acpi/custom_method.c | 4 +
15835 drivers/block/cciss.h | 30 +-
15836 drivers/block/smart1,2.h | 40 +-
15837 drivers/cdrom/cdrom.c | 2 +-
15838 drivers/char/Kconfig | 4 +-
15839 drivers/char/genrtc.c | 1 +
15840 drivers/char/ipmi/ipmi_si_intf.c | 8 +-
15841 drivers/char/mem.c | 17 +
15842 drivers/char/random.c | 5 +-
15843 drivers/cpufreq/sparc-us3-cpufreq.c | 2 -
15844 drivers/crypto/nx/nx-aes-ccm.c | 2 +-
15845 drivers/crypto/nx/nx-aes-gcm.c | 2 +-
15846 drivers/crypto/talitos.c | 2 +-
15847 drivers/firewire/ohci.c | 4 +
15848 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 70 +-
15849 drivers/gpu/drm/nouveau/nouveau_ttm.c | 28 +-
15850 drivers/gpu/drm/ttm/ttm_bo_manager.c | 10 +-
15851 drivers/gpu/drm/virtio/virtgpu_ttm.c | 10 +-
15852 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c | 10 +-
15853 drivers/hid/hid-wiimote-debug.c | 2 +-
15854 drivers/infiniband/hw/nes/nes_cm.c | 22 +-
15855 drivers/iommu/Kconfig | 1 +
15856 drivers/iommu/amd_iommu.c | 14 +-
15857 drivers/isdn/gigaset/bas-gigaset.c | 32 +-
15858 drivers/isdn/gigaset/ser-gigaset.c | 32 +-
15859 drivers/isdn/gigaset/usb-gigaset.c | 32 +-
15860 drivers/isdn/hisax/config.c | 2 +-
15861 drivers/isdn/hisax/hfc_pci.c | 2 +-
15862 drivers/isdn/hisax/hfc_sx.c | 2 +-
15863 drivers/isdn/hisax/q931.c | 6 +-
15864 drivers/isdn/i4l/isdn_concap.c | 6 +-
15865 drivers/isdn/i4l/isdn_x25iface.c | 16 +-
15866 drivers/md/bcache/Kconfig | 1 +
15867 drivers/md/raid5.c | 8 +
15868 drivers/media/pci/solo6x10/solo6x10-g723.c | 2 +-
15869 drivers/media/platform/sti/c8sectpfe/Kconfig | 1 +
15870 drivers/media/platform/vivid/vivid-osd.c | 1 +
15871 drivers/media/radio/radio-cadet.c | 5 +-
15872 drivers/media/usb/dvb-usb/cinergyT2-core.c | 91 +-
15873 drivers/media/usb/dvb-usb/cinergyT2-fe.c | 182 +-
15874 drivers/media/usb/dvb-usb/dvb-usb-firmware.c | 37 +-
15875 drivers/media/usb/dvb-usb/technisat-usb2.c | 75 +-
15876 drivers/message/fusion/mptbase.c | 9 +
15877 drivers/misc/sgi-xp/xp_main.c | 12 +-
15878 drivers/net/ethernet/brocade/bna/bna_enet.c | 8 +-
15879 drivers/net/ppp/pppoe.c | 14 +-
15880 drivers/net/ppp/pptp.c | 6 +
15881 drivers/net/slip/slhc.c | 3 +
15882 drivers/net/wan/lmc/lmc_media.c | 97 +-
15883 drivers/net/wan/x25_asy.c | 6 +-
15884 drivers/net/wan/z85230.c | 24 +-
15885 drivers/net/wireless/ath/ath9k/Kconfig | 1 -
15886 drivers/net/wireless/zd1211rw/zd_usb.c | 2 +-
15887 drivers/pci/pci-sysfs.c | 2 +-
15888 drivers/pci/proc.c | 9 +
15889 drivers/platform/x86/asus-wmi.c | 12 +
15890 drivers/rtc/rtc-dev.c | 3 +
15891 drivers/scsi/bfa/bfa_fcs.c | 19 +-
15892 drivers/scsi/bfa/bfa_fcs_lport.c | 29 +-
15893 drivers/scsi/bfa/bfa_modules.h | 12 +-
15894 drivers/scsi/hpsa.h | 40 +-
15895 drivers/staging/dgnc/dgnc_mgmt.c | 1 +
15896 drivers/staging/lustre/lustre/ldlm/ldlm_flock.c | 2 +-
15897 drivers/staging/lustre/lustre/libcfs/module.c | 10 +-
15898 drivers/target/target_core_sbc.c | 17 +-
15899 drivers/target/target_core_transport.c | 14 +-
15900 drivers/tty/serial/uartlite.c | 4 +-
15901 drivers/tty/sysrq.c | 2 +-
15902 drivers/tty/vt/keyboard.c | 22 +-
15903 drivers/uio/uio.c | 6 +-
15904 drivers/usb/core/hub.c | 5 +
15905 drivers/usb/gadget/function/f_uac1.c | 1 +
15906 drivers/usb/gadget/function/u_uac1.c | 1 +
15907 drivers/usb/host/hwa-hc.c | 9 +-
15908 drivers/usb/usbip/vhci_sysfs.c | 2 +-
15909 drivers/video/fbdev/arcfb.c | 2 +-
15910 drivers/video/fbdev/matrox/matroxfb_DAC1064.c | 10 +-
15911 drivers/video/fbdev/matrox/matroxfb_Ti3026.c | 5 +-
15912 drivers/video/fbdev/sh_mobile_lcdcfb.c | 6 +-
15913 drivers/video/logo/logo_linux_clut224.ppm | 2720 ++++-----
15914 drivers/xen/xenfs/xenstored.c | 5 +
15915 firmware/Makefile | 2 +
15916 firmware/WHENCE | 20 +-
15917 firmware/bnx2/bnx2-mips-06-6.2.3.fw.ihex | 5804 +++++++++++++++++
15918 firmware/bnx2/bnx2-mips-09-6.2.1b.fw.ihex | 6496 ++++++++++++++++++++
15919 fs/9p/vfs_inode.c | 4 +-
15920 fs/attr.c | 1 +
15921 fs/autofs4/waitq.c | 9 +
15922 fs/binfmt_aout.c | 7 +
15923 fs/binfmt_elf.c | 50 +-
15924 fs/compat.c | 20 +-
15925 fs/coredump.c | 17 +-
15926 fs/dcache.c | 3 +
15927 fs/debugfs/inode.c | 11 +-
15928 fs/exec.c | 219 +-
15929 fs/ext2/balloc.c | 4 +-
15930 fs/ext2/super.c | 8 +-
15931 fs/ext4/balloc.c | 4 +-
15932 fs/fcntl.c | 4 +
15933 fs/fhandle.c | 3 +-
15934 fs/file.c | 4 +
15935 fs/filesystems.c | 4 +
15936 fs/fs_struct.c | 20 +-
15937 fs/hugetlbfs/inode.c | 5 +-
15938 fs/inode.c | 8 +-
15939 fs/kernfs/dir.c | 6 +
15940 fs/mount.h | 4 +-
15941 fs/namei.c | 286 +-
15942 fs/namespace.c | 24 +
15943 fs/nfsd/nfscache.c | 2 +-
15944 fs/open.c | 38 +
15945 fs/overlayfs/inode.c | 11 +-
15946 fs/overlayfs/super.c | 6 +-
15947 fs/pipe.c | 2 +-
15948 fs/posix_acl.c | 15 +-
15949 fs/proc/Kconfig | 10 +-
15950 fs/proc/array.c | 69 +-
15951 fs/proc/base.c | 186 +-
15952 fs/proc/cmdline.c | 4 +
15953 fs/proc/devices.c | 4 +
15954 fs/proc/fd.c | 17 +-
15955 fs/proc/generic.c | 64 +
15956 fs/proc/inode.c | 17 +
15957 fs/proc/internal.h | 11 +-
15958 fs/proc/interrupts.c | 4 +
15959 fs/proc/kcore.c | 3 +
15960 fs/proc/meminfo.c | 7 +-
15961 fs/proc/namespaces.c | 4 +-
15962 fs/proc/proc_net.c | 31 +
15963 fs/proc/proc_sysctl.c | 52 +-
15964 fs/proc/root.c | 8 +
15965 fs/proc/stat.c | 69 +-
15966 fs/proc/task_mmu.c | 66 +-
15967 fs/readdir.c | 19 +
15968 fs/reiserfs/item_ops.c | 24 +-
15969 fs/reiserfs/super.c | 4 +
15970 fs/select.c | 2 +
15971 fs/seq_file.c | 30 +-
15972 fs/splice.c | 8 +
15973 fs/stat.c | 20 +-
15974 fs/sysfs/dir.c | 30 +-
15975 fs/sysv/inode.c | 11 +-
15976 fs/utimes.c | 7 +
15977 fs/xattr.c | 26 +-
15978 grsecurity/Kconfig | 1182 ++++
15979 grsecurity/Makefile | 54 +
15980 grsecurity/gracl.c | 2757 +++++++++
15981 grsecurity/gracl_alloc.c | 105 +
15982 grsecurity/gracl_cap.c | 127 +
15983 grsecurity/gracl_compat.c | 269 +
15984 grsecurity/gracl_fs.c | 448 ++
15985 grsecurity/gracl_ip.c | 386 ++
15986 grsecurity/gracl_learn.c | 207 +
15987 grsecurity/gracl_policy.c | 1786 ++++++
15988 grsecurity/gracl_res.c | 68 +
15989 grsecurity/gracl_segv.c | 304 +
15990 grsecurity/gracl_shm.c | 40 +
15991 grsecurity/grsec_chdir.c | 19 +
15992 grsecurity/grsec_chroot.c | 467 ++
15993 grsecurity/grsec_disabled.c | 445 ++
15994 grsecurity/grsec_exec.c | 189 +
15995 grsecurity/grsec_fifo.c | 26 +
15996 grsecurity/grsec_fork.c | 23 +
15997 grsecurity/grsec_init.c | 290 +
15998 grsecurity/grsec_ipc.c | 48 +
15999 grsecurity/grsec_link.c | 65 +
16000 grsecurity/grsec_log.c | 340 +
16001 grsecurity/grsec_mem.c | 48 +
16002 grsecurity/grsec_mount.c | 65 +
16003 grsecurity/grsec_pax.c | 47 +
16004 grsecurity/grsec_proc.c | 20 +
16005 grsecurity/grsec_ptrace.c | 30 +
16006 grsecurity/grsec_sig.c | 236 +
16007 grsecurity/grsec_sock.c | 244 +
16008 grsecurity/grsec_sysctl.c | 488 ++
16009 grsecurity/grsec_time.c | 16 +
16010 grsecurity/grsec_tpe.c | 78 +
16011 grsecurity/grsec_usb.c | 15 +
16012 grsecurity/grsum.c | 64 +
16013 include/linux/binfmts.h | 5 +-
16014 include/linux/bitops.h | 2 +-
16015 include/linux/capability.h | 13 +
16016 include/linux/compiler-gcc.h | 5 +
16017 include/linux/compiler.h | 8 +
16018 include/linux/cred.h | 8 +-
16019 include/linux/dcache.h | 5 +-
16020 include/linux/fs.h | 24 +-
16021 include/linux/fs_struct.h | 2 +-
16022 include/linux/fsnotify.h | 6 +
16023 include/linux/gracl.h | 342 +
16024 include/linux/gracl_compat.h | 156 +
16025 include/linux/gralloc.h | 9 +
16026 include/linux/grdefs.h | 140 +
16027 include/linux/grinternal.h | 230 +
16028 include/linux/grmsg.h | 118 +
16029 include/linux/grsecurity.h | 255 +
16030 include/linux/grsock.h | 19 +
16031 include/linux/ipc.h | 2 +-
16032 include/linux/ipc_namespace.h | 2 +-
16033 include/linux/kallsyms.h | 18 +-
16034 include/linux/kmod.h | 5 +
16035 include/linux/kobject.h | 2 +-
16036 include/linux/lsm_hooks.h | 4 +-
16037 include/linux/mm.h | 12 +
16038 include/linux/mm_types.h | 4 +-
16039 include/linux/module.h | 5 +-
16040 include/linux/mount.h | 2 +-
16041 include/linux/msg.h | 2 +-
16042 include/linux/netfilter/xt_gradm.h | 9 +
16043 include/linux/path.h | 4 +-
16044 include/linux/perf_event.h | 13 +-
16045 include/linux/pid_namespace.h | 2 +-
16046 include/linux/printk.h | 2 +-
16047 include/linux/proc_fs.h | 22 +-
16048 include/linux/proc_ns.h | 2 +-
16049 include/linux/ptrace.h | 24 +-
16050 include/linux/random.h | 2 +-
16051 include/linux/rbtree_augmented.h | 4 +-
16052 include/linux/scatterlist.h | 12 +-
16053 include/linux/sched.h | 114 +-
16054 include/linux/security.h | 1 +
16055 include/linux/sem.h | 2 +-
16056 include/linux/seq_file.h | 5 +
16057 include/linux/shm.h | 6 +-
16058 include/linux/skbuff.h | 3 +
16059 include/linux/slab.h | 9 -
16060 include/linux/sysctl.h | 8 +-
16061 include/linux/thread_info.h | 6 +-
16062 include/linux/tty.h | 2 +-
16063 include/linux/tty_driver.h | 4 +-
16064 include/linux/uidgid.h | 5 +
16065 include/linux/user_namespace.h | 2 +-
16066 include/linux/utsname.h | 2 +-
16067 include/linux/vermagic.h | 16 +-
16068 include/linux/vmalloc.h | 20 +-
16069 include/net/af_unix.h | 2 +-
16070 include/net/dst.h | 33 +
16071 include/net/ip.h | 2 +-
16072 include/net/neighbour.h | 2 +-
16073 include/net/net_namespace.h | 2 +-
16074 include/net/sock.h | 4 +-
16075 include/target/target_core_base.h | 2 +-
16076 include/trace/events/fs.h | 53 +
16077 include/uapi/linux/personality.h | 1 +
16078 init/Kconfig | 4 +-
16079 init/main.c | 35 +-
16080 ipc/mqueue.c | 1 +
16081 ipc/msg.c | 3 +-
16082 ipc/sem.c | 3 +-
16083 ipc/shm.c | 26 +-
16084 ipc/util.c | 6 +
16085 kernel/auditsc.c | 2 +-
16086 kernel/bpf/syscall.c | 8 +-
16087 kernel/capability.c | 41 +-
16088 kernel/cgroup.c | 5 +-
16089 kernel/compat.c | 1 +
16090 kernel/configs.c | 11 +
16091 kernel/cred.c | 112 +-
16092 kernel/events/core.c | 16 +-
16093 kernel/exit.c | 10 +-
16094 kernel/fork.c | 86 +-
16095 kernel/futex.c | 6 +-
16096 kernel/futex_compat.c | 2 +-
16097 kernel/kallsyms.c | 9 +
16098 kernel/kcmp.c | 8 +-
16099 kernel/kexec_core.c | 2 +-
16100 kernel/kmod.c | 95 +-
16101 kernel/kprobes.c | 7 +-
16102 kernel/ksysfs.c | 2 +
16103 kernel/locking/lockdep_proc.c | 10 +-
16104 kernel/module.c | 108 +-
16105 kernel/panic.c | 4 +-
16106 kernel/pid.c | 23 +-
16107 kernel/power/Kconfig | 2 +
16108 kernel/printk/printk.c | 20 +-
16109 kernel/ptrace.c | 56 +-
16110 kernel/resource.c | 10 +
16111 kernel/sched/core.c | 11 +-
16112 kernel/signal.c | 37 +-
16113 kernel/sys.c | 64 +-
16114 kernel/sysctl.c | 172 +-
16115 kernel/taskstats.c | 6 +
16116 kernel/time/posix-timers.c | 8 +
16117 kernel/time/time.c | 5 +
16118 kernel/time/timekeeping.c | 3 +
16119 kernel/time/timer_list.c | 13 +-
16120 kernel/time/timer_stats.c | 10 +-
16121 kernel/trace/Kconfig | 2 +
16122 kernel/trace/trace_syscalls.c | 8 +
16123 kernel/user_namespace.c | 15 +
16124 lib/Kconfig.debug | 13 +-
16125 lib/Kconfig.kasan | 2 +-
16126 lib/is_single_threaded.c | 3 +
16127 lib/list_debug.c | 65 +-
16128 lib/nlattr.c | 2 +
16129 lib/rbtree.c | 4 +-
16130 lib/vsprintf.c | 39 +-
16131 localversion-grsec | 1 +
16132 mm/Kconfig | 8 +-
16133 mm/Kconfig.debug | 1 +
16134 mm/filemap.c | 1 +
16135 mm/kmemleak.c | 4 +-
16136 mm/memory.c | 2 +-
16137 mm/mempolicy.c | 12 +-
16138 mm/migrate.c | 3 +-
16139 mm/mlock.c | 6 +-
16140 mm/mmap.c | 93 +-
16141 mm/mprotect.c | 8 +
16142 mm/oom_kill.c | 28 +-
16143 mm/page_alloc.c | 2 +-
16144 mm/process_vm_access.c | 8 +-
16145 mm/shmem.c | 36 +-
16146 mm/slab.c | 14 +-
16147 mm/slab_common.c | 2 +-
16148 mm/slob.c | 12 +
16149 mm/slub.c | 33 +-
16150 mm/util.c | 3 +
16151 mm/vmalloc.c | 129 +-
16152 mm/vmstat.c | 29 +-
16153 net/appletalk/atalk_proc.c | 2 +-
16154 net/atm/lec.c | 6 +-
16155 net/atm/mpoa_caches.c | 42 +-
16156 net/bluetooth/sco.c | 3 +
16157 net/can/bcm.c | 2 +-
16158 net/can/proc.c | 2 +-
16159 net/core/dev_ioctl.c | 7 +-
16160 net/core/filter.c | 8 +-
16161 net/core/net-procfs.c | 17 +-
16162 net/core/pktgen.c | 2 +-
16163 net/core/sock.c | 3 +-
16164 net/core/sysctl_net_core.c | 2 +-
16165 net/decnet/dn_dev.c | 2 +-
16166 net/ipv4/devinet.c | 6 +-
16167 net/ipv4/inet_hashtables.c | 4 +
16168 net/ipv4/ip_input.c | 7 +
16169 net/ipv4/ip_sockglue.c | 3 +-
16170 net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 +-
16171 net/ipv4/netfilter/nf_nat_pptp.c | 2 +-
16172 net/ipv4/route.c | 6 +-
16173 net/ipv4/tcp_input.c | 4 +-
16174 net/ipv4/tcp_ipv4.c | 29 +-
16175 net/ipv4/tcp_minisocks.c | 9 +-
16176 net/ipv4/tcp_timer.c | 11 +
16177 net/ipv4/udp.c | 24 +
16178 net/ipv6/addrconf.c | 13 +-
16179 net/ipv6/proc.c | 2 +-
16180 net/ipv6/tcp_ipv6.c | 26 +-
16181 net/ipv6/udp.c | 7 +
16182 net/ipx/ipx_proc.c | 2 +-
16183 net/irda/irproc.c | 2 +-
16184 net/llc/llc_proc.c | 2 +-
16185 net/netfilter/Kconfig | 10 +
16186 net/netfilter/Makefile | 1 +
16187 net/netfilter/nf_conntrack_core.c | 8 +
16188 net/netfilter/xt_gradm.c | 51 +
16189 net/netfilter/xt_hashlimit.c | 4 +-
16190 net/netfilter/xt_recent.c | 2 +-
16191 net/sched/sch_api.c | 2 +-
16192 net/sctp/socket.c | 4 +-
16193 net/socket.c | 75 +-
16194 net/sunrpc/Kconfig | 1 +
16195 net/sunrpc/cache.c | 2 +-
16196 net/sunrpc/stats.c | 2 +-
16197 net/sysctl_net.c | 2 +-
16198 net/unix/af_unix.c | 52 +-
16199 net/vmw_vsock/vmci_transport_notify.c | 30 +-
16200 net/vmw_vsock/vmci_transport_notify_qstate.c | 30 +-
16201 net/x25/sysctl_net_x25.c | 2 +-
16202 net/x25/x25_proc.c | 2 +-
16203 scripts/package/Makefile | 2 +-
16204 scripts/package/mkspec | 41 +-
16205 security/Kconfig | 369 +-
16206 security/apparmor/file.c | 4 +-
16207 security/apparmor/lsm.c | 8 +-
16208 security/commoncap.c | 36 +-
16209 security/min_addr.c | 2 +
16210 security/smack/smack_lsm.c | 8 +-
16211 security/tomoyo/file.c | 12 +-
16212 security/tomoyo/mount.c | 4 +
16213 security/tomoyo/tomoyo.c | 20 +-
16214 security/yama/Kconfig | 2 +-
16215 security/yama/yama_lsm.c | 4 +-
16216 sound/synth/emux/emux_seq.c | 14 +-
16217 sound/usb/line6/driver.c | 40 +-
16218 sound/usb/line6/toneport.c | 12 +-
16219 tools/gcc/.gitignore | 1 +
16220 tools/gcc/Makefile | 12 +
16221 tools/gcc/gen-random-seed.sh | 8 +
16222 tools/gcc/randomize_layout_plugin.c | 930 +++
16223 tools/gcc/size_overflow_plugin/.gitignore | 1 +
16224 .../size_overflow_plugin/size_overflow_hash.data | 459 ++-
16225 511 files changed, 32631 insertions(+), 3196 deletions(-)
16226
16227 commit a76adb92ce39aee8eec5a025c828030ad6135c6d
16228 Author: Brad Spengler <spender@grsecurity.net>
16229 Date: Tue Dec 15 14:31:49 2015 -0500
16230
16231 Update to pax-linux-4.3.3-test11.patch:
16232 - fixed a few compile regressions with the recent plugin changes, reported by spender
16233 - updated the size overflow hash table
16234
16235 tools/gcc/latent_entropy_plugin.c | 2 +-
16236 .../size_overflow_plugin/size_overflow_hash.data | 66 +++++++++++++++++---
16237 tools/gcc/stackleak_plugin.c | 2 +-
16238 tools/gcc/structleak_plugin.c | 6 +--
16239 4 files changed, 60 insertions(+), 16 deletions(-)
16240
16241 commit f7284b1fc06628fcb2d35d2beecdea5454d46af9
16242 Author: Brad Spengler <spender@grsecurity.net>
16243 Date: Tue Dec 15 11:50:24 2015 -0500
16244
16245 Apply structleak ICE fix for gcc < 4.9
16246
16247 tools/gcc/structleak_plugin.c | 4 ++++
16248 1 files changed, 4 insertions(+), 0 deletions(-)
16249
16250 commit 92fe3eb9fd10ec7f7334decab1526989669b0287
16251 Author: Brad Spengler <spender@grsecurity.net>
16252 Date: Tue Dec 15 07:57:06 2015 -0500
16253
16254 Update to pax-linux-4.3.1-test10.patch:
16255 - Emese fixed INDIRECT_REF and TARGET_MEM_REF handling in the initify plugin
16256 - Emese regenerated the size overflow hash tables for 4.3
16257 - fixed some compat syscall exit paths to restore r12 under KERNEXEC/or
16258 - the latent entropy, stackleak and structleak plugins no longer split the entry block unnecessarily
16259
16260 arch/x86/entry/entry_64.S | 2 +-
16261 arch/x86/entry/entry_64_compat.S | 15 +-
16262 scripts/package/builddeb | 2 +-
16263 tools/gcc/initify_plugin.c | 11 +-
16264 tools/gcc/latent_entropy_plugin.c | 20 +-
16265 .../disable_size_overflow_hash.data | 4 +
16266 .../size_overflow_plugin/size_overflow_hash.data | 5345 +++++++++++---------
16267 tools/gcc/stackleak_plugin.c | 26 +-
16268 tools/gcc/structleak_plugin.c | 21 +-
16269 9 files changed, 3079 insertions(+), 2367 deletions(-)
16270
16271 commit 5bd245cb687319079c2f1c0d6a1170791ed1ed2c
16272 Merge: b5847e6 3548341
16273 Author: Brad Spengler <spender@grsecurity.net>
16274 Date: Tue Dec 15 07:47:56 2015 -0500
16275
16276 Merge branch 'linux-4.3.y' into pax-4_3
16277
16278 Conflicts:
16279 net/unix/af_unix.c
16280
16281 commit b5847e6a896c5d99191135ca4d7c3b6be8f116ff
16282 Author: Brad Spengler <spender@grsecurity.net>
16283 Date: Wed Dec 9 23:11:36 2015 -0500
16284
16285 Update to pax-linux-4.3.1-test9.patch:
16286 - fixed __get_user on x86 to lie less about the size of the load, reported by peetaur (https://forums.grsecurity.net/viewtopic.php?f=3&t=4332)
16287 - Emese fixed an intentional overflow caused by gcc, reported by saironiq (https://forums.grsecurity.net/viewtopic.php?f=3&t=4333)
16288 - Emese fixed a false positive overflow report in the forcedeth driver, reported by fx3 (https://forums.grsecurity.net/viewtopic.php?t=4334)
16289 - Emese fixed a false positive overflow report in KVM's emulator, reported by fx3 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4336)
16290 - Emese fixed the initify plugin to detect some captured use of __func__, reported by Rasmus Villemoes <linux@rasmusvillemoes.dk>
16291 - constrained shmmax and shmall to avoid triggering size overflow checks, reported by Mathias Krause <minipli@ld-linux.so>
16292 - the checker plugin can partially handle sparse's locking context annotations, it's context insensitive and thus not exactly useful for now, also see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59856
16293
16294 Makefile | 6 +
16295 arch/x86/include/asm/compat.h | 4 +
16296 arch/x86/include/asm/dma.h | 2 +
16297 arch/x86/include/asm/pmem.h | 2 +-
16298 arch/x86/include/asm/uaccess.h | 20 +-
16299 arch/x86/kernel/apic/vector.c | 6 +-
16300 arch/x86/kernel/cpu/mtrr/generic.c | 6 +-
16301 arch/x86/kernel/cpu/perf_event_intel.c | 28 +-
16302 arch/x86/kernel/head_64.S | 1 -
16303 arch/x86/kvm/i8259.c | 10 +-
16304 arch/x86/kvm/ioapic.c | 2 +
16305 arch/x86/kvm/x86.c | 2 +
16306 arch/x86/lib/usercopy_64.c | 2 +-
16307 arch/x86/mm/mpx.c | 4 +-
16308 arch/x86/mm/pageattr.c | 7 +
16309 drivers/base/devres.c | 4 +-
16310 drivers/base/power/runtime.c | 6 +-
16311 drivers/base/regmap/regmap.c | 4 +-
16312 drivers/block/drbd/drbd_receiver.c | 4 +-
16313 drivers/block/drbd/drbd_worker.c | 6 +-
16314 drivers/char/virtio_console.c | 6 +-
16315 drivers/md/dm.c | 12 +-
16316 drivers/net/ethernet/nvidia/forcedeth.c | 4 +-
16317 drivers/net/macvtap.c | 4 +-
16318 drivers/video/fbdev/core/fbmem.c | 10 +-
16319 fs/compat.c | 3 +-
16320 fs/coredump.c | 2 +-
16321 fs/dcache.c | 13 +-
16322 fs/fhandle.c | 2 +-
16323 fs/file.c | 14 +-
16324 fs/fs-writeback.c | 11 +-
16325 fs/overlayfs/copy_up.c | 2 +-
16326 fs/readdir.c | 3 +-
16327 fs/super.c | 3 +-
16328 include/linux/compiler.h | 36 ++-
16329 include/linux/rcupdate.h | 8 +
16330 include/linux/sched.h | 4 +-
16331 include/linux/seqlock.h | 10 +
16332 include/linux/spinlock.h | 17 +-
16333 include/linux/srcu.h | 5 +-
16334 include/linux/syscalls.h | 2 +-
16335 include/linux/writeback.h | 3 +-
16336 include/uapi/linux/swab.h | 6 +-
16337 ipc/ipc_sysctl.c | 6 +
16338 kernel/exit.c | 25 +-
16339 kernel/resource.c | 4 +-
16340 kernel/signal.c | 12 +-
16341 kernel/user.c | 2 +-
16342 kernel/workqueue.c | 6 +-
16343 lib/rhashtable.c | 4 +-
16344 net/compat.c | 2 +-
16345 net/ipv4/xfrm4_mode_transport.c | 2 +-
16346 security/keys/internal.h | 8 +-
16347 security/keys/keyring.c | 4 -
16348 sound/core/seq/seq_clientmgr.c | 8 +-
16349 sound/core/seq/seq_compat.c | 2 +-
16350 sound/core/seq/seq_memory.c | 6 +-
16351 tools/gcc/checker_plugin.c | 415 +++++++++++++++++++-
16352 tools/gcc/gcc-common.h | 1 +
16353 tools/gcc/initify_plugin.c | 33 ++-
16354 .../disable_size_overflow_hash.data | 1 +
16355 .../size_overflow_plugin/size_overflow_hash.data | 1 -
16356 62 files changed, 708 insertions(+), 140 deletions(-)
16357
16358 commit f2634c2f6995f4231616f24ed016f890c701f939
16359 Merge: 1241bff 5f8b236
16360 Author: Brad Spengler <spender@grsecurity.net>
16361 Date: Wed Dec 9 21:50:47 2015 -0500
16362
16363 Merge branch 'linux-4.3.y' into pax-4_3
16364
16365 Conflicts:
16366 arch/x86/kernel/fpu/xstate.c
16367 arch/x86/kernel/head_64.S
16368
16369 commit 1241bff82e3d7dadb05de0a60b8d2822afc6547c
16370 Author: Brad Spengler <spender@grsecurity.net>
16371 Date: Sun Dec 6 08:44:56 2015 -0500
16372
16373 Update to pax-linux-4.3-test8.patch:
16374 - fixed integer truncation check in md introduced by upstream commits 284ae7cab0f7335c9e0aa8992b28415ef1a54c7c and 58c0fed400603a802968b23ddf78f029c5a84e41, reported by BeiKed9o (https://forums.grsecurity.net/viewtopic.php?f=3&t=4328)
16375 - gcc plugin compilation problems will now also produce the output of the checking script to make diagnosis easier, reported by hunger
16376 - Emese fixed a false positive size overflow report in __vhost_add_used_n, reported by quasar366 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4329)
16377 - fixed a potential integer truncation error in the raid1 code caught by the size overflow plugin, reported by d1b (https://forums.grsecurity.net/viewtopic.php?f=3&t=4331)
16378
16379 Makefile | 5 +++
16380 drivers/md/md.c | 5 ++-
16381 drivers/md/raid1.c | 2 +-
16382 fs/proc/task_mmu.c | 3 ++
16383 .../disable_size_overflow_hash.data | 4 ++-
16384 .../size_overflow_plugin/intentional_overflow.c | 32 ++++++++++++++++---
16385 .../size_overflow_plugin/size_overflow_hash.data | 2 -
16386 .../size_overflow_plugin/size_overflow_plugin.c | 2 +-
16387 8 files changed, 43 insertions(+), 12 deletions(-)
16388
16389 commit cce6a9f9bdd27096632ca1c0246dcc07f2eb1a18
16390 Author: Brad Spengler <spender@grsecurity.net>
16391 Date: Fri Dec 4 14:24:12 2015 -0500
16392
16393 Initial import of pax-linux-4.3-test7.patch
16394
16395 Documentation/dontdiff | 47 +-
16396 Documentation/kbuild/makefiles.txt | 39 +-
16397 Documentation/kernel-parameters.txt | 28 +
16398 Makefile | 108 +-
16399 arch/alpha/include/asm/atomic.h | 10 +
16400 arch/alpha/include/asm/elf.h | 7 +
16401 arch/alpha/include/asm/pgalloc.h | 6 +
16402 arch/alpha/include/asm/pgtable.h | 11 +
16403 arch/alpha/kernel/module.c | 2 +-
16404 arch/alpha/kernel/osf_sys.c | 8 +-
16405 arch/alpha/mm/fault.c | 141 +-
16406 arch/arm/Kconfig | 2 +-
16407 arch/arm/include/asm/atomic.h | 320 +-
16408 arch/arm/include/asm/cache.h | 5 +-
16409 arch/arm/include/asm/cacheflush.h | 2 +-
16410 arch/arm/include/asm/checksum.h | 14 +-
16411 arch/arm/include/asm/cmpxchg.h | 4 +
16412 arch/arm/include/asm/cpuidle.h | 2 +-
16413 arch/arm/include/asm/domain.h | 22 +-
16414 arch/arm/include/asm/elf.h | 9 +-
16415 arch/arm/include/asm/fncpy.h | 2 +
16416 arch/arm/include/asm/futex.h | 10 +
16417 arch/arm/include/asm/kmap_types.h | 2 +-
16418 arch/arm/include/asm/mach/dma.h | 2 +-
16419 arch/arm/include/asm/mach/map.h | 16 +-
16420 arch/arm/include/asm/outercache.h | 2 +-
16421 arch/arm/include/asm/page.h | 3 +-
16422 arch/arm/include/asm/pgalloc.h | 20 +
16423 arch/arm/include/asm/pgtable-2level-hwdef.h | 4 +-
16424 arch/arm/include/asm/pgtable-2level.h | 3 +
16425 arch/arm/include/asm/pgtable-3level.h | 3 +
16426 arch/arm/include/asm/pgtable.h | 54 +-
16427 arch/arm/include/asm/smp.h | 2 +-
16428 arch/arm/include/asm/tls.h | 3 +
16429 arch/arm/include/asm/uaccess.h | 79 +-
16430 arch/arm/include/uapi/asm/ptrace.h | 2 +-
16431 arch/arm/kernel/armksyms.c | 2 +-
16432 arch/arm/kernel/cpuidle.c | 2 +-
16433 arch/arm/kernel/entry-armv.S | 109 +-
16434 arch/arm/kernel/entry-common.S | 40 +-
16435 arch/arm/kernel/entry-header.S | 55 +
16436 arch/arm/kernel/fiq.c | 3 +
16437 arch/arm/kernel/module-plts.c | 7 +-
16438 arch/arm/kernel/module.c | 38 +-
16439 arch/arm/kernel/patch.c | 2 +
16440 arch/arm/kernel/process.c | 90 +-
16441 arch/arm/kernel/reboot.c | 1 +
16442 arch/arm/kernel/setup.c | 20 +-
16443 arch/arm/kernel/signal.c | 35 +-
16444 arch/arm/kernel/smp.c | 2 +-
16445 arch/arm/kernel/tcm.c | 4 +-
16446 arch/arm/kernel/vmlinux.lds.S | 6 +-
16447 arch/arm/kvm/arm.c | 8 +-
16448 arch/arm/lib/copy_page.S | 1 +
16449 arch/arm/lib/csumpartialcopyuser.S | 4 +-
16450 arch/arm/lib/delay.c | 2 +-
16451 arch/arm/lib/uaccess_with_memcpy.c | 4 +-
16452 arch/arm/mach-exynos/suspend.c | 6 +-
16453 arch/arm/mach-mvebu/coherency.c | 4 +-
16454 arch/arm/mach-omap2/board-n8x0.c | 2 +-
16455 arch/arm/mach-omap2/omap-mpuss-lowpower.c | 4 +-
16456 arch/arm/mach-omap2/omap-smp.c | 1 +
16457 arch/arm/mach-omap2/omap-wakeupgen.c | 2 +-
16458 arch/arm/mach-omap2/omap_device.c | 4 +-
16459 arch/arm/mach-omap2/omap_device.h | 4 +-
16460 arch/arm/mach-omap2/omap_hwmod.c | 4 +-
16461 arch/arm/mach-omap2/powerdomains43xx_data.c | 5 +-
16462 arch/arm/mach-omap2/wd_timer.c | 6 +-
16463 arch/arm/mach-shmobile/platsmp-apmu.c | 5 +-
16464 arch/arm/mach-tegra/cpuidle-tegra20.c | 2 +-
16465 arch/arm/mach-tegra/irq.c | 1 +
16466 arch/arm/mach-ux500/pm.c | 1 +
16467 arch/arm/mach-zynq/platsmp.c | 1 +
16468 arch/arm/mm/Kconfig | 6 +-
16469 arch/arm/mm/alignment.c | 8 +
16470 arch/arm/mm/cache-l2x0.c | 2 +-
16471 arch/arm/mm/context.c | 10 +-
16472 arch/arm/mm/fault.c | 146 +
16473 arch/arm/mm/fault.h | 12 +
16474 arch/arm/mm/init.c | 39 +
16475 arch/arm/mm/ioremap.c | 4 +-
16476 arch/arm/mm/mmap.c | 30 +-
16477 arch/arm/mm/mmu.c | 162 +-
16478 arch/arm/net/bpf_jit_32.c | 3 +
16479 arch/arm/plat-iop/setup.c | 2 +-
16480 arch/arm/plat-omap/sram.c | 2 +
16481 arch/arm64/include/asm/atomic.h | 10 +
16482 arch/arm64/include/asm/percpu.h | 8 +-
16483 arch/arm64/include/asm/pgalloc.h | 5 +
16484 arch/arm64/include/asm/uaccess.h | 1 +
16485 arch/arm64/mm/dma-mapping.c | 2 +-
16486 arch/avr32/include/asm/elf.h | 8 +-
16487 arch/avr32/include/asm/kmap_types.h | 4 +-
16488 arch/avr32/mm/fault.c | 27 +
16489 arch/frv/include/asm/atomic.h | 10 +
16490 arch/frv/include/asm/kmap_types.h | 2 +-
16491 arch/frv/mm/elf-fdpic.c | 3 +-
16492 arch/ia64/Makefile | 1 +
16493 arch/ia64/include/asm/atomic.h | 10 +
16494 arch/ia64/include/asm/elf.h | 7 +
16495 arch/ia64/include/asm/pgalloc.h | 12 +
16496 arch/ia64/include/asm/pgtable.h | 13 +-
16497 arch/ia64/include/asm/spinlock.h | 2 +-
16498 arch/ia64/include/asm/uaccess.h | 27 +-
16499 arch/ia64/kernel/module.c | 45 +-
16500 arch/ia64/kernel/palinfo.c | 2 +-
16501 arch/ia64/kernel/sys_ia64.c | 7 +
16502 arch/ia64/kernel/vmlinux.lds.S | 2 +-
16503 arch/ia64/mm/fault.c | 32 +-
16504 arch/ia64/mm/init.c | 15 +-
16505 arch/m32r/lib/usercopy.c | 6 +
16506 arch/mips/cavium-octeon/dma-octeon.c | 2 +-
16507 arch/mips/include/asm/atomic.h | 368 +-
16508 arch/mips/include/asm/elf.h | 7 +
16509 arch/mips/include/asm/exec.h | 2 +-
16510 arch/mips/include/asm/hw_irq.h | 2 +-
16511 arch/mips/include/asm/local.h | 57 +
16512 arch/mips/include/asm/page.h | 2 +-
16513 arch/mips/include/asm/pgalloc.h | 5 +
16514 arch/mips/include/asm/pgtable.h | 3 +
16515 arch/mips/include/asm/uaccess.h | 1 +
16516 arch/mips/kernel/binfmt_elfn32.c | 7 +
16517 arch/mips/kernel/binfmt_elfo32.c | 7 +
16518 arch/mips/kernel/irq-gt641xx.c | 2 +-
16519 arch/mips/kernel/irq.c | 6 +-
16520 arch/mips/kernel/pm-cps.c | 2 +-
16521 arch/mips/kernel/process.c | 12 -
16522 arch/mips/kernel/sync-r4k.c | 24 +-
16523 arch/mips/kernel/traps.c | 13 +-
16524 arch/mips/mm/fault.c | 25 +
16525 arch/mips/mm/mmap.c | 51 +-
16526 arch/mips/sgi-ip27/ip27-nmi.c | 6 +-
16527 arch/mips/sni/rm200.c | 2 +-
16528 arch/mips/vr41xx/common/icu.c | 2 +-
16529 arch/mips/vr41xx/common/irq.c | 4 +-
16530 arch/parisc/include/asm/atomic.h | 10 +
16531 arch/parisc/include/asm/elf.h | 7 +
16532 arch/parisc/include/asm/pgalloc.h | 6 +
16533 arch/parisc/include/asm/pgtable.h | 11 +
16534 arch/parisc/include/asm/uaccess.h | 4 +-
16535 arch/parisc/kernel/module.c | 50 +-
16536 arch/parisc/kernel/sys_parisc.c | 15 +
16537 arch/parisc/kernel/traps.c | 4 +-
16538 arch/parisc/mm/fault.c | 140 +-
16539 arch/powerpc/include/asm/atomic.h | 329 +-
16540 arch/powerpc/include/asm/elf.h | 12 +
16541 arch/powerpc/include/asm/exec.h | 2 +-
16542 arch/powerpc/include/asm/kmap_types.h | 2 +-
16543 arch/powerpc/include/asm/local.h | 46 +
16544 arch/powerpc/include/asm/mman.h | 2 +-
16545 arch/powerpc/include/asm/page.h | 8 +-
16546 arch/powerpc/include/asm/page_64.h | 7 +-
16547 arch/powerpc/include/asm/pgalloc-64.h | 7 +
16548 arch/powerpc/include/asm/pgtable.h | 1 +
16549 arch/powerpc/include/asm/pte-hash32.h | 1 +
16550 arch/powerpc/include/asm/reg.h | 1 +
16551 arch/powerpc/include/asm/smp.h | 2 +-
16552 arch/powerpc/include/asm/spinlock.h | 42 +-
16553 arch/powerpc/include/asm/uaccess.h | 141 +-
16554 arch/powerpc/kernel/Makefile | 5 +
16555 arch/powerpc/kernel/exceptions-64e.S | 4 +-
16556 arch/powerpc/kernel/exceptions-64s.S | 2 +-
16557 arch/powerpc/kernel/module_32.c | 15 +-
16558 arch/powerpc/kernel/process.c | 46 -
16559 arch/powerpc/kernel/signal_32.c | 2 +-
16560 arch/powerpc/kernel/signal_64.c | 2 +-
16561 arch/powerpc/kernel/traps.c | 21 +
16562 arch/powerpc/kernel/vdso.c | 5 +-
16563 arch/powerpc/lib/usercopy_64.c | 18 -
16564 arch/powerpc/mm/fault.c | 56 +-
16565 arch/powerpc/mm/mmap.c | 16 +
16566 arch/powerpc/mm/slice.c | 13 +-
16567 arch/powerpc/platforms/cell/spufs/file.c | 4 +-
16568 arch/s390/include/asm/atomic.h | 10 +
16569 arch/s390/include/asm/elf.h | 7 +
16570 arch/s390/include/asm/exec.h | 2 +-
16571 arch/s390/include/asm/uaccess.h | 13 +-
16572 arch/s390/kernel/module.c | 22 +-
16573 arch/s390/kernel/process.c | 24 -
16574 arch/s390/mm/mmap.c | 16 +
16575 arch/score/include/asm/exec.h | 2 +-
16576 arch/score/kernel/process.c | 5 -
16577 arch/sh/mm/mmap.c | 22 +-
16578 arch/sparc/include/asm/atomic_64.h | 110 +-
16579 arch/sparc/include/asm/cache.h | 2 +-
16580 arch/sparc/include/asm/elf_32.h | 7 +
16581 arch/sparc/include/asm/elf_64.h | 7 +
16582 arch/sparc/include/asm/pgalloc_32.h | 1 +
16583 arch/sparc/include/asm/pgalloc_64.h | 1 +
16584 arch/sparc/include/asm/pgtable.h | 4 +
16585 arch/sparc/include/asm/pgtable_32.h | 15 +-
16586 arch/sparc/include/asm/pgtsrmmu.h | 5 +
16587 arch/sparc/include/asm/setup.h | 4 +-
16588 arch/sparc/include/asm/spinlock_64.h | 35 +-
16589 arch/sparc/include/asm/thread_info_32.h | 1 +
16590 arch/sparc/include/asm/thread_info_64.h | 2 +
16591 arch/sparc/include/asm/uaccess.h | 1 +
16592 arch/sparc/include/asm/uaccess_32.h | 28 +-
16593 arch/sparc/include/asm/uaccess_64.h | 24 +-
16594 arch/sparc/kernel/Makefile | 2 +-
16595 arch/sparc/kernel/prom_common.c | 2 +-
16596 arch/sparc/kernel/smp_64.c | 8 +-
16597 arch/sparc/kernel/sys_sparc_32.c | 2 +-
16598 arch/sparc/kernel/sys_sparc_64.c | 52 +-
16599 arch/sparc/kernel/traps_64.c | 27 +-
16600 arch/sparc/lib/Makefile | 2 +-
16601 arch/sparc/lib/atomic_64.S | 57 +-
16602 arch/sparc/lib/ksyms.c | 6 +-
16603 arch/sparc/mm/Makefile | 2 +-
16604 arch/sparc/mm/fault_32.c | 292 +
16605 arch/sparc/mm/fault_64.c | 486 +
16606 arch/sparc/mm/hugetlbpage.c | 22 +-
16607 arch/sparc/mm/init_64.c | 10 +-
16608 arch/tile/include/asm/atomic_64.h | 10 +
16609 arch/tile/include/asm/uaccess.h | 4 +-
16610 arch/um/Makefile | 4 +
16611 arch/um/include/asm/kmap_types.h | 2 +-
16612 arch/um/include/asm/page.h | 3 +
16613 arch/um/include/asm/pgtable-3level.h | 1 +
16614 arch/um/kernel/process.c | 16 -
16615 arch/x86/Kconfig | 15 +-
16616 arch/x86/Kconfig.cpu | 6 +-
16617 arch/x86/Kconfig.debug | 4 +-
16618 arch/x86/Makefile | 13 +-
16619 arch/x86/boot/Makefile | 3 +
16620 arch/x86/boot/bitops.h | 4 +-
16621 arch/x86/boot/boot.h | 2 +-
16622 arch/x86/boot/compressed/Makefile | 3 +
16623 arch/x86/boot/compressed/efi_stub_32.S | 16 +-
16624 arch/x86/boot/compressed/efi_thunk_64.S | 4 +-
16625 arch/x86/boot/compressed/head_32.S | 4 +-
16626 arch/x86/boot/compressed/head_64.S | 12 +-
16627 arch/x86/boot/compressed/misc.c | 11 +-
16628 arch/x86/boot/cpucheck.c | 16 +-
16629 arch/x86/boot/header.S | 6 +-
16630 arch/x86/boot/memory.c | 2 +-
16631 arch/x86/boot/video-vesa.c | 1 +
16632 arch/x86/boot/video.c | 2 +-
16633 arch/x86/crypto/aes-x86_64-asm_64.S | 4 +
16634 arch/x86/crypto/aesni-intel_asm.S | 106 +-
16635 arch/x86/crypto/blowfish-x86_64-asm_64.S | 7 +
16636 arch/x86/crypto/camellia-aesni-avx-asm_64.S | 10 +
16637 arch/x86/crypto/camellia-aesni-avx2-asm_64.S | 10 +
16638 arch/x86/crypto/camellia-x86_64-asm_64.S | 7 +
16639 arch/x86/crypto/cast5-avx-x86_64-asm_64.S | 51 +-
16640 arch/x86/crypto/cast6-avx-x86_64-asm_64.S | 25 +-
16641 arch/x86/crypto/crc32c-pcl-intel-asm_64.S | 4 +-
16642 arch/x86/crypto/ghash-clmulni-intel_asm.S | 4 +
16643 arch/x86/crypto/salsa20-x86_64-asm_64.S | 4 +
16644 arch/x86/crypto/serpent-avx-x86_64-asm_64.S | 9 +
16645 arch/x86/crypto/serpent-avx2-asm_64.S | 9 +
16646 arch/x86/crypto/serpent-sse2-x86_64-asm_64.S | 4 +
16647 arch/x86/crypto/sha1_ssse3_asm.S | 10 +-
16648 arch/x86/crypto/sha256-avx-asm.S | 2 +
16649 arch/x86/crypto/sha256-avx2-asm.S | 2 +
16650 arch/x86/crypto/sha256-ssse3-asm.S | 2 +
16651 arch/x86/crypto/sha512-avx-asm.S | 2 +
16652 arch/x86/crypto/sha512-avx2-asm.S | 2 +
16653 arch/x86/crypto/sha512-ssse3-asm.S | 2 +
16654 arch/x86/crypto/twofish-avx-x86_64-asm_64.S | 25 +-
16655 arch/x86/crypto/twofish-x86_64-asm_64-3way.S | 4 +
16656 arch/x86/crypto/twofish-x86_64-asm_64.S | 3 +
16657 arch/x86/entry/calling.h | 86 +-
16658 arch/x86/entry/common.c | 13 +-
16659 arch/x86/entry/entry_32.S | 351 +-
16660 arch/x86/entry/entry_64.S | 619 +-
16661 arch/x86/entry/entry_64_compat.S | 159 +-
16662 arch/x86/entry/thunk_64.S | 2 +
16663 arch/x86/entry/vdso/Makefile | 2 +-
16664 arch/x86/entry/vdso/vdso2c.h | 8 +-
16665 arch/x86/entry/vdso/vma.c | 41 +-
16666 arch/x86/entry/vsyscall/vsyscall_64.c | 16 +-
16667 arch/x86/entry/vsyscall/vsyscall_emu_64.S | 2 +-
16668 arch/x86/ia32/ia32_signal.c | 23 +-
16669 arch/x86/ia32/sys_ia32.c | 42 +-
16670 arch/x86/include/asm/alternative-asm.h | 43 +-
16671 arch/x86/include/asm/alternative.h | 4 +-
16672 arch/x86/include/asm/apic.h | 2 +-
16673 arch/x86/include/asm/apm.h | 4 +-
16674 arch/x86/include/asm/atomic.h | 230 +-
16675 arch/x86/include/asm/atomic64_32.h | 100 +
16676 arch/x86/include/asm/atomic64_64.h | 164 +-
16677 arch/x86/include/asm/bitops.h | 18 +-
16678 arch/x86/include/asm/boot.h | 2 +-
16679 arch/x86/include/asm/cache.h | 5 +-
16680 arch/x86/include/asm/checksum_32.h | 12 +-
16681 arch/x86/include/asm/cmpxchg.h | 39 +
16682 arch/x86/include/asm/compat.h | 2 +-
16683 arch/x86/include/asm/cpufeature.h | 17 +-
16684 arch/x86/include/asm/desc.h | 78 +-
16685 arch/x86/include/asm/desc_defs.h | 6 +
16686 arch/x86/include/asm/div64.h | 2 +-
16687 arch/x86/include/asm/elf.h | 33 +-
16688 arch/x86/include/asm/emergency-restart.h | 2 +-
16689 arch/x86/include/asm/fpu/internal.h | 42 +-
16690 arch/x86/include/asm/fpu/types.h | 6 +-
16691 arch/x86/include/asm/futex.h | 14 +-
16692 arch/x86/include/asm/hw_irq.h | 4 +-
16693 arch/x86/include/asm/i8259.h | 2 +-
16694 arch/x86/include/asm/io.h | 22 +-
16695 arch/x86/include/asm/irqflags.h | 5 +
16696 arch/x86/include/asm/kprobes.h | 9 +-
16697 arch/x86/include/asm/local.h | 106 +-
16698 arch/x86/include/asm/mman.h | 15 +
16699 arch/x86/include/asm/mmu.h | 14 +-
16700 arch/x86/include/asm/mmu_context.h | 114 +-
16701 arch/x86/include/asm/module.h | 17 +-
16702 arch/x86/include/asm/nmi.h | 19 +-
16703 arch/x86/include/asm/page.h | 1 +
16704 arch/x86/include/asm/page_32.h | 12 +-
16705 arch/x86/include/asm/page_64.h | 14 +-
16706 arch/x86/include/asm/paravirt.h | 46 +-
16707 arch/x86/include/asm/paravirt_types.h | 15 +-
16708 arch/x86/include/asm/pgalloc.h | 23 +
16709 arch/x86/include/asm/pgtable-2level.h | 2 +
16710 arch/x86/include/asm/pgtable-3level.h | 7 +
16711 arch/x86/include/asm/pgtable.h | 128 +-
16712 arch/x86/include/asm/pgtable_32.h | 14 +-
16713 arch/x86/include/asm/pgtable_32_types.h | 24 +-
16714 arch/x86/include/asm/pgtable_64.h | 23 +-
16715 arch/x86/include/asm/pgtable_64_types.h | 5 +
16716 arch/x86/include/asm/pgtable_types.h | 26 +-
16717 arch/x86/include/asm/preempt.h | 2 +-
16718 arch/x86/include/asm/processor.h | 57 +-
16719 arch/x86/include/asm/ptrace.h | 13 +-
16720 arch/x86/include/asm/realmode.h | 4 +-
16721 arch/x86/include/asm/reboot.h | 10 +-
16722 arch/x86/include/asm/rmwcc.h | 84 +-
16723 arch/x86/include/asm/rwsem.h | 60 +-
16724 arch/x86/include/asm/segment.h | 27 +-
16725 arch/x86/include/asm/smap.h | 43 +
16726 arch/x86/include/asm/smp.h | 14 +-
16727 arch/x86/include/asm/stackprotector.h | 4 +-
16728 arch/x86/include/asm/stacktrace.h | 32 +-
16729 arch/x86/include/asm/switch_to.h | 4 +-
16730 arch/x86/include/asm/sys_ia32.h | 6 +-
16731 arch/x86/include/asm/thread_info.h | 27 +-
16732 arch/x86/include/asm/tlbflush.h | 77 +-
16733 arch/x86/include/asm/uaccess.h | 192 +-
16734 arch/x86/include/asm/uaccess_32.h | 28 +-
16735 arch/x86/include/asm/uaccess_64.h | 169 +-
16736 arch/x86/include/asm/word-at-a-time.h | 2 +-
16737 arch/x86/include/asm/x86_init.h | 10 +-
16738 arch/x86/include/asm/xen/page.h | 2 +-
16739 arch/x86/include/uapi/asm/e820.h | 2 +-
16740 arch/x86/kernel/Makefile | 2 +-
16741 arch/x86/kernel/acpi/boot.c | 4 +-
16742 arch/x86/kernel/acpi/sleep.c | 4 +
16743 arch/x86/kernel/acpi/wakeup_32.S | 6 +-
16744 arch/x86/kernel/alternative.c | 124 +-
16745 arch/x86/kernel/apic/apic.c | 4 +-
16746 arch/x86/kernel/apic/apic_flat_64.c | 6 +-
16747 arch/x86/kernel/apic/apic_noop.c | 2 +-
16748 arch/x86/kernel/apic/bigsmp_32.c | 2 +-
16749 arch/x86/kernel/apic/io_apic.c | 8 +-
16750 arch/x86/kernel/apic/msi.c | 2 +-
16751 arch/x86/kernel/apic/probe_32.c | 4 +-
16752 arch/x86/kernel/apic/vector.c | 4 +-
16753 arch/x86/kernel/apic/x2apic_cluster.c | 2 +-
16754 arch/x86/kernel/apic/x2apic_phys.c | 2 +-
16755 arch/x86/kernel/apic/x2apic_uv_x.c | 2 +-
16756 arch/x86/kernel/apm_32.c | 21 +-
16757 arch/x86/kernel/asm-offsets.c | 20 +
16758 arch/x86/kernel/asm-offsets_64.c | 1 +
16759 arch/x86/kernel/cpu/Makefile | 4 -
16760 arch/x86/kernel/cpu/amd.c | 2 +-
16761 arch/x86/kernel/cpu/bugs_64.c | 2 +
16762 arch/x86/kernel/cpu/common.c | 202 +-
16763 arch/x86/kernel/cpu/intel_cacheinfo.c | 14 +-
16764 arch/x86/kernel/cpu/mcheck/mce.c | 34 +-
16765 arch/x86/kernel/cpu/mcheck/p5.c | 3 +
16766 arch/x86/kernel/cpu/mcheck/winchip.c | 3 +
16767 arch/x86/kernel/cpu/microcode/intel.c | 4 +-
16768 arch/x86/kernel/cpu/mtrr/main.c | 2 +-
16769 arch/x86/kernel/cpu/mtrr/mtrr.h | 2 +-
16770 arch/x86/kernel/cpu/perf_event.c | 10 +-
16771 arch/x86/kernel/cpu/perf_event_amd_iommu.c | 2 +-
16772 arch/x86/kernel/cpu/perf_event_intel.c | 6 +-
16773 arch/x86/kernel/cpu/perf_event_intel_bts.c | 6 +-
16774 arch/x86/kernel/cpu/perf_event_intel_cqm.c | 4 +-
16775 arch/x86/kernel/cpu/perf_event_intel_pt.c | 44 +-
16776 arch/x86/kernel/cpu/perf_event_intel_rapl.c | 2 +-
16777 arch/x86/kernel/cpu/perf_event_intel_uncore.c | 2 +-
16778 arch/x86/kernel/cpu/perf_event_intel_uncore.h | 2 +-
16779 arch/x86/kernel/crash_dump_64.c | 2 +-
16780 arch/x86/kernel/doublefault.c | 8 +-
16781 arch/x86/kernel/dumpstack.c | 24 +-
16782 arch/x86/kernel/dumpstack_32.c | 25 +-
16783 arch/x86/kernel/dumpstack_64.c | 62 +-
16784 arch/x86/kernel/e820.c | 4 +-
16785 arch/x86/kernel/early_printk.c | 1 +
16786 arch/x86/kernel/espfix_64.c | 44 +-
16787 arch/x86/kernel/fpu/core.c | 24 +-
16788 arch/x86/kernel/fpu/init.c | 40 +-
16789 arch/x86/kernel/fpu/regset.c | 22 +-
16790 arch/x86/kernel/fpu/signal.c | 20 +-
16791 arch/x86/kernel/fpu/xstate.c | 8 +-
16792 arch/x86/kernel/ftrace.c | 18 +-
16793 arch/x86/kernel/head64.c | 14 +-
16794 arch/x86/kernel/head_32.S | 235 +-
16795 arch/x86/kernel/head_64.S | 173 +-
16796 arch/x86/kernel/i386_ksyms_32.c | 12 +
16797 arch/x86/kernel/i8259.c | 10 +-
16798 arch/x86/kernel/io_delay.c | 2 +-
16799 arch/x86/kernel/ioport.c | 2 +-
16800 arch/x86/kernel/irq.c | 8 +-
16801 arch/x86/kernel/irq_32.c | 45 +-
16802 arch/x86/kernel/jump_label.c | 10 +-
16803 arch/x86/kernel/kgdb.c | 21 +-
16804 arch/x86/kernel/kprobes/core.c | 28 +-
16805 arch/x86/kernel/kprobes/opt.c | 16 +-
16806 arch/x86/kernel/ksysfs.c | 2 +-
16807 arch/x86/kernel/kvmclock.c | 20 +-
16808 arch/x86/kernel/ldt.c | 25 +
16809 arch/x86/kernel/livepatch.c | 12 +-
16810 arch/x86/kernel/machine_kexec_32.c | 6 +-
16811 arch/x86/kernel/mcount_64.S | 19 +-
16812 arch/x86/kernel/module.c | 78 +-
16813 arch/x86/kernel/msr.c | 2 +-
16814 arch/x86/kernel/nmi.c | 34 +-
16815 arch/x86/kernel/nmi_selftest.c | 4 +-
16816 arch/x86/kernel/paravirt-spinlocks.c | 2 +-
16817 arch/x86/kernel/paravirt.c | 45 +-
16818 arch/x86/kernel/paravirt_patch_64.c | 8 +
16819 arch/x86/kernel/pci-calgary_64.c | 2 +-
16820 arch/x86/kernel/pci-iommu_table.c | 2 +-
16821 arch/x86/kernel/pci-swiotlb.c | 2 +-
16822 arch/x86/kernel/process.c | 80 +-
16823 arch/x86/kernel/process_32.c | 29 +-
16824 arch/x86/kernel/process_64.c | 14 +-
16825 arch/x86/kernel/ptrace.c | 20 +-
16826 arch/x86/kernel/pvclock.c | 8 +-
16827 arch/x86/kernel/reboot.c | 44 +-
16828 arch/x86/kernel/reboot_fixups_32.c | 2 +-
16829 arch/x86/kernel/relocate_kernel_64.S | 3 +-
16830 arch/x86/kernel/setup.c | 29 +-
16831 arch/x86/kernel/setup_percpu.c | 29 +-
16832 arch/x86/kernel/signal.c | 17 +-
16833 arch/x86/kernel/smp.c | 2 +-
16834 arch/x86/kernel/smpboot.c | 29 +-
16835 arch/x86/kernel/step.c | 6 +-
16836 arch/x86/kernel/sys_i386_32.c | 184 +
16837 arch/x86/kernel/sys_x86_64.c | 22 +-
16838 arch/x86/kernel/tboot.c | 14 +-
16839 arch/x86/kernel/time.c | 8 +-
16840 arch/x86/kernel/tls.c | 7 +-
16841 arch/x86/kernel/tracepoint.c | 4 +-
16842 arch/x86/kernel/traps.c | 53 +-
16843 arch/x86/kernel/tsc.c | 2 +-
16844 arch/x86/kernel/uprobes.c | 2 +-
16845 arch/x86/kernel/vm86_32.c | 6 +-
16846 arch/x86/kernel/vmlinux.lds.S | 153 +-
16847 arch/x86/kernel/x8664_ksyms_64.c | 6 +-
16848 arch/x86/kernel/x86_init.c | 6 +-
16849 arch/x86/kvm/cpuid.c | 21 +-
16850 arch/x86/kvm/emulate.c | 2 +-
16851 arch/x86/kvm/lapic.c | 2 +-
16852 arch/x86/kvm/paging_tmpl.h | 2 +-
16853 arch/x86/kvm/svm.c | 10 +-
16854 arch/x86/kvm/vmx.c | 62 +-
16855 arch/x86/kvm/x86.c | 42 +-
16856 arch/x86/lguest/boot.c | 3 +-
16857 arch/x86/lib/atomic64_386_32.S | 164 +
16858 arch/x86/lib/atomic64_cx8_32.S | 98 +-
16859 arch/x86/lib/checksum_32.S | 99 +-
16860 arch/x86/lib/clear_page_64.S | 3 +
16861 arch/x86/lib/cmpxchg16b_emu.S | 3 +
16862 arch/x86/lib/copy_page_64.S | 14 +-
16863 arch/x86/lib/copy_user_64.S | 66 +-
16864 arch/x86/lib/csum-copy_64.S | 14 +-
16865 arch/x86/lib/csum-wrappers_64.c | 8 +-
16866 arch/x86/lib/getuser.S | 74 +-
16867 arch/x86/lib/insn.c | 8 +-
16868 arch/x86/lib/iomap_copy_64.S | 2 +
16869 arch/x86/lib/memcpy_64.S | 6 +
16870 arch/x86/lib/memmove_64.S | 3 +-
16871 arch/x86/lib/memset_64.S | 3 +
16872 arch/x86/lib/mmx_32.c | 243 +-
16873 arch/x86/lib/msr-reg.S | 2 +
16874 arch/x86/lib/putuser.S | 87 +-
16875 arch/x86/lib/rwsem.S | 6 +-
16876 arch/x86/lib/usercopy_32.c | 359 +-
16877 arch/x86/lib/usercopy_64.c | 20 +-
16878 arch/x86/math-emu/fpu_aux.c | 2 +-
16879 arch/x86/math-emu/fpu_entry.c | 4 +-
16880 arch/x86/math-emu/fpu_system.h | 2 +-
16881 arch/x86/mm/Makefile | 4 +
16882 arch/x86/mm/extable.c | 26 +-
16883 arch/x86/mm/fault.c | 570 +-
16884 arch/x86/mm/gup.c | 6 +-
16885 arch/x86/mm/highmem_32.c | 6 +
16886 arch/x86/mm/hugetlbpage.c | 24 +-
16887 arch/x86/mm/init.c | 111 +-
16888 arch/x86/mm/init_32.c | 111 +-
16889 arch/x86/mm/init_64.c | 46 +-
16890 arch/x86/mm/iomap_32.c | 4 +
16891 arch/x86/mm/ioremap.c | 52 +-
16892 arch/x86/mm/kmemcheck/kmemcheck.c | 4 +-
16893 arch/x86/mm/mmap.c | 40 +-
16894 arch/x86/mm/mmio-mod.c | 10 +-
16895 arch/x86/mm/numa.c | 2 +-
16896 arch/x86/mm/pageattr.c | 38 +-
16897 arch/x86/mm/pat.c | 12 +-
16898 arch/x86/mm/pat_rbtree.c | 2 +-
16899 arch/x86/mm/pf_in.c | 10 +-
16900 arch/x86/mm/pgtable.c | 214 +-
16901 arch/x86/mm/pgtable_32.c | 3 +
16902 arch/x86/mm/setup_nx.c | 7 +
16903 arch/x86/mm/tlb.c | 4 +
16904 arch/x86/mm/uderef_64.c | 37 +
16905 arch/x86/net/bpf_jit.S | 11 +
16906 arch/x86/net/bpf_jit_comp.c | 13 +-
16907 arch/x86/oprofile/backtrace.c | 6 +-
16908 arch/x86/oprofile/nmi_int.c | 8 +-
16909 arch/x86/oprofile/op_model_amd.c | 8 +-
16910 arch/x86/oprofile/op_model_ppro.c | 7 +-
16911 arch/x86/oprofile/op_x86_model.h | 2 +-
16912 arch/x86/pci/intel_mid_pci.c | 2 +-
16913 arch/x86/pci/irq.c | 8 +-
16914 arch/x86/pci/pcbios.c | 144 +-
16915 arch/x86/platform/efi/efi_32.c | 24 +
16916 arch/x86/platform/efi/efi_64.c | 26 +-
16917 arch/x86/platform/efi/efi_stub_32.S | 64 +-
16918 arch/x86/platform/efi/efi_stub_64.S | 2 +
16919 arch/x86/platform/intel-mid/intel-mid.c | 5 +-
16920 arch/x86/platform/intel-mid/intel_mid_weak_decls.h | 6 +-
16921 arch/x86/platform/intel-mid/mfld.c | 4 +-
16922 arch/x86/platform/intel-mid/mrfl.c | 2 +-
16923 arch/x86/platform/intel-quark/imr_selftest.c | 2 +-
16924 arch/x86/platform/olpc/olpc_dt.c | 2 +-
16925 arch/x86/power/cpu.c | 11 +-
16926 arch/x86/realmode/init.c | 10 +-
16927 arch/x86/realmode/rm/Makefile | 3 +
16928 arch/x86/realmode/rm/header.S | 4 +-
16929 arch/x86/realmode/rm/reboot.S | 4 +
16930 arch/x86/realmode/rm/trampoline_32.S | 12 +-
16931 arch/x86/realmode/rm/trampoline_64.S | 3 +-
16932 arch/x86/realmode/rm/wakeup_asm.S | 5 +-
16933 arch/x86/tools/Makefile | 2 +-
16934 arch/x86/tools/relocs.c | 96 +-
16935 arch/x86/um/mem_32.c | 2 +-
16936 arch/x86/um/tls_32.c | 2 +-
16937 arch/x86/xen/enlighten.c | 50 +-
16938 arch/x86/xen/mmu.c | 19 +-
16939 arch/x86/xen/smp.c | 16 +-
16940 arch/x86/xen/xen-asm_32.S | 2 +-
16941 arch/x86/xen/xen-head.S | 11 +
16942 arch/x86/xen/xen-ops.h | 2 -
16943 block/bio.c | 4 +-
16944 block/blk-iopoll.c | 2 +-
16945 block/blk-map.c | 2 +-
16946 block/blk-softirq.c | 2 +-
16947 block/bsg.c | 12 +-
16948 block/compat_ioctl.c | 4 +-
16949 block/genhd.c | 9 +-
16950 block/partitions/efi.c | 8 +-
16951 block/scsi_ioctl.c | 29 +-
16952 crypto/cryptd.c | 4 +-
16953 crypto/pcrypt.c | 2 +-
16954 crypto/zlib.c | 12 +-
16955 drivers/acpi/acpi_video.c | 2 +-
16956 drivers/acpi/apei/apei-internal.h | 2 +-
16957 drivers/acpi/apei/ghes.c | 4 +-
16958 drivers/acpi/bgrt.c | 6 +-
16959 drivers/acpi/blacklist.c | 4 +-
16960 drivers/acpi/bus.c | 4 +-
16961 drivers/acpi/device_pm.c | 4 +-
16962 drivers/acpi/ec.c | 2 +-
16963 drivers/acpi/pci_slot.c | 2 +-
16964 drivers/acpi/processor_idle.c | 2 +-
16965 drivers/acpi/processor_pdc.c | 2 +-
16966 drivers/acpi/sleep.c | 2 +-
16967 drivers/acpi/sysfs.c | 4 +-
16968 drivers/acpi/thermal.c | 2 +-
16969 drivers/acpi/video_detect.c | 7 +-
16970 drivers/ata/libata-core.c | 12 +-
16971 drivers/ata/libata-scsi.c | 2 +-
16972 drivers/ata/libata.h | 2 +-
16973 drivers/ata/pata_arasan_cf.c | 4 +-
16974 drivers/atm/adummy.c | 2 +-
16975 drivers/atm/ambassador.c | 8 +-
16976 drivers/atm/atmtcp.c | 14 +-
16977 drivers/atm/eni.c | 10 +-
16978 drivers/atm/firestream.c | 8 +-
16979 drivers/atm/fore200e.c | 14 +-
16980 drivers/atm/he.c | 18 +-
16981 drivers/atm/horizon.c | 4 +-
16982 drivers/atm/idt77252.c | 36 +-
16983 drivers/atm/iphase.c | 34 +-
16984 drivers/atm/lanai.c | 12 +-
16985 drivers/atm/nicstar.c | 46 +-
16986 drivers/atm/solos-pci.c | 4 +-
16987 drivers/atm/suni.c | 4 +-
16988 drivers/atm/uPD98402.c | 16 +-
16989 drivers/atm/zatm.c | 6 +-
16990 drivers/base/bus.c | 4 +-
16991 drivers/base/devtmpfs.c | 8 +-
16992 drivers/base/node.c | 2 +-
16993 drivers/base/platform-msi.c | 20 +-
16994 drivers/base/power/domain.c | 11 +-
16995 drivers/base/power/sysfs.c | 2 +-
16996 drivers/base/power/wakeup.c | 8 +-
16997 drivers/base/regmap/regmap-debugfs.c | 11 +-
16998 drivers/base/syscore.c | 4 +-
16999 drivers/block/cciss.c | 28 +-
17000 drivers/block/cciss.h | 2 +-
17001 drivers/block/cpqarray.c | 28 +-
17002 drivers/block/cpqarray.h | 2 +-
17003 drivers/block/drbd/drbd_bitmap.c | 2 +-
17004 drivers/block/drbd/drbd_int.h | 8 +-
17005 drivers/block/drbd/drbd_main.c | 12 +-
17006 drivers/block/drbd/drbd_nl.c | 4 +-
17007 drivers/block/drbd/drbd_receiver.c | 34 +-
17008 drivers/block/drbd/drbd_worker.c | 8 +-
17009 drivers/block/pktcdvd.c | 4 +-
17010 drivers/block/rbd.c | 2 +-
17011 drivers/bluetooth/btwilink.c | 2 +-
17012 drivers/bus/arm-cci.c | 12 +-
17013 drivers/cdrom/cdrom.c | 11 +-
17014 drivers/cdrom/gdrom.c | 1 -
17015 drivers/char/agp/compat_ioctl.c | 2 +-
17016 drivers/char/agp/frontend.c | 4 +-
17017 drivers/char/agp/intel-gtt.c | 4 +-
17018 drivers/char/hpet.c | 2 +-
17019 drivers/char/ipmi/ipmi_msghandler.c | 8 +-
17020 drivers/char/ipmi/ipmi_si_intf.c | 8 +-
17021 drivers/char/mem.c | 47 +-
17022 drivers/char/nvram.c | 2 +-
17023 drivers/char/pcmcia/synclink_cs.c | 16 +-
17024 drivers/char/random.c | 12 +-
17025 drivers/char/sonypi.c | 11 +-
17026 drivers/char/tpm/tpm_acpi.c | 3 +-
17027 drivers/char/tpm/tpm_eventlog.c | 4 +-
17028 drivers/char/virtio_console.c | 4 +-
17029 drivers/clk/clk-composite.c | 2 +-
17030 drivers/clk/samsung/clk.h | 2 +-
17031 drivers/clk/socfpga/clk-gate.c | 9 +-
17032 drivers/clk/socfpga/clk-pll.c | 9 +-
17033 drivers/clk/ti/clk.c | 8 +-
17034 drivers/cpufreq/acpi-cpufreq.c | 17 +-
17035 drivers/cpufreq/cpufreq-dt.c | 4 +-
17036 drivers/cpufreq/cpufreq.c | 30 +-
17037 drivers/cpufreq/cpufreq_governor.c | 2 +-
17038 drivers/cpufreq/cpufreq_governor.h | 4 +-
17039 drivers/cpufreq/cpufreq_ondemand.c | 10 +-
17040 drivers/cpufreq/intel_pstate.c | 33 +-
17041 drivers/cpufreq/p4-clockmod.c | 12 +-
17042 drivers/cpufreq/sparc-us3-cpufreq.c | 67 +-
17043 drivers/cpufreq/speedstep-centrino.c | 7 +-
17044 drivers/cpuidle/driver.c | 2 +-
17045 drivers/cpuidle/dt_idle_states.c | 2 +-
17046 drivers/cpuidle/governor.c | 2 +-
17047 drivers/cpuidle/sysfs.c | 2 +-
17048 drivers/crypto/hifn_795x.c | 4 +-
17049 drivers/devfreq/devfreq.c | 4 +-
17050 drivers/dma/sh/shdma-base.c | 4 +-
17051 drivers/dma/sh/shdmac.c | 2 +-
17052 drivers/edac/edac_device.c | 4 +-
17053 drivers/edac/edac_mc_sysfs.c | 2 +-
17054 drivers/edac/edac_pci.c | 4 +-
17055 drivers/edac/edac_pci_sysfs.c | 22 +-
17056 drivers/edac/mce_amd.h | 2 +-
17057 drivers/firewire/core-card.c | 6 +-
17058 drivers/firewire/core-device.c | 2 +-
17059 drivers/firewire/core-transaction.c | 1 +
17060 drivers/firewire/core.h | 1 +
17061 drivers/firmware/dmi-id.c | 2 +-
17062 drivers/firmware/dmi_scan.c | 12 +-
17063 drivers/firmware/efi/cper.c | 8 +-
17064 drivers/firmware/efi/efi.c | 12 +-
17065 drivers/firmware/efi/efivars.c | 2 +-
17066 drivers/firmware/efi/runtime-map.c | 2 +-
17067 drivers/firmware/google/gsmi.c | 2 +-
17068 drivers/firmware/google/memconsole.c | 7 +-
17069 drivers/firmware/memmap.c | 2 +-
17070 drivers/firmware/psci.c | 2 +-
17071 drivers/gpio/gpio-davinci.c | 6 +-
17072 drivers/gpio/gpio-em.c | 2 +-
17073 drivers/gpio/gpio-ich.c | 2 +-
17074 drivers/gpio/gpio-omap.c | 4 +-
17075 drivers/gpio/gpio-rcar.c | 2 +-
17076 drivers/gpio/gpio-vr41xx.c | 2 +-
17077 drivers/gpio/gpiolib.c | 12 +-
17078 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-
17079 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 2 +-
17080 drivers/gpu/drm/amd/amdkfd/kfd_device.c | 6 +-
17081 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 90 +-
17082 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 8 +-
17083 .../drm/amd/amdkfd/kfd_device_queue_manager_cik.c | 14 +-
17084 .../drm/amd/amdkfd/kfd_device_queue_manager_vi.c | 14 +-
17085 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c | 4 +-
17086 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 2 +-
17087 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.h | 2 +-
17088 .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 16 +-
17089 drivers/gpu/drm/drm_crtc.c | 2 +-
17090 drivers/gpu/drm/drm_drv.c | 2 +-
17091 drivers/gpu/drm/drm_fops.c | 12 +-
17092 drivers/gpu/drm/drm_global.c | 14 +-
17093 drivers/gpu/drm/drm_info.c | 13 +-
17094 drivers/gpu/drm/drm_ioc32.c | 13 +-
17095 drivers/gpu/drm/drm_ioctl.c | 2 +-
17096 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 10 +-
17097 drivers/gpu/drm/i810/i810_drv.h | 4 +-
17098 drivers/gpu/drm/i915/i915_dma.c | 2 +-
17099 drivers/gpu/drm/i915/i915_gem_execbuffer.c | 4 +-
17100 drivers/gpu/drm/i915/i915_gem_gtt.c | 16 +-
17101 drivers/gpu/drm/i915/i915_gem_gtt.h | 6 +-
17102 drivers/gpu/drm/i915/i915_ioc32.c | 10 +-
17103 drivers/gpu/drm/i915/intel_display.c | 26 +-
17104 drivers/gpu/drm/imx/imx-drm-core.c | 2 +-
17105 drivers/gpu/drm/mga/mga_drv.h | 4 +-
17106 drivers/gpu/drm/mga/mga_ioc32.c | 10 +-
17107 drivers/gpu/drm/mga/mga_irq.c | 8 +-
17108 drivers/gpu/drm/nouveau/nouveau_bios.c | 2 +-
17109 drivers/gpu/drm/nouveau/nouveau_drm.h | 1 -
17110 drivers/gpu/drm/nouveau/nouveau_ioc32.c | 2 +-
17111 drivers/gpu/drm/nouveau/nouveau_vga.c | 2 +-
17112 drivers/gpu/drm/omapdrm/Makefile | 2 +-
17113 drivers/gpu/drm/qxl/qxl_cmd.c | 12 +-
17114 drivers/gpu/drm/qxl/qxl_debugfs.c | 8 +-
17115 drivers/gpu/drm/qxl/qxl_drv.h | 8 +-
17116 drivers/gpu/drm/qxl/qxl_ioctl.c | 10 +-
17117 drivers/gpu/drm/qxl/qxl_irq.c | 16 +-
17118 drivers/gpu/drm/qxl/qxl_ttm.c | 38 +-
17119 drivers/gpu/drm/r128/r128_cce.c | 2 +-
17120 drivers/gpu/drm/r128/r128_drv.h | 4 +-
17121 drivers/gpu/drm/r128/r128_ioc32.c | 10 +-
17122 drivers/gpu/drm/r128/r128_irq.c | 4 +-
17123 drivers/gpu/drm/r128/r128_state.c | 4 +-
17124 drivers/gpu/drm/radeon/mkregtable.c | 4 +-
17125 drivers/gpu/drm/radeon/radeon_device.c | 2 +-
17126 drivers/gpu/drm/radeon/radeon_drv.h | 2 +-
17127 drivers/gpu/drm/radeon/radeon_ioc32.c | 12 +-
17128 drivers/gpu/drm/radeon/radeon_irq.c | 6 +-
17129 drivers/gpu/drm/radeon/radeon_state.c | 4 +-
17130 drivers/gpu/drm/radeon/radeon_ttm.c | 4 +-
17131 drivers/gpu/drm/tegra/dc.c | 2 +-
17132 drivers/gpu/drm/tegra/dsi.c | 2 +-
17133 drivers/gpu/drm/tegra/hdmi.c | 2 +-
17134 drivers/gpu/drm/tegra/sor.c | 7 +-
17135 drivers/gpu/drm/tilcdc/Makefile | 6 +-
17136 drivers/gpu/drm/ttm/ttm_memory.c | 4 +-
17137 drivers/gpu/drm/ttm/ttm_page_alloc.c | 18 +-
17138 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 18 +-
17139 drivers/gpu/drm/udl/udl_fb.c | 1 -
17140 drivers/gpu/drm/via/via_drv.h | 4 +-
17141 drivers/gpu/drm/via/via_irq.c | 18 +-
17142 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 2 +-
17143 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c | 8 +-
17144 drivers/gpu/drm/vmwgfx/vmwgfx_irq.c | 4 +-
17145 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c | 2 +-
17146 drivers/gpu/vga/vga_switcheroo.c | 4 +-
17147 drivers/hid/hid-core.c | 4 +-
17148 drivers/hid/hid-sensor-custom.c | 2 +-
17149 drivers/hv/channel.c | 2 +-
17150 drivers/hv/hv.c | 4 +-
17151 drivers/hv/hv_balloon.c | 18 +-
17152 drivers/hv/hyperv_vmbus.h | 2 +-
17153 drivers/hwmon/acpi_power_meter.c | 6 +-
17154 drivers/hwmon/applesmc.c | 2 +-
17155 drivers/hwmon/asus_atk0110.c | 10 +-
17156 drivers/hwmon/coretemp.c | 2 +-
17157 drivers/hwmon/dell-smm-hwmon.c | 2 +-
17158 drivers/hwmon/ibmaem.c | 2 +-
17159 drivers/hwmon/iio_hwmon.c | 2 +-
17160 drivers/hwmon/nct6683.c | 6 +-
17161 drivers/hwmon/nct6775.c | 6 +-
17162 drivers/hwmon/pmbus/pmbus_core.c | 10 +-
17163 drivers/hwmon/sht15.c | 12 +-
17164 drivers/hwmon/via-cputemp.c | 2 +-
17165 drivers/i2c/busses/i2c-amd756-s4882.c | 2 +-
17166 drivers/i2c/busses/i2c-nforce2-s4985.c | 2 +-
17167 drivers/i2c/i2c-dev.c | 2 +-
17168 drivers/ide/ide-cd.c | 2 +-
17169 drivers/ide/ide-disk.c | 2 +-
17170 drivers/iio/industrialio-core.c | 2 +-
17171 drivers/iio/magnetometer/ak8975.c | 2 +-
17172 drivers/infiniband/core/cm.c | 32 +-
17173 drivers/infiniband/core/fmr_pool.c | 20 +-
17174 drivers/infiniband/core/uverbs_cmd.c | 3 +
17175 drivers/infiniband/hw/cxgb4/mem.c | 4 +-
17176 drivers/infiniband/hw/mlx4/mad.c | 2 +-
17177 drivers/infiniband/hw/mlx4/mcg.c | 2 +-
17178 drivers/infiniband/hw/mlx4/mlx4_ib.h | 2 +-
17179 drivers/infiniband/hw/mthca/mthca_cmd.c | 8 +-
17180 drivers/infiniband/hw/mthca/mthca_main.c | 2 +-
17181 drivers/infiniband/hw/mthca/mthca_mr.c | 6 +-
17182 drivers/infiniband/hw/mthca/mthca_provider.c | 2 +-
17183 drivers/infiniband/hw/nes/nes.c | 4 +-
17184 drivers/infiniband/hw/nes/nes.h | 40 +-
17185 drivers/infiniband/hw/nes/nes_cm.c | 62 +-
17186 drivers/infiniband/hw/nes/nes_mgt.c | 8 +-
17187 drivers/infiniband/hw/nes/nes_nic.c | 40 +-
17188 drivers/infiniband/hw/nes/nes_verbs.c | 10 +-
17189 drivers/infiniband/hw/qib/qib.h | 1 +
17190 drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 2 +-
17191 drivers/input/gameport/gameport.c | 4 +-
17192 drivers/input/input.c | 4 +-
17193 drivers/input/joystick/sidewinder.c | 1 +
17194 drivers/input/joystick/xpad.c | 4 +-
17195 drivers/input/misc/ims-pcu.c | 4 +-
17196 drivers/input/mouse/psmouse.h | 2 +-
17197 drivers/input/mousedev.c | 2 +-
17198 drivers/input/serio/serio.c | 4 +-
17199 drivers/input/serio/serio_raw.c | 4 +-
17200 drivers/input/touchscreen/htcpen.c | 2 +-
17201 drivers/iommu/arm-smmu-v3.c | 2 +-
17202 drivers/iommu/arm-smmu.c | 43 +-
17203 drivers/iommu/io-pgtable-arm.c | 101 +-
17204 drivers/iommu/io-pgtable.c | 11 +-
17205 drivers/iommu/io-pgtable.h | 19 +-
17206 drivers/iommu/iommu.c | 2 +-
17207 drivers/iommu/ipmmu-vmsa.c | 13 +-
17208 drivers/iommu/irq_remapping.c | 2 +-
17209 drivers/irqchip/irq-gic.c | 2 +-
17210 drivers/irqchip/irq-i8259.c | 2 +-
17211 drivers/irqchip/irq-renesas-intc-irqpin.c | 2 +-
17212 drivers/irqchip/irq-renesas-irqc.c | 2 +-
17213 drivers/isdn/capi/capi.c | 10 +-
17214 drivers/isdn/gigaset/interface.c | 8 +-
17215 drivers/isdn/gigaset/usb-gigaset.c | 2 +-
17216 drivers/isdn/hardware/avm/b1.c | 4 +-
17217 drivers/isdn/i4l/isdn_common.c | 2 +
17218 drivers/isdn/i4l/isdn_tty.c | 22 +-
17219 drivers/isdn/icn/icn.c | 2 +-
17220 drivers/isdn/mISDN/dsp_cmx.c | 2 +-
17221 drivers/lguest/core.c | 10 +-
17222 drivers/lguest/page_tables.c | 2 +-
17223 drivers/lguest/x86/core.c | 12 +-
17224 drivers/lguest/x86/switcher_32.S | 27 +-
17225 drivers/md/bcache/closure.h | 2 +-
17226 drivers/md/bitmap.c | 2 +-
17227 drivers/md/dm-ioctl.c | 2 +-
17228 drivers/md/dm-raid1.c | 18 +-
17229 drivers/md/dm-stats.c | 6 +-
17230 drivers/md/dm-stripe.c | 10 +-
17231 drivers/md/dm-table.c | 2 +-
17232 drivers/md/dm-thin-metadata.c | 4 +-
17233 drivers/md/dm.c | 16 +-
17234 drivers/md/md.c | 26 +-
17235 drivers/md/md.h | 6 +-
17236 drivers/md/persistent-data/dm-space-map-metadata.c | 4 +-
17237 drivers/md/persistent-data/dm-space-map.h | 1 +
17238 drivers/md/raid1.c | 4 +-
17239 drivers/md/raid10.c | 18 +-
17240 drivers/md/raid5.c | 22 +-
17241 drivers/media/dvb-core/dvbdev.c | 2 +-
17242 drivers/media/dvb-frontends/af9033.h | 2 +-
17243 drivers/media/dvb-frontends/dib3000.h | 2 +-
17244 drivers/media/dvb-frontends/dib7000p.h | 2 +-
17245 drivers/media/dvb-frontends/dib8000.h | 2 +-
17246 drivers/media/pci/cx88/cx88-video.c | 6 +-
17247 drivers/media/pci/ivtv/ivtv-driver.c | 2 +-
17248 drivers/media/pci/solo6x10/solo6x10-core.c | 2 +-
17249 drivers/media/pci/solo6x10/solo6x10-p2m.c | 2 +-
17250 drivers/media/pci/solo6x10/solo6x10.h | 2 +-
17251 drivers/media/pci/tw68/tw68-core.c | 2 +-
17252 drivers/media/platform/omap/omap_vout.c | 11 +-
17253 drivers/media/platform/s5p-tv/mixer.h | 2 +-
17254 drivers/media/platform/s5p-tv/mixer_grp_layer.c | 2 +-
17255 drivers/media/platform/s5p-tv/mixer_reg.c | 2 +-
17256 drivers/media/platform/s5p-tv/mixer_video.c | 24 +-
17257 drivers/media/platform/s5p-tv/mixer_vp_layer.c | 2 +-
17258 drivers/media/radio/radio-cadet.c | 2 +
17259 drivers/media/radio/radio-maxiradio.c | 2 +-
17260 drivers/media/radio/radio-shark.c | 2 +-
17261 drivers/media/radio/radio-shark2.c | 2 +-
17262 drivers/media/radio/radio-si476x.c | 2 +-
17263 drivers/media/radio/wl128x/fmdrv_common.c | 2 +-
17264 drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 12 +-
17265 drivers/media/v4l2-core/v4l2-device.c | 4 +-
17266 drivers/media/v4l2-core/v4l2-ioctl.c | 13 +-
17267 drivers/memory/omap-gpmc.c | 21 +-
17268 drivers/message/fusion/mptsas.c | 34 +-
17269 drivers/mfd/ab8500-debugfs.c | 2 +-
17270 drivers/mfd/kempld-core.c | 2 +-
17271 drivers/mfd/max8925-i2c.c | 2 +-
17272 drivers/mfd/tps65910.c | 2 +-
17273 drivers/mfd/twl4030-irq.c | 9 +-
17274 drivers/mfd/wm5110-tables.c | 2 +-
17275 drivers/mfd/wm8998-tables.c | 2 +-
17276 drivers/misc/c2port/core.c | 4 +-
17277 drivers/misc/kgdbts.c | 4 +-
17278 drivers/misc/lis3lv02d/lis3lv02d.c | 8 +-
17279 drivers/misc/lis3lv02d/lis3lv02d.h | 2 +-
17280 drivers/misc/mic/scif/scif_rb.c | 8 +-
17281 drivers/misc/sgi-gru/gruhandles.c | 4 +-
17282 drivers/misc/sgi-gru/gruprocfs.c | 8 +-
17283 drivers/misc/sgi-gru/grutables.h | 154 +-
17284 drivers/misc/sgi-xp/xp.h | 2 +-
17285 drivers/misc/sgi-xp/xpc.h | 3 +-
17286 drivers/misc/sgi-xp/xpc_main.c | 2 +-
17287 drivers/mmc/card/block.c | 2 +-
17288 drivers/mmc/host/dw_mmc.h | 2 +-
17289 drivers/mmc/host/mmci.c | 4 +-
17290 drivers/mmc/host/omap_hsmmc.c | 4 +-
17291 drivers/mmc/host/sdhci-esdhc-imx.c | 7 +-
17292 drivers/mmc/host/sdhci-s3c.c | 8 +-
17293 drivers/mtd/chips/cfi_cmdset_0020.c | 2 +-
17294 drivers/mtd/nand/denali.c | 1 +
17295 drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 2 +-
17296 drivers/mtd/nftlmount.c | 1 +
17297 drivers/mtd/sm_ftl.c | 2 +-
17298 drivers/net/bonding/bond_netlink.c | 2 +-
17299 drivers/net/caif/caif_hsi.c | 2 +-
17300 drivers/net/can/Kconfig | 2 +-
17301 drivers/net/can/dev.c | 2 +-
17302 drivers/net/can/vcan.c | 2 +-
17303 drivers/net/dummy.c | 2 +-
17304 drivers/net/ethernet/8390/ax88796.c | 4 +-
17305 drivers/net/ethernet/altera/altera_tse_main.c | 4 +-
17306 drivers/net/ethernet/amd/xgbe/xgbe-common.h | 4 +-
17307 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c | 4 +-
17308 drivers/net/ethernet/amd/xgbe/xgbe-desc.c | 27 +-
17309 drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 143 +-
17310 drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 64 +-
17311 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 10 +-
17312 drivers/net/ethernet/amd/xgbe/xgbe-main.c | 15 +-
17313 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 27 +-
17314 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c | 4 +-
17315 drivers/net/ethernet/amd/xgbe/xgbe.h | 10 +-
17316 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 2 +-
17317 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | 11 +-
17318 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h | 3 +-
17319 drivers/net/ethernet/broadcom/tg3.h | 1 +
17320 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c | 6 +-
17321 drivers/net/ethernet/cavium/liquidio/lio_main.c | 11 +-
17322 drivers/net/ethernet/chelsio/cxgb3/l2t.h | 2 +-
17323 drivers/net/ethernet/dec/tulip/de4x5.c | 4 +-
17324 drivers/net/ethernet/emulex/benet/be_main.c | 2 +-
17325 drivers/net/ethernet/faraday/ftgmac100.c | 2 +
17326 drivers/net/ethernet/faraday/ftmac100.c | 2 +
17327 drivers/net/ethernet/intel/i40e/i40e_ptp.c | 2 +-
17328 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 2 +-
17329 drivers/net/ethernet/mellanox/mlx4/en_tx.c | 4 +-
17330 drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 7 +-
17331 drivers/net/ethernet/neterion/vxge/vxge-config.c | 7 +-
17332 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 4 +-
17333 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c | 12 +-
17334 .../net/ethernet/qlogic/qlcnic/qlcnic_minidump.c | 2 +-
17335 drivers/net/ethernet/realtek/r8169.c | 8 +-
17336 drivers/net/ethernet/sfc/ptp.c | 2 +-
17337 drivers/net/ethernet/stmicro/stmmac/mmc_core.c | 4 +-
17338 drivers/net/ethernet/via/via-rhine.c | 2 +-
17339 drivers/net/geneve.c | 2 +-
17340 drivers/net/hyperv/hyperv_net.h | 2 +-
17341 drivers/net/hyperv/rndis_filter.c | 4 +-
17342 drivers/net/ifb.c | 2 +-
17343 drivers/net/ipvlan/ipvlan_core.c | 2 +-
17344 drivers/net/macvlan.c | 20 +-
17345 drivers/net/macvtap.c | 6 +-
17346 drivers/net/nlmon.c | 2 +-
17347 drivers/net/phy/phy_device.c | 6 +-
17348 drivers/net/ppp/ppp_generic.c | 4 +-
17349 drivers/net/slip/slhc.c | 2 +-
17350 drivers/net/team/team.c | 4 +-
17351 drivers/net/tun.c | 7 +-
17352 drivers/net/usb/hso.c | 23 +-
17353 drivers/net/usb/r8152.c | 2 +-
17354 drivers/net/usb/sierra_net.c | 4 +-
17355 drivers/net/virtio_net.c | 2 +-
17356 drivers/net/vrf.c | 2 +-
17357 drivers/net/vxlan.c | 4 +-
17358 drivers/net/wimax/i2400m/rx.c | 2 +-
17359 drivers/net/wireless/airo.c | 2 +-
17360 drivers/net/wireless/at76c50x-usb.c | 2 +-
17361 drivers/net/wireless/ath/ath10k/ce.c | 6 +-
17362 drivers/net/wireless/ath/ath10k/htc.c | 7 +-
17363 drivers/net/wireless/ath/ath10k/htc.h | 4 +-
17364 drivers/net/wireless/ath/ath9k/ar9002_mac.c | 36 +-
17365 drivers/net/wireless/ath/ath9k/ar9003_mac.c | 64 +-
17366 drivers/net/wireless/ath/ath9k/hw.h | 4 +-
17367 drivers/net/wireless/ath/ath9k/main.c | 22 +-
17368 drivers/net/wireless/ath/wil6210/wil_platform.h | 2 +-
17369 drivers/net/wireless/b43/phy_lp.c | 2 +-
17370 drivers/net/wireless/iwlegacy/3945-mac.c | 4 +-
17371 drivers/net/wireless/iwlwifi/dvm/debugfs.c | 34 +-
17372 drivers/net/wireless/iwlwifi/pcie/trans.c | 4 +-
17373 drivers/net/wireless/mac80211_hwsim.c | 28 +-
17374 drivers/net/wireless/rndis_wlan.c | 2 +-
17375 drivers/net/wireless/rt2x00/rt2x00.h | 2 +-
17376 drivers/net/wireless/rt2x00/rt2x00queue.c | 4 +-
17377 drivers/net/wireless/ti/wl1251/sdio.c | 12 +-
17378 drivers/net/wireless/ti/wl12xx/main.c | 8 +-
17379 drivers/net/wireless/ti/wl18xx/main.c | 6 +-
17380 drivers/nfc/nfcwilink.c | 2 +-
17381 drivers/of/fdt.c | 4 +-
17382 drivers/oprofile/buffer_sync.c | 8 +-
17383 drivers/oprofile/event_buffer.c | 2 +-
17384 drivers/oprofile/oprof.c | 2 +-
17385 drivers/oprofile/oprofile_stats.c | 10 +-
17386 drivers/oprofile/oprofile_stats.h | 10 +-
17387 drivers/oprofile/oprofilefs.c | 6 +-
17388 drivers/oprofile/timer_int.c | 2 +-
17389 drivers/parport/procfs.c | 4 +-
17390 drivers/pci/host/pci-host-generic.c | 24 +-
17391 drivers/pci/hotplug/acpiphp_ibm.c | 4 +-
17392 drivers/pci/hotplug/cpcihp_generic.c | 6 +-
17393 drivers/pci/hotplug/cpcihp_zt5550.c | 14 +-
17394 drivers/pci/hotplug/cpqphp_nvram.c | 2 +
17395 drivers/pci/hotplug/pci_hotplug_core.c | 6 +-
17396 drivers/pci/hotplug/pciehp_core.c | 2 +-
17397 drivers/pci/msi.c | 22 +-
17398 drivers/pci/pci-sysfs.c | 6 +-
17399 drivers/pci/pci.h | 2 +-
17400 drivers/pci/pcie/aspm.c | 6 +-
17401 drivers/pci/pcie/portdrv_pci.c | 2 +-
17402 drivers/pci/probe.c | 2 +-
17403 drivers/pinctrl/nomadik/pinctrl-nomadik.c | 2 +-
17404 drivers/pinctrl/pinctrl-at91.c | 5 +-
17405 drivers/platform/chrome/chromeos_pstore.c | 2 +-
17406 drivers/platform/x86/alienware-wmi.c | 4 +-
17407 drivers/platform/x86/compal-laptop.c | 2 +-
17408 drivers/platform/x86/hdaps.c | 2 +-
17409 drivers/platform/x86/ibm_rtl.c | 2 +-
17410 drivers/platform/x86/intel_oaktrail.c | 2 +-
17411 drivers/platform/x86/msi-laptop.c | 16 +-
17412 drivers/platform/x86/msi-wmi.c | 2 +-
17413 drivers/platform/x86/samsung-laptop.c | 2 +-
17414 drivers/platform/x86/samsung-q10.c | 2 +-
17415 drivers/platform/x86/sony-laptop.c | 14 +-
17416 drivers/platform/x86/thinkpad_acpi.c | 2 +-
17417 drivers/pnp/pnpbios/bioscalls.c | 14 +-
17418 drivers/pnp/pnpbios/core.c | 2 +-
17419 drivers/power/pda_power.c | 7 +-
17420 drivers/power/power_supply.h | 4 +-
17421 drivers/power/power_supply_core.c | 7 +-
17422 drivers/power/power_supply_sysfs.c | 6 +-
17423 drivers/power/reset/at91-reset.c | 9 +-
17424 drivers/powercap/powercap_sys.c | 136 +-
17425 drivers/ptp/ptp_private.h | 2 +-
17426 drivers/ptp/ptp_sysfs.c | 2 +-
17427 drivers/regulator/core.c | 4 +-
17428 drivers/regulator/max8660.c | 6 +-
17429 drivers/regulator/max8973-regulator.c | 16 +-
17430 drivers/regulator/mc13892-regulator.c | 8 +-
17431 drivers/rtc/rtc-armada38x.c | 7 +-
17432 drivers/rtc/rtc-cmos.c | 4 +-
17433 drivers/rtc/rtc-ds1307.c | 2 +-
17434 drivers/rtc/rtc-m48t59.c | 4 +-
17435 drivers/rtc/rtc-test.c | 6 +-
17436 drivers/scsi/be2iscsi/be_main.c | 2 +-
17437 drivers/scsi/bfa/bfa_fcpim.h | 2 +-
17438 drivers/scsi/bfa/bfa_ioc.h | 4 +-
17439 drivers/scsi/fcoe/fcoe_sysfs.c | 12 +-
17440 drivers/scsi/hosts.c | 4 +-
17441 drivers/scsi/hpsa.c | 38 +-
17442 drivers/scsi/hpsa.h | 2 +-
17443 drivers/scsi/libfc/fc_exch.c | 50 +-
17444 drivers/scsi/libsas/sas_ata.c | 2 +-
17445 drivers/scsi/lpfc/lpfc.h | 8 +-
17446 drivers/scsi/lpfc/lpfc_debugfs.c | 18 +-
17447 drivers/scsi/lpfc/lpfc_init.c | 6 +-
17448 drivers/scsi/lpfc/lpfc_scsi.c | 10 +-
17449 drivers/scsi/megaraid/megaraid_sas.h | 2 +-
17450 drivers/scsi/mpt2sas/mpt2sas_scsih.c | 8 +-
17451 drivers/scsi/pmcraid.c | 20 +-
17452 drivers/scsi/pmcraid.h | 8 +-
17453 drivers/scsi/qla2xxx/qla_attr.c | 4 +-
17454 drivers/scsi/qla2xxx/qla_gbl.h | 4 +-
17455 drivers/scsi/qla2xxx/qla_os.c | 6 +-
17456 drivers/scsi/qla4xxx/ql4_def.h | 2 +-
17457 drivers/scsi/qla4xxx/ql4_os.c | 6 +-
17458 drivers/scsi/scsi.c | 2 +-
17459 drivers/scsi/scsi_lib.c | 8 +-
17460 drivers/scsi/scsi_sysfs.c | 2 +-
17461 drivers/scsi/scsi_transport_fc.c | 8 +-
17462 drivers/scsi/scsi_transport_iscsi.c | 6 +-
17463 drivers/scsi/scsi_transport_srp.c | 6 +-
17464 drivers/scsi/sd.c | 6 +-
17465 drivers/scsi/sg.c | 2 +-
17466 drivers/scsi/sr.c | 21 +-
17467 drivers/soc/tegra/fuse/fuse-tegra.c | 2 +-
17468 drivers/spi/spi.c | 2 +-
17469 drivers/staging/android/timed_output.c | 6 +-
17470 drivers/staging/comedi/comedi_fops.c | 8 +-
17471 drivers/staging/fbtft/fbtft-core.c | 2 +-
17472 drivers/staging/fbtft/fbtft.h | 2 +-
17473 drivers/staging/gdm724x/gdm_tty.c | 2 +-
17474 drivers/staging/iio/accel/lis3l02dq_ring.c | 2 +-
17475 drivers/staging/iio/adc/ad7280a.c | 4 +-
17476 drivers/staging/lustre/lnet/selftest/brw_test.c | 12 +-
17477 drivers/staging/lustre/lnet/selftest/framework.c | 4 -
17478 drivers/staging/lustre/lnet/selftest/ping_test.c | 14 +-
17479 drivers/staging/lustre/lustre/include/lustre_dlm.h | 2 +-
17480 drivers/staging/lustre/lustre/include/obd.h | 2 +-
17481 drivers/staging/octeon/ethernet-rx.c | 20 +-
17482 drivers/staging/octeon/ethernet.c | 8 +-
17483 drivers/staging/rdma/ipath/ipath_rc.c | 6 +-
17484 drivers/staging/rdma/ipath/ipath_ruc.c | 6 +-
17485 drivers/staging/rtl8188eu/include/hal_intf.h | 2 +-
17486 drivers/staging/rtl8712/rtl871x_io.h | 2 +-
17487 drivers/staging/sm750fb/sm750.c | 14 +-
17488 drivers/staging/unisys/visorbus/visorbus_private.h | 4 +-
17489 drivers/target/sbp/sbp_target.c | 4 +-
17490 drivers/thermal/cpu_cooling.c | 9 +-
17491 drivers/thermal/int340x_thermal/int3400_thermal.c | 6 +-
17492 drivers/thermal/of-thermal.c | 17 +-
17493 drivers/thermal/x86_pkg_temp_thermal.c | 2 +-
17494 drivers/tty/cyclades.c | 6 +-
17495 drivers/tty/hvc/hvc_console.c | 14 +-
17496 drivers/tty/hvc/hvcs.c | 21 +-
17497 drivers/tty/hvc/hvsi.c | 22 +-
17498 drivers/tty/hvc/hvsi_lib.c | 4 +-
17499 drivers/tty/ipwireless/tty.c | 27 +-
17500 drivers/tty/moxa.c | 2 +-
17501 drivers/tty/n_gsm.c | 4 +-
17502 drivers/tty/n_tty.c | 3 +-
17503 drivers/tty/pty.c | 4 +-
17504 drivers/tty/rocket.c | 6 +-
17505 drivers/tty/serial/8250/8250_core.c | 10 +-
17506 drivers/tty/serial/ifx6x60.c | 2 +-
17507 drivers/tty/serial/ioc4_serial.c | 6 +-
17508 drivers/tty/serial/kgdb_nmi.c | 4 +-
17509 drivers/tty/serial/kgdboc.c | 32 +-
17510 drivers/tty/serial/msm_serial.c | 4 +-
17511 drivers/tty/serial/samsung.c | 9 +-
17512 drivers/tty/serial/serial_core.c | 8 +-
17513 drivers/tty/synclink.c | 34 +-
17514 drivers/tty/synclink_gt.c | 28 +-
17515 drivers/tty/synclinkmp.c | 34 +-
17516 drivers/tty/tty_io.c | 2 +-
17517 drivers/tty/tty_ldisc.c | 8 +-
17518 drivers/tty/tty_port.c | 22 +-
17519 drivers/uio/uio.c | 13 +-
17520 drivers/usb/atm/cxacru.c | 2 +-
17521 drivers/usb/atm/usbatm.c | 24 +-
17522 drivers/usb/class/cdc-acm.h | 2 +-
17523 drivers/usb/core/devices.c | 6 +-
17524 drivers/usb/core/devio.c | 12 +-
17525 drivers/usb/core/hcd.c | 4 +-
17526 drivers/usb/core/sysfs.c | 2 +-
17527 drivers/usb/core/usb.c | 2 +-
17528 drivers/usb/early/ehci-dbgp.c | 16 +-
17529 drivers/usb/gadget/function/u_serial.c | 22 +-
17530 drivers/usb/gadget/udc/dummy_hcd.c | 2 +-
17531 drivers/usb/host/ehci-hcd.c | 2 +-
17532 drivers/usb/host/ehci-hub.c | 4 +-
17533 drivers/usb/host/ehci-q.c | 4 +-
17534 drivers/usb/host/fotg210-hcd.c | 2 +-
17535 drivers/usb/host/fusbh200-hcd.c | 2 +-
17536 drivers/usb/host/hwa-hc.c | 2 +-
17537 drivers/usb/host/ohci-hcd.c | 2 +-
17538 drivers/usb/host/r8a66597.h | 2 +-
17539 drivers/usb/host/uhci-hcd.c | 2 +-
17540 drivers/usb/host/xhci-pci.c | 2 +-
17541 drivers/usb/host/xhci.c | 2 +-
17542 drivers/usb/misc/appledisplay.c | 4 +-
17543 drivers/usb/serial/console.c | 8 +-
17544 drivers/usb/storage/transport.c | 2 +-
17545 drivers/usb/storage/usb.c | 2 +-
17546 drivers/usb/storage/usb.h | 2 +-
17547 drivers/usb/usbip/vhci.h | 2 +-
17548 drivers/usb/usbip/vhci_hcd.c | 6 +-
17549 drivers/usb/usbip/vhci_rx.c | 2 +-
17550 drivers/usb/wusbcore/wa-hc.h | 4 +-
17551 drivers/usb/wusbcore/wa-xfer.c | 2 +-
17552 drivers/vfio/vfio.c | 2 +-
17553 drivers/vhost/vringh.c | 20 +-
17554 drivers/video/backlight/kb3886_bl.c | 2 +-
17555 drivers/video/console/fbcon.c | 2 +-
17556 drivers/video/fbdev/aty/aty128fb.c | 2 +-
17557 drivers/video/fbdev/aty/atyfb_base.c | 8 +-
17558 drivers/video/fbdev/aty/mach64_cursor.c | 5 +-
17559 drivers/video/fbdev/core/fb_defio.c | 6 +-
17560 drivers/video/fbdev/core/fbmem.c | 2 +-
17561 drivers/video/fbdev/hyperv_fb.c | 4 +-
17562 drivers/video/fbdev/i810/i810_accel.c | 1 +
17563 drivers/video/fbdev/matrox/matroxfb_base.c | 2 +-
17564 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c | 16 +-
17565 drivers/video/fbdev/nvidia/nvidia.c | 27 +-
17566 drivers/video/fbdev/omap2/dss/display.c | 8 +-
17567 drivers/video/fbdev/s1d13xxxfb.c | 6 +-
17568 drivers/video/fbdev/smscufx.c | 4 +-
17569 drivers/video/fbdev/udlfb.c | 36 +-
17570 drivers/video/fbdev/uvesafb.c | 52 +-
17571 drivers/video/fbdev/vesafb.c | 58 +-
17572 drivers/video/fbdev/via/via_clock.h | 2 +-
17573 drivers/xen/events/events_base.c | 6 +-
17574 drivers/xen/evtchn.c | 4 +-
17575 fs/Kconfig.binfmt | 2 +-
17576 fs/afs/inode.c | 4 +-
17577 fs/aio.c | 2 +-
17578 fs/autofs4/waitq.c | 2 +-
17579 fs/befs/endian.h | 6 +-
17580 fs/binfmt_aout.c | 23 +-
17581 fs/binfmt_elf.c | 670 +-
17582 fs/binfmt_elf_fdpic.c | 4 +-
17583 fs/block_dev.c | 2 +-
17584 fs/btrfs/ctree.c | 9 +-
17585 fs/btrfs/delayed-inode.c | 9 +-
17586 fs/btrfs/delayed-inode.h | 6 +-
17587 fs/btrfs/file.c | 10 +-
17588 fs/btrfs/inode.c | 14 +-
17589 fs/btrfs/super.c | 2 +-
17590 fs/btrfs/sysfs.c | 2 +-
17591 fs/btrfs/tests/free-space-tests.c | 8 +-
17592 fs/btrfs/tree-log.h | 2 +-
17593 fs/buffer.c | 2 +-
17594 fs/cachefiles/bind.c | 6 +-
17595 fs/cachefiles/daemon.c | 8 +-
17596 fs/cachefiles/internal.h | 12 +-
17597 fs/cachefiles/namei.c | 2 +-
17598 fs/cachefiles/proc.c | 12 +-
17599 fs/ceph/dir.c | 12 +-
17600 fs/ceph/super.c | 4 +-
17601 fs/cifs/cifs_debug.c | 12 +-
17602 fs/cifs/cifsfs.c | 8 +-
17603 fs/cifs/cifsglob.h | 54 +-
17604 fs/cifs/file.c | 10 +-
17605 fs/cifs/misc.c | 4 +-
17606 fs/cifs/smb1ops.c | 80 +-
17607 fs/cifs/smb2ops.c | 84 +-
17608 fs/cifs/smb2pdu.c | 3 +-
17609 fs/coda/cache.c | 10 +-
17610 fs/compat.c | 4 +-
17611 fs/compat_binfmt_elf.c | 2 +
17612 fs/compat_ioctl.c | 12 +-
17613 fs/configfs/dir.c | 10 +-
17614 fs/coredump.c | 16 +-
17615 fs/dcache.c | 51 +-
17616 fs/ecryptfs/inode.c | 2 +-
17617 fs/ecryptfs/miscdev.c | 2 +-
17618 fs/exec.c | 362 +-
17619 fs/ext2/xattr.c | 5 +-
17620 fs/ext4/ext4.h | 20 +-
17621 fs/ext4/mballoc.c | 44 +-
17622 fs/ext4/resize.c | 16 +-
17623 fs/ext4/super.c | 4 +-
17624 fs/ext4/xattr.c | 5 +-
17625 fs/fhandle.c | 3 +-
17626 fs/file.c | 4 +-
17627 fs/fs_struct.c | 8 +-
17628 fs/fscache/cookie.c | 40 +-
17629 fs/fscache/internal.h | 202 +-
17630 fs/fscache/object.c | 26 +-
17631 fs/fscache/operation.c | 38 +-
17632 fs/fscache/page.c | 110 +-
17633 fs/fscache/stats.c | 348 +-
17634 fs/fuse/cuse.c | 10 +-
17635 fs/fuse/dev.c | 4 +-
17636 fs/gfs2/glock.c | 22 +-
17637 fs/gfs2/glops.c | 4 +-
17638 fs/gfs2/quota.c | 6 +-
17639 fs/hugetlbfs/inode.c | 13 +-
17640 fs/inode.c | 4 +-
17641 fs/jffs2/erase.c | 3 +-
17642 fs/jffs2/wbuf.c | 3 +-
17643 fs/jfs/super.c | 2 +-
17644 fs/kernfs/dir.c | 2 +-
17645 fs/kernfs/file.c | 20 +-
17646 fs/libfs.c | 10 +-
17647 fs/lockd/clntproc.c | 4 +-
17648 fs/namei.c | 16 +-
17649 fs/namespace.c | 16 +-
17650 fs/nfs/callback_xdr.c | 2 +-
17651 fs/nfs/inode.c | 6 +-
17652 fs/nfsd/nfs4proc.c | 2 +-
17653 fs/nfsd/nfs4xdr.c | 2 +-
17654 fs/nfsd/nfscache.c | 11 +-
17655 fs/nfsd/vfs.c | 6 +-
17656 fs/nls/nls_base.c | 26 +-
17657 fs/nls/nls_euc-jp.c | 6 +-
17658 fs/nls/nls_koi8-ru.c | 6 +-
17659 fs/notify/fanotify/fanotify_user.c | 4 +-
17660 fs/notify/notification.c | 4 +-
17661 fs/ntfs/dir.c | 2 +-
17662 fs/ntfs/super.c | 6 +-
17663 fs/ocfs2/localalloc.c | 2 +-
17664 fs/ocfs2/ocfs2.h | 10 +-
17665 fs/ocfs2/suballoc.c | 12 +-
17666 fs/ocfs2/super.c | 20 +-
17667 fs/pipe.c | 72 +-
17668 fs/posix_acl.c | 4 +-
17669 fs/proc/array.c | 20 +
17670 fs/proc/base.c | 4 +-
17671 fs/proc/kcore.c | 34 +-
17672 fs/proc/meminfo.c | 2 +-
17673 fs/proc/nommu.c | 2 +-
17674 fs/proc/proc_sysctl.c | 26 +-
17675 fs/proc/task_mmu.c | 39 +-
17676 fs/proc/task_nommu.c | 4 +-
17677 fs/proc/vmcore.c | 16 +-
17678 fs/qnx6/qnx6.h | 4 +-
17679 fs/quota/netlink.c | 4 +-
17680 fs/read_write.c | 2 +-
17681 fs/reiserfs/do_balan.c | 2 +-
17682 fs/reiserfs/procfs.c | 2 +-
17683 fs/reiserfs/reiserfs.h | 4 +-
17684 fs/seq_file.c | 4 +-
17685 fs/splice.c | 43 +-
17686 fs/squashfs/xattr.c | 12 +-
17687 fs/sysv/sysv.h | 2 +-
17688 fs/tracefs/inode.c | 8 +-
17689 fs/udf/misc.c | 2 +-
17690 fs/ufs/swab.h | 4 +-
17691 fs/userfaultfd.c | 2 +-
17692 fs/xattr.c | 21 +
17693 fs/xfs/libxfs/xfs_bmap.c | 2 +-
17694 fs/xfs/xfs_dir2_readdir.c | 7 +-
17695 fs/xfs/xfs_ioctl.c | 2 +-
17696 fs/xfs/xfs_linux.h | 4 +-
17697 include/asm-generic/4level-fixup.h | 2 +
17698 include/asm-generic/atomic-long.h | 156 +-
17699 include/asm-generic/atomic64.h | 12 +
17700 include/asm-generic/bitops/__fls.h | 2 +-
17701 include/asm-generic/bitops/fls.h | 2 +-
17702 include/asm-generic/bitops/fls64.h | 4 +-
17703 include/asm-generic/bug.h | 6 +-
17704 include/asm-generic/cache.h | 4 +-
17705 include/asm-generic/emergency-restart.h | 2 +-
17706 include/asm-generic/kmap_types.h | 4 +-
17707 include/asm-generic/local.h | 13 +
17708 include/asm-generic/pgtable-nopmd.h | 18 +-
17709 include/asm-generic/pgtable-nopud.h | 15 +-
17710 include/asm-generic/pgtable.h | 16 +
17711 include/asm-generic/sections.h | 1 +
17712 include/asm-generic/uaccess.h | 16 +
17713 include/asm-generic/vmlinux.lds.h | 15 +-
17714 include/crypto/algapi.h | 2 +-
17715 include/drm/drmP.h | 16 +-
17716 include/drm/drm_crtc_helper.h | 2 +-
17717 include/drm/drm_mm.h | 2 +-
17718 include/drm/i915_pciids.h | 2 +-
17719 include/drm/intel-gtt.h | 4 +-
17720 include/drm/ttm/ttm_memory.h | 2 +-
17721 include/drm/ttm/ttm_page_alloc.h | 1 +
17722 include/keys/asymmetric-subtype.h | 2 +-
17723 include/linux/atmdev.h | 4 +-
17724 include/linux/atomic.h | 17 +-
17725 include/linux/audit.h | 2 +-
17726 include/linux/average.h | 2 +-
17727 include/linux/binfmts.h | 3 +-
17728 include/linux/bitmap.h | 2 +-
17729 include/linux/bitops.h | 8 +-
17730 include/linux/blkdev.h | 2 +-
17731 include/linux/blktrace_api.h | 2 +-
17732 include/linux/cache.h | 8 +
17733 include/linux/cdrom.h | 1 -
17734 include/linux/cleancache.h | 2 +-
17735 include/linux/clk-provider.h | 1 +
17736 include/linux/compat.h | 6 +-
17737 include/linux/compiler-gcc.h | 28 +-
17738 include/linux/compiler.h | 157 +-
17739 include/linux/configfs.h | 2 +-
17740 include/linux/cpufreq.h | 3 +-
17741 include/linux/cpuidle.h | 5 +-
17742 include/linux/cpumask.h | 14 +-
17743 include/linux/crypto.h | 4 +-
17744 include/linux/ctype.h | 2 +-
17745 include/linux/dcache.h | 4 +-
17746 include/linux/decompress/mm.h | 2 +-
17747 include/linux/devfreq.h | 2 +-
17748 include/linux/device.h | 7 +-
17749 include/linux/dma-mapping.h | 2 +-
17750 include/linux/efi.h | 1 +
17751 include/linux/elf.h | 2 +
17752 include/linux/err.h | 4 +-
17753 include/linux/extcon.h | 2 +-
17754 include/linux/fb.h | 3 +-
17755 include/linux/fdtable.h | 2 +-
17756 include/linux/fs.h | 5 +-
17757 include/linux/fs_struct.h | 2 +-
17758 include/linux/fscache-cache.h | 2 +-
17759 include/linux/fscache.h | 2 +-
17760 include/linux/fsnotify.h | 2 +-
17761 include/linux/genhd.h | 4 +-
17762 include/linux/genl_magic_func.h | 2 +-
17763 include/linux/gfp.h | 12 +-
17764 include/linux/highmem.h | 12 +
17765 include/linux/hwmon-sysfs.h | 6 +-
17766 include/linux/i2c.h | 1 +
17767 include/linux/if_pppox.h | 2 +-
17768 include/linux/init.h | 12 +-
17769 include/linux/init_task.h | 7 +
17770 include/linux/interrupt.h | 6 +-
17771 include/linux/iommu.h | 2 +-
17772 include/linux/ioport.h | 2 +-
17773 include/linux/ipc.h | 2 +-
17774 include/linux/irq.h | 5 +-
17775 include/linux/irqdesc.h | 2 +-
17776 include/linux/irqdomain.h | 3 +
17777 include/linux/jiffies.h | 16 +-
17778 include/linux/key-type.h | 2 +-
17779 include/linux/kgdb.h | 6 +-
17780 include/linux/kmemleak.h | 4 +-
17781 include/linux/kobject.h | 3 +-
17782 include/linux/kobject_ns.h | 2 +-
17783 include/linux/kref.h | 2 +-
17784 include/linux/libata.h | 2 +-
17785 include/linux/linkage.h | 1 +
17786 include/linux/list.h | 15 +
17787 include/linux/lockref.h | 26 +-
17788 include/linux/math64.h | 10 +-
17789 include/linux/mempolicy.h | 7 +
17790 include/linux/mm.h | 102 +-
17791 include/linux/mm_types.h | 20 +
17792 include/linux/mmiotrace.h | 4 +-
17793 include/linux/mmzone.h | 2 +-
17794 include/linux/mod_devicetable.h | 4 +-
17795 include/linux/module.h | 69 +-
17796 include/linux/moduleloader.h | 16 +
17797 include/linux/moduleparam.h | 4 +-
17798 include/linux/net.h | 2 +-
17799 include/linux/netdevice.h | 7 +-
17800 include/linux/netfilter.h | 2 +-
17801 include/linux/netfilter/nfnetlink.h | 2 +-
17802 include/linux/nls.h | 4 +-
17803 include/linux/notifier.h | 3 +-
17804 include/linux/oprofile.h | 4 +-
17805 include/linux/padata.h | 2 +-
17806 include/linux/pci_hotplug.h | 3 +-
17807 include/linux/percpu.h | 2 +-
17808 include/linux/perf_event.h | 12 +-
17809 include/linux/pipe_fs_i.h | 8 +-
17810 include/linux/pm.h | 1 +
17811 include/linux/pm_domain.h | 4 +-
17812 include/linux/pm_runtime.h | 2 +-
17813 include/linux/pnp.h | 2 +-
17814 include/linux/poison.h | 4 +-
17815 include/linux/power/smartreflex.h | 2 +-
17816 include/linux/ppp-comp.h | 2 +-
17817 include/linux/preempt.h | 21 +
17818 include/linux/proc_ns.h | 2 +-
17819 include/linux/psci.h | 2 +-
17820 include/linux/quota.h | 2 +-
17821 include/linux/random.h | 19 +-
17822 include/linux/rculist.h | 16 +
17823 include/linux/reboot.h | 14 +-
17824 include/linux/regset.h | 3 +-
17825 include/linux/relay.h | 2 +-
17826 include/linux/rio.h | 2 +-
17827 include/linux/rmap.h | 4 +-
17828 include/linux/sched.h | 72 +-
17829 include/linux/sched/sysctl.h | 1 +
17830 include/linux/semaphore.h | 2 +-
17831 include/linux/seq_file.h | 1 +
17832 include/linux/signal.h | 2 +-
17833 include/linux/skbuff.h | 12 +-
17834 include/linux/slab.h | 47 +-
17835 include/linux/slab_def.h | 14 +-
17836 include/linux/slub_def.h | 2 +-
17837 include/linux/smp.h | 2 +
17838 include/linux/sock_diag.h | 2 +-
17839 include/linux/sonet.h | 2 +-
17840 include/linux/sunrpc/addr.h | 8 +-
17841 include/linux/sunrpc/clnt.h | 2 +-
17842 include/linux/sunrpc/svc.h | 2 +-
17843 include/linux/sunrpc/svc_rdma.h | 18 +-
17844 include/linux/sunrpc/svcauth.h | 2 +-
17845 include/linux/swapops.h | 10 +-
17846 include/linux/swiotlb.h | 3 +-
17847 include/linux/syscalls.h | 21 +-
17848 include/linux/syscore_ops.h | 2 +-
17849 include/linux/sysctl.h | 3 +-
17850 include/linux/sysfs.h | 9 +-
17851 include/linux/sysrq.h | 3 +-
17852 include/linux/tcp.h | 14 +-
17853 include/linux/thread_info.h | 7 +
17854 include/linux/tty.h | 4 +-
17855 include/linux/tty_driver.h | 2 +-
17856 include/linux/tty_ldisc.h | 2 +-
17857 include/linux/types.h | 16 +
17858 include/linux/uaccess.h | 6 +-
17859 include/linux/uio_driver.h | 2 +-
17860 include/linux/unaligned/access_ok.h | 24 +-
17861 include/linux/usb.h | 12 +-
17862 include/linux/usb/hcd.h | 1 +
17863 include/linux/usb/renesas_usbhs.h | 2 +-
17864 include/linux/vermagic.h | 21 +-
17865 include/linux/vga_switcheroo.h | 8 +-
17866 include/linux/vmalloc.h | 7 +-
17867 include/linux/vmstat.h | 24 +-
17868 include/linux/xattr.h | 5 +-
17869 include/linux/zlib.h | 3 +-
17870 include/media/v4l2-dev.h | 2 +-
17871 include/media/v4l2-device.h | 2 +-
17872 include/net/9p/transport.h | 2 +-
17873 include/net/bluetooth/l2cap.h | 2 +-
17874 include/net/bonding.h | 2 +-
17875 include/net/caif/cfctrl.h | 6 +-
17876 include/net/flow.h | 2 +-
17877 include/net/genetlink.h | 2 +-
17878 include/net/gro_cells.h | 2 +-
17879 include/net/inet_connection_sock.h | 2 +-
17880 include/net/inet_sock.h | 2 +-
17881 include/net/inetpeer.h | 2 +-
17882 include/net/ip_fib.h | 2 +-
17883 include/net/ip_vs.h | 8 +-
17884 include/net/ipv6.h | 2 +-
17885 include/net/irda/ircomm_tty.h | 1 +
17886 include/net/iucv/af_iucv.h | 2 +-
17887 include/net/llc_c_ac.h | 2 +-
17888 include/net/llc_c_ev.h | 4 +-
17889 include/net/llc_c_st.h | 2 +-
17890 include/net/llc_s_ac.h | 2 +-
17891 include/net/llc_s_st.h | 2 +-
17892 include/net/mac80211.h | 4 +-
17893 include/net/neighbour.h | 2 +-
17894 include/net/net_namespace.h | 18 +-
17895 include/net/netlink.h | 2 +-
17896 include/net/netns/conntrack.h | 6 +-
17897 include/net/netns/ipv4.h | 4 +-
17898 include/net/netns/ipv6.h | 4 +-
17899 include/net/netns/xfrm.h | 2 +-
17900 include/net/ping.h | 2 +-
17901 include/net/protocol.h | 4 +-
17902 include/net/rtnetlink.h | 2 +-
17903 include/net/sctp/checksum.h | 4 +-
17904 include/net/sctp/sm.h | 4 +-
17905 include/net/sctp/structs.h | 2 +-
17906 include/net/sock.h | 12 +-
17907 include/net/tcp.h | 8 +-
17908 include/net/xfrm.h | 13 +-
17909 include/rdma/iw_cm.h | 2 +-
17910 include/scsi/libfc.h | 3 +-
17911 include/scsi/scsi_device.h | 6 +-
17912 include/scsi/scsi_driver.h | 2 +-
17913 include/scsi/scsi_transport_fc.h | 3 +-
17914 include/scsi/sg.h | 2 +-
17915 include/sound/compress_driver.h | 2 +-
17916 include/sound/soc.h | 4 +-
17917 include/trace/events/irq.h | 4 +-
17918 include/uapi/linux/a.out.h | 8 +
17919 include/uapi/linux/bcache.h | 5 +-
17920 include/uapi/linux/byteorder/little_endian.h | 28 +-
17921 include/uapi/linux/connector.h | 2 +-
17922 include/uapi/linux/elf.h | 28 +
17923 include/uapi/linux/screen_info.h | 3 +-
17924 include/uapi/linux/swab.h | 6 +-
17925 include/uapi/linux/xattr.h | 4 +
17926 include/video/udlfb.h | 8 +-
17927 include/video/uvesafb.h | 1 +
17928 init/Kconfig | 2 +-
17929 init/Makefile | 3 +
17930 init/do_mounts.c | 14 +-
17931 init/do_mounts.h | 8 +-
17932 init/do_mounts_initrd.c | 30 +-
17933 init/do_mounts_md.c | 6 +-
17934 init/init_task.c | 4 +
17935 init/initramfs.c | 38 +-
17936 init/main.c | 30 +-
17937 ipc/compat.c | 4 +-
17938 ipc/ipc_sysctl.c | 8 +-
17939 ipc/mq_sysctl.c | 4 +-
17940 ipc/sem.c | 4 +-
17941 ipc/shm.c | 6 +
17942 kernel/audit.c | 8 +-
17943 kernel/auditsc.c | 4 +-
17944 kernel/bpf/core.c | 7 +-
17945 kernel/capability.c | 3 +
17946 kernel/compat.c | 38 +-
17947 kernel/debug/debug_core.c | 16 +-
17948 kernel/debug/kdb/kdb_main.c | 4 +-
17949 kernel/events/core.c | 26 +-
17950 kernel/events/internal.h | 10 +-
17951 kernel/events/uprobes.c | 2 +-
17952 kernel/exit.c | 2 +-
17953 kernel/fork.c | 167 +-
17954 kernel/futex.c | 11 +-
17955 kernel/futex_compat.c | 2 +-
17956 kernel/gcov/base.c | 7 +-
17957 kernel/irq/manage.c | 2 +-
17958 kernel/irq/msi.c | 19 +-
17959 kernel/irq/spurious.c | 2 +-
17960 kernel/jump_label.c | 5 +
17961 kernel/kallsyms.c | 37 +-
17962 kernel/kexec.c | 3 +-
17963 kernel/kmod.c | 8 +-
17964 kernel/kprobes.c | 4 +-
17965 kernel/ksysfs.c | 2 +-
17966 kernel/locking/lockdep.c | 7 +-
17967 kernel/locking/mutex-debug.c | 12 +-
17968 kernel/locking/mutex-debug.h | 4 +-
17969 kernel/locking/mutex.c | 6 +-
17970 kernel/module.c | 422 +-
17971 kernel/notifier.c | 17 +-
17972 kernel/padata.c | 4 +-
17973 kernel/panic.c | 5 +-
17974 kernel/pid.c | 2 +-
17975 kernel/pid_namespace.c | 2 +-
17976 kernel/power/process.c | 12 +-
17977 kernel/profile.c | 14 +-
17978 kernel/ptrace.c | 8 +-
17979 kernel/rcu/rcutorture.c | 60 +-
17980 kernel/rcu/tiny.c | 4 +-
17981 kernel/rcu/tree.c | 44 +-
17982 kernel/rcu/tree.h | 14 +-
17983 kernel/rcu/tree_plugin.h | 14 +-
17984 kernel/rcu/tree_trace.c | 12 +-
17985 kernel/sched/auto_group.c | 4 +-
17986 kernel/sched/core.c | 45 +-
17987 kernel/sched/fair.c | 2 +-
17988 kernel/sched/sched.h | 2 +-
17989 kernel/signal.c | 12 +-
17990 kernel/smpboot.c | 4 +-
17991 kernel/softirq.c | 12 +-
17992 kernel/sys.c | 10 +-
17993 kernel/sysctl.c | 34 +-
17994 kernel/time/alarmtimer.c | 2 +-
17995 kernel/time/posix-cpu-timers.c | 4 +-
17996 kernel/time/posix-timers.c | 24 +-
17997 kernel/time/timer.c | 2 +-
17998 kernel/time/timer_stats.c | 10 +-
17999 kernel/trace/blktrace.c | 6 +-
18000 kernel/trace/ftrace.c | 15 +-
18001 kernel/trace/ring_buffer.c | 96 +-
18002 kernel/trace/trace.c | 2 +-
18003 kernel/trace/trace.h | 2 +-
18004 kernel/trace/trace_clock.c | 4 +-
18005 kernel/trace/trace_events.c | 1 -
18006 kernel/trace/trace_functions_graph.c | 4 +-
18007 kernel/trace/trace_mmiotrace.c | 8 +-
18008 kernel/trace/trace_output.c | 10 +-
18009 kernel/trace/trace_seq.c | 2 +-
18010 kernel/trace/trace_stack.c | 2 +-
18011 kernel/user_namespace.c | 2 +-
18012 kernel/utsname_sysctl.c | 2 +-
18013 kernel/watchdog.c | 2 +-
18014 kernel/workqueue.c | 2 +-
18015 lib/Kconfig.debug | 8 +-
18016 lib/Makefile | 2 +-
18017 lib/bitmap.c | 8 +-
18018 lib/bug.c | 2 +
18019 lib/debugobjects.c | 2 +-
18020 lib/decompress_bunzip2.c | 3 +-
18021 lib/decompress_unlzma.c | 4 +-
18022 lib/div64.c | 4 +-
18023 lib/dma-debug.c | 4 +-
18024 lib/inflate.c | 2 +-
18025 lib/ioremap.c | 4 +-
18026 lib/kobject.c | 4 +-
18027 lib/list_debug.c | 126 +-
18028 lib/lockref.c | 44 +-
18029 lib/percpu-refcount.c | 2 +-
18030 lib/radix-tree.c | 2 +-
18031 lib/random32.c | 2 +-
18032 lib/show_mem.c | 2 +-
18033 lib/strncpy_from_user.c | 2 +-
18034 lib/strnlen_user.c | 2 +-
18035 lib/swiotlb.c | 2 +-
18036 lib/usercopy.c | 6 +
18037 lib/vsprintf.c | 12 +-
18038 mm/Kconfig | 6 +-
18039 mm/backing-dev.c | 4 +-
18040 mm/debug.c | 3 +
18041 mm/filemap.c | 2 +-
18042 mm/gup.c | 13 +-
18043 mm/highmem.c | 6 +-
18044 mm/hugetlb.c | 70 +-
18045 mm/internal.h | 1 +
18046 mm/maccess.c | 4 +-
18047 mm/madvise.c | 37 +
18048 mm/memory-failure.c | 6 +-
18049 mm/memory.c | 424 +-
18050 mm/mempolicy.c | 25 +
18051 mm/mlock.c | 15 +-
18052 mm/mm_init.c | 2 +-
18053 mm/mmap.c | 582 +-
18054 mm/mprotect.c | 137 +-
18055 mm/mremap.c | 39 +-
18056 mm/nommu.c | 21 +-
18057 mm/page-writeback.c | 2 +-
18058 mm/page_alloc.c | 49 +-
18059 mm/percpu.c | 2 +-
18060 mm/process_vm_access.c | 14 +-
18061 mm/rmap.c | 45 +-
18062 mm/shmem.c | 19 +-
18063 mm/slab.c | 109 +-
18064 mm/slab.h | 22 +-
18065 mm/slab_common.c | 86 +-
18066 mm/slob.c | 218 +-
18067 mm/slub.c | 102 +-
18068 mm/sparse-vmemmap.c | 4 +-
18069 mm/sparse.c | 2 +-
18070 mm/swap.c | 2 +
18071 mm/swapfile.c | 12 +-
18072 mm/util.c | 6 +
18073 mm/vmalloc.c | 114 +-
18074 mm/vmstat.c | 12 +-
18075 net/8021q/vlan.c | 5 +-
18076 net/8021q/vlan_netlink.c | 2 +-
18077 net/9p/mod.c | 4 +-
18078 net/9p/trans_fd.c | 2 +-
18079 net/atm/atm_misc.c | 8 +-
18080 net/atm/lec.h | 2 +-
18081 net/atm/proc.c | 6 +-
18082 net/atm/resources.c | 4 +-
18083 net/ax25/sysctl_net_ax25.c | 2 +-
18084 net/batman-adv/bat_iv_ogm.c | 8 +-
18085 net/batman-adv/fragmentation.c | 2 +-
18086 net/batman-adv/soft-interface.c | 8 +-
18087 net/batman-adv/types.h | 6 +-
18088 net/bluetooth/hci_sock.c | 2 +-
18089 net/bluetooth/l2cap_core.c | 6 +-
18090 net/bluetooth/l2cap_sock.c | 12 +-
18091 net/bluetooth/rfcomm/sock.c | 4 +-
18092 net/bluetooth/rfcomm/tty.c | 4 +-
18093 net/bridge/br_netlink.c | 2 +-
18094 net/bridge/netfilter/ebtables.c | 6 +-
18095 net/caif/cfctrl.c | 11 +-
18096 net/caif/chnl_net.c | 2 +-
18097 net/can/af_can.c | 2 +-
18098 net/can/gw.c | 6 +-
18099 net/ceph/messenger.c | 4 +-
18100 net/compat.c | 24 +-
18101 net/core/datagram.c | 2 +-
18102 net/core/dev.c | 16 +-
18103 net/core/filter.c | 2 +-
18104 net/core/flow.c | 6 +-
18105 net/core/neighbour.c | 4 +-
18106 net/core/net-sysfs.c | 2 +-
18107 net/core/net_namespace.c | 8 +-
18108 net/core/netpoll.c | 4 +-
18109 net/core/rtnetlink.c | 15 +-
18110 net/core/scm.c | 14 +-
18111 net/core/skbuff.c | 8 +-
18112 net/core/sock.c | 28 +-
18113 net/core/sock_diag.c | 15 +-
18114 net/core/sysctl_net_core.c | 22 +-
18115 net/decnet/af_decnet.c | 1 +
18116 net/decnet/sysctl_net_decnet.c | 4 +-
18117 net/dsa/dsa.c | 2 +-
18118 net/hsr/hsr_netlink.c | 2 +-
18119 net/ieee802154/6lowpan/core.c | 2 +-
18120 net/ieee802154/6lowpan/reassembly.c | 14 +-
18121 net/ipv4/af_inet.c | 2 +-
18122 net/ipv4/devinet.c | 18 +-
18123 net/ipv4/fib_frontend.c | 6 +-
18124 net/ipv4/fib_semantics.c | 2 +-
18125 net/ipv4/inet_connection_sock.c | 4 +-
18126 net/ipv4/inet_timewait_sock.c | 2 +-
18127 net/ipv4/inetpeer.c | 2 +-
18128 net/ipv4/ip_fragment.c | 15 +-
18129 net/ipv4/ip_gre.c | 6 +-
18130 net/ipv4/ip_sockglue.c | 2 +-
18131 net/ipv4/ip_vti.c | 4 +-
18132 net/ipv4/ipconfig.c | 6 +-
18133 net/ipv4/ipip.c | 4 +-
18134 net/ipv4/netfilter/arp_tables.c | 12 +-
18135 net/ipv4/netfilter/ip_tables.c | 12 +-
18136 net/ipv4/ping.c | 14 +-
18137 net/ipv4/raw.c | 14 +-
18138 net/ipv4/route.c | 32 +-
18139 net/ipv4/sysctl_net_ipv4.c | 22 +-
18140 net/ipv4/tcp_input.c | 6 +-
18141 net/ipv4/tcp_probe.c | 2 +-
18142 net/ipv4/udp.c | 10 +-
18143 net/ipv4/xfrm4_policy.c | 18 +-
18144 net/ipv6/addrconf.c | 18 +-
18145 net/ipv6/af_inet6.c | 2 +-
18146 net/ipv6/datagram.c | 2 +-
18147 net/ipv6/icmp.c | 2 +-
18148 net/ipv6/ip6_fib.c | 4 +-
18149 net/ipv6/ip6_gre.c | 10 +-
18150 net/ipv6/ip6_tunnel.c | 4 +-
18151 net/ipv6/ip6_vti.c | 4 +-
18152 net/ipv6/ipv6_sockglue.c | 2 +-
18153 net/ipv6/netfilter/ip6_tables.c | 12 +-
18154 net/ipv6/netfilter/nf_conntrack_reasm.c | 14 +-
18155 net/ipv6/ping.c | 33 +-
18156 net/ipv6/raw.c | 17 +-
18157 net/ipv6/reassembly.c | 13 +-
18158 net/ipv6/route.c | 2 +-
18159 net/ipv6/sit.c | 4 +-
18160 net/ipv6/sysctl_net_ipv6.c | 2 +-
18161 net/ipv6/udp.c | 6 +-
18162 net/ipv6/xfrm6_policy.c | 17 +-
18163 net/irda/ircomm/ircomm_tty.c | 18 +-
18164 net/iucv/af_iucv.c | 4 +-
18165 net/iucv/iucv.c | 2 +-
18166 net/key/af_key.c | 4 +-
18167 net/l2tp/l2tp_eth.c | 38 +-
18168 net/l2tp/l2tp_ip.c | 2 +-
18169 net/l2tp/l2tp_ip6.c | 2 +-
18170 net/mac80211/cfg.c | 8 +-
18171 net/mac80211/ieee80211_i.h | 3 +-
18172 net/mac80211/iface.c | 20 +-
18173 net/mac80211/main.c | 2 +-
18174 net/mac80211/pm.c | 4 +-
18175 net/mac80211/rate.c | 2 +-
18176 net/mac80211/sta_info.c | 2 +-
18177 net/mac80211/util.c | 8 +-
18178 net/mpls/af_mpls.c | 6 +-
18179 net/netfilter/ipset/ip_set_core.c | 2 +-
18180 net/netfilter/ipvs/ip_vs_conn.c | 6 +-
18181 net/netfilter/ipvs/ip_vs_core.c | 4 +-
18182 net/netfilter/ipvs/ip_vs_ctl.c | 14 +-
18183 net/netfilter/ipvs/ip_vs_lblc.c | 2 +-
18184 net/netfilter/ipvs/ip_vs_lblcr.c | 2 +-
18185 net/netfilter/ipvs/ip_vs_sync.c | 6 +-
18186 net/netfilter/ipvs/ip_vs_xmit.c | 4 +-
18187 net/netfilter/nf_conntrack_acct.c | 2 +-
18188 net/netfilter/nf_conntrack_ecache.c | 2 +-
18189 net/netfilter/nf_conntrack_helper.c | 2 +-
18190 net/netfilter/nf_conntrack_proto.c | 2 +-
18191 net/netfilter/nf_conntrack_standalone.c | 2 +-
18192 net/netfilter/nf_conntrack_timestamp.c | 2 +-
18193 net/netfilter/nf_log.c | 10 +-
18194 net/netfilter/nf_sockopt.c | 4 +-
18195 net/netfilter/nfnetlink_log.c | 4 +-
18196 net/netfilter/nft_compat.c | 9 +-
18197 net/netfilter/xt_statistic.c | 8 +-
18198 net/netlink/af_netlink.c | 4 +-
18199 net/openvswitch/vport-internal_dev.c | 2 +-
18200 net/packet/af_packet.c | 8 +-
18201 net/phonet/pep.c | 6 +-
18202 net/phonet/socket.c | 2 +-
18203 net/phonet/sysctl.c | 2 +-
18204 net/rds/cong.c | 6 +-
18205 net/rds/ib.h | 2 +-
18206 net/rds/ib_cm.c | 2 +-
18207 net/rds/ib_recv.c | 4 +-
18208 net/rds/iw.h | 2 +-
18209 net/rds/iw_cm.c | 2 +-
18210 net/rds/iw_recv.c | 4 +-
18211 net/rds/rds.h | 2 +-
18212 net/rds/tcp.c | 2 +-
18213 net/rds/tcp_send.c | 2 +-
18214 net/rxrpc/af_rxrpc.c | 2 +-
18215 net/rxrpc/ar-ack.c | 14 +-
18216 net/rxrpc/ar-call.c | 2 +-
18217 net/rxrpc/ar-connection.c | 2 +-
18218 net/rxrpc/ar-connevent.c | 2 +-
18219 net/rxrpc/ar-input.c | 4 +-
18220 net/rxrpc/ar-internal.h | 8 +-
18221 net/rxrpc/ar-local.c | 2 +-
18222 net/rxrpc/ar-output.c | 4 +-
18223 net/rxrpc/ar-peer.c | 2 +-
18224 net/rxrpc/ar-proc.c | 4 +-
18225 net/rxrpc/ar-transport.c | 2 +-
18226 net/rxrpc/rxkad.c | 4 +-
18227 net/sched/sch_generic.c | 4 +-
18228 net/sctp/ipv6.c | 6 +-
18229 net/sctp/protocol.c | 10 +-
18230 net/sctp/sm_sideeffect.c | 2 +-
18231 net/sctp/socket.c | 21 +-
18232 net/sctp/sysctl.c | 10 +-
18233 net/socket.c | 18 +-
18234 net/sunrpc/auth_gss/svcauth_gss.c | 4 +-
18235 net/sunrpc/clnt.c | 4 +-
18236 net/sunrpc/sched.c | 4 +-
18237 net/sunrpc/svc.c | 4 +-
18238 net/sunrpc/svcauth_unix.c | 2 +-
18239 net/sunrpc/xprtrdma/svc_rdma.c | 38 +-
18240 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 8 +-
18241 net/sunrpc/xprtrdma/svc_rdma_sendto.c | 2 +-
18242 net/sunrpc/xprtrdma/svc_rdma_transport.c | 10 +-
18243 net/tipc/netlink_compat.c | 12 +-
18244 net/tipc/subscr.c | 2 +-
18245 net/unix/af_unix.c | 7 +-
18246 net/unix/sysctl_net_unix.c | 2 +-
18247 net/wireless/wext-core.c | 19 +-
18248 net/xfrm/xfrm_policy.c | 16 +-
18249 net/xfrm/xfrm_state.c | 33 +-
18250 net/xfrm/xfrm_sysctl.c | 2 +-
18251 scripts/Kbuild.include | 2 +-
18252 scripts/Makefile.build | 2 +-
18253 scripts/Makefile.clean | 3 +-
18254 scripts/Makefile.host | 69 +-
18255 scripts/basic/fixdep.c | 12 +-
18256 scripts/dtc/checks.c | 14 +-
18257 scripts/dtc/data.c | 6 +-
18258 scripts/dtc/flattree.c | 8 +-
18259 scripts/dtc/livetree.c | 4 +-
18260 scripts/gcc-plugin.sh | 51 +
18261 scripts/headers_install.sh | 1 +
18262 scripts/kallsyms.c | 4 +-
18263 scripts/kconfig/lkc.h | 5 +-
18264 scripts/kconfig/menu.c | 2 +-
18265 scripts/kconfig/symbol.c | 6 +-
18266 scripts/link-vmlinux.sh | 2 +-
18267 scripts/mod/file2alias.c | 14 +-
18268 scripts/mod/modpost.c | 25 +-
18269 scripts/mod/modpost.h | 6 +-
18270 scripts/mod/sumversion.c | 2 +-
18271 scripts/module-common.lds | 4 +
18272 scripts/package/builddeb | 1 +
18273 scripts/pnmtologo.c | 6 +-
18274 scripts/sortextable.h | 6 +-
18275 scripts/tags.sh | 2 +-
18276 security/Kconfig | 692 +-
18277 security/integrity/ima/ima.h | 4 +-
18278 security/integrity/ima/ima_api.c | 2 +-
18279 security/integrity/ima/ima_fs.c | 4 +-
18280 security/integrity/ima/ima_queue.c | 2 +-
18281 security/keys/key.c | 18 +-
18282 security/selinux/avc.c | 6 +-
18283 security/selinux/include/xfrm.h | 2 +-
18284 security/yama/yama_lsm.c | 2 +-
18285 sound/aoa/codecs/onyx.c | 7 +-
18286 sound/aoa/codecs/onyx.h | 1 +
18287 sound/core/oss/pcm_oss.c | 18 +-
18288 sound/core/pcm_compat.c | 2 +-
18289 sound/core/pcm_native.c | 4 +-
18290 sound/core/sound.c | 2 +-
18291 sound/drivers/mts64.c | 14 +-
18292 sound/drivers/opl4/opl4_lib.c | 2 +-
18293 sound/drivers/portman2x4.c | 3 +-
18294 sound/firewire/amdtp.c | 4 +-
18295 sound/firewire/amdtp.h | 4 +-
18296 sound/firewire/isight.c | 10 +-
18297 sound/firewire/scs1x.c | 8 +-
18298 sound/oss/sb_audio.c | 2 +-
18299 sound/oss/swarm_cs4297a.c | 6 +-
18300 sound/pci/hda/hda_codec.c | 2 +-
18301 sound/pci/ymfpci/ymfpci.h | 2 +-
18302 sound/pci/ymfpci/ymfpci_main.c | 12 +-
18303 sound/soc/codecs/sti-sas.c | 10 +-
18304 sound/soc/soc-ac97.c | 6 +-
18305 sound/soc/xtensa/xtfpga-i2s.c | 2 +-
18306 tools/gcc/Makefile | 42 +
18307 tools/gcc/checker_plugin.c | 150 +
18308 tools/gcc/colorize_plugin.c | 215 +
18309 tools/gcc/constify_plugin.c | 571 +
18310 tools/gcc/gcc-common.h | 812 +
18311 tools/gcc/initify_plugin.c | 552 +
18312 tools/gcc/kallocstat_plugin.c | 188 +
18313 tools/gcc/kernexec_plugin.c | 549 +
18314 tools/gcc/latent_entropy_plugin.c | 470 +
18315 tools/gcc/size_overflow_plugin/.gitignore | 2 +
18316 tools/gcc/size_overflow_plugin/Makefile | 28 +
18317 .../disable_size_overflow_hash.data |12422 ++++++++++++
18318 .../generate_size_overflow_hash.sh | 103 +
18319 .../insert_size_overflow_asm.c | 416 +
18320 .../size_overflow_plugin/intentional_overflow.c | 1010 +
18321 .../size_overflow_plugin/remove_unnecessary_dup.c | 137 +
18322 tools/gcc/size_overflow_plugin/size_overflow.h | 323 +
18323 .../gcc/size_overflow_plugin/size_overflow_debug.c | 194 +
18324 .../size_overflow_plugin/size_overflow_hash.data |20735 ++++++++++++++++++++
18325 .../size_overflow_hash_aux.data | 92 +
18326 tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 1226 ++
18327 .../gcc/size_overflow_plugin/size_overflow_misc.c | 505 +
18328 .../size_overflow_plugin/size_overflow_plugin.c | 318 +
18329 .../size_overflow_plugin_hash.c | 352 +
18330 .../size_overflow_plugin/size_overflow_transform.c | 749 +
18331 .../size_overflow_transform_core.c | 1010 +
18332 tools/gcc/stackleak_plugin.c | 436 +
18333 tools/gcc/structleak_plugin.c | 287 +
18334 tools/include/linux/compiler.h | 8 +
18335 tools/lib/api/Makefile | 2 +-
18336 tools/perf/util/include/asm/alternative-asm.h | 3 +
18337 tools/virtio/linux/uaccess.h | 2 +-
18338 virt/kvm/kvm_main.c | 42 +-
18339 1944 files changed, 66925 insertions(+), 8949 deletions(-)