Commit Graph

77973 Commits

Author SHA1 Message Date
ru
03bc0c0dd2 Don't forget to recalculate the IP checksum of the original
IP datagram embedded into ICMP error message.

Spotted by:	tcpdump 3.7.1 (-vvv)
MFC after:	3 days
2002-07-23 00:16:19 +00:00
fenner
4365e1e549 Add an ICMP protocol handler, partly based on LBL's traceroute 1.4 .
Submitted by:	dcs
2002-07-22 23:01:11 +00:00
ru
6538b2d275 Don't shrink socket buffers in tcp_mss(), application might have already
configured them with setsockopt(SO_*BUF), for RFC1323's scaled windows.

PR:		kern/11966
MFC after:	1 week
2002-07-22 22:31:09 +00:00
fenner
a450530c5b Actually use gen_prep() and gen_check(), instead of udp_prep() and
udp_check(), for unknown protocols.
2002-07-22 22:07:23 +00:00
trhodes
81853892a1 Revert last commit. Sorry for breaking things 2002-07-22 21:45:16 +00:00
imp
d865858a42 integrate from p4 repo:
o Honor NE2000DVF_{AX88190,DL10019} flags by setting the ED_FLAGS_xxxx
  flag.
o Mark linksys combo_ecard as ax88190
o Set the type_str to AX88190 for the ax88190 cards.

This fixes ax88190 based cards, for the most part, but doesn't seem to fix
the mii based dl10019 cards (aka linksys cards).
2002-07-22 21:28:46 +00:00
imp
e8ee5a2165 Three minor changes:
1) Add support for compaq cpq 10/100 card (a rebadged ce3)
2) Minor protection for failure on vendor lookup
3) Minor style(9) nits.
2002-07-22 21:24:12 +00:00
trhodes
8923708aef MFC: Fix some grammar, greater reduce diffs to HEAD 2002-07-22 21:14:16 +00:00
alfred
7ea3989480 Remove unneeded caddr_t casts. 2002-07-22 19:05:44 +00:00
sos
369e90242d Fix the transfer size calculation. 2002-07-22 18:37:33 +00:00
sos
dad9034b6d Sync with the spl changes in -stable.
Add start of support for DVD+RW.
2002-07-22 18:36:14 +00:00
sos
ccec33e10a Update the tags handling a bit, which makes support for the
older IBM DTTA series of drives possible.
Update error handling a bit now we are here.
2002-07-22 18:35:01 +00:00
alfred
fe2abc2950 Cleanup:
Define a debug printf macro rather than wrapping all calls to printf
with #ifdefs.
2002-07-22 18:27:54 +00:00
ume
20deed0b26 use IPV6_V6ONLY instead of non standard IPV6_BINDV6ONLY.
Approved by:	gad
2002-07-22 18:16:05 +00:00
ume
2889fe0323 add -4 and -6 option to be able to specify an address family.
Requested by:	matusita
MFC after:	1 week
2002-07-22 17:19:54 +00:00
ru
a30f560e0b This commit was generated by cvs2svn to compensate for changes in r100519,
which included commits to RCS files with non-trunk default branches.
2002-07-22 17:06:28 +00:00
ru
efc8aa7e80 Update for GNU texinfo 4.2. 2002-07-22 16:58:54 +00:00
ru
9c9826aa78 Merge texinfo 4.2 changes onto the trunk. 2002-07-22 16:55:14 +00:00
ru
ea95efe06e Use stock (FSF) version of this file. 2002-07-22 16:54:53 +00:00
ru
584fd95dac This commit was generated by cvs2svn to compensate for changes in r100513,
which included commits to RCS files with non-trunk default branches.
2002-07-22 16:52:57 +00:00
ru
37876dd030 Import of stripped down GNU texinfo 4.2 2002-07-22 16:52:57 +00:00
alfred
dfcc979a19 Change struct vmspace->vm_shm from void * to struct shmmap_state *, this
removes the need for casts in several cases.
2002-07-22 16:22:27 +00:00
alfred
44a050aa84 Remove caddr_t. 2002-07-22 16:12:55 +00:00
des
91003b4607 Surround prototypes with __BEGIN_DECLS / __END_DECLS.
PR:		misc/40399
MFC after:	3 days
2002-07-22 16:11:39 +00:00
ume
3f03dee4d9 sync comment with reality. IN6P_BINDV6ONLY -> IN6P_IPV6_V6ONLY. 2002-07-22 15:55:50 +00:00
ume
87ba176650 do not refer to IN6P_BINDV6ONLY anymore.
Obtained from:	KAME
MFC after:	1 week
2002-07-22 15:51:02 +00:00
alfred
b492a1e056 remove caddr_t from fo_ioctl calls 2002-07-22 15:46:51 +00:00
alfred
b825befde2 remove caddr_t 2002-07-22 15:44:27 +00:00
ume
437f62d13a use IPV6_V6ONLY instead of non standard IPV6_BINDV6ONLY.
MFC after:	1 week
2002-07-22 15:22:53 +00:00
ume
383ee41b70 sin6_len is not an address family. I believe this doesn't
break compatibility with POSIX.1-2001.
2002-07-22 15:13:55 +00:00
robert
74324d433e - Remove unnecessary break statement.
- Move a label to a syntactically correct place to keep
   gcc from warning.
2002-07-22 15:01:04 +00:00
kan
7a80d3ddac Initialize sockbits variable with FD_ZERO, to avoid passing a fd_set
with random garbage in lower bits corresponding to stdin, stdout and
stderr to select(2).

This fixes the problem with nfsd sometimes getting stuck in a tight
select(2) loop eating 100% CPU time.

Reviewed by:	iedowse
Approved by:	obrien
2002-07-22 14:01:44 +00:00
fanf
99c82e7451 Fix typo: corrisponds -> corresponds 2002-07-22 13:58:58 +00:00
iwasaki
88d2cd6ec1 Add device(power/sleep button and lid) wake function from sleeping state.
This is required for some Thinkpad (and maybe VAIO) machines to wake
the system up from sleep.

Currently partially implemented, more complete implementation will come later.
2002-07-22 12:52:54 +00:00
rwatson
ede003e45e Set VAPPEND in open mode when O_APPEND is specified as an argument to
open() of fhopen().  Currently this has no actual affect due to the
treatment of VAPPEND in vaccess() and vaccess_acl() as a subset of
VWRITE, but when MAC comes in, MAC will distinguish the two.  Note:
if any file systems are cutting their own permission models, they
may wish to now take this into account.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-07-22 12:51:06 +00:00
robert
f5261a559f - Use MAXLOGNAME - 1 rather than UT_NAMESIZE.
- Remove the inclusion of <utmp.h>.
2002-07-22 11:36:25 +00:00
robert
d1ac4a2ae3 - Use MAXLOGNAME - 1 instead of UT_NAMESIZE.
- Do not pretend there is something like '/etc/utmp'.
2002-07-22 11:32:16 +00:00
ru
19c3d6304c s,/usr/include,${INCLUDEDIR}, 2002-07-22 10:59:22 +00:00
bp
553f6f8b14 This commit was generated by cvs2svn to compensate for changes in r100490,
which included commits to RCS files with non-trunk default branches.
2002-07-22 09:50:09 +00:00
bp
558db90d74 Import smbfs 1.4.5. This release intended to fix problem with iconv
library.

MFC after:	1 week
2002-07-22 09:50:09 +00:00
truckman
14a1516637 Pre-wire the output buffer so that sysctl_kern_function_list() doesn't
block in SYSCTL_OUT() while holding a lock.
2002-07-22 08:28:09 +00:00
truckman
e0605321e8 Provide a way for sysctl handlers to pre-wire their output buffer before
they grab a lock so that they don't block in SYSCTL_OUT() with the lock
being held.
2002-07-22 08:25:37 +00:00
yar
56933d610d Fix one RFC 959 incompliance:
Double double-quotes in a PWD result
if they appear in the directory pathname.

PR:		misc/18365
MFC after:	1 week
2002-07-22 07:41:14 +00:00
imp
b9278e00ea Copy cis strings into the kernel. 2002-07-22 06:58:24 +00:00
imp
cf6816af27 Copy manufacturer and version string into the kernel, and copy it to
the slot info.  This brings OLDCARD's API much closer to NEWCARD and
will allow moving more information into the kernel from pccard.conf
for common drivers (ed).
2002-07-22 06:46:10 +00:00
tjr
c615f2a3a3 Don't allow "||" or "&&" to be the first tokens of a command.
PR:		40386
MFC after:	2 weeks
2002-07-22 05:50:12 +00:00
tjr
3399bda284 Correct syntax error, remove the unescaped newline between "||" and the
command it is intended to test. pdksh and bash caught this syntax error,
sh(1) did not behave as intended.

PR:		40386
2002-07-22 05:35:59 +00:00
rwatson
7efdd07845 Teach discretionary access control methods for files about VAPPEND
and VALLPERM.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-07-22 03:57:07 +00:00
rwatson
9a941faa96 Add VALLPERM, which is a mask of all the access control request permission
bits for vnodes passed to vaccess() and friends.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-07-22 03:51:09 +00:00
rwatson
c0b43516a8 Sort vnode access mode flags.
Add flags VSTAT, VAPPEND required for TrustedBSD.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-07-22 03:45:33 +00:00