From: Richard Weinberger <richard@nod.at>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org, Richard Weinberger <richard@nod.at>
Subject: [PATCH 1/7] um: Define PTRACE_OLDSETOPTIONS
Date: Mon, 26 Oct 2015 10:48:11 +0100 [thread overview]
Message-ID: <1445852897-13102-1-git-send-email-richard@nod.at> (raw)
...such that processes within UML can do a ptrace(PTRACE_OLDSETOPTIONS, ...)
Signed-off-by: Richard Weinberger <richard@nod.at>
---
arch/um/include/asm/ptrace-generic.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/um/include/asm/ptrace-generic.h b/arch/um/include/asm/ptrace-generic.h
index 2966adb..5ab2062 100644
--- a/arch/um/include/asm/ptrace-generic.h
+++ b/arch/um/include/asm/ptrace-generic.h
@@ -27,6 +27,8 @@ struct pt_regs {
#define instruction_pointer(regs) PT_REGS_IP(regs)
+#define PTRACE_OLDSETOPTIONS 21
+
struct task_struct;
extern long subarch_ptrace(struct task_struct *child, long request,
--
1.8.4.5
next reply other threads:[~2015-10-26 9:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-26 9:48 Richard Weinberger [this message]
2015-10-26 9:48 ` [uml-devel] [PATCH 2/7] um: Store syscall number after syscall_trace_enter() Richard Weinberger
2015-10-26 9:48 ` [uml-devel] [PATCH 3/7] um: Get rid of open coded NR_SYSCALLS Richard Weinberger
2015-10-26 9:48 ` [uml-devel] [PATCH 4/7] um: Remove dead code from x86_64 syscall stub Richard Weinberger
2015-10-26 9:48 ` [uml-devel] [PATCH 5/7] " Richard Weinberger
2015-10-26 9:48 ` [uml-devel] [PATCH 6/7] um: Simplify STUB_DATA loading Richard Weinberger
2015-10-26 9:48 ` [uml-devel] [PATCH 7/7] um: Report host OOM more nicely Richard Weinberger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1445852897-13102-1-git-send-email-richard@nod.at \
--to=richard@nod.at \
--cc=linux-kernel@vger.kernel.org \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).