diff options
author | Bernd Schubert <bschubert@ddn.com> | 2024-03-28 15:18:14 +0100 |
---|---|---|
committer | Bernd Schubert <bernd.schubert@fastmail.fm> | 2024-03-29 13:04:45 +0100 |
commit | 3e283a1bcbc4ec78fb45c4a8b3f683b8e3082c53 (patch) | |
tree | cf00051abd35fc7edba7d8014e9d41952acf37fb /example | |
parent | 67d4db405059f83d3c2f4ee577a712c424b481db (diff) | |
download | libfuse-3e283a1bcbc4ec78fb45c4a8b3f683b8e3082c53.tar.gz |
Add support for FUSE_CAP_HANDLE_KILLPRIV_V2
This just adds in the basic handler, but does not
use it yet in examples.
Diffstat (limited to 'example')
-rw-r--r-- | example/printcap.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/example/printcap.c b/example/printcap.c index 30e2057..bbbc1b8 100644 --- a/example/printcap.c +++ b/example/printcap.c @@ -81,6 +81,14 @@ static void pc_init(void *userdata, printf("\tFUSE_CAP_EXPLICIT_INVAL_DATA\n"); if(conn->capable & FUSE_CAP_EXPIRE_ONLY) printf("\tFUSE_CAP_EXPIRE_ONLY\n"); + if(conn->capable & FUSE_CAP_SETXATTR_EXT) + printf("\tFUSE_CAP_SETXATTR_EXT\n"); + if(conn->capable & FUSE_CAP_HANDLE_KILLPRIV) + printf("\tFUSE_CAP_HANDLE_KILLPRIV\n"); + if(conn->capable & FUSE_CAP_HANDLE_KILLPRIV_V2) + printf("\tFUSE_CAP_HANDLE_KILLPRIV_V2\n"); + if(conn->capable & FUSE_CAP_DIRECT_IO_ALLOW_MMAP) + printf("\tFUSE_CAP_DIRECT_IO_ALLOW_MMAP\n"); fuse_session_exit(se); } |