Hi,
I'm modifying execve() so that it will log attempts
to execute a program from a filesystem mounted as noexec.
I think it is interesting to log the UID, the filename of
the program which called execve() and the program it tried to
executed.
I see (kern_exec.c) I have the vnode of the process
text, but, how can I obtain the filename for the vnode? Is there a
routine in the kernel to do that?
Thanks,
Borja.
--
***********************************************************************
Borja Marcos * Internet: [EMAIL PROTECTED]
Alangoeta, 11 1 izq * [EMAIL PROTECTED]
48990 - Algorta (Vizcaya) * [EMAIL PROTECTED]
SPAIN * CompuServe: 100015,3502
***********************************************************************
--- FreeBSD, turning PCs into workstations
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message