Explorar o código

add arm private syscall numbers

it is part of kernel uapi, and some programs (e.g. nodejs) do use them
Timo Teräs %!s(int64=10) %!d(string=hai) anos
pai
achega
be1f67ab6f
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      arch/arm/bits/syscall.h

+ 5 - 0
arch/arm/bits/syscall.h

@@ -340,6 +340,11 @@
 #define __NR_getrandom	384
 #define __NR_memfd_create	385
 
+#define __ARM_NR_breakpoint	0x0f0001
+#define __ARM_NR_cacheflush	0x0f0002
+#define __ARM_NR_usr26		0x0f0003
+#define __ARM_NR_usr32		0x0f0004
+#define __ARM_NR_set_tls	0x0f0005
 
 /* Repeated with SYS_ prefix */