Peter Wemm
48af1bfbef
Fix for 64 bit platforms. sysctl's length args are pointers to
...
size_t, not int. This could be fatal where size_t is long.
Reviewed by: bp
2003-07-25 19:17:46 +00:00
Warner Losh
33c2c9a3fa
No need to have ifdef < FreeBSD 4.0-current in here. Remove it to
...
avoid false positive while searching for __FreeBSD_version abuse.
2003-04-04 04:16:06 +00:00
Tim J. Robbins
0e66bb97d8
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.
2003-02-28 04:31:29 +00:00
Mark Murray
4cd0119367
Do not use __progname directly (except in [gs]etprogname(3)).
...
Also, make an internal _getprogname() that is used only inside
libc. For libc, getprogname(3) is a weak symbol in case a
function of the same name is defined in userland.
2002-03-29 22:43:43 +00:00
Matthew Dillon
a5c81eca98
Add __FBSDID()s to libncp
2001-09-30 22:01:19 +00:00
Kris Kennaway
6dac8ac9e5
Mark some functions as __printflike() and/or taking const char * arguments
...
instead of char *.
MFC after: 2 weeks
2001-08-20 12:53:36 +00:00
Boris Popov
ec106704c6
Remove duplicated extern.
...
Submitted by: Nathan Ahlstrom <nrahlstr@winternet.com>
2000-01-01 14:21:31 +00:00
Boris Popov
4d6357abda
Handle SAP responces in a more correct way. Allow connection number
...
greater than 255 in the broadcast messages.
1999-10-29 12:59:59 +00:00
Boris Popov
efef966da8
Initial import of ncp library sources.
...
Reviewed by: jdp, mdodd
1999-10-12 11:56:41 +00:00