projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6fd5c8
)
KEYS: revert encrypted key change
author
Mimi Zohar
<
[email protected]
>
Sun, 27 Jul 2014 03:21:02 +0000
(23:21 -0400)
committer
David Howells
<
[email protected]
>
Mon, 28 Jul 2014 11:36:17 +0000
(12:36 +0100)
Commit
fc7c70e
"KEYS: struct key_preparsed_payload should have two
payload pointers" erroneously modified encrypted-keys. This patch
reverts the change to that file.
Signed-off-by: Mimi Zohar <
[email protected]
>
Signed-off-by: David Howells <
[email protected]
>
security/keys/encrypted-keys/encrypted.c
patch
|
blob
|
history
diff --git
a/security/keys/encrypted-keys/encrypted.c
b/security/keys/encrypted-keys/encrypted.c
index d252c5704f8a087005f345cff961ee2c1d1ad6be..5fe443d120afe81826902cc70efecff24ccee1bb 100644
(file)
--- a/
security/keys/encrypted-keys/encrypted.c
+++ b/
security/keys/encrypted-keys/encrypted.c
@@
-811,7
+811,7
@@
static int encrypted_instantiate(struct key *key,
goto out;
}
-
prep->payload[0] = epayload
;
+
rcu_assign_keypointer(key, epayload)
;
out:
kfree(datablob);
return ret;