Find the answer to your Linux question:
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just 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

  2. #2
    Linux 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

  3. #3
    Just Joined!
    Join Date
    Sep 2004
    Posts
    26
    Hey,
    Thanks, I got them at syslog.

    Shivanu

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •