On May 22 2007 10:13, John Sigler wrote:
>> > How do I list the checksums within a module?
>> > Is there a simpler way to list all the checksums?
>>
>> 22:25 ichi:~ > modinfo aes
>> srcversion: 8CB82B3A254D5A950FD0D14
>>
>> I think this one checksum is computed out of all functions that
>> the module uses.
>
> You've enabled MODULE_SRCVERSION_ALL which adds a checksum computed from the
> source files used to build a given module. What I want is to list ALL the
> checksums of the symbols included inside a given module.
>
> e.g. for the kernel:
for i in `nm
/lib/modules/2.6.18.8-ccj45-default/kernel/block/as-iosched.ko |
grep " U " | cut -b 20-`; do
grep '\b'"$i"'\b' Module.symvers;
done;
(for 32-bit, use `cut -b 12-`)
Jan
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]