From owner-freebsd-hackers Fri Aug 10 5: 6:29 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 32D4337B401 for ; Fri, 10 Aug 2001 05:06:20 -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 GHUPMN00.2EV for ; Fri, 10 Aug 2001 14:06:23 +0200 Message-ID: <003101c12195$3be399a0$0201a8c0@teledisnet.be> From: "Sansonetti Laurent" To: Subject: Doing file operations on syscalls handler Date: Fri, 10 Aug 2001 14:08:57 +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 hackers, I'm new on FreeBSD modules programming, and I've a little question... How can I do file operations (like open(), read()..) on a syscall handler of a syscall module ? In fact I've met the problem since my module must open a file which contains some informations for the hacked syscall (in this case, it's getdirentries()).. I've tried to malloc a open_args struct, filled-it and use [sys] open, but it doesn't work... Is there a way to call user syscalls ? Thanks you for your answer.. I don't have many informations on FreeBSD modules programming.. forgive-me ;) -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message