This patch creates a new eCryptfs umount helper that looks in the mount options for ecryptfs_unlink_sigs. If that option is found, it will determine the ecryptfs_sig and the ecryptfs_fnek_sig, if one exists, and unlink those auth toks from the user keyring. If the ecryptfs_unlink_sigs option is not detected, a normal umount will occur.
This will not affect users who have pre-existing fstab entries and are not expecting their keys to unlinked at umount.
This patch creates a new eCryptfs umount helper that looks in the mount options for ecryptfs_ unlink_ sigs. If that option is found, it will determine the ecryptfs_sig and the ecryptfs_fnek_sig, if one exists, and unlink those auth toks from the user keyring. If the ecryptfs_ unlink_ sigs option is not detected, a normal umount will occur.
This will not affect users who have pre-existing fstab entries and are not expecting their keys to unlinked at umount.