/[base]
ViewVC logotype

Revision 345962


Jump to revision: Previous Next
Author: asomers
Date: Fri Apr 5 18:37:48 2019 UTC (5 years, 2 months ago)
Changed paths: 5
Log Message:
fusefs: implement VOP_ACCESS

VOP_ACCESS was never fully implemented in fusefs.  This change:
* Removes the FACCESS_DO_ACCESS flag, which pretty much disabled the whole
  vop.
* Removes a quixotic special case for VEXEC on regular files.  I don't know
  why that was in there.
* Removes another confusing special case for VADMIN.
* Removes the FACCESS_NOCHECKSPY flag.  It seemed to be a performance
  optimization, but I'm unconvinced that it was a net positive.
* Updates test cases.

This change does NOT implement -o default_permissions.  That will be handled
separately.

PR:		236291
Sponsored by:	The FreeBSD Foundation


Changed paths

Path Details
Directoryprojects/fuse2/sys/fs/fuse/fuse_internal.c modified , text changed
Directoryprojects/fuse2/sys/fs/fuse/fuse_internal.h modified , text changed
Directoryprojects/fuse2/tests/sys/fs/fusefs/access.cc modified , text changed
Directoryprojects/fuse2/tests/sys/fs/fusefs/mockfs.cc modified , text changed
Directoryprojects/fuse2/tests/sys/fs/fusefs/utils.cc modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27