From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqFJM-0001C6-FO for qemu-devel@nongnu.org; Fri, 08 Sep 2017 05:10:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dqFJH-0002rz-Lq for qemu-devel@nongnu.org; Fri, 08 Sep 2017 05:10:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60482) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dqFJH-0002p6-Er for qemu-devel@nongnu.org; Fri, 08 Sep 2017 05:10:47 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0FA514E909 for ; Fri, 8 Sep 2017 09:10:44 +0000 (UTC) From: Eduardo Otubo Date: Fri, 8 Sep 2017 11:10:22 +0200 Message-Id: <20170908091027.9104-1-otubo@redhat.com> Subject: [Qemu-devel] [PATCHv5 0/6] seccomp: feature refactoring List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: thuth@redhat.com, "Daniel P . Berrange" v5: * replaced strcmp by g_str_equal * removed useless goto * fixed style problems 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