From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932475AbdHWQiW (ORCPT ); Wed, 23 Aug 2017 12:38:22 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:54230 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932243AbdHWQiV (ORCPT ); Wed, 23 Aug 2017 12:38:21 -0400 Subject: Re: [PATCH] seccomp: add missing semicolon To: Kees Cook , Arnd Bergmann Cc: James Morris , Andy Lutomirski , Will Drewry , LKML References: <20170823134406.1023727-1-arnd@arndb.de> From: Tyler Hicks Message-ID: Date: Wed, 23 Aug 2017 11:38:06 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Lu3OpQ1Qxt7K70eVVSA1qK6QFfdt3HXBL" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Lu3OpQ1Qxt7K70eVVSA1qK6QFfdt3HXBL Content-Type: multipart/mixed; boundary="mdPsrkrrjXqwC93QEdc7QFbDhoAS3wurq"; protected-headers="v1" From: Tyler Hicks To: Kees Cook , Arnd Bergmann Cc: James Morris , Andy Lutomirski , Will Drewry , LKML Message-ID: Subject: Re: [PATCH] seccomp: add missing semicolon References: <20170823134406.1023727-1-arnd@arndb.de> In-Reply-To: --mdPsrkrrjXqwC93QEdc7QFbDhoAS3wurq Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 08/23/2017 11:20 AM, Kees Cook wrote: > On Wed, Aug 23, 2017 at 6:43 AM, Arnd Bergmann wrote: >> 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 >=20 > Oh, how completely strange. I never saw this in my build testing. If > you have the .config that tripped this, please let me know. Same here... Thanks for the fix, Arnd! Tyler >=20 > James, can you take this for -next please? >=20 > Acked-by: Kees Cook >=20 > Thanks! >=20 > -Kees >=20 >> --- >> kernel/seccomp.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> 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 */ >> -- >> 2.9.0 >> >=20 >=20 >=20 --mdPsrkrrjXqwC93QEdc7QFbDhoAS3wurq-- --Lu3OpQ1Qxt7K70eVVSA1qK6QFfdt3HXBL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJZna9zAAoJENaSAD2qAscKwXkQAMYb+wPh1oRXqU04iaIlpUTt 2khwMezi0zHjjbq7vIbL9EB0IE6JLsQARKNpBYVN8BXrQqF3i6bs1QpQXDeQ105a oe10xbClJNYMbfFCPvBmnAgBR8+zfq1szuhtppFuSxVb6IgihtgfzBEC6qyD9VaS cBW4HKVi+Adg3QN5xtVZWMVo6pkFLnSJvfnKAtP2Si+QUT7Th0f06WsVVseUu5FU OyR30pHkHtuHaRzj8dmSjUB8VhcAPi7X6hHgvXii+lNktMP20DvjtAtL08milYtp YZgTWp6T1NV7PZ9MAiNnZLmvqo+ckxT7u04mCKyiGUEJWo9Z0g3db0pVC3r2fhpl V4ycjpuM5Nh/tLjcsQTSbQ16No/IzdLL6l/hNeiJ66P/SAb7ImkmbkMYA15dCgk5 PjDHvDEdfdAdHRpaW1QUWnIbkFjdSK/xwd+rFUy38vnufHzCmECbOjo+SIEeDgNN LiJQAY19MukZVI+ChdQX0tp9tvusp3/j8oYr9XwztIM2p7NUUkevcLizbJatOHC7 OgysyWrElz43uVH63xq0oW9EjmLghgWSlF1+J9dfVurSKlZnVNKTtjsiRugAylOl W1RlGLM8XBQLhhm6/UVZ7dGlI/PC86bWBunCWrAeXGb6/zef8AHqrxerbuxrQBtN 9eqffsHbGkaJZsJ3BbvG =de3d -----END PGP SIGNATURE----- --Lu3OpQ1Qxt7K70eVVSA1qK6QFfdt3HXBL--