From: Dmitry V. Levin Date: Sat, 9 Jan 2016 21:50:30 +0000 (+0000) Subject: sparc: fix mlock2 sysentry, wire up bind, listen, and setsockopt syscalls X-Git-Tag: v4.12~668 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b1110543d950131c459be9bbc36d00f8600d2caf;p=strace sparc: fix mlock2 sysentry, wire up bind, listen, and setsockopt syscalls * linux/sparc/syscallent.h [353]: Move mlock2 entry to 356. [353, 354, 355]: Add bind, listen, and setsockopt entries. * NEWS: Mention this. --- diff --git a/NEWS b/NEWS index eefd0662..f2ec0223 100644 --- a/NEWS +++ b/NEWS @@ -5,10 +5,12 @@ Noteworthy changes in release ?.?? (????-??-??) * Enhanced decoding of personality, sched_getaffinity, and sched_setaffinity syscalls. * Enhanced decoding of getxpid, getxuid, and getxgid syscalls on alpha. + * Added decoding of bind, listen, and setsockopt direct syscalls on sparc. * Bug fixes * Fixed build on arc, metag, nios2, or1k, and tile architectures. * Fixed decoding of 32-bit times syscall return value on 64-bit architectures. + * Fixed decoding of mlock2 syscall on sparc. Noteworthy changes in release 4.11 (2015-12-21) =============================================== diff --git a/linux/sparc/syscallent.h b/linux/sparc/syscallent.h index 256cacee..ea91f46e 100644 --- a/linux/sparc/syscallent.h +++ b/linux/sparc/syscallent.h @@ -351,8 +351,11 @@ [350] = { 5, TD|TF|TP|SE|SI, SEN(execveat), "execveat", }, [351] = { 2, 0, SEN(membarrier), "membarrier", }, [352] = { 1, TD, SEN(userfaultfd), "userfaultfd", }, -[353] = { 3, TM, SEN(mlock2), "mlock2" }, -[354 ... 399] = { }, +[353] = { 3, TN, SEN(bind), "bind" }, +[354] = { 2, TN, SEN(listen), "listen" }, +[355] = { 5, TN, SEN(setsockopt), "setsockopt" }, +[356] = { 3, TM, SEN(mlock2), "mlock2" }, +[357 ... 399] = { }, #define SYS_socket_subcall 400 #include "subcall.h"