diff options
author | pjd <pjd@FreeBSD.org> | 2011-03-24 20:28:09 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2011-03-24 20:28:09 +0000 |
commit | a827838a1a97317dff1d1b709c70e63c7b4f2429 (patch) | |
tree | 569dfa8459e11335084fc18365d39359abce9e9d /sys/conf/files | |
parent | e94d4d2ed6a442604885618a239373e8df23c269 (diff) | |
download | FreeBSD-src-a827838a1a97317dff1d1b709c70e63c7b4f2429.zip FreeBSD-src-a827838a1a97317dff1d1b709c70e63c7b4f2429.tar.gz |
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
Diffstat (limited to 'sys/conf/files')
0 files changed, 0 insertions, 0 deletions