diff options
author | 2024-09-03 17:16:13 +0200 | |
---|---|---|
committer | 2024-09-04 16:48:22 +0200 | |
commit | aa16880d9f13c6490e80ad614402c8a6fe6f3efa (patch) | |
tree | 04d339400491d4a6d62df302441423ae984e765c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | namespace: introduce SB_I_NOIDMAP flag (diff) | |
download | linux-rng-aa16880d9f13c6490e80ad614402c8a6fe6f3efa.tar.xz linux-rng-aa16880d9f13c6490e80ad614402c8a6fe6f3efa.zip |
fuse: add basic infrastructure to support idmappings
Add some preparational changes in fuse_get_req/fuse_force_creds
to handle idmappings.
Miklos suggested [1], [2] to change the meaning of in.h.uid/in.h.gid
fields when daemon declares support for idmapped mounts. In a new semantic,
we fill uid/gid values in fuse header with a id-mapped caller uid/gid (for
requests which create new inodes), for all the rest cases we just send -1
to userspace.
No functional changes intended.
Link: https://lore.kernel.org/all/CAJfpegsVY97_5mHSc06mSw79FehFWtoXT=hhTUK_E-Yhr7OAuQ@mail.gmail.com/ [1]
Link: https://lore.kernel.org/all/CAJfpegtHQsEUuFq1k4ZbTD3E1h-GsrN3PWyv7X8cg6sfU_W2Yw@mail.gmail.com/ [2]
Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions