summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-10-09 12:15:42 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2018-01-04 18:20:24 -0800
commita31feba5c18ff73cedb4301c5a0f2ffa7624218b (patch)
treee1523b0f3d808c2014b3d4bafcbad811ef60b15d /tools/perf/scripts/python/bin
parent95efafb6239dd82ca0bb3d9e32edaa41da58f54e (diff)
fscrypt: new helper function - fscrypt_prepare_rename()
Introduce a helper function which prepares to rename a file into a possibly encrypted directory. It handles loading the encryption keys for the source and target directories if needed, and it handles enforcing that if the target directory (and the source directory for a cross-rename) is encrypted, then the file being moved into the directory has the same encryption policy as its containing directory. Acked-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions