OSDN Git Service

virtiofsd, fuse_lowlevel.c: Add capability to parse security context
authorVivek Goyal <vgoyal@redhat.com>
Tue, 8 Feb 2022 20:48:08 +0000 (15:48 -0500)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 17 Feb 2022 17:22:26 +0000 (17:22 +0000)
commit36cfab870e834209d034266592786310acea8311
treeab82d9e4a7a914416206e305623bb67cedb6f14f
parent4c7c393c7baadecf44a3d3c726f99660387a3293
virtiofsd, fuse_lowlevel.c: Add capability to parse security context

Add capability to enable and parse security context as sent by client
and put into fuse_req. Filesystems now can get security context from
request and set it on files during creation.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Message-Id: <20220208204813.682906-6-vgoyal@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
tools/virtiofsd/fuse_common.h
tools/virtiofsd/fuse_i.h
tools/virtiofsd/fuse_lowlevel.c