]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use a character device and ioctl() for communication between libncp
authorTim J. Robbins <tjr@FreeBSD.org>
Fri, 28 Feb 2003 04:31:29 +0000 (04:31 +0000)
committerTim J. Robbins <tjr@FreeBSD.org>
Fri, 28 Feb 2003 04:31:29 +0000 (04:31 +0000)
commit0e66bb97d80d7fb29c44c850cdd185d78d834a54
tree4546286a0530aacd98f941d017d6426d949085f7
parent3fb37429dfb4ecc33ef852728c18032fdf0b5507
Use a character device and ioctl() for communication between libncp
and the kernel instead of adding more syscalls at runtime. As a bonus,
you can now restrict access to the kernel NCP interface with chmod.
lib/libncp/ncp_mod.h [deleted file]
lib/libncp/ncpl_net.c
lib/libncp/ncpl_subr.c
sys/netncp/ncp.h
sys/netncp/ncp_mod.c
sys/netncp/ncpio.h [new file with mode: 0644]