lp:~mhlavink/ecryptfs/rhbugs1

Created by Michal Hlavinka and last modified
Get this branch:
bzr branch lp:~mhlavink/ecryptfs/rhbugs1
Only Michal Hlavinka can upload to this branch. If you are Michal Hlavinka please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Michal Hlavinka
Project:
eCryptfs
Status:
Merged

Recent revisions

388. By Michal Hlavinka

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 <email address hidden>

387. By Michal Hlavinka

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 <email address hidden>

386. By Michal Hlavinka

change error codes to be more descriptive

Error codes were changed to be more descriptive. MOUNT_ERROR after
asprintf changed to ENOMEM, some error codes are no longer filtered
to MOUNT_ERROR. And some other changes mostly from general MOUNT_ERROR
to ESOMETHING.

Signed-off-by: Michal Hlavinka <email address hidden>

385. By Michal Hlavinka

decision_graph.h, *: change definition of node return codes to positive values

Using negative node return codes and negative error codes brings
too big complications everywhere. Use positive values for node return codes.
Change error codes that were changed to positive values back to negative
values.

Signed-off-by: Michal Hlavinka <email address hidden>

384. By Michal Hlavinka

mount.ecryptfs.c: insist for yes/no answer for unkown sigs

Mounting with new uknown sig is important question. Insist on yes/no
answer. Don't assume everything else than yes is no.

Signed-off-by: Michal Hlavinka <email address hidden>

383. By Michal Hlavinka

don't print error for removing key from keyring if it succeeded

Prevent printing of "Failed to remove ... with sig [...] from keyring: Success"

Signed-off-by: Michal Hlavinka <email address hidden>

382. By Michal Hlavinka

module_mgr.c: insist on yes/no answer

Insist on yes/no/y/n answer. Don't assume everything starting 'y'
is yes and everything else is no. If wrong anser, return
WRONG_VALUE for asking again.

Signed-off-by: Michal Hlavinka <email address hidden>

381. By Michal Hlavinka

use ECRYPTFS_NONEMPTY_VALUE_REQUIRED where reasonable

Some empty values makes no sense. Require nonempty values
in that case (for interactive mount).

Signed-off-by: Michal Hlavinka <email address hidden>

380. By Michal Hlavinka

pam_ecryptfs.c: don't try to unwrap key for users not using pam mounting

Don't delay passphrase verification for users not using pam automounting.

Signed-off-by: Michal Hlavinka <email address hidden>

379. By Michal Hlavinka

add verbosity to man page

Added notes about verbosity to ecryptfs man page.

Signed-off-by: Michal Hlavinka <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar pack repository format 1 with rich root (needs bzr 1.0)
This branch contains Public information 
Everyone can see this information.

Subscribers