From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay02.pair.com ([209.68.5.16]:25101 "HELO relay02.pair.com") by vger.kernel.org with SMTP id S1751118AbWHTSdF (ORCPT ); Sun, 20 Aug 2006 14:33:05 -0400 From: Chase Venters Subject: Re: [PATCH] introduce kernel_execve function to replace __KERNEL_SYSCALLS__ Date: Sun, 20 Aug 2006 13:32:39 -0500 References: <20060819073031.GA25711@atjola.homenet> <200608201237.13194.chase.venters@clientec.com> <20060820112523.f14fc6dc.akpm@osdl.org> In-Reply-To: <20060820112523.f14fc6dc.akpm@osdl.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200608201333.02951.chase.venters@clientec.com> Sender: linux-arch-owner@vger.kernel.org To: Andrew Morton Cc: Arnd Bergmann , =?iso-8859-1?q?Bj=F6rn_Steinbrink?= , Russell King , rusty@rustcorp.com.au, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org List-ID: On Sunday 20 August 2006 13:25, Andrew Morton wrote: > On Sun, 20 Aug 2006 12:36:49 -0500 > > Chase Venters wrote: > > Unless 'errno' has some significant reason to live on in the kernel, I > > think it would be better to kill it and write kernel syscall macros that > > don't muck with it. > > We have been working in that direction. It's certainly something we'd like > to kill off. Perhaps Arnd's patch is a good step in that direction then. A secondary suggestion is to put a big comment there that explains "Yes, we know this is ugly, it's going to die soon." I'd also consider going so far as just returning -1 if we failed, since we can't quite trust errno anyway. Thanks, Chase