Skip to content

fcntl and sockopt options

Shu-Chun Weng via qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest4 patches 2 repliesIn review

Changes in v3 from the cover letter

Split off first four reviewed changes into own group per
https://lists.nongnu.org/archive/html/qemu-devel/2020-12/msg05149.html
Rebase to master on Dec 18, 2020

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4linux-user: Support F_ADD_SEALS and F_GET_SEALS fcntlslinux-user/strace.c linux-user/syscall.c linux-user/syscall_defs.h+50 -132 replies
2/4linux-user: add missing UDP get/setsockopt optionlinux-user/strace.c linux-user/syscall.c+11 -20 replies
3/4linux-user: add missing IPv6 get/setsockopt optionlinux-user/syscall.c+3 -00 replies
4/4linux-user: Add IPv6 options to do_print_sockopt()linux-user/strace.c+108 -00 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchLaurent Vivier
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] fcntl and sockopt options

Hi Laurent,

This is a series of 4 patches in 2 groups, putting into a single thread for easier tracking.

[PATCH v3 1/4] linux-user: Support F_ADD_SEALS and F_GET_SEALS fcntls
An incidental follow up on
https://lists.nongnu.org/archive/html/qemu-devel/2019-09/msg01925.html

[PATCH v3 2/4] linux-user: add missing UDP get/setsockopt option [PATCH v3 3/4] linux-user: add missing IPv6 get/setsockopt option [PATCH v3 4/4] linux-user: Add IPv6 options to do_print_sockopt()
Updated https://lists.nongnu.org/archive/html/qemu-devel/2019-09/msg01317.html
to consistently add them in get/setsockopt

v1 -> v2:
Address comments on the first 5 (was 3) patches. Fix style problems.

v2 -> v3:
Split off first four reviewed changes into own group per
https://lists.nongnu.org/archive/html/qemu-devel/2020-12/msg05149.html
Rebase to master on Dec 18, 2020

Shu-Chun Weng (4):
linux-user: Support F_ADD_SEALS and F_GET_SEALS fcntls
linux-user: add missing UDP get/setsockopt option
linux-user: add missing IPv6 get/setsockopt option
linux-user: Add IPv6 options to do_print_sockopt()

 linux-user/strace.c       | 153 ++++++++++++++++++++++++++++++++++++--
 linux-user/syscall.c      |  20 ++++-
 linux-user/syscall_defs.h |  14 ++--
 3 files changed, 172 insertions(+), 15 deletions(-)
Signature · 1 line
2.29.2.684.gfbc64c5ab5-goog