From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2A2CBC432C0 for ; Mon, 2 Dec 2019 10:48:22 +0000 (UTC) Received: from mother.openwall.net (mother.openwall.net [195.42.179.200]) by mail.kernel.org (Postfix) with SMTP id 78DE5214AF for ; Mon, 2 Dec 2019 10:48:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 78DE5214AF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernel-hardening-return-17454-kernel-hardening=archiver.kernel.org@lists.openwall.com Received: (qmail 17466 invoked by uid 550); 2 Dec 2019 10:48:14 -0000 Mailing-List: contact kernel-hardening-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Received: (qmail 17432 invoked from network); 2 Dec 2019 10:48:14 -0000 Date: Mon, 2 Dec 2019 10:47:59 +0000 From: Mark Rutland To: Kees Cook Cc: Kassad , kernel-hardening@lists.openwall.com Subject: Re: Contributing to KSPP newbie Message-ID: <20191202104759.GB24608@lakrids.cambridge.arm.com> References: <20191129112825.GA27873@lakrids.cambridge.arm.com> <201911300846.E8606B5B2@keescook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201911300846.E8606B5B2@keescook> User-Agent: Mutt/1.11.1+11 (2f07cb52) (2018-12-01) On Sat, Nov 30, 2019 at 08:48:23AM -0800, Kees Cook wrote: > On Fri, Nov 29, 2019 at 11:29:13AM +0000, Mark Rutland wrote: > > On Thu, Nov 28, 2019 at 11:39:11PM -0500, Kassad wrote: > > > Hey Kees, > > > > > > I'm 3rd university student interested in learning more about the linux kernel. > > > I'm came across this subsystem, since it aligns with my interest in security. > > > Do you think as a newbie this task https://github.com/KSPP/linux/issues/11 will > > > be a good starting point? > > > > I think this specific task (Disable arm32 kuser helpers) has already > > been done, and the ticket is stale. > > Oh, thank you! I entirely missed both of these commits. I've added > notes to the bug and closed it. Great! > > On arm CONFIG_KUSER_HELPERS can be disabled on kernels that don't need > > to run on HW prior to ARMv6. See commit: > > > > f6f91b0d9fd971c6 ("ARM: allow kuser helpers to be removed from the vector page") > > > > On arm64, CONFIG_KUSER_HELPERS can be disabled on any kernel. See > > commit: > > > > 1b3cf2c2a3f42b ("arm64: compat: Add KUSER_HELPERS config option") > > (Typo: a1b3cf2c2a3f42b) I see you use vim. ;) Mark.