diff options
Diffstat (limited to 'meta/recipes-kernel/kexec/kexec-tools/0001-kexec.c-add-MFD_NOEXEC_SEAL-flag-explicitly.patch')
| -rw-r--r-- | meta/recipes-kernel/kexec/kexec-tools/0001-kexec.c-add-MFD_NOEXEC_SEAL-flag-explicitly.patch | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/meta/recipes-kernel/kexec/kexec-tools/0001-kexec.c-add-MFD_NOEXEC_SEAL-flag-explicitly.patch b/meta/recipes-kernel/kexec/kexec-tools/0001-kexec.c-add-MFD_NOEXEC_SEAL-flag-explicitly.patch index dc52981025..8dc5fed765 100644 --- a/meta/recipes-kernel/kexec/kexec-tools/0001-kexec.c-add-MFD_NOEXEC_SEAL-flag-explicitly.patch +++ b/meta/recipes-kernel/kexec/kexec-tools/0001-kexec.c-add-MFD_NOEXEC_SEAL-flag-explicitly.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From a6a9e17dfeb5627f3e6f569b66f243f50f8a3645 Mon Sep 17 00:00:00 2001 | 1 | From 1a09bf71c2f541c2cfb44a00661051597bbd0b76 Mon Sep 17 00:00:00 2001 |
| 2 | From: Chen Qi <Qi.Chen@windriver.com> | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
| 3 | Date: Tue, 6 Aug 2024 21:42:43 -0700 | 3 | Date: Tue, 6 Aug 2024 21:42:43 -0700 |
| 4 | Subject: [PATCH] kexec.c: add MFD_NOEXEC_SEAL flag explicitly | 4 | Subject: [PATCH] kexec.c: add MFD_NOEXEC_SEAL flag explicitly |
| @@ -18,7 +18,7 @@ Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | |||
| 18 | 1 file changed, 5 insertions(+), 1 deletion(-) | 18 | 1 file changed, 5 insertions(+), 1 deletion(-) |
| 19 | 19 | ||
| 20 | diff --git a/kexec/kexec.c b/kexec/kexec.c | 20 | diff --git a/kexec/kexec.c b/kexec/kexec.c |
| 21 | index 7c614b0..41d285d 100644 | 21 | index 4f51987..8f02595 100644 |
| 22 | --- a/kexec/kexec.c | 22 | --- a/kexec/kexec.c |
| 23 | +++ b/kexec/kexec.c | 23 | +++ b/kexec/kexec.c |
| 24 | @@ -60,6 +60,10 @@ | 24 | @@ -60,6 +60,10 @@ |
| @@ -32,7 +32,7 @@ index 7c614b0..41d285d 100644 | |||
| 32 | unsigned long long mem_min = 0; | 32 | unsigned long long mem_min = 0; |
| 33 | unsigned long long mem_max = ULONG_MAX; | 33 | unsigned long long mem_max = ULONG_MAX; |
| 34 | unsigned long elfcorehdrsz = 0; | 34 | unsigned long elfcorehdrsz = 0; |
| 35 | @@ -655,7 +659,7 @@ static int copybuf_memfd(const char *kernel_buf, size_t size) | 35 | @@ -657,7 +661,7 @@ static int copybuf_memfd(const char *kernel_buf, size_t size) |
| 36 | { | 36 | { |
| 37 | int fd, count; | 37 | int fd, count; |
| 38 | 38 | ||
| @@ -41,6 +41,3 @@ index 7c614b0..41d285d 100644 | |||
| 41 | if (fd == -1) | 41 | if (fd == -1) |
| 42 | return fd; | 42 | return fd; |
| 43 | 43 | ||
| 44 | -- | ||
| 45 | 2.25.1 | ||
| 46 | |||
