Subject: Re: [PATCH 09/17] prmem: hardened usercopy References: <20181023213504.28905-1-igor.stoppa@huawei.com> <20181023213504.28905-10-igor.stoppa@huawei.com> From: Igor Stoppa Message-ID: Date: Mon, 29 Oct 2018 20:24:43 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: crecklin@redhat.com, Mimi Zohar , Kees Cook , Matthew Wilcox , Dave Chinner , James Morris , Michal Hocko , kernel-hardening@lists.openwall.com, linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org Cc: igor.stoppa@huawei.com, Dave Hansen , Jonathan Corbet , Laura Abbott , linux-mm@kvack.org, linux-kernel@vger.kernel.org List-ID: On 29/10/2018 11:45, Chris von Recklinghausen wrote: [...] > Could you add code somewhere (lkdtm driver if possible) to demonstrate > the issue and verify the code change? Sure. Eventually, I'd like to add test cases for each functionality. I didn't do it right away for those parts which are either not immediately needed for the main functionality or I'm still not confident enough that they won't change radically. -- igor