From owner-freebsd-questions Sun Feb 7 18:13:00 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA25962 for freebsd-questions-outgoing; Sun, 7 Feb 1999 18:13:00 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from netlab.snu.ac.kr (dacl3.snu.ac.kr [147.46.66.97]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA25957 for ; Sun, 7 Feb 1999 18:12:57 -0800 (PST) (envelope-from jamester@dacl3.snu.ac.kr) Received: from james (dacl7 [147.46.66.101]) by netlab.snu.ac.kr (8.8.8/8.8.8) with SMTP id LAA05939 for ; Mon, 8 Feb 1999 11:16:06 +0900 Message-ID: <000101be5308$a321d5e0$65422e93@james.snu.ac.kr> From: "Ilhwan Kwon" To: Subject: creating syscalls Date: Mon, 8 Feb 1999 11:13:35 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="euc-kr" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by hub.freebsd.org id SAA25958 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi. I tried to create my own system calls, which specifically computes the maximum memory used by kernel when it operates as a router. 1. I created a global variable which is updated in m_devget function in uipc_mbuf.c. 2. I created a .h and .c file which contains my system call declaration and implementation. 3. I added entries in syscalls.master for the newly created system calls. The problem is that I do not know how to run syscalls.conf on syscalls.master. Additionally I am not sure whether what I did is correct. Any help on this matter will be greatly appreciated. Thanks best regrads. -James Kwon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message