Re: trapping execve()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 13, 2002 at 10:33:57PM +0530, Sridhar N wrote:
> I just want to printk the name of the executable and be done with it.
> Can't it be done in an easier way ?

In the event your teacher won't allow you to use the LSM interface, you
might have better success hooking fs/binfmt_elf.c. (If you do this, be
sure to not compile in a.out support, for 'complete' coverage, and you
will probably want to disable the binfmt_misc facility as well.)

Of course, if you even have any a.out executables around, I'd be
impressed. :) [and no, lets not relate to the list the horror stories of
the horrible proprietary software you may or may not be forced to use
that is a.out.. :]

-- 
http://sardonix.org/

Attachment: pgp00076.pgp
Description: PGP signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux