diff options
author | Yongxin Liu <yongxin.liu@windriver.com> | 2020-11-04 08:43:33 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-11-08 14:03:21 +0000 |
commit | bf0e7912c8a76eaeac12a4e1f523da8a10a8780d (patch) | |
tree | e3fe2039d9da6f69f70f2b2fb49d06be8eb8f53e /meta/recipes-bsp/grub/files/script-Remove-unused-fields-from-grub_script_functio.patch | |
parent | 81a925ac9e21af3dee8cc4f6e548dca2b29c2e88 (diff) | |
download | poky-bf0e7912c8a76eaeac12a4e1f523da8a10a8780d.tar.gz |
grub: clean up CVE patches
Clean up several patches introduced in commit 6732918498 ("grub:fix
several CVEs in grub 2.04").
1) Add CVE tags to individual patches.
2) Rename upstream patches and prefix them with CVE tags.
3) Add description of reference to upstream patch.
(From OE-Core rev: bcb8b6719beaf6625e6b703e91958fe8afba5819)
Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/grub/files/script-Remove-unused-fields-from-grub_script_functio.patch')
-rw-r--r-- | meta/recipes-bsp/grub/files/script-Remove-unused-fields-from-grub_script_functio.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-bsp/grub/files/script-Remove-unused-fields-from-grub_script_functio.patch b/meta/recipes-bsp/grub/files/script-Remove-unused-fields-from-grub_script_functio.patch new file mode 100644 index 0000000000..84a80d5ffd --- /dev/null +++ b/meta/recipes-bsp/grub/files/script-Remove-unused-fields-from-grub_script_functio.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | From e219bad8cee67b2bb21712df8f055706f8da25d2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Chris Coulson <chris.coulson@canonical.com> | ||
3 | Date: Fri, 10 Jul 2020 11:21:14 +0100 | ||
4 | Subject: [PATCH 7/9] script: Remove unused fields from grub_script_function | ||
5 | struct | ||
6 | |||
7 | Upstream-Status: Backport [commit 1a8d9c9b4ab6df7669b5aa36a56477f297825b96 | ||
8 | from https://git.savannah.gnu.org/git/grub.git] | ||
9 | |||
10 | Signed-off-by: Chris Coulson <chris.coulson@canonical.com> | ||
11 | Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com> | ||
12 | Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com> | ||
13 | --- | ||
14 | include/grub/script_sh.h | 5 ----- | ||
15 | 1 file changed, 5 deletions(-) | ||
16 | |||
17 | diff --git a/include/grub/script_sh.h b/include/grub/script_sh.h | ||
18 | index 360c2be..b382bcf 100644 | ||
19 | --- a/include/grub/script_sh.h | ||
20 | +++ b/include/grub/script_sh.h | ||
21 | @@ -359,13 +359,8 @@ struct grub_script_function | ||
22 | /* The script function. */ | ||
23 | struct grub_script *func; | ||
24 | |||
25 | - /* The flags. */ | ||
26 | - unsigned flags; | ||
27 | - | ||
28 | /* The next element. */ | ||
29 | struct grub_script_function *next; | ||
30 | - | ||
31 | - int references; | ||
32 | }; | ||
33 | typedef struct grub_script_function *grub_script_function_t; | ||
34 | |||
35 | -- | ||
36 | 2.14.4 | ||
37 | |||