diff options
| author | Mateusz Guzik <mjg@FreeBSD.org> | 2020-01-03 22:29:58 +0000 |
|---|---|---|
| committer | Mateusz Guzik <mjg@FreeBSD.org> | 2020-01-03 22:29:58 +0000 |
| commit | b249ce48ea5560afdcff57e72a9880b7d3132434 (patch) | |
| tree | af24958629e49de8db56734a7389a612627230d5 /sys/security/mac_veriexec | |
| parent | 4a20fe31c373d6a6c81bd6205d210bd893dc8068 (diff) | |
Notes
Diffstat (limited to 'sys/security/mac_veriexec')
| -rw-r--r-- | sys/security/mac_veriexec/mac_veriexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/mac_veriexec/mac_veriexec.c b/sys/security/mac_veriexec/mac_veriexec.c index 8bd610192caa..5867320a2018 100644 --- a/sys/security/mac_veriexec/mac_veriexec.c +++ b/sys/security/mac_veriexec/mac_veriexec.c @@ -691,7 +691,7 @@ mac_veriexec_syscall(struct thread *td, int call, void *arg) ((va.va_mode & (S_IXUSR|S_IXGRP|S_IXOTH)) == 0), td); check_done: /* Release the lock we obtained earlier */ - VOP_UNLOCK(img.vp, 0); + VOP_UNLOCK(img.vp); cleanup_file: fdrop(fp, td); break; |
