]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
The sdp opens the database with PERM_SECURE mode and it is different than
authoraraujo <araujo@FreeBSD.org>
Mon, 28 Dec 2015 05:48:22 +0000 (05:48 +0000)
committeraraujo <araujo@FreeBSD.org>
Mon, 28 Dec 2015 05:48:22 +0000 (05:48 +0000)
commitf493b25fe22ec17ce6d037818e69a7776284662f
tree6165baa707e3ff169193d956b1ac8d4f83056a8b
parent938fedc5e27083e9cc6d5bcab48b95955f93d7ce
The sdp opens the database with PERM_SECURE mode and it is different than
dp that opens the database with PERM_INSECURE, so we need to check sdp->put
against sdp instead of use dp->put.

PR: bin/191720
Submitted by: Miles Ohlrich <turingsboy@yahoo.com>
Approved by: rodrigc (mentor)
Differential Revision: https://reviews.freebsd.org/D4255
usr.sbin/pwd_mkdb/pwd_mkdb.c