aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorChristian Brauner <[email protected]>2021-08-23 15:13:54 +0000
committerSteve French <[email protected]>2021-09-04 04:29:45 +0000
commit9467a0ce486c87a8f06ad492afa8b95686bff61f (patch)
tree2ba6eecab7774ec3f9328c1681f5c35e63c9afd5 /fs/proc/array.c
parentksmbd: fix translation in sid_to_id() (diff)
downloadkernel-9467a0ce486c87a8f06ad492afa8b95686bff61f.tar.gz
kernel-9467a0ce486c87a8f06ad492afa8b95686bff61f.zip
ndr: fix translation in ndr_encode_posix_acl()
The sid_to_id() helper encodes raw ownership information suitable for s*id handling. This is conceptually equivalent to reporting ownership information via stat to userspace. In this case the consumer is ksmbd instead of a regular user. So when encoding raw ownership information suitable for s*id handling later we need to map the id up according to the user namespace of ksmbd itself taking any idmapped mounts into account. 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 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions