[PATCH] eCryptfs: Public key; packet management
Public key support code. This reads and writes packets in the header that contain public key encrypted file keys. It calls the messaging code in the previous patch to send and receive encryption and decryption request packets from the userspace daemon. [akpm@osdl.org: cleab fix] Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com> Cc: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
88b4a07e66
commit
dddfa461fc
@@ -107,8 +107,8 @@ static int ecryptfs_process_nl_response(struct sk_buff *skb)
|
||||
"incorrectly specified data length\n");
|
||||
goto out;
|
||||
}
|
||||
rc = ecryptfs_process_response(msg, NETLINK_CREDS(skb)->pid,
|
||||
nlh->nlmsg_seq);
|
||||
rc = ecryptfs_process_response(msg, NETLINK_CREDS(skb)->uid,
|
||||
NETLINK_CREDS(skb)->pid, nlh->nlmsg_seq);
|
||||
if (rc)
|
||||
printk(KERN_ERR
|
||||
"Error processing response message; rc = [%d]\n", rc);
|
||||
|
Reference in New Issue
Block a user