Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 12 Mar 2002 07:46:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 12 Mar 2002 07:46:44 -0500 Received: from pizda.ninka.net ([216.101.162.242]:17610 "EHLO pizda.ninka.net") by vger.kernel.org with ESMTP id ; Tue, 12 Mar 2002 07:46:35 -0500 Date: Tue, 12 Mar 2002 04:43:04 -0800 (PST) Message-Id: <20020312.044304.130027236.davem@redhat.com> To: zippel@linux-m68k.org Cc: linux-kernel@vger.kernel.org, ak@muc.de Subject: Re: __get_user usage in mm/slab.c From: "David S. Miller" In-Reply-To: In-Reply-To: X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org From: Roman Zippel Date: Tue, 12 Mar 2002 12:58:53 +0100 (CET) We have to at least insert a "set_fs(get_fs())", but IMO a separate interface would be better. Any opinions? Right, it is portable if set_fs(KERNEL_DS) is done around it. This is how most arch syscall ABI translation layers work btw. Because this way basically must work, I would prefer it gets fixed like this instead of creating a new interface. - 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/