From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751389AbcAAEeb (ORCPT ); Thu, 31 Dec 2015 23:34:31 -0500 Received: from zeniv.linux.org.uk ([195.92.253.2]:35363 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751214AbcAAEea (ORCPT ); Thu, 31 Dec 2015 23:34:30 -0500 Date: Fri, 1 Jan 2016 04:34:16 +0000 From: Al Viro To: Petko Manolov Cc: Stephen Rothwell , James Morris , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Mimi Zohar Subject: Re: linux-next: manual merge of the security tree with the vfs tree Message-ID: <20160101043416.GE9938@ZenIV.linux.org.uk> References: <20151231152453.08cfae79@canb.auug.org.au> <20151231043019.GD9938@ZenIV.linux.org.uk> <20151231104535.GA5555@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151231104535.GA5555@localhost> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 31, 2015 at 12:45:35PM +0200, Petko Manolov wrote: > I introduced the write mutex when ima_write_policy() stopped being serialized by > other means. Come to think about it the semaphore could be taken right before > copy_from_user() so it is my fault, not Stephen's. s/before/after/, surely?