Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753453Ab2FEWzI (ORCPT ); Tue, 5 Jun 2012 18:55:08 -0400 Received: from mail-we0-f174.google.com ([74.125.82.174]:56570 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751559Ab2FEWzF (ORCPT ); Tue, 5 Jun 2012 18:55:05 -0400 Message-ID: <1338936900.1157.3.camel@mop> Subject: Re: [PATCH 0/8] Rework KERN_ From: Kay Sievers To: Andrew Morton Cc: Joe Perches , Linus Torvalds , linux-arm-kernel@lists.infradead.org, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, alsa-devel@alsa-project.org, Kay Sievers Date: Wed, 06 Jun 2012 00:55:00 +0200 In-Reply-To: <20120605142826.d92316a0.akpm@linux-foundation.org> References: <20120605142826.d92316a0.akpm@linux-foundation.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.5.2 (3.5.2-1.fc18) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1229 Lines: 44 On Tue, 2012-06-05 at 14:28 -0700, Andrew Morton wrote: > devkmsg_writev() does weird and wonderful things with > facilities/levels. That function incorrectly returns "success" when > copy_from_user() faults, btw. Oh. Better? Thanks, Kay From: Kay Sievers Subject: kmsg: /dev/kmsg - properly return possible copy_from_user() failure Reported-By: Andrew Morton Signed-off-by: Kay Sievers