Subject: Re: Bug in compat sunos?
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: Krister Walfridsson <cato@df.lth.se>
List: port-sparc
Date: 08/25/1996 19:25:09
On Sat, 24 Aug 1996, Jason Thorpe wrote:
>
> Hmm ... just looked ... sunos_sys_execv() (sunos_misc.c, syscall #11) 
> does a check for the alternate path... However, in the SunOS 
> syscalls.master, syscall #59 simply calls sys_execve(), and thus no
> alternate path will be checked.  Which syscall number is your program
> using?  (ktrace can tell you.)

It's using #59. I changed the item for #59 in syscalls.master to
   
   59      STD             { int sunos_sys_execv(char *path, char **argp); }

and everything seems to be working now.

   /Krister