Subject: Re: compiling a current kernel..
To: None <netbsd-help@NetBSD.ORG>
From: James Lever <James.Lever@mailbox.uq.oz.au>
List: netbsd-help
Date: 02/17/1995 20:01:36
in the sco binary emulation code there is a small fault..

in /usr/include/sys/systm.h 
--
extern struct sysent {          /* system call table */
        short   sy_narg;        /* number of args */
        short   sy_argsize;     /* total size of arguments */
        int     (*sy_call)();   /* implementing function */
} sysent[];
--
sysent is defined.

but in /usr/src/sys/compat/ibcs2/ibcs2_sysent.c we have 
--
struct sysent ibcs2_sysent[] = {
        { 0, nosys },                   /* 0 = nosys */
        { 1, exit },                    /* 1 = exit */
        { 0, fork },                    /* 2 = fork */
        { 3, read },                    /* 3 = read */
        { 3, write },                   /* 4 = write */
        { 3, ibcs2_open },                      /* 5 = ibcs2_open */
...
        { 2, ibcs2_pathconf },                  /* 174 = ibcs2_pathconf */
        { 2, ibcs2_fpathconf },                 /* 175 = ibcs2_fpathconf */
        { 2, rename },                  /* 176 = rename */
};
--

now is the second field (the one that appears to be missing), 
for sy_argsize, supposed to be missing, (or does this just error for fun) 
or is it supposed to haved specific "short"'s there or what??

thanks.

----
James Lever
Prentice Centre, University of Queensland