[BACK]Return to vfs_syscalls.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/kern/vfs_syscalls.c between version 1.518.2.5 and 1.518.2.6

version 1.518.2.5, 2019/01/18 00:01:01 version 1.518.2.6, 2019/01/22 07:42:41
Line 1624  fd_open(const char *path, int open_flags
Line 1624  fd_open(const char *path, int open_flags
         return error;          return error;
 }  }
   
 /*  
  * Check permissions, allocate an open file structure,  
  * and call the device open routine if any.  
  */  
 static int  
 stub_sys_openat_10(struct pathbuf **pb)  
 {  
   
         return 0;  
 }  
   
 MODULE_CALL_HOOK_DECL(compat_10_openat_hook, int, (struct pathbuf **));  
 MODULE_CALL_HOOK(compat_10_openat_hook, int, (struct pathbuf **pb), (pb),  
     stub_sys_openat_10(pb));  
   
 static int  static int
 do_sys_openat(lwp_t *l, int fdat, const char *path, int flags,  do_sys_openat(lwp_t *l, int fdat, const char *path, int flags,
     int mode, int *fd)      int mode, int *fd)
Line 1649  do_sys_openat(lwp_t *l, int fdat, const 
Line 1634  do_sys_openat(lwp_t *l, int fdat, const 
         int error;          int error;
   
         if (path == NULL) {          if (path == NULL) {
                 error = compat_10_openat_hook_call(&pb);                  MODULE_CALL_HOOK(compat_10_openat_hook, (&pb),
                       0, error);
                 if (error)                  if (error)
                         return error;                          return error;
         } else {          } else {

Legend:
Removed from v.1.518.2.5  
changed lines
  Added in v.1.518.2.6

CVSweb <webmaster@jp.NetBSD.org>