From owner-freebsd-hackers Wed Jan 30 15:39: 7 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mel-rto1.wanadoo.fr (smtp-out-1.wanadoo.fr [193.252.19.188]) by hub.freebsd.org (Postfix) with ESMTP id 0438B37B48B for ; Wed, 30 Jan 2002 15:38:59 -0800 (PST) Received: from mel-rta4.wanadoo.fr (193.252.19.58) by mel-rto1.wanadoo.fr; 31 Jan 2002 00:38:58 +0100 Received: from johnport (193.253.245.161) by mel-rta4.wanadoo.fr; 31 Jan 2002 00:38:34 +0100 Message-ID: <000d01c1a9e7$3b75cd00$0100a8c0@johnport> From: "Jonathan BENSAMOUN" To: Subject: kernel fork & execve Date: Thu, 31 Jan 2002 00:38:29 +0100 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 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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, I would like to add a new syscall in my kernel which execute an execve in a forked process. I call the fork1 function and hook inside it to execute my execve. Has anyone an example of calling execve from kernel ? I have some problem to pass the arguments ... Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message