Remove PR_TAGGED_ADDR_ENABLE from sys/prctl.h
commitf4596d9540021265a99697fceef8a434c47e8bcf
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Tue, 2 Feb 2021 15:02:09 +0000 (2 15:02 +0000)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Wed, 14 Apr 2021 07:45:21 +0000 (14 08:45 +0100)
tree2764e7b206b544043c26e5664f260639a3fe3b31
parentbdc12a77b746b5ce96329cb7566b3ef46e79294f
Remove PR_TAGGED_ADDR_ENABLE from sys/prctl.h

The value of PR_TAGGED_ADDR_ENABLE was incorrect in the installed
headers and the prctl command macros were missing that are needed
for it to be useful (PR_SET_TAGGED_ADDR_CTRL).  Linux headers have
the definitions since 5.4 so it's widely available, we don't need
to repeat these definitions.  The remaining definitions are from
Linux 5.10.

To build glibc with --enable-memory-tagging, Linux 5.4 headers and
binutils 2.33.1 or newer is needed.

Reviewed-by: DJ Delorie <dj@redhat.com>
sysdeps/unix/sysv/linux/sys/prctl.h