public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* ptrace(2): wrong kernel version for PTRACE_SEIZE and others
@ 2016-03-18 21:21 Patrick Donnelly
       [not found] ` <CACh33FrJRvC-ZQkBD2DZjW-YYnqNY5iCu_DtB8x+Jz_w80tMPg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Patrick Donnelly @ 2016-03-18 21:21 UTC (permalink / raw)
  To: Michael Kerrisk-manpages; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

The ptrace(2) man page says that PTRACE_SEIZE, PTRACE_LISTEN, and
PTRACE_INTERRUPT was introduced in Linux 3.4. In fact, this was added
in 3.1:

$ git diff v3.0 v3.1 include/linux/ptrace.h | grep SEIZE
+#define PTRACE_SEIZE           0x4206
+/* flags in @data for PTRACE_SEIZE */
+#define PTRACE_SEIZE_DEVEL     0x80000000 /* temp flag for development */
+#define PT_SEIZED      0x00010000      /* SEIZE used, enable new behavior */
+               if (child->ptrace & PT_SEIZED)


-- 
Patrick Donnelly
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-03-28  4:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-18 21:21 ptrace(2): wrong kernel version for PTRACE_SEIZE and others Patrick Donnelly
     [not found] ` <CACh33FrJRvC-ZQkBD2DZjW-YYnqNY5iCu_DtB8x+Jz_w80tMPg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-22 11:16   ` Dmitry V. Levin
     [not found]     ` <20160322111629.GA13320-u2l5PoMzF/Vg9hUCZPvPmw@public.gmane.org>
2016-03-28  3:55       ` Michael Kerrisk (man-pages)
     [not found]         ` <CAKgNAkg-MfedjbfFqjP7OjXuyN_akats1GJpZPfRk68TgEh8Fg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-28  4:30           ` Mike Frysinger
     [not found]             ` <20160328043019.GW6588-UgUKS2FnFs9+urZeOPWqwQ@public.gmane.org>
2016-03-28  4:38               ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox