[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
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