sys/prctl.h: add PR_*_TAGGED_ADDR_* from linux v5.4
commit5675aaa5595619135baf33923de52a44307af9fb
authorSzabolcs Nagy <nsz@port70.net>
Sun, 22 Dec 2019 10:51:37 +0000 (22 10:51 +0000)
committerRich Felker <dalias@aerifal.cx>
Mon, 30 Dec 2019 23:14:08 +0000 (30 18:14 -0500)
treec63ddbe606d871b7a118046287a4ba4f6185f477
parentd95ead261e25282192e2291411740b94c2c76db3
sys/prctl.h: add PR_*_TAGGED_ADDR_* from linux v5.4

per thread prctl commands to relax the syscall abi such that top bits
of user pointers are ignored in the kernel. this allows the use of
those bits by hwasan or by mte to color pointers and memory on aarch64:

  linux commit 63f0c60379650d82250f22e4cf4137ef3dc4f43d
  arm64: Introduce prctl() options to control the tagged user addresses ABI
include/sys/prctl.h