pagesThe above info is w.r.t 2.4.21 kernel.
------------------------- ---
| sizeof (void*) | ^
|-----------------------| |
| argv[0] | |
|-----------------------| 31
| argv[1] | |
|-----------------------| |
| argv[2] | |
|=======================| ---
| argv[3] | ^
|-----------------------| |
| argv[4] | |
|-----------------------| 30
| | | |
|-----------------------| |
| | | |
|=======================| ---
| | |
| | |
| | |
| | |
| | |
| | |
|=======================| ---
| | ^
| | |
| | |
| | 0
| | |
| | |
------------------------ ---
Hi,I have a requirement of reading command line arguments passed while invoking a binary, inside load_elf_binary(). I tried to read kernel 2.4 code but i am confused how data is stored inside the pages (linux_bprm)Can anybody point to some document / tutorial or if possible brief me about how it is done?Regards,Dang