[Virtio-fs] [PATCHv4 2/2] fuse: Call security hooks on new inodes

Chirantan Ekbote chirantan at chromium.org
Tue Jul 21 08:07:08 UTC 2020


On Mon, Jul 13, 2020 at 6:57 PM Chirantan Ekbote <chirantan at chromium.org> wrote:
>
> Add a new `init_security` field to `fuse_conn` that controls whether we
> initialize security when a new inode is created.  Set this to true when
> the `flags` field of the fuse_init_out struct contains
> FUSE_SECURITY_CTX.
>
> When set to true, get the security context for a newly created inode via
> `security_dentry_init_security` and append it to the create, mkdir,
> mknod, and symlink requests.
>

Are there any other concerns with this patch? Or can I expect that it
will get merged eventually?




More information about the Virtio-fs mailing list