Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2006 13:15:29 +0000 (UTC)
From:      Maxim Konovalov <maxim@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/ufs/ufs ufs_vnops.c
Message-ID:  <200605311315.k4VDFUhD093628@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
maxim       2006-05-31 13:15:29 UTC

  FreeBSD src repository

  Modified files:
    sys/ufs/ufs          ufs_vnops.c 
  Log:
  o According to POSIX, the result of ftruncate(2) is unspecified
  for file types other than VREG, VDIR and shared memory objects.
  We already handle VREG, VLNK and VDIR cases.  Silently ignore
  truncate requests for all the rest.  Adjust comments.
  
  PR:             kern/98064
  Submitted by:   bde
  Security:       local DoS
  Regress. test:  regression/fifo/fifo_misc
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.276     +22 -4     src/sys/ufs/ufs/ufs_vnops.c



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