Skip to content

seccomp: remove unused syscalls - for 1.6

Eduardo Otubo qemu-devel 3 versions – Applied

Status from this message: Applied. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 3 repliesApplied
  2. v22 patches 0 repliesSuperseded
  3. v12 patches 9 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2seccomp: no need to check arch in syscall whitelistconfigure qemu-seccomp.c+1 -140 replies
2/2seccomp: removing unused syscalls gtom whitelistqemu-seccomp.c+0 -40 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPaolo Bonzini
SeriesR-b
1/2
2/2

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

Read the v3 thread

Cover letter [Qemu-devel] [PATCHv3 0/2] seccomp: remove unused syscalls - for 1.6

In this small patch series I basically:

v3 update:
- reincluded getrlimit(), it's used by Xen.

v2 update:
- set libseccomp 2.1.0 as requirement on configure script.
- reincluded setrlimit() (used by Xen) and removed sendfile64() from the whitelist.

1) Remove the ifdef's for the (not so) new libseccomp version that does a best effort and translates x86_32 syscalls into x86_64 when possible.

2) Remove unused syscalls on the seccomp whitelist. For that removal, I've been running several instances of Qemu using a script written on top of virt-test[0]. After some weeks testing I could come up with this small list, and safely remove them without breaking anything.

[0] - https://github.com/autotest/virt-test/wiki

Eduardo Otubo (2):
seccomp: no need to check arch in syscall whitelist
seccomp: removing unused syscalls gtom whitelist

 configure      |  2 +-
 qemu-seccomp.c | 17 -----------------
 2 files changed, 1 insertion(+), 18 deletions(-)
Signature · 1 line
1.8.3.1