From 24b35c3d97ffdbf0a1f8e8b4e94ed892343603a6 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Thu, 2 Jul 2009 12:26:36 +0000 Subject: * The context is extended with a 'umask' field. The umask is sent for mknod, mkdir and create requests by linux kernel version 2.6.31 or later, otherwise the umask is set to zero. Also introduce a new feature flag: FUSE_CAP_DONT_MASK. If the kernel supports this feature, then this flag will be set in conn->capable in the ->init() method. If the filesystem sets this flag in in conn->want, then the create modes will not be masked. * Add low level interfaces for lookup cache and attribute invalidation. This feature is available in linux kernels 2.6.31 or later. Patch by John Muir * Kernel interface version is now 7.12 --- include/fuse.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/fuse.h') diff --git a/include/fuse.h b/include/fuse.h index a58cd9f..7429922 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -518,6 +518,9 @@ struct fuse_context { /** Private filesystem data */ void *private_data; + + /** Umask of the calling process (introduced in version 2.8) */ + mode_t umask; }; /** -- cgit v1.2.3