HomeFreeBSD

The sdp opens the database with PERM_SECURE mode and it is different than

Description

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

Details

Provenance
araujoAuthored on
Differential Revision
D4255: Check sdp->put instead of dp->put for sdp.
Parents
rS292827: MFC r292445, r292554:
Branches
Unknown
Tags
Unknown