From owner-freebsd-hackers Wed Jun 27 9:23:51 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bugz.infotecs.ru (bugz.infotecs.ru [195.210.139.22]) by hub.freebsd.org (Postfix) with ESMTP id B59C137B405 for ; Wed, 27 Jun 2001 09:23:48 -0700 (PDT) (envelope-from vel@bugz.infotecs.ru) Received: (from vel@localhost) by bugz.infotecs.ru (8.11.1/8.11.1) id f5RGH0243541 for freebsd-hackers@freebsd.org; Wed, 27 Jun 2001 20:17:00 +0400 (MSD) (envelope-from vel) From: "Eugene L. Vorokov" Message-Id: <200106271617.f5RGH0243541@bugz.infotecs.ru> Subject: accessing files from kld module To: freebsd-hackers@freebsd.org Date: Wed, 27 Jun 2001 20:17:00 +0400 (MSD) X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII 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 Hi, probably this question was asked here many times before, but I'm new to kernel mode hacks ... Is it somehow possible to access files from my kld module ? I have seen functions like printf(), MALLOC() for kernel mode, but nothing like open() ... using open() syscall directly seems impossible too because generally I don't have struct proc entry. I would be very thankful for any information regarding this issue. Regards, Eugene To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message