Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Mar 2002 10:57:37 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern sysv_msg.c sysv_sem.c sysv_shm.c
Message-ID:  <200203051857.g25Ivbu31463@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2002/03/05 10:57:36 PST

  Modified files:
    sys/kern             sysv_msg.c sysv_sem.c sysv_shm.c 
  Log:
  - Use td_ucred for jail checks.
  - Move jail checks and some other checks involving constants and stack
    variables out from under Giant.  This isn't perfectly safe atm because
    jail_sysvipc_allowed is read w/o a lock meaning that its value could be
    stale.  This global variable will soon become a per-jail flag, however,
    at which time it will either not need a lock or will use the prison lock.
  
  Revision  Changes    Path
  1.37      +17 -30    src/sys/kern/sysv_msg.c
  1.47      +14 -25    src/sys/kern/sysv_sem.c
  1.70      +14 -29    src/sys/kern/sysv_shm.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?200203051857.g25Ivbu31463>