From owner-freebsd-hackers Mon Aug 13 16: 7:42 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.teledis.be (mail.teledis.be [217.117.32.52]) by hub.freebsd.org (Postfix) with ESMTP id 84C9A37B40A for ; Mon, 13 Aug 2001 16:07:35 -0700 (PDT) (envelope-from lorenzo@linuxbe.org) Received: from natalie ([217.117.38.8]) by mail.teledis.be (Netscape Messaging Server 4.15) with SMTP id GI148N00.0AY for ; Tue, 14 Aug 2001 01:07:35 +0200 Message-ID: <003401c1244d$1fa6ee80$0201a8c0@teledisnet.be> From: "Sansonetti Laurent" To: References: <200108131951.aa91431@salmon.maths.tcd.ie> Subject: Re: Reading files within the kernel (was Re: allocating userland space...) Date: Tue, 14 Aug 2001 01:10:19 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello Ian, Thanks you for your help, now I can read my cfg file from my module in a easier way ;) A another stupid question, how can I do to stop the loading process in MOD_LOAD event handler (in my case, if the cfg file doesn't exist, it should be better to interrupt..) ? Returning EINTR does not appear to be the good solution ;) Thanks you (again) in advance. -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message