Print this page
Code review comments from pmooney (sundry), and igork (screwups in zonecfg refactoring)


  46 #include <sys/timex.h>
  47 #include <sys/socket.h>
  48 #include <sys/sendfile.h>
  49 
  50 struct hrtsysa;
  51 struct mmaplf32a;
  52 
  53 /*
  54  * This table is the switch used to transfer to the appropriate
  55  * routine for processing a system call.  Each row contains the
  56  * number of arguments expected, a switch that tells systrap()
  57  * in trap.c whether a setjmp() is not necessary, and a pointer
  58  * to the routine.
  59  */
  60 
  61 int     access(char *, int);
  62 int     alarm(int);
  63 int     auditsys(struct auditcalls *, rval_t *);
  64 int64_t brandsys(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t,
  65     uintptr_t);
  66 int     brk(caddr_t);
  67 int     chdir(char *);
  68 int     chmod(char *, int);
  69 int     chown(char *, uid_t, gid_t);
  70 int     chroot(char *);
  71 int     cladm(int, int, void *);
  72 int     close(int);
  73 int     exece(const char *, const char **, const char **);
  74 int     faccessat(int, char *, int, int);
  75 int     fchmodat(int, char *, int, int);
  76 int     fchownat(int, char *, uid_t, gid_t, int);
  77 int     fcntl(int, int, intptr_t);
  78 int64_t vfork();
  79 int64_t forksys(int, int);
  80 int     fstat(int, struct stat *);
  81 int     fdsync(int, int);
  82 int64_t getgid();
  83 int     ucredsys(int, int, void *);
  84 int64_t getpid();
  85 int64_t getuid();
  86 time_t  gtime();




  46 #include <sys/timex.h>
  47 #include <sys/socket.h>
  48 #include <sys/sendfile.h>
  49 
  50 struct hrtsysa;
  51 struct mmaplf32a;
  52 
  53 /*
  54  * This table is the switch used to transfer to the appropriate
  55  * routine for processing a system call.  Each row contains the
  56  * number of arguments expected, a switch that tells systrap()
  57  * in trap.c whether a setjmp() is not necessary, and a pointer
  58  * to the routine.
  59  */
  60 
  61 int     access(char *, int);
  62 int     alarm(int);
  63 int     auditsys(struct auditcalls *, rval_t *);
  64 int64_t brandsys(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t,
  65     uintptr_t);
  66 intptr_t        brk(caddr_t);
  67 int     chdir(char *);
  68 int     chmod(char *, int);
  69 int     chown(char *, uid_t, gid_t);
  70 int     chroot(char *);
  71 int     cladm(int, int, void *);
  72 int     close(int);
  73 int     exece(const char *, const char **, const char **);
  74 int     faccessat(int, char *, int, int);
  75 int     fchmodat(int, char *, int, int);
  76 int     fchownat(int, char *, uid_t, gid_t, int);
  77 int     fcntl(int, int, intptr_t);
  78 int64_t vfork();
  79 int64_t forksys(int, int);
  80 int     fstat(int, struct stat *);
  81 int     fdsync(int, int);
  82 int64_t getgid();
  83 int     ucredsys(int, int, void *);
  84 int64_t getpid();
  85 int64_t getuid();
  86 time_t  gtime();