diff options
Diffstat (limited to 'include/fuse_lowlevel.h')
-rw-r--r-- | include/fuse_lowlevel.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h index dbf1a27..2cebb30 100644 --- a/include/fuse_lowlevel.h +++ b/include/fuse_lowlevel.h @@ -276,6 +276,10 @@ struct fuse_lowlevel_ops { * bitmask contain valid values. Other members contain undefined * values. * + * Unless FUSE_CAP_HANDLE_KILLPRIV is disabled, this method is + * expected to reset the setuid and setgid bits if the file + * size or owner is being changed. + * * If the setattr was invoked from the ftruncate() system call * under Linux kernel versions 2.6.15 or later, the fi->fh will * contain the value set by the open method or will be undefined @@ -509,6 +513,9 @@ struct fuse_lowlevel_ops { * of the write system call will reflect the return value of this * operation. * + * Unless FUSE_CAP_HANDLE_KILLPRIV is disabled, this method is + * expected to reset the setuid and setgid bits. + * * fi->fh will contain the value set by the open method, or will * be undefined if the open method didn't set any value. * @@ -1013,6 +1020,9 @@ struct fuse_lowlevel_ops { * bufv->off is correctly updated (reflecting the number of * bytes read from bufv->buf[0]). * + * Unless FUSE_CAP_HANDLE_KILLPRIV is disabled, this method is + * expected to reset the setuid and setgid bits. + * * Valid replies: * fuse_reply_write * fuse_reply_err |