Unverified Commit 3ed56140 authored by Shawn Webb's avatar Shawn Webb
Browse files

Chase KPI change in 13-CURRENT from FreeBSD



Upstream FreeBSD commit f121d45000fd1c42611ca1e54872bd4545398933 dropped
the last argument from VOP_UNLOCK.

Signed-off-by: Shawn Webb's avatarShawn Webb <shawn.webb@hardenedbsd.org>
parent d4df7084
...@@ -245,7 +245,12 @@ sysctl_integriforce_so(SYSCTL_HANDLER_ARGS) ...@@ -245,7 +245,12 @@ sysctl_integriforce_so(SYSCTL_HANDLER_ARGS)
return (err); return (err);
} }
#if __FreeBSD_version >= 1300074
VOP_UNLOCK(nd.ni_vp);
#else
VOP_UNLOCK(nd.ni_vp, 0); VOP_UNLOCK(nd.ni_vp, 0);
#endif
key.sk_jid = req->td->td_ucred->cr_prison->pr_id; key.sk_jid = req->td->td_ucred->cr_prison->pr_id;
key.sk_type = secadm_integriforce_rule; key.sk_type = secadm_integriforce_rule;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment