Re: Dumping the checksums in a module

2007-06-19 Thread John Sigler
Arjan van de Ven wrote: On Tue, 2007-06-19 at 13:59 +0200, John Sigler wrote: As far as I understand (which is not very far), if I define CONFIG_MODVERSIONS, just don't enable modversions.. it doesn't provide you any real safety at all. and it makes your build a LOT slower. I'm

Re: Dumping the checksums in a module

2007-06-19 Thread Arjan van de Ven
On Tue, 2007-06-19 at 13:59 +0200, John Sigler wrote: > Hello everyone, > > As far as I understand (which is not very far), if I define > CONFIG_MODVERSIONS, just don't enable modversions.. it doesn't provide you any real safety at all. and it makes your build a LOT slower. - To

Dumping the checksums in a module

2007-06-19 Thread John Sigler
Hello everyone, As far as I understand (which is not very far), if I define CONFIG_MODVERSIONS, then checksums for various functions (all exported functions?) and various structures (which ones?) will be included inside the kernel image, and written to Module.symvers. When an out-of-tree module

Dumping the checksums in a module

2007-06-19 Thread John Sigler
Hello everyone, As far as I understand (which is not very far), if I define CONFIG_MODVERSIONS, then checksums for various functions (all exported functions?) and various structures (which ones?) will be included inside the kernel image, and written to Module.symvers. When an out-of-tree module

Re: Dumping the checksums in a module

2007-06-19 Thread Arjan van de Ven
On Tue, 2007-06-19 at 13:59 +0200, John Sigler wrote: Hello everyone, As far as I understand (which is not very far), if I define CONFIG_MODVERSIONS, just don't enable modversions.. it doesn't provide you any real safety at all. and it makes your build a LOT slower. - To unsubscribe

Re: Dumping the checksums in a module

2007-06-19 Thread John Sigler
Arjan van de Ven wrote: On Tue, 2007-06-19 at 13:59 +0200, John Sigler wrote: As far as I understand (which is not very far), if I define CONFIG_MODVERSIONS, just don't enable modversions.. it doesn't provide you any real safety at all. and it makes your build a LOT slower. I'm

Re: Dumping the checksums in a module

2007-05-23 Thread John Sigler
Jan Engelhardt wrote: 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

Re: Dumping the checksums in a module

2007-05-23 Thread John Sigler
Jan Engelhardt wrote: 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

Re: Dumping the checksums in a module

2007-05-22 Thread Jan Engelhardt
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 >>

Re: Dumping the checksums in a module

2007-05-22 Thread John Sigler
Sam Ravnborg wrote: On Fri, May 18, 2007 at 10:27:06PM +0200, Jan Engelhardt wrote: On May 18 2007 17:02, John Sigler wrote: I'm getting "disagrees about version of symbol struct_module" messages, and I'm trying to understand why. As far as I understand (which is not very far), if I define

Re: Dumping the checksums in a module

2007-05-22 Thread John Sigler
Jan Engelhardt wrote: On May 18 2007 17:02, John Sigler wrote: I'm getting "disagrees about version of symbol struct_module" messages, and I'm trying to understand why. As far as I understand (which is not very far), if I define CONFIG_MODVERSIONS, then checksums for various functions (all

Re: Dumping the checksums in a module

2007-05-22 Thread Jan Engelhardt
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.

Re: Dumping the checksums in a module

2007-05-22 Thread John Sigler
Jan Engelhardt wrote: On May 18 2007 17:02, John Sigler wrote: I'm getting disagrees about version of symbol struct_module messages, and I'm trying to understand why. As far as I understand (which is not very far), if I define CONFIG_MODVERSIONS, then checksums for various functions (all

Re: Dumping the checksums in a module

2007-05-22 Thread John Sigler
Sam Ravnborg wrote: On Fri, May 18, 2007 at 10:27:06PM +0200, Jan Engelhardt wrote: On May 18 2007 17:02, John Sigler wrote: I'm getting disagrees about version of symbol struct_module messages, and I'm trying to understand why. As far as I understand (which is not very far), if I define

Re: Dumping the checksums in a module

2007-05-18 Thread Sam Ravnborg
On Fri, May 18, 2007 at 10:27:06PM +0200, Jan Engelhardt wrote: > > On May 18 2007 17:02, John Sigler wrote: > > > > I'm getting "disagrees about version of symbol struct_module" messages, > > and I'm trying to understand why. > > > > As far as I understand (which is not very far), if I define >

Re: Dumping the checksums in a module

2007-05-18 Thread Jan Engelhardt
On May 18 2007 17:02, John Sigler wrote: > > I'm getting "disagrees about version of symbol struct_module" messages, > and I'm trying to understand why. > > As far as I understand (which is not very far), if I define > CONFIG_MODVERSIONS, then checksums for various functions (all exported >

Dumping the checksums in a module

2007-05-18 Thread John Sigler
Hello everyone, I'm getting "disagrees about version of symbol struct_module" messages, and I'm trying to understand why. As far as I understand (which is not very far), if I define CONFIG_MODVERSIONS, then checksums for various functions (all exported functions?) and various structures

Dumping the checksums in a module

2007-05-18 Thread John Sigler
Hello everyone, I'm getting disagrees about version of symbol struct_module messages, and I'm trying to understand why. As far as I understand (which is not very far), if I define CONFIG_MODVERSIONS, then checksums for various functions (all exported functions?) and various structures

Re: Dumping the checksums in a module

2007-05-18 Thread Jan Engelhardt
On May 18 2007 17:02, John Sigler wrote: I'm getting disagrees about version of symbol struct_module messages, and I'm trying to understand why. As far as I understand (which is not very far), if I define CONFIG_MODVERSIONS, then checksums for various functions (all exported functions?)

Re: Dumping the checksums in a module

2007-05-18 Thread Sam Ravnborg
On Fri, May 18, 2007 at 10:27:06PM +0200, Jan Engelhardt wrote: On May 18 2007 17:02, John Sigler wrote: I'm getting disagrees about version of symbol struct_module messages, and I'm trying to understand why. As far as I understand (which is not very far), if I define