freebsd-dev/sys/fs/devfs
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
..
devfs_devs.c Fix long known bug with handling device aliases residing not in devfs root. 2013-12-12 11:05:48 +00:00
devfs_dir.c Add reference counting for devfs paths containing user created symbolic 2010-09-27 17:47:09 +00:00
devfs_int.h Prefer __containerof() above member2struct(). 2012-09-15 19:28:54 +00:00
devfs_rule.c make path matching in devfs rules consistent and sane (and safer) 2013-07-26 14:25:58 +00:00
devfs_vfsops.c Complete MPSAFE VFS interface and remove MNTK_MPSAFE flag. 2012-11-09 18:02:25 +00:00
devfs_vnops.c In msdosfs_setattr(), add a check for result of the utimes(2) 2014-06-17 07:11:00 +00:00
devfs.h Introduce the "ruleset=number" option for devfs(5) mounts. 2012-02-09 10:09:12 +00:00