svn commit: r290464 - in stable: 10/lib/libc/sys 10/sys/kern 10/sys/sys 9/lib/libc/sys 9/sys/kern 9/sys/sys

John Baldwin jhb at FreeBSD.org
Fri Nov 6 20:10:57 UTC 2015


Author: jhb
Date: Fri Nov  6 20:10:54 2015
New Revision: 290464
URL: https://svnweb.freebsd.org/changeset/base/290464

Log:
  MFC 289636:
  Switch pl_child_pid from int to pid_t.

Modified:
  stable/9/lib/libc/sys/ptrace.2
  stable/9/sys/kern/sys_process.c
  stable/9/sys/sys/ptrace.h
Directory Properties:
  stable/9/lib/libc/   (props changed)
  stable/9/lib/libc/sys/   (props changed)
  stable/9/sys/   (props changed)
  stable/9/sys/sys/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/10/lib/libc/sys/ptrace.2
  stable/10/sys/kern/sys_process.c
  stable/10/sys/sys/ptrace.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/9/lib/libc/sys/ptrace.2
==============================================================================
--- stable/9/lib/libc/sys/ptrace.2	Fri Nov  6 19:18:20 2015	(r290463)
+++ stable/9/lib/libc/sys/ptrace.2	Fri Nov  6 20:10:54 2015	(r290464)
@@ -2,7 +2,7 @@
 .\"	$NetBSD: ptrace.2,v 1.2 1995/02/27 12:35:37 cgd Exp $
 .\"
 .\" This file is in the public domain.
-.Dd October 6, 2015
+.Dd October 20, 2015
 .Dt PTRACE 2
 .Os
 .Sh NAME
@@ -306,7 +306,7 @@ struct ptrace_lwpinfo {
 	sigset_t pl_siglist;
 	siginfo_t pl_siginfo;
 	char	pl_tdname[MAXCOMLEN + 1];
-	int	pl_child_pid;
+	pid_t	pl_child_pid;
 	u_int	pl_syscall_code;
 	u_int	pl_syscall_narg;
 };

Modified: stable/9/sys/kern/sys_process.c
==============================================================================
--- stable/9/sys/kern/sys_process.c	Fri Nov  6 19:18:20 2015	(r290463)
+++ stable/9/sys/kern/sys_process.c	Fri Nov  6 20:10:54 2015	(r290464)
@@ -96,7 +96,7 @@ struct ptrace_lwpinfo32 {
 	sigset_t	pl_siglist;	/* LWP pending signal */
 	struct siginfo32 pl_siginfo;	/* siginfo for signal */
 	char	pl_tdname[MAXCOMLEN + 1];	/* LWP name. */
-	int	pl_child_pid;		/* New child pid */
+	pid_t	pl_child_pid;		/* New child pid */
 	u_int		pl_syscall_code;
 	u_int		pl_syscall_narg;
 };

Modified: stable/9/sys/sys/ptrace.h
==============================================================================
--- stable/9/sys/sys/ptrace.h	Fri Nov  6 19:18:20 2015	(r290463)
+++ stable/9/sys/sys/ptrace.h	Fri Nov  6 20:10:54 2015	(r290464)
@@ -112,7 +112,7 @@ struct ptrace_lwpinfo {
 	sigset_t	pl_siglist;	/* LWP pending signal */
 	struct __siginfo pl_siginfo;	/* siginfo for signal */
 	char		pl_tdname[MAXCOMLEN + 1]; /* LWP name */
-	int		pl_child_pid;	/* New child pid */
+	pid_t		pl_child_pid;	/* New child pid */
 	u_int		pl_syscall_code;
 	u_int		pl_syscall_narg;
 };


More information about the svn-src-stable-9 mailing list