• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisiónad0b40fa944628d6f30b40266a599b285d70a266 (tree)
Tiempo2016-01-30 09:16:12
AutorLinus Torvalds <torvalds@linu...>
CommiterLinus Torvalds

Log Message

Merge branch 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm

Pull ARM fixes from Russell King:

"Just one fix for a -fstack-protector-strong problem from Kees Cook,
and adding the new copy_file_range syscall"

* 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm:

ARM: wire up copy_file_range() syscall
ARM: 8500/1: fix atags_to_fdt with stack-protector-strong

Cambiar Resumen

Diferencia incremental

--- a/arch/arm/boot/compressed/Makefile
+++ b/arch/arm/boot/compressed/Makefile
@@ -106,6 +106,15 @@ ORIG_CFLAGS := $(KBUILD_CFLAGS)
106106 KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS))
107107 endif
108108
109+# -fstack-protector-strong triggers protection checks in this code,
110+# but it is being used too early to link to meaningful stack_chk logic.
111+nossp_flags := $(call cc-option, -fno-stack-protector)
112+CFLAGS_atags_to_fdt.o := $(nossp_flags)
113+CFLAGS_fdt.o := $(nossp_flags)
114+CFLAGS_fdt_ro.o := $(nossp_flags)
115+CFLAGS_fdt_rw.o := $(nossp_flags)
116+CFLAGS_fdt_wip.o := $(nossp_flags)
117+
109118 ccflags-y := -fpic -mno-single-pic-base -fno-builtin -I$(obj)
110119 asflags-y := -DZIMAGE
111120
--- a/arch/arm/include/uapi/asm/unistd.h
+++ b/arch/arm/include/uapi/asm/unistd.h
@@ -417,6 +417,7 @@
417417 #define __NR_userfaultfd (__NR_SYSCALL_BASE+388)
418418 #define __NR_membarrier (__NR_SYSCALL_BASE+389)
419419 #define __NR_mlock2 (__NR_SYSCALL_BASE+390)
420+#define __NR_copy_file_range (__NR_SYSCALL_BASE+391)
420421
421422 /*
422423 * The following SWIs are ARM private.
--- a/arch/arm/kernel/calls.S
+++ b/arch/arm/kernel/calls.S
@@ -400,6 +400,7 @@
400400 CALL(sys_userfaultfd)
401401 CALL(sys_membarrier)
402402 CALL(sys_mlock2)
403+ CALL(sys_copy_file_range)
403404 #ifndef syscalls_counted
404405 .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
405406 #define syscalls_counted