Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Oct 2016 11:48:39 -0600
From:      Alan Somers <asomers@freebsd.org>
To:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Proper way to add vendor-specific syscalls?
Message-ID:  <CAOtMX2gi0rvC85qcUb2UZRbVGB%2BS%2BeXuAzzxn50GmUV4QKKghg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
What's the proper way to add a vendor-specific syscall? The comments
in kern/syscalls.master suggest that they should be put in the range
from 151-180, but most of that range is actually occupied.  Only five
nosys slots are available.  If I add syscalls to the end of the list,
they'll likely collide with future standard syscalls.  Should I just
added ~100 nosys syscalls to the end of the list, and put my custom
syscalls afterwards?  Is there any penalty to lengthening the list?

-Alan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2gi0rvC85qcUb2UZRbVGB%2BS%2BeXuAzzxn50GmUV4QKKghg>