Re: Obtaining the filename for a vnode

1999-10-30 Thread Chuck Youse
On Sun, 31 Oct 1999, Borja Marcos wrote: > 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? Careful here: the UNIX filesystem separates vnodes from directory entries. One can eas

Obtaining the filename for a vnode

1999-10-30 Thread Borja Marcos
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.