Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OqRQx-0002h0-7R for mharc-grub-devel@gnu.org; Tue, 31 Aug 2010 10:03:31 -0400 Received: from [140.186.70.92] (port=39606 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqRQu-00029x-83 for grub-devel@gnu.org; Tue, 31 Aug 2010 10:03:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OqRI9-0004GW-CH for grub-devel@gnu.org; Tue, 31 Aug 2010 09:54:30 -0400 Received: from smarthost03.mail.zen.net.uk ([212.23.3.142]:51265) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqRI9-0004GO-66 for grub-devel@gnu.org; Tue, 31 Aug 2010 09:54:25 -0400 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost03.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1OqRI7-0001Kv-Ii for grub-devel@gnu.org; Tue, 31 Aug 2010 13:54:23 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian)) for grub-devel@gnu.org id 1OqRI6-0000vP-00; Tue, 31 Aug 2010 14:54:22 +0100 Date: Tue, 31 Aug 2010 14:54:21 +0100 From: Colin Watson To: grub-devel@gnu.org Message-ID: <20100831135421.GA21862@riva.ucam.org> References: <20100831105840.GW21862@riva.ucam.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-Smarthost03-IP: [82.69.40.219] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: [RFC] Detect other software using embedding area X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2010 14:03:30 -0000 On Tue, Aug 31, 2010 at 07:15:17PM +0530, BVK Chaitanya wrote: > On Tue, Aug 31, 2010 at 4:28 PM, Colin Watson wrote: > > +struct embed_signature > > +{ > > +  const char *signature; > > +  int signature_len; > > +}; > > It seems this cannot take care of cases where signature starts at some > byte offset in a sector, isn't it? Correct. If I see such a signature in practice then I'll extend it. ;-) -- Colin Watson [cjwatson@ubuntu.com]