~ecryptfs/ecryptfs/trunk

Viewing all changes in revision 860.

  • Committer: Dustin Kirkland
  • Date: 2015-08-05 21:38:11 UTC
  • mfrom: (855.1.3 lp1454388-lp1454319)
  • Revision ID: kirkland@ubuntu.com-20150805213811-5xf8ppbphtt1ma4u
* src/utils/mount.ecryptfs_private.c: Implement proper option parsing to
  restore the -f option when unmounting and display a helpful usage message
  (LP: #1454388)
* src/utils/mount.ecryptfs_private.c: Add an option, -d, to
  umount.ecryptfs_private to treat the situation where the encrypted private
  session counter is nonzero, after decrementing it, as a non-error
  situation. No error message is printed to stderr and the exit status is 0.
* src/pam_ecryptfs/pam_ecryptfs.c: Use the new umount.ecryptfs_private '-d'
  option to silence the error message that was printed to stderr when the
  encrypted private session counter is nonzero after being decremented.
  (LP: #1454319)
* src/utils/ecryptfs-umount-private: Return 1 if umount.ecryptfs_private
  encounters an error. The ecryptfs-umount-private script was previously
  returning 0 even when umount.ecryptfs_private exited upon error.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: