freebsd-dev/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 NULL stale pointers (should be a no-op as they should no longer be 2013-09-25 02:49:18 +00:00
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 Revert r263449; 2014-03-21 04:33:38 +00:00
fdescfs Update kernel inclusions of capability.h to use capsicum.h instead; some 2014-03-16 10:55:57 +00:00
fifofs Ignore the error from pipespace_new when creating a pipe. 2014-05-02 00:52:13 +00:00
fuse Update kernel inclusions of capability.h to use capsicum.h instead; some 2014-03-16 10:55:57 +00:00
msdosfs In msdosfs_setattr(), add a check for result of the utimes(2) 2014-06-17 07:11:00 +00:00
nandfs Take out the hack to write -1's to non-NAND. Always do a BIO_DELETE on 2014-04-18 17:03:43 +00:00
nfs The new draft specification for NFSv4.0 specifies that a server 2014-05-03 00:13:45 +00:00
nfsclient Modify the NFSv4 client's Pathconf RPC (actually a Getattr Op.) 2014-04-23 22:13:10 +00:00
nfsserver The new NFS server would not allow a hard link to be 2014-06-06 21:38:49 +00:00
nullfs Fix the length calculation for the final block of a sendfile(2) 2013-09-10 10:05:59 +00:00
procfs Relax the vm object locking. Use a read lock. 2013-06-05 17:00:10 +00:00
pseudofs Redo r258088 to avoid relying on signed arithmetic overflow, since 2013-11-20 19:41:00 +00:00
smbfs Use SMB_QUERY_FS_SIZE_INFO request to populate statfs structure. 2014-04-15 09:10:01 +00:00
tmpfs In msdosfs_setattr(), add a check for result of the utimes(2) 2014-06-17 07:11:00 +00:00
udf
unionfs