[Ecryptfs-devel] [PATCH] pam_ecryptfs.c: add hooks to mount/umount private directory

2008-06-27 Thread Dustin Kirkland
[PATCH] pam_ecryptfs.c: add hooks to mount/umount private directory This patch contains the code to mount/unmount automatically on PAM login/logout. Changes: * #define of PRIVATE_DIR ... I know, I know, this needs to go to a header file included by all references to it. A followup patch

Re: [Ecryptfs-devel] [PATCH] pam_ecryptfs.c: add hooks to mount/umount private directory

2008-06-27 Thread Dustin Kirkland
This time, inline with the patch. diff --git a/src/pam_ecryptfs/pam_ecryptfs.c b/src/pam_ecryptfs/pam_ecryptfs.c index 20fc667..5661e67 100644 --- a/src/pam_ecryptfs/pam_ecryptfs.c +++ b/src/pam_ecryptfs/pam_ecryptfs.c @@ -39,6 +39,8 @@ #include config.h #include ../include/ecryptfs.h