Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 16 Jan 2003 06:01:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 16 Jan 2003 06:01:22 -0500 Received: from waldorf.cs.uni-dortmund.de ([129.217.4.42]:10154 "EHLO waldorf.cs.uni-dortmund.de") by vger.kernel.org with ESMTP id ; Thu, 16 Jan 2003 06:01:21 -0500 Message-Id: <200301161104.h0GB4IOY011937@eeyore.valparaiso.cl> To: DervishD cc: "Perez-Gonzalez, Inaky" , Linux-kernel Subject: Re: argv0 revisited... In-Reply-To: Message from DervishD of "Wed, 15 Jan 2003 19:44:55 +0100." <20030115184455.GB47@DervishD> Date: Thu, 16 Jan 2003 12:04:18 +0100 From: Horst von Brand Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org DervishD [No attributions here, sorry] > > > welcome. Although I would like a portable solution, any solution that > > > works under *any* Linux kernel is welcome... > > What about mounting /proc from inside your program? Not a big deal, easy > > sollution ... > I don't like it, because it should happen at the very beginning > of init. Remember, is not any program, is an init. Should be a more > clean way, I suppose :?? If it is init, you do have enough control over the environment to just hardcode the executable's name? In any case, I don't see what you want to acomplish here. Care to enligthen us a bit? -- Dr. Horst H. von Brand User #22616 counter.li.org Departamento de Informatica Fono: +56 32 654431 Universidad Tecnica Federico Santa Maria +56 32 654239 Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513 - 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/