[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFC: packaging kernel modules



Jason Gunthorpe wrote:
> 
> What exactly is that checksum a checksum of? I would hope that it is a
> hash of the function signature which should be constant for any kernel
> version. If it is a hash of the contents then there is no point in having
> binary modules..

It is computed from the signature.  But it is overzealous in that it follows
to many pointers, i.e. if your signature were

void foo(struct bar p);

and bar is

struct bar {
	struct baz *q;
};

then if baz is changed, foo's checksum will also change.

-- 
Debian GNU/Linux 1.3 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: