cl
ff6c26a333
- setup vfr rules when running as domain-0
...
- patch ethernet address if running as domain-0 so that arp can work
also include bpfilter.h to get NBPFILTER
2004-04-21 17:36:59 +00:00
christos
fced18d9f6
fix constification botch. (hi gimpy)
2004-04-21 15:51:22 +00:00
drochner
3874dc0ca9
defopt COMPAT_20
2004-04-21 12:44:13 +00:00
cl
3ba9d3ae38
don't crash when changing/adding ip addresses
2004-04-21 12:43:43 +00:00
cl
b5acdb9f14
cleanup debugging printf's
2004-04-21 12:14:45 +00:00
christos
0b9201b140
similar fix to enami's in the fstypename field. Not really needed, but better
...
safe than sorry.
2004-04-21 12:00:36 +00:00
christos
22df5bb240
try to make this compile. XXX: this will not work yet (hi simon)
2004-04-21 11:50:26 +00:00
enami
d92f7ed982
Don't copy past the end of destination array boundary; the size of source
...
array changed due to recent statvfs change.
2004-04-21 07:58:02 +00:00
simonb
b81e6f2ef6
ANSIfy, some KNF.
2004-04-21 07:05:07 +00:00
simonb
0495170a7a
Fix some statfs->statvfs fallout. Compile tested only...
2004-04-21 05:20:27 +00:00
matt
e3b919c754
Constify if.c radix.c and route.c (and fix related fallout).
2004-04-21 04:17:28 +00:00
christos
90345b38a6
add sys/dirent.h
2004-04-21 02:40:42 +00:00
christos
34728fd71f
more statvfs1 fallout.
2004-04-21 02:40:05 +00:00
christos
4bdb80839b
add sys/dirent.h
2004-04-21 02:38:16 +00:00
christos
36d3802e0f
fix more statvfs1 fallout
2004-04-21 02:37:20 +00:00
matt
af6ed48cd8
Remove non-__STDC__ code.
2004-04-21 02:33:28 +00:00
matt
7836b0179d
Don't declare prurequests or tcpstates. Let them come in from the
...
appropriate include files.
2004-04-21 02:30:56 +00:00
matt
1e2af75b25
Constify the request arrays and define in _KERNEL.
2004-04-21 02:30:13 +00:00
christos
5ccca4a99a
s/statvfs/statvfs1/
2004-04-21 02:27:34 +00:00
christos
baf95c5d08
use VFS_MAXFIDSZ
2004-04-21 02:22:49 +00:00
christos
4a16c676d7
Add a define for VFS_MAXFIDSIZE
2004-04-21 02:21:49 +00:00
christos
6bd1d6d4db
Replace the statfs() family of system calls with statvfs().
...
Retain binary compatibility.
2004-04-21 01:05:31 +00:00
matt
30e63c6236
export tcpstates for _KERNEL and remove tcp_usrreq.c's incorrect
...
declartion.
2004-04-20 22:54:31 +00:00
itojun
6a16706746
follow draft-ietf-tcpm-tcpsecure-00.txt 3.2 (B):
...
if SYN is coming and RCV.NXT == SEG.SEQ, then ACK with value - 1.
2004-04-20 19:49:15 +00:00
itojun
5da9234d88
remove duplicated #include. PR 25234
2004-04-20 17:12:03 +00:00
itojun
f2e796b13f
- respond to RST by ACK, as suggested in NISCC recommendation
...
- rate-limit ACKs against RSTs and SYNs
2004-04-20 16:52:12 +00:00
pk
a22adee52d
Default to not inlining __cpu_simple_lock().
...
- the locore version attempts to detect stuck locks
- not inlining saves about 60K on the kernel's text
2004-04-20 15:55:30 +00:00
yamt
c13fd66a5d
syscall_fancy/plain: add assertions to detect PHOLD leaks.
2004-04-20 12:00:02 +00:00
yamt
88005c19af
add '.L' prefixes to local labels.
2004-04-20 11:59:20 +00:00
yamt
aa514117d5
check_dirty: plug a PHOLD leak. from Greg Oster.
2004-04-20 11:52:17 +00:00
yamt
392d6f9af1
nfs_inactive: inactive the vp before doing sillyrename works.
...
vp can be reclaimed soon after it's unlocked.
2004-04-20 11:51:28 +00:00
darrenr
2466d2e86c
If we timeout waiting for data on the bpf device, allow data in the current
...
storage buffer (bd_sbuf) to indicate that there is data present.
2004-04-20 10:51:09 +00:00
pk
aa53aca844
Turn __CPU_SIMPLE_LOCK_INLINE into !__CPU_SIMPLE_LOCK_NOINLINE, so we don't
...
screw up user land.
2004-04-20 08:48:03 +00:00
pk
e2cab98f9e
Always provide the __cpu_simple_lock() entry point (for LKMs).
2004-04-20 08:38:41 +00:00
pk
ce78973db2
Provide a fast trap path for AST IPIs.
2004-04-20 08:36:46 +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
hannken
3a7080244e
Redo dk_start(). If di->di_diskstart() runs synchronous its biodone() will
...
call dk_start() via dk_iodone() before the buffer gets removed from queue.
Approved by: Roland Dowdeswell <elric@netbsd.org>
Fixes PR #25240
2004-04-19 16:04:07 +00:00
pk
3097bbf440
pmap_extract4m: We can read a spurious invalid pte if the system is in
...
the middle of the PTE update protocol. So, if at first we get an invalid
PTE, retry with the demap lock held.
2004-04-19 15:20:42 +00:00
wiz
3f9411f688
Spell removable with only two es. Inspired by jmc@openbsd.
2004-04-19 12:44:09 +00:00
pk
2e643fb9ae
__cpu_simple_lock() isn't a pure function.
2004-04-19 12:41:53 +00:00
pk
a484ad4f3f
CMP_PTE_USER_READ4M: drop instruction that's effectively a no-op.
2004-04-19 10:01:41 +00:00
pk
fecb3b619b
Drop spurious variable.
2004-04-19 08:50:21 +00:00
jdolecek
9705c5db44
properly version the msdosfs mount structure after addition
...
of gmt time offset support (Hi Itojun!); adresses most important
part of PR kern/25226 by Todd Whitesel
2004-04-19 07:53:58 +00:00
matt
a87928f350
ANSI'fy, de-__P(), and constify some read-only data.
2004-04-19 05:16:45 +00:00
christos
ed95f3e980
Charge root for socket buffers without a socket pointer.
2004-04-19 03:44:46 +00:00
dmcmahill
888e67edcc
Fix the sysinfo(SI_HW_SERIAL, emulation so that we actually get the
...
hostid of the machine rather than always getting "0". Tested with
hostid(1) from solaris-2.8 and with lmhostid (part of FlexLM) for solaris.
Approved by atatat@.
2004-04-19 02:55:40 +00:00
lukem
fad77af2ac
Add "vfs.generic.fstypes" sysctl, which contains a space separate
...
list of file system types currently supported by the kernel.
Previously there wasn't an easy way to determine this.
(Code shamelessly cribbed from subr_disk.c::sysctl_hw_disknames().)
Use LIST_FOREACH() appropriately.
2004-04-19 00:15:55 +00:00
matt
b0e01dddf8
ANSI'fy and de-__P
2004-04-19 00:10:48 +00:00
matt
5060b3b780
ANSI'fy and de __P
2004-04-18 23:35:56 +00:00
matt
58011725c3
Use M_ZERO appropriately.
2004-04-18 23:33:58 +00:00