1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/sys/ufs
Maxim Konovalov 3593da9e81 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
2006-05-31 13:15:29 +00:00
..
ffs Remove "update" from ffs_opts. It has been moved to global_opts 2006-05-26 12:44:12 +00:00
ufs o According to POSIX, the result of ftruncate(2) is unspecified 2006-05-31 13:15:29 +00:00