From patchwork Wed Aug 23 13:43:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 110836 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp4148707qge; Wed, 23 Aug 2017 06:44:17 -0700 (PDT) X-Received: by 10.98.12.18 with SMTP id u18mr2873115pfi.52.1503495857187; Wed, 23 Aug 2017 06:44:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503495857; cv=none; d=google.com; s=arc-20160816; b=XyMwxKSSD4VojPHVUDkr4YtDYduKKp0Y3tWKteIKB4/0STt40iTbBRgkbc1PRbn2zf 68YeVRorm6xp9/KBcy0TXH3JsPp3J5Yp8hClrIHoFrjv0M+mzfdh/C3m8ecQ1ohzsmwh 2Z3OYggTUiSXGj1e+kzmL6mY2xKNnAKScOuu+6qonDyugP93FMsWwewucVyzXBkxp9hY 3Sp8lUyfCs3HAgSkUjJJEBq/O0YOwxfP3WeaJk63IES/I7b/8RQ5O/yX+svv03AiQsGs j4gNxrTzk9Jr9v70YchzmOxPgMM/jnJvLBUGJg122z87VyJOxod5IcXYCPDc+4S+7Qq6 Foeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=6hge5CN6TtxRoYCLBmIJ1j9UL/yhvcCnMkM/5CI/9u0=; b=AurYxwI1epwXPyRaH3J2KrQBI+0HBzZ58tM3b0MG2g9LmHA+zN0mcm2OWAmG4dYKQF +CbpGS+yf4fSypVw6equHeflfNGgzmDm+Ln1MuVVSGkRQWqZjz6goVG8j+K5eA44YT/U /iJqJYZaL+WQ1L8yanMw5XLeYd68HIHaxHEm1GFDD3FqbQJVknMMgZbqxadXoI3P3n+7 7ltluaEvIRwg6rqYWatjdc2LBO+WBgqxhLaKXG/aCIogeqkloS32/ec8oXFF3PwcBxsK 678geOBlUIjLhxriz96kSLd9ZNha8Q5epLMGqjYpFetTF3K4OYcjPvPjDXiiGFM4kyrG ItQA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d6si1077928pfh.479.2017.08.23.06.44.16; Wed, 23 Aug 2017 06:44:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754117AbdHWNoN (ORCPT + 26 others); Wed, 23 Aug 2017 09:44:13 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:65095 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754001AbdHWNoL (ORCPT ); Wed, 23 Aug 2017 09:44:11 -0400 Received: from wuerfel.lan ([95.208.190.237]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.145]) with ESMTPA (Nemesis) id 0Mdurl-1duELS2RfJ-00PgxY; Wed, 23 Aug 2017 15:44:07 +0200 From: Arnd Bergmann To: Kees Cook Cc: Arnd Bergmann , Andy Lutomirski , Will Drewry , Tyler Hicks , linux-kernel@vger.kernel.org Subject: [PATCH] seccomp: add missing semicolon Date: Wed, 23 Aug 2017 15:43:33 +0200 Message-Id: <20170823134406.1023727-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:EaM4++MsUGNGMDDoDQDywrhQq4hRTaGWRBYcPfFZrFzx3oibyzx HdsLLyK20fzlbJu9NVEGDQRaMU6VA77UxrxuRS3C6Zni0H9ZnNGHsqKENXehk/OWXvlx51R 4nbXrx51eJzch+y+rLMddoUWKwzRGEY6+GLSssWxc+7WIFKroRdGB0/PGHusrvS48ShZWgj ENsKbeRBzUzMv19NsFjwg== X-UI-Out-Filterresults: notjunk:1; V01:K0:l2GrcLg9iJE=:PyqsUvGsagMih4wpp+lUTI fUsGm95qPYnz0MAlGgtPH9nFOoeIH/4VJjRIp9uQMar8/L8G+itJldZs/osyU5xiHadOS/Jo9 Ma/0sVR216Ukg31KLlZCG/wXj5r1UkJGrEsDGjhssh5ITJrlt1SkTPuV/2yVWpj5O3lzwLEdL JDR+MLWv7wUOI8kcn1c0lnzTIE43jPbCn05VCn0vG5vF65MR90o2f+1yztqTy3Sq/jBiohXCS VD6Syo0NbtbC0XQVvLcSEPYaAKnABoxb79DcWhJCvhawc90gqBZXlt1EMwolIflLwMkP+l5Ra wRzsEa7k0cTF4WSN3VTJfn3SSTwMYcOh7+UA+xlz9W0f0N72R/ixvqNSmuvoIAl5/+L2CrXKi sRZCU34WRv1JCfi+XCDf1S6KfmxbwdGOUqxL4XKErs/UFlp+8Nss77Wv6g1gUtUgfwrBiKXLg VeqXUC47c69ZoiOq6NyCEU2tFT0gwnHo5EpknLaPsF7YWLrUg7mDAeWdZGgEWz24LwZNILwGE ATpJTDopKLGQDX18NRpZ4QBuy8N7WvBpC4rT/TzobjYi2M8C3TuM8M8XVR3Ik/bvh/NmgNElY 8teWCz+I7J1copts2eZrmtKL9MJJzQQC9t6xPxfcpxIsOHz8WPvZvshkVDHtUnVlZhbB+oUVi dLMkjgLKZDTtRd0v9OoKZq2v4xFPjnZZSdGhhPfzsk0mKHU7IFjaHE66clbETlZ/n8jNiynpX CxDP+w+FqpFUh3+PBJGYObWjMNqG8Op1F0X+Aw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We get a compile error without it, at least in some configurations: kernel/seccomp.c:1221:1: error: expected ',' or ';' at end of input Fixes: 8e5f1ad116df ("seccomp: Sysctl to display available actions") Signed-off-by: Arnd Bergmann --- kernel/seccomp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.0 Acked-by: Kees Cook diff --git a/kernel/seccomp.c b/kernel/seccomp.c index c24579dfa7a1..3eeb2257bd62 100644 --- a/kernel/seccomp.c +++ b/kernel/seccomp.c @@ -1218,6 +1218,6 @@ static int __init seccomp_sysctl_init(void) return 0; } -device_initcall(seccomp_sysctl_init) +device_initcall(seccomp_sysctl_init); #endif /* CONFIG_SYSCTL */