diff options
| author | Joseph Richey <joerichey@google.com> | 2017-10-02 16:56:27 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-02 16:56:27 -0700 |
| commit | 69536976b76d77818605a953fea8ee2c8234d5b7 (patch) | |
| tree | 38a3d5d4f65988238c4affb22011f90beab9ad40 /pam_fscrypt | |
| parent | d6efd2ab463e82cc3a78860384f26d809bd76ce5 (diff) | |
| parent | c6568945adb69a3b7779c0f9e0e1f427d31209ab (diff) | |
Merge pull request #67 from google/sync
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 { |