Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Apr 2002 16:07:05 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_prot.c
Message-ID:  <200204132307.g3DN76d10901@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2002/04/13 16:07:05 PDT

  Modified files:
    sys/kern             kern_prot.c 
  Log:
  - Change the algorithms of the syscalls to modify process credentials to
    allocate a blank cred first, lock the process, perform checks on the
    old process credential, copy the old process credential into the new
    blank credential, modify the new credential, update the process
    credential pointer, unlock the process, and cleanup rather than trying
    to allocate a new credential after performing the checks on the old
    credential.
  - Cleanup _setugid() a little bit.
  - setlogin() doesn't need Giant thanks to pgrp/session locking and
    td_ucred.
  
  Revision  Changes    Path
  1.152     +137 -83   src/sys/kern/kern_prot.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?200204132307.g3DN76d10901>