This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] sys/ptrace.h: remove obsolete Linux PTRACE_SEIZE_DEVEL constant


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

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]