Skip to content

Commit a000ee2

Browse files
Dapper Secure Kernel Patchset Stable 4.9.86
1 parent 97f4d6e commit a000ee2

File tree

10 files changed

+1770
-30
lines changed

10 files changed

+1770
-30
lines changed

init_rebase.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
KERNEL_MAJOR_VERSION=4.9
2-
KERNEL_VERSION=4.9.85
2+
KERNEL_VERSION=4.9.86
33

44
echo "Setting up rebase directory..."
55
rm -rf rebase

kernel/patch-4.9.86.xz

1.46 MB
Binary file not shown.

make_release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
DATE=`date +%Y-%m-%d`
22
KERNEL_MAJOR_VERSION=4.9
3-
KERNEL_VERSION=4.9.85
3+
KERNEL_VERSION=4.9.86
44

55
echo "Setting up release directory..."
66
mkdir release

omitted-patches/included-patches/include-4.9.77.patch

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2981,3 +2981,23 @@ index 000000000000..6e0bd52ad53d
29812981
+
29822982
+ return nerrs ? 1 : 0;
29832983
+}
2984+
diff --git a/arch/x86/include/asm/asm.h b/arch/x86/include/asm/asm.h
2985+
index 7acb51c49fec..00523524edbf 100644
2986+
--- a/arch/x86/include/asm/asm.h
2987+
+++ b/arch/x86/include/asm/asm.h
2988+
@@ -125,4 +125,15 @@
2989+
/* For C file, we already have NOKPROBE_SYMBOL macro */
2990+
#endif
2991+
2992+
+#ifndef __ASSEMBLY__
2993+
+/*
2994+
+ * This output constraint should be used for any inline asm which has a "call"
2995+
+ * instruction. Otherwise the asm may be inserted before the frame pointer
2996+
+ * gets set up by the containing function. If you forget to do this, objtool
2997+
+ * may print a "call without frame pointer save/setup" warning.
2998+
+ */
2999+
+register unsigned long current_stack_pointer asm(_ASM_SP);
3000+
+#define ASM_CALL_CONSTRAINT "+r" (current_stack_pointer)
3001+
+#endif
3002+
+
3003+
#endif /* _ASM_X86_ASM_H */

omitted-patches/omit-4.9.77.patch

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -568,26 +568,6 @@ index 44b8762fa0c7..b15aa4083dfd 100644
568568
+INDIRECT_THUNK(bp)
569569
+INDIRECT_THUNK(sp)
570570
+#endif /* CONFIG_RETPOLINE */
571-
diff --git a/arch/x86/include/asm/asm.h b/arch/x86/include/asm/asm.h
572-
index 7acb51c49fec..00523524edbf 100644
573-
--- a/arch/x86/include/asm/asm.h
574-
+++ b/arch/x86/include/asm/asm.h
575-
@@ -125,4 +125,15 @@
576-
/* For C file, we already have NOKPROBE_SYMBOL macro */
577-
#endif
578-
579-
+#ifndef __ASSEMBLY__
580-
+/*
581-
+ * This output constraint should be used for any inline asm which has a "call"
582-
+ * instruction. Otherwise the asm may be inserted before the frame pointer
583-
+ * gets set up by the containing function. If you forget to do this, objtool
584-
+ * may print a "call without frame pointer save/setup" warning.
585-
+ */
586-
+register unsigned long current_stack_pointer asm(_ASM_SP);
587-
+#define ASM_CALL_CONSTRAINT "+r" (current_stack_pointer)
588-
+#endif
589-
+
590-
#endif /* _ASM_X86_ASM_H */
591571
diff --git a/arch/x86/include/asm/cpufeature.h b/arch/x86/include/asm/cpufeature.h
592572
index 1d2b69fc0ceb..9ea67a04ff4f 100644
593573
--- a/arch/x86/include/asm/cpufeature.h

omitted-patches/omit-patches.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
# ADD NEWEST FIRST
66

7+
# 4.9.86 does not need any omissions
78
patch -F 0 -R -p1 < ../../omitted-patches/omit-4.9.85.patch
89
patch -F 0 -R -p1 < ../../omitted-patches/omit-4.9.84.patch
910
patch -F 0 -R -p1 < ../../omitted-patches/omit-4.9.83.patch

0 commit comments

Comments
 (0)