The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=ef75e3c9b5e147cd06e81942e0fdcc1c36c48ca5
commit ef75e3c9b5e147cd06e81942e0fdcc1c36c48ca5 Author: Konstantin Belousov <[email protected]> AuthorDate: 2025-10-30 18:35:15 +0000 Commit: Konstantin Belousov <[email protected]> CommitDate: 2025-11-09 00:37:06 +0000 kern/subr_syscalls.c: declare 'traced' local variables boolean (cherry picked from commit a6a9d97708ec18bf307b01141d84aabd01289159) --- sys/kern/subr_syscall.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/kern/subr_syscall.c b/sys/kern/subr_syscall.c index 25843eec3754..139a4df57f13 100644 --- a/sys/kern/subr_syscall.c +++ b/sys/kern/subr_syscall.c @@ -57,8 +57,8 @@ syscallenter(struct thread *td) struct proc *p; struct syscall_args *sa; struct sysent *se; - int error, traced; - bool sy_thr_static; + int error; + bool sy_thr_static, traced; VM_CNT_INC(v_syscall); p = td->td_proc; @@ -217,7 +217,7 @@ syscallret(struct thread *td) struct proc *p; struct syscall_args *sa; ksiginfo_t ksi; - int traced; + bool traced; KASSERT(td->td_errno != ERELOOKUP, ("ERELOOKUP not consumed syscall %d", td->td_sa.code)); @@ -248,9 +248,9 @@ syscallret(struct thread *td) } #endif - traced = 0; + traced = false; if (__predict_false(p->p_flag & P_TRACED)) { - traced = 1; + traced = true; PROC_LOCK(p); td->td_dbgflags |= TDB_SCX; PROC_UNLOCK(p);
