cryptodev: 1.11 -> 1.12
[NixPkgs.git] / pkgs / os-specific / linux / kernel / request-key-helper.patch
blob8264e265aedff60240a56de41f4e84837c540f1f
1 diff --git a/security/keys/request_key.c b/security/keys/request_key.c
2 index 957b9e3e1492..5436a0d8b81d 100644
3 --- a/security/keys/request_key.c
4 +++ b/security/keys/request_key.c
5 @@ -114,7 +114,7 @@ static int call_usermodehelper_keys(const char *path, char **argv, char **envp,
6 */
7 static int call_sbin_request_key(struct key *authkey, void *aux)
9 - static char const request_key[] = "/sbin/request-key";
10 + static char const request_key[] = "/run/current-system/sw/bin/request-key";
11 struct request_key_auth *rka = get_request_key_auth(authkey);
12 const struct cred *cred = current_cred();
13 key_serial_t prkey, sskey;