[PATCH] sys/ptrace.h: remove obsolete Linux PTRACE_SEIZE_DEVEL constant
Dmitry V. Levin
ldv@altlinux.org
Tue Jul 18 10:42:00 GMT 2017
On Tue, Jul 18, 2017 at 12:44:11PM +0300, Dmitry V. Levin wrote:
> Remove enum __ptrace_flags along with the only constant it contains,
> PTRACE_SEIZE_DEVEL, from Linux's sys/ptrace.h files.
>
> This flag constant was introduced in Linux by commit v3.1-rc1~308^2~28
> as a part of new experimental PTRACE_SEIZE interface.
> Later, as PTRACE_SEIZE had lost its experimental status, this flag
> was removed from Linux by commit v3.4-rc1~109^2~20.
>
> * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
> PTRACE_SEIZE_DEVEL): Remove.
> * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
> * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
> * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
> * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
> * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
In case this change needs a NEWS entry, here it is:
--- a/NEWS
+++ b/NEWS
@@ -157,6 +157,9 @@ Deprecated and removed features, and other changes affecting compatibility:
fpregset_t type no longer has the name struct fpu. This changes the C++
name mangling for interfaces involving those types.
+* On GNU/Linux, the obsolete Linux constant PTRACE_SEIZE_DEVEL is no longer
+ defined by <sys/ptrace.h>.
+
* On S/390 GNU/Linux, the constants defined by <sys/ptrace.h> have been
synced with the kernel:
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170718/ded52daa/attachment.sig>
More information about the Libc-alpha
mailing list