[BACK]Return to linux_file64.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / compat / linux / common

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

Diff for /src/sys/compat/linux/common/linux_file64.c between version 1.2.2.2 and 1.3

version 1.2.2.2, 2000/12/13 15:49:49 version 1.3, 2001/09/30 16:04:04
Line 220  linux_sys_truncate64(p, v, retval)
Line 220  linux_sys_truncate64(p, v, retval)
   
         return sys_truncate(p, uap, retval);          return sys_truncate(p, uap, retval);
 }  }
   
   #ifndef __alpha__
   int
   linux_sys_fcntl64(p, v, retval)
           struct proc *p;
           void *v;
           register_t *retval;
   {
           struct linux_sys_fcntl64_args /* {
                   syscallarg(unsigned int) fd;
                   syscallarg(unsigned int) cmd;
                   syscallarg(unsigned long) arg;
           } */ *uap = v;
           unsigned int fd, cmd;
           unsigned long arg;
           int error;
   
           fd = SCARG(uap, fd);
           cmd = SCARG(uap, cmd);
           arg = SCARG(uap, arg);
   
           switch (cmd) {
                   /* XXX implement this later */
                   case LINUX_F_GETLK64:
                           error = 0;
                           break;
                   case LINUX_F_SETLK64:
                           error = 0;
                           break;
                   case LINUX_F_SETLKW64:
                           error = 0;
                           break;
                   default:
                           error = linux_sys_fcntl(p, v, retval);
                           break;
           }
   
           return error;
   }
   #endif /* __alpha__ */

Legend:
Removed from v.1.2.2.2  
changed lines
  Added in v.1.3

CVSweb <webmaster@jp.NetBSD.org>