Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Oct 2001 16:39:43 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_jail.c
Message-ID:  <200110112339.f9BNdhG51161@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

jhb         2001/10/11 16:39:43 PDT

  Modified files:
    sys/kern             kern_jail.c 
  Log:
  - Catch up to the new ucred API.
  - Add proc locking to the jail() syscall.  This mostly involved shuffling
    a few things around so that blockable things like malloc and copyin
    were performed before acquiring the lock and checking the existing
    ucred and then updating the ucred as one "atomic" change under the proc
    lock.
  
  Revision  Changes    Path
  1.15      +25 -19    src/sys/kern/kern_jail.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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