From fdcfe809830088bd5dea04bc4519e15b607e1e5a Mon Sep 17 00:00:00 2001 From: Eugene Syromyatnikov Date: Tue, 23 Jan 2018 09:40:12 +0100 Subject: [PATCH] Add syscall entry for ARM-specific get_tls syscall * linux/arm/syscallent.h ([ARM_FIRST_SHUFFLED_SYSCALL+1+6]): New entry. (ARM_LAST_SPECIAL_SYSCALL): Update to 6. * NEWS: Mention it. --- NEWS | 1 + linux/arm/syscallent.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 34a9e12a..42059697 100644 --- a/NEWS +++ b/NEWS @@ -22,6 +22,7 @@ Noteworthy changes in release ?.?? (????-??-??) * Print values returned by mq_open syscall and first arguments of mq_getsetattr, mq_notify, mq_timedreceive, and mq_timedsend syscalls as file descriptors. + * Added decoding of get_tls syscall on arm. * Updated lists of MSG_*, NT_*, and SHM_* constants. * Added manual page for the strace-log-merge command. * Updated lists of ioctl commands from Linux 4.15. diff --git a/linux/arm/syscallent.h b/linux/arm/syscallent.h index c2114783..6f4220f0 100644 --- a/linux/arm/syscallent.h +++ b/linux/arm/syscallent.h @@ -449,4 +449,5 @@ [ARM_FIRST_SHUFFLED_SYSCALL+1+3] = { 0, 0, SEN(printargs), "usr26" }, [ARM_FIRST_SHUFFLED_SYSCALL+1+4] = { 0, 0, SEN(printargs), "usr32" }, [ARM_FIRST_SHUFFLED_SYSCALL+1+5] = { 1, 0, SEN(printargs), "set_tls" }, -#define ARM_LAST_SPECIAL_SYSCALL 5 +[ARM_FIRST_SHUFFLED_SYSCALL+1+6] = { 0, 0, SEN(printargs), "get_tls" }, +#define ARM_LAST_SPECIAL_SYSCALL 6 -- 2.40.0