]> 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 7765cd90c911e58959451529995ea44b7a2271d6
2 Author: Brad Spengler <spender@grsecurity.net>
3 Date: Thu Jul 7 07:12:54 2016 -0400
4
5 Compile fix reported by adminwset on the forums:
6 https://forums.grsecurity.net/viewtopic.php?t=4507&p=16420#p16420
7
8 fs/proc/task_mmu.c | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11 commit c94fbc6f47fdae9a2dcf29d3048c8da8752dbbdf
12 Author: Brad Spengler <spender@grsecurity.net>
13 Date: Wed Jul 6 21:11:33 2016 -0400
14
15 compile fix
16
17 arch/x86/mm/init_32.c | 1 -
18 1 file changed, 1 deletion(-)
19
20 commit ee4f4cdd26864ac40ac22b4a3b88f284a6d057d0
21 Author: Miklos Szeredi <mszeredi@redhat.com>
22 Date: Wed Jun 29 16:03:55 2016 +0200
23
24 ovl: get_write_access() in truncate
25
26 When truncating a file we should check write access on the underlying
27 inode. And we should do so on the lower file as well (before copy-up) for
28 consistency.
29
30 Original patch and test case by Aihua Zhang.
31
32 - - >o >o - - test.c - - >o >o - -
33 #include <stdio.h>
34 #include <errno.h>
35 #include <unistd.h>
36
37 int main(int argc, char *argv[])
38 {
39 int ret;
40
41 ret = truncate(argv[0], 4096);
42 if (ret != -1) {
43 fprintf(stderr, "truncate(argv[0]) should have failed\n");
44 return 1;
45 }
46 if (errno != ETXTBSY) {
47 perror("truncate(argv[0])");
48 return 1;
49 }
50
51 return 0;
52 }
53 - - >o >o - - >o >o - - >o >o - -
54
55 Reported-by: Aihua Zhang <zhangaihua1@huawei.com>
56 Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
57 Cc: <stable@vger.kernel.org>
58
59 fs/overlayfs/inode.c | 21 +++++++++++++++++++++
60 1 file changed, 21 insertions(+)
61
62 commit 4585d082282707fbe91025c987bd8cef4152196d
63 Author: Vivek Goyal <vgoyal@redhat.com>
64 Date: Fri Jul 1 10:02:44 2016 -0400
65
66 ovl: warn instead of error if d_type is not supported
67
68 overlay needs underlying fs to support d_type. Recently I put in a
69 patch in to detect this condition and started failing mount if
70 underlying fs did not support d_type.
71
72 But this breaks existing configurations over kernel upgrade. Those who
73 are running docker (partially broken configuration) with xfs not
74 supporting d_type, are surprised that after kernel upgrade docker does
75 not run anymore.
76
77 https://github.com/docker/docker/issues/22937#issuecomment-229881315
78
79 So instead of erroring out, detect broken configuration and warn
80 about it. This should allow existing docker setups to continue
81 working after kernel upgrade.
82
83 Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
84 Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
85 Fixes: 45aebeaf4f67 ("ovl: Ensure upper filesystem supports d_type")
86 Cc: <stable@vger.kernel.org> 4.6
87
88 fs/overlayfs/super.c | 12 +++++++-----
89 1 file changed, 7 insertions(+), 5 deletions(-)
90
91 commit 97bb95801d1ce86dafd1a59483803aba5b93e7c0
92 Author: Randy Dunlap <rdunlap@infradead.org>
93 Date: Wed Jul 6 16:06:53 2016 -0700
94
95 init/Kconfig: keep Expert users menu together
96
97 The "expert" menu was broken (split) such that all entries in it after
98 KALLSYMS were displayed in the "General setup" area instead of in the
99 "Expert users" area. Fix this by adding one kconfig dependency.
100
101 Yes, the Expert users menu is fragile. Problems like this have happened
102 several times in the past. I will attempt to isolate the Expert users
103 menu if there is interest in that.
104
105 Fixes: 4d5d5664c900 ("x86: kallsyms: disable absolute percpu symbols on !SMP")
106 Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
107 Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
108 Cc: stable@vger.kernel.org # 4.6
109 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
110
111 init/Kconfig | 1 +
112 1 file changed, 1 insertion(+)
113
114 commit 616a19ea32197667494240e8afc0de98d28fdd47
115 Merge: 769cc1b 98d6186
116 Author: Brad Spengler <spender@grsecurity.net>
117 Date: Wed Jul 6 20:41:51 2016 -0400
118
119 Merge branch 'pax-test' into grsec-test
120
121 commit 98d61867ac6a18500bbd9771678138154869cec3
122 Author: Brad Spengler <spender@grsecurity.net>
123 Date: Wed Jul 6 20:29:35 2016 -0400
124
125 Update to pax-linux-4.6.3-test10.patch:
126 - fixed a size overflow false positive in xfrm4_beet_output and xfrm6_beet_output, by Mathias Krause <minipli@ld-linux.so>
127 - 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)
128 - fixed a few constification related compile errors on arm/mips, by spender
129 - updated the size overflow hash table from grsecurity
130 - fixed an integer truncation bug in __ioremap_caller caught by the size overflow plugin
131
132 arch/arm/mach-mmp/mmp2.c | 4 +-
133 arch/arm/mach-mmp/pxa910.c | 4 +-
134 arch/arm/mach-s3c64xx/mach-smdk6410.c | 2 +-
135 arch/arm/mm/fault.c | 2 +-
136 arch/x86/include/asm/efi.h | 5 +
137 arch/x86/include/asm/pgtable.h | 2 +-
138 arch/x86/mm/dump_pagetables.c | 32 +++-
139 arch/x86/mm/init_32.c | 55 +++---
140 arch/x86/mm/init_64.c | 12 +-
141 arch/x86/mm/ioremap.c | 2 +-
142 arch/x86/mm/pageattr.c | 2 +-
143 drivers/gpu/drm/sti/sti_cursor.c | 4 +-
144 drivers/gpu/drm/sti/sti_dvo.c | 4 +-
145 drivers/gpu/drm/sti/sti_gdp.c | 12 +-
146 drivers/gpu/drm/sti/sti_hdmi.c | 4 +-
147 drivers/gpu/drm/sti/sti_mixer.c | 8 +-
148 drivers/gpu/drm/sti/sti_vid.c | 4 +-
149 drivers/irqchip/irq-mmp.c | 2 +-
150 drivers/net/ethernet/broadcom/bnxt/bnxt.c | 2 +-
151 include/linux/irqchip/mmp.h | 2 +-
152 net/ipv4/xfrm4_mode_beet.c | 2 +-
153 net/ipv6/xfrm6_mode_beet.c | 2 +-
154 .../size_overflow_plugin/size_overflow_hash.data | 203 +++++++++++++++++----
155 23 files changed, 280 insertions(+), 91 deletions(-)
156
157 commit 769cc1b850f164d9fd9284898295eb616896d66b
158 Author: Brad Spengler <spender@grsecurity.net>
159 Date: Wed Jul 6 20:08:29 2016 -0400
160
161 Fix bug in RBAC learning reported by Andrew Flannery
162 Nolog/noaudit-type capability checks were handled in a separate
163 function which did not check if the requestor had the capability in
164 their effective set. This would cause privileged processes to be
165 denied use of their capabilities in the small number of instances
166 these kinds of checks were used (for ptrace_may_access() etc, which
167 get used in deciding if privileged processes can bypass /proc
168 restrictions) only when RBAC learning was enabled on the process.
169
170 Remove some code duplication in the process of fixing the bug.
171
172 grsecurity/gracl_cap.c | 49 +++++++++------------------------------------
173 grsecurity/grsec_disabled.c | 2 +-
174 grsecurity/grsec_exec.c | 9 ++++-----
175 include/linux/grsecurity.h | 4 ++--
176 kernel/capability.c | 2 +-
177 kernel/sys.c | 4 ++--
178 6 files changed, 19 insertions(+), 51 deletions(-)
179
180 commit 244fda357c13b44ac2d174713205863c552eb30d
181 Author: Brad Spengler <spender@grsecurity.net>
182 Date: Wed Jul 6 07:19:26 2016 -0400
183
184 Compile fix for recent /proc/pid/mem changes, reported by adminwset at
185 https://forums.grsecurity.net/viewtopic.php?t=4505&p=16415#p16415
186
187 fs/proc/base.c | 2 +-
188 fs/proc/internal.h | 2 +-
189 include/linux/sched.h | 2 ++
190 3 files changed, 4 insertions(+), 2 deletions(-)
191
192 commit 5bd1344d3f28c5402bcd85972bb520a5baaf612c
193 Author: Brad Spengler <spender@grsecurity.net>
194 Date: Sun Jul 3 21:27:25 2016 -0400
195
196 Initial import of grsecurity for Linux 4.6.3
197
198 Documentation/dontdiff | 2 +
199 Documentation/kernel-parameters.txt | 11 +
200 Documentation/sysctl/kernel.txt | 15 +
201 Makefile | 5 +-
202 arch/alpha/include/asm/cache.h | 4 +-
203 arch/alpha/kernel/osf_sys.c | 12 +-
204 arch/arc/Kconfig | 1 +
205 arch/arm/Kconfig | 1 +
206 arch/arm/Kconfig.debug | 1 +
207 arch/arm/include/asm/thread_info.h | 7 +-
208 arch/arm/kernel/entry-common.S | 8 +-
209 arch/arm/kernel/process.c | 4 +-
210 arch/arm/kernel/ptrace.c | 9 +
211 arch/arm/kernel/traps.c | 7 +-
212 arch/arm/mach-mmp/mmp2.c | 4 +-
213 arch/arm/mach-mmp/pxa910.c | 4 +-
214 arch/arm/mach-s3c64xx/mach-smdk6410.c | 2 +-
215 arch/arm/mm/Kconfig | 4 +-
216 arch/arm/mm/alignment.c | 24 +-
217 arch/arm/mm/fault.c | 42 +-
218 arch/arm/mm/mmap.c | 8 +-
219 arch/arm/net/bpf_jit_32.c | 51 +-
220 arch/arm64/Kconfig.debug | 1 +
221 arch/avr32/include/asm/cache.h | 4 +-
222 arch/blackfin/Kconfig.debug | 1 +
223 arch/blackfin/include/asm/cache.h | 3 +-
224 arch/cris/include/arch-v10/arch/cache.h | 3 +-
225 arch/cris/include/arch-v32/arch/cache.h | 3 +-
226 arch/frv/include/asm/cache.h | 3 +-
227 arch/frv/mm/elf-fdpic.c | 4 +-
228 arch/hexagon/include/asm/cache.h | 6 +-
229 arch/ia64/Kconfig | 1 +
230 arch/ia64/include/asm/cache.h | 3 +-
231 arch/ia64/kernel/sys_ia64.c | 2 +
232 arch/ia64/mm/hugetlbpage.c | 2 +
233 arch/m32r/include/asm/cache.h | 4 +-
234 arch/m68k/include/asm/cache.h | 4 +-
235 arch/metag/mm/hugetlbpage.c | 1 +
236 arch/microblaze/include/asm/cache.h | 3 +-
237 arch/mips/Kbuild | 2 +-
238 arch/mips/Kconfig | 1 +
239 arch/mips/include/asm/irq.h | 1 -
240 arch/mips/include/asm/thread_info.h | 11 +-
241 arch/mips/kernel/irq.c | 3 +
242 arch/mips/kernel/ptrace.c | 9 +
243 arch/mips/mm/mmap.c | 4 +-
244 arch/mn10300/proc-mn103e010/include/proc/cache.h | 4 +-
245 arch/mn10300/proc-mn2ws0050/include/proc/cache.h | 4 +-
246 arch/openrisc/include/asm/cache.h | 4 +-
247 arch/parisc/include/asm/cache.h | 3 +
248 arch/parisc/kernel/sys_parisc.c | 4 +
249 arch/powerpc/Kconfig | 1 +
250 arch/powerpc/include/asm/cache.h | 4 +-
251 arch/powerpc/include/asm/thread_info.h | 5 +-
252 arch/powerpc/kernel/Makefile | 2 +
253 arch/powerpc/kernel/irq.c | 3 +
254 arch/powerpc/kernel/process.c | 10 +-
255 arch/powerpc/kernel/ptrace.c | 14 +
256 arch/powerpc/kernel/traps.c | 5 +
257 arch/powerpc/mm/slice.c | 2 +-
258 arch/s390/Kconfig.debug | 1 +
259 arch/s390/include/asm/cache.h | 4 +-
260 arch/score/include/asm/cache.h | 4 +-
261 arch/sh/include/asm/cache.h | 3 +-
262 arch/sh/mm/mmap.c | 6 +-
263 arch/sparc/include/asm/atomic_64.h | 5 +
264 arch/sparc/include/asm/cache.h | 4 +-
265 arch/sparc/include/asm/pgalloc_64.h | 1 +
266 arch/sparc/include/asm/thread_info_64.h | 8 +-
267 arch/sparc/kernel/process_32.c | 6 +-
268 arch/sparc/kernel/process_64.c | 8 +-
269 arch/sparc/kernel/ptrace_64.c | 14 +
270 arch/sparc/kernel/sys_sparc_64.c | 8 +-
271 arch/sparc/kernel/syscalls.S | 8 +-
272 arch/sparc/kernel/traps_32.c | 8 +-
273 arch/sparc/kernel/traps_64.c | 28 +-
274 arch/sparc/kernel/unaligned_64.c | 2 +-
275 arch/sparc/lib/atomic_64.S | 2 +-
276 arch/sparc/lib/ksyms.c | 4 +-
277 arch/sparc/mm/fault_64.c | 2 +-
278 arch/sparc/mm/hugetlbpage.c | 15 +-
279 arch/tile/Kconfig | 1 +
280 arch/tile/include/asm/cache.h | 3 +-
281 arch/tile/mm/hugetlbpage.c | 2 +
282 arch/um/include/asm/cache.h | 3 +-
283 arch/unicore32/include/asm/cache.h | 6 +-
284 arch/x86/Kconfig | 21 +
285 arch/x86/Kconfig.debug | 2 +
286 arch/x86/entry/common.c | 14 +
287 arch/x86/entry/entry_32.S | 2 +-
288 arch/x86/entry/entry_64.S | 2 +-
289 arch/x86/ia32/ia32_aout.c | 2 +
290 arch/x86/include/asm/floppy.h | 20 +-
291 arch/x86/include/asm/fpu/types.h | 69 +-
292 arch/x86/include/asm/io.h | 2 +-
293 arch/x86/include/asm/page.h | 12 +-
294 arch/x86/include/asm/paravirt_types.h | 21 +-
295 arch/x86/include/asm/processor.h | 12 +-
296 arch/x86/include/asm/thread_info.h | 6 +-
297 arch/x86/kernel/dumpstack.c | 10 +-
298 arch/x86/kernel/dumpstack_32.c | 2 +-
299 arch/x86/kernel/dumpstack_64.c | 2 +-
300 arch/x86/kernel/ioport.c | 13 +
301 arch/x86/kernel/irq_32.c | 3 +
302 arch/x86/kernel/irq_64.c | 4 +
303 arch/x86/kernel/ldt.c | 18 +
304 arch/x86/kernel/msr.c | 12 +
305 arch/x86/kernel/ptrace.c | 14 +
306 arch/x86/kernel/signal.c | 9 +-
307 arch/x86/kernel/sys_i386_32.c | 9 +-
308 arch/x86/kernel/sys_x86_64.c | 8 +-
309 arch/x86/kernel/traps.c | 5 +
310 arch/x86/kernel/verify_cpu.S | 1 +
311 arch/x86/kernel/vm86_32.c | 15 +
312 arch/x86/mm/fault.c | 12 +-
313 arch/x86/mm/hugetlbpage.c | 15 +-
314 arch/x86/mm/init.c | 51 +-
315 arch/x86/mm/init_32.c | 10 +-
316 arch/x86/net/bpf_jit_comp.c | 4 +
317 arch/x86/platform/efi/efi_64.c | 2 +-
318 arch/x86/xen/Kconfig | 1 +
319 arch/xtensa/variants/dc232b/include/variant/core.h | 2 +-
320 arch/xtensa/variants/fsf/include/variant/core.h | 3 +-
321 crypto/scatterwalk.c | 10 +-
322 drivers/acpi/acpica/hwxfsleep.c | 11 +-
323 drivers/acpi/custom_method.c | 4 +
324 drivers/block/cciss.h | 30 +-
325 drivers/block/smart1,2.h | 40 +-
326 drivers/cdrom/cdrom.c | 2 +-
327 drivers/char/Kconfig | 4 +-
328 drivers/char/genrtc.c | 1 +
329 drivers/char/mem.c | 17 +
330 drivers/char/random.c | 5 +-
331 drivers/cpufreq/sparc-us3-cpufreq.c | 2 -
332 drivers/firewire/ohci.c | 4 +
333 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 80 +-
334 .../drm/amd/powerplay/hwmgr/cz_clockpowergating.c | 12 +-
335 drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c | 58 +-
336 drivers/gpu/drm/amd/powerplay/hwmgr/fiji_thermal.c | 20 +-
337 .../gpu/drm/amd/powerplay/hwmgr/tonga_thermal.c | 20 +-
338 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 7 +-
339 drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c | 9 +-
340 drivers/gpu/drm/nouveau/nouveau_ttm.c | 28 +-
341 drivers/gpu/drm/sti/sti_cursor.c | 6 +-
342 drivers/gpu/drm/sti/sti_dvo.c | 6 +-
343 drivers/gpu/drm/sti/sti_gdp.c | 6 +-
344 drivers/gpu/drm/sti/sti_hda.c | 6 +-
345 drivers/gpu/drm/sti/sti_hdmi.c | 6 +-
346 drivers/gpu/drm/sti/sti_hqvdp.c | 6 +-
347 drivers/gpu/drm/sti/sti_mixer.c | 6 +-
348 drivers/gpu/drm/sti/sti_tvout.c | 6 +-
349 drivers/gpu/drm/sti/sti_vid.c | 6 +-
350 drivers/gpu/drm/tilcdc/tilcdc_external.c | 2 +-
351 drivers/gpu/drm/ttm/ttm_bo_manager.c | 10 +-
352 drivers/gpu/drm/virtio/virtgpu_ttm.c | 10 +-
353 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c | 10 +-
354 drivers/hid/hid-wiimote-debug.c | 2 +-
355 drivers/hid/usbhid/hiddev.c | 10 +-
356 drivers/infiniband/hw/i40iw/i40iw_ctrl.c | 160 +-
357 drivers/infiniband/hw/i40iw/i40iw_uk.c | 34 +-
358 drivers/infiniband/hw/nes/nes_cm.c | 22 +-
359 drivers/iommu/Kconfig | 1 +
360 drivers/iommu/amd_iommu.c | 14 +-
361 drivers/irqchip/irq-mmp.c | 2 +-
362 drivers/isdn/gigaset/bas-gigaset.c | 32 +-
363 drivers/isdn/gigaset/ser-gigaset.c | 32 +-
364 drivers/isdn/gigaset/usb-gigaset.c | 34 +-
365 drivers/isdn/i4l/isdn_concap.c | 6 +-
366 drivers/isdn/i4l/isdn_x25iface.c | 16 +-
367 drivers/md/bcache/Kconfig | 1 +
368 drivers/md/raid5.c | 8 +
369 drivers/media/pci/solo6x10/solo6x10-g723.c | 2 +-
370 drivers/media/platform/sti/c8sectpfe/Kconfig | 1 +
371 drivers/media/radio/radio-cadet.c | 5 +-
372 drivers/media/usb/dvb-usb/cinergyT2-core.c | 91 +-
373 drivers/media/usb/dvb-usb/cinergyT2-fe.c | 182 +-
374 drivers/media/usb/dvb-usb/dvb-usb-firmware.c | 37 +-
375 drivers/media/usb/dvb-usb/technisat-usb2.c | 23 +-
376 drivers/message/fusion/mptbase.c | 9 +
377 drivers/misc/sgi-xp/xp_main.c | 12 +-
378 drivers/mtd/nand/brcmnand/bcm63138_nand.c | 6 +-
379 drivers/mtd/nand/brcmnand/iproc_nand.c | 8 +-
380 drivers/net/ethernet/brocade/bna/bna_enet.c | 8 +-
381 drivers/net/wan/lmc/lmc_media.c | 97 +-
382 drivers/net/wan/z85230.c | 24 +-
383 drivers/net/wireless/ath/ath9k/Kconfig | 1 -
384 drivers/net/wireless/zydas/zd1211rw/zd_usb.c | 2 +-
385 drivers/pci/proc.c | 9 +
386 drivers/platform/x86/asus-wmi.c | 12 +
387 drivers/rtc/rtc-dev.c | 3 +
388 drivers/scsi/bfa/bfa_fcs.c | 19 +-
389 drivers/scsi/bfa/bfa_fcs_lport.c | 29 +-
390 drivers/scsi/bfa/bfa_modules.h | 12 +-
391 drivers/scsi/hpsa.h | 40 +-
392 drivers/staging/lustre/lnet/libcfs/module.c | 10 +-
393 drivers/staging/lustre/lustre/ldlm/ldlm_flock.c | 2 +-
394 drivers/staging/wilc1000/host_interface.h | 1 +
395 drivers/staging/wilc1000/wilc_spi.c | 1 +
396 drivers/tty/serial/uartlite.c | 4 +-
397 drivers/tty/sysrq.c | 2 +-
398 drivers/tty/tty_io.c | 4 +
399 drivers/tty/vt/keyboard.c | 22 +-
400 drivers/uio/uio.c | 6 +-
401 drivers/usb/core/devio.c | 9 +-
402 drivers/usb/core/hub.c | 5 +
403 drivers/usb/gadget/function/f_uac1.c | 1 +
404 drivers/usb/gadget/function/u_uac1.c | 1 +
405 drivers/usb/host/hwa-hc.c | 9 +-
406 drivers/usb/usbip/vhci_sysfs.c | 2 +-
407 drivers/video/fbdev/arcfb.c | 2 +-
408 drivers/video/fbdev/matrox/matroxfb_DAC1064.c | 10 +-
409 drivers/video/fbdev/matrox/matroxfb_Ti3026.c | 5 +-
410 drivers/video/fbdev/sh_mobile_lcdcfb.c | 6 +-
411 drivers/video/logo/logo_linux_clut224.ppm | 2720 ++++----
412 drivers/xen/xenfs/xenstored.c | 5 +
413 firmware/Makefile | 2 +
414 firmware/WHENCE | 20 +-
415 firmware/bnx2/bnx2-mips-06-6.2.3.fw.ihex | 5804 +++++++++++++++++
416 firmware/bnx2/bnx2-mips-09-6.2.1b.fw.ihex | 6496 ++++++++++++++++++++
417 fs/attr.c | 4 +
418 fs/autofs4/waitq.c | 9 +
419 fs/binfmt_aout.c | 7 +
420 fs/binfmt_elf.c | 40 +-
421 fs/compat.c | 20 +-
422 fs/coredump.c | 17 +-
423 fs/dcache.c | 3 +
424 fs/debugfs/inode.c | 19 +-
425 fs/exec.c | 249 +-
426 fs/ext2/balloc.c | 4 +-
427 fs/ext2/super.c | 8 +-
428 fs/ext4/balloc.c | 4 +-
429 fs/ext4/extents.c | 2 +-
430 fs/fcntl.c | 4 +
431 fs/fhandle.c | 3 +-
432 fs/file.c | 4 +
433 fs/filesystems.c | 4 +
434 fs/fs_struct.c | 20 +-
435 fs/hugetlbfs/inode.c | 5 +-
436 fs/inode.c | 8 +-
437 fs/kernfs/dir.c | 6 +
438 fs/mount.h | 4 +-
439 fs/namei.c | 292 +-
440 fs/namespace.c | 24 +
441 fs/nfsd/nfs2acl.c | 20 +-
442 fs/nfsd/nfs3acl.c | 16 +-
443 fs/nfsd/nfs4acl.c | 16 +-
444 fs/nfsd/nfscache.c | 2 +-
445 fs/open.c | 38 +
446 fs/overlayfs/inode.c | 3 +
447 fs/overlayfs/super.c | 6 +-
448 fs/pipe.c | 2 +-
449 fs/posix_acl.c | 61 +-
450 fs/proc/Kconfig | 10 +-
451 fs/proc/array.c | 67 +-
452 fs/proc/base.c | 193 +-
453 fs/proc/cmdline.c | 4 +
454 fs/proc/devices.c | 4 +
455 fs/proc/fd.c | 13 +-
456 fs/proc/generic.c | 64 +
457 fs/proc/inode.c | 17 +
458 fs/proc/internal.h | 18 +-
459 fs/proc/interrupts.c | 4 +
460 fs/proc/kcore.c | 3 +
461 fs/proc/proc_net.c | 31 +
462 fs/proc/proc_sysctl.c | 52 +-
463 fs/proc/root.c | 8 +
464 fs/proc/stat.c | 69 +-
465 fs/proc/task_mmu.c | 85 +-
466 fs/proc/task_nommu.c | 2 +-
467 fs/readdir.c | 19 +
468 fs/reiserfs/item_ops.c | 24 +-
469 fs/reiserfs/super.c | 4 +
470 fs/select.c | 2 +
471 fs/seq_file.c | 31 +-
472 fs/stat.c | 20 +-
473 fs/sysfs/dir.c | 30 +-
474 fs/utimes.c | 7 +
475 fs/xattr.c | 26 +-
476 fs/xfs/xfs_icache.c | 60 +-
477 fs/xfs/xfs_inode.c | 13 +
478 grsecurity/Kconfig | 1205 ++++
479 grsecurity/Makefile | 54 +
480 grsecurity/gracl.c | 2757 +++++++++
481 grsecurity/gracl_alloc.c | 105 +
482 grsecurity/gracl_cap.c | 127 +
483 grsecurity/gracl_compat.c | 269 +
484 grsecurity/gracl_fs.c | 448 ++
485 grsecurity/gracl_ip.c | 387 ++
486 grsecurity/gracl_learn.c | 207 +
487 grsecurity/gracl_policy.c | 1784 ++++++
488 grsecurity/gracl_res.c | 68 +
489 grsecurity/gracl_segv.c | 306 +
490 grsecurity/gracl_shm.c | 40 +
491 grsecurity/grsec_chdir.c | 19 +
492 grsecurity/grsec_chroot.c | 506 ++
493 grsecurity/grsec_disabled.c | 445 ++
494 grsecurity/grsec_exec.c | 189 +
495 grsecurity/grsec_fifo.c | 26 +
496 grsecurity/grsec_fork.c | 23 +
497 grsecurity/grsec_init.c | 294 +
498 grsecurity/grsec_ipc.c | 48 +
499 grsecurity/grsec_link.c | 65 +
500 grsecurity/grsec_log.c | 340 +
501 grsecurity/grsec_mem.c | 48 +
502 grsecurity/grsec_mount.c | 65 +
503 grsecurity/grsec_pax.c | 47 +
504 grsecurity/grsec_proc.c | 20 +
505 grsecurity/grsec_ptrace.c | 30 +
506 grsecurity/grsec_sig.c | 248 +
507 grsecurity/grsec_sock.c | 244 +
508 grsecurity/grsec_sysctl.c | 497 ++
509 grsecurity/grsec_time.c | 16 +
510 grsecurity/grsec_tpe.c | 78 +
511 grsecurity/grsec_tty.c | 18 +
512 grsecurity/grsec_usb.c | 15 +
513 grsecurity/grsum.c | 56 +
514 include/drm/drm_modeset_helper_vtables.h | 1 +
515 include/linux/binfmts.h | 5 +-
516 include/linux/capability.h | 13 +
517 include/linux/compiler-gcc.h | 5 +
518 include/linux/compiler.h | 8 +
519 include/linux/cred.h | 8 +-
520 include/linux/dcache.h | 5 +-
521 include/linux/fs.h | 24 +-
522 include/linux/fs_struct.h | 2 +-
523 include/linux/fsnotify.h | 6 +
524 include/linux/gracl.h | 342 ++
525 include/linux/gracl_compat.h | 156 +
526 include/linux/gralloc.h | 9 +
527 include/linux/grdefs.h | 140 +
528 include/linux/grinternal.h | 231 +
529 include/linux/grmsg.h | 120 +
530 include/linux/grsecurity.h | 259 +
531 include/linux/grsock.h | 19 +
532 include/linux/ipc.h | 2 +-
533 include/linux/ipc_namespace.h | 2 +-
534 include/linux/kallsyms.h | 18 +-
535 include/linux/key-type.h | 4 +-
536 include/linux/kmod.h | 5 +
537 include/linux/kobject.h | 2 +-
538 include/linux/lsm_hooks.h | 4 +-
539 include/linux/mm.h | 12 +
540 include/linux/mm_types.h | 4 +-
541 include/linux/module.h | 5 +-
542 include/linux/mount.h | 2 +-
543 include/linux/msg.h | 2 +-
544 include/linux/netfilter/xt_gradm.h | 9 +
545 include/linux/path.h | 4 +-
546 include/linux/perf_event.h | 13 +-
547 include/linux/pid_namespace.h | 2 +-
548 include/linux/printk.h | 2 +-
549 include/linux/proc_fs.h | 22 +-
550 include/linux/proc_ns.h | 2 +-
551 include/linux/random.h | 2 +-
552 include/linux/rbtree_augmented.h | 4 +-
553 include/linux/scatterlist.h | 12 +-
554 include/linux/sched.h | 135 +-
555 include/linux/security.h | 1 +
556 include/linux/sem.h | 2 +-
557 include/linux/seq_file.h | 5 +
558 include/linux/shm.h | 6 +-
559 include/linux/skbuff.h | 3 +
560 include/linux/slab.h | 9 -
561 include/linux/sysctl.h | 8 +-
562 include/linux/thread_info.h | 6 +-
563 include/linux/tty.h | 2 +-
564 include/linux/tty_driver.h | 4 +-
565 include/linux/uidgid.h | 6 +
566 include/linux/user_namespace.h | 2 +-
567 include/linux/utsname.h | 2 +-
568 include/linux/vermagic.h | 16 +-
569 include/linux/vmalloc.h | 8 +
570 include/net/af_unix.h | 2 +-
571 include/net/ip.h | 2 +-
572 include/net/neighbour.h | 2 +-
573 include/net/net_namespace.h | 2 +-
574 include/net/sock.h | 2 +-
575 include/trace/events/fs.h | 53 +
576 include/uapi/linux/personality.h | 1 +
577 init/Kconfig | 5 +-
578 init/main.c | 46 +-
579 ipc/mqueue.c | 1 +
580 ipc/msg.c | 3 +-
581 ipc/msgutil.c | 4 +-
582 ipc/sem.c | 3 +-
583 ipc/shm.c | 26 +-
584 ipc/util.c | 6 +
585 kernel/auditsc.c | 2 +-
586 kernel/bpf/syscall.c | 10 +-
587 kernel/capability.c | 41 +-
588 kernel/cgroup.c | 5 +-
589 kernel/compat.c | 1 +
590 kernel/configs.c | 11 +
591 kernel/cred.c | 112 +-
592 kernel/events/core.c | 14 +-
593 kernel/exit.c | 10 +-
594 kernel/fork.c | 92 +-
595 kernel/futex.c | 4 +-
596 kernel/kallsyms.c | 9 +
597 kernel/kcmp.c | 4 +
598 kernel/kexec_core.c | 2 +-
599 kernel/kmod.c | 96 +-
600 kernel/kprobes.c | 9 +-
601 kernel/ksysfs.c | 2 +
602 kernel/locking/lockdep_proc.c | 10 +-
603 kernel/module.c | 108 +-
604 kernel/panic.c | 6 +-
605 kernel/pid.c | 18 +-
606 kernel/power/Kconfig | 2 +
607 kernel/printk/printk.c | 7 +-
608 kernel/ptrace.c | 50 +-
609 kernel/resource.c | 10 +
610 kernel/sched/core.c | 9 +-
611 kernel/sched/debug.c | 4 +
612 kernel/signal.c | 37 +-
613 kernel/sys.c | 64 +-
614 kernel/sysctl.c | 174 +-
615 kernel/taskstats.c | 6 +
616 kernel/time/posix-timers.c | 8 +
617 kernel/time/time.c | 5 +
618 kernel/time/timekeeping.c | 3 +
619 kernel/time/timer_list.c | 13 +-
620 kernel/time/timer_stats.c | 10 +-
621 kernel/trace/Kconfig | 6 +
622 kernel/trace/trace_syscalls.c | 8 +
623 kernel/user_namespace.c | 15 +
624 lib/Kconfig.debug | 13 +-
625 lib/is_single_threaded.c | 3 +
626 lib/list_debug.c | 65 +-
627 lib/nlattr.c | 2 +
628 lib/rbtree.c | 4 +-
629 lib/vsprintf.c | 39 +-
630 localversion-grsec | 1 +
631 mm/Kconfig | 8 +-
632 mm/Kconfig.debug | 1 +
633 mm/filemap.c | 1 +
634 mm/kmemleak.c | 4 +-
635 mm/memory.c | 2 +-
636 mm/mempolicy.c | 12 +-
637 mm/migrate.c | 3 +-
638 mm/mlock.c | 11 +-
639 mm/mmap.c | 124 +-
640 mm/mprotect.c | 8 +
641 mm/page_alloc.c | 2 +-
642 mm/percpu.c | 73 +-
643 mm/process_vm_access.c | 6 +
644 mm/shmem.c | 2 +-
645 mm/slab.c | 14 +-
646 mm/slab_common.c | 2 +-
647 mm/slob.c | 12 +
648 mm/slub.c | 33 +-
649 mm/util.c | 3 +
650 mm/vmalloc.c | 84 +-
651 mm/vmstat.c | 29 +-
652 net/appletalk/atalk_proc.c | 2 +-
653 net/atm/lec.c | 6 +-
654 net/atm/mpoa_caches.c | 43 +-
655 net/can/bcm.c | 2 +-
656 net/can/proc.c | 2 +-
657 net/core/dev_ioctl.c | 7 +-
658 net/core/filter.c | 8 +-
659 net/core/net-procfs.c | 17 +-
660 net/core/pktgen.c | 2 +-
661 net/core/sock.c | 23 +-
662 net/core/sysctl_net_core.c | 2 +-
663 net/decnet/dn_dev.c | 2 +-
664 net/ipv4/devinet.c | 6 +-
665 net/ipv4/inet_hashtables.c | 6 +
666 net/ipv4/ip_input.c | 7 +
667 net/ipv4/ip_sockglue.c | 3 +-
668 net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 +-
669 net/ipv4/route.c | 6 +-
670 net/ipv4/tcp_input.c | 6 +-
671 net/ipv4/tcp_ipv4.c | 24 +-
672 net/ipv4/tcp_minisocks.c | 9 +-
673 net/ipv4/tcp_timer.c | 11 +
674 net/ipv4/udp.c | 24 +
675 net/ipv6/addrconf.c | 13 +-
676 net/ipv6/proc.c | 2 +-
677 net/ipv6/tcp_ipv6.c | 23 +-
678 net/ipv6/udp.c | 7 +
679 net/ipx/ipx_proc.c | 2 +-
680 net/irda/irproc.c | 2 +-
681 net/llc/llc_proc.c | 2 +-
682 net/netfilter/Kconfig | 10 +
683 net/netfilter/Makefile | 1 +
684 net/netfilter/xt_gradm.c | 51 +
685 net/netfilter/xt_hashlimit.c | 4 +-
686 net/netfilter/xt_recent.c | 2 +-
687 net/socket.c | 75 +-
688 net/sunrpc/Kconfig | 1 +
689 net/sunrpc/cache.c | 2 +-
690 net/sunrpc/stats.c | 2 +-
691 net/sysctl_net.c | 2 +-
692 net/unix/af_unix.c | 52 +-
693 net/vmw_vsock/vmci_transport_notify.c | 30 +-
694 net/vmw_vsock/vmci_transport_notify_qstate.c | 30 +-
695 net/x25/sysctl_net_x25.c | 2 +-
696 net/x25/x25_proc.c | 2 +-
697 scripts/Makefile.gcc-plugins | 5 +
698 scripts/gcc-plugins/.gitignore | 1 +
699 scripts/gcc-plugins/Makefile | 10 +
700 scripts/gcc-plugins/gen-random-seed.sh | 8 +
701 scripts/gcc-plugins/randomize_layout_plugin.c | 940 +++
702 .../size_overflow_plugin/size_overflow_hash.data | 724 ++-
703 scripts/package/Makefile | 2 +-
704 scripts/package/mkspec | 41 +-
705 security/Kconfig | 364 +-
706 security/apparmor/file.c | 4 +-
707 security/apparmor/lsm.c | 8 +-
708 security/commoncap.c | 29 +
709 security/keys/internal.h | 2 +-
710 security/keys/key.c | 2 +-
711 security/min_addr.c | 2 +
712 security/tomoyo/file.c | 12 +-
713 security/tomoyo/mount.c | 4 +
714 security/tomoyo/tomoyo.c | 20 +-
715 security/yama/Kconfig | 2 +-
716 sound/synth/emux/emux_seq.c | 14 +-
717 sound/usb/line6/driver.c | 40 +-
718 sound/usb/line6/toneport.c | 12 +-
719 521 files changed, 33285 insertions(+), 3355 deletions(-)
720
721 commit 96b2aa21ce8de62dfa0ee023b2cd20928f5021a1
722 Author: Brad Spengler <spender@grsecurity.net>
723 Date: Sat Jul 2 09:03:17 2016 -0400
724
725 Initial commit of pax-linux-4.6.3-test9.patch
726
727 .gitignore | 1 +
728 Documentation/dontdiff | 46 +-
729 Documentation/kbuild/makefiles.txt | 39 +-
730 Documentation/kernel-parameters.txt | 28 +
731 Makefile | 20 +-
732 arch/Kconfig | 14 +
733 arch/alpha/include/asm/atomic.h | 10 +
734 arch/alpha/include/asm/elf.h | 7 +
735 arch/alpha/include/asm/pgalloc.h | 6 +
736 arch/alpha/include/asm/pgtable.h | 11 +
737 arch/alpha/kernel/module.c | 2 +-
738 arch/alpha/kernel/osf_sys.c | 8 +-
739 arch/alpha/mm/fault.c | 141 +-
740 arch/arm/Kconfig | 6 +-
741 arch/arm/boot/compressed/Makefile | 2 +
742 arch/arm/include/asm/atomic.h | 323 +-
743 arch/arm/include/asm/cache.h | 4 +-
744 arch/arm/include/asm/cacheflush.h | 2 +-
745 arch/arm/include/asm/checksum.h | 14 +-
746 arch/arm/include/asm/cmpxchg.h | 4 +
747 arch/arm/include/asm/cpuidle.h | 2 +-
748 arch/arm/include/asm/domain.h | 42 +-
749 arch/arm/include/asm/elf.h | 9 +-
750 arch/arm/include/asm/fncpy.h | 2 +
751 arch/arm/include/asm/futex.h | 1 +
752 arch/arm/include/asm/kmap_types.h | 2 +-
753 arch/arm/include/asm/mach/dma.h | 2 +-
754 arch/arm/include/asm/mach/map.h | 16 +-
755 arch/arm/include/asm/outercache.h | 2 +-
756 arch/arm/include/asm/page.h | 3 +-
757 arch/arm/include/asm/pgalloc.h | 20 +
758 arch/arm/include/asm/pgtable-2level-hwdef.h | 4 +-
759 arch/arm/include/asm/pgtable-2level.h | 3 +
760 arch/arm/include/asm/pgtable-3level.h | 3 +
761 arch/arm/include/asm/pgtable.h | 54 +-
762 arch/arm/include/asm/smp.h | 2 +-
763 arch/arm/include/asm/string.h | 10 +-
764 arch/arm/include/asm/thread_info.h | 3 +
765 arch/arm/include/asm/tls.h | 3 +
766 arch/arm/include/asm/uaccess.h | 113 +-
767 arch/arm/include/uapi/asm/ptrace.h | 2 +-
768 arch/arm/kernel/armksyms.c | 2 +-
769 arch/arm/kernel/cpuidle.c | 2 +-
770 arch/arm/kernel/entry-armv.S | 109 +-
771 arch/arm/kernel/entry-common.S | 40 +-
772 arch/arm/kernel/entry-header.S | 55 +
773 arch/arm/kernel/fiq.c | 3 +
774 arch/arm/kernel/module-plts.c | 7 +-
775 arch/arm/kernel/module.c | 38 +-
776 arch/arm/kernel/patch.c | 2 +
777 arch/arm/kernel/process.c | 86 +-
778 arch/arm/kernel/reboot.c | 1 +
779 arch/arm/kernel/setup.c | 20 +-
780 arch/arm/kernel/signal.c | 35 +-
781 arch/arm/kernel/smp.c | 2 +-
782 arch/arm/kernel/tcm.c | 4 +-
783 arch/arm/kernel/vmlinux.lds.S | 6 +-
784 arch/arm/kvm/arm.c | 8 +-
785 arch/arm/lib/copy_page.S | 1 +
786 arch/arm/lib/csumpartialcopyuser.S | 4 +-
787 arch/arm/lib/delay.c | 2 +-
788 arch/arm/lib/uaccess_with_memcpy.c | 4 +-
789 arch/arm/mach-exynos/suspend.c | 6 +-
790 arch/arm/mach-mvebu/coherency.c | 4 +-
791 arch/arm/mach-omap2/board-n8x0.c | 2 +-
792 arch/arm/mach-omap2/omap-mpuss-lowpower.c | 4 +-
793 arch/arm/mach-omap2/omap-smp.c | 1 +
794 arch/arm/mach-omap2/omap_device.c | 4 +-
795 arch/arm/mach-omap2/omap_device.h | 4 +-
796 arch/arm/mach-omap2/omap_hwmod.c | 4 +-
797 arch/arm/mach-omap2/powerdomains43xx_data.c | 5 +-
798 arch/arm/mach-omap2/wd_timer.c | 6 +-
799 arch/arm/mach-shmobile/platsmp-apmu.c | 5 +-
800 arch/arm/mach-tegra/cpuidle-tegra20.c | 2 +-
801 arch/arm/mach-tegra/irq.c | 1 +
802 arch/arm/mach-ux500/pm.c | 1 +
803 arch/arm/mach-zynq/platsmp.c | 1 +
804 arch/arm/mm/Kconfig | 6 +-
805 arch/arm/mm/cache-l2x0.c | 2 +-
806 arch/arm/mm/context.c | 10 +-
807 arch/arm/mm/fault.c | 160 +
808 arch/arm/mm/fault.h | 12 +
809 arch/arm/mm/init.c | 39 +
810 arch/arm/mm/ioremap.c | 4 +-
811 arch/arm/mm/mmap.c | 36 +-
812 arch/arm/mm/mmu.c | 162 +-
813 arch/arm/net/bpf_jit_32.c | 3 +
814 arch/arm/plat-iop/setup.c | 2 +-
815 arch/arm/plat-omap/sram.c | 2 +
816 arch/arm64/Kconfig | 1 +
817 arch/arm64/include/asm/atomic.h | 10 +
818 arch/arm64/include/asm/percpu.h | 8 +-
819 arch/arm64/include/asm/pgalloc.h | 5 +
820 arch/arm64/include/asm/string.h | 22 +-
821 arch/arm64/include/asm/uaccess.h | 1 +
822 arch/arm64/mm/dma-mapping.c | 2 +-
823 arch/avr32/include/asm/elf.h | 8 +-
824 arch/avr32/include/asm/kmap_types.h | 4 +-
825 arch/avr32/mm/fault.c | 27 +
826 arch/frv/include/asm/atomic.h | 10 +
827 arch/frv/include/asm/kmap_types.h | 2 +-
828 arch/frv/mm/elf-fdpic.c | 3 +-
829 arch/ia64/Makefile | 1 +
830 arch/ia64/include/asm/atomic.h | 10 +
831 arch/ia64/include/asm/elf.h | 7 +
832 arch/ia64/include/asm/pgalloc.h | 12 +
833 arch/ia64/include/asm/pgtable.h | 13 +-
834 arch/ia64/include/asm/spinlock.h | 2 +-
835 arch/ia64/include/asm/uaccess.h | 27 +-
836 arch/ia64/kernel/module.c | 20 +-
837 arch/ia64/kernel/palinfo.c | 2 +-
838 arch/ia64/kernel/sys_ia64.c | 7 +
839 arch/ia64/kernel/vmlinux.lds.S | 2 +-
840 arch/ia64/mm/fault.c | 32 +-
841 arch/ia64/mm/init.c | 15 +-
842 arch/m32r/lib/usercopy.c | 6 +
843 arch/mips/Kconfig | 1 +
844 arch/mips/cavium-octeon/dma-octeon.c | 2 +-
845 arch/mips/include/asm/atomic.h | 372 +-
846 arch/mips/include/asm/cache.h | 3 +-
847 arch/mips/include/asm/elf.h | 7 +
848 arch/mips/include/asm/exec.h | 2 +-
849 arch/mips/include/asm/hw_irq.h | 2 +-
850 arch/mips/include/asm/local.h | 57 +
851 arch/mips/include/asm/page.h | 2 +-
852 arch/mips/include/asm/pgalloc.h | 5 +
853 arch/mips/include/asm/pgtable.h | 3 +
854 arch/mips/include/asm/uaccess.h | 1 +
855 arch/mips/kernel/binfmt_elfn32.c | 7 +
856 arch/mips/kernel/binfmt_elfo32.c | 7 +
857 arch/mips/kernel/irq-gt641xx.c | 2 +-
858 arch/mips/kernel/irq.c | 6 +-
859 arch/mips/kernel/pm-cps.c | 2 +-
860 arch/mips/kernel/process.c | 12 -
861 arch/mips/kernel/sync-r4k.c | 24 +-
862 arch/mips/kernel/traps.c | 13 +-
863 arch/mips/lib/ashldi3.c | 21 +-
864 arch/mips/lib/ashrdi3.c | 19 +-
865 arch/mips/lib/libgcc.h | 12 +-
866 arch/mips/mm/fault.c | 25 +
867 arch/mips/mm/init.c | 4 +-
868 arch/mips/mm/mmap.c | 24 +-
869 arch/mips/sgi-ip27/ip27-nmi.c | 6 +-
870 arch/mips/sni/rm200.c | 2 +-
871 arch/mips/vr41xx/common/icu.c | 2 +-
872 arch/mips/vr41xx/common/irq.c | 4 +-
873 arch/parisc/include/asm/atomic.h | 10 +
874 arch/parisc/include/asm/elf.h | 7 +
875 arch/parisc/include/asm/pgalloc.h | 6 +
876 arch/parisc/include/asm/pgtable.h | 11 +
877 arch/parisc/include/asm/uaccess.h | 4 +-
878 arch/parisc/kernel/module.c | 26 +-
879 arch/parisc/kernel/sys_parisc.c | 15 +
880 arch/parisc/kernel/traps.c | 4 +-
881 arch/parisc/mm/fault.c | 140 +-
882 arch/powerpc/Kconfig | 1 +
883 arch/powerpc/include/asm/atomic.h | 317 +-
884 arch/powerpc/include/asm/book3s/32/hash.h | 1 +
885 arch/powerpc/include/asm/elf.h | 12 +
886 arch/powerpc/include/asm/exec.h | 2 +-
887 arch/powerpc/include/asm/kmap_types.h | 2 +-
888 arch/powerpc/include/asm/local.h | 46 +
889 arch/powerpc/include/asm/mman.h | 2 +-
890 arch/powerpc/include/asm/page.h | 8 +-
891 arch/powerpc/include/asm/page_64.h | 7 +-
892 arch/powerpc/include/asm/pgalloc-64.h | 11 +
893 arch/powerpc/include/asm/pgtable.h | 1 +
894 arch/powerpc/include/asm/reg.h | 1 +
895 arch/powerpc/include/asm/smp.h | 2 +-
896 arch/powerpc/include/asm/spinlock.h | 42 +-
897 arch/powerpc/include/asm/string.h | 18 +-
898 arch/powerpc/include/asm/uaccess.h | 141 +-
899 arch/powerpc/kernel/Makefile | 5 +
900 arch/powerpc/kernel/exceptions-64e.S | 4 +-
901 arch/powerpc/kernel/exceptions-64s.S | 2 +-
902 arch/powerpc/kernel/module_32.c | 15 +-
903 arch/powerpc/kernel/process.c | 7 -
904 arch/powerpc/kernel/signal_32.c | 2 +-
905 arch/powerpc/kernel/signal_64.c | 2 +-
906 arch/powerpc/kernel/traps.c | 21 +
907 arch/powerpc/kernel/vdso.c | 5 +-
908 arch/powerpc/lib/usercopy_64.c | 18 -
909 arch/powerpc/mm/fault.c | 56 +-
910 arch/powerpc/mm/mmap.c | 16 +
911 arch/powerpc/mm/slice.c | 21 +-
912 arch/powerpc/platforms/cell/spufs/file.c | 4 +-
913 arch/s390/include/asm/atomic.h | 10 +
914 arch/s390/include/asm/elf.h | 7 +
915 arch/s390/include/asm/exec.h | 2 +-
916 arch/s390/include/asm/uaccess.h | 13 +-
917 arch/s390/kernel/module.c | 22 +-
918 arch/s390/kernel/process.c | 7 -
919 arch/s390/mm/mmap.c | 22 +-
920 arch/score/include/asm/exec.h | 2 +-
921 arch/score/kernel/process.c | 5 -
922 arch/sh/mm/mmap.c | 28 +-
923 arch/sparc/Kconfig | 1 +
924 arch/sparc/include/asm/atomic_64.h | 110 +-
925 arch/sparc/include/asm/cache.h | 2 +-
926 arch/sparc/include/asm/elf_32.h | 7 +
927 arch/sparc/include/asm/elf_64.h | 7 +
928 arch/sparc/include/asm/pgalloc_32.h | 1 +
929 arch/sparc/include/asm/pgalloc_64.h | 1 +
930 arch/sparc/include/asm/pgtable.h | 4 +
931 arch/sparc/include/asm/pgtable_32.h | 15 +-
932 arch/sparc/include/asm/pgtsrmmu.h | 5 +
933 arch/sparc/include/asm/setup.h | 4 +-
934 arch/sparc/include/asm/spinlock_64.h | 35 +-
935 arch/sparc/include/asm/thread_info_32.h | 1 +
936 arch/sparc/include/asm/thread_info_64.h | 2 +
937 arch/sparc/include/asm/uaccess.h | 1 +
938 arch/sparc/include/asm/uaccess_32.h | 28 +-
939 arch/sparc/include/asm/uaccess_64.h | 24 +-
940 arch/sparc/kernel/Makefile | 2 +-
941 arch/sparc/kernel/prom_common.c | 2 +-
942 arch/sparc/kernel/smp_64.c | 8 +-
943 arch/sparc/kernel/sys_sparc_32.c | 2 +-
944 arch/sparc/kernel/sys_sparc_64.c | 58 +-
945 arch/sparc/kernel/traps_64.c | 27 +-
946 arch/sparc/lib/Makefile | 2 +-
947 arch/sparc/lib/atomic_64.S | 57 +-
948 arch/sparc/lib/ksyms.c | 6 +-
949 arch/sparc/mm/Makefile | 2 +-
950 arch/sparc/mm/fault_32.c | 292 +
951 arch/sparc/mm/fault_64.c | 486 +
952 arch/sparc/mm/hugetlbpage.c | 30 +-
953 arch/sparc/mm/init_64.c | 10 +-
954 arch/tile/include/asm/atomic_64.h | 10 +
955 arch/tile/include/asm/uaccess.h | 4 +-
956 arch/um/Makefile | 2 +
957 arch/um/include/asm/kmap_types.h | 2 +-
958 arch/um/include/asm/page.h | 3 +
959 arch/um/include/asm/pgtable-3level.h | 1 +
960 arch/um/kernel/process.c | 16 -
961 arch/x86/Kconfig | 33 +-
962 arch/x86/Kconfig.cpu | 6 +-
963 arch/x86/Kconfig.debug | 3 +-
964 arch/x86/Makefile | 13 +-
965 arch/x86/boot/bitops.h | 4 +-
966 arch/x86/boot/boot.h | 2 +-
967 arch/x86/boot/compressed/Makefile | 17 +
968 arch/x86/boot/compressed/efi_stub_32.S | 16 +-
969 arch/x86/boot/compressed/efi_thunk_64.S | 4 +-
970 arch/x86/boot/compressed/head_32.S | 4 +-
971 arch/x86/boot/compressed/head_64.S | 12 +-
972 arch/x86/boot/compressed/misc.c | 11 +-
973 arch/x86/boot/cpucheck.c | 16 +-
974 arch/x86/boot/header.S | 6 +-
975 arch/x86/boot/memory.c | 2 +-
976 arch/x86/boot/video-vesa.c | 1 +
977 arch/x86/boot/video.c | 2 +-
978 arch/x86/crypto/aes-x86_64-asm_64.S | 4 +
979 arch/x86/crypto/aesni-intel_asm.S | 116 +-
980 arch/x86/crypto/aesni-intel_glue.c | 4 +-
981 arch/x86/crypto/blowfish-x86_64-asm_64.S | 11 +-
982 arch/x86/crypto/camellia-aesni-avx-asm_64.S | 22 +-
983 arch/x86/crypto/camellia-aesni-avx2-asm_64.S | 22 +-
984 arch/x86/crypto/camellia-x86_64-asm_64.S | 11 +-
985 arch/x86/crypto/camellia_aesni_avx2_glue.c | 18 +-
986 arch/x86/crypto/camellia_aesni_avx_glue.c | 18 +-
987 arch/x86/crypto/camellia_glue.c | 8 +-
988 arch/x86/crypto/cast5-avx-x86_64-asm_64.S | 55 +-
989 arch/x86/crypto/cast6-avx-x86_64-asm_64.S | 37 +-
990 arch/x86/crypto/cast6_avx_glue.c | 16 +-
991 arch/x86/crypto/crc32c-pcl-intel-asm_64.S | 2 +
992 arch/x86/crypto/ghash-clmulni-intel_asm.S | 4 +
993 arch/x86/crypto/glue_helper.c | 2 +-
994 arch/x86/crypto/salsa20-x86_64-asm_64.S | 4 +
995 arch/x86/crypto/serpent-avx-x86_64-asm_64.S | 21 +-
996 arch/x86/crypto/serpent-avx2-asm_64.S | 21 +-
997 arch/x86/crypto/serpent-sse2-x86_64-asm_64.S | 4 +
998 arch/x86/crypto/serpent_avx2_glue.c | 14 +-
999 arch/x86/crypto/serpent_avx_glue.c | 18 +-
1000 arch/x86/crypto/serpent_sse2_glue.c | 4 +-
1001 arch/x86/crypto/sha-mb/sha1_mb_mgr_flush_avx2.S | 4 +-
1002 arch/x86/crypto/sha-mb/sha1_mb_mgr_submit_avx2.S | 2 +-
1003 arch/x86/crypto/sha1_ssse3_asm.S | 13 +-
1004 arch/x86/crypto/sha1_ssse3_glue.c | 56 +-
1005 arch/x86/crypto/sha256-avx-asm.S | 5 +-
1006 arch/x86/crypto/sha256-avx2-asm.S | 5 +-
1007 arch/x86/crypto/sha256-ssse3-asm.S | 6 +-
1008 arch/x86/crypto/sha256_ni_asm.S | 2 +-
1009 arch/x86/crypto/sha256_ssse3_glue.c | 26 +-
1010 arch/x86/crypto/sha512-avx-asm.S | 5 +-
1011 arch/x86/crypto/sha512-avx2-asm.S | 5 +-
1012 arch/x86/crypto/sha512-ssse3-asm.S | 5 +-
1013 arch/x86/crypto/sha512_ssse3_glue.c | 22 +-
1014 arch/x86/crypto/twofish-avx-x86_64-asm_64.S | 37 +-
1015 arch/x86/crypto/twofish-i586-asm_32.S | 4 +-
1016 arch/x86/crypto/twofish-x86_64-asm_64-3way.S | 6 +-
1017 arch/x86/crypto/twofish-x86_64-asm_64.S | 7 +-
1018 arch/x86/crypto/twofish_avx_glue.c | 21 +-
1019 arch/x86/crypto/twofish_glue.c | 4 +-
1020 arch/x86/crypto/twofish_glue_3way.c | 12 +-
1021 arch/x86/entry/Makefile | 2 +
1022 arch/x86/entry/calling.h | 86 +-
1023 arch/x86/entry/common.c | 89 +-
1024 arch/x86/entry/entry_32.S | 330 +-
1025 arch/x86/entry/entry_64.S | 600 +-
1026 arch/x86/entry/entry_64_compat.S | 115 +-
1027 arch/x86/entry/thunk_64.S | 2 +
1028 arch/x86/entry/vdso/Makefile | 5 +-
1029 arch/x86/entry/vdso/vclock_gettime.c | 2 +-
1030 arch/x86/entry/vdso/vdso2c.h | 4 +-
1031 arch/x86/entry/vdso/vma.c | 42 +-
1032 arch/x86/entry/vsyscall/vsyscall_64.c | 20 +-
1033 arch/x86/entry/vsyscall/vsyscall_emu_64.S | 2 +-
1034 arch/x86/events/amd/iommu.c | 8 +-
1035 arch/x86/events/core.c | 8 +-
1036 arch/x86/events/intel/bts.c | 6 +-
1037 arch/x86/events/intel/core.c | 34 +-
1038 arch/x86/events/intel/cqm.c | 14 +-
1039 arch/x86/events/intel/cstate.c | 6 +-
1040 arch/x86/events/intel/ds.c | 7 +-
1041 arch/x86/events/intel/lbr.c | 4 +-
1042 arch/x86/events/intel/pt.c | 44 +-
1043 arch/x86/events/intel/rapl.c | 8 +-
1044 arch/x86/events/intel/uncore.c | 6 +-
1045 arch/x86/events/intel/uncore.h | 14 +-
1046 arch/x86/events/perf_event.h | 2 +-
1047 arch/x86/ia32/ia32_signal.c | 23 +-
1048 arch/x86/ia32/sys_ia32.c | 42 +-
1049 arch/x86/include/asm/alternative-asm.h | 43 +-
1050 arch/x86/include/asm/alternative.h | 4 +-
1051 arch/x86/include/asm/apic.h | 2 +-
1052 arch/x86/include/asm/apm.h | 4 +-
1053 arch/x86/include/asm/atomic.h | 230 +-
1054 arch/x86/include/asm/atomic64_32.h | 119 +
1055 arch/x86/include/asm/atomic64_64.h | 169 +-
1056 arch/x86/include/asm/bitops.h | 18 +-
1057 arch/x86/include/asm/boot.h | 2 +-
1058 arch/x86/include/asm/cache.h | 4 +-
1059 arch/x86/include/asm/checksum_32.h | 12 +-
1060 arch/x86/include/asm/cmpxchg.h | 39 +
1061 arch/x86/include/asm/compat.h | 4 +
1062 arch/x86/include/asm/cpufeature.h | 2 +-
1063 arch/x86/include/asm/cpufeatures.h | 5 +-
1064 arch/x86/include/asm/crypto/camellia.h | 30 +-
1065 arch/x86/include/asm/crypto/glue_helper.h | 10 +-
1066 arch/x86/include/asm/crypto/serpent-avx.h | 18 +-
1067 arch/x86/include/asm/crypto/serpent-sse2.h | 8 +-
1068 arch/x86/include/asm/crypto/twofish.h | 10 +-
1069 arch/x86/include/asm/desc.h | 78 +-
1070 arch/x86/include/asm/desc_defs.h | 6 +
1071 arch/x86/include/asm/div64.h | 2 +-
1072 arch/x86/include/asm/dma.h | 2 +
1073 arch/x86/include/asm/elf.h | 33 +-
1074 arch/x86/include/asm/emergency-restart.h | 2 +-
1075 arch/x86/include/asm/fixmap.h | 2 +-
1076 arch/x86/include/asm/fpu/internal.h | 38 +-
1077 arch/x86/include/asm/fpu/types.h | 5 +-
1078 arch/x86/include/asm/futex.h | 14 +-
1079 arch/x86/include/asm/hw_irq.h | 4 +-
1080 arch/x86/include/asm/hypervisor.h | 2 +-
1081 arch/x86/include/asm/i8259.h | 2 +-
1082 arch/x86/include/asm/io.h | 22 +-
1083 arch/x86/include/asm/irqflags.h | 5 +
1084 arch/x86/include/asm/kprobes.h | 9 +-
1085 arch/x86/include/asm/kvm_emulate.h | 7 +-
1086 arch/x86/include/asm/local.h | 106 +-
1087 arch/x86/include/asm/mman.h | 15 +
1088 arch/x86/include/asm/mmu.h | 14 +-
1089 arch/x86/include/asm/mmu_context.h | 133 +-
1090 arch/x86/include/asm/module.h | 23 +-
1091 arch/x86/include/asm/nmi.h | 19 +-
1092 arch/x86/include/asm/page.h | 1 +
1093 arch/x86/include/asm/page_32.h | 12 +-
1094 arch/x86/include/asm/page_64.h | 14 +-
1095 arch/x86/include/asm/paravirt.h | 46 +-
1096 arch/x86/include/asm/paravirt_types.h | 13 +-
1097 arch/x86/include/asm/pgalloc.h | 23 +
1098 arch/x86/include/asm/pgtable-2level.h | 2 +
1099 arch/x86/include/asm/pgtable-3level.h | 7 +
1100 arch/x86/include/asm/pgtable.h | 126 +-
1101 arch/x86/include/asm/pgtable_32.h | 14 +-
1102 arch/x86/include/asm/pgtable_32_types.h | 24 +-
1103 arch/x86/include/asm/pgtable_64.h | 23 +-
1104 arch/x86/include/asm/pgtable_64_types.h | 5 +
1105 arch/x86/include/asm/pgtable_types.h | 27 +-
1106 arch/x86/include/asm/pmem.h | 2 +-
1107 arch/x86/include/asm/preempt.h | 2 +-
1108 arch/x86/include/asm/processor.h | 57 +-
1109 arch/x86/include/asm/ptrace.h | 15 +-
1110 arch/x86/include/asm/realmode.h | 4 +-
1111 arch/x86/include/asm/reboot.h | 10 +-
1112 arch/x86/include/asm/rmwcc.h | 84 +-
1113 arch/x86/include/asm/rwsem.h | 60 +-
1114 arch/x86/include/asm/segment.h | 27 +-
1115 arch/x86/include/asm/smap.h | 43 +
1116 arch/x86/include/asm/smp.h | 14 +-
1117 arch/x86/include/asm/stackprotector.h | 4 +-
1118 arch/x86/include/asm/stacktrace.h | 34 +-
1119 arch/x86/include/asm/string_32.h | 20 +-
1120 arch/x86/include/asm/string_64.h | 16 +-
1121 arch/x86/include/asm/switch_to.h | 4 +-
1122 arch/x86/include/asm/sys_ia32.h | 6 +-
1123 arch/x86/include/asm/thread_info.h | 54 +-
1124 arch/x86/include/asm/tlbflush.h | 77 +-
1125 arch/x86/include/asm/traps.h | 4 +-
1126 arch/x86/include/asm/uaccess.h | 210 +-
1127 arch/x86/include/asm/uaccess_32.h | 28 +-
1128 arch/x86/include/asm/uaccess_64.h | 169 +-
1129 arch/x86/include/asm/word-at-a-time.h | 2 +-
1130 arch/x86/include/asm/x86_init.h | 10 +-
1131 arch/x86/include/asm/xen/page.h | 2 +-
1132 arch/x86/include/uapi/asm/e820.h | 2 +-
1133 arch/x86/kernel/Makefile | 2 +-
1134 arch/x86/kernel/acpi/boot.c | 4 +-
1135 arch/x86/kernel/acpi/sleep.c | 4 +
1136 arch/x86/kernel/acpi/wakeup_32.S | 6 +-
1137 arch/x86/kernel/alternative.c | 124 +-
1138 arch/x86/kernel/apic/apic.c | 4 +-
1139 arch/x86/kernel/apic/apic_flat_64.c | 6 +-
1140 arch/x86/kernel/apic/apic_noop.c | 2 +-
1141 arch/x86/kernel/apic/bigsmp_32.c | 2 +-
1142 arch/x86/kernel/apic/io_apic.c | 10 +-
1143 arch/x86/kernel/apic/msi.c | 2 +-
1144 arch/x86/kernel/apic/probe_32.c | 4 +-
1145 arch/x86/kernel/apic/vector.c | 2 +
1146 arch/x86/kernel/apic/x2apic_cluster.c | 2 +-
1147 arch/x86/kernel/apic/x2apic_phys.c | 2 +-
1148 arch/x86/kernel/apic/x2apic_uv_x.c | 2 +-
1149 arch/x86/kernel/apm_32.c | 21 +-
1150 arch/x86/kernel/asm-offsets.c | 22 +
1151 arch/x86/kernel/cpu/Makefile | 4 -
1152 arch/x86/kernel/cpu/amd.c | 2 +-
1153 arch/x86/kernel/cpu/bugs_64.c | 2 +
1154 arch/x86/kernel/cpu/common.c | 202 +-
1155 arch/x86/kernel/cpu/intel_cacheinfo.c | 14 +-
1156 arch/x86/kernel/cpu/mcheck/mce.c | 34 +-
1157 arch/x86/kernel/cpu/mcheck/p5.c | 3 +
1158 arch/x86/kernel/cpu/mcheck/winchip.c | 3 +
1159 arch/x86/kernel/cpu/microcode/intel.c | 4 +-
1160 arch/x86/kernel/cpu/mshyperv.c | 2 +-
1161 arch/x86/kernel/cpu/mtrr/generic.c | 6 +-
1162 arch/x86/kernel/cpu/mtrr/main.c | 2 +-
1163 arch/x86/kernel/cpu/mtrr/mtrr.h | 2 +-
1164 arch/x86/kernel/cpu/vmware.c | 2 +-
1165 arch/x86/kernel/crash_dump_64.c | 2 +-
1166 arch/x86/kernel/doublefault.c | 8 +-
1167 arch/x86/kernel/dumpstack.c | 24 +-
1168 arch/x86/kernel/dumpstack_32.c | 25 +-
1169 arch/x86/kernel/dumpstack_64.c | 72 +-
1170 arch/x86/kernel/e820.c | 4 +-
1171 arch/x86/kernel/early_printk.c | 1 +
1172 arch/x86/kernel/espfix_64.c | 44 +-
1173 arch/x86/kernel/fpu/core.c | 30 +-
1174 arch/x86/kernel/fpu/init.c | 49 +-
1175 arch/x86/kernel/fpu/regset.c | 22 +-
1176 arch/x86/kernel/fpu/signal.c | 20 +-
1177 arch/x86/kernel/fpu/xstate.c | 12 +-
1178 arch/x86/kernel/ftrace.c | 18 +-
1179 arch/x86/kernel/head64.c | 14 +-
1180 arch/x86/kernel/head_32.S | 240 +-
1181 arch/x86/kernel/head_64.S | 182 +-
1182 arch/x86/kernel/i386_ksyms_32.c | 12 +
1183 arch/x86/kernel/i8259.c | 10 +-
1184 arch/x86/kernel/io_delay.c | 2 +-
1185 arch/x86/kernel/ioport.c | 2 +-
1186 arch/x86/kernel/irq.c | 8 +-
1187 arch/x86/kernel/irq_32.c | 45 +-
1188 arch/x86/kernel/jump_label.c | 10 +-
1189 arch/x86/kernel/kgdb.c | 21 +-
1190 arch/x86/kernel/kprobes/core.c | 28 +-
1191 arch/x86/kernel/kprobes/opt.c | 16 +-
1192 arch/x86/kernel/ksysfs.c | 2 +-
1193 arch/x86/kernel/kvm.c | 2 +-
1194 arch/x86/kernel/kvmclock.c | 20 +-
1195 arch/x86/kernel/ldt.c | 25 +
1196 arch/x86/kernel/livepatch.c | 9 +-
1197 arch/x86/kernel/machine_kexec_32.c | 6 +-
1198 arch/x86/kernel/mcount_64.S | 21 +-
1199 arch/x86/kernel/module.c | 78 +-
1200 arch/x86/kernel/msr.c | 2 +-
1201 arch/x86/kernel/nmi.c | 34 +-
1202 arch/x86/kernel/nmi_selftest.c | 4 +-
1203 arch/x86/kernel/paravirt-spinlocks.c | 24 +-
1204 arch/x86/kernel/paravirt.c | 133 +-
1205 arch/x86/kernel/paravirt_patch_64.c | 8 +
1206 arch/x86/kernel/pci-calgary_64.c | 2 +-
1207 arch/x86/kernel/pci-iommu_table.c | 2 +-
1208 arch/x86/kernel/pci-swiotlb.c | 2 +-
1209 arch/x86/kernel/process.c | 80 +-
1210 arch/x86/kernel/process_32.c | 29 +-
1211 arch/x86/kernel/process_64.c | 14 +-
1212 arch/x86/kernel/ptrace.c | 20 +-
1213 arch/x86/kernel/pvclock.c | 8 +-
1214 arch/x86/kernel/reboot.c | 44 +-
1215 arch/x86/kernel/reboot_fixups_32.c | 2 +-
1216 arch/x86/kernel/relocate_kernel_64.S | 3 +-
1217 arch/x86/kernel/setup.c | 29 +-
1218 arch/x86/kernel/setup_percpu.c | 29 +-
1219 arch/x86/kernel/signal.c | 17 +-
1220 arch/x86/kernel/smp.c | 2 +-
1221 arch/x86/kernel/smpboot.c | 29 +-
1222 arch/x86/kernel/step.c | 6 +-
1223 arch/x86/kernel/sys_i386_32.c | 184 +
1224 arch/x86/kernel/sys_x86_64.c | 28 +-
1225 arch/x86/kernel/tboot.c | 22 +-
1226 arch/x86/kernel/time.c | 8 +-
1227 arch/x86/kernel/tls.c | 7 +-
1228 arch/x86/kernel/tracepoint.c | 4 +-
1229 arch/x86/kernel/traps.c | 66 +-
1230 arch/x86/kernel/tsc.c | 2 +-
1231 arch/x86/kernel/uprobes.c | 4 +-
1232 arch/x86/kernel/vm86_32.c | 6 +-
1233 arch/x86/kernel/vmlinux.lds.S | 144 +-
1234 arch/x86/kernel/x8664_ksyms_64.c | 6 +-
1235 arch/x86/kernel/x86_init.c | 6 +-
1236 arch/x86/kvm/cpuid.c | 21 +-
1237 arch/x86/kvm/emulate.c | 20 +-
1238 arch/x86/kvm/i8259.c | 10 +-
1239 arch/x86/kvm/ioapic.c | 2 +
1240 arch/x86/kvm/lapic.c | 2 +-
1241 arch/x86/kvm/paging_tmpl.h | 2 +-
1242 arch/x86/kvm/svm.c | 10 +-
1243 arch/x86/kvm/vmx.c | 60 +-
1244 arch/x86/kvm/x86.c | 44 +-
1245 arch/x86/lguest/boot.c | 3 +-
1246 arch/x86/lib/atomic64_386_32.S | 164 +
1247 arch/x86/lib/atomic64_cx8_32.S | 98 +-
1248 arch/x86/lib/checksum_32.S | 99 +-
1249 arch/x86/lib/clear_page_64.S | 3 +
1250 arch/x86/lib/cmpxchg16b_emu.S | 3 +
1251 arch/x86/lib/copy_page_64.S | 14 +-
1252 arch/x86/lib/copy_user_64.S | 66 +-
1253 arch/x86/lib/csum-copy_64.S | 14 +-
1254 arch/x86/lib/csum-wrappers_64.c | 8 +-
1255 arch/x86/lib/getuser.S | 74 +-
1256 arch/x86/lib/insn.c | 8 +-
1257 arch/x86/lib/iomap_copy_64.S | 2 +
1258 arch/x86/lib/memcpy_64.S | 6 +
1259 arch/x86/lib/memmove_64.S | 3 +-
1260 arch/x86/lib/memset_64.S | 3 +
1261 arch/x86/lib/mmx_32.c | 243 +-
1262 arch/x86/lib/msr-reg.S | 2 +
1263 arch/x86/lib/putuser.S | 87 +-
1264 arch/x86/lib/rwsem.S | 4 +
1265 arch/x86/lib/usercopy_32.c | 359 +-
1266 arch/x86/lib/usercopy_64.c | 22 +-
1267 arch/x86/math-emu/fpu_aux.c | 2 +-
1268 arch/x86/math-emu/fpu_entry.c | 4 +-
1269 arch/x86/math-emu/fpu_etc.c | 9 +-
1270 arch/x86/math-emu/fpu_system.h | 2 +-
1271 arch/x86/math-emu/fpu_trig.c | 13 +-
1272 arch/x86/math-emu/reg_constant.c | 7 +-
1273 arch/x86/mm/Makefile | 3 +
1274 arch/x86/mm/extable.c | 20 +-
1275 arch/x86/mm/fault.c | 573 +-
1276 arch/x86/mm/gup.c | 6 +-
1277 arch/x86/mm/highmem_32.c | 6 +
1278 arch/x86/mm/hugetlbpage.c | 24 +-
1279 arch/x86/mm/init.c | 19 +-
1280 arch/x86/mm/init_32.c | 157 +-
1281 arch/x86/mm/init_64.c | 100 +-
1282 arch/x86/mm/iomap_32.c | 4 +
1283 arch/x86/mm/ioremap.c | 52 +-
1284 arch/x86/mm/kmemcheck/kmemcheck.c | 4 +-
1285 arch/x86/mm/mmap.c | 46 +-
1286 arch/x86/mm/mmio-mod.c | 10 +-
1287 arch/x86/mm/mpx.c | 6 +-
1288 arch/x86/mm/numa.c | 2 +-
1289 arch/x86/mm/pageattr.c | 36 +-
1290 arch/x86/mm/pat.c | 12 +-
1291 arch/x86/mm/pat_rbtree.c | 2 +-
1292 arch/x86/mm/pf_in.c | 10 +-
1293 arch/x86/mm/pgtable.c | 211 +-
1294 arch/x86/mm/pgtable_32.c | 3 +
1295 arch/x86/mm/setup_nx.c | 7 +
1296 arch/x86/mm/tlb.c | 4 +
1297 arch/x86/mm/uderef_64.c | 37 +
1298 arch/x86/net/bpf_jit.S | 11 +
1299 arch/x86/net/bpf_jit_comp.c | 13 +-
1300 arch/x86/oprofile/backtrace.c | 6 +-
1301 arch/x86/oprofile/nmi_int.c | 10 +-
1302 arch/x86/oprofile/op_model_amd.c | 8 +-
1303 arch/x86/oprofile/op_model_ppro.c | 7 +-
1304 arch/x86/oprofile/op_x86_model.h | 2 +-
1305 arch/x86/pci/intel_mid_pci.c | 2 +-
1306 arch/x86/pci/irq.c | 8 +-
1307 arch/x86/pci/pcbios.c | 112 +-
1308 arch/x86/pci/vmd.c | 4 +-
1309 arch/x86/platform/efi/efi_32.c | 24 +
1310 arch/x86/platform/efi/efi_64.c | 26 +-
1311 arch/x86/platform/efi/efi_stub_32.S | 64 +-
1312 arch/x86/platform/efi/efi_stub_64.S | 2 +
1313 arch/x86/platform/intel-mid/intel-mid.c | 5 +-
1314 arch/x86/platform/intel-mid/intel_mid_weak_decls.h | 6 +-
1315 arch/x86/platform/intel-mid/mfld.c | 4 +-
1316 arch/x86/platform/intel-mid/mrfl.c | 2 +-
1317 arch/x86/platform/intel-quark/imr_selftest.c | 2 +-
1318 arch/x86/platform/olpc/olpc_dt.c | 2 +-
1319 arch/x86/power/cpu.c | 11 +-
1320 arch/x86/realmode/init.c | 10 +-
1321 arch/x86/realmode/rm/header.S | 4 +-
1322 arch/x86/realmode/rm/reboot.S | 4 +
1323 arch/x86/realmode/rm/trampoline_32.S | 12 +-
1324 arch/x86/realmode/rm/trampoline_64.S | 3 +-
1325 arch/x86/realmode/rm/wakeup_asm.S | 5 +-
1326 arch/x86/tools/Makefile | 2 +-
1327 arch/x86/tools/relocs.c | 97 +-
1328 arch/x86/um/mem_32.c | 2 +-
1329 arch/x86/um/tls_32.c | 2 +-
1330 arch/x86/xen/enlighten.c | 52 +-
1331 arch/x86/xen/mmu.c | 31 +-
1332 arch/x86/xen/smp.c | 16 +-
1333 arch/x86/xen/xen-asm_32.S | 2 +-
1334 arch/x86/xen/xen-head.S | 12 +
1335 arch/x86/xen/xen-ops.h | 2 -
1336 block/bio.c | 4 +-
1337 block/blk-cgroup.c | 18 +-
1338 block/blk-map.c | 2 +-
1339 block/blk-softirq.c | 2 +-
1340 block/bsg.c | 12 +-
1341 block/cfq-iosched.c | 4 +-
1342 block/compat_ioctl.c | 4 +-
1343 block/genhd.c | 9 +-
1344 block/partitions/efi.c | 8 +-
1345 block/scsi_ioctl.c | 29 +-
1346 crypto/cast6_generic.c | 6 +-
1347 crypto/cryptd.c | 4 +-
1348 crypto/crypto_user.c | 2 +-
1349 crypto/pcrypt.c | 2 +-
1350 crypto/salsa20_generic.c | 16 +-
1351 crypto/serpent_generic.c | 6 +-
1352 drivers/acpi/ac.c | 2 +-
1353 drivers/acpi/acpi_video.c | 2 +-
1354 drivers/acpi/apei/apei-internal.h | 2 +-
1355 drivers/acpi/apei/ghes.c | 10 +-
1356 drivers/acpi/battery.c | 2 +-
1357 drivers/acpi/bgrt.c | 6 +-
1358 drivers/acpi/blacklist.c | 4 +-
1359 drivers/acpi/bus.c | 4 +-
1360 drivers/acpi/device_pm.c | 4 +-
1361 drivers/acpi/ec.c | 6 +-
1362 drivers/acpi/pci_slot.c | 2 +-
1363 drivers/acpi/processor_idle.c | 2 +-
1364 drivers/acpi/processor_pdc.c | 2 +-
1365 drivers/acpi/sleep.c | 2 +-
1366 drivers/acpi/sysfs.c | 14 +-
1367 drivers/acpi/thermal.c | 2 +-
1368 drivers/acpi/video_detect.c | 7 +-
1369 drivers/android/binder.c | 2 +-
1370 drivers/ata/libata-core.c | 12 +-
1371 drivers/ata/libata-scsi.c | 2 +-
1372 drivers/ata/libata.h | 2 +-
1373 drivers/ata/pata_arasan_cf.c | 4 +-
1374 drivers/atm/adummy.c | 2 +-
1375 drivers/atm/ambassador.c | 8 +-
1376 drivers/atm/atmtcp.c | 14 +-
1377 drivers/atm/eni.c | 10 +-
1378 drivers/atm/firestream.c | 8 +-
1379 drivers/atm/fore200e.c | 14 +-
1380 drivers/atm/he.c | 18 +-
1381 drivers/atm/horizon.c | 4 +-
1382 drivers/atm/idt77252.c | 36 +-
1383 drivers/atm/iphase.c | 34 +-
1384 drivers/atm/lanai.c | 12 +-
1385 drivers/atm/nicstar.c | 46 +-
1386 drivers/atm/solos-pci.c | 4 +-
1387 drivers/atm/suni.c | 4 +-
1388 drivers/atm/uPD98402.c | 16 +-
1389 drivers/atm/zatm.c | 6 +-
1390 drivers/base/bus.c | 4 +-
1391 drivers/base/devres.c | 4 +-
1392 drivers/base/devtmpfs.c | 8 +-
1393 drivers/base/node.c | 2 +-
1394 drivers/base/platform-msi.c | 20 +-
1395 drivers/base/power/domain.c | 6 +-
1396 drivers/base/power/runtime.c | 61 +-
1397 drivers/base/power/sysfs.c | 2 +-
1398 drivers/base/power/wakeup.c | 8 +-
1399 drivers/base/regmap/regmap-debugfs.c | 4 +-
1400 drivers/base/regmap/regmap.c | 4 +-
1401 drivers/base/syscore.c | 4 +-
1402 drivers/block/cciss.c | 28 +-
1403 drivers/block/cciss.h | 2 +-
1404 drivers/block/drbd/drbd_bitmap.c | 2 +-
1405 drivers/block/drbd/drbd_int.h | 8 +-
1406 drivers/block/drbd/drbd_main.c | 12 +-
1407 drivers/block/drbd/drbd_nl.c | 16 +-
1408 drivers/block/drbd/drbd_receiver.c | 38 +-
1409 drivers/block/drbd/drbd_state.c | 12 +-
1410 drivers/block/drbd/drbd_state.h | 2 +-
1411 drivers/block/drbd/drbd_state_change.h | 8 +-
1412 drivers/block/drbd/drbd_worker.c | 14 +-
1413 drivers/block/floppy.c | 8 +-
1414 drivers/block/pktcdvd.c | 4 +-
1415 drivers/block/rbd.c | 2 +-
1416 drivers/bluetooth/btwilink.c | 2 +-
1417 drivers/bus/arm-cci.c | 6 +-
1418 drivers/cdrom/cdrom.c | 11 +-
1419 drivers/cdrom/gdrom.c | 1 -
1420 drivers/char/agp/compat_ioctl.c | 2 +-
1421 drivers/char/agp/frontend.c | 4 +-
1422 drivers/char/agp/intel-gtt.c | 4 +-
1423 drivers/char/hpet.c | 2 +-
1424 drivers/char/ipmi/ipmi_msghandler.c | 8 +-
1425 drivers/char/ipmi/ipmi_poweroff.c | 2 +-
1426 drivers/char/ipmi/ipmi_si_intf.c | 12 +-
1427 drivers/char/ipmi/ipmi_ssif.c | 12 +-
1428 drivers/char/mem.c | 47 +-
1429 drivers/char/nvram.c | 2 +-
1430 drivers/char/pcmcia/synclink_cs.c | 16 +-
1431 drivers/char/random.c | 12 +-
1432 drivers/char/sonypi.c | 11 +-
1433 drivers/char/tpm/tpm-chip.c | 7 +-
1434 drivers/char/tpm/tpm_acpi.c | 3 +-
1435 drivers/char/tpm/tpm_eventlog.c | 5 +-
1436 drivers/char/virtio_console.c | 6 +-
1437 drivers/clk/clk-composite.c | 2 +-
1438 drivers/clk/samsung/clk.h | 2 +-
1439 drivers/clk/socfpga/clk-gate-a10.c | 9 +-
1440 drivers/clk/socfpga/clk-gate.c | 9 +-
1441 drivers/clk/socfpga/clk-pll-a10.c | 9 +-
1442 drivers/clk/socfpga/clk-pll.c | 9 +-
1443 drivers/clk/ti/adpll.c | 2 +-
1444 drivers/clk/ti/clk.c | 8 +-
1445 drivers/cpufreq/acpi-cpufreq.c | 17 +-
1446 drivers/cpufreq/cpufreq-dt.c | 4 +-
1447 drivers/cpufreq/cpufreq.c | 27 +-
1448 drivers/cpufreq/cpufreq_governor.h | 2 +-
1449 drivers/cpufreq/cpufreq_ondemand.c | 10 +-
1450 drivers/cpufreq/intel_pstate.c | 56 +-
1451 drivers/cpufreq/p4-clockmod.c | 12 +-
1452 drivers/cpufreq/sparc-us3-cpufreq.c | 67 +-
1453 drivers/cpufreq/speedstep-centrino.c | 7 +-
1454 drivers/cpuidle/driver.c | 2 +-
1455 drivers/cpuidle/dt_idle_states.c | 2 +-
1456 drivers/cpuidle/governor.c | 2 +-
1457 drivers/cpuidle/governors/ladder.c | 13 +-
1458 drivers/cpuidle/sysfs.c | 2 +-
1459 drivers/crypto/hifn_795x.c | 4 +-
1460 drivers/crypto/qat/qat_common/adf_aer.c | 2 +-
1461 drivers/crypto/qat/qat_common/adf_sriov.c | 4 +-
1462 drivers/crypto/qat/qat_common/adf_vf_isr.c | 6 +-
1463 drivers/devfreq/devfreq.c | 4 +-
1464 drivers/dma-buf/dma-buf.c | 5 +-
1465 drivers/dma/qcom/hidma_mgmt_sys.c | 2 +-
1466 drivers/dma/sh/shdma-base.c | 4 +-
1467 drivers/dma/sh/shdmac.c | 2 +-
1468 drivers/edac/edac_device.c | 4 +-
1469 drivers/edac/edac_device_sysfs.c | 2 +-
1470 drivers/edac/edac_mc_sysfs.c | 4 +-
1471 drivers/edac/edac_module.c | 2 +-
1472 drivers/edac/edac_pci.c | 4 +-
1473 drivers/edac/edac_pci_sysfs.c | 22 +-
1474 drivers/edac/mce_amd.h | 2 +-
1475 drivers/firewire/core-card.c | 6 +-
1476 drivers/firewire/core-cdev.c | 4 +-
1477 drivers/firewire/core-device.c | 2 +-
1478 drivers/firewire/core-iso.c | 2 +-
1479 drivers/firewire/core-transaction.c | 1 +
1480 drivers/firewire/core.h | 1 +
1481 drivers/firmware/dmi-id.c | 9 +-
1482 drivers/firmware/dmi_scan.c | 12 +-
1483 drivers/firmware/efi/cper.c | 8 +-
1484 drivers/firmware/efi/efi.c | 14 +-
1485 drivers/firmware/efi/efivars.c | 2 +-
1486 drivers/firmware/efi/runtime-map.c | 2 +-
1487 drivers/firmware/google/gsmi.c | 2 +-
1488 drivers/firmware/google/memconsole.c | 7 +-
1489 drivers/firmware/memmap.c | 2 +-
1490 drivers/firmware/psci.c | 2 +-
1491 drivers/gpio/gpio-davinci.c | 6 +-
1492 drivers/gpio/gpio-em.c | 2 +-
1493 drivers/gpio/gpio-ich.c | 2 +-
1494 drivers/gpio/gpio-mpc8xxx.c | 6 +-
1495 drivers/gpio/gpio-omap.c | 4 +-
1496 drivers/gpio/gpio-rcar.c | 2 +-
1497 drivers/gpio/gpio-vr41xx.c | 2 +-
1498 drivers/gpio/gpiolib.c | 12 +-
1499 drivers/gpu/drm/amd/amdgpu/amdgpu.h | 4 +-
1500 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | 2 +-
1501 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c | 8 +-
1502 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-
1503 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 18 +-
1504 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +-
1505 drivers/gpu/drm/amd/amdgpu/fiji_smc.c | 4 +-
1506 drivers/gpu/drm/amd/amdgpu/iceland_smc.c | 4 +-
1507 drivers/gpu/drm/amd/amdgpu/tonga_smc.c | 4 +-
1508 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 2 +-
1509 drivers/gpu/drm/amd/amdkfd/kfd_device.c | 6 +-
1510 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 90 +-
1511 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 8 +-
1512 .../drm/amd/amdkfd/kfd_device_queue_manager_cik.c | 14 +-
1513 .../drm/amd/amdkfd/kfd_device_queue_manager_vi.c | 14 +-
1514 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c | 4 +-
1515 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 2 +-
1516 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.h | 2 +-
1517 .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 16 +-
1518 drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 2 +-
1519 drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | 2 +-
1520 drivers/gpu/drm/amd/scheduler/sched_fence.c | 2 +-
1521 drivers/gpu/drm/armada/armada_drv.c | 3 +-
1522 drivers/gpu/drm/ast/ast_mode.c | 2 +-
1523 drivers/gpu/drm/bochs/bochs_kms.c | 2 +-
1524 drivers/gpu/drm/drm_crtc.c | 2 +-
1525 drivers/gpu/drm/drm_drv.c | 2 +-
1526 drivers/gpu/drm/drm_fops.c | 19 +-
1527 drivers/gpu/drm/drm_global.c | 14 +-
1528 drivers/gpu/drm/drm_info.c | 13 +-
1529 drivers/gpu/drm/drm_ioc32.c | 13 +-
1530 drivers/gpu/drm/drm_ioctl.c | 2 +-
1531 drivers/gpu/drm/drm_pci.c | 9 +-
1532 drivers/gpu/drm/exynos/exynos_drm_drv.c | 1 -
1533 drivers/gpu/drm/exynos/exynos_drm_g2d.c | 5 +
1534 drivers/gpu/drm/gma500/cdv_intel_crt.c | 2 +-
1535 drivers/gpu/drm/gma500/cdv_intel_dp.c | 2 +-
1536 drivers/gpu/drm/gma500/cdv_intel_hdmi.c | 2 +-
1537 drivers/gpu/drm/gma500/cdv_intel_lvds.c | 2 +-
1538 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 3 +
1539 drivers/gpu/drm/gma500/mdfld_dsi_output.c | 2 +-
1540 drivers/gpu/drm/gma500/oaktrail_hdmi.c | 2 +-
1541 drivers/gpu/drm/gma500/psb_drv.c | 1 -
1542 drivers/gpu/drm/gma500/psb_intel_drv.h | 2 +-
1543 drivers/gpu/drm/gma500/psb_intel_lvds.c | 2 +-
1544 drivers/gpu/drm/gma500/psb_intel_sdvo.c | 2 +-
1545 drivers/gpu/drm/i2c/tda998x_drv.c | 2 +-
1546 drivers/gpu/drm/i810/i810_dma.c | 2 +-
1547 drivers/gpu/drm/i810/i810_drv.c | 6 +-
1548 drivers/gpu/drm/i810/i810_drv.h | 6 +-
1549 drivers/gpu/drm/i915/dvo.h | 2 +-
1550 drivers/gpu/drm/i915/i915_dma.c | 4 +-
1551 drivers/gpu/drm/i915/i915_drv.c | 7 +-
1552 drivers/gpu/drm/i915/i915_drv.h | 2 +-
1553 drivers/gpu/drm/i915/i915_gem_execbuffer.c | 4 +-
1554 drivers/gpu/drm/i915/i915_gem_gtt.c | 16 +-
1555 drivers/gpu/drm/i915/i915_gem_gtt.h | 6 +-
1556 drivers/gpu/drm/i915/i915_ioc32.c | 10 +-
1557 drivers/gpu/drm/i915/i915_irq.c | 88 +-
1558 drivers/gpu/drm/i915/intel_display.c | 30 +-
1559 drivers/gpu/drm/imx/imx-drm-core.c | 2 +-
1560 drivers/gpu/drm/mga/mga_drv.c | 5 +-
1561 drivers/gpu/drm/mga/mga_drv.h | 6 +-
1562 drivers/gpu/drm/mga/mga_ioc32.c | 10 +-
1563 drivers/gpu/drm/mga/mga_irq.c | 8 +-
1564 drivers/gpu/drm/mga/mga_state.c | 2 +-
1565 drivers/gpu/drm/mgag200/mgag200_mode.c | 2 +-
1566 drivers/gpu/drm/nouveau/nouveau_acpi.c | 2 +-
1567 drivers/gpu/drm/nouveau/nouveau_bios.c | 2 +-
1568 drivers/gpu/drm/nouveau/nouveau_connector.c | 2 +-
1569 drivers/gpu/drm/nouveau/nouveau_drm.c | 13 +-
1570 drivers/gpu/drm/nouveau/nouveau_drm.h | 1 -
1571 drivers/gpu/drm/nouveau/nouveau_ioc32.c | 2 +-
1572 drivers/gpu/drm/nouveau/nouveau_usif.c | 7 +-
1573 drivers/gpu/drm/nouveau/nouveau_vga.c | 2 +-
1574 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c | 7 +-
1575 .../gpu/drm/nouveau/nvkm/subdev/bios/shadowpci.c | 7 +-
1576 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/priv.h | 4 +-
1577 drivers/gpu/drm/omapdrm/dss/display.c | 8 +-
1578 drivers/gpu/drm/qxl/qxl_cmd.c | 12 +-
1579 drivers/gpu/drm/qxl/qxl_debugfs.c | 8 +-
1580 drivers/gpu/drm/qxl/qxl_display.c | 2 +-
1581 drivers/gpu/drm/qxl/qxl_drv.c | 8 +-
1582 drivers/gpu/drm/qxl/qxl_drv.h | 8 +-
1583 drivers/gpu/drm/qxl/qxl_ioctl.c | 12 +-
1584 drivers/gpu/drm/qxl/qxl_irq.c | 16 +-
1585 drivers/gpu/drm/qxl/qxl_ttm.c | 38 +-
1586 drivers/gpu/drm/r128/r128_cce.c | 2 +-
1587 drivers/gpu/drm/r128/r128_drv.c | 4 +-
1588 drivers/gpu/drm/r128/r128_drv.h | 6 +-
1589 drivers/gpu/drm/r128/r128_ioc32.c | 10 +-
1590 drivers/gpu/drm/r128/r128_irq.c | 4 +-
1591 drivers/gpu/drm/r128/r128_state.c | 6 +-
1592 drivers/gpu/drm/radeon/mkregtable.c | 4 +-
1593 drivers/gpu/drm/radeon/radeon_atpx_handler.c | 2 +-
1594 drivers/gpu/drm/radeon/radeon_connectors.c | 10 +-
1595 drivers/gpu/drm/radeon/radeon_device.c | 2 +-
1596 drivers/gpu/drm/radeon/radeon_drv.c | 11 +-
1597 drivers/gpu/drm/radeon/radeon_ioc32.c | 12 +-
1598 drivers/gpu/drm/radeon/radeon_kms.c | 8 +-
1599 drivers/gpu/drm/radeon/radeon_ttm.c | 4 +-
1600 drivers/gpu/drm/savage/savage_bci.c | 2 +-
1601 drivers/gpu/drm/savage/savage_drv.c | 5 +-
1602 drivers/gpu/drm/savage/savage_drv.h | 2 +-
1603 drivers/gpu/drm/sis/sis_drv.c | 5 +-
1604 drivers/gpu/drm/sis/sis_drv.h | 2 +-
1605 drivers/gpu/drm/sis/sis_mm.c | 2 +-
1606 drivers/gpu/drm/tegra/dc.c | 2 +-
1607 drivers/gpu/drm/tegra/dsi.c | 2 +-
1608 drivers/gpu/drm/tegra/hdmi.c | 2 +-
1609 drivers/gpu/drm/tegra/sor.c | 7 +-
1610 drivers/gpu/drm/tilcdc/Makefile | 6 +-
1611 drivers/gpu/drm/ttm/ttm_memory.c | 4 +-
1612 drivers/gpu/drm/ttm/ttm_page_alloc.c | 18 +-
1613 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 18 +-
1614 drivers/gpu/drm/udl/udl_connector.c | 2 +-
1615 drivers/gpu/drm/udl/udl_fb.c | 1 -
1616 drivers/gpu/drm/vc4/vc4_drv.c | 8 +-
1617 drivers/gpu/drm/via/via_dma.c | 2 +-
1618 drivers/gpu/drm/via/via_drv.c | 5 +-
1619 drivers/gpu/drm/via/via_drv.h | 6 +-
1620 drivers/gpu/drm/via/via_irq.c | 18 +-
1621 drivers/gpu/drm/virtio/virtgpu_display.c | 2 +-
1622 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 2 +-
1623 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c | 8 +-
1624 drivers/gpu/drm/vmwgfx/vmwgfx_irq.c | 4 +-
1625 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c | 2 +-
1626 drivers/gpu/vga/vga_switcheroo.c | 4 +-
1627 drivers/hid/hid-core.c | 4 +-
1628 drivers/hid/hid-magicmouse.c | 2 +-
1629 drivers/hid/hid-sensor-custom.c | 2 +-
1630 drivers/hv/channel.c | 6 +-
1631 drivers/hv/hv.c | 22 +-
1632 drivers/hv/hv_balloon.c | 18 +-
1633 drivers/hv/hyperv_vmbus.h | 2 +-
1634 drivers/hwmon/acpi_power_meter.c | 6 +-
1635 drivers/hwmon/applesmc.c | 4 +-
1636 drivers/hwmon/asus_atk0110.c | 10 +-
1637 drivers/hwmon/coretemp.c | 2 +-
1638 drivers/hwmon/dell-smm-hwmon.c | 4 +-
1639 drivers/hwmon/ibmaem.c | 2 +-
1640 drivers/hwmon/iio_hwmon.c | 2 +-
1641 drivers/hwmon/nct6683.c | 6 +-
1642 drivers/hwmon/nct6775.c | 6 +-
1643 drivers/hwmon/pmbus/pmbus_core.c | 10 +-
1644 drivers/hwmon/sht15.c | 12 +-
1645 drivers/hwmon/via-cputemp.c | 2 +-
1646 drivers/i2c/busses/i2c-amd756-s4882.c | 2 +-
1647 drivers/i2c/busses/i2c-designware-pcidrv.c | 2 +-
1648 drivers/i2c/busses/i2c-nforce2-s4985.c | 2 +-
1649 drivers/i2c/i2c-dev.c | 2 +-
1650 drivers/ide/ide-cd.c | 2 +-
1651 drivers/ide/ide-disk.c | 2 +-
1652 drivers/ide/ide.c | 4 +-
1653 drivers/idle/intel_idle.c | 6 +-
1654 drivers/iio/industrialio-core.c | 2 +-
1655 drivers/iio/magnetometer/ak8975.c | 2 +-
1656 drivers/infiniband/core/cm.c | 46 +-
1657 drivers/infiniband/core/fmr_pool.c | 20 +-
1658 drivers/infiniband/core/netlink.c | 5 +-
1659 drivers/infiniband/core/ucm.c | 4 +-
1660 drivers/infiniband/core/uverbs_cmd.c | 3 +
1661 drivers/infiniband/hw/cxgb4/device.c | 6 +-
1662 drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 2 +-
1663 drivers/infiniband/hw/cxgb4/mem.c | 4 +-
1664 drivers/infiniband/hw/i40iw/i40iw_user.h | 2 +-
1665 drivers/infiniband/hw/mlx4/mad.c | 2 +-
1666 drivers/infiniband/hw/mlx4/mcg.c | 2 +-
1667 drivers/infiniband/hw/mlx4/mlx4_ib.h | 2 +-
1668 drivers/infiniband/hw/mthca/mthca_cmd.c | 8 +-
1669 drivers/infiniband/hw/mthca/mthca_main.c | 2 +-
1670 drivers/infiniband/hw/mthca/mthca_mr.c | 6 +-
1671 drivers/infiniband/hw/mthca/mthca_provider.c | 2 +-
1672 drivers/infiniband/hw/nes/nes.c | 4 +-
1673 drivers/infiniband/hw/nes/nes.h | 40 +-
1674 drivers/infiniband/hw/nes/nes_cm.c | 62 +-
1675 drivers/infiniband/hw/nes/nes_mgt.c | 8 +-
1676 drivers/infiniband/hw/nes/nes_nic.c | 42 +-
1677 drivers/infiniband/hw/nes/nes_verbs.c | 10 +-
1678 drivers/infiniband/hw/qib/qib_iba7322.c | 4 +-
1679 drivers/infiniband/hw/qib/qib_pcie.c | 2 +-
1680 drivers/infiniband/ulp/ipoib/ipoib_main.c | 2 +-
1681 drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 2 +-
1682 drivers/infiniband/ulp/srpt/ib_srpt.c | 8 +-
1683 drivers/input/evdev.c | 2 +-
1684 drivers/input/gameport/gameport.c | 4 +-
1685 drivers/input/input.c | 4 +-
1686 drivers/input/joystick/sidewinder.c | 1 +
1687 drivers/input/misc/ims-pcu.c | 4 +-
1688 drivers/input/mouse/psmouse.h | 2 +-
1689 drivers/input/mousedev.c | 2 +-
1690 drivers/input/serio/serio.c | 4 +-
1691 drivers/input/serio/serio_raw.c | 4 +-
1692 drivers/input/touchscreen/htcpen.c | 2 +-
1693 drivers/iommu/arm-smmu-v3.c | 2 +-
1694 drivers/iommu/arm-smmu.c | 42 +-
1695 drivers/iommu/io-pgtable-arm-v7s.c | 62 +-
1696 drivers/iommu/io-pgtable-arm.c | 99 +-
1697 drivers/iommu/io-pgtable.c | 11 +-
1698 drivers/iommu/io-pgtable.h | 21 +-
1699 drivers/iommu/iommu.c | 2 +-
1700 drivers/iommu/ipmmu-vmsa.c | 13 +-
1701 drivers/iommu/irq_remapping.c | 2 +-
1702 drivers/iommu/mtk_iommu.c | 16 +-
1703 drivers/irqchip/irq-gic.c | 2 +-
1704 drivers/irqchip/irq-i8259.c | 2 +-
1705 drivers/irqchip/irq-renesas-intc-irqpin.c | 2 +-
1706 drivers/irqchip/irq-ts4800.c | 2 +-
1707 drivers/isdn/capi/capi.c | 10 +-
1708 drivers/isdn/gigaset/interface.c | 8 +-
1709 drivers/isdn/gigaset/usb-gigaset.c | 2 +-
1710 drivers/isdn/hardware/avm/b1.c | 4 +-
1711 drivers/isdn/hardware/eicon/capifunc.c | 6 +-
1712 drivers/isdn/hardware/eicon/dadapter.c | 18 +-
1713 drivers/isdn/hardware/eicon/diddfunc.c | 7 +-
1714 drivers/isdn/hardware/eicon/divasfunc.c | 9 +-
1715 drivers/isdn/hardware/eicon/divasync.h | 2 +-
1716 drivers/isdn/hardware/eicon/idifunc.c | 9 +-
1717 drivers/isdn/hardware/eicon/mntfunc.c | 13 +-
1718 drivers/isdn/hardware/mISDN/avmfritz.c | 2 +-
1719 drivers/isdn/hardware/mISDN/hfcmulti.c | 7 +-
1720 drivers/isdn/hardware/mISDN/hfcpci.c | 16 +-
1721 drivers/isdn/hardware/mISDN/mISDNinfineon.c | 7 +-
1722 drivers/isdn/hardware/mISDN/mISDNipac.c | 5 +-
1723 drivers/isdn/hardware/mISDN/netjet.c | 2 +-
1724 drivers/isdn/hardware/mISDN/speedfax.c | 7 +-
1725 drivers/isdn/hardware/mISDN/w6692.c | 7 +-
1726 drivers/isdn/hisax/amd7930_fn.c | 5 +-
1727 drivers/isdn/hisax/arcofi.c | 5 +-
1728 drivers/isdn/hisax/diva.c | 7 +-
1729 drivers/isdn/hisax/elsa.c | 9 +-
1730 drivers/isdn/hisax/fsm.c | 5 +-
1731 drivers/isdn/hisax/hfc4s8s_l1.c | 14 +-
1732 drivers/isdn/hisax/hfc_2bds0.c | 4 +-
1733 drivers/isdn/hisax/hfc_pci.c | 10 +-
1734 drivers/isdn/hisax/hfc_sx.c | 10 +-
1735 drivers/isdn/hisax/hfc_usb.c | 12 +-
1736 drivers/isdn/hisax/hfcscard.c | 6 +-
1737 drivers/isdn/hisax/icc.c | 5 +-
1738 drivers/isdn/hisax/ipacx.c | 7 +-
1739 drivers/isdn/hisax/isac.c | 5 +-
1740 drivers/isdn/hisax/isar.c | 5 +-
1741 drivers/isdn/hisax/isdnl3.c | 5 +-
1742 drivers/isdn/hisax/saphir.c | 5 +-
1743 drivers/isdn/hisax/teleint.c | 5 +-
1744 drivers/isdn/hisax/w6692.c | 5 +-
1745 drivers/isdn/i4l/isdn_common.c | 2 +
1746 drivers/isdn/i4l/isdn_tty.c | 22 +-
1747 drivers/isdn/mISDN/dsp.h | 4 +-
1748 drivers/isdn/mISDN/dsp_cmx.c | 4 +-
1749 drivers/isdn/mISDN/dsp_core.c | 4 +-
1750 drivers/isdn/mISDN/dsp_tones.c | 4 +-
1751 drivers/isdn/mISDN/fsm.c | 5 +-
1752 drivers/isdn/mISDN/l1oip_core.c | 8 +-
1753 drivers/leds/leds-clevo-mail.c | 2 +-
1754 drivers/leds/leds-ss4200.c | 2 +-
1755 drivers/lguest/core.c | 9 +-
1756 drivers/lguest/page_tables.c | 2 +-
1757 drivers/lguest/x86/core.c | 12 +-
1758 drivers/lguest/x86/switcher_32.S | 27 +-
1759 drivers/lightnvm/rrpc.c | 4 +-
1760 drivers/lightnvm/rrpc.h | 2 +-
1761 drivers/md/bcache/alloc.c | 2 +-
1762 drivers/md/bcache/bcache.h | 10 +-
1763 drivers/md/bcache/btree.c | 13 +-
1764 drivers/md/bcache/closure.c | 4 +-
1765 drivers/md/bcache/closure.h | 10 +-
1766 drivers/md/bcache/io.c | 10 +-
1767 drivers/md/bcache/journal.c | 18 +-
1768 drivers/md/bcache/movinggc.c | 12 +-
1769 drivers/md/bcache/request.c | 54 +-
1770 drivers/md/bcache/request.h | 2 +-
1771 drivers/md/bcache/stats.c | 26 +-
1772 drivers/md/bcache/stats.h | 16 +-
1773 drivers/md/bcache/super.c | 32 +-
1774 drivers/md/bcache/sysfs.c | 20 +-
1775 drivers/md/bcache/writeback.c | 12 +-
1776 drivers/md/bitmap.c | 2 +-
1777 drivers/md/dm-cache-target.c | 116 +-
1778 drivers/md/dm-ioctl.c | 2 +-
1779 drivers/md/dm-raid.c | 2 +-
1780 drivers/md/dm-raid1.c | 18 +-
1781 drivers/md/dm-stats.c | 6 +-
1782 drivers/md/dm-stripe.c | 10 +-
1783 drivers/md/dm-table.c | 2 +-
1784 drivers/md/dm-thin-metadata.c | 4 +-
1785 drivers/md/dm.c | 28 +-
1786 drivers/md/md.c | 41 +-
1787 drivers/md/md.h | 8 +-
1788 drivers/md/persistent-data/dm-space-map-metadata.c | 4 +-
1789 drivers/md/persistent-data/dm-space-map.h | 1 +
1790 drivers/md/raid1.c | 8 +-
1791 drivers/md/raid10.c | 20 +-
1792 drivers/md/raid5.c | 26 +-
1793 drivers/media/dvb-core/dvb_net.c | 2 +-
1794 drivers/media/dvb-core/dvbdev.c | 2 +-
1795 drivers/media/dvb-frontends/af9033.h | 2 +-
1796 drivers/media/dvb-frontends/cx24116.c | 2 +-
1797 drivers/media/dvb-frontends/cx24117.c | 2 +-
1798 drivers/media/dvb-frontends/cx24120.c | 2 +-
1799 drivers/media/dvb-frontends/cx24123.c | 2 +-
1800 drivers/media/dvb-frontends/cxd2820r_core.c | 2 +-
1801 drivers/media/dvb-frontends/dib3000.h | 2 +-
1802 drivers/media/dvb-frontends/dib7000p.h | 2 +-
1803 drivers/media/dvb-frontends/dib8000.h | 2 +-
1804 drivers/media/dvb-frontends/hd29l2.c | 2 +-
1805 drivers/media/dvb-frontends/lgdt3306a.c | 2 +-
1806 drivers/media/dvb-frontends/mt312.c | 6 +-
1807 drivers/media/dvb-frontends/s921.c | 2 +-
1808 drivers/media/pci/bt8xx/dst.c | 2 +-
1809 drivers/media/pci/cx88/cx88-video.c | 6 +-
1810 drivers/media/pci/ivtv/ivtv-driver.c | 2 +-
1811 drivers/media/pci/pt1/va1j5jf8007s.c | 2 +-
1812 drivers/media/pci/pt1/va1j5jf8007t.c | 2 +-
1813 drivers/media/pci/solo6x10/solo6x10-core.c | 2 +-
1814 drivers/media/pci/solo6x10/solo6x10-p2m.c | 2 +-
1815 drivers/media/pci/solo6x10/solo6x10.h | 2 +-
1816 drivers/media/pci/sta2x11/sta2x11_vip.c | 5 +-
1817 drivers/media/pci/tw68/tw68-core.c | 2 +-
1818 drivers/media/pci/zoran/zoran.h | 1 -
1819 drivers/media/pci/zoran/zoran_card.c | 4 +-
1820 drivers/media/pci/zoran/zoran_driver.c | 3 -
1821 drivers/media/platform/am437x/am437x-vpfe.c | 2 +-
1822 drivers/media/platform/omap/omap_vout.c | 11 +-
1823 drivers/media/platform/s5p-tv/mixer.h | 2 +-
1824 drivers/media/platform/s5p-tv/mixer_grp_layer.c | 2 +-
1825 drivers/media/platform/s5p-tv/mixer_reg.c | 2 +-
1826 drivers/media/platform/s5p-tv/mixer_video.c | 24 +-
1827 drivers/media/platform/s5p-tv/mixer_vp_layer.c | 2 +-
1828 drivers/media/platform/soc_camera/soc_camera.c | 2 +-
1829 drivers/media/radio/radio-cadet.c | 2 +
1830 drivers/media/radio/radio-maxiradio.c | 2 +-
1831 drivers/media/radio/radio-shark.c | 2 +-
1832 drivers/media/radio/radio-shark2.c | 2 +-
1833 drivers/media/radio/radio-si476x.c | 2 +-
1834 drivers/media/radio/wl128x/fmdrv_common.c | 2 +-
1835 drivers/media/usb/pvrusb2/pvrusb2-context.c | 8 +-
1836 drivers/media/usb/pvrusb2/pvrusb2-dvb.c | 7 +-
1837 drivers/media/usb/pvrusb2/pvrusb2-hdw.c | 2 +-
1838 drivers/media/usb/pvrusb2/pvrusb2-std.c | 2 +-
1839 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c | 6 +-
1840 drivers/media/usb/uvc/uvc_driver.c | 4 +-
1841 drivers/media/v4l2-core/v4l2-common.c | 2 +-
1842 drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 12 +-
1843 drivers/media/v4l2-core/v4l2-device.c | 4 +-
1844 drivers/media/v4l2-core/v4l2-ioctl.c | 287 +-
1845 drivers/memory/omap-gpmc.c | 21 +-
1846 drivers/message/fusion/mptbase.c | 4 +-
1847 drivers/message/fusion/mptlan.c | 2 +-
1848 drivers/message/fusion/mptsas.c | 34 +-
1849 drivers/mfd/ab8500-debugfs.c | 2 +-
1850 drivers/mfd/kempld-core.c | 2 +-
1851 drivers/mfd/max8925-i2c.c | 2 +-
1852 drivers/mfd/tps65910.c | 2 +-
1853 drivers/mfd/twl4030-irq.c | 9 +-
1854 drivers/misc/c2port/core.c | 4 +-
1855 drivers/misc/kgdbts.c | 6 +-
1856 drivers/misc/lis3lv02d/lis3lv02d.c | 8 +-
1857 drivers/misc/lis3lv02d/lis3lv02d.h | 2 +-
1858 drivers/misc/mic/scif/scif_api.c | 10 +-
1859 drivers/misc/mic/scif/scif_rb.c | 8 +-
1860 drivers/misc/panel.c | 4 +-
1861 drivers/misc/sgi-gru/gruhandles.c | 4 +-
1862 drivers/misc/sgi-gru/gruprocfs.c | 8 +-
1863 drivers/misc/sgi-gru/grutables.h | 158 +-
1864 drivers/misc/sgi-xp/xp.h | 2 +-
1865 drivers/misc/sgi-xp/xp_main.c | 57 +-
1866 drivers/misc/sgi-xp/xpc.h | 3 +-
1867 drivers/misc/sgi-xp/xpc_main.c | 2 +-
1868 drivers/misc/sgi-xp/xpnet.c | 2 +-
1869 drivers/misc/ti-st/st_kim.c | 32 +-
1870 drivers/mmc/card/mmc_test.c | 4 +-
1871 drivers/mmc/host/dw_mmc.h | 2 +-
1872 drivers/mmc/host/mmci.c | 4 +-
1873 drivers/mmc/host/omap_hsmmc.c | 4 +-
1874 drivers/mmc/host/sdhci-esdhc-imx.c | 7 +-
1875 drivers/mmc/host/sdhci-s3c.c | 8 +-
1876 drivers/mtd/chips/cfi_cmdset_0020.c | 2 +-
1877 drivers/mtd/devices/block2mtd.c | 2 +-
1878 drivers/mtd/devices/phram.c | 2 +-
1879 drivers/mtd/maps/gpio-addr-flash.c | 2 +-
1880 drivers/mtd/maps/latch-addr-flash.c | 2 +-
1881 drivers/mtd/maps/pci.c | 4 +-
1882 drivers/mtd/maps/pcmciamtd.c | 8 +-
1883 drivers/mtd/maps/sbc_gxx.c | 2 +-
1884 drivers/mtd/nand/brcmnand/brcmnand.h | 2 +-
1885 drivers/mtd/nand/cafe_nand.c | 18 +-
1886 drivers/mtd/nand/denali.c | 1 +
1887 drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 2 +-
1888 drivers/mtd/nftlmount.c | 1 +
1889 drivers/mtd/sm_ftl.c | 2 +-
1890 drivers/mtd/ubi/build.c | 2 +-
1891 drivers/net/bonding/bond_netlink.c | 2 +-
1892 drivers/net/caif/caif_hsi.c | 4 +-
1893 drivers/net/caif/caif_serial.c | 2 +-
1894 drivers/net/caif/caif_spi.c | 2 +-
1895 drivers/net/caif/caif_virtio.c | 2 +-
1896 drivers/net/can/Kconfig | 2 +-
1897 drivers/net/can/bfin_can.c | 2 +-
1898 drivers/net/can/dev.c | 2 +-
1899 drivers/net/can/flexcan.c | 2 +-
1900 drivers/net/can/janz-ican3.c | 2 +-
1901 drivers/net/can/led.c | 2 +-
1902 drivers/net/can/sun4i_can.c | 2 +-
1903 drivers/net/can/vcan.c | 2 +-
1904 drivers/net/can/xilinx_can.c | 2 +-
1905 drivers/net/dummy.c | 2 +-
1906 drivers/net/ethernet/8390/ax88796.c | 6 +-
1907 drivers/net/ethernet/8390/axnet_cs.c | 4 +-
1908 drivers/net/ethernet/8390/ne2k-pci.c | 6 +-
1909 drivers/net/ethernet/8390/pcnet_cs.c | 4 +-
1910 drivers/net/ethernet/adi/bfin_mac.c | 2 +-
1911 drivers/net/ethernet/allwinner/sun4i-emac.c | 2 +-
1912 drivers/net/ethernet/altera/altera_tse_main.c | 6 +-
1913 drivers/net/ethernet/amd/7990.c | 2 +-
1914 drivers/net/ethernet/amd/7990.h | 2 +-
1915 drivers/net/ethernet/amd/amd8111e.c | 5 +-
1916 drivers/net/ethernet/amd/atarilance.c | 4 +-
1917 drivers/net/ethernet/amd/declance.c | 2 +-
1918 drivers/net/ethernet/amd/pcnet32.c | 7 +-
1919 drivers/net/ethernet/amd/sun3lance.c | 4 +-
1920 drivers/net/ethernet/amd/sunlance.c | 2 +-
1921 drivers/net/ethernet/amd/xgbe/xgbe-common.h | 4 +-
1922 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c | 4 +-
1923 drivers/net/ethernet/amd/xgbe/xgbe-desc.c | 27 +-
1924 drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 145 +-
1925 drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 68 +-
1926 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 10 +-
1927 drivers/net/ethernet/amd/xgbe/xgbe-main.c | 15 +-
1928 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 27 +-
1929 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c | 4 +-
1930 drivers/net/ethernet/amd/xgbe/xgbe.h | 10 +-
1931 drivers/net/ethernet/apm/xgene/xgene_enet_main.c | 4 +-
1932 drivers/net/ethernet/arc/emac_main.c | 2 +-
1933 drivers/net/ethernet/atheros/alx/main.c | 2 +-
1934 drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 2 +-
1935 drivers/net/ethernet/atheros/atl1e/atl1e_main.c | 2 +-
1936 drivers/net/ethernet/aurora/nb8800.c | 2 +-
1937 drivers/net/ethernet/broadcom/bcm63xx_enet.c | 2 +-
1938 drivers/net/ethernet/broadcom/bnx2.c | 2 +-
1939 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 2 +-
1940 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | 216 +-
1941 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h | 4 +-
1942 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 2 +-
1943 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | 11 +-
1944 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h | 3 +-
1945 drivers/net/ethernet/broadcom/tg3.c | 2 +-
1946 drivers/net/ethernet/broadcom/tg3.h | 1 +
1947 drivers/net/ethernet/brocade/bna/bfa_cs.h | 42 +-
1948 drivers/net/ethernet/brocade/bna/bfa_ioc.c | 10 +-
1949 drivers/net/ethernet/brocade/bna/bfa_ioc.h | 4 +-
1950 drivers/net/ethernet/brocade/bna/bfa_msgq.h | 8 +-
1951 drivers/net/ethernet/brocade/bna/bna_enet.c | 6 +-
1952 drivers/net/ethernet/brocade/bna/bna_tx_rx.c | 6 +-
1953 drivers/net/ethernet/brocade/bna/bna_types.h | 24 +-
1954 drivers/net/ethernet/brocade/bna/bnad.c | 11 +-
1955 drivers/net/ethernet/cadence/macb.c | 4 +-
1956 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c | 6 +-
1957 drivers/net/ethernet/cavium/liquidio/lio_main.c | 15 +-
1958 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c | 2 +-
1959 drivers/net/ethernet/chelsio/cxgb3/l2t.h | 2 +-
1960 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 2 +-
1961 drivers/net/ethernet/chelsio/cxgb4vf/adapter.h | 2 +-
1962 drivers/net/ethernet/chelsio/cxgb4vf/sge.c | 2 +-
1963 drivers/net/ethernet/davicom/dm9000.c | 2 +-
1964 drivers/net/ethernet/dec/tulip/de4x5.c | 13 +-
1965 drivers/net/ethernet/emulex/benet/be_main.c | 4 +-
1966 drivers/net/ethernet/faraday/ftgmac100.c | 4 +-
1967 drivers/net/ethernet/faraday/ftmac100.c | 4 +-
1968 drivers/net/ethernet/freescale/fec_mpc52xx.c | 2 +-
1969 .../net/ethernet/freescale/fs_enet/fs_enet-main.c | 2 +-
1970 drivers/net/ethernet/freescale/gianfar.c | 4 +-
1971 drivers/net/ethernet/freescale/ucc_geth.c | 2 +-
1972 drivers/net/ethernet/hisilicon/hip04_eth.c | 2 +-
1973 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c | 2 +-
1974 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 6 +-
1975 drivers/net/ethernet/i825xx/lib82596.c | 4 +-
1976 drivers/net/ethernet/ibm/ehea/ehea_main.c | 2 +-
1977 drivers/net/ethernet/ibm/emac/core.c | 4 +-
1978 drivers/net/ethernet/intel/e100.c | 2 +-
1979 drivers/net/ethernet/intel/e1000/e1000_main.c | 2 +-
1980 drivers/net/ethernet/intel/e1000e/netdev.c | 2 +-
1981 drivers/net/ethernet/intel/fm10k/fm10k_pci.c | 2 +-
1982 drivers/net/ethernet/intel/i40e/i40e_ptp.c | 2 +-
1983 drivers/net/ethernet/intel/igb/igb_main.c | 2 +-
1984 drivers/net/ethernet/intel/igbvf/netdev.c | 2 +-
1985 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 2 +-
1986 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 2 +-
1987 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 4 +-
1988 drivers/net/ethernet/marvell/pxa168_eth.c | 2 +-
1989 drivers/net/ethernet/mellanox/mlx4/en_tx.c | 4 +-
1990 drivers/net/ethernet/mellanox/mlx4/main.c | 2 +-
1991 drivers/net/ethernet/mellanox/mlx5/core/main.c | 2 +-
1992 drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 2 +-
1993 drivers/net/ethernet/micrel/ks8695net.c | 2 +-
1994 drivers/net/ethernet/micrel/ks8851_mll.c | 2 +-
1995 drivers/net/ethernet/moxa/moxart_ether.c | 2 +-
1996 drivers/net/ethernet/neterion/s2io.c | 2 +-
1997 drivers/net/ethernet/neterion/vxge/vxge-config.c | 7 +-
1998 drivers/net/ethernet/neterion/vxge/vxge-main.c | 2 +-
1999 .../net/ethernet/netronome/nfp/nfp_net_common.c | 2 +-
2000 drivers/net/ethernet/netx-eth.c | 2 +-
2001 drivers/net/ethernet/nuvoton/w90p910_ether.c | 2 +-
2002 drivers/net/ethernet/nvidia/forcedeth.c | 4 +-
2003 drivers/net/ethernet/nxp/lpc_eth.c | 2 +-
2004 .../net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c | 4 +-
2005 .../net/ethernet/qlogic/netxen/netxen_nic_main.c | 2 +-
2006 drivers/net/ethernet/qlogic/qed/qed_mcp.c | 6 +-
2007 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 4 +-
2008 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c | 12 +-
2009 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c | 2 +-
2010 .../net/ethernet/qlogic/qlcnic/qlcnic_minidump.c | 2 +-
2011 drivers/net/ethernet/realtek/r8169.c | 8 +-
2012 drivers/net/ethernet/renesas/sh_eth.c | 2 +-
2013 drivers/net/ethernet/rocker/rocker_main.c | 4 +-
2014 drivers/net/ethernet/seeq/sgiseeq.c | 2 +-
2015 drivers/net/ethernet/sfc/ptp.c | 2 +-
2016 drivers/net/ethernet/sfc/selftest.c | 20 +-
2017 drivers/net/ethernet/sgi/ioc3-eth.c | 4 +-
2018 drivers/net/ethernet/smsc/smc911x.c | 2 +-
2019 drivers/net/ethernet/smsc/smc91x.c | 2 +-
2020 drivers/net/ethernet/smsc/smsc911x.c | 2 +-
2021 drivers/net/ethernet/stmicro/stmmac/mmc_core.c | 4 +-
2022 drivers/net/ethernet/sun/sunbmac.c | 2 +-
2023 drivers/net/ethernet/sun/sunqe.c | 2 +-
2024 drivers/net/ethernet/sun/sunvnet.c | 2 +-
2025 drivers/net/ethernet/sun/sunvnet_common.c | 6 +-
2026 drivers/net/ethernet/synopsys/dwc_eth_qos.c | 2 +-
2027 drivers/net/ethernet/ti/cpmac.c | 2 +-
2028 drivers/net/ethernet/ti/netcp_core.c | 2 +-
2029 drivers/net/ethernet/via/via-rhine.c | 2 +-
2030 drivers/net/ethernet/wiznet/w5100.c | 2 +-
2031 drivers/net/ethernet/wiznet/w5300.c | 2 +-
2032 drivers/net/ethernet/xilinx/ll_temac_main.c | 2 +-
2033 drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 2 +-
2034 drivers/net/geneve.c | 2 +-
2035 drivers/net/hamradio/baycom_epp.c | 2 +-
2036 drivers/net/hyperv/hyperv_net.h | 2 +-
2037 drivers/net/hyperv/netvsc_drv.c | 2 +-
2038 drivers/net/hyperv/rndis_filter.c | 7 +-
2039 drivers/net/ifb.c | 2 +-
2040 drivers/net/ipvlan/ipvlan_core.c | 2 +-
2041 drivers/net/ipvlan/ipvlan_main.c | 6 +-
2042 drivers/net/irda/sh_irda.c | 2 +-
2043 drivers/net/irda/vlsi_ir.c | 18 +-
2044 drivers/net/irda/vlsi_ir.h | 14 +-
2045 drivers/net/loopback.c | 2 +-
2046 drivers/net/macsec.c | 2 +-
2047 drivers/net/macvlan.c | 20 +-
2048 drivers/net/macvtap.c | 10 +-
2049 drivers/net/nlmon.c | 2 +-
2050 drivers/net/phy/phy_device.c | 6 +-
2051 drivers/net/plip/plip.c | 2 +-
2052 drivers/net/ppp/ppp_generic.c | 4 +-
2053 drivers/net/ppp/pptp.c | 2 +-
2054 drivers/net/rionet.c | 2 +-
2055 drivers/net/slip/slhc.c | 2 +-
2056 drivers/net/team/team.c | 4 +-
2057 drivers/net/tun.c | 7 +-
2058 drivers/net/usb/hso.c | 28 +-
2059 drivers/net/usb/ipheth.c | 2 +-
2060 drivers/net/usb/r8152.c | 2 +-
2061 drivers/net/usb/sierra_net.c | 4 +-
2062 drivers/net/virtio_net.c | 2 +-
2063 drivers/net/vrf.c | 4 +-
2064 drivers/net/vxlan.c | 4 +-
2065 drivers/net/wimax/i2400m/rx.c | 2 +-
2066 drivers/net/wireless/ath/ath10k/ce.c | 6 +-
2067 drivers/net/wireless/ath/ath10k/htc.h | 4 +-
2068 drivers/net/wireless/ath/ath6kl/core.h | 2 +-
2069 drivers/net/wireless/ath/ath6kl/txrx.c | 2 +-
2070 drivers/net/wireless/ath/ath9k/ar9002_mac.c | 36 +-
2071 drivers/net/wireless/ath/ath9k/ar9003_mac.c | 64 +-
2072 drivers/net/wireless/ath/ath9k/hw.h | 4 +-
2073 drivers/net/wireless/ath/ath9k/main.c | 22 +-
2074 drivers/net/wireless/ath/carl9170/carl9170.h | 6 +-
2075 drivers/net/wireless/ath/carl9170/debug.c | 6 +-
2076 drivers/net/wireless/ath/carl9170/main.c | 10 +-
2077 drivers/net/wireless/ath/carl9170/tx.c | 4 +-
2078 drivers/net/wireless/ath/wil6210/pcie_bus.c | 2 +-
2079 drivers/net/wireless/ath/wil6210/wil_platform.h | 2 +-
2080 drivers/net/wireless/atmel/at76c50x-usb.c | 2 +-
2081 drivers/net/wireless/atmel/atmel.c | 183 +-
2082 drivers/net/wireless/broadcom/b43/phy_lp.c | 2 +-
2083 drivers/net/wireless/broadcom/b43legacy/main.c | 5 +-
2084 .../broadcom/brcm80211/brcmfmac/cfg80211.c | 55 +-
2085 .../broadcom/brcm80211/brcmsmac/phy/phy_cmn.c | 3 +-
2086 .../broadcom/brcm80211/brcmsmac/phy_shim.c | 5 +-
2087 .../broadcom/brcm80211/brcmsmac/phy_shim.h | 2 +-
2088 drivers/net/wireless/cisco/airo.c | 201 +-
2089 drivers/net/wireless/intel/ipw2x00/ipw2100.c | 8 +-
2090 drivers/net/wireless/intel/ipw2x00/ipw2200.c | 6 +-
2091 drivers/net/wireless/intel/iwlegacy/3945-mac.c | 11 +-
2092 drivers/net/wireless/intel/iwlegacy/4965-mac.c | 7 +-
2093 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c | 34 +-
2094 drivers/net/wireless/intel/iwlwifi/dvm/lib.c | 4 +-
2095 drivers/net/wireless/intel/iwlwifi/mvm/d3.c | 8 +-
2096 drivers/net/wireless/intel/iwlwifi/mvm/tx.c | 4 +-
2097 drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 4 +-
2098 .../net/wireless/intersil/hostap/hostap_ioctl.c | 134 +-
2099 drivers/net/wireless/intersil/orinoco/wext.c | 131 +-
2100 drivers/net/wireless/intersil/prism54/isl_ioctl.c | 292 +-
2101 drivers/net/wireless/mac80211_hwsim.c | 28 +-
2102 drivers/net/wireless/marvell/mwifiex/11n_aggr.c | 2 +-
2103 drivers/net/wireless/marvell/mwifiex/main.c | 2 +-
2104 drivers/net/wireless/marvell/mwifiex/pcie.c | 4 +-
2105 drivers/net/wireless/marvell/mwifiex/sdio.c | 10 +-
2106 drivers/net/wireless/ralink/rt2x00/rt2400pci.c | 4 +-
2107 drivers/net/wireless/ralink/rt2x00/rt2500pci.c | 4 +-
2108 drivers/net/wireless/ralink/rt2x00/rt2500usb.c | 4 +-
2109 drivers/net/wireless/ralink/rt2x00/rt2800lib.c | 6 +-
2110 drivers/net/wireless/ralink/rt2x00/rt2x00.h | 2 +-
2111 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c | 4 +-
2112 drivers/net/wireless/ralink/rt2x00/rt61pci.c | 4 +-
2113 drivers/net/wireless/ralink/rt2x00/rt73usb.c | 4 +-
2114 drivers/net/wireless/realtek/rtlwifi/base.c | 14 +-
2115 drivers/net/wireless/realtek/rtlwifi/base.h | 4 +-
2116 drivers/net/wireless/realtek/rtlwifi/pci.c | 15 +-
2117 drivers/net/wireless/realtek/rtlwifi/ps.c | 6 +-
2118 drivers/net/wireless/realtek/rtlwifi/ps.h | 6 +-
2119 drivers/net/wireless/ti/wl1251/sdio.c | 12 +-
2120 drivers/net/wireless/ti/wl12xx/main.c | 8 +-
2121 drivers/net/wireless/ti/wl18xx/main.c | 6 +-
2122 drivers/net/wireless/zydas/zd1201.c | 192 +-
2123 drivers/net/xen-netback/interface.c | 2 +-
2124 drivers/net/xen-netfront.c | 2 +-
2125 drivers/nvme/host/pci.c | 2 +-
2126 drivers/of/fdt.c | 4 +-
2127 drivers/oprofile/buffer_sync.c | 8 +-
2128 drivers/oprofile/event_buffer.c | 2 +-
2129 drivers/oprofile/oprof.c | 2 +-
2130 drivers/oprofile/oprofile_stats.c | 10 +-
2131 drivers/oprofile/oprofile_stats.h | 10 +-
2132 drivers/oprofile/oprofilefs.c | 6 +-
2133 drivers/oprofile/timer_int.c | 2 +-
2134 drivers/parport/procfs.c | 4 +-
2135 drivers/pci/host/pci-host-common.h | 2 +-
2136 drivers/pci/hotplug/acpiphp_ibm.c | 4 +-
2137 drivers/pci/hotplug/cpcihp_generic.c | 6 +-
2138 drivers/pci/hotplug/cpcihp_zt5550.c | 14 +-
2139 drivers/pci/hotplug/cpqphp_nvram.c | 2 +
2140 drivers/pci/hotplug/pci_hotplug_core.c | 6 +-
2141 drivers/pci/hotplug/pciehp_core.c | 2 +-
2142 drivers/pci/msi.c | 22 +-
2143 drivers/pci/pci-sysfs.c | 6 +-
2144 drivers/pci/pci.h | 4 +-
2145 drivers/pci/pcie/aspm.c | 10 +-
2146 drivers/pci/pcie/portdrv_pci.c | 2 +-
2147 drivers/pci/probe.c | 2 +-
2148 drivers/pci/setup-bus.c | 10 +-
2149 drivers/pinctrl/nomadik/pinctrl-nomadik.c | 2 +-
2150 drivers/pinctrl/pinctrl-at91.c | 5 +-
2151 drivers/platform/chrome/chromeos_laptop.c | 2 +-
2152 drivers/platform/chrome/chromeos_pstore.c | 2 +-
2153 drivers/platform/chrome/cros_ec_lpc.c | 2 +-
2154 drivers/platform/x86/alienware-wmi.c | 4 +-
2155 drivers/platform/x86/apple-gmux.c | 2 +-
2156 drivers/platform/x86/compal-laptop.c | 2 +-
2157 drivers/platform/x86/hdaps.c | 2 +-
2158 drivers/platform/x86/ibm_rtl.c | 2 +-
2159 drivers/platform/x86/intel_oaktrail.c | 2 +-
2160 drivers/platform/x86/msi-laptop.c | 16 +-
2161 drivers/platform/x86/msi-wmi.c | 2 +-
2162 drivers/platform/x86/samsung-laptop.c | 2 +-
2163 drivers/platform/x86/samsung-q10.c | 2 +-
2164 drivers/platform/x86/sony-laptop.c | 14 +-
2165 drivers/platform/x86/thinkpad_acpi.c | 10 +-
2166 drivers/pnp/pnpbios/bioscalls.c | 14 +-
2167 drivers/pnp/pnpbios/core.c | 2 +-
2168 drivers/power/pda_power.c | 7 +-
2169 drivers/power/power_supply.h | 4 +-
2170 drivers/power/power_supply_core.c | 7 +-
2171 drivers/power/power_supply_sysfs.c | 6 +-
2172 drivers/power/reset/at91-reset.c | 5 +-
2173 drivers/powercap/powercap_sys.c | 136 +-
2174 drivers/ptp/ptp_private.h | 2 +-
2175 drivers/ptp/ptp_sysfs.c | 2 +-
2176 drivers/regulator/core.c | 4 +-
2177 drivers/regulator/max8660.c | 6 +-
2178 drivers/regulator/max8973-regulator.c | 16 +-
2179 drivers/regulator/mc13892-regulator.c | 8 +-
2180 drivers/remoteproc/remoteproc_core.c | 26 +-
2181 drivers/rtc/rtc-armada38x.c | 7 +-
2182 drivers/rtc/rtc-cmos.c | 4 +-
2183 drivers/rtc/rtc-ds1307.c | 2 +-
2184 drivers/rtc/rtc-m48t59.c | 4 +-
2185 drivers/rtc/rtc-rv8803.c | 15 +-
2186 drivers/rtc/rtc-rx8010.c | 8 +-
2187 drivers/rtc/rtc-test.c | 6 +-
2188 drivers/scsi/aacraid/aachba.c | 7 +-
2189 drivers/scsi/aic7xxx/aic79xx.h | 2 +-
2190 drivers/scsi/aic7xxx/aic79xx_core.c | 11 +-
2191 drivers/scsi/be2iscsi/be_main.c | 2 +-
2192 drivers/scsi/bfa/bfa.h | 4 +-
2193 drivers/scsi/bfa/bfa_core.c | 4 +-
2194 drivers/scsi/bfa/bfa_cs.h | 124 +-
2195 drivers/scsi/bfa/bfa_fcpim.h | 14 +-
2196 drivers/scsi/bfa/bfa_fcs.h | 34 +-
2197 drivers/scsi/bfa/bfa_fcs_fcpim.c | 6 +-
2198 drivers/scsi/bfa/bfa_fcs_lport.c | 4 +-
2199 drivers/scsi/bfa/bfa_fcs_rport.c | 4 +-
2200 drivers/scsi/bfa/bfa_ioc.c | 8 +-
2201 drivers/scsi/bfa/bfa_ioc.h | 16 +-
2202 drivers/scsi/bfa/bfa_svc.c | 12 +-
2203 drivers/scsi/bfa/bfa_svc.h | 20 +-
2204 drivers/scsi/bfa/bfad.c | 12 +-
2205 drivers/scsi/bfa/bfad_bsg.c | 8 +-
2206 drivers/scsi/bfa/bfad_drv.h | 5 +-
2207 drivers/scsi/csiostor/csio_defs.h | 19 +-
2208 drivers/scsi/csiostor/csio_hw.c | 67 +-
2209 drivers/scsi/csiostor/csio_init.c | 2 +-
2210 drivers/scsi/csiostor/csio_lnode.c | 32 +-
2211 drivers/scsi/csiostor/csio_rnode.c | 28 +-
2212 drivers/scsi/csiostor/csio_scsi.c | 37 +-
2213 drivers/scsi/fcoe/fcoe_sysfs.c | 12 +-
2214 drivers/scsi/fcoe/fcoe_transport.c | 16 +-
2215 drivers/scsi/hpsa.c | 38 +-
2216 drivers/scsi/hpsa.h | 2 +-
2217 drivers/scsi/hptiop.c | 2 -
2218 drivers/scsi/hptiop.h | 1 -
2219 drivers/scsi/ipr.c | 32 +-
2220 drivers/scsi/ipr.h | 2 +-
2221 drivers/scsi/libfc/fc_exch.c | 50 +-
2222 drivers/scsi/libsas/sas_ata.c | 2 +-
2223 drivers/scsi/lpfc/lpfc.h | 8 +-
2224 drivers/scsi/lpfc/lpfc_debugfs.c | 18 +-
2225 drivers/scsi/lpfc/lpfc_init.c | 8 +-
2226 drivers/scsi/lpfc/lpfc_scsi.c | 10 +-
2227 drivers/scsi/megaraid/megaraid_sas.h | 2 +-
2228 drivers/scsi/mpt3sas/mpt3sas_base.c | 2 +-
2229 drivers/scsi/mpt3sas/mpt3sas_scsih.c | 4 +-
2230 drivers/scsi/pmcraid.c | 46 +-
2231 drivers/scsi/pmcraid.h | 8 +-
2232 drivers/scsi/qla2xxx/qla_attr.c | 4 +-
2233 drivers/scsi/qla2xxx/qla_gbl.h | 8 +-
2234 drivers/scsi/qla2xxx/qla_os.c | 15 +-
2235 drivers/scsi/qla2xxx/qla_target.c | 16 +-
2236 drivers/scsi/qla2xxx/qla_target.h | 2 +-
2237 drivers/scsi/qla4xxx/ql4_def.h | 2 +-
2238 drivers/scsi/qla4xxx/ql4_os.c | 15 +-
2239 drivers/scsi/scsi.c | 2 +-
2240 drivers/scsi/scsi_lib.c | 8 +-
2241 drivers/scsi/scsi_sysfs.c | 2 +-
2242 drivers/scsi/scsi_transport_fc.c | 8 +-
2243 drivers/scsi/scsi_transport_iscsi.c | 6 +-
2244 drivers/scsi/scsi_transport_spi.c | 2 +-
2245 drivers/scsi/scsi_transport_srp.c | 8 +-
2246 drivers/scsi/sd.c | 6 +-
2247 drivers/scsi/sg.c | 2 +-
2248 drivers/scsi/sr.c | 21 +-
2249 drivers/soc/tegra/fuse/fuse-tegra.c | 2 +-
2250 drivers/spi/spi.c | 2 +-
2251 drivers/staging/android/timed_output.c | 6 +-
2252 drivers/staging/comedi/comedi_fops.c | 8 +-
2253 drivers/staging/fbtft/fbtft-core.c | 2 +-
2254 drivers/staging/fbtft/fbtft.h | 2 +-
2255 drivers/staging/gdm724x/gdm_lte.c | 2 +-
2256 drivers/staging/gdm724x/gdm_tty.c | 2 +-
2257 drivers/staging/i4l/icn/icn.c | 2 +-
2258 drivers/staging/iio/accel/lis3l02dq_ring.c | 2 +-
2259 drivers/staging/iio/adc/ad7280a.c | 4 +-
2260 .../staging/lustre/lnet/klnds/socklnd/socklnd.h | 6 +-
2261 drivers/staging/lustre/lnet/selftest/brw_test.c | 12 +-
2262 drivers/staging/lustre/lnet/selftest/framework.c | 2 -
2263 drivers/staging/lustre/lnet/selftest/ping_test.c | 14 +-
2264 drivers/staging/lustre/lnet/selftest/selftest.h | 2 -
2265 .../lustre/lustre/include/lustre/lustre_idl.h | 82 +-
2266 drivers/staging/lustre/lustre/include/lustre_dlm.h | 8 +-
2267 drivers/staging/lustre/lustre/include/lustre_net.h | 2 +-
2268 drivers/staging/lustre/lustre/include/obd.h | 2 +-
2269 drivers/staging/lustre/lustre/ldlm/ldlm_request.c | 5 +-
2270 drivers/staging/lustre/lustre/llite/dir.c | 2 +-
2271 drivers/staging/lustre/lustre/lov/lov_io.c | 62 +-
2272 drivers/staging/lustre/lustre/obdclass/llog_swab.c | 24 +-
2273 drivers/staging/lustre/lustre/osc/osc_request.c | 24 +-
2274 drivers/staging/lustre/lustre/ptlrpc/layout.c | 7 +-
2275 .../staging/lustre/lustre/ptlrpc/pack_generic.c | 136 +-
2276 drivers/staging/rdma/hfi1/pcie.c | 2 +-
2277 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 18 +-
2278 drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c | 2 +-
2279 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c | 2 +-
2280 drivers/staging/rtl8188eu/include/Hal8188EPhyCfg.h | 8 -
2281 drivers/staging/rtl8188eu/include/hal_intf.h | 5 +-
2282 drivers/staging/rtl8188eu/include/odm_precomp.h | 2 +-
2283 drivers/staging/rtl8188eu/include/recv_osdep.h | 1 -
2284 drivers/staging/rtl8188eu/include/rtl8188e_recv.h | 2 +-
2285 drivers/staging/rtl8188eu/include/rtl8188e_xmit.h | 2 +-
2286 drivers/staging/rtl8188eu/include/rtw_cmd.h | 1 -
2287 drivers/staging/rtl8188eu/include/rtw_eeprom.h | 6 -
2288 drivers/staging/rtl8188eu/include/rtw_ioctl.h | 9 -
2289 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h | 12 +-
2290 drivers/staging/rtl8188eu/include/xmit_osdep.h | 2 +-
2291 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c | 4 +-
2292 drivers/staging/rtl8188eu/os_dep/xmit_linux.c | 2 +-
2293 drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 49 +-
2294 drivers/staging/rtl8192e/rtl8192e/rtl_core.h | 4 +-
2295 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 10 +-
2296 drivers/staging/rtl8192e/rtl8192e/rtl_dm.h | 4 +-
2297 drivers/staging/rtl8192e/rtl8192e/rtl_ps.c | 6 +-
2298 drivers/staging/rtl8192e/rtl8192e/rtl_ps.h | 3 +-
2299 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 48 +-
2300 drivers/staging/rtl8192e/rtllib.h | 4 +-
2301 drivers/staging/rtl8192e/rtllib_softmac.c | 32 +-
2302 drivers/staging/rtl8192e/rtllib_softmac_wx.c | 2 +-
2303 drivers/staging/rtl8192e/rtllib_tx.c | 2 +-
2304 drivers/staging/rtl8192u/ieee80211/ieee80211.h | 2 +-
2305 .../staging/rtl8192u/ieee80211/ieee80211_softmac.c | 6 +-
2306 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c | 2 +-
2307 drivers/staging/rtl8192u/r8192U_core.c | 7 +-
2308 drivers/staging/rtl8712/rtl8712_recv.c | 6 +-
2309 drivers/staging/rtl8712/rtl871x_io.h | 2 +-
2310 drivers/staging/rtl8712/rtl871x_ioctl.h | 14 -
2311 drivers/staging/rtl8712/rtl871x_xmit.c | 2 +-
2312 drivers/staging/rtl8712/rtl871x_xmit.h | 2 +-
2313 drivers/staging/rtl8712/usb_ops_linux.c | 4 +-
2314 drivers/staging/rtl8712/xmit_linux.c | 2 +-
2315 drivers/staging/rtl8712/xmit_osdep.h | 2 +-
2316 drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 12 +-
2317 drivers/staging/rtl8723au/core/rtw_xmit.c | 2 +-
2318 drivers/staging/rtl8723au/hal/rtl8723au_recv.c | 2 +-
2319 drivers/staging/rtl8723au/hal/usb_ops_linux.c | 4 +-
2320 drivers/staging/rtl8723au/include/Hal8723APhyCfg.h | 8 -
2321 drivers/staging/rtl8723au/include/drv_types.h | 2 +-
2322 drivers/staging/rtl8723au/include/hal_intf.h | 2 -
2323 drivers/staging/rtl8723au/include/recv_osdep.h | 1 -
2324 drivers/staging/rtl8723au/include/rtw_ap.h | 2 -
2325 drivers/staging/rtl8723au/include/rtw_cmd.h | 1 -
2326 drivers/staging/rtl8723au/include/rtw_eeprom.h | 7 -
2327 drivers/staging/rtl8723au/include/rtw_mlme_ext.h | 14 +-
2328 drivers/staging/rtl8723au/include/usb_ops.h | 8 +-
2329 drivers/staging/rtl8723au/include/xmit_osdep.h | 2 +-
2330 drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 2 +-
2331 drivers/staging/rtl8723au/os_dep/xmit_linux.c | 2 +-
2332 drivers/staging/sm750fb/sm750.c | 14 +-
2333 drivers/staging/unisys/visorbus/visorbus_private.h | 4 +-
2334 drivers/staging/unisys/visornic/visornic_main.c | 2 +-
2335 drivers/staging/vt6655/rxtx.c | 2 +-
2336 drivers/staging/vt6656/rxtx.c | 2 +-
2337 drivers/staging/wilc1000/linux_wlan.c | 2 +-
2338 drivers/staging/wilc1000/wilc_wlan.h | 2 +-
2339 drivers/staging/wlan-ng/p80211netdev.c | 2 +-
2340 drivers/target/sbp/sbp_target.c | 4 +-
2341 drivers/thermal/cpu_cooling.c | 9 +-
2342 drivers/thermal/devfreq_cooling.c | 19 +-
2343 drivers/thermal/int340x_thermal/int3400_thermal.c | 6 +-
2344 drivers/thermal/of-thermal.c | 17 +-
2345 drivers/thermal/x86_pkg_temp_thermal.c | 2 +-
2346 drivers/tty/cyclades.c | 6 +-
2347 drivers/tty/hvc/hvc_console.c | 14 +-
2348 drivers/tty/hvc/hvcs.c | 21 +-
2349 drivers/tty/hvc/hvsi.c | 22 +-
2350 drivers/tty/hvc/hvsi_lib.c | 4 +-
2351 drivers/tty/ipwireless/tty.c | 27 +-
2352 drivers/tty/moxa.c | 2 +-
2353 drivers/tty/n_gsm.c | 6 +-
2354 drivers/tty/n_tty.c | 28 +-
2355 drivers/tty/pty.c | 4 +-
2356 drivers/tty/rocket.c | 6 +-
2357 drivers/tty/serial/8250/8250_core.c | 10 +-
2358 drivers/tty/serial/8250/8250_pci.c | 2 +-
2359 drivers/tty/serial/ifx6x60.c | 2 +-
2360 drivers/tty/serial/ioc4_serial.c | 6 +-
2361 drivers/tty/serial/jsm/jsm_driver.c | 2 +-
2362 drivers/tty/serial/kgdb_nmi.c | 4 +-
2363 drivers/tty/serial/kgdboc.c | 34 +-
2364 drivers/tty/serial/msm_serial.c | 4 +-
2365 drivers/tty/serial/samsung.c | 9 +-
2366 drivers/tty/serial/serial_core.c | 8 +-
2367 drivers/tty/synclink.c | 34 +-
2368 drivers/tty/synclink_gt.c | 28 +-
2369 drivers/tty/synclinkmp.c | 34 +-
2370 drivers/tty/tty_io.c | 2 +-
2371 drivers/tty/tty_ldisc.c | 8 +-
2372 drivers/tty/tty_port.c | 22 +-
2373 drivers/uio/uio.c | 13 +-
2374 drivers/usb/atm/cxacru.c | 2 +-
2375 drivers/usb/atm/usbatm.c | 24 +-
2376 drivers/usb/class/cdc-acm.h | 2 +-
2377 drivers/usb/core/devices.c | 6 +-
2378 drivers/usb/core/devio.c | 12 +-
2379 drivers/usb/core/hcd.c | 4 +-
2380 drivers/usb/core/sysfs.c | 2 +-
2381 drivers/usb/core/usb.c | 2 +-
2382 drivers/usb/early/ehci-dbgp.c | 16 +-
2383 drivers/usb/gadget/function/f_phonet.c | 2 +-
2384 drivers/usb/gadget/function/u_serial.c | 22 +-
2385 drivers/usb/gadget/udc/dummy_hcd.c | 2 +-
2386 drivers/usb/host/ehci-hcd.c | 2 +-
2387 drivers/usb/host/ehci-hub.c | 4 +-
2388 drivers/usb/host/ehci-q.c | 4 +-
2389 drivers/usb/host/fotg210-hcd.c | 2 +-
2390 drivers/usb/host/hwa-hc.c | 2 +-
2391 drivers/usb/host/ohci-hcd.c | 2 +-
2392 drivers/usb/host/r8a66597.h | 2 +-
2393 drivers/usb/host/uhci-hcd.c | 2 +-
2394 drivers/usb/host/xhci-pci.c | 2 +-
2395 drivers/usb/host/xhci-ring.c | 52 +-
2396 drivers/usb/host/xhci.c | 2 +-
2397 drivers/usb/misc/appledisplay.c | 4 +-
2398 drivers/usb/misc/sisusbvga/sisusb_con.c | 98 +-
2399 drivers/usb/serial/console.c | 8 +-
2400 drivers/usb/storage/transport.c | 2 +-
2401 drivers/usb/storage/usb.c | 2 +-
2402 drivers/usb/storage/usb.h | 2 +-
2403 drivers/usb/usbip/vhci.h | 2 +-
2404 drivers/usb/usbip/vhci_hcd.c | 6 +-
2405 drivers/usb/usbip/vhci_rx.c | 2 +-
2406 drivers/usb/wusbcore/wa-hc.h | 4 +-
2407 drivers/usb/wusbcore/wa-xfer.c | 2 +-
2408 drivers/vfio/pci/vfio_pci.c | 2 +-
2409 drivers/vhost/vringh.c | 20 +-
2410 drivers/video/backlight/kb3886_bl.c | 2 +-
2411 drivers/video/console/dummycon.c | 96 +-
2412 drivers/video/console/fbcon.c | 2 +-
2413 drivers/video/console/vgacon.c | 23 +-
2414 drivers/video/fbdev/aty/aty128fb.c | 2 +-
2415 drivers/video/fbdev/aty/atyfb_base.c | 8 +-
2416 drivers/video/fbdev/aty/mach64_ct.c | 5 +-
2417 drivers/video/fbdev/aty/mach64_cursor.c | 5 +-
2418 drivers/video/fbdev/aty/mach64_gx.c | 17 +-
2419 drivers/video/fbdev/core/fb_defio.c | 8 +-
2420 drivers/video/fbdev/core/fbmem.c | 12 +-
2421 drivers/video/fbdev/hyperv_fb.c | 4 +-
2422 drivers/video/fbdev/i810/i810_accel.c | 1 +
2423 drivers/video/fbdev/matrox/matroxfb_base.c | 2 +-
2424 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c | 16 +-
2425 drivers/video/fbdev/nvidia/nvidia.c | 27 +-
2426 drivers/video/fbdev/omap2/omapfb/dss/display.c | 8 +-
2427 drivers/video/fbdev/s1d13xxxfb.c | 6 +-
2428 drivers/video/fbdev/sis/sis_main.h | 2 +-
2429 drivers/video/fbdev/smscufx.c | 4 +-
2430 drivers/video/fbdev/udlfb.c | 36 +-
2431 drivers/video/fbdev/uvesafb.c | 52 +-
2432 drivers/video/fbdev/vesafb.c | 58 +-
2433 drivers/video/fbdev/via/via_clock.h | 2 +-
2434 drivers/xen/events/events_base.c | 6 +-
2435 drivers/xen/xen-pciback/pci_stub.c | 2 +-
2436 fs/9p/vfs_addr.c | 2 +-
2437 fs/9p/vfs_inode_dotl.c | 4 +-
2438 fs/Kconfig.binfmt | 2 +-
2439 fs/afs/file.c | 8 +-
2440 fs/afs/inode.c | 4 +-
2441 fs/afs/internal.h | 4 +-
2442 fs/aio.c | 2 +-
2443 fs/autofs4/waitq.c | 2 +-
2444 fs/befs/endian.h | 6 +-
2445 fs/binfmt_aout.c | 23 +-
2446 fs/binfmt_elf.c | 670 +-
2447 fs/binfmt_elf_fdpic.c | 4 +-
2448 fs/block_dev.c | 2 +-
2449 fs/btrfs/ctree.c | 11 +-
2450 fs/btrfs/ctree.h | 4 +-
2451 fs/btrfs/delayed-inode.c | 6 +-
2452 fs/btrfs/delayed-inode.h | 4 +-
2453 fs/btrfs/delayed-ref.c | 4 +-
2454 fs/btrfs/disk-io.c | 4 +-
2455 fs/btrfs/extent_map.c | 8 +-
2456 fs/btrfs/file.c | 4 +-
2457 fs/btrfs/free-space-cache.h | 1 +
2458 fs/btrfs/raid56.c | 30 +-
2459 fs/btrfs/super.c | 2 +-
2460 fs/btrfs/sysfs.c | 2 +-
2461 fs/btrfs/tests/btrfs-tests.c | 2 +-
2462 fs/btrfs/tests/free-space-tests.c | 2 +-
2463 fs/btrfs/transaction.c | 2 +-
2464 fs/btrfs/tree-log.c | 8 +-
2465 fs/btrfs/tree-log.h | 2 +-
2466 fs/btrfs/volumes.c | 14 +-
2467 fs/btrfs/volumes.h | 22 +-
2468 fs/buffer.c | 2 +-
2469 fs/cachefiles/bind.c | 6 +-
2470 fs/cachefiles/daemon.c | 12 +-
2471 fs/cachefiles/internal.h | 16 +-
2472 fs/cachefiles/namei.c | 6 +-
2473 fs/cachefiles/proc.c | 12 +-
2474 fs/ceph/dir.c | 12 +-
2475 fs/ceph/super.c | 4 +-
2476 fs/cifs/cifs_debug.c | 12 +-
2477 fs/cifs/cifsfs.c | 8 +-
2478 fs/cifs/cifsglob.h | 54 +-
2479 fs/cifs/file.c | 14 +-
2480 fs/cifs/misc.c | 4 +-
2481 fs/cifs/smb1ops.c | 80 +-
2482 fs/cifs/smb2ops.c | 84 +-
2483 fs/cifs/smb2pdu.c | 3 +-
2484 fs/coda/cache.c | 10 +-
2485 fs/coda/dir.c | 5 +-
2486 fs/compat.c | 9 +-
2487 fs/compat_binfmt_elf.c | 2 +
2488 fs/compat_ioctl.c | 12 +-
2489 fs/configfs/dir.c | 10 +-
2490 fs/coredump.c | 18 +-
2491 fs/dcache.c | 64 +-
2492 fs/ecryptfs/inode.c | 2 +-
2493 fs/ecryptfs/miscdev.c | 2 +-
2494 fs/exec.c | 370 +-
2495 fs/exofs/inode.c | 7 +-
2496 fs/ext2/xattr.c | 5 +-
2497 fs/ext4/ext4.h | 20 +-
2498 fs/ext4/mballoc.c | 44 +-
2499 fs/ext4/resize.c | 16 +-
2500 fs/ext4/super.c | 2 +-
2501 fs/ext4/sysfs.c | 2 +-
2502 fs/ext4/xattr.c | 5 +-
2503 fs/fhandle.c | 5 +-
2504 fs/file.c | 18 +-
2505 fs/freevxfs/vxfs_inode.c | 8 +-
2506 fs/freevxfs/vxfs_inode.h | 4 +-
2507 fs/fs-writeback.c | 11 +-
2508 fs/fs_struct.c | 8 +-
2509 fs/fscache/cookie.c | 40 +-
2510 fs/fscache/internal.h | 202 +-
2511 fs/fscache/object.c | 26 +-
2512 fs/fscache/operation.c | 38 +-
2513 fs/fscache/page.c | 110 +-
2514 fs/fscache/stats.c | 348 +-
2515 fs/fuse/cuse.c | 10 +-
2516 fs/fuse/dev.c | 4 +-
2517 fs/fuse/file.c | 4 +-
2518 fs/fuse/inode.c | 4 +-
2519 fs/gfs2/aops.c | 2 +-
2520 fs/gfs2/file.c | 2 +-
2521 fs/gfs2/glock.c | 22 +-
2522 fs/gfs2/glops.c | 4 +-
2523 fs/gfs2/quota.c | 6 +-
2524 fs/hugetlbfs/inode.c | 13 +-
2525 fs/inode.c | 4 +-
2526 fs/jbd2/commit.c | 2 +-
2527 fs/jbd2/transaction.c | 4 +-
2528 fs/jffs2/erase.c | 3 +-
2529 fs/jffs2/file.c | 5 +-
2530 fs/jffs2/fs.c | 2 +-
2531 fs/jffs2/os-linux.h | 2 +-
2532 fs/jffs2/wbuf.c | 3 +-
2533 fs/jfs/super.c | 2 +-
2534 fs/kernfs/dir.c | 2 +-
2535 fs/kernfs/file.c | 20 +-
2536 fs/libfs.c | 10 +-
2537 fs/lockd/clnt4xdr.c | 46 +-
2538 fs/lockd/clntproc.c | 4 +-
2539 fs/lockd/clntxdr.c | 44 +-
2540 fs/lockd/mon.c | 24 +-
2541 fs/lockd/svc.c | 2 +-
2542 fs/lockd/svc4proc.c | 69 +-
2543 fs/lockd/svcproc.c | 75 +-
2544 fs/lockd/xdr.c | 44 +-
2545 fs/lockd/xdr4.c | 41 +-
2546 fs/logfs/dev_bdev.c | 13 +-
2547 fs/logfs/dev_mtd.c | 13 +-
2548 fs/logfs/dir.c | 4 +-
2549 fs/logfs/logfs.h | 5 +-
2550 fs/logfs/readwrite.c | 2 +-
2551 fs/logfs/segment.c | 2 +-
2552 fs/logfs/super.c | 39 -
2553 fs/namei.c | 14 +-
2554 fs/namespace.c | 15 +-
2555 fs/nfs/callback.h | 18 +-
2556 fs/nfs/callback_proc.c | 26 +-
2557 fs/nfs/callback_xdr.c | 73 +-
2558 fs/nfs/dir.c | 5 +-
2559 fs/nfs/inode.c | 6 +-
2560 fs/nfs/internal.h | 5 +-
2561 fs/nfs/mount_clnt.c | 26 +-
2562 fs/nfs/nfs2xdr.c | 101 +-
2563 fs/nfs/nfs3xdr.c | 201 +-
2564 fs/nfs/nfs42xdr.c | 60 +-
2565 fs/nfs/nfs4xdr.c | 507 +-
2566 fs/nfs/read.c | 2 +-
2567 fs/nfs/symlink.c | 6 +-
2568 fs/nfsd/current_stateid.h | 24 +-
2569 fs/nfsd/nfs2acl.c | 85 +-
2570 fs/nfsd/nfs3acl.c | 44 +-
2571 fs/nfsd/nfs3proc.c | 271 +-
2572 fs/nfsd/nfs3xdr.c | 171 +-
2573 fs/nfsd/nfs4callback.c | 31 +-
2574 fs/nfsd/nfs4proc.c | 320 +-
2575 fs/nfsd/nfs4state.c | 111 +-
2576 fs/nfsd/nfs4xdr.c | 564 +-
2577 fs/nfsd/nfscache.c | 11 +-
2578 fs/nfsd/nfsproc.c | 193 +-
2579 fs/nfsd/nfsxdr.c | 96 +-
2580 fs/nfsd/vfs.c | 6 +-
2581 fs/nfsd/xdr.h | 50 +-
2582 fs/nfsd/xdr3.h | 100 +-
2583 fs/nfsd/xdr4.h | 50 +-
2584 fs/nls/nls_base.c | 26 +-
2585 fs/nls/nls_cp932.c | 2 +-
2586 fs/nls/nls_cp936.c | 2 +-
2587 fs/nls/nls_cp949.c | 2 +-
2588 fs/nls/nls_cp950.c | 2 +-
2589 fs/nls/nls_euc-jp.c | 8 +-
2590 fs/nls/nls_koi8-ru.c | 8 +-
2591 fs/notify/fanotify/fanotify_user.c | 4 +-
2592 fs/notify/notification.c | 4 +-
2593 fs/ntfs/dir.c | 4 +-
2594 fs/ntfs/inode.c | 19 +-
2595 fs/ntfs/inode.h | 4 +-
2596 fs/ntfs/mft.c | 4 +-
2597 fs/ntfs/super.c | 8 +-
2598 fs/ocfs2/dlm/dlmcommon.h | 4 +-
2599 fs/ocfs2/dlm/dlmdebug.c | 10 +-
2600 fs/ocfs2/dlm/dlmdomain.c | 4 +-
2601 fs/ocfs2/dlm/dlmmaster.c | 4 +-
2602 fs/ocfs2/dlmfs/dlmfs.c | 4 +-
2603 fs/ocfs2/filecheck.c | 2 +-
2604 fs/ocfs2/localalloc.c | 2 +-
2605 fs/ocfs2/ocfs2.h | 10 +-
2606 fs/ocfs2/suballoc.c | 12 +-
2607 fs/ocfs2/super.c | 20 +-
2608 fs/overlayfs/copy_up.c | 2 +-
2609 fs/pipe.c | 72 +-
2610 fs/posix_acl.c | 4 +-
2611 fs/proc/array.c | 20 +
2612 fs/proc/base.c | 7 +-
2613 fs/proc/kcore.c | 36 +-
2614 fs/proc/meminfo.c | 2 +-
2615 fs/proc/nommu.c | 2 +-
2616 fs/proc/proc_net.c | 2 +-
2617 fs/proc/proc_sysctl.c | 26 +-
2618 fs/proc/task_mmu.c | 39 +-
2619 fs/proc/task_nommu.c | 6 +-
2620 fs/proc/vmcore.c | 16 +-
2621 fs/qnx6/qnx6.h | 4 +-
2622 fs/quota/netlink.c | 4 +-
2623 fs/read_write.c | 34 +-
2624 fs/readdir.c | 3 +-
2625 fs/reiserfs/do_balan.c | 2 +-
2626 fs/reiserfs/procfs.c | 2 +-
2627 fs/reiserfs/reiserfs.h | 4 +-
2628 fs/select.c | 2 +-
2629 fs/seq_file.c | 4 +-
2630 fs/splice.c | 43 +-
2631 fs/squashfs/xattr.c | 10 +-
2632 fs/super.c | 3 +-
2633 fs/sysv/sysv.h | 2 +-
2634 fs/tracefs/inode.c | 8 +-
2635 fs/ubifs/find.c | 34 +-
2636 fs/ubifs/lprops.c | 5 +-
2637 fs/udf/misc.c | 2 +-
2638 fs/ufs/swab.h | 4 +-
2639 fs/userfaultfd.c | 2 +-
2640 fs/xattr.c | 21 +
2641 fs/xfs/libxfs/xfs_bmap.c | 2 +-
2642 fs/xfs/libxfs/xfs_da_btree.c | 4 +-
2643 fs/xfs/xfs_dir2_readdir.c | 7 +-
2644 fs/xfs/xfs_ioctl.c | 2 +-
2645 fs/xfs/xfs_linux.h | 4 +-
2646 include/acpi/ghes.h | 2 +-
2647 include/asm-generic/4level-fixup.h | 2 +
2648 include/asm-generic/atomic-long.h | 186 +-
2649 include/asm-generic/atomic64.h | 12 +
2650 include/asm-generic/bitops/__fls.h | 2 +-
2651 include/asm-generic/bitops/fls.h | 2 +-
2652 include/asm-generic/bitops/fls64.h | 4 +-
2653 include/asm-generic/bug.h | 6 +-
2654 include/asm-generic/cache.h | 4 +-
2655 include/asm-generic/emergency-restart.h | 2 +-
2656 include/asm-generic/kmap_types.h | 4 +-
2657 include/asm-generic/local.h | 13 +
2658 include/asm-generic/pgtable-nopmd.h | 18 +-
2659 include/asm-generic/pgtable-nopud.h | 15 +-
2660 include/asm-generic/pgtable.h | 16 +
2661 include/asm-generic/sections.h | 1 +
2662 include/asm-generic/uaccess.h | 16 +
2663 include/asm-generic/vmlinux.lds.h | 15 +-
2664 include/crypto/algapi.h | 2 +-
2665 include/crypto/cast6.h | 4 +-
2666 include/crypto/serpent.h | 4 +-
2667 include/crypto/xts.h | 2 +-
2668 include/drm/drmP.h | 19 +-
2669 include/drm/drm_mm.h | 2 +-
2670 include/drm/drm_modeset_helper_vtables.h | 2 +-
2671 include/drm/i915_pciids.h | 2 +-
2672 include/drm/intel-gtt.h | 4 +-
2673 include/drm/ttm/ttm_memory.h | 2 +-
2674 include/drm/ttm/ttm_page_alloc.h | 1 +
2675 include/keys/asymmetric-subtype.h | 2 +-
2676 include/keys/encrypted-type.h | 2 +-
2677 include/keys/rxrpc-type.h | 2 +-
2678 include/keys/user-type.h | 2 +-
2679 include/linux/atmdev.h | 4 +-
2680 include/linux/atomic.h | 12 +-
2681 include/linux/audit.h | 2 +-
2682 include/linux/average.h | 2 +-
2683 include/linux/binfmts.h | 3 +-
2684 include/linux/bitmap.h | 2 +-
2685 include/linux/bitops.h | 8 +-
2686 include/linux/blk-cgroup.h | 24 +-
2687 include/linux/blkdev.h | 2 +-
2688 include/linux/blktrace_api.h | 2 +-
2689 include/linux/cache.h | 9 +
2690 include/linux/cdrom.h | 1 -
2691 include/linux/cgroup-defs.h | 2 +-
2692 include/linux/cleancache.h | 2 +-
2693 include/linux/clk-provider.h | 1 +
2694 include/linux/compat.h | 15 +-
2695 include/linux/compiler-gcc.h | 33 +-
2696 include/linux/compiler.h | 197 +-
2697 include/linux/configfs.h | 2 +-
2698 include/linux/cpufreq.h | 7 +-
2699 include/linux/cpuidle.h | 5 +-
2700 include/linux/cpumask.h | 14 +-
2701 include/linux/crypto.h | 4 +-
2702 include/linux/ctype.h | 2 +-
2703 include/linux/dcache.h | 4 +-
2704 include/linux/decompress/mm.h | 2 +-
2705 include/linux/devfreq.h | 2 +-
2706 include/linux/device.h | 7 +-
2707 include/linux/dma-mapping.h | 2 +-
2708 include/linux/efi.h | 1 +
2709 include/linux/elf.h | 2 +
2710 include/linux/err.h | 4 +-
2711 include/linux/extcon.h | 2 +-
2712 include/linux/fb.h | 3 +-
2713 include/linux/fdtable.h | 2 +-
2714 include/linux/firewire.h | 2 +-
2715 include/linux/fs.h | 5 +-
2716 include/linux/fs_struct.h | 2 +-
2717 include/linux/fscache-cache.h | 2 +-
2718 include/linux/fscache.h | 2 +-
2719 include/linux/fsnotify.h | 2 +-
2720 include/linux/genhd.h | 4 +-
2721 include/linux/genl_magic_func.h | 2 +-
2722 include/linux/genl_magic_struct.h | 4 +-
2723 include/linux/gfp.h | 14 +-
2724 include/linux/highmem.h | 12 +
2725 include/linux/hugetlb.h | 2 +-
2726 include/linux/hugetlb_cgroup.h | 11 +
2727 include/linux/hwmon-sysfs.h | 6 +-
2728 include/linux/i2c.h | 1 +
2729 include/linux/if_pppox.h | 2 +-
2730 include/linux/init.h | 10 +-
2731 include/linux/init_task.h | 7 +
2732 include/linux/interrupt.h | 6 +-
2733 include/linux/iommu.h | 2 +-
2734 include/linux/ioport.h | 2 +-
2735 include/linux/ipc.h | 2 +-
2736 include/linux/irq.h | 5 +-
2737 include/linux/irqdesc.h | 2 +-
2738 include/linux/irqdomain.h | 3 +
2739 include/linux/jbd2.h | 2 +-
2740 include/linux/jiffies.h | 16 +-
2741 include/linux/kallsyms.h | 18 +-
2742 include/linux/key-type.h | 2 +-
2743 include/linux/kgdb.h | 6 +-
2744 include/linux/kmemleak.h | 4 +-
2745 include/linux/kobject.h | 3 +-
2746 include/linux/kobject_ns.h | 2 +-
2747 include/linux/kref.h | 2 +-
2748 include/linux/libata.h | 2 +-
2749 include/linux/linkage.h | 22 +-
2750 include/linux/list.h | 15 +
2751 include/linux/lockd/xdr.h | 34 +-
2752 include/linux/lockd/xdr4.h | 34 +-
2753 include/linux/lockref.h | 26 +-
2754 include/linux/math64.h | 10 +-
2755 include/linux/memcontrol.h | 2 +-
2756 include/linux/memory.h | 2 +-
2757 include/linux/mempolicy.h | 7 +
2758 include/linux/mm.h | 98 +-
2759 include/linux/mm_types.h | 20 +
2760 include/linux/mmiotrace.h | 4 +-
2761 include/linux/mmzone.h | 2 +-
2762 include/linux/mod_devicetable.h | 4 +-
2763 include/linux/module.h | 58 +-
2764 include/linux/moduleloader.h | 16 +
2765 include/linux/moduleparam.h | 12 +-
2766 include/linux/net.h | 2 +-
2767 include/linux/netdevice.h | 11 +-
2768 include/linux/netfilter.h | 2 +-
2769 include/linux/netfilter/ipset/ip_set_comment.h | 3 +-
2770 include/linux/netfilter/nfnetlink.h | 2 +-
2771 include/linux/netlink.h | 12 +-
2772 include/linux/nls.h | 4 +-
2773 include/linux/notifier.h | 3 +-
2774 include/linux/oprofile.h | 4 +-
2775 include/linux/padata.h | 2 +-
2776 include/linux/pagemap.h | 4 +-
2777 include/linux/pci_hotplug.h | 3 +-
2778 include/linux/percpu.h | 2 +-
2779 include/linux/perf_event.h | 12 +-
2780 include/linux/pid.h | 4 +-
2781 include/linux/pipe_fs_i.h | 8 +-
2782 include/linux/pm.h | 1 +
2783 include/linux/pm_domain.h | 2 +-
2784 include/linux/pm_runtime.h | 2 +-
2785 include/linux/pnp.h | 2 +-
2786 include/linux/poison.h | 4 +-
2787 include/linux/power/smartreflex.h | 2 +-
2788 include/linux/ppp-comp.h | 2 +-
2789 include/linux/preempt.h | 21 +
2790 include/linux/printk.h | 2 +-
2791 include/linux/proc_ns.h | 2 +-
2792 include/linux/psci.h | 2 +-
2793 include/linux/quota.h | 2 +-
2794 include/linux/random.h | 19 +-
2795 include/linux/rculist.h | 16 +
2796 include/linux/rcupdate.h | 8 +
2797 include/linux/reboot.h | 14 +-
2798 include/linux/regset.h | 3 +-
2799 include/linux/relay.h | 2 +-
2800 include/linux/rio.h | 2 +-
2801 include/linux/rmap.h | 4 +-
2802 include/linux/sched.h | 76 +-
2803 include/linux/scif.h | 2 +-
2804 include/linux/semaphore.h | 2 +-
2805 include/linux/seq_buf.h | 4 +-
2806 include/linux/seq_file.h | 1 +
2807 include/linux/seqlock.h | 10 +
2808 include/linux/signal.h | 2 +-
2809 include/linux/skbuff.h | 12 +-
2810 include/linux/slab.h | 47 +-
2811 include/linux/slab_def.h | 14 +-
2812 include/linux/slub_def.h | 2 +-
2813 include/linux/smp.h | 2 +
2814 include/linux/sock_diag.h | 2 +-
2815 include/linux/sonet.h | 2 +-
2816 include/linux/spinlock.h | 17 +-
2817 include/linux/srcu.h | 5 +-
2818 include/linux/string.h | 70 +-
2819 include/linux/sunrpc/addr.h | 8 +-
2820 include/linux/sunrpc/clnt.h | 2 +-
2821 include/linux/sunrpc/svc.h | 2 +-
2822 include/linux/sunrpc/svc_rdma.h | 18 +-
2823 include/linux/sunrpc/svcauth.h | 2 +-
2824 include/linux/swapops.h | 10 +-
2825 include/linux/swiotlb.h | 3 +-
2826 include/linux/syscalls.h | 36 +-
2827 include/linux/syscore_ops.h | 2 +-
2828 include/linux/sysctl.h | 3 +-
2829 include/linux/sysfs.h | 11 +-
2830 include/linux/sysrq.h | 3 +-
2831 include/linux/tcp.h | 14 +-
2832 include/linux/thread_info.h | 7 +
2833 include/linux/tty.h | 4 +-
2834 include/linux/tty_driver.h | 2 +-
2835 include/linux/tty_ldisc.h | 2 +-
2836 include/linux/types.h | 18 +
2837 include/linux/uaccess.h | 2 +-
2838 include/linux/uio_driver.h | 2 +-
2839 include/linux/unaligned/access_ok.h | 24 +-
2840 include/linux/usb.h | 12 +-
2841 include/linux/usb/hcd.h | 1 +
2842 include/linux/usb/renesas_usbhs.h | 2 +-
2843 include/linux/vermagic.h | 21 +-
2844 include/linux/vga_switcheroo.h | 8 +-
2845 include/linux/vmalloc.h | 7 +-
2846 include/linux/vmstat.h | 24 +-
2847 include/linux/writeback.h | 3 +-
2848 include/linux/xattr.h | 5 +-
2849 include/linux/zlib.h | 3 +-
2850 include/media/v4l2-dev.h | 2 +-
2851 include/media/v4l2-device.h | 2 +-
2852 include/net/9p/transport.h | 2 +-
2853 include/net/bluetooth/l2cap.h | 2 +-
2854 include/net/bonding.h | 2 +-
2855 include/net/caif/cfctrl.h | 6 +-
2856 include/net/cfg80211-wext.h | 20 +-
2857 include/net/cfg802154.h | 2 +-
2858 include/net/fib_rules.h | 3 +-
2859 include/net/flow.h | 2 +-
2860 include/net/genetlink.h | 2 +-
2861 include/net/gro_cells.h | 2 +-
2862 include/net/inet_connection_sock.h | 2 +-
2863 include/net/inet_sock.h | 2 +-
2864 include/net/inetpeer.h | 2 +-
2865 include/net/ip_fib.h | 2 +-
2866 include/net/ip_vs.h | 8 +-
2867 include/net/ipv6.h | 2 +-
2868 include/net/irda/ircomm_tty.h | 1 +
2869 include/net/irda/irias_object.h | 2 +-
2870 include/net/irda/irlmp.h | 1 +
2871 include/net/irda/irlmp_event.h | 6 +-
2872 include/net/irda/timer.h | 6 +-
2873 include/net/iucv/af_iucv.h | 2 +-
2874 include/net/llc_c_ac.h | 2 +-
2875 include/net/llc_c_ev.h | 4 +-
2876 include/net/llc_c_st.h | 2 +-
2877 include/net/llc_s_ac.h | 2 +-
2878 include/net/llc_s_st.h | 2 +-
2879 include/net/mac80211.h | 6 +-
2880 include/net/neighbour.h | 4 +-
2881 include/net/net_namespace.h | 18 +-
2882 include/net/netfilter/nf_conntrack.h | 2 +-
2883 include/net/netlink.h | 2 +-
2884 include/net/netns/conntrack.h | 6 +-
2885 include/net/netns/ipv4.h | 4 +-
2886 include/net/netns/ipv6.h | 4 +-
2887 include/net/netns/xfrm.h | 2 +-
2888 include/net/ping.h | 2 +-
2889 include/net/protocol.h | 4 +-
2890 include/net/rtnetlink.h | 2 +-
2891 include/net/sctp/checksum.h | 4 +-
2892 include/net/sctp/sm.h | 4 +-
2893 include/net/sctp/structs.h | 2 +-
2894 include/net/snmp.h | 10 +-
2895 include/net/sock.h | 12 +-
2896 include/net/tcp.h | 8 +-
2897 include/net/xfrm.h | 15 +-
2898 include/rdma/ib_cm.h | 8 +-
2899 include/scsi/libfc.h | 3 +-
2900 include/scsi/scsi_device.h | 6 +-
2901 include/scsi/scsi_driver.h | 2 +-
2902 include/scsi/scsi_transport_fc.h | 3 +-
2903 include/scsi/sg.h | 2 +-
2904 include/sound/compress_driver.h | 2 +-
2905 include/sound/control.h | 4 +-
2906 include/sound/pcm.h | 2 +-
2907 include/sound/rawmidi.h | 3 +-
2908 include/sound/seq_kernel.h | 2 +-
2909 include/sound/soc.h | 4 +-
2910 include/trace/events/irq.h | 4 +-
2911 include/trace/events/mmflags.h | 7 +
2912 include/uapi/linux/a.out.h | 8 +
2913 include/uapi/linux/bcache.h | 5 +-
2914 include/uapi/linux/byteorder/little_endian.h | 28 +-
2915 include/uapi/linux/connector.h | 2 +-
2916 include/uapi/linux/elf.h | 28 +
2917 include/uapi/linux/screen_info.h | 2 +-
2918 include/uapi/linux/swab.h | 6 +-
2919 include/uapi/linux/xattr.h | 5 +
2920 include/video/udlfb.h | 8 +-
2921 include/video/uvesafb.h | 1 +
2922 init/Kconfig | 2 +-
2923 init/do_mounts.c | 16 +-
2924 init/do_mounts.h | 8 +-
2925 init/do_mounts_initrd.c | 30 +-
2926 init/do_mounts_md.c | 6 +-
2927 init/init_task.c | 4 +
2928 init/initramfs.c | 38 +-
2929 init/main.c | 30 +-
2930 ipc/compat.c | 4 +-
2931 ipc/ipc_sysctl.c | 14 +-
2932 ipc/mq_sysctl.c | 4 +-
2933 ipc/sem.c | 4 +-
2934 ipc/shm.c | 8 +-
2935 kernel/audit.c | 10 +-
2936 kernel/auditsc.c | 4 +-
2937 kernel/bpf/core.c | 28 +-
2938 kernel/capability.c | 3 +
2939 kernel/cgroup.c | 29 +-
2940 kernel/compat.c | 38 +-
2941 kernel/debug/debug_core.c | 16 +-
2942 kernel/debug/kdb/kdb_main.c | 4 +-
2943 kernel/events/core.c | 36 +-
2944 kernel/events/internal.h | 10 +-
2945 kernel/events/uprobes.c | 2 +-
2946 kernel/exit.c | 27 +-
2947 kernel/fork.c | 175 +-
2948 kernel/futex.c | 11 +-
2949 kernel/futex_compat.c | 2 +-
2950 kernel/irq/manage.c | 2 +-
2951 kernel/irq/msi.c | 19 +-
2952 kernel/irq/spurious.c | 2 +-
2953 kernel/jump_label.c | 5 +
2954 kernel/kallsyms.c | 40 +-
2955 kernel/kexec.c | 3 +-
2956 kernel/kmod.c | 8 +-
2957 kernel/kprobes.c | 4 +-
2958 kernel/ksysfs.c | 2 +-
2959 kernel/locking/lockdep.c | 7 +-
2960 kernel/locking/mutex-debug.c | 12 +-
2961 kernel/locking/mutex-debug.h | 4 +-
2962 kernel/locking/mutex.c | 6 +-
2963 kernel/module.c | 405 +-
2964 kernel/notifier.c | 17 +-
2965 kernel/padata.c | 4 +-
2966 kernel/panic.c | 11 +-
2967 kernel/pid.c | 8 +-
2968 kernel/pid_namespace.c | 2 +-
2969 kernel/power/process.c | 12 +-
2970 kernel/profile.c | 14 +-
2971 kernel/ptrace.c | 8 +-
2972 kernel/rcu/rcutorture.c | 60 +-
2973 kernel/rcu/tiny.c | 4 +-
2974 kernel/rcu/tree.c | 42 +-
2975 kernel/rcu/tree.h | 16 +-
2976 kernel/rcu/tree_plugin.h | 18 +-
2977 kernel/rcu/tree_trace.c | 14 +-
2978 kernel/resource.c | 4 +-
2979 kernel/sched/auto_group.c | 4 +-
2980 kernel/sched/core.c | 8 +-
2981 kernel/sched/deadline.c | 4 +-
2982 kernel/sched/debug.c | 43 +-
2983 kernel/sched/fair.c | 2 +-
2984 kernel/sched/rt.c | 4 +-
2985 kernel/sched/sched.h | 13 +-
2986 kernel/signal.c | 28 +-
2987 kernel/smp.c | 2 +-
2988 kernel/smpboot.c | 7 +-
2989 kernel/softirq.c | 12 +-
2990 kernel/stop_machine.c | 2 +-
2991 kernel/sys.c | 10 +-
2992 kernel/sys_ni.c | 4 +-
2993 kernel/sysctl.c | 34 +-
2994 kernel/time/alarmtimer.c | 4 +-
2995 kernel/time/posix-clock.c | 8 +-
2996 kernel/time/posix-cpu-timers.c | 4 +-
2997 kernel/time/posix-timers.c | 36 +-
2998 kernel/time/timer.c | 2 +-
2999 kernel/time/timer_stats.c | 10 +-
3000 kernel/trace/blktrace.c | 6 +-
3001 kernel/trace/ftrace.c | 33 +-
3002 kernel/trace/ring_buffer.c | 96 +-
3003 kernel/trace/trace.c | 2 +-
3004 kernel/trace/trace.h | 2 +-
3005 kernel/trace/trace_clock.c | 4 +-
3006 kernel/trace/trace_events.c | 1 -
3007 kernel/trace/trace_functions_graph.c | 4 +-
3008 kernel/trace/trace_mmiotrace.c | 8 +-
3009 kernel/trace/trace_output.c | 10 +-
3010 kernel/trace/trace_seq.c | 2 +-
3011 kernel/trace/trace_stack.c | 2 +-
3012 kernel/user.c | 2 +-
3013 kernel/user_namespace.c | 2 +-
3014 kernel/utsname_sysctl.c | 2 +-
3015 kernel/watchdog.c | 2 +-
3016 kernel/workqueue.c | 8 +-
3017 lib/Kconfig.debug | 8 +-
3018 lib/Makefile | 2 +-
3019 lib/bitmap.c | 8 +-
3020 lib/bug.c | 2 +
3021 lib/debugobjects.c | 2 +-
3022 lib/decompress_bunzip2.c | 3 +-
3023 lib/decompress_unlzma.c | 4 +-
3024 lib/div64.c | 4 +-
3025 lib/dma-debug.c | 4 +-
3026 lib/extable.c | 11 +-
3027 lib/inflate.c | 2 +-
3028 lib/ioremap.c | 4 +-
3029 lib/irq_poll.c | 2 +-
3030 lib/kobject.c | 4 +-
3031 lib/list_debug.c | 126 +-
3032 lib/lockref.c | 44 +-
3033 lib/percpu-refcount.c | 2 +-
3034 lib/radix-tree.c | 2 +-
3035 lib/random32.c | 2 +-
3036 lib/rhashtable.c | 4 +-
3037 lib/seq_buf.c | 4 +-
3038 lib/show_mem.c | 2 +-
3039 lib/strncpy_from_user.c | 2 +-
3040 lib/strnlen_user.c | 2 +-
3041 lib/swiotlb.c | 2 +-
3042 lib/usercopy.c | 6 +
3043 lib/vsprintf.c | 12 +-
3044 mm/Kconfig | 6 +-
3045 mm/backing-dev.c | 4 +-
3046 mm/fadvise.c | 2 +-
3047 mm/filemap.c | 8 +-
3048 mm/gup.c | 13 +-
3049 mm/highmem.c | 6 +-
3050 mm/hugetlb.c | 125 +-
3051 mm/hugetlb_cgroup.c | 60 +-
3052 mm/internal.h | 3 +-
3053 mm/maccess.c | 12 +-
3054 mm/madvise.c | 37 +
3055 mm/memcontrol.c | 6 +-
3056 mm/memory-failure.c | 6 +-
3057 mm/memory.c | 424 +-
3058 mm/mempolicy.c | 25 +
3059 mm/mlock.c | 18 +-
3060 mm/mm_init.c | 2 +-
3061 mm/mmap.c | 572 +-
3062 mm/mprotect.c | 137 +-
3063 mm/mremap.c | 39 +-
3064 mm/nommu.c | 21 +-
3065 mm/page-writeback.c | 2 +-
3066 mm/page_alloc.c | 61 +-
3067 mm/percpu.c | 2 +-
3068 mm/process_vm_access.c | 14 +-
3069 mm/readahead.c | 2 +-
3070 mm/rmap.c | 43 +-
3071 mm/shmem.c | 35 +-
3072 mm/slab.c | 113 +-
3073 mm/slab.h | 37 +-
3074 mm/slab_common.c | 79 +-
3075 mm/slob.c | 220 +-
3076 mm/slub.c | 111 +-
3077 mm/sparse-vmemmap.c | 4 +-
3078 mm/sparse.c | 2 +-
3079 mm/swap.c | 7 +
3080 mm/swapfile.c | 12 +-
3081 mm/util.c | 7 +
3082 mm/vmalloc.c | 116 +-
3083 mm/vmstat.c | 12 +-
3084 net/8021q/vlan.c | 5 +-
3085 net/8021q/vlan_netlink.c | 2 +-
3086 net/9p/mod.c | 4 +-
3087 net/9p/trans_fd.c | 2 +-
3088 net/atm/atm_misc.c | 8 +-
3089 net/atm/lec.h | 2 +-
3090 net/atm/proc.c | 6 +-
3091 net/atm/resources.c | 4 +-
3092 net/ax25/sysctl_net_ax25.c | 2 +-
3093 net/batman-adv/bat_iv_ogm.c | 8 +-
3094 net/batman-adv/fragmentation.c | 2 +-
3095 net/batman-adv/routing.c | 4 +-
3096 net/batman-adv/soft-interface.c | 12 +-
3097 net/batman-adv/sysfs.c | 48 +-
3098 net/batman-adv/sysfs.h | 4 +-
3099 net/batman-adv/translation-table.c | 14 +-
3100 net/batman-adv/types.h | 8 +-
3101 net/bluetooth/hci_sock.c | 2 +-
3102 net/bluetooth/l2cap_core.c | 6 +-
3103 net/bluetooth/l2cap_sock.c | 12 +-
3104 net/bluetooth/rfcomm/sock.c | 4 +-
3105 net/bluetooth/rfcomm/tty.c | 4 +-
3106 net/bridge/br_netfilter_hooks.c | 4 +-
3107 net/bridge/br_netlink.c | 2 +-
3108 net/bridge/netfilter/ebtables.c | 6 +-
3109 net/caif/cfctrl.c | 11 +-
3110 net/caif/chnl_net.c | 4 +-
3111 net/can/af_can.c | 2 +-
3112 net/can/gw.c | 6 +-
3113 net/ceph/ceph_common.c | 2 +-
3114 net/ceph/messenger.c | 4 +-
3115 net/compat.c | 26 +-
3116 net/core/datagram.c | 2 +-
3117 net/core/dev.c | 24 +-
3118 net/core/filter.c | 2 +-
3119 net/core/flow.c | 8 +-
3120 net/core/neighbour.c | 18 +-
3121 net/core/net-procfs.c | 4 +-
3122 net/core/net-sysfs.c | 2 +-
3123 net/core/net_namespace.c | 10 +-
3124 net/core/netpoll.c | 4 +-
3125 net/core/rtnetlink.c | 17 +-
3126 net/core/scm.c | 12 +-
3127 net/core/skbuff.c | 11 +-
3128 net/core/sock.c | 30 +-
3129 net/core/sock_diag.c | 15 +-
3130 net/core/sysctl_net_core.c | 22 +-
3131 net/decnet/af_decnet.c | 1 +
3132 net/decnet/sysctl_net_decnet.c | 4 +-
3133 net/dsa/dsa.c | 2 +-
3134 net/hsr/hsr_device.c | 2 +-
3135 net/hsr/hsr_netlink.c | 2 +-
3136 net/ieee802154/6lowpan/core.c | 2 +-
3137 net/ieee802154/6lowpan/reassembly.c | 14 +-
3138 net/ieee802154/core.c | 6 +-
3139 net/ipv4/af_inet.c | 6 +-
3140 net/ipv4/arp.c | 2 +-
3141 net/ipv4/devinet.c | 20 +-
3142 net/ipv4/fib_frontend.c | 6 +-
3143 net/ipv4/fib_semantics.c | 2 +-
3144 net/ipv4/icmp.c | 2 +-
3145 net/ipv4/inet_connection_sock.c | 4 +-
3146 net/ipv4/inet_diag.c | 4 +-
3147 net/ipv4/inet_timewait_sock.c | 2 +-
3148 net/ipv4/inetpeer.c | 2 +-
3149 net/ipv4/ip_fragment.c | 17 +-
3150 net/ipv4/ip_gre.c | 6 +-
3151 net/ipv4/ip_sockglue.c | 2 +-
3152 net/ipv4/ip_vti.c | 4 +-
3153 net/ipv4/ipconfig.c | 6 +-
3154 net/ipv4/ipip.c | 4 +-
3155 net/ipv4/netfilter/arp_tables.c | 12 +-
3156 net/ipv4/netfilter/ip_tables.c | 12 +-
3157 net/ipv4/ping.c | 14 +-
3158 net/ipv4/proc.c | 10 +-
3159 net/ipv4/raw.c | 16 +-
3160 net/ipv4/route.c | 40 +-
3161 net/ipv4/sysctl_net_ipv4.c | 24 +-
3162 net/ipv4/tcp_input.c | 6 +-
3163 net/ipv4/tcp_ipv4.c | 2 +-
3164 net/ipv4/tcp_metrics.c | 2 +-
3165 net/ipv4/tcp_probe.c | 2 +-
3166 net/ipv4/udp.c | 10 +-
3167 net/ipv4/xfrm4_mode_transport.c | 2 +-
3168 net/ipv4/xfrm4_policy.c | 19 +-
3169 net/ipv4/xfrm4_state.c | 4 +-
3170 net/ipv6/addrconf.c | 24 +-
3171 net/ipv6/af_inet6.c | 2 +-
3172 net/ipv6/datagram.c | 2 +-
3173 net/ipv6/icmp.c | 2 +-
3174 net/ipv6/inet6_hashtables.c | 2 +-
3175 net/ipv6/ip6_fib.c | 4 +-
3176 net/ipv6/ip6_gre.c | 10 +-
3177 net/ipv6/ip6_tunnel.c | 4 +-
3178 net/ipv6/ip6_vti.c | 4 +-
3179 net/ipv6/ipv6_sockglue.c | 2 +-
3180 net/ipv6/ndisc.c | 2 +-
3181 net/ipv6/netfilter/ip6_tables.c | 12 +-
3182 net/ipv6/netfilter/nf_conntrack_reasm.c | 14 +-
3183 net/ipv6/ping.c | 33 +-
3184 net/ipv6/proc.c | 10 +-
3185 net/ipv6/raw.c | 17 +-
3186 net/ipv6/reassembly.c | 13 +-
3187 net/ipv6/route.c | 2 +-
3188 net/ipv6/sit.c | 4 +-
3189 net/ipv6/sysctl_net_ipv6.c | 2 +-
3190 net/ipv6/udp.c | 6 +-
3191 net/ipv6/xfrm6_mode_transport.c | 2 +-
3192 net/ipv6/xfrm6_policy.c | 17 +-
3193 net/irda/discovery.c | 2 +-
3194 net/irda/ircomm/ircomm_core.c | 13 +-
3195 net/irda/ircomm/ircomm_tty.c | 24 +-
3196 net/irda/ircomm/ircomm_tty_attach.c | 4 +-
3197 net/irda/irda_device.c | 14 +-
3198 net/irda/iriap.c | 14 +-
3199 net/irda/irias_object.c | 10 +-
3200 net/irda/irlan/irlan_client.c | 2 +-
3201 net/irda/irlap.c | 15 +-
3202 net/irda/irlap_event.c | 2 +-
3203 net/irda/irlmp.c | 21 +-
3204 net/irda/irlmp_event.c | 6 +-
3205 net/irda/irnet/irnet.h | 2 +-
3206 net/irda/irnet/irnet_irda.c | 6 +-
3207 net/irda/irttp.c | 8 +-
3208 net/irda/timer.c | 24 +-
3209 net/iucv/af_iucv.c | 4 +-
3210 net/iucv/iucv.c | 2 +-
3211 net/key/af_key.c | 4 +-
3212 net/l2tp/l2tp_eth.c | 40 +-
3213 net/l2tp/l2tp_ip.c | 2 +-
3214 net/l2tp/l2tp_ip6.c | 2 +-
3215 net/mac80211/cfg.c | 12 +-
3216 net/mac80211/debugfs.c | 2 +-
3217 net/mac80211/debugfs_key.c | 6 +-
3218 net/mac80211/ieee80211_i.h | 3 +-
3219 net/mac80211/iface.c | 20 +-
3220 net/mac80211/main.c | 2 +-
3221 net/mac80211/pm.c | 4 +-
3222 net/mac80211/rate.c | 2 +-
3223 net/mac80211/sta_info.c | 2 +-
3224 net/mac80211/tx.c | 2 +-
3225 net/mac80211/util.c | 8 +-
3226 net/mac80211/wpa.c | 12 +-
3227 net/mac802154/iface.c | 6 +-
3228 net/mpls/af_mpls.c | 10 +-
3229 net/netfilter/ipset/ip_set_core.c | 7 +-
3230 net/netfilter/ipvs/ip_vs_conn.c | 6 +-
3231 net/netfilter/ipvs/ip_vs_core.c | 4 +-
3232 net/netfilter/ipvs/ip_vs_ctl.c | 14 +-
3233 net/netfilter/ipvs/ip_vs_lblc.c | 2 +-
3234 net/netfilter/ipvs/ip_vs_lblcr.c | 2 +-
3235 net/netfilter/ipvs/ip_vs_sync.c | 6 +-
3236 net/netfilter/ipvs/ip_vs_xmit.c | 4 +-
3237 net/netfilter/nf_conntrack_acct.c | 2 +-
3238 net/netfilter/nf_conntrack_core.c | 6 +-
3239 net/netfilter/nf_conntrack_ecache.c | 2 +-
3240 net/netfilter/nf_conntrack_helper.c | 2 +-
3241 net/netfilter/nf_conntrack_netlink.c | 22 +-
3242 net/netfilter/nf_conntrack_proto.c | 2 +-
3243 net/netfilter/nf_conntrack_standalone.c | 2 +-
3244 net/netfilter/nf_conntrack_timestamp.c | 2 +-
3245 net/netfilter/nf_log.c | 10 +-
3246 net/netfilter/nf_nat_ftp.c | 2 +-
3247 net/netfilter/nf_nat_irc.c | 2 +-
3248 net/netfilter/nf_sockopt.c | 4 +-
3249 net/netfilter/nf_tables_api.c | 13 +-
3250 net/netfilter/nfnetlink_acct.c | 7 +-
3251 net/netfilter/nfnetlink_cthelper.c | 2 +-
3252 net/netfilter/nfnetlink_cttimeout.c | 2 +-
3253 net/netfilter/nfnetlink_log.c | 4 +-
3254 net/netfilter/nft_compat.c | 9 +-
3255 net/netfilter/xt_IDLETIMER.c | 12 +-
3256 net/netfilter/xt_statistic.c | 8 +-
3257 net/netlink/af_netlink.c | 16 +-
3258 net/netlink/diag.c | 2 +-
3259 net/netlink/genetlink.c | 14 +-
3260 net/openvswitch/vport-geneve.c | 7 +-
3261 net/openvswitch/vport-gre.c | 7 +-
3262 net/openvswitch/vport-internal_dev.c | 4 +-
3263 net/openvswitch/vport-netdev.c | 7 +-
3264 net/openvswitch/vport-vxlan.c | 7 +-
3265 net/packet/af_packet.c | 26 +-
3266 net/packet/diag.c | 2 +-
3267 net/packet/internal.h | 6 +-
3268 net/phonet/pep.c | 6 +-
3269 net/phonet/socket.c | 2 +-
3270 net/phonet/sysctl.c | 2 +-
3271 net/rds/cong.c | 6 +-
3272 net/rds/ib.h | 2 +-
3273 net/rds/ib_cm.c | 2 +-
3274 net/rds/ib_recv.c | 4 +-
3275 net/rds/rds.h | 2 +-
3276 net/rds/tcp.c | 6 +-
3277 net/rds/tcp.h | 6 +-
3278 net/rds/tcp_send.c | 2 +-
3279 net/rxrpc/af_rxrpc.c | 2 +-
3280 net/rxrpc/ar-ack.c | 14 +-
3281 net/rxrpc/ar-call.c | 2 +-
3282 net/rxrpc/ar-connection.c | 2 +-
3283 net/rxrpc/ar-connevent.c | 2 +-
3284 net/rxrpc/ar-input.c | 4 +-
3285 net/rxrpc/ar-internal.h | 8 +-
3286 net/rxrpc/ar-local.c | 2 +-
3287 net/rxrpc/ar-output.c | 4 +-
3288 net/rxrpc/ar-peer.c | 2 +-
3289 net/rxrpc/ar-proc.c | 4 +-
3290 net/rxrpc/ar-transport.c | 2 +-
3291 net/rxrpc/rxkad.c | 4 +-
3292 net/sched/sch_generic.c | 4 +-
3293 net/sched/sch_tbf.c | 9 +-
3294 net/sctp/ipv6.c | 4 +-
3295 net/sctp/protocol.c | 8 +-
3296 net/sctp/sm_sideeffect.c | 4 +-
3297 net/sctp/socket.c | 21 +-
3298 net/sctp/sysctl.c | 10 +-
3299 net/socket.c | 18 +-
3300 net/sunrpc/auth_gss/gss_rpc_upcall.c | 4 +-
3301 net/sunrpc/auth_gss/gss_rpc_xdr.c | 11 +-
3302 net/sunrpc/auth_gss/gss_rpc_xdr.h | 8 +-
3303 net/sunrpc/auth_gss/svcauth_gss.c | 4 +-
3304 net/sunrpc/clnt.c | 4 +-
3305 net/sunrpc/rpcb_clnt.c | 66 +-
3306 net/sunrpc/sched.c | 4 +-
3307 net/sunrpc/svc.c | 8 +-
3308 net/sunrpc/svcauth_unix.c | 2 +-
3309 net/sunrpc/xprtrdma/svc_rdma.c | 44 +-
3310 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 8 +-
3311 net/sunrpc/xprtrdma/svc_rdma_sendto.c | 2 +-
3312 net/sunrpc/xprtrdma/svc_rdma_transport.c | 2 +-
3313 net/tipc/netlink_compat.c | 12 +-
3314 net/tipc/subscr.c | 2 +-
3315 net/unix/diag.c | 2 +-
3316 net/unix/sysctl_net_unix.c | 2 +-
3317 net/wireless/scan.c | 3 +-
3318 net/wireless/wext-compat.c | 140 +-
3319 net/wireless/wext-compat.h | 8 +-
3320 net/wireless/wext-core.c | 19 +-
3321 net/wireless/wext-sme.c | 5 +-
3322 net/xfrm/xfrm_policy.c | 18 +-
3323 net/xfrm/xfrm_state.c | 37 +-
3324 net/xfrm/xfrm_sysctl.c | 2 +-
3325 net/xfrm/xfrm_user.c | 2 +-
3326 scripts/Kbuild.include | 12 +-
3327 scripts/Makefile | 2 +-
3328 scripts/Makefile.build | 2 +-
3329 scripts/Makefile.clean | 4 +-
3330 scripts/Makefile.extrawarn | 4 +
3331 scripts/Makefile.gcc-plugins | 93 +
3332 scripts/Makefile.host | 73 +-
3333 scripts/basic/fixdep.c | 12 +-
3334 scripts/dtc/checks.c | 14 +-
3335 scripts/dtc/data.c | 6 +-
3336 scripts/dtc/flattree.c | 8 +-
3337 scripts/dtc/livetree.c | 4 +-
3338 scripts/gcc-plugin.sh | 65 +
3339 scripts/gcc-plugins/Makefile | 25 +
3340 scripts/gcc-plugins/checker_plugin.c | 496 +
3341 scripts/gcc-plugins/colorize_plugin.c | 162 +
3342 scripts/gcc-plugins/constify_plugin.c | 583 +
3343 scripts/gcc-plugins/gcc-common.h | 893 +
3344 scripts/gcc-plugins/gcc-generate-gimple-pass.h | 175 +
3345 scripts/gcc-plugins/gcc-generate-ipa-pass.h | 289 +
3346 scripts/gcc-plugins/gcc-generate-rtl-pass.h | 175 +
3347 scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | 175 +
3348 scripts/gcc-plugins/initify_plugin.c | 536 +
3349 scripts/gcc-plugins/kallocstat_plugin.c | 135 +
3350 scripts/gcc-plugins/kernexec_plugin.c | 407 +
3351 scripts/gcc-plugins/latent_entropy_plugin.c | 613 +
3352 scripts/gcc-plugins/rap_plugin/Makefile | 6 +
3353 scripts/gcc-plugins/rap_plugin/rap.h | 36 +
3354 scripts/gcc-plugins/rap_plugin/rap_fptr_pass.c | 220 +
3355 scripts/gcc-plugins/rap_plugin/rap_hash.c | 382 +
3356 scripts/gcc-plugins/rap_plugin/rap_plugin.c | 511 +
3357 scripts/gcc-plugins/rap_plugin/sip.c | 96 +
3358 .../gcc-plugins/size_overflow_plugin/.gitignore | 3 +
3359 scripts/gcc-plugins/size_overflow_plugin/Makefile | 30 +
3360 .../disable_size_overflow_hash.data | 12445 +++++++++++
3361 .../generate_size_overflow_hash.sh | 103 +
3362 .../insert_size_overflow_asm.c | 369 +
3363 .../size_overflow_plugin/intentional_overflow.c | 1166 +
3364 .../size_overflow_plugin/remove_unnecessary_dup.c | 137 +
3365 .../size_overflow_plugin/size_overflow.h | 331 +
3366 .../size_overflow_plugin/size_overflow_debug.c | 194 +
3367 .../size_overflow_plugin/size_overflow_hash.data | 21503 +++++++++++++++++++
3368 .../size_overflow_hash_aux.data | 97 +
3369 .../size_overflow_plugin/size_overflow_ipa.c | 1163 +
3370 .../size_overflow_plugin/size_overflow_misc.c | 505 +
3371 .../size_overflow_plugin/size_overflow_plugin.c | 290 +
3372 .../size_overflow_plugin_hash.c | 352 +
3373 .../size_overflow_plugin/size_overflow_transform.c | 743 +
3374 .../size_overflow_transform_core.c | 1025 +
3375 scripts/gcc-plugins/stackleak_plugin.c | 350 +
3376 scripts/gcc-plugins/structleak_plugin.c | 239 +
3377 scripts/headers_install.sh | 1 +
3378 scripts/kallsyms.c | 4 +-
3379 scripts/kconfig/lkc.h | 5 +-
3380 scripts/kconfig/menu.c | 2 +-
3381 scripts/kconfig/symbol.c | 6 +-
3382 scripts/link-vmlinux.sh | 2 +-
3383 scripts/mod/file2alias.c | 14 +-
3384 scripts/mod/modpost.c | 40 +-
3385 scripts/mod/modpost.h | 6 +-
3386 scripts/mod/sumversion.c | 2 +-
3387 scripts/module-common.lds | 4 +
3388 scripts/package/builddeb | 1 +
3389 scripts/pnmtologo.c | 6 +-
3390 scripts/sortextable.h | 6 +-
3391 scripts/tags.sh | 2 +-
3392 security/Kconfig | 710 +-
3393 security/apparmor/include/policy.h | 2 +-
3394 security/apparmor/lsm.c | 16 +-
3395 security/apparmor/policy.c | 4 +-
3396 security/integrity/ima/ima.h | 4 +-
3397 security/integrity/ima/ima_api.c | 2 +-
3398 security/integrity/ima/ima_fs.c | 4 +-
3399 security/integrity/ima/ima_queue.c | 2 +-
3400 security/keys/internal.h | 8 +-
3401 security/keys/key.c | 18 +-
3402 security/keys/keyring.c | 4 -
3403 security/selinux/avc.c | 6 +-
3404 security/selinux/include/xfrm.h | 2 +-
3405 security/yama/yama_lsm.c | 2 +-
3406 sound/aoa/codecs/onyx.c | 7 +-
3407 sound/aoa/codecs/onyx.h | 1 +
3408 sound/core/oss/pcm_oss.c | 18 +-
3409 sound/core/pcm_compat.c | 2 +-
3410 sound/core/pcm_lib.c | 3 +-
3411 sound/core/pcm_native.c | 4 +-
3412 sound/core/rawmidi.c | 5 +-
3413 sound/core/seq/oss/seq_oss_synth.c | 4 +-
3414 sound/core/seq/seq_clientmgr.c | 10 +-
3415 sound/core/seq/seq_compat.c | 2 +-
3416 sound/core/seq/seq_fifo.c | 6 +-
3417 sound/core/seq/seq_fifo.h | 2 +-
3418 sound/core/seq/seq_memory.c | 18 +-
3419 sound/core/seq/seq_midi.c | 5 +-
3420 sound/core/seq/seq_virmidi.c | 2 +-
3421 sound/core/sound.c | 2 +-
3422 sound/drivers/mts64.c | 14 +-
3423 sound/drivers/opl4/opl4_lib.c | 2 +-
3424 sound/drivers/portman2x4.c | 3 +-
3425 sound/firewire/amdtp-am824.c | 2 +-
3426 sound/firewire/amdtp-stream.c | 4 +-
3427 sound/firewire/amdtp-stream.h | 2 +-
3428 sound/firewire/digi00x/amdtp-dot.c | 2 +-
3429 sound/firewire/isight.c | 10 +-
3430 sound/firewire/oxfw/oxfw-scs1x.c | 8 +-
3431 sound/oss/sb_audio.c | 2 +-
3432 sound/oss/swarm_cs4297a.c | 6 +-
3433 sound/pci/als300.c | 2 +-
3434 sound/pci/aw2/aw2-alsa.c | 2 -
3435 sound/pci/aw2/aw2-saa7146.c | 4 +-
3436 sound/pci/ctxfi/ctamixer.c | 14 +-
3437 sound/pci/ctxfi/ctamixer.h | 8 +-
3438 sound/pci/ctxfi/ctatc.c | 20 +-
3439 sound/pci/ctxfi/ctdaio.c | 6 +-
3440 sound/pci/ctxfi/ctdaio.h | 4 +-
3441 sound/pci/ctxfi/ctsrc.c | 13 +-
3442 sound/pci/ctxfi/ctsrc.h | 8 +-
3443 sound/pci/hda/hda_codec.c | 2 +-
3444 sound/pci/ymfpci/ymfpci.h | 2 +-
3445 sound/pci/ymfpci/ymfpci_main.c | 12 +-
3446 sound/soc/codecs/cx20442.c | 8 +-
3447 sound/soc/codecs/sti-sas.c | 10 +-
3448 sound/soc/codecs/tlv320dac33.c | 7 +-
3449 sound/soc/codecs/uda1380.c | 7 +-
3450 sound/soc/intel/skylake/skl-sst-dsp.h | 4 +-
3451 sound/soc/soc-ac97.c | 6 +-
3452 sound/soc/xtensa/xtfpga-i2s.c | 2 +-
3453 tools/include/linux/compiler.h | 8 +
3454 tools/perf/util/include/asm/alternative-asm.h | 3 +
3455 tools/virtio/linux/uaccess.h | 2 +-
3456 virt/kvm/kvm_main.c | 42 +-
3457 2730 files changed, 77381 insertions(+), 14195 deletions(-)
3458 commit 5988c8dba8a5da45e35d71f4a8fec34c267258c5
3459 Author: Brad Spengler <spender@grsecurity.net>
3460 Date: Mon Apr 25 20:40:53 2016 -0400
3461
3462 Fix DoS in n_tty_receive_buf_common reported by marcan at:
3463 https://forums.grsecurity.net/viewtopic.php?t=4342&p=16222
3464 and via lengthy diatribe on Twitter:
3465 https://twitter.com/marcan42/status/724740708104474626
3466 https://twitter.com/marcan42/status/724740985146609664
3467 https://twitter.com/marcan42/status/724741270325760000
3468 https://twitter.com/marcan42/status/724742465199050752
3469 https://twitter.com/marcan42/status/724745886794833920
3470 https://twitter.com/marcan42/status/724749571495075840
3471 https://twitter.com/marcan42/status/724746427285409796
3472 https://twitter.com/marcan42/status/724743150263095296
3473 https://twitter.com/marcan42/status/724757473433808896
3474
3475 Fix it correctly instead of using the incorrect fix suggested
3476 by marcan (aka "try reading the code next time")
3477 The original code was meant to fix an integer truncation issue
3478 that would also have caused a SIZE_OVERFLOW "DoS".
3479
3480 drivers/tty/n_tty.c | 9 +++++----
3481 1 file changed, 5 insertions(+), 4 deletions(-)
3482
3483 commit 5459ff57d8987389fa17d5d6f55b70a789347c2f
3484 Author: Brad Spengler <spender@grsecurity.net>
3485 Date: Mon Apr 25 19:52:33 2016 -0400
3486
3487 Avoid overflow in environ_read() caught by SIZE_OVERFLOW,
3488 reported by jotik at:
3489 https://forums.grsecurity.net/viewtopic.php?t=4363&p=16217
3490 patch from Mathias Krause
3491
3492 fs/proc/base.c | 2 +-
3493 1 file changed, 1 insertion(+), 1 deletion(-)
3494
3495 commit 24a5c92e147af1e739e9eeca020c61ad2674e784
3496 Author: Jiri Benc <jbenc@redhat.com>
3497 Date: Fri Apr 22 13:09:13 2016 +0200
3498
3499 cxgbi: fix uninitialized flowi6
3500
3501 ip6_route_output looks into different fields in the passed flowi6 structure,
3502 yet cxgbi passes garbage in nearly all those fields. Zero the structure out
3503 first.
3504
3505 Fixes: fc8d0590d9142 ("libcxgbi: Add ipv6 api to driver")
3506 Signed-off-by: Jiri Benc <jbenc@redhat.com>
3507 Signed-off-by: David S. Miller <davem@davemloft.net>
3508
3509 drivers/scsi/cxgbi/libcxgbi.c | 1 +
3510 1 file changed, 1 insertion(+)
3511
3512 commit ec65caa32652841a5be21d6e73146921af16d7a8
3513 Author: Brad Spengler <spender@grsecurity.net>
3514 Date: Wed Apr 20 20:59:43 2016 -0400
3515
3516 Make /proc/sched_debug only readable by root, mentioned in
3517 recent NCC Group paper on Linux containers
3518
3519 kernel/sched/debug.c | 4 ++++
3520 1 file changed, 4 insertions(+)
3521
3522 commit 7957d30730bb26a4aef54ab484dc3b4108f1fdb1
3523 Merge: 463149f ff26083
3524 Author: Brad Spengler <spender@grsecurity.net>
3525 Date: Wed Apr 20 17:55:53 2016 -0400
3526
3527 Merge branch 'pax-test' into grsec-test
3528
3529 commit ff260839e610d2bc1b0c579edd7deb0028198f01
3530 Author: Brad Spengler <spender@grsecurity.net>
3531 Date: Wed Apr 20 17:55:24 2016 -0400
3532
3533 Update to pax-linux-4.4.8-test14.patch:
3534 - Emese fixed some CodingStyle issues in the latent entropy plugin
3535 - fixed some build problems on mips, reported by Steve Arnold (https://bugs.gentoo.org/show_bug.cgi?id=578394)
3536
3537 arch/mips/include/asm/cache.h | 3 ++-
3538 arch/mips/lib/ashldi3.c | 21 ++++++++++++++-------
3539 arch/mips/lib/ashrdi3.c | 19 +++++++++++++------
3540 arch/mips/lib/libgcc.h | 12 +++++++++---
3541 drivers/idle/intel_idle.c | 6 ++++--
3542 tools/gcc/latent_entropy_plugin.c | 29 +++++++++++++++--------------
3543 6 files changed, 57 insertions(+), 33 deletions(-)
3544
3545 commit 463149f47a64db4b26a13009f83ed73d393a209c
3546 Author: Xiaodong Liu <xiaodong.liu@intel.com>
3547 Date: Tue Apr 12 09:45:51 2016 +0000
3548
3549 crypto: sha1-mb - use corrcet pointer while completing jobs
3550
3551 In sha_complete_job, incorrect mcryptd_hash_request_ctx pointer is used
3552 when check and complete other jobs. If the memory of first completed req
3553 is freed, while still completing other jobs in the func, kernel will
3554 crash since NULL pointer is assigned to RIP.
3555
3556 Cc: <stable@vger.kernel.org>
3557 Signed-off-by: Xiaodong Liu <xiaodong.liu@intel.com>
3558 Acked-by: Tim Chen <tim.c.chen@linux.intel.com>
3559 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
3560
3561 arch/x86/crypto/sha-mb/sha1_mb.c | 4 ++--
3562 1 file changed, 2 insertions(+), 2 deletions(-)
3563
3564 commit b4e6484e67b917afb77478cab1260f41dbbc92fc
3565 Author: Tom Lendacky <thomas.lendacky@amd.com>
3566 Date: Wed Apr 13 10:52:25 2016 -0500
3567
3568 crypto: ccp - Prevent information leakage on export
3569
3570 Prevent information from leaking to userspace by doing a memset to 0 of
3571 the export state structure before setting the structure values and copying
3572 it. This prevents un-initialized padding areas from being copied into the
3573 export area.
3574
3575 Cc: <stable@vger.kernel.org> # 3.14.x-
3576 Reported-by: Ben Hutchings <ben@decadent.org.uk>
3577 Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
3578 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
3579
3580 drivers/crypto/ccp/ccp-crypto-aes-cmac.c | 3 +++
3581 drivers/crypto/ccp/ccp-crypto-sha.c | 3 +++
3582 2 files changed, 6 insertions(+)
3583
3584 commit 7d7e961d3f4e4614b22518d8e410e6cf4108f1b0
3585 Author: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
3586 Date: Mon Apr 18 14:33:54 2016 +0300
3587
3588 net/mlx4_en: allocate non 0-order pages for RX ring with __GFP_NOMEMALLOC
3589
3590 High order pages are optional here since commit 51151a16a60f ("mlx4: allow
3591 order-0 memory allocations in RX path"), so here is no reason for depleting
3592 reserves. Generic __netdev_alloc_frag() implements the same logic.
3593
3594 Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
3595 Acked-by: Eric Dumazet <edumazet@google.com>
3596 Signed-off-by: David S. Miller <davem@davemloft.net>
3597
3598 drivers/net/ethernet/mellanox/mlx4/en_rx.c | 2 +-
3599 1 file changed, 1 insertion(+), 1 deletion(-)
3600
3601 commit 6b80edde2edc7fd055f9be8ec42b88abbe328639
3602 Author: Ignat Korchagin <ignat.korchagin@gmail.com>
3603 Date: Thu Mar 17 18:00:29 2016 +0000
3604
3605 USB: usbip: fix potential out-of-bounds write
3606
3607 Fix potential out-of-bounds write to urb->transfer_buffer
3608 usbip handles network communication directly in the kernel. When receiving a
3609 packet from its peer, usbip code parses headers according to protocol. As
3610 part of this parsing urb->actual_length is filled. Since the input for
3611 urb->actual_length comes from the network, it should be treated as untrusted.
3612 Any entity controlling the network may put any value in the input and the
3613 preallocated urb->transfer_buffer may not be large enough to hold the data.
3614 Thus, the malicious entity is able to write arbitrary data to kernel memory.
3615
3616 Signed-off-by: Ignat Korchagin <ignat.korchagin@gmail.com>
3617 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
3618
3619 drivers/usb/usbip/usbip_common.c | 11 +++++++++++
3620 1 file changed, 11 insertions(+)
3621
3622 commit 0ce101ec9e74c2cfcd28cbcd18b0626e3d9a2482
3623 Merge: d60a24d f5fe5fd
3624 Author: Brad Spengler <spender@grsecurity.net>
3625 Date: Wed Apr 20 17:35:58 2016 -0400
3626
3627 Merge branch 'pax-test' into grsec-test
3628
3629 commit f5fe5fddf49f1b81a2a3bb43b1e0a8c087aba438
3630 Merge: a107ba2 8c9aef0
3631 Author: Brad Spengler <spender@grsecurity.net>
3632 Date: Wed Apr 20 17:35:29 2016 -0400
3633
3634 Merge branch 'linux-4.4.y' into pax-test
3635
3636 commit d60a24d6e4f61072d0bd1dc12be1177181fa8c2b
3637 Author: Brad Spengler <spender@grsecurity.net>
3638 Date: Mon Apr 18 17:48:10 2016 -0400
3639
3640 fix cast for constify change, reported by pipacs
3641
3642 drivers/idle/intel_idle.c | 4 ++--
3643 1 file changed, 2 insertions(+), 2 deletions(-)
3644
3645 commit 1d376287aeba7a53c91d5ee49ef0a11d02193964
3646 Author: Brad Spengler <spender@grsecurity.net>
3647 Date: Fri Apr 15 21:31:07 2016 -0400
3648
3649 Use proper type for function pointer
3650
3651 drivers/gpu/drm/gma500/mdfld_dsi_output.c | 6 +++---
3652 1 file changed, 3 insertions(+), 3 deletions(-)
3653
3654 commit 0a4104a2fa32904102fac07245426d78a1e9dfab
3655 Author: Brad Spengler <spender@grsecurity.net>
3656 Date: Fri Apr 15 21:24:04 2016 -0400
3657
3658 Fix skylake cstates compat with constify
3659
3660 drivers/idle/intel_idle.c | 6 ++++--
3661 1 file changed, 4 insertions(+), 2 deletions(-)
3662
3663 commit f433f8fd372253c9e78e307afe5b800c5ab0ea61
3664 Author: Brad Spengler <spender@grsecurity.net>
3665 Date: Fri Apr 15 21:10:44 2016 -0400
3666
3667 Update size_overflow hash table
3668
3669 tools/gcc/size_overflow_plugin/size_overflow_hash.data | 3 ++-
3670 1 file changed, 2 insertions(+), 1 deletion(-)
3671
3672 commit ef7804da81cb3c6b6a4c985a3c14ee230a03f26a
3673 Author: Brad Spengler <spender@grsecurity.net>
3674 Date: Fri Apr 15 20:52:37 2016 -0400
3675
3676 compile fix
3677
3678 fs/coredump.c | 3 ---
3679 1 file changed, 3 deletions(-)
3680
3681 commit 967224da52bd98d078b1237aea5ec9e622238fba
3682 Merge: 92771d6 a107ba2
3683 Author: Brad Spengler <spender@grsecurity.net>
3684 Date: Fri Apr 15 20:30:23 2016 -0400
3685
3686 Merge branch 'pax-test' into grsec-test
3687
3688 commit a107ba25214d9694eb836fb04c782ad694977b91
3689 Merge: 4d8fc00 b40108b
3690 Author: Brad Spengler <spender@grsecurity.net>
3691 Date: Fri Apr 15 20:18:26 2016 -0400
3692
3693 Merge branch 'linux-4.4.y' into pax-test
3694
3695 commit 92771d60677d68e8f6ea7a91ff34dd6e24b6d4cf
3696 Author: Brad Spengler <spender@grsecurity.net>
3697 Date: Sun Apr 10 07:18:03 2016 -0400
3698
3699 From: Mathias Krause <minipli@googlemail.com>
3700 To: "David S. Miller" <davem@davemloft.net>
3701 Cc: netdev@vger.kernel.org, "Eric W. Biederman" <ebiederm@xmission.com>, Pavel
3702 Emelyanov <xemul@parallels.com>
3703 Subject: [PATCH net] packet: fix heap info leak in PACKET_DIAG_MCLIST sock_diag
3704 interface
3705
3706 Because we miss to wipe the remainder of i->addr[] in packet_mc_add(),
3707 pdiag_put_mclist() leaks uninitialized heap bytes via the
3708 PACKET_DIAG_MCLIST netlink attribute.
3709
3710 Fix this by explicitly memset(0)ing the remaining bytes in i->addr[].
3711
3712 Fixes: eea68e2f1a00 ("packet: Report socket mclist info via diag module")
3713 Signed-off-by: Mathias Krause <minipli@googlemail.com>
3714 Cc: Eric W. Biederman <ebiederm@xmission.com>
3715 Cc: Pavel Emelyanov <xemul@parallels.com>
3716 ---
3717 The bug itself precedes commit eea68e2f1a00 but the list wasn't exposed
3718 to userland before the introduction of the packet_diag interface.
3719 Therefore the "Fixes:" line on that commit.
3720
3721 net/packet/af_packet.c | 1 +
3722 1 file changed, 1 insertion(+)
3723
3724 commit 4286ce3f9e9db4d68870af46ae1d5f9b90b920dd
3725 Author: Jakub Sitnicki <jkbs@redhat.com>
3726 Date: Tue Apr 5 18:41:08 2016 +0200
3727
3728 ipv6: Count in extension headers in skb->network_header
3729
3730 When sending a UDPv6 message longer than MTU, account for the length
3731 of fragmentable IPv6 extension headers in skb->network_header offset.
3732 Same as we do in alloc_new_skb path in __ip6_append_data().
3733
3734 This ensures that later on __ip6_make_skb() will make space in
3735 headroom for fragmentable extension headers:
3736
3737 /* move skb->data to ip header from ext header */
3738 if (skb->data < skb_network_header(skb))
3739 __skb_pull(skb, skb_network_offset(skb));
3740
3741 Prevents a splat due to skb_under_panic:
3742
3743 skbuff: skb_under_panic: text:ffffffff8143397b len:2126 put:14 \
3744 head:ffff880005bacf50 data:ffff880005bacf4a tail:0x48 end:0xc0 dev:lo
3745 ------------[ cut here ]------------
3746 kernel BUG at net/core/skbuff.c:104!
3747 invalid opcode: 0000 [#1] KASAN
3748 CPU: 0 PID: 160 Comm: reproducer Not tainted 4.6.0-rc2 #65
3749 [...]
3750 Call Trace:
3751 [<ffffffff813eb7b9>] skb_push+0x79/0x80
3752 [<ffffffff8143397b>] eth_header+0x2b/0x100
3753 [<ffffffff8141e0d0>] neigh_resolve_output+0x210/0x310
3754 [<ffffffff814eab77>] ip6_finish_output2+0x4a7/0x7c0
3755 [<ffffffff814efe3a>] ip6_output+0x16a/0x280
3756 [<ffffffff815440c1>] ip6_local_out+0xb1/0xf0
3757 [<ffffffff814f1115>] ip6_send_skb+0x45/0xd0
3758 [<ffffffff81518836>] udp_v6_send_skb+0x246/0x5d0
3759 [<ffffffff8151985e>] udpv6_sendmsg+0xa6e/0x1090
3760 [...]
3761
3762 Reported-by: Ji Jianwen <jiji@redhat.com>
3763 Signed-off-by: Jakub Sitnicki <jkbs@redhat.com>
3764 Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
3765 Signed-off-by: David S. Miller <davem@davemloft.net>
3766
3767 net/ipv6/ip6_output.c | 8 ++++----
3768 1 file changed, 4 insertions(+), 4 deletions(-)
3769
3770 commit 638dad49a9ba3d86f627adb58b2f4636ed253685
3771 Author: Thadeu Lima de Souza Cascardo <cascardo@redhat.com>
3772 Date: Fri Apr 1 17:17:50 2016 -0300
3773
3774 ip6_tunnel: set rtnl_link_ops before calling register_netdevice
3775
3776 When creating an ip6tnl tunnel with ip tunnel, rtnl_link_ops is not set
3777 before ip6_tnl_create2 is called. When register_netdevice is called, there
3778 is no linkinfo attribute in the NEWLINK message because of that.
3779
3780 Setting rtnl_link_ops before calling register_netdevice fixes that.
3781
3782 Fixes: 0b112457229d ("ip6tnl: add support of link creation via rtnl")
3783 Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com>
3784 Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
3785 Signed-off-by: David S. Miller <davem@davemloft.net>
3786
3787 net/ipv6/ip6_tunnel.c | 2 +-
3788 1 file changed, 1 insertion(+), 1 deletion(-)
3789
3790 commit 14146a0bfaf2ced0055fe549c8fa0941c61e2457
3791 Author: Brad Spengler <spender@grsecurity.net>
3792 Date: Tue Apr 5 21:12:44 2016 -0400
3793
3794 Code cleanups to RANDSTRUCT based on feedback from the PaX Team
3795
3796 tools/gcc/randomize_layout_plugin.c | 18 ++++++++++++------
3797 1 file changed, 12 insertions(+), 6 deletions(-)
3798
3799 commit 3f7dea5e59b0bb34f6bdb628c87251f0105b3d57
3800 Author: Brad Spengler <spender@grsecurity.net>
3801 Date: Sun Apr 3 20:10:10 2016 -0400
3802
3803 Fix RANDSTRUCT support on ARM
3804
3805 tools/gcc/randomize_layout_plugin.c | 54 +++++++++++++++++++++++++++++++++++--
3806 1 file changed, 52 insertions(+), 2 deletions(-)
3807
3808 commit bd893a75ab49f6ea5a216eb334471507337118ba
3809 Merge: 87b7f1d 4d8fc00
3810 Author: Brad Spengler <spender@grsecurity.net>
3811 Date: Sat Apr 2 11:54:20 2016 -0400
3812
3813 Merge branch 'pax-test' into grsec-test
3814
3815 commit 4d8fc00c0066b1921e233123b346efe6ffb27691
3816 Author: Brad Spengler <spender@grsecurity.net>
3817 Date: Sat Apr 2 11:53:53 2016 -0400
3818
3819 Update to pax-linux-4.4.6-test13.patch:
3820 - fixed a REFCOUNT related compile regression on mips, reported by Steve Arnold (https://bugs.gentoo.org/show_bug.cgi?id=578394)
3821 - 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)
3822
3823 arch/mips/include/asm/atomic.h | 4 ----
3824 tools/gcc/size_overflow_plugin/disable_size_overflow_hash.data | 1 +
3825 tools/gcc/size_overflow_plugin/size_overflow_hash.data | 1 -
3826 3 files changed, 1 insertion(+), 5 deletions(-)
3827
3828 commit 87b7f1d200023ba826b9d552834a2ee85e67526c
3829 Merge: 3335266 3abdad0
3830 Author: Brad Spengler <spender@grsecurity.net>
3831 Date: Sat Apr 2 11:19:17 2016 -0400
3832
3833 Merge branch 'pax-test' into grsec-test
3834
3835 commit 3abdad0c3b436c076c88289f07a250b811d6f79d
3836 Author: Brad Spengler <spender@grsecurity.net>
3837 Date: Sat Apr 2 11:12:56 2016 -0400
3838
3839 Update to pax-linux-4.4.6-test12.patch:
3840 - fixed vmalloc_fault on i386/PAE to use the correct percpu userland pgd table/entry
3841 - fixed a size overflow false positive report in pptp, reported by Pinkbyte (https://forums.grsecurity.net/viewtopic.php?f=3&t=4437)
3842 - fixed a size overflow false positive report in tbf_segment, reported by audiocricket (https://forums.grsecurity.net/viewtopic.php?f=3&t=4438)
3843 - Emese fixed the x86 vdso32 CFLAGS to omit the gcc plugins
3844 - Emese simplified the gcc plugin related make rules, suggested by Masahiro Yamada
3845 - André Fabian Silva Delgado fixed a compile regression on arm, reported by coadde (https://forums.grsecurity.net/viewtopic.php?f=3&t=4435)
3846 - fixed an integer sign conversion error in nfs_super_set_maxbytes caught by the size overflow plugin, reported by Alexey Dvoichenkov <xale@hyperplane.net>
3847 - fixed a size overflow false positive in squashfs, reported by Mathias Krause <minipli@ld-linux.so>
3848 - fixed a size overflow false positive in xfrm6_transport_output, reported by marcan (https://forums.grsecurity.net/viewtopic.php?f=3&t=4426)
3849 - fixed an integer truncation bug in elf_kcore_store_hdr caught by the size overflow plugin
3850 - fixed a gratuitous userland dereference in the amd64 stack walker
3851 - added latent entropy gathering to a few more functions
3852 - constified a few smp_hotplug_thread instances
3853
3854 arch/x86/entry/vdso/Makefile | 1 +
3855 arch/x86/include/asm/cpufeature.h | 1 -
3856 arch/x86/kernel/dumpstack_64.c | 17 ++++++-----------
3857 arch/x86/kernel/head_32.S | 6 +++---
3858 arch/x86/mm/fault.c | 2 +-
3859 drivers/iommu/arm-smmu.c | 2 +-
3860 drivers/net/ppp/pptp.c | 1 +
3861 drivers/staging/rdma/ehca/ehca_irq.c | 2 +-
3862 fs/nfs/internal.h | 5 +++--
3863 fs/proc/kcore.c | 2 +-
3864 kernel/module.c | 6 +++---
3865 kernel/rcu/tree.c | 2 +-
3866 kernel/softirq.c | 2 +-
3867 kernel/stop_machine.c | 2 +-
3868 net/ipv6/xfrm6_mode_transport.c | 2 +-
3869 net/sched/sch_tbf.c | 9 ++++++---
3870 scripts/Makefile.gcc-plugins | 13 +++----------
3871 scripts/Makefile.host | 3 +--
3872 .../disable_size_overflow_hash.data | 4 +++-
3873 tools/gcc/size_overflow_plugin/size_overflow_hash.data | 6 ++----
3874 20 files changed, 40 insertions(+), 48 deletions(-)
3875
3876 commit 3335266d5bec9bc01580736c0a7026ed96cf25e5
3877 Author: Mika Penttilä <mika.penttila@nextfour.com>
3878 Date: Mon Feb 22 17:56:52 2016 +0100
3879
3880 ARM: 8544/1: set_memory_xx fixes
3881
3882 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.
3883
3884 Signed-off-by: Mika Penttilä mika.penttila@nextfour.com
3885 Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
3886
3887 arch/arm/mm/pageattr.c | 3 +++
3888 1 file changed, 3 insertions(+)
3889
3890 commit d6d6499b22c0e5593a16f41c516041b23fbf9eeb
3891 Author: Josh Boyer <jwboyer@fedoraproject.org>
3892 Date: Mon Mar 14 10:42:38 2016 -0400
3893
3894 USB: iowarrior: fix oops with malicious USB descriptors
3895
3896 The iowarrior driver expects at least one valid endpoint. If given
3897 malicious descriptors that specify 0 for the number of endpoints,
3898 it will crash in the probe function. Ensure there is at least
3899 one endpoint on the interface before using it.
3900
3901 The full report of this issue can be found here:
3902 http://seclists.org/bugtraq/2016/Mar/87
3903
3904 Reported-by: Ralf Spenneberg <ralf@spenneberg.net>
3905 Cc: stable <stable@vger.kernel.org>
3906 Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
3907 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
3908
3909 drivers/usb/misc/iowarrior.c | 6 ++++++
3910 1 file changed, 6 insertions(+)
3911
3912 commit 79a1fb47ab1245e81040bcd45b3e44e65d282684
3913 Author: Oliver Neukum <oneukum@suse.com>
3914 Date: Tue Mar 15 10:14:04 2016 +0100
3915
3916 USB: cdc-acm: more sanity checking
3917
3918 An attack has become available which pretends to be a quirky
3919 device circumventing normal sanity checks and crashes the kernel
3920 by an insufficient number of interfaces. This patch adds a check
3921 to the code path for quirky devices.
3922
3923 Signed-off-by: Oliver Neukum <ONeukum@suse.com>
3924 CC: stable@vger.kernel.org
3925 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
3926
3927 drivers/usb/class/cdc-acm.c | 3 +++
3928 1 file changed, 3 insertions(+)
3929
3930 commit 6ee21acdf0da6602671cb50edeca0abfba3955f7
3931 Author: Oliver Neukum <oneukum@suse.com>
3932 Date: Wed Mar 16 13:26:17 2016 +0100
3933
3934 USB: usb_driver_claim_interface: add sanity checking
3935
3936 Attacks that trick drivers into passing a NULL pointer
3937 to usb_driver_claim_interface() using forged descriptors are
3938 known. This thwarts them by sanity checking.
3939
3940 Signed-off-by: Oliver Neukum <ONeukum@suse.com>
3941 CC: stable@vger.kernel.org
3942 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
3943
3944 drivers/usb/core/driver.c | 6 +++++-
3945 1 file changed, 5 insertions(+), 1 deletion(-)
3946
3947 commit 44247834ddab762509eaaf5c742e15bfadcd9d94
3948 Author: Paolo Bonzini <pbonzini@redhat.com>
3949 Date: Mon Mar 21 10:15:25 2016 +0100
3950
3951 KVM: fix spin_lock_init order on x86
3952
3953 Moving the initialization earlier is needed in 4.6 because
3954 kvm_arch_init_vm is now using mmu_lock, causing lockdep to
3955 complain:
3956
3957 [ 284.440294] INFO: trying to register non-static key.
3958 [ 284.445259] the code is fine but needs lockdep annotation.
3959 [ 284.450736] turning off the locking correctness validator.
3960 ...
3961 [ 284.528318] [<ffffffff810aecc3>] lock_acquire+0xd3/0x240
3962 [ 284.533733] [<ffffffffa0305aa0>] ? kvm_page_track_register_notifier+0x20/0x60 [kvm]
3963 [ 284.541467] [<ffffffff81715581>] _raw_spin_lock+0x41/0x80
3964 [ 284.546960] [<ffffffffa0305aa0>] ? kvm_page_track_register_notifier+0x20/0x60 [kvm]
3965 [ 284.554707] [<ffffffffa0305aa0>] kvm_page_track_register_notifier+0x20/0x60 [kvm]
3966 [ 284.562281] [<ffffffffa02ece70>] kvm_mmu_init_vm+0x20/0x30 [kvm]
3967 [ 284.568381] [<ffffffffa02dbf7a>] kvm_arch_init_vm+0x1ea/0x200 [kvm]
3968 [ 284.574740] [<ffffffffa02bff3f>] kvm_dev_ioctl+0xbf/0x4d0 [kvm]
3969
3970 However, it also helps fixing a preexisting problem, which is why this
3971 patch is also good for stable kernels: kvm_create_vm was incrementing
3972 current->mm->mm_count but not decrementing it at the out_err label (in
3973 case kvm_init_mmu_notifier failed). The new initialization order makes
3974 it possible to add the required mmdrop without adding a new error label.
3975
3976 Cc: stable@vger.kernel.org
3977 Reported-by: Borislav Petkov <bp@alien8.de>
3978 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
3979
3980 virt/kvm/kvm_main.c | 21 +++++++++++----------
3981 1 file changed, 11 insertions(+), 10 deletions(-)
3982
3983 commit 9d0cf281d74a9fe490f3ba5ca3d0e57eac066e1c
3984 Author: Paolo Bonzini <pbonzini@redhat.com>
3985 Date: Fri Mar 18 16:53:42 2016 +0100
3986
3987 KVM: VMX: avoid guest hang on invalid invvpid instruction
3988
3989 A guest executing an invalid invvpid instruction would hang
3990 because the instruction pointer was not updated.
3991
3992 Reported-by: jmontleo@redhat.com
3993 Tested-by: jmontleo@redhat.com
3994 Cc: stable@vger.kernel.org
3995 Fixes: 99b83ac893b84ed1a62ad6d1f2b6cc32026b9e85
3996 Reviewed-by: David Matlack <dmatlack@google.com>
3997 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
3998
3999 arch/x86/kvm/vmx.c | 1 +
4000 1 file changed, 1 insertion(+)
4001
4002 commit 602caaece277e5e21ae43771398bbf7778061beb
4003 Author: Paolo Bonzini <pbonzini@redhat.com>
4004 Date: Fri Mar 18 16:53:29 2016 +0100
4005
4006 KVM: VMX: avoid guest hang on invalid invept instruction
4007
4008 A guest executing an invalid invept instruction would hang
4009 because the instruction pointer was not updated.
4010
4011 Cc: stable@vger.kernel.org
4012 Fixes: bfd0a56b90005f8c8a004baf407ad90045c2b11e
4013 Reviewed-by: David Matlack <dmatlack@google.com>
4014 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
4015
4016 arch/x86/kvm/vmx.c | 1 +
4017 1 file changed, 1 insertion(+)
4018
4019 commit 3309ac82d6596de8abc6ea51dd0a942416da1cc1
4020 Author: Jann Horn <jann@thejh.net>
4021 Date: Tue Mar 22 14:25:36 2016 -0700
4022
4023 fs/coredump: prevent fsuid=0 dumps into user-controlled directories
4024
4025 This commit fixes the following security hole affecting systems where
4026 all of the following conditions are fulfilled:
4027
4028 - The fs.suid_dumpable sysctl is set to 2.
4029 - The kernel.core_pattern sysctl's value starts with "/". (Systems
4030 where kernel.core_pattern starts with "|/" are not affected.)
4031 - Unprivileged user namespace creation is permitted. (This is
4032 true on Linux >=3.8, but some distributions disallow it by
4033 default using a distro patch.)
4034
4035 Under these conditions, if a program executes under secure exec rules,
4036 causing it to run with the SUID_DUMP_ROOT flag, then unshares its user
4037 namespace, changes its root directory and crashes, the coredump will be
4038 written using fsuid=0 and a path derived from kernel.core_pattern - but
4039 this path is interpreted relative to the root directory of the process,
4040 allowing the attacker to control where a coredump will be written with
4041 root privileges.
4042
4043 To fix the security issue, always interpret core_pattern for dumps that
4044 are written under SUID_DUMP_ROOT relative to the root directory of init.
4045
4046 Signed-off-by: Jann Horn <jann@thejh.net>
4047 Acked-by: Kees Cook <keescook@chromium.org>
4048 Cc: Al Viro <viro@zeniv.linux.org.uk>
4049 Cc: "Eric W. Biederman" <ebiederm@xmission.com>
4050 Cc: Andy Lutomirski <luto@kernel.org>
4051 Cc: Oleg Nesterov <oleg@redhat.com>
4052 Cc: <stable@vger.kernel.org>
4053 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
4054 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
4055
4056 arch/um/drivers/mconsole_kern.c | 2 +-
4057 fs/coredump.c | 31 +++++++++++++++++++++++++++----
4058 fs/fhandle.c | 2 +-
4059 fs/open.c | 6 ++----
4060 include/linux/fs.h | 2 +-
4061 kernel/sysctl_binary.c | 2 +-
4062 6 files changed, 33 insertions(+), 12 deletions(-)
4063
4064 commit a7c8d3c91a3e50d0873942f09afbb5071382d5e7
4065 Author: Takashi Iwai <tiwai@suse.de>
4066 Date: Fri Apr 1 12:28:16 2016 +0200
4067
4068 ALSA: timer: Use mod_timer() for rearming the system timer
4069
4070 ALSA system timer backend stops the timer via del_timer() without sync
4071 and leaves del_timer_sync() at the close instead. This is because of
4072 the restriction by the design of ALSA timer: namely, the stop callback
4073 may be called from the timer handler, and calling the sync shall lead
4074 to a hangup. However, this also triggers a kernel BUG() when the
4075 timer is rearmed immediately after stopping without sync:
4076 kernel BUG at kernel/time/timer.c:966!
4077 Call Trace:
4078 <IRQ>
4079 [<ffffffff8239c94e>] snd_timer_s_start+0x13e/0x1a0
4080 [<ffffffff8239e1f4>] snd_timer_interrupt+0x504/0xec0
4081 [<ffffffff8122fca0>] ? debug_check_no_locks_freed+0x290/0x290
4082 [<ffffffff8239ec64>] snd_timer_s_function+0xb4/0x120
4083 [<ffffffff81296b72>] call_timer_fn+0x162/0x520
4084 [<ffffffff81296add>] ? call_timer_fn+0xcd/0x520
4085 [<ffffffff8239ebb0>] ? snd_timer_interrupt+0xec0/0xec0
4086 ....
4087
4088 It's the place where add_timer() checks the pending timer. It's clear
4089 that this may happen after the immediate restart without sync in our
4090 cases.
4091
4092 So, the workaround here is just to use mod_timer() instead of
4093 add_timer(). This looks like a band-aid fix, but it's a right move,
4094 as snd_timer_interrupt() takes care of the continuous rearm of timer.
4095
4096 Reported-by: Jiri Slaby <jslaby@suse.cz>
4097 Cc: <stable@vger.kernel.org>
4098 Signed-off-by: Takashi Iwai <tiwai@suse.de>
4099
4100 sound/core/timer.c | 4 ++--
4101 1 file changed, 2 insertions(+), 2 deletions(-)
4102
4103 commit 2de05c5fc90b461d78a54a7240b664a068844c8c
4104 Author: Daniel Vetter <daniel.vetter@ffwll.ch>
4105 Date: Wed Mar 30 11:40:43 2016 +0200
4106
4107 drm/udl: Use unlocked gem unreferencing
4108
4109 For drm_gem_object_unreference callers are required to hold
4110 dev->struct_mutex, which these paths don't. Enforcing this requirement
4111 has become a bit more strict with
4112
4113 commit ef4c6270bf2867e2f8032e9614d1a8cfc6c71663
4114 Author: Daniel Vetter <daniel.vetter@ffwll.ch>
4115 Date: Thu Oct 15 09:36:25 2015 +0200
4116
4117 drm/gem: Check locking in drm_gem_object_unreference
4118
4119 Cc: stable@vger.kernel.org
4120 Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
4121 Signed-off-by: Dave Airlie <airlied@redhat.com>
4122
4123 drivers/gpu/drm/udl/udl_fb.c | 2 +-
4124 drivers/gpu/drm/udl/udl_gem.c | 2 +-
4125 2 files changed, 2 insertions(+), 2 deletions(-)
4126
4127 commit c8153b6b1731b8fee33966dd8d148643240f1dc0
4128 Author: Jan Kara <jack@suse.com>
4129 Date: Mon Dec 7 14:34:49 2015 -0500
4130
4131 ext4: fix races of writeback with punch hole and zero range
4132
4133 When doing delayed allocation, update of on-disk inode size is postponed
4134 until IO submission time. However hole punch or zero range fallocate
4135 calls can end up discarding the tail page cache page and thus on-disk
4136 inode size would never be properly updated.
4137
4138 Make sure the on-disk inode size is updated before truncating page
4139 cache.
4140
4141 Signed-off-by: Jan Kara <jack@suse.com>
4142 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
4143
4144 fs/ext4/ext4.h | 3 +++
4145 fs/ext4/extents.c | 5 +++++
4146 fs/ext4/inode.c | 35 ++++++++++++++++++++++++++++++++++-
4147 3 files changed, 42 insertions(+), 1 deletion(-)
4148
4149 commit d64beb441579f2667e99eb9d4d6e83deb88bf59b
4150 Author: Jan Kara <jack@suse.com>
4151 Date: Mon Dec 7 14:31:11 2015 -0500
4152
4153 ext4: fix races between buffered IO and collapse / insert range
4154
4155 Current code implementing FALLOC_FL_COLLAPSE_RANGE and
4156 FALLOC_FL_INSERT_RANGE is prone to races with buffered writes and page
4157 faults. If buffered write or write via mmap manages to squeeze between
4158 filemap_write_and_wait_range() and truncate_pagecache() in the fallocate
4159 implementations, the written data is simply discarded by
4160 truncate_pagecache() although it should have been shifted.
4161
4162 Fix the problem by moving filemap_write_and_wait_range() call inside
4163 i_mutex and i_mmap_sem. That way we are protected against races with
4164 both buffered writes and page faults.
4165
4166 Signed-off-by: Jan Kara <jack@suse.com>
4167 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
4168
4169 fs/ext4/extents.c | 59 +++++++++++++++++++++++++++++--------------------------
4170 1 file changed, 31 insertions(+), 28 deletions(-)
4171
4172 commit b1ae49aa4dad39233b16456e0765a23ba4e0546c
4173 Author: Jan Kara <jack@suse.com>
4174 Date: Mon Dec 7 14:29:17 2015 -0500
4175
4176 ext4: move unlocked dio protection from ext4_alloc_file_blocks()
4177
4178 Currently ext4_alloc_file_blocks() was handling protection against
4179 unlocked DIO. However we now need to sometimes call it under i_mmap_sem
4180 and sometimes not and DIO protection ranks above it (although strictly
4181 speaking this cannot currently create any deadlocks). Also
4182 ext4_zero_range() was actually getting & releasing unlocked DIO
4183 protection twice in some cases. Luckily it didn't introduce any real bug
4184 but it was a land mine waiting to be stepped on. So move DIO protection
4185 out from ext4_alloc_file_blocks() into the two callsites.
4186
4187 Signed-off-by: Jan Kara <jack@suse.com>
4188 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
4189
4190 fs/ext4/extents.c | 21 ++++++++++-----------
4191 1 file changed, 10 insertions(+), 11 deletions(-)
4192
4193 commit f9329a4ec30a26f0fababf809c5f1a3ef851b625
4194 Author: Jan Kara <jack@suse.com>
4195 Date: Mon Dec 7 14:28:03 2015 -0500
4196
4197 ext4: fix races between page faults and hole punching
4198
4199 Currently, page faults and hole punching are completely unsynchronized.
4200 This can result in page fault faulting in a page into a range that we
4201 are punching after truncate_pagecache_range() has been called and thus
4202 we can end up with a page mapped to disk blocks that will be shortly
4203 freed. Filesystem corruption will shortly follow. Note that the same
4204 race is avoided for truncate by checking page fault offset against
4205 i_size but there isn't similar mechanism available for punching holes.
4206
4207 Fix the problem by creating new rw semaphore i_mmap_sem in inode and
4208 grab it for writing over truncate, hole punching, and other functions
4209 removing blocks from extent tree and for read over page faults. We
4210 cannot easily use i_data_sem for this since that ranks below transaction
4211 start and we need something ranking above it so that it can be held over
4212 the whole truncate / hole punching operation. Also remove various
4213 workarounds we had in the code to reduce race window when page fault
4214 could have created pages with stale mapping information.
4215
4216 Signed-off-by: Jan Kara <jack@suse.com>
4217 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
4218
4219 fs/ext4/ext4.h | 10 +++++++++
4220 fs/ext4/extents.c | 54 ++++++++++++++++++++++++--------------------
4221 fs/ext4/file.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++--------
4222 fs/ext4/inode.c | 36 +++++++++++++++++++++--------
4223 fs/ext4/super.c | 1 +
4224 fs/ext4/truncate.h | 2 ++
4225 6 files changed, 127 insertions(+), 42 deletions(-)
4226
4227 commit 572a615b85c1d5c8aeea4ffd24ab428775a1cca9
4228 Author: Guenter Roeck <linux@roeck-us.net>
4229 Date: Sat Mar 26 12:28:05 2016 -0700
4230
4231 hwmon: (max1111) Return -ENODEV from max1111_read_channel if not instantiated
4232
4233 arm:pxa_defconfig can result in the following crash if the max1111 driver
4234 is not instantiated.
4235
4236 Unhandled fault: page domain fault (0x01b) at 0x00000000
4237 pgd = c0004000
4238 [00000000] *pgd=00000000
4239 Internal error: : 1b [#1] PREEMPT ARM
4240 Modules linked in:
4241 CPU: 0 PID: 300 Comm: kworker/0:1 Not tainted 4.5.0-01301-g1701f680407c #10
4242 Hardware name: SHARP Akita
4243 Workqueue: events sharpsl_charge_toggle
4244 task: c390a000 ti: c391e000 task.ti: c391e000
4245 PC is at max1111_read_channel+0x20/0x30
4246 LR is at sharpsl_pm_pxa_read_max1111+0x2c/0x3c
4247 pc : [<c03aaab0>] lr : [<c0024b50>] psr: 20000013
4248 ...
4249 [<c03aaab0>] (max1111_read_channel) from [<c0024b50>]
4250 (sharpsl_pm_pxa_read_max1111+0x2c/0x3c)
4251 [<c0024b50>] (sharpsl_pm_pxa_read_max1111) from [<c00262e0>]
4252 (spitzpm_read_devdata+0x5c/0xc4)
4253 [<c00262e0>] (spitzpm_read_devdata) from [<c0024094>]
4254 (sharpsl_check_battery_temp+0x78/0x110)
4255 [<c0024094>] (sharpsl_check_battery_temp) from [<c0024f9c>]
4256 (sharpsl_charge_toggle+0x48/0x110)
4257 [<c0024f9c>] (sharpsl_charge_toggle) from [<c004429c>]
4258 (process_one_work+0x14c/0x48c)
4259 [<c004429c>] (process_one_work) from [<c0044618>] (worker_thread+0x3c/0x5d4)
4260 [<c0044618>] (worker_thread) from [<c004a238>] (kthread+0xd0/0xec)
4261 [<c004a238>] (kthread) from [<c000a670>] (ret_from_fork+0x14/0x24)
4262
4263 This can occur because the SPI controller driver (SPI_PXA2XX) is built as
4264 module and thus not necessarily loaded. While building SPI_PXA2XX into the
4265 kernel would make the problem disappear, it appears prudent to ensure that
4266 the driver is instantiated before accessing its data structures.
4267
4268 Cc: Arnd Bergmann <arnd@arndb.de>
4269 Cc: stable@vger.kernel.org
4270 Signed-off-by: Guenter Roeck <linux@roeck-us.net>
4271
4272 drivers/hwmon/max1111.c | 6 ++++++
4273 1 file changed, 6 insertions(+)
4274
4275 commit f75f1af7a0b4be055855ca5120ee78174f3370f2
4276 Author: Nicolai Stange <nicstange@gmail.com>
4277 Date: Sun Mar 20 23:23:46 2016 +0100
4278
4279 PKCS#7: pkcs7_validate_trust(): initialize the _trusted output argument
4280
4281 Despite what the DocBook comment to pkcs7_validate_trust() says, the
4282 *_trusted argument is never set to false.
4283
4284 pkcs7_validate_trust() only positively sets *_trusted upon encountering
4285 a trusted PKCS#7 SignedInfo block.
4286
4287 This is quite unfortunate since its callers, system_verify_data() for
4288 example, depend on pkcs7_validate_trust() clearing *_trusted on non-trust.
4289
4290 Indeed, UBSAN splats when attempting to load the uninitialized local
4291 variable 'trusted' from system_verify_data() in pkcs7_validate_trust():
4292
4293 UBSAN: Undefined behaviour in crypto/asymmetric_keys/pkcs7_trust.c:194:14
4294 load of value 82 is not a valid value for type '_Bool'
4295 [...]
4296 Call Trace:
4297 [<ffffffff818c4d35>] dump_stack+0xbc/0x117
4298 [<ffffffff818c4c79>] ? _atomic_dec_and_lock+0x169/0x169
4299 [<ffffffff8194113b>] ubsan_epilogue+0xd/0x4e
4300 [<ffffffff819419fa>] __ubsan_handle_load_invalid_value+0x111/0x158
4301 [<ffffffff819418e9>] ? val_to_string.constprop.12+0xcf/0xcf
4302 [<ffffffff818334a4>] ? x509_request_asymmetric_key+0x114/0x370
4303 [<ffffffff814b83f0>] ? kfree+0x220/0x370
4304 [<ffffffff818312c2>] ? public_key_verify_signature_2+0x32/0x50
4305 [<ffffffff81835e04>] pkcs7_validate_trust+0x524/0x5f0
4306 [<ffffffff813c391a>] system_verify_data+0xca/0x170
4307 [<ffffffff813c3850>] ? top_trace_array+0x9b/0x9b
4308 [<ffffffff81510b29>] ? __vfs_read+0x279/0x3d0
4309 [<ffffffff8129372f>] mod_verify_sig+0x1ff/0x290
4310 [...]
4311
4312 The implication is that pkcs7_validate_trust() effectively grants trust
4313 when it really shouldn't have.
4314
4315 Fix this by explicitly setting *_trusted to false at the very beginning
4316 of pkcs7_validate_trust().
4317
4318 Cc: <stable@vger.kernel.org>
4319 Signed-off-by: Nicolai Stange <nicstange@gmail.com>
4320 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
4321
4322 crypto/asymmetric_keys/pkcs7_trust.c | 2 ++
4323 1 file changed, 2 insertions(+)
4324
4325 commit 1052826f7352ccc98167129b0b83222f45d50046
4326 Author: Florian Westphal <fw@strlen.de>
4327 Date: Tue Mar 22 18:02:49 2016 +0100
4328
4329 netfilter: x_tables: validate e->target_offset early
4330
4331 We should check that e->target_offset is sane before
4332 mark_source_chains gets called since it will fetch the target entry
4333 for loop detection.
4334
4335 Signed-off-by: Florian Westphal <fw@strlen.de>
4336 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
4337
4338 net/ipv4/netfilter/arp_tables.c | 17 ++++++++---------
4339 net/ipv4/netfilter/ip_tables.c | 17 ++++++++---------
4340 net/ipv6/netfilter/ip6_tables.c | 17 ++++++++---------
4341 3 files changed, 24 insertions(+), 27 deletions(-)
4342
4343 commit b35d19509e8dab157214e46dd24314663ccf554f
4344 Author: Florian Westphal <fw@strlen.de>
4345 Date: Tue Mar 22 18:02:50 2016 +0100
4346
4347 netfilter: x_tables: make sure e->next_offset covers remaining blob size
4348
4349 Otherwise this function may read data beyond the ruleset blob.
4350
4351 Signed-off-by: Florian Westphal <fw@strlen.de>
4352 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
4353
4354 net/ipv4/netfilter/arp_tables.c | 6 ++++--
4355 net/ipv4/netfilter/ip_tables.c | 6 ++++--
4356 net/ipv6/netfilter/ip6_tables.c | 6 ++++--
4357 3 files changed, 12 insertions(+), 6 deletions(-)
4358
4359 commit 4d7642ed66b69140733a7b51fcd6d37ce4d4514c
4360 Author: Florian Westphal <fw@strlen.de>
4361 Date: Tue Mar 22 18:02:52 2016 +0100
4362
4363 netfilter: x_tables: fix unconditional helper
4364
4365 Ben Hawkes says:
4366
4367 In the mark_source_chains function (net/ipv4/netfilter/ip_tables.c) it
4368 is possible for a user-supplied ipt_entry structure to have a large
4369 next_offset field. This field is not bounds checked prior to writing a
4370 counter value at the supplied offset.
4371
4372 Problem is that mark_source_chains should not have been called --
4373 the rule doesn't have a next entry, so its supposed to return
4374 an absolute verdict of either ACCEPT or DROP.
4375
4376 However, the function conditional() doesn't work as the name implies.
4377 It only checks that the rule is using wildcard address matching.
4378
4379 However, an unconditional rule must also not be using any matches
4380 (no -m args).
4381
4382 The underflow validator only checked the addresses, therefore
4383 passing the 'unconditional absolute verdict' test, while
4384 mark_source_chains also tested for presence of matches, and thus
4385 proceeeded to the next (not-existent) rule.
4386
4387 Unify this so that all the callers have same idea of 'unconditional rule'.
4388
4389 Reported-by: Ben Hawkes <hawkes@google.com>
4390 Signed-off-by: Florian Westphal <fw@strlen.de>
4391 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
4392
4393 net/ipv4/netfilter/arp_tables.c | 18 +++++++++---------
4394 net/ipv4/netfilter/ip_tables.c | 23 +++++++++++------------
4395 net/ipv6/netfilter/ip6_tables.c | 23 +++++++++++------------
4396 3 files changed, 31 insertions(+), 33 deletions(-)
4397
4398 commit e3e51682563f1453dfc4b9ef88b29af4d1a78e78
4399 Author: Pablo Neira Ayuso <pablo@netfilter.org>
4400 Date: Thu Mar 24 21:29:53 2016 +0100
4401
4402 netfilter: x_tables: enforce nul-terminated table name from getsockopt GET_ENTRIES
4403
4404 Make sure the table names via getsockopt GET_ENTRIES is nul-terminated
4405 in ebtables and all the x_tables variants and their respective compat
4406 code. Uncovered by KASAN.
4407
4408 Reported-by: Baozeng Ding <sploving1@gmail.com>
4409 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
4410
4411 net/bridge/netfilter/ebtables.c | 4 ++++
4412 net/ipv4/netfilter/arp_tables.c | 2 ++
4413 net/ipv4/netfilter/ip_tables.c | 2 ++
4414 net/ipv6/netfilter/ip6_tables.c | 2 ++
4415 4 files changed, 10 insertions(+)
4416
4417 commit 7742471b674597627f8f608f6a89c6e5bbd6533d
4418 Author: Nicolai Stange <nicstange@gmail.com>
4419 Date: Fri Mar 25 14:22:14 2016 -0700
4420
4421 mm/filemap: generic_file_read_iter(): check for zero reads unconditionally
4422
4423 If
4424 - generic_file_read_iter() gets called with a zero read length,
4425 - the read offset is at a page boundary,
4426 - IOCB_DIRECT is not set
4427 - and the page in question hasn't made it into the page cache yet,
4428 then do_generic_file_read() will trigger a readahead with a req_size hint
4429 of zero.
4430
4431 Since roundup_pow_of_two(0) is undefined, UBSAN reports
4432
4433 UBSAN: Undefined behaviour in include/linux/log2.h:63:13
4434 shift exponent 64 is too large for 64-bit type 'long unsigned int'
4435 CPU: 3 PID: 1017 Comm: sa1 Tainted: G L 4.5.0-next-20160318+ #14
4436 [...]
4437 Call Trace:
4438 [...]
4439 [<ffffffff813ef61a>] ondemand_readahead+0x3aa/0x3d0
4440 [<ffffffff813ef61a>] ? ondemand_readahead+0x3aa/0x3d0
4441 [<ffffffff813c73bd>] ? find_get_entry+0x2d/0x210
4442 [<ffffffff813ef9c3>] page_cache_sync_readahead+0x63/0xa0
4443 [<ffffffff813cc04d>] do_generic_file_read+0x80d/0xf90
4444 [<ffffffff813cc955>] generic_file_read_iter+0x185/0x420
4445 [...]
4446 [<ffffffff81510b06>] __vfs_read+0x256/0x3d0
4447 [...]
4448
4449 when get_init_ra_size() gets called from ondemand_readahead().
4450
4451 The net effect is that the initial readahead size is arch dependent for
4452 requested read lengths of zero: for example, since
4453
4454 1UL << (sizeof(unsigned long) * 8)
4455
4456 evaluates to 1 on x86 while its result is 0 on ARMv7, the initial readahead
4457 size becomes 4 on the former and 0 on the latter.
4458
4459 What's more, whether or not the file access timestamp is updated for zero
4460 length reads is decided differently for the two cases of IOCB_DIRECT
4461 being set or cleared: in the first case, generic_file_read_iter()
4462 explicitly skips updating that timestamp while in the latter case, it is
4463 always updated through the call to do_generic_file_read().
4464
4465 According to POSIX, zero length reads "do not modify the last data access
4466 timestamp" and thus, the IOCB_DIRECT behaviour is POSIXly correct.
4467
4468 Let generic_file_read_iter() unconditionally check the requested read
4469 length at its entry and return immediately with success if it is zero.
4470
4471 Signed-off-by: Nicolai Stange <nicstange@gmail.com>
4472 Cc: Al Viro <viro@zeniv.linux.org.uk>
4473 Reviewed-by: Jan Kara <jack@suse.cz>
4474 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
4475 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
4476
4477 mm/filemap.c | 7 ++++---
4478 1 file changed, 4 insertions(+), 3 deletions(-)
4479
4480 commit 604785419da498d7e876a0191b2e11626db706bb
4481 Author: Oliver Neukum <oneukum@suse.com>
4482 Date: Thu Mar 17 14:00:17 2016 -0700
4483
4484 Input: ims-pcu - sanity check against missing interfaces
4485
4486 A malicious device missing interface can make the driver oops.
4487 Add sanity checking.
4488
4489 Signed-off-by: Oliver Neukum <ONeukum@suse.com>
4490 CC: stable@vger.kernel.org
4491 Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
4492
4493 drivers/input/misc/ims-pcu.c | 4 ++++
4494 1 file changed, 4 insertions(+)
4495
4496 commit 24c3f4f6652f07eb2c3deea1488ff4de00592e80
4497 Author: Vladis Dronov <vdronov@redhat.com>
4498 Date: Wed Mar 23 11:53:46 2016 -0700
4499
4500 Input: ati_remote2 - fix crashes on detecting device with invalid descriptor
4501
4502 The ati_remote2 driver expects at least two interfaces with one
4503 endpoint each. If given malicious descriptor that specify one
4504 interface or no endpoints, it will crash in the probe function.
4505 Ensure there is at least two interfaces and one endpoint for each
4506 interface before using it.
4507
4508 The full disclosure: http://seclists.org/bugtraq/2016/Mar/90
4509
4510 Reported-by: Ralf Spenneberg <ralf@spenneberg.net>
4511 Signed-off-by: Vladis Dronov <vdronov@redhat.com>
4512 Cc: stable@vger.kernel.org
4513 Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
4514
4515 drivers/input/misc/ati_remote2.c | 36 ++++++++++++++++++++++++++++++------
4516 1 file changed, 30 insertions(+), 6 deletions(-)
4517
4518 commit 262df604d00e72a4b930fbf7fe3a770f0196a5a5
4519 Author: Oliver Neukum <oneukum@suse.com>
4520 Date: Wed Mar 23 14:36:56 2016 -0700
4521
4522 Input: sur40 - fix DMA on stack
4523
4524 During the initialisation the driver uses a buffer on the stack for DMA.
4525 That violates the cache coherency rules. The fix is to allocate the buffer
4526 with kmalloc().
4527
4528 Signed-off-by: Oliver Neukum <ONeukum@suse.com>
4529 Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
4530
4531 drivers/input/touchscreen/sur40.c | 21 ++++++++++++++-------
4532 1 file changed, 14 insertions(+), 7 deletions(-)
4533
4534 commit 015dd03669b2ab646723f6b123377e4ef5694a10
4535 Author: Haiyang Zhang <haiyangz@microsoft.com>
4536 Date: Wed Mar 23 09:43:10 2016 -0700
4537
4538 hv_netvsc: Fix the array sizes to be max supported channels
4539
4540 The VRSS_CHANNEL_MAX is the max number of channels supported by Hyper-V
4541 hosts. We use it for the related array sizes instead of using NR_CPUS,
4542 which may be set to several thousands.
4543 This patch reduces possible memory allocation failures.
4544
4545 Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
4546 Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
4547 Signed-off-by: David S. Miller <davem@davemloft.net>
4548
4549 drivers/net/hyperv/hyperv_net.h | 7 ++++---
4550 drivers/net/hyperv/rndis_filter.c | 4 ++--
4551 2 files changed, 6 insertions(+), 5 deletions(-)
4552
4553 commit a850a78d6393ef22a970266cbbefdf3dba0267b5
4554 Author: Haiyang Zhang <haiyangz@microsoft.com>
4555 Date: Wed Mar 23 09:43:09 2016 -0700
4556
4557 hv_netvsc: Fix accessing freed memory in netvsc_change_mtu()
4558
4559 struct netvsc_device is freed in rndis_filter_device_remove(). So we save
4560 the nvdev->num_chn into a temp variable for later usage.
4561
4562 (Please also include this patch into stable branch.)
4563
4564 Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
4565 Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
4566 Signed-off-by: David S. Miller <davem@davemloft.net>
4567
4568 drivers/net/hyperv/netvsc_drv.c | 5 ++++-
4569 1 file changed, 4 insertions(+), 1 deletion(-)
4570
4571 commit 7409626e43fe871cede30ac926425938f3ccddaf
4572 Author: Guillaume Nault <g.nault@alphalink.fr>
4573 Date: Wed Mar 23 16:38:55 2016 +0100
4574
4575 ppp: take reference on channels netns
4576
4577 Let channels hold a reference on their network namespace.
4578 Some channel types, like ppp_async and ppp_synctty, can have their
4579 userspace controller running in a different namespace. Therefore they
4580 can't rely on them to preclude their netns from being removed from
4581 under them.
4582
4583 ==================================================================
4584 BUG: KASAN: use-after-free in ppp_unregister_channel+0x372/0x3a0 at
4585 addr ffff880064e217e0
4586 Read of size 8 by task syz-executor/11581
4587 =============================================================================
4588 BUG net_namespace (Not tainted): kasan: bad access detected
4589 -----------------------------------------------------------------------------
4590
4591 Disabling lock debugging due to kernel taint
4592 INFO: Allocated in copy_net_ns+0x6b/0x1a0 age=92569 cpu=3 pid=6906
4593 [< none >] ___slab_alloc+0x4c7/0x500 kernel/mm/slub.c:2440
4594 [< none >] __slab_alloc+0x4c/0x90 kernel/mm/slub.c:2469
4595 [< inline >] slab_alloc_node kernel/mm/slub.c:2532
4596 [< inline >] slab_alloc kernel/mm/slub.c:2574
4597 [< none >] kmem_cache_alloc+0x23a/0x2b0 kernel/mm/slub.c:2579
4598 [< inline >] kmem_cache_zalloc kernel/include/linux/slab.h:597
4599 [< inline >] net_alloc kernel/net/core/net_namespace.c:325
4600 [< none >] copy_net_ns+0x6b/0x1a0 kernel/net/core/net_namespace.c:360
4601 [< none >] create_new_namespaces+0x2f6/0x610 kernel/kernel/nsproxy.c:95
4602 [< none >] copy_namespaces+0x297/0x320 kernel/kernel/nsproxy.c:150
4603 [< none >] copy_process.part.35+0x1bf4/0x5760 kernel/kernel/fork.c:1451
4604 [< inline >] copy_process kernel/kernel/fork.c:1274
4605 [< none >] _do_fork+0x1bc/0xcb0 kernel/kernel/fork.c:1723
4606 [< inline >] SYSC_clone kernel/kernel/fork.c:1832
4607 [< none >] SyS_clone+0x37/0x50 kernel/kernel/fork.c:1826
4608 [< none >] entry_SYSCALL_64_fastpath+0x16/0x7a kernel/arch/x86/entry/entry_64.S:185
4609
4610 INFO: Freed in net_drop_ns+0x67/0x80 age=575 cpu=2 pid=2631
4611 [< none >] __slab_free+0x1fc/0x320 kernel/mm/slub.c:2650
4612 [< inline >] slab_free kernel/mm/slub.c:2805
4613 [< none >] kmem_cache_free+0x2a0/0x330 kernel/mm/slub.c:2814
4614 [< inline >] net_free kernel/net/core/net_namespace.c:341
4615 [< none >] net_drop_ns+0x67/0x80 kernel/net/core/net_namespace.c:348
4616 [< none >] cleanup_net+0x4e5/0x600 kernel/net/core/net_namespace.c:448
4617 [< none >] process_one_work+0x794/0x1440 kernel/kernel/workqueue.c:2036
4618 [< none >] worker_thread+0xdb/0xfc0 kernel/kernel/workqueue.c:2170
4619 [< none >] kthread+0x23f/0x2d0 kernel/drivers/block/aoe/aoecmd.c:1303
4620 [< none >] ret_from_fork+0x3f/0x70 kernel/arch/x86/entry/entry_64.S:468
4621 INFO: Slab 0xffffea0001938800 objects=3 used=0 fp=0xffff880064e20000
4622 flags=0x5fffc0000004080
4623 INFO: Object 0xffff880064e20000 @offset=0 fp=0xffff880064e24200
4624
4625 CPU: 1 PID: 11581 Comm: syz-executor Tainted: G B 4.4.0+
4626 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
4627 rel-1.8.2-0-g33fbe13 by qemu-project.org 04/01/2014
4628 00000000ffffffff ffff8800662c7790 ffffffff8292049d ffff88003e36a300
4629 ffff880064e20000 ffff880064e20000 ffff8800662c77c0 ffffffff816f2054
4630 ffff88003e36a300 ffffea0001938800 ffff880064e20000 0000000000000000
4631 Call Trace:
4632 [< inline >] __dump_stack kernel/lib/dump_stack.c:15
4633 [<ffffffff8292049d>] dump_stack+0x6f/0xa2 kernel/lib/dump_stack.c:50
4634 [<ffffffff816f2054>] print_trailer+0xf4/0x150 kernel/mm/slub.c:654
4635 [<ffffffff816f875f>] object_err+0x2f/0x40 kernel/mm/slub.c:661
4636 [< inline >] print_address_description kernel/mm/kasan/report.c:138
4637 [<ffffffff816fb0c5>] kasan_report_error+0x215/0x530 kernel/mm/kasan/report.c:236
4638 [< inline >] kasan_report kernel/mm/kasan/report.c:259
4639 [<ffffffff816fb4de>] __asan_report_load8_noabort+0x3e/0x40 kernel/mm/kasan/report.c:280
4640 [< inline >] ? ppp_pernet kernel/include/linux/compiler.h:218
4641 [<ffffffff83ad71b2>] ? ppp_unregister_channel+0x372/0x3a0 kernel/drivers/net/ppp/ppp_generic.c:2392
4642 [< inline >] ppp_pernet kernel/include/linux/compiler.h:218
4643 [<ffffffff83ad71b2>] ppp_unregister_channel+0x372/0x3a0 kernel/drivers/net/ppp/ppp_generic.c:2392
4644 [< inline >] ? ppp_pernet kernel/drivers/net/ppp/ppp_generic.c:293
4645 [<ffffffff83ad6f26>] ? ppp_unregister_channel+0xe6/0x3a0 kernel/drivers/net/ppp/ppp_generic.c:2392
4646 [<ffffffff83ae18f3>] ppp_asynctty_close+0xa3/0x130 kernel/drivers/net/ppp/ppp_async.c:241
4647 [<ffffffff83ae1850>] ? async_lcp_peek+0x5b0/0x5b0 kernel/drivers/net/ppp/ppp_async.c:1000
4648 [<ffffffff82c33239>] tty_ldisc_close.isra.1+0x99/0xe0 kernel/drivers/tty/tty_ldisc.c:478
4649 [<ffffffff82c332c0>] tty_ldisc_kill+0x40/0x170 kernel/drivers/tty/tty_ldisc.c:744
4650 [<ffffffff82c34943>] tty_ldisc_release+0x1b3/0x260 kernel/drivers/tty/tty_ldisc.c:772
4651 [<ffffffff82c1ef21>] tty_release+0xac1/0x13e0 kernel/drivers/tty/tty_io.c:1901
4652 [<ffffffff82c1e460>] ? release_tty+0x320/0x320 kernel/drivers/tty/tty_io.c:1688
4653 [<ffffffff8174de36>] __fput+0x236/0x780 kernel/fs/file_table.c:208
4654 [<ffffffff8174e405>] ____fput+0x15/0x20 kernel/fs/file_table.c:244
4655 [<ffffffff813595ab>] task_work_run+0x16b/0x200 kernel/kernel/task_work.c:115
4656 [< inline >] exit_task_work kernel/include/linux/task_work.h:21
4657 [<ffffffff81307105>] do_exit+0x8b5/0x2c60 kernel/kernel/exit.c:750
4658 [<ffffffff813fdd20>] ? debug_check_no_locks_freed+0x290/0x290 kernel/kernel/locking/lockdep.c:4123
4659 [<ffffffff81306850>] ? mm_update_next_owner+0x6f0/0x6f0 kernel/kernel/exit.c:357
4660 [<ffffffff813215e6>] ? __dequeue_signal+0x136/0x470 kernel/kernel/signal.c:550
4661 [<ffffffff8132067b>] ? recalc_sigpending_tsk+0x13b/0x180 kernel/kernel/signal.c:145
4662 [<ffffffff81309628>] do_group_exit+0x108/0x330 kernel/kernel/exit.c:880
4663 [<ffffffff8132b9d4>] get_signal+0x5e4/0x14f0 kernel/kernel/signal.c:2307
4664 [< inline >] ? kretprobe_table_lock kernel/kernel/kprobes.c:1113
4665 [<ffffffff8151d355>] ? kprobe_flush_task+0xb5/0x450 kernel/kernel/kprobes.c:1158
4666 [<ffffffff8115f7d3>] do_signal+0x83/0x1c90 kernel/arch/x86/kernel/signal.c:712
4667 [<ffffffff8151d2a0>] ? recycle_rp_inst+0x310/0x310 kernel/include/linux/list.h:655
4668 [<ffffffff8115f750>] ? setup_sigcontext+0x780/0x780 kernel/arch/x86/kernel/signal.c:165
4669 [<ffffffff81380864>] ? finish_task_switch+0x424/0x5f0 kernel/kernel/sched/core.c:2692
4670 [< inline >] ? finish_lock_switch kernel/kernel/sched/sched.h:1099
4671 [<ffffffff81380560>] ? finish_task_switch+0x120/0x5f0 kernel/kernel/sched/core.c:2678
4672 [< inline >] ? context_switch kernel/kernel/sched/core.c:2807
4673 [<ffffffff85d794e9>] ? __schedule+0x919/0x1bd0 kernel/kernel/sched/core.c:3283
4674 [<ffffffff81003901>] exit_to_usermode_loop+0xf1/0x1a0 kernel/arch/x86/entry/common.c:247
4675 [< inline >] prepare_exit_to_usermode kernel/arch/x86/entry/common.c:282
4676 [<ffffffff810062ef>] syscall_return_slowpath+0x19f/0x210 kernel/arch/x86/entry/common.c:344
4677 [<ffffffff85d88022>] int_ret_from_sys_call+0x25/0x9f kernel/arch/x86/entry/entry_64.S:281
4678 Memory state around the buggy address:
4679 ffff880064e21680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
4680 ffff880064e21700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
4681 >ffff880064e21780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
4682 ^
4683 ffff880064e21800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
4684 ffff880064e21880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
4685 ==================================================================
4686
4687 Fixes: 273ec51dd7ce ("net: ppp_generic - introduce net-namespace functionality v2")
4688 Reported-by: Baozeng Ding <sploving1@gmail.com>
4689 Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
4690 Reviewed-by: Cyrill Gorcunov <gorcunov@openvz.org>
4691 Signed-off-by: David S. Miller <davem@davemloft.net>
4692
4693 drivers/net/ppp/ppp_generic.c | 4 +++-
4694 1 file changed, 3 insertions(+), 1 deletion(-)
4695
4696 commit bfb890c1ac9d29b377f6bec4a5aab51d053114c4
4697 Author: Herbert Xu <herbert@gondor.apana.org.au>
4698 Date: Wed Mar 16 17:06:01 2016 +0800
4699
4700 eCryptfs: Use skcipher and shash
4701
4702 eCryptfs: Fix null pointer dereference on kzalloc error path
4703
4704 The conversion to skcipher and shash added a couple of null pointer
4705 dereference bugs on the kzalloc failure path. This patch fixes them.
4706
4707 Fixes: 3095e8e366b4 ("eCryptfs: Use skcipher and shash")
4708 Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
4709 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
4710
4711 fs/ecryptfs/keystore.c | 6 ++----
4712 1 file changed, 2 insertions(+), 4 deletions(-)
4713
4714 commit 58a8421ae537e0609c4ff59bf6b11be869a43cc6
4715 Author: Boris BREZILLON <boris.brezillon@free-electrons.com>
4716 Date: Thu Mar 17 10:21:34 2016 +0100
4717
4718 crypto: marvell/cesa - fix memory leak
4719
4720 Crypto requests are not guaranteed to be finalized (->final() call),
4721 and can be freed at any moment, without getting any notification from
4722 the core. This can lead to memory leaks of the ->cache buffer.
4723
4724 Make this buffer part of the request object, and allocate an extra buffer
4725 from the DMA cache pool when doing DMA operations.
4726
4727 As a side effect, this patch also fixes another bug related to cache
4728 allocation and DMA operations. When the core allocates a new request and
4729 import an existing state, a cache buffer can be allocated (depending
4730 on the state). The problem is, at that very moment, we don't know yet
4731 whether the request will use DMA or not, and since everything is
4732 likely to be initialized to zero, mv_cesa_ahash_alloc_cache() thinks it
4733 should allocate a buffer for standard operation. But when
4734 mv_cesa_ahash_free_cache() is called, req->type has been set to
4735 CESA_DMA_REQ in the meantime, thus leading to an invalind dma_pool_free()
4736 call (the buffer passed in argument has not been allocated from the pool).
4737
4738 Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
4739 Reported-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
4740 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
4741
4742 drivers/crypto/marvell/cesa.h | 3 +-
4743 drivers/crypto/marvell/hash.c | 86 +++++++++----------------------------------
4744 2 files changed, 20 insertions(+), 69 deletions(-)
4745
4746 commit 1ec604f99895b9c37f26a692ff83a7da02d667fd
4747 Author: Boris BREZILLON <boris.brezillon@free-electrons.com>
4748 Date: Thu Mar 17 10:21:35 2016 +0100
4749
4750 crypto: marvell/cesa - initialize hash states
4751
4752 ->export() might be called before we have done an update operation,
4753 and in this case the ->state field is left uninitialized.
4754 Put the correct default value when initializing the request.
4755
4756 Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
4757 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
4758
4759 drivers/crypto/marvell/hash.c | 20 ++++++++++++++++++++
4760 1 file changed, 20 insertions(+)
4761
4762 commit 23879f055d23e82c2f78cceca22c33e631973977
4763 Author: David S. Miller <davem@davemloft.net>
4764 Date: Sun Mar 13 23:28:00 2016 -0400
4765
4766 ipv4: Don't do expensive useless work during inetdev destroy.
4767
4768 When an inetdev is destroyed, every address assigned to the interface
4769 is removed. And in this scenerio we do two pointless things which can
4770 be very expensive if the number of assigned interfaces is large:
4771
4772 1) Address promotion. We are deleting all addresses, so there is no
4773 point in doing this.
4774
4775 2) A full nf conntrack table purge for every address. We only need to
4776 do this once, as is already caught by the existing
4777 masq_dev_notifier so masq_inet_event() can skip this.
4778
4779 Reported-by: Solar Designer <solar@openwall.com>
4780 Signed-off-by: David S. Miller <davem@davemloft.net>
4781 Tested-by: Cyrill Gorcunov <gorcunov@openvz.org>
4782
4783 net/ipv4/devinet.c | 4 ++++
4784 net/ipv4/fib_frontend.c | 4 ++++
4785 net/ipv4/netfilter/nf_nat_masquerade_ipv4.c | 12 ++++++++++--
4786 3 files changed, 18 insertions(+), 2 deletions(-)
4787
4788 commit 60394231e840e884024592a76a6c5612433d3756
4789 Author: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
4790 Date: Tue Mar 8 10:34:28 2016 -0300
4791
4792 sctp: fix copying more bytes than expected in sctp_add_bind_addr
4793
4794 Dmitry reported that sctp_add_bind_addr may read more bytes than
4795 expected in case the parameter is a IPv4 addr supplied by the user
4796 through calls such as sctp_bindx_add(), because it always copies
4797 sizeof(union sctp_addr) while the buffer may be just a struct
4798 sockaddr_in, which is smaller.
4799
4800 This patch then fixes it by limiting the memcpy to the min between the
4801 union size and a (new parameter) provided addr size. Where possible this
4802 parameter still is the size of that union, except for reading from
4803 user-provided buffers, which then it accounts for protocol type.
4804
4805 Reported-by: Dmitry Vyukov <dvyukov@google.com>
4806 Tested-by: Dmitry Vyukov <dvyukov@google.com>
4807 Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
4808 Signed-off-by: David S. Miller <davem@davemloft.net>
4809
4810 include/net/sctp/structs.h | 2 +-
4811 net/sctp/bind_addr.c | 14 ++++++++------
4812 net/sctp/protocol.c | 1 +
4813 net/sctp/sm_make_chunk.c | 3 ++-
4814 net/sctp/socket.c | 4 +++-
4815 5 files changed, 15 insertions(+), 9 deletions(-)
4816
4817 commit 9831caa50e1453818c5ec618890291f028b7992f
4818 Author: Brad Spengler <spender@grsecurity.net>
4819 Date: Mon Mar 28 19:20:28 2016 -0400
4820
4821 Also allow /bin/false as needed by systemd
4822
4823 kernel/kmod.c | 2 +-
4824 1 file changed, 1 insertion(+), 1 deletion(-)
4825
4826 commit bb38a61b496a3f09f4d7b93d2f0fe15476918147
4827 Author: Brad Spengler <spender@grsecurity.net>
4828 Date: Tue Mar 22 16:59:43 2016 -0400
4829
4830 Fix size_overflow FP reported by marcan at:
4831 https://forums.grsecurity.net/viewtopic.php?f=3&t=4426
4832
4833 net/ipv6/xfrm6_mode_transport.c | 2 +-
4834 1 file changed, 1 insertion(+), 1 deletion(-)
4835
4836 commit 523a36a9c845da3051e58c6767c2e1a0f640998a
4837 Merge: 0d0ec9e c0b77a7
4838 Author: Brad Spengler <spender@grsecurity.net>
4839 Date: Wed Mar 16 20:20:40 2016 -0400
4840
4841 Merge branch 'pax-test' into grsec-test
4842
4843 commit c0b77a7cb578199f0b7dc90768a13ca6c044aba9
4844 Merge: 10d57c1 0d19123
4845 Author: Brad Spengler <spender@grsecurity.net>
4846 Date: Wed Mar 16 20:20:27 2016 -0400
4847
4848 Merge branch 'linux-4.4.y' into pax-test
4849
4850 commit 0d0ec9ee83144ab839710a01cfd746bd78257394
4851 Author: Brad Spengler <spender@grsecurity.net>
4852 Date: Mon Mar 14 20:15:47 2016 -0400
4853
4854 Invert logic to clean up code
4855
4856 fs/namei.c | 32 +++++++-------------------------
4857 grsecurity/grsec_chroot.c | 10 +++++-----
4858 2 files changed, 12 insertions(+), 30 deletions(-)
4859
4860 commit 39e0e623c84863af7b3ace759b583ff938fde2b7
4861 Author: Brad Spengler <spender@grsecurity.net>
4862 Date: Mon Mar 14 19:59:36 2016 -0400
4863
4864 compile fix
4865
4866 fs/namei.c | 5 ++---
4867 1 file changed, 2 insertions(+), 3 deletions(-)
4868
4869 commit 2b3ad8bc095fea829275b7fcc7e5671677b8ed33
4870 Author: Brad Spengler <spender@grsecurity.net>
4871 Date: Mon Mar 14 19:57:53 2016 -0400
4872
4873 Also handle renames
4874
4875 fs/namei.c | 9 +++++++++
4876 1 file changed, 9 insertions(+)
4877
4878 commit 54dfd13b19743d4a340de0cd5683b5bde44e7d9c
4879 Author: Brad Spengler <spender@grsecurity.net>
4880 Date: Mon Mar 14 19:45:56 2016 -0400
4881
4882 Add additional check to cover lookup family of functions
4883
4884 fs/namei.c | 9 +++++++++
4885 1 file changed, 9 insertions(+)
4886
4887 commit c3df846baa7873fb99401136f220676b87452918
4888 Author: Brad Spengler <spender@grsecurity.net>
4889 Date: Mon Mar 14 18:42:37 2016 -0400
4890
4891 compile fix
4892
4893 fs/namei.c | 2 +-
4894 1 file changed, 1 insertion(+), 1 deletion(-)
4895
4896 commit 384ea9c0ef9df4298dfa3a71948c08e70f1092bf
4897 Author: Brad Spengler <spender@grsecurity.net>
4898 Date: Mon Mar 14 18:34:40 2016 -0400
4899
4900 Fix recent chroot check on the create side, as reported by
4901 Toralf Foerster
4902
4903 fs/namei.c | 26 ++++++++++++++++----------
4904 1 file changed, 16 insertions(+), 10 deletions(-)
4905
4906 commit 82e7dc61a626c47887d392ff9cd35b104f01fd25
4907 Author: Paolo Bonzini <pbonzini@redhat.com>
4908 Date: Tue Mar 8 12:13:39 2016 +0100
4909
4910 KVM: MMU: fix ept=0/pte.u=1/pte.w=0/CR0.WP=0/CR4.SMEP=1/EFER.NX=0 combo
4911
4912 Yes, all of these are needed. :) This is admittedly a bit odd, but
4913 kvm-unit-tests access.flat tests this if you run it with "-cpu host"
4914 and of course ept=0.
4915
4916 KVM runs the guest with CR0.WP=1, so it must handle supervisor writes
4917 specially when pte.u=1/pte.w=0/CR0.WP=0. Such writes cause a fault
4918 when U=1 and W=0 in the SPTE, but they must succeed because CR0.WP=0.
4919 When KVM gets the fault, it sets U=0 and W=1 in the shadow PTE and
4920 restarts execution. This will still cause a user write to fault, while
4921 supervisor writes will succeed. User reads will fault spuriously now,
4922 and KVM will then flip U and W again in the SPTE (U=1, W=0). User reads
4923 will be enabled and supervisor writes disabled, going back to the
4924 originary situation where supervisor writes fault spuriously.
4925
4926 When SMEP is in effect, however, U=0 will enable kernel execution of
4927 this page. To avoid this, KVM also sets NX=1 in the shadow PTE together
4928 with U=0. If the guest has not enabled NX, the result is a continuous
4929 stream of page faults due to the NX bit being reserved.
4930
4931 The fix is to force EFER.NX=1 even if the CPU is taking care of the EFER
4932 switch. (All machines with SMEP have the CPU_LOAD_IA32_EFER vm-entry
4933 control, so they do not use user-return notifiers for EFER---if they did,
4934 EFER.NX would be forced to the same value as the host).
4935
4936 There is another bug in the reserved bit check, which I've split to a
4937 separate patch for easier application to stable kernels.
4938
4939 Cc: stable@vger.kernel.org
4940 Cc: Andy Lutomirski <luto@amacapital.net>
4941 Reviewed-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
4942 Fixes: f6577a5fa15d82217ca73c74cd2dcbc0f6c781dd
4943 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
4944
4945 Documentation/virtual/kvm/mmu.txt | 3 ++-
4946 arch/x86/kvm/vmx.c | 36 +++++++++++++++++++++++-------------
4947 2 files changed, 25 insertions(+), 14 deletions(-)
4948
4949 commit 802a88e57b141e9643e93afb7805813ad8da22f3
4950 Author: Paolo Bonzini <pbonzini@redhat.com>
4951 Date: Wed Mar 9 14:28:02 2016 +0100
4952
4953 KVM: MMU: fix reserved bit check for ept=0/CR0.WP=0/CR4.SMEP=1/EFER.NX=0
4954
4955 KVM has special logic to handle pages with pte.u=1 and pte.w=0 when
4956 CR0.WP=1. These pages' SPTEs flip continuously between two states:
4957 U=1/W=0 (user and supervisor reads allowed, supervisor writes not allowed)
4958 and U=0/W=1 (supervisor reads and writes allowed, user writes not allowed).
4959
4960 When SMEP is in effect, however, U=0 will enable kernel execution of
4961 this page. To avoid this, KVM also sets NX=1 in the shadow PTE together
4962 with U=0, making the two states U=1/W=0/NX=gpte.NX and U=0/W=1/NX=1.
4963 When guest EFER has the NX bit cleared, the reserved bit check thinks
4964 that the latter state is invalid; teach it that the smep_andnot_wp case
4965 will also use the NX bit of SPTEs.
4966
4967 Cc: stable@vger.kernel.org
4968 Reviewed-by: Xiao Guangrong <guangrong.xiao@linux.inel.com>
4969 Fixes: c258b62b264fdc469b6d3610a907708068145e3b
4970 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
4971
4972 arch/x86/kvm/mmu.c | 4 +++-
4973 1 file changed, 3 insertions(+), 1 deletion(-)
4974
4975 commit 3925851224428c1d2bca32cf33821befb947c4f3
4976 Author: Ming Lei <ming.lei@canonical.com>
4977 Date: Sat Mar 12 22:56:19 2016 +0800
4978
4979 block: don't optimize for non-cloned bio in bio_get_last_bvec()
4980
4981 For !BIO_CLONED bio, we can use .bi_vcnt safely, but it
4982 doesn't mean we can just simply return .bi_io_vec[.bi_vcnt - 1]
4983 because the start postion may have been moved in the middle of
4984 the bvec, such as splitting in the middle of bvec.
4985
4986 Fixes: 7bcd79ac50d9(block: bio: introduce helpers to get the 1st and last bvec)
4987 Cc: stable@vger.kernel.org
4988 Reported-by: Kent Overstreet <kent.overstreet@gmail.com>
4989 Signed-off-by: Ming Lei <ming.lei@canonical.com>
4990 Signed-off-by: Jens Axboe <axboe@fb.com>
4991
4992 include/linux/bio.h | 5 -----
4993 1 file changed, 5 deletions(-)
4994
4995 commit db541463b4a0926bebdbac743c8736fb9e903d58
4996 Author: Borislav Petkov <bp@alien8.de>
4997 Date: Fri Mar 11 12:32:06 2016 +0100
4998
4999 x86/fpu: Fix eager-FPU handling on legacy FPU machines
5000
5001 i486 derived cores like Intel Quark support only the very old,
5002 legacy x87 FPU (FSAVE/FRSTOR, CPUID bit FXSR is not set), and
5003 our FPU code wasn't handling the saving and restoring there
5004 properly in the 'eagerfpu' case.
5005
5006 So after we made eagerfpu the default for all CPU types:
5007
5008 58122bf1d856 x86/fpu: Default eagerfpu=on on all CPUs
5009
5010 these old FPU designs broke. First, Andy Shevchenko reported a splat:
5011
5012 WARNING: CPU: 0 PID: 823 at arch/x86/include/asm/fpu/internal.h:163 fpu__clear+0x8c/0x160
5013
5014 which was us trying to execute FXRSTOR on those machines even though
5015 they don't support it.
5016
5017 After taking care of that, Bryan O'Donoghue reported that a simple FPU
5018 test still failed because we weren't initializing the FPU state properly
5019 on those machines.
5020
5021 Take care of all that.
5022
5023 Reported-and-tested-by: Bryan O'Donoghue <pure.logic@nexus-software.ie>
5024 Reported-by: Andy Shevchenko <andy.shevchenko@gmail.com>
5025 Signed-off-by: Borislav Petkov <bp@suse.de>
5026 Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
5027 Cc: Andrew Morton <akpm@linux-foundation.org>
5028 Cc: Andy Lutomirski <luto@amacapital.net>
5029 Cc: Borislav Petkov <bp@alien8.de>
5030 Cc: Brian Gerst <brgerst@gmail.com>
5031 Cc: Dave Hansen <dave.hansen@linux.intel.com>
5032 Cc: Denys Vlasenko <dvlasenk@redhat.com>
5033 Cc: Fenghua Yu <fenghua.yu@intel.com>
5034 Cc: H. Peter Anvin <hpa@zytor.com>
5035 Cc: Oleg Nesterov <oleg@redhat.com>
5036 Cc: Peter Zijlstra <peterz@infradead.org>
5037 Cc: Quentin Casasnovas <quentin.casasnovas@oracle.com>
5038 Cc: Thomas Gleixner <tglx@linutronix.de>
5039 Cc: Yu-cheng <yu-cheng.yu@intel.com>
5040 Link: http://lkml.kernel.org/r/20160311113206.GD4312@pd.tnic
5041 Signed-off-by: Ingo Molnar <mingo@kernel.org>
5042
5043 arch/x86/kernel/fpu/core.c | 4 +++-
5044 arch/x86/kernel/fpu/init.c | 2 +-
5045 2 files changed, 4 insertions(+), 2 deletions(-)
5046
5047 commit 8fed14e935cb62d2d46e99793d728dc7760dcc87
5048 Author: Brad Spengler <spender@grsecurity.net>
5049 Date: Sun Mar 13 11:35:56 2016 -0400
5050
5051 Compile fixes
5052
5053 fs/namei.c | 2 +-
5054 grsecurity/grsec_chroot.c | 2 +-
5055 include/linux/grsecurity.h | 2 +-
5056 3 files changed, 3 insertions(+), 3 deletions(-)
5057
5058 commit aab25a3496c4683c5858056960010119fb7d9a5a
5059 Author: Brad Spengler <spender@grsecurity.net>
5060 Date: Sun Mar 13 10:53:59 2016 -0400
5061
5062 Use fput instead of put_filp()
5063
5064 fs/namei.c | 4 ++--
5065 1 file changed, 2 insertions(+), 2 deletions(-)
5066
5067 commit 928ddec9dfe5415dff82d941c3b3e76ee6f48761
5068 Author: Brad Spengler <spender@grsecurity.net>
5069 Date: Sun Mar 13 10:30:54 2016 -0400
5070
5071 Update MPROTECT_COMPAT config description, disable by default
5072
5073 security/Kconfig | 18 ++++++------------
5074 1 file changed, 6 insertions(+), 12 deletions(-)
5075
5076 commit 4cc29af2e81e7a4bdfab1afedfdedca6e23362d5
5077 Author: Brad Spengler <spender@grsecurity.net>
5078 Date: Sun Mar 13 10:35:55 2016 -0400
5079
5080 As reported by Jann Horn, chroot scenarios where the chrooting application
5081 brings in a directory fd can be used to access any file outside of the chroot
5082 via *at syscalls. To maintain compatibility with Chromium and other apps,
5083 we specifically only disallow relative accesses off a directory fd when the
5084 final path is not located under that directory described by the fd and exists
5085 outside of the chroot. This additional restriction will exist under the
5086 current GRKERNSEC_CHROOT_FCHDIR option.
5087
5088 fs/namei.c | 9 +++++++++
5089 grsecurity/Kconfig | 10 ++++++----
5090 grsecurity/grsec_chroot.c | 39 +++++++++++++++++++++++++++++++++++++++
5091 include/linux/grmsg.h | 1 +
5092 include/linux/grsecurity.h | 1 +
5093 5 files changed, 56 insertions(+), 4 deletions(-)
5094
5095 commit 7d02a991213f0b07a3677dcc93cdafc3ac309142
5096 Author: Brad Spengler <spender@grsecurity.net>
5097 Date: Thu Mar 10 22:17:16 2016 -0500
5098
5099 Update size_overflow hash table
5100
5101 tools/gcc/size_overflow_plugin/size_overflow_hash.data | 1 +
5102 1 file changed, 1 insertion(+)
5103
5104 commit 29f25ddda6a5625340df26beb394279fefea2b49
5105 Author: Brad Spengler <spender@grsecurity.net>
5106 Date: Thu Mar 10 22:16:04 2016 -0500
5107
5108 Fix module support
5109
5110 kernel/module.c | 3 ++-
5111 1 file changed, 2 insertions(+), 1 deletion(-)
5112
5113 commit b057a45636b626e7eaf03077ed0916b95fea054c
5114 Merge: ba5ee94 10d57c1
5115 Author: Brad Spengler <spender@grsecurity.net>
5116 Date: Thu Mar 10 21:36:10 2016 -0500
5117
5118 Merge branch 'pax-test' into grsec-test
5119
5120 commit 10d57c107e7fabffbe616b14efab73df585576c2
5121 Merge: 1cbae46 62e2195
5122 Author: Brad Spengler <spender@grsecurity.net>
5123 Date: Thu Mar 10 21:34:58 2016 -0500
5124
5125 Update to pax-linux-4.4.5-test9.patch:
5126 - fixed an integer signedness mixup in the old select syscall caught by the size overflow plugin, by Mathias Krause <minipli@ld-linux.so>
5127 - Emese cleaned up a few unnecessary type casts in the size overflow plugin
5128 - fixed the initify plugin to not trigger a compiler assert with gcc 6 in LTO mode
5129 - compile the x86 vdso without plugins, reported by Emese
5130 - fixed a REFCOUNT/arm compile error, reported by coadde (https://forums.grsecurity.net/viewtopic.php?f=3&t=4410)
5131 - fixed gcc-common.h for gcc 6, reported by psturm (https://forums.grsecurity.net/viewtopic.php?f=3&t=4394)
5132
5133 Merge branch 'linux-4.4.y' into pax-test
5134
5135 commit ba5ee94199b11c1429559a08c2158677dd8f1761
5136 Author: Brad Spengler <spender@grsecurity.net>
5137 Date: Thu Mar 3 20:20:19 2016 -0500
5138
5139 Update size_overflow hash table
5140
5141 tools/gcc/size_overflow_plugin/size_overflow_hash.data | 1 +
5142 1 file changed, 1 insertion(+)
5143
5144 commit 50a5cd726362f0988b81a54d4c962acf8fd34a70
5145 Merge: 335c04c 1cbae46
5146 Author: Brad Spengler <spender@grsecurity.net>
5147 Date: Thu Mar 3 20:04:00 2016 -0500
5148
5149 Merge branch 'pax-test' into grsec-test
5150
5151 commit 1cbae46efa0b111ef2d46502f8d34c4c572a0e00
5152 Merge: a51cdb8 c252409
5153 Author: Brad Spengler <spender@grsecurity.net>
5154 Date: Thu Mar 3 19:57:43 2016 -0500
5155
5156 Merge branch 'linux-4.4.y' into pax-test
5157
5158 commit 335c04c8146a696a6101a9c69dbd47f11383549e
5159 Merge: 897877e a51cdb8
5160 Author: Brad Spengler <spender@grsecurity.net>
5161 Date: Tue Mar 1 17:57:24 2016 -0500
5162
5163 Merge branch 'pax-test' into grsec-test
5164
5165 commit a51cdb83569b450858737a30d2be043d87d7ddc1
5166 Author: Brad Spengler <spender@grsecurity.net>
5167 Date: Tue Mar 1 17:56:43 2016 -0500
5168
5169 Update to pax-linux-4.4.3-test6.patch:
5170 - spender fixed the cftype constification fallout, reported by quasar366 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4391)
5171 - fixed a few section mismatches on notifier_block variables
5172 - fixed a few REFCOUNT false positives found by Emese's plugin
5173 - constified hypervisor_x86
5174
5175 arch/x86/include/asm/hypervisor.h | 2 +-
5176 arch/x86/kernel/cpu/mshyperv.c | 2 +-
5177 arch/x86/kernel/cpu/vmware.c | 2 +-
5178 arch/x86/kernel/kvm.c | 2 +-
5179 drivers/lightnvm/rrpc.c | 4 ++--
5180 drivers/lightnvm/rrpc.h | 2 +-
5181 drivers/net/can/led.c | 2 +-
5182 drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 2 +-
5183 drivers/net/ethernet/rocker/rocker.c | 4 ++--
5184 drivers/net/ipvlan/ipvlan_main.c | 6 +++---
5185 drivers/net/vrf.c | 2 +-
5186 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 12 ++++++------
5187 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h | 2 +-
5188 drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 12 ++++++------
5189 drivers/staging/rtl8723au/include/drv_types.h | 2 +-
5190 drivers/staging/rtl8723au/include/rtw_mlme_ext.h | 2 +-
5191 drivers/staging/rtl8723au/include/usb_ops.h | 4 ++--
5192 drivers/thermal/x86_pkg_temp_thermal.c | 2 +-
5193 fs/proc/kcore.c | 2 +-
5194 mm/hugetlb_cgroup.c | 8 ++++----
5195 mm/mm_init.c | 2 +-
5196 mm/slub.c | 2 +-
5197 net/mac802154/iface.c | 2 +-
5198 23 files changed, 41 insertions(+), 41 deletions(-)
5199
5200 commit 897877e79629a0b854e98cb666a9d898256d45a7
5201 Merge: 1ffa5d5 4f4b213
5202 Author: Brad Spengler <spender@grsecurity.net>
5203 Date: Sun Feb 28 20:54:59 2016 -0500
5204
5205 Merge branch 'pax-test' into grsec-test
5206
5207 commit 4f4b21342a4a4f87c01f7909406e6b5f4c9dadbf
5208 Author: Brad Spengler <spender@grsecurity.net>
5209 Date: Sun Feb 28 20:54:06 2016 -0500
5210
5211 Update to pax-linux-4.4.3-test5.patch:
5212 - constified xfrm_mgr and cftype, by Mathias Krause <minipli@ld-linux.so>
5213 - Emese fixed a few checkpatch reports on the gcc plugin generator headers
5214 - Emese fixed a false positive size overflow report in get_next_ino, reported by KARBOWSKI Piotr <piotr.karbowski@gmail.com>
5215 - added a generator for SIMPLE_IPA passes as well
5216
5217 include/linux/cgroup-defs.h | 2 +-
5218 include/linux/hugetlb.h | 2 +-
5219 include/linux/hugetlb_cgroup.h | 11 ++
5220 include/net/xfrm.h | 2 +-
5221 kernel/cgroup.c | 29 ++--
5222 mm/hugetlb.c | 55 ++++++-
5223 mm/hugetlb_cgroup.c | 60 ++-----
5224 mm/mmap.c | 38 ++---
5225 net/xfrm/xfrm_state.c | 4 +-
5226 tools/gcc/constify_plugin.c | 5 +-
5227 tools/gcc/gcc-common.h | 42 +++--
5228 tools/gcc/gcc-generate-gimple-pass.h | 27 ++--
5229 tools/gcc/gcc-generate-ipa-pass.h | 43 ++---
5230 tools/gcc/gcc-generate-rtl-pass.h | 27 ++--
5231 tools/gcc/gcc-generate-simple_ipa-pass.h | 173 +++++++++++++++++++++
5232 tools/gcc/size_overflow_plugin/.gitignore | 1 +
5233 .../disable_size_overflow_hash.data | 7 +-
5234 .../size_overflow_plugin/size_overflow_hash.data | 3 -
5235 18 files changed, 385 insertions(+), 146 deletions(-)
5236
5237 commit 1ffa5d50a2161311d46b56fdef734f309503cb80
5238 Author: Brad Spengler <spender@grsecurity.net>
5239 Date: Sun Feb 28 20:43:02 2016 -0500
5240
5241 Make suid/sgid bruteforce prevention also apply to binaries with fscaps
5242 enabled
5243
5244 grsecurity/grsec_sig.c | 3 +--
5245 1 file changed, 1 insertion(+), 2 deletions(-)
5246
5247 commit cfdb373a77c88d01c1539e605e28143af5981571
5248 Author: Brad Spengler <spender@grsecurity.net>
5249 Date: Sun Feb 28 19:12:39 2016 -0500
5250
5251 compile fix
5252
5253 grsecurity/gracl_segv.c | 2 +-
5254 grsecurity/grsec_sig.c | 2 +-
5255 2 files changed, 2 insertions(+), 2 deletions(-)
5256
5257 commit 67d5160f8c1ee12ee4da1e7ad57f8688fcc77b53
5258 Author: Brad Spengler <spender@grsecurity.net>
5259 Date: Sun Feb 28 18:24:50 2016 -0500
5260
5261 Update the daemon check in handling of anti-bruteforcing of suid binaries
5262 by GRKERNSEC_BRUTE to prevent a bypass reported by Jann Horn where one
5263 could create unprivileged copies of the suid binary via ptrace, inject
5264 code into them, and fork+exec a privileged copy. A crash then in the
5265 privileged copy would trigger the daemon detection which could be avoided
5266 by simply terminating the original process. Defeat this by using our
5267 is_privileged_binary() function against the task's mm->binfmt->file to detect
5268 an fscaps-enabled or suid/sgid binary being involved.
5269
5270 Also update the RBAC RES_CRASH code to use is_privileged_binary().
5271
5272 grsecurity/gracl_segv.c | 15 +--------------
5273 grsecurity/grsec_sig.c | 3 ++-
5274 2 files changed, 3 insertions(+), 15 deletions(-)
5275
5276 commit 7382ec22b0c9627c674ccbb00210276d26f219e3
5277 Author: Brad Spengler <spender@grsecurity.net>
5278 Date: Sun Feb 28 15:06:32 2016 -0500
5279
5280 Fix a GRKERNSEC_PTRACE_READEXEC bypass reported by Jann Horn where one
5281 could dump out an unreadable suid binary by creating a script that used
5282 that binary as an interpreter.
5283
5284 fs/exec.c | 14 +++++++++-----
5285 1 file changed, 9 insertions(+), 5 deletions(-)
5286
5287 commit 3e60eddebe1c59b97c0b5432506bf8e13d84e8e6
5288 Merge: 2d35d52 8327ee6
5289 Author: Brad Spengler <spender@grsecurity.net>
5290 Date: Thu Feb 25 18:44:11 2016 -0500
5291
5292 Merge branch 'pax-test' into grsec-test
5293
5294 Conflicts:
5295 fs/proc/base.c
5296 kernel/ptrace.c
5297 mm/process_vm_access.c
5298
5299 commit 8327ee64e5e24ae6a3446dd96b95d5185f70e1f6
5300 Merge: 09d53c7 2134d97
5301 Author: Brad Spengler <spender@grsecurity.net>
5302 Date: Thu Feb 25 18:36:46 2016 -0500
5303
5304 Merge branch 'linux-4.4.y' into pax-test
5305
5306 Conflicts:
5307 mm/mmap.c
5308
5309 commit 2d35d5276f3feb0c053209f8c3a77b1f55f9d96b
5310 Author: Brad Spengler <spender@grsecurity.net>
5311 Date: Wed Feb 24 07:59:12 2016 -0500
5312
5313 Remove /proc/pid/map_files which we had previously prevented via
5314 an inverted dependency on checkpoint/restart, but clearly should have
5315 guarded independently as upstream in 4.3 enabled it regardless of checkpoint/
5316 restart support. It can be used since 4.3 as an ASLR leak under RBAC to
5317 processes of the same UID. Thanks to Mathias Krause for the report!
5318
5319 fs/proc/base.c | 2 ++
5320 1 file changed, 2 insertions(+)
5321
5322 commit e4f1e517092222aa28179b20e14c0ddfb2796049
5323 Author: Brad Spengler <spender@grsecurity.net>
5324 Date: Thu Feb 18 19:32:39 2016 -0500
5325
5326 Update size_overflow hash table
5327
5328 .../size_overflow_plugin/size_overflow_hash.data | 158 +++++++++++++++++----
5329 1 file changed, 131 insertions(+), 27 deletions(-)
5330
5331 commit d5f895ddfa903d0d70425b8c3d7ef649c7e6943b
5332 Author: Brad Spengler <spender@grsecurity.net>
5333 Date: Thu Feb 18 18:52:37 2016 -0500
5334
5335 Update size_overflow hash table
5336
5337 .../size_overflow_plugin/size_overflow_hash.data | 293 +++++++++++++++++----
5338 1 file changed, 237 insertions(+), 56 deletions(-)
5339
5340 commit 9d198df724c306c36e254fe19d0957fb608c3fa2
5341 Author: Brad Spengler <spender@grsecurity.net>
5342 Date: Thu Feb 18 18:23:03 2016 -0500
5343
5344 compile fix
5345
5346 tools/gcc/randomize_layout_plugin.c | 2 +-
5347 1 file changed, 1 insertion(+), 1 deletion(-)
5348
5349 commit 024d2af98b755712daff6ed7c49af921da4e8883
5350 Author: Brad Spengler <spender@grsecurity.net>
5351 Date: Thu Feb 18 18:19:47 2016 -0500
5352
5353 compile fix
5354
5355 tools/gcc/randomize_layout_plugin.c | 2 +-
5356 1 file changed, 1 insertion(+), 1 deletion(-)
5357
5358 commit 14a7b3bb5c3d8c6ef70c3e0842a5adc7f0f3e2c8
5359 Author: Brad Spengler <spender@grsecurity.net>
5360 Date: Thu Feb 18 18:16:32 2016 -0500
5361
5362 compile fix
5363
5364 tools/gcc/randomize_layout_plugin.c | 9 +++++----
5365 1 file changed, 5 insertions(+), 4 deletions(-)
5366
5367 commit 9b2d0ee62bc66858c274f256c0502cbcbd34b2bf
5368 Author: Brad Spengler <spender@grsecurity.net>
5369 Date: Thu Feb 18 17:54:51 2016 -0500
5370
5371 Compile fix
5372
5373 tools/gcc/randomize_layout_plugin.c | 2 +-
5374 1 file changed, 1 insertion(+), 1 deletion(-)
5375
5376 commit 13823395101c4228ecded4b624583389ee13bfb3
5377 Author: Brad Spengler <spender@grsecurity.net>
5378 Date: Thu Feb 18 17:35:21 2016 -0500
5379
5380 compile fix
5381
5382 Makefile | 5 +----
5383 1 file changed, 1 insertion(+), 4 deletions(-)
5384
5385 commit 0316a42a37e67b0bc8a545c7a8b63db2d25f1ab0
5386 Merge: 45cbb7e 09d53c7
5387 Author: Brad Spengler <spender@grsecurity.net>
5388 Date: Thu Feb 18 16:40:51 2016 -0500
5389
5390 Merge branch 'pax-test' into grsec-test
5391
5392 Conflicts:
5393 Makefile
5394 include/linux/genl_magic_struct.h
5395 scripts/mod/modpost.c
5396 tools/gcc/size_overflow_plugin/size_overflow_hash.data
5397
5398 commit 09d53c74140e87e886a28980cedbb7e771f2a356
5399 Author: Brad Spengler <spender@grsecurity.net>
5400 Date: Thu Feb 18 16:24:02 2016 -0500
5401
5402 Update to pax-linux-4.4.2-test4.patch:
5403 - 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>
5404 - moved gcc plugin related makefile bits into a separate file, by Emese
5405 - changed modpost to report writable function pointers separately
5406 - increased the size of mem_cgroup.numainfo_events to avoid a wraparound caught by REFCOUNT, reported by alexey vlasov
5407 - reduced the size of the compat syscall entry points on amd64
5408 - 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)
5409 - Emese regenerated the size overflow hash table for 4.4
5410 - all plugins now use the new pass generator headers
5411
5412 Makefile | 73 +-
5413 arch/x86/entry/entry_64.S | 2 +-
5414 arch/x86/entry/entry_64_compat.S | 48 +-
5415 fs/exec.c | 3 +
5416 include/linux/genl_magic_struct.h | 4 +-
5417 include/linux/memcontrol.h | 2 +-
5418 ipc/shm.c | 2 +-
5419 mm/memcontrol.c | 6 +-
5420 scripts/Makefile.extrawarn | 4 +
5421 scripts/Makefile.gcc-plugins | 69 +
5422 scripts/mod/modpost.c | 15 +-
5423 tools/gcc/checker_plugin.c | 71 +-
5424 tools/gcc/colorize_plugin.c | 65 +-
5425 tools/gcc/constify_plugin.c | 65 +-
5426 tools/gcc/gcc-generate-gimple-pass.h | 172 +
5427 tools/gcc/gcc-generate-ipa-pass.h | 286 +
5428 tools/gcc/gcc-generate-rtl-pass.h | 172 +
5429 tools/gcc/initify_plugin.c | 74 +-
5430 tools/gcc/kallocstat_plugin.c | 65 +-
5431 tools/gcc/kernexec_plugin.c | 184 +-
5432 tools/gcc/latent_entropy_plugin.c | 71 +-
5433 tools/gcc/randomize_layout_seed.h | 1 -
5434 .../disable_size_overflow_hash.h | 152601 ------------------
5435 .../insert_size_overflow_asm.c | 71 +-
5436 .../size_overflow_plugin/intentional_overflow.c | 6 +-
5437 tools/gcc/size_overflow_plugin/size_overflow.h | 20 +-
5438 .../size_overflow_plugin/size_overflow_hash.data | 2898 +-
5439 tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 94 +-
5440 .../size_overflow_plugin/size_overflow_plugin.c | 14 +-
5441 .../size_overflow_plugin/size_overflow_transform.c | 2 +-
5442 .../size_overflow_transform_core.c | 2 +-
5443 tools/gcc/stackleak_plugin.c | 132 +-
5444 tools/gcc/structleak_plugin.c | 67 +-
5445 33 files changed, 2238 insertions(+), 155123 deletions(-)
5446
5447 commit 45cbb7e015a18625dafb019246e13e8cf3a18ace
5448 Merge: 3b5448b 0c85110
5449 Author: Brad Spengler <spender@grsecurity.net>
5450 Date: Wed Feb 17 19:11:25 2016 -0500
5451
5452 Merge branch 'pax-test' into grsec-test
5453
5454 commit 0c851109f683896aaff8a310bbfa943272b47516
5455 Merge: 6cb4f49 1cb8570
5456 Author: Brad Spengler <spender@grsecurity.net>
5457 Date: Wed Feb 17 19:11:21 2016 -0500
5458
5459 Merge branch 'linux-4.4.y' into pax-test
5460
5461 commit 3b5448bd1d85025d19b2587902e4264eb212a0a3
5462 Author: Brad Spengler <spender@grsecurity.net>
5463 Date: Mon Feb 15 18:02:40 2016 -0500
5464
5465 Fix a drbd bug reported by iamb on the forums:
5466 https://forums.grsecurity.net/viewtopic.php?f=3&t=4366#p16032
5467 which caused a size_overflow report
5468
5469 include/linux/genl_magic_struct.h | 4 ++--
5470 1 file changed, 2 insertions(+), 2 deletions(-)
5471
5472 commit 061fcd0e74441189a87bfe13b55fb02b98f7d7c0
5473 Author: Brad Spengler <spender@grsecurity.net>
5474 Date: Mon Feb 15 13:20:38 2016 -0500
5475
5476 compile fix
5477
5478 drivers/staging/wilc1000/host_interface.h | 1 +
5479 1 file changed, 1 insertion(+)
5480
5481 commit 675f2dcbdd4ea3293eea9c42f0cc427b1c903fc8
5482 Author: Brad Spengler <spender@grsecurity.net>
5483 Date: Mon Feb 15 12:54:52 2016 -0500
5484
5485 Update size_overflow hash table
5486
5487 .../size_overflow_plugin/size_overflow_hash.data | 21 +++++++++++++++++----
5488 1 file changed, 17 insertions(+), 4 deletions(-)
5489
5490 commit c8c50394f0c9f2e9baaeb884a29be2057cadbf7b
5491 Author: Brad Spengler <spender@grsecurity.net>
5492 Date: Mon Feb 15 12:53:54 2016 -0500
5493
5494 compile fix
5495
5496 drivers/staging/wilc1000/wilc_spi.c | 1 -
5497 drivers/staging/wilc1000/wilc_wlan.h | 2 +-
5498 2 files changed, 1 insertion(+), 2 deletions(-)
5499
5500 commit a9dd4481db099082967585be8e153899e5fd24c7
5501 Author: Brad Spengler <spender@grsecurity.net>
5502 Date: Mon Feb 15 12:52:32 2016 -0500
5503
5504 compile fix
5505
5506 fs/proc/fd.c | 2 --
5507 1 file changed, 2 deletions(-)
5508
5509 commit 5acb4fa0063460807096429f073181d1c5a3e566
5510 Author: Brad Spengler <spender@grsecurity.net>
5511 Date: Mon Feb 15 12:32:13 2016 -0500
5512
5513 Update size_overflow hash table
5514
5515 .../size_overflow_plugin/size_overflow_hash.data | 224 +++++++++++++++++----
5516 1 file changed, 182 insertions(+), 42 deletions(-)
5517
5518 commit c0bac9ff9af7ef753740622b5736684a32b49a9f
5519 Author: Brad Spengler <spender@grsecurity.net>
5520 Date: Mon Feb 15 12:31:16 2016 -0500
5521
5522 compile fix
5523
5524 drivers/staging/wilc1000/wilc_spi.c | 1 +
5525 1 file changed, 1 insertion(+)
5526
5527 commit 2f89ebdee131f6a6c85e611e5b993d4b19bc2673
5528 Author: Brad Spengler <spender@grsecurity.net>
5529 Date: Mon Feb 15 12:28:36 2016 -0500
5530
5531 RANDSTRUCT compile fix
5532
5533 drivers/staging/wilc1000/wilc_spi.c | 32 ++++++++++++++++----------------
5534 1 file changed, 16 insertions(+), 16 deletions(-)
5535
5536 commit 693be5d7f5b783f451499bbe83162aeb0f27a09f
5537 Author: Brad Spengler <spender@grsecurity.net>
5538 Date: Mon Feb 15 12:24:49 2016 -0500
5539
5540 RANDSTRUCT compile fix
5541
5542 drivers/staging/wilc1000/wilc_sdio.c | 34 +++++++++++++++++-----------------
5543 1 file changed, 17 insertions(+), 17 deletions(-)
5544
5545 commit bdf3dcd665c1a8ef9b69ad6525760c5160ec19a2
5546 Author: Hariprasad S <hariprasad@chelsio.com>
5547 Date: Fri Dec 11 13:59:17 2015 +0530
5548
5549 iw_cxgb3: Fix incorrectly returning error on success
5550
5551 The cxgb3_*_send() functions return NET_XMIT_ values, which are
5552 positive integers values. So don't treat positive return values
5553 as an error.
5554
5555 Signed-off-by: Steve Wise <swise@opengridcomputing.com>
5556 Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
5557 Signed-off-by: Doug Ledford <dledford@redhat.com>
5558
5559 drivers/infiniband/hw/cxgb3/iwch_cm.c | 4 ++--
5560 1 file changed, 2 insertions(+), 2 deletions(-)
5561
5562 commit 8705fe372dc21046ca3fc55381b70cffb4c60207
5563 Author: Daniel Borkmann <daniel@iogearbox.net>
5564 Date: Wed Feb 10 16:47:11 2016 +0100
5565
5566 bpf: fix branch offset adjustment on backjumps after patching ctx expansion
5567
5568 When ctx access is used, the kernel often needs to expand/rewrite
5569 instructions, so after that patching, branch offsets have to be
5570 adjusted for both forward and backward jumps in the new eBPF program,
5571 but for backward jumps it fails to account the delta. Meaning, for
5572 example, if the expansion happens exactly on the insn that sits at
5573 the jump target, it doesn't fix up the back jump offset.
5574
5575 Analysis on what the check in adjust_branches() is currently doing:
5576
5577 /* adjust offset of jmps if necessary */
5578 if (i < pos && i + insn->off + 1 > pos)
5579 insn->off += delta;
5580 else if (i > pos && i + insn->off + 1 < pos)
5581 insn->off -= delta;
5582
5583 First condition (forward jumps):
5584
5585 Before: After:
5586
5587 insns[0] insns[0]
5588 insns[1] <--- i/insn insns[1] <--- i/insn
5589 insns[2] <--- pos insns[P] <--- pos
5590 insns[3] insns[P] `------| delta
5591 insns[4] <--- target_X insns[P] `-----|
5592 insns[5] insns[3]
5593 insns[4] <--- target_X
5594 insns[5]
5595
5596 First case is if we cross pos-boundary and the jump instruction was
5597 before pos. This is handeled correctly. I.e. if i == pos, then this
5598 would mean our jump that we currently check was the patchlet itself
5599 that we just injected. Since such patchlets are self-contained and
5600 have no awareness of any insns before or after the patched one, the
5601 delta is correctly not adjusted. Also, for the second condition in
5602 case of i + insn->off + 1 == pos, means we jump to that newly patched
5603 instruction, so no offset adjustment are needed. That part is correct.
5604
5605 Second condition (backward jumps):
5606
5607 Before: After:
5608
5609 insns[0] insns[0]
5610 insns[1] <--- target_X insns[1] <--- target_X
5611 insns[2] <--- pos <-- target_Y insns[P] <--- pos <-- target_Y
5612 insns[3] insns[P] `------| delta
5613 insns[4] <--- i/insn insns[P] `-----|
5614 insns[5] insns[3]
5615 insns[4] <--- i/insn
5616 insns[5]
5617
5618 Second interesting case is where we cross pos-boundary and the jump
5619 instruction was after pos. Backward jump with i == pos would be
5620 impossible and pose a bug somewhere in the patchlet, so the first
5621 condition checking i > pos is okay only by itself. However, i +
5622 insn->off + 1 < pos does not always work as intended to trigger the
5623 adjustment. It works when jump targets would be far off where the
5624 delta wouldn't matter. But, for example, where the fixed insn->off
5625 before pointed to pos (target_Y), it now points to pos + delta, so
5626 that additional room needs to be taken into account for the check.
5627 This means that i) both tests here need to be adjusted into pos + delta,
5628 and ii) for the second condition, the test needs to be <= as pos
5629 itself can be a target in the backjump, too.
5630
5631 Fixes: 9bac3d6d548e ("bpf: allow extended BPF programs access skb fields")
5632 Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
5633 Signed-off-by: David S. Miller <davem@davemloft.net>
5634
5635 kernel/bpf/verifier.c | 2 +-
5636 1 file changed, 1 insertion(+), 1 deletion(-)
5637
5638 commit 61b513b644116e77313addf65970db58f4981608
5639 Author: Ryan Ware <ware@linux.intel.com>
5640 Date: Thu Feb 11 15:58:44 2016 -0800
5641
5642 EVM: Use crypto_memneq() for digest comparisons
5643
5644 This patch fixes vulnerability CVE-2016-2085. The problem exists
5645 because the vm_verify_hmac() function includes a use of memcmp().
5646 Unfortunately, this allows timing side channel attacks; specifically
5647 a MAC forgery complexity drop from 2^128 to 2^12. This patch changes
5648 the memcmp() to the cryptographically safe crypto_memneq().
5649
5650 Reported-by: Xiaofei Rex Guo <xiaofei.rex.guo@intel.com>
5651 Signed-off-by: Ryan Ware <ware@linux.intel.com>
5652 Cc: stable@vger.kernel.org
5653 Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
5654 Signed-off-by: James Morris <james.l.morris@oracle.com>
5655
5656 security/integrity/evm/evm_main.c | 3 ++-
5657 1 file changed, 2 insertions(+), 1 deletion(-)
5658
5659 commit 970b961e7d0684624f9c69f0b4367d5c76b65a63
5660 Author: Michael McConville <mmcco@mykolab.com>
5661 Date: Fri Feb 5 20:46:25 2016 -0500
5662
5663 dscc4: Undefined signed int shift
5664
5665 My analysis in the below mail applies, although the second part is
5666 unnecessary because i isn't used in arithmetic operations here:
5667
5668 https://marc.info/?l=openbsd-tech&m=145377854103866&w=2
5669
5670 Thanks for your time.
5671
5672 Signed-off-by: Michael McConville <mmcco@mykolab.com>
5673 Acked-by: Francois Romieu <romieu@fr.zoreil.com>
5674 Signed-off-by: David S. Miller <davem@davemloft.net>
5675
5676 drivers/net/wan/dscc4.c | 2 +-
5677 1 file changed, 1 insertion(+), 1 deletion(-)
5678
5679 commit d843df24b6680b600e87ebfea3b7b198b90b5a2a
5680 Author: Andrey Konovalov <andreyknvl@gmail.com>
5681 Date: Sat Feb 13 11:08:06 2016 +0300
5682
5683 ALSA: usb-audio: avoid freeing umidi object twice
5684
5685 The 'umidi' object will be free'd on the error path by snd_usbmidi_free()
5686 when tearing down the rawmidi interface. So we shouldn't try to free it
5687 in snd_usbmidi_create() after having registered the rawmidi interface.
5688
5689 Found by KASAN.
5690
5691 Signed-off-by: Andrey Konovalov <andreyknvl@gmail.com>
5692 Acked-by: Clemens Ladisch <clemens@ladisch.de>
5693 Cc: <stable@vger.kernel.org>
5694 Signed-off-by: Takashi Iwai <tiwai@suse.de>
5695
5696 sound/usb/midi.c | 1 -
5697 1 file changed, 1 deletion(-)
5698
5699 commit ed3a8ab1976674d56e258da93639e61f1446e703
5700 Author: zengtao <prime.zeng@huawei.com>
5701 Date: Tue Feb 2 11:38:34 2016 +0800
5702
5703 cputime: Prevent 32bit overflow in time[val|spec]_to_cputime()
5704
5705 The datatype __kernel_time_t is u32 on 32bit platform, so its subject to
5706 overflows in the timeval/timespec to cputime conversion.
5707
5708 Currently the following functions are affected:
5709 1. setitimer()
5710 2. timer_create/timer_settime()
5711 3. sys_clock_nanosleep
5712
5713 This can happen on MIPS32 and ARM32 with "Full dynticks CPU time accounting"
5714 enabled, which is required for CONFIG_NO_HZ_FULL.
5715
5716 Enforce u64 conversion to prevent the overflow.
5717
5718 Fixes: 31c1fc818715 ("ARM: Kconfig: allow full nohz CPU accounting")
5719 Signed-off-by: zengtao <prime.zeng@huawei.com>
5720 Reviewed-by: Arnd Bergmann <arnd@arndb.de>
5721 Cc: <fweisbec@gmail.com>
5722 Cc: stable@vger.kernel.org
5723 Link: http://lkml.kernel.org/r/1454384314-154784-1-git-send-email-prime.zeng@huawei.com
5724 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
5725
5726 include/asm-generic/cputime_nsecs.h | 5 +++--
5727 1 file changed, 3 insertions(+), 2 deletions(-)
5728
5729 commit bf8a2de485da37d73850e7cfa31967b7798b6ce0
5730 Author: Brad Spengler <spender@grsecurity.net>
5731 Date: Mon Feb 15 11:55:18 2016 -0500
5732
5733 Fix building with allnoconfig, don't make our added DATA_TO_TEXT mismatch warnings
5734 count as actual mismatches
5735
5736 scripts/mod/modpost.c | 3 ++-
5737 1 file changed, 2 insertions(+), 1 deletion(-)
5738
5739 commit c9d82b6d0f1a2484fea0a516989dbdc6c55e5693
5740 Author: Brad Spengler <spender@grsecurity.net>
5741 Date: Mon Feb 15 11:44:36 2016 -0500
5742
5743 Compile fix
5744
5745 tools/gcc/randomize_layout_seed.h | 1 -
5746 1 file changed, 1 deletion(-)
5747
5748 commit fb68cbb98732e6801e8fc8d1da1f1195e51ff077
5749 Author: Brad Spengler <spender@grsecurity.net>
5750 Date: Mon Feb 15 11:27:32 2016 -0500
5751
5752 disable USELIB
5753
5754 init/Kconfig | 3 ++-
5755 1 file changed, 2 insertions(+), 1 deletion(-)
5756
5757 commit cbda9a44b7f92161eb1e444bf7fe2bbcbedaae65
5758 Author: Brad Spengler <spender@grsecurity.net>
5759 Date: Mon Feb 15 11:23:56 2016 -0500
5760
5761 compile fix
5762
5763 fs/proc/fd.c | 2 +-
5764 1 file changed, 1 insertion(+), 1 deletion(-)
5765
5766 commit 5cf0a2e87ab7105d1ba01f55f7636fa2e1fa4bb4
5767 Author: Brad Spengler <spender@grsecurity.net>
5768 Date: Mon Feb 15 11:19:26 2016 -0500
5769
5770 Initial import of grsecurity for Linux 4.4.1
5771
5772 Documentation/dontdiff | 2 +
5773 Documentation/kernel-parameters.txt | 11 +
5774 Documentation/sysctl/fs.txt | 23 +
5775 Documentation/sysctl/kernel.txt | 15 +
5776 Makefile | 18 +-
5777 arch/alpha/include/asm/cache.h | 4 +-
5778 arch/alpha/kernel/osf_sys.c | 12 +-
5779 arch/arc/Kconfig | 1 +
5780 arch/arm/Kconfig | 1 +
5781 arch/arm/Kconfig.debug | 1 +
5782 arch/arm/include/asm/thread_info.h | 7 +-
5783 arch/arm/kernel/entry-common.S | 8 +-
5784 arch/arm/kernel/process.c | 4 +-
5785 arch/arm/kernel/ptrace.c | 9 +
5786 arch/arm/kernel/traps.c | 7 +-
5787 arch/arm/mm/Kconfig | 4 +-
5788 arch/arm/mm/fault.c | 40 +-
5789 arch/arm/mm/mmap.c | 8 +-
5790 arch/arm/net/bpf_jit_32.c | 51 +-
5791 arch/arm64/Kconfig.debug | 1 +
5792 arch/avr32/include/asm/cache.h | 4 +-
5793 arch/blackfin/Kconfig.debug | 1 +
5794 arch/blackfin/include/asm/cache.h | 3 +-
5795 arch/cris/include/arch-v10/arch/cache.h | 3 +-
5796 arch/cris/include/arch-v32/arch/cache.h | 3 +-
5797 arch/frv/include/asm/cache.h | 3 +-
5798 arch/frv/mm/elf-fdpic.c | 4 +-
5799 arch/hexagon/include/asm/cache.h | 6 +-
5800 arch/ia64/Kconfig | 1 +
5801 arch/ia64/include/asm/cache.h | 3 +-
5802 arch/ia64/kernel/sys_ia64.c | 2 +
5803 arch/ia64/mm/hugetlbpage.c | 2 +
5804 arch/m32r/include/asm/cache.h | 4 +-
5805 arch/m68k/include/asm/cache.h | 4 +-
5806 arch/metag/mm/hugetlbpage.c | 1 +
5807 arch/microblaze/include/asm/cache.h | 3 +-
5808 arch/mips/Kconfig | 1 +
5809 arch/mips/include/asm/cache.h | 3 +-
5810 arch/mips/include/asm/thread_info.h | 11 +-
5811 arch/mips/kernel/irq.c | 3 +
5812 arch/mips/kernel/ptrace.c | 9 +
5813 arch/mips/mm/mmap.c | 4 +-
5814 arch/mn10300/proc-mn103e010/include/proc/cache.h | 4 +-
5815 arch/mn10300/proc-mn2ws0050/include/proc/cache.h | 4 +-
5816 arch/openrisc/include/asm/cache.h | 4 +-
5817 arch/parisc/include/asm/cache.h | 3 +
5818 arch/parisc/kernel/sys_parisc.c | 4 +
5819 arch/powerpc/Kconfig | 1 +
5820 arch/powerpc/include/asm/cache.h | 4 +-
5821 arch/powerpc/include/asm/thread_info.h | 5 +-
5822 arch/powerpc/kernel/Makefile | 2 +
5823 arch/powerpc/kernel/irq.c | 3 +
5824 arch/powerpc/kernel/process.c | 10 +-
5825 arch/powerpc/kernel/ptrace.c | 14 +
5826 arch/powerpc/kernel/traps.c | 5 +
5827 arch/powerpc/mm/slice.c | 2 +-
5828 arch/s390/Kconfig.debug | 1 +
5829 arch/s390/include/asm/cache.h | 4 +-
5830 arch/score/include/asm/cache.h | 4 +-
5831 arch/sh/include/asm/cache.h | 3 +-
5832 arch/sh/mm/mmap.c | 6 +-
5833 arch/sparc/include/asm/cache.h | 4 +-
5834 arch/sparc/include/asm/pgalloc_64.h | 1 +
5835 arch/sparc/include/asm/thread_info_64.h | 8 +-
5836 arch/sparc/kernel/process_32.c | 6 +-
5837 arch/sparc/kernel/process_64.c | 8 +-
5838 arch/sparc/kernel/ptrace_64.c | 14 +
5839 arch/sparc/kernel/sys_sparc_64.c | 8 +-
5840 arch/sparc/kernel/syscalls.S | 8 +-
5841 arch/sparc/kernel/traps_32.c | 8 +-
5842 arch/sparc/kernel/traps_64.c | 28 +-
5843 arch/sparc/kernel/unaligned_64.c | 2 +-
5844 arch/sparc/mm/fault_64.c | 2 +-
5845 arch/sparc/mm/hugetlbpage.c | 15 +-
5846 arch/tile/Kconfig | 1 +
5847 arch/tile/include/asm/cache.h | 3 +-
5848 arch/tile/mm/hugetlbpage.c | 2 +
5849 arch/um/include/asm/cache.h | 3 +-
5850 arch/unicore32/include/asm/cache.h | 6 +-
5851 arch/x86/Kconfig | 21 +
5852 arch/x86/Kconfig.debug | 2 +
5853 arch/x86/entry/common.c | 14 +
5854 arch/x86/entry/entry_32.S | 2 +-
5855 arch/x86/entry/entry_64.S | 2 +-
5856 arch/x86/ia32/ia32_aout.c | 2 +
5857 arch/x86/include/asm/floppy.h | 20 +-
5858 arch/x86/include/asm/fpu/types.h | 69 +-
5859 arch/x86/include/asm/io.h | 2 +-
5860 arch/x86/include/asm/page.h | 12 +-
5861 arch/x86/include/asm/paravirt_types.h | 23 +-
5862 arch/x86/include/asm/pgtable_types.h | 6 +-
5863 arch/x86/include/asm/processor.h | 12 +-
5864 arch/x86/include/asm/thread_info.h | 6 +-
5865 arch/x86/include/asm/uaccess.h | 2 +-
5866 arch/x86/kernel/dumpstack.c | 10 +-
5867 arch/x86/kernel/dumpstack_32.c | 2 +-
5868 arch/x86/kernel/dumpstack_64.c | 2 +-
5869 arch/x86/kernel/ioport.c | 13 +
5870 arch/x86/kernel/irq_32.c | 3 +
5871 arch/x86/kernel/irq_64.c | 4 +
5872 arch/x86/kernel/ldt.c | 18 +
5873 arch/x86/kernel/msr.c | 10 +
5874 arch/x86/kernel/ptrace.c | 14 +
5875 arch/x86/kernel/signal.c | 9 +-
5876 arch/x86/kernel/sys_i386_32.c | 9 +-
5877 arch/x86/kernel/sys_x86_64.c | 8 +-
5878 arch/x86/kernel/traps.c | 5 +
5879 arch/x86/kernel/verify_cpu.S | 1 +
5880 arch/x86/kernel/vm86_32.c | 15 +
5881 arch/x86/mm/fault.c | 12 +-
5882 arch/x86/mm/hugetlbpage.c | 15 +-
5883 arch/x86/mm/init.c | 66 +-
5884 arch/x86/mm/init_32.c | 6 +-
5885 arch/x86/mm/pageattr.c | 4 +-
5886 arch/x86/net/bpf_jit_comp.c | 4 +
5887 arch/x86/platform/efi/efi_64.c | 2 +-
5888 arch/x86/xen/Kconfig | 1 +
5889 arch/xtensa/variants/dc232b/include/variant/core.h | 2 +-
5890 arch/xtensa/variants/fsf/include/variant/core.h | 3 +-
5891 crypto/scatterwalk.c | 10 +-
5892 drivers/acpi/acpica/hwxfsleep.c | 11 +-
5893 drivers/acpi/custom_method.c | 4 +
5894 drivers/block/cciss.h | 30 +-
5895 drivers/block/smart1,2.h | 40 +-
5896 drivers/cdrom/cdrom.c | 2 +-
5897 drivers/char/Kconfig | 4 +-
5898 drivers/char/genrtc.c | 1 +
5899 drivers/char/mem.c | 17 +
5900 drivers/char/random.c | 5 +-
5901 drivers/cpufreq/sparc-us3-cpufreq.c | 2 -
5902 drivers/firewire/ohci.c | 4 +
5903 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 70 +-
5904 drivers/gpu/drm/nouveau/nouveau_ttm.c | 28 +-
5905 drivers/gpu/drm/ttm/ttm_bo_manager.c | 10 +-
5906 drivers/gpu/drm/virtio/virtgpu_ttm.c | 10 +-
5907 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c | 10 +-
5908 drivers/hid/hid-wiimote-debug.c | 2 +-
5909 drivers/infiniband/hw/nes/nes_cm.c | 22 +-
5910 drivers/iommu/Kconfig | 1 +
5911 drivers/iommu/amd_iommu.c | 14 +-
5912 drivers/isdn/gigaset/bas-gigaset.c | 32 +-
5913 drivers/isdn/gigaset/ser-gigaset.c | 32 +-
5914 drivers/isdn/gigaset/usb-gigaset.c | 32 +-
5915 drivers/isdn/i4l/isdn_concap.c | 6 +-
5916 drivers/isdn/i4l/isdn_x25iface.c | 16 +-
5917 drivers/md/bcache/Kconfig | 1 +
5918 drivers/md/raid5.c | 8 +
5919 drivers/media/pci/solo6x10/solo6x10-g723.c | 2 +-
5920 drivers/media/platform/sti/c8sectpfe/Kconfig | 1 +
5921 drivers/media/radio/radio-cadet.c | 5 +-
5922 drivers/media/usb/dvb-usb/cinergyT2-core.c | 91 +-
5923 drivers/media/usb/dvb-usb/cinergyT2-fe.c | 182 +-
5924 drivers/media/usb/dvb-usb/dvb-usb-firmware.c | 37 +-
5925 drivers/media/usb/dvb-usb/technisat-usb2.c | 75 +-
5926 drivers/message/fusion/mptbase.c | 9 +
5927 drivers/misc/sgi-xp/xp_main.c | 12 +-
5928 drivers/net/ethernet/brocade/bna/bna_enet.c | 8 +-
5929 drivers/net/ppp/pptp.c | 34 +-
5930 drivers/net/wan/lmc/lmc_media.c | 97 +-
5931 drivers/net/wan/z85230.c | 24 +-
5932 drivers/net/wireless/ath/ath9k/Kconfig | 1 -
5933 drivers/net/wireless/zd1211rw/zd_usb.c | 2 +-
5934 drivers/pci/proc.c | 9 +
5935 drivers/platform/x86/asus-wmi.c | 12 +
5936 drivers/rtc/rtc-dev.c | 3 +
5937 drivers/scsi/bfa/bfa_fcs.c | 19 +-
5938 drivers/scsi/bfa/bfa_fcs_lport.c | 29 +-
5939 drivers/scsi/bfa/bfa_modules.h | 12 +-
5940 drivers/scsi/hpsa.h | 40 +-
5941 drivers/staging/lustre/lustre/ldlm/ldlm_flock.c | 2 +-
5942 drivers/staging/lustre/lustre/libcfs/module.c | 10 +-
5943 drivers/tty/serial/uartlite.c | 4 +-
5944 drivers/tty/sysrq.c | 2 +-
5945 drivers/tty/tty_io.c | 4 +
5946 drivers/tty/vt/keyboard.c | 22 +-
5947 drivers/uio/uio.c | 6 +-
5948 drivers/usb/core/hub.c | 5 +
5949 drivers/usb/gadget/function/f_uac1.c | 1 +
5950 drivers/usb/gadget/function/u_uac1.c | 1 +
5951 drivers/usb/host/hwa-hc.c | 9 +-
5952 drivers/usb/usbip/vhci_sysfs.c | 2 +-
5953 drivers/video/fbdev/arcfb.c | 2 +-
5954 drivers/video/fbdev/matrox/matroxfb_DAC1064.c | 10 +-
5955 drivers/video/fbdev/matrox/matroxfb_Ti3026.c | 5 +-
5956 drivers/video/fbdev/sh_mobile_lcdcfb.c | 6 +-
5957 drivers/video/logo/logo_linux_clut224.ppm | 2720 ++++----
5958 drivers/xen/xenfs/xenstored.c | 5 +
5959 firmware/Makefile | 2 +
5960 firmware/WHENCE | 20 +-
5961 firmware/bnx2/bnx2-mips-06-6.2.3.fw.ihex | 5804 +++++++++++++++++
5962 firmware/bnx2/bnx2-mips-09-6.2.1b.fw.ihex | 6496 ++++++++++++++++++++
5963 fs/attr.c | 4 +
5964 fs/autofs4/waitq.c | 9 +
5965 fs/binfmt_aout.c | 7 +
5966 fs/binfmt_elf.c | 40 +-
5967 fs/compat.c | 20 +-
5968 fs/compat_ioctl.c | 253 +-
5969 fs/coredump.c | 17 +-
5970 fs/dcache.c | 3 +
5971 fs/debugfs/inode.c | 11 +-
5972 fs/exec.c | 231 +-
5973 fs/ext2/balloc.c | 4 +-
5974 fs/ext2/super.c | 8 +-
5975 fs/ext4/balloc.c | 4 +-
5976 fs/ext4/extents.c | 2 +-
5977 fs/fcntl.c | 4 +
5978 fs/fhandle.c | 3 +-
5979 fs/file.c | 4 +
5980 fs/filesystems.c | 4 +
5981 fs/fs_struct.c | 20 +-
5982 fs/hugetlbfs/inode.c | 24 +-
5983 fs/inode.c | 8 +-
5984 fs/internal.h | 7 +
5985 fs/ioctl.c | 4 +-
5986 fs/kernfs/dir.c | 6 +
5987 fs/mount.h | 4 +-
5988 fs/namei.c | 283 +-
5989 fs/namespace.c | 24 +
5990 fs/nfsd/nfscache.c | 2 +-
5991 fs/open.c | 38 +
5992 fs/overlayfs/inode.c | 3 +
5993 fs/overlayfs/super.c | 6 +-
5994 fs/pipe.c | 49 +-
5995 fs/posix_acl.c | 15 +-
5996 fs/proc/Kconfig | 10 +-
5997 fs/proc/array.c | 69 +-
5998 fs/proc/base.c | 186 +-
5999 fs/proc/cmdline.c | 4 +
6000 fs/proc/devices.c | 4 +
6001 fs/proc/fd.c | 12 +-
6002 fs/proc/generic.c | 64 +
6003 fs/proc/inode.c | 17 +
6004 fs/proc/internal.h | 11 +-
6005 fs/proc/interrupts.c | 4 +
6006 fs/proc/kcore.c | 3 +
6007 fs/proc/namespaces.c | 4 +-
6008 fs/proc/proc_net.c | 31 +
6009 fs/proc/proc_sysctl.c | 52 +-
6010 fs/proc/root.c | 8 +
6011 fs/proc/stat.c | 69 +-
6012 fs/proc/task_mmu.c | 66 +-
6013 fs/readdir.c | 19 +
6014 fs/reiserfs/item_ops.c | 24 +-
6015 fs/reiserfs/super.c | 4 +
6016 fs/select.c | 2 +
6017 fs/seq_file.c | 30 +-
6018 fs/stat.c | 20 +-
6019 fs/sysfs/dir.c | 30 +-
6020 fs/utimes.c | 7 +
6021 fs/xattr.c | 26 +-
6022 grsecurity/Kconfig | 1203 ++++
6023 grsecurity/Makefile | 54 +
6024 grsecurity/gracl.c | 2757 +++++++++
6025 grsecurity/gracl_alloc.c | 105 +
6026 grsecurity/gracl_cap.c | 127 +
6027 grsecurity/gracl_compat.c | 269 +
6028 grsecurity/gracl_fs.c | 448 ++
6029 grsecurity/gracl_ip.c | 386 ++
6030 grsecurity/gracl_learn.c | 207 +
6031 grsecurity/gracl_policy.c | 1786 ++++++
6032 grsecurity/gracl_res.c | 68 +
6033 grsecurity/gracl_segv.c | 304 +
6034 grsecurity/gracl_shm.c | 40 +
6035 grsecurity/grsec_chdir.c | 19 +
6036 grsecurity/grsec_chroot.c | 467 ++
6037 grsecurity/grsec_disabled.c | 445 ++
6038 grsecurity/grsec_exec.c | 189 +
6039 grsecurity/grsec_fifo.c | 26 +
6040 grsecurity/grsec_fork.c | 23 +
6041 grsecurity/grsec_init.c | 294 +
6042 grsecurity/grsec_ipc.c | 48 +
6043 grsecurity/grsec_link.c | 65 +
6044 grsecurity/grsec_log.c | 340 +
6045 grsecurity/grsec_mem.c | 48 +
6046 grsecurity/grsec_mount.c | 65 +
6047 grsecurity/grsec_pax.c | 47 +
6048 grsecurity/grsec_proc.c | 20 +
6049 grsecurity/grsec_ptrace.c | 30 +
6050 grsecurity/grsec_sig.c | 245 +
6051 grsecurity/grsec_sock.c | 244 +
6052 grsecurity/grsec_sysctl.c | 497 ++
6053 grsecurity/grsec_time.c | 16 +
6054 grsecurity/grsec_tpe.c | 78 +
6055 grsecurity/grsec_tty.c | 18 +
6056 grsecurity/grsec_usb.c | 15 +
6057 grsecurity/grsum.c | 54 +
6058 include/linux/binfmts.h | 5 +-
6059 include/linux/capability.h | 13 +
6060 include/linux/compiler-gcc.h | 5 +
6061 include/linux/compiler.h | 8 +
6062 include/linux/cred.h | 8 +-
6063 include/linux/dcache.h | 5 +-
6064 include/linux/fs.h | 26 +-
6065 include/linux/fs_struct.h | 2 +-
6066 include/linux/fsnotify.h | 6 +
6067 include/linux/gracl.h | 342 ++
6068 include/linux/gracl_compat.h | 156 +
6069 include/linux/gralloc.h | 9 +
6070 include/linux/grdefs.h | 140 +
6071 include/linux/grinternal.h | 231 +
6072 include/linux/grmsg.h | 119 +
6073 include/linux/grsecurity.h | 258 +
6074 include/linux/grsock.h | 19 +
6075 include/linux/ipc.h | 2 +-
6076 include/linux/ipc_namespace.h | 2 +-
6077 include/linux/kallsyms.h | 18 +-
6078 include/linux/key-type.h | 4 +-
6079 include/linux/kmod.h | 5 +
6080 include/linux/kobject.h | 2 +-
6081 include/linux/lsm_hooks.h | 4 +-
6082 include/linux/mm.h | 12 +
6083 include/linux/mm_types.h | 4 +-
6084 include/linux/module.h | 5 +-
6085 include/linux/mount.h | 2 +-
6086 include/linux/msg.h | 2 +-
6087 include/linux/netfilter/xt_gradm.h | 9 +
6088 include/linux/path.h | 4 +-
6089 include/linux/perf_event.h | 13 +-
6090 include/linux/pid_namespace.h | 2 +-
6091 include/linux/pipe_fs_i.h | 4 +
6092 include/linux/poison.h | 2 +-
6093 include/linux/printk.h | 2 +-
6094 include/linux/proc_fs.h | 22 +-
6095 include/linux/proc_ns.h | 2 +-
6096 include/linux/ptrace.h | 24 +-
6097 include/linux/radix-tree.h | 22 +-
6098 include/linux/random.h | 2 +-
6099 include/linux/rbtree_augmented.h | 4 +-
6100 include/linux/scatterlist.h | 12 +-
6101 include/linux/sched.h | 115 +-
6102 include/linux/security.h | 1 +
6103 include/linux/sem.h | 2 +-
6104 include/linux/seq_file.h | 5 +
6105 include/linux/shm.h | 6 +-
6106 include/linux/shmem_fs.h | 5 +-
6107 include/linux/skbuff.h | 3 +
6108 include/linux/slab.h | 9 -
6109 include/linux/sysctl.h | 8 +-
6110 include/linux/thread_info.h | 6 +-
6111 include/linux/tty.h | 2 +-
6112 include/linux/tty_driver.h | 4 +-
6113 include/linux/uidgid.h | 5 +
6114 include/linux/user_namespace.h | 2 +-
6115 include/linux/utsname.h | 2 +-
6116 include/linux/vermagic.h | 16 +-
6117 include/linux/vmalloc.h | 8 +
6118 include/net/af_unix.h | 6 +-
6119 include/net/ip.h | 2 +-
6120 include/net/neighbour.h | 2 +-
6121 include/net/net_namespace.h | 2 +-
6122 include/net/netfilter/nf_conntrack_core.h | 8 +-
6123 include/net/scm.h | 1 +
6124 include/net/sock.h | 2 +-
6125 include/trace/events/fs.h | 53 +
6126 include/uapi/linux/personality.h | 1 +
6127 init/Kconfig | 2 +
6128 init/main.c | 46 +-
6129 ipc/mqueue.c | 1 +
6130 ipc/msg.c | 3 +-
6131 ipc/msgutil.c | 4 +-
6132 ipc/sem.c | 3 +-
6133 ipc/shm.c | 26 +-
6134 ipc/util.c | 6 +
6135 kernel/auditsc.c | 2 +-
6136 kernel/bpf/syscall.c | 10 +-
6137 kernel/capability.c | 41 +-
6138 kernel/cgroup.c | 5 +-
6139 kernel/compat.c | 1 +
6140 kernel/configs.c | 11 +
6141 kernel/cred.c | 112 +-
6142 kernel/events/core.c | 16 +-
6143 kernel/exit.c | 10 +-
6144 kernel/fork.c | 86 +-
6145 kernel/futex.c | 6 +-
6146 kernel/futex_compat.c | 2 +-
6147 kernel/kallsyms.c | 9 +
6148 kernel/kcmp.c | 8 +-
6149 kernel/kexec_core.c | 2 +-
6150 kernel/kmod.c | 96 +-
6151 kernel/kprobes.c | 9 +-
6152 kernel/ksysfs.c | 2 +
6153 kernel/locking/lockdep_proc.c | 10 +-
6154 kernel/module.c | 108 +-
6155 kernel/panic.c | 4 +-
6156 kernel/pid.c | 18 +-
6157 kernel/power/Kconfig | 2 +
6158 kernel/printk/printk.c | 7 +-
6159 kernel/ptrace.c | 89 +-
6160 kernel/resource.c | 10 +
6161 kernel/sched/core.c | 11 +-
6162 kernel/seccomp.c | 22 +-
6163 kernel/signal.c | 37 +-
6164 kernel/sys.c | 64 +-
6165 kernel/sysctl.c | 186 +-
6166 kernel/taskstats.c | 6 +
6167 kernel/time/posix-timers.c | 8 +
6168 kernel/time/time.c | 5 +
6169 kernel/time/timekeeping.c | 3 +
6170 kernel/time/timer_list.c | 13 +-
6171 kernel/time/timer_stats.c | 10 +-
6172 kernel/trace/Kconfig | 2 +
6173 kernel/trace/trace_syscalls.c | 8 +
6174 kernel/user_namespace.c | 15 +
6175 lib/Kconfig.debug | 13 +-
6176 lib/Kconfig.kasan | 2 +-
6177 lib/is_single_threaded.c | 3 +
6178 lib/list_debug.c | 65 +-
6179 lib/nlattr.c | 2 +
6180 lib/radix-tree.c | 12 +-
6181 lib/rbtree.c | 4 +-
6182 lib/vsprintf.c | 39 +-
6183 localversion-grsec | 1 +
6184 mm/Kconfig | 8 +-
6185 mm/Kconfig.debug | 1 +
6186 mm/filemap.c | 1 +
6187 mm/kmemleak.c | 4 +-
6188 mm/memory.c | 2 +-
6189 mm/mempolicy.c | 12 +-
6190 mm/migrate.c | 3 +-
6191 mm/mlock.c | 11 +-
6192 mm/mmap.c | 103 +-
6193 mm/mprotect.c | 8 +
6194 mm/oom_kill.c | 4 +
6195 mm/page_alloc.c | 2 +-
6196 mm/process_vm_access.c | 8 +-
6197 mm/shmem.c | 11 +-
6198 mm/slab.c | 14 +-
6199 mm/slab_common.c | 2 +-
6200 mm/slob.c | 12 +
6201 mm/slub.c | 33 +-
6202 mm/util.c | 3 +
6203 mm/vmalloc.c | 82 +-
6204 mm/vmstat.c | 29 +-
6205 net/appletalk/atalk_proc.c | 2 +-
6206 net/atm/lec.c | 6 +-
6207 net/atm/mpoa_caches.c | 42 +-
6208 net/can/bcm.c | 2 +-
6209 net/can/proc.c | 2 +-
6210 net/core/dev_ioctl.c | 7 +-
6211 net/core/filter.c | 8 +-
6212 net/core/net-procfs.c | 17 +-
6213 net/core/pktgen.c | 2 +-
6214 net/core/scm.c | 7 +
6215 net/core/sock.c | 3 +-
6216 net/core/sysctl_net_core.c | 2 +-
6217 net/decnet/dn_dev.c | 2 +-
6218 net/ipv4/Kconfig | 1 +
6219 net/ipv4/devinet.c | 6 +-
6220 net/ipv4/inet_hashtables.c | 4 +
6221 net/ipv4/ip_input.c | 7 +
6222 net/ipv4/ip_sockglue.c | 3 +-
6223 net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 +-
6224 net/ipv4/route.c | 6 +-
6225 net/ipv4/tcp_input.c | 6 +-
6226 net/ipv4/tcp_ipv4.c | 24 +-
6227 net/ipv4/tcp_minisocks.c | 9 +-
6228 net/ipv4/tcp_timer.c | 11 +
6229 net/ipv4/udp.c | 24 +
6230 net/ipv6/Kconfig | 1 +
6231 net/ipv6/addrconf.c | 13 +-
6232 net/ipv6/proc.c | 2 +-
6233 net/ipv6/tcp_ipv6.c | 23 +-
6234 net/ipv6/udp.c | 7 +
6235 net/ipx/ipx_proc.c | 2 +-
6236 net/irda/irproc.c | 2 +-
6237 net/iucv/af_iucv.c | 3 +
6238 net/llc/llc_proc.c | 2 +-
6239 net/netfilter/Kconfig | 10 +
6240 net/netfilter/Makefile | 1 +
6241 net/netfilter/nf_conntrack_core.c | 46 +-
6242 net/netfilter/nf_conntrack_helper.c | 2 +-
6243 net/netfilter/nf_conntrack_netlink.c | 2 +-
6244 net/netfilter/xt_gradm.c | 51 +
6245 net/netfilter/xt_hashlimit.c | 4 +-
6246 net/netfilter/xt_recent.c | 2 +-
6247 net/openvswitch/actions.c | 19 +-
6248 net/sctp/sm_sideeffect.c | 11 +-
6249 net/sctp/sm_statefuns.c | 17 +-
6250 net/socket.c | 75 +-
6251 net/sunrpc/Kconfig | 1 +
6252 net/sunrpc/cache.c | 2 +-
6253 net/sunrpc/stats.c | 2 +-
6254 net/sysctl_net.c | 2 +-
6255 net/unix/af_unix.c | 57 +-
6256 net/unix/garbage.c | 8 +-
6257 net/vmw_vsock/vmci_transport_notify.c | 30 +-
6258 net/vmw_vsock/vmci_transport_notify_qstate.c | 30 +-
6259 net/x25/sysctl_net_x25.c | 2 +-
6260 net/x25/x25_proc.c | 2 +-
6261 scripts/package/Makefile | 2 +-
6262 scripts/package/mkspec | 41 +-
6263 security/Kconfig | 369 +-
6264 security/apparmor/file.c | 4 +-
6265 security/apparmor/lsm.c | 8 +-
6266 security/commoncap.c | 36 +-
6267 security/keys/internal.h | 2 +-
6268 security/min_addr.c | 2 +
6269 security/smack/smack_lsm.c | 8 +-
6270 security/tomoyo/file.c | 12 +-
6271 security/tomoyo/mount.c | 4 +
6272 security/tomoyo/tomoyo.c | 20 +-
6273 security/yama/Kconfig | 2 +-
6274 security/yama/yama_lsm.c | 4 +-
6275 sound/core/timer.c | 4 +-
6276 sound/synth/emux/emux_seq.c | 14 +-
6277 sound/usb/line6/driver.c | 40 +-
6278 sound/usb/line6/toneport.c | 12 +-
6279 tools/gcc/.gitignore | 1 +
6280 tools/gcc/Makefile | 12 +
6281 tools/gcc/gen-random-seed.sh | 8 +
6282 tools/gcc/randomize_layout_plugin.c | 930 +++
6283 tools/gcc/size_overflow_plugin/.gitignore | 1 +
6284 .../size_overflow_plugin/size_overflow_hash.data | 463 +-
6285 513 files changed, 33007 insertions(+), 3251 deletions(-)
6286
6287 commit 6cb4f49b6a55cf16ae82685e1ab9b74c95b2f743
6288 Author: Brad Spengler <spender@grsecurity.net>
6289 Date: Mon Feb 15 10:51:41 2016 -0500
6290
6291 Initial import of pax-linux-4.4.1-test3.patch
6292
6293 Documentation/dontdiff | 46 +-
6294 Documentation/kbuild/makefiles.txt | 39 +-
6295 Documentation/kernel-parameters.txt | 28 +
6296 Makefile | 119 +-
6297 arch/alpha/include/asm/atomic.h | 10 +
6298 arch/alpha/include/asm/elf.h | 7 +
6299 arch/alpha/include/asm/pgalloc.h | 6 +
6300 arch/alpha/include/asm/pgtable.h | 11 +
6301 arch/alpha/kernel/module.c | 2 +-
6302 arch/alpha/kernel/osf_sys.c | 8 +-
6303 arch/alpha/mm/fault.c | 141 +-
6304 arch/arm/Kconfig | 3 +-
6305 arch/arm/include/asm/atomic.h | 323 +-
6306 arch/arm/include/asm/cache.h | 5 +-
6307 arch/arm/include/asm/cacheflush.h | 2 +-
6308 arch/arm/include/asm/checksum.h | 14 +-
6309 arch/arm/include/asm/cmpxchg.h | 4 +
6310 arch/arm/include/asm/cpuidle.h | 2 +-
6311 arch/arm/include/asm/domain.h | 42 +-
6312 arch/arm/include/asm/elf.h | 9 +-
6313 arch/arm/include/asm/fncpy.h | 2 +
6314 arch/arm/include/asm/futex.h | 1 +
6315 arch/arm/include/asm/kmap_types.h | 2 +-
6316 arch/arm/include/asm/mach/dma.h | 2 +-
6317 arch/arm/include/asm/mach/map.h | 16 +-
6318 arch/arm/include/asm/outercache.h | 2 +-
6319 arch/arm/include/asm/page.h | 3 +-
6320 arch/arm/include/asm/pgalloc.h | 20 +
6321 arch/arm/include/asm/pgtable-2level-hwdef.h | 4 +-
6322 arch/arm/include/asm/pgtable-2level.h | 3 +
6323 arch/arm/include/asm/pgtable-3level.h | 3 +
6324 arch/arm/include/asm/pgtable.h | 54 +-
6325 arch/arm/include/asm/smp.h | 2 +-
6326 arch/arm/include/asm/thread_info.h | 3 +
6327 arch/arm/include/asm/tls.h | 3 +
6328 arch/arm/include/asm/uaccess.h | 113 +-
6329 arch/arm/include/uapi/asm/ptrace.h | 2 +-
6330 arch/arm/kernel/armksyms.c | 2 +-
6331 arch/arm/kernel/cpuidle.c | 2 +-
6332 arch/arm/kernel/entry-armv.S | 109 +-
6333 arch/arm/kernel/entry-common.S | 40 +-
6334 arch/arm/kernel/entry-header.S | 55 +
6335 arch/arm/kernel/fiq.c | 3 +
6336 arch/arm/kernel/module-plts.c | 7 +-
6337 arch/arm/kernel/module.c | 38 +-
6338 arch/arm/kernel/patch.c | 2 +
6339 arch/arm/kernel/process.c | 92 +-
6340 arch/arm/kernel/reboot.c | 1 +
6341 arch/arm/kernel/setup.c | 20 +-
6342 arch/arm/kernel/signal.c | 35 +-
6343 arch/arm/kernel/smp.c | 2 +-
6344 arch/arm/kernel/tcm.c | 4 +-
6345 arch/arm/kernel/vmlinux.lds.S | 6 +-
6346 arch/arm/kvm/arm.c | 8 +-
6347 arch/arm/lib/copy_page.S | 1 +
6348 arch/arm/lib/csumpartialcopyuser.S | 4 +-
6349 arch/arm/lib/delay.c | 2 +-
6350 arch/arm/lib/uaccess_with_memcpy.c | 4 +-
6351 arch/arm/mach-exynos/suspend.c | 6 +-
6352 arch/arm/mach-mvebu/coherency.c | 4 +-
6353 arch/arm/mach-omap2/board-n8x0.c | 2 +-
6354 arch/arm/mach-omap2/omap-mpuss-lowpower.c | 4 +-
6355 arch/arm/mach-omap2/omap-smp.c | 1 +
6356 arch/arm/mach-omap2/omap_device.c | 4 +-
6357 arch/arm/mach-omap2/omap_device.h | 4 +-
6358 arch/arm/mach-omap2/omap_hwmod.c | 4 +-
6359 arch/arm/mach-omap2/powerdomains43xx_data.c | 5 +-
6360 arch/arm/mach-omap2/wd_timer.c | 6 +-
6361 arch/arm/mach-shmobile/platsmp-apmu.c | 5 +-
6362 arch/arm/mach-tegra/cpuidle-tegra20.c | 2 +-
6363 arch/arm/mach-tegra/irq.c | 1 +
6364 arch/arm/mach-ux500/pm.c | 1 +
6365 arch/arm/mach-zynq/platsmp.c | 1 +
6366 arch/arm/mm/Kconfig | 6 +-
6367 arch/arm/mm/cache-l2x0.c | 2 +-
6368 arch/arm/mm/context.c | 10 +-
6369 arch/arm/mm/fault.c | 146 +
6370 arch/arm/mm/fault.h | 12 +
6371 arch/arm/mm/init.c | 39 +
6372 arch/arm/mm/ioremap.c | 4 +-
6373 arch/arm/mm/mmap.c | 30 +-
6374 arch/arm/mm/mmu.c | 162 +-
6375 arch/arm/net/bpf_jit_32.c | 3 +
6376 arch/arm/plat-iop/setup.c | 2 +-
6377 arch/arm/plat-omap/sram.c | 2 +
6378 arch/arm64/include/asm/atomic.h | 10 +
6379 arch/arm64/include/asm/percpu.h | 8 +-
6380 arch/arm64/include/asm/pgalloc.h | 5 +
6381 arch/arm64/include/asm/uaccess.h | 1 +
6382 arch/arm64/mm/dma-mapping.c | 2 +-
6383 arch/avr32/include/asm/elf.h | 8 +-
6384 arch/avr32/include/asm/kmap_types.h | 4 +-
6385 arch/avr32/mm/fault.c | 27 +
6386 arch/frv/include/asm/atomic.h | 10 +
6387 arch/frv/include/asm/kmap_types.h | 2 +-
6388 arch/frv/mm/elf-fdpic.c | 3 +-
6389 arch/ia64/Makefile | 1 +
6390 arch/ia64/include/asm/atomic.h | 10 +
6391 arch/ia64/include/asm/elf.h | 7 +
6392 arch/ia64/include/asm/pgalloc.h | 12 +
6393 arch/ia64/include/asm/pgtable.h | 13 +-
6394 arch/ia64/include/asm/spinlock.h | 2 +-
6395 arch/ia64/include/asm/uaccess.h | 27 +-
6396 arch/ia64/kernel/module.c | 45 +-
6397 arch/ia64/kernel/palinfo.c | 2 +-
6398 arch/ia64/kernel/sys_ia64.c | 7 +
6399 arch/ia64/kernel/vmlinux.lds.S | 2 +-
6400 arch/ia64/mm/fault.c | 32 +-
6401 arch/ia64/mm/init.c | 15 +-
6402 arch/m32r/lib/usercopy.c | 6 +
6403 arch/mips/cavium-octeon/dma-octeon.c | 2 +-
6404 arch/mips/include/asm/atomic.h | 368 +-
6405 arch/mips/include/asm/elf.h | 7 +
6406 arch/mips/include/asm/exec.h | 2 +-
6407 arch/mips/include/asm/hw_irq.h | 2 +-
6408 arch/mips/include/asm/local.h | 57 +
6409 arch/mips/include/asm/page.h | 2 +-
6410 arch/mips/include/asm/pgalloc.h | 5 +
6411 arch/mips/include/asm/pgtable.h | 3 +
6412 arch/mips/include/asm/uaccess.h | 1 +
6413 arch/mips/kernel/binfmt_elfn32.c | 7 +
6414 arch/mips/kernel/binfmt_elfo32.c | 7 +
6415 arch/mips/kernel/irq-gt641xx.c | 2 +-
6416 arch/mips/kernel/irq.c | 6 +-
6417 arch/mips/kernel/pm-cps.c | 2 +-
6418 arch/mips/kernel/process.c | 12 -
6419 arch/mips/kernel/sync-r4k.c | 24 +-
6420 arch/mips/kernel/traps.c | 13 +-
6421 arch/mips/mm/fault.c | 25 +
6422 arch/mips/mm/mmap.c | 51 +-
6423 arch/mips/sgi-ip27/ip27-nmi.c | 6 +-
6424 arch/mips/sni/rm200.c | 2 +-
6425 arch/mips/vr41xx/common/icu.c | 2 +-
6426 arch/mips/vr41xx/common/irq.c | 4 +-
6427 arch/parisc/include/asm/atomic.h | 10 +
6428 arch/parisc/include/asm/elf.h | 7 +
6429 arch/parisc/include/asm/pgalloc.h | 6 +
6430 arch/parisc/include/asm/pgtable.h | 11 +
6431 arch/parisc/include/asm/uaccess.h | 4 +-
6432 arch/parisc/kernel/module.c | 50 +-
6433 arch/parisc/kernel/sys_parisc.c | 15 +
6434 arch/parisc/kernel/traps.c | 4 +-
6435 arch/parisc/mm/fault.c | 140 +-
6436 arch/powerpc/include/asm/atomic.h | 329 +-
6437 arch/powerpc/include/asm/elf.h | 12 +
6438 arch/powerpc/include/asm/exec.h | 2 +-
6439 arch/powerpc/include/asm/kmap_types.h | 2 +-
6440 arch/powerpc/include/asm/local.h | 46 +
6441 arch/powerpc/include/asm/mman.h | 2 +-
6442 arch/powerpc/include/asm/page.h | 8 +-
6443 arch/powerpc/include/asm/page_64.h | 7 +-
6444 arch/powerpc/include/asm/pgalloc-64.h | 7 +
6445 arch/powerpc/include/asm/pgtable.h | 1 +
6446 arch/powerpc/include/asm/pte-hash32.h | 1 +
6447 arch/powerpc/include/asm/reg.h | 1 +
6448 arch/powerpc/include/asm/smp.h | 2 +-
6449 arch/powerpc/include/asm/spinlock.h | 42 +-
6450 arch/powerpc/include/asm/uaccess.h | 141 +-
6451 arch/powerpc/kernel/Makefile | 5 +
6452 arch/powerpc/kernel/exceptions-64e.S | 4 +-
6453 arch/powerpc/kernel/exceptions-64s.S | 2 +-
6454 arch/powerpc/kernel/module_32.c | 15 +-
6455 arch/powerpc/kernel/process.c | 46 -
6456 arch/powerpc/kernel/signal_32.c | 2 +-
6457 arch/powerpc/kernel/signal_64.c | 2 +-
6458 arch/powerpc/kernel/traps.c | 21 +
6459 arch/powerpc/kernel/vdso.c | 5 +-
6460 arch/powerpc/lib/usercopy_64.c | 18 -
6461 arch/powerpc/mm/fault.c | 56 +-
6462 arch/powerpc/mm/mmap.c | 16 +
6463 arch/powerpc/mm/slice.c | 13 +-
6464 arch/powerpc/platforms/cell/spufs/file.c | 4 +-
6465 arch/s390/include/asm/atomic.h | 10 +
6466 arch/s390/include/asm/elf.h | 7 +
6467 arch/s390/include/asm/exec.h | 2 +-
6468 arch/s390/include/asm/uaccess.h | 13 +-
6469 arch/s390/kernel/module.c | 22 +-
6470 arch/s390/kernel/process.c | 20 -
6471 arch/s390/mm/mmap.c | 16 +
6472 arch/score/include/asm/exec.h | 2 +-
6473 arch/score/kernel/process.c | 5 -
6474 arch/sh/mm/mmap.c | 22 +-
6475 arch/sparc/include/asm/atomic_64.h | 110 +-
6476 arch/sparc/include/asm/cache.h | 2 +-
6477 arch/sparc/include/asm/elf_32.h | 7 +
6478 arch/sparc/include/asm/elf_64.h | 7 +
6479 arch/sparc/include/asm/pgalloc_32.h | 1 +
6480 arch/sparc/include/asm/pgalloc_64.h | 1 +
6481 arch/sparc/include/asm/pgtable.h | 4 +
6482 arch/sparc/include/asm/pgtable_32.h | 15 +-
6483 arch/sparc/include/asm/pgtsrmmu.h | 5 +
6484 arch/sparc/include/asm/setup.h | 4 +-
6485 arch/sparc/include/asm/spinlock_64.h | 35 +-
6486 arch/sparc/include/asm/thread_info_32.h | 1 +
6487 arch/sparc/include/asm/thread_info_64.h | 2 +
6488 arch/sparc/include/asm/uaccess.h | 1 +
6489 arch/sparc/include/asm/uaccess_32.h | 28 +-
6490 arch/sparc/include/asm/uaccess_64.h | 24 +-
6491 arch/sparc/kernel/Makefile | 2 +-
6492 arch/sparc/kernel/prom_common.c | 2 +-
6493 arch/sparc/kernel/smp_64.c | 8 +-
6494 arch/sparc/kernel/sys_sparc_32.c | 2 +-
6495 arch/sparc/kernel/sys_sparc_64.c | 52 +-
6496 arch/sparc/kernel/traps_64.c | 27 +-
6497 arch/sparc/lib/Makefile | 2 +-
6498 arch/sparc/lib/atomic_64.S | 57 +-
6499 arch/sparc/lib/ksyms.c | 6 +-
6500 arch/sparc/mm/Makefile | 2 +-
6501 arch/sparc/mm/fault_32.c | 292 +
6502 arch/sparc/mm/fault_64.c | 486 +
6503 arch/sparc/mm/hugetlbpage.c | 22 +-
6504 arch/sparc/mm/init_64.c | 10 +-
6505 arch/tile/include/asm/atomic_64.h | 10 +
6506 arch/tile/include/asm/uaccess.h | 4 +-
6507 arch/um/Makefile | 4 +
6508 arch/um/include/asm/kmap_types.h | 2 +-
6509 arch/um/include/asm/page.h | 3 +
6510 arch/um/include/asm/pgtable-3level.h | 1 +
6511 arch/um/kernel/process.c | 16 -
6512 arch/x86/Kconfig | 26 +-
6513 arch/x86/Kconfig.cpu | 6 +-
6514 arch/x86/Kconfig.debug | 4 +-
6515 arch/x86/Makefile | 13 +-
6516 arch/x86/boot/Makefile | 3 +
6517 arch/x86/boot/bitops.h | 4 +-
6518 arch/x86/boot/boot.h | 2 +-
6519 arch/x86/boot/compressed/Makefile | 3 +
6520 arch/x86/boot/compressed/efi_stub_32.S | 16 +-
6521 arch/x86/boot/compressed/efi_thunk_64.S | 4 +-
6522 arch/x86/boot/compressed/head_32.S | 4 +-
6523 arch/x86/boot/compressed/head_64.S | 12 +-
6524 arch/x86/boot/compressed/misc.c | 11 +-
6525 arch/x86/boot/cpucheck.c | 16 +-
6526 arch/x86/boot/header.S | 6 +-
6527 arch/x86/boot/memory.c | 2 +-
6528 arch/x86/boot/video-vesa.c | 1 +
6529 arch/x86/boot/video.c | 2 +-
6530 arch/x86/crypto/aes-x86_64-asm_64.S | 4 +
6531 arch/x86/crypto/aesni-intel_asm.S | 106 +-
6532 arch/x86/crypto/blowfish-x86_64-asm_64.S | 7 +
6533 arch/x86/crypto/camellia-aesni-avx-asm_64.S | 10 +
6534 arch/x86/crypto/camellia-aesni-avx2-asm_64.S | 10 +
6535 arch/x86/crypto/camellia-x86_64-asm_64.S | 7 +
6536 arch/x86/crypto/cast5-avx-x86_64-asm_64.S | 51 +-
6537 arch/x86/crypto/cast6-avx-x86_64-asm_64.S | 25 +-
6538 arch/x86/crypto/crc32c-pcl-intel-asm_64.S | 2 +
6539 arch/x86/crypto/ghash-clmulni-intel_asm.S | 4 +
6540 arch/x86/crypto/salsa20-x86_64-asm_64.S | 4 +
6541 arch/x86/crypto/serpent-avx-x86_64-asm_64.S | 9 +
6542 arch/x86/crypto/serpent-avx2-asm_64.S | 9 +
6543 arch/x86/crypto/serpent-sse2-x86_64-asm_64.S | 4 +
6544 arch/x86/crypto/sha1_ssse3_asm.S | 10 +-
6545 arch/x86/crypto/sha256-avx-asm.S | 2 +
6546 arch/x86/crypto/sha256-avx2-asm.S | 2 +
6547 arch/x86/crypto/sha256-ssse3-asm.S | 2 +
6548 arch/x86/crypto/sha512-avx-asm.S | 2 +
6549 arch/x86/crypto/sha512-avx2-asm.S | 2 +
6550 arch/x86/crypto/sha512-ssse3-asm.S | 2 +
6551 arch/x86/crypto/twofish-avx-x86_64-asm_64.S | 25 +-
6552 arch/x86/crypto/twofish-x86_64-asm_64-3way.S | 4 +
6553 arch/x86/crypto/twofish-x86_64-asm_64.S | 3 +
6554 arch/x86/entry/calling.h | 86 +-
6555 arch/x86/entry/common.c | 28 +-
6556 arch/x86/entry/entry_32.S | 311 +-
6557 arch/x86/entry/entry_64.S | 625 +-
6558 arch/x86/entry/entry_64_compat.S | 67 +-
6559 arch/x86/entry/thunk_64.S | 2 +
6560 arch/x86/entry/vdso/Makefile | 2 +-
6561 arch/x86/entry/vdso/vdso2c.h | 8 +-
6562 arch/x86/entry/vdso/vma.c | 37 +-
6563 arch/x86/entry/vsyscall/vsyscall_64.c | 20 +-
6564 arch/x86/entry/vsyscall/vsyscall_emu_64.S | 2 +-
6565 arch/x86/ia32/ia32_signal.c | 23 +-
6566 arch/x86/ia32/sys_ia32.c | 42 +-
6567 arch/x86/include/asm/alternative-asm.h | 43 +-
6568 arch/x86/include/asm/alternative.h | 4 +-
6569 arch/x86/include/asm/apic.h | 2 +-
6570 arch/x86/include/asm/apm.h | 4 +-
6571 arch/x86/include/asm/atomic.h | 230 +-
6572 arch/x86/include/asm/atomic64_32.h | 100 +
6573 arch/x86/include/asm/atomic64_64.h | 164 +-
6574 arch/x86/include/asm/bitops.h | 18 +-
6575 arch/x86/include/asm/boot.h | 2 +-
6576 arch/x86/include/asm/cache.h | 5 +-
6577 arch/x86/include/asm/checksum_32.h | 12 +-
6578 arch/x86/include/asm/cmpxchg.h | 39 +
6579 arch/x86/include/asm/compat.h | 4 +
6580 arch/x86/include/asm/cpufeature.h | 17 +-
6581 arch/x86/include/asm/desc.h | 78 +-
6582 arch/x86/include/asm/desc_defs.h | 6 +
6583 arch/x86/include/asm/div64.h | 2 +-
6584 arch/x86/include/asm/dma.h | 2 +
6585 arch/x86/include/asm/elf.h | 33 +-
6586 arch/x86/include/asm/emergency-restart.h | 2 +-
6587 arch/x86/include/asm/fpu/internal.h | 42 +-
6588 arch/x86/include/asm/fpu/types.h | 5 +-
6589 arch/x86/include/asm/futex.h | 14 +-
6590 arch/x86/include/asm/hw_irq.h | 4 +-
6591 arch/x86/include/asm/i8259.h | 2 +-
6592 arch/x86/include/asm/io.h | 22 +-
6593 arch/x86/include/asm/irqflags.h | 5 +
6594 arch/x86/include/asm/kprobes.h | 9 +-
6595 arch/x86/include/asm/local.h | 106 +-
6596 arch/x86/include/asm/mman.h | 15 +
6597 arch/x86/include/asm/mmu.h | 14 +-
6598 arch/x86/include/asm/mmu_context.h | 133 +-
6599 arch/x86/include/asm/module.h | 17 +-
6600 arch/x86/include/asm/nmi.h | 19 +-
6601 arch/x86/include/asm/page.h | 1 +
6602 arch/x86/include/asm/page_32.h | 12 +-
6603 arch/x86/include/asm/page_64.h | 14 +-
6604 arch/x86/include/asm/paravirt.h | 46 +-
6605 arch/x86/include/asm/paravirt_types.h | 15 +-
6606 arch/x86/include/asm/pgalloc.h | 23 +
6607 arch/x86/include/asm/pgtable-2level.h | 2 +
6608 arch/x86/include/asm/pgtable-3level.h | 7 +
6609 arch/x86/include/asm/pgtable.h | 126 +-
6610 arch/x86/include/asm/pgtable_32.h | 14 +-
6611 arch/x86/include/asm/pgtable_32_types.h | 24 +-
6612 arch/x86/include/asm/pgtable_64.h | 23 +-
6613 arch/x86/include/asm/pgtable_64_types.h | 5 +
6614 arch/x86/include/asm/pgtable_types.h | 26 +-
6615 arch/x86/include/asm/pmem.h | 2 +-
6616 arch/x86/include/asm/preempt.h | 2 +-
6617 arch/x86/include/asm/processor.h | 57 +-
6618 arch/x86/include/asm/ptrace.h | 15 +-
6619 arch/x86/include/asm/realmode.h | 4 +-
6620 arch/x86/include/asm/reboot.h | 10 +-
6621 arch/x86/include/asm/rmwcc.h | 84 +-
6622 arch/x86/include/asm/rwsem.h | 60 +-
6623 arch/x86/include/asm/segment.h | 27 +-
6624 arch/x86/include/asm/smap.h | 43 +
6625 arch/x86/include/asm/smp.h | 14 +-
6626 arch/x86/include/asm/stackprotector.h | 4 +-
6627 arch/x86/include/asm/stacktrace.h | 34 +-
6628 arch/x86/include/asm/switch_to.h | 4 +-
6629 arch/x86/include/asm/sys_ia32.h | 6 +-
6630 arch/x86/include/asm/thread_info.h | 27 +-
6631 arch/x86/include/asm/tlbflush.h | 77 +-
6632 arch/x86/include/asm/uaccess.h | 210 +-
6633 arch/x86/include/asm/uaccess_32.h | 28 +-
6634 arch/x86/include/asm/uaccess_64.h | 169 +-
6635 arch/x86/include/asm/word-at-a-time.h | 2 +-
6636 arch/x86/include/asm/x86_init.h | 10 +-
6637 arch/x86/include/asm/xen/page.h | 2 +-
6638 arch/x86/include/uapi/asm/e820.h | 2 +-
6639 arch/x86/kernel/Makefile | 2 +-
6640 arch/x86/kernel/acpi/boot.c | 4 +-
6641 arch/x86/kernel/acpi/sleep.c | 4 +
6642 arch/x86/kernel/acpi/wakeup_32.S | 6 +-
6643 arch/x86/kernel/alternative.c | 124 +-
6644 arch/x86/kernel/apic/apic.c | 4 +-
6645 arch/x86/kernel/apic/apic_flat_64.c | 6 +-
6646 arch/x86/kernel/apic/apic_noop.c | 2 +-
6647 arch/x86/kernel/apic/bigsmp_32.c | 2 +-
6648 arch/x86/kernel/apic/io_apic.c | 8 +-
6649 arch/x86/kernel/apic/msi.c | 2 +-
6650 arch/x86/kernel/apic/probe_32.c | 4 +-
6651 arch/x86/kernel/apic/vector.c | 2 +
6652 arch/x86/kernel/apic/x2apic_cluster.c | 2 +-
6653 arch/x86/kernel/apic/x2apic_phys.c | 2 +-
6654 arch/x86/kernel/apic/x2apic_uv_x.c | 2 +-
6655 arch/x86/kernel/apm_32.c | 21 +-
6656 arch/x86/kernel/asm-offsets.c | 20 +
6657 arch/x86/kernel/asm-offsets_64.c | 1 +
6658 arch/x86/kernel/cpu/Makefile | 4 -
6659 arch/x86/kernel/cpu/amd.c | 2 +-
6660 arch/x86/kernel/cpu/bugs_64.c | 2 +
6661 arch/x86/kernel/cpu/common.c | 202 +-
6662 arch/x86/kernel/cpu/intel_cacheinfo.c | 14 +-
6663 arch/x86/kernel/cpu/mcheck/mce.c | 34 +-
6664 arch/x86/kernel/cpu/mcheck/p5.c | 3 +
6665 arch/x86/kernel/cpu/mcheck/winchip.c | 3 +
6666 arch/x86/kernel/cpu/microcode/intel.c | 4 +-
6667 arch/x86/kernel/cpu/mtrr/generic.c | 6 +-
6668 arch/x86/kernel/cpu/mtrr/main.c | 2 +-
6669 arch/x86/kernel/cpu/mtrr/mtrr.h | 2 +-
6670 arch/x86/kernel/cpu/perf_event.c | 10 +-
6671 arch/x86/kernel/cpu/perf_event.h | 2 +-
6672 arch/x86/kernel/cpu/perf_event_amd_iommu.c | 2 +-
6673 arch/x86/kernel/cpu/perf_event_intel.c | 34 +-
6674 arch/x86/kernel/cpu/perf_event_intel_bts.c | 6 +-
6675 arch/x86/kernel/cpu/perf_event_intel_cqm.c | 4 +-
6676 arch/x86/kernel/cpu/perf_event_intel_ds.c | 7 +-
6677 arch/x86/kernel/cpu/perf_event_intel_lbr.c | 4 +-
6678 arch/x86/kernel/cpu/perf_event_intel_pt.c | 42 +-
6679 arch/x86/kernel/cpu/perf_event_intel_rapl.c | 2 +-
6680 arch/x86/kernel/cpu/perf_event_intel_uncore.c | 2 +-
6681 arch/x86/kernel/cpu/perf_event_intel_uncore.h | 2 +-
6682 arch/x86/kernel/crash_dump_64.c | 2 +-
6683 arch/x86/kernel/doublefault.c | 8 +-
6684 arch/x86/kernel/dumpstack.c | 24 +-
6685 arch/x86/kernel/dumpstack_32.c | 25 +-
6686 arch/x86/kernel/dumpstack_64.c | 62 +-
6687 arch/x86/kernel/e820.c | 4 +-
6688 arch/x86/kernel/early_printk.c | 1 +
6689 arch/x86/kernel/espfix_64.c | 44 +-
6690 arch/x86/kernel/fpu/core.c | 24 +-
6691 arch/x86/kernel/fpu/init.c | 40 +-
6692 arch/x86/kernel/fpu/regset.c | 22 +-
6693 arch/x86/kernel/fpu/signal.c | 20 +-
6694 arch/x86/kernel/fpu/xstate.c | 6 +-
6695 arch/x86/kernel/ftrace.c | 18 +-
6696 arch/x86/kernel/head64.c | 14 +-
6697 arch/x86/kernel/head_32.S | 235 +-
6698 arch/x86/kernel/head_64.S | 173 +-
6699 arch/x86/kernel/i386_ksyms_32.c | 12 +
6700 arch/x86/kernel/i8259.c | 10 +-
6701 arch/x86/kernel/io_delay.c | 2 +-
6702 arch/x86/kernel/ioport.c | 2 +-
6703 arch/x86/kernel/irq.c | 8 +-
6704 arch/x86/kernel/irq_32.c | 45 +-
6705 arch/x86/kernel/jump_label.c | 10 +-
6706 arch/x86/kernel/kgdb.c | 21 +-
6707 arch/x86/kernel/kprobes/core.c | 28 +-
6708 arch/x86/kernel/kprobes/opt.c | 16 +-
6709 arch/x86/kernel/ksysfs.c | 2 +-
6710 arch/x86/kernel/kvmclock.c | 20 +-
6711 arch/x86/kernel/ldt.c | 25 +
6712 arch/x86/kernel/livepatch.c | 11 +-
6713 arch/x86/kernel/machine_kexec_32.c | 6 +-
6714 arch/x86/kernel/mcount_64.S | 19 +-
6715 arch/x86/kernel/module.c | 78 +-
6716 arch/x86/kernel/msr.c | 2 +-
6717 arch/x86/kernel/nmi.c | 34 +-
6718 arch/x86/kernel/nmi_selftest.c | 4 +-
6719 arch/x86/kernel/paravirt-spinlocks.c | 2 +-
6720 arch/x86/kernel/paravirt.c | 45 +-
6721 arch/x86/kernel/paravirt_patch_64.c | 8 +
6722 arch/x86/kernel/pci-calgary_64.c | 2 +-
6723 arch/x86/kernel/pci-iommu_table.c | 2 +-
6724 arch/x86/kernel/pci-swiotlb.c | 2 +-
6725 arch/x86/kernel/process.c | 80 +-
6726 arch/x86/kernel/process_32.c | 29 +-
6727 arch/x86/kernel/process_64.c | 14 +-
6728 arch/x86/kernel/ptrace.c | 20 +-
6729 arch/x86/kernel/pvclock.c | 8 +-
6730 arch/x86/kernel/reboot.c | 44 +-
6731 arch/x86/kernel/reboot_fixups_32.c | 2 +-
6732 arch/x86/kernel/relocate_kernel_64.S | 3 +-
6733 arch/x86/kernel/setup.c | 29 +-
6734 arch/x86/kernel/setup_percpu.c | 29 +-
6735 arch/x86/kernel/signal.c | 17 +-
6736 arch/x86/kernel/smp.c | 2 +-
6737 arch/x86/kernel/smpboot.c | 29 +-
6738 arch/x86/kernel/step.c | 6 +-
6739 arch/x86/kernel/sys_i386_32.c | 184 +
6740 arch/x86/kernel/sys_x86_64.c | 22 +-
6741 arch/x86/kernel/tboot.c | 22 +-
6742 arch/x86/kernel/time.c | 8 +-
6743 arch/x86/kernel/tls.c | 7 +-
6744 arch/x86/kernel/tracepoint.c | 4 +-
6745 arch/x86/kernel/traps.c | 53 +-
6746 arch/x86/kernel/tsc.c | 2 +-
6747 arch/x86/kernel/uprobes.c | 4 +-
6748 arch/x86/kernel/vm86_32.c | 6 +-
6749 arch/x86/kernel/vmlinux.lds.S | 153 +-
6750 arch/x86/kernel/x8664_ksyms_64.c | 6 +-
6751 arch/x86/kernel/x86_init.c | 6 +-
6752 arch/x86/kvm/cpuid.c | 21 +-
6753 arch/x86/kvm/emulate.c | 6 +-
6754 arch/x86/kvm/i8259.c | 10 +-
6755 arch/x86/kvm/ioapic.c | 2 +
6756 arch/x86/kvm/lapic.c | 2 +-
6757 arch/x86/kvm/paging_tmpl.h | 2 +-
6758 arch/x86/kvm/svm.c | 10 +-
6759 arch/x86/kvm/vmx.c | 62 +-
6760 arch/x86/kvm/x86.c | 44 +-
6761 arch/x86/lguest/boot.c | 3 +-
6762 arch/x86/lib/atomic64_386_32.S | 164 +
6763 arch/x86/lib/atomic64_cx8_32.S | 98 +-
6764 arch/x86/lib/checksum_32.S | 99 +-
6765 arch/x86/lib/clear_page_64.S | 3 +
6766 arch/x86/lib/cmpxchg16b_emu.S | 3 +
6767 arch/x86/lib/copy_page_64.S | 14 +-
6768 arch/x86/lib/copy_user_64.S | 66 +-
6769 arch/x86/lib/csum-copy_64.S | 14 +-
6770 arch/x86/lib/csum-wrappers_64.c | 8 +-
6771 arch/x86/lib/getuser.S | 74 +-
6772 arch/x86/lib/insn.c | 8 +-
6773 arch/x86/lib/iomap_copy_64.S | 2 +
6774 arch/x86/lib/memcpy_64.S | 6 +
6775 arch/x86/lib/memmove_64.S | 3 +-
6776 arch/x86/lib/memset_64.S | 3 +
6777 arch/x86/lib/mmx_32.c | 243 +-
6778 arch/x86/lib/msr-reg.S | 2 +
6779 arch/x86/lib/putuser.S | 87 +-
6780 arch/x86/lib/rwsem.S | 6 +-
6781 arch/x86/lib/usercopy_32.c | 359 +-
6782 arch/x86/lib/usercopy_64.c | 22 +-
6783 arch/x86/math-emu/fpu_aux.c | 2 +-
6784 arch/x86/math-emu/fpu_entry.c | 4 +-
6785 arch/x86/math-emu/fpu_system.h | 2 +-
6786 arch/x86/mm/Makefile | 4 +
6787 arch/x86/mm/extable.c | 26 +-
6788 arch/x86/mm/fault.c | 570 +-
6789 arch/x86/mm/gup.c | 6 +-
6790 arch/x86/mm/highmem_32.c | 6 +
6791 arch/x86/mm/hugetlbpage.c | 24 +-
6792 arch/x86/mm/init.c | 111 +-
6793 arch/x86/mm/init_32.c | 111 +-
6794 arch/x86/mm/init_64.c | 46 +-
6795 arch/x86/mm/iomap_32.c | 4 +
6796 arch/x86/mm/ioremap.c | 52 +-
6797 arch/x86/mm/kmemcheck/kmemcheck.c | 4 +-
6798 arch/x86/mm/mmap.c | 40 +-
6799 arch/x86/mm/mmio-mod.c | 10 +-
6800 arch/x86/mm/mpx.c | 6 +-
6801 arch/x86/mm/numa.c | 4 +-
6802 arch/x86/mm/pageattr.c | 42 +-
6803 arch/x86/mm/pat.c | 12 +-
6804 arch/x86/mm/pat_rbtree.c | 2 +-
6805 arch/x86/mm/pf_in.c | 10 +-
6806 arch/x86/mm/pgtable.c | 214 +-
6807 arch/x86/mm/pgtable_32.c | 3 +
6808 arch/x86/mm/setup_nx.c | 7 +
6809 arch/x86/mm/tlb.c | 4 +
6810 arch/x86/mm/uderef_64.c | 37 +
6811 arch/x86/net/bpf_jit.S | 11 +
6812 arch/x86/net/bpf_jit_comp.c | 13 +-
6813 arch/x86/oprofile/backtrace.c | 6 +-
6814 arch/x86/oprofile/nmi_int.c | 8 +-
6815 arch/x86/oprofile/op_model_amd.c | 8 +-
6816 arch/x86/oprofile/op_model_ppro.c | 7 +-
6817 arch/x86/oprofile/op_x86_model.h | 2 +-
6818 arch/x86/pci/intel_mid_pci.c | 2 +-
6819 arch/x86/pci/irq.c | 8 +-
6820 arch/x86/pci/pcbios.c | 144 +-
6821 arch/x86/platform/efi/efi_32.c | 24 +
6822 arch/x86/platform/efi/efi_64.c | 26 +-
6823 arch/x86/platform/efi/efi_stub_32.S | 64 +-
6824 arch/x86/platform/efi/efi_stub_64.S | 2 +
6825 arch/x86/platform/intel-mid/intel-mid.c | 5 +-
6826 arch/x86/platform/intel-mid/intel_mid_weak_decls.h | 6 +-
6827 arch/x86/platform/intel-mid/mfld.c | 4 +-
6828 arch/x86/platform/intel-mid/mrfl.c | 2 +-
6829 arch/x86/platform/intel-quark/imr_selftest.c | 2 +-
6830 arch/x86/platform/olpc/olpc_dt.c | 2 +-
6831 arch/x86/power/cpu.c | 11 +-
6832 arch/x86/realmode/init.c | 10 +-
6833 arch/x86/realmode/rm/Makefile | 3 +
6834 arch/x86/realmode/rm/header.S | 4 +-
6835 arch/x86/realmode/rm/reboot.S | 4 +
6836 arch/x86/realmode/rm/trampoline_32.S | 12 +-
6837 arch/x86/realmode/rm/trampoline_64.S | 3 +-
6838 arch/x86/realmode/rm/wakeup_asm.S | 5 +-
6839 arch/x86/tools/Makefile | 2 +-
6840 arch/x86/tools/relocs.c | 96 +-
6841 arch/x86/um/mem_32.c | 2 +-
6842 arch/x86/um/tls_32.c | 2 +-
6843 arch/x86/xen/enlighten.c | 50 +-
6844 arch/x86/xen/mmu.c | 19 +-
6845 arch/x86/xen/smp.c | 16 +-
6846 arch/x86/xen/xen-asm_32.S | 2 +-
6847 arch/x86/xen/xen-head.S | 11 +
6848 arch/x86/xen/xen-ops.h | 2 -
6849 block/bio.c | 4 +-
6850 block/blk-cgroup.c | 18 +-
6851 block/blk-iopoll.c | 2 +-
6852 block/blk-map.c | 2 +-
6853 block/blk-softirq.c | 2 +-
6854 block/bsg.c | 12 +-
6855 block/cfq-iosched.c | 4 +-
6856 block/compat_ioctl.c | 4 +-
6857 block/genhd.c | 9 +-
6858 block/partitions/efi.c | 8 +-
6859 block/scsi_ioctl.c | 29 +-
6860 crypto/cryptd.c | 4 +-
6861 crypto/crypto_user.c | 8 +-
6862 crypto/pcrypt.c | 2 +-
6863 crypto/zlib.c | 12 +-
6864 drivers/acpi/acpi_video.c | 2 +-
6865 drivers/acpi/apei/apei-internal.h | 2 +-
6866 drivers/acpi/apei/ghes.c | 10 +-
6867 drivers/acpi/bgrt.c | 6 +-
6868 drivers/acpi/blacklist.c | 4 +-
6869 drivers/acpi/bus.c | 4 +-
6870 drivers/acpi/device_pm.c | 4 +-
6871 drivers/acpi/ec.c | 2 +-
6872 drivers/acpi/pci_slot.c | 2 +-
6873 drivers/acpi/processor_idle.c | 2 +-
6874 drivers/acpi/processor_pdc.c | 2 +-
6875 drivers/acpi/sleep.c | 2 +-
6876 drivers/acpi/sysfs.c | 4 +-
6877 drivers/acpi/thermal.c | 2 +-
6878 drivers/acpi/video_detect.c | 7 +-
6879 drivers/ata/libata-core.c | 12 +-
6880 drivers/ata/libata-scsi.c | 2 +-
6881 drivers/ata/libata.h | 2 +-
6882 drivers/ata/pata_arasan_cf.c | 4 +-
6883 drivers/atm/adummy.c | 2 +-
6884 drivers/atm/ambassador.c | 8 +-
6885 drivers/atm/atmtcp.c | 14 +-
6886 drivers/atm/eni.c | 10 +-
6887 drivers/atm/firestream.c | 8 +-
6888 drivers/atm/fore200e.c | 14 +-
6889 drivers/atm/he.c | 18 +-
6890 drivers/atm/horizon.c | 4 +-
6891 drivers/atm/idt77252.c | 36 +-
6892 drivers/atm/iphase.c | 34 +-
6893 drivers/atm/lanai.c | 12 +-
6894 drivers/atm/nicstar.c | 46 +-
6895 drivers/atm/solos-pci.c | 4 +-
6896 drivers/atm/suni.c | 4 +-
6897 drivers/atm/uPD98402.c | 16 +-
6898 drivers/atm/zatm.c | 6 +-
6899 drivers/base/bus.c | 4 +-
6900 drivers/base/devres.c | 4 +-
6901 drivers/base/devtmpfs.c | 8 +-
6902 drivers/base/node.c | 2 +-
6903 drivers/base/platform-msi.c | 20 +-
6904 drivers/base/power/domain.c | 7 +-
6905 drivers/base/power/runtime.c | 6 +-
6906 drivers/base/power/sysfs.c | 2 +-
6907 drivers/base/power/wakeup.c | 8 +-
6908 drivers/base/regmap/regmap-debugfs.c | 4 +-
6909 drivers/base/regmap/regmap.c | 4 +-
6910 drivers/base/syscore.c | 4 +-
6911 drivers/block/cciss.c | 28 +-
6912 drivers/block/cciss.h | 2 +-
6913 drivers/block/cpqarray.c | 28 +-
6914 drivers/block/cpqarray.h | 2 +-
6915 drivers/block/drbd/drbd_bitmap.c | 2 +-
6916 drivers/block/drbd/drbd_int.h | 8 +-
6917 drivers/block/drbd/drbd_main.c | 12 +-
6918 drivers/block/drbd/drbd_nl.c | 4 +-
6919 drivers/block/drbd/drbd_receiver.c | 38 +-
6920 drivers/block/drbd/drbd_worker.c | 14 +-
6921 drivers/block/pktcdvd.c | 4 +-
6922 drivers/block/rbd.c | 2 +-
6923 drivers/bluetooth/btwilink.c | 2 +-
6924 drivers/bus/arm-cci.c | 12 +-
6925 drivers/cdrom/cdrom.c | 11 +-
6926 drivers/cdrom/gdrom.c | 1 -
6927 drivers/char/agp/compat_ioctl.c | 2 +-
6928 drivers/char/agp/frontend.c | 4 +-
6929 drivers/char/agp/intel-gtt.c | 4 +-
6930 drivers/char/hpet.c | 2 +-
6931 drivers/char/ipmi/ipmi_msghandler.c | 8 +-
6932 drivers/char/ipmi/ipmi_si_intf.c | 8 +-
6933 drivers/char/ipmi/ipmi_ssif.c | 12 +-
6934 drivers/char/mem.c | 47 +-
6935 drivers/char/nvram.c | 2 +-
6936 drivers/char/pcmcia/synclink_cs.c | 16 +-
6937 drivers/char/random.c | 12 +-
6938 drivers/char/sonypi.c | 11 +-
6939 drivers/char/tpm/tpm_acpi.c | 3 +-
6940 drivers/char/tpm/tpm_eventlog.c | 5 +-
6941 drivers/char/virtio_console.c | 6 +-
6942 drivers/clk/clk-composite.c | 2 +-
6943 drivers/clk/samsung/clk.h | 2 +-
6944 drivers/clk/socfpga/clk-gate.c | 9 +-
6945 drivers/clk/socfpga/clk-pll.c | 9 +-
6946 drivers/clk/ti/clk.c | 8 +-
6947 drivers/cpufreq/acpi-cpufreq.c | 17 +-
6948 drivers/cpufreq/cpufreq-dt.c | 4 +-
6949 drivers/cpufreq/cpufreq.c | 30 +-
6950 drivers/cpufreq/cpufreq_governor.c | 2 +-
6951 drivers/cpufreq/cpufreq_governor.h | 4 +-
6952 drivers/cpufreq/cpufreq_ondemand.c | 10 +-
6953 drivers/cpufreq/intel_pstate.c | 38 +-
6954 drivers/cpufreq/p4-clockmod.c | 12 +-
6955 drivers/cpufreq/sparc-us3-cpufreq.c | 67 +-
6956 drivers/cpufreq/speedstep-centrino.c | 7 +-
6957 drivers/cpuidle/driver.c | 2 +-
6958 drivers/cpuidle/dt_idle_states.c | 2 +-
6959 drivers/cpuidle/governor.c | 2 +-
6960 drivers/cpuidle/sysfs.c | 2 +-
6961 drivers/crypto/hifn_795x.c | 4 +-
6962 drivers/devfreq/devfreq.c | 4 +-
6963 drivers/dma/sh/shdma-base.c | 4 +-
6964 drivers/dma/sh/shdmac.c | 2 +-
6965 drivers/edac/edac_device.c | 4 +-
6966 drivers/edac/edac_mc_sysfs.c | 2 +-
6967 drivers/edac/edac_pci.c | 4 +-
6968 drivers/edac/edac_pci_sysfs.c | 22 +-
6969 drivers/edac/mce_amd.h | 2 +-
6970 drivers/firewire/core-card.c | 6 +-
6971 drivers/firewire/core-device.c | 2 +-
6972 drivers/firewire/core-transaction.c | 1 +
6973 drivers/firewire/core.h | 1 +
6974 drivers/firmware/dmi-id.c | 2 +-
6975 drivers/firmware/dmi_scan.c | 12 +-
6976 drivers/firmware/efi/cper.c | 8 +-
6977 drivers/firmware/efi/efi.c | 12 +-
6978 drivers/firmware/efi/efivars.c | 2 +-
6979 drivers/firmware/efi/runtime-map.c | 2 +-
6980 drivers/firmware/google/gsmi.c | 2 +-
6981 drivers/firmware/google/memconsole.c | 7 +-
6982 drivers/firmware/memmap.c | 2 +-
6983 drivers/firmware/psci.c | 2 +-
6984 drivers/gpio/gpio-davinci.c | 6 +-
6985 drivers/gpio/gpio-em.c | 2 +-
6986 drivers/gpio/gpio-ich.c | 2 +-
6987 drivers/gpio/gpio-omap.c | 4 +-
6988 drivers/gpio/gpio-rcar.c | 2 +-
6989 drivers/gpio/gpio-vr41xx.c | 2 +-
6990 drivers/gpio/gpiolib.c | 12 +-
6991 drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +-
6992 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-
6993 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 18 +-
6994 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +-
6995 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 2 +-
6996 drivers/gpu/drm/amd/amdkfd/kfd_device.c | 6 +-
6997 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 90 +-
6998 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 8 +-
6999 .../drm/amd/amdkfd/kfd_device_queue_manager_cik.c | 14 +-
7000 .../drm/amd/amdkfd/kfd_device_queue_manager_vi.c | 14 +-
7001 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c | 4 +-
7002 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 2 +-
7003 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.h | 2 +-
7004 .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 16 +-
7005 drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 2 +-
7006 drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | 2 +-
7007 drivers/gpu/drm/amd/scheduler/sched_fence.c | 2 +-
7008 drivers/gpu/drm/armada/armada_drv.c | 3 +-
7009 drivers/gpu/drm/drm_crtc.c | 2 +-
7010 drivers/gpu/drm/drm_drv.c | 2 +-
7011 drivers/gpu/drm/drm_fops.c | 12 +-
7012 drivers/gpu/drm/drm_global.c | 14 +-
7013 drivers/gpu/drm/drm_info.c | 13 +-
7014 drivers/gpu/drm/drm_ioc32.c | 13 +-
7015 drivers/gpu/drm/drm_ioctl.c | 2 +-
7016 drivers/gpu/drm/drm_pci.c | 9 +-
7017 drivers/gpu/drm/exynos/exynos_drm_drv.c | 1 -
7018 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 10 +-
7019 drivers/gpu/drm/gma500/psb_drv.c | 1 -
7020 drivers/gpu/drm/i810/i810_dma.c | 2 +-
7021 drivers/gpu/drm/i810/i810_drv.c | 6 +-
7022 drivers/gpu/drm/i810/i810_drv.h | 6 +-
7023 drivers/gpu/drm/i915/i915_dma.c | 4 +-
7024 drivers/gpu/drm/i915/i915_drv.c | 7 +-
7025 drivers/gpu/drm/i915/i915_drv.h | 2 +-
7026 drivers/gpu/drm/i915/i915_gem_execbuffer.c | 4 +-
7027 drivers/gpu/drm/i915/i915_gem_gtt.c | 16 +-
7028 drivers/gpu/drm/i915/i915_gem_gtt.h | 6 +-
7029 drivers/gpu/drm/i915/i915_ioc32.c | 10 +-
7030 drivers/gpu/drm/i915/i915_irq.c | 88 +-
7031 drivers/gpu/drm/i915/intel_display.c | 26 +-
7032 drivers/gpu/drm/imx/imx-drm-core.c | 2 +-
7033 drivers/gpu/drm/mga/mga_drv.c | 5 +-
7034 drivers/gpu/drm/mga/mga_drv.h | 6 +-
7035 drivers/gpu/drm/mga/mga_ioc32.c | 10 +-
7036 drivers/gpu/drm/mga/mga_irq.c | 8 +-
7037 drivers/gpu/drm/mga/mga_state.c | 2 +-
7038 drivers/gpu/drm/nouveau/nouveau_bios.c | 2 +-
7039 drivers/gpu/drm/nouveau/nouveau_drm.c | 13 +-
7040 drivers/gpu/drm/nouveau/nouveau_drm.h | 1 -
7041 drivers/gpu/drm/nouveau/nouveau_ioc32.c | 2 +-
7042 drivers/gpu/drm/nouveau/nouveau_vga.c | 2 +-
7043 drivers/gpu/drm/omapdrm/Makefile | 2 +-
7044 drivers/gpu/drm/qxl/qxl_cmd.c | 12 +-
7045 drivers/gpu/drm/qxl/qxl_debugfs.c | 8 +-
7046 drivers/gpu/drm/qxl/qxl_drv.c | 8 +-
7047 drivers/gpu/drm/qxl/qxl_drv.h | 8 +-
7048 drivers/gpu/drm/qxl/qxl_ioctl.c | 12 +-
7049 drivers/gpu/drm/qxl/qxl_irq.c | 16 +-
7050 drivers/gpu/drm/qxl/qxl_ttm.c | 38 +-
7051 drivers/gpu/drm/r128/r128_cce.c | 2 +-
7052 drivers/gpu/drm/r128/r128_drv.c | 4 +-
7053 drivers/gpu/drm/r128/r128_drv.h | 6 +-
7054 drivers/gpu/drm/r128/r128_ioc32.c | 10 +-
7055 drivers/gpu/drm/r128/r128_irq.c | 4 +-
7056 drivers/gpu/drm/r128/r128_state.c | 6 +-
7057 drivers/gpu/drm/radeon/mkregtable.c | 4 +-
7058 drivers/gpu/drm/radeon/radeon_device.c | 2 +-
7059 drivers/gpu/drm/radeon/radeon_drv.c | 17 +-
7060 drivers/gpu/drm/radeon/radeon_drv.h | 4 +-
7061 drivers/gpu/drm/radeon/radeon_ioc32.c | 12 +-
7062 drivers/gpu/drm/radeon/radeon_irq.c | 6 +-
7063 drivers/gpu/drm/radeon/radeon_kms.c | 2 +-
7064 drivers/gpu/drm/radeon/radeon_state.c | 6 +-
7065 drivers/gpu/drm/radeon/radeon_ttm.c | 4 +-
7066 drivers/gpu/drm/savage/savage_bci.c | 2 +-
7067 drivers/gpu/drm/savage/savage_drv.c | 5 +-
7068 drivers/gpu/drm/savage/savage_drv.h | 2 +-
7069 drivers/gpu/drm/sis/sis_drv.c | 5 +-
7070 drivers/gpu/drm/sis/sis_drv.h | 2 +-
7071 drivers/gpu/drm/sis/sis_mm.c | 2 +-
7072 drivers/gpu/drm/tegra/dc.c | 2 +-
7073 drivers/gpu/drm/tegra/dsi.c | 2 +-
7074 drivers/gpu/drm/tegra/hdmi.c | 2 +-
7075 drivers/gpu/drm/tegra/sor.c | 7 +-
7076 drivers/gpu/drm/tilcdc/Makefile | 6 +-
7077 drivers/gpu/drm/ttm/ttm_memory.c | 4 +-
7078 drivers/gpu/drm/ttm/ttm_page_alloc.c | 18 +-
7079 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 18 +-
7080 drivers/gpu/drm/udl/udl_fb.c | 1 -
7081 drivers/gpu/drm/via/via_dma.c | 2 +-
7082 drivers/gpu/drm/via/via_drv.c | 5 +-
7083 drivers/gpu/drm/via/via_drv.h | 6 +-
7084 drivers/gpu/drm/via/via_irq.c | 18 +-
7085 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 2 +-
7086 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c | 8 +-
7087 drivers/gpu/drm/vmwgfx/vmwgfx_irq.c | 4 +-
7088 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c | 2 +-
7089 drivers/gpu/vga/vga_switcheroo.c | 4 +-
7090 drivers/hid/hid-core.c | 4 +-
7091 drivers/hid/hid-sensor-custom.c | 2 +-
7092 drivers/hv/channel.c | 6 +-
7093 drivers/hv/hv.c | 4 +-
7094 drivers/hv/hv_balloon.c | 18 +-
7095 drivers/hv/hyperv_vmbus.h | 2 +-
7096 drivers/hwmon/acpi_power_meter.c | 6 +-
7097 drivers/hwmon/applesmc.c | 2 +-
7098 drivers/hwmon/asus_atk0110.c | 10 +-
7099 drivers/hwmon/coretemp.c | 2 +-
7100 drivers/hwmon/dell-smm-hwmon.c | 2 +-
7101 drivers/hwmon/ibmaem.c | 2 +-
7102 drivers/hwmon/iio_hwmon.c | 2 +-
7103 drivers/hwmon/nct6683.c | 6 +-
7104 drivers/hwmon/nct6775.c | 6 +-
7105 drivers/hwmon/pmbus/pmbus_core.c | 10 +-
7106 drivers/hwmon/sht15.c | 12 +-
7107 drivers/hwmon/via-cputemp.c | 2 +-
7108 drivers/i2c/busses/i2c-amd756-s4882.c | 2 +-
7109 drivers/i2c/busses/i2c-designware-pcidrv.c | 2 +-
7110 drivers/i2c/busses/i2c-nforce2-s4985.c | 2 +-
7111 drivers/i2c/i2c-dev.c | 2 +-
7112 drivers/ide/ide-cd.c | 2 +-
7113 drivers/ide/ide-disk.c | 2 +-
7114 drivers/iio/industrialio-core.c | 2 +-
7115 drivers/iio/magnetometer/ak8975.c | 2 +-
7116 drivers/infiniband/core/cm.c | 32 +-
7117 drivers/infiniband/core/fmr_pool.c | 20 +-
7118 drivers/infiniband/core/netlink.c | 5 +-
7119 drivers/infiniband/core/uverbs_cmd.c | 3 +
7120 drivers/infiniband/hw/cxgb4/device.c | 6 +-
7121 drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 2 +-
7122 drivers/infiniband/hw/cxgb4/mem.c | 4 +-
7123 drivers/infiniband/hw/mlx4/mad.c | 2 +-
7124 drivers/infiniband/hw/mlx4/mcg.c | 2 +-
7125 drivers/infiniband/hw/mlx4/mlx4_ib.h | 2 +-
7126 drivers/infiniband/hw/mthca/mthca_cmd.c | 8 +-
7127 drivers/infiniband/hw/mthca/mthca_main.c | 2 +-
7128 drivers/infiniband/hw/mthca/mthca_mr.c | 6 +-
7129 drivers/infiniband/hw/mthca/mthca_provider.c | 2 +-
7130 drivers/infiniband/hw/nes/nes.c | 4 +-
7131 drivers/infiniband/hw/nes/nes.h | 40 +-
7132 drivers/infiniband/hw/nes/nes_cm.c | 62 +-
7133 drivers/infiniband/hw/nes/nes_mgt.c | 8 +-
7134 drivers/infiniband/hw/nes/nes_nic.c | 40 +-
7135 drivers/infiniband/hw/nes/nes_verbs.c | 10 +-
7136 drivers/infiniband/hw/qib/qib.h | 1 +
7137 drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 2 +-
7138 drivers/input/evdev.c | 2 +-
7139 drivers/input/gameport/gameport.c | 4 +-
7140 drivers/input/input.c | 4 +-
7141 drivers/input/joystick/sidewinder.c | 1 +
7142 drivers/input/misc/ims-pcu.c | 4 +-
7143 drivers/input/mouse/psmouse.h | 2 +-
7144 drivers/input/mousedev.c | 2 +-
7145 drivers/input/serio/serio.c | 4 +-
7146 drivers/input/serio/serio_raw.c | 4 +-
7147 drivers/input/touchscreen/htcpen.c | 2 +-
7148 drivers/iommu/arm-smmu-v3.c | 2 +-
7149 drivers/iommu/arm-smmu.c | 43 +-
7150 drivers/iommu/io-pgtable-arm.c | 101 +-
7151 drivers/iommu/io-pgtable.c | 11 +-
7152 drivers/iommu/io-pgtable.h | 19 +-
7153 drivers/iommu/iommu.c | 2 +-
7154 drivers/iommu/ipmmu-vmsa.c | 13 +-
7155 drivers/iommu/irq_remapping.c | 2 +-
7156 drivers/irqchip/irq-gic.c | 2 +-
7157 drivers/irqchip/irq-i8259.c | 2 +-
7158 drivers/irqchip/irq-renesas-intc-irqpin.c | 2 +-
7159 drivers/isdn/capi/capi.c | 10 +-
7160 drivers/isdn/gigaset/interface.c | 8 +-
7161 drivers/isdn/gigaset/usb-gigaset.c | 2 +-
7162 drivers/isdn/hardware/avm/b1.c | 4 +-
7163 drivers/isdn/i4l/isdn_common.c | 2 +
7164 drivers/isdn/i4l/isdn_tty.c | 22 +-
7165 drivers/isdn/icn/icn.c | 2 +-
7166 drivers/isdn/mISDN/dsp_cmx.c | 2 +-
7167 drivers/lguest/core.c | 10 +-
7168 drivers/lguest/page_tables.c | 2 +-
7169 drivers/lguest/x86/core.c | 12 +-
7170 drivers/lguest/x86/switcher_32.S | 27 +-
7171 drivers/md/bcache/alloc.c | 2 +-
7172 drivers/md/bcache/bcache.h | 10 +-
7173 drivers/md/bcache/btree.c | 2 +-
7174 drivers/md/bcache/closure.h | 2 +-
7175 drivers/md/bcache/io.c | 10 +-
7176 drivers/md/bcache/journal.c | 2 +-
7177 drivers/md/bcache/stats.c | 26 +-
7178 drivers/md/bcache/stats.h | 16 +-
7179 drivers/md/bcache/super.c | 2 +-
7180 drivers/md/bcache/sysfs.c | 20 +-
7181 drivers/md/bitmap.c | 2 +-
7182 drivers/md/dm-cache-target.c | 98 +-
7183 drivers/md/dm-ioctl.c | 2 +-
7184 drivers/md/dm-raid.c | 2 +-
7185 drivers/md/dm-raid1.c | 18 +-
7186 drivers/md/dm-stats.c | 6 +-
7187 drivers/md/dm-stripe.c | 10 +-
7188 drivers/md/dm-table.c | 2 +-
7189 drivers/md/dm-thin-metadata.c | 4 +-
7190 drivers/md/dm.c | 28 +-
7191 drivers/md/md.c | 37 +-
7192 drivers/md/md.h | 8 +-
7193 drivers/md/persistent-data/dm-space-map-metadata.c | 4 +-
7194 drivers/md/persistent-data/dm-space-map.h | 1 +
7195 drivers/md/raid1.c | 8 +-
7196 drivers/md/raid10.c | 20 +-
7197 drivers/md/raid5.c | 26 +-
7198 drivers/media/dvb-core/dvbdev.c | 2 +-
7199 drivers/media/dvb-frontends/af9033.h | 2 +-
7200 drivers/media/dvb-frontends/dib3000.h | 2 +-
7201 drivers/media/dvb-frontends/dib7000p.h | 2 +-
7202 drivers/media/dvb-frontends/dib8000.h | 2 +-
7203 drivers/media/pci/cx88/cx88-video.c | 6 +-
7204 drivers/media/pci/ivtv/ivtv-driver.c | 2 +-
7205 drivers/media/pci/solo6x10/solo6x10-core.c | 2 +-
7206 drivers/media/pci/solo6x10/solo6x10-p2m.c | 2 +-
7207 drivers/media/pci/solo6x10/solo6x10.h | 2 +-
7208 drivers/media/pci/tw68/tw68-core.c | 2 +-
7209 drivers/media/pci/zoran/zoran.h | 1 -
7210 drivers/media/pci/zoran/zoran_driver.c | 3 -
7211 drivers/media/platform/omap/omap_vout.c | 11 +-
7212 drivers/media/platform/s5p-tv/mixer.h | 2 +-
7213 drivers/media/platform/s5p-tv/mixer_grp_layer.c | 2 +-
7214 drivers/media/platform/s5p-tv/mixer_reg.c | 2 +-
7215 drivers/media/platform/s5p-tv/mixer_video.c | 24 +-
7216 drivers/media/platform/s5p-tv/mixer_vp_layer.c | 2 +-
7217 drivers/media/radio/radio-cadet.c | 2 +
7218 drivers/media/radio/radio-maxiradio.c | 2 +-
7219 drivers/media/radio/radio-shark.c | 2 +-
7220 drivers/media/radio/radio-shark2.c | 2 +-
7221 drivers/media/radio/radio-si476x.c | 2 +-
7222 drivers/media/radio/wl128x/fmdrv_common.c | 2 +-
7223 drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 12 +-
7224 drivers/media/v4l2-core/v4l2-device.c | 4 +-
7225 drivers/media/v4l2-core/v4l2-ioctl.c | 13 +-
7226 drivers/memory/omap-gpmc.c | 21 +-
7227 drivers/message/fusion/mptsas.c | 34 +-
7228 drivers/mfd/ab8500-debugfs.c | 2 +-
7229 drivers/mfd/kempld-core.c | 2 +-
7230 drivers/mfd/max8925-i2c.c | 2 +-
7231 drivers/mfd/tps65910.c | 2 +-
7232 drivers/mfd/twl4030-irq.c | 9 +-
7233 drivers/misc/c2port/core.c | 4 +-
7234 drivers/misc/kgdbts.c | 4 +-
7235 drivers/misc/lis3lv02d/lis3lv02d.c | 8 +-
7236 drivers/misc/lis3lv02d/lis3lv02d.h | 2 +-
7237 drivers/misc/mic/scif/scif_api.c | 10 +-
7238 drivers/misc/mic/scif/scif_rb.c | 8 +-
7239 drivers/misc/sgi-gru/gruhandles.c | 4 +-
7240 drivers/misc/sgi-gru/gruprocfs.c | 8 +-
7241 drivers/misc/sgi-gru/grutables.h | 158 +-
7242 drivers/misc/sgi-xp/xp.h | 2 +-
7243 drivers/misc/sgi-xp/xpc.h | 3 +-
7244 drivers/misc/sgi-xp/xpc_main.c | 2 +-
7245 drivers/mmc/host/dw_mmc.h | 2 +-
7246 drivers/mmc/host/mmci.c | 4 +-
7247 drivers/mmc/host/omap_hsmmc.c | 4 +-
7248 drivers/mmc/host/sdhci-esdhc-imx.c | 7 +-
7249 drivers/mmc/host/sdhci-s3c.c | 8 +-
7250 drivers/mtd/chips/cfi_cmdset_0020.c | 2 +-
7251 drivers/mtd/nand/denali.c | 1 +
7252 drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 2 +-
7253 drivers/mtd/nftlmount.c | 1 +
7254 drivers/mtd/sm_ftl.c | 2 +-
7255 drivers/net/bonding/bond_netlink.c | 2 +-
7256 drivers/net/caif/caif_hsi.c | 2 +-
7257 drivers/net/can/Kconfig | 2 +-
7258 drivers/net/can/dev.c | 2 +-
7259 drivers/net/can/vcan.c | 2 +-
7260 drivers/net/dummy.c | 2 +-
7261 drivers/net/ethernet/8390/ax88796.c | 4 +-
7262 drivers/net/ethernet/altera/altera_tse_main.c | 4 +-
7263 drivers/net/ethernet/amd/xgbe/xgbe-common.h | 4 +-
7264 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c | 4 +-
7265 drivers/net/ethernet/amd/xgbe/xgbe-desc.c | 27 +-
7266 drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 143 +-
7267 drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 64 +-
7268 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 10 +-
7269 drivers/net/ethernet/amd/xgbe/xgbe-main.c | 15 +-
7270 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 27 +-
7271 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c | 4 +-
7272 drivers/net/ethernet/amd/xgbe/xgbe.h | 10 +-
7273 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 2 +-
7274 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | 11 +-
7275 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h | 3 +-
7276 drivers/net/ethernet/broadcom/tg3.h | 1 +
7277 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c | 6 +-
7278 drivers/net/ethernet/cavium/liquidio/lio_main.c | 11 +-
7279 drivers/net/ethernet/chelsio/cxgb3/l2t.h | 2 +-
7280 drivers/net/ethernet/dec/tulip/de4x5.c | 4 +-
7281 drivers/net/ethernet/emulex/benet/be_main.c | 2 +-
7282 drivers/net/ethernet/faraday/ftgmac100.c | 2 +
7283 drivers/net/ethernet/faraday/ftmac100.c | 2 +
7284 drivers/net/ethernet/intel/i40e/i40e_ptp.c | 2 +-
7285 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 2 +-
7286 drivers/net/ethernet/mellanox/mlx4/en_tx.c | 4 +-
7287 drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 7 +-
7288 drivers/net/ethernet/neterion/vxge/vxge-config.c | 7 +-
7289 drivers/net/ethernet/nvidia/forcedeth.c | 4 +-
7290 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 4 +-
7291 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c | 12 +-
7292 .../net/ethernet/qlogic/qlcnic/qlcnic_minidump.c | 2 +-
7293 drivers/net/ethernet/realtek/r8169.c | 8 +-
7294 drivers/net/ethernet/sfc/ptp.c | 2 +-
7295 drivers/net/ethernet/sfc/selftest.c | 20 +-
7296 drivers/net/ethernet/stmicro/stmmac/mmc_core.c | 4 +-
7297 drivers/net/ethernet/via/via-rhine.c | 2 +-
7298 drivers/net/geneve.c | 2 +-
7299 drivers/net/hyperv/hyperv_net.h | 2 +-
7300 drivers/net/hyperv/rndis_filter.c | 7 +-
7301 drivers/net/ifb.c | 2 +-
7302 drivers/net/ipvlan/ipvlan_core.c | 2 +-
7303 drivers/net/irda/vlsi_ir.c | 18 +-
7304 drivers/net/irda/vlsi_ir.h | 14 +-
7305 drivers/net/macvlan.c | 20 +-
7306 drivers/net/macvtap.c | 10 +-
7307 drivers/net/nlmon.c | 2 +-
7308 drivers/net/phy/phy_device.c | 6 +-
7309 drivers/net/ppp/ppp_generic.c | 4 +-
7310 drivers/net/slip/slhc.c | 2 +-
7311 drivers/net/team/team.c | 4 +-
7312 drivers/net/tun.c | 7 +-
7313 drivers/net/usb/hso.c | 23 +-
7314 drivers/net/usb/r8152.c | 2 +-
7315 drivers/net/usb/sierra_net.c | 4 +-
7316 drivers/net/virtio_net.c | 2 +-
7317 drivers/net/vrf.c | 2 +-
7318 drivers/net/vxlan.c | 4 +-
7319 drivers/net/wimax/i2400m/rx.c | 2 +-
7320 drivers/net/wireless/airo.c | 2 +-
7321 drivers/net/wireless/at76c50x-usb.c | 2 +-
7322 drivers/net/wireless/ath/ath10k/ce.c | 6 +-
7323 drivers/net/wireless/ath/ath10k/htc.h | 4 +-
7324 drivers/net/wireless/ath/ath9k/ar9002_mac.c | 36 +-
7325 drivers/net/wireless/ath/ath9k/ar9003_mac.c | 64 +-
7326 drivers/net/wireless/ath/ath9k/hw.h | 4 +-
7327 drivers/net/wireless/ath/ath9k/main.c | 22 +-
7328 drivers/net/wireless/ath/carl9170/carl9170.h | 6 +-
7329 drivers/net/wireless/ath/carl9170/debug.c | 6 +-
7330 drivers/net/wireless/ath/carl9170/main.c | 10 +-
7331 drivers/net/wireless/ath/carl9170/tx.c | 4 +-
7332 drivers/net/wireless/ath/wil6210/wil_platform.h | 2 +-
7333 drivers/net/wireless/b43/phy_lp.c | 2 +-
7334 drivers/net/wireless/iwlegacy/3945-mac.c | 4 +-
7335 drivers/net/wireless/iwlwifi/dvm/debugfs.c | 34 +-
7336 drivers/net/wireless/iwlwifi/mvm/d3.c | 4 +-
7337 drivers/net/wireless/iwlwifi/mvm/tx.c | 2 +-
7338 drivers/net/wireless/iwlwifi/pcie/trans.c | 4 +-
7339 drivers/net/wireless/mac80211_hwsim.c | 28 +-
7340 drivers/net/wireless/rt2x00/rt2x00.h | 2 +-
7341 drivers/net/wireless/rt2x00/rt2x00queue.c | 4 +-
7342 drivers/net/wireless/ti/wl1251/sdio.c | 12 +-
7343 drivers/net/wireless/ti/wl12xx/main.c | 8 +-
7344 drivers/net/wireless/ti/wl18xx/main.c | 6 +-
7345 drivers/of/fdt.c | 4 +-
7346 drivers/oprofile/buffer_sync.c | 8 +-
7347 drivers/oprofile/event_buffer.c | 2 +-
7348 drivers/oprofile/oprof.c | 2 +-
7349 drivers/oprofile/oprofile_stats.c | 10 +-
7350 drivers/oprofile/oprofile_stats.h | 10 +-
7351 drivers/oprofile/oprofilefs.c | 6 +-
7352 drivers/oprofile/timer_int.c | 2 +-
7353 drivers/parport/procfs.c | 4 +-
7354 drivers/pci/host/pci-host-generic.c | 2 +-
7355 drivers/pci/hotplug/acpiphp_ibm.c | 4 +-
7356 drivers/pci/hotplug/cpcihp_generic.c | 6 +-
7357 drivers/pci/hotplug/cpcihp_zt5550.c | 14 +-
7358 drivers/pci/hotplug/cpqphp_nvram.c | 2 +
7359 drivers/pci/hotplug/pci_hotplug_core.c | 6 +-
7360 drivers/pci/hotplug/pciehp_core.c | 2 +-
7361 drivers/pci/msi.c | 22 +-
7362 drivers/pci/pci-sysfs.c | 6 +-
7363 drivers/pci/pci.h | 2 +-
7364 drivers/pci/pcie/aspm.c | 6 +-
7365 drivers/pci/pcie/portdrv_pci.c | 2 +-
7366 drivers/pci/probe.c | 2 +-
7367 drivers/pinctrl/nomadik/pinctrl-nomadik.c | 2 +-
7368 drivers/pinctrl/pinctrl-at91.c | 5 +-
7369 drivers/platform/chrome/chromeos_pstore.c | 2 +-
7370 drivers/platform/x86/alienware-wmi.c | 4 +-
7371 drivers/platform/x86/compal-laptop.c | 2 +-
7372 drivers/platform/x86/hdaps.c | 2 +-
7373 drivers/platform/x86/ibm_rtl.c | 2 +-
7374 drivers/platform/x86/intel_oaktrail.c | 2 +-
7375 drivers/platform/x86/msi-laptop.c | 16 +-
7376 drivers/platform/x86/msi-wmi.c | 2 +-
7377 drivers/platform/x86/samsung-laptop.c | 2 +-
7378 drivers/platform/x86/samsung-q10.c | 2 +-
7379 drivers/platform/x86/sony-laptop.c | 14 +-
7380 drivers/platform/x86/thinkpad_acpi.c | 2 +-
7381 drivers/pnp/pnpbios/bioscalls.c | 14 +-
7382 drivers/pnp/pnpbios/core.c | 2 +-
7383 drivers/power/pda_power.c | 7 +-
7384 drivers/power/power_supply.h | 4 +-
7385 drivers/power/power_supply_core.c | 7 +-
7386 drivers/power/power_supply_sysfs.c | 6 +-
7387 drivers/power/reset/at91-reset.c | 5 +-
7388 drivers/powercap/powercap_sys.c | 136 +-
7389 drivers/ptp/ptp_private.h | 2 +-
7390 drivers/ptp/ptp_sysfs.c | 2 +-
7391 drivers/regulator/core.c | 4 +-
7392 drivers/regulator/max8660.c | 6 +-
7393 drivers/regulator/max8973-regulator.c | 16 +-
7394 drivers/regulator/mc13892-regulator.c | 8 +-
7395 drivers/rtc/rtc-armada38x.c | 7 +-
7396 drivers/rtc/rtc-cmos.c | 4 +-
7397 drivers/rtc/rtc-ds1307.c | 2 +-
7398 drivers/rtc/rtc-m48t59.c | 4 +-
7399 drivers/rtc/rtc-rv8803.c | 15 +-
7400 drivers/rtc/rtc-test.c | 6 +-
7401 drivers/scsi/bfa/bfa_fcpim.h | 2 +-
7402 drivers/scsi/bfa/bfa_ioc.h | 4 +-
7403 drivers/scsi/fcoe/fcoe_sysfs.c | 12 +-
7404 drivers/scsi/hosts.c | 4 +-
7405 drivers/scsi/hpsa.c | 38 +-
7406 drivers/scsi/hpsa.h | 2 +-
7407 drivers/scsi/hptiop.c | 2 -
7408 drivers/scsi/hptiop.h | 1 -
7409 drivers/scsi/ipr.c | 6 +-
7410 drivers/scsi/ipr.h | 2 +-
7411 drivers/scsi/libfc/fc_exch.c | 50 +-
7412 drivers/scsi/libsas/sas_ata.c | 2 +-
7413 drivers/scsi/lpfc/lpfc.h | 8 +-
7414 drivers/scsi/lpfc/lpfc_debugfs.c | 18 +-
7415 drivers/scsi/lpfc/lpfc_init.c | 6 +-
7416 drivers/scsi/lpfc/lpfc_scsi.c | 10 +-
7417 drivers/scsi/megaraid/megaraid_sas.h | 2 +-
7418 drivers/scsi/pmcraid.c | 20 +-
7419 drivers/scsi/pmcraid.h | 8 +-
7420 drivers/scsi/qla2xxx/qla_attr.c | 4 +-
7421 drivers/scsi/qla2xxx/qla_gbl.h | 4 +-
7422 drivers/scsi/qla2xxx/qla_os.c | 6 +-
7423 drivers/scsi/qla2xxx/qla_target.c | 10 +-
7424 drivers/scsi/qla2xxx/qla_target.h | 2 +-
7425 drivers/scsi/qla4xxx/ql4_def.h | 2 +-
7426 drivers/scsi/qla4xxx/ql4_os.c | 6 +-
7427 drivers/scsi/scsi.c | 2 +-
7428 drivers/scsi/scsi_lib.c | 8 +-
7429 drivers/scsi/scsi_sysfs.c | 2 +-
7430 drivers/scsi/scsi_transport_fc.c | 8 +-
7431 drivers/scsi/scsi_transport_iscsi.c | 6 +-
7432 drivers/scsi/scsi_transport_srp.c | 6 +-
7433 drivers/scsi/sd.c | 6 +-
7434 drivers/scsi/sg.c | 2 +-
7435 drivers/scsi/sr.c | 21 +-
7436 drivers/soc/tegra/fuse/fuse-tegra.c | 2 +-
7437 drivers/spi/spi.c | 2 +-
7438 drivers/staging/android/timed_output.c | 6 +-
7439 drivers/staging/comedi/comedi_fops.c | 8 +-
7440 drivers/staging/fbtft/fbtft-core.c | 2 +-
7441 drivers/staging/fbtft/fbtft.h | 2 +-
7442 drivers/staging/gdm724x/gdm_tty.c | 2 +-
7443 drivers/staging/iio/accel/lis3l02dq_ring.c | 2 +-
7444 drivers/staging/iio/adc/ad7280a.c | 4 +-
7445 drivers/staging/lustre/lnet/selftest/brw_test.c | 12 +-
7446 drivers/staging/lustre/lnet/selftest/framework.c | 4 -
7447 drivers/staging/lustre/lnet/selftest/ping_test.c | 14 +-
7448 drivers/staging/lustre/lustre/include/lustre_dlm.h | 2 +-
7449 drivers/staging/lustre/lustre/include/obd.h | 2 +-
7450 drivers/staging/octeon/ethernet-rx.c | 20 +-
7451 drivers/staging/octeon/ethernet.c | 8 +-
7452 drivers/staging/rdma/ipath/ipath_rc.c | 6 +-
7453 drivers/staging/rdma/ipath/ipath_ruc.c | 6 +-
7454 drivers/staging/rtl8188eu/include/hal_intf.h | 2 +-
7455 drivers/staging/rtl8712/rtl871x_io.h | 2 +-
7456 drivers/staging/sm750fb/sm750.c | 14 +-
7457 drivers/staging/unisys/visorbus/visorbus_private.h | 4 +-
7458 drivers/target/sbp/sbp_target.c | 4 +-
7459 drivers/thermal/cpu_cooling.c | 9 +-
7460 drivers/thermal/devfreq_cooling.c | 19 +-
7461 drivers/thermal/int340x_thermal/int3400_thermal.c | 6 +-
7462 drivers/thermal/of-thermal.c | 17 +-
7463 drivers/thermal/x86_pkg_temp_thermal.c | 2 +-
7464 drivers/tty/cyclades.c | 6 +-
7465 drivers/tty/hvc/hvc_console.c | 14 +-
7466 drivers/tty/hvc/hvcs.c | 21 +-
7467 drivers/tty/hvc/hvsi.c | 22 +-
7468 drivers/tty/hvc/hvsi_lib.c | 4 +-
7469 drivers/tty/ipwireless/tty.c | 27 +-
7470 drivers/tty/moxa.c | 2 +-
7471 drivers/tty/n_gsm.c | 4 +-
7472 drivers/tty/n_tty.c | 19 +-
7473 drivers/tty/pty.c | 4 +-
7474 drivers/tty/rocket.c | 6 +-
7475 drivers/tty/serial/8250/8250_core.c | 10 +-
7476 drivers/tty/serial/ifx6x60.c | 2 +-
7477 drivers/tty/serial/ioc4_serial.c | 6 +-
7478 drivers/tty/serial/kgdb_nmi.c | 4 +-
7479 drivers/tty/serial/kgdboc.c | 32 +-
7480 drivers/tty/serial/msm_serial.c | 4 +-
7481 drivers/tty/serial/samsung.c | 9 +-
7482 drivers/tty/serial/serial_core.c | 8 +-
7483 drivers/tty/synclink.c | 34 +-
7484 drivers/tty/synclink_gt.c | 28 +-
7485 drivers/tty/synclinkmp.c | 34 +-
7486 drivers/tty/tty_io.c | 2 +-
7487 drivers/tty/tty_ldisc.c | 8 +-
7488 drivers/tty/tty_port.c | 22 +-
7489 drivers/uio/uio.c | 13 +-
7490 drivers/usb/atm/cxacru.c | 2 +-
7491 drivers/usb/atm/usbatm.c | 24 +-
7492 drivers/usb/class/cdc-acm.h | 2 +-
7493 drivers/usb/core/devices.c | 6 +-
7494 drivers/usb/core/devio.c | 12 +-
7495 drivers/usb/core/hcd.c | 4 +-
7496 drivers/usb/core/sysfs.c | 2 +-
7497 drivers/usb/core/usb.c | 2 +-
7498 drivers/usb/early/ehci-dbgp.c | 16 +-
7499 drivers/usb/gadget/function/u_serial.c | 22 +-
7500 drivers/usb/gadget/udc/dummy_hcd.c | 2 +-
7501 drivers/usb/host/ehci-hcd.c | 2 +-
7502 drivers/usb/host/ehci-hub.c | 4 +-
7503 drivers/usb/host/ehci-q.c | 4 +-
7504 drivers/usb/host/fotg210-hcd.c | 2 +-
7505 drivers/usb/host/hwa-hc.c | 2 +-
7506 drivers/usb/host/ohci-hcd.c | 2 +-
7507 drivers/usb/host/r8a66597.h | 2 +-
7508 drivers/usb/host/uhci-hcd.c | 2 +-
7509 drivers/usb/host/xhci-pci.c | 2 +-
7510 drivers/usb/host/xhci.c | 2 +-
7511 drivers/usb/misc/appledisplay.c | 4 +-
7512 drivers/usb/serial/console.c | 8 +-
7513 drivers/usb/storage/transport.c | 2 +-
7514 drivers/usb/storage/usb.c | 2 +-
7515 drivers/usb/storage/usb.h | 2 +-
7516 drivers/usb/usbip/vhci.h | 2 +-
7517 drivers/usb/usbip/vhci_hcd.c | 6 +-
7518 drivers/usb/usbip/vhci_rx.c | 2 +-
7519 drivers/usb/wusbcore/wa-hc.h | 4 +-
7520 drivers/usb/wusbcore/wa-xfer.c | 2 +-
7521 drivers/vhost/vringh.c | 20 +-
7522 drivers/video/backlight/kb3886_bl.c | 2 +-
7523 drivers/video/console/fbcon.c | 2 +-
7524 drivers/video/fbdev/aty/aty128fb.c | 2 +-
7525 drivers/video/fbdev/aty/atyfb_base.c | 8 +-
7526 drivers/video/fbdev/aty/mach64_cursor.c | 5 +-
7527 drivers/video/fbdev/core/fb_defio.c | 6 +-
7528 drivers/video/fbdev/core/fbmem.c | 12 +-
7529 drivers/video/fbdev/hyperv_fb.c | 4 +-
7530 drivers/video/fbdev/i810/i810_accel.c | 1 +
7531 drivers/video/fbdev/matrox/matroxfb_base.c | 2 +-
7532 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c | 16 +-
7533 drivers/video/fbdev/nvidia/nvidia.c | 27 +-
7534 drivers/video/fbdev/omap2/dss/display.c | 8 +-
7535 drivers/video/fbdev/s1d13xxxfb.c | 6 +-
7536 drivers/video/fbdev/smscufx.c | 4 +-
7537 drivers/video/fbdev/udlfb.c | 36 +-
7538 drivers/video/fbdev/uvesafb.c | 52 +-
7539 drivers/video/fbdev/vesafb.c | 58 +-
7540 drivers/video/fbdev/via/via_clock.h | 2 +-
7541 drivers/xen/events/events_base.c | 6 +-
7542 fs/Kconfig.binfmt | 2 +-
7543 fs/afs/inode.c | 4 +-
7544 fs/aio.c | 2 +-
7545 fs/autofs4/waitq.c | 2 +-
7546 fs/befs/endian.h | 6 +-
7547 fs/binfmt_aout.c | 23 +-
7548 fs/binfmt_elf.c | 670 +-
7549 fs/binfmt_elf_fdpic.c | 4 +-
7550 fs/block_dev.c | 2 +-
7551 fs/btrfs/ctree.c | 11 +-
7552 fs/btrfs/ctree.h | 4 +-
7553 fs/btrfs/delayed-inode.c | 9 +-
7554 fs/btrfs/delayed-inode.h | 6 +-
7555 fs/btrfs/delayed-ref.c | 4 +-
7556 fs/btrfs/disk-io.c | 4 +-
7557 fs/btrfs/extent_map.c | 8 +-
7558 fs/btrfs/file.c | 4 +-
7559 fs/btrfs/inode.c | 14 +-
7560 fs/btrfs/raid56.c | 32 +-
7561 fs/btrfs/super.c | 2 +-
7562 fs/btrfs/sysfs.c | 2 +-
7563 fs/btrfs/tests/btrfs-tests.c | 2 +-
7564 fs/btrfs/tests/free-space-tests.c | 8 +-
7565 fs/btrfs/transaction.c | 2 +-
7566 fs/btrfs/tree-log.c | 8 +-
7567 fs/btrfs/tree-log.h | 2 +-
7568 fs/btrfs/volumes.c | 14 +-
7569 fs/btrfs/volumes.h | 22 +-
7570 fs/buffer.c | 2 +-
7571 fs/cachefiles/bind.c | 6 +-
7572 fs/cachefiles/daemon.c | 8 +-
7573 fs/cachefiles/internal.h | 12 +-
7574 fs/cachefiles/namei.c | 2 +-
7575 fs/cachefiles/proc.c | 12 +-
7576 fs/ceph/dir.c | 12 +-
7577 fs/ceph/super.c | 4 +-
7578 fs/cifs/cifs_debug.c | 12 +-
7579 fs/cifs/cifsfs.c | 8 +-
7580 fs/cifs/cifsglob.h | 54 +-
7581 fs/cifs/file.c | 12 +-
7582 fs/cifs/misc.c | 4 +-
7583 fs/cifs/smb1ops.c | 80 +-
7584 fs/cifs/smb2ops.c | 84 +-
7585 fs/cifs/smb2pdu.c | 3 +-
7586 fs/coda/cache.c | 10 +-
7587 fs/compat.c | 7 +-
7588 fs/compat_binfmt_elf.c | 2 +
7589 fs/compat_ioctl.c | 12 +-
7590 fs/configfs/dir.c | 10 +-
7591 fs/coredump.c | 18 +-
7592 fs/dcache.c | 64 +-
7593 fs/ecryptfs/inode.c | 2 +-
7594 fs/ecryptfs/miscdev.c | 2 +-
7595 fs/exec.c | 362 +-
7596 fs/ext2/xattr.c | 5 +-
7597 fs/ext4/ext4.h | 20 +-
7598 fs/ext4/mballoc.c | 44 +-
7599 fs/ext4/resize.c | 16 +-
7600 fs/ext4/super.c | 2 +-
7601 fs/ext4/sysfs.c | 2 +-
7602 fs/ext4/xattr.c | 5 +-
7603 fs/fhandle.c | 5 +-
7604 fs/file.c | 18 +-
7605 fs/fs-writeback.c | 11 +-
7606 fs/fs_struct.c | 8 +-
7607 fs/fscache/cookie.c | 40 +-
7608 fs/fscache/internal.h | 202 +-
7609 fs/fscache/object.c | 26 +-
7610 fs/fscache/operation.c | 38 +-
7611 fs/fscache/page.c | 110 +-
7612 fs/fscache/stats.c | 348 +-
7613 fs/fuse/cuse.c | 10 +-
7614 fs/fuse/dev.c | 4 +-
7615 fs/gfs2/file.c | 2 +-
7616 fs/gfs2/glock.c | 22 +-
7617 fs/gfs2/glops.c | 4 +-
7618 fs/gfs2/quota.c | 6 +-
7619 fs/hugetlbfs/inode.c | 13 +-
7620 fs/inode.c | 4 +-
7621 fs/jbd2/commit.c | 2 +-
7622 fs/jbd2/transaction.c | 4 +-
7623 fs/jffs2/erase.c | 3 +-
7624 fs/jffs2/wbuf.c | 3 +-
7625 fs/jfs/super.c | 2 +-
7626 fs/kernfs/dir.c | 2 +-
7627 fs/kernfs/file.c | 20 +-
7628 fs/libfs.c | 10 +-
7629 fs/lockd/clntproc.c | 4 +-
7630 fs/namei.c | 16 +-
7631 fs/namespace.c | 16 +-
7632 fs/nfs/callback_xdr.c | 2 +-
7633 fs/nfs/inode.c | 6 +-
7634 fs/nfsd/nfs4proc.c | 2 +-
7635 fs/nfsd/nfs4xdr.c | 2 +-
7636 fs/nfsd/nfscache.c | 11 +-
7637 fs/nfsd/vfs.c | 6 +-
7638 fs/nls/nls_base.c | 26 +-
7639 fs/nls/nls_euc-jp.c | 6 +-
7640 fs/nls/nls_koi8-ru.c | 6 +-
7641 fs/notify/fanotify/fanotify_user.c | 4 +-
7642 fs/notify/notification.c | 4 +-
7643 fs/ntfs/dir.c | 2 +-
7644 fs/ntfs/super.c | 6 +-
7645 fs/ocfs2/dlm/dlmcommon.h | 4 +-
7646 fs/ocfs2/dlm/dlmdebug.c | 10 +-
7647 fs/ocfs2/dlm/dlmdomain.c | 4 +-
7648 fs/ocfs2/dlm/dlmmaster.c | 4 +-
7649 fs/ocfs2/localalloc.c | 2 +-
7650 fs/ocfs2/ocfs2.h | 10 +-
7651 fs/ocfs2/suballoc.c | 12 +-
7652 fs/ocfs2/super.c | 20 +-
7653 fs/overlayfs/copy_up.c | 2 +-
7654 fs/pipe.c | 72 +-
7655 fs/posix_acl.c | 4 +-
7656 fs/proc/array.c | 20 +
7657 fs/proc/base.c | 4 +-
7658 fs/proc/kcore.c | 34 +-
7659 fs/proc/meminfo.c | 2 +-
7660 fs/proc/nommu.c | 2 +-
7661 fs/proc/proc_sysctl.c | 26 +-
7662 fs/proc/task_mmu.c | 42 +-
7663 fs/proc/task_nommu.c | 4 +-
7664 fs/proc/vmcore.c | 16 +-
7665 fs/qnx6/qnx6.h | 4 +-
7666 fs/quota/netlink.c | 4 +-
7667 fs/read_write.c | 2 +-
7668 fs/readdir.c | 3 +-
7669 fs/reiserfs/do_balan.c | 2 +-
7670 fs/reiserfs/procfs.c | 2 +-
7671 fs/reiserfs/reiserfs.h | 4 +-
7672 fs/seq_file.c | 4 +-
7673 fs/splice.c | 43 +-
7674 fs/squashfs/xattr.c | 12 +-
7675 fs/super.c | 3 +-
7676 fs/sysv/sysv.h | 2 +-
7677 fs/tracefs/inode.c | 8 +-
7678 fs/udf/misc.c | 2 +-
7679 fs/ufs/swab.h | 4 +-
7680 fs/userfaultfd.c | 2 +-
7681 fs/xattr.c | 21 +
7682 fs/xfs/libxfs/xfs_bmap.c | 2 +-
7683 fs/xfs/libxfs/xfs_da_btree.c | 4 +-
7684 fs/xfs/xfs_dir2_readdir.c | 7 +-
7685 fs/xfs/xfs_ioctl.c | 2 +-
7686 fs/xfs/xfs_linux.h | 4 +-
7687 include/acpi/ghes.h | 2 +-
7688 include/asm-generic/4level-fixup.h | 2 +
7689 include/asm-generic/atomic-long.h | 176 +-
7690 include/asm-generic/atomic64.h | 12 +
7691 include/asm-generic/bitops/__fls.h | 2 +-
7692 include/asm-generic/bitops/fls.h | 2 +-
7693 include/asm-generic/bitops/fls64.h | 4 +-
7694 include/asm-generic/bug.h | 6 +-
7695 include/asm-generic/cache.h | 4 +-
7696 include/asm-generic/emergency-restart.h | 2 +-
7697 include/asm-generic/kmap_types.h | 4 +-
7698 include/asm-generic/local.h | 13 +
7699 include/asm-generic/pgtable-nopmd.h | 18 +-
7700 include/asm-generic/pgtable-nopud.h | 15 +-
7701 include/asm-generic/pgtable.h | 16 +
7702 include/asm-generic/sections.h | 1 +
7703 include/asm-generic/uaccess.h | 16 +
7704 include/asm-generic/vmlinux.lds.h | 15 +-
7705 include/crypto/algapi.h | 2 +-
7706 include/drm/drmP.h | 19 +-
7707 include/drm/drm_crtc_helper.h | 2 +-
7708 include/drm/drm_mm.h | 2 +-
7709 include/drm/i915_pciids.h | 2 +-
7710 include/drm/intel-gtt.h | 4 +-
7711 include/drm/ttm/ttm_memory.h | 2 +-
7712 include/drm/ttm/ttm_page_alloc.h | 1 +
7713 include/keys/asymmetric-subtype.h | 2 +-
7714 include/linux/atmdev.h | 4 +-
7715 include/linux/atomic.h | 2 +-
7716 include/linux/audit.h | 2 +-
7717 include/linux/average.h | 2 +-
7718 include/linux/binfmts.h | 3 +-
7719 include/linux/bitmap.h | 2 +-
7720 include/linux/bitops.h | 8 +-
7721 include/linux/blk-cgroup.h | 24 +-
7722 include/linux/blkdev.h | 2 +-
7723 include/linux/blktrace_api.h | 2 +-
7724 include/linux/cache.h | 8 +
7725 include/linux/cdrom.h | 1 -
7726 include/linux/cleancache.h | 2 +-
7727 include/linux/clk-provider.h | 1 +
7728 include/linux/compat.h | 6 +-
7729 include/linux/compiler-gcc.h | 28 +-
7730 include/linux/compiler.h | 193 +-
7731 include/linux/configfs.h | 2 +-
7732 include/linux/cpufreq.h | 3 +-
7733 include/linux/cpuidle.h | 5 +-
7734 include/linux/cpumask.h | 14 +-
7735 include/linux/crypto.h | 4 +-
7736 include/linux/ctype.h | 2 +-
7737 include/linux/dcache.h | 4 +-
7738 include/linux/decompress/mm.h | 2 +-
7739 include/linux/devfreq.h | 2 +-
7740 include/linux/device.h | 7 +-
7741 include/linux/dma-mapping.h | 2 +-
7742 include/linux/efi.h | 1 +
7743 include/linux/elf.h | 2 +
7744 include/linux/err.h | 4 +-
7745 include/linux/extcon.h | 2 +-
7746 include/linux/fb.h | 3 +-
7747 include/linux/fdtable.h | 2 +-
7748 include/linux/fs.h | 5 +-
7749 include/linux/fs_struct.h | 2 +-
7750 include/linux/fscache-cache.h | 2 +-
7751 include/linux/fscache.h | 2 +-
7752 include/linux/fsnotify.h | 2 +-
7753 include/linux/genhd.h | 4 +-
7754 include/linux/genl_magic_func.h | 2 +-
7755 include/linux/gfp.h | 12 +-
7756 include/linux/highmem.h | 12 +
7757 include/linux/hwmon-sysfs.h | 6 +-
7758 include/linux/i2c.h | 1 +
7759 include/linux/if_pppox.h | 2 +-
7760 include/linux/init.h | 12 +-
7761 include/linux/init_task.h | 7 +
7762 include/linux/interrupt.h | 6 +-
7763 include/linux/iommu.h | 2 +-
7764 include/linux/ioport.h | 2 +-
7765 include/linux/ipc.h | 2 +-
7766 include/linux/irq.h | 5 +-
7767 include/linux/irqdesc.h | 2 +-
7768 include/linux/irqdomain.h | 3 +
7769 include/linux/jbd2.h | 2 +-
7770 include/linux/jiffies.h | 16 +-
7771 include/linux/key-type.h | 2 +-
7772 include/linux/kgdb.h | 6 +-
7773 include/linux/kmemleak.h | 4 +-
7774 include/linux/kobject.h | 3 +-
7775 include/linux/kobject_ns.h | 2 +-
7776 include/linux/kref.h | 2 +-
7777 include/linux/libata.h | 2 +-
7778 include/linux/linkage.h | 1 +
7779 include/linux/list.h | 15 +
7780 include/linux/lockref.h | 26 +-
7781 include/linux/math64.h | 10 +-
7782 include/linux/mempolicy.h | 7 +
7783 include/linux/mm.h | 102 +-
7784 include/linux/mm_types.h | 20 +
7785 include/linux/mmiotrace.h | 4 +-
7786 include/linux/mmzone.h | 2 +-
7787 include/linux/mod_devicetable.h | 4 +-
7788 include/linux/module.h | 69 +-
7789 include/linux/moduleloader.h | 16 +
7790 include/linux/moduleparam.h | 4 +-
7791 include/linux/net.h | 2 +-
7792 include/linux/netdevice.h | 7 +-
7793 include/linux/netfilter.h | 2 +-
7794 include/linux/netfilter/nfnetlink.h | 2 +-
7795 include/linux/netlink.h | 12 +-
7796 include/linux/nls.h | 4 +-
7797 include/linux/notifier.h | 3 +-
7798 include/linux/oprofile.h | 4 +-
7799 include/linux/padata.h | 2 +-
7800 include/linux/pci_hotplug.h | 3 +-
7801 include/linux/percpu.h | 2 +-
7802 include/linux/perf_event.h | 12 +-
7803 include/linux/pipe_fs_i.h | 8 +-
7804 include/linux/pm.h | 1 +
7805 include/linux/pm_domain.h | 2 +-
7806 include/linux/pm_runtime.h | 2 +-
7807 include/linux/pnp.h | 2 +-
7808 include/linux/poison.h | 4 +-
7809 include/linux/power/smartreflex.h | 2 +-
7810 include/linux/ppp-comp.h | 2 +-
7811 include/linux/preempt.h | 21 +
7812 include/linux/proc_ns.h | 2 +-
7813 include/linux/psci.h | 2 +-
7814 include/linux/quota.h | 2 +-
7815 include/linux/random.h | 19 +-
7816 include/linux/rculist.h | 16 +
7817 include/linux/rcupdate.h | 8 +
7818 include/linux/reboot.h | 14 +-
7819 include/linux/regset.h | 3 +-
7820 include/linux/relay.h | 2 +-
7821 include/linux/rio.h | 2 +-
7822 include/linux/rmap.h | 4 +-
7823 include/linux/sched.h | 76 +-
7824 include/linux/sched/sysctl.h | 1 +
7825 include/linux/scif.h | 2 +-
7826 include/linux/semaphore.h | 2 +-
7827 include/linux/seq_file.h | 1 +
7828 include/linux/seqlock.h | 10 +
7829 include/linux/signal.h | 2 +-
7830 include/linux/skbuff.h | 12 +-
7831 include/linux/slab.h | 47 +-
7832 include/linux/slab_def.h | 14 +-
7833 include/linux/slub_def.h | 2 +-
7834 include/linux/smp.h | 2 +
7835 include/linux/sock_diag.h | 2 +-
7836 include/linux/sonet.h | 2 +-
7837 include/linux/spinlock.h | 17 +-
7838 include/linux/srcu.h | 5 +-
7839 include/linux/sunrpc/addr.h | 8 +-
7840 include/linux/sunrpc/clnt.h | 2 +-
7841 include/linux/sunrpc/svc.h | 2 +-
7842 include/linux/sunrpc/svc_rdma.h | 18 +-
7843 include/linux/sunrpc/svcauth.h | 2 +-
7844 include/linux/swapops.h | 10 +-
7845 include/linux/swiotlb.h | 3 +-
7846 include/linux/syscalls.h | 23 +-
7847 include/linux/syscore_ops.h | 2 +-
7848 include/linux/sysctl.h | 3 +-
7849 include/linux/sysfs.h | 9 +-
7850 include/linux/sysrq.h | 3 +-
7851 include/linux/tcp.h | 14 +-
7852 include/linux/thread_info.h | 7 +
7853 include/linux/tty.h | 4 +-
7854 include/linux/tty_driver.h | 2 +-
7855 include/linux/tty_ldisc.h | 2 +-
7856 include/linux/types.h | 16 +
7857 include/linux/uaccess.h | 2 +-
7858 include/linux/uio_driver.h | 2 +-
7859 include/linux/unaligned/access_ok.h | 24 +-
7860 include/linux/usb.h | 12 +-
7861 include/linux/usb/hcd.h | 1 +
7862 include/linux/usb/renesas_usbhs.h | 2 +-
7863 include/linux/vermagic.h | 21 +-
7864 include/linux/vga_switcheroo.h | 8 +-
7865 include/linux/vmalloc.h | 7 +-
7866 include/linux/vmstat.h | 24 +-
7867 include/linux/writeback.h | 3 +-
7868 include/linux/xattr.h | 5 +-
7869 include/linux/zlib.h | 3 +-
7870 include/media/v4l2-dev.h | 2 +-
7871 include/media/v4l2-device.h | 2 +-
7872 include/net/9p/transport.h | 2 +-
7873 include/net/bluetooth/l2cap.h | 2 +-
7874 include/net/bonding.h | 2 +-
7875 include/net/caif/cfctrl.h | 6 +-
7876 include/net/cfg802154.h | 2 +-
7877 include/net/flow.h | 2 +-
7878 include/net/genetlink.h | 2 +-
7879 include/net/gro_cells.h | 2 +-
7880 include/net/inet_connection_sock.h | 2 +-
7881 include/net/inet_sock.h | 2 +-
7882 include/net/inetpeer.h | 2 +-
7883 include/net/ip_fib.h | 2 +-
7884 include/net/ip_vs.h | 8 +-
7885 include/net/ipv6.h | 2 +-
7886 include/net/irda/ircomm_tty.h | 1 +
7887 include/net/iucv/af_iucv.h | 2 +-
7888 include/net/llc_c_ac.h | 2 +-
7889 include/net/llc_c_ev.h | 4 +-
7890 include/net/llc_c_st.h | 2 +-
7891 include/net/llc_s_ac.h | 2 +-
7892 include/net/llc_s_st.h | 2 +-
7893 include/net/mac80211.h | 6 +-
7894 include/net/neighbour.h | 4 +-
7895 include/net/net_namespace.h | 18 +-
7896 include/net/netlink.h | 2 +-
7897 include/net/netns/conntrack.h | 6 +-
7898 include/net/netns/ipv4.h | 4 +-
7899 include/net/netns/ipv6.h | 4 +-
7900 include/net/netns/xfrm.h | 2 +-
7901 include/net/ping.h | 2 +-
7902 include/net/protocol.h | 4 +-
7903 include/net/rtnetlink.h | 2 +-
7904 include/net/sctp/checksum.h | 4 +-
7905 include/net/sctp/sm.h | 4 +-
7906 include/net/sctp/structs.h | 2 +-
7907 include/net/snmp.h | 10 +-
7908 include/net/sock.h | 12 +-
7909 include/net/tcp.h | 8 +-
7910 include/net/xfrm.h | 13 +-
7911 include/rdma/iw_cm.h | 2 +-
7912 include/scsi/libfc.h | 3 +-
7913 include/scsi/scsi_device.h | 6 +-
7914 include/scsi/scsi_driver.h | 2 +-
7915 include/scsi/scsi_transport_fc.h | 3 +-
7916 include/scsi/sg.h | 2 +-
7917 include/sound/compress_driver.h | 2 +-
7918 include/sound/soc.h | 4 +-
7919 include/trace/events/irq.h | 4 +-
7920 include/uapi/linux/a.out.h | 8 +
7921 include/uapi/linux/bcache.h | 5 +-
7922 include/uapi/linux/byteorder/little_endian.h | 28 +-
7923 include/uapi/linux/connector.h | 2 +-
7924 include/uapi/linux/elf.h | 28 +
7925 include/uapi/linux/screen_info.h | 2 +-
7926 include/uapi/linux/swab.h | 6 +-
7927 include/uapi/linux/xattr.h | 4 +
7928 include/video/udlfb.h | 8 +-
7929 include/video/uvesafb.h | 1 +
7930 init/Kconfig | 2 +-
7931 init/Makefile | 3 +
7932 init/do_mounts.c | 14 +-
7933 init/do_mounts.h | 8 +-
7934 init/do_mounts_initrd.c | 30 +-
7935 init/do_mounts_md.c | 6 +-
7936 init/init_task.c | 4 +
7937 init/initramfs.c | 38 +-
7938 init/main.c | 30 +-
7939 ipc/compat.c | 4 +-
7940 ipc/ipc_sysctl.c | 14 +-
7941 ipc/mq_sysctl.c | 4 +-
7942 ipc/sem.c | 4 +-
7943 ipc/shm.c | 6 +
7944 kernel/audit.c | 8 +-
7945 kernel/auditsc.c | 4 +-
7946 kernel/bpf/core.c | 7 +-
7947 kernel/capability.c | 3 +
7948 kernel/compat.c | 38 +-
7949 kernel/debug/debug_core.c | 16 +-
7950 kernel/debug/kdb/kdb_main.c | 4 +-
7951 kernel/events/core.c | 30 +-
7952 kernel/events/internal.h | 10 +-
7953 kernel/events/uprobes.c | 2 +-
7954 kernel/exit.c | 27 +-
7955 kernel/fork.c | 175 +-
7956 kernel/futex.c | 11 +-
7957 kernel/futex_compat.c | 2 +-
7958 kernel/gcov/base.c | 7 +-
7959 kernel/irq/manage.c | 2 +-
7960 kernel/irq/msi.c | 19 +-
7961 kernel/irq/spurious.c | 2 +-
7962 kernel/jump_label.c | 5 +
7963 kernel/kallsyms.c | 37 +-
7964 kernel/kexec.c | 3 +-
7965 kernel/kmod.c | 8 +-
7966 kernel/kprobes.c | 4 +-
7967 kernel/ksysfs.c | 2 +-
7968 kernel/locking/lockdep.c | 7 +-
7969 kernel/locking/mutex-debug.c | 12 +-
7970 kernel/locking/mutex-debug.h | 4 +-
7971 kernel/locking/mutex.c | 6 +-
7972 kernel/module.c | 422 +-
7973 kernel/notifier.c | 17 +-
7974 kernel/padata.c | 4 +-
7975 kernel/panic.c | 5 +-
7976 kernel/pid.c | 2 +-
7977 kernel/pid_namespace.c | 2 +-
7978 kernel/power/process.c | 12 +-
7979 kernel/profile.c | 14 +-
7980 kernel/ptrace.c | 8 +-
7981 kernel/rcu/rcutorture.c | 60 +-
7982 kernel/rcu/tiny.c | 4 +-
7983 kernel/rcu/tree.c | 42 +-
7984 kernel/rcu/tree.h | 16 +-
7985 kernel/rcu/tree_plugin.h | 18 +-
7986 kernel/rcu/tree_trace.c | 14 +-
7987 kernel/resource.c | 4 +-
7988 kernel/sched/auto_group.c | 4 +-
7989 kernel/sched/core.c | 45 +-
7990 kernel/sched/fair.c | 2 +-
7991 kernel/sched/sched.h | 2 +-
7992 kernel/signal.c | 24 +-
7993 kernel/smpboot.c | 4 +-
7994 kernel/softirq.c | 12 +-
7995 kernel/sys.c | 10 +-
7996 kernel/sysctl.c | 34 +-
7997 kernel/time/alarmtimer.c | 2 +-
7998 kernel/time/posix-cpu-timers.c | 4 +-
7999 kernel/time/posix-timers.c | 24 +-
8000 kernel/time/timer.c | 2 +-
8001 kernel/time/timer_stats.c | 10 +-
8002 kernel/trace/blktrace.c | 6 +-
8003 kernel/trace/ftrace.c | 15 +-
8004 kernel/trace/ring_buffer.c | 96 +-
8005 kernel/trace/trace.c | 2 +-
8006 kernel/trace/trace.h | 2 +-
8007 kernel/trace/trace_clock.c | 4 +-
8008 kernel/trace/trace_events.c | 1 -
8009 kernel/trace/trace_functions_graph.c | 4 +-
8010 kernel/trace/trace_mmiotrace.c | 8 +-
8011 kernel/trace/trace_output.c | 10 +-
8012 kernel/trace/trace_seq.c | 2 +-
8013 kernel/trace/trace_stack.c | 2 +-
8014 kernel/user.c | 2 +-
8015 kernel/user_namespace.c | 2 +-
8016 kernel/utsname_sysctl.c | 2 +-
8017 kernel/watchdog.c | 2 +-
8018 kernel/workqueue.c | 8 +-
8019 lib/Kconfig.debug | 8 +-
8020 lib/Makefile | 2 +-
8021 lib/bitmap.c | 8 +-
8022 lib/bug.c | 2 +
8023 lib/debugobjects.c | 2 +-
8024 lib/decompress_bunzip2.c | 3 +-
8025 lib/decompress_unlzma.c | 4 +-
8026 lib/div64.c | 4 +-
8027 lib/dma-debug.c | 4 +-
8028 lib/inflate.c | 2 +-
8029 lib/ioremap.c | 4 +-
8030 lib/kobject.c | 4 +-
8031 lib/list_debug.c | 126 +-
8032 lib/lockref.c | 44 +-
8033 lib/percpu-refcount.c | 2 +-
8034 lib/radix-tree.c | 2 +-
8035 lib/random32.c | 2 +-
8036 lib/rhashtable.c | 4 +-
8037 lib/show_mem.c | 2 +-
8038 lib/strncpy_from_user.c | 2 +-
8039 lib/strnlen_user.c | 2 +-
8040 lib/swiotlb.c | 2 +-
8041 lib/usercopy.c | 6 +
8042 lib/vsprintf.c | 12 +-
8043 mm/Kconfig | 6 +-
8044 mm/backing-dev.c | 4 +-
8045 mm/debug.c | 3 +
8046 mm/filemap.c | 2 +-
8047 mm/gup.c | 13 +-
8048 mm/highmem.c | 6 +-
8049 mm/hugetlb.c | 70 +-
8050 mm/internal.h | 1 +
8051 mm/maccess.c | 12 +-
8052 mm/madvise.c | 37 +
8053 mm/memory-failure.c | 6 +-
8054 mm/memory.c | 424 +-
8055 mm/mempolicy.c | 25 +
8056 mm/mlock.c | 18 +-
8057 mm/mm_init.c | 2 +-
8058 mm/mmap.c | 582 +-
8059 mm/mprotect.c | 137 +-
8060 mm/mremap.c | 39 +-
8061 mm/nommu.c | 21 +-
8062 mm/page-writeback.c | 2 +-
8063 mm/page_alloc.c | 50 +-
8064 mm/percpu.c | 2 +-
8065 mm/process_vm_access.c | 14 +-
8066 mm/rmap.c | 45 +-
8067 mm/shmem.c | 19 +-
8068 mm/slab.c | 111 +-
8069 mm/slab.h | 22 +-
8070 mm/slab_common.c | 86 +-
8071 mm/slob.c | 218 +-
8072 mm/slub.c | 109 +-
8073 mm/sparse-vmemmap.c | 4 +-
8074 mm/sparse.c | 2 +-
8075 mm/swap.c | 2 +
8076 mm/swapfile.c | 12 +-
8077 mm/util.c | 6 +
8078 mm/vmalloc.c | 114 +-
8079 mm/vmstat.c | 12 +-
8080 net/8021q/vlan.c | 5 +-
8081 net/8021q/vlan_netlink.c | 2 +-
8082 net/9p/mod.c | 4 +-
8083 net/9p/trans_fd.c | 2 +-
8084 net/atm/atm_misc.c | 8 +-
8085 net/atm/lec.h | 2 +-
8086 net/atm/proc.c | 6 +-
8087 net/atm/resources.c | 4 +-
8088 net/ax25/sysctl_net_ax25.c | 2 +-
8089 net/batman-adv/bat_iv_ogm.c | 8 +-
8090 net/batman-adv/fragmentation.c | 2 +-
8091 net/batman-adv/routing.c | 4 +-
8092 net/batman-adv/soft-interface.c | 10 +-
8093 net/batman-adv/translation-table.c | 14 +-
8094 net/batman-adv/types.h | 8 +-
8095 net/bluetooth/hci_sock.c | 2 +-
8096 net/bluetooth/l2cap_core.c | 6 +-
8097 net/bluetooth/l2cap_sock.c | 12 +-
8098 net/bluetooth/rfcomm/sock.c | 4 +-
8099 net/bluetooth/rfcomm/tty.c | 4 +-
8100 net/bridge/br_netlink.c | 2 +-
8101 net/bridge/netfilter/ebtables.c | 6 +-
8102 net/caif/cfctrl.c | 11 +-
8103 net/caif/chnl_net.c | 2 +-
8104 net/can/af_can.c | 2 +-
8105 net/can/gw.c | 6 +-
8106 net/ceph/messenger.c | 4 +-
8107 net/compat.c | 26 +-
8108 net/core/datagram.c | 2 +-
8109 net/core/dev.c | 16 +-
8110 net/core/filter.c | 2 +-
8111 net/core/flow.c | 6 +-
8112 net/core/neighbour.c | 18 +-
8113 net/core/net-sysfs.c | 2 +-
8114 net/core/net_namespace.c | 8 +-
8115 net/core/netpoll.c | 4 +-
8116 net/core/rtnetlink.c | 17 +-
8117 net/core/scm.c | 12 +-
8118 net/core/skbuff.c | 11 +-
8119 net/core/sock.c | 28 +-
8120 net/core/sock_diag.c | 15 +-
8121 net/core/sysctl_net_core.c | 22 +-
8122 net/decnet/af_decnet.c | 1 +
8123 net/decnet/sysctl_net_decnet.c | 4 +-
8124 net/dsa/dsa.c | 2 +-
8125 net/hsr/hsr_netlink.c | 2 +-
8126 net/ieee802154/6lowpan/core.c | 2 +-
8127 net/ieee802154/6lowpan/reassembly.c | 14 +-
8128 net/ipv4/af_inet.c | 2 +-
8129 net/ipv4/arp.c | 2 +-
8130 net/ipv4/devinet.c | 18 +-
8131 net/ipv4/fib_frontend.c | 6 +-
8132 net/ipv4/fib_semantics.c | 2 +-
8133 net/ipv4/inet_connection_sock.c | 4 +-
8134 net/ipv4/inet_diag.c | 4 +-
8135 net/ipv4/inet_timewait_sock.c | 2 +-
8136 net/ipv4/inetpeer.c | 2 +-
8137 net/ipv4/ip_fragment.c | 15 +-
8138 net/ipv4/ip_gre.c | 6 +-
8139 net/ipv4/ip_sockglue.c | 2 +-
8140 net/ipv4/ip_vti.c | 4 +-
8141 net/ipv4/ipconfig.c | 6 +-
8142 net/ipv4/ipip.c | 4 +-
8143 net/ipv4/netfilter/arp_tables.c | 12 +-
8144 net/ipv4/netfilter/ip_tables.c | 12 +-
8145 net/ipv4/ping.c | 14 +-
8146 net/ipv4/proc.c | 8 +-
8147 net/ipv4/raw.c | 14 +-
8148 net/ipv4/route.c | 32 +-
8149 net/ipv4/sysctl_net_ipv4.c | 22 +-
8150 net/ipv4/tcp_input.c | 6 +-
8151 net/ipv4/tcp_probe.c | 2 +-
8152 net/ipv4/udp.c | 10 +-
8153 net/ipv4/xfrm4_mode_transport.c | 2 +-
8154 net/ipv4/xfrm4_policy.c | 17 +-
8155 net/ipv4/xfrm4_state.c | 4 +-
8156 net/ipv6/addrconf.c | 22 +-
8157 net/ipv6/af_inet6.c | 2 +-
8158 net/ipv6/datagram.c | 2 +-
8159 net/ipv6/icmp.c | 2 +-
8160 net/ipv6/ip6_fib.c | 4 +-
8161 net/ipv6/ip6_gre.c | 10 +-
8162 net/ipv6/ip6_tunnel.c | 4 +-
8163 net/ipv6/ip6_vti.c | 4 +-
8164 net/ipv6/ipv6_sockglue.c | 2 +-
8165 net/ipv6/ndisc.c | 2 +-
8166 net/ipv6/netfilter/ip6_tables.c | 12 +-
8167 net/ipv6/netfilter/nf_conntrack_reasm.c | 14 +-
8168 net/ipv6/ping.c | 33 +-
8169 net/ipv6/proc.c | 10 +-
8170 net/ipv6/raw.c | 17 +-
8171 net/ipv6/reassembly.c | 13 +-
8172 net/ipv6/route.c | 2 +-
8173 net/ipv6/sit.c | 4 +-
8174 net/ipv6/sysctl_net_ipv6.c | 2 +-
8175 net/ipv6/udp.c | 6 +-
8176 net/ipv6/xfrm6_policy.c | 17 +-
8177 net/irda/ircomm/ircomm_tty.c | 18 +-
8178 net/iucv/af_iucv.c | 4 +-
8179 net/iucv/iucv.c | 2 +-
8180 net/key/af_key.c | 4 +-
8181 net/l2tp/l2tp_eth.c | 38 +-
8182 net/l2tp/l2tp_ip.c | 2 +-
8183 net/l2tp/l2tp_ip6.c | 2 +-
8184 net/mac80211/cfg.c | 10 +-
8185 net/mac80211/debugfs_key.c | 4 +-
8186 net/mac80211/ieee80211_i.h | 3 +-
8187 net/mac80211/iface.c | 20 +-
8188 net/mac80211/key.c | 4 +-
8189 net/mac80211/main.c | 2 +-
8190 net/mac80211/pm.c | 4 +-
8191 net/mac80211/rate.c | 2 +-
8192 net/mac80211/sta_info.c | 2 +-
8193 net/mac80211/tx.c | 2 +-
8194 net/mac80211/util.c | 8 +-
8195 net/mac80211/wpa.c | 10 +-
8196 net/mac802154/iface.c | 4 +-
8197 net/mpls/af_mpls.c | 6 +-
8198 net/netfilter/ipset/ip_set_core.c | 4 +-
8199 net/netfilter/ipvs/ip_vs_conn.c | 6 +-
8200 net/netfilter/ipvs/ip_vs_core.c | 4 +-
8201 net/netfilter/ipvs/ip_vs_ctl.c | 14 +-
8202 net/netfilter/ipvs/ip_vs_lblc.c | 2 +-
8203 net/netfilter/ipvs/ip_vs_lblcr.c | 2 +-
8204 net/netfilter/ipvs/ip_vs_sync.c | 6 +-
8205 net/netfilter/ipvs/ip_vs_xmit.c | 4 +-
8206 net/netfilter/nf_conntrack_acct.c | 2 +-
8207 net/netfilter/nf_conntrack_ecache.c | 2 +-
8208 net/netfilter/nf_conntrack_helper.c | 2 +-
8209 net/netfilter/nf_conntrack_netlink.c | 22 +-
8210 net/netfilter/nf_conntrack_proto.c | 2 +-
8211 net/netfilter/nf_conntrack_standalone.c | 2 +-
8212 net/netfilter/nf_conntrack_timestamp.c | 2 +-
8213 net/netfilter/nf_log.c | 10 +-
8214 net/netfilter/nf_sockopt.c | 4 +-
8215 net/netfilter/nf_tables_api.c | 13 +-
8216 net/netfilter/nfnetlink_acct.c | 7 +-
8217 net/netfilter/nfnetlink_cthelper.c | 2 +-
8218 net/netfilter/nfnetlink_cttimeout.c | 2 +-
8219 net/netfilter/nfnetlink_log.c | 4 +-
8220 net/netfilter/nft_compat.c | 9 +-
8221 net/netfilter/xt_statistic.c | 8 +-
8222 net/netlink/af_netlink.c | 14 +-
8223 net/netlink/diag.c | 2 +-
8224 net/netlink/genetlink.c | 14 +-
8225 net/openvswitch/vport-internal_dev.c | 2 +-
8226 net/packet/af_packet.c | 26 +-
8227 net/packet/diag.c | 2 +-
8228 net/packet/internal.h | 6 +-
8229 net/phonet/pep.c | 6 +-
8230 net/phonet/socket.c | 2 +-
8231 net/phonet/sysctl.c | 2 +-
8232 net/rds/cong.c | 6 +-
8233 net/rds/ib.h | 2 +-
8234 net/rds/ib_cm.c | 2 +-
8235 net/rds/ib_recv.c | 4 +-
8236 net/rds/iw.h | 2 +-
8237 net/rds/iw_cm.c | 2 +-
8238 net/rds/iw_recv.c | 4 +-
8239 net/rds/rds.h | 2 +-
8240 net/rds/tcp.c | 2 +-
8241 net/rds/tcp_send.c | 2 +-
8242 net/rxrpc/af_rxrpc.c | 2 +-
8243 net/rxrpc/ar-ack.c | 14 +-
8244 net/rxrpc/ar-call.c | 2 +-
8245 net/rxrpc/ar-connection.c | 2 +-
8246 net/rxrpc/ar-connevent.c | 2 +-
8247 net/rxrpc/ar-input.c | 4 +-
8248 net/rxrpc/ar-internal.h | 8 +-
8249 net/rxrpc/ar-local.c | 2 +-
8250 net/rxrpc/ar-output.c | 4 +-
8251 net/rxrpc/ar-peer.c | 2 +-
8252 net/rxrpc/ar-proc.c | 4 +-
8253 net/rxrpc/ar-transport.c | 2 +-
8254 net/rxrpc/rxkad.c | 4 +-
8255 net/sched/sch_generic.c | 4 +-
8256 net/sctp/ipv6.c | 6 +-
8257 net/sctp/protocol.c | 10 +-
8258 net/sctp/sm_sideeffect.c | 2 +-
8259 net/sctp/socket.c | 21 +-
8260 net/sctp/sysctl.c | 10 +-
8261 net/socket.c | 18 +-
8262 net/sunrpc/auth_gss/svcauth_gss.c | 4 +-
8263 net/sunrpc/clnt.c | 4 +-
8264 net/sunrpc/sched.c | 4 +-
8265 net/sunrpc/svc.c | 4 +-
8266 net/sunrpc/svcauth_unix.c | 2 +-
8267 net/sunrpc/xprtrdma/svc_rdma.c | 44 +-
8268 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 8 +-
8269 net/sunrpc/xprtrdma/svc_rdma_sendto.c | 2 +-
8270 net/sunrpc/xprtrdma/svc_rdma_transport.c | 10 +-
8271 net/tipc/netlink_compat.c | 12 +-
8272 net/tipc/subscr.c | 2 +-
8273 net/unix/diag.c | 2 +-
8274 net/unix/sysctl_net_unix.c | 2 +-
8275 net/wireless/wext-core.c | 19 +-
8276 net/xfrm/xfrm_policy.c | 16 +-
8277 net/xfrm/xfrm_state.c | 33 +-
8278 net/xfrm/xfrm_sysctl.c | 2 +-
8279 net/xfrm/xfrm_user.c | 2 +-
8280 scripts/Kbuild.include | 2 +-
8281 scripts/Makefile.build | 2 +-
8282 scripts/Makefile.clean | 3 +-
8283 scripts/Makefile.host | 69 +-
8284 scripts/basic/fixdep.c | 12 +-
8285 scripts/dtc/checks.c | 14 +-
8286 scripts/dtc/data.c | 6 +-
8287 scripts/dtc/flattree.c | 8 +-
8288 scripts/dtc/livetree.c | 4 +-
8289 scripts/gcc-plugin.sh | 51 +
8290 scripts/headers_install.sh | 1 +
8291 scripts/kallsyms.c | 4 +-
8292 scripts/kconfig/lkc.h | 5 +-
8293 scripts/kconfig/menu.c | 2 +-
8294 scripts/kconfig/symbol.c | 6 +-
8295 scripts/link-vmlinux.sh | 2 +-
8296 scripts/mod/file2alias.c | 14 +-
8297 scripts/mod/modpost.c | 25 +-
8298 scripts/mod/modpost.h | 6 +-
8299 scripts/mod/sumversion.c | 2 +-
8300 scripts/module-common.lds | 4 +
8301 scripts/package/builddeb | 1 +
8302 scripts/pnmtologo.c | 6 +-
8303 scripts/sortextable.h | 6 +-
8304 scripts/tags.sh | 2 +-
8305 security/Kconfig | 691 +-
8306 security/apparmor/include/policy.h | 2 +-
8307 security/apparmor/policy.c | 4 +-
8308 security/integrity/ima/ima.h | 4 +-
8309 security/integrity/ima/ima_api.c | 2 +-
8310 security/integrity/ima/ima_fs.c | 4 +-
8311 security/integrity/ima/ima_queue.c | 2 +-
8312 security/keys/internal.h | 8 +-
8313 security/keys/key.c | 18 +-
8314 security/keys/keyring.c | 4 -
8315 security/selinux/avc.c | 6 +-
8316 security/selinux/include/xfrm.h | 2 +-
8317 security/yama/yama_lsm.c | 2 +-
8318 sound/aoa/codecs/onyx.c | 7 +-
8319 sound/aoa/codecs/onyx.h | 1 +
8320 sound/core/oss/pcm_oss.c | 18 +-
8321 sound/core/pcm_compat.c | 2 +-
8322 sound/core/pcm_native.c | 4 +-
8323 sound/core/seq/seq_clientmgr.c | 10 +-
8324 sound/core/seq/seq_compat.c | 2 +-
8325 sound/core/seq/seq_fifo.c | 6 +-
8326 sound/core/seq/seq_fifo.h | 2 +-
8327 sound/core/seq/seq_memory.c | 6 +-
8328 sound/core/sound.c | 2 +-
8329 sound/drivers/mts64.c | 14 +-
8330 sound/drivers/opl4/opl4_lib.c | 2 +-
8331 sound/drivers/portman2x4.c | 3 +-
8332 sound/firewire/amdtp-am824.c | 2 +-
8333 sound/firewire/amdtp-stream.c | 4 +-
8334 sound/firewire/amdtp-stream.h | 2 +-
8335 sound/firewire/digi00x/amdtp-dot.c | 2 +-
8336 sound/firewire/isight.c | 10 +-
8337 sound/firewire/scs1x.c | 8 +-
8338 sound/oss/sb_audio.c | 2 +-
8339 sound/oss/swarm_cs4297a.c | 6 +-
8340 sound/pci/hda/hda_codec.c | 2 +-
8341 sound/pci/ymfpci/ymfpci.h | 2 +-
8342 sound/pci/ymfpci/ymfpci_main.c | 12 +-
8343 sound/soc/codecs/sti-sas.c | 10 +-
8344 sound/soc/intel/skylake/skl-sst-dsp.h | 4 +-
8345 sound/soc/soc-ac97.c | 6 +-
8346 sound/soc/xtensa/xtfpga-i2s.c | 2 +-
8347 tools/gcc/Makefile | 42 +
8348 tools/gcc/checker_plugin.c | 549 +
8349 tools/gcc/colorize_plugin.c | 215 +
8350 tools/gcc/constify_plugin.c | 571 +
8351 tools/gcc/gcc-common.h | 819 +
8352 tools/gcc/initify_plugin.c | 591 +
8353 tools/gcc/kallocstat_plugin.c | 188 +
8354 tools/gcc/kernexec_plugin.c | 549 +
8355 tools/gcc/latent_entropy_plugin.c | 474 +
8356 tools/gcc/randomize_layout_seed.h | 1 +
8357 tools/gcc/size_overflow_plugin/.gitignore | 2 +
8358 tools/gcc/size_overflow_plugin/Makefile | 28 +
8359 .../disable_size_overflow_hash.data | 12434 ++
8360 .../disable_size_overflow_hash.h | 152601 ++++++++++++++++++
8361 .../generate_size_overflow_hash.sh | 103 +
8362 .../insert_size_overflow_asm.c | 416 +
8363 .../size_overflow_plugin/intentional_overflow.c | 1116 +
8364 .../size_overflow_plugin/remove_unnecessary_dup.c | 137 +
8365 tools/gcc/size_overflow_plugin/size_overflow.h | 325 +
8366 .../gcc/size_overflow_plugin/size_overflow_debug.c | 194 +
8367 .../size_overflow_plugin/size_overflow_hash.data | 21454 +++
8368 .../size_overflow_hash_aux.data | 92 +
8369 tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 1226 +
8370 .../gcc/size_overflow_plugin/size_overflow_misc.c | 505 +
8371 .../size_overflow_plugin/size_overflow_plugin.c | 318 +
8372 .../size_overflow_plugin_hash.c | 352 +
8373 .../size_overflow_plugin/size_overflow_transform.c | 745 +
8374 .../size_overflow_transform_core.c | 1015 +
8375 tools/gcc/stackleak_plugin.c | 444 +
8376 tools/gcc/structleak_plugin.c | 290 +
8377 tools/include/linux/compiler.h | 8 +
8378 tools/perf/util/include/asm/alternative-asm.h | 3 +
8379 tools/virtio/linux/uaccess.h | 2 +-
8380 virt/kvm/kvm_main.c | 42 +-
8381 2088 files changed, 221599 insertions(+), 9618 deletions(-)
8382 commit 87790bbd0d8dc2bd7fd86cb947e32886db9e9766
8383 Author: Matthew Wilcox <willy@linux.intel.com>
8384 Date: Tue Feb 2 16:57:52 2016 -0800
8385
8386 radix-tree: fix race in gang lookup
8387
8388 If the indirect_ptr bit is set on a slot, that indicates we need to redo
8389 the lookup. Introduce a new function radix_tree_iter_retry() which
8390 forces the loop to retry the lookup by setting 'slot' to NULL and
8391 turning the iterator back to point at the problematic entry.
8392
8393 This is a pretty rare problem to hit at the moment; the lookup has to
8394 race with a grow of the radix tree from a height of 0. The consequences
8395 of hitting this race are that gang lookup could return a pointer to a
8396 radix_tree_node instead of a pointer to whatever the user had inserted
8397 in the tree.
8398
8399 Fixes: cebbd29e1c2f ("radix-tree: rewrite gang lookup using iterator")
8400 Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
8401 Cc: Hugh Dickins <hughd@google.com>
8402 Cc: Ohad Ben-Cohen <ohad@wizery.com>
8403 Cc: Konstantin Khlebnikov <khlebnikov@openvz.org>
8404 Cc: <stable@vger.kernel.org>
8405 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
8406 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
8407
8408 include/linux/radix-tree.h | 16 ++++++++++++++++
8409 lib/radix-tree.c | 12 ++++++++++--
8410 2 files changed, 26 insertions(+), 2 deletions(-)
8411
8412 commit bf628043b4589c910919a0f221ae7f42aa8cea93
8413 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
8414 Date: Wed Feb 3 02:11:03 2016 +0100
8415
8416 unix: correctly track in-flight fds in sending process user_struct
8417
8418 The commit referenced in the Fixes tag incorrectly accounted the number
8419 of in-flight fds over a unix domain socket to the original opener
8420 of the file-descriptor. This allows another process to arbitrary
8421 deplete the original file-openers resource limit for the maximum of
8422 open files. Instead the sending processes and its struct cred should
8423 be credited.
8424
8425 To do so, we add a reference counted struct user_struct pointer to the
8426 scm_fp_list and use it to account for the number of inflight unix fds.
8427
8428 Fixes: 712f4aad406bb1 ("unix: properly account for FDs passed over unix sockets")
8429 Reported-by: David Herrmann <dh.herrmann@gmail.com>
8430 Cc: David Herrmann <dh.herrmann@gmail.com>
8431 Cc: Willy Tarreau <w@1wt.eu>
8432 Cc: Linus Torvalds <torvalds@linux-foundation.org>
8433 Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
8434 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
8435 Signed-off-by: David S. Miller <davem@davemloft.net>
8436
8437 include/net/af_unix.h | 4 ++--
8438 include/net/scm.h | 1 +
8439 net/core/scm.c | 7 +++++++
8440 net/unix/af_unix.c | 4 ++--
8441 net/unix/garbage.c | 8 ++++----
8442 5 files changed, 16 insertions(+), 8 deletions(-)
8443
8444 commit e830db443ff78d70b7b63536e688d73907face0c
8445 Author: Mike Kravetz <mike.kravetz@oracle.com>
8446 Date: Fri Jan 15 16:57:37 2016 -0800
8447
8448 fs/hugetlbfs/inode.c: fix bugs in hugetlb_vmtruncate_list()
8449
8450 Hillf Danton noticed bugs in the hugetlb_vmtruncate_list routine. The
8451 argument end is of type pgoff_t. It was being converted to a vaddr
8452 offset and passed to unmap_hugepage_range. However, end was also being
8453 used as an argument to the vma_interval_tree_foreach controlling loop.
8454 In addition, the conversion of end to vaddr offset was incorrect.
8455
8456 hugetlb_vmtruncate_list is called as part of a file truncate or
8457 fallocate hole punch operation.
8458
8459 When truncating a hugetlbfs file, this bug could prevent some pages from
8460 being unmapped. This is possible if there are multiple vmas mapping the
8461 file, and there is a sufficiently sized hole between the mappings. The
8462 size of the hole between two vmas (A,B) must be such that the starting
8463 virtual address of B is greater than (ending virtual address of A <<
8464 PAGE_SHIFT). In this case, the pages in B would not be unmapped. If
8465 pages are not properly unmapped during truncate, the following BUG is
8466 hit:
8467
8468 kernel BUG at fs/hugetlbfs/inode.c:428!
8469
8470 In the fallocate hole punch case, this bug could prevent pages from
8471 being unmapped as in the truncate case. However, for hole punch the
8472 result is that unmapped pages will not be removed during the operation.
8473 For hole punch, it is also possible that more pages than desired will be
8474 unmapped. This unnecessary unmapping will cause page faults to
8475 reestablish the mappings on subsequent page access.
8476
8477 Fixes: 1bfad99ab (" hugetlbfs: hugetlb_vmtruncate_list() needs to take a range")Reported-by: Hillf Danton <hillf.zj@alibaba-inc.com>
8478 Signed-off-by: Mike Kravetz <mike.kravetz@oracle.com>
8479 Cc: Hugh Dickins <hughd@google.com>
8480 Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
8481 Cc: Davidlohr Bueso <dave@stgolabs.net>
8482 Cc: Dave Hansen <dave.hansen@linux.intel.com>
8483 Cc: <stable@vger.kernel.org> [4.3]
8484 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
8485 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
8486
8487 fs/hugetlbfs/inode.c | 19 +++++++++++--------
8488 1 files changed, 11 insertions(+), 8 deletions(-)
8489
8490 commit cdb3ba4a9113b779347387f3b6c6ea72dd4db12f
8491 Author: Takashi Iwai <tiwai@suse.de>
8492 Date: Thu Feb 4 17:06:13 2016 +0100
8493
8494 ALSA: timer: Fix leftover link at closing
8495
8496 In ALSA timer core, the active timer instance is managed in
8497 active_list linked list. Each element is added / removed dynamically
8498 at timer start, stop and in timer interrupt. The problem is that
8499 snd_timer_interrupt() has a thinko and leaves the element in
8500 active_list when it's the last opened element. This eventually leads
8501 to list corruption or use-after-free error.
8502
8503 This hasn't been revealed because we used to delete the list forcibly
8504 in snd_timer_stop() in the past. However, the recent fix avoids the
8505 double-stop behavior (in commit [f784beb75ce8: ALSA: timer: Fix link
8506 corruption due to double start or stop]), and this leak hits reality.
8507
8508 This patch fixes the link management in snd_timer_interrupt(). Now it
8509 simply unlinks no matter which stream is.
8510
8511 BugLink: http://lkml.kernel.org/r/CACT4Y+Yy2aukHP-EDp8-ziNqNNmb-NTf=jDWXMP7jB8HDa2vng@mail.gmail.com
8512 Reported-by: Dmitry Vyukov <dvyukov@google.com>
8513 Cc: <stable@vger.kernel.org>
8514 Signed-off-by: Takashi Iwai <tiwai@suse.de>
8515
8516 sound/core/timer.c | 4 ++--
8517 1 files changed, 2 insertions(+), 2 deletions(-)
8518
8519 commit 47d9647902f6a2f46a2be1e0140ba0f6f8c06008
8520 Author: Konstantin Khlebnikov <koct9i@gmail.com>
8521 Date: Fri Feb 5 15:37:01 2016 -0800
8522
8523 radix-tree: fix oops after radix_tree_iter_retry
8524
8525 Helper radix_tree_iter_retry() resets next_index to the current index.
8526 In following radix_tree_next_slot current chunk size becomes zero. This
8527 isn't checked and it tries to dereference null pointer in slot.
8528
8529 Tagged iterator is fine because retry happens only at slot 0 where tag
8530 bitmask in iter->tags is filled with single bit.
8531
8532 Fixes: 46437f9a554f ("radix-tree: fix race in gang lookup")
8533 Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com>
8534 Cc: Matthew Wilcox <willy@linux.intel.com>
8535 Cc: Hugh Dickins <hughd@google.com>
8536 Cc: Ohad Ben-Cohen <ohad@wizery.com>
8537 Cc: Jeremiah Mahler <jmmahler@gmail.com>
8538 Cc: <stable@vger.kernel.org>
8539 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
8540 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
8541
8542 include/linux/radix-tree.h | 6 +++---
8543 1 files changed, 3 insertions(+), 3 deletions(-)
8544
8545 commit 95b5dcb3c01958502af00b0bc0da1d906aae11a2
8546 Merge: 438be0b 256aeaf
8547 Author: Brad Spengler <spender@grsecurity.net>
8548 Date: Sun Feb 7 08:29:33 2016 -0500
8549
8550 Merge branch 'pax-test' into grsec-test
8551
8552 commit 256aeaf87c22de8edf1f03682a572c590ae07771
8553 Author: Brad Spengler <spender@grsecurity.net>
8554 Date: Sun Feb 7 08:29:09 2016 -0500
8555
8556 Update to pax-linux-4.3.5-test28.patch:
8557 - 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)
8558 - spender fixed UDEREF on arm
8559
8560 arch/arm/Kconfig | 1 +
8561 arch/arm/include/asm/domain.h | 21 ++++++++-
8562 arch/arm/include/asm/futex.h | 9 ----
8563 arch/arm/include/asm/thread_info.h | 3 +
8564 arch/arm/include/asm/uaccess.h | 81 +++++++++++++++---------------------
8565 arch/arm/kernel/entry-armv.S | 2 +-
8566 arch/arm/kernel/process.c | 2 +-
8567 arch/arm/mm/alignment.c | 8 ----
8568 arch/x86/mm/numa.c | 2 +-
8569 security/Kconfig | 1 -
8570 10 files changed, 60 insertions(+), 70 deletions(-)
8571
8572 commit 438be0bd112bd17942b2628c53054dc1007558a1
8573 Author: Brad Spengler <spender@grsecurity.net>
8574 Date: Sat Feb 6 19:50:31 2016 -0500
8575
8576 Fix a number of issues caused by the upstream merging of a UDEREF ripoff resulting in unbootable
8577 ARM systems reported on the forums
8578
8579 arch/arm/Kconfig | 1 +
8580 arch/arm/include/asm/domain.h | 21 ++++++++-
8581 arch/arm/include/asm/futex.h | 9 ----
8582 arch/arm/include/asm/thread_info.h | 3 +
8583 arch/arm/include/asm/uaccess.h | 81 +++++++++++++++---------------------
8584 arch/arm/kernel/entry-armv.S | 2 +-
8585 arch/arm/kernel/process.c | 2 +-
8586 arch/arm/mm/alignment.c | 8 ----
8587 security/Kconfig | 1 -
8588 9 files changed, 59 insertions(+), 69 deletions(-)
8589
8590 commit 4ffdd5ef1f87e611af1efb4f251ada92abe9f4c0
8591 Author: Brad Spengler <spender@grsecurity.net>
8592 Date: Sat Feb 6 11:21:53 2016 -0500
8593
8594 Fix another compiler warning
8595
8596 net/ipv4/tcp_input.c | 2 ++
8597 1 files changed, 2 insertions(+), 0 deletions(-)
8598
8599 commit 30b5b7bc0fd67d458bdd5ab35e4689769eabd2ed
8600 Author: Brad Spengler <spender@grsecurity.net>
8601 Date: Sat Feb 6 11:16:12 2016 -0500
8602
8603 Fix two compiler warnings
8604
8605 kernel/pid.c | 5 ++---
8606 kernel/ptrace.c | 3 ++-
8607 2 files changed, 4 insertions(+), 4 deletions(-)
8608
8609 commit dda4d2a21914c480750f10bd55c6e3203d415d8d
8610 Author: Brad Spengler <spender@grsecurity.net>
8611 Date: Wed Feb 3 21:22:40 2016 -0500
8612
8613 Apply fix for integer truncation in NUMA init code, reported by
8614 x14sg1 on the forums:
8615 https://forums.grsecurity.net/viewtopic.php?f=3&t=4374
8616
8617 arch/x86/mm/numa.c | 2 +-
8618 1 files changed, 1 insertions(+), 1 deletions(-)
8619
8620 commit 477505f7c893cb6a2c3e22f83eefd9c985d7b3ca
8621 Merge: a781740 016d0d8
8622 Author: Brad Spengler <spender@grsecurity.net>
8623 Date: Wed Feb 3 21:20:58 2016 -0500
8624
8625 Merge branch 'pax-test' into grsec-test
8626
8627 commit 016d0d81a8dd4be1304c82a68e0ccf425868f467
8628 Author: Brad Spengler <spender@grsecurity.net>
8629 Date: Wed Feb 3 21:20:10 2016 -0500
8630
8631 Update to pax-linux-4.3.5-test27.patch:
8632 - fixed a bunch of potential REFCOUNT false positives, reported by Emese
8633 - restored padding in fpregs_state for storing AVX-512 state in the future
8634 - constified netlink_dump_control
8635 - added const version of debug_gimple_stmt for gcc plugins, by Emese
8636 - Emese fixed a bug in initify that could have initified too much
8637 - Emese fixed a false positive intentional integer overflow in xfrm4_extract_header, reported by corsac
8638
8639 arch/x86/include/asm/fpu/types.h | 1 +
8640 arch/x86/include/asm/mmu_context.h | 2 +-
8641 block/blk-cgroup.c | 18 ++--
8642 block/cfq-iosched.c | 4 +-
8643 crypto/crypto_user.c | 8 ++-
8644 drivers/acpi/apei/ghes.c | 6 +-
8645 drivers/char/ipmi/ipmi_ssif.c | 12 ++--
8646 drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 2 +-
8647 drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | 2 +-
8648 drivers/gpu/drm/amd/scheduler/sched_fence.c | 2 +-
8649 drivers/infiniband/core/netlink.c | 5 +-
8650 drivers/infiniband/hw/cxgb4/device.c | 6 +-
8651 drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 2 +-
8652 drivers/md/bcache/alloc.c | 2 +-
8653 drivers/md/bcache/bcache.h | 10 +-
8654 drivers/md/bcache/btree.c | 2 +-
8655 drivers/md/bcache/io.c | 10 +-
8656 drivers/md/bcache/journal.c | 2 +-
8657 drivers/md/bcache/stats.c | 26 +++---
8658 drivers/md/bcache/stats.h | 16 ++--
8659 drivers/md/bcache/super.c | 2 +-
8660 drivers/md/bcache/sysfs.c | 20 +++---
8661 drivers/md/dm-cache-target.c | 98 ++++++++++++------------
8662 drivers/md/dm-raid.c | 2 +-
8663 drivers/md/md.c | 6 +-
8664 drivers/md/md.h | 2 +-
8665 drivers/md/raid1.c | 2 +-
8666 drivers/md/raid10.c | 2 +-
8667 drivers/md/raid5.c | 4 +-
8668 drivers/media/pci/zoran/zoran.h | 1 -
8669 drivers/media/pci/zoran/zoran_driver.c | 3 -
8670 drivers/net/ethernet/sfc/selftest.c | 20 +++---
8671 drivers/net/irda/vlsi_ir.c | 18 ++--
8672 drivers/net/irda/vlsi_ir.h | 14 ++--
8673 drivers/net/wireless/ath/carl9170/carl9170.h | 6 +-
8674 drivers/net/wireless/ath/carl9170/debug.c | 6 +-
8675 drivers/net/wireless/ath/carl9170/main.c | 10 +-
8676 drivers/net/wireless/ath/carl9170/tx.c | 4 +-
8677 drivers/net/wireless/iwlwifi/mvm/d3.c | 4 +-
8678 drivers/net/wireless/iwlwifi/mvm/tx.c | 2 +-
8679 drivers/scsi/hptiop.c | 2 -
8680 drivers/scsi/hptiop.h | 1 -
8681 drivers/scsi/ipr.c | 6 +-
8682 drivers/scsi/ipr.h | 2 +-
8683 drivers/scsi/qla2xxx/qla_target.c | 10 +-
8684 drivers/scsi/qla2xxx/qla_target.h | 2 +-
8685 fs/btrfs/ctree.c | 2 +-
8686 fs/btrfs/ctree.h | 4 +-
8687 fs/btrfs/delayed-ref.c | 4 +-
8688 fs/btrfs/disk-io.c | 4 +-
8689 fs/btrfs/file.c | 4 +-
8690 fs/btrfs/raid56.c | 32 ++++----
8691 fs/btrfs/tests/btrfs-tests.c | 2 +-
8692 fs/btrfs/transaction.c | 2 +-
8693 fs/btrfs/tree-log.c | 8 +-
8694 fs/btrfs/volumes.c | 14 ++--
8695 fs/btrfs/volumes.h | 22 +++---
8696 fs/jbd2/commit.c | 2 +-
8697 fs/jbd2/transaction.c | 4 +-
8698 fs/ocfs2/dlm/dlmcommon.h | 4 +-
8699 fs/ocfs2/dlm/dlmdebug.c | 10 +-
8700 fs/ocfs2/dlm/dlmdomain.c | 4 +-
8701 fs/ocfs2/dlm/dlmmaster.c | 4 +-
8702 include/acpi/ghes.h | 2 +-
8703 include/linux/blk-cgroup.h | 24 +++---
8704 include/linux/jbd2.h | 2 +-
8705 include/linux/netlink.h | 12 ++--
8706 include/net/cfg802154.h | 2 +-
8707 include/net/mac80211.h | 2 +-
8708 include/net/neighbour.h | 2 +-
8709 kernel/rcu/tree_plugin.h | 4 +-
8710 net/batman-adv/routing.c | 4 +-
8711 net/batman-adv/soft-interface.c | 2 +-
8712 net/batman-adv/translation-table.c | 14 ++--
8713 net/batman-adv/types.h | 2 +-
8714 net/core/neighbour.c | 14 ++--
8715 net/core/rtnetlink.c | 2 +-
8716 net/ipv4/arp.c | 2 +-
8717 net/ipv4/inet_diag.c | 4 +-
8718 net/ipv4/xfrm4_state.c | 4 +-
8719 net/ipv6/ndisc.c | 2 +-
8720 net/mac80211/cfg.c | 2 +-
8721 net/mac80211/debugfs_key.c | 2 +-
8722 net/mac80211/key.c | 4 +-
8723 net/mac80211/tx.c | 2 +-
8724 net/mac80211/wpa.c | 10 +-
8725 net/mac802154/iface.c | 4 +-
8726 net/netfilter/ipset/ip_set_core.c | 2 +-
8727 net/netfilter/nf_conntrack_netlink.c | 22 +++---
8728 net/netfilter/nf_tables_api.c | 13 ++--
8729 net/netfilter/nfnetlink_acct.c | 7 +-
8730 net/netfilter/nfnetlink_cthelper.c | 2 +-
8731 net/netfilter/nfnetlink_cttimeout.c | 2 +-
8732 net/netlink/af_netlink.c | 10 ++-
8733 net/netlink/diag.c | 2 +-
8734 net/netlink/genetlink.c | 14 ++--
8735 net/packet/af_packet.c | 18 ++--
8736 net/packet/diag.c | 2 +-
8737 net/packet/internal.h | 6 +-
8738 net/unix/diag.c | 2 +-
8739 net/xfrm/xfrm_user.c | 2 +-
8740 security/apparmor/include/policy.h | 2 +-
8741 security/apparmor/policy.c | 4 +-
8742 sound/core/seq/seq_clientmgr.c | 2 +-
8743 sound/core/seq/seq_fifo.c | 6 +-
8744 sound/core/seq/seq_fifo.h | 2 +-
8745 tools/gcc/gcc-common.h | 24 ++++--
8746 tools/gcc/initify_plugin.c | 7 +-
8747 tools/lib/api/Makefile | 2 +-
8748 109 files changed, 399 insertions(+), 391 deletions(-)
8749
8750 commit a7817402ac837b1aee07fac42537a02097055098
8751 Author: Matt Fleming <matt@codeblueprint.co.uk>
8752 Date: Fri Jan 29 11:36:10 2016 +0000
8753
8754 x86/mm/pat: Avoid truncation when converting cpa->numpages to address
8755
8756 There are a couple of nasty truncation bugs lurking in the pageattr
8757 code that can be triggered when mapping EFI regions, e.g. when we pass
8758 a cpa->pgd pointer. Because cpa->numpages is a 32-bit value, shifting
8759 left by PAGE_SHIFT will truncate the resultant address to 32-bits.
8760
8761 Viorel-Cătălin managed to trigger this bug on his Dell machine that
8762 provides a ~5GB EFI region which requires 1236992 pages to be mapped.
8763 When calling populate_pud() the end of the region gets calculated
8764 incorrectly in the following buggy expression,
8765
8766 end = start + (cpa->numpages << PAGE_SHIFT);
8767
8768 And only 188416 pages are mapped. Next, populate_pud() gets invoked
8769 for a second time because of the loop in __change_page_attr_set_clr(),
8770 only this time no pages get mapped because shifting the remaining
8771 number of pages (1048576) by PAGE_SHIFT is zero. At which point the
8772 loop in __change_page_attr_set_clr() spins forever because we fail to
8773 map progress.
8774
8775 Hitting this bug depends very much on the virtual address we pick to
8776 map the large region at and how many pages we map on the initial run
8777 through the loop. This explains why this issue was only recently hit
8778 with the introduction of commit
8779
8780 a5caa209ba9c ("x86/efi: Fix boot crash by mapping EFI memmap
8781 entries bottom-up at runtime, instead of top-down")
8782
8783 It's interesting to note that safe uses of cpa->numpages do exist in
8784 the pageattr code. If instead of shifting ->numpages we multiply by
8785 PAGE_SIZE, no truncation occurs because PAGE_SIZE is a UL value, and
8786 so the result is unsigned long.
8787
8788 To avoid surprises when users try to convert very large cpa->numpages
8789 values to addresses, change the data type from 'int' to 'unsigned
8790 long', thereby making it suitable for shifting by PAGE_SHIFT without
8791 any type casting.
8792
8793 The alternative would be to make liberal use of casting, but that is
8794 far more likely to cause problems in the future when someone adds more
8795 code and fails to cast properly; this bug was difficult enough to
8796 track down in the first place.
8797
8798 Reported-and-tested-by: Viorel-Cătălin Răpițeanu <rapiteanu.catalin@gmail.com>
8799 Acked-by: Borislav Petkov <bp@alien8.de>
8800 Cc: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
8801 Cc: <stable@vger.kernel.org>
8802 Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
8803 Link: https://bugzilla.kernel.org/show_bug.cgi?id=110131
8804 Link: http://lkml.kernel.org/r/1454067370-10374-1-git-send-email-matt@codeblueprint.co.uk
8805 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
8806
8807 arch/x86/mm/pageattr.c | 4 ++--
8808 1 files changed, 2 insertions(+), 2 deletions(-)
8809
8810 commit 64dd9d7a67a742fda257cdd16510c29e695c34b5
8811 Author: Jan Beulich <JBeulich@suse.com>
8812 Date: Tue Jan 26 04:15:18 2016 -0700
8813
8814 x86/mm: Fix types used in pgprot cacheability flags translations
8815
8816 For PAE kernels "unsigned long" is not suitable to hold page protection
8817 flags, since _PAGE_NX doesn't fit there. This is the reason for quite a
8818 few W+X pages getting reported as insecure during boot (observed namely
8819 for the entire initrd range).
8820
8821 Fixes: 281d4078be ("x86: Make page cache mode a real type")
8822 Signed-off-by: Jan Beulich <jbeulich@suse.com>
8823 Reviewed-by: Juergen Gross <JGross@suse.com>
8824 Cc: stable@vger.kernel.org
8825 Link: http://lkml.kernel.org/r/56A7635602000078000CAFF1@prv-mh.provo.novell.com
8826 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
8827
8828 arch/x86/include/asm/pgtable_types.h | 6 ++----
8829 1 files changed, 2 insertions(+), 4 deletions(-)
8830
8831 commit bb9a3a9df0d8dfc96d521676e64c42b37ba22aea
8832 Merge: 682d661 f74425b
8833 Author: Brad Spengler <spender@grsecurity.net>
8834 Date: Sun Jan 31 15:06:25 2016 -0500
8835
8836 Merge branch 'pax-test' into grsec-test
8837
8838 Conflicts:
8839 drivers/net/slip/slhc.c
8840 include/linux/sched.h
8841 net/unix/af_unix.c
8842 sound/core/timer.c
8843
8844 commit f74425b5705bfe52aff9e97659ef10c4a14176c3
8845 Merge: d14af1f 849a2d3
8846 Author: Brad Spengler <spender@grsecurity.net>
8847 Date: Sun Jan 31 15:02:55 2016 -0500
8848
8849 Merge branch 'linux-4.3.y' into pax-test
8850
8851 Conflicts:
8852 arch/x86/include/asm/mmu_context.h
8853
8854 commit 682d6611d75542e351c973c8dd74a99d3966c073
8855 Author: Brad Spengler <spender@grsecurity.net>
8856 Date: Sat Jan 30 13:05:03 2016 -0500
8857
8858 Based on a report from Mathias Krause, fix up a number of additional instances
8859 of ulong overflow when passing in values to gr_learn_resource by saturating
8860 to ULONG_MAX
8861
8862 mm/mlock.c | 11 ++++++++---
8863 mm/mmap.c | 16 +++++++++++++---
8864 2 files changed, 21 insertions(+), 6 deletions(-)
8865
8866 commit adb52e95fb9ad4ac9c56cd5d47bd668f47c33096
8867 Author: Jann Horn <jann@thejh.net>
8868 Date: Sat Dec 26 06:00:48 2015 +0100
8869
8870 seccomp: always propagate NO_NEW_PRIVS on tsync
8871
8872 Before this patch, a process with some permissive seccomp filter
8873 that was applied by root without NO_NEW_PRIVS was able to add
8874 more filters to itself without setting NO_NEW_PRIVS by setting
8875 the new filter from a throwaway thread with NO_NEW_PRIVS.
8876
8877 Signed-off-by: Jann Horn <jann@thejh.net>
8878 Cc: stable@vger.kernel.org
8879 Signed-off-by: Kees Cook <keescook@chromium.org>
8880
8881 kernel/seccomp.c | 22 +++++++++++-----------
8882 1 files changed, 11 insertions(+), 11 deletions(-)
8883
8884 commit b85450498a3bbf269441c8963d7574bb3079c838
8885 Merge: 59c216f d14af1f
8886 Author: Brad Spengler <spender@grsecurity.net>
8887 Date: Fri Jan 29 20:54:13 2016 -0500
8888
8889 Merge branch 'pax-test' into grsec-test
8890
8891 commit d14af1f1dd66511f3f0674deee2b572972012b39
8892 Author: Brad Spengler <spender@grsecurity.net>
8893 Date: Fri Jan 29 20:53:51 2016 -0500
8894
8895 Update to pax-linux-4.3.4-test26.patch:
8896 - Emese fixed a few intentional overflows introduced by gcc, reported by StalkR (https://forums.grsecurity.net/viewtopic.php?f=3&t=4370)
8897
8898 fs/cifs/file.c | 2 +-
8899 fs/gfs2/file.c | 2 +-
8900 .../size_overflow_plugin/intentional_overflow.c | 96 ++++++++++++++++++--
8901 tools/gcc/size_overflow_plugin/size_overflow.h | 2 +
8902 .../size_overflow_plugin/size_overflow_plugin.c | 4 +-
8903 .../size_overflow_plugin/size_overflow_transform.c | 6 +-
8904 .../size_overflow_transform_core.c | 5 +
8905 7 files changed, 102 insertions(+), 15 deletions(-)
8906
8907 commit 59c216f13587eacdd692386b7a403ae78ed84fb6
8908 Author: Brad Spengler <spender@grsecurity.net>
8909 Date: Wed Jan 27 17:57:21 2016 -0500
8910
8911 Fix a size_overflow report reported by Mathias Krause in our
8912 truncation of an loff_t to an unsigned long when being passed
8913 to gr_learn_resource() (as all resource checks are against unsigned long
8914 values)
8915
8916 fs/attr.c | 5 ++++-
8917 1 files changed, 4 insertions(+), 1 deletions(-)
8918
8919 commit 70636c6ad60fc1db3af764ecc789b827b7497a97
8920 Author: Yuchung Cheng <ycheng@google.com>
8921 Date: Wed Jan 6 12:42:38 2016 -0800
8922
8923 tcp: fix zero cwnd in tcp_cwnd_reduction
8924
8925 Patch 3759824da87b ("tcp: PRR uses CRB mode by default and SS mode
8926 conditionally") introduced a bug that cwnd may become 0 when both
8927 inflight and sndcnt are 0 (cwnd = inflight + sndcnt). This may lead
8928 to a div-by-zero if the connection starts another cwnd reduction
8929 phase by setting tp->prior_cwnd to the current cwnd (0) in
8930 tcp_init_cwnd_reduction().
8931
8932 To prevent this we skip PRR operation when nothing is acked or
8933 sacked. Then cwnd must be positive in all cases as long as ssthresh
8934 is positive:
8935
8936 1) The proportional reduction mode
8937 inflight > ssthresh > 0
8938
8939 2) The reduction bound mode
8940 a) inflight == ssthresh > 0
8941
8942 b) inflight < ssthresh
8943 sndcnt > 0 since newly_acked_sacked > 0 and inflight < ssthresh
8944
8945 Therefore in all cases inflight and sndcnt can not both be 0.
8946 We check invalid tp->prior_cwnd to avoid potential div0 bugs.
8947
8948 In reality this bug is triggered only with a sequence of less common
8949 events. For example, the connection is terminating an ECN-triggered
8950 cwnd reduction with an inflight 0, then it receives reordered/old
8951 ACKs or DSACKs from prior transmission (which acks nothing). Or the
8952 connection is in fast recovery stage that marks everything lost,
8953 but fails to retransmit due to local issues, then receives data
8954 packets from other end which acks nothing.
8955
8956 Fixes: 3759824da87b ("tcp: PRR uses CRB mode by default and SS mode conditionally")
8957 Reported-by: Oleksandr Natalenko <oleksandr@natalenko.name>
8958 Signed-off-by: Yuchung Cheng <ycheng@google.com>
8959 Signed-off-by: Neal Cardwell <ncardwell@google.com>
8960 Signed-off-by: Eric Dumazet <edumazet@google.com>
8961 Signed-off-by: David S. Miller <davem@davemloft.net>
8962
8963 net/ipv4/tcp_input.c | 3 +++
8964 1 files changed, 3 insertions(+), 0 deletions(-)
8965
8966 commit dac1da2bedbb43195d371c7a192cfeeb45683df0
8967 Author: Eric Dumazet <edumazet@google.com>
8968 Date: Sun Jan 24 13:53:50 2016 -0800
8969
8970 af_unix: fix struct pid memory leak
8971
8972 Dmitry reported a struct pid leak detected by a syzkaller program.
8973
8974 Bug happens in unix_stream_recvmsg() when we break the loop when a
8975 signal is pending, without properly releasing scm.
8976
8977 Fixes: b3ca9b02b007 ("net: fix multithreaded signal handling in unix recv routines")
8978 Reported-by: Dmitry Vyukov <dvyukov@google.com>
8979 Signed-off-by: Eric Dumazet <edumazet@google.com>
8980 Cc: Rainer Weikusat <rweikusat@mobileactivedefense.com>
8981 Signed-off-by: David S. Miller <davem@davemloft.net>
8982
8983 net/unix/af_unix.c | 1 +
8984 1 files changed, 1 insertions(+), 0 deletions(-)
8985
8986 commit 15cc47f127520d1ac0c1fe76d993c2c27f0f2571
8987 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
8988 Date: Fri Jan 22 01:39:43 2016 +0100
8989
8990 pptp: fix illegal memory access caused by multiple bind()s
8991
8992 Several times already this has been reported as kasan reports caused by
8993 syzkaller and trinity and people always looked at RCU races, but it is
8994 much more simple. :)
8995
8996 In case we bind a pptp socket multiple times, we simply add it to
8997 the callid_sock list but don't remove the old binding. Thus the old
8998 socket stays in the bucket with unused call_id indexes and doesn't get
8999 cleaned up. This causes various forms of kasan reports which were hard
9000 to pinpoint.
9001
9002 Simply don't allow multiple binds and correct error handling in
9003 pptp_bind. Also keep sk_state bits in place in pptp_connect.
9004
9005 Fixes: 00959ade36acad ("PPTP: PPP over IPv4 (Point-to-Point Tunneling Protocol)")
9006 Cc: Dmitry Kozlov <xeb@mail.ru>
9007 Cc: Sasha Levin <sasha.levin@oracle.com>
9008 Cc: Dmitry Vyukov <dvyukov@google.com>
9009 Reported-by: Dmitry Vyukov <dvyukov@google.com>
9010 Cc: Dave Jones <davej@codemonkey.org.uk>
9011 Reported-by: Dave Jones <davej@codemonkey.org.uk>
9012 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
9013 Signed-off-by: David S. Miller <davem@davemloft.net>
9014
9015 drivers/net/ppp/pptp.c | 34 ++++++++++++++++++++++++----------
9016 1 files changed, 24 insertions(+), 10 deletions(-)
9017
9018 commit e2b7b8c66851c85188fa6dab2d2b2a6c85bc7332
9019 Author: Brad Spengler <spender@grsecurity.net>
9020 Date: Tue Jan 26 18:17:10 2016 -0500
9021
9022 Add info about cpupower/powertop to GRKERNSEC_KMEM, was present on our
9023 wiki but was removed from the config help at some point
9024
9025 grsecurity/Kconfig | 3 +++
9026 1 files changed, 3 insertions(+), 0 deletions(-)
9027
9028 commit ce2e88efa000fc32bfcd84098f57c8ed8310fefc
9029 Author: Thomas Egerer <hakke_007@gmx.de>
9030 Date: Mon Jan 25 12:58:44 2016 +0100
9031
9032 ipv4+ipv6: Make INET*_ESP select CRYPTO_ECHAINIV
9033
9034 The ESP algorithms using CBC mode require echainiv. Hence INET*_ESP have
9035 to select CRYPTO_ECHAINIV in order to work properly. This solves the
9036 issues caused by a misconfiguration as described in [1].
9037 The original approach, patching crypto/Kconfig was turned down by
9038 Herbert Xu [2].
9039
9040 [1] https://lists.strongswan.org/pipermail/users/2015-December/009074.html
9041 [2] http://marc.info/?l=linux-crypto-vger&m=145224655809562&w=2
9042
9043 Signed-off-by: Thomas Egerer <hakke_007@gmx.de>
9044 Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
9045 Signed-off-by: David S. Miller <davem@davemloft.net>
9046
9047 net/ipv4/Kconfig | 1 +
9048 net/ipv6/Kconfig | 1 +
9049 2 files changed, 2 insertions(+), 0 deletions(-)
9050
9051 commit fca5a303155ea67d28aece0caf2b03ffc3b2668d
9052 Merge: 904114c 6339c1f
9053 Author: Brad Spengler <spender@grsecurity.net>
9054 Date: Tue Jan 26 18:08:40 2016 -0500
9055
9056 Merge branch 'pax-test' into grsec-test
9057
9058 commit 6339c1f9a9beafd417bf9f04d4b257e62aeb45b7
9059 Author: Brad Spengler <spender@grsecurity.net>
9060 Date: Tue Jan 26 18:07:51 2016 -0500
9061
9062 Update to pax-linux-4.3.4-test25.patch:
9063 - 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>
9064 - fixed init_new_context on !MODIFY_LDT_SYSCALL configs, reported by tjh (https://forums.grsecurity.net/viewtopic.php?f=3&t=4368)
9065 - fixed a few REFCOUNT false positives in SNMP related statistics
9066
9067 arch/x86/Kconfig | 2 +-
9068 arch/x86/include/asm/mmu_context.h | 17 +++++++++++++++++
9069 include/net/snmp.h | 10 +++++-----
9070 kernel/fork.c | 11 +++++++++--
9071 net/ipv4/proc.c | 8 ++++----
9072 net/ipv6/addrconf.c | 4 ++--
9073 net/ipv6/proc.c | 10 +++++-----
9074 7 files changed, 43 insertions(+), 19 deletions(-)
9075
9076 commit 904114c2fce3fdff5d57e763da56a78960db4e19
9077 Author: Al Viro <viro@zeniv.linux.org.uk>
9078 Date: Fri Jan 22 18:08:52 2016 -0500
9079
9080 make sure that freeing shmem fast symlinks is RCU-delayed
9081
9082 Cc: stable@vger.kernel.org # v4.2+
9083 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
9084
9085 include/linux/shmem_fs.h | 5 +----
9086 mm/shmem.c | 9 ++++-----
9087 2 files changed, 5 insertions(+), 9 deletions(-)
9088
9089 commit ab86adee64312a2f827dd516cb199521327943ed
9090 Author: Sasha Levin <sasha.levin@oracle.com>
9091 Date: Mon Jan 18 19:23:51 2016 -0500
9092
9093 netfilter: nf_conntrack: use safer way to lock all buckets
9094
9095 When we need to lock all buckets in the connection hashtable we'd attempt to
9096 lock 1024 spinlocks, which is way more preemption levels than supported by
9097 the kernel. Furthermore, this behavior was hidden by checking if lockdep is
9098 enabled, and if it was - use only 8 buckets(!).
9099
9100 Fix this by using a global lock and synchronize all buckets on it when we
9101 need to lock them all. This is pretty heavyweight, but is only done when we
9102 need to resize the hashtable, and that doesn't happen often enough (or at all).
9103
9104 Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
9105 Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
9106 Reviewed-by: Florian Westphal <fw@strlen.de>
9107 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
9108
9109 Conflicts:
9110
9111 net/netfilter/nfnetlink_cttimeout.c
9112
9113 include/net/netfilter/nf_conntrack_core.h | 8 ++----
9114 net/netfilter/nf_conntrack_core.c | 38 +++++++++++++++++++++-------
9115 net/netfilter/nf_conntrack_helper.c | 2 +-
9116 net/netfilter/nf_conntrack_netlink.c | 2 +-
9117 4 files changed, 33 insertions(+), 17 deletions(-)
9118
9119 commit 37014723527225481c720484bb788a1a6358072f
9120 Author: Willy Tarreau <w@1wt.eu>
9121 Date: Mon Jan 18 16:36:09 2016 +0100
9122
9123 pipe: limit the per-user amount of pages allocated in pipes
9124
9125 On no-so-small systems, it is possible for a single process to cause an
9126 OOM condition by filling large pipes with data that are never read. A
9127 typical process filling 4000 pipes with 1 MB of data will use 4 GB of
9128 memory. On small systems it may be tricky to set the pipe max size to
9129 prevent this from happening.
9130
9131 This patch makes it possible to enforce a per-user soft limit above
9132 which new pipes will be limited to a single page, effectively limiting
9133 them to 4 kB each, as well as a hard limit above which no new pipes may
9134 be created for this user. This has the effect of protecting the system
9135 against memory abuse without hurting other users, and still allowing
9136 pipes to work correctly though with less data at once.
9137
9138 The limit are controlled by two new sysctls : pipe-user-pages-soft, and
9139 pipe-user-pages-hard. Both may be disabled by setting them to zero. The
9140 default soft limit allows the default number of FDs per process (1024)
9141 to create pipes of the default size (64kB), thus reaching a limit of 64MB
9142 before starting to create only smaller pipes. With 256 processes limited
9143 to 1024 FDs each, this results in 1024*64kB + (256*1024 - 1024) * 4kB =
9144 1084 MB of memory allocated for a user. The hard limit is disabled by
9145 default to avoid breaking existing applications that make intensive use
9146 of pipes (eg: for splicing).
9147
9148 Reported-by: socketpair@gmail.com
9149 Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
9150 Mitigates: CVE-2013-4312 (Linux 2.0+)
9151 Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
9152 Signed-off-by: Willy Tarreau <w@1wt.eu>
9153 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
9154
9155 Documentation/sysctl/fs.txt | 23 +++++++++++++++++++++
9156 fs/pipe.c | 47 +++++++++++++++++++++++++++++++++++++++++-
9157 include/linux/pipe_fs_i.h | 4 +++
9158 include/linux/sched.h | 1 +
9159 kernel/sysctl.c | 14 ++++++++++++
9160 5 files changed, 87 insertions(+), 2 deletions(-)
9161
9162 commit 51645fa198d194f746651dcfbc5f24a4cf8b9fb8
9163 Merge: 540f2af 7791ecb
9164 Author: Brad Spengler <spender@grsecurity.net>
9165 Date: Sat Jan 23 10:57:11 2016 -0500
9166
9167 Merge branch 'pax-test' into grsec-test
9168
9169 commit 7791ecb84f840343a5646236fd0d34e1fb450793
9170 Merge: 470069c 399588c
9171 Author: Brad Spengler <spender@grsecurity.net>
9172 Date: Sat Jan 23 10:56:47 2016 -0500
9173
9174 Merge branch 'linux-4.3.y' into pax-test
9175
9176 commit 540f2affebd42cdc26a699208ab4f1cb0cb75e33
9177 Author: Brad Spengler <spender@grsecurity.net>
9178 Date: Tue Jan 19 21:18:47 2016 -0500
9179
9180 Update size_overflow hash table
9181
9182 .../size_overflow_plugin/size_overflow_hash.data | 4 +++-
9183 1 files changed, 3 insertions(+), 1 deletions(-)
9184
9185 commit 7e649765626a28437f573f0fbe7a51a04615f041
9186 Author: Brad Spengler <spender@grsecurity.net>
9187 Date: Tue Jan 19 20:29:46 2016 -0500
9188
9189 Backport fix from: https://lkml.org/lkml/2015/12/13/187
9190
9191 fs/ext4/extents.c | 2 +-
9192 1 files changed, 1 insertions(+), 1 deletions(-)
9193
9194 commit 53b859cd0a5f5b6ad54fe0c879dfedaa3c5a3005
9195 Author: Jann Horn <jann@thejh.net>
9196 Date: Tue Jan 5 18:27:30 2016 +0100
9197
9198 compat_ioctl: don't call do_ioctl under set_fs(KERNEL_DS)
9199
9200 This replaces all code in fs/compat_ioctl.c that translated
9201 ioctl arguments into a in-kernel structure, then performed
9202 do_ioctl under set_fs(KERNEL_DS), with code that allocates
9203 data on the user stack and can call the VFS ioctl handler
9204 under USER_DS.
9205
9206 This is done as a hardening measure because the caller
9207 does not know what kind of ioctl handler will be invoked,
9208 only that no corresponding compat_ioctl handler exists and
9209 what the ioctl command number is. The accidental
9210 invocation of an unlocked_ioctl handler that unexpectedly
9211 calls copy_to_user could be a severe security issue.
9212
9213 Signed-off-by: Jann Horn <jann@thejh.net>
9214 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
9215
9216 Conflicts:
9217
9218 fs/compat_ioctl.c
9219
9220 fs/compat_ioctl.c | 130 ++++++++++++++++++++++++++++-------------------------
9221 1 files changed, 68 insertions(+), 62 deletions(-)
9222
9223 commit 3e89e770ae27e931cd1583f021abac41eeebc3e7
9224 Author: Al Viro <viro@zeniv.linux.org.uk>
9225 Date: Thu Jan 7 09:53:30 2016 -0500
9226
9227 compat_ioctl: don't pass fd around when not needed
9228
9229 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
9230
9231 fs/compat_ioctl.c | 103 ++++++++++++++++++++++++++--------------------------
9232 fs/internal.h | 7 ++++
9233 fs/ioctl.c | 4 +-
9234 include/linux/fs.h | 2 -
9235 4 files changed, 61 insertions(+), 55 deletions(-)
9236
9237 commit 9d4e04082752d4d2d68445c4e6faf33a2613df55
9238 Author: Jann Horn <jann@thejh.net>
9239 Date: Tue Jan 5 18:27:29 2016 +0100
9240
9241 compat_ioctl: don't look up the fd twice
9242
9243 In code in fs/compat_ioctl.c that translates ioctl arguments
9244 into a in-kernel structure, then performs sys_ioctl, possibly
9245 under set_fs(KERNEL_DS), this commit changes the sys_ioctl
9246 calls to do_ioctl calls. do_ioctl is a new function that does
9247 the same thing as sys_ioctl, but doesn't look up the fd again.
9248
9249 This change is made to avoid (potential) security issues
9250 because of ioctl handlers that accept one of the ioctl
9251 commands I2C_FUNCS, VIDEO_GET_EVENT, MTIOCPOS, MTIOCGET,
9252 TIOCGSERIAL, TIOCSSERIAL, RTC_IRQP_READ, RTC_EPOCH_READ.
9253 This can happen for multiple reasons:
9254
9255 - The ioctl command number could be reused.
9256 - The ioctl handler might not check the full ioctl
9257 command. This is e.g. true for drm_ioctl.
9258 - The ioctl handler is very special, e.g. cuse_file_ioctl
9259
9260 The real issue is that set_fs(KERNEL_DS) is used here,
9261 but that's fixed in a separate commit
9262 "compat_ioctl: don't call do_ioctl under set_fs(KERNEL_DS)".
9263
9264 This change mitigates potential security issues by
9265 preventing a race that permits invocation of
9266 unlocked_ioctl handlers under KERNEL_DS through compat
9267 code even if a corresponding compat_ioctl handler exists.
9268
9269 So far, no way has been identified to use this to damage
9270 kernel memory without having CAP_SYS_ADMIN in the init ns
9271 (with the capability, doing reads/writes at arbitrary
9272 kernel addresses should be easy through CUSE's ioctl
9273 handler with FUSE_IOCTL_UNRESTRICTED set).
9274
9275 [AV: two missed sys_ioctl() taken care of]
9276
9277 Signed-off-by: Jann Horn <jann@thejh.net>
9278 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
9279
9280 fs/compat_ioctl.c | 122 +++++++++++++++++++++++++++++-----------------------
9281 1 files changed, 68 insertions(+), 54 deletions(-)
9282
9283 commit 5bf9e1ed4ebb278cd956ba142914fc04a024309c
9284 Author: Vasily Kulikov <segoon@openwall.com>
9285 Date: Fri Jan 15 16:57:55 2016 -0800
9286
9287 include/linux/poison.h: use POISON_POINTER_DELTA for poison pointers
9288
9289 TIMER_ENTRY_STATIC is defined as a poison pointers which
9290 should point to nowhere. Redefine them using POISON_POINTER_DELTA
9291 arithmetics to make sure they really point to non-mappable area declared
9292 by the target architecture.
9293
9294 Signed-off-by: Vasily Kulikov <segoon@openwall.com>
9295 Acked-by: Thomas Gleixner <tglx@linutronix.de>
9296 Cc: Solar Designer <solar@openwall.com>
9297 Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
9298 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9299 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
9300
9301 Conflicts:
9302
9303 include/linux/poison.h
9304
9305 include/linux/poison.h | 2 +-
9306 1 files changed, 1 insertions(+), 1 deletions(-)
9307
9308 commit 60f2e0a05ab8f56c804a9334a23e2b446305d110
9309 Author: Brad Spengler <spender@grsecurity.net>
9310 Date: Tue Jan 19 19:41:44 2016 -0500
9311
9312 Fix ARM compilation, reported by Austin Sepp
9313
9314 grsecurity/grsec_sig.c | 1 +
9315 1 files changed, 1 insertions(+), 0 deletions(-)
9316
9317 commit e15383743443dc43460a2fd73e0db0b608610dca
9318 Author: Takashi Iwai <tiwai@suse.de>
9319 Date: Mon Jan 18 13:52:47 2016 +0100
9320
9321 ALSA: hrtimer: Fix stall by hrtimer_cancel()
9322
9323 hrtimer_cancel() waits for the completion from the callback, thus it
9324 must not be called inside the callback itself. This was already a
9325 problem in the past with ALSA hrtimer driver, and the early commit
9326 [fcfdebe70759: ALSA: hrtimer - Fix lock-up] tried to address it.
9327
9328 However, the previous fix is still insufficient: it may still cause a
9329 lockup when the ALSA timer instance reprograms itself in its callback.
9330 Then it invokes the start function even in snd_timer_interrupt() that
9331 is called in hrtimer callback itself, results in a CPU stall. This is
9332 no hypothetical problem but actually triggered by syzkaller fuzzer.
9333
9334 This patch tries to fix the issue again. Now we call
9335 hrtimer_try_to_cancel() at both start and stop functions so that it
9336 won't fall into a deadlock, yet giving some chance to cancel the queue
9337 if the functions have been called outside the callback. The proper
9338 hrtimer_cancel() is called in anyway at closing, so this should be
9339 enough.
9340
9341 Reported-and-tested-by: Dmitry Vyukov <dvyukov@google.com>
9342 Cc: <stable@vger.kernel.org>
9343 Signed-off-by: Takashi Iwai <tiwai@suse.de>
9344
9345 sound/core/hrtimer.c | 3 ++-
9346 1 files changed, 2 insertions(+), 1 deletions(-)
9347
9348 commit 12d874daf706e6e7c1ae709141859c809599297e
9349 Author: Takashi Iwai <tiwai@suse.de>
9350 Date: Tue Jan 12 12:38:02 2016 +0100
9351
9352 ALSA: seq: Fix missing NULL check at remove_events ioctl
9353
9354 snd_seq_ioctl_remove_events() calls snd_seq_fifo_clear()
9355 unconditionally even if there is no FIFO assigned, and this leads to
9356 an Oops due to NULL dereference. The fix is just to add a proper NULL
9357 check.
9358
9359 Reported-by: Dmitry Vyukov <dvyukov@google.com>
9360 Tested-by: Dmitry Vyukov <dvyukov@google.com>
9361 Cc: <stable@vger.kernel.org>
9362 Signed-off-by: Takashi Iwai <tiwai@suse.de>
9363
9364 sound/core/seq/seq_clientmgr.c | 2 +-
9365 1 files changed, 1 insertions(+), 1 deletions(-)
9366
9367 commit 2eb0632df1351378946507e7ef7ba0682632a7b5
9368 Author: Takashi Iwai <tiwai@suse.de>
9369 Date: Tue Jan 12 15:36:27 2016 +0100
9370
9371 ALSA: seq: Fix race at timer setup and close
9372
9373 ALSA sequencer code has an open race between the timer setup ioctl and
9374 the close of the client. This was triggered by syzkaller fuzzer, and
9375 a use-after-free was caught there as a result.
9376
9377 This patch papers over it by adding a proper queue->timer_mutex lock
9378 around the timer-related calls in the relevant code path.
9379
9380 Reported-by: Dmitry Vyukov <dvyukov@google.com>
9381 Tested-by: Dmitry Vyukov <dvyukov@google.com>
9382 Cc: <stable@vger.kernel.org>
9383 Signed-off-by: Takashi Iwai <tiwai@suse.de>
9384
9385 sound/core/seq/seq_queue.c | 2 ++
9386 1 files changed, 2 insertions(+), 0 deletions(-)
9387
9388 commit b9e55ab955e59b4a636d78a748be90334a48b485
9389 Author: Takashi Iwai <tiwai@suse.de>
9390 Date: Thu Jan 14 16:30:58 2016 +0100
9391
9392 ALSA: timer: Harden slave timer list handling
9393
9394 A slave timer instance might be still accessible in a racy way while
9395 operating the master instance as it lacks of locking. Since the
9396 master operation is mostly protected with timer->lock, we should cope
9397 with it while changing the slave instance, too. Also, some linked
9398 lists (active_list and ack_list) of slave instances aren't unlinked
9399 immediately at stopping or closing, and this may lead to unexpected
9400 accesses.
9401
9402 This patch tries to address these issues. It adds spin lock of
9403 timer->lock (either from master or slave, which is equivalent) in a
9404 few places. For avoiding a deadlock, we ensure that the global
9405 slave_active_lock is always locked at first before each timer lock.
9406
9407 Also, ack and active_list of slave instances are properly unlinked at
9408 snd_timer_stop() and snd_timer_close().
9409
9410 Last but not least, remove the superfluous call of _snd_timer_stop()
9411 at removing slave links. This is a noop, and calling it may confuse
9412 readers wrt locking. Further cleanup will follow in a later patch.
9413
9414 Actually we've got reports of use-after-free by syzkaller fuzzer, and
9415 this hopefully fixes these issues.
9416
9417 Reported-by: Dmitry Vyukov <dvyukov@google.com>
9418 Cc: <stable@vger.kernel.org>
9419 Signed-off-by: Takashi Iwai <tiwai@suse.de>
9420
9421 sound/core/timer.c | 18 ++++++++++++++----
9422 1 files changed, 14 insertions(+), 4 deletions(-)
9423
9424 commit f1ce0547bdfda1b42ae8a66c222f2a897cbe1586
9425 Author: Takashi Iwai <tiwai@suse.de>
9426 Date: Wed Jan 13 17:48:01 2016 +0100
9427
9428 ALSA: timer: Fix race among timer ioctls
9429
9430 ALSA timer ioctls have an open race and this may lead to a
9431 use-after-free of timer instance object. A simplistic fix is to make
9432 each ioctl exclusive. We have already tread_sem for controlling the
9433 tread, and extend this as a global mutex to be applied to each ioctl.
9434
9435 The downside is, of course, the worse concurrency. But these ioctls
9436 aren't to be parallel accessible, in anyway, so it should be fine to
9437 serialize there.
9438
9439 Reported-by: Dmitry Vyukov <dvyukov@google.com>
9440 Tested-by: Dmitry Vyukov <dvyukov@google.com>
9441 Cc: <stable@vger.kernel.org>
9442 Signed-off-by: Takashi Iwai <tiwai@suse.de>
9443
9444 sound/core/timer.c | 32 +++++++++++++++++++-------------
9445 1 files changed, 19 insertions(+), 13 deletions(-)
9446
9447 commit 8347d8461ed48a98f9c76cc3cfcdad8217d314bc
9448 Author: Takashi Iwai <tiwai@suse.de>
9449 Date: Wed Jan 13 21:35:06 2016 +0100
9450
9451 ALSA: timer: Fix double unlink of active_list
9452
9453 ALSA timer instance object has a couple of linked lists and they are
9454 unlinked unconditionally at snd_timer_stop(). Meanwhile
9455 snd_timer_interrupt() unlinks it, but it calls list_del() which leaves
9456 the element list itself unchanged. This ends up with unlinking twice,
9457 and it was caught by syzkaller fuzzer.
9458
9459 The fix is to use list_del_init() variant properly there, too.
9460
9461 Reported-by: Dmitry Vyukov <dvyukov@google.com>
9462 Tested-by: Dmitry Vyukov <dvyukov@google.com>
9463 Cc: <stable@vger.kernel.org>
9464 Signed-off-by: Takashi Iwai <tiwai@suse.de>
9465
9466 sound/core/timer.c | 2 +-
9467 1 files changed, 1 insertions(+), 1 deletions(-)
9468
9469 commit 243aebb7ae71d6e11ea9880faa893d1d0d60cd75
9470 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
9471 Date: Mon Jan 18 18:03:48 2016 +0100
9472
9473 ovs: limit ovs recursions in ovs_execute_actions to not corrupt stack
9474
9475 It was seen that defective configurations of openvswitch could overwrite
9476 the STACK_END_MAGIC and cause a hard crash of the kernel because of too
9477 many recursions within ovs.
9478
9479 This problem arises due to the high stack usage of openvswitch. The rest
9480 of the kernel is fine with the current limit of 10 (RECURSION_LIMIT).
9481
9482 We use the already existing recursion counter in ovs_execute_actions to
9483 implement an upper bound of 5 recursions.
9484
9485 Cc: Pravin Shelar <pshelar@ovn.org>
9486 Cc: Simon Horman <simon.horman@netronome.com>
9487 Cc: Eric Dumazet <eric.dumazet@gmail.com>
9488 Cc: Simon Horman <simon.horman@netronome.com>
9489 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
9490 Signed-off-by: David S. Miller <davem@davemloft.net>
9491
9492 net/openvswitch/actions.c | 19 ++++++++++++++-----
9493 1 files changed, 14 insertions(+), 5 deletions(-)
9494
9495 commit 8080793479c6d5befe37a67b1dbd9e4e0a61af96
9496 Author: Ursula Braun <ursula.braun@de.ibm.com>
9497 Date: Tue Jan 19 10:41:33 2016 +0100
9498
9499 af_iucv: Validate socket address length in iucv_sock_bind()
9500
9501 Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
9502 Reported-by: Dmitry Vyukov <dvyukov@google.com>
9503 Reviewed-by: Evgeny Cherkashin <Eugene.Crosser@ru.ibm.com>
9504 Signed-off-by: David S. Miller <davem@davemloft.net>
9505
9506 net/iucv/af_iucv.c | 3 +++
9507 1 files changed, 3 insertions(+), 0 deletions(-)
9508
9509 commit 50a383c1c91ed7409c3cbdd41e662d6891463d1b
9510 Author: Brad Spengler <spender@grsecurity.net>
9511 Date: Tue Jan 19 19:32:54 2016 -0500
9512
9513 Apply the same fix as everyone else for the recent keys vulnerability that is
9514 unexploitable under PAX_REFCOUNT
9515
9516 Make a couple more changes that no one else can/will
9517
9518 include/linux/key-type.h | 4 ++--
9519 ipc/msgutil.c | 4 ++--
9520 security/keys/internal.h | 2 +-
9521 security/keys/process_keys.c | 1 +
9522 4 files changed, 6 insertions(+), 5 deletions(-)
9523
9524 commit b56c3a63f431c193400aee17543021950bd14bc4
9525 Merge: 38b1a3d 470069c
9526 Author: Brad Spengler <spender@grsecurity.net>
9527 Date: Sun Jan 17 18:30:19 2016 -0500
9528
9529 Merge branch 'pax-test' into grsec-test
9530
9531 commit 470069cfedef2180313233d275be5901bd6d1135
9532 Author: Brad Spengler <spender@grsecurity.net>
9533 Date: Sun Jan 17 18:29:59 2016 -0500
9534
9535 Update to pax-linux-4.3.3-test22.patch:
9536 - Emesed fixed a gcc induced intentional integer overflow in asix_rx_fixup_internal, reported by thomas callison caffrey
9537 - fixed some more fallout from the drm_drivers constification, reported by Colin Childs and Toralf Foerster
9538
9539 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 14 ++++----------
9540 drivers/gpu/drm/drm_pci.c | 3 +++
9541 drivers/gpu/drm/gma500/psb_drv.c | 4 ----
9542 drivers/gpu/drm/i915/i915_drv.c | 16 ++++++++--------
9543 drivers/gpu/drm/nouveau/nouveau_drm.c | 6 +++---
9544 drivers/gpu/drm/radeon/radeon_drv.c | 4 +---
9545 drivers/net/usb/asix_common.c | 3 ++-
9546 include/drm/drmP.h | 1 +
9547 8 files changed, 22 insertions(+), 29 deletions(-)
9548
9549 commit 38b1a3d676f407865c3d41840df8213c5ad639c1
9550 Author: Brad Spengler <spender@grsecurity.net>
9551 Date: Sun Jan 17 12:33:53 2016 -0500
9552
9553 As reported by Luis Ressel, the Kconfig help for GRKERNSEC_BRUTE
9554 mentioned banning execution of suid/sgid binaries, though the kernel
9555 source clearly only mentions banning execution of suid binaries. Since
9556 there's no reason for us to not ban execution of sgid binaries as well,
9557 make the implementation match the Kconfig description.
9558
9559 fs/exec.c | 4 ++--
9560 grsecurity/grsec_sig.c | 27 ++++++++++++++-------------
9561 include/linux/sched.h | 4 ++--
9562 3 files changed, 18 insertions(+), 17 deletions(-)
9563
9564 commit 8c3bcb7dbf7f606acfa0983e81f0f928da1f1ace
9565 Merge: d141a86 ea4a835
9566 Author: Brad Spengler <spender@grsecurity.net>
9567 Date: Sat Jan 16 14:12:22 2016 -0500
9568
9569 Merge branch 'pax-test' into grsec-test
9570
9571 Conflicts:
9572 drivers/gpu/drm/i810/i810_drv.c
9573
9574 commit ea4a835328ada6513ac013986764d6caea8cd348
9575 Author: Brad Spengler <spender@grsecurity.net>
9576 Date: Sat Jan 16 14:11:30 2016 -0500
9577
9578 Update to pax-linux-4.3.3-test21.patch:
9579 - fixed some fallout from the drm_drivers constification, reported by spender
9580
9581 drivers/gpu/drm/armada/armada_drv.c | 3 +--
9582 drivers/gpu/drm/exynos/exynos_drm_drv.c | 1 -
9583 drivers/gpu/drm/i810/i810_dma.c | 2 +-
9584 drivers/gpu/drm/i810/i810_drv.c | 6 +++++-
9585 drivers/gpu/drm/i810/i810_drv.h | 2 +-
9586 5 files changed, 8 insertions(+), 6 deletions(-)
9587
9588 commit d141a86fd66194bc3f896b6809b189e2f12a9a83
9589 Author: Brad Spengler <spender@grsecurity.net>
9590 Date: Sat Jan 16 13:16:36 2016 -0500
9591
9592 compile fix
9593
9594 drivers/gpu/drm/i810/i810_dma.c | 2 +-
9595 drivers/gpu/drm/i810/i810_drv.c | 4 +++-
9596 drivers/gpu/drm/i810/i810_drv.h | 2 +-
9597 3 files changed, 5 insertions(+), 3 deletions(-)
9598
9599 commit 0d9dc4b25ea32c14561bcfe6b5b24f1b00fe0270
9600 Merge: 5fa135d bbda879
9601 Author: Brad Spengler <spender@grsecurity.net>
9602 Date: Sat Jan 16 12:59:22 2016 -0500
9603
9604 Merge branch 'pax-test' into grsec-test
9605
9606 commit bbda87914edf63e27fb46670bf3a373f2b963c73
9607 Author: Brad Spengler <spender@grsecurity.net>
9608 Date: Sat Jan 16 12:58:04 2016 -0500
9609
9610 Update to pax-linux-4.3.3-test20.patch:
9611 - constified drm_driver
9612 - Emese fixed a special case in handling __func__ in the initify plugin
9613 - Emese fixed a false positive size overflow report in handling inbufBits, reported by Martin Filo (https://bugs.gentoo.org/show_bug.cgi?id=567048)
9614 - fixed regression that caused perf to not resolve kernel code addresses under KERNEXEC/i386, reported by minipli
9615
9616 arch/x86/kernel/cpu/perf_event.h | 2 +-
9617 arch/x86/kernel/cpu/perf_event_intel_ds.c | 7 +-
9618 arch/x86/kernel/cpu/perf_event_intel_lbr.c | 4 +-
9619 arch/x86/kernel/uprobes.c | 2 +-
9620 arch/x86/mm/mpx.c | 2 +-
9621 drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +-
9622 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 8 ++-
9623 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +-
9624 drivers/gpu/drm/drm_pci.c | 6 +-
9625 drivers/gpu/drm/gma500/psb_drv.c | 5 +-
9626 drivers/gpu/drm/i915/i915_dma.c | 2 +-
9627 drivers/gpu/drm/i915/i915_drv.c | 15 ++--
9628 drivers/gpu/drm/i915/i915_drv.h | 2 +-
9629 drivers/gpu/drm/i915/i915_irq.c | 88 ++++++++++----------
9630 drivers/gpu/drm/mga/mga_drv.c | 5 +-
9631 drivers/gpu/drm/mga/mga_drv.h | 2 +-
9632 drivers/gpu/drm/mga/mga_state.c | 2 +-
9633 drivers/gpu/drm/nouveau/nouveau_drm.c | 13 ++--
9634 drivers/gpu/drm/qxl/qxl_drv.c | 8 ++-
9635 drivers/gpu/drm/qxl/qxl_ioctl.c | 2 +-
9636 drivers/gpu/drm/r128/r128_drv.c | 4 +-
9637 drivers/gpu/drm/r128/r128_drv.h | 2 +-
9638 drivers/gpu/drm/r128/r128_state.c | 2 +-
9639 drivers/gpu/drm/radeon/radeon_drv.c | 17 +++-
9640 drivers/gpu/drm/radeon/radeon_drv.h | 2 +-
9641 drivers/gpu/drm/radeon/radeon_kms.c | 2 +-
9642 drivers/gpu/drm/radeon/radeon_state.c | 2 +-
9643 drivers/gpu/drm/savage/savage_bci.c | 2 +-
9644 drivers/gpu/drm/savage/savage_drv.c | 5 +-
9645 drivers/gpu/drm/savage/savage_drv.h | 2 +-
9646 drivers/gpu/drm/sis/sis_drv.c | 5 +-
9647 drivers/gpu/drm/sis/sis_drv.h | 2 +-
9648 drivers/gpu/drm/sis/sis_mm.c | 2 +-
9649 drivers/gpu/drm/via/via_dma.c | 2 +-
9650 drivers/gpu/drm/via/via_drv.c | 5 +-
9651 drivers/gpu/drm/via/via_drv.h | 2 +-
9652 include/drm/drmP.h | 2 +-
9653 mm/slab.c | 2 +-
9654 net/sunrpc/xprtrdma/svc_rdma.c | 6 +-
9655 tools/gcc/initify_plugin.c | 15 +++-
9656 .../disable_size_overflow_hash.data | 1 +
9657 .../size_overflow_plugin/size_overflow_hash.data | 3 +-
9658 42 files changed, 156 insertions(+), 110 deletions(-)
9659
9660 commit 5fa135dc116350e0205c39ef65eaf6496ed2748a
9661 Author: Brad Spengler <spender@grsecurity.net>
9662 Date: Sat Jan 16 12:19:23 2016 -0500
9663
9664 compile fix
9665
9666 grsecurity/grsec_sig.c | 3 +--
9667 1 files changed, 1 insertions(+), 2 deletions(-)
9668
9669 commit a9090fa58f33f75c7450fda5721a9b13625a47d9
9670 Author: Brad Spengler <spender@grsecurity.net>
9671 Date: Sat Jan 16 12:10:37 2016 -0500
9672
9673 As pointed out by Jann Horn, some distros are starting to circumvent
9674 previous assumptions about the attainability of a user to control
9675 multiple UIDs by handing out suid binaries that allow a user to run
9676 processes (including exploits) under a number of other pre-defined
9677 UIDs. As this could potentially be used to bypass GRKERNSEC_BRUTE
9678 (though it would have to involve some code path that doesn't involve
9679 locks) fix that here by ensuring no more than 8 users on a system can
9680 be banned before a reboot is required. If more are banned, a panic
9681 is triggered.
9682
9683 grsecurity/grsec_sig.c | 8 ++++++++
9684 1 files changed, 8 insertions(+), 0 deletions(-)
9685
9686 commit a8d37776e9521c567ebff6730d49312f72435f08
9687 Author: Eric Dumazet <edumazet@google.com>
9688 Date: Thu Dec 3 11:12:07 2015 -0800
9689
9690 proc: add a reschedule point in proc_readfd_common()
9691
9692 User can pass an arbitrary large buffer to getdents().
9693
9694 It is typically a 32KB buffer used by libc scandir() implementation.
9695
9696 When scanning /proc/{pid}/fd, we can hold cpu way too long,
9697 so add a cond_resched() to be kind with other tasks.
9698
9699 We've seen latencies of more than 50ms on real workloads.
9700
9701 Signed-off-by: Eric Dumazet <edumazet@google.com>
9702 Cc: Alexander Viro <viro@zeniv.linux.org.uk>
9703 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
9704
9705 fs/proc/fd.c | 1 +
9706 1 files changed, 1 insertions(+), 0 deletions(-)
9707
9708 commit 0adba75f8708f13b1f5d98ebe3fc2fb961e100c8
9709 Author: Rabin Vincent <rabin@rab.in>
9710 Date: Tue Jan 12 20:17:08 2016 +0100
9711
9712 net: bpf: reject invalid shifts
9713
9714 On ARM64, a BUG() is triggered in the eBPF JIT if a filter with a
9715 constant shift that can't be encoded in the immediate field of the
9716 UBFM/SBFM instructions is passed to the JIT. Since these shifts
9717 amounts, which are negative or >= regsize, are invalid, reject them in
9718 the eBPF verifier and the classic BPF filter checker, for all
9719 architectures.
9720
9721 Signed-off-by: Rabin Vincent <rabin@rab.in>
9722 Acked-by: Alexei Starovoitov <ast@kernel.org>
9723 Acked-by: Daniel Borkmann <daniel@iogearbox.net>
9724 Signed-off-by: David S. Miller <davem@davemloft.net>
9725
9726 kernel/bpf/verifier.c | 10 ++++++++++
9727 net/core/filter.c | 5 +++++
9728 2 files changed, 15 insertions(+), 0 deletions(-)
9729
9730 commit c248e115a73496625a1c64660d0eeefd67e55cbf
9731 Author: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
9732 Date: Fri Jan 8 11:00:54 2016 -0200
9733
9734 sctp: fix use-after-free in pr_debug statement
9735
9736 Dmitry Vyukov reported a use-after-free in the code expanded by the
9737 macro debug_post_sfx, which is caused by the use of the asoc pointer
9738 after it was freed within sctp_side_effect() scope.
9739
9740 This patch fixes it by allowing sctp_side_effect to clear that asoc
9741 pointer when the TCB is freed.
9742
9743 As Vlad explained, we also have to cover the SCTP_DISPOSITION_ABORT case
9744 because it will trigger DELETE_TCB too on that same loop.
9745
9746 Also, there were places issuing SCTP_CMD_INIT_FAILED and ASSOC_FAILED
9747 but returning SCTP_DISPOSITION_CONSUME, which would fool the scheme
9748 above. Fix it by returning SCTP_DISPOSITION_ABORT instead.
9749
9750 The macro is already prepared to handle such NULL pointer.
9751
9752 Reported-by: Dmitry Vyukov <dvyukov@google.com>
9753 Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
9754 Acked-by: Vlad Yasevich <vyasevich@gmail.com>
9755 Signed-off-by: David S. Miller <davem@davemloft.net>
9756
9757 net/sctp/sm_sideeffect.c | 11 ++++++-----
9758 net/sctp/sm_statefuns.c | 17 ++++-------------
9759 2 files changed, 10 insertions(+), 18 deletions(-)
9760
9761 commit 395ea8a9e73e184fc14153a033000bccf4213213
9762 Author: willy tarreau <w@1wt.eu>
9763 Date: Sun Jan 10 07:54:56 2016 +0100
9764
9765 unix: properly account for FDs passed over unix sockets
9766
9767 It is possible for a process to allocate and accumulate far more FDs than
9768 the process' limit by sending them over a unix socket then closing them
9769 to keep the process' fd count low.
9770
9771 This change addresses this problem by keeping track of the number of FDs
9772 in flight per user and preventing non-privileged processes from having
9773 more FDs in flight than their configured FD limit.
9774
9775 Reported-by: socketpair@gmail.com
9776 Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
9777 Mitigates: CVE-2013-4312 (Linux 2.0+)
9778 Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
9779 Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
9780 Signed-off-by: Willy Tarreau <w@1wt.eu>
9781 Signed-off-by: David S. Miller <davem@davemloft.net>
9782
9783 include/linux/sched.h | 1 +
9784 net/unix/af_unix.c | 24 ++++++++++++++++++++----
9785 net/unix/garbage.c | 13 ++++++++-----
9786 3 files changed, 29 insertions(+), 9 deletions(-)
9787
9788 commit cb207ab8fbd71dcfc4a49d533aba8085012543fd
9789 Author: Sasha Levin <sasha.levin@oracle.com>
9790 Date: Thu Jan 7 14:52:43 2016 -0500
9791
9792 net: sctp: prevent writes to cookie_hmac_alg from accessing invalid memory
9793
9794 proc_dostring() needs an initialized destination string, while the one
9795 provided in proc_sctp_do_hmac_alg() contains stack garbage.
9796
9797 Thus, writing to cookie_hmac_alg would strlen() that garbage and end up
9798 accessing invalid memory.
9799
9800 Fixes: 3c68198e7 ("sctp: Make hmac algorithm selection for cookie generation dynamic")
9801 Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
9802 Signed-off-by: David S. Miller <davem@davemloft.net>
9803
9804 net/sctp/sysctl.c | 2 +-
9805 1 files changed, 1 insertions(+), 1 deletions(-)
9806
9807 commit 4014e09faf0fe9054119624ccfff1236e886b554
9808 Author: Quentin Casasnovas <quentin.casasnovas@oracle.com>
9809 Date: Tue Nov 24 17:13:21 2015 -0500
9810
9811 RDS: fix race condition when sending a message on unbound socket
9812
9813 commit 8c7188b23474cca017b3ef354c4a58456f68303a upstream.
9814
9815 Sasha's found a NULL pointer dereference in the RDS connection code when
9816 sending a message to an apparently unbound socket. The problem is caused
9817 by the code checking if the socket is bound in rds_sendmsg(), which checks
9818 the rs_bound_addr field without taking a lock on the socket. This opens a
9819 race where rs_bound_addr is temporarily set but where the transport is not
9820 in rds_bind(), leading to a NULL pointer dereference when trying to
9821 dereference 'trans' in __rds_conn_create().
9822
9823 Vegard wrote a reproducer for this issue, so kindly ask him to share if
9824 you're interested.
9825
9826 I cannot reproduce the NULL pointer dereference using Vegard's reproducer
9827 with this patch, whereas I could without.
9828
9829 Complete earlier incomplete fix to CVE-2015-6937:
9830
9831 74e98eb08588 ("RDS: verify the underlying transport exists before creating a connection")
9832
9833 Cc: David S. Miller <davem@davemloft.net>
9834
9835 Reviewed-by: Vegard Nossum <vegard.nossum@oracle.com>
9836 Reviewed-by: Sasha Levin <sasha.levin@oracle.com>
9837 Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9838 Signed-off-by: Quentin Casasnovas <quentin.casasnovas@oracle.com>
9839 Signed-off-by: David S. Miller <davem@davemloft.net>
9840 Signed-off-by: Jiri Slaby <jslaby@suse.cz>
9841
9842 Conflicts:
9843
9844 net/rds/send.c
9845
9846 net/rds/connection.c | 6 ------
9847 1 files changed, 0 insertions(+), 6 deletions(-)
9848
9849 commit 206df8d01104344d7588d801016a281a4cd25556
9850 Author: Sasha Levin <sasha.levin@oracle.com>
9851 Date: Tue Sep 8 10:53:40 2015 -0400
9852
9853 RDS: verify the underlying transport exists before creating a connection
9854
9855 There was no verification that an underlying transport exists when creating
9856 a connection, this would cause dereferencing a NULL ptr.
9857
9858 It might happen on sockets that weren't properly bound before attempting to
9859 send a message, which will cause a NULL ptr deref:
9860
9861 [135546.047719] kasan: GPF could be caused by NULL-ptr deref or user memory accessgeneral protection fault: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC KASAN
9862 [135546.051270] Modules linked in:
9863 [135546.051781] CPU: 4 PID: 15650 Comm: trinity-c4 Not tainted 4.2.0-next-20150902-sasha-00041-gbaa1222-dirty #2527
9864 [135546.053217] task: ffff8800835bc000 ti: ffff8800bc708000 task.ti: ffff8800bc708000
9865 [135546.054291] RIP: __rds_conn_create (net/rds/connection.c:194)
9866 [135546.055666] RSP: 0018:ffff8800bc70fab0 EFLAGS: 00010202
9867 [135546.056457] RAX: dffffc0000000000 RBX: 0000000000000f2c RCX: ffff8800835bc000
9868 [135546.057494] RDX: 0000000000000007 RSI: ffff8800835bccd8 RDI: 0000000000000038
9869 [135546.058530] RBP: ffff8800bc70fb18 R08: 0000000000000001 R09: 0000000000000000
9870 [135546.059556] R10: ffffed014d7a3a23 R11: ffffed014d7a3a21 R12: 0000000000000000
9871 [135546.060614] R13: 0000000000000001 R14: ffff8801ec3d0000 R15: 0000000000000000
9872 [135546.061668] FS: 00007faad4ffb700(0000) GS:ffff880252000000(0000) knlGS:0000000000000000
9873 [135546.062836] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
9874 [135546.063682] CR2: 000000000000846a CR3: 000000009d137000 CR4: 00000000000006a0
9875 [135546.064723] Stack:
9876 [135546.065048] ffffffffafe2055c ffffffffafe23fc1 ffffed00493097bf ffff8801ec3d0008
9877 [135546.066247] 0000000000000000 00000000000000d0 0000000000000000 ac194a24c0586342
9878 [135546.067438] 1ffff100178e1f78 ffff880320581b00 ffff8800bc70fdd0 ffff880320581b00
9879 [135546.068629] Call Trace:
9880 [135546.069028] ? __rds_conn_create (include/linux/rcupdate.h:856 net/rds/connection.c:134)
9881 [135546.069989] ? rds_message_copy_from_user (net/rds/message.c:298)
9882 [135546.071021] rds_conn_create_outgoing (net/rds/connection.c:278)
9883 [135546.071981] rds_sendmsg (net/rds/send.c:1058)
9884 [135546.072858] ? perf_trace_lock (include/trace/events/lock.h:38)
9885 [135546.073744] ? lockdep_init (kernel/locking/lockdep.c:3298)
9886 [135546.074577] ? rds_send_drop_to (net/rds/send.c:976)
9887 [135546.075508] ? __might_fault (./arch/x86/include/asm/current.h:14 mm/memory.c:3795)
9888 [135546.076349] ? __might_fault (mm/memory.c:3795)
9889 [135546.077179] ? rds_send_drop_to (net/rds/send.c:976)
9890 [135546.078114] sock_sendmsg (net/socket.c:611 net/socket.c:620)
9891 [135546.078856] SYSC_sendto (net/socket.c:1657)
9892 [135546.079596] ? SYSC_connect (net/socket.c:1628)
9893 [135546.080510] ? trace_dump_stack (kernel/trace/trace.c:1926)
9894 [135546.081397] ? ring_buffer_unlock_commit (kernel/trace/ring_buffer.c:2479 kernel/trace/ring_buffer.c:2558 kernel/trace/ring_buffer.c:2674)
9895 [135546.082390] ? trace_buffer_unlock_commit (kernel/trace/trace.c:1749)
9896 [135546.083410] ? trace_event_raw_event_sys_enter (include/trace/events/syscalls.h:16)
9897 [135546.084481] ? do_audit_syscall_entry (include/trace/events/syscalls.h:16)
9898 [135546.085438] ? trace_buffer_unlock_commit (kernel/trace/trace.c:1749)
9899 [135546.085515] rds_ib_laddr_check(): addr 36.74.25.172 ret -99 node type -1
9900
9901 Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
9902 Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
9903 Signed-off-by: David S. Miller <davem@davemloft.net>
9904
9905 net/rds/connection.c | 6 ++++++
9906 1 files changed, 6 insertions(+), 0 deletions(-)
9907
9908 commit 173fa03f05cf0ad485d49a42cbdee8844d3a689a
9909 Author: Steven Rostedt (Red Hat) <rostedt@goodmis.org>
9910 Date: Tue Jan 5 20:32:47 2016 -0500
9911
9912 ftrace/module: Call clean up function when module init fails early
9913
9914 If the module init code fails after calling ftrace_module_init() and before
9915 calling do_init_module(), we can suffer from a memory leak. This is because
9916 ftrace_module_init() allocates pages to store the locations that ftrace
9917 hooks are placed in the module text. If do_init_module() fails, it still
9918 calls the MODULE_GOING notifiers which will tell ftrace to do a clean up of
9919 the pages it allocated for the module. But if load_module() fails before
9920 then, the pages allocated by ftrace_module_init() will never be freed.
9921
9922 Call ftrace_release_mod() on the module if load_module() fails before
9923 getting to do_init_module().
9924
9925 Link: http://lkml.kernel.org/r/567CEA31.1070507@intel.com
9926
9927 Reported-by: "Qiu, PeiyangX" <peiyangx.qiu@intel.com>
9928 Fixes: a949ae560a511 "ftrace/module: Hardcode ftrace_module_init() call into load_module()"
9929 Cc: stable@vger.kernel.org # v2.6.38+
9930 Acked-by: Rusty Russell <rusty@rustcorp.com.au>
9931 Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
9932
9933 include/linux/ftrace.h | 1 +
9934 kernel/module.c | 6 ++++++
9935 2 files changed, 7 insertions(+), 0 deletions(-)
9936
9937 commit 1e5a4a81a4c16c8ac2e264b88a02cc2f42ed0399
9938 Author: Francesco Ruggeri <fruggeri@aristanetworks.com>
9939 Date: Wed Jan 6 00:18:48 2016 -0800
9940
9941 net: possible use after free in dst_release
9942
9943 dst_release should not access dst->flags after decrementing
9944 __refcnt to 0. The dst_entry may be in dst_busy_list and
9945 dst_gc_task may dst_destroy it before dst_release gets a chance
9946 to access dst->flags.
9947
9948 Fixes: d69bbf88c8d0 ("net: fix a race in dst_release()")
9949 Fixes: 27b75c95f10d ("net: avoid RCU for NOCACHE dst")
9950 Signed-off-by: Francesco Ruggeri <fruggeri@arista.com>
9951 Acked-by: Eric Dumazet <edumazet@google.com>
9952 Signed-off-by: David S. Miller <davem@davemloft.net>
9953
9954 net/core/dst.c | 3 ++-
9955 1 files changed, 2 insertions(+), 1 deletions(-)
9956
9957 commit bfb0455793dd4e0f0b49d34a68b3249ab55565cc
9958 Author: Alan <gnomes@lxorguk.ukuu.org.uk>
9959 Date: Wed Jan 6 14:55:02 2016 +0000
9960
9961 mkiss: fix scribble on freed memory
9962
9963 commit d79f16c046086f4fe0d42184a458e187464eb83e fixed a user triggerable
9964 scribble on free memory but added a new one which allows the user to
9965 scribble even more and user controlled data into freed space.
9966
9967 As with 6pack we need to halt the queue before we free the buffers, because
9968 the transmit logic is not protected by the semaphore.
9969
9970 Signed-off-by: Alan Cox <alan@linux.intel.com>
9971 Signed-off-by: David S. Miller <davem@davemloft.net>
9972
9973 drivers/net/hamradio/mkiss.c | 5 +++++
9974 1 files changed, 5 insertions(+), 0 deletions(-)
9975
9976 commit 5cbbcbd32dc1949470f61d342503808fa9555276
9977 Author: David Miller <davem@davemloft.net>
9978 Date: Thu Dec 17 16:05:49 2015 -0500
9979
9980 mkiss: Fix use after free in mkiss_close().
9981
9982 Need to do the unregister_device() after all references to the driver
9983 private have been done.
9984
9985 Signed-off-by: David S. Miller <davem@davemloft.net>
9986
9987 drivers/net/hamradio/mkiss.c | 4 ++--
9988 1 files changed, 2 insertions(+), 2 deletions(-)
9989
9990 commit b00171576794a98068e069a660f0991a6a5190ff
9991 Author: One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
9992 Date: Tue Jan 5 11:51:25 2016 +0000
9993
9994 6pack: fix free memory scribbles
9995
9996 commit acf673a3187edf72068ee2f92f4dc47d66baed47 fixed a user triggerable free
9997 memory scribble but in doing so replaced it with a different one that allows
9998 the user to control the data and scribble even more.
9999
10000 sixpack_close is called by the tty layer in tty context. The tty context is
10001 protected by sp_get() and sp_put(). However network layer activity via
10002 sp_xmit() is not protected this way. We must therefore stop the queue
10003 otherwise the user gets to dump a buffer mostly of their choice into freed
10004 kernel pages.
10005
10006 Signed-off-by: Alan Cox <alan@linux.intel.com>
10007 Signed-off-by: David S. Miller <davem@davemloft.net>
10008
10009 drivers/net/hamradio/6pack.c | 6 ++++++
10010 1 files changed, 6 insertions(+), 0 deletions(-)
10011
10012 commit 5b64a833907cd230a3106aeba2304b2c1bcd116d
10013 Author: David Miller <davem@davemloft.net>
10014 Date: Thu Dec 17 16:05:32 2015 -0500
10015
10016 6pack: Fix use after free in sixpack_close().
10017
10018 Need to do the unregister_device() after all references to the driver
10019 private have been done.
10020
10021 Also we need to use del_timer_sync() for the timers so that we don't
10022 have any asynchronous references after the unregister.
10023
10024 Signed-off-by: David S. Miller <davem@davemloft.net>
10025
10026 drivers/net/hamradio/6pack.c | 8 ++++----
10027 1 files changed, 4 insertions(+), 4 deletions(-)
10028
10029 commit 4f9d532742656b3613d579220fd10c78f24ba37b
10030 Author: Rabin Vincent <rabin@rab.in>
10031 Date: Tue Jan 5 16:23:07 2016 +0100
10032
10033 net: filter: make JITs zero A for SKF_AD_ALU_XOR_X
10034
10035 The SKF_AD_ALU_XOR_X ancillary is not like the other ancillary data
10036 instructions since it XORs A with X while all the others replace A with
10037 some loaded value. All the BPF JITs fail to clear A if this is used as
10038 the first instruction in a filter. This was found using american fuzzy
10039 lop.
10040
10041 Add a helper to determine if A needs to be cleared given the first
10042 instruction in a filter, and use this in the JITs. Except for ARM, the
10043 rest have only been compile-tested.
10044
10045 Fixes: 3480593131e0 ("net: filter: get rid of BPF_S_* enum")
10046 Signed-off-by: Rabin Vincent <rabin@rab.in>
10047 Acked-by: Daniel Borkmann <daniel@iogearbox.net>
10048 Acked-by: Alexei Starovoitov <ast@kernel.org>
10049 Signed-off-by: David S. Miller <davem@davemloft.net>
10050
10051 arch/arm/net/bpf_jit_32.c | 16 +---------------
10052 arch/mips/net/bpf_jit.c | 16 +---------------
10053 arch/powerpc/net/bpf_jit_comp.c | 13 ++-----------
10054 arch/sparc/net/bpf_jit_comp.c | 17 ++---------------
10055 include/linux/filter.h | 19 +++++++++++++++++++
10056 5 files changed, 25 insertions(+), 56 deletions(-)
10057
10058 commit 570d88f8acfffda92b89ae2e1c47320d47256034
10059 Author: John Fastabend <john.fastabend@gmail.com>
10060 Date: Tue Jan 5 09:11:36 2016 -0800
10061
10062 net: sched: fix missing free per cpu on qstats
10063
10064 When a qdisc is using per cpu stats (currently just the ingress
10065 qdisc) only the bstats are being freed. This also free's the qstats.
10066
10067 Fixes: b0ab6f92752b9f9d8 ("net: sched: enable per cpu qstats")
10068 Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
10069 Acked-by: Eric Dumazet <edumazet@google.com>
10070 Acked-by: Daniel Borkmann <daniel@iogearbox.net>
10071 Signed-off-by: David S. Miller <davem@davemloft.net>
10072
10073 net/sched/sch_generic.c | 4 +++-
10074 1 files changed, 3 insertions(+), 1 deletions(-)
10075
10076 commit 32c0ebc51857ee83470a10dcb234d308a0ed1881
10077 Author: Rabin Vincent <rabin@rab.in>
10078 Date: Tue Jan 5 18:34:04 2016 +0100
10079
10080 ARM: net: bpf: fix zero right shift
10081
10082 The LSR instruction cannot be used to perform a zero right shift since a
10083 0 as the immediate value (imm5) in the LSR instruction encoding means
10084 that a shift of 32 is perfomed. See DecodeIMMShift() in the ARM ARM.
10085
10086 Make the JIT skip generation of the LSR if a zero-shift is requested.
10087
10088 This was found using american fuzzy lop.
10089
10090 Signed-off-by: Rabin Vincent <rabin@rab.in>
10091 Acked-by: Alexei Starovoitov <ast@kernel.org>
10092 Signed-off-by: David S. Miller <davem@davemloft.net>
10093
10094 arch/arm/net/bpf_jit_32.c | 3 ++-
10095 1 files changed, 2 insertions(+), 1 deletions(-)
10096
10097 commit 51f5d291750285efa4d4bbe84e5ec23dc00c8d2d
10098 Author: Brad Spengler <spender@grsecurity.net>
10099 Date: Wed Jan 6 20:35:57 2016 -0500
10100
10101 Don't perform hidden lookups in RBAC against the directory of
10102 a file being opened with O_CREAT, reported by Karl Witt
10103
10104 Conflicts:
10105
10106 fs/namei.c
10107
10108 fs/namei.c | 3 ---
10109 1 files changed, 0 insertions(+), 3 deletions(-)
10110
10111 commit 5a8266a6b2769ccdb447256f95bc2577a73cccd1
10112 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
10113 Date: Tue Jan 5 10:46:00 2016 +0100
10114
10115 bridge: Only call /sbin/bridge-stp for the initial network namespace
10116
10117 [I stole this patch from Eric Biederman. He wrote:]
10118
10119 > There is no defined mechanism to pass network namespace information
10120 > into /sbin/bridge-stp therefore don't even try to invoke it except
10121 > for bridge devices in the initial network namespace.
10122 >
10123 > It is possible for unprivileged users to cause /sbin/bridge-stp to be
10124 > invoked for any network device name which if /sbin/bridge-stp does not
10125 > guard against unreasonable arguments or being invoked twice on the
10126 > same network device could cause problems.
10127
10128 [Hannes: changed patch using netns_eq]
10129
10130 Cc: Eric W. Biederman <ebiederm@xmission.com>
10131 Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
10132 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
10133 Signed-off-by: David S. Miller <davem@davemloft.net>
10134
10135 net/bridge/br_stp_if.c | 5 ++++-
10136 1 files changed, 4 insertions(+), 1 deletions(-)
10137
10138 commit 650d535cc39f0aeff2f57e60b6617be25d3ef48b
10139 Author: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
10140 Date: Wed Dec 23 16:28:40 2015 -0200
10141
10142 sctp: use GFP_USER for user-controlled kmalloc
10143
10144 Commit cacc06215271 ("sctp: use GFP_USER for user-controlled kmalloc")
10145 missed two other spots.
10146
10147 For connectx, as it's more likely to be used by kernel users of the API,
10148 it detects if GFP_USER should be used or not.
10149
10150 Fixes: cacc06215271 ("sctp: use GFP_USER for user-controlled kmalloc")
10151 Reported-by: Dmitry Vyukov <dvyukov@google.com>
10152 Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
10153 Signed-off-by: David S. Miller <davem@davemloft.net>
10154
10155 net/sctp/socket.c | 9 ++++++---
10156 1 files changed, 6 insertions(+), 3 deletions(-)
10157
10158 commit 5718a1f63c41fc156f729783423b002763779d04
10159 Author: Florian Westphal <fw@strlen.de>
10160 Date: Thu Dec 31 14:26:33 2015 +0100
10161
10162 connector: bump skb->users before callback invocation
10163
10164 Dmitry reports memleak with syskaller program.
10165 Problem is that connector bumps skb usecount but might not invoke callback.
10166
10167 So move skb_get to where we invoke the callback.
10168
10169 Reported-by: Dmitry Vyukov <dvyukov@google.com>
10170 Signed-off-by: Florian Westphal <fw@strlen.de>
10171 Signed-off-by: David S. Miller <davem@davemloft.net>
10172
10173 drivers/connector/connector.c | 11 +++--------
10174 1 files changed, 3 insertions(+), 8 deletions(-)
10175
10176 commit 2e6372e6a97f8d642416899861f91777f44f13b7
10177 Author: Rainer Weikusat <rweikusat@mobileactivedefense.com>
10178 Date: Sun Jan 3 18:56:38 2016 +0000
10179
10180 af_unix: Fix splice-bind deadlock
10181
10182 On 2015/11/06, Dmitry Vyukov reported a deadlock involving the splice
10183 system call and AF_UNIX sockets,
10184
10185 http://lists.openwall.net/netdev/2015/11/06/24
10186
10187 The situation was analyzed as
10188
10189 (a while ago) A: socketpair()
10190 B: splice() from a pipe to /mnt/regular_file
10191 does sb_start_write() on /mnt
10192 C: try to freeze /mnt
10193 wait for B to finish with /mnt
10194 A: bind() try to bind our socket to /mnt/new_socket_name
10195 lock our socket, see it not bound yet
10196 decide that it needs to create something in /mnt
10197 try to do sb_start_write() on /mnt, block (it's
10198 waiting for C).
10199 D: splice() from the same pipe to our socket
10200 lock the pipe, see that socket is connected
10201 try to lock the socket, block waiting for A
10202 B: get around to actually feeding a chunk from
10203 pipe to file, try to lock the pipe. Deadlock.
10204
10205 on 2015/11/10 by Al Viro,
10206
10207 http://lists.openwall.net/netdev/2015/11/10/4
10208
10209 The patch fixes this by removing the kern_path_create related code from
10210 unix_mknod and executing it as part of unix_bind prior acquiring the
10211 readlock of the socket in question. This means that A (as used above)
10212 will sb_start_write on /mnt before it acquires the readlock, hence, it
10213 won't indirectly block B which first did a sb_start_write and then
10214 waited for a thread trying to acquire the readlock. Consequently, A
10215 being blocked by C waiting for B won't cause a deadlock anymore
10216 (effectively, both A and B acquire two locks in opposite order in the
10217 situation described above).
10218
10219 Dmitry Vyukov(<dvyukov@google.com>) tested the original patch.
10220
10221 Signed-off-by: Rainer Weikusat <rweikusat@mobileactivedefense.com>
10222 Signed-off-by: David S. Miller <davem@davemloft.net>
10223
10224 Conflicts:
10225
10226 net/unix/af_unix.c
10227
10228 net/unix/af_unix.c | 70 +++++++++++++++++++++++++++++++--------------------
10229 1 files changed, 42 insertions(+), 28 deletions(-)
10230
10231 commit 2e729e557c571f3253e32472cd7d382ac16cf1c3
10232 Author: Qiu Peiyang <peiyangx.qiu@intel.com>
10233 Date: Thu Dec 31 13:11:28 2015 +0800
10234
10235 tracing: Fix setting of start_index in find_next()
10236
10237 When we do cat /sys/kernel/debug/tracing/printk_formats, we hit kernel
10238 panic at t_show.
10239
10240 general protection fault: 0000 [#1] PREEMPT SMP
10241 CPU: 0 PID: 2957 Comm: sh Tainted: G W O 3.14.55-x86_64-01062-gd4acdc7 #2
10242 RIP: 0010:[<ffffffff811375b2>]
10243 [<ffffffff811375b2>] t_show+0x22/0xe0
10244 RSP: 0000:ffff88002b4ebe80 EFLAGS: 00010246
10245 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000004
10246 RDX: 0000000000000004 RSI: ffffffff81fd26a6 RDI: ffff880032f9f7b1
10247 RBP: ffff88002b4ebe98 R08: 0000000000001000 R09: 000000000000ffec
10248 R10: 0000000000000000 R11: 000000000000000f R12: ffff880004d9b6c0
10249 R13: 7365725f6d706400 R14: ffff880004d9b6c0 R15: ffffffff82020570
10250 FS: 0000000000000000(0000) GS:ffff88003aa00000(0063) knlGS:00000000f776bc40
10251 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
10252 CR2: 00000000f6c02ff0 CR3: 000000002c2b3000 CR4: 00000000001007f0
10253 Call Trace:
10254 [<ffffffff811dc076>] seq_read+0x2f6/0x3e0
10255 [<ffffffff811b749b>] vfs_read+0x9b/0x160
10256 [<ffffffff811b7f69>] SyS_read+0x49/0xb0
10257 [<ffffffff81a3a4b9>] ia32_do_call+0x13/0x13
10258 ---[ end trace 5bd9eb630614861e ]---
10259 Kernel panic - not syncing: Fatal exception
10260
10261 When the first time find_next calls find_next_mod_format, it should
10262 iterate the trace_bprintk_fmt_list to find the first print format of
10263 the module. However in current code, start_index is smaller than *pos
10264 at first, and code will not iterate the list. Latter container_of will
10265 get the wrong address with former v, which will cause mod_fmt be a
10266 meaningless object and so is the returned mod_fmt->fmt.
10267
10268 This patch will fix it by correcting the start_index. After fixed,
10269 when the first time calls find_next_mod_format, start_index will be
10270 equal to *pos, and code will iterate the trace_bprintk_fmt_list to
10271 get the right module printk format, so is the returned mod_fmt->fmt.
10272
10273 Link: http://lkml.kernel.org/r/5684B900.9000309@intel.com
10274
10275 Cc: stable@vger.kernel.org # 3.12+
10276 Fixes: 102c9323c35a8 "tracing: Add __tracepoint_string() to export string pointers"
10277 Signed-off-by: Qiu Peiyang <peiyangx.qiu@intel.com>
10278 Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
10279
10280 kernel/trace/trace_printk.c | 1 +
10281 1 files changed, 1 insertions(+), 0 deletions(-)
10282
10283 commit 0994af4b1930f32aa493dc08145cd304f8bfc8f4
10284 Author: Al Viro <viro@zeniv.linux.org.uk>
10285 Date: Mon Dec 28 20:47:08 2015 -0500
10286
10287 [PATCH] arm: fix handling of F_OFD_... in oabi_fcntl64()
10288
10289 Cc: stable@vger.kernel.org # 3.15+
10290 Reviewed-by: Jeff Layton <jeff.layton@primarydata.com>
10291 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
10292
10293 arch/arm/kernel/sys_oabi-compat.c | 73 +++++++++++++++++++------------------
10294 1 files changed, 37 insertions(+), 36 deletions(-)
10295
10296 commit 4ed030f65dcf3e6b0128032a49a7d75f947fa351
10297 Merge: de243c2 3adc55a
10298 Author: Brad Spengler <spender@grsecurity.net>
10299 Date: Tue Jan 5 18:10:10 2016 -0500
10300
10301 Merge branch 'pax-test' into grsec-test
10302
10303 commit 3adc55a5acfa429c2a7cc883aef08b960c0079b0
10304 Author: Brad Spengler <spender@grsecurity.net>
10305 Date: Tue Jan 5 18:08:53 2016 -0500
10306
10307 Update to pax-linux-4.3.3-test16.patch:
10308 - small cleanup in entry_64.S on x86
10309 - Emese fixed the initify plugin to recursively check variable initializers, reported by Rasmus Villemoes
10310 - 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)
10311 - 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)
10312 - 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)
10313 - 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)
10314
10315 arch/x86/entry/entry_64.S | 60 +++++-----
10316 arch/x86/kernel/alternative.c | 2 +-
10317 arch/x86/kvm/emulate.c | 4 +-
10318 tools/gcc/initify_plugin.c | 123 +++++++++----------
10319 .../disable_size_overflow_hash.data | 4 +-
10320 .../size_overflow_plugin/size_overflow_hash.data | 2 -
10321 6 files changed, 93 insertions(+), 102 deletions(-)
10322
10323 commit de243c26efd0e423ca92db825af2c3f8eb1ca043
10324 Author: Brad Spengler <spender@grsecurity.net>
10325 Date: Tue Dec 29 18:01:24 2015 -0500
10326
10327 It was noticed during an internal audit that the code under GRKERNSEC_PROC_MEMMAP
10328 which aimed to enforce a 16MB minimum on RLIMIT_DATA for suid/sgid binaries only
10329 did so if RLIMIT_DATA was set lower than PAGE_SIZE.
10330
10331 This addition was only supplemental as GRKERNSEC_BRUTE is the main defense
10332 against suid/sgid attacks and the flaw above would only eliminate the extra
10333 entropy provided for the brk-managed heap, still leaving it with the minimum
10334 of 16-bit entropy for mmap on x86 and 28 on x64.
10335
10336 mm/mmap.c | 2 +-
10337 1 files changed, 1 insertions(+), 1 deletions(-)
10338
10339 commit 8e264cfe47e5f08cdc9ed009a630277206cd2534
10340 Merge: 436201b 2584340
10341 Author: Brad Spengler <spender@grsecurity.net>
10342 Date: Mon Dec 28 20:30:01 2015 -0500
10343
10344 Merge branch 'pax-test' into grsec-test
10345
10346 commit 2584340eab494e64ec1bf9eb5b0d1ae31f926306
10347 Author: Brad Spengler <spender@grsecurity.net>
10348 Date: Mon Dec 28 20:29:28 2015 -0500
10349
10350 Update to pax-linux-4.3.3-test14.patch:
10351 - 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)
10352 - fixed shutdown crash with tboot and KERNEXEC, reported by perfinion
10353 - fixed a few false positive and one real size overflow reports in hyperv, reported by hunger
10354 - fixed compile regressions on armv5, reported by iamb (https://forums.grsecurity.net/viewtopic.php?f=3&t=4350)
10355 - fixed an assert in the initify plugin that triggered in vic_register on arm
10356
10357 arch/arm/include/asm/atomic.h | 7 +++++--
10358 arch/arm/include/asm/domain.h | 5 ++---
10359 arch/x86/kernel/tboot.c | 14 +++++++++-----
10360 drivers/hv/channel.c | 4 +---
10361 drivers/i2c/busses/i2c-designware-pcidrv.c | 2 +-
10362 drivers/net/hyperv/rndis_filter.c | 3 +--
10363 fs/exec.c | 4 ++--
10364 include/linux/atomic.h | 15 ---------------
10365 net/core/skbuff.c | 3 ++-
10366 tools/gcc/initify_plugin.c | 4 +++-
10367 10 files changed, 26 insertions(+), 35 deletions(-)
10368
10369 commit 436201b6626b488d173c8076447000077c27b84a
10370 Author: David Howells <dhowells@redhat.com>
10371 Date: Fri Dec 18 01:34:26 2015 +0000
10372
10373 KEYS: Fix race between read and revoke
10374
10375 This fixes CVE-2015-7550.
10376
10377 There's a race between keyctl_read() and keyctl_revoke(). If the revoke
10378 happens between keyctl_read() checking the validity of a key and the key's
10379 semaphore being taken, then the key type read method will see a revoked key.
10380
10381 This causes a problem for the user-defined key type because it assumes in
10382 its read method that there will always be a payload in a non-revoked key
10383 and doesn't check for a NULL pointer.
10384
10385 Fix this by making keyctl_read() check the validity of a key after taking
10386 semaphore instead of before.
10387
10388 I think the bug was introduced with the original keyrings code.
10389
10390 This was discovered by a multithreaded test program generated by syzkaller
10391 (http://github.com/google/syzkaller). Here's a cleaned up version:
10392
10393 #include <sys/types.h>
10394 #include <keyutils.h>
10395 #include <pthread.h>
10396 void *thr0(void *arg)
10397 {
10398 key_serial_t key = (unsigned long)arg;
10399 keyctl_revoke(key);
10400 return 0;
10401 }
10402 void *thr1(void *arg)
10403 {
10404 key_serial_t key = (unsigned long)arg;
10405 char buffer[16];
10406 keyctl_read(key, buffer, 16);
10407 return 0;
10408 }
10409 int main()
10410 {
10411 key_serial_t key = add_key("user", "%", "foo", 3, KEY_SPEC_USER_KEYRING);
10412 pthread_t th[5];
10413 pthread_create(&th[0], 0, thr0, (void *)(unsigned long)key);
10414 pthread_create(&th[1], 0, thr1, (void *)(unsigned long)key);
10415 pthread_create(&th[2], 0, thr0, (void *)(unsigned long)key);
10416 pthread_create(&th[3], 0, thr1, (void *)(unsigned long)key);
10417 pthread_join(th[0], 0);
10418 pthread_join(th[1], 0);
10419 pthread_join(th[2], 0);
10420 pthread_join(th[3], 0);
10421 return 0;
10422 }
10423
10424 Build as:
10425
10426 cc -o keyctl-race keyctl-race.c -lkeyutils -lpthread
10427
10428 Run as:
10429
10430 while keyctl-race; do :; done
10431
10432 as it may need several iterations to crash the kernel. The crash can be
10433 summarised as:
10434
10435 BUG: unable to handle kernel NULL pointer dereference at 0000000000000010
10436 IP: [<ffffffff81279b08>] user_read+0x56/0xa3
10437 ...
10438 Call Trace:
10439 [<ffffffff81276aa9>] keyctl_read_key+0xb6/0xd7
10440 [<ffffffff81277815>] SyS_keyctl+0x83/0xe0
10441 [<ffffffff815dbb97>] entry_SYSCALL_64_fastpath+0x12/0x6f
10442
10443 Reported-by: Dmitry Vyukov <dvyukov@google.com>
10444 Signed-off-by: David Howells <dhowells@redhat.com>
10445 Tested-by: Dmitry Vyukov <dvyukov@google.com>
10446 Cc: stable@vger.kernel.org
10447 Signed-off-by: James Morris <james.l.morris@oracle.com>
10448
10449 security/keys/keyctl.c | 18 +++++++++---------
10450 1 files changed, 9 insertions(+), 9 deletions(-)
10451
10452 commit 195cea04477025da4a2078bd3e1fb7c4e11206c2
10453 Author: Brad Spengler <spender@grsecurity.net>
10454 Date: Tue Dec 22 20:44:01 2015 -0500
10455
10456 Add new kernel command-line param: pax_size_overflow_report_only
10457 If a user triggers a size_overflow violation that makes it difficult
10458 to obtain the call trace without serial console/net console, they can
10459 use this option to provide that information to us
10460
10461 Documentation/kernel-parameters.txt | 5 +++++
10462 fs/exec.c | 12 +++++++++---
10463 init/main.c | 11 +++++++++++
10464 3 files changed, 25 insertions(+), 3 deletions(-)
10465
10466 commit 4254a8da5851df8c08cdca5c392916e8c105408d
10467 Author: WANG Cong <xiyou.wangcong@gmail.com>
10468 Date: Mon Dec 21 10:55:45 2015 -0800
10469
10470 addrconf: always initialize sysctl table data
10471
10472 When sysctl performs restrict writes, it allows to write from
10473 a middle position of a sysctl file, which requires us to initialize
10474 the table data before calling proc_dostring() for the write case.
10475
10476 Fixes: 3d1bec99320d ("ipv6: introduce secret_stable to ipv6_devconf")
10477 Reported-by: Sasha Levin <sasha.levin@oracle.com>
10478 Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
10479 Tested-by: Sasha Levin <sasha.levin@oracle.com>
10480 Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
10481 Signed-off-by: David S. Miller <davem@davemloft.net>
10482
10483 net/ipv6/addrconf.c | 11 ++++-------
10484 1 files changed, 4 insertions(+), 7 deletions(-)
10485
10486 commit f8002863fb06c363180637046947a78a6ccb3d33
10487 Author: WANG Cong <xiyou.wangcong@gmail.com>
10488 Date: Wed Dec 16 23:39:04 2015 -0800
10489
10490 net: check both type and procotol for tcp sockets
10491
10492 Dmitry reported the following out-of-bound access:
10493
10494 Call Trace:
10495 [<ffffffff816cec2e>] __asan_report_load4_noabort+0x3e/0x40
10496 mm/kasan/report.c:294
10497 [<ffffffff84affb14>] sock_setsockopt+0x1284/0x13d0 net/core/sock.c:880
10498 [< inline >] SYSC_setsockopt net/socket.c:1746
10499 [<ffffffff84aed7ee>] SyS_setsockopt+0x1fe/0x240 net/socket.c:1729
10500 [<ffffffff85c18c76>] entry_SYSCALL_64_fastpath+0x16/0x7a
10501 arch/x86/entry/entry_64.S:185
10502
10503 This is because we mistake a raw socket as a tcp socket.
10504 We should check both sk->sk_type and sk->sk_protocol to ensure
10505 it is a tcp socket.
10506
10507 Willem points out __skb_complete_tx_timestamp() needs to fix as well.
10508
10509 Reported-by: Dmitry Vyukov <dvyukov@google.com>
10510 Cc: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
10511 Cc: Eric Dumazet <eric.dumazet@gmail.com>
10512 Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
10513 Acked-by: Willem de Bruijn <willemb@google.com>
10514 Signed-off-by: David S. Miller <davem@davemloft.net>
10515
10516 net/core/skbuff.c | 3 ++-
10517 net/core/sock.c | 3 ++-
10518 2 files changed, 4 insertions(+), 2 deletions(-)
10519
10520 commit bd6b3399804470a4ad8f34229469ca149dceba3d
10521 Author: Colin Ian King <colin.king@canonical.com>
10522 Date: Fri Dec 18 14:22:01 2015 -0800
10523
10524 proc: fix -ESRCH error when writing to /proc/$pid/coredump_filter
10525
10526 Writing to /proc/$pid/coredump_filter always returns -ESRCH because commit
10527 774636e19ed51 ("proc: convert to kstrto*()/kstrto*_from_user()") removed
10528 the setting of ret after the get_proc_task call and incorrectly left it as
10529 -ESRCH. Instead, return 0 when successful.
10530
10531 Example breakage:
10532
10533 echo 0 > /proc/self/coredump_filter
10534 bash: echo: write error: No such process
10535
10536 Fixes: 774636e19ed51 ("proc: convert to kstrto*()/kstrto*_from_user()")
10537 Signed-off-by: Colin Ian King <colin.king@canonical.com>
10538 Acked-by: Kees Cook <keescook@chromium.org>
10539 Cc: <stable@vger.kernel.org> [4.3+]
10540 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
10541 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
10542
10543 fs/proc/base.c | 1 +
10544 1 files changed, 1 insertions(+), 0 deletions(-)
10545
10546 commit b28aca2b99ed08546778355fb9402c503ff9b29e
10547 Author: Junichi Nomura <j-nomura@ce.jp.nec.com>
10548 Date: Tue Dec 22 10:23:44 2015 -0700
10549
10550 block: ensure to split after potentially bouncing a bio
10551
10552 blk_queue_bio() does split then bounce, which makes the segment
10553 counting based on pages before bouncing and could go wrong. Move
10554 the split to after bouncing, like we do for blk-mq, and the we
10555 fix the issue of having the bio count for segments be wrong.
10556
10557 Fixes: 54efd50bfd87 ("block: make generic_make_request handle arbitrarily sized bios")
10558 Cc: stable@vger.kernel.org
10559 Tested-by: Artem S. Tashkinov <t.artem@lycos.com>
10560 Signed-off-by: Jens Axboe <axboe@fb.com>
10561
10562 block/blk-core.c | 4 ++--
10563 1 files changed, 2 insertions(+), 2 deletions(-)
10564
10565 commit e62a25e917a9e5b35ddd5b4f1b5e5e30fbd2e84c
10566 Merge: f6f63ae ec72fa5
10567 Author: Brad Spengler <spender@grsecurity.net>
10568 Date: Tue Dec 22 19:46:26 2015 -0500
10569
10570 Merge branch 'pax-test' into grsec-test
10571
10572 commit ec72fa5f8d9cb4e223bad1b8b5c2e1071c222f2a
10573 Author: Brad Spengler <spender@grsecurity.net>
10574 Date: Tue Dec 22 19:45:51 2015 -0500
10575
10576 Update to pax-linux-4.3.3-test13.patch:
10577 - 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)
10578 - 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)
10579
10580 arch/arm/mm/fault.c | 2 +-
10581 arch/x86/mm/fault.c | 2 +-
10582 fs/btrfs/extent_map.c | 8 ++++++--
10583 fs/xfs/libxfs/xfs_da_btree.c | 4 +++-
10584 4 files changed, 11 insertions(+), 5 deletions(-)
10585
10586 commit f6f63ae154cd45028add1dc41957878060d77fbf
10587 Author: Brad Spengler <spender@grsecurity.net>
10588 Date: Thu Dec 17 18:43:44 2015 -0500
10589
10590 ptrace_has_cap() checks whether the current process should be
10591 treated as having a certain capability for ptrace checks
10592 against another process. Until now, this was equivalent to
10593 has_ns_capability(current, target_ns, CAP_SYS_PTRACE).
10594
10595 However, if a root-owned process wants to enter a user
10596 namespace for some reason without knowing who owns it and
10597 therefore can't change to the namespace owner's uid and gid
10598 before entering, as soon as it has entered the namespace,
10599 the namespace owner can attach to it via ptrace and thereby
10600 gain access to its uid and gid.
10601
10602 While it is possible for the entering process to switch to
10603 the uid of a claimed namespace owner before entering,
10604 causing the attempt to enter to fail if the claimed uid is
10605 wrong, this doesn't solve the problem of determining an
10606 appropriate gid.
10607
10608 With this change, the entering process can first enter the
10609 namespace and then safely inspect the namespace's
10610 properties, e.g. through /proc/self/{uid_map,gid_map},
10611 assuming that the namespace owner doesn't have access to
10612 uid 0.
10613 Signed-off-by: Jann Horn <jann@thejh.net>
10614
10615 kernel/ptrace.c | 30 +++++++++++++++++++++++++-----
10616 1 files changed, 25 insertions(+), 5 deletions(-)
10617
10618 commit e314f0fb63020f61543b401ff594e953c2c304e5
10619 Author: tadeusz.struk@intel.com <tadeusz.struk@intel.com>
10620 Date: Tue Dec 15 10:46:17 2015 -0800
10621
10622 net: fix uninitialized variable issue
10623
10624 msg_iocb needs to be initialized on the recv/recvfrom path.
10625 Otherwise afalg will wrongly interpret it as an async call.
10626
10627 Cc: stable@vger.kernel.org
10628 Reported-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
10629 Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
10630 Signed-off-by: David S. Miller <davem@davemloft.net>
10631
10632 net/socket.c | 1 +
10633 1 files changed, 1 insertions(+), 0 deletions(-)
10634
10635 commit a3f56a43ad56b8fcaf04f6327636ed2f5970de3b
10636 Merge: dfa764c 142edcf
10637 Author: Brad Spengler <spender@grsecurity.net>
10638 Date: Wed Dec 16 21:01:17 2015 -0500
10639
10640 Merge branch 'pax-test' into grsec-test
10641
10642 commit 142edcf1005a57fb8887823565cf0bafad2f313c
10643 Author: Brad Spengler <spender@grsecurity.net>
10644 Date: Wed Dec 16 21:00:57 2015 -0500
10645
10646 Update to pax-linux-4.3.3-test12.patch:
10647 - 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)
10648 - 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)
10649
10650 drivers/tty/n_tty.c | 16 ++++++++--------
10651 .../disable_size_overflow_hash.data | 2 ++
10652 .../size_overflow_plugin/size_overflow_hash.data | 6 ++----
10653 3 files changed, 12 insertions(+), 12 deletions(-)
10654
10655 commit dfa764cc549892a5bfc1083cac78b99032cae577
10656 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
10657 Date: Tue Dec 15 22:59:12 2015 +0100
10658
10659 ipv6: automatically enable stable privacy mode if stable_secret set
10660
10661 Bjørn reported that while we switch all interfaces to privacy stable mode
10662 when setting the secret, we don't set this mode for new interfaces. This
10663 does not make sense, so change this behaviour.
10664
10665 Fixes: 622c81d57b392cc ("ipv6: generation of stable privacy addresses for link-local and autoconf")
10666 Reported-by: Bjørn Mork <bjorn@mork.no>
10667 Cc: Bjørn Mork <bjorn@mork.no>
10668 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
10669 Signed-off-by: David S. Miller <davem@davemloft.net>
10670
10671 net/ipv6/addrconf.c | 6 ++++++
10672 1 files changed, 6 insertions(+), 0 deletions(-)
10673
10674 commit c2815a1fee03f222273e77c14e43f960da06f35a
10675 Author: Brad Spengler <spender@grsecurity.net>
10676 Date: Wed Dec 16 13:03:38 2015 -0500
10677
10678 Work around upstream limitation on the number of thread info flags causing a compilation error
10679 Reported by fabled at http://forums.grsecurity.net/viewtopic.php?f=3&t=4339
10680
10681 arch/arm/kernel/entry-common.S | 8 ++++++--
10682 1 files changed, 6 insertions(+), 2 deletions(-)
10683
10684 commit 8c9ae168e09ae49324d709d76d73d9fc4ca477e1
10685 Author: Brad Spengler <spender@grsecurity.net>
10686 Date: Tue Dec 15 19:03:41 2015 -0500
10687
10688 Initial import of grsecurity 3.1 for Linux 4.3.3
10689
10690 Documentation/dontdiff | 2 +
10691 Documentation/kernel-parameters.txt | 7 +
10692 Documentation/sysctl/kernel.txt | 15 +
10693 Makefile | 18 +-
10694 arch/alpha/include/asm/cache.h | 4 +-
10695 arch/alpha/kernel/osf_sys.c | 12 +-
10696 arch/arc/Kconfig | 1 +
10697 arch/arm/Kconfig | 1 +
10698 arch/arm/Kconfig.debug | 1 +
10699 arch/arm/include/asm/thread_info.h | 7 +-
10700 arch/arm/kernel/process.c | 4 +-
10701 arch/arm/kernel/ptrace.c | 9 +
10702 arch/arm/kernel/traps.c | 7 +-
10703 arch/arm/mm/Kconfig | 2 +-
10704 arch/arm/mm/fault.c | 40 +-
10705 arch/arm/mm/mmap.c | 8 +-
10706 arch/arm/net/bpf_jit_32.c | 51 +-
10707 arch/arm64/Kconfig.debug | 1 +
10708 arch/avr32/include/asm/cache.h | 4 +-
10709 arch/blackfin/Kconfig.debug | 1 +
10710 arch/blackfin/include/asm/cache.h | 3 +-
10711 arch/cris/include/arch-v10/arch/cache.h | 3 +-
10712 arch/cris/include/arch-v32/arch/cache.h | 3 +-
10713 arch/frv/include/asm/cache.h | 3 +-
10714 arch/frv/mm/elf-fdpic.c | 4 +-
10715 arch/hexagon/include/asm/cache.h | 6 +-
10716 arch/ia64/Kconfig | 1 +
10717 arch/ia64/include/asm/cache.h | 3 +-
10718 arch/ia64/kernel/sys_ia64.c | 2 +
10719 arch/ia64/mm/hugetlbpage.c | 2 +
10720 arch/m32r/include/asm/cache.h | 4 +-
10721 arch/m68k/include/asm/cache.h | 4 +-
10722 arch/metag/mm/hugetlbpage.c | 1 +
10723 arch/microblaze/include/asm/cache.h | 3 +-
10724 arch/mips/Kconfig | 1 +
10725 arch/mips/include/asm/cache.h | 3 +-
10726 arch/mips/include/asm/thread_info.h | 11 +-
10727 arch/mips/kernel/irq.c | 3 +
10728 arch/mips/kernel/ptrace.c | 9 +
10729 arch/mips/mm/mmap.c | 4 +-
10730 arch/mn10300/proc-mn103e010/include/proc/cache.h | 4 +-
10731 arch/mn10300/proc-mn2ws0050/include/proc/cache.h | 4 +-
10732 arch/openrisc/include/asm/cache.h | 4 +-
10733 arch/parisc/include/asm/cache.h | 5 +-
10734 arch/parisc/kernel/sys_parisc.c | 4 +
10735 arch/powerpc/Kconfig | 1 +
10736 arch/powerpc/include/asm/cache.h | 4 +-
10737 arch/powerpc/include/asm/thread_info.h | 5 +-
10738 arch/powerpc/kernel/Makefile | 2 +
10739 arch/powerpc/kernel/irq.c | 3 +
10740 arch/powerpc/kernel/process.c | 10 +-
10741 arch/powerpc/kernel/ptrace.c | 14 +
10742 arch/powerpc/kernel/traps.c | 5 +
10743 arch/powerpc/mm/slice.c | 2 +-
10744 arch/s390/Kconfig.debug | 1 +
10745 arch/s390/include/asm/cache.h | 4 +-
10746 arch/score/include/asm/cache.h | 4 +-
10747 arch/sh/include/asm/cache.h | 3 +-
10748 arch/sh/mm/mmap.c | 6 +-
10749 arch/sparc/include/asm/cache.h | 4 +-
10750 arch/sparc/include/asm/pgalloc_64.h | 1 +
10751 arch/sparc/include/asm/thread_info_64.h | 8 +-
10752 arch/sparc/kernel/process_32.c | 6 +-
10753 arch/sparc/kernel/process_64.c | 8 +-
10754 arch/sparc/kernel/ptrace_64.c | 14 +
10755 arch/sparc/kernel/sys_sparc_64.c | 8 +-
10756 arch/sparc/kernel/syscalls.S | 8 +-
10757 arch/sparc/kernel/traps_32.c | 8 +-
10758 arch/sparc/kernel/traps_64.c | 28 +-
10759 arch/sparc/kernel/unaligned_64.c | 2 +-
10760 arch/sparc/mm/fault_64.c | 2 +-
10761 arch/sparc/mm/hugetlbpage.c | 15 +-
10762 arch/tile/Kconfig | 1 +
10763 arch/tile/include/asm/cache.h | 3 +-
10764 arch/tile/mm/hugetlbpage.c | 2 +
10765 arch/um/include/asm/cache.h | 3 +-
10766 arch/unicore32/include/asm/cache.h | 6 +-
10767 arch/x86/Kconfig | 21 +
10768 arch/x86/Kconfig.debug | 2 +
10769 arch/x86/entry/common.c | 14 +
10770 arch/x86/entry/entry_32.S | 2 +-
10771 arch/x86/entry/entry_64.S | 2 +-
10772 arch/x86/ia32/ia32_aout.c | 2 +
10773 arch/x86/include/asm/floppy.h | 20 +-
10774 arch/x86/include/asm/fpu/types.h | 69 +-
10775 arch/x86/include/asm/io.h | 2 +-
10776 arch/x86/include/asm/page.h | 12 +-
10777 arch/x86/include/asm/paravirt_types.h | 23 +-
10778 arch/x86/include/asm/processor.h | 12 +-
10779 arch/x86/include/asm/thread_info.h | 6 +-
10780 arch/x86/include/asm/uaccess.h | 2 +-
10781 arch/x86/kernel/dumpstack.c | 10 +-
10782 arch/x86/kernel/dumpstack_32.c | 2 +-
10783 arch/x86/kernel/dumpstack_64.c | 2 +-
10784 arch/x86/kernel/ioport.c | 13 +
10785 arch/x86/kernel/irq_32.c | 3 +
10786 arch/x86/kernel/irq_64.c | 4 +
10787 arch/x86/kernel/ldt.c | 18 +
10788 arch/x86/kernel/msr.c | 10 +
10789 arch/x86/kernel/ptrace.c | 14 +
10790 arch/x86/kernel/signal.c | 9 +-
10791 arch/x86/kernel/sys_i386_32.c | 9 +-
10792 arch/x86/kernel/sys_x86_64.c | 8 +-
10793 arch/x86/kernel/traps.c | 5 +
10794 arch/x86/kernel/verify_cpu.S | 1 +
10795 arch/x86/kernel/vm86_32.c | 15 +
10796 arch/x86/kvm/svm.c | 14 +-
10797 arch/x86/mm/fault.c | 12 +-
10798 arch/x86/mm/hugetlbpage.c | 15 +-
10799 arch/x86/mm/init.c | 66 +-
10800 arch/x86/mm/init_32.c | 6 +-
10801 arch/x86/net/bpf_jit_comp.c | 4 +
10802 arch/x86/platform/efi/efi_64.c | 2 +-
10803 arch/x86/xen/Kconfig | 1 +
10804 arch/xtensa/variants/dc232b/include/variant/core.h | 2 +-
10805 arch/xtensa/variants/fsf/include/variant/core.h | 3 +-
10806 crypto/ablkcipher.c | 2 +-
10807 crypto/blkcipher.c | 2 +-
10808 crypto/scatterwalk.c | 10 +-
10809 drivers/acpi/acpica/hwxfsleep.c | 11 +-
10810 drivers/acpi/custom_method.c | 4 +
10811 drivers/block/cciss.h | 30 +-
10812 drivers/block/smart1,2.h | 40 +-
10813 drivers/cdrom/cdrom.c | 2 +-
10814 drivers/char/Kconfig | 4 +-
10815 drivers/char/genrtc.c | 1 +
10816 drivers/char/ipmi/ipmi_si_intf.c | 8 +-
10817 drivers/char/mem.c | 17 +
10818 drivers/char/random.c | 5 +-
10819 drivers/cpufreq/sparc-us3-cpufreq.c | 2 -
10820 drivers/crypto/nx/nx-aes-ccm.c | 2 +-
10821 drivers/crypto/nx/nx-aes-gcm.c | 2 +-
10822 drivers/crypto/talitos.c | 2 +-
10823 drivers/firewire/ohci.c | 4 +
10824 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 70 +-
10825 drivers/gpu/drm/nouveau/nouveau_ttm.c | 28 +-
10826 drivers/gpu/drm/ttm/ttm_bo_manager.c | 10 +-
10827 drivers/gpu/drm/virtio/virtgpu_ttm.c | 10 +-
10828 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c | 10 +-
10829 drivers/hid/hid-wiimote-debug.c | 2 +-
10830 drivers/infiniband/hw/nes/nes_cm.c | 22 +-
10831 drivers/iommu/Kconfig | 1 +
10832 drivers/iommu/amd_iommu.c | 14 +-
10833 drivers/isdn/gigaset/bas-gigaset.c | 32 +-
10834 drivers/isdn/gigaset/ser-gigaset.c | 32 +-
10835 drivers/isdn/gigaset/usb-gigaset.c | 32 +-
10836 drivers/isdn/hisax/config.c | 2 +-
10837 drivers/isdn/hisax/hfc_pci.c | 2 +-
10838 drivers/isdn/hisax/hfc_sx.c | 2 +-
10839 drivers/isdn/hisax/q931.c | 6 +-
10840 drivers/isdn/i4l/isdn_concap.c | 6 +-
10841 drivers/isdn/i4l/isdn_x25iface.c | 16 +-
10842 drivers/md/bcache/Kconfig | 1 +
10843 drivers/md/raid5.c | 8 +
10844 drivers/media/pci/solo6x10/solo6x10-g723.c | 2 +-
10845 drivers/media/platform/sti/c8sectpfe/Kconfig | 1 +
10846 drivers/media/platform/vivid/vivid-osd.c | 1 +
10847 drivers/media/radio/radio-cadet.c | 5 +-
10848 drivers/media/usb/dvb-usb/cinergyT2-core.c | 91 +-
10849 drivers/media/usb/dvb-usb/cinergyT2-fe.c | 182 +-
10850 drivers/media/usb/dvb-usb/dvb-usb-firmware.c | 37 +-
10851 drivers/media/usb/dvb-usb/technisat-usb2.c | 75 +-
10852 drivers/message/fusion/mptbase.c | 9 +
10853 drivers/misc/sgi-xp/xp_main.c | 12 +-
10854 drivers/net/ethernet/brocade/bna/bna_enet.c | 8 +-
10855 drivers/net/ppp/pppoe.c | 14 +-
10856 drivers/net/ppp/pptp.c | 6 +
10857 drivers/net/slip/slhc.c | 3 +
10858 drivers/net/wan/lmc/lmc_media.c | 97 +-
10859 drivers/net/wan/x25_asy.c | 6 +-
10860 drivers/net/wan/z85230.c | 24 +-
10861 drivers/net/wireless/ath/ath9k/Kconfig | 1 -
10862 drivers/net/wireless/zd1211rw/zd_usb.c | 2 +-
10863 drivers/pci/pci-sysfs.c | 2 +-
10864 drivers/pci/proc.c | 9 +
10865 drivers/platform/x86/asus-wmi.c | 12 +
10866 drivers/rtc/rtc-dev.c | 3 +
10867 drivers/scsi/bfa/bfa_fcs.c | 19 +-
10868 drivers/scsi/bfa/bfa_fcs_lport.c | 29 +-
10869 drivers/scsi/bfa/bfa_modules.h | 12 +-
10870 drivers/scsi/hpsa.h | 40 +-
10871 drivers/staging/dgnc/dgnc_mgmt.c | 1 +
10872 drivers/staging/lustre/lustre/ldlm/ldlm_flock.c | 2 +-
10873 drivers/staging/lustre/lustre/libcfs/module.c | 10 +-
10874 drivers/target/target_core_sbc.c | 17 +-
10875 drivers/target/target_core_transport.c | 14 +-
10876 drivers/tty/serial/uartlite.c | 4 +-
10877 drivers/tty/sysrq.c | 2 +-
10878 drivers/tty/vt/keyboard.c | 22 +-
10879 drivers/uio/uio.c | 6 +-
10880 drivers/usb/core/hub.c | 5 +
10881 drivers/usb/gadget/function/f_uac1.c | 1 +
10882 drivers/usb/gadget/function/u_uac1.c | 1 +
10883 drivers/usb/host/hwa-hc.c | 9 +-
10884 drivers/usb/usbip/vhci_sysfs.c | 2 +-
10885 drivers/video/fbdev/arcfb.c | 2 +-
10886 drivers/video/fbdev/matrox/matroxfb_DAC1064.c | 10 +-
10887 drivers/video/fbdev/matrox/matroxfb_Ti3026.c | 5 +-
10888 drivers/video/fbdev/sh_mobile_lcdcfb.c | 6 +-
10889 drivers/video/logo/logo_linux_clut224.ppm | 2720 ++++-----
10890 drivers/xen/xenfs/xenstored.c | 5 +
10891 firmware/Makefile | 2 +
10892 firmware/WHENCE | 20 +-
10893 firmware/bnx2/bnx2-mips-06-6.2.3.fw.ihex | 5804 +++++++++++++++++
10894 firmware/bnx2/bnx2-mips-09-6.2.1b.fw.ihex | 6496 ++++++++++++++++++++
10895 fs/9p/vfs_inode.c | 4 +-
10896 fs/attr.c | 1 +
10897 fs/autofs4/waitq.c | 9 +
10898 fs/binfmt_aout.c | 7 +
10899 fs/binfmt_elf.c | 50 +-
10900 fs/compat.c | 20 +-
10901 fs/coredump.c | 17 +-
10902 fs/dcache.c | 3 +
10903 fs/debugfs/inode.c | 11 +-
10904 fs/exec.c | 219 +-
10905 fs/ext2/balloc.c | 4 +-
10906 fs/ext2/super.c | 8 +-
10907 fs/ext4/balloc.c | 4 +-
10908 fs/fcntl.c | 4 +
10909 fs/fhandle.c | 3 +-
10910 fs/file.c | 4 +
10911 fs/filesystems.c | 4 +
10912 fs/fs_struct.c | 20 +-
10913 fs/hugetlbfs/inode.c | 5 +-
10914 fs/inode.c | 8 +-
10915 fs/kernfs/dir.c | 6 +
10916 fs/mount.h | 4 +-
10917 fs/namei.c | 286 +-
10918 fs/namespace.c | 24 +
10919 fs/nfsd/nfscache.c | 2 +-
10920 fs/open.c | 38 +
10921 fs/overlayfs/inode.c | 11 +-
10922 fs/overlayfs/super.c | 6 +-
10923 fs/pipe.c | 2 +-
10924 fs/posix_acl.c | 15 +-
10925 fs/proc/Kconfig | 10 +-
10926 fs/proc/array.c | 69 +-
10927 fs/proc/base.c | 186 +-
10928 fs/proc/cmdline.c | 4 +
10929 fs/proc/devices.c | 4 +
10930 fs/proc/fd.c | 17 +-
10931 fs/proc/generic.c | 64 +
10932 fs/proc/inode.c | 17 +
10933 fs/proc/internal.h | 11 +-
10934 fs/proc/interrupts.c | 4 +
10935 fs/proc/kcore.c | 3 +
10936 fs/proc/meminfo.c | 7 +-
10937 fs/proc/namespaces.c | 4 +-
10938 fs/proc/proc_net.c | 31 +
10939 fs/proc/proc_sysctl.c | 52 +-
10940 fs/proc/root.c | 8 +
10941 fs/proc/stat.c | 69 +-
10942 fs/proc/task_mmu.c | 66 +-
10943 fs/readdir.c | 19 +
10944 fs/reiserfs/item_ops.c | 24 +-
10945 fs/reiserfs/super.c | 4 +
10946 fs/select.c | 2 +
10947 fs/seq_file.c | 30 +-
10948 fs/splice.c | 8 +
10949 fs/stat.c | 20 +-
10950 fs/sysfs/dir.c | 30 +-
10951 fs/sysv/inode.c | 11 +-
10952 fs/utimes.c | 7 +
10953 fs/xattr.c | 26 +-
10954 grsecurity/Kconfig | 1182 ++++
10955 grsecurity/Makefile | 54 +
10956 grsecurity/gracl.c | 2757 +++++++++
10957 grsecurity/gracl_alloc.c | 105 +
10958 grsecurity/gracl_cap.c | 127 +
10959 grsecurity/gracl_compat.c | 269 +
10960 grsecurity/gracl_fs.c | 448 ++
10961 grsecurity/gracl_ip.c | 386 ++
10962 grsecurity/gracl_learn.c | 207 +
10963 grsecurity/gracl_policy.c | 1786 ++++++
10964 grsecurity/gracl_res.c | 68 +
10965 grsecurity/gracl_segv.c | 304 +
10966 grsecurity/gracl_shm.c | 40 +
10967 grsecurity/grsec_chdir.c | 19 +
10968 grsecurity/grsec_chroot.c | 467 ++
10969 grsecurity/grsec_disabled.c | 445 ++
10970 grsecurity/grsec_exec.c | 189 +
10971 grsecurity/grsec_fifo.c | 26 +
10972 grsecurity/grsec_fork.c | 23 +
10973 grsecurity/grsec_init.c | 290 +
10974 grsecurity/grsec_ipc.c | 48 +
10975 grsecurity/grsec_link.c | 65 +
10976 grsecurity/grsec_log.c | 340 +
10977 grsecurity/grsec_mem.c | 48 +
10978 grsecurity/grsec_mount.c | 65 +
10979 grsecurity/grsec_pax.c | 47 +
10980 grsecurity/grsec_proc.c | 20 +
10981 grsecurity/grsec_ptrace.c | 30 +
10982 grsecurity/grsec_sig.c | 236 +
10983 grsecurity/grsec_sock.c | 244 +
10984 grsecurity/grsec_sysctl.c | 488 ++
10985 grsecurity/grsec_time.c | 16 +
10986 grsecurity/grsec_tpe.c | 78 +
10987 grsecurity/grsec_usb.c | 15 +
10988 grsecurity/grsum.c | 64 +
10989 include/linux/binfmts.h | 5 +-
10990 include/linux/bitops.h | 2 +-
10991 include/linux/capability.h | 13 +
10992 include/linux/compiler-gcc.h | 5 +
10993 include/linux/compiler.h | 8 +
10994 include/linux/cred.h | 8 +-
10995 include/linux/dcache.h | 5 +-
10996 include/linux/fs.h | 24 +-
10997 include/linux/fs_struct.h | 2 +-
10998 include/linux/fsnotify.h | 6 +
10999 include/linux/gracl.h | 342 +
11000 include/linux/gracl_compat.h | 156 +
11001 include/linux/gralloc.h | 9 +
11002 include/linux/grdefs.h | 140 +
11003 include/linux/grinternal.h | 230 +
11004 include/linux/grmsg.h | 118 +
11005 include/linux/grsecurity.h | 255 +
11006 include/linux/grsock.h | 19 +
11007 include/linux/ipc.h | 2 +-
11008 include/linux/ipc_namespace.h | 2 +-
11009 include/linux/kallsyms.h | 18 +-
11010 include/linux/kmod.h | 5 +
11011 include/linux/kobject.h | 2 +-
11012 include/linux/lsm_hooks.h | 4 +-
11013 include/linux/mm.h | 12 +
11014 include/linux/mm_types.h | 4 +-
11015 include/linux/module.h | 5 +-
11016 include/linux/mount.h | 2 +-
11017 include/linux/msg.h | 2 +-
11018 include/linux/netfilter/xt_gradm.h | 9 +
11019 include/linux/path.h | 4 +-
11020 include/linux/perf_event.h | 13 +-
11021 include/linux/pid_namespace.h | 2 +-
11022 include/linux/printk.h | 2 +-
11023 include/linux/proc_fs.h | 22 +-
11024 include/linux/proc_ns.h | 2 +-
11025 include/linux/ptrace.h | 24 +-
11026 include/linux/random.h | 2 +-
11027 include/linux/rbtree_augmented.h | 4 +-
11028 include/linux/scatterlist.h | 12 +-
11029 include/linux/sched.h | 114 +-
11030 include/linux/security.h | 1 +
11031 include/linux/sem.h | 2 +-
11032 include/linux/seq_file.h | 5 +
11033 include/linux/shm.h | 6 +-
11034 include/linux/skbuff.h | 3 +
11035 include/linux/slab.h | 9 -
11036 include/linux/sysctl.h | 8 +-
11037 include/linux/thread_info.h | 6 +-
11038 include/linux/tty.h | 2 +-
11039 include/linux/tty_driver.h | 4 +-
11040 include/linux/uidgid.h | 5 +
11041 include/linux/user_namespace.h | 2 +-
11042 include/linux/utsname.h | 2 +-
11043 include/linux/vermagic.h | 16 +-
11044 include/linux/vmalloc.h | 20 +-
11045 include/net/af_unix.h | 2 +-
11046 include/net/dst.h | 33 +
11047 include/net/ip.h | 2 +-
11048 include/net/neighbour.h | 2 +-
11049 include/net/net_namespace.h | 2 +-
11050 include/net/sock.h | 4 +-
11051 include/target/target_core_base.h | 2 +-
11052 include/trace/events/fs.h | 53 +
11053 include/uapi/linux/personality.h | 1 +
11054 init/Kconfig | 4 +-
11055 init/main.c | 35 +-
11056 ipc/mqueue.c | 1 +
11057 ipc/msg.c | 3 +-
11058 ipc/sem.c | 3 +-
11059 ipc/shm.c | 26 +-
11060 ipc/util.c | 6 +
11061 kernel/auditsc.c | 2 +-
11062 kernel/bpf/syscall.c | 8 +-
11063 kernel/capability.c | 41 +-
11064 kernel/cgroup.c | 5 +-
11065 kernel/compat.c | 1 +
11066 kernel/configs.c | 11 +
11067 kernel/cred.c | 112 +-
11068 kernel/events/core.c | 16 +-
11069 kernel/exit.c | 10 +-
11070 kernel/fork.c | 86 +-
11071 kernel/futex.c | 6 +-
11072 kernel/futex_compat.c | 2 +-
11073 kernel/kallsyms.c | 9 +
11074 kernel/kcmp.c | 8 +-
11075 kernel/kexec_core.c | 2 +-
11076 kernel/kmod.c | 95 +-
11077 kernel/kprobes.c | 7 +-
11078 kernel/ksysfs.c | 2 +
11079 kernel/locking/lockdep_proc.c | 10 +-
11080 kernel/module.c | 108 +-
11081 kernel/panic.c | 4 +-
11082 kernel/pid.c | 23 +-
11083 kernel/power/Kconfig | 2 +
11084 kernel/printk/printk.c | 20 +-
11085 kernel/ptrace.c | 56 +-
11086 kernel/resource.c | 10 +
11087 kernel/sched/core.c | 11 +-
11088 kernel/signal.c | 37 +-
11089 kernel/sys.c | 64 +-
11090 kernel/sysctl.c | 172 +-
11091 kernel/taskstats.c | 6 +
11092 kernel/time/posix-timers.c | 8 +
11093 kernel/time/time.c | 5 +
11094 kernel/time/timekeeping.c | 3 +
11095 kernel/time/timer_list.c | 13 +-
11096 kernel/time/timer_stats.c | 10 +-
11097 kernel/trace/Kconfig | 2 +
11098 kernel/trace/trace_syscalls.c | 8 +
11099 kernel/user_namespace.c | 15 +
11100 lib/Kconfig.debug | 13 +-
11101 lib/Kconfig.kasan | 2 +-
11102 lib/is_single_threaded.c | 3 +
11103 lib/list_debug.c | 65 +-
11104 lib/nlattr.c | 2 +
11105 lib/rbtree.c | 4 +-
11106 lib/vsprintf.c | 39 +-
11107 localversion-grsec | 1 +
11108 mm/Kconfig | 8 +-
11109 mm/Kconfig.debug | 1 +
11110 mm/filemap.c | 1 +
11111 mm/kmemleak.c | 4 +-
11112 mm/memory.c | 2 +-
11113 mm/mempolicy.c | 12 +-
11114 mm/migrate.c | 3 +-
11115 mm/mlock.c | 6 +-
11116 mm/mmap.c | 93 +-
11117 mm/mprotect.c | 8 +
11118 mm/oom_kill.c | 28 +-
11119 mm/page_alloc.c | 2 +-
11120 mm/process_vm_access.c | 8 +-
11121 mm/shmem.c | 36 +-
11122 mm/slab.c | 14 +-
11123 mm/slab_common.c | 2 +-
11124 mm/slob.c | 12 +
11125 mm/slub.c | 33 +-
11126 mm/util.c | 3 +
11127 mm/vmalloc.c | 129 +-
11128 mm/vmstat.c | 29 +-
11129 net/appletalk/atalk_proc.c | 2 +-
11130 net/atm/lec.c | 6 +-
11131 net/atm/mpoa_caches.c | 42 +-
11132 net/bluetooth/sco.c | 3 +
11133 net/can/bcm.c | 2 +-
11134 net/can/proc.c | 2 +-
11135 net/core/dev_ioctl.c | 7 +-
11136 net/core/filter.c | 8 +-
11137 net/core/net-procfs.c | 17 +-
11138 net/core/pktgen.c | 2 +-
11139 net/core/sock.c | 3 +-
11140 net/core/sysctl_net_core.c | 2 +-
11141 net/decnet/dn_dev.c | 2 +-
11142 net/ipv4/devinet.c | 6 +-
11143 net/ipv4/inet_hashtables.c | 4 +
11144 net/ipv4/ip_input.c | 7 +
11145 net/ipv4/ip_sockglue.c | 3 +-
11146 net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 +-
11147 net/ipv4/netfilter/nf_nat_pptp.c | 2 +-
11148 net/ipv4/route.c | 6 +-
11149 net/ipv4/tcp_input.c | 4 +-
11150 net/ipv4/tcp_ipv4.c | 29 +-
11151 net/ipv4/tcp_minisocks.c | 9 +-
11152 net/ipv4/tcp_timer.c | 11 +
11153 net/ipv4/udp.c | 24 +
11154 net/ipv6/addrconf.c | 13 +-
11155 net/ipv6/proc.c | 2 +-
11156 net/ipv6/tcp_ipv6.c | 26 +-
11157 net/ipv6/udp.c | 7 +
11158 net/ipx/ipx_proc.c | 2 +-
11159 net/irda/irproc.c | 2 +-
11160 net/llc/llc_proc.c | 2 +-
11161 net/netfilter/Kconfig | 10 +
11162 net/netfilter/Makefile | 1 +
11163 net/netfilter/nf_conntrack_core.c | 8 +
11164 net/netfilter/xt_gradm.c | 51 +
11165 net/netfilter/xt_hashlimit.c | 4 +-
11166 net/netfilter/xt_recent.c | 2 +-
11167 net/sched/sch_api.c | 2 +-
11168 net/sctp/socket.c | 4 +-
11169 net/socket.c | 75 +-
11170 net/sunrpc/Kconfig | 1 +
11171 net/sunrpc/cache.c | 2 +-
11172 net/sunrpc/stats.c | 2 +-
11173 net/sysctl_net.c | 2 +-
11174 net/unix/af_unix.c | 52 +-
11175 net/vmw_vsock/vmci_transport_notify.c | 30 +-
11176 net/vmw_vsock/vmci_transport_notify_qstate.c | 30 +-
11177 net/x25/sysctl_net_x25.c | 2 +-
11178 net/x25/x25_proc.c | 2 +-
11179 scripts/package/Makefile | 2 +-
11180 scripts/package/mkspec | 41 +-
11181 security/Kconfig | 369 +-
11182 security/apparmor/file.c | 4 +-
11183 security/apparmor/lsm.c | 8 +-
11184 security/commoncap.c | 36 +-
11185 security/min_addr.c | 2 +
11186 security/smack/smack_lsm.c | 8 +-
11187 security/tomoyo/file.c | 12 +-
11188 security/tomoyo/mount.c | 4 +
11189 security/tomoyo/tomoyo.c | 20 +-
11190 security/yama/Kconfig | 2 +-
11191 security/yama/yama_lsm.c | 4 +-
11192 sound/synth/emux/emux_seq.c | 14 +-
11193 sound/usb/line6/driver.c | 40 +-
11194 sound/usb/line6/toneport.c | 12 +-
11195 tools/gcc/.gitignore | 1 +
11196 tools/gcc/Makefile | 12 +
11197 tools/gcc/gen-random-seed.sh | 8 +
11198 tools/gcc/randomize_layout_plugin.c | 930 +++
11199 tools/gcc/size_overflow_plugin/.gitignore | 1 +
11200 .../size_overflow_plugin/size_overflow_hash.data | 459 ++-
11201 511 files changed, 32631 insertions(+), 3196 deletions(-)
11202
11203 commit a76adb92ce39aee8eec5a025c828030ad6135c6d
11204 Author: Brad Spengler <spender@grsecurity.net>
11205 Date: Tue Dec 15 14:31:49 2015 -0500
11206
11207 Update to pax-linux-4.3.3-test11.patch:
11208 - fixed a few compile regressions with the recent plugin changes, reported by spender
11209 - updated the size overflow hash table
11210
11211 tools/gcc/latent_entropy_plugin.c | 2 +-
11212 .../size_overflow_plugin/size_overflow_hash.data | 66 +++++++++++++++++---
11213 tools/gcc/stackleak_plugin.c | 2 +-
11214 tools/gcc/structleak_plugin.c | 6 +--
11215 4 files changed, 60 insertions(+), 16 deletions(-)
11216
11217 commit f7284b1fc06628fcb2d35d2beecdea5454d46af9
11218 Author: Brad Spengler <spender@grsecurity.net>
11219 Date: Tue Dec 15 11:50:24 2015 -0500
11220
11221 Apply structleak ICE fix for gcc < 4.9
11222
11223 tools/gcc/structleak_plugin.c | 4 ++++
11224 1 files changed, 4 insertions(+), 0 deletions(-)
11225
11226 commit 92fe3eb9fd10ec7f7334decab1526989669b0287
11227 Author: Brad Spengler <spender@grsecurity.net>
11228 Date: Tue Dec 15 07:57:06 2015 -0500
11229
11230 Update to pax-linux-4.3.1-test10.patch:
11231 - Emese fixed INDIRECT_REF and TARGET_MEM_REF handling in the initify plugin
11232 - Emese regenerated the size overflow hash tables for 4.3
11233 - fixed some compat syscall exit paths to restore r12 under KERNEXEC/or
11234 - the latent entropy, stackleak and structleak plugins no longer split the entry block unnecessarily
11235
11236 arch/x86/entry/entry_64.S | 2 +-
11237 arch/x86/entry/entry_64_compat.S | 15 +-
11238 scripts/package/builddeb | 2 +-
11239 tools/gcc/initify_plugin.c | 11 +-
11240 tools/gcc/latent_entropy_plugin.c | 20 +-
11241 .../disable_size_overflow_hash.data | 4 +
11242 .../size_overflow_plugin/size_overflow_hash.data | 5345 +++++++++++---------
11243 tools/gcc/stackleak_plugin.c | 26 +-
11244 tools/gcc/structleak_plugin.c | 21 +-
11245 9 files changed, 3079 insertions(+), 2367 deletions(-)
11246
11247 commit 5bd245cb687319079c2f1c0d6a1170791ed1ed2c
11248 Merge: b5847e6 3548341
11249 Author: Brad Spengler <spender@grsecurity.net>
11250 Date: Tue Dec 15 07:47:56 2015 -0500
11251
11252 Merge branch 'linux-4.3.y' into pax-4_3
11253
11254 Conflicts:
11255 net/unix/af_unix.c
11256
11257 commit b5847e6a896c5d99191135ca4d7c3b6be8f116ff
11258 Author: Brad Spengler <spender@grsecurity.net>
11259 Date: Wed Dec 9 23:11:36 2015 -0500
11260
11261 Update to pax-linux-4.3.1-test9.patch:
11262 - 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)
11263 - Emese fixed an intentional overflow caused by gcc, reported by saironiq (https://forums.grsecurity.net/viewtopic.php?f=3&t=4333)
11264 - Emese fixed a false positive overflow report in the forcedeth driver, reported by fx3 (https://forums.grsecurity.net/viewtopic.php?t=4334)
11265 - Emese fixed a false positive overflow report in KVM's emulator, reported by fx3 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4336)
11266 - Emese fixed the initify plugin to detect some captured use of __func__, reported by Rasmus Villemoes <linux@rasmusvillemoes.dk>
11267 - constrained shmmax and shmall to avoid triggering size overflow checks, reported by Mathias Krause <minipli@ld-linux.so>
11268 - 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
11269
11270 Makefile | 6 +
11271 arch/x86/include/asm/compat.h | 4 +
11272 arch/x86/include/asm/dma.h | 2 +
11273 arch/x86/include/asm/pmem.h | 2 +-
11274 arch/x86/include/asm/uaccess.h | 20 +-
11275 arch/x86/kernel/apic/vector.c | 6 +-
11276 arch/x86/kernel/cpu/mtrr/generic.c | 6 +-
11277 arch/x86/kernel/cpu/perf_event_intel.c | 28 +-
11278 arch/x86/kernel/head_64.S | 1 -
11279 arch/x86/kvm/i8259.c | 10 +-
11280 arch/x86/kvm/ioapic.c | 2 +
11281 arch/x86/kvm/x86.c | 2 +
11282 arch/x86/lib/usercopy_64.c | 2 +-
11283 arch/x86/mm/mpx.c | 4 +-
11284 arch/x86/mm/pageattr.c | 7 +
11285 drivers/base/devres.c | 4 +-
11286 drivers/base/power/runtime.c | 6 +-
11287 drivers/base/regmap/regmap.c | 4 +-
11288 drivers/block/drbd/drbd_receiver.c | 4 +-
11289 drivers/block/drbd/drbd_worker.c | 6 +-
11290 drivers/char/virtio_console.c | 6 +-
11291 drivers/md/dm.c | 12 +-
11292 drivers/net/ethernet/nvidia/forcedeth.c | 4 +-
11293 drivers/net/macvtap.c | 4 +-
11294 drivers/video/fbdev/core/fbmem.c | 10 +-
11295 fs/compat.c | 3 +-
11296 fs/coredump.c | 2 +-
11297 fs/dcache.c | 13 +-
11298 fs/fhandle.c | 2 +-
11299 fs/file.c | 14 +-
11300 fs/fs-writeback.c | 11 +-
11301 fs/overlayfs/copy_up.c | 2 +-
11302 fs/readdir.c | 3 +-
11303 fs/super.c | 3 +-
11304 include/linux/compiler.h | 36 ++-
11305 include/linux/rcupdate.h | 8 +
11306 include/linux/sched.h | 4 +-
11307 include/linux/seqlock.h | 10 +
11308 include/linux/spinlock.h | 17 +-
11309 include/linux/srcu.h | 5 +-
11310 include/linux/syscalls.h | 2 +-
11311 include/linux/writeback.h | 3 +-
11312 include/uapi/linux/swab.h | 6 +-
11313 ipc/ipc_sysctl.c | 6 +
11314 kernel/exit.c | 25 +-
11315 kernel/resource.c | 4 +-
11316 kernel/signal.c | 12 +-
11317 kernel/user.c | 2 +-
11318 kernel/workqueue.c | 6 +-
11319 lib/rhashtable.c | 4 +-
11320 net/compat.c | 2 +-
11321 net/ipv4/xfrm4_mode_transport.c | 2 +-
11322 security/keys/internal.h | 8 +-
11323 security/keys/keyring.c | 4 -
11324 sound/core/seq/seq_clientmgr.c | 8 +-
11325 sound/core/seq/seq_compat.c | 2 +-
11326 sound/core/seq/seq_memory.c | 6 +-
11327 tools/gcc/checker_plugin.c | 415 +++++++++++++++++++-
11328 tools/gcc/gcc-common.h | 1 +
11329 tools/gcc/initify_plugin.c | 33 ++-
11330 .../disable_size_overflow_hash.data | 1 +
11331 .../size_overflow_plugin/size_overflow_hash.data | 1 -
11332 62 files changed, 708 insertions(+), 140 deletions(-)
11333
11334 commit f2634c2f6995f4231616f24ed016f890c701f939
11335 Merge: 1241bff 5f8b236
11336 Author: Brad Spengler <spender@grsecurity.net>
11337 Date: Wed Dec 9 21:50:47 2015 -0500
11338
11339 Merge branch 'linux-4.3.y' into pax-4_3
11340
11341 Conflicts:
11342 arch/x86/kernel/fpu/xstate.c
11343 arch/x86/kernel/head_64.S
11344
11345 commit 1241bff82e3d7dadb05de0a60b8d2822afc6547c
11346 Author: Brad Spengler <spender@grsecurity.net>
11347 Date: Sun Dec 6 08:44:56 2015 -0500
11348
11349 Update to pax-linux-4.3-test8.patch:
11350 - 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)
11351 - gcc plugin compilation problems will now also produce the output of the checking script to make diagnosis easier, reported by hunger
11352 - 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)
11353 - 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)
11354
11355 Makefile | 5 +++
11356 drivers/md/md.c | 5 ++-
11357 drivers/md/raid1.c | 2 +-
11358 fs/proc/task_mmu.c | 3 ++
11359 .../disable_size_overflow_hash.data | 4 ++-
11360 .../size_overflow_plugin/intentional_overflow.c | 32 ++++++++++++++++---
11361 .../size_overflow_plugin/size_overflow_hash.data | 2 -
11362 .../size_overflow_plugin/size_overflow_plugin.c | 2 +-
11363 8 files changed, 43 insertions(+), 12 deletions(-)
11364
11365 commit cce6a9f9bdd27096632ca1c0246dcc07f2eb1a18
11366 Author: Brad Spengler <spender@grsecurity.net>
11367 Date: Fri Dec 4 14:24:12 2015 -0500
11368
11369 Initial import of pax-linux-4.3-test7.patch
11370
11371 Documentation/dontdiff | 47 +-
11372 Documentation/kbuild/makefiles.txt | 39 +-
11373 Documentation/kernel-parameters.txt | 28 +
11374 Makefile | 108 +-
11375 arch/alpha/include/asm/atomic.h | 10 +
11376 arch/alpha/include/asm/elf.h | 7 +
11377 arch/alpha/include/asm/pgalloc.h | 6 +
11378 arch/alpha/include/asm/pgtable.h | 11 +
11379 arch/alpha/kernel/module.c | 2 +-
11380 arch/alpha/kernel/osf_sys.c | 8 +-
11381 arch/alpha/mm/fault.c | 141 +-
11382 arch/arm/Kconfig | 2 +-
11383 arch/arm/include/asm/atomic.h | 320 +-
11384 arch/arm/include/asm/cache.h | 5 +-
11385 arch/arm/include/asm/cacheflush.h | 2 +-
11386 arch/arm/include/asm/checksum.h | 14 +-
11387 arch/arm/include/asm/cmpxchg.h | 4 +
11388 arch/arm/include/asm/cpuidle.h | 2 +-
11389 arch/arm/include/asm/domain.h | 22 +-
11390 arch/arm/include/asm/elf.h | 9 +-
11391 arch/arm/include/asm/fncpy.h | 2 +
11392 arch/arm/include/asm/futex.h | 10 +
11393 arch/arm/include/asm/kmap_types.h | 2 +-
11394 arch/arm/include/asm/mach/dma.h | 2 +-
11395 arch/arm/include/asm/mach/map.h | 16 +-
11396 arch/arm/include/asm/outercache.h | 2 +-
11397 arch/arm/include/asm/page.h | 3 +-
11398 arch/arm/include/asm/pgalloc.h | 20 +
11399 arch/arm/include/asm/pgtable-2level-hwdef.h | 4 +-
11400 arch/arm/include/asm/pgtable-2level.h | 3 +
11401 arch/arm/include/asm/pgtable-3level.h | 3 +
11402 arch/arm/include/asm/pgtable.h | 54 +-
11403 arch/arm/include/asm/smp.h | 2 +-
11404 arch/arm/include/asm/tls.h | 3 +
11405 arch/arm/include/asm/uaccess.h | 79 +-
11406 arch/arm/include/uapi/asm/ptrace.h | 2 +-
11407 arch/arm/kernel/armksyms.c | 2 +-
11408 arch/arm/kernel/cpuidle.c | 2 +-
11409 arch/arm/kernel/entry-armv.S | 109 +-
11410 arch/arm/kernel/entry-common.S | 40 +-
11411 arch/arm/kernel/entry-header.S | 55 +
11412 arch/arm/kernel/fiq.c | 3 +
11413 arch/arm/kernel/module-plts.c | 7 +-
11414 arch/arm/kernel/module.c | 38 +-
11415 arch/arm/kernel/patch.c | 2 +
11416 arch/arm/kernel/process.c | 90 +-
11417 arch/arm/kernel/reboot.c | 1 +
11418 arch/arm/kernel/setup.c | 20 +-
11419 arch/arm/kernel/signal.c | 35 +-
11420 arch/arm/kernel/smp.c | 2 +-
11421 arch/arm/kernel/tcm.c | 4 +-
11422 arch/arm/kernel/vmlinux.lds.S | 6 +-
11423 arch/arm/kvm/arm.c | 8 +-
11424 arch/arm/lib/copy_page.S | 1 +
11425 arch/arm/lib/csumpartialcopyuser.S | 4 +-
11426 arch/arm/lib/delay.c | 2 +-
11427 arch/arm/lib/uaccess_with_memcpy.c | 4 +-
11428 arch/arm/mach-exynos/suspend.c | 6 +-
11429 arch/arm/mach-mvebu/coherency.c | 4 +-
11430 arch/arm/mach-omap2/board-n8x0.c | 2 +-
11431 arch/arm/mach-omap2/omap-mpuss-lowpower.c | 4 +-
11432 arch/arm/mach-omap2/omap-smp.c | 1 +
11433 arch/arm/mach-omap2/omap-wakeupgen.c | 2 +-
11434 arch/arm/mach-omap2/omap_device.c | 4 +-
11435 arch/arm/mach-omap2/omap_device.h | 4 +-
11436 arch/arm/mach-omap2/omap_hwmod.c | 4 +-
11437 arch/arm/mach-omap2/powerdomains43xx_data.c | 5 +-
11438 arch/arm/mach-omap2/wd_timer.c | 6 +-
11439 arch/arm/mach-shmobile/platsmp-apmu.c | 5 +-
11440 arch/arm/mach-tegra/cpuidle-tegra20.c | 2 +-
11441 arch/arm/mach-tegra/irq.c | 1 +
11442 arch/arm/mach-ux500/pm.c | 1 +
11443 arch/arm/mach-zynq/platsmp.c | 1 +
11444 arch/arm/mm/Kconfig | 6 +-
11445 arch/arm/mm/alignment.c | 8 +
11446 arch/arm/mm/cache-l2x0.c | 2 +-
11447 arch/arm/mm/context.c | 10 +-
11448 arch/arm/mm/fault.c | 146 +
11449 arch/arm/mm/fault.h | 12 +
11450 arch/arm/mm/init.c | 39 +
11451 arch/arm/mm/ioremap.c | 4 +-
11452 arch/arm/mm/mmap.c | 30 +-
11453 arch/arm/mm/mmu.c | 162 +-
11454 arch/arm/net/bpf_jit_32.c | 3 +
11455 arch/arm/plat-iop/setup.c | 2 +-
11456 arch/arm/plat-omap/sram.c | 2 +
11457 arch/arm64/include/asm/atomic.h | 10 +
11458 arch/arm64/include/asm/percpu.h | 8 +-
11459 arch/arm64/include/asm/pgalloc.h | 5 +
11460 arch/arm64/include/asm/uaccess.h | 1 +
11461 arch/arm64/mm/dma-mapping.c | 2 +-
11462 arch/avr32/include/asm/elf.h | 8 +-
11463 arch/avr32/include/asm/kmap_types.h | 4 +-
11464 arch/avr32/mm/fault.c | 27 +
11465 arch/frv/include/asm/atomic.h | 10 +
11466 arch/frv/include/asm/kmap_types.h | 2 +-
11467 arch/frv/mm/elf-fdpic.c | 3 +-
11468 arch/ia64/Makefile | 1 +
11469 arch/ia64/include/asm/atomic.h | 10 +
11470 arch/ia64/include/asm/elf.h | 7 +
11471 arch/ia64/include/asm/pgalloc.h | 12 +
11472 arch/ia64/include/asm/pgtable.h | 13 +-
11473 arch/ia64/include/asm/spinlock.h | 2 +-
11474 arch/ia64/include/asm/uaccess.h | 27 +-
11475 arch/ia64/kernel/module.c | 45 +-
11476 arch/ia64/kernel/palinfo.c | 2 +-
11477 arch/ia64/kernel/sys_ia64.c | 7 +
11478 arch/ia64/kernel/vmlinux.lds.S | 2 +-
11479 arch/ia64/mm/fault.c | 32 +-
11480 arch/ia64/mm/init.c | 15 +-
11481 arch/m32r/lib/usercopy.c | 6 +
11482 arch/mips/cavium-octeon/dma-octeon.c | 2 +-
11483 arch/mips/include/asm/atomic.h | 368 +-
11484 arch/mips/include/asm/elf.h | 7 +
11485 arch/mips/include/asm/exec.h | 2 +-
11486 arch/mips/include/asm/hw_irq.h | 2 +-
11487 arch/mips/include/asm/local.h | 57 +
11488 arch/mips/include/asm/page.h | 2 +-
11489 arch/mips/include/asm/pgalloc.h | 5 +
11490 arch/mips/include/asm/pgtable.h | 3 +
11491 arch/mips/include/asm/uaccess.h | 1 +
11492 arch/mips/kernel/binfmt_elfn32.c | 7 +
11493 arch/mips/kernel/binfmt_elfo32.c | 7 +
11494 arch/mips/kernel/irq-gt641xx.c | 2 +-
11495 arch/mips/kernel/irq.c | 6 +-
11496 arch/mips/kernel/pm-cps.c | 2 +-
11497 arch/mips/kernel/process.c | 12 -
11498 arch/mips/kernel/sync-r4k.c | 24 +-
11499 arch/mips/kernel/traps.c | 13 +-
11500 arch/mips/mm/fault.c | 25 +
11501 arch/mips/mm/mmap.c | 51 +-
11502 arch/mips/sgi-ip27/ip27-nmi.c | 6 +-
11503 arch/mips/sni/rm200.c | 2 +-
11504 arch/mips/vr41xx/common/icu.c | 2 +-
11505 arch/mips/vr41xx/common/irq.c | 4 +-
11506 arch/parisc/include/asm/atomic.h | 10 +
11507 arch/parisc/include/asm/elf.h | 7 +
11508 arch/parisc/include/asm/pgalloc.h | 6 +
11509 arch/parisc/include/asm/pgtable.h | 11 +
11510 arch/parisc/include/asm/uaccess.h | 4 +-
11511 arch/parisc/kernel/module.c | 50 +-
11512 arch/parisc/kernel/sys_parisc.c | 15 +
11513 arch/parisc/kernel/traps.c | 4 +-
11514 arch/parisc/mm/fault.c | 140 +-
11515 arch/powerpc/include/asm/atomic.h | 329 +-
11516 arch/powerpc/include/asm/elf.h | 12 +
11517 arch/powerpc/include/asm/exec.h | 2 +-
11518 arch/powerpc/include/asm/kmap_types.h | 2 +-
11519 arch/powerpc/include/asm/local.h | 46 +
11520 arch/powerpc/include/asm/mman.h | 2 +-
11521 arch/powerpc/include/asm/page.h | 8 +-
11522 arch/powerpc/include/asm/page_64.h | 7 +-
11523 arch/powerpc/include/asm/pgalloc-64.h | 7 +
11524 arch/powerpc/include/asm/pgtable.h | 1 +
11525 arch/powerpc/include/asm/pte-hash32.h | 1 +
11526 arch/powerpc/include/asm/reg.h | 1 +
11527 arch/powerpc/include/asm/smp.h | 2 +-
11528 arch/powerpc/include/asm/spinlock.h | 42 +-
11529 arch/powerpc/include/asm/uaccess.h | 141 +-
11530 arch/powerpc/kernel/Makefile | 5 +
11531 arch/powerpc/kernel/exceptions-64e.S | 4 +-
11532 arch/powerpc/kernel/exceptions-64s.S | 2 +-
11533 arch/powerpc/kernel/module_32.c | 15 +-
11534 arch/powerpc/kernel/process.c | 46 -
11535 arch/powerpc/kernel/signal_32.c | 2 +-
11536 arch/powerpc/kernel/signal_64.c | 2 +-
11537 arch/powerpc/kernel/traps.c | 21 +
11538 arch/powerpc/kernel/vdso.c | 5 +-
11539 arch/powerpc/lib/usercopy_64.c | 18 -
11540 arch/powerpc/mm/fault.c | 56 +-
11541 arch/powerpc/mm/mmap.c | 16 +
11542 arch/powerpc/mm/slice.c | 13 +-
11543 arch/powerpc/platforms/cell/spufs/file.c | 4 +-
11544 arch/s390/include/asm/atomic.h | 10 +
11545 arch/s390/include/asm/elf.h | 7 +
11546 arch/s390/include/asm/exec.h | 2 +-
11547 arch/s390/include/asm/uaccess.h | 13 +-
11548 arch/s390/kernel/module.c | 22 +-
11549 arch/s390/kernel/process.c | 24 -
11550 arch/s390/mm/mmap.c | 16 +
11551 arch/score/include/asm/exec.h | 2 +-
11552 arch/score/kernel/process.c | 5 -
11553 arch/sh/mm/mmap.c | 22 +-
11554 arch/sparc/include/asm/atomic_64.h | 110 +-
11555 arch/sparc/include/asm/cache.h | 2 +-
11556 arch/sparc/include/asm/elf_32.h | 7 +
11557 arch/sparc/include/asm/elf_64.h | 7 +
11558 arch/sparc/include/asm/pgalloc_32.h | 1 +
11559 arch/sparc/include/asm/pgalloc_64.h | 1 +
11560 arch/sparc/include/asm/pgtable.h | 4 +
11561 arch/sparc/include/asm/pgtable_32.h | 15 +-
11562 arch/sparc/include/asm/pgtsrmmu.h | 5 +
11563 arch/sparc/include/asm/setup.h | 4 +-
11564 arch/sparc/include/asm/spinlock_64.h | 35 +-
11565 arch/sparc/include/asm/thread_info_32.h | 1 +
11566 arch/sparc/include/asm/thread_info_64.h | 2 +
11567 arch/sparc/include/asm/uaccess.h | 1 +
11568 arch/sparc/include/asm/uaccess_32.h | 28 +-
11569 arch/sparc/include/asm/uaccess_64.h | 24 +-
11570 arch/sparc/kernel/Makefile | 2 +-
11571 arch/sparc/kernel/prom_common.c | 2 +-
11572 arch/sparc/kernel/smp_64.c | 8 +-
11573 arch/sparc/kernel/sys_sparc_32.c | 2 +-
11574 arch/sparc/kernel/sys_sparc_64.c | 52 +-
11575 arch/sparc/kernel/traps_64.c | 27 +-
11576 arch/sparc/lib/Makefile | 2 +-
11577 arch/sparc/lib/atomic_64.S | 57 +-
11578 arch/sparc/lib/ksyms.c | 6 +-
11579 arch/sparc/mm/Makefile | 2 +-
11580 arch/sparc/mm/fault_32.c | 292 +
11581 arch/sparc/mm/fault_64.c | 486 +
11582 arch/sparc/mm/hugetlbpage.c | 22 +-
11583 arch/sparc/mm/init_64.c | 10 +-
11584 arch/tile/include/asm/atomic_64.h | 10 +
11585 arch/tile/include/asm/uaccess.h | 4 +-
11586 arch/um/Makefile | 4 +
11587 arch/um/include/asm/kmap_types.h | 2 +-
11588 arch/um/include/asm/page.h | 3 +
11589 arch/um/include/asm/pgtable-3level.h | 1 +
11590 arch/um/kernel/process.c | 16 -
11591 arch/x86/Kconfig | 15 +-
11592 arch/x86/Kconfig.cpu | 6 +-
11593 arch/x86/Kconfig.debug | 4 +-
11594 arch/x86/Makefile | 13 +-
11595 arch/x86/boot/Makefile | 3 +
11596 arch/x86/boot/bitops.h | 4 +-
11597 arch/x86/boot/boot.h | 2 +-
11598 arch/x86/boot/compressed/Makefile | 3 +
11599 arch/x86/boot/compressed/efi_stub_32.S | 16 +-
11600 arch/x86/boot/compressed/efi_thunk_64.S | 4 +-
11601 arch/x86/boot/compressed/head_32.S | 4 +-
11602 arch/x86/boot/compressed/head_64.S | 12 +-
11603 arch/x86/boot/compressed/misc.c | 11 +-
11604 arch/x86/boot/cpucheck.c | 16 +-
11605 arch/x86/boot/header.S | 6 +-
11606 arch/x86/boot/memory.c | 2 +-
11607 arch/x86/boot/video-vesa.c | 1 +
11608 arch/x86/boot/video.c | 2 +-
11609 arch/x86/crypto/aes-x86_64-asm_64.S | 4 +
11610 arch/x86/crypto/aesni-intel_asm.S | 106 +-
11611 arch/x86/crypto/blowfish-x86_64-asm_64.S | 7 +
11612 arch/x86/crypto/camellia-aesni-avx-asm_64.S | 10 +
11613 arch/x86/crypto/camellia-aesni-avx2-asm_64.S | 10 +
11614 arch/x86/crypto/camellia-x86_64-asm_64.S | 7 +
11615 arch/x86/crypto/cast5-avx-x86_64-asm_64.S | 51 +-
11616 arch/x86/crypto/cast6-avx-x86_64-asm_64.S | 25 +-
11617 arch/x86/crypto/crc32c-pcl-intel-asm_64.S | 4 +-
11618 arch/x86/crypto/ghash-clmulni-intel_asm.S | 4 +
11619 arch/x86/crypto/salsa20-x86_64-asm_64.S | 4 +
11620 arch/x86/crypto/serpent-avx-x86_64-asm_64.S | 9 +
11621 arch/x86/crypto/serpent-avx2-asm_64.S | 9 +
11622 arch/x86/crypto/serpent-sse2-x86_64-asm_64.S | 4 +
11623 arch/x86/crypto/sha1_ssse3_asm.S | 10 +-
11624 arch/x86/crypto/sha256-avx-asm.S | 2 +
11625 arch/x86/crypto/sha256-avx2-asm.S | 2 +
11626 arch/x86/crypto/sha256-ssse3-asm.S | 2 +
11627 arch/x86/crypto/sha512-avx-asm.S | 2 +
11628 arch/x86/crypto/sha512-avx2-asm.S | 2 +
11629 arch/x86/crypto/sha512-ssse3-asm.S | 2 +
11630 arch/x86/crypto/twofish-avx-x86_64-asm_64.S | 25 +-
11631 arch/x86/crypto/twofish-x86_64-asm_64-3way.S | 4 +
11632 arch/x86/crypto/twofish-x86_64-asm_64.S | 3 +
11633 arch/x86/entry/calling.h | 86 +-
11634 arch/x86/entry/common.c | 13 +-
11635 arch/x86/entry/entry_32.S | 351 +-
11636 arch/x86/entry/entry_64.S | 619 +-
11637 arch/x86/entry/entry_64_compat.S | 159 +-
11638 arch/x86/entry/thunk_64.S | 2 +
11639 arch/x86/entry/vdso/Makefile | 2 +-
11640 arch/x86/entry/vdso/vdso2c.h | 8 +-
11641 arch/x86/entry/vdso/vma.c | 41 +-
11642 arch/x86/entry/vsyscall/vsyscall_64.c | 16 +-
11643 arch/x86/entry/vsyscall/vsyscall_emu_64.S | 2 +-
11644 arch/x86/ia32/ia32_signal.c | 23 +-
11645 arch/x86/ia32/sys_ia32.c | 42 +-
11646 arch/x86/include/asm/alternative-asm.h | 43 +-
11647 arch/x86/include/asm/alternative.h | 4 +-
11648 arch/x86/include/asm/apic.h | 2 +-
11649 arch/x86/include/asm/apm.h | 4 +-
11650 arch/x86/include/asm/atomic.h | 230 +-
11651 arch/x86/include/asm/atomic64_32.h | 100 +
11652 arch/x86/include/asm/atomic64_64.h | 164 +-
11653 arch/x86/include/asm/bitops.h | 18 +-
11654 arch/x86/include/asm/boot.h | 2 +-
11655 arch/x86/include/asm/cache.h | 5 +-
11656 arch/x86/include/asm/checksum_32.h | 12 +-
11657 arch/x86/include/asm/cmpxchg.h | 39 +
11658 arch/x86/include/asm/compat.h | 2 +-
11659 arch/x86/include/asm/cpufeature.h | 17 +-
11660 arch/x86/include/asm/desc.h | 78 +-
11661 arch/x86/include/asm/desc_defs.h | 6 +
11662 arch/x86/include/asm/div64.h | 2 +-
11663 arch/x86/include/asm/elf.h | 33 +-
11664 arch/x86/include/asm/emergency-restart.h | 2 +-
11665 arch/x86/include/asm/fpu/internal.h | 42 +-
11666 arch/x86/include/asm/fpu/types.h | 6 +-
11667 arch/x86/include/asm/futex.h | 14 +-
11668 arch/x86/include/asm/hw_irq.h | 4 +-
11669 arch/x86/include/asm/i8259.h | 2 +-
11670 arch/x86/include/asm/io.h | 22 +-
11671 arch/x86/include/asm/irqflags.h | 5 +
11672 arch/x86/include/asm/kprobes.h | 9 +-
11673 arch/x86/include/asm/local.h | 106 +-
11674 arch/x86/include/asm/mman.h | 15 +
11675 arch/x86/include/asm/mmu.h | 14 +-
11676 arch/x86/include/asm/mmu_context.h | 114 +-
11677 arch/x86/include/asm/module.h | 17 +-
11678 arch/x86/include/asm/nmi.h | 19 +-
11679 arch/x86/include/asm/page.h | 1 +
11680 arch/x86/include/asm/page_32.h | 12 +-
11681 arch/x86/include/asm/page_64.h | 14 +-
11682 arch/x86/include/asm/paravirt.h | 46 +-
11683 arch/x86/include/asm/paravirt_types.h | 15 +-
11684 arch/x86/include/asm/pgalloc.h | 23 +
11685 arch/x86/include/asm/pgtable-2level.h | 2 +
11686 arch/x86/include/asm/pgtable-3level.h | 7 +
11687 arch/x86/include/asm/pgtable.h | 128 +-
11688 arch/x86/include/asm/pgtable_32.h | 14 +-
11689 arch/x86/include/asm/pgtable_32_types.h | 24 +-
11690 arch/x86/include/asm/pgtable_64.h | 23 +-
11691 arch/x86/include/asm/pgtable_64_types.h | 5 +
11692 arch/x86/include/asm/pgtable_types.h | 26 +-
11693 arch/x86/include/asm/preempt.h | 2 +-
11694 arch/x86/include/asm/processor.h | 57 +-
11695 arch/x86/include/asm/ptrace.h | 13 +-
11696 arch/x86/include/asm/realmode.h | 4 +-
11697 arch/x86/include/asm/reboot.h | 10 +-
11698 arch/x86/include/asm/rmwcc.h | 84 +-
11699 arch/x86/include/asm/rwsem.h | 60 +-
11700 arch/x86/include/asm/segment.h | 27 +-
11701 arch/x86/include/asm/smap.h | 43 +
11702 arch/x86/include/asm/smp.h | 14 +-
11703 arch/x86/include/asm/stackprotector.h | 4 +-
11704 arch/x86/include/asm/stacktrace.h | 32 +-
11705 arch/x86/include/asm/switch_to.h | 4 +-
11706 arch/x86/include/asm/sys_ia32.h | 6 +-
11707 arch/x86/include/asm/thread_info.h | 27 +-
11708 arch/x86/include/asm/tlbflush.h | 77 +-
11709 arch/x86/include/asm/uaccess.h | 192 +-
11710 arch/x86/include/asm/uaccess_32.h | 28 +-
11711 arch/x86/include/asm/uaccess_64.h | 169 +-
11712 arch/x86/include/asm/word-at-a-time.h | 2 +-
11713 arch/x86/include/asm/x86_init.h | 10 +-
11714 arch/x86/include/asm/xen/page.h | 2 +-
11715 arch/x86/include/uapi/asm/e820.h | 2 +-
11716 arch/x86/kernel/Makefile | 2 +-
11717 arch/x86/kernel/acpi/boot.c | 4 +-
11718 arch/x86/kernel/acpi/sleep.c | 4 +
11719 arch/x86/kernel/acpi/wakeup_32.S | 6 +-
11720 arch/x86/kernel/alternative.c | 124 +-
11721 arch/x86/kernel/apic/apic.c | 4 +-
11722 arch/x86/kernel/apic/apic_flat_64.c | 6 +-
11723 arch/x86/kernel/apic/apic_noop.c | 2 +-
11724 arch/x86/kernel/apic/bigsmp_32.c | 2 +-
11725 arch/x86/kernel/apic/io_apic.c | 8 +-
11726 arch/x86/kernel/apic/msi.c | 2 +-
11727 arch/x86/kernel/apic/probe_32.c | 4 +-
11728 arch/x86/kernel/apic/vector.c | 4 +-
11729 arch/x86/kernel/apic/x2apic_cluster.c | 2 +-
11730 arch/x86/kernel/apic/x2apic_phys.c | 2 +-
11731 arch/x86/kernel/apic/x2apic_uv_x.c | 2 +-
11732 arch/x86/kernel/apm_32.c | 21 +-
11733 arch/x86/kernel/asm-offsets.c | 20 +
11734 arch/x86/kernel/asm-offsets_64.c | 1 +
11735 arch/x86/kernel/cpu/Makefile | 4 -
11736 arch/x86/kernel/cpu/amd.c | 2 +-
11737 arch/x86/kernel/cpu/bugs_64.c | 2 +
11738 arch/x86/kernel/cpu/common.c | 202 +-
11739 arch/x86/kernel/cpu/intel_cacheinfo.c | 14 +-
11740 arch/x86/kernel/cpu/mcheck/mce.c | 34 +-
11741 arch/x86/kernel/cpu/mcheck/p5.c | 3 +
11742 arch/x86/kernel/cpu/mcheck/winchip.c | 3 +
11743 arch/x86/kernel/cpu/microcode/intel.c | 4 +-
11744 arch/x86/kernel/cpu/mtrr/main.c | 2 +-
11745 arch/x86/kernel/cpu/mtrr/mtrr.h | 2 +-
11746 arch/x86/kernel/cpu/perf_event.c | 10 +-
11747 arch/x86/kernel/cpu/perf_event_amd_iommu.c | 2 +-
11748 arch/x86/kernel/cpu/perf_event_intel.c | 6 +-
11749 arch/x86/kernel/cpu/perf_event_intel_bts.c | 6 +-
11750 arch/x86/kernel/cpu/perf_event_intel_cqm.c | 4 +-
11751 arch/x86/kernel/cpu/perf_event_intel_pt.c | 44 +-
11752 arch/x86/kernel/cpu/perf_event_intel_rapl.c | 2 +-
11753 arch/x86/kernel/cpu/perf_event_intel_uncore.c | 2 +-
11754 arch/x86/kernel/cpu/perf_event_intel_uncore.h | 2 +-
11755 arch/x86/kernel/crash_dump_64.c | 2 +-
11756 arch/x86/kernel/doublefault.c | 8 +-
11757 arch/x86/kernel/dumpstack.c | 24 +-
11758 arch/x86/kernel/dumpstack_32.c | 25 +-
11759 arch/x86/kernel/dumpstack_64.c | 62 +-
11760 arch/x86/kernel/e820.c | 4 +-
11761 arch/x86/kernel/early_printk.c | 1 +
11762 arch/x86/kernel/espfix_64.c | 44 +-
11763 arch/x86/kernel/fpu/core.c | 24 +-
11764 arch/x86/kernel/fpu/init.c | 40 +-
11765 arch/x86/kernel/fpu/regset.c | 22 +-
11766 arch/x86/kernel/fpu/signal.c | 20 +-
11767 arch/x86/kernel/fpu/xstate.c | 8 +-
11768 arch/x86/kernel/ftrace.c | 18 +-
11769 arch/x86/kernel/head64.c | 14 +-
11770 arch/x86/kernel/head_32.S | 235 +-
11771 arch/x86/kernel/head_64.S | 173 +-
11772 arch/x86/kernel/i386_ksyms_32.c | 12 +
11773 arch/x86/kernel/i8259.c | 10 +-
11774 arch/x86/kernel/io_delay.c | 2 +-
11775 arch/x86/kernel/ioport.c | 2 +-
11776 arch/x86/kernel/irq.c | 8 +-
11777 arch/x86/kernel/irq_32.c | 45 +-
11778 arch/x86/kernel/jump_label.c | 10 +-
11779 arch/x86/kernel/kgdb.c | 21 +-
11780 arch/x86/kernel/kprobes/core.c | 28 +-
11781 arch/x86/kernel/kprobes/opt.c | 16 +-
11782 arch/x86/kernel/ksysfs.c | 2 +-
11783 arch/x86/kernel/kvmclock.c | 20 +-
11784 arch/x86/kernel/ldt.c | 25 +
11785 arch/x86/kernel/livepatch.c | 12 +-
11786 arch/x86/kernel/machine_kexec_32.c | 6 +-
11787 arch/x86/kernel/mcount_64.S | 19 +-
11788 arch/x86/kernel/module.c | 78 +-
11789 arch/x86/kernel/msr.c | 2 +-
11790 arch/x86/kernel/nmi.c | 34 +-
11791 arch/x86/kernel/nmi_selftest.c | 4 +-
11792 arch/x86/kernel/paravirt-spinlocks.c | 2 +-
11793 arch/x86/kernel/paravirt.c | 45 +-
11794 arch/x86/kernel/paravirt_patch_64.c | 8 +
11795 arch/x86/kernel/pci-calgary_64.c | 2 +-
11796 arch/x86/kernel/pci-iommu_table.c | 2 +-
11797 arch/x86/kernel/pci-swiotlb.c | 2 +-
11798 arch/x86/kernel/process.c | 80 +-
11799 arch/x86/kernel/process_32.c | 29 +-
11800 arch/x86/kernel/process_64.c | 14 +-
11801 arch/x86/kernel/ptrace.c | 20 +-
11802 arch/x86/kernel/pvclock.c | 8 +-
11803 arch/x86/kernel/reboot.c | 44 +-
11804 arch/x86/kernel/reboot_fixups_32.c | 2 +-
11805 arch/x86/kernel/relocate_kernel_64.S | 3 +-
11806 arch/x86/kernel/setup.c | 29 +-
11807 arch/x86/kernel/setup_percpu.c | 29 +-
11808 arch/x86/kernel/signal.c | 17 +-
11809 arch/x86/kernel/smp.c | 2 +-
11810 arch/x86/kernel/smpboot.c | 29 +-
11811 arch/x86/kernel/step.c | 6 +-
11812 arch/x86/kernel/sys_i386_32.c | 184 +
11813 arch/x86/kernel/sys_x86_64.c | 22 +-
11814 arch/x86/kernel/tboot.c | 14 +-
11815 arch/x86/kernel/time.c | 8 +-
11816 arch/x86/kernel/tls.c | 7 +-
11817 arch/x86/kernel/tracepoint.c | 4 +-
11818 arch/x86/kernel/traps.c | 53 +-
11819 arch/x86/kernel/tsc.c | 2 +-
11820 arch/x86/kernel/uprobes.c | 2 +-
11821 arch/x86/kernel/vm86_32.c | 6 +-
11822 arch/x86/kernel/vmlinux.lds.S | 153 +-
11823 arch/x86/kernel/x8664_ksyms_64.c | 6 +-
11824 arch/x86/kernel/x86_init.c | 6 +-
11825 arch/x86/kvm/cpuid.c | 21 +-
11826 arch/x86/kvm/emulate.c | 2 +-
11827 arch/x86/kvm/lapic.c | 2 +-
11828 arch/x86/kvm/paging_tmpl.h | 2 +-
11829 arch/x86/kvm/svm.c | 10 +-
11830 arch/x86/kvm/vmx.c | 62 +-
11831 arch/x86/kvm/x86.c | 42 +-
11832 arch/x86/lguest/boot.c | 3 +-
11833 arch/x86/lib/atomic64_386_32.S | 164 +
11834 arch/x86/lib/atomic64_cx8_32.S | 98 +-
11835 arch/x86/lib/checksum_32.S | 99 +-
11836 arch/x86/lib/clear_page_64.S | 3 +
11837 arch/x86/lib/cmpxchg16b_emu.S | 3 +
11838 arch/x86/lib/copy_page_64.S | 14 +-
11839 arch/x86/lib/copy_user_64.S | 66 +-
11840 arch/x86/lib/csum-copy_64.S | 14 +-
11841 arch/x86/lib/csum-wrappers_64.c | 8 +-
11842 arch/x86/lib/getuser.S | 74 +-
11843 arch/x86/lib/insn.c | 8 +-
11844 arch/x86/lib/iomap_copy_64.S | 2 +
11845 arch/x86/lib/memcpy_64.S | 6 +
11846 arch/x86/lib/memmove_64.S | 3 +-
11847 arch/x86/lib/memset_64.S | 3 +
11848 arch/x86/lib/mmx_32.c | 243 +-
11849 arch/x86/lib/msr-reg.S | 2 +
11850 arch/x86/lib/putuser.S | 87 +-
11851 arch/x86/lib/rwsem.S | 6 +-
11852 arch/x86/lib/usercopy_32.c | 359 +-
11853 arch/x86/lib/usercopy_64.c | 20 +-
11854 arch/x86/math-emu/fpu_aux.c | 2 +-
11855 arch/x86/math-emu/fpu_entry.c | 4 +-
11856 arch/x86/math-emu/fpu_system.h | 2 +-
11857 arch/x86/mm/Makefile | 4 +
11858 arch/x86/mm/extable.c | 26 +-
11859 arch/x86/mm/fault.c | 570 +-
11860 arch/x86/mm/gup.c | 6 +-
11861 arch/x86/mm/highmem_32.c | 6 +
11862 arch/x86/mm/hugetlbpage.c | 24 +-
11863 arch/x86/mm/init.c | 111 +-
11864 arch/x86/mm/init_32.c | 111 +-
11865 arch/x86/mm/init_64.c | 46 +-
11866 arch/x86/mm/iomap_32.c | 4 +
11867 arch/x86/mm/ioremap.c | 52 +-
11868 arch/x86/mm/kmemcheck/kmemcheck.c | 4 +-
11869 arch/x86/mm/mmap.c | 40 +-
11870 arch/x86/mm/mmio-mod.c | 10 +-
11871 arch/x86/mm/numa.c | 2 +-
11872 arch/x86/mm/pageattr.c | 38 +-
11873 arch/x86/mm/pat.c | 12 +-
11874 arch/x86/mm/pat_rbtree.c | 2 +-
11875 arch/x86/mm/pf_in.c | 10 +-
11876 arch/x86/mm/pgtable.c | 214 +-
11877 arch/x86/mm/pgtable_32.c | 3 +
11878 arch/x86/mm/setup_nx.c | 7 +
11879 arch/x86/mm/tlb.c | 4 +
11880 arch/x86/mm/uderef_64.c | 37 +
11881 arch/x86/net/bpf_jit.S | 11 +
11882 arch/x86/net/bpf_jit_comp.c | 13 +-
11883 arch/x86/oprofile/backtrace.c | 6 +-
11884 arch/x86/oprofile/nmi_int.c | 8 +-
11885 arch/x86/oprofile/op_model_amd.c | 8 +-
11886 arch/x86/oprofile/op_model_ppro.c | 7 +-
11887 arch/x86/oprofile/op_x86_model.h | 2 +-
11888 arch/x86/pci/intel_mid_pci.c | 2 +-
11889 arch/x86/pci/irq.c | 8 +-
11890 arch/x86/pci/pcbios.c | 144 +-
11891 arch/x86/platform/efi/efi_32.c | 24 +
11892 arch/x86/platform/efi/efi_64.c | 26 +-
11893 arch/x86/platform/efi/efi_stub_32.S | 64 +-
11894 arch/x86/platform/efi/efi_stub_64.S | 2 +
11895 arch/x86/platform/intel-mid/intel-mid.c | 5 +-
11896 arch/x86/platform/intel-mid/intel_mid_weak_decls.h | 6 +-
11897 arch/x86/platform/intel-mid/mfld.c | 4 +-
11898 arch/x86/platform/intel-mid/mrfl.c | 2 +-
11899 arch/x86/platform/intel-quark/imr_selftest.c | 2 +-
11900 arch/x86/platform/olpc/olpc_dt.c | 2 +-
11901 arch/x86/power/cpu.c | 11 +-
11902 arch/x86/realmode/init.c | 10 +-
11903 arch/x86/realmode/rm/Makefile | 3 +
11904 arch/x86/realmode/rm/header.S | 4 +-
11905 arch/x86/realmode/rm/reboot.S | 4 +
11906 arch/x86/realmode/rm/trampoline_32.S | 12 +-
11907 arch/x86/realmode/rm/trampoline_64.S | 3 +-
11908 arch/x86/realmode/rm/wakeup_asm.S | 5 +-
11909 arch/x86/tools/Makefile | 2 +-
11910 arch/x86/tools/relocs.c | 96 +-
11911 arch/x86/um/mem_32.c | 2 +-
11912 arch/x86/um/tls_32.c | 2 +-
11913 arch/x86/xen/enlighten.c | 50 +-
11914 arch/x86/xen/mmu.c | 19 +-
11915 arch/x86/xen/smp.c | 16 +-
11916 arch/x86/xen/xen-asm_32.S | 2 +-
11917 arch/x86/xen/xen-head.S | 11 +
11918 arch/x86/xen/xen-ops.h | 2 -
11919 block/bio.c | 4 +-
11920 block/blk-iopoll.c | 2 +-
11921 block/blk-map.c | 2 +-
11922 block/blk-softirq.c | 2 +-
11923 block/bsg.c | 12 +-
11924 block/compat_ioctl.c | 4 +-
11925 block/genhd.c | 9 +-
11926 block/partitions/efi.c | 8 +-
11927 block/scsi_ioctl.c | 29 +-
11928 crypto/cryptd.c | 4 +-
11929 crypto/pcrypt.c | 2 +-
11930 crypto/zlib.c | 12 +-
11931 drivers/acpi/acpi_video.c | 2 +-
11932 drivers/acpi/apei/apei-internal.h | 2 +-
11933 drivers/acpi/apei/ghes.c | 4 +-
11934 drivers/acpi/bgrt.c | 6 +-
11935 drivers/acpi/blacklist.c | 4 +-
11936 drivers/acpi/bus.c | 4 +-
11937 drivers/acpi/device_pm.c | 4 +-
11938 drivers/acpi/ec.c | 2 +-
11939 drivers/acpi/pci_slot.c | 2 +-
11940 drivers/acpi/processor_idle.c | 2 +-
11941 drivers/acpi/processor_pdc.c | 2 +-
11942 drivers/acpi/sleep.c | 2 +-
11943 drivers/acpi/sysfs.c | 4 +-
11944 drivers/acpi/thermal.c | 2 +-
11945 drivers/acpi/video_detect.c | 7 +-
11946 drivers/ata/libata-core.c | 12 +-
11947 drivers/ata/libata-scsi.c | 2 +-
11948 drivers/ata/libata.h | 2 +-
11949 drivers/ata/pata_arasan_cf.c | 4 +-
11950 drivers/atm/adummy.c | 2 +-
11951 drivers/atm/ambassador.c | 8 +-
11952 drivers/atm/atmtcp.c | 14 +-
11953 drivers/atm/eni.c | 10 +-
11954 drivers/atm/firestream.c | 8 +-
11955 drivers/atm/fore200e.c | 14 +-
11956 drivers/atm/he.c | 18 +-
11957 drivers/atm/horizon.c | 4 +-
11958 drivers/atm/idt77252.c | 36 +-
11959 drivers/atm/iphase.c | 34 +-
11960 drivers/atm/lanai.c | 12 +-
11961 drivers/atm/nicstar.c | 46 +-
11962 drivers/atm/solos-pci.c | 4 +-
11963 drivers/atm/suni.c | 4 +-
11964 drivers/atm/uPD98402.c | 16 +-
11965 drivers/atm/zatm.c | 6 +-
11966 drivers/base/bus.c | 4 +-
11967 drivers/base/devtmpfs.c | 8 +-
11968 drivers/base/node.c | 2 +-
11969 drivers/base/platform-msi.c | 20 +-
11970 drivers/base/power/domain.c | 11 +-
11971 drivers/base/power/sysfs.c | 2 +-
11972 drivers/base/power/wakeup.c | 8 +-
11973 drivers/base/regmap/regmap-debugfs.c | 11 +-
11974 drivers/base/syscore.c | 4 +-
11975 drivers/block/cciss.c | 28 +-
11976 drivers/block/cciss.h | 2 +-
11977 drivers/block/cpqarray.c | 28 +-
11978 drivers/block/cpqarray.h | 2 +-
11979 drivers/block/drbd/drbd_bitmap.c | 2 +-
11980 drivers/block/drbd/drbd_int.h | 8 +-
11981 drivers/block/drbd/drbd_main.c | 12 +-
11982 drivers/block/drbd/drbd_nl.c | 4 +-
11983 drivers/block/drbd/drbd_receiver.c | 34 +-
11984 drivers/block/drbd/drbd_worker.c | 8 +-
11985 drivers/block/pktcdvd.c | 4 +-
11986 drivers/block/rbd.c | 2 +-
11987 drivers/bluetooth/btwilink.c | 2 +-
11988 drivers/bus/arm-cci.c | 12 +-
11989 drivers/cdrom/cdrom.c | 11 +-
11990 drivers/cdrom/gdrom.c | 1 -
11991 drivers/char/agp/compat_ioctl.c | 2 +-
11992 drivers/char/agp/frontend.c | 4 +-
11993 drivers/char/agp/intel-gtt.c | 4 +-
11994 drivers/char/hpet.c | 2 +-
11995 drivers/char/ipmi/ipmi_msghandler.c | 8 +-
11996 drivers/char/ipmi/ipmi_si_intf.c | 8 +-
11997 drivers/char/mem.c | 47 +-
11998 drivers/char/nvram.c | 2 +-
11999 drivers/char/pcmcia/synclink_cs.c | 16 +-
12000 drivers/char/random.c | 12 +-
12001 drivers/char/sonypi.c | 11 +-
12002 drivers/char/tpm/tpm_acpi.c | 3 +-
12003 drivers/char/tpm/tpm_eventlog.c | 4 +-
12004 drivers/char/virtio_console.c | 4 +-
12005 drivers/clk/clk-composite.c | 2 +-
12006 drivers/clk/samsung/clk.h | 2 +-
12007 drivers/clk/socfpga/clk-gate.c | 9 +-
12008 drivers/clk/socfpga/clk-pll.c | 9 +-
12009 drivers/clk/ti/clk.c | 8 +-
12010 drivers/cpufreq/acpi-cpufreq.c | 17 +-
12011 drivers/cpufreq/cpufreq-dt.c | 4 +-
12012 drivers/cpufreq/cpufreq.c | 30 +-
12013 drivers/cpufreq/cpufreq_governor.c | 2 +-
12014 drivers/cpufreq/cpufreq_governor.h | 4 +-
12015 drivers/cpufreq/cpufreq_ondemand.c | 10 +-
12016 drivers/cpufreq/intel_pstate.c | 33 +-
12017 drivers/cpufreq/p4-clockmod.c | 12 +-
12018 drivers/cpufreq/sparc-us3-cpufreq.c | 67 +-
12019 drivers/cpufreq/speedstep-centrino.c | 7 +-
12020 drivers/cpuidle/driver.c | 2 +-
12021 drivers/cpuidle/dt_idle_states.c | 2 +-
12022 drivers/cpuidle/governor.c | 2 +-
12023 drivers/cpuidle/sysfs.c | 2 +-
12024 drivers/crypto/hifn_795x.c | 4 +-
12025 drivers/devfreq/devfreq.c | 4 +-
12026 drivers/dma/sh/shdma-base.c | 4 +-
12027 drivers/dma/sh/shdmac.c | 2 +-
12028 drivers/edac/edac_device.c | 4 +-
12029 drivers/edac/edac_mc_sysfs.c | 2 +-
12030 drivers/edac/edac_pci.c | 4 +-
12031 drivers/edac/edac_pci_sysfs.c | 22 +-
12032 drivers/edac/mce_amd.h | 2 +-
12033 drivers/firewire/core-card.c | 6 +-
12034 drivers/firewire/core-device.c | 2 +-
12035 drivers/firewire/core-transaction.c | 1 +
12036 drivers/firewire/core.h | 1 +
12037 drivers/firmware/dmi-id.c | 2 +-
12038 drivers/firmware/dmi_scan.c | 12 +-
12039 drivers/firmware/efi/cper.c | 8 +-
12040 drivers/firmware/efi/efi.c | 12 +-
12041 drivers/firmware/efi/efivars.c | 2 +-
12042 drivers/firmware/efi/runtime-map.c | 2 +-
12043 drivers/firmware/google/gsmi.c | 2 +-
12044 drivers/firmware/google/memconsole.c | 7 +-
12045 drivers/firmware/memmap.c | 2 +-
12046 drivers/firmware/psci.c | 2 +-
12047 drivers/gpio/gpio-davinci.c | 6 +-
12048 drivers/gpio/gpio-em.c | 2 +-
12049 drivers/gpio/gpio-ich.c | 2 +-
12050 drivers/gpio/gpio-omap.c | 4 +-
12051 drivers/gpio/gpio-rcar.c | 2 +-
12052 drivers/gpio/gpio-vr41xx.c | 2 +-
12053 drivers/gpio/gpiolib.c | 12 +-
12054 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-
12055 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 2 +-
12056 drivers/gpu/drm/amd/amdkfd/kfd_device.c | 6 +-
12057 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 90 +-
12058 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 8 +-
12059 .../drm/amd/amdkfd/kfd_device_queue_manager_cik.c | 14 +-
12060 .../drm/amd/amdkfd/kfd_device_queue_manager_vi.c | 14 +-
12061 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c | 4 +-
12062 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 2 +-
12063 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.h | 2 +-
12064 .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 16 +-
12065 drivers/gpu/drm/drm_crtc.c | 2 +-
12066 drivers/gpu/drm/drm_drv.c | 2 +-
12067 drivers/gpu/drm/drm_fops.c | 12 +-
12068 drivers/gpu/drm/drm_global.c | 14 +-
12069 drivers/gpu/drm/drm_info.c | 13 +-
12070 drivers/gpu/drm/drm_ioc32.c | 13 +-
12071 drivers/gpu/drm/drm_ioctl.c | 2 +-
12072 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 10 +-
12073 drivers/gpu/drm/i810/i810_drv.h | 4 +-
12074 drivers/gpu/drm/i915/i915_dma.c | 2 +-
12075 drivers/gpu/drm/i915/i915_gem_execbuffer.c | 4 +-
12076 drivers/gpu/drm/i915/i915_gem_gtt.c | 16 +-
12077 drivers/gpu/drm/i915/i915_gem_gtt.h | 6 +-
12078 drivers/gpu/drm/i915/i915_ioc32.c | 10 +-
12079 drivers/gpu/drm/i915/intel_display.c | 26 +-
12080 drivers/gpu/drm/imx/imx-drm-core.c | 2 +-
12081 drivers/gpu/drm/mga/mga_drv.h | 4 +-
12082 drivers/gpu/drm/mga/mga_ioc32.c | 10 +-
12083 drivers/gpu/drm/mga/mga_irq.c | 8 +-
12084 drivers/gpu/drm/nouveau/nouveau_bios.c | 2 +-
12085 drivers/gpu/drm/nouveau/nouveau_drm.h | 1 -
12086 drivers/gpu/drm/nouveau/nouveau_ioc32.c | 2 +-
12087 drivers/gpu/drm/nouveau/nouveau_vga.c | 2 +-
12088 drivers/gpu/drm/omapdrm/Makefile | 2 +-
12089 drivers/gpu/drm/qxl/qxl_cmd.c | 12 +-
12090 drivers/gpu/drm/qxl/qxl_debugfs.c | 8 +-
12091 drivers/gpu/drm/qxl/qxl_drv.h | 8 +-
12092 drivers/gpu/drm/qxl/qxl_ioctl.c | 10 +-
12093 drivers/gpu/drm/qxl/qxl_irq.c | 16 +-
12094 drivers/gpu/drm/qxl/qxl_ttm.c | 38 +-
12095 drivers/gpu/drm/r128/r128_cce.c | 2 +-
12096 drivers/gpu/drm/r128/r128_drv.h | 4 +-
12097 drivers/gpu/drm/r128/r128_ioc32.c | 10 +-
12098 drivers/gpu/drm/r128/r128_irq.c | 4 +-
12099 drivers/gpu/drm/r128/r128_state.c | 4 +-
12100 drivers/gpu/drm/radeon/mkregtable.c | 4 +-
12101 drivers/gpu/drm/radeon/radeon_device.c | 2 +-
12102 drivers/gpu/drm/radeon/radeon_drv.h | 2 +-
12103 drivers/gpu/drm/radeon/radeon_ioc32.c | 12 +-
12104 drivers/gpu/drm/radeon/radeon_irq.c | 6 +-
12105 drivers/gpu/drm/radeon/radeon_state.c | 4 +-
12106 drivers/gpu/drm/radeon/radeon_ttm.c | 4 +-
12107 drivers/gpu/drm/tegra/dc.c | 2 +-
12108 drivers/gpu/drm/tegra/dsi.c | 2 +-
12109 drivers/gpu/drm/tegra/hdmi.c | 2 +-
12110 drivers/gpu/drm/tegra/sor.c | 7 +-
12111 drivers/gpu/drm/tilcdc/Makefile | 6 +-
12112 drivers/gpu/drm/ttm/ttm_memory.c | 4 +-
12113 drivers/gpu/drm/ttm/ttm_page_alloc.c | 18 +-
12114 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 18 +-
12115 drivers/gpu/drm/udl/udl_fb.c | 1 -
12116 drivers/gpu/drm/via/via_drv.h | 4 +-
12117 drivers/gpu/drm/via/via_irq.c | 18 +-
12118 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 2 +-
12119 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c | 8 +-
12120 drivers/gpu/drm/vmwgfx/vmwgfx_irq.c | 4 +-
12121 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c | 2 +-
12122 drivers/gpu/vga/vga_switcheroo.c | 4 +-
12123 drivers/hid/hid-core.c | 4 +-
12124 drivers/hid/hid-sensor-custom.c | 2 +-
12125 drivers/hv/channel.c | 2 +-
12126 drivers/hv/hv.c | 4 +-
12127 drivers/hv/hv_balloon.c | 18 +-
12128 drivers/hv/hyperv_vmbus.h | 2 +-
12129 drivers/hwmon/acpi_power_meter.c | 6 +-
12130 drivers/hwmon/applesmc.c | 2 +-
12131 drivers/hwmon/asus_atk0110.c | 10 +-
12132 drivers/hwmon/coretemp.c | 2 +-
12133 drivers/hwmon/dell-smm-hwmon.c | 2 +-
12134 drivers/hwmon/ibmaem.c | 2 +-
12135 drivers/hwmon/iio_hwmon.c | 2 +-
12136 drivers/hwmon/nct6683.c | 6 +-
12137 drivers/hwmon/nct6775.c | 6 +-
12138 drivers/hwmon/pmbus/pmbus_core.c | 10 +-
12139 drivers/hwmon/sht15.c | 12 +-
12140 drivers/hwmon/via-cputemp.c | 2 +-
12141 drivers/i2c/busses/i2c-amd756-s4882.c | 2 +-
12142 drivers/i2c/busses/i2c-nforce2-s4985.c | 2 +-
12143 drivers/i2c/i2c-dev.c | 2 +-
12144 drivers/ide/ide-cd.c | 2 +-
12145 drivers/ide/ide-disk.c | 2 +-
12146 drivers/iio/industrialio-core.c | 2 +-
12147 drivers/iio/magnetometer/ak8975.c | 2 +-
12148 drivers/infiniband/core/cm.c | 32 +-
12149 drivers/infiniband/core/fmr_pool.c | 20 +-
12150 drivers/infiniband/core/uverbs_cmd.c | 3 +
12151 drivers/infiniband/hw/cxgb4/mem.c | 4 +-
12152 drivers/infiniband/hw/mlx4/mad.c | 2 +-
12153 drivers/infiniband/hw/mlx4/mcg.c | 2 +-
12154 drivers/infiniband/hw/mlx4/mlx4_ib.h | 2 +-
12155 drivers/infiniband/hw/mthca/mthca_cmd.c | 8 +-
12156 drivers/infiniband/hw/mthca/mthca_main.c | 2 +-
12157 drivers/infiniband/hw/mthca/mthca_mr.c | 6 +-
12158 drivers/infiniband/hw/mthca/mthca_provider.c | 2 +-
12159 drivers/infiniband/hw/nes/nes.c | 4 +-
12160 drivers/infiniband/hw/nes/nes.h | 40 +-
12161 drivers/infiniband/hw/nes/nes_cm.c | 62 +-
12162 drivers/infiniband/hw/nes/nes_mgt.c | 8 +-
12163 drivers/infiniband/hw/nes/nes_nic.c | 40 +-
12164 drivers/infiniband/hw/nes/nes_verbs.c | 10 +-
12165 drivers/infiniband/hw/qib/qib.h | 1 +
12166 drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 2 +-
12167 drivers/input/gameport/gameport.c | 4 +-
12168 drivers/input/input.c | 4 +-
12169 drivers/input/joystick/sidewinder.c | 1 +
12170 drivers/input/joystick/xpad.c | 4 +-
12171 drivers/input/misc/ims-pcu.c | 4 +-
12172 drivers/input/mouse/psmouse.h | 2 +-
12173 drivers/input/mousedev.c | 2 +-
12174 drivers/input/serio/serio.c | 4 +-
12175 drivers/input/serio/serio_raw.c | 4 +-
12176 drivers/input/touchscreen/htcpen.c | 2 +-
12177 drivers/iommu/arm-smmu-v3.c | 2 +-
12178 drivers/iommu/arm-smmu.c | 43 +-
12179 drivers/iommu/io-pgtable-arm.c | 101 +-
12180 drivers/iommu/io-pgtable.c | 11 +-
12181 drivers/iommu/io-pgtable.h | 19 +-
12182 drivers/iommu/iommu.c | 2 +-
12183 drivers/iommu/ipmmu-vmsa.c | 13 +-
12184 drivers/iommu/irq_remapping.c | 2 +-
12185 drivers/irqchip/irq-gic.c | 2 +-
12186 drivers/irqchip/irq-i8259.c | 2 +-
12187 drivers/irqchip/irq-renesas-intc-irqpin.c | 2 +-
12188 drivers/irqchip/irq-renesas-irqc.c | 2 +-
12189 drivers/isdn/capi/capi.c | 10 +-
12190 drivers/isdn/gigaset/interface.c | 8 +-
12191 drivers/isdn/gigaset/usb-gigaset.c | 2 +-
12192 drivers/isdn/hardware/avm/b1.c | 4 +-
12193 drivers/isdn/i4l/isdn_common.c | 2 +
12194 drivers/isdn/i4l/isdn_tty.c | 22 +-
12195 drivers/isdn/icn/icn.c | 2 +-
12196 drivers/isdn/mISDN/dsp_cmx.c | 2 +-
12197 drivers/lguest/core.c | 10 +-
12198 drivers/lguest/page_tables.c | 2 +-
12199 drivers/lguest/x86/core.c | 12 +-
12200 drivers/lguest/x86/switcher_32.S | 27 +-
12201 drivers/md/bcache/closure.h | 2 +-
12202 drivers/md/bitmap.c | 2 +-
12203 drivers/md/dm-ioctl.c | 2 +-
12204 drivers/md/dm-raid1.c | 18 +-
12205 drivers/md/dm-stats.c | 6 +-
12206 drivers/md/dm-stripe.c | 10 +-
12207 drivers/md/dm-table.c | 2 +-
12208 drivers/md/dm-thin-metadata.c | 4 +-
12209 drivers/md/dm.c | 16 +-
12210 drivers/md/md.c | 26 +-
12211 drivers/md/md.h | 6 +-
12212 drivers/md/persistent-data/dm-space-map-metadata.c | 4 +-
12213 drivers/md/persistent-data/dm-space-map.h | 1 +
12214 drivers/md/raid1.c | 4 +-
12215 drivers/md/raid10.c | 18 +-
12216 drivers/md/raid5.c | 22 +-
12217 drivers/media/dvb-core/dvbdev.c | 2 +-
12218 drivers/media/dvb-frontends/af9033.h | 2 +-
12219 drivers/media/dvb-frontends/dib3000.h | 2 +-
12220 drivers/media/dvb-frontends/dib7000p.h | 2 +-
12221 drivers/media/dvb-frontends/dib8000.h | 2 +-
12222 drivers/media/pci/cx88/cx88-video.c | 6 +-
12223 drivers/media/pci/ivtv/ivtv-driver.c | 2 +-
12224 drivers/media/pci/solo6x10/solo6x10-core.c | 2 +-
12225 drivers/media/pci/solo6x10/solo6x10-p2m.c | 2 +-
12226 drivers/media/pci/solo6x10/solo6x10.h | 2 +-
12227 drivers/media/pci/tw68/tw68-core.c | 2 +-
12228 drivers/media/platform/omap/omap_vout.c | 11 +-
12229 drivers/media/platform/s5p-tv/mixer.h | 2 +-
12230 drivers/media/platform/s5p-tv/mixer_grp_layer.c | 2 +-
12231 drivers/media/platform/s5p-tv/mixer_reg.c | 2 +-
12232 drivers/media/platform/s5p-tv/mixer_video.c | 24 +-
12233 drivers/media/platform/s5p-tv/mixer_vp_layer.c | 2 +-
12234 drivers/media/radio/radio-cadet.c | 2 +
12235 drivers/media/radio/radio-maxiradio.c | 2 +-
12236 drivers/media/radio/radio-shark.c | 2 +-
12237 drivers/media/radio/radio-shark2.c | 2 +-
12238 drivers/media/radio/radio-si476x.c | 2 +-
12239 drivers/media/radio/wl128x/fmdrv_common.c | 2 +-
12240 drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 12 +-
12241 drivers/media/v4l2-core/v4l2-device.c | 4 +-
12242 drivers/media/v4l2-core/v4l2-ioctl.c | 13 +-
12243 drivers/memory/omap-gpmc.c | 21 +-
12244 drivers/message/fusion/mptsas.c | 34 +-
12245 drivers/mfd/ab8500-debugfs.c | 2 +-
12246 drivers/mfd/kempld-core.c | 2 +-
12247 drivers/mfd/max8925-i2c.c | 2 +-
12248 drivers/mfd/tps65910.c | 2 +-
12249 drivers/mfd/twl4030-irq.c | 9 +-
12250 drivers/mfd/wm5110-tables.c | 2 +-
12251 drivers/mfd/wm8998-tables.c | 2 +-
12252 drivers/misc/c2port/core.c | 4 +-
12253 drivers/misc/kgdbts.c | 4 +-
12254 drivers/misc/lis3lv02d/lis3lv02d.c | 8 +-
12255 drivers/misc/lis3lv02d/lis3lv02d.h | 2 +-
12256 drivers/misc/mic/scif/scif_rb.c | 8 +-
12257 drivers/misc/sgi-gru/gruhandles.c | 4 +-
12258 drivers/misc/sgi-gru/gruprocfs.c | 8 +-
12259 drivers/misc/sgi-gru/grutables.h | 154 +-
12260 drivers/misc/sgi-xp/xp.h | 2 +-
12261 drivers/misc/sgi-xp/xpc.h | 3 +-
12262 drivers/misc/sgi-xp/xpc_main.c | 2 +-
12263 drivers/mmc/card/block.c | 2 +-
12264 drivers/mmc/host/dw_mmc.h | 2 +-
12265 drivers/mmc/host/mmci.c | 4 +-
12266 drivers/mmc/host/omap_hsmmc.c | 4 +-
12267 drivers/mmc/host/sdhci-esdhc-imx.c | 7 +-
12268 drivers/mmc/host/sdhci-s3c.c | 8 +-
12269 drivers/mtd/chips/cfi_cmdset_0020.c | 2 +-
12270 drivers/mtd/nand/denali.c | 1 +
12271 drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 2 +-
12272 drivers/mtd/nftlmount.c | 1 +
12273 drivers/mtd/sm_ftl.c | 2 +-
12274 drivers/net/bonding/bond_netlink.c | 2 +-
12275 drivers/net/caif/caif_hsi.c | 2 +-
12276 drivers/net/can/Kconfig | 2 +-
12277 drivers/net/can/dev.c | 2 +-
12278 drivers/net/can/vcan.c | 2 +-
12279 drivers/net/dummy.c | 2 +-
12280 drivers/net/ethernet/8390/ax88796.c | 4 +-
12281 drivers/net/ethernet/altera/altera_tse_main.c | 4 +-
12282 drivers/net/ethernet/amd/xgbe/xgbe-common.h | 4 +-
12283 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c | 4 +-
12284 drivers/net/ethernet/amd/xgbe/xgbe-desc.c | 27 +-
12285 drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 143 +-
12286 drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 64 +-
12287 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 10 +-
12288 drivers/net/ethernet/amd/xgbe/xgbe-main.c | 15 +-
12289 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 27 +-
12290 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c | 4 +-
12291 drivers/net/ethernet/amd/xgbe/xgbe.h | 10 +-
12292 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 2 +-
12293 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | 11 +-
12294 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h | 3 +-
12295 drivers/net/ethernet/broadcom/tg3.h | 1 +
12296 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c | 6 +-
12297 drivers/net/ethernet/cavium/liquidio/lio_main.c | 11 +-
12298 drivers/net/ethernet/chelsio/cxgb3/l2t.h | 2 +-
12299 drivers/net/ethernet/dec/tulip/de4x5.c | 4 +-
12300 drivers/net/ethernet/emulex/benet/be_main.c | 2 +-
12301 drivers/net/ethernet/faraday/ftgmac100.c | 2 +
12302 drivers/net/ethernet/faraday/ftmac100.c | 2 +
12303 drivers/net/ethernet/intel/i40e/i40e_ptp.c | 2 +-
12304 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 2 +-
12305 drivers/net/ethernet/mellanox/mlx4/en_tx.c | 4 +-
12306 drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 7 +-
12307 drivers/net/ethernet/neterion/vxge/vxge-config.c | 7 +-
12308 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 4 +-
12309 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c | 12 +-
12310 .../net/ethernet/qlogic/qlcnic/qlcnic_minidump.c | 2 +-
12311 drivers/net/ethernet/realtek/r8169.c | 8 +-
12312 drivers/net/ethernet/sfc/ptp.c | 2 +-
12313 drivers/net/ethernet/stmicro/stmmac/mmc_core.c | 4 +-
12314 drivers/net/ethernet/via/via-rhine.c | 2 +-
12315 drivers/net/geneve.c | 2 +-
12316 drivers/net/hyperv/hyperv_net.h | 2 +-
12317 drivers/net/hyperv/rndis_filter.c | 4 +-
12318 drivers/net/ifb.c | 2 +-
12319 drivers/net/ipvlan/ipvlan_core.c | 2 +-
12320 drivers/net/macvlan.c | 20 +-
12321 drivers/net/macvtap.c | 6 +-
12322 drivers/net/nlmon.c | 2 +-
12323 drivers/net/phy/phy_device.c | 6 +-
12324 drivers/net/ppp/ppp_generic.c | 4 +-
12325 drivers/net/slip/slhc.c | 2 +-
12326 drivers/net/team/team.c | 4 +-
12327 drivers/net/tun.c | 7 +-
12328 drivers/net/usb/hso.c | 23 +-
12329 drivers/net/usb/r8152.c | 2 +-
12330 drivers/net/usb/sierra_net.c | 4 +-
12331 drivers/net/virtio_net.c | 2 +-
12332 drivers/net/vrf.c | 2 +-
12333 drivers/net/vxlan.c | 4 +-
12334 drivers/net/wimax/i2400m/rx.c | 2 +-
12335 drivers/net/wireless/airo.c | 2 +-
12336 drivers/net/wireless/at76c50x-usb.c | 2 +-
12337 drivers/net/wireless/ath/ath10k/ce.c | 6 +-
12338 drivers/net/wireless/ath/ath10k/htc.c | 7 +-
12339 drivers/net/wireless/ath/ath10k/htc.h | 4 +-
12340 drivers/net/wireless/ath/ath9k/ar9002_mac.c | 36 +-
12341 drivers/net/wireless/ath/ath9k/ar9003_mac.c | 64 +-
12342 drivers/net/wireless/ath/ath9k/hw.h | 4 +-
12343 drivers/net/wireless/ath/ath9k/main.c | 22 +-
12344 drivers/net/wireless/ath/wil6210/wil_platform.h | 2 +-
12345 drivers/net/wireless/b43/phy_lp.c | 2 +-
12346 drivers/net/wireless/iwlegacy/3945-mac.c | 4 +-
12347 drivers/net/wireless/iwlwifi/dvm/debugfs.c | 34 +-
12348 drivers/net/wireless/iwlwifi/pcie/trans.c | 4 +-
12349 drivers/net/wireless/mac80211_hwsim.c | 28 +-
12350 drivers/net/wireless/rndis_wlan.c | 2 +-
12351 drivers/net/wireless/rt2x00/rt2x00.h | 2 +-
12352 drivers/net/wireless/rt2x00/rt2x00queue.c | 4 +-
12353 drivers/net/wireless/ti/wl1251/sdio.c | 12 +-
12354 drivers/net/wireless/ti/wl12xx/main.c | 8 +-
12355 drivers/net/wireless/ti/wl18xx/main.c | 6 +-
12356 drivers/nfc/nfcwilink.c | 2 +-
12357 drivers/of/fdt.c | 4 +-
12358 drivers/oprofile/buffer_sync.c | 8 +-
12359 drivers/oprofile/event_buffer.c | 2 +-
12360 drivers/oprofile/oprof.c | 2 +-
12361 drivers/oprofile/oprofile_stats.c | 10 +-
12362 drivers/oprofile/oprofile_stats.h | 10 +-
12363 drivers/oprofile/oprofilefs.c | 6 +-
12364 drivers/oprofile/timer_int.c | 2 +-
12365 drivers/parport/procfs.c | 4 +-
12366 drivers/pci/host/pci-host-generic.c | 24 +-
12367 drivers/pci/hotplug/acpiphp_ibm.c | 4 +-
12368 drivers/pci/hotplug/cpcihp_generic.c | 6 +-
12369 drivers/pci/hotplug/cpcihp_zt5550.c | 14 +-
12370 drivers/pci/hotplug/cpqphp_nvram.c | 2 +
12371 drivers/pci/hotplug/pci_hotplug_core.c | 6 +-
12372 drivers/pci/hotplug/pciehp_core.c | 2 +-
12373 drivers/pci/msi.c | 22 +-
12374 drivers/pci/pci-sysfs.c | 6 +-
12375 drivers/pci/pci.h | 2 +-
12376 drivers/pci/pcie/aspm.c | 6 +-
12377 drivers/pci/pcie/portdrv_pci.c | 2 +-
12378 drivers/pci/probe.c | 2 +-
12379 drivers/pinctrl/nomadik/pinctrl-nomadik.c | 2 +-
12380 drivers/pinctrl/pinctrl-at91.c | 5 +-
12381 drivers/platform/chrome/chromeos_pstore.c | 2 +-
12382 drivers/platform/x86/alienware-wmi.c | 4 +-
12383 drivers/platform/x86/compal-laptop.c | 2 +-
12384 drivers/platform/x86/hdaps.c | 2 +-
12385 drivers/platform/x86/ibm_rtl.c | 2 +-
12386 drivers/platform/x86/intel_oaktrail.c | 2 +-
12387 drivers/platform/x86/msi-laptop.c | 16 +-
12388 drivers/platform/x86/msi-wmi.c | 2 +-
12389 drivers/platform/x86/samsung-laptop.c | 2 +-
12390 drivers/platform/x86/samsung-q10.c | 2 +-
12391 drivers/platform/x86/sony-laptop.c | 14 +-
12392 drivers/platform/x86/thinkpad_acpi.c | 2 +-
12393 drivers/pnp/pnpbios/bioscalls.c | 14 +-
12394 drivers/pnp/pnpbios/core.c | 2 +-
12395 drivers/power/pda_power.c | 7 +-
12396 drivers/power/power_supply.h | 4 +-
12397 drivers/power/power_supply_core.c | 7 +-
12398 drivers/power/power_supply_sysfs.c | 6 +-
12399 drivers/power/reset/at91-reset.c | 9 +-
12400 drivers/powercap/powercap_sys.c | 136 +-
12401 drivers/ptp/ptp_private.h | 2 +-
12402 drivers/ptp/ptp_sysfs.c | 2 +-
12403 drivers/regulator/core.c | 4 +-
12404 drivers/regulator/max8660.c | 6 +-
12405 drivers/regulator/max8973-regulator.c | 16 +-
12406 drivers/regulator/mc13892-regulator.c | 8 +-
12407 drivers/rtc/rtc-armada38x.c | 7 +-
12408 drivers/rtc/rtc-cmos.c | 4 +-
12409 drivers/rtc/rtc-ds1307.c | 2 +-
12410 drivers/rtc/rtc-m48t59.c | 4 +-
12411 drivers/rtc/rtc-test.c | 6 +-
12412 drivers/scsi/be2iscsi/be_main.c | 2 +-
12413 drivers/scsi/bfa/bfa_fcpim.h | 2 +-
12414 drivers/scsi/bfa/bfa_ioc.h | 4 +-
12415 drivers/scsi/fcoe/fcoe_sysfs.c | 12 +-
12416 drivers/scsi/hosts.c | 4 +-
12417 drivers/scsi/hpsa.c | 38 +-
12418 drivers/scsi/hpsa.h | 2 +-
12419 drivers/scsi/libfc/fc_exch.c | 50 +-
12420 drivers/scsi/libsas/sas_ata.c | 2 +-
12421 drivers/scsi/lpfc/lpfc.h | 8 +-
12422 drivers/scsi/lpfc/lpfc_debugfs.c | 18 +-
12423 drivers/scsi/lpfc/lpfc_init.c | 6 +-
12424 drivers/scsi/lpfc/lpfc_scsi.c | 10 +-
12425 drivers/scsi/megaraid/megaraid_sas.h | 2 +-
12426 drivers/scsi/mpt2sas/mpt2sas_scsih.c | 8 +-
12427 drivers/scsi/pmcraid.c | 20 +-
12428 drivers/scsi/pmcraid.h | 8 +-
12429 drivers/scsi/qla2xxx/qla_attr.c | 4 +-
12430 drivers/scsi/qla2xxx/qla_gbl.h | 4 +-
12431 drivers/scsi/qla2xxx/qla_os.c | 6 +-
12432 drivers/scsi/qla4xxx/ql4_def.h | 2 +-
12433 drivers/scsi/qla4xxx/ql4_os.c | 6 +-
12434 drivers/scsi/scsi.c | 2 +-
12435 drivers/scsi/scsi_lib.c | 8 +-
12436 drivers/scsi/scsi_sysfs.c | 2 +-
12437 drivers/scsi/scsi_transport_fc.c | 8 +-
12438 drivers/scsi/scsi_transport_iscsi.c | 6 +-
12439 drivers/scsi/scsi_transport_srp.c | 6 +-
12440 drivers/scsi/sd.c | 6 +-
12441 drivers/scsi/sg.c | 2 +-
12442 drivers/scsi/sr.c | 21 +-
12443 drivers/soc/tegra/fuse/fuse-tegra.c | 2 +-
12444 drivers/spi/spi.c | 2 +-
12445 drivers/staging/android/timed_output.c | 6 +-
12446 drivers/staging/comedi/comedi_fops.c | 8 +-
12447 drivers/staging/fbtft/fbtft-core.c | 2 +-
12448 drivers/staging/fbtft/fbtft.h | 2 +-
12449 drivers/staging/gdm724x/gdm_tty.c | 2 +-
12450 drivers/staging/iio/accel/lis3l02dq_ring.c | 2 +-
12451 drivers/staging/iio/adc/ad7280a.c | 4 +-
12452 drivers/staging/lustre/lnet/selftest/brw_test.c | 12 +-
12453 drivers/staging/lustre/lnet/selftest/framework.c | 4 -
12454 drivers/staging/lustre/lnet/selftest/ping_test.c | 14 +-
12455 drivers/staging/lustre/lustre/include/lustre_dlm.h | 2 +-
12456 drivers/staging/lustre/lustre/include/obd.h | 2 +-
12457 drivers/staging/octeon/ethernet-rx.c | 20 +-
12458 drivers/staging/octeon/ethernet.c | 8 +-
12459 drivers/staging/rdma/ipath/ipath_rc.c | 6 +-
12460 drivers/staging/rdma/ipath/ipath_ruc.c | 6 +-
12461 drivers/staging/rtl8188eu/include/hal_intf.h | 2 +-
12462 drivers/staging/rtl8712/rtl871x_io.h | 2 +-
12463 drivers/staging/sm750fb/sm750.c | 14 +-
12464 drivers/staging/unisys/visorbus/visorbus_private.h | 4 +-
12465 drivers/target/sbp/sbp_target.c | 4 +-
12466 drivers/thermal/cpu_cooling.c | 9 +-
12467 drivers/thermal/int340x_thermal/int3400_thermal.c | 6 +-
12468 drivers/thermal/of-thermal.c | 17 +-
12469 drivers/thermal/x86_pkg_temp_thermal.c | 2 +-
12470 drivers/tty/cyclades.c | 6 +-
12471 drivers/tty/hvc/hvc_console.c | 14 +-
12472 drivers/tty/hvc/hvcs.c | 21 +-
12473 drivers/tty/hvc/hvsi.c | 22 +-
12474 drivers/tty/hvc/hvsi_lib.c | 4 +-
12475 drivers/tty/ipwireless/tty.c | 27 +-
12476 drivers/tty/moxa.c | 2 +-
12477 drivers/tty/n_gsm.c | 4 +-
12478 drivers/tty/n_tty.c | 3 +-
12479 drivers/tty/pty.c | 4 +-
12480 drivers/tty/rocket.c | 6 +-
12481 drivers/tty/serial/8250/8250_core.c | 10 +-
12482 drivers/tty/serial/ifx6x60.c | 2 +-
12483 drivers/tty/serial/ioc4_serial.c | 6 +-
12484 drivers/tty/serial/kgdb_nmi.c | 4 +-
12485 drivers/tty/serial/kgdboc.c | 32 +-
12486 drivers/tty/serial/msm_serial.c | 4 +-
12487 drivers/tty/serial/samsung.c | 9 +-
12488 drivers/tty/serial/serial_core.c | 8 +-
12489 drivers/tty/synclink.c | 34 +-
12490 drivers/tty/synclink_gt.c | 28 +-
12491 drivers/tty/synclinkmp.c | 34 +-
12492 drivers/tty/tty_io.c | 2 +-
12493 drivers/tty/tty_ldisc.c | 8 +-
12494 drivers/tty/tty_port.c | 22 +-
12495 drivers/uio/uio.c | 13 +-
12496 drivers/usb/atm/cxacru.c | 2 +-
12497 drivers/usb/atm/usbatm.c | 24 +-
12498 drivers/usb/class/cdc-acm.h | 2 +-
12499 drivers/usb/core/devices.c | 6 +-
12500 drivers/usb/core/devio.c | 12 +-
12501 drivers/usb/core/hcd.c | 4 +-
12502 drivers/usb/core/sysfs.c | 2 +-
12503 drivers/usb/core/usb.c | 2 +-
12504 drivers/usb/early/ehci-dbgp.c | 16 +-
12505 drivers/usb/gadget/function/u_serial.c | 22 +-
12506 drivers/usb/gadget/udc/dummy_hcd.c | 2 +-
12507 drivers/usb/host/ehci-hcd.c | 2 +-
12508 drivers/usb/host/ehci-hub.c | 4 +-
12509 drivers/usb/host/ehci-q.c | 4 +-
12510 drivers/usb/host/fotg210-hcd.c | 2 +-
12511 drivers/usb/host/fusbh200-hcd.c | 2 +-
12512 drivers/usb/host/hwa-hc.c | 2 +-
12513 drivers/usb/host/ohci-hcd.c | 2 +-
12514 drivers/usb/host/r8a66597.h | 2 +-
12515 drivers/usb/host/uhci-hcd.c | 2 +-
12516 drivers/usb/host/xhci-pci.c | 2 +-
12517 drivers/usb/host/xhci.c | 2 +-
12518 drivers/usb/misc/appledisplay.c | 4 +-
12519 drivers/usb/serial/console.c | 8 +-
12520 drivers/usb/storage/transport.c | 2 +-
12521 drivers/usb/storage/usb.c | 2 +-
12522 drivers/usb/storage/usb.h | 2 +-
12523 drivers/usb/usbip/vhci.h | 2 +-
12524 drivers/usb/usbip/vhci_hcd.c | 6 +-
12525 drivers/usb/usbip/vhci_rx.c | 2 +-
12526 drivers/usb/wusbcore/wa-hc.h | 4 +-
12527 drivers/usb/wusbcore/wa-xfer.c | 2 +-
12528 drivers/vfio/vfio.c | 2 +-
12529 drivers/vhost/vringh.c | 20 +-
12530 drivers/video/backlight/kb3886_bl.c | 2 +-
12531 drivers/video/console/fbcon.c | 2 +-
12532 drivers/video/fbdev/aty/aty128fb.c | 2 +-
12533 drivers/video/fbdev/aty/atyfb_base.c | 8 +-
12534 drivers/video/fbdev/aty/mach64_cursor.c | 5 +-
12535 drivers/video/fbdev/core/fb_defio.c | 6 +-
12536 drivers/video/fbdev/core/fbmem.c | 2 +-
12537 drivers/video/fbdev/hyperv_fb.c | 4 +-
12538 drivers/video/fbdev/i810/i810_accel.c | 1 +
12539 drivers/video/fbdev/matrox/matroxfb_base.c | 2 +-
12540 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c | 16 +-
12541 drivers/video/fbdev/nvidia/nvidia.c | 27 +-
12542 drivers/video/fbdev/omap2/dss/display.c | 8 +-
12543 drivers/video/fbdev/s1d13xxxfb.c | 6 +-
12544 drivers/video/fbdev/smscufx.c | 4 +-
12545 drivers/video/fbdev/udlfb.c | 36 +-
12546 drivers/video/fbdev/uvesafb.c | 52 +-
12547 drivers/video/fbdev/vesafb.c | 58 +-
12548 drivers/video/fbdev/via/via_clock.h | 2 +-
12549 drivers/xen/events/events_base.c | 6 +-
12550 drivers/xen/evtchn.c | 4 +-
12551 fs/Kconfig.binfmt | 2 +-
12552 fs/afs/inode.c | 4 +-
12553 fs/aio.c | 2 +-
12554 fs/autofs4/waitq.c | 2 +-
12555 fs/befs/endian.h | 6 +-
12556 fs/binfmt_aout.c | 23 +-
12557 fs/binfmt_elf.c | 670 +-
12558 fs/binfmt_elf_fdpic.c | 4 +-
12559 fs/block_dev.c | 2 +-
12560 fs/btrfs/ctree.c | 9 +-
12561 fs/btrfs/delayed-inode.c | 9 +-
12562 fs/btrfs/delayed-inode.h | 6 +-
12563 fs/btrfs/file.c | 10 +-
12564 fs/btrfs/inode.c | 14 +-
12565 fs/btrfs/super.c | 2 +-
12566 fs/btrfs/sysfs.c | 2 +-
12567 fs/btrfs/tests/free-space-tests.c | 8 +-
12568 fs/btrfs/tree-log.h | 2 +-
12569 fs/buffer.c | 2 +-
12570 fs/cachefiles/bind.c | 6 +-
12571 fs/cachefiles/daemon.c | 8 +-
12572 fs/cachefiles/internal.h | 12 +-
12573 fs/cachefiles/namei.c | 2 +-
12574 fs/cachefiles/proc.c | 12 +-
12575 fs/ceph/dir.c | 12 +-
12576 fs/ceph/super.c | 4 +-
12577 fs/cifs/cifs_debug.c | 12 +-
12578 fs/cifs/cifsfs.c | 8 +-
12579 fs/cifs/cifsglob.h | 54 +-
12580 fs/cifs/file.c | 10 +-
12581 fs/cifs/misc.c | 4 +-
12582 fs/cifs/smb1ops.c | 80 +-
12583 fs/cifs/smb2ops.c | 84 +-
12584 fs/cifs/smb2pdu.c | 3 +-
12585 fs/coda/cache.c | 10 +-
12586 fs/compat.c | 4 +-
12587 fs/compat_binfmt_elf.c | 2 +
12588 fs/compat_ioctl.c | 12 +-
12589 fs/configfs/dir.c | 10 +-
12590 fs/coredump.c | 16 +-
12591 fs/dcache.c | 51 +-
12592 fs/ecryptfs/inode.c | 2 +-
12593 fs/ecryptfs/miscdev.c | 2 +-
12594 fs/exec.c | 362 +-
12595 fs/ext2/xattr.c | 5 +-
12596 fs/ext4/ext4.h | 20 +-
12597 fs/ext4/mballoc.c | 44 +-
12598 fs/ext4/resize.c | 16 +-
12599 fs/ext4/super.c | 4 +-
12600 fs/ext4/xattr.c | 5 +-
12601 fs/fhandle.c | 3 +-
12602 fs/file.c | 4 +-
12603 fs/fs_struct.c | 8 +-
12604 fs/fscache/cookie.c | 40 +-
12605 fs/fscache/internal.h | 202 +-
12606 fs/fscache/object.c | 26 +-
12607 fs/fscache/operation.c | 38 +-
12608 fs/fscache/page.c | 110 +-
12609 fs/fscache/stats.c | 348 +-
12610 fs/fuse/cuse.c | 10 +-
12611 fs/fuse/dev.c | 4 +-
12612 fs/gfs2/glock.c | 22 +-
12613 fs/gfs2/glops.c | 4 +-
12614 fs/gfs2/quota.c | 6 +-
12615 fs/hugetlbfs/inode.c | 13 +-
12616 fs/inode.c | 4 +-
12617 fs/jffs2/erase.c | 3 +-
12618 fs/jffs2/wbuf.c | 3 +-
12619 fs/jfs/super.c | 2 +-
12620 fs/kernfs/dir.c | 2 +-
12621 fs/kernfs/file.c | 20 +-
12622 fs/libfs.c | 10 +-
12623 fs/lockd/clntproc.c | 4 +-
12624 fs/namei.c | 16 +-
12625 fs/namespace.c | 16 +-
12626 fs/nfs/callback_xdr.c | 2 +-
12627 fs/nfs/inode.c | 6 +-
12628 fs/nfsd/nfs4proc.c | 2 +-
12629 fs/nfsd/nfs4xdr.c | 2 +-
12630 fs/nfsd/nfscache.c | 11 +-
12631 fs/nfsd/vfs.c | 6 +-
12632 fs/nls/nls_base.c | 26 +-
12633 fs/nls/nls_euc-jp.c | 6 +-
12634 fs/nls/nls_koi8-ru.c | 6 +-
12635 fs/notify/fanotify/fanotify_user.c | 4 +-
12636 fs/notify/notification.c | 4 +-
12637 fs/ntfs/dir.c | 2 +-
12638 fs/ntfs/super.c | 6 +-
12639 fs/ocfs2/localalloc.c | 2 +-
12640 fs/ocfs2/ocfs2.h | 10 +-
12641 fs/ocfs2/suballoc.c | 12 +-
12642 fs/ocfs2/super.c | 20 +-
12643 fs/pipe.c | 72 +-
12644 fs/posix_acl.c | 4 +-
12645 fs/proc/array.c | 20 +
12646 fs/proc/base.c | 4 +-
12647 fs/proc/kcore.c | 34 +-
12648 fs/proc/meminfo.c | 2 +-
12649 fs/proc/nommu.c | 2 +-
12650 fs/proc/proc_sysctl.c | 26 +-
12651 fs/proc/task_mmu.c | 39 +-
12652 fs/proc/task_nommu.c | 4 +-
12653 fs/proc/vmcore.c | 16 +-
12654 fs/qnx6/qnx6.h | 4 +-
12655 fs/quota/netlink.c | 4 +-
12656 fs/read_write.c | 2 +-
12657 fs/reiserfs/do_balan.c | 2 +-
12658 fs/reiserfs/procfs.c | 2 +-
12659 fs/reiserfs/reiserfs.h | 4 +-
12660 fs/seq_file.c | 4 +-
12661 fs/splice.c | 43 +-
12662 fs/squashfs/xattr.c | 12 +-
12663 fs/sysv/sysv.h | 2 +-
12664 fs/tracefs/inode.c | 8 +-
12665 fs/udf/misc.c | 2 +-
12666 fs/ufs/swab.h | 4 +-
12667 fs/userfaultfd.c | 2 +-
12668 fs/xattr.c | 21 +
12669 fs/xfs/libxfs/xfs_bmap.c | 2 +-
12670 fs/xfs/xfs_dir2_readdir.c | 7 +-
12671 fs/xfs/xfs_ioctl.c | 2 +-
12672 fs/xfs/xfs_linux.h | 4 +-
12673 include/asm-generic/4level-fixup.h | 2 +
12674 include/asm-generic/atomic-long.h | 156 +-
12675 include/asm-generic/atomic64.h | 12 +
12676 include/asm-generic/bitops/__fls.h | 2 +-
12677 include/asm-generic/bitops/fls.h | 2 +-
12678 include/asm-generic/bitops/fls64.h | 4 +-
12679 include/asm-generic/bug.h | 6 +-
12680 include/asm-generic/cache.h | 4 +-
12681 include/asm-generic/emergency-restart.h | 2 +-
12682 include/asm-generic/kmap_types.h | 4 +-
12683 include/asm-generic/local.h | 13 +
12684 include/asm-generic/pgtable-nopmd.h | 18 +-
12685 include/asm-generic/pgtable-nopud.h | 15 +-
12686 include/asm-generic/pgtable.h | 16 +
12687 include/asm-generic/sections.h | 1 +
12688 include/asm-generic/uaccess.h | 16 +
12689 include/asm-generic/vmlinux.lds.h | 15 +-
12690 include/crypto/algapi.h | 2 +-
12691 include/drm/drmP.h | 16 +-
12692 include/drm/drm_crtc_helper.h | 2 +-
12693 include/drm/drm_mm.h | 2 +-
12694 include/drm/i915_pciids.h | 2 +-
12695 include/drm/intel-gtt.h | 4 +-
12696 include/drm/ttm/ttm_memory.h | 2 +-
12697 include/drm/ttm/ttm_page_alloc.h | 1 +
12698 include/keys/asymmetric-subtype.h | 2 +-
12699 include/linux/atmdev.h | 4 +-
12700 include/linux/atomic.h | 17 +-
12701 include/linux/audit.h | 2 +-
12702 include/linux/average.h | 2 +-
12703 include/linux/binfmts.h | 3 +-
12704 include/linux/bitmap.h | 2 +-
12705 include/linux/bitops.h | 8 +-
12706 include/linux/blkdev.h | 2 +-
12707 include/linux/blktrace_api.h | 2 +-
12708 include/linux/cache.h | 8 +
12709 include/linux/cdrom.h | 1 -
12710 include/linux/cleancache.h | 2 +-
12711 include/linux/clk-provider.h | 1 +
12712 include/linux/compat.h | 6 +-
12713 include/linux/compiler-gcc.h | 28 +-
12714 include/linux/compiler.h | 157 +-
12715 include/linux/configfs.h | 2 +-
12716 include/linux/cpufreq.h | 3 +-
12717 include/linux/cpuidle.h | 5 +-
12718 include/linux/cpumask.h | 14 +-
12719 include/linux/crypto.h | 4 +-
12720 include/linux/ctype.h | 2 +-
12721 include/linux/dcache.h | 4 +-
12722 include/linux/decompress/mm.h | 2 +-
12723 include/linux/devfreq.h | 2 +-
12724 include/linux/device.h | 7 +-
12725 include/linux/dma-mapping.h | 2 +-
12726 include/linux/efi.h | 1 +
12727 include/linux/elf.h | 2 +
12728 include/linux/err.h | 4 +-
12729 include/linux/extcon.h | 2 +-
12730 include/linux/fb.h | 3 +-
12731 include/linux/fdtable.h | 2 +-
12732 include/linux/fs.h | 5 +-
12733 include/linux/fs_struct.h | 2 +-
12734 include/linux/fscache-cache.h | 2 +-
12735 include/linux/fscache.h | 2 +-
12736 include/linux/fsnotify.h | 2 +-
12737 include/linux/genhd.h | 4 +-
12738 include/linux/genl_magic_func.h | 2 +-
12739 include/linux/gfp.h | 12 +-
12740 include/linux/highmem.h | 12 +
12741 include/linux/hwmon-sysfs.h | 6 +-
12742 include/linux/i2c.h | 1 +
12743 include/linux/if_pppox.h | 2 +-
12744 include/linux/init.h | 12 +-
12745 include/linux/init_task.h | 7 +
12746 include/linux/interrupt.h | 6 +-
12747 include/linux/iommu.h | 2 +-
12748 include/linux/ioport.h | 2 +-
12749 include/linux/ipc.h | 2 +-
12750 include/linux/irq.h | 5 +-
12751 include/linux/irqdesc.h | 2 +-
12752 include/linux/irqdomain.h | 3 +
12753 include/linux/jiffies.h | 16 +-
12754 include/linux/key-type.h | 2 +-
12755 include/linux/kgdb.h | 6 +-
12756 include/linux/kmemleak.h | 4 +-
12757 include/linux/kobject.h | 3 +-
12758 include/linux/kobject_ns.h | 2 +-
12759 include/linux/kref.h | 2 +-
12760 include/linux/libata.h | 2 +-
12761 include/linux/linkage.h | 1 +
12762 include/linux/list.h | 15 +
12763 include/linux/lockref.h | 26 +-
12764 include/linux/math64.h | 10 +-
12765 include/linux/mempolicy.h | 7 +
12766 include/linux/mm.h | 102 +-
12767 include/linux/mm_types.h | 20 +
12768 include/linux/mmiotrace.h | 4 +-
12769 include/linux/mmzone.h | 2 +-
12770 include/linux/mod_devicetable.h | 4 +-
12771 include/linux/module.h | 69 +-
12772 include/linux/moduleloader.h | 16 +
12773 include/linux/moduleparam.h | 4 +-
12774 include/linux/net.h | 2 +-
12775 include/linux/netdevice.h | 7 +-
12776 include/linux/netfilter.h | 2 +-
12777 include/linux/netfilter/nfnetlink.h | 2 +-
12778 include/linux/nls.h | 4 +-
12779 include/linux/notifier.h | 3 +-
12780 include/linux/oprofile.h | 4 +-
12781 include/linux/padata.h | 2 +-
12782 include/linux/pci_hotplug.h | 3 +-
12783 include/linux/percpu.h | 2 +-
12784 include/linux/perf_event.h | 12 +-
12785 include/linux/pipe_fs_i.h | 8 +-
12786 include/linux/pm.h | 1 +
12787 include/linux/pm_domain.h | 4 +-
12788 include/linux/pm_runtime.h | 2 +-
12789 include/linux/pnp.h | 2 +-
12790 include/linux/poison.h | 4 +-
12791 include/linux/power/smartreflex.h | 2 +-
12792 include/linux/ppp-comp.h | 2 +-
12793 include/linux/preempt.h | 21 +
12794 include/linux/proc_ns.h | 2 +-
12795 include/linux/psci.h | 2 +-
12796 include/linux/quota.h | 2 +-
12797 include/linux/random.h | 19 +-
12798 include/linux/rculist.h | 16 +
12799 include/linux/reboot.h | 14 +-
12800 include/linux/regset.h | 3 +-
12801 include/linux/relay.h | 2 +-
12802 include/linux/rio.h | 2 +-
12803 include/linux/rmap.h | 4 +-
12804 include/linux/sched.h | 72 +-
12805 include/linux/sched/sysctl.h | 1 +
12806 include/linux/semaphore.h | 2 +-
12807 include/linux/seq_file.h | 1 +
12808 include/linux/signal.h | 2 +-
12809 include/linux/skbuff.h | 12 +-
12810 include/linux/slab.h | 47 +-
12811 include/linux/slab_def.h | 14 +-
12812 include/linux/slub_def.h | 2 +-
12813 include/linux/smp.h | 2 +
12814 include/linux/sock_diag.h | 2 +-
12815 include/linux/sonet.h | 2 +-
12816 include/linux/sunrpc/addr.h | 8 +-
12817 include/linux/sunrpc/clnt.h | 2 +-
12818 include/linux/sunrpc/svc.h | 2 +-
12819 include/linux/sunrpc/svc_rdma.h | 18 +-
12820 include/linux/sunrpc/svcauth.h | 2 +-
12821 include/linux/swapops.h | 10 +-
12822 include/linux/swiotlb.h | 3 +-
12823 include/linux/syscalls.h | 21 +-
12824 include/linux/syscore_ops.h | 2 +-
12825 include/linux/sysctl.h | 3 +-
12826 include/linux/sysfs.h | 9 +-
12827 include/linux/sysrq.h | 3 +-
12828 include/linux/tcp.h | 14 +-
12829 include/linux/thread_info.h | 7 +
12830 include/linux/tty.h | 4 +-
12831 include/linux/tty_driver.h | 2 +-
12832 include/linux/tty_ldisc.h | 2 +-
12833 include/linux/types.h | 16 +
12834 include/linux/uaccess.h | 6 +-
12835 include/linux/uio_driver.h | 2 +-
12836 include/linux/unaligned/access_ok.h | 24 +-
12837 include/linux/usb.h | 12 +-
12838 include/linux/usb/hcd.h | 1 +
12839 include/linux/usb/renesas_usbhs.h | 2 +-
12840 include/linux/vermagic.h | 21 +-
12841 include/linux/vga_switcheroo.h | 8 +-
12842 include/linux/vmalloc.h | 7 +-
12843 include/linux/vmstat.h | 24 +-
12844 include/linux/xattr.h | 5 +-
12845 include/linux/zlib.h | 3 +-
12846 include/media/v4l2-dev.h | 2 +-
12847 include/media/v4l2-device.h | 2 +-
12848 include/net/9p/transport.h | 2 +-
12849 include/net/bluetooth/l2cap.h | 2 +-
12850 include/net/bonding.h | 2 +-
12851 include/net/caif/cfctrl.h | 6 +-
12852 include/net/flow.h | 2 +-
12853 include/net/genetlink.h | 2 +-
12854 include/net/gro_cells.h | 2 +-
12855 include/net/inet_connection_sock.h | 2 +-
12856 include/net/inet_sock.h | 2 +-
12857 include/net/inetpeer.h | 2 +-
12858 include/net/ip_fib.h | 2 +-
12859 include/net/ip_vs.h | 8 +-
12860 include/net/ipv6.h | 2 +-
12861 include/net/irda/ircomm_tty.h | 1 +
12862 include/net/iucv/af_iucv.h | 2 +-
12863 include/net/llc_c_ac.h | 2 +-
12864 include/net/llc_c_ev.h | 4 +-
12865 include/net/llc_c_st.h | 2 +-
12866 include/net/llc_s_ac.h | 2 +-
12867 include/net/llc_s_st.h | 2 +-
12868 include/net/mac80211.h | 4 +-
12869 include/net/neighbour.h | 2 +-
12870 include/net/net_namespace.h | 18 +-
12871 include/net/netlink.h | 2 +-
12872 include/net/netns/conntrack.h | 6 +-
12873 include/net/netns/ipv4.h | 4 +-
12874 include/net/netns/ipv6.h | 4 +-
12875 include/net/netns/xfrm.h | 2 +-
12876 include/net/ping.h | 2 +-
12877 include/net/protocol.h | 4 +-
12878 include/net/rtnetlink.h | 2 +-
12879 include/net/sctp/checksum.h | 4 +-
12880 include/net/sctp/sm.h | 4 +-
12881 include/net/sctp/structs.h | 2 +-
12882 include/net/sock.h | 12 +-
12883 include/net/tcp.h | 8 +-
12884 include/net/xfrm.h | 13 +-
12885 include/rdma/iw_cm.h | 2 +-
12886 include/scsi/libfc.h | 3 +-
12887 include/scsi/scsi_device.h | 6 +-
12888 include/scsi/scsi_driver.h | 2 +-
12889 include/scsi/scsi_transport_fc.h | 3 +-
12890 include/scsi/sg.h | 2 +-
12891 include/sound/compress_driver.h | 2 +-
12892 include/sound/soc.h | 4 +-
12893 include/trace/events/irq.h | 4 +-
12894 include/uapi/linux/a.out.h | 8 +
12895 include/uapi/linux/bcache.h | 5 +-
12896 include/uapi/linux/byteorder/little_endian.h | 28 +-
12897 include/uapi/linux/connector.h | 2 +-
12898 include/uapi/linux/elf.h | 28 +
12899 include/uapi/linux/screen_info.h | 3 +-
12900 include/uapi/linux/swab.h | 6 +-
12901 include/uapi/linux/xattr.h | 4 +
12902 include/video/udlfb.h | 8 +-
12903 include/video/uvesafb.h | 1 +
12904 init/Kconfig | 2 +-
12905 init/Makefile | 3 +
12906 init/do_mounts.c | 14 +-
12907 init/do_mounts.h | 8 +-
12908 init/do_mounts_initrd.c | 30 +-
12909 init/do_mounts_md.c | 6 +-
12910 init/init_task.c | 4 +
12911 init/initramfs.c | 38 +-
12912 init/main.c | 30 +-
12913 ipc/compat.c | 4 +-
12914 ipc/ipc_sysctl.c | 8 +-
12915 ipc/mq_sysctl.c | 4 +-
12916 ipc/sem.c | 4 +-
12917 ipc/shm.c | 6 +
12918 kernel/audit.c | 8 +-
12919 kernel/auditsc.c | 4 +-
12920 kernel/bpf/core.c | 7 +-
12921 kernel/capability.c | 3 +
12922 kernel/compat.c | 38 +-
12923 kernel/debug/debug_core.c | 16 +-
12924 kernel/debug/kdb/kdb_main.c | 4 +-
12925 kernel/events/core.c | 26 +-
12926 kernel/events/internal.h | 10 +-
12927 kernel/events/uprobes.c | 2 +-
12928 kernel/exit.c | 2 +-
12929 kernel/fork.c | 167 +-
12930 kernel/futex.c | 11 +-
12931 kernel/futex_compat.c | 2 +-
12932 kernel/gcov/base.c | 7 +-
12933 kernel/irq/manage.c | 2 +-
12934 kernel/irq/msi.c | 19 +-
12935 kernel/irq/spurious.c | 2 +-
12936 kernel/jump_label.c | 5 +
12937 kernel/kallsyms.c | 37 +-
12938 kernel/kexec.c | 3 +-
12939 kernel/kmod.c | 8 +-
12940 kernel/kprobes.c | 4 +-
12941 kernel/ksysfs.c | 2 +-
12942 kernel/locking/lockdep.c | 7 +-
12943 kernel/locking/mutex-debug.c | 12 +-
12944 kernel/locking/mutex-debug.h | 4 +-
12945 kernel/locking/mutex.c | 6 +-
12946 kernel/module.c | 422 +-
12947 kernel/notifier.c | 17 +-
12948 kernel/padata.c | 4 +-
12949 kernel/panic.c | 5 +-
12950 kernel/pid.c | 2 +-
12951 kernel/pid_namespace.c | 2 +-
12952 kernel/power/process.c | 12 +-
12953 kernel/profile.c | 14 +-
12954 kernel/ptrace.c | 8 +-
12955 kernel/rcu/rcutorture.c | 60 +-
12956 kernel/rcu/tiny.c | 4 +-
12957 kernel/rcu/tree.c | 44 +-
12958 kernel/rcu/tree.h | 14 +-
12959 kernel/rcu/tree_plugin.h | 14 +-
12960 kernel/rcu/tree_trace.c | 12 +-
12961 kernel/sched/auto_group.c | 4 +-
12962 kernel/sched/core.c | 45 +-
12963 kernel/sched/fair.c | 2 +-
12964 kernel/sched/sched.h | 2 +-
12965 kernel/signal.c | 12 +-
12966 kernel/smpboot.c | 4 +-
12967 kernel/softirq.c | 12 +-
12968 kernel/sys.c | 10 +-
12969 kernel/sysctl.c | 34 +-
12970 kernel/time/alarmtimer.c | 2 +-
12971 kernel/time/posix-cpu-timers.c | 4 +-
12972 kernel/time/posix-timers.c | 24 +-
12973 kernel/time/timer.c | 2 +-
12974 kernel/time/timer_stats.c | 10 +-
12975 kernel/trace/blktrace.c | 6 +-
12976 kernel/trace/ftrace.c | 15 +-
12977 kernel/trace/ring_buffer.c | 96 +-
12978 kernel/trace/trace.c | 2 +-
12979 kernel/trace/trace.h | 2 +-
12980 kernel/trace/trace_clock.c | 4 +-
12981 kernel/trace/trace_events.c | 1 -
12982 kernel/trace/trace_functions_graph.c | 4 +-
12983 kernel/trace/trace_mmiotrace.c | 8 +-
12984 kernel/trace/trace_output.c | 10 +-
12985 kernel/trace/trace_seq.c | 2 +-
12986 kernel/trace/trace_stack.c | 2 +-
12987 kernel/user_namespace.c | 2 +-
12988 kernel/utsname_sysctl.c | 2 +-
12989 kernel/watchdog.c | 2 +-
12990 kernel/workqueue.c | 2 +-
12991 lib/Kconfig.debug | 8 +-
12992 lib/Makefile | 2 +-
12993 lib/bitmap.c | 8 +-
12994 lib/bug.c | 2 +
12995 lib/debugobjects.c | 2 +-
12996 lib/decompress_bunzip2.c | 3 +-
12997 lib/decompress_unlzma.c | 4 +-
12998 lib/div64.c | 4 +-
12999 lib/dma-debug.c | 4 +-
13000 lib/inflate.c | 2 +-
13001 lib/ioremap.c | 4 +-
13002 lib/kobject.c | 4 +-
13003 lib/list_debug.c | 126 +-
13004 lib/lockref.c | 44 +-
13005 lib/percpu-refcount.c | 2 +-
13006 lib/radix-tree.c | 2 +-
13007 lib/random32.c | 2 +-
13008 lib/show_mem.c | 2 +-
13009 lib/strncpy_from_user.c | 2 +-
13010 lib/strnlen_user.c | 2 +-
13011 lib/swiotlb.c | 2 +-
13012 lib/usercopy.c | 6 +
13013 lib/vsprintf.c | 12 +-
13014 mm/Kconfig | 6 +-
13015 mm/backing-dev.c | 4 +-
13016 mm/debug.c | 3 +
13017 mm/filemap.c | 2 +-
13018 mm/gup.c | 13 +-
13019 mm/highmem.c | 6 +-
13020 mm/hugetlb.c | 70 +-
13021 mm/internal.h | 1 +
13022 mm/maccess.c | 4 +-
13023 mm/madvise.c | 37 +
13024 mm/memory-failure.c | 6 +-
13025 mm/memory.c | 424 +-
13026 mm/mempolicy.c | 25 +
13027 mm/mlock.c | 15 +-
13028 mm/mm_init.c | 2 +-
13029 mm/mmap.c | 582 +-
13030 mm/mprotect.c | 137 +-
13031 mm/mremap.c | 39 +-
13032 mm/nommu.c | 21 +-
13033 mm/page-writeback.c | 2 +-
13034 mm/page_alloc.c | 49 +-
13035 mm/percpu.c | 2 +-
13036 mm/process_vm_access.c | 14 +-
13037 mm/rmap.c | 45 +-
13038 mm/shmem.c | 19 +-
13039 mm/slab.c | 109 +-
13040 mm/slab.h | 22 +-
13041 mm/slab_common.c | 86 +-
13042 mm/slob.c | 218 +-
13043 mm/slub.c | 102 +-
13044 mm/sparse-vmemmap.c | 4 +-
13045 mm/sparse.c | 2 +-
13046 mm/swap.c | 2 +
13047 mm/swapfile.c | 12 +-
13048 mm/util.c | 6 +
13049 mm/vmalloc.c | 114 +-
13050 mm/vmstat.c | 12 +-
13051 net/8021q/vlan.c | 5 +-
13052 net/8021q/vlan_netlink.c | 2 +-
13053 net/9p/mod.c | 4 +-
13054 net/9p/trans_fd.c | 2 +-
13055 net/atm/atm_misc.c | 8 +-
13056 net/atm/lec.h | 2 +-
13057 net/atm/proc.c | 6 +-
13058 net/atm/resources.c | 4 +-
13059 net/ax25/sysctl_net_ax25.c | 2 +-
13060 net/batman-adv/bat_iv_ogm.c | 8 +-
13061 net/batman-adv/fragmentation.c | 2 +-
13062 net/batman-adv/soft-interface.c | 8 +-
13063 net/batman-adv/types.h | 6 +-
13064 net/bluetooth/hci_sock.c | 2 +-
13065 net/bluetooth/l2cap_core.c | 6 +-
13066 net/bluetooth/l2cap_sock.c | 12 +-
13067 net/bluetooth/rfcomm/sock.c | 4 +-
13068 net/bluetooth/rfcomm/tty.c | 4 +-
13069 net/bridge/br_netlink.c | 2 +-
13070 net/bridge/netfilter/ebtables.c | 6 +-
13071 net/caif/cfctrl.c | 11 +-
13072 net/caif/chnl_net.c | 2 +-
13073 net/can/af_can.c | 2 +-
13074 net/can/gw.c | 6 +-
13075 net/ceph/messenger.c | 4 +-
13076 net/compat.c | 24 +-
13077 net/core/datagram.c | 2 +-
13078 net/core/dev.c | 16 +-
13079 net/core/filter.c | 2 +-
13080 net/core/flow.c | 6 +-
13081 net/core/neighbour.c | 4 +-
13082 net/core/net-sysfs.c | 2 +-
13083 net/core/net_namespace.c | 8 +-
13084 net/core/netpoll.c | 4 +-
13085 net/core/rtnetlink.c | 15 +-
13086 net/core/scm.c | 14 +-
13087 net/core/skbuff.c | 8 +-
13088 net/core/sock.c | 28 +-
13089 net/core/sock_diag.c | 15 +-
13090 net/core/sysctl_net_core.c | 22 +-
13091 net/decnet/af_decnet.c | 1 +
13092 net/decnet/sysctl_net_decnet.c | 4 +-
13093 net/dsa/dsa.c | 2 +-
13094 net/hsr/hsr_netlink.c | 2 +-
13095 net/ieee802154/6lowpan/core.c | 2 +-
13096 net/ieee802154/6lowpan/reassembly.c | 14 +-
13097 net/ipv4/af_inet.c | 2 +-
13098 net/ipv4/devinet.c | 18 +-
13099 net/ipv4/fib_frontend.c | 6 +-
13100 net/ipv4/fib_semantics.c | 2 +-
13101 net/ipv4/inet_connection_sock.c | 4 +-
13102 net/ipv4/inet_timewait_sock.c | 2 +-
13103 net/ipv4/inetpeer.c | 2 +-
13104 net/ipv4/ip_fragment.c | 15 +-
13105 net/ipv4/ip_gre.c | 6 +-
13106 net/ipv4/ip_sockglue.c | 2 +-
13107 net/ipv4/ip_vti.c | 4 +-
13108 net/ipv4/ipconfig.c | 6 +-
13109 net/ipv4/ipip.c | 4 +-
13110 net/ipv4/netfilter/arp_tables.c | 12 +-
13111 net/ipv4/netfilter/ip_tables.c | 12 +-
13112 net/ipv4/ping.c | 14 +-
13113 net/ipv4/raw.c | 14 +-
13114 net/ipv4/route.c | 32 +-
13115 net/ipv4/sysctl_net_ipv4.c | 22 +-
13116 net/ipv4/tcp_input.c | 6 +-
13117 net/ipv4/tcp_probe.c | 2 +-
13118 net/ipv4/udp.c | 10 +-
13119 net/ipv4/xfrm4_policy.c | 18 +-
13120 net/ipv6/addrconf.c | 18 +-
13121 net/ipv6/af_inet6.c | 2 +-
13122 net/ipv6/datagram.c | 2 +-
13123 net/ipv6/icmp.c | 2 +-
13124 net/ipv6/ip6_fib.c | 4 +-
13125 net/ipv6/ip6_gre.c | 10 +-
13126 net/ipv6/ip6_tunnel.c | 4 +-
13127 net/ipv6/ip6_vti.c | 4 +-
13128 net/ipv6/ipv6_sockglue.c | 2 +-
13129 net/ipv6/netfilter/ip6_tables.c | 12 +-
13130 net/ipv6/netfilter/nf_conntrack_reasm.c | 14 +-
13131 net/ipv6/ping.c | 33 +-
13132 net/ipv6/raw.c | 17 +-
13133 net/ipv6/reassembly.c | 13 +-
13134 net/ipv6/route.c | 2 +-
13135 net/ipv6/sit.c | 4 +-
13136 net/ipv6/sysctl_net_ipv6.c | 2 +-
13137 net/ipv6/udp.c | 6 +-
13138 net/ipv6/xfrm6_policy.c | 17 +-
13139 net/irda/ircomm/ircomm_tty.c | 18 +-
13140 net/iucv/af_iucv.c | 4 +-
13141 net/iucv/iucv.c | 2 +-
13142 net/key/af_key.c | 4 +-
13143 net/l2tp/l2tp_eth.c | 38 +-
13144 net/l2tp/l2tp_ip.c | 2 +-
13145 net/l2tp/l2tp_ip6.c | 2 +-
13146 net/mac80211/cfg.c | 8 +-
13147 net/mac80211/ieee80211_i.h | 3 +-
13148 net/mac80211/iface.c | 20 +-
13149 net/mac80211/main.c | 2 +-
13150 net/mac80211/pm.c | 4 +-
13151 net/mac80211/rate.c | 2 +-
13152 net/mac80211/sta_info.c | 2 +-
13153 net/mac80211/util.c | 8 +-
13154 net/mpls/af_mpls.c | 6 +-
13155 net/netfilter/ipset/ip_set_core.c | 2 +-
13156 net/netfilter/ipvs/ip_vs_conn.c | 6 +-
13157 net/netfilter/ipvs/ip_vs_core.c | 4 +-
13158 net/netfilter/ipvs/ip_vs_ctl.c | 14 +-
13159 net/netfilter/ipvs/ip_vs_lblc.c | 2 +-
13160 net/netfilter/ipvs/ip_vs_lblcr.c | 2 +-
13161 net/netfilter/ipvs/ip_vs_sync.c | 6 +-
13162 net/netfilter/ipvs/ip_vs_xmit.c | 4 +-
13163 net/netfilter/nf_conntrack_acct.c | 2 +-
13164 net/netfilter/nf_conntrack_ecache.c | 2 +-
13165 net/netfilter/nf_conntrack_helper.c | 2 +-
13166 net/netfilter/nf_conntrack_proto.c | 2 +-
13167 net/netfilter/nf_conntrack_standalone.c | 2 +-
13168 net/netfilter/nf_conntrack_timestamp.c | 2 +-
13169 net/netfilter/nf_log.c | 10 +-
13170 net/netfilter/nf_sockopt.c | 4 +-
13171 net/netfilter/nfnetlink_log.c | 4 +-
13172 net/netfilter/nft_compat.c | 9 +-
13173 net/netfilter/xt_statistic.c | 8 +-
13174 net/netlink/af_netlink.c | 4 +-
13175 net/openvswitch/vport-internal_dev.c | 2 +-
13176 net/packet/af_packet.c | 8 +-
13177 net/phonet/pep.c | 6 +-
13178 net/phonet/socket.c | 2 +-
13179 net/phonet/sysctl.c | 2 +-
13180 net/rds/cong.c | 6 +-
13181 net/rds/ib.h | 2 +-
13182 net/rds/ib_cm.c | 2 +-
13183 net/rds/ib_recv.c | 4 +-
13184 net/rds/iw.h | 2 +-
13185 net/rds/iw_cm.c | 2 +-
13186 net/rds/iw_recv.c | 4 +-
13187 net/rds/rds.h | 2 +-
13188 net/rds/tcp.c | 2 +-
13189 net/rds/tcp_send.c | 2 +-
13190 net/rxrpc/af_rxrpc.c | 2 +-
13191 net/rxrpc/ar-ack.c | 14 +-
13192 net/rxrpc/ar-call.c | 2 +-
13193 net/rxrpc/ar-connection.c | 2 +-
13194 net/rxrpc/ar-connevent.c | 2 +-
13195 net/rxrpc/ar-input.c | 4 +-
13196 net/rxrpc/ar-internal.h | 8 +-
13197 net/rxrpc/ar-local.c | 2 +-
13198 net/rxrpc/ar-output.c | 4 +-
13199 net/rxrpc/ar-peer.c | 2 +-
13200 net/rxrpc/ar-proc.c | 4 +-
13201 net/rxrpc/ar-transport.c | 2 +-
13202 net/rxrpc/rxkad.c | 4 +-
13203 net/sched/sch_generic.c | 4 +-
13204 net/sctp/ipv6.c | 6 +-
13205 net/sctp/protocol.c | 10 +-
13206 net/sctp/sm_sideeffect.c | 2 +-
13207 net/sctp/socket.c | 21 +-
13208 net/sctp/sysctl.c | 10 +-
13209 net/socket.c | 18 +-
13210 net/sunrpc/auth_gss/svcauth_gss.c | 4 +-
13211 net/sunrpc/clnt.c | 4 +-
13212 net/sunrpc/sched.c | 4 +-
13213 net/sunrpc/svc.c | 4 +-
13214 net/sunrpc/svcauth_unix.c | 2 +-
13215 net/sunrpc/xprtrdma/svc_rdma.c | 38 +-
13216 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 8 +-
13217 net/sunrpc/xprtrdma/svc_rdma_sendto.c | 2 +-
13218 net/sunrpc/xprtrdma/svc_rdma_transport.c | 10 +-
13219 net/tipc/netlink_compat.c | 12 +-
13220 net/tipc/subscr.c | 2 +-
13221 net/unix/af_unix.c | 7 +-
13222 net/unix/sysctl_net_unix.c | 2 +-
13223 net/wireless/wext-core.c | 19 +-
13224 net/xfrm/xfrm_policy.c | 16 +-
13225 net/xfrm/xfrm_state.c | 33 +-
13226 net/xfrm/xfrm_sysctl.c | 2 +-
13227 scripts/Kbuild.include | 2 +-
13228 scripts/Makefile.build | 2 +-
13229 scripts/Makefile.clean | 3 +-
13230 scripts/Makefile.host | 69 +-
13231 scripts/basic/fixdep.c | 12 +-
13232 scripts/dtc/checks.c | 14 +-
13233 scripts/dtc/data.c | 6 +-
13234 scripts/dtc/flattree.c | 8 +-
13235 scripts/dtc/livetree.c | 4 +-
13236 scripts/gcc-plugin.sh | 51 +
13237 scripts/headers_install.sh | 1 +
13238 scripts/kallsyms.c | 4 +-
13239 scripts/kconfig/lkc.h | 5 +-
13240 scripts/kconfig/menu.c | 2 +-
13241 scripts/kconfig/symbol.c | 6 +-
13242 scripts/link-vmlinux.sh | 2 +-
13243 scripts/mod/file2alias.c | 14 +-
13244 scripts/mod/modpost.c | 25 +-
13245 scripts/mod/modpost.h | 6 +-
13246 scripts/mod/sumversion.c | 2 +-
13247 scripts/module-common.lds | 4 +
13248 scripts/package/builddeb | 1 +
13249 scripts/pnmtologo.c | 6 +-
13250 scripts/sortextable.h | 6 +-
13251 scripts/tags.sh | 2 +-
13252 security/Kconfig | 692 +-
13253 security/integrity/ima/ima.h | 4 +-
13254 security/integrity/ima/ima_api.c | 2 +-
13255 security/integrity/ima/ima_fs.c | 4 +-
13256 security/integrity/ima/ima_queue.c | 2 +-
13257 security/keys/key.c | 18 +-
13258 security/selinux/avc.c | 6 +-
13259 security/selinux/include/xfrm.h | 2 +-
13260 security/yama/yama_lsm.c | 2 +-
13261 sound/aoa/codecs/onyx.c | 7 +-
13262 sound/aoa/codecs/onyx.h | 1 +
13263 sound/core/oss/pcm_oss.c | 18 +-
13264 sound/core/pcm_compat.c | 2 +-
13265 sound/core/pcm_native.c | 4 +-
13266 sound/core/sound.c | 2 +-
13267 sound/drivers/mts64.c | 14 +-
13268 sound/drivers/opl4/opl4_lib.c | 2 +-
13269 sound/drivers/portman2x4.c | 3 +-
13270 sound/firewire/amdtp.c | 4 +-
13271 sound/firewire/amdtp.h | 4 +-
13272 sound/firewire/isight.c | 10 +-
13273 sound/firewire/scs1x.c | 8 +-
13274 sound/oss/sb_audio.c | 2 +-
13275 sound/oss/swarm_cs4297a.c | 6 +-
13276 sound/pci/hda/hda_codec.c | 2 +-
13277 sound/pci/ymfpci/ymfpci.h | 2 +-
13278 sound/pci/ymfpci/ymfpci_main.c | 12 +-
13279 sound/soc/codecs/sti-sas.c | 10 +-
13280 sound/soc/soc-ac97.c | 6 +-
13281 sound/soc/xtensa/xtfpga-i2s.c | 2 +-
13282 tools/gcc/Makefile | 42 +
13283 tools/gcc/checker_plugin.c | 150 +
13284 tools/gcc/colorize_plugin.c | 215 +
13285 tools/gcc/constify_plugin.c | 571 +
13286 tools/gcc/gcc-common.h | 812 +
13287 tools/gcc/initify_plugin.c | 552 +
13288 tools/gcc/kallocstat_plugin.c | 188 +
13289 tools/gcc/kernexec_plugin.c | 549 +
13290 tools/gcc/latent_entropy_plugin.c | 470 +
13291 tools/gcc/size_overflow_plugin/.gitignore | 2 +
13292 tools/gcc/size_overflow_plugin/Makefile | 28 +
13293 .../disable_size_overflow_hash.data |12422 ++++++++++++
13294 .../generate_size_overflow_hash.sh | 103 +
13295 .../insert_size_overflow_asm.c | 416 +
13296 .../size_overflow_plugin/intentional_overflow.c | 1010 +
13297 .../size_overflow_plugin/remove_unnecessary_dup.c | 137 +
13298 tools/gcc/size_overflow_plugin/size_overflow.h | 323 +
13299 .../gcc/size_overflow_plugin/size_overflow_debug.c | 194 +
13300 .../size_overflow_plugin/size_overflow_hash.data |20735 ++++++++++++++++++++
13301 .../size_overflow_hash_aux.data | 92 +
13302 tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 1226 ++
13303 .../gcc/size_overflow_plugin/size_overflow_misc.c | 505 +
13304 .../size_overflow_plugin/size_overflow_plugin.c | 318 +
13305 .../size_overflow_plugin_hash.c | 352 +
13306 .../size_overflow_plugin/size_overflow_transform.c | 749 +
13307 .../size_overflow_transform_core.c | 1010 +
13308 tools/gcc/stackleak_plugin.c | 436 +
13309 tools/gcc/structleak_plugin.c | 287 +
13310 tools/include/linux/compiler.h | 8 +
13311 tools/lib/api/Makefile | 2 +-
13312 tools/perf/util/include/asm/alternative-asm.h | 3 +
13313 tools/virtio/linux/uaccess.h | 2 +-
13314 virt/kvm/kvm_main.c | 42 +-
13315 1944 files changed, 66925 insertions(+), 8949 deletions(-)
13316 commit 87790bbd0d8dc2bd7fd86cb947e32886db9e9766
13317 Author: Matthew Wilcox <willy@linux.intel.com>
13318 Date: Tue Feb 2 16:57:52 2016 -0800
13319
13320 radix-tree: fix race in gang lookup
13321
13322 If the indirect_ptr bit is set on a slot, that indicates we need to redo
13323 the lookup. Introduce a new function radix_tree_iter_retry() which
13324 forces the loop to retry the lookup by setting 'slot' to NULL and
13325 turning the iterator back to point at the problematic entry.
13326
13327 This is a pretty rare problem to hit at the moment; the lookup has to
13328 race with a grow of the radix tree from a height of 0. The consequences
13329 of hitting this race are that gang lookup could return a pointer to a
13330 radix_tree_node instead of a pointer to whatever the user had inserted
13331 in the tree.
13332
13333 Fixes: cebbd29e1c2f ("radix-tree: rewrite gang lookup using iterator")
13334 Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
13335 Cc: Hugh Dickins <hughd@google.com>
13336 Cc: Ohad Ben-Cohen <ohad@wizery.com>
13337 Cc: Konstantin Khlebnikov <khlebnikov@openvz.org>
13338 Cc: <stable@vger.kernel.org>
13339 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
13340 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
13341
13342 include/linux/radix-tree.h | 16 ++++++++++++++++
13343 lib/radix-tree.c | 12 ++++++++++--
13344 2 files changed, 26 insertions(+), 2 deletions(-)
13345
13346 commit bf628043b4589c910919a0f221ae7f42aa8cea93
13347 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
13348 Date: Wed Feb 3 02:11:03 2016 +0100
13349
13350 unix: correctly track in-flight fds in sending process user_struct
13351
13352 The commit referenced in the Fixes tag incorrectly accounted the number
13353 of in-flight fds over a unix domain socket to the original opener
13354 of the file-descriptor. This allows another process to arbitrary
13355 deplete the original file-openers resource limit for the maximum of
13356 open files. Instead the sending processes and its struct cred should
13357 be credited.
13358
13359 To do so, we add a reference counted struct user_struct pointer to the
13360 scm_fp_list and use it to account for the number of inflight unix fds.
13361
13362 Fixes: 712f4aad406bb1 ("unix: properly account for FDs passed over unix sockets")
13363 Reported-by: David Herrmann <dh.herrmann@gmail.com>
13364 Cc: David Herrmann <dh.herrmann@gmail.com>
13365 Cc: Willy Tarreau <w@1wt.eu>
13366 Cc: Linus Torvalds <torvalds@linux-foundation.org>
13367 Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
13368 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
13369 Signed-off-by: David S. Miller <davem@davemloft.net>
13370
13371 include/net/af_unix.h | 4 ++--
13372 include/net/scm.h | 1 +
13373 net/core/scm.c | 7 +++++++
13374 net/unix/af_unix.c | 4 ++--
13375 net/unix/garbage.c | 8 ++++----
13376 5 files changed, 16 insertions(+), 8 deletions(-)
13377
13378 commit e830db443ff78d70b7b63536e688d73907face0c
13379 Author: Mike Kravetz <mike.kravetz@oracle.com>
13380 Date: Fri Jan 15 16:57:37 2016 -0800
13381
13382 fs/hugetlbfs/inode.c: fix bugs in hugetlb_vmtruncate_list()
13383
13384 Hillf Danton noticed bugs in the hugetlb_vmtruncate_list routine. The
13385 argument end is of type pgoff_t. It was being converted to a vaddr
13386 offset and passed to unmap_hugepage_range. However, end was also being
13387 used as an argument to the vma_interval_tree_foreach controlling loop.
13388 In addition, the conversion of end to vaddr offset was incorrect.
13389
13390 hugetlb_vmtruncate_list is called as part of a file truncate or
13391 fallocate hole punch operation.
13392
13393 When truncating a hugetlbfs file, this bug could prevent some pages from
13394 being unmapped. This is possible if there are multiple vmas mapping the
13395 file, and there is a sufficiently sized hole between the mappings. The
13396 size of the hole between two vmas (A,B) must be such that the starting
13397 virtual address of B is greater than (ending virtual address of A <<
13398 PAGE_SHIFT). In this case, the pages in B would not be unmapped. If
13399 pages are not properly unmapped during truncate, the following BUG is
13400 hit:
13401
13402 kernel BUG at fs/hugetlbfs/inode.c:428!
13403
13404 In the fallocate hole punch case, this bug could prevent pages from
13405 being unmapped as in the truncate case. However, for hole punch the
13406 result is that unmapped pages will not be removed during the operation.
13407 For hole punch, it is also possible that more pages than desired will be
13408 unmapped. This unnecessary unmapping will cause page faults to
13409 reestablish the mappings on subsequent page access.
13410
13411 Fixes: 1bfad99ab (" hugetlbfs: hugetlb_vmtruncate_list() needs to take a range")Reported-by: Hillf Danton <hillf.zj@alibaba-inc.com>
13412 Signed-off-by: Mike Kravetz <mike.kravetz@oracle.com>
13413 Cc: Hugh Dickins <hughd@google.com>
13414 Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
13415 Cc: Davidlohr Bueso <dave@stgolabs.net>
13416 Cc: Dave Hansen <dave.hansen@linux.intel.com>
13417 Cc: <stable@vger.kernel.org> [4.3]
13418 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
13419 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
13420
13421 fs/hugetlbfs/inode.c | 19 +++++++++++--------
13422 1 files changed, 11 insertions(+), 8 deletions(-)
13423
13424 commit cdb3ba4a9113b779347387f3b6c6ea72dd4db12f
13425 Author: Takashi Iwai <tiwai@suse.de>
13426 Date: Thu Feb 4 17:06:13 2016 +0100
13427
13428 ALSA: timer: Fix leftover link at closing
13429
13430 In ALSA timer core, the active timer instance is managed in
13431 active_list linked list. Each element is added / removed dynamically
13432 at timer start, stop and in timer interrupt. The problem is that
13433 snd_timer_interrupt() has a thinko and leaves the element in
13434 active_list when it's the last opened element. This eventually leads
13435 to list corruption or use-after-free error.
13436
13437 This hasn't been revealed because we used to delete the list forcibly
13438 in snd_timer_stop() in the past. However, the recent fix avoids the
13439 double-stop behavior (in commit [f784beb75ce8: ALSA: timer: Fix link
13440 corruption due to double start or stop]), and this leak hits reality.
13441
13442 This patch fixes the link management in snd_timer_interrupt(). Now it
13443 simply unlinks no matter which stream is.
13444
13445 BugLink: http://lkml.kernel.org/r/CACT4Y+Yy2aukHP-EDp8-ziNqNNmb-NTf=jDWXMP7jB8HDa2vng@mail.gmail.com
13446 Reported-by: Dmitry Vyukov <dvyukov@google.com>
13447 Cc: <stable@vger.kernel.org>
13448 Signed-off-by: Takashi Iwai <tiwai@suse.de>
13449
13450 sound/core/timer.c | 4 ++--
13451 1 files changed, 2 insertions(+), 2 deletions(-)
13452
13453 commit 47d9647902f6a2f46a2be1e0140ba0f6f8c06008
13454 Author: Konstantin Khlebnikov <koct9i@gmail.com>
13455 Date: Fri Feb 5 15:37:01 2016 -0800
13456
13457 radix-tree: fix oops after radix_tree_iter_retry
13458
13459 Helper radix_tree_iter_retry() resets next_index to the current index.
13460 In following radix_tree_next_slot current chunk size becomes zero. This
13461 isn't checked and it tries to dereference null pointer in slot.
13462
13463 Tagged iterator is fine because retry happens only at slot 0 where tag
13464 bitmask in iter->tags is filled with single bit.
13465
13466 Fixes: 46437f9a554f ("radix-tree: fix race in gang lookup")
13467 Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com>
13468 Cc: Matthew Wilcox <willy@linux.intel.com>
13469 Cc: Hugh Dickins <hughd@google.com>
13470 Cc: Ohad Ben-Cohen <ohad@wizery.com>
13471 Cc: Jeremiah Mahler <jmmahler@gmail.com>
13472 Cc: <stable@vger.kernel.org>
13473 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
13474 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
13475
13476 include/linux/radix-tree.h | 6 +++---
13477 1 files changed, 3 insertions(+), 3 deletions(-)
13478
13479 commit 95b5dcb3c01958502af00b0bc0da1d906aae11a2
13480 Merge: 438be0b 256aeaf
13481 Author: Brad Spengler <spender@grsecurity.net>
13482 Date: Sun Feb 7 08:29:33 2016 -0500
13483
13484 Merge branch 'pax-test' into grsec-test
13485
13486 commit 256aeaf87c22de8edf1f03682a572c590ae07771
13487 Author: Brad Spengler <spender@grsecurity.net>
13488 Date: Sun Feb 7 08:29:09 2016 -0500
13489
13490 Update to pax-linux-4.3.5-test28.patch:
13491 - 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)
13492 - spender fixed UDEREF on arm
13493
13494 arch/arm/Kconfig | 1 +
13495 arch/arm/include/asm/domain.h | 21 ++++++++-
13496 arch/arm/include/asm/futex.h | 9 ----
13497 arch/arm/include/asm/thread_info.h | 3 +
13498 arch/arm/include/asm/uaccess.h | 81 +++++++++++++++---------------------
13499 arch/arm/kernel/entry-armv.S | 2 +-
13500 arch/arm/kernel/process.c | 2 +-
13501 arch/arm/mm/alignment.c | 8 ----
13502 arch/x86/mm/numa.c | 2 +-
13503 security/Kconfig | 1 -
13504 10 files changed, 60 insertions(+), 70 deletions(-)
13505
13506 commit 438be0bd112bd17942b2628c53054dc1007558a1
13507 Author: Brad Spengler <spender@grsecurity.net>
13508 Date: Sat Feb 6 19:50:31 2016 -0500
13509
13510 Fix a number of issues caused by the upstream merging of a UDEREF ripoff resulting in unbootable
13511 ARM systems reported on the forums
13512
13513 arch/arm/Kconfig | 1 +
13514 arch/arm/include/asm/domain.h | 21 ++++++++-
13515 arch/arm/include/asm/futex.h | 9 ----
13516 arch/arm/include/asm/thread_info.h | 3 +
13517 arch/arm/include/asm/uaccess.h | 81 +++++++++++++++---------------------
13518 arch/arm/kernel/entry-armv.S | 2 +-
13519 arch/arm/kernel/process.c | 2 +-
13520 arch/arm/mm/alignment.c | 8 ----
13521 security/Kconfig | 1 -
13522 9 files changed, 59 insertions(+), 69 deletions(-)
13523
13524 commit 4ffdd5ef1f87e611af1efb4f251ada92abe9f4c0
13525 Author: Brad Spengler <spender@grsecurity.net>
13526 Date: Sat Feb 6 11:21:53 2016 -0500
13527
13528 Fix another compiler warning
13529
13530 net/ipv4/tcp_input.c | 2 ++
13531 1 files changed, 2 insertions(+), 0 deletions(-)
13532
13533 commit 30b5b7bc0fd67d458bdd5ab35e4689769eabd2ed
13534 Author: Brad Spengler <spender@grsecurity.net>
13535 Date: Sat Feb 6 11:16:12 2016 -0500
13536
13537 Fix two compiler warnings
13538
13539 kernel/pid.c | 5 ++---
13540 kernel/ptrace.c | 3 ++-
13541 2 files changed, 4 insertions(+), 4 deletions(-)
13542
13543 commit dda4d2a21914c480750f10bd55c6e3203d415d8d
13544 Author: Brad Spengler <spender@grsecurity.net>
13545 Date: Wed Feb 3 21:22:40 2016 -0500
13546
13547 Apply fix for integer truncation in NUMA init code, reported by
13548 x14sg1 on the forums:
13549 https://forums.grsecurity.net/viewtopic.php?f=3&t=4374
13550
13551 arch/x86/mm/numa.c | 2 +-
13552 1 files changed, 1 insertions(+), 1 deletions(-)
13553
13554 commit 477505f7c893cb6a2c3e22f83eefd9c985d7b3ca
13555 Merge: a781740 016d0d8
13556 Author: Brad Spengler <spender@grsecurity.net>
13557 Date: Wed Feb 3 21:20:58 2016 -0500
13558
13559 Merge branch 'pax-test' into grsec-test
13560
13561 commit 016d0d81a8dd4be1304c82a68e0ccf425868f467
13562 Author: Brad Spengler <spender@grsecurity.net>
13563 Date: Wed Feb 3 21:20:10 2016 -0500
13564
13565 Update to pax-linux-4.3.5-test27.patch:
13566 - fixed a bunch of potential REFCOUNT false positives, reported by Emese
13567 - restored padding in fpregs_state for storing AVX-512 state in the future
13568 - constified netlink_dump_control
13569 - added const version of debug_gimple_stmt for gcc plugins, by Emese
13570 - Emese fixed a bug in initify that could have initified too much
13571 - Emese fixed a false positive intentional integer overflow in xfrm4_extract_header, reported by corsac
13572
13573 arch/x86/include/asm/fpu/types.h | 1 +
13574 arch/x86/include/asm/mmu_context.h | 2 +-
13575 block/blk-cgroup.c | 18 ++--
13576 block/cfq-iosched.c | 4 +-
13577 crypto/crypto_user.c | 8 ++-
13578 drivers/acpi/apei/ghes.c | 6 +-
13579 drivers/char/ipmi/ipmi_ssif.c | 12 ++--
13580 drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 2 +-
13581 drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | 2 +-
13582 drivers/gpu/drm/amd/scheduler/sched_fence.c | 2 +-
13583 drivers/infiniband/core/netlink.c | 5 +-
13584 drivers/infiniband/hw/cxgb4/device.c | 6 +-
13585 drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 2 +-
13586 drivers/md/bcache/alloc.c | 2 +-
13587 drivers/md/bcache/bcache.h | 10 +-
13588 drivers/md/bcache/btree.c | 2 +-
13589 drivers/md/bcache/io.c | 10 +-
13590 drivers/md/bcache/journal.c | 2 +-
13591 drivers/md/bcache/stats.c | 26 +++---
13592 drivers/md/bcache/stats.h | 16 ++--
13593 drivers/md/bcache/super.c | 2 +-
13594 drivers/md/bcache/sysfs.c | 20 +++---
13595 drivers/md/dm-cache-target.c | 98 ++++++++++++------------
13596 drivers/md/dm-raid.c | 2 +-
13597 drivers/md/md.c | 6 +-
13598 drivers/md/md.h | 2 +-
13599 drivers/md/raid1.c | 2 +-
13600 drivers/md/raid10.c | 2 +-
13601 drivers/md/raid5.c | 4 +-
13602 drivers/media/pci/zoran/zoran.h | 1 -
13603 drivers/media/pci/zoran/zoran_driver.c | 3 -
13604 drivers/net/ethernet/sfc/selftest.c | 20 +++---
13605 drivers/net/irda/vlsi_ir.c | 18 ++--
13606 drivers/net/irda/vlsi_ir.h | 14 ++--
13607 drivers/net/wireless/ath/carl9170/carl9170.h | 6 +-
13608 drivers/net/wireless/ath/carl9170/debug.c | 6 +-
13609 drivers/net/wireless/ath/carl9170/main.c | 10 +-
13610 drivers/net/wireless/ath/carl9170/tx.c | 4 +-
13611 drivers/net/wireless/iwlwifi/mvm/d3.c | 4 +-
13612 drivers/net/wireless/iwlwifi/mvm/tx.c | 2 +-
13613 drivers/scsi/hptiop.c | 2 -
13614 drivers/scsi/hptiop.h | 1 -
13615 drivers/scsi/ipr.c | 6 +-
13616 drivers/scsi/ipr.h | 2 +-
13617 drivers/scsi/qla2xxx/qla_target.c | 10 +-
13618 drivers/scsi/qla2xxx/qla_target.h | 2 +-
13619 fs/btrfs/ctree.c | 2 +-
13620 fs/btrfs/ctree.h | 4 +-
13621 fs/btrfs/delayed-ref.c | 4 +-
13622 fs/btrfs/disk-io.c | 4 +-
13623 fs/btrfs/file.c | 4 +-
13624 fs/btrfs/raid56.c | 32 ++++----
13625 fs/btrfs/tests/btrfs-tests.c | 2 +-
13626 fs/btrfs/transaction.c | 2 +-
13627 fs/btrfs/tree-log.c | 8 +-
13628 fs/btrfs/volumes.c | 14 ++--
13629 fs/btrfs/volumes.h | 22 +++---
13630 fs/jbd2/commit.c | 2 +-
13631 fs/jbd2/transaction.c | 4 +-
13632 fs/ocfs2/dlm/dlmcommon.h | 4 +-
13633 fs/ocfs2/dlm/dlmdebug.c | 10 +-
13634 fs/ocfs2/dlm/dlmdomain.c | 4 +-
13635 fs/ocfs2/dlm/dlmmaster.c | 4 +-
13636 include/acpi/ghes.h | 2 +-
13637 include/linux/blk-cgroup.h | 24 +++---
13638 include/linux/jbd2.h | 2 +-
13639 include/linux/netlink.h | 12 ++--
13640 include/net/cfg802154.h | 2 +-
13641 include/net/mac80211.h | 2 +-
13642 include/net/neighbour.h | 2 +-
13643 kernel/rcu/tree_plugin.h | 4 +-
13644 net/batman-adv/routing.c | 4 +-
13645 net/batman-adv/soft-interface.c | 2 +-
13646 net/batman-adv/translation-table.c | 14 ++--
13647 net/batman-adv/types.h | 2 +-
13648 net/core/neighbour.c | 14 ++--
13649 net/core/rtnetlink.c | 2 +-
13650 net/ipv4/arp.c | 2 +-
13651 net/ipv4/inet_diag.c | 4 +-
13652 net/ipv4/xfrm4_state.c | 4 +-
13653 net/ipv6/ndisc.c | 2 +-
13654 net/mac80211/cfg.c | 2 +-
13655 net/mac80211/debugfs_key.c | 2 +-
13656 net/mac80211/key.c | 4 +-
13657 net/mac80211/tx.c | 2 +-
13658 net/mac80211/wpa.c | 10 +-
13659 net/mac802154/iface.c | 4 +-
13660 net/netfilter/ipset/ip_set_core.c | 2 +-
13661 net/netfilter/nf_conntrack_netlink.c | 22 +++---
13662 net/netfilter/nf_tables_api.c | 13 ++--
13663 net/netfilter/nfnetlink_acct.c | 7 +-
13664 net/netfilter/nfnetlink_cthelper.c | 2 +-
13665 net/netfilter/nfnetlink_cttimeout.c | 2 +-
13666 net/netlink/af_netlink.c | 10 ++-
13667 net/netlink/diag.c | 2 +-
13668 net/netlink/genetlink.c | 14 ++--
13669 net/packet/af_packet.c | 18 ++--
13670 net/packet/diag.c | 2 +-
13671 net/packet/internal.h | 6 +-
13672 net/unix/diag.c | 2 +-
13673 net/xfrm/xfrm_user.c | 2 +-
13674 security/apparmor/include/policy.h | 2 +-
13675 security/apparmor/policy.c | 4 +-
13676 sound/core/seq/seq_clientmgr.c | 2 +-
13677 sound/core/seq/seq_fifo.c | 6 +-
13678 sound/core/seq/seq_fifo.h | 2 +-
13679 tools/gcc/gcc-common.h | 24 ++++--
13680 tools/gcc/initify_plugin.c | 7 +-
13681 tools/lib/api/Makefile | 2 +-
13682 109 files changed, 399 insertions(+), 391 deletions(-)
13683
13684 commit a7817402ac837b1aee07fac42537a02097055098
13685 Author: Matt Fleming <matt@codeblueprint.co.uk>
13686 Date: Fri Jan 29 11:36:10 2016 +0000
13687
13688 x86/mm/pat: Avoid truncation when converting cpa->numpages to address
13689
13690 There are a couple of nasty truncation bugs lurking in the pageattr
13691 code that can be triggered when mapping EFI regions, e.g. when we pass
13692 a cpa->pgd pointer. Because cpa->numpages is a 32-bit value, shifting
13693 left by PAGE_SHIFT will truncate the resultant address to 32-bits.
13694
13695 Viorel-Cătălin managed to trigger this bug on his Dell machine that
13696 provides a ~5GB EFI region which requires 1236992 pages to be mapped.
13697 When calling populate_pud() the end of the region gets calculated
13698 incorrectly in the following buggy expression,
13699
13700 end = start + (cpa->numpages << PAGE_SHIFT);
13701
13702 And only 188416 pages are mapped. Next, populate_pud() gets invoked
13703 for a second time because of the loop in __change_page_attr_set_clr(),
13704 only this time no pages get mapped because shifting the remaining
13705 number of pages (1048576) by PAGE_SHIFT is zero. At which point the
13706 loop in __change_page_attr_set_clr() spins forever because we fail to
13707 map progress.
13708
13709 Hitting this bug depends very much on the virtual address we pick to
13710 map the large region at and how many pages we map on the initial run
13711 through the loop. This explains why this issue was only recently hit
13712 with the introduction of commit
13713
13714 a5caa209ba9c ("x86/efi: Fix boot crash by mapping EFI memmap
13715 entries bottom-up at runtime, instead of top-down")
13716
13717 It's interesting to note that safe uses of cpa->numpages do exist in
13718 the pageattr code. If instead of shifting ->numpages we multiply by
13719 PAGE_SIZE, no truncation occurs because PAGE_SIZE is a UL value, and
13720 so the result is unsigned long.
13721
13722 To avoid surprises when users try to convert very large cpa->numpages
13723 values to addresses, change the data type from 'int' to 'unsigned
13724 long', thereby making it suitable for shifting by PAGE_SHIFT without
13725 any type casting.
13726
13727 The alternative would be to make liberal use of casting, but that is
13728 far more likely to cause problems in the future when someone adds more
13729 code and fails to cast properly; this bug was difficult enough to
13730 track down in the first place.
13731
13732 Reported-and-tested-by: Viorel-Cătălin Răpițeanu <rapiteanu.catalin@gmail.com>
13733 Acked-by: Borislav Petkov <bp@alien8.de>
13734 Cc: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
13735 Cc: <stable@vger.kernel.org>
13736 Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
13737 Link: https://bugzilla.kernel.org/show_bug.cgi?id=110131
13738 Link: http://lkml.kernel.org/r/1454067370-10374-1-git-send-email-matt@codeblueprint.co.uk
13739 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
13740
13741 arch/x86/mm/pageattr.c | 4 ++--
13742 1 files changed, 2 insertions(+), 2 deletions(-)
13743
13744 commit 64dd9d7a67a742fda257cdd16510c29e695c34b5
13745 Author: Jan Beulich <JBeulich@suse.com>
13746 Date: Tue Jan 26 04:15:18 2016 -0700
13747
13748 x86/mm: Fix types used in pgprot cacheability flags translations
13749
13750 For PAE kernels "unsigned long" is not suitable to hold page protection
13751 flags, since _PAGE_NX doesn't fit there. This is the reason for quite a
13752 few W+X pages getting reported as insecure during boot (observed namely
13753 for the entire initrd range).
13754
13755 Fixes: 281d4078be ("x86: Make page cache mode a real type")
13756 Signed-off-by: Jan Beulich <jbeulich@suse.com>
13757 Reviewed-by: Juergen Gross <JGross@suse.com>
13758 Cc: stable@vger.kernel.org
13759 Link: http://lkml.kernel.org/r/56A7635602000078000CAFF1@prv-mh.provo.novell.com
13760 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
13761
13762 arch/x86/include/asm/pgtable_types.h | 6 ++----
13763 1 files changed, 2 insertions(+), 4 deletions(-)
13764
13765 commit bb9a3a9df0d8dfc96d521676e64c42b37ba22aea
13766 Merge: 682d661 f74425b
13767 Author: Brad Spengler <spender@grsecurity.net>
13768 Date: Sun Jan 31 15:06:25 2016 -0500
13769
13770 Merge branch 'pax-test' into grsec-test
13771
13772 Conflicts:
13773 drivers/net/slip/slhc.c
13774 include/linux/sched.h
13775 net/unix/af_unix.c
13776 sound/core/timer.c
13777
13778 commit f74425b5705bfe52aff9e97659ef10c4a14176c3
13779 Merge: d14af1f 849a2d3
13780 Author: Brad Spengler <spender@grsecurity.net>
13781 Date: Sun Jan 31 15:02:55 2016 -0500
13782
13783 Merge branch 'linux-4.3.y' into pax-test
13784
13785 Conflicts:
13786 arch/x86/include/asm/mmu_context.h
13787
13788 commit 682d6611d75542e351c973c8dd74a99d3966c073
13789 Author: Brad Spengler <spender@grsecurity.net>
13790 Date: Sat Jan 30 13:05:03 2016 -0500
13791
13792 Based on a report from Mathias Krause, fix up a number of additional instances
13793 of ulong overflow when passing in values to gr_learn_resource by saturating
13794 to ULONG_MAX
13795
13796 mm/mlock.c | 11 ++++++++---
13797 mm/mmap.c | 16 +++++++++++++---
13798 2 files changed, 21 insertions(+), 6 deletions(-)
13799
13800 commit adb52e95fb9ad4ac9c56cd5d47bd668f47c33096
13801 Author: Jann Horn <jann@thejh.net>
13802 Date: Sat Dec 26 06:00:48 2015 +0100
13803
13804 seccomp: always propagate NO_NEW_PRIVS on tsync
13805
13806 Before this patch, a process with some permissive seccomp filter
13807 that was applied by root without NO_NEW_PRIVS was able to add
13808 more filters to itself without setting NO_NEW_PRIVS by setting
13809 the new filter from a throwaway thread with NO_NEW_PRIVS.
13810
13811 Signed-off-by: Jann Horn <jann@thejh.net>
13812 Cc: stable@vger.kernel.org
13813 Signed-off-by: Kees Cook <keescook@chromium.org>
13814
13815 kernel/seccomp.c | 22 +++++++++++-----------
13816 1 files changed, 11 insertions(+), 11 deletions(-)
13817
13818 commit b85450498a3bbf269441c8963d7574bb3079c838
13819 Merge: 59c216f d14af1f
13820 Author: Brad Spengler <spender@grsecurity.net>
13821 Date: Fri Jan 29 20:54:13 2016 -0500
13822
13823 Merge branch 'pax-test' into grsec-test
13824
13825 commit d14af1f1dd66511f3f0674deee2b572972012b39
13826 Author: Brad Spengler <spender@grsecurity.net>
13827 Date: Fri Jan 29 20:53:51 2016 -0500
13828
13829 Update to pax-linux-4.3.4-test26.patch:
13830 - Emese fixed a few intentional overflows introduced by gcc, reported by StalkR (https://forums.grsecurity.net/viewtopic.php?f=3&t=4370)
13831
13832 fs/cifs/file.c | 2 +-
13833 fs/gfs2/file.c | 2 +-
13834 .../size_overflow_plugin/intentional_overflow.c | 96 ++++++++++++++++++--
13835 tools/gcc/size_overflow_plugin/size_overflow.h | 2 +
13836 .../size_overflow_plugin/size_overflow_plugin.c | 4 +-
13837 .../size_overflow_plugin/size_overflow_transform.c | 6 +-
13838 .../size_overflow_transform_core.c | 5 +
13839 7 files changed, 102 insertions(+), 15 deletions(-)
13840
13841 commit 59c216f13587eacdd692386b7a403ae78ed84fb6
13842 Author: Brad Spengler <spender@grsecurity.net>
13843 Date: Wed Jan 27 17:57:21 2016 -0500
13844
13845 Fix a size_overflow report reported by Mathias Krause in our
13846 truncation of an loff_t to an unsigned long when being passed
13847 to gr_learn_resource() (as all resource checks are against unsigned long
13848 values)
13849
13850 fs/attr.c | 5 ++++-
13851 1 files changed, 4 insertions(+), 1 deletions(-)
13852
13853 commit 70636c6ad60fc1db3af764ecc789b827b7497a97
13854 Author: Yuchung Cheng <ycheng@google.com>
13855 Date: Wed Jan 6 12:42:38 2016 -0800
13856
13857 tcp: fix zero cwnd in tcp_cwnd_reduction
13858
13859 Patch 3759824da87b ("tcp: PRR uses CRB mode by default and SS mode
13860 conditionally") introduced a bug that cwnd may become 0 when both
13861 inflight and sndcnt are 0 (cwnd = inflight + sndcnt). This may lead
13862 to a div-by-zero if the connection starts another cwnd reduction
13863 phase by setting tp->prior_cwnd to the current cwnd (0) in
13864 tcp_init_cwnd_reduction().
13865
13866 To prevent this we skip PRR operation when nothing is acked or
13867 sacked. Then cwnd must be positive in all cases as long as ssthresh
13868 is positive:
13869
13870 1) The proportional reduction mode
13871 inflight > ssthresh > 0
13872
13873 2) The reduction bound mode
13874 a) inflight == ssthresh > 0
13875
13876 b) inflight < ssthresh
13877 sndcnt > 0 since newly_acked_sacked > 0 and inflight < ssthresh
13878
13879 Therefore in all cases inflight and sndcnt can not both be 0.
13880 We check invalid tp->prior_cwnd to avoid potential div0 bugs.
13881
13882 In reality this bug is triggered only with a sequence of less common
13883 events. For example, the connection is terminating an ECN-triggered
13884 cwnd reduction with an inflight 0, then it receives reordered/old
13885 ACKs or DSACKs from prior transmission (which acks nothing). Or the
13886 connection is in fast recovery stage that marks everything lost,
13887 but fails to retransmit due to local issues, then receives data
13888 packets from other end which acks nothing.
13889
13890 Fixes: 3759824da87b ("tcp: PRR uses CRB mode by default and SS mode conditionally")
13891 Reported-by: Oleksandr Natalenko <oleksandr@natalenko.name>
13892 Signed-off-by: Yuchung Cheng <ycheng@google.com>
13893 Signed-off-by: Neal Cardwell <ncardwell@google.com>
13894 Signed-off-by: Eric Dumazet <edumazet@google.com>
13895 Signed-off-by: David S. Miller <davem@davemloft.net>
13896
13897 net/ipv4/tcp_input.c | 3 +++
13898 1 files changed, 3 insertions(+), 0 deletions(-)
13899
13900 commit dac1da2bedbb43195d371c7a192cfeeb45683df0
13901 Author: Eric Dumazet <edumazet@google.com>
13902 Date: Sun Jan 24 13:53:50 2016 -0800
13903
13904 af_unix: fix struct pid memory leak
13905
13906 Dmitry reported a struct pid leak detected by a syzkaller program.
13907
13908 Bug happens in unix_stream_recvmsg() when we break the loop when a
13909 signal is pending, without properly releasing scm.
13910
13911 Fixes: b3ca9b02b007 ("net: fix multithreaded signal handling in unix recv routines")
13912 Reported-by: Dmitry Vyukov <dvyukov@google.com>
13913 Signed-off-by: Eric Dumazet <edumazet@google.com>
13914 Cc: Rainer Weikusat <rweikusat@mobileactivedefense.com>
13915 Signed-off-by: David S. Miller <davem@davemloft.net>
13916
13917 net/unix/af_unix.c | 1 +
13918 1 files changed, 1 insertions(+), 0 deletions(-)
13919
13920 commit 15cc47f127520d1ac0c1fe76d993c2c27f0f2571
13921 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
13922 Date: Fri Jan 22 01:39:43 2016 +0100
13923
13924 pptp: fix illegal memory access caused by multiple bind()s
13925
13926 Several times already this has been reported as kasan reports caused by
13927 syzkaller and trinity and people always looked at RCU races, but it is
13928 much more simple. :)
13929
13930 In case we bind a pptp socket multiple times, we simply add it to
13931 the callid_sock list but don't remove the old binding. Thus the old
13932 socket stays in the bucket with unused call_id indexes and doesn't get
13933 cleaned up. This causes various forms of kasan reports which were hard
13934 to pinpoint.
13935
13936 Simply don't allow multiple binds and correct error handling in
13937 pptp_bind. Also keep sk_state bits in place in pptp_connect.
13938
13939 Fixes: 00959ade36acad ("PPTP: PPP over IPv4 (Point-to-Point Tunneling Protocol)")
13940 Cc: Dmitry Kozlov <xeb@mail.ru>
13941 Cc: Sasha Levin <sasha.levin@oracle.com>
13942 Cc: Dmitry Vyukov <dvyukov@google.com>
13943 Reported-by: Dmitry Vyukov <dvyukov@google.com>
13944 Cc: Dave Jones <davej@codemonkey.org.uk>
13945 Reported-by: Dave Jones <davej@codemonkey.org.uk>
13946 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
13947 Signed-off-by: David S. Miller <davem@davemloft.net>
13948
13949 drivers/net/ppp/pptp.c | 34 ++++++++++++++++++++++++----------
13950 1 files changed, 24 insertions(+), 10 deletions(-)
13951
13952 commit e2b7b8c66851c85188fa6dab2d2b2a6c85bc7332
13953 Author: Brad Spengler <spender@grsecurity.net>
13954 Date: Tue Jan 26 18:17:10 2016 -0500
13955
13956 Add info about cpupower/powertop to GRKERNSEC_KMEM, was present on our
13957 wiki but was removed from the config help at some point
13958
13959 grsecurity/Kconfig | 3 +++
13960 1 files changed, 3 insertions(+), 0 deletions(-)
13961
13962 commit ce2e88efa000fc32bfcd84098f57c8ed8310fefc
13963 Author: Thomas Egerer <hakke_007@gmx.de>
13964 Date: Mon Jan 25 12:58:44 2016 +0100
13965
13966 ipv4+ipv6: Make INET*_ESP select CRYPTO_ECHAINIV
13967
13968 The ESP algorithms using CBC mode require echainiv. Hence INET*_ESP have
13969 to select CRYPTO_ECHAINIV in order to work properly. This solves the
13970 issues caused by a misconfiguration as described in [1].
13971 The original approach, patching crypto/Kconfig was turned down by
13972 Herbert Xu [2].
13973
13974 [1] https://lists.strongswan.org/pipermail/users/2015-December/009074.html
13975 [2] http://marc.info/?l=linux-crypto-vger&m=145224655809562&w=2
13976
13977 Signed-off-by: Thomas Egerer <hakke_007@gmx.de>
13978 Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
13979 Signed-off-by: David S. Miller <davem@davemloft.net>
13980
13981 net/ipv4/Kconfig | 1 +
13982 net/ipv6/Kconfig | 1 +
13983 2 files changed, 2 insertions(+), 0 deletions(-)
13984
13985 commit fca5a303155ea67d28aece0caf2b03ffc3b2668d
13986 Merge: 904114c 6339c1f
13987 Author: Brad Spengler <spender@grsecurity.net>
13988 Date: Tue Jan 26 18:08:40 2016 -0500
13989
13990 Merge branch 'pax-test' into grsec-test
13991
13992 commit 6339c1f9a9beafd417bf9f04d4b257e62aeb45b7
13993 Author: Brad Spengler <spender@grsecurity.net>
13994 Date: Tue Jan 26 18:07:51 2016 -0500
13995
13996 Update to pax-linux-4.3.4-test25.patch:
13997 - 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>
13998 - fixed init_new_context on !MODIFY_LDT_SYSCALL configs, reported by tjh (https://forums.grsecurity.net/viewtopic.php?f=3&t=4368)
13999 - fixed a few REFCOUNT false positives in SNMP related statistics
14000
14001 arch/x86/Kconfig | 2 +-
14002 arch/x86/include/asm/mmu_context.h | 17 +++++++++++++++++
14003 include/net/snmp.h | 10 +++++-----
14004 kernel/fork.c | 11 +++++++++--
14005 net/ipv4/proc.c | 8 ++++----
14006 net/ipv6/addrconf.c | 4 ++--
14007 net/ipv6/proc.c | 10 +++++-----
14008 7 files changed, 43 insertions(+), 19 deletions(-)
14009
14010 commit 904114c2fce3fdff5d57e763da56a78960db4e19
14011 Author: Al Viro <viro@zeniv.linux.org.uk>
14012 Date: Fri Jan 22 18:08:52 2016 -0500
14013
14014 make sure that freeing shmem fast symlinks is RCU-delayed
14015
14016 Cc: stable@vger.kernel.org # v4.2+
14017 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
14018
14019 include/linux/shmem_fs.h | 5 +----
14020 mm/shmem.c | 9 ++++-----
14021 2 files changed, 5 insertions(+), 9 deletions(-)
14022
14023 commit ab86adee64312a2f827dd516cb199521327943ed
14024 Author: Sasha Levin <sasha.levin@oracle.com>
14025 Date: Mon Jan 18 19:23:51 2016 -0500
14026
14027 netfilter: nf_conntrack: use safer way to lock all buckets
14028
14029 When we need to lock all buckets in the connection hashtable we'd attempt to
14030 lock 1024 spinlocks, which is way more preemption levels than supported by
14031 the kernel. Furthermore, this behavior was hidden by checking if lockdep is
14032 enabled, and if it was - use only 8 buckets(!).
14033
14034 Fix this by using a global lock and synchronize all buckets on it when we
14035 need to lock them all. This is pretty heavyweight, but is only done when we
14036 need to resize the hashtable, and that doesn't happen often enough (or at all).
14037
14038 Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
14039 Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
14040 Reviewed-by: Florian Westphal <fw@strlen.de>
14041 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
14042
14043 Conflicts:
14044
14045 net/netfilter/nfnetlink_cttimeout.c
14046
14047 include/net/netfilter/nf_conntrack_core.h | 8 ++----
14048 net/netfilter/nf_conntrack_core.c | 38 +++++++++++++++++++++-------
14049 net/netfilter/nf_conntrack_helper.c | 2 +-
14050 net/netfilter/nf_conntrack_netlink.c | 2 +-
14051 4 files changed, 33 insertions(+), 17 deletions(-)
14052
14053 commit 37014723527225481c720484bb788a1a6358072f
14054 Author: Willy Tarreau <w@1wt.eu>
14055 Date: Mon Jan 18 16:36:09 2016 +0100
14056
14057 pipe: limit the per-user amount of pages allocated in pipes
14058
14059 On no-so-small systems, it is possible for a single process to cause an
14060 OOM condition by filling large pipes with data that are never read. A
14061 typical process filling 4000 pipes with 1 MB of data will use 4 GB of
14062 memory. On small systems it may be tricky to set the pipe max size to
14063 prevent this from happening.
14064
14065 This patch makes it possible to enforce a per-user soft limit above
14066 which new pipes will be limited to a single page, effectively limiting
14067 them to 4 kB each, as well as a hard limit above which no new pipes may
14068 be created for this user. This has the effect of protecting the system
14069 against memory abuse without hurting other users, and still allowing
14070 pipes to work correctly though with less data at once.
14071
14072 The limit are controlled by two new sysctls : pipe-user-pages-soft, and
14073 pipe-user-pages-hard. Both may be disabled by setting them to zero. The
14074 default soft limit allows the default number of FDs per process (1024)
14075 to create pipes of the default size (64kB), thus reaching a limit of 64MB
14076 before starting to create only smaller pipes. With 256 processes limited
14077 to 1024 FDs each, this results in 1024*64kB + (256*1024 - 1024) * 4kB =
14078 1084 MB of memory allocated for a user. The hard limit is disabled by
14079 default to avoid breaking existing applications that make intensive use
14080 of pipes (eg: for splicing).
14081
14082 Reported-by: socketpair@gmail.com
14083 Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
14084 Mitigates: CVE-2013-4312 (Linux 2.0+)
14085 Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
14086 Signed-off-by: Willy Tarreau <w@1wt.eu>
14087 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
14088
14089 Documentation/sysctl/fs.txt | 23 +++++++++++++++++++++
14090 fs/pipe.c | 47 +++++++++++++++++++++++++++++++++++++++++-
14091 include/linux/pipe_fs_i.h | 4 +++
14092 include/linux/sched.h | 1 +
14093 kernel/sysctl.c | 14 ++++++++++++
14094 5 files changed, 87 insertions(+), 2 deletions(-)
14095
14096 commit 51645fa198d194f746651dcfbc5f24a4cf8b9fb8
14097 Merge: 540f2af 7791ecb
14098 Author: Brad Spengler <spender@grsecurity.net>
14099 Date: Sat Jan 23 10:57:11 2016 -0500
14100
14101 Merge branch 'pax-test' into grsec-test
14102
14103 commit 7791ecb84f840343a5646236fd0d34e1fb450793
14104 Merge: 470069c 399588c
14105 Author: Brad Spengler <spender@grsecurity.net>
14106 Date: Sat Jan 23 10:56:47 2016 -0500
14107
14108 Merge branch 'linux-4.3.y' into pax-test
14109
14110 commit 540f2affebd42cdc26a699208ab4f1cb0cb75e33
14111 Author: Brad Spengler <spender@grsecurity.net>
14112 Date: Tue Jan 19 21:18:47 2016 -0500
14113
14114 Update size_overflow hash table
14115
14116 .../size_overflow_plugin/size_overflow_hash.data | 4 +++-
14117 1 files changed, 3 insertions(+), 1 deletions(-)
14118
14119 commit 7e649765626a28437f573f0fbe7a51a04615f041
14120 Author: Brad Spengler <spender@grsecurity.net>
14121 Date: Tue Jan 19 20:29:46 2016 -0500
14122
14123 Backport fix from: https://lkml.org/lkml/2015/12/13/187
14124
14125 fs/ext4/extents.c | 2 +-
14126 1 files changed, 1 insertions(+), 1 deletions(-)
14127
14128 commit 53b859cd0a5f5b6ad54fe0c879dfedaa3c5a3005
14129 Author: Jann Horn <jann@thejh.net>
14130 Date: Tue Jan 5 18:27:30 2016 +0100
14131
14132 compat_ioctl: don't call do_ioctl under set_fs(KERNEL_DS)
14133
14134 This replaces all code in fs/compat_ioctl.c that translated
14135 ioctl arguments into a in-kernel structure, then performed
14136 do_ioctl under set_fs(KERNEL_DS), with code that allocates
14137 data on the user stack and can call the VFS ioctl handler
14138 under USER_DS.
14139
14140 This is done as a hardening measure because the caller
14141 does not know what kind of ioctl handler will be invoked,
14142 only that no corresponding compat_ioctl handler exists and
14143 what the ioctl command number is. The accidental
14144 invocation of an unlocked_ioctl handler that unexpectedly
14145 calls copy_to_user could be a severe security issue.
14146
14147 Signed-off-by: Jann Horn <jann@thejh.net>
14148 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
14149
14150 Conflicts:
14151
14152 fs/compat_ioctl.c
14153
14154 fs/compat_ioctl.c | 130 ++++++++++++++++++++++++++++-------------------------
14155 1 files changed, 68 insertions(+), 62 deletions(-)
14156
14157 commit 3e89e770ae27e931cd1583f021abac41eeebc3e7
14158 Author: Al Viro <viro@zeniv.linux.org.uk>
14159 Date: Thu Jan 7 09:53:30 2016 -0500
14160
14161 compat_ioctl: don't pass fd around when not needed
14162
14163 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
14164
14165 fs/compat_ioctl.c | 103 ++++++++++++++++++++++++++--------------------------
14166 fs/internal.h | 7 ++++
14167 fs/ioctl.c | 4 +-
14168 include/linux/fs.h | 2 -
14169 4 files changed, 61 insertions(+), 55 deletions(-)
14170
14171 commit 9d4e04082752d4d2d68445c4e6faf33a2613df55
14172 Author: Jann Horn <jann@thejh.net>
14173 Date: Tue Jan 5 18:27:29 2016 +0100
14174
14175 compat_ioctl: don't look up the fd twice
14176
14177 In code in fs/compat_ioctl.c that translates ioctl arguments
14178 into a in-kernel structure, then performs sys_ioctl, possibly
14179 under set_fs(KERNEL_DS), this commit changes the sys_ioctl
14180 calls to do_ioctl calls. do_ioctl is a new function that does
14181 the same thing as sys_ioctl, but doesn't look up the fd again.
14182
14183 This change is made to avoid (potential) security issues
14184 because of ioctl handlers that accept one of the ioctl
14185 commands I2C_FUNCS, VIDEO_GET_EVENT, MTIOCPOS, MTIOCGET,
14186 TIOCGSERIAL, TIOCSSERIAL, RTC_IRQP_READ, RTC_EPOCH_READ.
14187 This can happen for multiple reasons:
14188
14189 - The ioctl command number could be reused.
14190 - The ioctl handler might not check the full ioctl
14191 command. This is e.g. true for drm_ioctl.
14192 - The ioctl handler is very special, e.g. cuse_file_ioctl
14193
14194 The real issue is that set_fs(KERNEL_DS) is used here,
14195 but that's fixed in a separate commit
14196 "compat_ioctl: don't call do_ioctl under set_fs(KERNEL_DS)".
14197
14198 This change mitigates potential security issues by
14199 preventing a race that permits invocation of
14200 unlocked_ioctl handlers under KERNEL_DS through compat
14201 code even if a corresponding compat_ioctl handler exists.
14202
14203 So far, no way has been identified to use this to damage
14204 kernel memory without having CAP_SYS_ADMIN in the init ns
14205 (with the capability, doing reads/writes at arbitrary
14206 kernel addresses should be easy through CUSE's ioctl
14207 handler with FUSE_IOCTL_UNRESTRICTED set).
14208
14209 [AV: two missed sys_ioctl() taken care of]
14210
14211 Signed-off-by: Jann Horn <jann@thejh.net>
14212 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
14213
14214 fs/compat_ioctl.c | 122 +++++++++++++++++++++++++++++-----------------------
14215 1 files changed, 68 insertions(+), 54 deletions(-)
14216
14217 commit 5bf9e1ed4ebb278cd956ba142914fc04a024309c
14218 Author: Vasily Kulikov <segoon@openwall.com>
14219 Date: Fri Jan 15 16:57:55 2016 -0800
14220
14221 include/linux/poison.h: use POISON_POINTER_DELTA for poison pointers
14222
14223 TIMER_ENTRY_STATIC is defined as a poison pointers which
14224 should point to nowhere. Redefine them using POISON_POINTER_DELTA
14225 arithmetics to make sure they really point to non-mappable area declared
14226 by the target architecture.
14227
14228 Signed-off-by: Vasily Kulikov <segoon@openwall.com>
14229 Acked-by: Thomas Gleixner <tglx@linutronix.de>
14230 Cc: Solar Designer <solar@openwall.com>
14231 Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
14232 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
14233 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
14234
14235 Conflicts:
14236
14237 include/linux/poison.h
14238
14239 include/linux/poison.h | 2 +-
14240 1 files changed, 1 insertions(+), 1 deletions(-)
14241
14242 commit 60f2e0a05ab8f56c804a9334a23e2b446305d110
14243 Author: Brad Spengler <spender@grsecurity.net>
14244 Date: Tue Jan 19 19:41:44 2016 -0500
14245
14246 Fix ARM compilation, reported by Austin Sepp
14247
14248 grsecurity/grsec_sig.c | 1 +
14249 1 files changed, 1 insertions(+), 0 deletions(-)
14250
14251 commit e15383743443dc43460a2fd73e0db0b608610dca
14252 Author: Takashi Iwai <tiwai@suse.de>
14253 Date: Mon Jan 18 13:52:47 2016 +0100
14254
14255 ALSA: hrtimer: Fix stall by hrtimer_cancel()
14256
14257 hrtimer_cancel() waits for the completion from the callback, thus it
14258 must not be called inside the callback itself. This was already a
14259 problem in the past with ALSA hrtimer driver, and the early commit
14260 [fcfdebe70759: ALSA: hrtimer - Fix lock-up] tried to address it.
14261
14262 However, the previous fix is still insufficient: it may still cause a
14263 lockup when the ALSA timer instance reprograms itself in its callback.
14264 Then it invokes the start function even in snd_timer_interrupt() that
14265 is called in hrtimer callback itself, results in a CPU stall. This is
14266 no hypothetical problem but actually triggered by syzkaller fuzzer.
14267
14268 This patch tries to fix the issue again. Now we call
14269 hrtimer_try_to_cancel() at both start and stop functions so that it
14270 won't fall into a deadlock, yet giving some chance to cancel the queue
14271 if the functions have been called outside the callback. The proper
14272 hrtimer_cancel() is called in anyway at closing, so this should be
14273 enough.
14274
14275 Reported-and-tested-by: Dmitry Vyukov <dvyukov@google.com>
14276 Cc: <stable@vger.kernel.org>
14277 Signed-off-by: Takashi Iwai <tiwai@suse.de>
14278
14279 sound/core/hrtimer.c | 3 ++-
14280 1 files changed, 2 insertions(+), 1 deletions(-)
14281
14282 commit 12d874daf706e6e7c1ae709141859c809599297e
14283 Author: Takashi Iwai <tiwai@suse.de>
14284 Date: Tue Jan 12 12:38:02 2016 +0100
14285
14286 ALSA: seq: Fix missing NULL check at remove_events ioctl
14287
14288 snd_seq_ioctl_remove_events() calls snd_seq_fifo_clear()
14289 unconditionally even if there is no FIFO assigned, and this leads to
14290 an Oops due to NULL dereference. The fix is just to add a proper NULL
14291 check.
14292
14293 Reported-by: Dmitry Vyukov <dvyukov@google.com>
14294 Tested-by: Dmitry Vyukov <dvyukov@google.com>
14295 Cc: <stable@vger.kernel.org>
14296 Signed-off-by: Takashi Iwai <tiwai@suse.de>
14297
14298 sound/core/seq/seq_clientmgr.c | 2 +-
14299 1 files changed, 1 insertions(+), 1 deletions(-)
14300
14301 commit 2eb0632df1351378946507e7ef7ba0682632a7b5
14302 Author: Takashi Iwai <tiwai@suse.de>
14303 Date: Tue Jan 12 15:36:27 2016 +0100
14304
14305 ALSA: seq: Fix race at timer setup and close
14306
14307 ALSA sequencer code has an open race between the timer setup ioctl and
14308 the close of the client. This was triggered by syzkaller fuzzer, and
14309 a use-after-free was caught there as a result.
14310
14311 This patch papers over it by adding a proper queue->timer_mutex lock
14312 around the timer-related calls in the relevant code path.
14313
14314 Reported-by: Dmitry Vyukov <dvyukov@google.com>
14315 Tested-by: Dmitry Vyukov <dvyukov@google.com>
14316 Cc: <stable@vger.kernel.org>
14317 Signed-off-by: Takashi Iwai <tiwai@suse.de>
14318
14319 sound/core/seq/seq_queue.c | 2 ++
14320 1 files changed, 2 insertions(+), 0 deletions(-)
14321
14322 commit b9e55ab955e59b4a636d78a748be90334a48b485
14323 Author: Takashi Iwai <tiwai@suse.de>
14324 Date: Thu Jan 14 16:30:58 2016 +0100
14325
14326 ALSA: timer: Harden slave timer list handling
14327
14328 A slave timer instance might be still accessible in a racy way while
14329 operating the master instance as it lacks of locking. Since the
14330 master operation is mostly protected with timer->lock, we should cope
14331 with it while changing the slave instance, too. Also, some linked
14332 lists (active_list and ack_list) of slave instances aren't unlinked
14333 immediately at stopping or closing, and this may lead to unexpected
14334 accesses.
14335
14336 This patch tries to address these issues. It adds spin lock of
14337 timer->lock (either from master or slave, which is equivalent) in a
14338 few places. For avoiding a deadlock, we ensure that the global
14339 slave_active_lock is always locked at first before each timer lock.
14340
14341 Also, ack and active_list of slave instances are properly unlinked at
14342 snd_timer_stop() and snd_timer_close().
14343
14344 Last but not least, remove the superfluous call of _snd_timer_stop()
14345 at removing slave links. This is a noop, and calling it may confuse
14346 readers wrt locking. Further cleanup will follow in a later patch.
14347
14348 Actually we've got reports of use-after-free by syzkaller fuzzer, and
14349 this hopefully fixes these issues.
14350
14351 Reported-by: Dmitry Vyukov <dvyukov@google.com>
14352 Cc: <stable@vger.kernel.org>
14353 Signed-off-by: Takashi Iwai <tiwai@suse.de>
14354
14355 sound/core/timer.c | 18 ++++++++++++++----
14356 1 files changed, 14 insertions(+), 4 deletions(-)
14357
14358 commit f1ce0547bdfda1b42ae8a66c222f2a897cbe1586
14359 Author: Takashi Iwai <tiwai@suse.de>
14360 Date: Wed Jan 13 17:48:01 2016 +0100
14361
14362 ALSA: timer: Fix race among timer ioctls
14363
14364 ALSA timer ioctls have an open race and this may lead to a
14365 use-after-free of timer instance object. A simplistic fix is to make
14366 each ioctl exclusive. We have already tread_sem for controlling the
14367 tread, and extend this as a global mutex to be applied to each ioctl.
14368
14369 The downside is, of course, the worse concurrency. But these ioctls
14370 aren't to be parallel accessible, in anyway, so it should be fine to
14371 serialize there.
14372
14373 Reported-by: Dmitry Vyukov <dvyukov@google.com>
14374 Tested-by: Dmitry Vyukov <dvyukov@google.com>
14375 Cc: <stable@vger.kernel.org>
14376 Signed-off-by: Takashi Iwai <tiwai@suse.de>
14377
14378 sound/core/timer.c | 32 +++++++++++++++++++-------------
14379 1 files changed, 19 insertions(+), 13 deletions(-)
14380
14381 commit 8347d8461ed48a98f9c76cc3cfcdad8217d314bc
14382 Author: Takashi Iwai <tiwai@suse.de>
14383 Date: Wed Jan 13 21:35:06 2016 +0100
14384
14385 ALSA: timer: Fix double unlink of active_list
14386
14387 ALSA timer instance object has a couple of linked lists and they are
14388 unlinked unconditionally at snd_timer_stop(). Meanwhile
14389 snd_timer_interrupt() unlinks it, but it calls list_del() which leaves
14390 the element list itself unchanged. This ends up with unlinking twice,
14391 and it was caught by syzkaller fuzzer.
14392
14393 The fix is to use list_del_init() variant properly there, too.
14394
14395 Reported-by: Dmitry Vyukov <dvyukov@google.com>
14396 Tested-by: Dmitry Vyukov <dvyukov@google.com>
14397 Cc: <stable@vger.kernel.org>
14398 Signed-off-by: Takashi Iwai <tiwai@suse.de>
14399
14400 sound/core/timer.c | 2 +-
14401 1 files changed, 1 insertions(+), 1 deletions(-)
14402
14403 commit 243aebb7ae71d6e11ea9880faa893d1d0d60cd75
14404 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
14405 Date: Mon Jan 18 18:03:48 2016 +0100
14406
14407 ovs: limit ovs recursions in ovs_execute_actions to not corrupt stack
14408
14409 It was seen that defective configurations of openvswitch could overwrite
14410 the STACK_END_MAGIC and cause a hard crash of the kernel because of too
14411 many recursions within ovs.
14412
14413 This problem arises due to the high stack usage of openvswitch. The rest
14414 of the kernel is fine with the current limit of 10 (RECURSION_LIMIT).
14415
14416 We use the already existing recursion counter in ovs_execute_actions to
14417 implement an upper bound of 5 recursions.
14418
14419 Cc: Pravin Shelar <pshelar@ovn.org>
14420 Cc: Simon Horman <simon.horman@netronome.com>
14421 Cc: Eric Dumazet <eric.dumazet@gmail.com>
14422 Cc: Simon Horman <simon.horman@netronome.com>
14423 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
14424 Signed-off-by: David S. Miller <davem@davemloft.net>
14425
14426 net/openvswitch/actions.c | 19 ++++++++++++++-----
14427 1 files changed, 14 insertions(+), 5 deletions(-)
14428
14429 commit 8080793479c6d5befe37a67b1dbd9e4e0a61af96
14430 Author: Ursula Braun <ursula.braun@de.ibm.com>
14431 Date: Tue Jan 19 10:41:33 2016 +0100
14432
14433 af_iucv: Validate socket address length in iucv_sock_bind()
14434
14435 Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
14436 Reported-by: Dmitry Vyukov <dvyukov@google.com>
14437 Reviewed-by: Evgeny Cherkashin <Eugene.Crosser@ru.ibm.com>
14438 Signed-off-by: David S. Miller <davem@davemloft.net>
14439
14440 net/iucv/af_iucv.c | 3 +++
14441 1 files changed, 3 insertions(+), 0 deletions(-)
14442
14443 commit 50a383c1c91ed7409c3cbdd41e662d6891463d1b
14444 Author: Brad Spengler <spender@grsecurity.net>
14445 Date: Tue Jan 19 19:32:54 2016 -0500
14446
14447 Apply the same fix as everyone else for the recent keys vulnerability that is
14448 unexploitable under PAX_REFCOUNT
14449
14450 Make a couple more changes that no one else can/will
14451
14452 include/linux/key-type.h | 4 ++--
14453 ipc/msgutil.c | 4 ++--
14454 security/keys/internal.h | 2 +-
14455 security/keys/process_keys.c | 1 +
14456 4 files changed, 6 insertions(+), 5 deletions(-)
14457
14458 commit b56c3a63f431c193400aee17543021950bd14bc4
14459 Merge: 38b1a3d 470069c
14460 Author: Brad Spengler <spender@grsecurity.net>
14461 Date: Sun Jan 17 18:30:19 2016 -0500
14462
14463 Merge branch 'pax-test' into grsec-test
14464
14465 commit 470069cfedef2180313233d275be5901bd6d1135
14466 Author: Brad Spengler <spender@grsecurity.net>
14467 Date: Sun Jan 17 18:29:59 2016 -0500
14468
14469 Update to pax-linux-4.3.3-test22.patch:
14470 - Emesed fixed a gcc induced intentional integer overflow in asix_rx_fixup_internal, reported by thomas callison caffrey
14471 - fixed some more fallout from the drm_drivers constification, reported by Colin Childs and Toralf Foerster
14472
14473 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 14 ++++----------
14474 drivers/gpu/drm/drm_pci.c | 3 +++
14475 drivers/gpu/drm/gma500/psb_drv.c | 4 ----
14476 drivers/gpu/drm/i915/i915_drv.c | 16 ++++++++--------
14477 drivers/gpu/drm/nouveau/nouveau_drm.c | 6 +++---
14478 drivers/gpu/drm/radeon/radeon_drv.c | 4 +---
14479 drivers/net/usb/asix_common.c | 3 ++-
14480 include/drm/drmP.h | 1 +
14481 8 files changed, 22 insertions(+), 29 deletions(-)
14482
14483 commit 38b1a3d676f407865c3d41840df8213c5ad639c1
14484 Author: Brad Spengler <spender@grsecurity.net>
14485 Date: Sun Jan 17 12:33:53 2016 -0500
14486
14487 As reported by Luis Ressel, the Kconfig help for GRKERNSEC_BRUTE
14488 mentioned banning execution of suid/sgid binaries, though the kernel
14489 source clearly only mentions banning execution of suid binaries. Since
14490 there's no reason for us to not ban execution of sgid binaries as well,
14491 make the implementation match the Kconfig description.
14492
14493 fs/exec.c | 4 ++--
14494 grsecurity/grsec_sig.c | 27 ++++++++++++++-------------
14495 include/linux/sched.h | 4 ++--
14496 3 files changed, 18 insertions(+), 17 deletions(-)
14497
14498 commit 8c3bcb7dbf7f606acfa0983e81f0f928da1f1ace
14499 Merge: d141a86 ea4a835
14500 Author: Brad Spengler <spender@grsecurity.net>
14501 Date: Sat Jan 16 14:12:22 2016 -0500
14502
14503 Merge branch 'pax-test' into grsec-test
14504
14505 Conflicts:
14506 drivers/gpu/drm/i810/i810_drv.c
14507
14508 commit ea4a835328ada6513ac013986764d6caea8cd348
14509 Author: Brad Spengler <spender@grsecurity.net>
14510 Date: Sat Jan 16 14:11:30 2016 -0500
14511
14512 Update to pax-linux-4.3.3-test21.patch:
14513 - fixed some fallout from the drm_drivers constification, reported by spender
14514
14515 drivers/gpu/drm/armada/armada_drv.c | 3 +--
14516 drivers/gpu/drm/exynos/exynos_drm_drv.c | 1 -
14517 drivers/gpu/drm/i810/i810_dma.c | 2 +-
14518 drivers/gpu/drm/i810/i810_drv.c | 6 +++++-
14519 drivers/gpu/drm/i810/i810_drv.h | 2 +-
14520 5 files changed, 8 insertions(+), 6 deletions(-)
14521
14522 commit d141a86fd66194bc3f896b6809b189e2f12a9a83
14523 Author: Brad Spengler <spender@grsecurity.net>
14524 Date: Sat Jan 16 13:16:36 2016 -0500
14525
14526 compile fix
14527
14528 drivers/gpu/drm/i810/i810_dma.c | 2 +-
14529 drivers/gpu/drm/i810/i810_drv.c | 4 +++-
14530 drivers/gpu/drm/i810/i810_drv.h | 2 +-
14531 3 files changed, 5 insertions(+), 3 deletions(-)
14532
14533 commit 0d9dc4b25ea32c14561bcfe6b5b24f1b00fe0270
14534 Merge: 5fa135d bbda879
14535 Author: Brad Spengler <spender@grsecurity.net>
14536 Date: Sat Jan 16 12:59:22 2016 -0500
14537
14538 Merge branch 'pax-test' into grsec-test
14539
14540 commit bbda87914edf63e27fb46670bf3a373f2b963c73
14541 Author: Brad Spengler <spender@grsecurity.net>
14542 Date: Sat Jan 16 12:58:04 2016 -0500
14543
14544 Update to pax-linux-4.3.3-test20.patch:
14545 - constified drm_driver
14546 - Emese fixed a special case in handling __func__ in the initify plugin
14547 - Emese fixed a false positive size overflow report in handling inbufBits, reported by Martin Filo (https://bugs.gentoo.org/show_bug.cgi?id=567048)
14548 - fixed regression that caused perf to not resolve kernel code addresses under KERNEXEC/i386, reported by minipli
14549
14550 arch/x86/kernel/cpu/perf_event.h | 2 +-
14551 arch/x86/kernel/cpu/perf_event_intel_ds.c | 7 +-
14552 arch/x86/kernel/cpu/perf_event_intel_lbr.c | 4 +-
14553 arch/x86/kernel/uprobes.c | 2 +-
14554 arch/x86/mm/mpx.c | 2 +-
14555 drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +-
14556 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 8 ++-
14557 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +-
14558 drivers/gpu/drm/drm_pci.c | 6 +-
14559 drivers/gpu/drm/gma500/psb_drv.c | 5 +-
14560 drivers/gpu/drm/i915/i915_dma.c | 2 +-
14561 drivers/gpu/drm/i915/i915_drv.c | 15 ++--
14562 drivers/gpu/drm/i915/i915_drv.h | 2 +-
14563 drivers/gpu/drm/i915/i915_irq.c | 88 ++++++++++----------
14564 drivers/gpu/drm/mga/mga_drv.c | 5 +-
14565 drivers/gpu/drm/mga/mga_drv.h | 2 +-
14566 drivers/gpu/drm/mga/mga_state.c | 2 +-
14567 drivers/gpu/drm/nouveau/nouveau_drm.c | 13 ++--
14568 drivers/gpu/drm/qxl/qxl_drv.c | 8 ++-
14569 drivers/gpu/drm/qxl/qxl_ioctl.c | 2 +-
14570 drivers/gpu/drm/r128/r128_drv.c | 4 +-
14571 drivers/gpu/drm/r128/r128_drv.h | 2 +-
14572 drivers/gpu/drm/r128/r128_state.c | 2 +-
14573 drivers/gpu/drm/radeon/radeon_drv.c | 17 +++-
14574 drivers/gpu/drm/radeon/radeon_drv.h | 2 +-
14575 drivers/gpu/drm/radeon/radeon_kms.c | 2 +-
14576 drivers/gpu/drm/radeon/radeon_state.c | 2 +-
14577 drivers/gpu/drm/savage/savage_bci.c | 2 +-
14578 drivers/gpu/drm/savage/savage_drv.c | 5 +-
14579 drivers/gpu/drm/savage/savage_drv.h | 2 +-
14580 drivers/gpu/drm/sis/sis_drv.c | 5 +-
14581 drivers/gpu/drm/sis/sis_drv.h | 2 +-
14582 drivers/gpu/drm/sis/sis_mm.c | 2 +-
14583 drivers/gpu/drm/via/via_dma.c | 2 +-
14584 drivers/gpu/drm/via/via_drv.c | 5 +-
14585 drivers/gpu/drm/via/via_drv.h | 2 +-
14586 include/drm/drmP.h | 2 +-
14587 mm/slab.c | 2 +-
14588 net/sunrpc/xprtrdma/svc_rdma.c | 6 +-
14589 tools/gcc/initify_plugin.c | 15 +++-
14590 .../disable_size_overflow_hash.data | 1 +
14591 .../size_overflow_plugin/size_overflow_hash.data | 3 +-
14592 42 files changed, 156 insertions(+), 110 deletions(-)
14593
14594 commit 5fa135dc116350e0205c39ef65eaf6496ed2748a
14595 Author: Brad Spengler <spender@grsecurity.net>
14596 Date: Sat Jan 16 12:19:23 2016 -0500
14597
14598 compile fix
14599
14600 grsecurity/grsec_sig.c | 3 +--
14601 1 files changed, 1 insertions(+), 2 deletions(-)
14602
14603 commit a9090fa58f33f75c7450fda5721a9b13625a47d9
14604 Author: Brad Spengler <spender@grsecurity.net>
14605 Date: Sat Jan 16 12:10:37 2016 -0500
14606
14607 As pointed out by Jann Horn, some distros are starting to circumvent
14608 previous assumptions about the attainability of a user to control
14609 multiple UIDs by handing out suid binaries that allow a user to run
14610 processes (including exploits) under a number of other pre-defined
14611 UIDs. As this could potentially be used to bypass GRKERNSEC_BRUTE
14612 (though it would have to involve some code path that doesn't involve
14613 locks) fix that here by ensuring no more than 8 users on a system can
14614 be banned before a reboot is required. If more are banned, a panic
14615 is triggered.
14616
14617 grsecurity/grsec_sig.c | 8 ++++++++
14618 1 files changed, 8 insertions(+), 0 deletions(-)
14619
14620 commit a8d37776e9521c567ebff6730d49312f72435f08
14621 Author: Eric Dumazet <edumazet@google.com>
14622 Date: Thu Dec 3 11:12:07 2015 -0800
14623
14624 proc: add a reschedule point in proc_readfd_common()
14625
14626 User can pass an arbitrary large buffer to getdents().
14627
14628 It is typically a 32KB buffer used by libc scandir() implementation.
14629
14630 When scanning /proc/{pid}/fd, we can hold cpu way too long,
14631 so add a cond_resched() to be kind with other tasks.
14632
14633 We've seen latencies of more than 50ms on real workloads.
14634
14635 Signed-off-by: Eric Dumazet <edumazet@google.com>
14636 Cc: Alexander Viro <viro@zeniv.linux.org.uk>
14637 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
14638
14639 fs/proc/fd.c | 1 +
14640 1 files changed, 1 insertions(+), 0 deletions(-)
14641
14642 commit 0adba75f8708f13b1f5d98ebe3fc2fb961e100c8
14643 Author: Rabin Vincent <rabin@rab.in>
14644 Date: Tue Jan 12 20:17:08 2016 +0100
14645
14646 net: bpf: reject invalid shifts
14647
14648 On ARM64, a BUG() is triggered in the eBPF JIT if a filter with a
14649 constant shift that can't be encoded in the immediate field of the
14650 UBFM/SBFM instructions is passed to the JIT. Since these shifts
14651 amounts, which are negative or >= regsize, are invalid, reject them in
14652 the eBPF verifier and the classic BPF filter checker, for all
14653 architectures.
14654
14655 Signed-off-by: Rabin Vincent <rabin@rab.in>
14656 Acked-by: Alexei Starovoitov <ast@kernel.org>
14657 Acked-by: Daniel Borkmann <daniel@iogearbox.net>
14658 Signed-off-by: David S. Miller <davem@davemloft.net>
14659
14660 kernel/bpf/verifier.c | 10 ++++++++++
14661 net/core/filter.c | 5 +++++
14662 2 files changed, 15 insertions(+), 0 deletions(-)
14663
14664 commit c248e115a73496625a1c64660d0eeefd67e55cbf
14665 Author: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
14666 Date: Fri Jan 8 11:00:54 2016 -0200
14667
14668 sctp: fix use-after-free in pr_debug statement
14669
14670 Dmitry Vyukov reported a use-after-free in the code expanded by the
14671 macro debug_post_sfx, which is caused by the use of the asoc pointer
14672 after it was freed within sctp_side_effect() scope.
14673
14674 This patch fixes it by allowing sctp_side_effect to clear that asoc
14675 pointer when the TCB is freed.
14676
14677 As Vlad explained, we also have to cover the SCTP_DISPOSITION_ABORT case
14678 because it will trigger DELETE_TCB too on that same loop.
14679
14680 Also, there were places issuing SCTP_CMD_INIT_FAILED and ASSOC_FAILED
14681 but returning SCTP_DISPOSITION_CONSUME, which would fool the scheme
14682 above. Fix it by returning SCTP_DISPOSITION_ABORT instead.
14683
14684 The macro is already prepared to handle such NULL pointer.
14685
14686 Reported-by: Dmitry Vyukov <dvyukov@google.com>
14687 Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
14688 Acked-by: Vlad Yasevich <vyasevich@gmail.com>
14689 Signed-off-by: David S. Miller <davem@davemloft.net>
14690
14691 net/sctp/sm_sideeffect.c | 11 ++++++-----
14692 net/sctp/sm_statefuns.c | 17 ++++-------------
14693 2 files changed, 10 insertions(+), 18 deletions(-)
14694
14695 commit 395ea8a9e73e184fc14153a033000bccf4213213
14696 Author: willy tarreau <w@1wt.eu>
14697 Date: Sun Jan 10 07:54:56 2016 +0100
14698
14699 unix: properly account for FDs passed over unix sockets
14700
14701 It is possible for a process to allocate and accumulate far more FDs than
14702 the process' limit by sending them over a unix socket then closing them
14703 to keep the process' fd count low.
14704
14705 This change addresses this problem by keeping track of the number of FDs
14706 in flight per user and preventing non-privileged processes from having
14707 more FDs in flight than their configured FD limit.
14708
14709 Reported-by: socketpair@gmail.com
14710 Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
14711 Mitigates: CVE-2013-4312 (Linux 2.0+)
14712 Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
14713 Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
14714 Signed-off-by: Willy Tarreau <w@1wt.eu>
14715 Signed-off-by: David S. Miller <davem@davemloft.net>
14716
14717 include/linux/sched.h | 1 +
14718 net/unix/af_unix.c | 24 ++++++++++++++++++++----
14719 net/unix/garbage.c | 13 ++++++++-----
14720 3 files changed, 29 insertions(+), 9 deletions(-)
14721
14722 commit cb207ab8fbd71dcfc4a49d533aba8085012543fd
14723 Author: Sasha Levin <sasha.levin@oracle.com>
14724 Date: Thu Jan 7 14:52:43 2016 -0500
14725
14726 net: sctp: prevent writes to cookie_hmac_alg from accessing invalid memory
14727
14728 proc_dostring() needs an initialized destination string, while the one
14729 provided in proc_sctp_do_hmac_alg() contains stack garbage.
14730
14731 Thus, writing to cookie_hmac_alg would strlen() that garbage and end up
14732 accessing invalid memory.
14733
14734 Fixes: 3c68198e7 ("sctp: Make hmac algorithm selection for cookie generation dynamic")
14735 Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
14736 Signed-off-by: David S. Miller <davem@davemloft.net>
14737
14738 net/sctp/sysctl.c | 2 +-
14739 1 files changed, 1 insertions(+), 1 deletions(-)
14740
14741 commit 4014e09faf0fe9054119624ccfff1236e886b554
14742 Author: Quentin Casasnovas <quentin.casasnovas@oracle.com>
14743 Date: Tue Nov 24 17:13:21 2015 -0500
14744
14745 RDS: fix race condition when sending a message on unbound socket
14746
14747 commit 8c7188b23474cca017b3ef354c4a58456f68303a upstream.
14748
14749 Sasha's found a NULL pointer dereference in the RDS connection code when
14750 sending a message to an apparently unbound socket. The problem is caused
14751 by the code checking if the socket is bound in rds_sendmsg(), which checks
14752 the rs_bound_addr field without taking a lock on the socket. This opens a
14753 race where rs_bound_addr is temporarily set but where the transport is not
14754 in rds_bind(), leading to a NULL pointer dereference when trying to
14755 dereference 'trans' in __rds_conn_create().
14756
14757 Vegard wrote a reproducer for this issue, so kindly ask him to share if
14758 you're interested.
14759
14760 I cannot reproduce the NULL pointer dereference using Vegard's reproducer
14761 with this patch, whereas I could without.
14762
14763 Complete earlier incomplete fix to CVE-2015-6937:
14764
14765 74e98eb08588 ("RDS: verify the underlying transport exists before creating a connection")
14766
14767 Cc: David S. Miller <davem@davemloft.net>
14768
14769 Reviewed-by: Vegard Nossum <vegard.nossum@oracle.com>
14770 Reviewed-by: Sasha Levin <sasha.levin@oracle.com>
14771 Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
14772 Signed-off-by: Quentin Casasnovas <quentin.casasnovas@oracle.com>
14773 Signed-off-by: David S. Miller <davem@davemloft.net>
14774 Signed-off-by: Jiri Slaby <jslaby@suse.cz>
14775
14776 Conflicts:
14777
14778 net/rds/send.c
14779
14780 net/rds/connection.c | 6 ------
14781 1 files changed, 0 insertions(+), 6 deletions(-)
14782
14783 commit 206df8d01104344d7588d801016a281a4cd25556
14784 Author: Sasha Levin <sasha.levin@oracle.com>
14785 Date: Tue Sep 8 10:53:40 2015 -0400
14786
14787 RDS: verify the underlying transport exists before creating a connection
14788
14789 There was no verification that an underlying transport exists when creating
14790 a connection, this would cause dereferencing a NULL ptr.
14791
14792 It might happen on sockets that weren't properly bound before attempting to
14793 send a message, which will cause a NULL ptr deref:
14794
14795 [135546.047719] kasan: GPF could be caused by NULL-ptr deref or user memory accessgeneral protection fault: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC KASAN
14796 [135546.051270] Modules linked in:
14797 [135546.051781] CPU: 4 PID: 15650 Comm: trinity-c4 Not tainted 4.2.0-next-20150902-sasha-00041-gbaa1222-dirty #2527
14798 [135546.053217] task: ffff8800835bc000 ti: ffff8800bc708000 task.ti: ffff8800bc708000
14799 [135546.054291] RIP: __rds_conn_create (net/rds/connection.c:194)
14800 [135546.055666] RSP: 0018:ffff8800bc70fab0 EFLAGS: 00010202
14801 [135546.056457] RAX: dffffc0000000000 RBX: 0000000000000f2c RCX: ffff8800835bc000
14802 [135546.057494] RDX: 0000000000000007 RSI: ffff8800835bccd8 RDI: 0000000000000038
14803 [135546.058530] RBP: ffff8800bc70fb18 R08: 0000000000000001 R09: 0000000000000000
14804 [135546.059556] R10: ffffed014d7a3a23 R11: ffffed014d7a3a21 R12: 0000000000000000
14805 [135546.060614] R13: 0000000000000001 R14: ffff8801ec3d0000 R15: 0000000000000000
14806 [135546.061668] FS: 00007faad4ffb700(0000) GS:ffff880252000000(0000) knlGS:0000000000000000
14807 [135546.062836] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
14808 [135546.063682] CR2: 000000000000846a CR3: 000000009d137000 CR4: 00000000000006a0
14809 [135546.064723] Stack:
14810 [135546.065048] ffffffffafe2055c ffffffffafe23fc1 ffffed00493097bf ffff8801ec3d0008
14811 [135546.066247] 0000000000000000 00000000000000d0 0000000000000000 ac194a24c0586342
14812 [135546.067438] 1ffff100178e1f78 ffff880320581b00 ffff8800bc70fdd0 ffff880320581b00
14813 [135546.068629] Call Trace:
14814 [135546.069028] ? __rds_conn_create (include/linux/rcupdate.h:856 net/rds/connection.c:134)
14815 [135546.069989] ? rds_message_copy_from_user (net/rds/message.c:298)
14816 [135546.071021] rds_conn_create_outgoing (net/rds/connection.c:278)
14817 [135546.071981] rds_sendmsg (net/rds/send.c:1058)
14818 [135546.072858] ? perf_trace_lock (include/trace/events/lock.h:38)
14819 [135546.073744] ? lockdep_init (kernel/locking/lockdep.c:3298)
14820 [135546.074577] ? rds_send_drop_to (net/rds/send.c:976)
14821 [135546.075508] ? __might_fault (./arch/x86/include/asm/current.h:14 mm/memory.c:3795)
14822 [135546.076349] ? __might_fault (mm/memory.c:3795)
14823 [135546.077179] ? rds_send_drop_to (net/rds/send.c:976)
14824 [135546.078114] sock_sendmsg (net/socket.c:611 net/socket.c:620)
14825 [135546.078856] SYSC_sendto (net/socket.c:1657)
14826 [135546.079596] ? SYSC_connect (net/socket.c:1628)
14827 [135546.080510] ? trace_dump_stack (kernel/trace/trace.c:1926)
14828 [135546.081397] ? ring_buffer_unlock_commit (kernel/trace/ring_buffer.c:2479 kernel/trace/ring_buffer.c:2558 kernel/trace/ring_buffer.c:2674)
14829 [135546.082390] ? trace_buffer_unlock_commit (kernel/trace/trace.c:1749)
14830 [135546.083410] ? trace_event_raw_event_sys_enter (include/trace/events/syscalls.h:16)
14831 [135546.084481] ? do_audit_syscall_entry (include/trace/events/syscalls.h:16)
14832 [135546.085438] ? trace_buffer_unlock_commit (kernel/trace/trace.c:1749)
14833 [135546.085515] rds_ib_laddr_check(): addr 36.74.25.172 ret -99 node type -1
14834
14835 Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
14836 Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
14837 Signed-off-by: David S. Miller <davem@davemloft.net>
14838
14839 net/rds/connection.c | 6 ++++++
14840 1 files changed, 6 insertions(+), 0 deletions(-)
14841
14842 commit 173fa03f05cf0ad485d49a42cbdee8844d3a689a
14843 Author: Steven Rostedt (Red Hat) <rostedt@goodmis.org>
14844 Date: Tue Jan 5 20:32:47 2016 -0500
14845
14846 ftrace/module: Call clean up function when module init fails early
14847
14848 If the module init code fails after calling ftrace_module_init() and before
14849 calling do_init_module(), we can suffer from a memory leak. This is because
14850 ftrace_module_init() allocates pages to store the locations that ftrace
14851 hooks are placed in the module text. If do_init_module() fails, it still
14852 calls the MODULE_GOING notifiers which will tell ftrace to do a clean up of
14853 the pages it allocated for the module. But if load_module() fails before
14854 then, the pages allocated by ftrace_module_init() will never be freed.
14855
14856 Call ftrace_release_mod() on the module if load_module() fails before
14857 getting to do_init_module().
14858
14859 Link: http://lkml.kernel.org/r/567CEA31.1070507@intel.com
14860
14861 Reported-by: "Qiu, PeiyangX" <peiyangx.qiu@intel.com>
14862 Fixes: a949ae560a511 "ftrace/module: Hardcode ftrace_module_init() call into load_module()"
14863 Cc: stable@vger.kernel.org # v2.6.38+
14864 Acked-by: Rusty Russell <rusty@rustcorp.com.au>
14865 Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
14866
14867 include/linux/ftrace.h | 1 +
14868 kernel/module.c | 6 ++++++
14869 2 files changed, 7 insertions(+), 0 deletions(-)
14870
14871 commit 1e5a4a81a4c16c8ac2e264b88a02cc2f42ed0399
14872 Author: Francesco Ruggeri <fruggeri@aristanetworks.com>
14873 Date: Wed Jan 6 00:18:48 2016 -0800
14874
14875 net: possible use after free in dst_release
14876
14877 dst_release should not access dst->flags after decrementing
14878 __refcnt to 0. The dst_entry may be in dst_busy_list and
14879 dst_gc_task may dst_destroy it before dst_release gets a chance
14880 to access dst->flags.
14881
14882 Fixes: d69bbf88c8d0 ("net: fix a race in dst_release()")
14883 Fixes: 27b75c95f10d ("net: avoid RCU for NOCACHE dst")
14884 Signed-off-by: Francesco Ruggeri <fruggeri@arista.com>
14885 Acked-by: Eric Dumazet <edumazet@google.com>
14886 Signed-off-by: David S. Miller <davem@davemloft.net>
14887
14888 net/core/dst.c | 3 ++-
14889 1 files changed, 2 insertions(+), 1 deletions(-)
14890
14891 commit bfb0455793dd4e0f0b49d34a68b3249ab55565cc
14892 Author: Alan <gnomes@lxorguk.ukuu.org.uk>
14893 Date: Wed Jan 6 14:55:02 2016 +0000
14894
14895 mkiss: fix scribble on freed memory
14896
14897 commit d79f16c046086f4fe0d42184a458e187464eb83e fixed a user triggerable
14898 scribble on free memory but added a new one which allows the user to
14899 scribble even more and user controlled data into freed space.
14900
14901 As with 6pack we need to halt the queue before we free the buffers, because
14902 the transmit logic is not protected by the semaphore.
14903
14904 Signed-off-by: Alan Cox <alan@linux.intel.com>
14905 Signed-off-by: David S. Miller <davem@davemloft.net>
14906
14907 drivers/net/hamradio/mkiss.c | 5 +++++
14908 1 files changed, 5 insertions(+), 0 deletions(-)
14909
14910 commit 5cbbcbd32dc1949470f61d342503808fa9555276
14911 Author: David Miller <davem@davemloft.net>
14912 Date: Thu Dec 17 16:05:49 2015 -0500
14913
14914 mkiss: Fix use after free in mkiss_close().
14915
14916 Need to do the unregister_device() after all references to the driver
14917 private have been done.
14918
14919 Signed-off-by: David S. Miller <davem@davemloft.net>
14920
14921 drivers/net/hamradio/mkiss.c | 4 ++--
14922 1 files changed, 2 insertions(+), 2 deletions(-)
14923
14924 commit b00171576794a98068e069a660f0991a6a5190ff
14925 Author: One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
14926 Date: Tue Jan 5 11:51:25 2016 +0000
14927
14928 6pack: fix free memory scribbles
14929
14930 commit acf673a3187edf72068ee2f92f4dc47d66baed47 fixed a user triggerable free
14931 memory scribble but in doing so replaced it with a different one that allows
14932 the user to control the data and scribble even more.
14933
14934 sixpack_close is called by the tty layer in tty context. The tty context is
14935 protected by sp_get() and sp_put(). However network layer activity via
14936 sp_xmit() is not protected this way. We must therefore stop the queue
14937 otherwise the user gets to dump a buffer mostly of their choice into freed
14938 kernel pages.
14939
14940 Signed-off-by: Alan Cox <alan@linux.intel.com>
14941 Signed-off-by: David S. Miller <davem@davemloft.net>
14942
14943 drivers/net/hamradio/6pack.c | 6 ++++++
14944 1 files changed, 6 insertions(+), 0 deletions(-)
14945
14946 commit 5b64a833907cd230a3106aeba2304b2c1bcd116d
14947 Author: David Miller <davem@davemloft.net>
14948 Date: Thu Dec 17 16:05:32 2015 -0500
14949
14950 6pack: Fix use after free in sixpack_close().
14951
14952 Need to do the unregister_device() after all references to the driver
14953 private have been done.
14954
14955 Also we need to use del_timer_sync() for the timers so that we don't
14956 have any asynchronous references after the unregister.
14957
14958 Signed-off-by: David S. Miller <davem@davemloft.net>
14959
14960 drivers/net/hamradio/6pack.c | 8 ++++----
14961 1 files changed, 4 insertions(+), 4 deletions(-)
14962
14963 commit 4f9d532742656b3613d579220fd10c78f24ba37b
14964 Author: Rabin Vincent <rabin@rab.in>
14965 Date: Tue Jan 5 16:23:07 2016 +0100
14966
14967 net: filter: make JITs zero A for SKF_AD_ALU_XOR_X
14968
14969 The SKF_AD_ALU_XOR_X ancillary is not like the other ancillary data
14970 instructions since it XORs A with X while all the others replace A with
14971 some loaded value. All the BPF JITs fail to clear A if this is used as
14972 the first instruction in a filter. This was found using american fuzzy
14973 lop.
14974
14975 Add a helper to determine if A needs to be cleared given the first
14976 instruction in a filter, and use this in the JITs. Except for ARM, the
14977 rest have only been compile-tested.
14978
14979 Fixes: 3480593131e0 ("net: filter: get rid of BPF_S_* enum")
14980 Signed-off-by: Rabin Vincent <rabin@rab.in>
14981 Acked-by: Daniel Borkmann <daniel@iogearbox.net>
14982 Acked-by: Alexei Starovoitov <ast@kernel.org>
14983 Signed-off-by: David S. Miller <davem@davemloft.net>
14984
14985 arch/arm/net/bpf_jit_32.c | 16 +---------------
14986 arch/mips/net/bpf_jit.c | 16 +---------------
14987 arch/powerpc/net/bpf_jit_comp.c | 13 ++-----------
14988 arch/sparc/net/bpf_jit_comp.c | 17 ++---------------
14989 include/linux/filter.h | 19 +++++++++++++++++++
14990 5 files changed, 25 insertions(+), 56 deletions(-)
14991
14992 commit 570d88f8acfffda92b89ae2e1c47320d47256034
14993 Author: John Fastabend <john.fastabend@gmail.com>
14994 Date: Tue Jan 5 09:11:36 2016 -0800
14995
14996 net: sched: fix missing free per cpu on qstats
14997
14998 When a qdisc is using per cpu stats (currently just the ingress
14999 qdisc) only the bstats are being freed. This also free's the qstats.
15000
15001 Fixes: b0ab6f92752b9f9d8 ("net: sched: enable per cpu qstats")
15002 Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
15003 Acked-by: Eric Dumazet <edumazet@google.com>
15004 Acked-by: Daniel Borkmann <daniel@iogearbox.net>
15005 Signed-off-by: David S. Miller <davem@davemloft.net>
15006
15007 net/sched/sch_generic.c | 4 +++-
15008 1 files changed, 3 insertions(+), 1 deletions(-)
15009
15010 commit 32c0ebc51857ee83470a10dcb234d308a0ed1881
15011 Author: Rabin Vincent <rabin@rab.in>
15012 Date: Tue Jan 5 18:34:04 2016 +0100
15013
15014 ARM: net: bpf: fix zero right shift
15015
15016 The LSR instruction cannot be used to perform a zero right shift since a
15017 0 as the immediate value (imm5) in the LSR instruction encoding means
15018 that a shift of 32 is perfomed. See DecodeIMMShift() in the ARM ARM.
15019
15020 Make the JIT skip generation of the LSR if a zero-shift is requested.
15021
15022 This was found using american fuzzy lop.
15023
15024 Signed-off-by: Rabin Vincent <rabin@rab.in>
15025 Acked-by: Alexei Starovoitov <ast@kernel.org>
15026 Signed-off-by: David S. Miller <davem@davemloft.net>
15027
15028 arch/arm/net/bpf_jit_32.c | 3 ++-
15029 1 files changed, 2 insertions(+), 1 deletions(-)
15030
15031 commit 51f5d291750285efa4d4bbe84e5ec23dc00c8d2d
15032 Author: Brad Spengler <spender@grsecurity.net>
15033 Date: Wed Jan 6 20:35:57 2016 -0500
15034
15035 Don't perform hidden lookups in RBAC against the directory of
15036 a file being opened with O_CREAT, reported by Karl Witt
15037
15038 Conflicts:
15039
15040 fs/namei.c
15041
15042 fs/namei.c | 3 ---
15043 1 files changed, 0 insertions(+), 3 deletions(-)
15044
15045 commit 5a8266a6b2769ccdb447256f95bc2577a73cccd1
15046 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
15047 Date: Tue Jan 5 10:46:00 2016 +0100
15048
15049 bridge: Only call /sbin/bridge-stp for the initial network namespace
15050
15051 [I stole this patch from Eric Biederman. He wrote:]
15052
15053 > There is no defined mechanism to pass network namespace information
15054 > into /sbin/bridge-stp therefore don't even try to invoke it except
15055 > for bridge devices in the initial network namespace.
15056 >
15057 > It is possible for unprivileged users to cause /sbin/bridge-stp to be
15058 > invoked for any network device name which if /sbin/bridge-stp does not
15059 > guard against unreasonable arguments or being invoked twice on the
15060 > same network device could cause problems.
15061
15062 [Hannes: changed patch using netns_eq]
15063
15064 Cc: Eric W. Biederman <ebiederm@xmission.com>
15065 Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
15066 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
15067 Signed-off-by: David S. Miller <davem@davemloft.net>
15068
15069 net/bridge/br_stp_if.c | 5 ++++-
15070 1 files changed, 4 insertions(+), 1 deletions(-)
15071
15072 commit 650d535cc39f0aeff2f57e60b6617be25d3ef48b
15073 Author: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
15074 Date: Wed Dec 23 16:28:40 2015 -0200
15075
15076 sctp: use GFP_USER for user-controlled kmalloc
15077
15078 Commit cacc06215271 ("sctp: use GFP_USER for user-controlled kmalloc")
15079 missed two other spots.
15080
15081 For connectx, as it's more likely to be used by kernel users of the API,
15082 it detects if GFP_USER should be used or not.
15083
15084 Fixes: cacc06215271 ("sctp: use GFP_USER for user-controlled kmalloc")
15085 Reported-by: Dmitry Vyukov <dvyukov@google.com>
15086 Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
15087 Signed-off-by: David S. Miller <davem@davemloft.net>
15088
15089 net/sctp/socket.c | 9 ++++++---
15090 1 files changed, 6 insertions(+), 3 deletions(-)
15091
15092 commit 5718a1f63c41fc156f729783423b002763779d04
15093 Author: Florian Westphal <fw@strlen.de>
15094 Date: Thu Dec 31 14:26:33 2015 +0100
15095
15096 connector: bump skb->users before callback invocation
15097
15098 Dmitry reports memleak with syskaller program.
15099 Problem is that connector bumps skb usecount but might not invoke callback.
15100
15101 So move skb_get to where we invoke the callback.
15102
15103 Reported-by: Dmitry Vyukov <dvyukov@google.com>
15104 Signed-off-by: Florian Westphal <fw@strlen.de>
15105 Signed-off-by: David S. Miller <davem@davemloft.net>
15106
15107 drivers/connector/connector.c | 11 +++--------
15108 1 files changed, 3 insertions(+), 8 deletions(-)
15109
15110 commit 2e6372e6a97f8d642416899861f91777f44f13b7
15111 Author: Rainer Weikusat <rweikusat@mobileactivedefense.com>
15112 Date: Sun Jan 3 18:56:38 2016 +0000
15113
15114 af_unix: Fix splice-bind deadlock
15115
15116 On 2015/11/06, Dmitry Vyukov reported a deadlock involving the splice
15117 system call and AF_UNIX sockets,
15118
15119 http://lists.openwall.net/netdev/2015/11/06/24
15120
15121 The situation was analyzed as
15122
15123 (a while ago) A: socketpair()
15124 B: splice() from a pipe to /mnt/regular_file
15125 does sb_start_write() on /mnt
15126 C: try to freeze /mnt
15127 wait for B to finish with /mnt
15128 A: bind() try to bind our socket to /mnt/new_socket_name
15129 lock our socket, see it not bound yet
15130 decide that it needs to create something in /mnt
15131 try to do sb_start_write() on /mnt, block (it's
15132 waiting for C).
15133 D: splice() from the same pipe to our socket
15134 lock the pipe, see that socket is connected
15135 try to lock the socket, block waiting for A
15136 B: get around to actually feeding a chunk from
15137 pipe to file, try to lock the pipe. Deadlock.
15138
15139 on 2015/11/10 by Al Viro,
15140
15141 http://lists.openwall.net/netdev/2015/11/10/4
15142
15143 The patch fixes this by removing the kern_path_create related code from
15144 unix_mknod and executing it as part of unix_bind prior acquiring the
15145 readlock of the socket in question. This means that A (as used above)
15146 will sb_start_write on /mnt before it acquires the readlock, hence, it
15147 won't indirectly block B which first did a sb_start_write and then
15148 waited for a thread trying to acquire the readlock. Consequently, A
15149 being blocked by C waiting for B won't cause a deadlock anymore
15150 (effectively, both A and B acquire two locks in opposite order in the
15151 situation described above).
15152
15153 Dmitry Vyukov(<dvyukov@google.com>) tested the original patch.
15154
15155 Signed-off-by: Rainer Weikusat <rweikusat@mobileactivedefense.com>
15156 Signed-off-by: David S. Miller <davem@davemloft.net>
15157
15158 Conflicts:
15159
15160 net/unix/af_unix.c
15161
15162 net/unix/af_unix.c | 70 +++++++++++++++++++++++++++++++--------------------
15163 1 files changed, 42 insertions(+), 28 deletions(-)
15164
15165 commit 2e729e557c571f3253e32472cd7d382ac16cf1c3
15166 Author: Qiu Peiyang <peiyangx.qiu@intel.com>
15167 Date: Thu Dec 31 13:11:28 2015 +0800
15168
15169 tracing: Fix setting of start_index in find_next()
15170
15171 When we do cat /sys/kernel/debug/tracing/printk_formats, we hit kernel
15172 panic at t_show.
15173
15174 general protection fault: 0000 [#1] PREEMPT SMP
15175 CPU: 0 PID: 2957 Comm: sh Tainted: G W O 3.14.55-x86_64-01062-gd4acdc7 #2
15176 RIP: 0010:[<ffffffff811375b2>]
15177 [<ffffffff811375b2>] t_show+0x22/0xe0
15178 RSP: 0000:ffff88002b4ebe80 EFLAGS: 00010246
15179 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000004
15180 RDX: 0000000000000004 RSI: ffffffff81fd26a6 RDI: ffff880032f9f7b1
15181 RBP: ffff88002b4ebe98 R08: 0000000000001000 R09: 000000000000ffec
15182 R10: 0000000000000000 R11: 000000000000000f R12: ffff880004d9b6c0
15183 R13: 7365725f6d706400 R14: ffff880004d9b6c0 R15: ffffffff82020570
15184 FS: 0000000000000000(0000) GS:ffff88003aa00000(0063) knlGS:00000000f776bc40
15185 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
15186 CR2: 00000000f6c02ff0 CR3: 000000002c2b3000 CR4: 00000000001007f0
15187 Call Trace:
15188 [<ffffffff811dc076>] seq_read+0x2f6/0x3e0
15189 [<ffffffff811b749b>] vfs_read+0x9b/0x160
15190 [<ffffffff811b7f69>] SyS_read+0x49/0xb0
15191 [<ffffffff81a3a4b9>] ia32_do_call+0x13/0x13
15192 ---[ end trace 5bd9eb630614861e ]---
15193 Kernel panic - not syncing: Fatal exception
15194
15195 When the first time find_next calls find_next_mod_format, it should
15196 iterate the trace_bprintk_fmt_list to find the first print format of
15197 the module. However in current code, start_index is smaller than *pos
15198 at first, and code will not iterate the list. Latter container_of will
15199 get the wrong address with former v, which will cause mod_fmt be a
15200 meaningless object and so is the returned mod_fmt->fmt.
15201
15202 This patch will fix it by correcting the start_index. After fixed,
15203 when the first time calls find_next_mod_format, start_index will be
15204 equal to *pos, and code will iterate the trace_bprintk_fmt_list to
15205 get the right module printk format, so is the returned mod_fmt->fmt.
15206
15207 Link: http://lkml.kernel.org/r/5684B900.9000309@intel.com
15208
15209 Cc: stable@vger.kernel.org # 3.12+
15210 Fixes: 102c9323c35a8 "tracing: Add __tracepoint_string() to export string pointers"
15211 Signed-off-by: Qiu Peiyang <peiyangx.qiu@intel.com>
15212 Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
15213
15214 kernel/trace/trace_printk.c | 1 +
15215 1 files changed, 1 insertions(+), 0 deletions(-)
15216
15217 commit 0994af4b1930f32aa493dc08145cd304f8bfc8f4
15218 Author: Al Viro <viro@zeniv.linux.org.uk>
15219 Date: Mon Dec 28 20:47:08 2015 -0500
15220
15221 [PATCH] arm: fix handling of F_OFD_... in oabi_fcntl64()
15222
15223 Cc: stable@vger.kernel.org # 3.15+
15224 Reviewed-by: Jeff Layton <jeff.layton@primarydata.com>
15225 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
15226
15227 arch/arm/kernel/sys_oabi-compat.c | 73 +++++++++++++++++++------------------
15228 1 files changed, 37 insertions(+), 36 deletions(-)
15229
15230 commit 4ed030f65dcf3e6b0128032a49a7d75f947fa351
15231 Merge: de243c2 3adc55a
15232 Author: Brad Spengler <spender@grsecurity.net>
15233 Date: Tue Jan 5 18:10:10 2016 -0500
15234
15235 Merge branch 'pax-test' into grsec-test
15236
15237 commit 3adc55a5acfa429c2a7cc883aef08b960c0079b0
15238 Author: Brad Spengler <spender@grsecurity.net>
15239 Date: Tue Jan 5 18:08:53 2016 -0500
15240
15241 Update to pax-linux-4.3.3-test16.patch:
15242 - small cleanup in entry_64.S on x86
15243 - Emese fixed the initify plugin to recursively check variable initializers, reported by Rasmus Villemoes
15244 - 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)
15245 - 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)
15246 - 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)
15247 - 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)
15248
15249 arch/x86/entry/entry_64.S | 60 +++++-----
15250 arch/x86/kernel/alternative.c | 2 +-
15251 arch/x86/kvm/emulate.c | 4 +-
15252 tools/gcc/initify_plugin.c | 123 +++++++++----------
15253 .../disable_size_overflow_hash.data | 4 +-
15254 .../size_overflow_plugin/size_overflow_hash.data | 2 -
15255 6 files changed, 93 insertions(+), 102 deletions(-)
15256
15257 commit de243c26efd0e423ca92db825af2c3f8eb1ca043
15258 Author: Brad Spengler <spender@grsecurity.net>
15259 Date: Tue Dec 29 18:01:24 2015 -0500
15260
15261 It was noticed during an internal audit that the code under GRKERNSEC_PROC_MEMMAP
15262 which aimed to enforce a 16MB minimum on RLIMIT_DATA for suid/sgid binaries only
15263 did so if RLIMIT_DATA was set lower than PAGE_SIZE.
15264
15265 This addition was only supplemental as GRKERNSEC_BRUTE is the main defense
15266 against suid/sgid attacks and the flaw above would only eliminate the extra
15267 entropy provided for the brk-managed heap, still leaving it with the minimum
15268 of 16-bit entropy for mmap on x86 and 28 on x64.
15269
15270 mm/mmap.c | 2 +-
15271 1 files changed, 1 insertions(+), 1 deletions(-)
15272
15273 commit 8e264cfe47e5f08cdc9ed009a630277206cd2534
15274 Merge: 436201b 2584340
15275 Author: Brad Spengler <spender@grsecurity.net>
15276 Date: Mon Dec 28 20:30:01 2015 -0500
15277
15278 Merge branch 'pax-test' into grsec-test
15279
15280 commit 2584340eab494e64ec1bf9eb5b0d1ae31f926306
15281 Author: Brad Spengler <spender@grsecurity.net>
15282 Date: Mon Dec 28 20:29:28 2015 -0500
15283
15284 Update to pax-linux-4.3.3-test14.patch:
15285 - 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)
15286 - fixed shutdown crash with tboot and KERNEXEC, reported by perfinion
15287 - fixed a few false positive and one real size overflow reports in hyperv, reported by hunger
15288 - fixed compile regressions on armv5, reported by iamb (https://forums.grsecurity.net/viewtopic.php?f=3&t=4350)
15289 - fixed an assert in the initify plugin that triggered in vic_register on arm
15290
15291 arch/arm/include/asm/atomic.h | 7 +++++--
15292 arch/arm/include/asm/domain.h | 5 ++---
15293 arch/x86/kernel/tboot.c | 14 +++++++++-----
15294 drivers/hv/channel.c | 4 +---
15295 drivers/i2c/busses/i2c-designware-pcidrv.c | 2 +-
15296 drivers/net/hyperv/rndis_filter.c | 3 +--
15297 fs/exec.c | 4 ++--
15298 include/linux/atomic.h | 15 ---------------
15299 net/core/skbuff.c | 3 ++-
15300 tools/gcc/initify_plugin.c | 4 +++-
15301 10 files changed, 26 insertions(+), 35 deletions(-)
15302
15303 commit 436201b6626b488d173c8076447000077c27b84a
15304 Author: David Howells <dhowells@redhat.com>
15305 Date: Fri Dec 18 01:34:26 2015 +0000
15306
15307 KEYS: Fix race between read and revoke
15308
15309 This fixes CVE-2015-7550.
15310
15311 There's a race between keyctl_read() and keyctl_revoke(). If the revoke
15312 happens between keyctl_read() checking the validity of a key and the key's
15313 semaphore being taken, then the key type read method will see a revoked key.
15314
15315 This causes a problem for the user-defined key type because it assumes in
15316 its read method that there will always be a payload in a non-revoked key
15317 and doesn't check for a NULL pointer.
15318
15319 Fix this by making keyctl_read() check the validity of a key after taking
15320 semaphore instead of before.
15321
15322 I think the bug was introduced with the original keyrings code.
15323
15324 This was discovered by a multithreaded test program generated by syzkaller
15325 (http://github.com/google/syzkaller). Here's a cleaned up version:
15326
15327 #include <sys/types.h>
15328 #include <keyutils.h>
15329 #include <pthread.h>
15330 void *thr0(void *arg)
15331 {
15332 key_serial_t key = (unsigned long)arg;
15333 keyctl_revoke(key);
15334 return 0;
15335 }
15336 void *thr1(void *arg)
15337 {
15338 key_serial_t key = (unsigned long)arg;
15339 char buffer[16];
15340 keyctl_read(key, buffer, 16);
15341 return 0;
15342 }
15343 int main()
15344 {
15345 key_serial_t key = add_key("user", "%", "foo", 3, KEY_SPEC_USER_KEYRING);
15346 pthread_t th[5];
15347 pthread_create(&th[0], 0, thr0, (void *)(unsigned long)key);
15348 pthread_create(&th[1], 0, thr1, (void *)(unsigned long)key);
15349 pthread_create(&th[2], 0, thr0, (void *)(unsigned long)key);
15350 pthread_create(&th[3], 0, thr1, (void *)(unsigned long)key);
15351 pthread_join(th[0], 0);
15352 pthread_join(th[1], 0);
15353 pthread_join(th[2], 0);
15354 pthread_join(th[3], 0);
15355 return 0;
15356 }
15357
15358 Build as:
15359
15360 cc -o keyctl-race keyctl-race.c -lkeyutils -lpthread
15361
15362 Run as:
15363
15364 while keyctl-race; do :; done
15365
15366 as it may need several iterations to crash the kernel. The crash can be
15367 summarised as:
15368
15369 BUG: unable to handle kernel NULL pointer dereference at 0000000000000010
15370 IP: [<ffffffff81279b08>] user_read+0x56/0xa3
15371 ...
15372 Call Trace:
15373 [<ffffffff81276aa9>] keyctl_read_key+0xb6/0xd7
15374 [<ffffffff81277815>] SyS_keyctl+0x83/0xe0
15375 [<ffffffff815dbb97>] entry_SYSCALL_64_fastpath+0x12/0x6f
15376
15377 Reported-by: Dmitry Vyukov <dvyukov@google.com>
15378 Signed-off-by: David Howells <dhowells@redhat.com>
15379 Tested-by: Dmitry Vyukov <dvyukov@google.com>
15380 Cc: stable@vger.kernel.org
15381 Signed-off-by: James Morris <james.l.morris@oracle.com>
15382
15383 security/keys/keyctl.c | 18 +++++++++---------
15384 1 files changed, 9 insertions(+), 9 deletions(-)
15385
15386 commit 195cea04477025da4a2078bd3e1fb7c4e11206c2
15387 Author: Brad Spengler <spender@grsecurity.net>
15388 Date: Tue Dec 22 20:44:01 2015 -0500
15389
15390 Add new kernel command-line param: pax_size_overflow_report_only
15391 If a user triggers a size_overflow violation that makes it difficult
15392 to obtain the call trace without serial console/net console, they can
15393 use this option to provide that information to us
15394
15395 Documentation/kernel-parameters.txt | 5 +++++
15396 fs/exec.c | 12 +++++++++---
15397 init/main.c | 11 +++++++++++
15398 3 files changed, 25 insertions(+), 3 deletions(-)
15399
15400 commit 4254a8da5851df8c08cdca5c392916e8c105408d
15401 Author: WANG Cong <xiyou.wangcong@gmail.com>
15402 Date: Mon Dec 21 10:55:45 2015 -0800
15403
15404 addrconf: always initialize sysctl table data
15405
15406 When sysctl performs restrict writes, it allows to write from
15407 a middle position of a sysctl file, which requires us to initialize
15408 the table data before calling proc_dostring() for the write case.
15409
15410 Fixes: 3d1bec99320d ("ipv6: introduce secret_stable to ipv6_devconf")
15411 Reported-by: Sasha Levin <sasha.levin@oracle.com>
15412 Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
15413 Tested-by: Sasha Levin <sasha.levin@oracle.com>
15414 Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
15415 Signed-off-by: David S. Miller <davem@davemloft.net>
15416
15417 net/ipv6/addrconf.c | 11 ++++-------
15418 1 files changed, 4 insertions(+), 7 deletions(-)
15419
15420 commit f8002863fb06c363180637046947a78a6ccb3d33
15421 Author: WANG Cong <xiyou.wangcong@gmail.com>
15422 Date: Wed Dec 16 23:39:04 2015 -0800
15423
15424 net: check both type and procotol for tcp sockets
15425
15426 Dmitry reported the following out-of-bound access:
15427
15428 Call Trace:
15429 [<ffffffff816cec2e>] __asan_report_load4_noabort+0x3e/0x40
15430 mm/kasan/report.c:294
15431 [<ffffffff84affb14>] sock_setsockopt+0x1284/0x13d0 net/core/sock.c:880
15432 [< inline >] SYSC_setsockopt net/socket.c:1746
15433 [<ffffffff84aed7ee>] SyS_setsockopt+0x1fe/0x240 net/socket.c:1729
15434 [<ffffffff85c18c76>] entry_SYSCALL_64_fastpath+0x16/0x7a
15435 arch/x86/entry/entry_64.S:185
15436
15437 This is because we mistake a raw socket as a tcp socket.
15438 We should check both sk->sk_type and sk->sk_protocol to ensure
15439 it is a tcp socket.
15440
15441 Willem points out __skb_complete_tx_timestamp() needs to fix as well.
15442
15443 Reported-by: Dmitry Vyukov <dvyukov@google.com>
15444 Cc: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
15445 Cc: Eric Dumazet <eric.dumazet@gmail.com>
15446 Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
15447 Acked-by: Willem de Bruijn <willemb@google.com>
15448 Signed-off-by: David S. Miller <davem@davemloft.net>
15449
15450 net/core/skbuff.c | 3 ++-
15451 net/core/sock.c | 3 ++-
15452 2 files changed, 4 insertions(+), 2 deletions(-)
15453
15454 commit bd6b3399804470a4ad8f34229469ca149dceba3d
15455 Author: Colin Ian King <colin.king@canonical.com>
15456 Date: Fri Dec 18 14:22:01 2015 -0800
15457
15458 proc: fix -ESRCH error when writing to /proc/$pid/coredump_filter
15459
15460 Writing to /proc/$pid/coredump_filter always returns -ESRCH because commit
15461 774636e19ed51 ("proc: convert to kstrto*()/kstrto*_from_user()") removed
15462 the setting of ret after the get_proc_task call and incorrectly left it as
15463 -ESRCH. Instead, return 0 when successful.
15464
15465 Example breakage:
15466
15467 echo 0 > /proc/self/coredump_filter
15468 bash: echo: write error: No such process
15469
15470 Fixes: 774636e19ed51 ("proc: convert to kstrto*()/kstrto*_from_user()")
15471 Signed-off-by: Colin Ian King <colin.king@canonical.com>
15472 Acked-by: Kees Cook <keescook@chromium.org>
15473 Cc: <stable@vger.kernel.org> [4.3+]
15474 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
15475 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
15476
15477 fs/proc/base.c | 1 +
15478 1 files changed, 1 insertions(+), 0 deletions(-)
15479
15480 commit b28aca2b99ed08546778355fb9402c503ff9b29e
15481 Author: Junichi Nomura <j-nomura@ce.jp.nec.com>
15482 Date: Tue Dec 22 10:23:44 2015 -0700
15483
15484 block: ensure to split after potentially bouncing a bio
15485
15486 blk_queue_bio() does split then bounce, which makes the segment
15487 counting based on pages before bouncing and could go wrong. Move
15488 the split to after bouncing, like we do for blk-mq, and the we
15489 fix the issue of having the bio count for segments be wrong.
15490
15491 Fixes: 54efd50bfd87 ("block: make generic_make_request handle arbitrarily sized bios")
15492 Cc: stable@vger.kernel.org
15493 Tested-by: Artem S. Tashkinov <t.artem@lycos.com>
15494 Signed-off-by: Jens Axboe <axboe@fb.com>
15495
15496 block/blk-core.c | 4 ++--
15497 1 files changed, 2 insertions(+), 2 deletions(-)
15498
15499 commit e62a25e917a9e5b35ddd5b4f1b5e5e30fbd2e84c
15500 Merge: f6f63ae ec72fa5
15501 Author: Brad Spengler <spender@grsecurity.net>
15502 Date: Tue Dec 22 19:46:26 2015 -0500
15503
15504 Merge branch 'pax-test' into grsec-test
15505
15506 commit ec72fa5f8d9cb4e223bad1b8b5c2e1071c222f2a
15507 Author: Brad Spengler <spender@grsecurity.net>
15508 Date: Tue Dec 22 19:45:51 2015 -0500
15509
15510 Update to pax-linux-4.3.3-test13.patch:
15511 - 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)
15512 - 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)
15513
15514 arch/arm/mm/fault.c | 2 +-
15515 arch/x86/mm/fault.c | 2 +-
15516 fs/btrfs/extent_map.c | 8 ++++++--
15517 fs/xfs/libxfs/xfs_da_btree.c | 4 +++-
15518 4 files changed, 11 insertions(+), 5 deletions(-)
15519
15520 commit f6f63ae154cd45028add1dc41957878060d77fbf
15521 Author: Brad Spengler <spender@grsecurity.net>
15522 Date: Thu Dec 17 18:43:44 2015 -0500
15523
15524 ptrace_has_cap() checks whether the current process should be
15525 treated as having a certain capability for ptrace checks
15526 against another process. Until now, this was equivalent to
15527 has_ns_capability(current, target_ns, CAP_SYS_PTRACE).
15528
15529 However, if a root-owned process wants to enter a user
15530 namespace for some reason without knowing who owns it and
15531 therefore can't change to the namespace owner's uid and gid
15532 before entering, as soon as it has entered the namespace,
15533 the namespace owner can attach to it via ptrace and thereby
15534 gain access to its uid and gid.
15535
15536 While it is possible for the entering process to switch to
15537 the uid of a claimed namespace owner before entering,
15538 causing the attempt to enter to fail if the claimed uid is
15539 wrong, this doesn't solve the problem of determining an
15540 appropriate gid.
15541
15542 With this change, the entering process can first enter the
15543 namespace and then safely inspect the namespace's
15544 properties, e.g. through /proc/self/{uid_map,gid_map},
15545 assuming that the namespace owner doesn't have access to
15546 uid 0.
15547 Signed-off-by: Jann Horn <jann@thejh.net>
15548
15549 kernel/ptrace.c | 30 +++++++++++++++++++++++++-----
15550 1 files changed, 25 insertions(+), 5 deletions(-)
15551
15552 commit e314f0fb63020f61543b401ff594e953c2c304e5
15553 Author: tadeusz.struk@intel.com <tadeusz.struk@intel.com>
15554 Date: Tue Dec 15 10:46:17 2015 -0800
15555
15556 net: fix uninitialized variable issue
15557
15558 msg_iocb needs to be initialized on the recv/recvfrom path.
15559 Otherwise afalg will wrongly interpret it as an async call.
15560
15561 Cc: stable@vger.kernel.org
15562 Reported-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
15563 Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
15564 Signed-off-by: David S. Miller <davem@davemloft.net>
15565
15566 net/socket.c | 1 +
15567 1 files changed, 1 insertions(+), 0 deletions(-)
15568
15569 commit a3f56a43ad56b8fcaf04f6327636ed2f5970de3b
15570 Merge: dfa764c 142edcf
15571 Author: Brad Spengler <spender@grsecurity.net>
15572 Date: Wed Dec 16 21:01:17 2015 -0500
15573
15574 Merge branch 'pax-test' into grsec-test
15575
15576 commit 142edcf1005a57fb8887823565cf0bafad2f313c
15577 Author: Brad Spengler <spender@grsecurity.net>
15578 Date: Wed Dec 16 21:00:57 2015 -0500
15579
15580 Update to pax-linux-4.3.3-test12.patch:
15581 - 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)
15582 - 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)
15583
15584 drivers/tty/n_tty.c | 16 ++++++++--------
15585 .../disable_size_overflow_hash.data | 2 ++
15586 .../size_overflow_plugin/size_overflow_hash.data | 6 ++----
15587 3 files changed, 12 insertions(+), 12 deletions(-)
15588
15589 commit dfa764cc549892a5bfc1083cac78b99032cae577
15590 Author: Hannes Frederic Sowa <hannes@stressinduktion.org>
15591 Date: Tue Dec 15 22:59:12 2015 +0100
15592
15593 ipv6: automatically enable stable privacy mode if stable_secret set
15594
15595 Bjørn reported that while we switch all interfaces to privacy stable mode
15596 when setting the secret, we don't set this mode for new interfaces. This
15597 does not make sense, so change this behaviour.
15598
15599 Fixes: 622c81d57b392cc ("ipv6: generation of stable privacy addresses for link-local and autoconf")
15600 Reported-by: Bjørn Mork <bjorn@mork.no>
15601 Cc: Bjørn Mork <bjorn@mork.no>
15602 Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
15603 Signed-off-by: David S. Miller <davem@davemloft.net>
15604
15605 net/ipv6/addrconf.c | 6 ++++++
15606 1 files changed, 6 insertions(+), 0 deletions(-)
15607
15608 commit c2815a1fee03f222273e77c14e43f960da06f35a
15609 Author: Brad Spengler <spender@grsecurity.net>
15610 Date: Wed Dec 16 13:03:38 2015 -0500
15611
15612 Work around upstream limitation on the number of thread info flags causing a compilation error
15613 Reported by fabled at http://forums.grsecurity.net/viewtopic.php?f=3&t=4339
15614
15615 arch/arm/kernel/entry-common.S | 8 ++++++--
15616 1 files changed, 6 insertions(+), 2 deletions(-)
15617
15618 commit 8c9ae168e09ae49324d709d76d73d9fc4ca477e1
15619 Author: Brad Spengler <spender@grsecurity.net>
15620 Date: Tue Dec 15 19:03:41 2015 -0500
15621
15622 Initial import of grsecurity 3.1 for Linux 4.3.3
15623
15624 Documentation/dontdiff | 2 +
15625 Documentation/kernel-parameters.txt | 7 +
15626 Documentation/sysctl/kernel.txt | 15 +
15627 Makefile | 18 +-
15628 arch/alpha/include/asm/cache.h | 4 +-
15629 arch/alpha/kernel/osf_sys.c | 12 +-
15630 arch/arc/Kconfig | 1 +
15631 arch/arm/Kconfig | 1 +
15632 arch/arm/Kconfig.debug | 1 +
15633 arch/arm/include/asm/thread_info.h | 7 +-
15634 arch/arm/kernel/process.c | 4 +-
15635 arch/arm/kernel/ptrace.c | 9 +
15636 arch/arm/kernel/traps.c | 7 +-
15637 arch/arm/mm/Kconfig | 2 +-
15638 arch/arm/mm/fault.c | 40 +-
15639 arch/arm/mm/mmap.c | 8 +-
15640 arch/arm/net/bpf_jit_32.c | 51 +-
15641 arch/arm64/Kconfig.debug | 1 +
15642 arch/avr32/include/asm/cache.h | 4 +-
15643 arch/blackfin/Kconfig.debug | 1 +
15644 arch/blackfin/include/asm/cache.h | 3 +-
15645 arch/cris/include/arch-v10/arch/cache.h | 3 +-
15646 arch/cris/include/arch-v32/arch/cache.h | 3 +-
15647 arch/frv/include/asm/cache.h | 3 +-
15648 arch/frv/mm/elf-fdpic.c | 4 +-
15649 arch/hexagon/include/asm/cache.h | 6 +-
15650 arch/ia64/Kconfig | 1 +
15651 arch/ia64/include/asm/cache.h | 3 +-
15652 arch/ia64/kernel/sys_ia64.c | 2 +
15653 arch/ia64/mm/hugetlbpage.c | 2 +
15654 arch/m32r/include/asm/cache.h | 4 +-
15655 arch/m68k/include/asm/cache.h | 4 +-
15656 arch/metag/mm/hugetlbpage.c | 1 +
15657 arch/microblaze/include/asm/cache.h | 3 +-
15658 arch/mips/Kconfig | 1 +
15659 arch/mips/include/asm/cache.h | 3 +-
15660 arch/mips/include/asm/thread_info.h | 11 +-
15661 arch/mips/kernel/irq.c | 3 +
15662 arch/mips/kernel/ptrace.c | 9 +
15663 arch/mips/mm/mmap.c | 4 +-
15664 arch/mn10300/proc-mn103e010/include/proc/cache.h | 4 +-
15665 arch/mn10300/proc-mn2ws0050/include/proc/cache.h | 4 +-
15666 arch/openrisc/include/asm/cache.h | 4 +-
15667 arch/parisc/include/asm/cache.h | 5 +-
15668 arch/parisc/kernel/sys_parisc.c | 4 +
15669 arch/powerpc/Kconfig | 1 +
15670 arch/powerpc/include/asm/cache.h | 4 +-
15671 arch/powerpc/include/asm/thread_info.h | 5 +-
15672 arch/powerpc/kernel/Makefile | 2 +
15673 arch/powerpc/kernel/irq.c | 3 +
15674 arch/powerpc/kernel/process.c | 10 +-
15675 arch/powerpc/kernel/ptrace.c | 14 +
15676 arch/powerpc/kernel/traps.c | 5 +
15677 arch/powerpc/mm/slice.c | 2 +-
15678 arch/s390/Kconfig.debug | 1 +
15679 arch/s390/include/asm/cache.h | 4 +-
15680 arch/score/include/asm/cache.h | 4 +-
15681 arch/sh/include/asm/cache.h | 3 +-
15682 arch/sh/mm/mmap.c | 6 +-
15683 arch/sparc/include/asm/cache.h | 4 +-
15684 arch/sparc/include/asm/pgalloc_64.h | 1 +
15685 arch/sparc/include/asm/thread_info_64.h | 8 +-
15686 arch/sparc/kernel/process_32.c | 6 +-
15687 arch/sparc/kernel/process_64.c | 8 +-
15688 arch/sparc/kernel/ptrace_64.c | 14 +
15689 arch/sparc/kernel/sys_sparc_64.c | 8 +-
15690 arch/sparc/kernel/syscalls.S | 8 +-
15691 arch/sparc/kernel/traps_32.c | 8 +-
15692 arch/sparc/kernel/traps_64.c | 28 +-
15693 arch/sparc/kernel/unaligned_64.c | 2 +-
15694 arch/sparc/mm/fault_64.c | 2 +-
15695 arch/sparc/mm/hugetlbpage.c | 15 +-
15696 arch/tile/Kconfig | 1 +
15697 arch/tile/include/asm/cache.h | 3 +-
15698 arch/tile/mm/hugetlbpage.c | 2 +
15699 arch/um/include/asm/cache.h | 3 +-
15700 arch/unicore32/include/asm/cache.h | 6 +-
15701 arch/x86/Kconfig | 21 +
15702 arch/x86/Kconfig.debug | 2 +
15703 arch/x86/entry/common.c | 14 +
15704 arch/x86/entry/entry_32.S | 2 +-
15705 arch/x86/entry/entry_64.S | 2 +-
15706 arch/x86/ia32/ia32_aout.c | 2 +
15707 arch/x86/include/asm/floppy.h | 20 +-
15708 arch/x86/include/asm/fpu/types.h | 69 +-
15709 arch/x86/include/asm/io.h | 2 +-
15710 arch/x86/include/asm/page.h | 12 +-
15711 arch/x86/include/asm/paravirt_types.h | 23 +-
15712 arch/x86/include/asm/processor.h | 12 +-
15713 arch/x86/include/asm/thread_info.h | 6 +-
15714 arch/x86/include/asm/uaccess.h | 2 +-
15715 arch/x86/kernel/dumpstack.c | 10 +-
15716 arch/x86/kernel/dumpstack_32.c | 2 +-
15717 arch/x86/kernel/dumpstack_64.c | 2 +-
15718 arch/x86/kernel/ioport.c | 13 +
15719 arch/x86/kernel/irq_32.c | 3 +
15720 arch/x86/kernel/irq_64.c | 4 +
15721 arch/x86/kernel/ldt.c | 18 +
15722 arch/x86/kernel/msr.c | 10 +
15723 arch/x86/kernel/ptrace.c | 14 +
15724 arch/x86/kernel/signal.c | 9 +-
15725 arch/x86/kernel/sys_i386_32.c | 9 +-
15726 arch/x86/kernel/sys_x86_64.c | 8 +-
15727 arch/x86/kernel/traps.c | 5 +
15728 arch/x86/kernel/verify_cpu.S | 1 +
15729 arch/x86/kernel/vm86_32.c | 15 +
15730 arch/x86/kvm/svm.c | 14 +-
15731 arch/x86/mm/fault.c | 12 +-
15732 arch/x86/mm/hugetlbpage.c | 15 +-
15733 arch/x86/mm/init.c | 66 +-
15734 arch/x86/mm/init_32.c | 6 +-
15735 arch/x86/net/bpf_jit_comp.c | 4 +
15736 arch/x86/platform/efi/efi_64.c | 2 +-
15737 arch/x86/xen/Kconfig | 1 +
15738 arch/xtensa/variants/dc232b/include/variant/core.h | 2 +-
15739 arch/xtensa/variants/fsf/include/variant/core.h | 3 +-
15740 crypto/ablkcipher.c | 2 +-
15741 crypto/blkcipher.c | 2 +-
15742 crypto/scatterwalk.c | 10 +-
15743 drivers/acpi/acpica/hwxfsleep.c | 11 +-
15744 drivers/acpi/custom_method.c | 4 +
15745 drivers/block/cciss.h | 30 +-
15746 drivers/block/smart1,2.h | 40 +-
15747 drivers/cdrom/cdrom.c | 2 +-
15748 drivers/char/Kconfig | 4 +-
15749 drivers/char/genrtc.c | 1 +
15750 drivers/char/ipmi/ipmi_si_intf.c | 8 +-
15751 drivers/char/mem.c | 17 +
15752 drivers/char/random.c | 5 +-
15753 drivers/cpufreq/sparc-us3-cpufreq.c | 2 -
15754 drivers/crypto/nx/nx-aes-ccm.c | 2 +-
15755 drivers/crypto/nx/nx-aes-gcm.c | 2 +-
15756 drivers/crypto/talitos.c | 2 +-
15757 drivers/firewire/ohci.c | 4 +
15758 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 70 +-
15759 drivers/gpu/drm/nouveau/nouveau_ttm.c | 28 +-
15760 drivers/gpu/drm/ttm/ttm_bo_manager.c | 10 +-
15761 drivers/gpu/drm/virtio/virtgpu_ttm.c | 10 +-
15762 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c | 10 +-
15763 drivers/hid/hid-wiimote-debug.c | 2 +-
15764 drivers/infiniband/hw/nes/nes_cm.c | 22 +-
15765 drivers/iommu/Kconfig | 1 +
15766 drivers/iommu/amd_iommu.c | 14 +-
15767 drivers/isdn/gigaset/bas-gigaset.c | 32 +-
15768 drivers/isdn/gigaset/ser-gigaset.c | 32 +-
15769 drivers/isdn/gigaset/usb-gigaset.c | 32 +-
15770 drivers/isdn/hisax/config.c | 2 +-
15771 drivers/isdn/hisax/hfc_pci.c | 2 +-
15772 drivers/isdn/hisax/hfc_sx.c | 2 +-
15773 drivers/isdn/hisax/q931.c | 6 +-
15774 drivers/isdn/i4l/isdn_concap.c | 6 +-
15775 drivers/isdn/i4l/isdn_x25iface.c | 16 +-
15776 drivers/md/bcache/Kconfig | 1 +
15777 drivers/md/raid5.c | 8 +
15778 drivers/media/pci/solo6x10/solo6x10-g723.c | 2 +-
15779 drivers/media/platform/sti/c8sectpfe/Kconfig | 1 +
15780 drivers/media/platform/vivid/vivid-osd.c | 1 +
15781 drivers/media/radio/radio-cadet.c | 5 +-
15782 drivers/media/usb/dvb-usb/cinergyT2-core.c | 91 +-
15783 drivers/media/usb/dvb-usb/cinergyT2-fe.c | 182 +-
15784 drivers/media/usb/dvb-usb/dvb-usb-firmware.c | 37 +-
15785 drivers/media/usb/dvb-usb/technisat-usb2.c | 75 +-
15786 drivers/message/fusion/mptbase.c | 9 +
15787 drivers/misc/sgi-xp/xp_main.c | 12 +-
15788 drivers/net/ethernet/brocade/bna/bna_enet.c | 8 +-
15789 drivers/net/ppp/pppoe.c | 14 +-
15790 drivers/net/ppp/pptp.c | 6 +
15791 drivers/net/slip/slhc.c | 3 +
15792 drivers/net/wan/lmc/lmc_media.c | 97 +-
15793 drivers/net/wan/x25_asy.c | 6 +-
15794 drivers/net/wan/z85230.c | 24 +-
15795 drivers/net/wireless/ath/ath9k/Kconfig | 1 -
15796 drivers/net/wireless/zd1211rw/zd_usb.c | 2 +-
15797 drivers/pci/pci-sysfs.c | 2 +-
15798 drivers/pci/proc.c | 9 +
15799 drivers/platform/x86/asus-wmi.c | 12 +
15800 drivers/rtc/rtc-dev.c | 3 +
15801 drivers/scsi/bfa/bfa_fcs.c | 19 +-
15802 drivers/scsi/bfa/bfa_fcs_lport.c | 29 +-
15803 drivers/scsi/bfa/bfa_modules.h | 12 +-
15804 drivers/scsi/hpsa.h | 40 +-
15805 drivers/staging/dgnc/dgnc_mgmt.c | 1 +
15806 drivers/staging/lustre/lustre/ldlm/ldlm_flock.c | 2 +-
15807 drivers/staging/lustre/lustre/libcfs/module.c | 10 +-
15808 drivers/target/target_core_sbc.c | 17 +-
15809 drivers/target/target_core_transport.c | 14 +-
15810 drivers/tty/serial/uartlite.c | 4 +-
15811 drivers/tty/sysrq.c | 2 +-
15812 drivers/tty/vt/keyboard.c | 22 +-
15813 drivers/uio/uio.c | 6 +-
15814 drivers/usb/core/hub.c | 5 +
15815 drivers/usb/gadget/function/f_uac1.c | 1 +
15816 drivers/usb/gadget/function/u_uac1.c | 1 +
15817 drivers/usb/host/hwa-hc.c | 9 +-
15818 drivers/usb/usbip/vhci_sysfs.c | 2 +-
15819 drivers/video/fbdev/arcfb.c | 2 +-
15820 drivers/video/fbdev/matrox/matroxfb_DAC1064.c | 10 +-
15821 drivers/video/fbdev/matrox/matroxfb_Ti3026.c | 5 +-
15822 drivers/video/fbdev/sh_mobile_lcdcfb.c | 6 +-
15823 drivers/video/logo/logo_linux_clut224.ppm | 2720 ++++-----
15824 drivers/xen/xenfs/xenstored.c | 5 +
15825 firmware/Makefile | 2 +
15826 firmware/WHENCE | 20 +-
15827 firmware/bnx2/bnx2-mips-06-6.2.3.fw.ihex | 5804 +++++++++++++++++
15828 firmware/bnx2/bnx2-mips-09-6.2.1b.fw.ihex | 6496 ++++++++++++++++++++
15829 fs/9p/vfs_inode.c | 4 +-
15830 fs/attr.c | 1 +
15831 fs/autofs4/waitq.c | 9 +
15832 fs/binfmt_aout.c | 7 +
15833 fs/binfmt_elf.c | 50 +-
15834 fs/compat.c | 20 +-
15835 fs/coredump.c | 17 +-
15836 fs/dcache.c | 3 +
15837 fs/debugfs/inode.c | 11 +-
15838 fs/exec.c | 219 +-
15839 fs/ext2/balloc.c | 4 +-
15840 fs/ext2/super.c | 8 +-
15841 fs/ext4/balloc.c | 4 +-
15842 fs/fcntl.c | 4 +
15843 fs/fhandle.c | 3 +-
15844 fs/file.c | 4 +
15845 fs/filesystems.c | 4 +
15846 fs/fs_struct.c | 20 +-
15847 fs/hugetlbfs/inode.c | 5 +-
15848 fs/inode.c | 8 +-
15849 fs/kernfs/dir.c | 6 +
15850 fs/mount.h | 4 +-
15851 fs/namei.c | 286 +-
15852 fs/namespace.c | 24 +
15853 fs/nfsd/nfscache.c | 2 +-
15854 fs/open.c | 38 +
15855 fs/overlayfs/inode.c | 11 +-
15856 fs/overlayfs/super.c | 6 +-
15857 fs/pipe.c | 2 +-
15858 fs/posix_acl.c | 15 +-
15859 fs/proc/Kconfig | 10 +-
15860 fs/proc/array.c | 69 +-
15861 fs/proc/base.c | 186 +-
15862 fs/proc/cmdline.c | 4 +
15863 fs/proc/devices.c | 4 +
15864 fs/proc/fd.c | 17 +-
15865 fs/proc/generic.c | 64 +
15866 fs/proc/inode.c | 17 +
15867 fs/proc/internal.h | 11 +-
15868 fs/proc/interrupts.c | 4 +
15869 fs/proc/kcore.c | 3 +
15870 fs/proc/meminfo.c | 7 +-
15871 fs/proc/namespaces.c | 4 +-
15872 fs/proc/proc_net.c | 31 +
15873 fs/proc/proc_sysctl.c | 52 +-
15874 fs/proc/root.c | 8 +
15875 fs/proc/stat.c | 69 +-
15876 fs/proc/task_mmu.c | 66 +-
15877 fs/readdir.c | 19 +
15878 fs/reiserfs/item_ops.c | 24 +-
15879 fs/reiserfs/super.c | 4 +
15880 fs/select.c | 2 +
15881 fs/seq_file.c | 30 +-
15882 fs/splice.c | 8 +
15883 fs/stat.c | 20 +-
15884 fs/sysfs/dir.c | 30 +-
15885 fs/sysv/inode.c | 11 +-
15886 fs/utimes.c | 7 +
15887 fs/xattr.c | 26 +-
15888 grsecurity/Kconfig | 1182 ++++
15889 grsecurity/Makefile | 54 +
15890 grsecurity/gracl.c | 2757 +++++++++
15891 grsecurity/gracl_alloc.c | 105 +
15892 grsecurity/gracl_cap.c | 127 +
15893 grsecurity/gracl_compat.c | 269 +
15894 grsecurity/gracl_fs.c | 448 ++
15895 grsecurity/gracl_ip.c | 386 ++
15896 grsecurity/gracl_learn.c | 207 +
15897 grsecurity/gracl_policy.c | 1786 ++++++
15898 grsecurity/gracl_res.c | 68 +
15899 grsecurity/gracl_segv.c | 304 +
15900 grsecurity/gracl_shm.c | 40 +
15901 grsecurity/grsec_chdir.c | 19 +
15902 grsecurity/grsec_chroot.c | 467 ++
15903 grsecurity/grsec_disabled.c | 445 ++
15904 grsecurity/grsec_exec.c | 189 +
15905 grsecurity/grsec_fifo.c | 26 +
15906 grsecurity/grsec_fork.c | 23 +
15907 grsecurity/grsec_init.c | 290 +
15908 grsecurity/grsec_ipc.c | 48 +
15909 grsecurity/grsec_link.c | 65 +
15910 grsecurity/grsec_log.c | 340 +
15911 grsecurity/grsec_mem.c | 48 +
15912 grsecurity/grsec_mount.c | 65 +
15913 grsecurity/grsec_pax.c | 47 +
15914 grsecurity/grsec_proc.c | 20 +
15915 grsecurity/grsec_ptrace.c | 30 +
15916 grsecurity/grsec_sig.c | 236 +
15917 grsecurity/grsec_sock.c | 244 +
15918 grsecurity/grsec_sysctl.c | 488 ++
15919 grsecurity/grsec_time.c | 16 +
15920 grsecurity/grsec_tpe.c | 78 +
15921 grsecurity/grsec_usb.c | 15 +
15922 grsecurity/grsum.c | 64 +
15923 include/linux/binfmts.h | 5 +-
15924 include/linux/bitops.h | 2 +-
15925 include/linux/capability.h | 13 +
15926 include/linux/compiler-gcc.h | 5 +
15927 include/linux/compiler.h | 8 +
15928 include/linux/cred.h | 8 +-
15929 include/linux/dcache.h | 5 +-
15930 include/linux/fs.h | 24 +-
15931 include/linux/fs_struct.h | 2 +-
15932 include/linux/fsnotify.h | 6 +
15933 include/linux/gracl.h | 342 +
15934 include/linux/gracl_compat.h | 156 +
15935 include/linux/gralloc.h | 9 +
15936 include/linux/grdefs.h | 140 +
15937 include/linux/grinternal.h | 230 +
15938 include/linux/grmsg.h | 118 +
15939 include/linux/grsecurity.h | 255 +
15940 include/linux/grsock.h | 19 +
15941 include/linux/ipc.h | 2 +-
15942 include/linux/ipc_namespace.h | 2 +-
15943 include/linux/kallsyms.h | 18 +-
15944 include/linux/kmod.h | 5 +
15945 include/linux/kobject.h | 2 +-
15946 include/linux/lsm_hooks.h | 4 +-
15947 include/linux/mm.h | 12 +
15948 include/linux/mm_types.h | 4 +-
15949 include/linux/module.h | 5 +-
15950 include/linux/mount.h | 2 +-
15951 include/linux/msg.h | 2 +-
15952 include/linux/netfilter/xt_gradm.h | 9 +
15953 include/linux/path.h | 4 +-
15954 include/linux/perf_event.h | 13 +-
15955 include/linux/pid_namespace.h | 2 +-
15956 include/linux/printk.h | 2 +-
15957 include/linux/proc_fs.h | 22 +-
15958 include/linux/proc_ns.h | 2 +-
15959 include/linux/ptrace.h | 24 +-
15960 include/linux/random.h | 2 +-
15961 include/linux/rbtree_augmented.h | 4 +-
15962 include/linux/scatterlist.h | 12 +-
15963 include/linux/sched.h | 114 +-
15964 include/linux/security.h | 1 +
15965 include/linux/sem.h | 2 +-
15966 include/linux/seq_file.h | 5 +
15967 include/linux/shm.h | 6 +-
15968 include/linux/skbuff.h | 3 +
15969 include/linux/slab.h | 9 -
15970 include/linux/sysctl.h | 8 +-
15971 include/linux/thread_info.h | 6 +-
15972 include/linux/tty.h | 2 +-
15973 include/linux/tty_driver.h | 4 +-
15974 include/linux/uidgid.h | 5 +
15975 include/linux/user_namespace.h | 2 +-
15976 include/linux/utsname.h | 2 +-
15977 include/linux/vermagic.h | 16 +-
15978 include/linux/vmalloc.h | 20 +-
15979 include/net/af_unix.h | 2 +-
15980 include/net/dst.h | 33 +
15981 include/net/ip.h | 2 +-
15982 include/net/neighbour.h | 2 +-
15983 include/net/net_namespace.h | 2 +-
15984 include/net/sock.h | 4 +-
15985 include/target/target_core_base.h | 2 +-
15986 include/trace/events/fs.h | 53 +
15987 include/uapi/linux/personality.h | 1 +
15988 init/Kconfig | 4 +-
15989 init/main.c | 35 +-
15990 ipc/mqueue.c | 1 +
15991 ipc/msg.c | 3 +-
15992 ipc/sem.c | 3 +-
15993 ipc/shm.c | 26 +-
15994 ipc/util.c | 6 +
15995 kernel/auditsc.c | 2 +-
15996 kernel/bpf/syscall.c | 8 +-
15997 kernel/capability.c | 41 +-
15998 kernel/cgroup.c | 5 +-
15999 kernel/compat.c | 1 +
16000 kernel/configs.c | 11 +
16001 kernel/cred.c | 112 +-
16002 kernel/events/core.c | 16 +-
16003 kernel/exit.c | 10 +-
16004 kernel/fork.c | 86 +-
16005 kernel/futex.c | 6 +-
16006 kernel/futex_compat.c | 2 +-
16007 kernel/kallsyms.c | 9 +
16008 kernel/kcmp.c | 8 +-
16009 kernel/kexec_core.c | 2 +-
16010 kernel/kmod.c | 95 +-
16011 kernel/kprobes.c | 7 +-
16012 kernel/ksysfs.c | 2 +
16013 kernel/locking/lockdep_proc.c | 10 +-
16014 kernel/module.c | 108 +-
16015 kernel/panic.c | 4 +-
16016 kernel/pid.c | 23 +-
16017 kernel/power/Kconfig | 2 +
16018 kernel/printk/printk.c | 20 +-
16019 kernel/ptrace.c | 56 +-
16020 kernel/resource.c | 10 +
16021 kernel/sched/core.c | 11 +-
16022 kernel/signal.c | 37 +-
16023 kernel/sys.c | 64 +-
16024 kernel/sysctl.c | 172 +-
16025 kernel/taskstats.c | 6 +
16026 kernel/time/posix-timers.c | 8 +
16027 kernel/time/time.c | 5 +
16028 kernel/time/timekeeping.c | 3 +
16029 kernel/time/timer_list.c | 13 +-
16030 kernel/time/timer_stats.c | 10 +-
16031 kernel/trace/Kconfig | 2 +
16032 kernel/trace/trace_syscalls.c | 8 +
16033 kernel/user_namespace.c | 15 +
16034 lib/Kconfig.debug | 13 +-
16035 lib/Kconfig.kasan | 2 +-
16036 lib/is_single_threaded.c | 3 +
16037 lib/list_debug.c | 65 +-
16038 lib/nlattr.c | 2 +
16039 lib/rbtree.c | 4 +-
16040 lib/vsprintf.c | 39 +-
16041 localversion-grsec | 1 +
16042 mm/Kconfig | 8 +-
16043 mm/Kconfig.debug | 1 +
16044 mm/filemap.c | 1 +
16045 mm/kmemleak.c | 4 +-
16046 mm/memory.c | 2 +-
16047 mm/mempolicy.c | 12 +-
16048 mm/migrate.c | 3 +-
16049 mm/mlock.c | 6 +-
16050 mm/mmap.c | 93 +-
16051 mm/mprotect.c | 8 +
16052 mm/oom_kill.c | 28 +-
16053 mm/page_alloc.c | 2 +-
16054 mm/process_vm_access.c | 8 +-
16055 mm/shmem.c | 36 +-
16056 mm/slab.c | 14 +-
16057 mm/slab_common.c | 2 +-
16058 mm/slob.c | 12 +
16059 mm/slub.c | 33 +-
16060 mm/util.c | 3 +
16061 mm/vmalloc.c | 129 +-
16062 mm/vmstat.c | 29 +-
16063 net/appletalk/atalk_proc.c | 2 +-
16064 net/atm/lec.c | 6 +-
16065 net/atm/mpoa_caches.c | 42 +-
16066 net/bluetooth/sco.c | 3 +
16067 net/can/bcm.c | 2 +-
16068 net/can/proc.c | 2 +-
16069 net/core/dev_ioctl.c | 7 +-
16070 net/core/filter.c | 8 +-
16071 net/core/net-procfs.c | 17 +-
16072 net/core/pktgen.c | 2 +-
16073 net/core/sock.c | 3 +-
16074 net/core/sysctl_net_core.c | 2 +-
16075 net/decnet/dn_dev.c | 2 +-
16076 net/ipv4/devinet.c | 6 +-
16077 net/ipv4/inet_hashtables.c | 4 +
16078 net/ipv4/ip_input.c | 7 +
16079 net/ipv4/ip_sockglue.c | 3 +-
16080 net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 +-
16081 net/ipv4/netfilter/nf_nat_pptp.c | 2 +-
16082 net/ipv4/route.c | 6 +-
16083 net/ipv4/tcp_input.c | 4 +-
16084 net/ipv4/tcp_ipv4.c | 29 +-
16085 net/ipv4/tcp_minisocks.c | 9 +-
16086 net/ipv4/tcp_timer.c | 11 +
16087 net/ipv4/udp.c | 24 +
16088 net/ipv6/addrconf.c | 13 +-
16089 net/ipv6/proc.c | 2 +-
16090 net/ipv6/tcp_ipv6.c | 26 +-
16091 net/ipv6/udp.c | 7 +
16092 net/ipx/ipx_proc.c | 2 +-
16093 net/irda/irproc.c | 2 +-
16094 net/llc/llc_proc.c | 2 +-
16095 net/netfilter/Kconfig | 10 +
16096 net/netfilter/Makefile | 1 +
16097 net/netfilter/nf_conntrack_core.c | 8 +
16098 net/netfilter/xt_gradm.c | 51 +
16099 net/netfilter/xt_hashlimit.c | 4 +-
16100 net/netfilter/xt_recent.c | 2 +-
16101 net/sched/sch_api.c | 2 +-
16102 net/sctp/socket.c | 4 +-
16103 net/socket.c | 75 +-
16104 net/sunrpc/Kconfig | 1 +
16105 net/sunrpc/cache.c | 2 +-
16106 net/sunrpc/stats.c | 2 +-
16107 net/sysctl_net.c | 2 +-
16108 net/unix/af_unix.c | 52 +-
16109 net/vmw_vsock/vmci_transport_notify.c | 30 +-
16110 net/vmw_vsock/vmci_transport_notify_qstate.c | 30 +-
16111 net/x25/sysctl_net_x25.c | 2 +-
16112 net/x25/x25_proc.c | 2 +-
16113 scripts/package/Makefile | 2 +-
16114 scripts/package/mkspec | 41 +-
16115 security/Kconfig | 369 +-
16116 security/apparmor/file.c | 4 +-
16117 security/apparmor/lsm.c | 8 +-
16118 security/commoncap.c | 36 +-
16119 security/min_addr.c | 2 +
16120 security/smack/smack_lsm.c | 8 +-
16121 security/tomoyo/file.c | 12 +-
16122 security/tomoyo/mount.c | 4 +
16123 security/tomoyo/tomoyo.c | 20 +-
16124 security/yama/Kconfig | 2 +-
16125 security/yama/yama_lsm.c | 4 +-
16126 sound/synth/emux/emux_seq.c | 14 +-
16127 sound/usb/line6/driver.c | 40 +-
16128 sound/usb/line6/toneport.c | 12 +-
16129 tools/gcc/.gitignore | 1 +
16130 tools/gcc/Makefile | 12 +
16131 tools/gcc/gen-random-seed.sh | 8 +
16132 tools/gcc/randomize_layout_plugin.c | 930 +++
16133 tools/gcc/size_overflow_plugin/.gitignore | 1 +
16134 .../size_overflow_plugin/size_overflow_hash.data | 459 ++-
16135 511 files changed, 32631 insertions(+), 3196 deletions(-)
16136
16137 commit a76adb92ce39aee8eec5a025c828030ad6135c6d
16138 Author: Brad Spengler <spender@grsecurity.net>
16139 Date: Tue Dec 15 14:31:49 2015 -0500
16140
16141 Update to pax-linux-4.3.3-test11.patch:
16142 - fixed a few compile regressions with the recent plugin changes, reported by spender
16143 - updated the size overflow hash table
16144
16145 tools/gcc/latent_entropy_plugin.c | 2 +-
16146 .../size_overflow_plugin/size_overflow_hash.data | 66 +++++++++++++++++---
16147 tools/gcc/stackleak_plugin.c | 2 +-
16148 tools/gcc/structleak_plugin.c | 6 +--
16149 4 files changed, 60 insertions(+), 16 deletions(-)
16150
16151 commit f7284b1fc06628fcb2d35d2beecdea5454d46af9
16152 Author: Brad Spengler <spender@grsecurity.net>
16153 Date: Tue Dec 15 11:50:24 2015 -0500
16154
16155 Apply structleak ICE fix for gcc < 4.9
16156
16157 tools/gcc/structleak_plugin.c | 4 ++++
16158 1 files changed, 4 insertions(+), 0 deletions(-)
16159
16160 commit 92fe3eb9fd10ec7f7334decab1526989669b0287
16161 Author: Brad Spengler <spender@grsecurity.net>
16162 Date: Tue Dec 15 07:57:06 2015 -0500
16163
16164 Update to pax-linux-4.3.1-test10.patch:
16165 - Emese fixed INDIRECT_REF and TARGET_MEM_REF handling in the initify plugin
16166 - Emese regenerated the size overflow hash tables for 4.3
16167 - fixed some compat syscall exit paths to restore r12 under KERNEXEC/or
16168 - the latent entropy, stackleak and structleak plugins no longer split the entry block unnecessarily
16169
16170 arch/x86/entry/entry_64.S | 2 +-
16171 arch/x86/entry/entry_64_compat.S | 15 +-
16172 scripts/package/builddeb | 2 +-
16173 tools/gcc/initify_plugin.c | 11 +-
16174 tools/gcc/latent_entropy_plugin.c | 20 +-
16175 .../disable_size_overflow_hash.data | 4 +
16176 .../size_overflow_plugin/size_overflow_hash.data | 5345 +++++++++++---------
16177 tools/gcc/stackleak_plugin.c | 26 +-
16178 tools/gcc/structleak_plugin.c | 21 +-
16179 9 files changed, 3079 insertions(+), 2367 deletions(-)
16180
16181 commit 5bd245cb687319079c2f1c0d6a1170791ed1ed2c
16182 Merge: b5847e6 3548341
16183 Author: Brad Spengler <spender@grsecurity.net>
16184 Date: Tue Dec 15 07:47:56 2015 -0500
16185
16186 Merge branch 'linux-4.3.y' into pax-4_3
16187
16188 Conflicts:
16189 net/unix/af_unix.c
16190
16191 commit b5847e6a896c5d99191135ca4d7c3b6be8f116ff
16192 Author: Brad Spengler <spender@grsecurity.net>
16193 Date: Wed Dec 9 23:11:36 2015 -0500
16194
16195 Update to pax-linux-4.3.1-test9.patch:
16196 - 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)
16197 - Emese fixed an intentional overflow caused by gcc, reported by saironiq (https://forums.grsecurity.net/viewtopic.php?f=3&t=4333)
16198 - Emese fixed a false positive overflow report in the forcedeth driver, reported by fx3 (https://forums.grsecurity.net/viewtopic.php?t=4334)
16199 - Emese fixed a false positive overflow report in KVM's emulator, reported by fx3 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4336)
16200 - Emese fixed the initify plugin to detect some captured use of __func__, reported by Rasmus Villemoes <linux@rasmusvillemoes.dk>
16201 - constrained shmmax and shmall to avoid triggering size overflow checks, reported by Mathias Krause <minipli@ld-linux.so>
16202 - 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
16203
16204 Makefile | 6 +
16205 arch/x86/include/asm/compat.h | 4 +
16206 arch/x86/include/asm/dma.h | 2 +
16207 arch/x86/include/asm/pmem.h | 2 +-
16208 arch/x86/include/asm/uaccess.h | 20 +-
16209 arch/x86/kernel/apic/vector.c | 6 +-
16210 arch/x86/kernel/cpu/mtrr/generic.c | 6 +-
16211 arch/x86/kernel/cpu/perf_event_intel.c | 28 +-
16212 arch/x86/kernel/head_64.S | 1 -
16213 arch/x86/kvm/i8259.c | 10 +-
16214 arch/x86/kvm/ioapic.c | 2 +
16215 arch/x86/kvm/x86.c | 2 +
16216 arch/x86/lib/usercopy_64.c | 2 +-
16217 arch/x86/mm/mpx.c | 4 +-
16218 arch/x86/mm/pageattr.c | 7 +
16219 drivers/base/devres.c | 4 +-
16220 drivers/base/power/runtime.c | 6 +-
16221 drivers/base/regmap/regmap.c | 4 +-
16222 drivers/block/drbd/drbd_receiver.c | 4 +-
16223 drivers/block/drbd/drbd_worker.c | 6 +-
16224 drivers/char/virtio_console.c | 6 +-
16225 drivers/md/dm.c | 12 +-
16226 drivers/net/ethernet/nvidia/forcedeth.c | 4 +-
16227 drivers/net/macvtap.c | 4 +-
16228 drivers/video/fbdev/core/fbmem.c | 10 +-
16229 fs/compat.c | 3 +-
16230 fs/coredump.c | 2 +-
16231 fs/dcache.c | 13 +-
16232 fs/fhandle.c | 2 +-
16233 fs/file.c | 14 +-
16234 fs/fs-writeback.c | 11 +-
16235 fs/overlayfs/copy_up.c | 2 +-
16236 fs/readdir.c | 3 +-
16237 fs/super.c | 3 +-
16238 include/linux/compiler.h | 36 ++-
16239 include/linux/rcupdate.h | 8 +
16240 include/linux/sched.h | 4 +-
16241 include/linux/seqlock.h | 10 +
16242 include/linux/spinlock.h | 17 +-
16243 include/linux/srcu.h | 5 +-
16244 include/linux/syscalls.h | 2 +-
16245 include/linux/writeback.h | 3 +-
16246 include/uapi/linux/swab.h | 6 +-
16247 ipc/ipc_sysctl.c | 6 +
16248 kernel/exit.c | 25 +-
16249 kernel/resource.c | 4 +-
16250 kernel/signal.c | 12 +-
16251 kernel/user.c | 2 +-
16252 kernel/workqueue.c | 6 +-
16253 lib/rhashtable.c | 4 +-
16254 net/compat.c | 2 +-
16255 net/ipv4/xfrm4_mode_transport.c | 2 +-
16256 security/keys/internal.h | 8 +-
16257 security/keys/keyring.c | 4 -
16258 sound/core/seq/seq_clientmgr.c | 8 +-
16259 sound/core/seq/seq_compat.c | 2 +-
16260 sound/core/seq/seq_memory.c | 6 +-
16261 tools/gcc/checker_plugin.c | 415 +++++++++++++++++++-
16262 tools/gcc/gcc-common.h | 1 +
16263 tools/gcc/initify_plugin.c | 33 ++-
16264 .../disable_size_overflow_hash.data | 1 +
16265 .../size_overflow_plugin/size_overflow_hash.data | 1 -
16266 62 files changed, 708 insertions(+), 140 deletions(-)
16267
16268 commit f2634c2f6995f4231616f24ed016f890c701f939
16269 Merge: 1241bff 5f8b236
16270 Author: Brad Spengler <spender@grsecurity.net>
16271 Date: Wed Dec 9 21:50:47 2015 -0500
16272
16273 Merge branch 'linux-4.3.y' into pax-4_3
16274
16275 Conflicts:
16276 arch/x86/kernel/fpu/xstate.c
16277 arch/x86/kernel/head_64.S
16278
16279 commit 1241bff82e3d7dadb05de0a60b8d2822afc6547c
16280 Author: Brad Spengler <spender@grsecurity.net>
16281 Date: Sun Dec 6 08:44:56 2015 -0500
16282
16283 Update to pax-linux-4.3-test8.patch:
16284 - 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)
16285 - gcc plugin compilation problems will now also produce the output of the checking script to make diagnosis easier, reported by hunger
16286 - 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)
16287 - 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)
16288
16289 Makefile | 5 +++
16290 drivers/md/md.c | 5 ++-
16291 drivers/md/raid1.c | 2 +-
16292 fs/proc/task_mmu.c | 3 ++
16293 .../disable_size_overflow_hash.data | 4 ++-
16294 .../size_overflow_plugin/intentional_overflow.c | 32 ++++++++++++++++---
16295 .../size_overflow_plugin/size_overflow_hash.data | 2 -
16296 .../size_overflow_plugin/size_overflow_plugin.c | 2 +-
16297 8 files changed, 43 insertions(+), 12 deletions(-)
16298
16299 commit cce6a9f9bdd27096632ca1c0246dcc07f2eb1a18
16300 Author: Brad Spengler <spender@grsecurity.net>
16301 Date: Fri Dec 4 14:24:12 2015 -0500
16302
16303 Initial import of pax-linux-4.3-test7.patch
16304
16305 Documentation/dontdiff | 47 +-
16306 Documentation/kbuild/makefiles.txt | 39 +-
16307 Documentation/kernel-parameters.txt | 28 +
16308 Makefile | 108 +-
16309 arch/alpha/include/asm/atomic.h | 10 +
16310 arch/alpha/include/asm/elf.h | 7 +
16311 arch/alpha/include/asm/pgalloc.h | 6 +
16312 arch/alpha/include/asm/pgtable.h | 11 +
16313 arch/alpha/kernel/module.c | 2 +-
16314 arch/alpha/kernel/osf_sys.c | 8 +-
16315 arch/alpha/mm/fault.c | 141 +-
16316 arch/arm/Kconfig | 2 +-
16317 arch/arm/include/asm/atomic.h | 320 +-
16318 arch/arm/include/asm/cache.h | 5 +-
16319 arch/arm/include/asm/cacheflush.h | 2 +-
16320 arch/arm/include/asm/checksum.h | 14 +-
16321 arch/arm/include/asm/cmpxchg.h | 4 +
16322 arch/arm/include/asm/cpuidle.h | 2 +-
16323 arch/arm/include/asm/domain.h | 22 +-
16324 arch/arm/include/asm/elf.h | 9 +-
16325 arch/arm/include/asm/fncpy.h | 2 +
16326 arch/arm/include/asm/futex.h | 10 +
16327 arch/arm/include/asm/kmap_types.h | 2 +-
16328 arch/arm/include/asm/mach/dma.h | 2 +-
16329 arch/arm/include/asm/mach/map.h | 16 +-
16330 arch/arm/include/asm/outercache.h | 2 +-
16331 arch/arm/include/asm/page.h | 3 +-
16332 arch/arm/include/asm/pgalloc.h | 20 +
16333 arch/arm/include/asm/pgtable-2level-hwdef.h | 4 +-
16334 arch/arm/include/asm/pgtable-2level.h | 3 +
16335 arch/arm/include/asm/pgtable-3level.h | 3 +
16336 arch/arm/include/asm/pgtable.h | 54 +-
16337 arch/arm/include/asm/smp.h | 2 +-
16338 arch/arm/include/asm/tls.h | 3 +
16339 arch/arm/include/asm/uaccess.h | 79 +-
16340 arch/arm/include/uapi/asm/ptrace.h | 2 +-
16341 arch/arm/kernel/armksyms.c | 2 +-
16342 arch/arm/kernel/cpuidle.c | 2 +-
16343 arch/arm/kernel/entry-armv.S | 109 +-
16344 arch/arm/kernel/entry-common.S | 40 +-
16345 arch/arm/kernel/entry-header.S | 55 +
16346 arch/arm/kernel/fiq.c | 3 +
16347 arch/arm/kernel/module-plts.c | 7 +-
16348 arch/arm/kernel/module.c | 38 +-
16349 arch/arm/kernel/patch.c | 2 +
16350 arch/arm/kernel/process.c | 90 +-
16351 arch/arm/kernel/reboot.c | 1 +
16352 arch/arm/kernel/setup.c | 20 +-
16353 arch/arm/kernel/signal.c | 35 +-
16354 arch/arm/kernel/smp.c | 2 +-
16355 arch/arm/kernel/tcm.c | 4 +-
16356 arch/arm/kernel/vmlinux.lds.S | 6 +-
16357 arch/arm/kvm/arm.c | 8 +-
16358 arch/arm/lib/copy_page.S | 1 +
16359 arch/arm/lib/csumpartialcopyuser.S | 4 +-
16360 arch/arm/lib/delay.c | 2 +-
16361 arch/arm/lib/uaccess_with_memcpy.c | 4 +-
16362 arch/arm/mach-exynos/suspend.c | 6 +-
16363 arch/arm/mach-mvebu/coherency.c | 4 +-
16364 arch/arm/mach-omap2/board-n8x0.c | 2 +-
16365 arch/arm/mach-omap2/omap-mpuss-lowpower.c | 4 +-
16366 arch/arm/mach-omap2/omap-smp.c | 1 +
16367 arch/arm/mach-omap2/omap-wakeupgen.c | 2 +-
16368 arch/arm/mach-omap2/omap_device.c | 4 +-
16369 arch/arm/mach-omap2/omap_device.h | 4 +-
16370 arch/arm/mach-omap2/omap_hwmod.c | 4 +-
16371 arch/arm/mach-omap2/powerdomains43xx_data.c | 5 +-
16372 arch/arm/mach-omap2/wd_timer.c | 6 +-
16373 arch/arm/mach-shmobile/platsmp-apmu.c | 5 +-
16374 arch/arm/mach-tegra/cpuidle-tegra20.c | 2 +-
16375 arch/arm/mach-tegra/irq.c | 1 +
16376 arch/arm/mach-ux500/pm.c | 1 +
16377 arch/arm/mach-zynq/platsmp.c | 1 +
16378 arch/arm/mm/Kconfig | 6 +-
16379 arch/arm/mm/alignment.c | 8 +
16380 arch/arm/mm/cache-l2x0.c | 2 +-
16381 arch/arm/mm/context.c | 10 +-
16382 arch/arm/mm/fault.c | 146 +
16383 arch/arm/mm/fault.h | 12 +
16384 arch/arm/mm/init.c | 39 +
16385 arch/arm/mm/ioremap.c | 4 +-
16386 arch/arm/mm/mmap.c | 30 +-
16387 arch/arm/mm/mmu.c | 162 +-
16388 arch/arm/net/bpf_jit_32.c | 3 +
16389 arch/arm/plat-iop/setup.c | 2 +-
16390 arch/arm/plat-omap/sram.c | 2 +
16391 arch/arm64/include/asm/atomic.h | 10 +
16392 arch/arm64/include/asm/percpu.h | 8 +-
16393 arch/arm64/include/asm/pgalloc.h | 5 +
16394 arch/arm64/include/asm/uaccess.h | 1 +
16395 arch/arm64/mm/dma-mapping.c | 2 +-
16396 arch/avr32/include/asm/elf.h | 8 +-
16397 arch/avr32/include/asm/kmap_types.h | 4 +-
16398 arch/avr32/mm/fault.c | 27 +
16399 arch/frv/include/asm/atomic.h | 10 +
16400 arch/frv/include/asm/kmap_types.h | 2 +-
16401 arch/frv/mm/elf-fdpic.c | 3 +-
16402 arch/ia64/Makefile | 1 +
16403 arch/ia64/include/asm/atomic.h | 10 +
16404 arch/ia64/include/asm/elf.h | 7 +
16405 arch/ia64/include/asm/pgalloc.h | 12 +
16406 arch/ia64/include/asm/pgtable.h | 13 +-
16407 arch/ia64/include/asm/spinlock.h | 2 +-
16408 arch/ia64/include/asm/uaccess.h | 27 +-
16409 arch/ia64/kernel/module.c | 45 +-
16410 arch/ia64/kernel/palinfo.c | 2 +-
16411 arch/ia64/kernel/sys_ia64.c | 7 +
16412 arch/ia64/kernel/vmlinux.lds.S | 2 +-
16413 arch/ia64/mm/fault.c | 32 +-
16414 arch/ia64/mm/init.c | 15 +-
16415 arch/m32r/lib/usercopy.c | 6 +
16416 arch/mips/cavium-octeon/dma-octeon.c | 2 +-
16417 arch/mips/include/asm/atomic.h | 368 +-
16418 arch/mips/include/asm/elf.h | 7 +
16419 arch/mips/include/asm/exec.h | 2 +-
16420 arch/mips/include/asm/hw_irq.h | 2 +-
16421 arch/mips/include/asm/local.h | 57 +
16422 arch/mips/include/asm/page.h | 2 +-
16423 arch/mips/include/asm/pgalloc.h | 5 +
16424 arch/mips/include/asm/pgtable.h | 3 +
16425 arch/mips/include/asm/uaccess.h | 1 +
16426 arch/mips/kernel/binfmt_elfn32.c | 7 +
16427 arch/mips/kernel/binfmt_elfo32.c | 7 +
16428 arch/mips/kernel/irq-gt641xx.c | 2 +-
16429 arch/mips/kernel/irq.c | 6 +-
16430 arch/mips/kernel/pm-cps.c | 2 +-
16431 arch/mips/kernel/process.c | 12 -
16432 arch/mips/kernel/sync-r4k.c | 24 +-
16433 arch/mips/kernel/traps.c | 13 +-
16434 arch/mips/mm/fault.c | 25 +
16435 arch/mips/mm/mmap.c | 51 +-
16436 arch/mips/sgi-ip27/ip27-nmi.c | 6 +-
16437 arch/mips/sni/rm200.c | 2 +-
16438 arch/mips/vr41xx/common/icu.c | 2 +-
16439 arch/mips/vr41xx/common/irq.c | 4 +-
16440 arch/parisc/include/asm/atomic.h | 10 +
16441 arch/parisc/include/asm/elf.h | 7 +
16442 arch/parisc/include/asm/pgalloc.h | 6 +
16443 arch/parisc/include/asm/pgtable.h | 11 +
16444 arch/parisc/include/asm/uaccess.h | 4 +-
16445 arch/parisc/kernel/module.c | 50 +-
16446 arch/parisc/kernel/sys_parisc.c | 15 +
16447 arch/parisc/kernel/traps.c | 4 +-
16448 arch/parisc/mm/fault.c | 140 +-
16449 arch/powerpc/include/asm/atomic.h | 329 +-
16450 arch/powerpc/include/asm/elf.h | 12 +
16451 arch/powerpc/include/asm/exec.h | 2 +-
16452 arch/powerpc/include/asm/kmap_types.h | 2 +-
16453 arch/powerpc/include/asm/local.h | 46 +
16454 arch/powerpc/include/asm/mman.h | 2 +-
16455 arch/powerpc/include/asm/page.h | 8 +-
16456 arch/powerpc/include/asm/page_64.h | 7 +-
16457 arch/powerpc/include/asm/pgalloc-64.h | 7 +
16458 arch/powerpc/include/asm/pgtable.h | 1 +
16459 arch/powerpc/include/asm/pte-hash32.h | 1 +
16460 arch/powerpc/include/asm/reg.h | 1 +
16461 arch/powerpc/include/asm/smp.h | 2 +-
16462 arch/powerpc/include/asm/spinlock.h | 42 +-
16463 arch/powerpc/include/asm/uaccess.h | 141 +-
16464 arch/powerpc/kernel/Makefile | 5 +
16465 arch/powerpc/kernel/exceptions-64e.S | 4 +-
16466 arch/powerpc/kernel/exceptions-64s.S | 2 +-
16467 arch/powerpc/kernel/module_32.c | 15 +-
16468 arch/powerpc/kernel/process.c | 46 -
16469 arch/powerpc/kernel/signal_32.c | 2 +-
16470 arch/powerpc/kernel/signal_64.c | 2 +-
16471 arch/powerpc/kernel/traps.c | 21 +
16472 arch/powerpc/kernel/vdso.c | 5 +-
16473 arch/powerpc/lib/usercopy_64.c | 18 -
16474 arch/powerpc/mm/fault.c | 56 +-
16475 arch/powerpc/mm/mmap.c | 16 +
16476 arch/powerpc/mm/slice.c | 13 +-
16477 arch/powerpc/platforms/cell/spufs/file.c | 4 +-
16478 arch/s390/include/asm/atomic.h | 10 +
16479 arch/s390/include/asm/elf.h | 7 +
16480 arch/s390/include/asm/exec.h | 2 +-
16481 arch/s390/include/asm/uaccess.h | 13 +-
16482 arch/s390/kernel/module.c | 22 +-
16483 arch/s390/kernel/process.c | 24 -
16484 arch/s390/mm/mmap.c | 16 +
16485 arch/score/include/asm/exec.h | 2 +-
16486 arch/score/kernel/process.c | 5 -
16487 arch/sh/mm/mmap.c | 22 +-
16488 arch/sparc/include/asm/atomic_64.h | 110 +-
16489 arch/sparc/include/asm/cache.h | 2 +-
16490 arch/sparc/include/asm/elf_32.h | 7 +
16491 arch/sparc/include/asm/elf_64.h | 7 +
16492 arch/sparc/include/asm/pgalloc_32.h | 1 +
16493 arch/sparc/include/asm/pgalloc_64.h | 1 +
16494 arch/sparc/include/asm/pgtable.h | 4 +
16495 arch/sparc/include/asm/pgtable_32.h | 15 +-
16496 arch/sparc/include/asm/pgtsrmmu.h | 5 +
16497 arch/sparc/include/asm/setup.h | 4 +-
16498 arch/sparc/include/asm/spinlock_64.h | 35 +-
16499 arch/sparc/include/asm/thread_info_32.h | 1 +
16500 arch/sparc/include/asm/thread_info_64.h | 2 +
16501 arch/sparc/include/asm/uaccess.h | 1 +
16502 arch/sparc/include/asm/uaccess_32.h | 28 +-
16503 arch/sparc/include/asm/uaccess_64.h | 24 +-
16504 arch/sparc/kernel/Makefile | 2 +-
16505 arch/sparc/kernel/prom_common.c | 2 +-
16506 arch/sparc/kernel/smp_64.c | 8 +-
16507 arch/sparc/kernel/sys_sparc_32.c | 2 +-
16508 arch/sparc/kernel/sys_sparc_64.c | 52 +-
16509 arch/sparc/kernel/traps_64.c | 27 +-
16510 arch/sparc/lib/Makefile | 2 +-
16511 arch/sparc/lib/atomic_64.S | 57 +-
16512 arch/sparc/lib/ksyms.c | 6 +-
16513 arch/sparc/mm/Makefile | 2 +-
16514 arch/sparc/mm/fault_32.c | 292 +
16515 arch/sparc/mm/fault_64.c | 486 +
16516 arch/sparc/mm/hugetlbpage.c | 22 +-
16517 arch/sparc/mm/init_64.c | 10 +-
16518 arch/tile/include/asm/atomic_64.h | 10 +
16519 arch/tile/include/asm/uaccess.h | 4 +-
16520 arch/um/Makefile | 4 +
16521 arch/um/include/asm/kmap_types.h | 2 +-
16522 arch/um/include/asm/page.h | 3 +
16523 arch/um/include/asm/pgtable-3level.h | 1 +
16524 arch/um/kernel/process.c | 16 -
16525 arch/x86/Kconfig | 15 +-
16526 arch/x86/Kconfig.cpu | 6 +-
16527 arch/x86/Kconfig.debug | 4 +-
16528 arch/x86/Makefile | 13 +-
16529 arch/x86/boot/Makefile | 3 +
16530 arch/x86/boot/bitops.h | 4 +-
16531 arch/x86/boot/boot.h | 2 +-
16532 arch/x86/boot/compressed/Makefile | 3 +
16533 arch/x86/boot/compressed/efi_stub_32.S | 16 +-
16534 arch/x86/boot/compressed/efi_thunk_64.S | 4 +-
16535 arch/x86/boot/compressed/head_32.S | 4 +-
16536 arch/x86/boot/compressed/head_64.S | 12 +-
16537 arch/x86/boot/compressed/misc.c | 11 +-
16538 arch/x86/boot/cpucheck.c | 16 +-
16539 arch/x86/boot/header.S | 6 +-
16540 arch/x86/boot/memory.c | 2 +-
16541 arch/x86/boot/video-vesa.c | 1 +
16542 arch/x86/boot/video.c | 2 +-
16543 arch/x86/crypto/aes-x86_64-asm_64.S | 4 +
16544 arch/x86/crypto/aesni-intel_asm.S | 106 +-
16545 arch/x86/crypto/blowfish-x86_64-asm_64.S | 7 +
16546 arch/x86/crypto/camellia-aesni-avx-asm_64.S | 10 +
16547 arch/x86/crypto/camellia-aesni-avx2-asm_64.S | 10 +
16548 arch/x86/crypto/camellia-x86_64-asm_64.S | 7 +
16549 arch/x86/crypto/cast5-avx-x86_64-asm_64.S | 51 +-
16550 arch/x86/crypto/cast6-avx-x86_64-asm_64.S | 25 +-
16551 arch/x86/crypto/crc32c-pcl-intel-asm_64.S | 4 +-
16552 arch/x86/crypto/ghash-clmulni-intel_asm.S | 4 +
16553 arch/x86/crypto/salsa20-x86_64-asm_64.S | 4 +
16554 arch/x86/crypto/serpent-avx-x86_64-asm_64.S | 9 +
16555 arch/x86/crypto/serpent-avx2-asm_64.S | 9 +
16556 arch/x86/crypto/serpent-sse2-x86_64-asm_64.S | 4 +
16557 arch/x86/crypto/sha1_ssse3_asm.S | 10 +-
16558 arch/x86/crypto/sha256-avx-asm.S | 2 +
16559 arch/x86/crypto/sha256-avx2-asm.S | 2 +
16560 arch/x86/crypto/sha256-ssse3-asm.S | 2 +
16561 arch/x86/crypto/sha512-avx-asm.S | 2 +
16562 arch/x86/crypto/sha512-avx2-asm.S | 2 +
16563 arch/x86/crypto/sha512-ssse3-asm.S | 2 +
16564 arch/x86/crypto/twofish-avx-x86_64-asm_64.S | 25 +-
16565 arch/x86/crypto/twofish-x86_64-asm_64-3way.S | 4 +
16566 arch/x86/crypto/twofish-x86_64-asm_64.S | 3 +
16567 arch/x86/entry/calling.h | 86 +-
16568 arch/x86/entry/common.c | 13 +-
16569 arch/x86/entry/entry_32.S | 351 +-
16570 arch/x86/entry/entry_64.S | 619 +-
16571 arch/x86/entry/entry_64_compat.S | 159 +-
16572 arch/x86/entry/thunk_64.S | 2 +
16573 arch/x86/entry/vdso/Makefile | 2 +-
16574 arch/x86/entry/vdso/vdso2c.h | 8 +-
16575 arch/x86/entry/vdso/vma.c | 41 +-
16576 arch/x86/entry/vsyscall/vsyscall_64.c | 16 +-
16577 arch/x86/entry/vsyscall/vsyscall_emu_64.S | 2 +-
16578 arch/x86/ia32/ia32_signal.c | 23 +-
16579 arch/x86/ia32/sys_ia32.c | 42 +-
16580 arch/x86/include/asm/alternative-asm.h | 43 +-
16581 arch/x86/include/asm/alternative.h | 4 +-
16582 arch/x86/include/asm/apic.h | 2 +-
16583 arch/x86/include/asm/apm.h | 4 +-
16584 arch/x86/include/asm/atomic.h | 230 +-
16585 arch/x86/include/asm/atomic64_32.h | 100 +
16586 arch/x86/include/asm/atomic64_64.h | 164 +-
16587 arch/x86/include/asm/bitops.h | 18 +-
16588 arch/x86/include/asm/boot.h | 2 +-
16589 arch/x86/include/asm/cache.h | 5 +-
16590 arch/x86/include/asm/checksum_32.h | 12 +-
16591 arch/x86/include/asm/cmpxchg.h | 39 +
16592 arch/x86/include/asm/compat.h | 2 +-
16593 arch/x86/include/asm/cpufeature.h | 17 +-
16594 arch/x86/include/asm/desc.h | 78 +-
16595 arch/x86/include/asm/desc_defs.h | 6 +
16596 arch/x86/include/asm/div64.h | 2 +-
16597 arch/x86/include/asm/elf.h | 33 +-
16598 arch/x86/include/asm/emergency-restart.h | 2 +-
16599 arch/x86/include/asm/fpu/internal.h | 42 +-
16600 arch/x86/include/asm/fpu/types.h | 6 +-
16601 arch/x86/include/asm/futex.h | 14 +-
16602 arch/x86/include/asm/hw_irq.h | 4 +-
16603 arch/x86/include/asm/i8259.h | 2 +-
16604 arch/x86/include/asm/io.h | 22 +-
16605 arch/x86/include/asm/irqflags.h | 5 +
16606 arch/x86/include/asm/kprobes.h | 9 +-
16607 arch/x86/include/asm/local.h | 106 +-
16608 arch/x86/include/asm/mman.h | 15 +
16609 arch/x86/include/asm/mmu.h | 14 +-
16610 arch/x86/include/asm/mmu_context.h | 114 +-
16611 arch/x86/include/asm/module.h | 17 +-
16612 arch/x86/include/asm/nmi.h | 19 +-
16613 arch/x86/include/asm/page.h | 1 +
16614 arch/x86/include/asm/page_32.h | 12 +-
16615 arch/x86/include/asm/page_64.h | 14 +-
16616 arch/x86/include/asm/paravirt.h | 46 +-
16617 arch/x86/include/asm/paravirt_types.h | 15 +-
16618 arch/x86/include/asm/pgalloc.h | 23 +
16619 arch/x86/include/asm/pgtable-2level.h | 2 +
16620 arch/x86/include/asm/pgtable-3level.h | 7 +
16621 arch/x86/include/asm/pgtable.h | 128 +-
16622 arch/x86/include/asm/pgtable_32.h | 14 +-
16623 arch/x86/include/asm/pgtable_32_types.h | 24 +-
16624 arch/x86/include/asm/pgtable_64.h | 23 +-
16625 arch/x86/include/asm/pgtable_64_types.h | 5 +
16626 arch/x86/include/asm/pgtable_types.h | 26 +-
16627 arch/x86/include/asm/preempt.h | 2 +-
16628 arch/x86/include/asm/processor.h | 57 +-
16629 arch/x86/include/asm/ptrace.h | 13 +-
16630 arch/x86/include/asm/realmode.h | 4 +-
16631 arch/x86/include/asm/reboot.h | 10 +-
16632 arch/x86/include/asm/rmwcc.h | 84 +-
16633 arch/x86/include/asm/rwsem.h | 60 +-
16634 arch/x86/include/asm/segment.h | 27 +-
16635 arch/x86/include/asm/smap.h | 43 +
16636 arch/x86/include/asm/smp.h | 14 +-
16637 arch/x86/include/asm/stackprotector.h | 4 +-
16638 arch/x86/include/asm/stacktrace.h | 32 +-
16639 arch/x86/include/asm/switch_to.h | 4 +-
16640 arch/x86/include/asm/sys_ia32.h | 6 +-
16641 arch/x86/include/asm/thread_info.h | 27 +-
16642 arch/x86/include/asm/tlbflush.h | 77 +-
16643 arch/x86/include/asm/uaccess.h | 192 +-
16644 arch/x86/include/asm/uaccess_32.h | 28 +-
16645 arch/x86/include/asm/uaccess_64.h | 169 +-
16646 arch/x86/include/asm/word-at-a-time.h | 2 +-
16647 arch/x86/include/asm/x86_init.h | 10 +-
16648 arch/x86/include/asm/xen/page.h | 2 +-
16649 arch/x86/include/uapi/asm/e820.h | 2 +-
16650 arch/x86/kernel/Makefile | 2 +-
16651 arch/x86/kernel/acpi/boot.c | 4 +-
16652 arch/x86/kernel/acpi/sleep.c | 4 +
16653 arch/x86/kernel/acpi/wakeup_32.S | 6 +-
16654 arch/x86/kernel/alternative.c | 124 +-
16655 arch/x86/kernel/apic/apic.c | 4 +-
16656 arch/x86/kernel/apic/apic_flat_64.c | 6 +-
16657 arch/x86/kernel/apic/apic_noop.c | 2 +-
16658 arch/x86/kernel/apic/bigsmp_32.c | 2 +-
16659 arch/x86/kernel/apic/io_apic.c | 8 +-
16660 arch/x86/kernel/apic/msi.c | 2 +-
16661 arch/x86/kernel/apic/probe_32.c | 4 +-
16662 arch/x86/kernel/apic/vector.c | 4 +-
16663 arch/x86/kernel/apic/x2apic_cluster.c | 2 +-
16664 arch/x86/kernel/apic/x2apic_phys.c | 2 +-
16665 arch/x86/kernel/apic/x2apic_uv_x.c | 2 +-
16666 arch/x86/kernel/apm_32.c | 21 +-
16667 arch/x86/kernel/asm-offsets.c | 20 +
16668 arch/x86/kernel/asm-offsets_64.c | 1 +
16669 arch/x86/kernel/cpu/Makefile | 4 -
16670 arch/x86/kernel/cpu/amd.c | 2 +-
16671 arch/x86/kernel/cpu/bugs_64.c | 2 +
16672 arch/x86/kernel/cpu/common.c | 202 +-
16673 arch/x86/kernel/cpu/intel_cacheinfo.c | 14 +-
16674 arch/x86/kernel/cpu/mcheck/mce.c | 34 +-
16675 arch/x86/kernel/cpu/mcheck/p5.c | 3 +
16676 arch/x86/kernel/cpu/mcheck/winchip.c | 3 +
16677 arch/x86/kernel/cpu/microcode/intel.c | 4 +-
16678 arch/x86/kernel/cpu/mtrr/main.c | 2 +-
16679 arch/x86/kernel/cpu/mtrr/mtrr.h | 2 +-
16680 arch/x86/kernel/cpu/perf_event.c | 10 +-
16681 arch/x86/kernel/cpu/perf_event_amd_iommu.c | 2 +-
16682 arch/x86/kernel/cpu/perf_event_intel.c | 6 +-
16683 arch/x86/kernel/cpu/perf_event_intel_bts.c | 6 +-
16684 arch/x86/kernel/cpu/perf_event_intel_cqm.c | 4 +-
16685 arch/x86/kernel/cpu/perf_event_intel_pt.c | 44 +-
16686 arch/x86/kernel/cpu/perf_event_intel_rapl.c | 2 +-
16687 arch/x86/kernel/cpu/perf_event_intel_uncore.c | 2 +-
16688 arch/x86/kernel/cpu/perf_event_intel_uncore.h | 2 +-
16689 arch/x86/kernel/crash_dump_64.c | 2 +-
16690 arch/x86/kernel/doublefault.c | 8 +-
16691 arch/x86/kernel/dumpstack.c | 24 +-
16692 arch/x86/kernel/dumpstack_32.c | 25 +-
16693 arch/x86/kernel/dumpstack_64.c | 62 +-
16694 arch/x86/kernel/e820.c | 4 +-
16695 arch/x86/kernel/early_printk.c | 1 +
16696 arch/x86/kernel/espfix_64.c | 44 +-
16697 arch/x86/kernel/fpu/core.c | 24 +-
16698 arch/x86/kernel/fpu/init.c | 40 +-
16699 arch/x86/kernel/fpu/regset.c | 22 +-
16700 arch/x86/kernel/fpu/signal.c | 20 +-
16701 arch/x86/kernel/fpu/xstate.c | 8 +-
16702 arch/x86/kernel/ftrace.c | 18 +-
16703 arch/x86/kernel/head64.c | 14 +-
16704 arch/x86/kernel/head_32.S | 235 +-
16705 arch/x86/kernel/head_64.S | 173 +-
16706 arch/x86/kernel/i386_ksyms_32.c | 12 +
16707 arch/x86/kernel/i8259.c | 10 +-
16708 arch/x86/kernel/io_delay.c | 2 +-
16709 arch/x86/kernel/ioport.c | 2 +-
16710 arch/x86/kernel/irq.c | 8 +-
16711 arch/x86/kernel/irq_32.c | 45 +-
16712 arch/x86/kernel/jump_label.c | 10 +-
16713 arch/x86/kernel/kgdb.c | 21 +-
16714 arch/x86/kernel/kprobes/core.c | 28 +-
16715 arch/x86/kernel/kprobes/opt.c | 16 +-
16716 arch/x86/kernel/ksysfs.c | 2 +-
16717 arch/x86/kernel/kvmclock.c | 20 +-
16718 arch/x86/kernel/ldt.c | 25 +
16719 arch/x86/kernel/livepatch.c | 12 +-
16720 arch/x86/kernel/machine_kexec_32.c | 6 +-
16721 arch/x86/kernel/mcount_64.S | 19 +-
16722 arch/x86/kernel/module.c | 78 +-
16723 arch/x86/kernel/msr.c | 2 +-
16724 arch/x86/kernel/nmi.c | 34 +-
16725 arch/x86/kernel/nmi_selftest.c | 4 +-
16726 arch/x86/kernel/paravirt-spinlocks.c | 2 +-
16727 arch/x86/kernel/paravirt.c | 45 +-
16728 arch/x86/kernel/paravirt_patch_64.c | 8 +
16729 arch/x86/kernel/pci-calgary_64.c | 2 +-
16730 arch/x86/kernel/pci-iommu_table.c | 2 +-
16731 arch/x86/kernel/pci-swiotlb.c | 2 +-
16732 arch/x86/kernel/process.c | 80 +-
16733 arch/x86/kernel/process_32.c | 29 +-
16734 arch/x86/kernel/process_64.c | 14 +-
16735 arch/x86/kernel/ptrace.c | 20 +-
16736 arch/x86/kernel/pvclock.c | 8 +-
16737 arch/x86/kernel/reboot.c | 44 +-
16738 arch/x86/kernel/reboot_fixups_32.c | 2 +-
16739 arch/x86/kernel/relocate_kernel_64.S | 3 +-
16740 arch/x86/kernel/setup.c | 29 +-
16741 arch/x86/kernel/setup_percpu.c | 29 +-
16742 arch/x86/kernel/signal.c | 17 +-
16743 arch/x86/kernel/smp.c | 2 +-
16744 arch/x86/kernel/smpboot.c | 29 +-
16745 arch/x86/kernel/step.c | 6 +-
16746 arch/x86/kernel/sys_i386_32.c | 184 +
16747 arch/x86/kernel/sys_x86_64.c | 22 +-
16748 arch/x86/kernel/tboot.c | 14 +-
16749 arch/x86/kernel/time.c | 8 +-
16750 arch/x86/kernel/tls.c | 7 +-
16751 arch/x86/kernel/tracepoint.c | 4 +-
16752 arch/x86/kernel/traps.c | 53 +-
16753 arch/x86/kernel/tsc.c | 2 +-
16754 arch/x86/kernel/uprobes.c | 2 +-
16755 arch/x86/kernel/vm86_32.c | 6 +-
16756 arch/x86/kernel/vmlinux.lds.S | 153 +-
16757 arch/x86/kernel/x8664_ksyms_64.c | 6 +-
16758 arch/x86/kernel/x86_init.c | 6 +-
16759 arch/x86/kvm/cpuid.c | 21 +-
16760 arch/x86/kvm/emulate.c | 2 +-
16761 arch/x86/kvm/lapic.c | 2 +-
16762 arch/x86/kvm/paging_tmpl.h | 2 +-
16763 arch/x86/kvm/svm.c | 10 +-
16764 arch/x86/kvm/vmx.c | 62 +-
16765 arch/x86/kvm/x86.c | 42 +-
16766 arch/x86/lguest/boot.c | 3 +-
16767 arch/x86/lib/atomic64_386_32.S | 164 +
16768 arch/x86/lib/atomic64_cx8_32.S | 98 +-
16769 arch/x86/lib/checksum_32.S | 99 +-
16770 arch/x86/lib/clear_page_64.S | 3 +
16771 arch/x86/lib/cmpxchg16b_emu.S | 3 +
16772 arch/x86/lib/copy_page_64.S | 14 +-
16773 arch/x86/lib/copy_user_64.S | 66 +-
16774 arch/x86/lib/csum-copy_64.S | 14 +-
16775 arch/x86/lib/csum-wrappers_64.c | 8 +-
16776 arch/x86/lib/getuser.S | 74 +-
16777 arch/x86/lib/insn.c | 8 +-
16778 arch/x86/lib/iomap_copy_64.S | 2 +
16779 arch/x86/lib/memcpy_64.S | 6 +
16780 arch/x86/lib/memmove_64.S | 3 +-
16781 arch/x86/lib/memset_64.S | 3 +
16782 arch/x86/lib/mmx_32.c | 243 +-
16783 arch/x86/lib/msr-reg.S | 2 +
16784 arch/x86/lib/putuser.S | 87 +-
16785 arch/x86/lib/rwsem.S | 6 +-
16786 arch/x86/lib/usercopy_32.c | 359 +-
16787 arch/x86/lib/usercopy_64.c | 20 +-
16788 arch/x86/math-emu/fpu_aux.c | 2 +-
16789 arch/x86/math-emu/fpu_entry.c | 4 +-
16790 arch/x86/math-emu/fpu_system.h | 2 +-
16791 arch/x86/mm/Makefile | 4 +
16792 arch/x86/mm/extable.c | 26 +-
16793 arch/x86/mm/fault.c | 570 +-
16794 arch/x86/mm/gup.c | 6 +-
16795 arch/x86/mm/highmem_32.c | 6 +
16796 arch/x86/mm/hugetlbpage.c | 24 +-
16797 arch/x86/mm/init.c | 111 +-
16798 arch/x86/mm/init_32.c | 111 +-
16799 arch/x86/mm/init_64.c | 46 +-
16800 arch/x86/mm/iomap_32.c | 4 +
16801 arch/x86/mm/ioremap.c | 52 +-
16802 arch/x86/mm/kmemcheck/kmemcheck.c | 4 +-
16803 arch/x86/mm/mmap.c | 40 +-
16804 arch/x86/mm/mmio-mod.c | 10 +-
16805 arch/x86/mm/numa.c | 2 +-
16806 arch/x86/mm/pageattr.c | 38 +-
16807 arch/x86/mm/pat.c | 12 +-
16808 arch/x86/mm/pat_rbtree.c | 2 +-
16809 arch/x86/mm/pf_in.c | 10 +-
16810 arch/x86/mm/pgtable.c | 214 +-
16811 arch/x86/mm/pgtable_32.c | 3 +
16812 arch/x86/mm/setup_nx.c | 7 +
16813 arch/x86/mm/tlb.c | 4 +
16814 arch/x86/mm/uderef_64.c | 37 +
16815 arch/x86/net/bpf_jit.S | 11 +
16816 arch/x86/net/bpf_jit_comp.c | 13 +-
16817 arch/x86/oprofile/backtrace.c | 6 +-
16818 arch/x86/oprofile/nmi_int.c | 8 +-
16819 arch/x86/oprofile/op_model_amd.c | 8 +-
16820 arch/x86/oprofile/op_model_ppro.c | 7 +-
16821 arch/x86/oprofile/op_x86_model.h | 2 +-
16822 arch/x86/pci/intel_mid_pci.c | 2 +-
16823 arch/x86/pci/irq.c | 8 +-
16824 arch/x86/pci/pcbios.c | 144 +-
16825 arch/x86/platform/efi/efi_32.c | 24 +
16826 arch/x86/platform/efi/efi_64.c | 26 +-
16827 arch/x86/platform/efi/efi_stub_32.S | 64 +-
16828 arch/x86/platform/efi/efi_stub_64.S | 2 +
16829 arch/x86/platform/intel-mid/intel-mid.c | 5 +-
16830 arch/x86/platform/intel-mid/intel_mid_weak_decls.h | 6 +-
16831 arch/x86/platform/intel-mid/mfld.c | 4 +-
16832 arch/x86/platform/intel-mid/mrfl.c | 2 +-
16833 arch/x86/platform/intel-quark/imr_selftest.c | 2 +-
16834 arch/x86/platform/olpc/olpc_dt.c | 2 +-
16835 arch/x86/power/cpu.c | 11 +-
16836 arch/x86/realmode/init.c | 10 +-
16837 arch/x86/realmode/rm/Makefile | 3 +
16838 arch/x86/realmode/rm/header.S | 4 +-
16839 arch/x86/realmode/rm/reboot.S | 4 +
16840 arch/x86/realmode/rm/trampoline_32.S | 12 +-
16841 arch/x86/realmode/rm/trampoline_64.S | 3 +-
16842 arch/x86/realmode/rm/wakeup_asm.S | 5 +-
16843 arch/x86/tools/Makefile | 2 +-
16844 arch/x86/tools/relocs.c | 96 +-
16845 arch/x86/um/mem_32.c | 2 +-
16846 arch/x86/um/tls_32.c | 2 +-
16847 arch/x86/xen/enlighten.c | 50 +-
16848 arch/x86/xen/mmu.c | 19 +-
16849 arch/x86/xen/smp.c | 16 +-
16850 arch/x86/xen/xen-asm_32.S | 2 +-
16851 arch/x86/xen/xen-head.S | 11 +
16852 arch/x86/xen/xen-ops.h | 2 -
16853 block/bio.c | 4 +-
16854 block/blk-iopoll.c | 2 +-
16855 block/blk-map.c | 2 +-
16856 block/blk-softirq.c | 2 +-
16857 block/bsg.c | 12 +-
16858 block/compat_ioctl.c | 4 +-
16859 block/genhd.c | 9 +-
16860 block/partitions/efi.c | 8 +-
16861 block/scsi_ioctl.c | 29 +-
16862 crypto/cryptd.c | 4 +-
16863 crypto/pcrypt.c | 2 +-
16864 crypto/zlib.c | 12 +-
16865 drivers/acpi/acpi_video.c | 2 +-
16866 drivers/acpi/apei/apei-internal.h | 2 +-
16867 drivers/acpi/apei/ghes.c | 4 +-
16868 drivers/acpi/bgrt.c | 6 +-
16869 drivers/acpi/blacklist.c | 4 +-
16870 drivers/acpi/bus.c | 4 +-
16871 drivers/acpi/device_pm.c | 4 +-
16872 drivers/acpi/ec.c | 2 +-
16873 drivers/acpi/pci_slot.c | 2 +-
16874 drivers/acpi/processor_idle.c | 2 +-
16875 drivers/acpi/processor_pdc.c | 2 +-
16876 drivers/acpi/sleep.c | 2 +-
16877 drivers/acpi/sysfs.c | 4 +-
16878 drivers/acpi/thermal.c | 2 +-
16879 drivers/acpi/video_detect.c | 7 +-
16880 drivers/ata/libata-core.c | 12 +-
16881 drivers/ata/libata-scsi.c | 2 +-
16882 drivers/ata/libata.h | 2 +-
16883 drivers/ata/pata_arasan_cf.c | 4 +-
16884 drivers/atm/adummy.c | 2 +-
16885 drivers/atm/ambassador.c | 8 +-
16886 drivers/atm/atmtcp.c | 14 +-
16887 drivers/atm/eni.c | 10 +-
16888 drivers/atm/firestream.c | 8 +-
16889 drivers/atm/fore200e.c | 14 +-
16890 drivers/atm/he.c | 18 +-
16891 drivers/atm/horizon.c | 4 +-
16892 drivers/atm/idt77252.c | 36 +-
16893 drivers/atm/iphase.c | 34 +-
16894 drivers/atm/lanai.c | 12 +-
16895 drivers/atm/nicstar.c | 46 +-
16896 drivers/atm/solos-pci.c | 4 +-
16897 drivers/atm/suni.c | 4 +-
16898 drivers/atm/uPD98402.c | 16 +-
16899 drivers/atm/zatm.c | 6 +-
16900 drivers/base/bus.c | 4 +-
16901 drivers/base/devtmpfs.c | 8 +-
16902 drivers/base/node.c | 2 +-
16903 drivers/base/platform-msi.c | 20 +-
16904 drivers/base/power/domain.c | 11 +-
16905 drivers/base/power/sysfs.c | 2 +-
16906 drivers/base/power/wakeup.c | 8 +-
16907 drivers/base/regmap/regmap-debugfs.c | 11 +-
16908 drivers/base/syscore.c | 4 +-
16909 drivers/block/cciss.c | 28 +-
16910 drivers/block/cciss.h | 2 +-
16911 drivers/block/cpqarray.c | 28 +-
16912 drivers/block/cpqarray.h | 2 +-
16913 drivers/block/drbd/drbd_bitmap.c | 2 +-
16914 drivers/block/drbd/drbd_int.h | 8 +-
16915 drivers/block/drbd/drbd_main.c | 12 +-
16916 drivers/block/drbd/drbd_nl.c | 4 +-
16917 drivers/block/drbd/drbd_receiver.c | 34 +-
16918 drivers/block/drbd/drbd_worker.c | 8 +-
16919 drivers/block/pktcdvd.c | 4 +-
16920 drivers/block/rbd.c | 2 +-
16921 drivers/bluetooth/btwilink.c | 2 +-
16922 drivers/bus/arm-cci.c | 12 +-
16923 drivers/cdrom/cdrom.c | 11 +-
16924 drivers/cdrom/gdrom.c | 1 -
16925 drivers/char/agp/compat_ioctl.c | 2 +-
16926 drivers/char/agp/frontend.c | 4 +-
16927 drivers/char/agp/intel-gtt.c | 4 +-
16928 drivers/char/hpet.c | 2 +-
16929 drivers/char/ipmi/ipmi_msghandler.c | 8 +-
16930 drivers/char/ipmi/ipmi_si_intf.c | 8 +-
16931 drivers/char/mem.c | 47 +-
16932 drivers/char/nvram.c | 2 +-
16933 drivers/char/pcmcia/synclink_cs.c | 16 +-
16934 drivers/char/random.c | 12 +-
16935 drivers/char/sonypi.c | 11 +-
16936 drivers/char/tpm/tpm_acpi.c | 3 +-
16937 drivers/char/tpm/tpm_eventlog.c | 4 +-
16938 drivers/char/virtio_console.c | 4 +-
16939 drivers/clk/clk-composite.c | 2 +-
16940 drivers/clk/samsung/clk.h | 2 +-
16941 drivers/clk/socfpga/clk-gate.c | 9 +-
16942 drivers/clk/socfpga/clk-pll.c | 9 +-
16943 drivers/clk/ti/clk.c | 8 +-
16944 drivers/cpufreq/acpi-cpufreq.c | 17 +-
16945 drivers/cpufreq/cpufreq-dt.c | 4 +-
16946 drivers/cpufreq/cpufreq.c | 30 +-
16947 drivers/cpufreq/cpufreq_governor.c | 2 +-
16948 drivers/cpufreq/cpufreq_governor.h | 4 +-
16949 drivers/cpufreq/cpufreq_ondemand.c | 10 +-
16950 drivers/cpufreq/intel_pstate.c | 33 +-
16951 drivers/cpufreq/p4-clockmod.c | 12 +-
16952 drivers/cpufreq/sparc-us3-cpufreq.c | 67 +-
16953 drivers/cpufreq/speedstep-centrino.c | 7 +-
16954 drivers/cpuidle/driver.c | 2 +-
16955 drivers/cpuidle/dt_idle_states.c | 2 +-
16956 drivers/cpuidle/governor.c | 2 +-
16957 drivers/cpuidle/sysfs.c | 2 +-
16958 drivers/crypto/hifn_795x.c | 4 +-
16959 drivers/devfreq/devfreq.c | 4 +-
16960 drivers/dma/sh/shdma-base.c | 4 +-
16961 drivers/dma/sh/shdmac.c | 2 +-
16962 drivers/edac/edac_device.c | 4 +-
16963 drivers/edac/edac_mc_sysfs.c | 2 +-
16964 drivers/edac/edac_pci.c | 4 +-
16965 drivers/edac/edac_pci_sysfs.c | 22 +-
16966 drivers/edac/mce_amd.h | 2 +-
16967 drivers/firewire/core-card.c | 6 +-
16968 drivers/firewire/core-device.c | 2 +-
16969 drivers/firewire/core-transaction.c | 1 +
16970 drivers/firewire/core.h | 1 +
16971 drivers/firmware/dmi-id.c | 2 +-
16972 drivers/firmware/dmi_scan.c | 12 +-
16973 drivers/firmware/efi/cper.c | 8 +-
16974 drivers/firmware/efi/efi.c | 12 +-
16975 drivers/firmware/efi/efivars.c | 2 +-
16976 drivers/firmware/efi/runtime-map.c | 2 +-
16977 drivers/firmware/google/gsmi.c | 2 +-
16978 drivers/firmware/google/memconsole.c | 7 +-
16979 drivers/firmware/memmap.c | 2 +-
16980 drivers/firmware/psci.c | 2 +-
16981 drivers/gpio/gpio-davinci.c | 6 +-
16982 drivers/gpio/gpio-em.c | 2 +-
16983 drivers/gpio/gpio-ich.c | 2 +-
16984 drivers/gpio/gpio-omap.c | 4 +-
16985 drivers/gpio/gpio-rcar.c | 2 +-
16986 drivers/gpio/gpio-vr41xx.c | 2 +-
16987 drivers/gpio/gpiolib.c | 12 +-
16988 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-
16989 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 2 +-
16990 drivers/gpu/drm/amd/amdkfd/kfd_device.c | 6 +-
16991 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 90 +-
16992 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 8 +-
16993 .../drm/amd/amdkfd/kfd_device_queue_manager_cik.c | 14 +-
16994 .../drm/amd/amdkfd/kfd_device_queue_manager_vi.c | 14 +-
16995 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c | 4 +-
16996 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 2 +-
16997 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.h | 2 +-
16998 .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 16 +-
16999 drivers/gpu/drm/drm_crtc.c | 2 +-
17000 drivers/gpu/drm/drm_drv.c | 2 +-
17001 drivers/gpu/drm/drm_fops.c | 12 +-
17002 drivers/gpu/drm/drm_global.c | 14 +-
17003 drivers/gpu/drm/drm_info.c | 13 +-
17004 drivers/gpu/drm/drm_ioc32.c | 13 +-
17005 drivers/gpu/drm/drm_ioctl.c | 2 +-
17006 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 10 +-
17007 drivers/gpu/drm/i810/i810_drv.h | 4 +-
17008 drivers/gpu/drm/i915/i915_dma.c | 2 +-
17009 drivers/gpu/drm/i915/i915_gem_execbuffer.c | 4 +-
17010 drivers/gpu/drm/i915/i915_gem_gtt.c | 16 +-
17011 drivers/gpu/drm/i915/i915_gem_gtt.h | 6 +-
17012 drivers/gpu/drm/i915/i915_ioc32.c | 10 +-
17013 drivers/gpu/drm/i915/intel_display.c | 26 +-
17014 drivers/gpu/drm/imx/imx-drm-core.c | 2 +-
17015 drivers/gpu/drm/mga/mga_drv.h | 4 +-
17016 drivers/gpu/drm/mga/mga_ioc32.c | 10 +-
17017 drivers/gpu/drm/mga/mga_irq.c | 8 +-
17018 drivers/gpu/drm/nouveau/nouveau_bios.c | 2 +-
17019 drivers/gpu/drm/nouveau/nouveau_drm.h | 1 -
17020 drivers/gpu/drm/nouveau/nouveau_ioc32.c | 2 +-
17021 drivers/gpu/drm/nouveau/nouveau_vga.c | 2 +-
17022 drivers/gpu/drm/omapdrm/Makefile | 2 +-
17023 drivers/gpu/drm/qxl/qxl_cmd.c | 12 +-
17024 drivers/gpu/drm/qxl/qxl_debugfs.c | 8 +-
17025 drivers/gpu/drm/qxl/qxl_drv.h | 8 +-
17026 drivers/gpu/drm/qxl/qxl_ioctl.c | 10 +-
17027 drivers/gpu/drm/qxl/qxl_irq.c | 16 +-
17028 drivers/gpu/drm/qxl/qxl_ttm.c | 38 +-
17029 drivers/gpu/drm/r128/r128_cce.c | 2 +-
17030 drivers/gpu/drm/r128/r128_drv.h | 4 +-
17031 drivers/gpu/drm/r128/r128_ioc32.c | 10 +-
17032 drivers/gpu/drm/r128/r128_irq.c | 4 +-
17033 drivers/gpu/drm/r128/r128_state.c | 4 +-
17034 drivers/gpu/drm/radeon/mkregtable.c | 4 +-
17035 drivers/gpu/drm/radeon/radeon_device.c | 2 +-
17036 drivers/gpu/drm/radeon/radeon_drv.h | 2 +-
17037 drivers/gpu/drm/radeon/radeon_ioc32.c | 12 +-
17038 drivers/gpu/drm/radeon/radeon_irq.c | 6 +-
17039 drivers/gpu/drm/radeon/radeon_state.c | 4 +-
17040 drivers/gpu/drm/radeon/radeon_ttm.c | 4 +-
17041 drivers/gpu/drm/tegra/dc.c | 2 +-
17042 drivers/gpu/drm/tegra/dsi.c | 2 +-
17043 drivers/gpu/drm/tegra/hdmi.c | 2 +-
17044 drivers/gpu/drm/tegra/sor.c | 7 +-
17045 drivers/gpu/drm/tilcdc/Makefile | 6 +-
17046 drivers/gpu/drm/ttm/ttm_memory.c | 4 +-
17047 drivers/gpu/drm/ttm/ttm_page_alloc.c | 18 +-
17048 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 18 +-
17049 drivers/gpu/drm/udl/udl_fb.c | 1 -
17050 drivers/gpu/drm/via/via_drv.h | 4 +-
17051 drivers/gpu/drm/via/via_irq.c | 18 +-
17052 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 2 +-
17053 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c | 8 +-
17054 drivers/gpu/drm/vmwgfx/vmwgfx_irq.c | 4 +-
17055 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c | 2 +-
17056 drivers/gpu/vga/vga_switcheroo.c | 4 +-
17057 drivers/hid/hid-core.c | 4 +-
17058 drivers/hid/hid-sensor-custom.c | 2 +-
17059 drivers/hv/channel.c | 2 +-
17060 drivers/hv/hv.c | 4 +-
17061 drivers/hv/hv_balloon.c | 18 +-
17062 drivers/hv/hyperv_vmbus.h | 2 +-
17063 drivers/hwmon/acpi_power_meter.c | 6 +-
17064 drivers/hwmon/applesmc.c | 2 +-
17065 drivers/hwmon/asus_atk0110.c | 10 +-
17066 drivers/hwmon/coretemp.c | 2 +-
17067 drivers/hwmon/dell-smm-hwmon.c | 2 +-
17068 drivers/hwmon/ibmaem.c | 2 +-
17069 drivers/hwmon/iio_hwmon.c | 2 +-
17070 drivers/hwmon/nct6683.c | 6 +-
17071 drivers/hwmon/nct6775.c | 6 +-
17072 drivers/hwmon/pmbus/pmbus_core.c | 10 +-
17073 drivers/hwmon/sht15.c | 12 +-
17074 drivers/hwmon/via-cputemp.c | 2 +-
17075 drivers/i2c/busses/i2c-amd756-s4882.c | 2 +-
17076 drivers/i2c/busses/i2c-nforce2-s4985.c | 2 +-
17077 drivers/i2c/i2c-dev.c | 2 +-
17078 drivers/ide/ide-cd.c | 2 +-
17079 drivers/ide/ide-disk.c | 2 +-
17080 drivers/iio/industrialio-core.c | 2 +-
17081 drivers/iio/magnetometer/ak8975.c | 2 +-
17082 drivers/infiniband/core/cm.c | 32 +-
17083 drivers/infiniband/core/fmr_pool.c | 20 +-
17084 drivers/infiniband/core/uverbs_cmd.c | 3 +
17085 drivers/infiniband/hw/cxgb4/mem.c | 4 +-
17086 drivers/infiniband/hw/mlx4/mad.c | 2 +-
17087 drivers/infiniband/hw/mlx4/mcg.c | 2 +-
17088 drivers/infiniband/hw/mlx4/mlx4_ib.h | 2 +-
17089 drivers/infiniband/hw/mthca/mthca_cmd.c | 8 +-
17090 drivers/infiniband/hw/mthca/mthca_main.c | 2 +-
17091 drivers/infiniband/hw/mthca/mthca_mr.c | 6 +-
17092 drivers/infiniband/hw/mthca/mthca_provider.c | 2 +-
17093 drivers/infiniband/hw/nes/nes.c | 4 +-
17094 drivers/infiniband/hw/nes/nes.h | 40 +-
17095 drivers/infiniband/hw/nes/nes_cm.c | 62 +-
17096 drivers/infiniband/hw/nes/nes_mgt.c | 8 +-
17097 drivers/infiniband/hw/nes/nes_nic.c | 40 +-
17098 drivers/infiniband/hw/nes/nes_verbs.c | 10 +-
17099 drivers/infiniband/hw/qib/qib.h | 1 +
17100 drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 2 +-
17101 drivers/input/gameport/gameport.c | 4 +-
17102 drivers/input/input.c | 4 +-
17103 drivers/input/joystick/sidewinder.c | 1 +
17104 drivers/input/joystick/xpad.c | 4 +-
17105 drivers/input/misc/ims-pcu.c | 4 +-
17106 drivers/input/mouse/psmouse.h | 2 +-
17107 drivers/input/mousedev.c | 2 +-
17108 drivers/input/serio/serio.c | 4 +-
17109 drivers/input/serio/serio_raw.c | 4 +-
17110 drivers/input/touchscreen/htcpen.c | 2 +-
17111 drivers/iommu/arm-smmu-v3.c | 2 +-
17112 drivers/iommu/arm-smmu.c | 43 +-
17113 drivers/iommu/io-pgtable-arm.c | 101 +-
17114 drivers/iommu/io-pgtable.c | 11 +-
17115 drivers/iommu/io-pgtable.h | 19 +-
17116 drivers/iommu/iommu.c | 2 +-
17117 drivers/iommu/ipmmu-vmsa.c | 13 +-
17118 drivers/iommu/irq_remapping.c | 2 +-
17119 drivers/irqchip/irq-gic.c | 2 +-
17120 drivers/irqchip/irq-i8259.c | 2 +-
17121 drivers/irqchip/irq-renesas-intc-irqpin.c | 2 +-
17122 drivers/irqchip/irq-renesas-irqc.c | 2 +-
17123 drivers/isdn/capi/capi.c | 10 +-
17124 drivers/isdn/gigaset/interface.c | 8 +-
17125 drivers/isdn/gigaset/usb-gigaset.c | 2 +-
17126 drivers/isdn/hardware/avm/b1.c | 4 +-
17127 drivers/isdn/i4l/isdn_common.c | 2 +
17128 drivers/isdn/i4l/isdn_tty.c | 22 +-
17129 drivers/isdn/icn/icn.c | 2 +-
17130 drivers/isdn/mISDN/dsp_cmx.c | 2 +-
17131 drivers/lguest/core.c | 10 +-
17132 drivers/lguest/page_tables.c | 2 +-
17133 drivers/lguest/x86/core.c | 12 +-
17134 drivers/lguest/x86/switcher_32.S | 27 +-
17135 drivers/md/bcache/closure.h | 2 +-
17136 drivers/md/bitmap.c | 2 +-
17137 drivers/md/dm-ioctl.c | 2 +-
17138 drivers/md/dm-raid1.c | 18 +-
17139 drivers/md/dm-stats.c | 6 +-
17140 drivers/md/dm-stripe.c | 10 +-
17141 drivers/md/dm-table.c | 2 +-
17142 drivers/md/dm-thin-metadata.c | 4 +-
17143 drivers/md/dm.c | 16 +-
17144 drivers/md/md.c | 26 +-
17145 drivers/md/md.h | 6 +-
17146 drivers/md/persistent-data/dm-space-map-metadata.c | 4 +-
17147 drivers/md/persistent-data/dm-space-map.h | 1 +
17148 drivers/md/raid1.c | 4 +-
17149 drivers/md/raid10.c | 18 +-
17150 drivers/md/raid5.c | 22 +-
17151 drivers/media/dvb-core/dvbdev.c | 2 +-
17152 drivers/media/dvb-frontends/af9033.h | 2 +-
17153 drivers/media/dvb-frontends/dib3000.h | 2 +-
17154 drivers/media/dvb-frontends/dib7000p.h | 2 +-
17155 drivers/media/dvb-frontends/dib8000.h | 2 +-
17156 drivers/media/pci/cx88/cx88-video.c | 6 +-
17157 drivers/media/pci/ivtv/ivtv-driver.c | 2 +-
17158 drivers/media/pci/solo6x10/solo6x10-core.c | 2 +-
17159 drivers/media/pci/solo6x10/solo6x10-p2m.c | 2 +-
17160 drivers/media/pci/solo6x10/solo6x10.h | 2 +-
17161 drivers/media/pci/tw68/tw68-core.c | 2 +-
17162 drivers/media/platform/omap/omap_vout.c | 11 +-
17163 drivers/media/platform/s5p-tv/mixer.h | 2 +-
17164 drivers/media/platform/s5p-tv/mixer_grp_layer.c | 2 +-
17165 drivers/media/platform/s5p-tv/mixer_reg.c | 2 +-
17166 drivers/media/platform/s5p-tv/mixer_video.c | 24 +-
17167 drivers/media/platform/s5p-tv/mixer_vp_layer.c | 2 +-
17168 drivers/media/radio/radio-cadet.c | 2 +
17169 drivers/media/radio/radio-maxiradio.c | 2 +-
17170 drivers/media/radio/radio-shark.c | 2 +-
17171 drivers/media/radio/radio-shark2.c | 2 +-
17172 drivers/media/radio/radio-si476x.c | 2 +-
17173 drivers/media/radio/wl128x/fmdrv_common.c | 2 +-
17174 drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 12 +-
17175 drivers/media/v4l2-core/v4l2-device.c | 4 +-
17176 drivers/media/v4l2-core/v4l2-ioctl.c | 13 +-
17177 drivers/memory/omap-gpmc.c | 21 +-
17178 drivers/message/fusion/mptsas.c | 34 +-
17179 drivers/mfd/ab8500-debugfs.c | 2 +-
17180 drivers/mfd/kempld-core.c | 2 +-
17181 drivers/mfd/max8925-i2c.c | 2 +-
17182 drivers/mfd/tps65910.c | 2 +-
17183 drivers/mfd/twl4030-irq.c | 9 +-
17184 drivers/mfd/wm5110-tables.c | 2 +-
17185 drivers/mfd/wm8998-tables.c | 2 +-
17186 drivers/misc/c2port/core.c | 4 +-
17187 drivers/misc/kgdbts.c | 4 +-
17188 drivers/misc/lis3lv02d/lis3lv02d.c | 8 +-
17189 drivers/misc/lis3lv02d/lis3lv02d.h | 2 +-
17190 drivers/misc/mic/scif/scif_rb.c | 8 +-
17191 drivers/misc/sgi-gru/gruhandles.c | 4 +-
17192 drivers/misc/sgi-gru/gruprocfs.c | 8 +-
17193 drivers/misc/sgi-gru/grutables.h | 154 +-
17194 drivers/misc/sgi-xp/xp.h | 2 +-
17195 drivers/misc/sgi-xp/xpc.h | 3 +-
17196 drivers/misc/sgi-xp/xpc_main.c | 2 +-
17197 drivers/mmc/card/block.c | 2 +-
17198 drivers/mmc/host/dw_mmc.h | 2 +-
17199 drivers/mmc/host/mmci.c | 4 +-
17200 drivers/mmc/host/omap_hsmmc.c | 4 +-
17201 drivers/mmc/host/sdhci-esdhc-imx.c | 7 +-
17202 drivers/mmc/host/sdhci-s3c.c | 8 +-
17203 drivers/mtd/chips/cfi_cmdset_0020.c | 2 +-
17204 drivers/mtd/nand/denali.c | 1 +
17205 drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 2 +-
17206 drivers/mtd/nftlmount.c | 1 +
17207 drivers/mtd/sm_ftl.c | 2 +-
17208 drivers/net/bonding/bond_netlink.c | 2 +-
17209 drivers/net/caif/caif_hsi.c | 2 +-
17210 drivers/net/can/Kconfig | 2 +-
17211 drivers/net/can/dev.c | 2 +-
17212 drivers/net/can/vcan.c | 2 +-
17213 drivers/net/dummy.c | 2 +-
17214 drivers/net/ethernet/8390/ax88796.c | 4 +-
17215 drivers/net/ethernet/altera/altera_tse_main.c | 4 +-
17216 drivers/net/ethernet/amd/xgbe/xgbe-common.h | 4 +-
17217 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c | 4 +-
17218 drivers/net/ethernet/amd/xgbe/xgbe-desc.c | 27 +-
17219 drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 143 +-
17220 drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 64 +-
17221 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 10 +-
17222 drivers/net/ethernet/amd/xgbe/xgbe-main.c | 15 +-
17223 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 27 +-
17224 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c | 4 +-
17225 drivers/net/ethernet/amd/xgbe/xgbe.h | 10 +-
17226 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 2 +-
17227 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | 11 +-
17228 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h | 3 +-
17229 drivers/net/ethernet/broadcom/tg3.h | 1 +
17230 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c | 6 +-
17231 drivers/net/ethernet/cavium/liquidio/lio_main.c | 11 +-
17232 drivers/net/ethernet/chelsio/cxgb3/l2t.h | 2 +-
17233 drivers/net/ethernet/dec/tulip/de4x5.c | 4 +-
17234 drivers/net/ethernet/emulex/benet/be_main.c | 2 +-
17235 drivers/net/ethernet/faraday/ftgmac100.c | 2 +
17236 drivers/net/ethernet/faraday/ftmac100.c | 2 +
17237 drivers/net/ethernet/intel/i40e/i40e_ptp.c | 2 +-
17238 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 2 +-
17239 drivers/net/ethernet/mellanox/mlx4/en_tx.c | 4 +-
17240 drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 7 +-
17241 drivers/net/ethernet/neterion/vxge/vxge-config.c | 7 +-
17242 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 4 +-
17243 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c | 12 +-
17244 .../net/ethernet/qlogic/qlcnic/qlcnic_minidump.c | 2 +-
17245 drivers/net/ethernet/realtek/r8169.c | 8 +-
17246 drivers/net/ethernet/sfc/ptp.c | 2 +-
17247 drivers/net/ethernet/stmicro/stmmac/mmc_core.c | 4 +-
17248 drivers/net/ethernet/via/via-rhine.c | 2 +-
17249 drivers/net/geneve.c | 2 +-
17250 drivers/net/hyperv/hyperv_net.h | 2 +-
17251 drivers/net/hyperv/rndis_filter.c | 4 +-
17252 drivers/net/ifb.c | 2 +-
17253 drivers/net/ipvlan/ipvlan_core.c | 2 +-
17254 drivers/net/macvlan.c | 20 +-
17255 drivers/net/macvtap.c | 6 +-
17256 drivers/net/nlmon.c | 2 +-
17257 drivers/net/phy/phy_device.c | 6 +-
17258 drivers/net/ppp/ppp_generic.c | 4 +-
17259 drivers/net/slip/slhc.c | 2 +-
17260 drivers/net/team/team.c | 4 +-
17261 drivers/net/tun.c | 7 +-
17262 drivers/net/usb/hso.c | 23 +-
17263 drivers/net/usb/r8152.c | 2 +-
17264 drivers/net/usb/sierra_net.c | 4 +-
17265 drivers/net/virtio_net.c | 2 +-
17266 drivers/net/vrf.c | 2 +-
17267 drivers/net/vxlan.c | 4 +-
17268 drivers/net/wimax/i2400m/rx.c | 2 +-
17269 drivers/net/wireless/airo.c | 2 +-
17270 drivers/net/wireless/at76c50x-usb.c | 2 +-
17271 drivers/net/wireless/ath/ath10k/ce.c | 6 +-
17272 drivers/net/wireless/ath/ath10k/htc.c | 7 +-
17273 drivers/net/wireless/ath/ath10k/htc.h | 4 +-
17274 drivers/net/wireless/ath/ath9k/ar9002_mac.c | 36 +-
17275 drivers/net/wireless/ath/ath9k/ar9003_mac.c | 64 +-
17276 drivers/net/wireless/ath/ath9k/hw.h | 4 +-
17277 drivers/net/wireless/ath/ath9k/main.c | 22 +-
17278 drivers/net/wireless/ath/wil6210/wil_platform.h | 2 +-
17279 drivers/net/wireless/b43/phy_lp.c | 2 +-
17280 drivers/net/wireless/iwlegacy/3945-mac.c | 4 +-
17281 drivers/net/wireless/iwlwifi/dvm/debugfs.c | 34 +-
17282 drivers/net/wireless/iwlwifi/pcie/trans.c | 4 +-
17283 drivers/net/wireless/mac80211_hwsim.c | 28 +-
17284 drivers/net/wireless/rndis_wlan.c | 2 +-
17285 drivers/net/wireless/rt2x00/rt2x00.h | 2 +-
17286 drivers/net/wireless/rt2x00/rt2x00queue.c | 4 +-
17287 drivers/net/wireless/ti/wl1251/sdio.c | 12 +-
17288 drivers/net/wireless/ti/wl12xx/main.c | 8 +-
17289 drivers/net/wireless/ti/wl18xx/main.c | 6 +-
17290 drivers/nfc/nfcwilink.c | 2 +-
17291 drivers/of/fdt.c | 4 +-
17292 drivers/oprofile/buffer_sync.c | 8 +-
17293 drivers/oprofile/event_buffer.c | 2 +-
17294 drivers/oprofile/oprof.c | 2 +-
17295 drivers/oprofile/oprofile_stats.c | 10 +-
17296 drivers/oprofile/oprofile_stats.h | 10 +-
17297 drivers/oprofile/oprofilefs.c | 6 +-
17298 drivers/oprofile/timer_int.c | 2 +-
17299 drivers/parport/procfs.c | 4 +-
17300 drivers/pci/host/pci-host-generic.c | 24 +-
17301 drivers/pci/hotplug/acpiphp_ibm.c | 4 +-
17302 drivers/pci/hotplug/cpcihp_generic.c | 6 +-
17303 drivers/pci/hotplug/cpcihp_zt5550.c | 14 +-
17304 drivers/pci/hotplug/cpqphp_nvram.c | 2 +
17305 drivers/pci/hotplug/pci_hotplug_core.c | 6 +-
17306 drivers/pci/hotplug/pciehp_core.c | 2 +-
17307 drivers/pci/msi.c | 22 +-
17308 drivers/pci/pci-sysfs.c | 6 +-
17309 drivers/pci/pci.h | 2 +-
17310 drivers/pci/pcie/aspm.c | 6 +-
17311 drivers/pci/pcie/portdrv_pci.c | 2 +-
17312 drivers/pci/probe.c | 2 +-
17313 drivers/pinctrl/nomadik/pinctrl-nomadik.c | 2 +-
17314 drivers/pinctrl/pinctrl-at91.c | 5 +-
17315 drivers/platform/chrome/chromeos_pstore.c | 2 +-
17316 drivers/platform/x86/alienware-wmi.c | 4 +-
17317 drivers/platform/x86/compal-laptop.c | 2 +-
17318 drivers/platform/x86/hdaps.c | 2 +-
17319 drivers/platform/x86/ibm_rtl.c | 2 +-
17320 drivers/platform/x86/intel_oaktrail.c | 2 +-
17321 drivers/platform/x86/msi-laptop.c | 16 +-
17322 drivers/platform/x86/msi-wmi.c | 2 +-
17323 drivers/platform/x86/samsung-laptop.c | 2 +-
17324 drivers/platform/x86/samsung-q10.c | 2 +-
17325 drivers/platform/x86/sony-laptop.c | 14 +-
17326 drivers/platform/x86/thinkpad_acpi.c | 2 +-
17327 drivers/pnp/pnpbios/bioscalls.c | 14 +-
17328 drivers/pnp/pnpbios/core.c | 2 +-
17329 drivers/power/pda_power.c | 7 +-
17330 drivers/power/power_supply.h | 4 +-
17331 drivers/power/power_supply_core.c | 7 +-
17332 drivers/power/power_supply_sysfs.c | 6 +-
17333 drivers/power/reset/at91-reset.c | 9 +-
17334 drivers/powercap/powercap_sys.c | 136 +-
17335 drivers/ptp/ptp_private.h | 2 +-
17336 drivers/ptp/ptp_sysfs.c | 2 +-
17337 drivers/regulator/core.c | 4 +-
17338 drivers/regulator/max8660.c | 6 +-
17339 drivers/regulator/max8973-regulator.c | 16 +-
17340 drivers/regulator/mc13892-regulator.c | 8 +-
17341 drivers/rtc/rtc-armada38x.c | 7 +-
17342 drivers/rtc/rtc-cmos.c | 4 +-
17343 drivers/rtc/rtc-ds1307.c | 2 +-
17344 drivers/rtc/rtc-m48t59.c | 4 +-
17345 drivers/rtc/rtc-test.c | 6 +-
17346 drivers/scsi/be2iscsi/be_main.c | 2 +-
17347 drivers/scsi/bfa/bfa_fcpim.h | 2 +-
17348 drivers/scsi/bfa/bfa_ioc.h | 4 +-
17349 drivers/scsi/fcoe/fcoe_sysfs.c | 12 +-
17350 drivers/scsi/hosts.c | 4 +-
17351 drivers/scsi/hpsa.c | 38 +-
17352 drivers/scsi/hpsa.h | 2 +-
17353 drivers/scsi/libfc/fc_exch.c | 50 +-
17354 drivers/scsi/libsas/sas_ata.c | 2 +-
17355 drivers/scsi/lpfc/lpfc.h | 8 +-
17356 drivers/scsi/lpfc/lpfc_debugfs.c | 18 +-
17357 drivers/scsi/lpfc/lpfc_init.c | 6 +-
17358 drivers/scsi/lpfc/lpfc_scsi.c | 10 +-
17359 drivers/scsi/megaraid/megaraid_sas.h | 2 +-
17360 drivers/scsi/mpt2sas/mpt2sas_scsih.c | 8 +-
17361 drivers/scsi/pmcraid.c | 20 +-
17362 drivers/scsi/pmcraid.h | 8 +-
17363 drivers/scsi/qla2xxx/qla_attr.c | 4 +-
17364 drivers/scsi/qla2xxx/qla_gbl.h | 4 +-
17365 drivers/scsi/qla2xxx/qla_os.c | 6 +-
17366 drivers/scsi/qla4xxx/ql4_def.h | 2 +-
17367 drivers/scsi/qla4xxx/ql4_os.c | 6 +-
17368 drivers/scsi/scsi.c | 2 +-
17369 drivers/scsi/scsi_lib.c | 8 +-
17370 drivers/scsi/scsi_sysfs.c | 2 +-
17371 drivers/scsi/scsi_transport_fc.c | 8 +-
17372 drivers/scsi/scsi_transport_iscsi.c | 6 +-
17373 drivers/scsi/scsi_transport_srp.c | 6 +-
17374 drivers/scsi/sd.c | 6 +-
17375 drivers/scsi/sg.c | 2 +-
17376 drivers/scsi/sr.c | 21 +-
17377 drivers/soc/tegra/fuse/fuse-tegra.c | 2 +-
17378 drivers/spi/spi.c | 2 +-
17379 drivers/staging/android/timed_output.c | 6 +-
17380 drivers/staging/comedi/comedi_fops.c | 8 +-
17381 drivers/staging/fbtft/fbtft-core.c | 2 +-
17382 drivers/staging/fbtft/fbtft.h | 2 +-
17383 drivers/staging/gdm724x/gdm_tty.c | 2 +-
17384 drivers/staging/iio/accel/lis3l02dq_ring.c | 2 +-
17385 drivers/staging/iio/adc/ad7280a.c | 4 +-
17386 drivers/staging/lustre/lnet/selftest/brw_test.c | 12 +-
17387 drivers/staging/lustre/lnet/selftest/framework.c | 4 -
17388 drivers/staging/lustre/lnet/selftest/ping_test.c | 14 +-
17389 drivers/staging/lustre/lustre/include/lustre_dlm.h | 2 +-
17390 drivers/staging/lustre/lustre/include/obd.h | 2 +-
17391 drivers/staging/octeon/ethernet-rx.c | 20 +-
17392 drivers/staging/octeon/ethernet.c | 8 +-
17393 drivers/staging/rdma/ipath/ipath_rc.c | 6 +-
17394 drivers/staging/rdma/ipath/ipath_ruc.c | 6 +-
17395 drivers/staging/rtl8188eu/include/hal_intf.h | 2 +-
17396 drivers/staging/rtl8712/rtl871x_io.h | 2 +-
17397 drivers/staging/sm750fb/sm750.c | 14 +-
17398 drivers/staging/unisys/visorbus/visorbus_private.h | 4 +-
17399 drivers/target/sbp/sbp_target.c | 4 +-
17400 drivers/thermal/cpu_cooling.c | 9 +-
17401 drivers/thermal/int340x_thermal/int3400_thermal.c | 6 +-
17402 drivers/thermal/of-thermal.c | 17 +-
17403 drivers/thermal/x86_pkg_temp_thermal.c | 2 +-
17404 drivers/tty/cyclades.c | 6 +-
17405 drivers/tty/hvc/hvc_console.c | 14 +-
17406 drivers/tty/hvc/hvcs.c | 21 +-
17407 drivers/tty/hvc/hvsi.c | 22 +-
17408 drivers/tty/hvc/hvsi_lib.c | 4 +-
17409 drivers/tty/ipwireless/tty.c | 27 +-
17410 drivers/tty/moxa.c | 2 +-
17411 drivers/tty/n_gsm.c | 4 +-
17412 drivers/tty/n_tty.c | 3 +-
17413 drivers/tty/pty.c | 4 +-
17414 drivers/tty/rocket.c | 6 +-
17415 drivers/tty/serial/8250/8250_core.c | 10 +-
17416 drivers/tty/serial/ifx6x60.c | 2 +-
17417 drivers/tty/serial/ioc4_serial.c | 6 +-
17418 drivers/tty/serial/kgdb_nmi.c | 4 +-
17419 drivers/tty/serial/kgdboc.c | 32 +-
17420 drivers/tty/serial/msm_serial.c | 4 +-
17421 drivers/tty/serial/samsung.c | 9 +-
17422 drivers/tty/serial/serial_core.c | 8 +-
17423 drivers/tty/synclink.c | 34 +-
17424 drivers/tty/synclink_gt.c | 28 +-
17425 drivers/tty/synclinkmp.c | 34 +-
17426 drivers/tty/tty_io.c | 2 +-
17427 drivers/tty/tty_ldisc.c | 8 +-
17428 drivers/tty/tty_port.c | 22 +-
17429 drivers/uio/uio.c | 13 +-
17430 drivers/usb/atm/cxacru.c | 2 +-
17431 drivers/usb/atm/usbatm.c | 24 +-
17432 drivers/usb/class/cdc-acm.h | 2 +-
17433 drivers/usb/core/devices.c | 6 +-
17434 drivers/usb/core/devio.c | 12 +-
17435 drivers/usb/core/hcd.c | 4 +-
17436 drivers/usb/core/sysfs.c | 2 +-
17437 drivers/usb/core/usb.c | 2 +-
17438 drivers/usb/early/ehci-dbgp.c | 16 +-
17439 drivers/usb/gadget/function/u_serial.c | 22 +-
17440 drivers/usb/gadget/udc/dummy_hcd.c | 2 +-
17441 drivers/usb/host/ehci-hcd.c | 2 +-
17442 drivers/usb/host/ehci-hub.c | 4 +-
17443 drivers/usb/host/ehci-q.c | 4 +-
17444 drivers/usb/host/fotg210-hcd.c | 2 +-
17445 drivers/usb/host/fusbh200-hcd.c | 2 +-
17446 drivers/usb/host/hwa-hc.c | 2 +-
17447 drivers/usb/host/ohci-hcd.c | 2 +-
17448 drivers/usb/host/r8a66597.h | 2 +-
17449 drivers/usb/host/uhci-hcd.c | 2 +-
17450 drivers/usb/host/xhci-pci.c | 2 +-
17451 drivers/usb/host/xhci.c | 2 +-
17452 drivers/usb/misc/appledisplay.c | 4 +-
17453 drivers/usb/serial/console.c | 8 +-
17454 drivers/usb/storage/transport.c | 2 +-
17455 drivers/usb/storage/usb.c | 2 +-
17456 drivers/usb/storage/usb.h | 2 +-
17457 drivers/usb/usbip/vhci.h | 2 +-
17458 drivers/usb/usbip/vhci_hcd.c | 6 +-
17459 drivers/usb/usbip/vhci_rx.c | 2 +-
17460 drivers/usb/wusbcore/wa-hc.h | 4 +-
17461 drivers/usb/wusbcore/wa-xfer.c | 2 +-
17462 drivers/vfio/vfio.c | 2 +-
17463 drivers/vhost/vringh.c | 20 +-
17464 drivers/video/backlight/kb3886_bl.c | 2 +-
17465 drivers/video/console/fbcon.c | 2 +-
17466 drivers/video/fbdev/aty/aty128fb.c | 2 +-
17467 drivers/video/fbdev/aty/atyfb_base.c | 8 +-
17468 drivers/video/fbdev/aty/mach64_cursor.c | 5 +-
17469 drivers/video/fbdev/core/fb_defio.c | 6 +-
17470 drivers/video/fbdev/core/fbmem.c | 2 +-
17471 drivers/video/fbdev/hyperv_fb.c | 4 +-
17472 drivers/video/fbdev/i810/i810_accel.c | 1 +
17473 drivers/video/fbdev/matrox/matroxfb_base.c | 2 +-
17474 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c | 16 +-
17475 drivers/video/fbdev/nvidia/nvidia.c | 27 +-
17476 drivers/video/fbdev/omap2/dss/display.c | 8 +-
17477 drivers/video/fbdev/s1d13xxxfb.c | 6 +-
17478 drivers/video/fbdev/smscufx.c | 4 +-
17479 drivers/video/fbdev/udlfb.c | 36 +-
17480 drivers/video/fbdev/uvesafb.c | 52 +-
17481 drivers/video/fbdev/vesafb.c | 58 +-
17482 drivers/video/fbdev/via/via_clock.h | 2 +-
17483 drivers/xen/events/events_base.c | 6 +-
17484 drivers/xen/evtchn.c | 4 +-
17485 fs/Kconfig.binfmt | 2 +-
17486 fs/afs/inode.c | 4 +-
17487 fs/aio.c | 2 +-
17488 fs/autofs4/waitq.c | 2 +-
17489 fs/befs/endian.h | 6 +-
17490 fs/binfmt_aout.c | 23 +-
17491 fs/binfmt_elf.c | 670 +-
17492 fs/binfmt_elf_fdpic.c | 4 +-
17493 fs/block_dev.c | 2 +-
17494 fs/btrfs/ctree.c | 9 +-
17495 fs/btrfs/delayed-inode.c | 9 +-
17496 fs/btrfs/delayed-inode.h | 6 +-
17497 fs/btrfs/file.c | 10 +-
17498 fs/btrfs/inode.c | 14 +-
17499 fs/btrfs/super.c | 2 +-
17500 fs/btrfs/sysfs.c | 2 +-
17501 fs/btrfs/tests/free-space-tests.c | 8 +-
17502 fs/btrfs/tree-log.h | 2 +-
17503 fs/buffer.c | 2 +-
17504 fs/cachefiles/bind.c | 6 +-
17505 fs/cachefiles/daemon.c | 8 +-
17506 fs/cachefiles/internal.h | 12 +-
17507 fs/cachefiles/namei.c | 2 +-
17508 fs/cachefiles/proc.c | 12 +-
17509 fs/ceph/dir.c | 12 +-
17510 fs/ceph/super.c | 4 +-
17511 fs/cifs/cifs_debug.c | 12 +-
17512 fs/cifs/cifsfs.c | 8 +-
17513 fs/cifs/cifsglob.h | 54 +-
17514 fs/cifs/file.c | 10 +-
17515 fs/cifs/misc.c | 4 +-
17516 fs/cifs/smb1ops.c | 80 +-
17517 fs/cifs/smb2ops.c | 84 +-
17518 fs/cifs/smb2pdu.c | 3 +-
17519 fs/coda/cache.c | 10 +-
17520 fs/compat.c | 4 +-
17521 fs/compat_binfmt_elf.c | 2 +
17522 fs/compat_ioctl.c | 12 +-
17523 fs/configfs/dir.c | 10 +-
17524 fs/coredump.c | 16 +-
17525 fs/dcache.c | 51 +-
17526 fs/ecryptfs/inode.c | 2 +-
17527 fs/ecryptfs/miscdev.c | 2 +-
17528 fs/exec.c | 362 +-
17529 fs/ext2/xattr.c | 5 +-
17530 fs/ext4/ext4.h | 20 +-
17531 fs/ext4/mballoc.c | 44 +-
17532 fs/ext4/resize.c | 16 +-
17533 fs/ext4/super.c | 4 +-
17534 fs/ext4/xattr.c | 5 +-
17535 fs/fhandle.c | 3 +-
17536 fs/file.c | 4 +-
17537 fs/fs_struct.c | 8 +-
17538 fs/fscache/cookie.c | 40 +-
17539 fs/fscache/internal.h | 202 +-
17540 fs/fscache/object.c | 26 +-
17541 fs/fscache/operation.c | 38 +-
17542 fs/fscache/page.c | 110 +-
17543 fs/fscache/stats.c | 348 +-
17544 fs/fuse/cuse.c | 10 +-
17545 fs/fuse/dev.c | 4 +-
17546 fs/gfs2/glock.c | 22 +-
17547 fs/gfs2/glops.c | 4 +-
17548 fs/gfs2/quota.c | 6 +-
17549 fs/hugetlbfs/inode.c | 13 +-
17550 fs/inode.c | 4 +-
17551 fs/jffs2/erase.c | 3 +-
17552 fs/jffs2/wbuf.c | 3 +-
17553 fs/jfs/super.c | 2 +-
17554 fs/kernfs/dir.c | 2 +-
17555 fs/kernfs/file.c | 20 +-
17556 fs/libfs.c | 10 +-
17557 fs/lockd/clntproc.c | 4 +-
17558 fs/namei.c | 16 +-
17559 fs/namespace.c | 16 +-
17560 fs/nfs/callback_xdr.c | 2 +-
17561 fs/nfs/inode.c | 6 +-
17562 fs/nfsd/nfs4proc.c | 2 +-
17563 fs/nfsd/nfs4xdr.c | 2 +-
17564 fs/nfsd/nfscache.c | 11 +-
17565 fs/nfsd/vfs.c | 6 +-
17566 fs/nls/nls_base.c | 26 +-
17567 fs/nls/nls_euc-jp.c | 6 +-
17568 fs/nls/nls_koi8-ru.c | 6 +-
17569 fs/notify/fanotify/fanotify_user.c | 4 +-
17570 fs/notify/notification.c | 4 +-
17571 fs/ntfs/dir.c | 2 +-
17572 fs/ntfs/super.c | 6 +-
17573 fs/ocfs2/localalloc.c | 2 +-
17574 fs/ocfs2/ocfs2.h | 10 +-
17575 fs/ocfs2/suballoc.c | 12 +-
17576 fs/ocfs2/super.c | 20 +-
17577 fs/pipe.c | 72 +-
17578 fs/posix_acl.c | 4 +-
17579 fs/proc/array.c | 20 +
17580 fs/proc/base.c | 4 +-
17581 fs/proc/kcore.c | 34 +-
17582 fs/proc/meminfo.c | 2 +-
17583 fs/proc/nommu.c | 2 +-
17584 fs/proc/proc_sysctl.c | 26 +-
17585 fs/proc/task_mmu.c | 39 +-
17586 fs/proc/task_nommu.c | 4 +-
17587 fs/proc/vmcore.c | 16 +-
17588 fs/qnx6/qnx6.h | 4 +-
17589 fs/quota/netlink.c | 4 +-
17590 fs/read_write.c | 2 +-
17591 fs/reiserfs/do_balan.c | 2 +-
17592 fs/reiserfs/procfs.c | 2 +-
17593 fs/reiserfs/reiserfs.h | 4 +-
17594 fs/seq_file.c | 4 +-
17595 fs/splice.c | 43 +-
17596 fs/squashfs/xattr.c | 12 +-
17597 fs/sysv/sysv.h | 2 +-
17598 fs/tracefs/inode.c | 8 +-
17599 fs/udf/misc.c | 2 +-
17600 fs/ufs/swab.h | 4 +-
17601 fs/userfaultfd.c | 2 +-
17602 fs/xattr.c | 21 +
17603 fs/xfs/libxfs/xfs_bmap.c | 2 +-
17604 fs/xfs/xfs_dir2_readdir.c | 7 +-
17605 fs/xfs/xfs_ioctl.c | 2 +-
17606 fs/xfs/xfs_linux.h | 4 +-
17607 include/asm-generic/4level-fixup.h | 2 +
17608 include/asm-generic/atomic-long.h | 156 +-
17609 include/asm-generic/atomic64.h | 12 +
17610 include/asm-generic/bitops/__fls.h | 2 +-
17611 include/asm-generic/bitops/fls.h | 2 +-
17612 include/asm-generic/bitops/fls64.h | 4 +-
17613 include/asm-generic/bug.h | 6 +-
17614 include/asm-generic/cache.h | 4 +-
17615 include/asm-generic/emergency-restart.h | 2 +-
17616 include/asm-generic/kmap_types.h | 4 +-
17617 include/asm-generic/local.h | 13 +
17618 include/asm-generic/pgtable-nopmd.h | 18 +-
17619 include/asm-generic/pgtable-nopud.h | 15 +-
17620 include/asm-generic/pgtable.h | 16 +
17621 include/asm-generic/sections.h | 1 +
17622 include/asm-generic/uaccess.h | 16 +
17623 include/asm-generic/vmlinux.lds.h | 15 +-
17624 include/crypto/algapi.h | 2 +-
17625 include/drm/drmP.h | 16 +-
17626 include/drm/drm_crtc_helper.h | 2 +-
17627 include/drm/drm_mm.h | 2 +-
17628 include/drm/i915_pciids.h | 2 +-
17629 include/drm/intel-gtt.h | 4 +-
17630 include/drm/ttm/ttm_memory.h | 2 +-
17631 include/drm/ttm/ttm_page_alloc.h | 1 +
17632 include/keys/asymmetric-subtype.h | 2 +-
17633 include/linux/atmdev.h | 4 +-
17634 include/linux/atomic.h | 17 +-
17635 include/linux/audit.h | 2 +-
17636 include/linux/average.h | 2 +-
17637 include/linux/binfmts.h | 3 +-
17638 include/linux/bitmap.h | 2 +-
17639 include/linux/bitops.h | 8 +-
17640 include/linux/blkdev.h | 2 +-
17641 include/linux/blktrace_api.h | 2 +-
17642 include/linux/cache.h | 8 +
17643 include/linux/cdrom.h | 1 -
17644 include/linux/cleancache.h | 2 +-
17645 include/linux/clk-provider.h | 1 +
17646 include/linux/compat.h | 6 +-
17647 include/linux/compiler-gcc.h | 28 +-
17648 include/linux/compiler.h | 157 +-
17649 include/linux/configfs.h | 2 +-
17650 include/linux/cpufreq.h | 3 +-
17651 include/linux/cpuidle.h | 5 +-
17652 include/linux/cpumask.h | 14 +-
17653 include/linux/crypto.h | 4 +-
17654 include/linux/ctype.h | 2 +-
17655 include/linux/dcache.h | 4 +-
17656 include/linux/decompress/mm.h | 2 +-
17657 include/linux/devfreq.h | 2 +-
17658 include/linux/device.h | 7 +-
17659 include/linux/dma-mapping.h | 2 +-
17660 include/linux/efi.h | 1 +
17661 include/linux/elf.h | 2 +
17662 include/linux/err.h | 4 +-
17663 include/linux/extcon.h | 2 +-
17664 include/linux/fb.h | 3 +-
17665 include/linux/fdtable.h | 2 +-
17666 include/linux/fs.h | 5 +-
17667 include/linux/fs_struct.h | 2 +-
17668 include/linux/fscache-cache.h | 2 +-
17669 include/linux/fscache.h | 2 +-
17670 include/linux/fsnotify.h | 2 +-
17671 include/linux/genhd.h | 4 +-
17672 include/linux/genl_magic_func.h | 2 +-
17673 include/linux/gfp.h | 12 +-
17674 include/linux/highmem.h | 12 +
17675 include/linux/hwmon-sysfs.h | 6 +-
17676 include/linux/i2c.h | 1 +
17677 include/linux/if_pppox.h | 2 +-
17678 include/linux/init.h | 12 +-
17679 include/linux/init_task.h | 7 +
17680 include/linux/interrupt.h | 6 +-
17681 include/linux/iommu.h | 2 +-
17682 include/linux/ioport.h | 2 +-
17683 include/linux/ipc.h | 2 +-
17684 include/linux/irq.h | 5 +-
17685 include/linux/irqdesc.h | 2 +-
17686 include/linux/irqdomain.h | 3 +
17687 include/linux/jiffies.h | 16 +-
17688 include/linux/key-type.h | 2 +-
17689 include/linux/kgdb.h | 6 +-
17690 include/linux/kmemleak.h | 4 +-
17691 include/linux/kobject.h | 3 +-
17692 include/linux/kobject_ns.h | 2 +-
17693 include/linux/kref.h | 2 +-
17694 include/linux/libata.h | 2 +-
17695 include/linux/linkage.h | 1 +
17696 include/linux/list.h | 15 +
17697 include/linux/lockref.h | 26 +-
17698 include/linux/math64.h | 10 +-
17699 include/linux/mempolicy.h | 7 +
17700 include/linux/mm.h | 102 +-
17701 include/linux/mm_types.h | 20 +
17702 include/linux/mmiotrace.h | 4 +-
17703 include/linux/mmzone.h | 2 +-
17704 include/linux/mod_devicetable.h | 4 +-
17705 include/linux/module.h | 69 +-
17706 include/linux/moduleloader.h | 16 +
17707 include/linux/moduleparam.h | 4 +-
17708 include/linux/net.h | 2 +-
17709 include/linux/netdevice.h | 7 +-
17710 include/linux/netfilter.h | 2 +-
17711 include/linux/netfilter/nfnetlink.h | 2 +-
17712 include/linux/nls.h | 4 +-
17713 include/linux/notifier.h | 3 +-
17714 include/linux/oprofile.h | 4 +-
17715 include/linux/padata.h | 2 +-
17716 include/linux/pci_hotplug.h | 3 +-
17717 include/linux/percpu.h | 2 +-
17718 include/linux/perf_event.h | 12 +-
17719 include/linux/pipe_fs_i.h | 8 +-
17720 include/linux/pm.h | 1 +
17721 include/linux/pm_domain.h | 4 +-
17722 include/linux/pm_runtime.h | 2 +-
17723 include/linux/pnp.h | 2 +-
17724 include/linux/poison.h | 4 +-
17725 include/linux/power/smartreflex.h | 2 +-
17726 include/linux/ppp-comp.h | 2 +-
17727 include/linux/preempt.h | 21 +
17728 include/linux/proc_ns.h | 2 +-
17729 include/linux/psci.h | 2 +-
17730 include/linux/quota.h | 2 +-
17731 include/linux/random.h | 19 +-
17732 include/linux/rculist.h | 16 +
17733 include/linux/reboot.h | 14 +-
17734 include/linux/regset.h | 3 +-
17735 include/linux/relay.h | 2 +-
17736 include/linux/rio.h | 2 +-
17737 include/linux/rmap.h | 4 +-
17738 include/linux/sched.h | 72 +-
17739 include/linux/sched/sysctl.h | 1 +
17740 include/linux/semaphore.h | 2 +-
17741 include/linux/seq_file.h | 1 +
17742 include/linux/signal.h | 2 +-
17743 include/linux/skbuff.h | 12 +-
17744 include/linux/slab.h | 47 +-
17745 include/linux/slab_def.h | 14 +-
17746 include/linux/slub_def.h | 2 +-
17747 include/linux/smp.h | 2 +
17748 include/linux/sock_diag.h | 2 +-
17749 include/linux/sonet.h | 2 +-
17750 include/linux/sunrpc/addr.h | 8 +-
17751 include/linux/sunrpc/clnt.h | 2 +-
17752 include/linux/sunrpc/svc.h | 2 +-
17753 include/linux/sunrpc/svc_rdma.h | 18 +-
17754 include/linux/sunrpc/svcauth.h | 2 +-
17755 include/linux/swapops.h | 10 +-
17756 include/linux/swiotlb.h | 3 +-
17757 include/linux/syscalls.h | 21 +-
17758 include/linux/syscore_ops.h | 2 +-
17759 include/linux/sysctl.h | 3 +-
17760 include/linux/sysfs.h | 9 +-
17761 include/linux/sysrq.h | 3 +-
17762 include/linux/tcp.h | 14 +-
17763 include/linux/thread_info.h | 7 +
17764 include/linux/tty.h | 4 +-
17765 include/linux/tty_driver.h | 2 +-
17766 include/linux/tty_ldisc.h | 2 +-
17767 include/linux/types.h | 16 +
17768 include/linux/uaccess.h | 6 +-
17769 include/linux/uio_driver.h | 2 +-
17770 include/linux/unaligned/access_ok.h | 24 +-
17771 include/linux/usb.h | 12 +-
17772 include/linux/usb/hcd.h | 1 +
17773 include/linux/usb/renesas_usbhs.h | 2 +-
17774 include/linux/vermagic.h | 21 +-
17775 include/linux/vga_switcheroo.h | 8 +-
17776 include/linux/vmalloc.h | 7 +-
17777 include/linux/vmstat.h | 24 +-
17778 include/linux/xattr.h | 5 +-
17779 include/linux/zlib.h | 3 +-
17780 include/media/v4l2-dev.h | 2 +-
17781 include/media/v4l2-device.h | 2 +-
17782 include/net/9p/transport.h | 2 +-
17783 include/net/bluetooth/l2cap.h | 2 +-
17784 include/net/bonding.h | 2 +-
17785 include/net/caif/cfctrl.h | 6 +-
17786 include/net/flow.h | 2 +-
17787 include/net/genetlink.h | 2 +-
17788 include/net/gro_cells.h | 2 +-
17789 include/net/inet_connection_sock.h | 2 +-
17790 include/net/inet_sock.h | 2 +-
17791 include/net/inetpeer.h | 2 +-
17792 include/net/ip_fib.h | 2 +-
17793 include/net/ip_vs.h | 8 +-
17794 include/net/ipv6.h | 2 +-
17795 include/net/irda/ircomm_tty.h | 1 +
17796 include/net/iucv/af_iucv.h | 2 +-
17797 include/net/llc_c_ac.h | 2 +-
17798 include/net/llc_c_ev.h | 4 +-
17799 include/net/llc_c_st.h | 2 +-
17800 include/net/llc_s_ac.h | 2 +-
17801 include/net/llc_s_st.h | 2 +-
17802 include/net/mac80211.h | 4 +-
17803 include/net/neighbour.h | 2 +-
17804 include/net/net_namespace.h | 18 +-
17805 include/net/netlink.h | 2 +-
17806 include/net/netns/conntrack.h | 6 +-
17807 include/net/netns/ipv4.h | 4 +-
17808 include/net/netns/ipv6.h | 4 +-
17809 include/net/netns/xfrm.h | 2 +-
17810 include/net/ping.h | 2 +-
17811 include/net/protocol.h | 4 +-
17812 include/net/rtnetlink.h | 2 +-
17813 include/net/sctp/checksum.h | 4 +-
17814 include/net/sctp/sm.h | 4 +-
17815 include/net/sctp/structs.h | 2 +-
17816 include/net/sock.h | 12 +-
17817 include/net/tcp.h | 8 +-
17818 include/net/xfrm.h | 13 +-
17819 include/rdma/iw_cm.h | 2 +-
17820 include/scsi/libfc.h | 3 +-
17821 include/scsi/scsi_device.h | 6 +-
17822 include/scsi/scsi_driver.h | 2 +-
17823 include/scsi/scsi_transport_fc.h | 3 +-
17824 include/scsi/sg.h | 2 +-
17825 include/sound/compress_driver.h | 2 +-
17826 include/sound/soc.h | 4 +-
17827 include/trace/events/irq.h | 4 +-
17828 include/uapi/linux/a.out.h | 8 +
17829 include/uapi/linux/bcache.h | 5 +-
17830 include/uapi/linux/byteorder/little_endian.h | 28 +-
17831 include/uapi/linux/connector.h | 2 +-
17832 include/uapi/linux/elf.h | 28 +
17833 include/uapi/linux/screen_info.h | 3 +-
17834 include/uapi/linux/swab.h | 6 +-
17835 include/uapi/linux/xattr.h | 4 +
17836 include/video/udlfb.h | 8 +-
17837 include/video/uvesafb.h | 1 +
17838 init/Kconfig | 2 +-
17839 init/Makefile | 3 +
17840 init/do_mounts.c | 14 +-
17841 init/do_mounts.h | 8 +-
17842 init/do_mounts_initrd.c | 30 +-
17843 init/do_mounts_md.c | 6 +-
17844 init/init_task.c | 4 +
17845 init/initramfs.c | 38 +-
17846 init/main.c | 30 +-
17847 ipc/compat.c | 4 +-
17848 ipc/ipc_sysctl.c | 8 +-
17849 ipc/mq_sysctl.c | 4 +-
17850 ipc/sem.c | 4 +-
17851 ipc/shm.c | 6 +
17852 kernel/audit.c | 8 +-
17853 kernel/auditsc.c | 4 +-
17854 kernel/bpf/core.c | 7 +-
17855 kernel/capability.c | 3 +
17856 kernel/compat.c | 38 +-
17857 kernel/debug/debug_core.c | 16 +-
17858 kernel/debug/kdb/kdb_main.c | 4 +-
17859 kernel/events/core.c | 26 +-
17860 kernel/events/internal.h | 10 +-
17861 kernel/events/uprobes.c | 2 +-
17862 kernel/exit.c | 2 +-
17863 kernel/fork.c | 167 +-
17864 kernel/futex.c | 11 +-
17865 kernel/futex_compat.c | 2 +-
17866 kernel/gcov/base.c | 7 +-
17867 kernel/irq/manage.c | 2 +-
17868 kernel/irq/msi.c | 19 +-
17869 kernel/irq/spurious.c | 2 +-
17870 kernel/jump_label.c | 5 +
17871 kernel/kallsyms.c | 37 +-
17872 kernel/kexec.c | 3 +-
17873 kernel/kmod.c | 8 +-
17874 kernel/kprobes.c | 4 +-
17875 kernel/ksysfs.c | 2 +-
17876 kernel/locking/lockdep.c | 7 +-
17877 kernel/locking/mutex-debug.c | 12 +-
17878 kernel/locking/mutex-debug.h | 4 +-
17879 kernel/locking/mutex.c | 6 +-
17880 kernel/module.c | 422 +-
17881 kernel/notifier.c | 17 +-
17882 kernel/padata.c | 4 +-
17883 kernel/panic.c | 5 +-
17884 kernel/pid.c | 2 +-
17885 kernel/pid_namespace.c | 2 +-
17886 kernel/power/process.c | 12 +-
17887 kernel/profile.c | 14 +-
17888 kernel/ptrace.c | 8 +-
17889 kernel/rcu/rcutorture.c | 60 +-
17890 kernel/rcu/tiny.c | 4 +-
17891 kernel/rcu/tree.c | 44 +-
17892 kernel/rcu/tree.h | 14 +-
17893 kernel/rcu/tree_plugin.h | 14 +-
17894 kernel/rcu/tree_trace.c | 12 +-
17895 kernel/sched/auto_group.c | 4 +-
17896 kernel/sched/core.c | 45 +-
17897 kernel/sched/fair.c | 2 +-
17898 kernel/sched/sched.h | 2 +-
17899 kernel/signal.c | 12 +-
17900 kernel/smpboot.c | 4 +-
17901 kernel/softirq.c | 12 +-
17902 kernel/sys.c | 10 +-
17903 kernel/sysctl.c | 34 +-
17904 kernel/time/alarmtimer.c | 2 +-
17905 kernel/time/posix-cpu-timers.c | 4 +-
17906 kernel/time/posix-timers.c | 24 +-
17907 kernel/time/timer.c | 2 +-
17908 kernel/time/timer_stats.c | 10 +-
17909 kernel/trace/blktrace.c | 6 +-
17910 kernel/trace/ftrace.c | 15 +-
17911 kernel/trace/ring_buffer.c | 96 +-
17912 kernel/trace/trace.c | 2 +-
17913 kernel/trace/trace.h | 2 +-
17914 kernel/trace/trace_clock.c | 4 +-
17915 kernel/trace/trace_events.c | 1 -
17916 kernel/trace/trace_functions_graph.c | 4 +-
17917 kernel/trace/trace_mmiotrace.c | 8 +-
17918 kernel/trace/trace_output.c | 10 +-
17919 kernel/trace/trace_seq.c | 2 +-
17920 kernel/trace/trace_stack.c | 2 +-
17921 kernel/user_namespace.c | 2 +-
17922 kernel/utsname_sysctl.c | 2 +-
17923 kernel/watchdog.c | 2 +-
17924 kernel/workqueue.c | 2 +-
17925 lib/Kconfig.debug | 8 +-
17926 lib/Makefile | 2 +-
17927 lib/bitmap.c | 8 +-
17928 lib/bug.c | 2 +
17929 lib/debugobjects.c | 2 +-
17930 lib/decompress_bunzip2.c | 3 +-
17931 lib/decompress_unlzma.c | 4 +-
17932 lib/div64.c | 4 +-
17933 lib/dma-debug.c | 4 +-
17934 lib/inflate.c | 2 +-
17935 lib/ioremap.c | 4 +-
17936 lib/kobject.c | 4 +-
17937 lib/list_debug.c | 126 +-
17938 lib/lockref.c | 44 +-
17939 lib/percpu-refcount.c | 2 +-
17940 lib/radix-tree.c | 2 +-
17941 lib/random32.c | 2 +-
17942 lib/show_mem.c | 2 +-
17943 lib/strncpy_from_user.c | 2 +-
17944 lib/strnlen_user.c | 2 +-
17945 lib/swiotlb.c | 2 +-
17946 lib/usercopy.c | 6 +
17947 lib/vsprintf.c | 12 +-
17948 mm/Kconfig | 6 +-
17949 mm/backing-dev.c | 4 +-
17950 mm/debug.c | 3 +
17951 mm/filemap.c | 2 +-
17952 mm/gup.c | 13 +-
17953 mm/highmem.c | 6 +-
17954 mm/hugetlb.c | 70 +-
17955 mm/internal.h | 1 +
17956 mm/maccess.c | 4 +-
17957 mm/madvise.c | 37 +
17958 mm/memory-failure.c | 6 +-
17959 mm/memory.c | 424 +-
17960 mm/mempolicy.c | 25 +
17961 mm/mlock.c | 15 +-
17962 mm/mm_init.c | 2 +-
17963 mm/mmap.c | 582 +-
17964 mm/mprotect.c | 137 +-
17965 mm/mremap.c | 39 +-
17966 mm/nommu.c | 21 +-
17967 mm/page-writeback.c | 2 +-
17968 mm/page_alloc.c | 49 +-
17969 mm/percpu.c | 2 +-
17970 mm/process_vm_access.c | 14 +-
17971 mm/rmap.c | 45 +-
17972 mm/shmem.c | 19 +-
17973 mm/slab.c | 109 +-
17974 mm/slab.h | 22 +-
17975 mm/slab_common.c | 86 +-
17976 mm/slob.c | 218 +-
17977 mm/slub.c | 102 +-
17978 mm/sparse-vmemmap.c | 4 +-
17979 mm/sparse.c | 2 +-
17980 mm/swap.c | 2 +
17981 mm/swapfile.c | 12 +-
17982 mm/util.c | 6 +
17983 mm/vmalloc.c | 114 +-
17984 mm/vmstat.c | 12 +-
17985 net/8021q/vlan.c | 5 +-
17986 net/8021q/vlan_netlink.c | 2 +-
17987 net/9p/mod.c | 4 +-
17988 net/9p/trans_fd.c | 2 +-
17989 net/atm/atm_misc.c | 8 +-
17990 net/atm/lec.h | 2 +-
17991 net/atm/proc.c | 6 +-
17992 net/atm/resources.c | 4 +-
17993 net/ax25/sysctl_net_ax25.c | 2 +-
17994 net/batman-adv/bat_iv_ogm.c | 8 +-
17995 net/batman-adv/fragmentation.c | 2 +-
17996 net/batman-adv/soft-interface.c | 8 +-
17997 net/batman-adv/types.h | 6 +-
17998 net/bluetooth/hci_sock.c | 2 +-
17999 net/bluetooth/l2cap_core.c | 6 +-
18000 net/bluetooth/l2cap_sock.c | 12 +-
18001 net/bluetooth/rfcomm/sock.c | 4 +-
18002 net/bluetooth/rfcomm/tty.c | 4 +-
18003 net/bridge/br_netlink.c | 2 +-
18004 net/bridge/netfilter/ebtables.c | 6 +-
18005 net/caif/cfctrl.c | 11 +-
18006 net/caif/chnl_net.c | 2 +-
18007 net/can/af_can.c | 2 +-
18008 net/can/gw.c | 6 +-
18009 net/ceph/messenger.c | 4 +-
18010 net/compat.c | 24 +-
18011 net/core/datagram.c | 2 +-
18012 net/core/dev.c | 16 +-
18013 net/core/filter.c | 2 +-
18014 net/core/flow.c | 6 +-
18015 net/core/neighbour.c | 4 +-
18016 net/core/net-sysfs.c | 2 +-
18017 net/core/net_namespace.c | 8 +-
18018 net/core/netpoll.c | 4 +-
18019 net/core/rtnetlink.c | 15 +-
18020 net/core/scm.c | 14 +-
18021 net/core/skbuff.c | 8 +-
18022 net/core/sock.c | 28 +-
18023 net/core/sock_diag.c | 15 +-
18024 net/core/sysctl_net_core.c | 22 +-
18025 net/decnet/af_decnet.c | 1 +
18026 net/decnet/sysctl_net_decnet.c | 4 +-
18027 net/dsa/dsa.c | 2 +-
18028 net/hsr/hsr_netlink.c | 2 +-
18029 net/ieee802154/6lowpan/core.c | 2 +-
18030 net/ieee802154/6lowpan/reassembly.c | 14 +-
18031 net/ipv4/af_inet.c | 2 +-
18032 net/ipv4/devinet.c | 18 +-
18033 net/ipv4/fib_frontend.c | 6 +-
18034 net/ipv4/fib_semantics.c | 2 +-
18035 net/ipv4/inet_connection_sock.c | 4 +-
18036 net/ipv4/inet_timewait_sock.c | 2 +-
18037 net/ipv4/inetpeer.c | 2 +-
18038 net/ipv4/ip_fragment.c | 15 +-
18039 net/ipv4/ip_gre.c | 6 +-
18040 net/ipv4/ip_sockglue.c | 2 +-
18041 net/ipv4/ip_vti.c | 4 +-
18042 net/ipv4/ipconfig.c | 6 +-
18043 net/ipv4/ipip.c | 4 +-
18044 net/ipv4/netfilter/arp_tables.c | 12 +-
18045 net/ipv4/netfilter/ip_tables.c | 12 +-
18046 net/ipv4/ping.c | 14 +-
18047 net/ipv4/raw.c | 14 +-
18048 net/ipv4/route.c | 32 +-
18049 net/ipv4/sysctl_net_ipv4.c | 22 +-
18050 net/ipv4/tcp_input.c | 6 +-
18051 net/ipv4/tcp_probe.c | 2 +-
18052 net/ipv4/udp.c | 10 +-
18053 net/ipv4/xfrm4_policy.c | 18 +-
18054 net/ipv6/addrconf.c | 18 +-
18055 net/ipv6/af_inet6.c | 2 +-
18056 net/ipv6/datagram.c | 2 +-
18057 net/ipv6/icmp.c | 2 +-
18058 net/ipv6/ip6_fib.c | 4 +-
18059 net/ipv6/ip6_gre.c | 10 +-
18060 net/ipv6/ip6_tunnel.c | 4 +-
18061 net/ipv6/ip6_vti.c | 4 +-
18062 net/ipv6/ipv6_sockglue.c | 2 +-
18063 net/ipv6/netfilter/ip6_tables.c | 12 +-
18064 net/ipv6/netfilter/nf_conntrack_reasm.c | 14 +-
18065 net/ipv6/ping.c | 33 +-
18066 net/ipv6/raw.c | 17 +-
18067 net/ipv6/reassembly.c | 13 +-
18068 net/ipv6/route.c | 2 +-
18069 net/ipv6/sit.c | 4 +-
18070 net/ipv6/sysctl_net_ipv6.c | 2 +-
18071 net/ipv6/udp.c | 6 +-
18072 net/ipv6/xfrm6_policy.c | 17 +-
18073 net/irda/ircomm/ircomm_tty.c | 18 +-
18074 net/iucv/af_iucv.c | 4 +-
18075 net/iucv/iucv.c | 2 +-
18076 net/key/af_key.c | 4 +-
18077 net/l2tp/l2tp_eth.c | 38 +-
18078 net/l2tp/l2tp_ip.c | 2 +-
18079 net/l2tp/l2tp_ip6.c | 2 +-
18080 net/mac80211/cfg.c | 8 +-
18081 net/mac80211/ieee80211_i.h | 3 +-
18082 net/mac80211/iface.c | 20 +-
18083 net/mac80211/main.c | 2 +-
18084 net/mac80211/pm.c | 4 +-
18085 net/mac80211/rate.c | 2 +-
18086 net/mac80211/sta_info.c | 2 +-
18087 net/mac80211/util.c | 8 +-
18088 net/mpls/af_mpls.c | 6 +-
18089 net/netfilter/ipset/ip_set_core.c | 2 +-
18090 net/netfilter/ipvs/ip_vs_conn.c | 6 +-
18091 net/netfilter/ipvs/ip_vs_core.c | 4 +-
18092 net/netfilter/ipvs/ip_vs_ctl.c | 14 +-
18093 net/netfilter/ipvs/ip_vs_lblc.c | 2 +-
18094 net/netfilter/ipvs/ip_vs_lblcr.c | 2 +-
18095 net/netfilter/ipvs/ip_vs_sync.c | 6 +-
18096 net/netfilter/ipvs/ip_vs_xmit.c | 4 +-
18097 net/netfilter/nf_conntrack_acct.c | 2 +-
18098 net/netfilter/nf_conntrack_ecache.c | 2 +-
18099 net/netfilter/nf_conntrack_helper.c | 2 +-
18100 net/netfilter/nf_conntrack_proto.c | 2 +-
18101 net/netfilter/nf_conntrack_standalone.c | 2 +-
18102 net/netfilter/nf_conntrack_timestamp.c | 2 +-
18103 net/netfilter/nf_log.c | 10 +-
18104 net/netfilter/nf_sockopt.c | 4 +-
18105 net/netfilter/nfnetlink_log.c | 4 +-
18106 net/netfilter/nft_compat.c | 9 +-
18107 net/netfilter/xt_statistic.c | 8 +-
18108 net/netlink/af_netlink.c | 4 +-
18109 net/openvswitch/vport-internal_dev.c | 2 +-
18110 net/packet/af_packet.c | 8 +-
18111 net/phonet/pep.c | 6 +-
18112 net/phonet/socket.c | 2 +-
18113 net/phonet/sysctl.c | 2 +-
18114 net/rds/cong.c | 6 +-
18115 net/rds/ib.h | 2 +-
18116 net/rds/ib_cm.c | 2 +-
18117 net/rds/ib_recv.c | 4 +-
18118 net/rds/iw.h | 2 +-
18119 net/rds/iw_cm.c | 2 +-
18120 net/rds/iw_recv.c | 4 +-
18121 net/rds/rds.h | 2 +-
18122 net/rds/tcp.c | 2 +-
18123 net/rds/tcp_send.c | 2 +-
18124 net/rxrpc/af_rxrpc.c | 2 +-
18125 net/rxrpc/ar-ack.c | 14 +-
18126 net/rxrpc/ar-call.c | 2 +-
18127 net/rxrpc/ar-connection.c | 2 +-
18128 net/rxrpc/ar-connevent.c | 2 +-
18129 net/rxrpc/ar-input.c | 4 +-
18130 net/rxrpc/ar-internal.h | 8 +-
18131 net/rxrpc/ar-local.c | 2 +-
18132 net/rxrpc/ar-output.c | 4 +-
18133 net/rxrpc/ar-peer.c | 2 +-
18134 net/rxrpc/ar-proc.c | 4 +-
18135 net/rxrpc/ar-transport.c | 2 +-
18136 net/rxrpc/rxkad.c | 4 +-
18137 net/sched/sch_generic.c | 4 +-
18138 net/sctp/ipv6.c | 6 +-
18139 net/sctp/protocol.c | 10 +-
18140 net/sctp/sm_sideeffect.c | 2 +-
18141 net/sctp/socket.c | 21 +-
18142 net/sctp/sysctl.c | 10 +-
18143 net/socket.c | 18 +-
18144 net/sunrpc/auth_gss/svcauth_gss.c | 4 +-
18145 net/sunrpc/clnt.c | 4 +-
18146 net/sunrpc/sched.c | 4 +-
18147 net/sunrpc/svc.c | 4 +-
18148 net/sunrpc/svcauth_unix.c | 2 +-
18149 net/sunrpc/xprtrdma/svc_rdma.c | 38 +-
18150 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 8 +-
18151 net/sunrpc/xprtrdma/svc_rdma_sendto.c | 2 +-
18152 net/sunrpc/xprtrdma/svc_rdma_transport.c | 10 +-
18153 net/tipc/netlink_compat.c | 12 +-
18154 net/tipc/subscr.c | 2 +-
18155 net/unix/af_unix.c | 7 +-
18156 net/unix/sysctl_net_unix.c | 2 +-
18157 net/wireless/wext-core.c | 19 +-
18158 net/xfrm/xfrm_policy.c | 16 +-
18159 net/xfrm/xfrm_state.c | 33 +-
18160 net/xfrm/xfrm_sysctl.c | 2 +-
18161 scripts/Kbuild.include | 2 +-
18162 scripts/Makefile.build | 2 +-
18163 scripts/Makefile.clean | 3 +-
18164 scripts/Makefile.host | 69 +-
18165 scripts/basic/fixdep.c | 12 +-
18166 scripts/dtc/checks.c | 14 +-
18167 scripts/dtc/data.c | 6 +-
18168 scripts/dtc/flattree.c | 8 +-
18169 scripts/dtc/livetree.c | 4 +-
18170 scripts/gcc-plugin.sh | 51 +
18171 scripts/headers_install.sh | 1 +
18172 scripts/kallsyms.c | 4 +-
18173 scripts/kconfig/lkc.h | 5 +-
18174 scripts/kconfig/menu.c | 2 +-
18175 scripts/kconfig/symbol.c | 6 +-
18176 scripts/link-vmlinux.sh | 2 +-
18177 scripts/mod/file2alias.c | 14 +-
18178 scripts/mod/modpost.c | 25 +-
18179 scripts/mod/modpost.h | 6 +-
18180 scripts/mod/sumversion.c | 2 +-
18181 scripts/module-common.lds | 4 +
18182 scripts/package/builddeb | 1 +
18183 scripts/pnmtologo.c | 6 +-
18184 scripts/sortextable.h | 6 +-
18185 scripts/tags.sh | 2 +-
18186 security/Kconfig | 692 +-
18187 security/integrity/ima/ima.h | 4 +-
18188 security/integrity/ima/ima_api.c | 2 +-
18189 security/integrity/ima/ima_fs.c | 4 +-
18190 security/integrity/ima/ima_queue.c | 2 +-
18191 security/keys/key.c | 18 +-
18192 security/selinux/avc.c | 6 +-
18193 security/selinux/include/xfrm.h | 2 +-
18194 security/yama/yama_lsm.c | 2 +-
18195 sound/aoa/codecs/onyx.c | 7 +-
18196 sound/aoa/codecs/onyx.h | 1 +
18197 sound/core/oss/pcm_oss.c | 18 +-
18198 sound/core/pcm_compat.c | 2 +-
18199 sound/core/pcm_native.c | 4 +-
18200 sound/core/sound.c | 2 +-
18201 sound/drivers/mts64.c | 14 +-
18202 sound/drivers/opl4/opl4_lib.c | 2 +-
18203 sound/drivers/portman2x4.c | 3 +-
18204 sound/firewire/amdtp.c | 4 +-
18205 sound/firewire/amdtp.h | 4 +-
18206 sound/firewire/isight.c | 10 +-
18207 sound/firewire/scs1x.c | 8 +-
18208 sound/oss/sb_audio.c | 2 +-
18209 sound/oss/swarm_cs4297a.c | 6 +-
18210 sound/pci/hda/hda_codec.c | 2 +-
18211 sound/pci/ymfpci/ymfpci.h | 2 +-
18212 sound/pci/ymfpci/ymfpci_main.c | 12 +-
18213 sound/soc/codecs/sti-sas.c | 10 +-
18214 sound/soc/soc-ac97.c | 6 +-
18215 sound/soc/xtensa/xtfpga-i2s.c | 2 +-
18216 tools/gcc/Makefile | 42 +
18217 tools/gcc/checker_plugin.c | 150 +
18218 tools/gcc/colorize_plugin.c | 215 +
18219 tools/gcc/constify_plugin.c | 571 +
18220 tools/gcc/gcc-common.h | 812 +
18221 tools/gcc/initify_plugin.c | 552 +
18222 tools/gcc/kallocstat_plugin.c | 188 +
18223 tools/gcc/kernexec_plugin.c | 549 +
18224 tools/gcc/latent_entropy_plugin.c | 470 +
18225 tools/gcc/size_overflow_plugin/.gitignore | 2 +
18226 tools/gcc/size_overflow_plugin/Makefile | 28 +
18227 .../disable_size_overflow_hash.data |12422 ++++++++++++
18228 .../generate_size_overflow_hash.sh | 103 +
18229 .../insert_size_overflow_asm.c | 416 +
18230 .../size_overflow_plugin/intentional_overflow.c | 1010 +
18231 .../size_overflow_plugin/remove_unnecessary_dup.c | 137 +
18232 tools/gcc/size_overflow_plugin/size_overflow.h | 323 +
18233 .../gcc/size_overflow_plugin/size_overflow_debug.c | 194 +
18234 .../size_overflow_plugin/size_overflow_hash.data |20735 ++++++++++++++++++++
18235 .../size_overflow_hash_aux.data | 92 +
18236 tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 1226 ++
18237 .../gcc/size_overflow_plugin/size_overflow_misc.c | 505 +
18238 .../size_overflow_plugin/size_overflow_plugin.c | 318 +
18239 .../size_overflow_plugin_hash.c | 352 +
18240 .../size_overflow_plugin/size_overflow_transform.c | 749 +
18241 .../size_overflow_transform_core.c | 1010 +
18242 tools/gcc/stackleak_plugin.c | 436 +
18243 tools/gcc/structleak_plugin.c | 287 +
18244 tools/include/linux/compiler.h | 8 +
18245 tools/lib/api/Makefile | 2 +-
18246 tools/perf/util/include/asm/alternative-asm.h | 3 +
18247 tools/virtio/linux/uaccess.h | 2 +-
18248 virt/kvm/kvm_main.c | 42 +-
18249 1944 files changed, 66925 insertions(+), 8949 deletions(-)