mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-20 16:43:03 +03:00
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>
This commit is contained in:
@ -25,10 +25,6 @@
|
|||||||
we're picking up... */
|
we're picking up... */
|
||||||
|
|
||||||
/* Memory tagging control operations (for AArch64). */
|
/* Memory tagging control operations (for AArch64). */
|
||||||
#ifndef PR_TAGGED_ADDR_ENABLE
|
|
||||||
# define PR_TAGGED_ADDR_ENABLE (1UL << 8)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef PR_MTE_TCF_SHIFT
|
#ifndef PR_MTE_TCF_SHIFT
|
||||||
# define PR_MTE_TCF_SHIFT 1
|
# define PR_MTE_TCF_SHIFT 1
|
||||||
# define PR_MTE_TCF_NONE (0UL << PR_MTE_TCF_SHIFT)
|
# define PR_MTE_TCF_NONE (0UL << PR_MTE_TCF_SHIFT)
|
||||||
|
Reference in New Issue
Block a user