Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Aug 1998 00:41:37 +0200 (MET DST)
From:      Willem Jan  Withagen <wjw@surf.IAE.nl>
To:        hackers@FreeBSD.ORG
Subject:   Adding system calls
Message-ID:  <199808052241.AAA05242@surf.IAE.nl>

next in thread | raw e-mail | index | archive | help
Hi,

This must be a FAQ, but I can not find it. :-(

What/were is the receipe to add new system calls.
I'd like to add my own sysctl_* calls.

Are there any directives on what "design" to use while defining these calls.
Like:
   -	Use only one syscall as a multiplexer
	(Which created a not so trivial mess is the current sysctl)
   -	What parameters are a bad idea to transfer from
	user to kernel space?

And answers to questions like:
   -	Where can I find the "user"-data
   -	Hoe to I return results for "call-by-ref" parameters

Sounds like there should be at least some info on this.

--WjW

-- 
Internet Access Eindhoven BV.,  voice: +31-40-2 393 393, data: +31-40-2 606 606
P.O. 928, 5600 AX Eindhoven, The Netherlands
Full Internet connectivity for only fl 12.95 a month.
Call now, and login as 'new'.

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?199808052241.AAA05242>