Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux

Pull arm64 fixes from Will Deacon:
"Here are a few more arm64 fixes for 4.3. Again, nothing too
significant, but worth having nonetheless. The MINSIGSTKSZ update is
a bit grotty, but the value we currently have is wrong (too small), so
anybody using that will have issues already. It has Arnd's ack for
the asm-generic change.

Summary:

- Fix module CFLAGS setting in workaround for erratum #843419
- Update MINSIGSTKSZ and SIGSTKSZ to match glibc
- Wire up some new compat syscalls"

* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
arm64: compat: wire up new syscalls
arm64: Fix MINSIGSTKSZ and SIGSTKSZ
arm64: errata: use KBUILD_CFLAGS_MODULE for erratum #843419

+16 -2
+1 -1
arch/arm64/Makefile
··· 42 42 CHECKFLAGS += -D__aarch64__ 43 43 44 44 ifeq ($(CONFIG_ARM64_ERRATUM_843419), y) 45 - CFLAGS_MODULE += -mcmodel=large 45 + KBUILD_CFLAGS_MODULE += -mcmodel=large 46 46 endif 47 47 48 48 # Default value
+1 -1
arch/arm64/include/asm/unistd.h
··· 44 44 #define __ARM_NR_compat_cacheflush (__ARM_NR_COMPAT_BASE+2) 45 45 #define __ARM_NR_compat_set_tls (__ARM_NR_COMPAT_BASE+5) 46 46 47 - #define __NR_compat_syscalls 388 47 + #define __NR_compat_syscalls 390 48 48 #endif 49 49 50 50 #define __ARCH_WANT_SYS_CLONE
+9
arch/arm64/include/asm/unistd32.h
··· 797 797 __SYSCALL(__NR_bpf, sys_bpf) 798 798 #define __NR_execveat 387 799 799 __SYSCALL(__NR_execveat, compat_sys_execveat) 800 + #define __NR_userfaultfd 388 801 + __SYSCALL(__NR_userfaultfd, sys_userfaultfd) 802 + #define __NR_membarrier 389 803 + __SYSCALL(__NR_membarrier, sys_membarrier) 804 + 805 + /* 806 + * Please add new compat syscalls above this comment and update 807 + * __NR_compat_syscalls in asm/unistd.h. 808 + */
+3
arch/arm64/include/uapi/asm/signal.h
··· 19 19 /* Required for AArch32 compatibility. */ 20 20 #define SA_RESTORER 0x04000000 21 21 22 + #define MINSIGSTKSZ 5120 23 + #define SIGSTKSZ 16384 24 + 22 25 #include <asm-generic/signal.h> 23 26 24 27 #endif
+2
include/uapi/asm-generic/signal.h
··· 80 80 * SA_RESTORER 0x04000000 81 81 */ 82 82 83 + #if !defined MINSIGSTKSZ || !defined SIGSTKSZ 83 84 #define MINSIGSTKSZ 2048 84 85 #define SIGSTKSZ 8192 86 + #endif 85 87 86 88 #ifndef __ASSEMBLY__ 87 89 typedef struct {