1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/sys/fs
Konstantin Belousov 7b81a399a4 In msdosfs_setattr(), add a check for result of the utimes(2)
permissions test, forgotten in r164033.

Refactor the permission checks for utimes(2) into vnode helper
function vn_utimes_perm(9), and simplify its code comparing with the
UFS origin, by writing the call to VOP_ACCESSX only once.  Use the
helper for UFS(5), tmpfs(5), devfs(5) and msdosfs(5).

Reported by:	bde
Reviewed by:	bde, trasz
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2014-06-17 07:11:00 +00:00
..
cd9660
cuse Initial import of character device in userspace support for FreeBSD. 2014-05-23 08:46:28 +00:00
deadfs
devfs In msdosfs_setattr(), add a check for result of the utimes(2) 2014-06-17 07:11:00 +00:00
ext2fs
fdescfs
fifofs
fuse
msdosfs In msdosfs_setattr(), add a check for result of the utimes(2) 2014-06-17 07:11:00 +00:00
nandfs
nfs The new draft specification for NFSv4.0 specifies that a server 2014-05-03 00:13:45 +00:00
nfsclient
nfsserver The new NFS server would not allow a hard link to be 2014-06-06 21:38:49 +00:00
nullfs
procfs
pseudofs
smbfs
tmpfs In msdosfs_setattr(), add a check for result of the utimes(2) 2014-06-17 07:11:00 +00:00
udf
unionfs