idmap mount support (#1523)
Some checks failed
CodeQL / Analyze (push) Has been cancelled
mkdocs / deploy (push) Has been cancelled

* Add idmap mount support

* Further replacement of std::filesystem::path to fs::path

* Update docs regarding idmap support
This commit is contained in:
trapexit 2025-09-18 01:07:28 -04:00 • committed by GitHub
parent 8c649d33ee
commit ca59ae53a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 73 additions and 49 deletions

View file

@ -1203,6 +1203,8 @@ do_init(fuse_req_t req,
f->conn.capable |= FUSE_CAP_HANDLE_KILLPRIV;
if(inargflags & FUSE_HANDLE_KILLPRIV_V2)
f->conn.capable |= FUSE_CAP_HANDLE_KILLPRIV_V2;
if(inargflags & FUSE_ALLOW_IDMAP)
f->conn.capable |= FUSE_CAP_ALLOW_IDMAP;
}
else
{
@ -1280,6 +1282,9 @@ do_init(fuse_req_t req,
outargflags |= FUSE_HANDLE_KILLPRIV;
if(f->conn.want & FUSE_CAP_HANDLE_KILLPRIV_V2)
outargflags |= FUSE_HANDLE_KILLPRIV_V2;
if(f->conn.want & FUSE_CAP_ALLOW_IDMAP)
outargflags |= FUSE_ALLOW_IDMAP;
if(f->conn.want & FUSE_CAP_PASSTHROUGH)
{
outargflags |= FUSE_PASSTHROUGH;