/* change the request_key authorisation key on the current process  */
static int keyctl_change_reqkey_auth(struct key *key)
/* change the request_key authorisation key on the current process  */
static int keyctl_change_reqkey_auth(struct key *key)
{
	struct cred *new;
	new = prepare_creds();
	if (!new)
		return -ENOMEM;
	key_put(new->request_key_auth);
	new->request_key_auth = key_get(key);
	return commit_creds(new);
}