nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0127-grub-core-partmap-msdos.c-embed_signatures-Add-the-s.patch

f96e0b
From 808c2412749490421a02568d4db2db0e11790b92 Mon Sep 17 00:00:00 2001
f96e0b
From: Colin Watson <cjwatson@ubuntu.com>
f96e0b
Date: Mon, 21 Jan 2013 11:10:25 +0000
f96e0b
Subject: [PATCH 127/482] * grub-core/partmap/msdos.c (embed_signatures): Add
f96e0b
 the signature of an Acer registration utility with several sightings in the
f96e0b
 wild. Reported by: Rickard Westman.  Fixes Ubuntu bug #987022.
f96e0b
f96e0b
---
f96e0b
 ChangeLog                 | 6 ++++++
f96e0b
 grub-core/partmap/msdos.c | 7 +++++++
f96e0b
 2 files changed, 13 insertions(+)
f96e0b
f96e0b
diff --git a/ChangeLog b/ChangeLog
f96e0b
index c975de1..ff29177 100644
f96e0b
--- a/ChangeLog
f96e0b
+++ b/ChangeLog
f96e0b
@@ -1,5 +1,11 @@
f96e0b
 2013-01-21  Colin Watson  <cjwatson@ubuntu.com>
f96e0b
 
f96e0b
+	* grub-core/partmap/msdos.c (embed_signatures): Add the signature of
f96e0b
+	an Acer registration utility with several sightings in the wild.
f96e0b
+	Reported by: Rickard Westman.  Fixes Ubuntu bug #987022.
f96e0b
+
f96e0b
+2013-01-21  Colin Watson  <cjwatson@ubuntu.com>
f96e0b
+
f96e0b
 	Remove nested functions from filesystem directory iterators.
f96e0b
 
f96e0b
 	* include/grub/fs.h (grub_fs_dir_hook_t): New type.
f96e0b
diff --git a/grub-core/partmap/msdos.c b/grub-core/partmap/msdos.c
f96e0b
index 47527c3..b0e11c4 100644
f96e0b
--- a/grub-core/partmap/msdos.c
f96e0b
+++ b/grub-core/partmap/msdos.c
f96e0b
@@ -94,6 +94,13 @@ struct embed_signature embed_signatures[] =
f96e0b
       .signature = "ycgl",
f96e0b
       .signature_len = 4,
f96e0b
       .type = TYPE_RAID
f96e0b
+    },
f96e0b
+    {
f96e0b
+      /* https://bugs.launchpad.net/bugs/987022 */
f96e0b
+      .name = "Acer registration utility (?)",
f96e0b
+      .signature = "GREGRegDone.Tag\x00",
f96e0b
+      .signature_len = 16,
f96e0b
+      .type = TYPE_SOFTWARE
f96e0b
     }
f96e0b
   };
f96e0b
 #endif
f96e0b
-- 
f96e0b
1.8.2.1
f96e0b