From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnjet-0008Uk-5h for qemu-devel@nongnu.org; Fri, 01 Sep 2017 06:58:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnjeo-0001AK-Eh for qemu-devel@nongnu.org; Fri, 01 Sep 2017 06:58:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52982) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dnjeo-000194-7t for qemu-devel@nongnu.org; Fri, 01 Sep 2017 06:58:38 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id CA05481E0C for ; Fri, 1 Sep 2017 10:58:36 +0000 (UTC) From: Eduardo Otubo Date: Fri, 1 Sep 2017 12:58:12 +0200 Message-Id: <20170901105818.31956-1-otubo@redhat.com> Subject: [Qemu-devel] [PATCHv4 0/6] seccomp: feature refactoring List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: berrange@redhat.com, thuth@redhat.com v4: * include another field on the struct for the modes * remove priority * fixed typos * error handling for prctl * add allow|deny values for all options * error hanlding for wrong values for all options * change how binary values are treated * reformat help text v3: * Style problems fixed v2: * The semantics of the options "allow/deny" instead of booleans "on/off" remains. * Added option 'children' to elevateprivileges * Added documentation to docs/ v1: * First version based on the discussion https://lists.gnu.org/archive/html/qemu-devel/2017-02/msg03348.html Eduardo Otubo (6): seccomp: changing from whitelist to blacklist seccomp: add obsolete argument to command line seccomp: add elevateprivileges argument to command line seccomp: add spawn argument to command line seccomp: add resourcecontrol argument to command line seccomp: adding documentation to new seccomp model docs/seccomp.txt | 31 +++++ include/sysemu/seccomp.h | 8 +- qemu-options.hx | 26 +++- qemu-seccomp.c | 325 ++++++++++++++--------------------------------- vl.c | 82 +++++++++++- 5 files changed, 235 insertions(+), 237 deletions(-) create mode 100644 docs/seccomp.txt -- 2.13.5