mirror of
https://github.com/mii443/qemu.git
synced 2025-12-03 11:08:25 +00:00
virtiofsd: Parse flag FUSE_WRITE_KILL_PRIV
Caller can set FUSE_WRITE_KILL_PRIV in write_flags. Parse it and pass it to the filesystem. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Reviewed-by: Misono Tomohiro <misono.tomohiro@jp.fujitsu.com> Reviewed-by: Sergio Lopez <slp@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
This commit is contained in:
committed by
Dr. David Alan Gilbert
parent
4f8bde99c1
commit
f779bc5265
@@ -93,8 +93,12 @@ struct fuse_file_info {
|
||||
*/
|
||||
unsigned int cache_readdir:1;
|
||||
|
||||
/* Indicates that suid/sgid bits should be removed upon write */
|
||||
unsigned int kill_priv:1;
|
||||
|
||||
|
||||
/** Padding. Reserved for future use*/
|
||||
unsigned int padding:25;
|
||||
unsigned int padding:24;
|
||||
unsigned int padding2:32;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user