[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: trapping execve()
--- Sridhar N <srin@symonds.net> wrote:
> On Friday 10 May 2002 06:15 am, Seth Arnold wrote:
> > > int (*orig_execve)(const char *, char const **,char const **);
> > > int my_execve(const char * path, char const *argv[],char const
> * envp[])
> >
> > It is my understanding that char const ** is different from
> > char const *argv[]. (My Peter van der Linden is not here, I can't
> cite
> > specifics, sorry.)
> >
>
> No luck.....Changed but still doesn't work. Will keep trying...
> What _is_ the
> prototype of execve() ?
>
Apparently, it changes from processor to processor.
It's defined in /include/asm-xxx/unistd.h
There's an extern declaration in /usr/include/unistd.h
Harmony,
--Christine
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/