diff options
author | jhb <jhb@FreeBSD.org> | 2015-11-06 20:10:54 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2015-11-06 20:10:54 +0000 |
commit | 1df83ba3d3bc30d9297c344788b7ce3dbe3eb69b (patch) | |
tree | 6ad577e1d59c96a77653f24611624d408b4fa860 | |
parent | 9b5302b2d60d82c538839a91d86212a234dc43d4 (diff) | |
download | FreeBSD-src-1df83ba3d3bc30d9297c344788b7ce3dbe3eb69b.zip FreeBSD-src-1df83ba3d3bc30d9297c344788b7ce3dbe3eb69b.tar.gz |
MFC 289636:
Switch pl_child_pid from int to pid_t.
-rw-r--r-- | lib/libc/sys/ptrace.2 | 4 | ||||
-rw-r--r-- | sys/kern/sys_process.c | 2 | ||||
-rw-r--r-- | sys/sys/ptrace.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2 index 5c93438..a94e314 100644 --- a/lib/libc/sys/ptrace.2 +++ b/lib/libc/sys/ptrace.2 @@ -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; }; diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c index db5f13a..bbfe321 100644 --- a/sys/kern/sys_process.c +++ b/sys/kern/sys_process.c @@ -95,7 +95,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; }; diff --git a/sys/sys/ptrace.h b/sys/sys/ptrace.h index de4e7a7..7135767 100644 --- a/sys/sys/ptrace.h +++ b/sys/sys/ptrace.h @@ -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; }; |