Commit Graph

134876 Commits

Author SHA1 Message Date
atatat
529b14ddf5 Add kern.file2. As kern.proc2 is to kern.proc, so is kern.file2 to
kern.file, namely a 32/64 bit clean sysctl interface to the same data.
It also borrows a few things from struct vnode (if applicable) and
from struct proc, just to tie things together a bit more.

You can walk this list "by file" or "by pid".  The former method is
similar to kern.file but omits the filehead, and the latter can give
you duplicates if multiple processes have the same struct file open,
but tells you which process it is.
2005-03-09 05:02:17 +00:00
atatat
76a9013c25 gc the tcp_sysctl() prototype since it's completely vestigial 2005-03-09 04:51:56 +00:00
simonb
e491fee6a5 s/quence/quench/. 2005-03-09 04:24:12 +00:00
simonb
3792275475 Add an extra `i' to notifes/notifed. 2005-03-09 04:23:33 +00:00
matt
47df382bfe Move all the hardware-assisted checksum/segment offload code together. 2005-03-09 03:39:27 +00:00
matt
ea3d151322 For AF_INET, always set m->m_pkthdr.csum_data. Don't or TSOv4, just set it. 2005-03-09 03:38:33 +00:00
christos
192c2eccf6 Add -lcrypt where -lcrypto is specified. 2005-03-09 03:11:22 +00:00
ginsbach
25e3a7ec6d - Support -4 and -6. Approved by christos. 2005-03-09 03:11:21 +00:00
christos
ceb0805a9b Add -lcrypt where -lcrypto is specified. 2005-03-09 03:11:21 +00:00
christos
1c7109cbce - ansi
- better error detection
- avoid overflow
- WARNS=3
2005-03-09 02:02:07 +00:00
lukem
1e6ef7af3f remove unnecessary (and possibly incorrect for non-ELF) duplicate LIBDPLIBS 2005-03-09 01:55:51 +00:00
christos
6e543b15c0 Add the binding keyword. 2005-03-09 00:11:31 +00:00
uwe
1fc105ea83 db_stackcheck_cmd: catch up with proc => lwp changes.
This is just a quick fix to make KSTACK_DEBUG kernels compilable.
Formatting needs improvment (group lwps from one process together, etc).
PR port-sh3/29621
2005-03-08 22:04:22 +00:00
uwe
b6c480ab6a KNF: use "continue" as explicit empty loop body. 2005-03-08 21:05:47 +00:00
uwe
933cf58cd8 Use uint<N>_t instead of u_int<N>_t. 2005-03-08 20:54:58 +00:00
wrstuden
a758abc39e Adjust error case handling. If the VOP_LOOKUP() call unlocked the
parent directory node, remember that.

Addresses locking/lookup issues seen in:

http://mail-index.NetBSD.org/tech-kern/2004/06/20/0019.html
http://mail-index.netbsd.org/tech-kern/2005/01/08/0000.html
2005-03-08 17:29:29 +00:00
bsh
a7d17de7d6 delete unused stuff. 2005-03-08 16:51:44 +00:00
briggs
851c74e4ad Override SWITCH_TAKES_ARG() definition from sysv4.h to include
NetBSD options.  Allows powerpc-*-netbsd* to accept "-R <arg>"
when <arg> doesn't exist in the host environment (as all other
NetBSD/ELF platforms do).  As with MIPS and as before, accept
-G NUM, too.
The more portable way to pass arguments to the linker is, of course,
still -Wl,-R,/some/path (note that there are two commas).
2005-03-08 15:36:10 +00:00
christos
b4e68c8648 PR/29630: Takehiko NOZAKI: undefined symbols 'linux_ioctl_mtio'
in /usr/lkm/compat_linux.o
2005-03-08 15:26:23 +00:00
lukem
6394fabe1c postinstall -s etc.tgz 2005-03-08 14:12:07 +00:00
lukem
8286cd5e07 Deprecate etc_release check, since etc/release is now part of base.tgz.
Support '-s /path/to/etc.tgz' which extract the file to a scratch directory
and run the contained version of postinstall against that directory.
This saves about 5 tedious steps which I've done by hand when updating,
and the expense of some minor CPU time on each invocation of this method.

XXX: postinstall needs a man page.  pkill -HINTHINT wizd
2005-03-08 14:09:25 +00:00
yamt
a0f802e2ac tcp_sack_option: handle the case that the right-most sack'ed block is expanded.
a fix from Noritoshi Demizu (FreeBSD PR/78226) via Kentaro A. Kurahone.
2005-03-08 11:27:14 +00:00
wiz
34c1c241e2 Quote dot at beginning of line, otherwise it will be interpreted
as the start of a macro. From jmc@openbsd.
2005-03-08 10:53:34 +00:00
wiz
73a04ea9b5 Bump date for ICH6 support. 2005-03-08 10:50:09 +00:00
dsl
e3f3e5cc51 Change the wa ythe KB_xxx and KB_ENCTAB are defined so we have all the
data for a single keyboard on one line - including the long name and
default modifiers that sysinst needs.
2005-03-08 08:06:26 +00:00
kleink
76b2b4f5ac Fix a (harmless) typo in the definition of PF_RTIP;
from usa@garbagecollect.jp in PR kern/29624.
2005-03-08 07:43:14 +00:00
martin
cefddd30c8 Remove ${MACHINE} from the volume name of iso images - our new naming sheme
makes the field overflow even on archs where ${MACHINE} is pretty short.

Also rearange MKISOFS_FLAGS so that they default to -quiet unless the
user explicitly asks for -v. Add -hide-joliet-trans-tbl to get rid of
the TRANS.TBL files on modern OSs.
2005-03-08 07:39:30 +00:00
tshiozak
b115b9ec4f fix XDIGIT problem on several locales,
pointed by Joerg Sonnenberger on tech-userlevel@.
2005-03-08 06:35:13 +00:00
simonb
52c470b886 Tab Police. 2005-03-08 04:49:35 +00:00
christos
a2ee5dcfcc Avoid source routing ip options. Described in:
http://www.citi.umich.edu/u/provos/papers/secnet-spoof.txt
2005-03-08 04:35:19 +00:00
perseant
eefd94b8e2 Straighten out the maze of ifdefs. Instead, consolidate all the debugging
stuff under '#ifdef DEBUG', and use sysctl knobs to turn on/off particular
parts of the debugging reporting (if DEBUG is enabled).  Re-enable the LFS
statistics in sysctl, while I'm there.  A bit of a rototill.
2005-03-08 00:18:19 +00:00
martin
28b1934cb5 Make it compile for 32bit kernels. XXX - does OF realy return pointers to
64 bit entities here?
2005-03-07 22:10:14 +00:00
martin
672539b839 Make it compile for 32bit sparc kernels (bus_addr_t is larger than void*
there)
2005-03-07 21:45:24 +00:00
uwe
6a24c49df3 options SPACE TAB 2005-03-07 18:25:22 +00:00
jdc
8cb1b8908c Add `can backspace with ^H' (bs) entry to Eterm.
Fixes PR misc/29578 from Peter Bex.
2005-03-07 18:18:41 +00:00
hannken
4e0e09fd14 frpr_udpcommon() failed to handle fragmented packets. Packets with less than
8 bytes of data were dropped.

- If the packet is a fragment, return. There is no UDP header in this case.
- Don't set the FI_SHORT flag. Already tested in `frpr_short()'.
- Remove unneeded test `!fin->fin_off'.

Approved by: Christos Zoulas <christos@netbsd.org>
2005-03-07 13:59:30 +00:00
wiz
be7db22fff Bump date for previous. 2005-03-07 13:21:24 +00:00
tron
25833b0c61 Add ICH6 southbridge to list of support devices. 2005-03-07 11:27:29 +00:00
yamt
e55b9169d1 tcp_sack_option: fix the cases that some sack blocks go into a hole. 2005-03-07 10:27:39 +00:00
yamt
ff614e1114 tcp_sack_option: fix a typo(?), which can cause to ignore valid blocks. 2005-03-07 09:40:35 +00:00
yamt
ed8b840f26 tcp_sack_option: the max number of sack blocks in a packet is 4, not 3. 2005-03-07 09:32:51 +00:00
dsl
48a0480288 Initialise dfound outside loop so that 0 sized files compare correctly
and to that 'cmp -l' will exit with error is the last block matches.
Pointed out in a private mail bt someone who wishes to remain anonymous.
2005-03-07 07:51:42 +00:00
thorpej
690b6d996a Fix missing word in sentence. 2005-03-07 03:17:21 +00:00
thorpej
b311a52b06 Indent the example. 2005-03-07 03:11:01 +00:00
christos
35c70b36f3 .Bd needs display style. Thanks jason for the man page! 2005-03-07 02:44:33 +00:00
christos
17c0b722c8 Regen 2005-03-07 02:28:11 +00:00
christos
5af7360b1c PR/29614: Andrzej Kukula: Missing PCI IDs of ATI IXP 300 and 400 ATA controller 2005-03-07 02:27:17 +00:00
thorpej
7078187c0c Add a pam.conf(5) manual page. 2005-03-07 02:26:31 +00:00
agc
db4720ccb4 Clarify the "OS mismatch" message:
+ state that it is simply a warning
+ make it clearer what the mismatch is
2005-03-06 23:40:41 +00:00
yamt
e16a97f90b - unwrap short lines.
- remove unneeded parenthesis.
- whitespace.
2005-03-06 23:06:40 +00:00