fuse_lowlevel.h: add more setattr flags
authorXiubo Li <xiubli@redhat.com>
Thu, 9 Feb 2023 04:49:43 +0000 (12:49 +0800)
committerNikolaus Rath <Nikolaus@rath.org>
Thu, 9 Feb 2023 10:22:15 +0000 (10:22 +0000)
commit418b7efca9bfa56802732ecde75651071315c9bd
treeff8fbdd822a30d76c890449425d8d548a83fa168
parentd7560cc9916b086bfe5d86459cc9f04033edd904
fuse_lowlevel.h: add more setattr flags

Such as for the xfstest-dev's generic/684 test case it will clear
suid and sgid if the fallocate request is commited by an unprivileged
user.

The kernel fuse passed the ATTR_KILL_SUID/ATTR_KILL_SGID flags to
userspace but it will be dropped.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
include/fuse_lowlevel.h
lib/fuse_lowlevel.c