Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Kernel Module for loading Linux executables

    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.

  2. #2
    Linux User
    Join Date
    Oct 2004
    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
    Thanks, I got them at syslog.


  4. $spacer_open

Posting Permissions

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