qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCHv3 0/2] seccomp: remove unused syscalls - for 1.6
@ 2013-07-22 18:33 Eduardo Otubo
  2013-07-22 18:33 ` [Qemu-devel] [PATCHv3 1/2] seccomp: no need to check arch in syscall whitelist Eduardo Otubo
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Eduardo Otubo @ 2013-07-22 18:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: pmoore, pbonzini, coreyb, Eduardo Otubo

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(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-07-29 20:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-22 18:33 [Qemu-devel] [PATCHv3 0/2] seccomp: remove unused syscalls - for 1.6 Eduardo Otubo
2013-07-22 18:33 ` [Qemu-devel] [PATCHv3 1/2] seccomp: no need to check arch in syscall whitelist Eduardo Otubo
2013-07-22 18:33 ` [Qemu-devel] [PATCH 2/2] seccomp: removing unused syscalls gtom whitelist Eduardo Otubo
2013-07-23  7:43 ` [Qemu-devel] [PATCHv3 0/2] seccomp: remove unused syscalls - for 1.6 Paolo Bonzini
2013-07-26 20:44   ` Eduardo Otubo
2013-07-29 20:24 ` Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).