]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
PAM: add 'forceunmount' flag
authorVal Packett <val@packett.cool>
Sat, 6 May 2023 01:02:13 +0000 (22:02 -0300)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 1 Jun 2023 00:01:02 +0000 (17:01 -0700)
commitf2f3ec17edb5015c068c737f328654ae2c36a790
tree5e182664e0e8a243aba47c929f232f76d718a119
parent850bccd3bc163a602700c4a4b15c8d52c0b6231c
PAM: add 'forceunmount' flag

Probably not always a good idea, but it's nice to have the option.
It is a workaround for FreeBSD calling the PAM session end earier than
the last process is actually done touching the mount, for example.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Felix Dörre <felix@dogcraft.de>
Signed-off-by: Val Packett <val@packett.cool>
Closes #14834
contrib/pam_zfs_key/pam_zfs_key.c