Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Apr 2002 17:45:30 -0700 (PDT)
From:      Jacques Vidrine <nectar@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_descrip.c kern_exec.c src/sys/sys filedesc.h
Message-ID:  <200204190045.g3J0jUY59526@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
nectar      2002/04/18 17:45:29 PDT

  Modified files:
    sys/kern             kern_descrip.c kern_exec.c 
    sys/sys              filedesc.h 
  Log:
  When exec'ing a set[ug]id program, make sure that the stdio file descriptors
  (0, 1, 2) are allocated by opening /dev/null for any which are not already
  open.
  
  Reviewed by:    alfred, phk
  MFC after:      2 days
  
  Revision  Changes    Path
  1.137     +65 -0     src/sys/kern/kern_descrip.c
  1.162     +4 -0      src/sys/kern/kern_exec.c
  1.41      +1 -0      src/sys/sys/filedesc.h

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?200204190045.g3J0jUY59526>