summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@strace.io>2022-01-07 08:00:00 +0000
committerDmitry V. Levin <ldv@strace.io>2022-01-07 08:00:00 +0000
commitddd1791daf31db3d2eb3f4479705819fcf8755ab (patch)
treed1254c62b2260be52764722dc08a7af157eac9e8
parent28ad6fcc441e049a418393adc09a325c4b2275e2 (diff)
downloadstrace-ddd1791daf31db3d2eb3f4479705819fcf8755ab.tar.gz
xlat: update SO_* constants
* src/xlat/sock_options.in (SO_RESERVE_MEM): New constant introduced by Linux kernel commit v5.16-rc1~159^2~317^2~2. * NEWS: Mention this change.
-rw-r--r--NEWS2
-rwxr-xr-xsrc/xlat/sock_options.in10
2 files changed, 10 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 75accb7cc..99999184d 100644
--- a/NEWS
+++ b/NEWS
@@ -9,7 +9,7 @@ Noteworthy changes in release ?.?? (????-??-??)
* Enhanced decoding of BPF_MAP_CREATE, BPF_PROG_TEST_RUN, and BPF_PROG_LOAD
bpf syscall commands.
* Enhanced decoding of BTRFS_IOC_FS_INFO ioctl command.
- * Updated lists of BPF_* and BTRFS_* constants.
+ * Updated lists of BPF_*, BTRFS_*, and SO_* constants.
* Updated lists of ioctl commands from Linux 5.16.
* Bug fixes
diff --git a/src/xlat/sock_options.in b/src/xlat/sock_options.in
index a119a7d14..b2053c409 100755
--- a/src/xlat/sock_options.in
+++ b/src/xlat/sock_options.in
@@ -535,7 +535,7 @@ SO_NETNS_COOKIE 16453
#else
SO_NETNS_COOKIE 71
#endif
-#
+
#if defined __sparc__
SO_BUF_LOCK 81
#elif defined __hppa__
@@ -543,3 +543,11 @@ SO_BUF_LOCK 16454
#else
SO_BUF_LOCK 72
#endif
+
+#if defined __sparc__
+SO_RESERVE_MEM 82
+#elif defined __hppa__
+SO_RESERVE_MEM 16455
+#else
+SO_RESERVE_MEM 73
+#endif