cvs commit: src/sys/kern imgact_aout.c imgact_elf.c imgact_gzip.c

Alan Cox alc at FreeBSD.org
Fri Dec 23 20:57:51 PST 2005


alc         2005-12-24 04:57:50 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             imgact_aout.c imgact_elf.c imgact_gzip.c 
  Log:
  Maintain the lock on the vnode for most of exec_elfN_imgact().
  Specifically, it is required for the I/O that may be performed by
  elfN_load_section().
  
  Avoid an obscure deadlock in the a.out, elf, and gzip image
  activators.  Add a comment describing why the deadlock does not occur
  in the common case and how it might occur in less usual circumstances.
  
  Eliminate an unused variable from exec_aout_imgact().
  
  In collaboration with: tegge
  
  Revision  Changes    Path
  1.100     +13 -2     src/sys/kern/imgact_aout.c
  1.172     +35 -32    src/sys/kern/imgact_elf.c
  1.55      +13 -0     src/sys/kern/imgact_gzip.c


More information about the cvs-src mailing list