diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2008-09-04 13:06:36 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2008-09-04 13:06:36 +0000 |
| commit | 19de3e90113e412e37159c9c901f37e1476df38d (patch) | |
| tree | 426eed624c30bdbc9b06ce12e7e1a49e1ebb3f42 /sys/security | |
| parent | d99ebc85d92c242e9d7d1bd428207cbfa72275fb (diff) | |
Notes
Diffstat (limited to 'sys/security')
| -rw-r--r-- | sys/security/audit/audit_syscalls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/audit/audit_syscalls.c b/sys/security/audit/audit_syscalls.c index ee8e80166f87..7b7cb0efcfa2 100644 --- a/sys/security/audit/audit_syscalls.c +++ b/sys/security/audit/audit_syscalls.c @@ -317,7 +317,7 @@ auditon(struct thread *td, struct auditon_args *uap) return (ESRCH); if ((tp = pfind(udata.au_aupinfo.ap_pid)) == NULL) return (ESRCH); - if ((error = p_cansee(td, tp)) != 0) + if ((error = p_cansee(td, tp)) != 0) { PROC_UNLOCK(tp); return (error); } @@ -348,7 +348,7 @@ auditon(struct thread *td, struct auditon_args *uap) crfree(newcred); return (ESRCH); } - if ((error = p_cansee(td, tp)) != 0) + if ((error = p_cansee(td, tp)) != 0) { PROC_UNLOCK(tp); crfree(newcred); return (error); |
