Date: Fri, 15 May 1998 11:50:08 -0500 (CDT) From: Sumit Gupta <sumit@ee.tamu.edu> To: freebsd-hackers@FreeBSD.ORG Subject: how to add a system call Message-ID: <199805151650.LAA07873@eesun3.tamu.edu>
next in thread | raw e-mail | index | archive | help
Hi, This is probably a newbie question. In FreeBSD Release 2.2.2., I have added a global array in the /usr/src/sys/netinet/ip_input.c which I use for some IP level hacking (array of u_long). right now I have harcoded the values in the array but need to have a way to change/set the array entries in a running system. Is a system call the only way to do this? If so, how do I add a new system call that can do this? Is assembly programming neccessary? any help will be greatly appreciated. thanks Sumit -- ----------------------------------------------------------------------- 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-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805151650.LAA07873>