diff options
author | 2020-09-03 13:31:10 -0400 | |
---|---|---|
committer | 2023-08-24 11:24:35 +0200 | |
commit | 79f2f6ad878c1f2cb9edc674c6a263ff2ef6d1fd (patch) | |
tree | a838ae257469f7b6ca9d71aea662aefc5b36a831 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ceph: add support to readdir for encrypted names (diff) | |
download | wireguard-linux-79f2f6ad878c1f2cb9edc674c6a263ff2ef6d1fd.tar.xz wireguard-linux-79f2f6ad878c1f2cb9edc674c6a263ff2ef6d1fd.zip |
ceph: create symlinks with encrypted and base64-encoded targets
When creating symlinks in encrypted directories, encrypt and
base64-encode the target with the new inode's key before sending to the
MDS.
When filling a symlinked inode, base64-decode it into a buffer that
we'll keep in ci->i_symlink. When get_link is called, decrypt the buffer
into a new one that will hang off i_link.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-and-tested-by: Luís Henriques <lhenriques@suse.de>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions