cvs commit: src/sys/kern sys_generic.c sys_socket.c vfs_vnops.c src/sys/opencrypto cryptodev.c

Poul-Henning Kamp phk at FreeBSD.org
Wed Nov 17 09:09:55 GMT 2004


phk         2004-11-17 09:09:55 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             sys_generic.c sys_socket.c vfs_vnops.c 
    sys/opencrypto       cryptodev.c 
  Log:
  Push Giant down through ioctl.
  
  Don't grab Giant in the upper syscall/wrapper code
  
  NET_LOCK_GIANT in the socket code (sockets/fifos).
  
  mtx_lock(&Giant) in the vnode code.
  
  mtx_lock(&Giant) in the opencrypto code.  (This may actually not be
  needed, but better safe than sorry).
  
  Devfs grabs Giant if the driver is marked as needing Giant.
  
  Revision  Changes    Path
  1.139     +0 -7      src/sys/kern/sys_generic.c
  1.66      +2 -0      src/sys/kern/sys_socket.c
  1.216     +9 -61     src/sys/kern/vfs_vnops.c
  1.23      +16 -3     src/sys/opencrypto/cryptodev.c


More information about the cvs-src mailing list