-
Committer:
Dustin Kirkland
-
Date:
2009-04-23 03:07:43 UTC
-
mfrom:
(376.1.12 ecryptfs)
-
Revision ID:
kirkland@canonical.com-20090423030743-607khpd47cr7zi6q
Tags: 74
388. By Michal Hlavinka 17 hours ago
key_management.c: if key is already in keyring don't report it as error
ecryptfs_add_passphrase_key_to_keyring gets return code 1 if key,
it is trying to add to keyring, already exists in keyring.
Return code remains 1, just don't report it as error.
Signed-off-by: Michal Hlavinka <mhlavink@redhat.com>
387. By Michal Hlavinka 18 hours ago
check and fix asprintf's error codes
Change all MOUNT_ERROR return codes for asprintf failure to -ENOMEM.
Make sure all return codes are reset to zero or overwritten,
because asprintf doesn't return zero for success.
Signed-off-by: Michal Hlavinka <mhlavink@redhat.com>
Acked-by: Dustin Kirkland <kirkland@canonical.com>