| 18491 | } |
| 18492 | |
| 18493 | int Client::remove_fscrypt_key(fscrypt_remove_key_arg* kid, int user) |
| 18494 | { |
| 18495 | auto& key_store = fscrypt->get_key_store(); |
| 18496 | |
| 18497 | int r = key_store.invalidate(kid, user); |
| 18498 | if (kid->removal_status_flags & (FSCRYPT_KEY_REMOVAL_STATUS_FLAG_FILES_BUSY == 0)) { |
| 18499 | sync_fs(); |
| 18500 | } |
| 18501 | return r; |
| 18502 | } |
| 18503 | |
| 18504 | int Client::set_fscrypt_policy_v2(int fd, const struct fscrypt_policy_v2& policy) |
| 18505 | { |
no test coverage detected