Do you know the bug of EXPORT_SYMBOL()

2015-07-24 Thread Navy
Hi To my understanding, EXPORT_SYMBOL() is used to export a symbol in kernel/modules. The the address of the all sysbols is in /proc/kallsyms. Only symbols exported by EXPORT_SYMBOL() is listed its CRC information in Module.symvers. So I think the CRC is the key to export a symbol. I do an

Re: Do you know the bug of EXPORT_SYMBOL()

2015-07-24 Thread Pranay Srivastava
On Fri, Jul 24, 2015 at 11:19 AM, Navy nav...@126.com wrote: Hi To my understanding, EXPORT_SYMBOL() is used to export a symbol in kernel/modules. The the address of the all sysbols is in /proc/kallsyms. Only symbols exported by EXPORT_SYMBOL() is listed its CRC information in Module.symvers.

Re: Do you know the bug of EXPORT_SYMBOL()

2015-07-24 Thread Navy
On Fri, Jul 24, 2015 at 01:48:57PM +0530, Pranay Srivastava wrote: On Fri, Jul 24, 2015 at 11:19 AM, Navy nav...@126.com wrote: Hi To my understanding, EXPORT_SYMBOL() is used to export a symbol in Why this bug is not be fixed? It's a long way from 2.6 now. can you send something about

Re: Do you know the bug of EXPORT_SYMBOL()

2015-07-24 Thread Greg KH
On Fri, Jul 24, 2015 at 01:49:42PM +0800, Navy wrote: Hi To my understanding, EXPORT_SYMBOL() is used to export a symbol in kernel/modules. The the address of the all sysbols is in /proc/kallsyms. Only symbols exported by EXPORT_SYMBOL() is listed its CRC information in Module.symvers. So

Re: Do you know the bug of EXPORT_SYMBOL()

2015-07-24 Thread Abhishek bist
Hi, This is the place where modprobe comes into play .If you have dependent module the on your module then it is recommended to use modprobe . After compiling your module run : 1. depmod -a 2. modprobe mod1 3. modprobe mod2 And as far as i know CONFIG_MODVERSION is basically for the module

Re: Do you know the bug of EXPORT_SYMBOL()

2015-07-24 Thread Tal Shorer
With in-tree modules, the compilation process can determine dependencies and that's why modprobe works with them (insmod doesn't). How do you want the kernel to know where the symbol comes from? Why load your mod1 and not my mod3 that also defines myfunc()? Who's going to call init_module on your

Re: how to build Documentation/DocBook/

2015-07-24 Thread Jim Davis
On Fri, Jul 17, 2015 at 6:18 AM, Luis de Bethencourt l...@debethencourt.com wrote: On 17 July 2015 at 13:40, Ahmed Soliman ahmedsoliman0x...@gmail.com wrote: I have fresh kernel downloaded by git and I want to know how to build Documentation/DocBook/ as pdf I have tried make pdfdocs output

I dont know where to start

2015-07-24 Thread Ahmed Soliman
hi first of all I want to thank you with your real help but currently I started to get lost I can build my own kernel write patches but cannot contribute to the linux kernel because I don't know where to start learning I am really interested in the linux security module (although I know nothing

Re: I dont know where to start

2015-07-24 Thread Greg KH
On Fri, Jul 24, 2015 at 09:20:48PM +0200, Ahmed Soliman wrote: hi first of all I want to thank you with your real help but currently I started to get lost I can build my own kernel write patches but cannot contribute to the linux kernel because I don't know where to start learning I am

Re: I dont know where to start

2015-07-24 Thread Laurent Navet
To start learning how to contribute, Just one keyword : eudyptula Good luck, 2015-07-24 21:20 UTC+02:00, Ahmed Soliman ahmedsoliman0x...@gmail.com: hi first of all I want to thank you with your real help but currently I started to get lost I can build my own kernel write patches but cannot

kernel/git/torvalds/linux.git - Linux kernel source tree

2015-07-24 Thread Gnoleba GNOGBO
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/ Hi ! This is a great link for a lot of information. Thank you for this job. All of us would like to learn again and again can you give us the link which explain this organisation ? The vocabulary used ? The legend ? Understand to