forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork0
Commitc55b855
x86/boot/64: Verify alignment of the LOAD segment
Since the x86-64 kernel must be aligned to 2MB, refuse to boot thekernel if the alignment of the LOAD segment isn't a multiple of 2MB.Signed-off-by: H.J. Lu <hjl.tools@gmail.com>Cc: Andy Shevchenko <andy.shevchenko@gmail.com>Cc: Eric Biederman <ebiederm@xmission.com>Cc: H. Peter Anvin <hpa@zytor.com>Cc: Juergen Gross <jgross@suse.com>Cc: Kees Cook <keescook@chromium.org>Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>Cc: Linus Torvalds <torvalds@linux-foundation.org>Cc: Peter Zijlstra <peterz@infradead.org>Cc: Thomas Gleixner <tglx@linutronix.de>Link:http://lkml.kernel.org/r/CAMe9rOrR7xSJgUfiCoZLuqWUwymRxXPoGBW38%2BpN%3D9g%2ByKNhZw@mail.gmail.comSigned-off-by: Ingo Molnar <mingo@kernel.org>1 parente3d0359 commitc55b855
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
312 | 316 | | |
313 | 317 | | |
314 | 318 | | |
| |||
0 commit comments
Comments
(0)