freebsd-dev/sys/fs/tmpfs
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
..
tmpfs_fifoops.c Reflect license change of NetBSD code. 2008-09-03 18:53:48 +00:00
tmpfs_fifoops.h Reflect license change of NetBSD code. 2008-09-03 18:53:48 +00:00
tmpfs_subr.c In msdosfs_setattr(), add a check for result of the utimes(2) 2014-06-17 07:11:00 +00:00
tmpfs_vfsops.c Fix -o size less than PAGE_SIZE resulting in SIZE_MAX being used. 2014-03-14 01:43:55 +00:00
tmpfs_vnops.c In msdosfs_setattr(), add a check for result of the utimes(2) 2014-06-17 07:11:00 +00:00
tmpfs_vnops.h Reflect license change of NetBSD code. 2008-09-03 18:53:48 +00:00
tmpfs.h In msdosfs_setattr(), add a check for result of the utimes(2) 2014-06-17 07:11:00 +00:00