diff options
| author | Joe Richey joerichey@google.com <joerichey@google.com> | 2017-10-02 16:49:16 -0700 |
|---|---|---|
| committer | Joe Richey joerichey@google.com <joerichey@google.com> | 2017-10-02 16:49:16 -0700 |
| commit | c6568945adb69a3b7779c0f9e0e1f427d31209ab (patch) | |
| tree | 38a3d5d4f65988238c4affb22011f90beab9ad40 /pam_fscrypt | |
| parent | d6efd2ab463e82cc3a78860384f26d809bd76ce5 (diff) | |
security: Sync filesystem before dropping caches
Diffstat (limited to 'pam_fscrypt')
| -rw-r--r-- | pam_fscrypt/pam_fscrypt.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pam_fscrypt/pam_fscrypt.go b/pam_fscrypt/pam_fscrypt.go index 7eccc85..571a42b 100644 --- a/pam_fscrypt/pam_fscrypt.go +++ b/pam_fscrypt/pam_fscrypt.go @@ -167,8 +167,8 @@ func CloseSession(handle *pam.Handle, args map[string]bool) error { } if args[cacheFlag] { - log.Print("dropping inode caches at session close") - errCache = security.DropInodeCache() + log.Print("dropping appropriate filesystem caches at session close") + errCache = security.DropFilesystemCache() } if errLock != nil { |