]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
openzfs: attach pam_zfs_key to build
authorGreg V <greg_unrelenting.technology>
Tue, 2 Mar 2021 11:01:14 +0000 (06:01 -0500)
committerRyan Moeller <freqlabs@FreeBSD.org>
Tue, 2 Mar 2021 12:26:59 +0000 (07:26 -0500)
commitee21ee1572d40a3b74f18638dae38c1a9ad1e9e3
tree9cbeb7d445f57ccf15e383e8823463e8f67a5ae6
parent99adf230061268175a36061130e6adb0882270e8
openzfs: attach pam_zfs_key to build

This PAM module allows unlocking encrypted user home datasets when
logging in (and changing passphrase when changing the account password),
see https://github.com/openzfs/zfs/pull/9903

Also supposed to unload the key when the last session for the user is
done, but there are EBUSY issues:
https://github.com/openzfs/zfs/issues/11222#issuecomment-731897858

Submitted by: Greg V <greg_unrelenting.technology>
Reviewed by: mm
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D28018
cddl/lib/Makefile
cddl/lib/pam_zfs_key/Makefile [new file with mode: 0644]