From patchwork Tue Sep 4 10:11:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Klauser X-Patchwork-Id: 965848 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-95654-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=distanz.ch Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="SMCgx94y"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 424NZw6SNBz9s47 for ; Tue, 4 Sep 2018 20:37:59 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; q=dns; s= default; b=ejTI5H4W4M35uRi+B01BDiPSFk8iWNUNX99RcVJbtJr0alMt+dANq rVOGnUDuqjT/UW0grQPhsMLdMgcQxRoiIgjV5OGLgjmIFpvbIShHWcaRUdzZ9jEc OX0+uK2tXZ3MoaxlL7PpYLoTQ1kW/Kd8ylLCaZlW/aPJDfVUOJnmHw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; s=default; bh=1jZbhIa3Z6uh6I1/+gaftfeIyzs=; b=SMCgx94y04rlLvHZrOTJ8hn3Bcqk Un874VQBRX4qpKU/SlIy6EklhOKH9rXrbTZ5QTqssTSIo1TFjsnadJTyBuEF5WwR Vsa+f69ELTU2pkhJXXDQDLiG6QLYCqkqE/A0o17ggJ99uPrlt0KpZA73dE9+Qy/B cPe96S+Me9Psa6E= Received: (qmail 10452 invoked by alias); 4 Sep 2018 10:11:16 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 10436 invoked by uid 89); 4 Sep 2018 10:11:16 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy= X-HELO: sym2.noone.org From: Tobias Klauser To: libc-alpha@sourceware.org Subject: [PATCH] Fix wrong plural 'processes' in sys/ptrace.h comments Date: Tue, 4 Sep 2018 12:11:11 +0200 Message-Id: <1536055871-21619-1-git-send-email-tklauser@distanz.ch> --- sysdeps/unix/sysv/linux/sparc/sys/ptrace.h | 16 ++++++++-------- sysdeps/unix/sysv/linux/sys/ptrace.h | 12 ++++++------ sysdeps/unix/sysv/linux/x86/sys/ptrace.h | 12 ++++++------ 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/sysdeps/unix/sysv/linux/sparc/sys/ptrace.h b/sysdeps/unix/sysv/linux/sparc/sys/ptrace.h index c037734666e4..2d70d25b02bb 100644 --- a/sysdeps/unix/sysv/linux/sparc/sys/ptrace.h +++ b/sysdeps/unix/sysv/linux/sparc/sys/ptrace.h @@ -92,22 +92,22 @@ enum __ptrace_request #if __WORDSIZE == 32 - /* Get all general purpose registers used by a processes. + /* Get all general purpose registers used by a process. This is not supported on all machines. */ PTRACE_GETREGS = 12, #define PT_GETREGS PTRACE_GETREGS - /* Set all general purpose registers used by a processes. + /* Set all general purpose registers used by a process. This is not supported on all machines. */ PTRACE_SETREGS = 13, #define PT_SETREGS PTRACE_SETREGS - /* Get all floating point registers used by a processes. + /* Get all floating point registers used by a process. This is not supported on all machines. */ PTRACE_GETFPREGS = 14, #define PT_GETFPREGS PTRACE_GETFPREGS - /* Set all floating point registers used by a processes. + /* Set all floating point registers used by a process. This is not supported on all machines. */ PTRACE_SETFPREGS = 15, #define PT_SETFPREGS PTRACE_SETFPREGS @@ -133,12 +133,12 @@ enum __ptrace_request #if __WORDSIZE == 64 - /* Get all general purpose registers used by a processes. + /* Get all general purpose registers used by a process. This is not supported on all machines. */ PTRACE_GETREGS = 22, #define PT_GETREGS PTRACE_GETREGS - /* Set all general purpose registers used by a processes. + /* Set all general purpose registers used by a process. This is not supported on all machines. */ PTRACE_SETREGS = 23, #define PT_SETREGS PTRACE_SETREGS @@ -151,12 +151,12 @@ enum __ptrace_request #if __WORDSIZE == 64 - /* Get all floating point registers used by a processes. + /* Get all floating point registers used by a process. This is not supported on all machines. */ PTRACE_GETFPREGS = 25, #define PT_GETFPREGS PTRACE_GETFPREGS - /* Set all floating point registers used by a processes. + /* Set all floating point registers used by a process. This is not supported on all machines. */ PTRACE_SETFPREGS = 26, #define PT_SETFPREGS PTRACE_SETFPREGS diff --git a/sysdeps/unix/sysv/linux/sys/ptrace.h b/sysdeps/unix/sysv/linux/sys/ptrace.h index 3c71a0ebd6de..bd7aa379240d 100644 --- a/sysdeps/unix/sysv/linux/sys/ptrace.h +++ b/sysdeps/unix/sysv/linux/sys/ptrace.h @@ -70,22 +70,22 @@ enum __ptrace_request PTRACE_SINGLESTEP = 9, #define PT_STEP PTRACE_SINGLESTEP - /* Get all general purpose registers used by a processes. + /* Get all general purpose registers used by a process. This is not supported on all machines. */ PTRACE_GETREGS = 12, #define PT_GETREGS PTRACE_GETREGS - /* Set all general purpose registers used by a processes. + /* Set all general purpose registers used by a process. This is not supported on all machines. */ PTRACE_SETREGS = 13, #define PT_SETREGS PTRACE_SETREGS - /* Get all floating point registers used by a processes. + /* Get all floating point registers used by a process. This is not supported on all machines. */ PTRACE_GETFPREGS = 14, #define PT_GETFPREGS PTRACE_GETFPREGS - /* Set all floating point registers used by a processes. + /* Set all floating point registers used by a process. This is not supported on all machines. */ PTRACE_SETFPREGS = 15, #define PT_SETFPREGS PTRACE_SETFPREGS @@ -98,12 +98,12 @@ enum __ptrace_request PTRACE_DETACH = 17, #define PT_DETACH PTRACE_DETACH - /* Get all extended floating point registers used by a processes. + /* Get all extended floating point registers used by a process. This is not supported on all machines. */ PTRACE_GETFPXREGS = 18, #define PT_GETFPXREGS PTRACE_GETFPXREGS - /* Set all extended floating point registers used by a processes. + /* Set all extended floating point registers used by a process. This is not supported on all machines. */ PTRACE_SETFPXREGS = 19, #define PT_SETFPXREGS PTRACE_SETFPXREGS diff --git a/sysdeps/unix/sysv/linux/x86/sys/ptrace.h b/sysdeps/unix/sysv/linux/x86/sys/ptrace.h index 6d4605b6ed21..e077f2ad9437 100644 --- a/sysdeps/unix/sysv/linux/x86/sys/ptrace.h +++ b/sysdeps/unix/sysv/linux/x86/sys/ptrace.h @@ -70,19 +70,19 @@ enum __ptrace_request PTRACE_SINGLESTEP = 9, #define PT_STEP PTRACE_SINGLESTEP - /* Get all general purpose registers used by a processes. */ + /* Get all general purpose registers used by a process. */ PTRACE_GETREGS = 12, #define PT_GETREGS PTRACE_GETREGS - /* Set all general purpose registers used by a processes. */ + /* Set all general purpose registers used by a process. */ PTRACE_SETREGS = 13, #define PT_SETREGS PTRACE_SETREGS - /* Get all floating point registers used by a processes. */ + /* Get all floating point registers used by a process. */ PTRACE_GETFPREGS = 14, #define PT_GETFPREGS PTRACE_GETFPREGS - /* Set all floating point registers used by a processes. */ + /* Set all floating point registers used by a process. */ PTRACE_SETFPREGS = 15, #define PT_SETFPREGS PTRACE_SETFPREGS @@ -94,11 +94,11 @@ enum __ptrace_request PTRACE_DETACH = 17, #define PT_DETACH PTRACE_DETACH - /* Get all extended floating point registers used by a processes. */ + /* Get all extended floating point registers used by a process. */ PTRACE_GETFPXREGS = 18, #define PT_GETFPXREGS PTRACE_GETFPXREGS - /* Set all extended floating point registers used by a processes. */ + /* Set all extended floating point registers used by a process. */ PTRACE_SETFPXREGS = 19, #define PT_SETFPXREGS PTRACE_SETFPXREGS