Results 1 to 3 of 3
Hi,
I am trying to change the kernel module that loads and executes the linux executable files.
Basically, I want to know which kernel module is responsible for loading and ...
- 03-02-2005 #1Just Joined!
- Join Date
- Sep 2004
- Posts
- 26
Kernel Module for loading Linux executables
Hi,
I am trying to change the kernel module that loads and executes the linux executable files.
Basically, I want to know which kernel module is responsible for loading and executing the linux executable files.
When I say Linux executable files, I mean, the ones generated like this:-
#> gcc -o Dummy Dummy.c
#> ./Dummy
So when i do ./Dummy, what kernel module is called to load it into memory and then execute it.
I thought that the ELF loader i.e. binfmt_elf.c was the program responsible for this. But when i made changes (basically add some printk statements) to it, and recompiled the kernel, it showed the same results.
So would appreciate if someone can help me with this.
Thanks
Shivanu
- 03-03-2005 #2Linux User
- Join Date
- Oct 2004
- Location
- /dev/random
- Posts
- 404
Where are you looking for output of printk()'s??
It would mostly go to syslog, depending on what priority you've specified in the printk(). So, you might want to check out /var/log/messages too...The Unforgiven
Registered Linux User #358564
- 03-03-2005 #3Just Joined!
- Join Date
- Sep 2004
- Posts
- 26
Hey,
Thanks, I got them at syslog.
Shivanu


Reply With Quote
