diff options
author | Christian Brauner <[email protected]> | 2021-08-23 17:13:50 +0200 |
---|---|---|
committer | Steve French <[email protected]> | 2021-09-03 23:29:44 -0500 |
commit | 43205ca7192aa5de46775fbf7a043222e76abac5 (patch) | |
tree | eab1a3e4c5e3a8cb7a0756b4c210a6ec18b0606d /scripts/gdb/linux/dmesg.py | |
parent | 3cdc20e72c3dacf22382fd15d3154e48d0efdec9 (diff) |
ksmbd: fix translation in ksmbd_acls_fattr()
When creating new filesystem objects ksmbd translates between k*ids and
s*ids. For this it often uses struct smb_fattr and stashes the k*ids in
cf_uid and cf_gid. Let cf_uid and cf_gid always contain the final
information taking any potential idmapped mounts into account. When
finally translation cf_*id into s*ids translate them into the user
namespace of ksmbd since that is the relevant user namespace here.
Cc: Steve French <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Namjae Jeon <[email protected]>
Cc: Hyunchul Lee <[email protected]>
Cc: Sergey Senozhatsky <[email protected]>
Cc: [email protected]
Signed-off-by: Christian Brauner <[email protected]>
Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions