Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 5 Nov 2002 20:58:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 5 Nov 2002 20:58:51 -0500 Received: from almesberger.net ([63.105.73.239]:54281 "EHLO host.almesberger.net") by vger.kernel.org with ESMTP id ; Tue, 5 Nov 2002 20:58:50 -0500 Date: Tue, 5 Nov 2002 23:05:05 -0300 From: Werner Almesberger To: Alexander Viro Cc: Andy Pfiffer , Alan Cox , Suparna Bhattacharya , Jeff Garzik , Linus Torvalds , "Matt D. Robinson" , Rusty Russell , Linux Kernel Mailing List , lkcd-general@lists.sourceforge.net, lkcd-devel@lists.sourceforge.net Subject: Re: [lkcd-devel] Re: What's left over. Message-ID: <20021105230505.D10679@almesberger.net> References: <20021105221050.A10679@almesberger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: ; from viro@math.psu.edu on Tue, Nov 05, 2002 at 08:37:10PM -0500 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1035 Lines: 28 Alexander Viro wrote: > That's not obvious. By the same logics, we would need syscalls for > turning off overcommit, etc., etc. Okay okay, add file system specific ioctls and sysctl to my list of alternative mechanisms :-) > FWIW, I suspect that > open("/proc/image", O_EXCL|O_WRONLY); > bunch of lseek()/write() > close() Hmm, interesting. Yes, that should work. One would of course have to retain the current interface for in-kernel use (e.g. MCORE), but that's probably okay. Let's see what Eric thinks about it - it's his code after all. - Werner -- _________________________________________________________________________ / Werner Almesberger, Buenos Aires, Argentina wa@almesberger.net / /_http://www.almesberger.net/____________________________________________/ - 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/