History log of /freebsd-10-stable/sys/ufs/ufs/ufs_vnops.c
Revision Date Author Comments
# 332750 19-Apr-2018 pfg

MFC r328957:
{ext2|ufs}_readdir: Avoid setting negative ncookies.

ncookies cannot be negative or the allocator will fail. This should only
happen if a caller is very broken but we can still try to survive the
event.

We should probably also verify for uio_resid > MAXPHYS but in that case
it is not clear that just clipping the ncookies value is an adequate
response.


# 308946 21-Nov-2016 mckusick

MFC r307978:
Bug 180894 reports that rm -rf on a directory causes kernel panic and reboot.
Return EINVAL rather than panic for low directory link count.

PR: 180894


# 306182 22-Sep-2016 kib

MFC r305601:
On rename, do not perform truncation of dirhash if the vnode truncation failed.


# 303376 27-Jul-2016 kib

MFC r303090:
Ensure that the UFS directory vnode' vm_object is properly sized
before UFS_BALLOC() is called.


# 301100 01-Jun-2016 kib

MFC r300142:
Ensure that ftruncate(2) is performed synchronously when file is
opened in O_SYNC mode, at least for UFS.


# 292540 21-Dec-2015 kib

MFC r291936:
Update ctime when atime or birthtime are updated.
Cleanup setting of ctime/mtime/birthtime.


# 276648 03-Jan-2015 kib

MFC r276007:
Handle MAKEENTRY cnp flag in the VOP_CREATE().


# 270695 26-Aug-2014 kib

MFC r270204:
Do not busy the UFS mount point inside VOP_RENAME().


# 269283 30-Jul-2014 kib

MFC r268764:
Check for the cross-device cross-link attempt in the VFS, instead of
VOP_LINK() implemenations.


# 267816 24-Jun-2014 kib

MFC r267564:
In msdosfs_setattr(), add a check for result of the utimes(2) permissions test.
Refactor the permission checks for utimes(2).


# 276648 03-Jan-2015 kib

MFC r276007:
Handle MAKEENTRY cnp flag in the VOP_CREATE().


# 270695 26-Aug-2014 kib

MFC r270204:
Do not busy the UFS mount point inside VOP_RENAME().


# 269283 30-Jul-2014 kib

MFC r268764:
Check for the cross-device cross-link attempt in the VFS, instead of
VOP_LINK() implemenations.


# 267816 24-Jun-2014 kib

MFC r267564:
In msdosfs_setattr(), add a check for result of the utimes(2) permissions test.
Refactor the permission checks for utimes(2).