From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/13295 Path: news.gmane.org!.POSTED!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: [PATCH] add arm and sh bits/ptrace.h Date: Thu, 20 Sep 2018 23:36:03 +0200 Message-ID: <20180920213603.GB10209@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="fdj2RfSjLxBAspz7" X-Trace: blaine.gmane.org 1537479253 22158 195.159.176.226 (20 Sep 2018 21:34:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 20 Sep 2018 21:34:13 +0000 (UTC) User-Agent: Mutt/1.10.1 (2018-07-13) To: musl@lists.openwall.com Original-X-From: musl-return-13311-gllmg-musl=m.gmane.org@lists.openwall.com Thu Sep 20 23:34:09 2018 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1g36aN-0005bP-F9 for gllmg-musl@m.gmane.org; Thu, 20 Sep 2018 23:34:07 +0200 Original-Received: (qmail 27749 invoked by uid 550); 20 Sep 2018 21:36:16 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 27714 invoked from network); 20 Sep 2018 21:36:15 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline Xref: news.gmane.org gmane.linux.lib.musl.general:13295 Archived-At: --fdj2RfSjLxBAspz7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline i think i accidentally missed these previously. --fdj2RfSjLxBAspz7 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-add-arm-and-sh-bits-ptrace.h.patch" >From 3e101d8312a7a2ad53da43737f6e5f08f1bbb0b1 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Thu, 13 Sep 2018 21:18:57 +0000 Subject: [PATCH] add arm and sh bits/ptrace.h These should have been added in commit df6d9450ea19fd71e52cf5cdb4c85beb73066394 that added target specific PTRACE_ macros, but somehow got missed. --- arch/arm/bits/ptrace.h | 25 +++++++++++++++++++++++++ arch/sh/bits/ptrace.h | 5 +++++ 2 files changed, 30 insertions(+) create mode 100644 arch/arm/bits/ptrace.h create mode 100644 arch/sh/bits/ptrace.h diff --git a/arch/arm/bits/ptrace.h b/arch/arm/bits/ptrace.h new file mode 100644 index 00000000..9556ef4b --- /dev/null +++ b/arch/arm/bits/ptrace.h @@ -0,0 +1,25 @@ +#define PTRACE_GETWMMXREGS 18 +#define PTRACE_SETWMMXREGS 19 +#define PTRACE_GET_THREAD_AREA 22 +#define PTRACE_SET_SYSCALL 23 +#define PTRACE_GETCRUNCHREGS 25 +#define PTRACE_SETCRUNCHREGS 26 +#define PTRACE_GETVFPREGS 27 +#define PTRACE_SETVFPREGS 28 +#define PTRACE_GETHBPREGS 29 +#define PTRACE_SETHBPREGS 30 +#define PTRACE_GETFDPIC 31 +#define PTRACE_GETFDPIC_EXEC 0 +#define PTRACE_GETFDPIC_INTERP 1 + +#define PT_GETWMMXREGS PTRACE_GETWMMXREGS +#define PT_SETWMMXREGS PTRACE_SETWMMXREGS +#define PT_GET_THREAD_AREA PTRACE_GET_THREAD_AREA +#define PT_SET_SYSCALL PTRACE_SET_SYSCALL +#define PT_GETCRUNCHREGS PTRACE_GETCRUNCHREGS +#define PT_SETCRUNCHREGS PTRACE_SETCRUNCHREGS +#define PT_GETVFPREGS PTRACE_GETVFPREGS +#define PT_SETVFPREGS PTRACE_SETVFPREGS +#define PT_GETHBPREGS PTRACE_GETHBPREGS +#define PT_SETHBPREGS PTRACE_SETHBPREGS +#define PT_GETFDPIC PTRACE_GETFDPIC diff --git a/arch/sh/bits/ptrace.h b/arch/sh/bits/ptrace.h new file mode 100644 index 00000000..4435ca1f --- /dev/null +++ b/arch/sh/bits/ptrace.h @@ -0,0 +1,5 @@ +#define PTRACE_GETFDPIC 31 +#define PTRACE_GETFDPIC_EXEC 0 +#define PTRACE_GETFDPIC_INTERP 1 +#define PTRACE_GETDSPREGS 55 +#define PTRACE_SETDSPREGS 56 -- 2.18.0 --fdj2RfSjLxBAspz7--