qemu-e2k/tools/virtiofsd
Vivek Goyal cb282e556a virtiofsd: Add helpers to work with /proc/self/task/tid/attr/fscreate
Soon we will be able to create and also set security context on the file
atomically using /proc/self/task/tid/attr/fscreate knob. If this knob
is available on the system, first set the knob with the desired context
and then create the file. It will be created with the context set in
fscreate. This works basically for SELinux and its per thread.

This patch just introduces the helper functions. Subsequent patches will
make use of these helpers.

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Message-Id: <20220208204813.682906-8-vgoyal@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
  dgilbert: Manually merged gettid syscall number fixup from Vivek
2022-02-17 17:22:26 +00:00
..
50-qemu-virtiofsd.json.in
buffer.c
fuse_common.h virtiofsd, fuse_lowlevel.c: Add capability to parse security context 2022-02-17 17:22:26 +00:00
fuse_i.h virtiofsd, fuse_lowlevel.c: Add capability to parse security context 2022-02-17 17:22:26 +00:00
fuse_log.c
fuse_log.h
fuse_lowlevel.c virtiofsd, fuse_lowlevel.c: Add capability to parse security context 2022-02-17 17:22:26 +00:00
fuse_lowlevel.h spelling: sytem => system 2021-09-15 15:51:07 +02:00
fuse_misc.h
fuse_opt.c tools/virtiofsd/fuse_opt.c: Replaced a malloc with GLib's g_try_malloc 2021-05-26 18:39:32 +01:00
fuse_opt.h
fuse_signals.c
fuse_virtio.c virtiofsd: Error on bad socket group name 2021-10-25 19:38:32 +01:00
fuse_virtio.h
helper.c virtiofsd: Add an option to enable/disable posix acls 2021-07-05 10:51:26 +01:00
meson.build
passthrough_helpers.h
passthrough_ll.c virtiofsd: Add helpers to work with /proc/self/task/tid/attr/fscreate 2022-02-17 17:22:26 +00:00
passthrough_seccomp.c tools/virtiofsd: Add rseq syscall to the seccomp allowlist 2022-02-14 17:11:20 +00:00
passthrough_seccomp.h