Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jan 2000 23:12:53 -0800 (PST)
From:      Warner Losh <imp@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys filedesc.h src/sys/kern kern_descrip.c kern_exec.c
Message-ID:  <200001200712.XAA86651@freefall.freebsd.org>

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

imp         2000/01/19 23:12:53 PST

  Modified files:
    sys/sys              filedesc.h 
    sys/kern             kern_descrip.c kern_exec.c 
  Log:
  When we are execing a setugid program, and we have a procfs filesystem
  file open in one of the special file descriptors (0, 1, or 2), close
  it before completing the exec.
  
  Submitted by: nergal@idea.avet.com.pl
  Constructive comments: deraadt@openbsd.org, sef, peter, jkh
  
  Revision  Changes    Path
  1.19      +2 -1      src/sys/sys/filedesc.h
  1.78      +60 -1     src/sys/kern/kern_descrip.c
  1.107     +2 -1      src/sys/kern/kern_exec.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?200001200712.XAA86651>