From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx3-rdu2.redhat.com ([66.187.233.73]:41090 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750916AbeBVXmR (ORCPT ); Thu, 22 Feb 2018 18:42:17 -0500 From: David Howells In-Reply-To: <151931646922.27713.5363631712174136041.stgit@warthog.procyon.org.uk> References: <151931646922.27713.5363631712174136041.stgit@warthog.procyon.org.uk> <151931642737.27713.5082532296556836948.stgit@warthog.procyon.org.uk> To: jmorris@namei.org Cc: dhowells@redhat.com, keyrings@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Kirill Marinushkin Subject: Re: [PATCH 6/6] KEYS: Use individual pages in big_key for crypto buffers MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <29837.1519342935.1@warthog.procyon.org.uk> Date: Thu, 22 Feb 2018 23:42:15 +0000 Message-ID: <29838.1519342935@warthog.procyon.org.uk> Sender: stable-owner@vger.kernel.org List-ID: David Howells wrote: > + l = min(len, PAGE_SIZE); Sigh. This needs to be a min_t(). David