Return-Path: Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:42249 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759463AbdKPTEo (ORCPT ); Thu, 16 Nov 2017 14:04:44 -0500 Message-ID: <1510859066.2753.26.camel@decadent.org.uk> Subject: Re: Bug#881830: linux: cherry-pick "security/keys: add CONFIG_KEYS_COMPAT to Kconfig" to stretch kernel From: Ben Hutchings To: Greg Kroah-Hartman Cc: James Cowgill , 881830@bugs.debian.org, stable Date: Thu, 16 Nov 2017 19:04:26 +0000 In-Reply-To: References: <093b5416-e41a-ee08-9cef-917fd3971909@debian.org> <093b5416-e41a-ee08-9cef-917fd3971909@debian.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-mg4T+uuZtP7HjQMedOsQ" Mime-Version: 1.0 Sender: stable-owner@vger.kernel.org List-ID: --=-mg4T+uuZtP7HjQMedOsQ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2017-11-15 at 16:50 +0000, James Cowgill wrote: > Since I was a little puzzled as to why keyutils built previously on > mips, I found this commit to 4.8 which caused the need for KEYS_COMPAT: >=20 > commit 20f06ed9f61a185c6dabd662c310bed6189470df > Author: David Howells > Date: Wed Jul 27 11:43:37 2016 +0100 >=20 > KEYS: 64-bit MIPS needs to use compat_sys_keyctl for 32-bit userspace > =20 > MIPS64 needs to use compat_sys_keyctl for 32-bit userspace rather tha= n > calling sys_keyctl. The latter will work in a lot of cases, thereby = hiding > the issue. >=20 > Now I'm thinking maybe this can be argued as a bugfix for the above > commit and put in upstream 4.9? Greg, please queue up these two for 4.9: 5c2a625937ba arm64: support keyctl() system call in 32-bit mode 47b2c3fff493 security/keys: add CONFIG_KEYS_COMPAT to Kconfig Ben. --=20 Ben Hutchings In a hierarchy, every employee tends to rise to his level of incompetence. --=-mg4T+uuZtP7HjQMedOsQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAloN4TsACgkQ57/I7JWG EQl/oA/8DyITASGFZZMCnHx15YxdOg5a5b9ZF95tKXTZzWxG3/y8YnXNadf/yL+o d8vFoWIb5sYZyp1Kq0bWS3Ofd5jfQO6rVE5TDenjP4Xtfzix3vQ4QYyR70+FKH/7 +aevNIBN1+2fteEKe1vDaA7sT/kHToXOs007ECEsjO2SEP5HUjW1ceOxCzjhxgFl n7fZ0ZT3Klyl7j2J7orxCJebwMt+p8N7F0leFiBU/4+iLMpd1BHEM0HIUz9I/P85 6BkJajJze6nk9GRoVeABbJJQSw3kOc09CDav1jW5MTBT0UY8Aci2JFGv7pPnvqDn zGTNODI1t1+PMm6Y/ajSwpNRIR393uj+9o28oPComx8VHZrv3xPysurwEWyu3LiR 4Z5dq1TqCVD37wAToOTb3EixlbMvW/KMsSal/hxc7PWd5Wl58VT/sNnryFdqDkkY 6tAkeXWa572FVtQTxpr8pceVbuJ5Ow11HWn63/LnYy7ViNDbcGa4r9DvIZ7HKd71 kW1RXRq4h6oLsBusUjnk50imFXKvJx5G0Z6mirxw5OR8b6UTOMcCPrRqnGVXxWD/ u7xxhckkCKf6dqcKIiRSyvF6z3/hUrryHHdlCYlGqHkeQdUYBhVRRbKHN83UJiRM v6lwMN2o2ETKsgXKODWoE3sUQiTGVpdvwKvRQo9x4Aaa1EqW2qQ= =V19U -----END PGP SIGNATURE----- --=-mg4T+uuZtP7HjQMedOsQ--