From owner-svn-src-stable-10@freebsd.org Fri Aug 14 21:44:45 2015 Return-Path: Delivered-To: svn-src-stable-10@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E77C9B9842; Fri, 14 Aug 2015 21:44:45 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2410C1616; Fri, 14 Aug 2015 21:44:45 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t7ELijPI082236; Fri, 14 Aug 2015 21:44:45 GMT (envelope-from emaste@FreeBSD.org) Received: (from emaste@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t7ELigOT082228; Fri, 14 Aug 2015 21:44:42 GMT (envelope-from emaste@FreeBSD.org) Message-Id: <201508142144.t7ELigOT082228@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: emaste set sender to emaste@FreeBSD.org using -f From: Ed Maste Date: Fri, 14 Aug 2015 21:44:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r286789 - stable/10/usr.bin/truss X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable-10@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for only the 10-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2015 21:44:45 -0000 Author: emaste Date: Fri Aug 14 21:44:42 2015 New Revision: 286789 URL: https://svnweb.freebsd.org/changeset/base/286789 Log: MFC r285842: truss: follow pdfork()ed descendents with -f Modified: stable/10/usr.bin/truss/amd64-fbsd.c stable/10/usr.bin/truss/amd64-fbsd32.c stable/10/usr.bin/truss/arm-fbsd.c stable/10/usr.bin/truss/i386-fbsd.c stable/10/usr.bin/truss/mips-fbsd.c stable/10/usr.bin/truss/powerpc-fbsd.c stable/10/usr.bin/truss/powerpc64-fbsd.c stable/10/usr.bin/truss/sparc64-fbsd.c Directory Properties: stable/10/ (props changed) Modified: stable/10/usr.bin/truss/amd64-fbsd.c ============================================================================== --- stable/10/usr.bin/truss/amd64-fbsd.c Fri Aug 14 21:44:15 2015 (r286788) +++ stable/10/usr.bin/truss/amd64-fbsd.c Fri Aug 14 21:44:42 2015 (r286789) @@ -158,6 +158,7 @@ amd64_syscall_entry(struct trussinfo *tr if (fsc->name && (trussinfo->flags & FOLLOWFORKS) && (strcmp(fsc->name, "fork") == 0 || + strcmp(fsc->name, "pdfork") == 0 || strcmp(fsc->name, "rfork") == 0 || strcmp(fsc->name, "vfork") == 0)) trussinfo->curthread->in_fork = 1; Modified: stable/10/usr.bin/truss/amd64-fbsd32.c ============================================================================== --- stable/10/usr.bin/truss/amd64-fbsd32.c Fri Aug 14 21:44:15 2015 (r286788) +++ stable/10/usr.bin/truss/amd64-fbsd32.c Fri Aug 14 21:44:42 2015 (r286789) @@ -165,6 +165,7 @@ amd64_fbsd32_syscall_entry(struct trussi if (fsc->name && (trussinfo->flags & FOLLOWFORKS) && (strcmp(fsc->name, "fork") == 0 || + strcmp(fsc->name, "pdfork") == 0 || strcmp(fsc->name, "rfork") == 0 || strcmp(fsc->name, "vfork") == 0)) trussinfo->curthread->in_fork = 1; Modified: stable/10/usr.bin/truss/arm-fbsd.c ============================================================================== --- stable/10/usr.bin/truss/arm-fbsd.c Fri Aug 14 21:44:15 2015 (r286788) +++ stable/10/usr.bin/truss/arm-fbsd.c Fri Aug 14 21:44:42 2015 (r286789) @@ -172,6 +172,7 @@ arm_syscall_entry(struct trussinfo *trus if (fsc->name && (trussinfo->flags & FOLLOWFORKS) && (strcmp(fsc->name, "fork") == 0 || + strcmp(fsc->name, "pdfork") == 0 || strcmp(fsc->name, "rfork") == 0 || strcmp(fsc->name, "vfork") == 0)) trussinfo->curthread->in_fork = 1; Modified: stable/10/usr.bin/truss/i386-fbsd.c ============================================================================== --- stable/10/usr.bin/truss/i386-fbsd.c Fri Aug 14 21:44:15 2015 (r286788) +++ stable/10/usr.bin/truss/i386-fbsd.c Fri Aug 14 21:44:42 2015 (r286789) @@ -162,6 +162,7 @@ i386_syscall_entry(struct trussinfo *tru if (fsc->name && (trussinfo->flags & FOLLOWFORKS) && (strcmp(fsc->name, "fork") == 0 || + strcmp(fsc->name, "pdfork") == 0 || strcmp(fsc->name, "rfork") == 0 || strcmp(fsc->name, "vfork") == 0)) trussinfo->curthread->in_fork = 1; Modified: stable/10/usr.bin/truss/mips-fbsd.c ============================================================================== --- stable/10/usr.bin/truss/mips-fbsd.c Fri Aug 14 21:44:15 2015 (r286788) +++ stable/10/usr.bin/truss/mips-fbsd.c Fri Aug 14 21:44:42 2015 (r286789) @@ -155,6 +155,7 @@ mips_syscall_entry(struct trussinfo *tru if (fsc->name && (trussinfo->flags & FOLLOWFORKS) && (strcmp(fsc->name, "fork") == 0 || + strcmp(fsc->name, "pdfork") == 0 || strcmp(fsc->name, "rfork") == 0 || strcmp(fsc->name, "vfork") == 0)) trussinfo->curthread->in_fork = 1; Modified: stable/10/usr.bin/truss/powerpc-fbsd.c ============================================================================== --- stable/10/usr.bin/truss/powerpc-fbsd.c Fri Aug 14 21:44:15 2015 (r286788) +++ stable/10/usr.bin/truss/powerpc-fbsd.c Fri Aug 14 21:44:42 2015 (r286789) @@ -169,6 +169,7 @@ powerpc_syscall_entry(struct trussinfo * if (fsc->name && (trussinfo->flags & FOLLOWFORKS) && (strcmp(fsc->name, "fork") == 0 || + strcmp(fsc->name, "pdfork") == 0 || strcmp(fsc->name, "rfork") == 0 || strcmp(fsc->name, "vfork") == 0)) trussinfo->curthread->in_fork = 1; Modified: stable/10/usr.bin/truss/powerpc64-fbsd.c ============================================================================== --- stable/10/usr.bin/truss/powerpc64-fbsd.c Fri Aug 14 21:44:15 2015 (r286788) +++ stable/10/usr.bin/truss/powerpc64-fbsd.c Fri Aug 14 21:44:42 2015 (r286789) @@ -157,6 +157,7 @@ powerpc64_syscall_entry(struct trussinfo if (fsc->name && (trussinfo->flags & FOLLOWFORKS) && (strcmp(fsc->name, "fork") == 0 || + strcmp(fsc->name, "pdfork") == 0 || strcmp(fsc->name, "rfork") == 0 || strcmp(fsc->name, "vfork") == 0)) trussinfo->curthread->in_fork = 1; Modified: stable/10/usr.bin/truss/sparc64-fbsd.c ============================================================================== --- stable/10/usr.bin/truss/sparc64-fbsd.c Fri Aug 14 21:44:15 2015 (r286788) +++ stable/10/usr.bin/truss/sparc64-fbsd.c Fri Aug 14 21:44:42 2015 (r286789) @@ -161,6 +161,7 @@ sparc64_syscall_entry(struct trussinfo * if (fsc->name && (trussinfo->flags & FOLLOWFORKS) && (strcmp(fsc->name, "fork") == 0 || + strcmp(fsc->name, "pdfork") == 0 || strcmp(fsc->name, "rfork") == 0 || strcmp(fsc->name, "vfork") == 0)) trussinfo->curthread->in_fork = 1;