lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 24 Sep 2010 23:07:53 -0300
From:	Henrique de Moraes Holschuh <hmh@....eng.br>
To:	Vernon Mauery <vernux@...ibm.com>
Cc:	Randy Dunlap <rdunlap@...otime.net>, Arnd Bergmann <arnd@...db.de>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Keith Mannthey <kmannth@...ibm.com>
Subject: Re: [RFC][Patch] IBM Real-Time "SMI Free" mode driver -v5

On Fri, 24 Sep 2010, Vernon Mauery wrote:
> >>+/* The RTL table as presented by the EBDA: */
> >>+struct ibm_rtl_table {
> >>+	char signature[5];
> >
> >Question:  are all 5 bytes of signature[] used?  It looks like the search code
> >only checks for 32 bits of signature (and the last byte can be garbage?).
> 
> Technically, the 5 bytes are supposed to be "_RTL_", but it is a lot
> easier to just check _RTL since we can do that with a single read.
> I suppose I could do a 64-bit read and mask the bits that matter.

Well, as long as you guys write in stone there at IBM that you will
remember to not have a possible future _RTL2_ that would clash horribly
with an non-up-to-date version of the driver that has no clue about
RTL2 and still would match the signature because it only looks at the first
32 bits...

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists