Re: [PATCH v6 26/26] arm64: mte: Add Memory Tagging Extension documentation

From
Catalin Marinas <catalin.marinas@arm.com>
Date
2020-07-09 14:43:55
Also in
linux-arch, linux-mm
Reply to
Szabolcs Nagy, 2020-07-09
On Thu, Jul 09, 2020 at 10:32:54AM +0100, Szabolcs Nagy wrote:
The 07/03/2020 16:37, Catalin Marinas wrote:
quoted
+    /*
+     * To be compiled with -march=armv8.5-a+memtag
+     */
+    #include <errno.h>
+    #include <stdio.h>
+    #include <stdlib.h>
+    #include <unistd.h>
+    #include <sys/auxv.h>
+    #include <sys/mman.h>
+    #include <sys/prctl.h>
the example should now include stdint.h
Thanks. I should write user-space stuff more often ;)

-- 
Catalin

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (39 messages) 39 messages, 5 authors, last reply 2020-07-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help