git: truss - Prevent infinite loop when exec fails.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Thu Dec 25 13:11:35 PST 2025


commit c3cffc69edd53721bdf7b3461c2945595342e052
Author: Imre Vadász <imre at vdsz.com>
Date:   Thu Dec 25 22:02:25 2025 +0100

    truss - Prevent infinite loop when exec fails.
    
    * And remove waitpid(2) call that can never reliably catch this error when
      we do a real fork(2), and not a vfork(2).

Summary of changes:
 usr.bin/truss/setup.c | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c3cffc69edd53721bdf7b3461c2945595342e052


-- 
DragonFly BSD source repository


More information about the Commits mailing list