Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2007 19:41:48 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_exec.c
Message-ID:  <200706131941.l5DJfmLh054894@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2007-06-13 19:41:48 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_exec.c 
  Log:
  Conditionally acquire Giant when dropping a reference on the ktrace vnode
  during execve() when turning off tracing due to executing a setuid binary
  as non-root.  Previously this could fail to acquire Giant and fail an
  assertion if the ktrace file was on a non-MPSAFE filesystem and the
  executable was on an MPSAFE filesystem.
  
  MFC after:      3 days
  Reported by:    kris
  
  Revision  Changes    Path
  1.306     +6 -1      src/sys/kern/kern_exec.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706131941.l5DJfmLh054894>