From owner-freebsd-questions Tue May 12 16:16:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA20620 for freebsd-questions-outgoing; Tue, 12 May 1998 16:16:34 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from eesun3.tamu.edu (eesun3.tamu.edu [165.91.218.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA20530 for ; Tue, 12 May 1998 16:16:16 -0700 (PDT) (envelope-from sumit@eesun3.tamu.edu) Received: (from sumit@localhost) by eesun3.tamu.edu (8.8.5/8.8.5) id SAA07977 for freebsd-questions@FreeBSD.ORG; Tue, 12 May 1998 18:16:15 -0500 (CDT) From: Sumit Gupta Message-Id: <199805122316.SAA07977@eesun3.tamu.edu> Subject: how to add a new system call? To: freebsd-questions@FreeBSD.ORG Date: Tue, 12 May 1998 18:16:15 -0500 (CDT) X-Mailer: ELM [version 2.4 PL24 PGP2] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have added some global varables in the /usr/src/sys/netinet/ip_input.c file. I use those for some IP layer hacking and have currently hardcoded them (just integers) and have to recompile and reboot every time I change the value. How can I change the values in a running system? Is adding a new sytem call to set them the only way? (if that IS a way :-)) If so, how does one go about creating a new system call for that? Is assembly prog. neccessary? any help will be greatly appreciated. thanks Sumit email: sumit@tamu.edu -- ----------------------------------------------------------------------- Sumit Gupta Masters Student Residence: Office: 4302, College Main Dept. of Elec. Engg. Apartment # 339 Texas A&M Univ. Bryan, Texas 77801 College Station, TX 77843 Ph : (409) 268-8053 Ph : (409) 845-9578 E-mail : sumit@tamu.edu Official URL : http://ee.tamu.edu/~sumit Personal URL : http://dropzone.tamu.edu/~sumit ----------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message