Print this page
OS-4104 lxbrand convert stat syscalls to IKE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/syscall/stat.c
          +++ new/usr/src/uts/common/syscall/stat.c
↓ open down ↓ 53 lines elided ↑ open up ↑
  54   54  #include <sys/debug.h>
  55   55  #include <sys/cmn_err.h>
  56   56  #include <c2/audit.h>
  57   57  #include <fs/fs_subr.h>
  58   58  
  59   59  /*
  60   60   * Get the vp to be stated and the cred to be used for the call
  61   61   * to VOP_GETATTR
  62   62   */
  63   63  
  64      -static int
       64 +int
  65   65  cstatat_getvp(int fd, char *name, int follow, vnode_t **vp, cred_t **cred)
  66   66  {
  67   67          vnode_t *startvp;
  68   68          file_t *fp;
  69   69          int error;
  70   70          cred_t *cr;
  71   71          int estale_retry = 0;
  72   72  
  73   73          *vp = NULL;
  74   74  
↓ open down ↓ 556 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX