Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Nov 1997 04:25:00 -0800 (PST)
From:      Bruce Evans <bde@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG
Subject:   cvs commit: src/sys/kern kern_descrip.c
Message-ID:  <199711231225.EAA09102@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         1997/11/23 04:25:00 PST

  Modified files:
    sys/kern             kern_descrip.c 
  Log:
  Fixed a missing conversion of retval to p_retval in disabled code.
  
  Fixed overflow of FFLAGS() in fcntl(F_SETFL, ...).  This was not
  a security hole, but gave wrong results for silly flags values.
  E.g., it make fcntl(F_SETFL, -1) equivalent to fcntl(F_SETFL, 0).
  POSIX requires ignoring the open mode bits in fcntl() (even if
  they would be invalid for open()).
  
  Revision  Changes    Path
  1.45      +3 -3      src/sys/kern/kern_descrip.c



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