grsecurity-3.1-4.3.3 fails to patch linux-4.2.3

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

grsecurity-3.1-4.3.3 fails to patch linux-4.2.3

Postby magiknight » Thu Dec 24, 2015 2:53 pm

Hi there, the newest patch fails in several places on kernel 4.2.3
Here is the output of patch:
Code: Select all
patching file Documentation/dontdiff
patching file Documentation/kbuild/makefiles.txt
patching file Documentation/kernel-parameters.txt
Hunk #1 succeeded at 1244 (offset -2 lines).
Hunk #2 succeeded at 2371 (offset -15 lines).
Hunk #3 succeeded at 2673 (offset -15 lines).
patching file Documentation/sysctl/kernel.txt
patching file Makefile
Hunk #4 succeeded at 795 (offset 7 lines).
Hunk #5 FAILED at 959.
Hunk #6 succeeded at 1017 (offset 8 lines).
Hunk #7 succeeded at 1028 (offset 8 lines).
Hunk #8 succeeded at 1071 (offset 8 lines).
Hunk #9 succeeded at 1185 (offset 8 lines).
Hunk #10 succeeded at 1202 (offset 8 lines).
Hunk #11 FAILED at 1260.
Hunk #12 succeeded at 1307 (offset 8 lines).
Hunk #13 succeeded at 1473 (offset 8 lines).
Hunk #14 succeeded at 1615 (offset 7 lines).
Hunk #15 succeeded at 1641 (offset 7 lines).
2 out of 15 hunks FAILED -- saving rejects to file Makefile.rej
patching file arch/alpha/include/asm/atomic.h
Hunk #1 succeeded at 239 (offset -12 lines).
patching file arch/alpha/include/asm/cache.h
patching file arch/alpha/include/asm/elf.h
patching file arch/alpha/include/asm/pgalloc.h
patching file arch/alpha/include/asm/pgtable.h
patching file arch/alpha/kernel/module.c
patching file arch/alpha/kernel/osf_sys.c
Hunk #1 succeeded at 1295 (offset -5 lines).
Hunk #2 succeeded at 1307 (offset -5 lines).
Hunk #3 succeeded at 1340 (offset -5 lines).
patching file arch/alpha/mm/fault.c
patching file arch/arc/Kconfig
Hunk #1 succeeded at 485 (offset -2 lines).
patching file arch/arm/Kconfig
Hunk #1 succeeded at 1770 (offset -15 lines).
Hunk #2 FAILED at 2022.
1 out of 2 hunks FAILED -- saving rejects to file arch/arm/Kconfig.rej
patching file arch/arm/Kconfig.debug
patching file arch/arm/include/asm/atomic.h
Hunk #2 FAILED at 62.
Hunk #3 FAILED at 104.
Hunk #4 succeeded at 139 (offset 2 lines).
Hunk #5 succeeded at 167 (offset 2 lines).
Hunk #6 succeeded at 205 (offset 2 lines).
Hunk #7 succeeded at 222 (offset 2 lines).
Hunk #8 succeeded at 239 (offset 2 lines).
Hunk #9 succeeded at 265 (offset -5 lines).
Hunk #10 succeeded at 307 (offset -5 lines).
Hunk #11 succeeded at 331 (offset -5 lines).
Hunk #12 succeeded at 352 (offset -5 lines).
Hunk #13 succeeded at 375 (offset -5 lines).
Hunk #14 FAILED at 407.
Hunk #15 succeeded at 448 (offset -3 lines).
Hunk #16 succeeded at 460 with fuzz 2 (offset -13 lines).
Hunk #17 FAILED at 504.
Hunk #18 succeeded at 518 (offset -9 lines).
Hunk #19 succeeded at 570 (offset -9 lines).
Hunk #20 succeeded at 601 (offset -9 lines).
4 out of 20 hunks FAILED -- saving rejects to file arch/arm/include/asm/atomic.h.rej
patching file arch/arm/include/asm/cache.h
patching file arch/arm/include/asm/cacheflush.h
patching file arch/arm/include/asm/checksum.h
patching file arch/arm/include/asm/cmpxchg.h
Hunk #1 succeeded at 107 (offset 2 lines).
patching file arch/arm/include/asm/cpuidle.h
patching file arch/arm/include/asm/domain.h
Hunk #1 FAILED at 42.
Hunk #2 succeeded at 51 with fuzz 1.
Hunk #3 FAILED at 80.
2 out of 3 hunks FAILED -- saving rejects to file arch/arm/include/asm/domain.h.rej
patching file arch/arm/include/asm/elf.h
patching file arch/arm/include/asm/fncpy.h
patching file arch/arm/include/asm/futex.h
Hunk #1 succeeded at 46 (offset -6 lines).
Hunk #2 succeeded at 65 with fuzz 1 (offset -8 lines).
Hunk #3 FAILED at 111.
Hunk #4 succeeded at 108 with fuzz 2 (offset -15 lines).
Hunk #5 succeeded at 137 (offset -15 lines).
Hunk #6 succeeded at 159 (offset -15 lines).
1 out of 6 hunks FAILED -- saving rejects to file arch/arm/include/asm/futex.h.rej
patching file arch/arm/include/asm/kmap_types.h
patching file arch/arm/include/asm/mach/dma.h
patching file arch/arm/include/asm/mach/map.h
patching file arch/arm/include/asm/outercache.h
patching file arch/arm/include/asm/page.h
patching file arch/arm/include/asm/pgalloc.h
patching file arch/arm/include/asm/pgtable-2level-hwdef.h
Hunk #1 succeeded at 27 (offset -1 lines).
Hunk #2 succeeded at 39 (offset -1 lines).
Hunk #3 succeeded at 69 (offset -1 lines).
patching file arch/arm/include/asm/pgtable-2level.h
patching file arch/arm/include/asm/pgtable-3level.h
patching file arch/arm/include/asm/pgtable.h
patching file arch/arm/include/asm/smp.h
patching file arch/arm/include/asm/thread_info.h
Hunk #1 FAILED at 143.
Hunk #2 succeeded at 166 (offset 8 lines).
1 out of 2 hunks FAILED -- saving rejects to file arch/arm/include/asm/thread_info.h.rej
patching file arch/arm/include/asm/tls.h
patching file arch/arm/include/asm/uaccess.h
Hunk #2 succeeded at 71 (offset -29 lines).
Hunk #3 succeeded at 226 (offset -31 lines).
Hunk #4 succeeded at 276 (offset -33 lines).
Hunk #5 succeeded at 305 (offset -33 lines).
Hunk #6 succeeded at 323 (offset -33 lines).
Hunk #7 succeeded at 409 (offset -24 lines).
Hunk #8 FAILED at 535.
Hunk #9 succeeded at 532 (offset -51 lines).
Hunk #10 succeeded at 544 (offset -51 lines).
1 out of 10 hunks FAILED -- saving rejects to file arch/arm/include/asm/uaccess.h.rej
patching file arch/arm/include/uapi/asm/ptrace.h
patching file arch/arm/kernel/armksyms.c
patching file arch/arm/kernel/cpuidle.c
patching file arch/arm/kernel/entry-armv.S
Hunk #3 FAILED at 237.
Hunk #4 FAILED at 252.
Hunk #5 succeeded at 456 with fuzz 1 (offset -5 lines).
Hunk #6 succeeded at 569 with fuzz 1 (offset -9 lines).
Hunk #7 FAILED at 616.
Hunk #8 succeeded at 639 (offset -12 lines).
Hunk #9 FAILED at 874.
Hunk #10 succeeded at 869 (offset -16 lines).
4 out of 10 hunks FAILED -- saving rejects to file arch/arm/kernel/entry-armv.S.rej
patching file arch/arm/kernel/entry-common.S
Hunk #1 succeeded at 11 with fuzz 2.
Hunk #2 FAILED at 64.
Hunk #3 FAILED at 90.
Hunk #4 succeeded at 202 with fuzz 2 (offset -25 lines).
2 out of 4 hunks FAILED -- saving rejects to file arch/arm/kernel/entry-common.S.rej
patching file arch/arm/kernel/entry-header.S
Hunk #1 FAILED at 196.
Hunk #2 succeeded at 196 with fuzz 2 (offset -21 lines).
1 out of 2 hunks FAILED -- saving rejects to file arch/arm/kernel/entry-header.S.rej
patching file arch/arm/kernel/fiq.c
patching file arch/arm/kernel/module-plts.c
patching file arch/arm/kernel/module.c
patching file arch/arm/kernel/patch.c
patching file arch/arm/kernel/process.c
Hunk #1 succeeded at 105 (offset 7 lines).
Hunk #2 succeeded at 283 (offset -26 lines).
Hunk #3 succeeded at 298 (offset -26 lines).
Hunk #4 succeeded at 327 (offset -26 lines).
patching file arch/arm/kernel/ptrace.c
patching file arch/arm/kernel/reboot.c
patching file arch/arm/kernel/setup.c
Hunk #1 succeeded at 108 (offset -2 lines).
Hunk #2 succeeded at 255 (offset -2 lines).
patching file arch/arm/kernel/signal.c
Hunk #2 succeeded at 383 (offset -3 lines).
Hunk #3 succeeded at 589 (offset -9 lines).
patching file arch/arm/kernel/smp.c
Hunk #1 succeeded at 76 (offset -2 lines).
patching file arch/arm/kernel/tcm.c
patching file arch/arm/kernel/traps.c
patching file arch/arm/kernel/vmlinux.lds.S
patching file arch/arm/kvm/arm.c
Hunk #2 succeeded at 372 (offset 3 lines).
Hunk #3 succeeded at 405 (offset 3 lines).
Hunk #4 succeeded at 422 (offset 3 lines).
patching file arch/arm/lib/copy_page.S
patching file arch/arm/lib/csumpartialcopyuser.S
Hunk #1 succeeded at 57 (offset -14 lines).
patching file arch/arm/lib/delay.c
patching file arch/arm/lib/uaccess_with_memcpy.c
patching file arch/arm/mach-exynos/suspend.c
Hunk #1 succeeded at 732 (offset 2 lines).
patching file arch/arm/mach-mvebu/coherency.c
Hunk #1 succeeded at 117 (offset 12 lines).
Hunk #2 succeeded at 130 (offset 12 lines).
patching file arch/arm/mach-omap2/board-n8x0.c
patching file arch/arm/mach-omap2/omap-mpuss-lowpower.c
Hunk #2 FAILED at 105.
1 out of 2 hunks FAILED -- saving rejects to file arch/arm/mach-omap2/omap-mpuss-lowpower.c.rej
patching file arch/arm/mach-omap2/omap-smp.c
patching file arch/arm/mach-omap2/omap-wakeupgen.c
patching file arch/arm/mach-omap2/omap_device.c
patching file arch/arm/mach-omap2/omap_device.h
patching file arch/arm/mach-omap2/omap_hwmod.c
Hunk #1 succeeded at 199 (offset -1 lines).
patching file arch/arm/mach-omap2/powerdomains43xx_data.c
patching file arch/arm/mach-omap2/wd_timer.c
patching file arch/arm/mach-shmobile/platsmp-apmu.c
patching file arch/arm/mach-tegra/cpuidle-tegra20.c
patching file arch/arm/mach-tegra/irq.c
patching file arch/arm/mach-ux500/pm.c
patching file arch/arm/mach-zynq/platsmp.c
patching file arch/arm/mm/Kconfig
patching file arch/arm/mm/alignment.c
patching file arch/arm/mm/cache-l2x0.c
patching file arch/arm/mm/context.c
patching file arch/arm/mm/fault.c
patching file arch/arm/mm/fault.h
patching file arch/arm/mm/init.c
patching file arch/arm/mm/ioremap.c
patching file arch/arm/mm/mmap.c
patching file arch/arm/mm/mmu.c
Hunk #3 succeeded at 307 with fuzz 2.
Hunk #6 succeeded at 566 (offset -41 lines).
Hunk #7 succeeded at 590 (offset -41 lines).
Hunk #8 succeeded at 611 (offset -41 lines).
Hunk #9 succeeded at 645 (offset -41 lines).
Hunk #10 succeeded at 664 (offset -41 lines).
Hunk #11 FAILED at 936.
Hunk #12 succeeded at 1265 with fuzz 2 (offset -41 lines).
Hunk #13 succeeded at 1286 (offset -44 lines).
Hunk #14 succeeded at 1297 (offset -44 lines).
Hunk #15 succeeded at 1313 (offset -44 lines).
Hunk #16 succeeded at 1373 (offset -44 lines).
Hunk #17 succeeded at 1389 (offset -44 lines).
Hunk #18 succeeded at 1454 (offset -44 lines).
Hunk #19 succeeded at 1467 (offset -44 lines).
1 out of 19 hunks FAILED -- saving rejects to file arch/arm/mm/mmu.c.rej
patching file arch/arm/net/bpf_jit_32.c
patching file arch/arm/plat-iop/setup.c
patching file arch/arm/plat-omap/sram.c
patching file arch/arm64/Kconfig.debug
patching file arch/arm64/include/asm/atomic.h
Hunk #1 succeeded at 252 with fuzz 2 (offset 161 lines).
patching file arch/arm64/include/asm/percpu.h
Hunk #1 succeeded at 135 (offset 8 lines).
patching file arch/arm64/include/asm/pgalloc.h
patching file arch/arm64/include/asm/uaccess.h
Hunk #1 succeeded at 99 (offset -3 lines).
patching file arch/arm64/mm/dma-mapping.c
patching file arch/avr32/include/asm/cache.h
patching file arch/avr32/include/asm/elf.h
patching file arch/avr32/include/asm/kmap_types.h
patching file arch/avr32/mm/fault.c
patching file arch/blackfin/Kconfig.debug
patching file arch/blackfin/include/asm/cache.h
patching file arch/cris/include/arch-v10/arch/cache.h
patching file arch/cris/include/arch-v32/arch/cache.h
patching file arch/frv/include/asm/atomic.h
Hunk #1 succeeded at 181 (offset 15 lines).
patching file arch/frv/include/asm/cache.h
patching file arch/frv/include/asm/kmap_types.h
patching file arch/frv/mm/elf-fdpic.c
patching file arch/hexagon/include/asm/cache.h
patching file arch/ia64/Kconfig
Hunk #1 FAILED at 519.
1 out of 1 hunk FAILED -- saving rejects to file arch/ia64/Kconfig.rej
patching file arch/ia64/Makefile
patching file arch/ia64/include/asm/atomic.h
Hunk #1 succeeded at 193 (offset -16 lines).
patching file arch/ia64/include/asm/cache.h
patching file arch/ia64/include/asm/elf.h
patching file arch/ia64/include/asm/pgalloc.h
patching file arch/ia64/include/asm/pgtable.h
patching file arch/ia64/include/asm/spinlock.h
patching file arch/ia64/include/asm/uaccess.h
patching file arch/ia64/kernel/module.c
patching file arch/ia64/kernel/palinfo.c
patching file arch/ia64/kernel/sys_ia64.c
patching file arch/ia64/kernel/vmlinux.lds.S
patching file arch/ia64/mm/fault.c
patching file arch/ia64/mm/hugetlbpage.c
patching file arch/ia64/mm/init.c
patching file arch/m32r/include/asm/cache.h
patching file arch/m32r/lib/usercopy.c
patching file arch/m68k/include/asm/cache.h
patching file arch/metag/mm/hugetlbpage.c
patching file arch/microblaze/include/asm/cache.h
patching file arch/mips/Kconfig
Hunk #1 FAILED at 2598.
1 out of 1 hunk FAILED -- saving rejects to file arch/mips/Kconfig.rej
patching file arch/mips/cavium-octeon/dma-octeon.c
Hunk #1 FAILED at 191.
1 out of 1 hunk FAILED -- saving rejects to file arch/mips/cavium-octeon/dma-octeon.c.rej
patching file arch/mips/include/asm/atomic.h
Hunk #5 FAILED at 194.
Hunk #6 succeeded at 213 (offset -4 lines).
Hunk #7 succeeded at 223 (offset -4 lines).
Hunk #8 succeeded at 272 (offset -4 lines).
Hunk #9 succeeded at 319 (offset -4 lines).
Hunk #10 succeeded at 344 (offset -4 lines).
Hunk #11 succeeded at 372 (offset -4 lines).
Hunk #12 succeeded at 384 (offset -4 lines).
Hunk #13 succeeded at 409 (offset -4 lines).
Hunk #14 succeeded at 489 (offset -4 lines).
Hunk #15 succeeded at 505 (offset -4 lines).
Hunk #16 FAILED at 546.
Hunk #17 succeeded at 562 (offset -7 lines).
Hunk #18 succeeded at 572 (offset -7 lines).
Hunk #19 succeeded at 621 (offset -7 lines).
Hunk #20 succeeded at 670 (offset -7 lines).
Hunk #21 succeeded at 692 (offset -7 lines).
Hunk #22 succeeded at 717 (offset -7 lines).
Hunk #23 succeeded at 726 (offset -7 lines).
2 out of 23 hunks FAILED -- saving rejects to file arch/mips/include/asm/atomic.h.rej
patching file arch/mips/include/asm/cache.h
patching file arch/mips/include/asm/elf.h
Hunk #1 succeeded at 417 (offset -2 lines).
patching file arch/mips/include/asm/exec.h
patching file arch/mips/include/asm/hw_irq.h
patching file arch/mips/include/asm/local.h
patching file arch/mips/include/asm/page.h
patching file arch/mips/include/asm/pgalloc.h
patching file arch/mips/include/asm/pgtable.h
patching file arch/mips/include/asm/thread_info.h
Hunk #1 succeeded at 100 with fuzz 2 (offset -1 lines).
Hunk #2 succeeded at 138 (offset -2 lines).
Hunk #3 succeeded at 155 (offset -3 lines).
patching file arch/mips/include/asm/uaccess.h
patching file arch/mips/kernel/binfmt_elfn32.c
patching file arch/mips/kernel/binfmt_elfo32.c
patching file arch/mips/kernel/irq-gt641xx.c
patching file arch/mips/kernel/irq.c
patching file arch/mips/kernel/pm-cps.c
patching file arch/mips/kernel/process.c
patching file arch/mips/kernel/ptrace.c
Hunk #1 succeeded at 785 (offset -88 lines).
Hunk #2 succeeded at 807 (offset -88 lines).
patching file arch/mips/kernel/sync-r4k.c
patching file arch/mips/kernel/traps.c
Hunk #1 succeeded at 697 (offset 5 lines).
patching file arch/mips/mm/fault.c
Hunk #2 succeeded at 224 (offset 2 lines).
patching file arch/mips/mm/mmap.c
patching file arch/mips/sgi-ip27/ip27-nmi.c
patching file arch/mips/sni/rm200.c
patching file arch/mips/vr41xx/common/icu.c
patching file arch/mips/vr41xx/common/irq.c
patching file arch/mn10300/proc-mn103e010/include/proc/cache.h
patching file arch/mn10300/proc-mn2ws0050/include/proc/cache.h
patching file arch/openrisc/include/asm/cache.h
patching file arch/parisc/include/asm/atomic.h
Hunk #1 succeeded at 273 (offset -7 lines).
patching file arch/parisc/include/asm/cache.h
patching file arch/parisc/include/asm/elf.h
patching file arch/parisc/include/asm/pgalloc.h
patching file arch/parisc/include/asm/pgtable.h
patching file arch/parisc/include/asm/uaccess.h
patching file arch/parisc/kernel/module.c
patching file arch/parisc/kernel/sys_parisc.c
patching file arch/parisc/kernel/traps.c
patching file arch/parisc/mm/fault.c
patching file arch/powerpc/Kconfig
Hunk #1 FAILED at 421.
1 out of 1 hunk FAILED -- saving rejects to file arch/powerpc/Kconfig.rej
patching file arch/powerpc/include/asm/atomic.h
Hunk #4 succeeded at 118 (offset -4 lines).
Hunk #5 succeeded at 153 (offset -4 lines).
Hunk #6 succeeded at 202 (offset -4 lines).
Hunk #7 succeeded at 295 (offset -4 lines).
Hunk #8 succeeded at 313 (offset -4 lines).
Hunk #9 succeeded at 375 (offset -4 lines).
Hunk #10 succeeded at 385 (offset -7 lines).
Hunk #11 succeeded at 424 (offset -7 lines).
Hunk #12 succeeded at 468 (offset -7 lines).
Hunk #13 succeeded at 493 (offset -7 lines).
patching file arch/powerpc/include/asm/cache.h
Hunk #1 FAILED at 3.
Hunk #2 succeeded at 23 (offset 1 line).
1 out of 2 hunks FAILED -- saving rejects to file arch/powerpc/include/asm/cache.h.rej
patching file arch/powerpc/include/asm/elf.h
patching file arch/powerpc/include/asm/exec.h
patching file arch/powerpc/include/asm/kmap_types.h
patching file arch/powerpc/include/asm/local.h
patching file arch/powerpc/include/asm/mman.h
patching file arch/powerpc/include/asm/page.h
patching file arch/powerpc/include/asm/page_64.h
patching file arch/powerpc/include/asm/pgalloc-64.h
patching file arch/powerpc/include/asm/pgtable.h
patching file arch/powerpc/include/asm/pte-hash32.h
patching file arch/powerpc/include/asm/reg.h
Hunk #1 succeeded at 253 (offset 1 line).
patching file arch/powerpc/include/asm/smp.h
patching file arch/powerpc/include/asm/spinlock.h
Hunk #1 succeeded at 204 (offset 2 lines).
Hunk #2 succeeded at 302 (offset 2 lines).
patching file arch/powerpc/include/asm/thread_info.h
patching file arch/powerpc/include/asm/uaccess.h
patching file arch/powerpc/kernel/Makefile
patching file arch/powerpc/kernel/exceptions-64e.S
patching file arch/powerpc/kernel/exceptions-64s.S
patching file arch/powerpc/kernel/irq.c
patching file arch/powerpc/kernel/module_32.c
patching file arch/powerpc/kernel/process.c
patching file arch/powerpc/kernel/ptrace.c
Hunk #1 succeeded at 129 with fuzz 2 (offset -1671 lines).
Hunk #2 FAILED at 1832.
Hunk #3 succeeded at 1809 (offset -65 lines).
1 out of 3 hunks FAILED -- saving rejects to file arch/powerpc/kernel/ptrace.c.rej
patching file arch/powerpc/kernel/signal_32.c
Hunk #1 succeeded at 1009 (offset -5 lines).
patching file arch/powerpc/kernel/signal_64.c
Hunk #1 succeeded at 754 (offset -11 lines).
patching file arch/powerpc/kernel/traps.c
patching file arch/powerpc/kernel/vdso.c
patching file arch/powerpc/lib/usercopy_64.c
patching file arch/powerpc/mm/fault.c
patching file arch/powerpc/mm/mmap.c
patching file arch/powerpc/mm/slice.c
patching file arch/powerpc/platforms/cell/spufs/file.c
Hunk #1 succeeded at 280 (offset 17 lines).
patching file arch/s390/Kconfig.debug
patching file arch/s390/include/asm/atomic.h
Hunk #1 succeeded at 317 (offset -7 lines).
patching file arch/s390/include/asm/cache.h
patching file arch/s390/include/asm/elf.h
patching file arch/s390/include/asm/exec.h
patching file arch/s390/include/asm/uaccess.h
patching file arch/s390/kernel/module.c
patching file arch/s390/kernel/process.c
Hunk #1 succeeded at 200 (offset -32 lines).
patching file arch/s390/mm/mmap.c
patching file arch/score/include/asm/cache.h
patching file arch/score/include/asm/exec.h
patching file arch/score/kernel/process.c
patching file arch/sh/include/asm/cache.h
patching file arch/sh/mm/mmap.c
patching file arch/sparc/include/asm/atomic_64.h
Hunk #2 succeeded at 55 (offset -4 lines).
Hunk #3 succeeded at 82 (offset -4 lines).
Hunk #4 succeeded at 95 (offset -4 lines).
Hunk #5 succeeded at 159 (offset -4 lines).
patching file arch/sparc/include/asm/cache.h
patching file arch/sparc/include/asm/elf_32.h
patching file arch/sparc/include/asm/elf_64.h
patching file arch/sparc/include/asm/pgalloc_32.h
patching file arch/sparc/include/asm/pgalloc_64.h
patching file arch/sparc/include/asm/pgtable.h
patching file arch/sparc/include/asm/pgtable_32.h
patching file arch/sparc/include/asm/pgtsrmmu.h
patching file arch/sparc/include/asm/setup.h
patching file arch/sparc/include/asm/spinlock_64.h
patching file arch/sparc/include/asm/thread_info_32.h
patching file arch/sparc/include/asm/thread_info_64.h
patching file arch/sparc/include/asm/uaccess.h
patching file arch/sparc/include/asm/uaccess_32.h
patching file arch/sparc/include/asm/uaccess_64.h
patching file arch/sparc/kernel/Makefile
patching file arch/sparc/kernel/process_32.c
patching file arch/sparc/kernel/process_64.c
patching file arch/sparc/kernel/prom_common.c
patching file arch/sparc/kernel/ptrace_64.c
patching file arch/sparc/kernel/smp_64.c
patching file arch/sparc/kernel/sys_sparc_32.c
patching file arch/sparc/kernel/sys_sparc_64.c
patching file arch/sparc/kernel/syscalls.S
patching file arch/sparc/kernel/traps_32.c
patching file arch/sparc/kernel/traps_64.c
patching file arch/sparc/kernel/unaligned_64.c
patching file arch/sparc/lib/Makefile
patching file arch/sparc/lib/atomic_64.S
Hunk #4 succeeded at 68 (offset -3 lines).
Hunk #5 succeeded at 87 (offset -3 lines).
Hunk #6 succeeded at 105 (offset -3 lines).
Hunk #7 succeeded at 115 (offset -6 lines).
patching file arch/sparc/lib/ksyms.c
Hunk #2 succeeded at 112 with fuzz 2.
patching file arch/sparc/mm/Makefile
patching file arch/sparc/mm/fault_32.c
patching file arch/sparc/mm/fault_64.c
patching file arch/sparc/mm/hugetlbpage.c
patching file arch/sparc/mm/init_64.c
patching file arch/tile/Kconfig
Hunk #1 FAILED at 206.
1 out of 1 hunk FAILED -- saving rejects to file arch/tile/Kconfig.rej
patching file arch/tile/include/asm/atomic_64.h
Hunk #1 succeeded at 105 (offset -40 lines).
patching file arch/tile/include/asm/cache.h
patching file arch/tile/include/asm/uaccess.h
patching file arch/tile/mm/hugetlbpage.c
patching file arch/um/Makefile
Hunk #1 succeeded at 73 with fuzz 2.
patching file arch/um/include/asm/cache.h
patching file arch/um/include/asm/kmap_types.h
patching file arch/um/include/asm/page.h
patching file arch/um/include/asm/pgtable-3level.h
patching file arch/um/kernel/process.c
Hunk #1 succeeded at 345 (offset -2 lines).
patching file arch/unicore32/include/asm/cache.h
patching file arch/x86/Kconfig
Hunk #1 FAILED at 36.
Hunk #2 succeeded at 85 (offset -2 lines).
Hunk #3 succeeded at 274 (offset -2 lines).
Hunk #4 succeeded at 646 (offset -2 lines).
Hunk #5 succeeded at 1015 with fuzz 2 (offset -25 lines).
Hunk #6 succeeded at 1184 (offset -26 lines).
Hunk #7 succeeded at 1221 (offset -26 lines).
Hunk #8 succeeded at 1274 (offset -26 lines).
Hunk #9 succeeded at 1294 (offset -27 lines).
Hunk #10 FAILED at 1760.
Hunk #11 succeeded at 1909 (offset -33 lines).
Hunk #12 succeeded at 1994 (offset -33 lines).
Hunk #13 succeeded at 2059 with fuzz 2 (offset -49 lines).
2 out of 13 hunks FAILED -- saving rejects to file arch/x86/Kconfig.rej
patching file arch/x86/Kconfig.cpu
patching file arch/x86/Kconfig.debug
patching file arch/x86/Makefile
Hunk #1 succeeded at 65 (offset -10 lines).
Hunk #2 succeeded at 113 (offset -10 lines).
Hunk #3 succeeded at 184 (offset -7 lines).
Hunk #4 succeeded at 268 (offset -9 lines).
patching file arch/x86/boot/Makefile
patching file arch/x86/boot/bitops.h
patching file arch/x86/boot/boot.h
patching file arch/x86/boot/compressed/Makefile
patching file arch/x86/boot/compressed/efi_stub_32.S
patching file arch/x86/boot/compressed/efi_thunk_64.S
patching file arch/x86/boot/compressed/head_32.S
patching file arch/x86/boot/compressed/head_64.S
patching file arch/x86/boot/compressed/misc.c
Hunk #1 succeeded at 242 (offset -17 lines).
Hunk #2 succeeded at 324 (offset -17 lines).
Hunk #3 succeeded at 351 (offset -17 lines).
Hunk #4 succeeded at 422 (offset -24 lines).
patching file arch/x86/boot/cpucheck.c
patching file arch/x86/boot/header.S
patching file arch/x86/boot/memory.c
patching file arch/x86/boot/video-vesa.c
patching file arch/x86/boot/video.c
patching file arch/x86/crypto/aes-x86_64-asm_64.S
patching file arch/x86/crypto/aesni-intel_asm.S
patching file arch/x86/crypto/blowfish-x86_64-asm_64.S
patching file arch/x86/crypto/camellia-aesni-avx-asm_64.S
patching file arch/x86/crypto/camellia-aesni-avx2-asm_64.S
patching file arch/x86/crypto/camellia-x86_64-asm_64.S
patching file arch/x86/crypto/cast5-avx-x86_64-asm_64.S
patching file arch/x86/crypto/cast6-avx-x86_64-asm_64.S
patching file arch/x86/crypto/crc32c-pcl-intel-asm_64.S
patching file arch/x86/crypto/ghash-clmulni-intel_asm.S
patching file arch/x86/crypto/salsa20-x86_64-asm_64.S
patching file arch/x86/crypto/serpent-avx-x86_64-asm_64.S
patching file arch/x86/crypto/serpent-avx2-asm_64.S
patching file arch/x86/crypto/serpent-sse2-x86_64-asm_64.S
patching file arch/x86/crypto/sha1_ssse3_asm.S
patching file arch/x86/crypto/sha256-avx-asm.S
patching file arch/x86/crypto/sha256-avx2-asm.S
patching file arch/x86/crypto/sha256-ssse3-asm.S
patching file arch/x86/crypto/sha512-avx-asm.S
patching file arch/x86/crypto/sha512-avx2-asm.S
patching file arch/x86/crypto/sha512-ssse3-asm.S
patching file arch/x86/crypto/twofish-avx-x86_64-asm_64.S
patching file arch/x86/crypto/twofish-x86_64-asm_64-3way.S
patching file arch/x86/crypto/twofish-x86_64-asm_64.S
patching file arch/x86/entry/calling.h
Hunk #2 FAILED at 131.
1 out of 2 hunks FAILED -- saving rejects to file arch/x86/entry/calling.h.rej
can't find file to patch at input line 14585
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/arch/x86/entry/common.c b/arch/x86/entry/common.c
|index 80dcc92..da58bb6 100644
|--- a/arch/x86/entry/common.c
|+++ b/arch/x86/entry/common.c
--------------------------
File to patch: ^C     
magiknight
 
Posts: 3
Joined: Thu Dec 24, 2015 2:49 pm

Re: grsecurity-3.1-4.3.3 fails to patch linux-4.2.3

Postby spender » Thu Dec 24, 2015 3:43 pm

The 4.3.3 grsecurity patch will only apply against the 4.3.3 Linux kernel, available here:

https://cdn.kernel.org/pub/linux/kernel ... 3.3.tar.xz

-Brad
spender
 
Posts: 2185
Joined: Wed Feb 20, 2002 8:00 pm

Re: grsecurity-3.1-4.3.3 fails to patch linux-4.2.3

Postby magiknight » Thu Dec 24, 2015 7:51 pm

Doh! I thought the patch was actually for kernels 3.1 to 4.3.3.

Thanks for clearing that up.
magiknight
 
Posts: 3
Joined: Thu Dec 24, 2015 2:49 pm


Return to grsecurity support