Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759906AbYLQHhl (ORCPT ); Wed, 17 Dec 2008 02:37:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752925AbYLQHhb (ORCPT ); Wed, 17 Dec 2008 02:37:31 -0500 Received: from tundra.namei.org ([65.99.196.166]:3820 "EHLO tundra.namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751876AbYLQHha (ORCPT ); Wed, 17 Dec 2008 02:37:30 -0500 Date: Wed, 17 Dec 2008 18:37:15 +1100 (EST) From: James Morris To: Al Viro cc: linux-audit@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 6/15] sanitize audit_mq_notify() In-Reply-To: Message-ID: References: User-Agent: Alpine 1.10 (LRH 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 17 Dec 2008, Al Viro wrote: > > * don't copy_from_user() twice > * don't bother with allocations > * don't duplicate parts of audit_dummy_context() > * make it return void > > Signed-off-by: Al Viro Reviewed-by: James Morris -- James Morris -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/