elad
47dc01744a
Kill some KAUTH_GENERIC_ISSUSER.
2006-10-25 23:40:57 +00:00
christos
4d595fd7b1
- sprinkle __unused on function decls.
...
- fix a couple of unused bugs
- no more -Wno-unused for i386
2006-10-12 01:30:41 +00:00
dogcow
55ddfc9aae
change the MOWNER_INIT define to take two args; fix extant struct mowner
...
decls to use it. Makes options MBUFTRACE compile again and not whinge about
missing structure declarations. (Also makes initialization consistent.)
2006-10-10 21:49:14 +00:00
dogcow
f2d329dca0
remove more vestiges of CCITT, LLC, HDLC, NS, and NSIP.
2006-09-07 02:40:31 +00:00
christos
2c3642e00f
use c99 initializers
2006-09-03 06:53:08 +00:00
christos
47be5467d6
Fix initializers
2006-08-30 19:20:48 +00:00
christos
45c427c7fb
fix initializers
2006-08-30 15:32:23 +00:00
christos
976bcd112b
add missing initializers
2006-08-30 01:08:43 +00:00
christos
5ea9cdc590
fix incomplete initializers
2006-08-29 23:40:14 +00:00
matt
2c65982795
Make sure any inclusion of <netccitt/*.h> is protected by opt_ccitt.h and
...
CCITT.
2006-08-25 19:46:04 +00:00
matt
6c8fa3224e
One step closer to loadable domains. Store pointers to a domain's soft
...
interrupt queues so if_detach can remove packets to removed interfaces from
them. This eliminates a lot of conditional ugly code in if.c
2006-08-25 19:33:50 +00:00
ad
f474dceb13
Use the LWP cached credentials where sane.
2006-07-23 22:06:03 +00:00
kardel
de4337ab21
merge FreeBSD timecounters from branch simonb-timecounters
...
- struct timeval time is gone
time.tv_sec -> time_second
- struct timeval mono_time is gone
mono_time.tv_sec -> time_uptime
- access to time via
{get,}{micro,nano,bin}time()
get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html
2006-06-07 22:33:33 +00:00
elad
874fef3711
integrate kauth.
2006-05-14 21:19:33 +00:00
mrg
82b8b3f44f
#include <sys/protosw.h> for isosw[] extern.
2006-05-11 01:14:55 +00:00
christos
5cd6dae082
Coverity CID 1157: Move deref after check.
2006-04-15 00:03:56 +00:00
christos
9202171a37
Coverity CID 1158: Add a KASSERT to appease coverity.
2006-04-15 00:01:50 +00:00
christos
4364818c59
Coverity CID 1159: Prevent NULL deref.
2006-04-14 23:56:20 +00:00
christos
2b7ed695ce
Coverity CID 860: Prevent NULL deref.
2006-04-14 23:53:53 +00:00
christos
5994b27932
compile with no options INET
2005-12-28 09:18:46 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
elad
0db637f40e
Multiple inclusion protection, as suggested by christos@ on tech-kern@
...
few days ago.
2005-12-11 00:01:36 +00:00
dsl
d12c019f70
For some peverse reason the ISO code has to have the same template for
...
it's iso_pcbconnect() as the IP stack.
2005-11-16 20:44:19 +00:00
christos
3ebd13b60c
- use memcpy instead of bcopy.
...
- constify.
2005-05-31 01:37:06 +00:00
christos
ee1e2f8883
deal with const cast-aways.
2005-05-30 22:14:52 +00:00
christos
d276a994d2
- sprinkle const
...
- remove unnecessary casts
- change some b*() to mem*()
2005-05-29 21:27:45 +00:00
christos
7cdea212c0
No 0x in front of %p...
2005-05-22 15:54:45 +00:00
christos
362a4a0bd5
Yes, it was a cool trick >20 years ago to use "0123456789abcdef"[a] to
...
implement, xtoa(), but I think defining the samestring 50 times is a bit
too much. Defined HEXDIGITS and hexdigits in subr_prf.c and use it...
2005-05-17 04:14:57 +00:00
perry
bcfcddbac1
nuke trailing whitespace
2005-02-26 22:31:44 +00:00
martin
7719036ed6
Avoid use of freed memory. Reported by Ted Unangst on tech-kern.
2005-02-24 08:29:23 +00:00
simonb
3cebd9325e
White space nit- don't put a space before/after increment/decrement
...
operators.
2005-02-11 06:21:21 +00:00
matt
d341be30f4
Change initialzie of domains to use link sets. Switch to using STAILQ.
...
Add a convenience macro DOMAIN_FOREACH to interate through the domain.
2005-01-23 18:41:56 +00:00
peter
396b87b8c2
Convert lo(4) to a clonable device.
...
This also removes the loif array and changes all code to use the new
lo0ifp pointer which points to the lo0 ifnet structure.
Approved by christos.
2004-12-04 16:10:25 +00:00
matt
11ccf29a76
remove #else clause of #if __STDC__
2004-04-25 21:13:13 +00:00
matt
e50668c7fa
Constify protosw arrays. This can reduce the kernel .data section by
...
over 4K (if all the network protocols) are loaded.
2004-04-22 01:01:40 +00:00
matt
fd2a977729
Add #include "opt_iso.h" if not already there.
...
Make these compile cleanly when TPCONS is defined.
2004-04-21 23:19:49 +00:00
matt
961e6cb2e5
Add multiple inclusion protection
2004-04-21 23:18:10 +00:00
matt
0b5d1218b5
Add TPCONS option
2004-04-21 23:16:53 +00:00
itojun
d2f1c029b9
kill sprintf, use snprintf
2004-04-21 18:40:37 +00:00
matt
e3b919c754
Constify if.c radix.c and route.c (and fix related fallout).
2004-04-21 04:17:28 +00:00
matt
6a50a009d1
De-__P the header files (and reorder the includes of some C files).
2004-04-20 02:13:26 +00:00
matt
a87928f350
ANSI'fy, de-__P(), and constify some read-only data.
2004-04-19 05:16:45 +00:00
matt
591f26e81f
Use M_ZERO when appropriate
2004-04-18 18:54:03 +00:00
christos
90e1f431ca
adjust to the sbreserve prototype change.
2004-04-17 15:18:53 +00:00
wiz
e3fc4b66c3
Spell the plural of suffix "suffixes", not "suffices".
...
Inspired by PR 24400 by Todd Vierling.
2004-02-13 17:56:17 +00:00
keihan
b8702f530b
netbsd.org -> NetBSD.org
...
This was the last commit of this kind to src/sys, which is now totally
"NetBSD.org clean". Thanks for the patiance, and sorry for all the commits.
2003-12-04 13:57:30 +00:00
simonb
a2facef339
Remove some assigned-to but otherwise unused variables.
2003-10-30 01:43:08 +00:00
christos
36b4e0b6e7
Fix off-by-one in PRC_NCMDS check. From FreeBSD via OpenBSD
2003-09-30 00:01:18 +00:00
wiz
cff5e477ad
Process has only one c. From miod@openbsd.
2003-09-26 22:23:58 +00:00
christos
51a4dadbfe
adjust for SA_SIGINFO changes
2003-09-06 23:56:27 +00:00