freebsd-dev/sys/cddl
Pawel Jakub Dawidek 65612637e8 Checking file access on size change is bogus. The checks are done earlier by
VFS where we know if this is truncate(2) or ftruncate(2). If this is the
latter we should depend on the mode the file was opened and not on the current
permission.

PR:		standards/154873
Reported by:	Mark Martinec <Mark.Martinec@ijs.si>
Discussed with:	Eric Schrock <eric.schrock@delphix.com>
Discussed with:	Mark Maybee <Mark.Maybee@Oracle.COM>
MFC after:	1 month
2011-03-24 20:28:09 +00:00
..
boot/zfs Finally... Import the latest open-source ZFS version - (SPA) 28. 2011-02-27 19:41:40 +00:00
compat/opensolaris Use proper lock in assertion. 2011-02-28 05:45:31 +00:00
contrib/opensolaris Checking file access on size change is bogus. The checks are done earlier by 2011-03-24 20:28:09 +00:00
dev add DTrace systrace support for linux32 and freebsd32 on amd64 syscalls 2011-03-12 09:09:25 +00:00