aboutsummaryrefslogtreecommitdiff
path: root/filesystem/path_test.go
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2021-03-08 15:20:08 -0800
committerEric Biggers <ebiggers@google.com>2021-03-08 15:20:08 -0800
commit28e4999ebd9221a71488d715d9f1182b494216d8 (patch)
treee4361f539537b9b7c37d331388db5ab908cd25e6 /filesystem/path_test.go
parent90a96e4473ae7bcf61a97f25fc67a9a953187f56 (diff)
pam_fscrypt: decide cache dropping behavior automatically
Configuring whether pam_fscrypt drops caches or not isn't really something the user should have to do, and it's also irrelevant for v2 encryption policies (the default on newer systems). It's better to have pam_fscrypt automatically decide whether it needs to drop caches or not. Do this by making pam_fscrypt check whether any encryption policy keys are being removed from a user keyring (rather than from a filesystem keyring). If so, it drops caches; otherwise it doesn't. This supersedes the "drop_caches" option, which won't do anything anymore.
Diffstat (limited to 'filesystem/path_test.go')
0 files changed, 0 insertions, 0 deletions