Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 1998 18:16:15 -0500 (CDT)
From:      Sumit Gupta <sumit@ee.tamu.edu>
To:        freebsd-questions@FreeBSD.ORG
Subject:   how to add a new system call?
Message-ID:  <199805122316.SAA07977@eesun3.tamu.edu>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805122316.SAA07977>