cvs commit: src/sys/emulation/ibcs2/i386 ibcs2_fcntl.c ibcs2_ioctl.c src/sys/emulation/linux linux_file.c src/sys/emulation/svr4 svr4_fcntl.c svr4_filio.c svr4_ioctl.c svr4_stream.c src/sys/kern imgact_elf.c init_main.c kern_descrip.c kern_event.c sys_generic.c ...

Matthew Dillon dillon at crater.dragonflybsd.org
Fri May 19 00:37:19 PDT 2006


dillon      2006/05/19 00:33:46 PDT

DragonFly src repository

  Modified files:
    sys/emulation/ibcs2/i386 ibcs2_fcntl.c ibcs2_ioctl.c 
    sys/emulation/linux  linux_file.c 
    sys/emulation/svr4   svr4_fcntl.c svr4_filio.c svr4_ioctl.c 
                         svr4_stream.c 
    sys/kern             imgact_elf.c init_main.c kern_descrip.c 
                         kern_event.c sys_generic.c vfs_syscalls.c 
    sys/netproto/smb     smb_dev.c 
    sys/sys              filedesc.h 
    sys/vfs/fdesc        fdesc_vnops.c 
    sys/vm               vm_mmap.c 
  Log:
  Convert most manual accesses to filedesc->fd_files[] into the appropriate
  holdfp() call.  Fix a number of places where ops were being executed
  on the file pointer without holding a private reference to it (mainly
  fo_ioctl(), revoke(), and lseek()).
  
  Create procedures in kern_descrip.c to set and clear descriptor flags
  and to handle the bootstrap filedesc for proc0.  Replace manual code
  elsewhere with calls to the new procedures.
  
  Move getvnode() to kern_descrip.c.  Remove nsmb_getfp().  Use holdfp()
  instead.
  
  Revision  Changes    Path
  1.13      +7 -4      src/sys/emulation/ibcs2/i386/ibcs2_fcntl.c
  1.12      +98 -63    src/sys/emulation/ibcs2/i386/ibcs2_ioctl.c
  1.29      +14 -10    src/sys/emulation/linux/linux_file.c
  1.19      +30 -20    src/sys/emulation/svr4/svr4_fcntl.c
  1.11      +14 -20    src/sys/emulation/svr4/svr4_filio.c
  1.13      +11 -10    src/sys/emulation/svr4/svr4_ioctl.c
  1.19      +68 -73    src/sys/emulation/svr4/svr4_stream.c
  1.38      +9 -3      src/sys/kern/imgact_elf.c
  1.53      +1 -8      src/sys/kern/init_main.c
  1.58      +53 -0     src/sys/kern/kern_descrip.c
  1.23      +8 -10     src/sys/kern/kern_event.c
  1.30      +23 -27    src/sys/kern/sys_generic.c
  1.91      +17 -27    src/sys/kern/vfs_syscalls.c
  1.12      +20 -29    src/sys/netproto/smb/smb_dev.c
  1.14      +3 -0      src/sys/sys/filedesc.h
  1.29      +5 -3      src/sys/vfs/fdesc/fdesc_vnops.c
  1.29      +14 -14    src/sys/vm/vm_mmap.c


http://www.dragonflybsd.org/cvsweb/src/sys/emulation/ibcs2/i386/ibcs2_fcntl.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/ibcs2/i386/ibcs2_ioctl.c.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/linux/linux_file.c.diff?r1=1.28&r2=1.29&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/svr4/svr4_fcntl.c.diff?r1=1.18&r2=1.19&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/svr4/svr4_filio.c.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/svr4/svr4_ioctl.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/svr4/svr4_stream.c.diff?r1=1.18&r2=1.19&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/imgact_elf.c.diff?r1=1.37&r2=1.38&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/init_main.c.diff?r1=1.52&r2=1.53&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_descrip.c.diff?r1=1.57&r2=1.58&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_event.c.diff?r1=1.22&r2=1.23&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/sys_generic.c.diff?r1=1.29&r2=1.30&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_syscalls.c.diff?r1=1.90&r2=1.91&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/smb/smb_dev.c.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/filedesc.h.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/fdesc/fdesc_vnops.c.diff?r1=1.28&r2=1.29&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_mmap.c.diff?r1=1.28&r2=1.29&f=u





More information about the Commits mailing list