Commit Graph

93639 Commits

Author SHA1 Message Date
sam
fb194d508d add missing unlock when in_pcballoc returns an error 2003-08-19 17:11:46 +00:00
sam
f002fc1bb1 use ETHER_IS_MULTICAST instead of explicit check 2003-08-19 17:04:13 +00:00
sam
f8075fb80b "short cable" fix for DP8315
Derived from:	netbsd and tech note at soekris web site
MFC after:	1 week
2003-08-19 16:57:00 +00:00
sam
923b177486 correct typo in comment 2003-08-19 16:41:12 +00:00
bmah
510c7bd0c1 New release note: WITH_DYNAMICROOT.
Modified release note:  Fix up some typos and improve markup in
rescue(8) note.
2003-08-19 16:03:01 +00:00
bmah
e29bbbe0d1 Add a bit of text saying that mentions of specific devices are
gradually going away.
2003-08-19 15:34:06 +00:00
cognet
6404cf2aa0 Use bus_child_present() to make sure the card is still there before calling
epstop() in ep_detach().
This fixes a freeze that happens when ejecting a ep(4) pcmcia card.
2003-08-19 14:06:42 +00:00
ps
dce9639a86 Don't tsleep on NULL 2003-08-19 12:22:17 +00:00
des
a1cad5ae8b Some servers respond to RETR in active mode with 125 (connection already
open) rather than 150 (opening connection).  There's no reason why we
shouldn't accept that.

PR:		misc/42172
MFC in:		3 days
2003-08-19 11:43:11 +00:00
des
fe9e1d3126 Add pfs_visible() checks to pfs_getattr() and pfs_getextattr(). This
also fixes pfs_access() since it relies on VOP_GETATTR() which will call
pfs_getattr().  This prevents jailed processes from discovering the
existence, start time and ownership of processes outside the jail.

PR:		kern/48156
2003-08-19 10:26:41 +00:00
simokawa
472beeeb6d Remove unused code. 2003-08-19 08:59:07 +00:00
simokawa
3f81cfafbe Drop too short packets. 2003-08-19 08:50:35 +00:00
simokawa
c05232c451 Allow to access phy registers via ioctl(). 2003-08-19 08:47:49 +00:00
davidxu
00e9963efb Support printing 64 bits pointer and long integer.
Reviewed by: deischen
2003-08-19 08:29:33 +00:00
gordon
7166b89595 Explicitly add libz and libcrypto to LDADD for any ssh utilities missing
it. While not strictly required, it unbreaks the cross-build world that
is resulting from moving the libraries around.

I have a more permanent solution to this problem in the works, but I
asked des for permission to commit this to get the ball rolling. This
also makes the ssh build more along the lines of what the openssh-portable
and OpenBSD openssh Makefile glue does.

Reviewed by:	des
2003-08-19 07:45:03 +00:00
murray
eba4ad609e Fix typo. It's 'bsdiff' not 'bsddiff'. 2003-08-19 05:48:08 +00:00
murray
07474b27e4 Add misc/bsdiff and security/freebsd-update to the list of desired
packages for disc #1.  These two packages take a combined total of
37kb of space so I think there should be room.
2003-08-19 05:45:49 +00:00
bmah
1b6ebabb7b Whitespace cleanup of previous bt(4) commit. No content changes. 2003-08-19 05:21:25 +00:00
bmah
b5e5df6ad2 Trim bt(4) devices and consolidate. 2003-08-19 05:19:50 +00:00
bmah
48fe4295ac Move all the asr(4) entries together, no other content changes. These
should be consolidated.
2003-08-19 05:12:25 +00:00
bmah
1b63853185 Trim asr(4) device list; readers can get this from the manpage now
that it's up-to-date.
2003-08-19 05:08:21 +00:00
bmah
a943c9b965 Catch up dpt(4) manpage with Hardware Notes (and RELENG_4 manpage?!?).
PR:		55530
Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
2003-08-19 04:37:54 +00:00
gad
b21b4520ed When checking the 'user:group' field in newsyslog.conf, freebsd's source
was mistakenly calling the standard isnumber() function to find out if
the given 'user' or 'group' were all numeric.  This meant that only the
first character of the fields were actually checked, so a username of
(say) '3com' would look like a number, and thus get mapped to uid=3 (bin)
instead of username=3com.

This bug was introduced back in freebsd's v1.1.  That initial import
almost matches netbsd's v1.9, except that an internal isnumber()
routine was removed in favor of the standard library version.  The thing
is, that internal routine was checking the entire string, and not just
the first digit.  In OpenBSD, isnumber() was eventually renamed to
isnumberstr() to make the distinction more obvious, and I'm going to
follow that lead.

I believe this also happens to remove the last references to isnumber()
in the entire freebsd base system.

Obtained from:	OpenBSD, by a long circuitous route
MFC after:	5 days
2003-08-19 03:53:03 +00:00
kuriyama
19b67cf857 Quote $jail_exec with double-quote to avoid "[: unexpected operator". 2003-08-19 03:49:30 +00:00
bmah
d1e2c3ea0c Catch up asr(4) with hardware notes.
PR:		55531
Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
2003-08-19 03:40:05 +00:00
davidxu
0e9eb96aee Save and restore errno around sigprocmask. 2003-08-19 03:33:51 +00:00
anholt
55fc74037c Update DRM from DRI CVS as of today. Notable changes include Radeon
suspend/resume support and Rage 128 pageflipping support (both of which require
XFree86 from CVS), along with miscellaneous cleanups.
2003-08-19 02:57:31 +00:00
takawata
f9627255ee Update my mail address on copyright notice.
Noticed by: njl
2003-08-19 01:54:34 +00:00
cg
536bf4b18e handle locking when creating or destroying vchans better 2003-08-18 23:20:39 +00:00
cg
a298a7e5b7 try to make really sshort sounds actually play 2003-08-18 23:18:47 +00:00
imp
6e857b8209 The CD bits in the CBB_SOCKET_STATE register are 0 when the card is
present, and non-zero when it is (or may be) absent.  The test
cbb_child_present was backwards.  However, typical usage in the tree
would cause it to do the right thing because the card really wasn't
there the OK flag would be turned on.

Also, assume that if any of these bits are turned on we don't have a
card, rather than requiring both of them in the suspend/resume
routines.

Noticed by: cognet
2003-08-18 21:59:24 +00:00
phk
3ec6a9ddab Replace a homegrown bdone()/bwait() implementation by the real thing 2003-08-18 19:47:16 +00:00
jhb
ed04867a82 Spell the name of the lock right in addition to getting the type right.
Submitted by:	Kim Culhan <kimc@w8hd.org>
2003-08-18 19:23:01 +00:00
jhb
97d2d15dc7 The allproc lock is a sx lock, not a mutex, so fix the assertion. This
asserts that the sx lock is held, but does not specify if the lock is held
shared or exclusive, thus either type of lock satisfies the assertion.
2003-08-18 18:02:33 +00:00
alc
1b98e56063 The previous change necessitates the addition of a new #include. Otherwise,
there is a compilation warning.
2003-08-18 17:27:08 +00:00
jhb
65b4c69d6e Add missing header include for MSR macros.
Submitted by:	bde
2003-08-18 17:01:04 +00:00
ume
2e9f7d6151 rtm_seq is int, so seq/myseq should be int.
Obtained from:	KAME
MFC after:	1 week
2003-08-18 16:20:30 +00:00
ume
a6ee67e215 suppress outpt on dump request if -q is specified.
Obtained from:	KAME
MFC after:	1 week
2003-08-18 16:15:30 +00:00
ume
d4335be73f atoi -> strtoul
Obtained from:	KAME
MFC after:	1 week
2003-08-18 16:09:59 +00:00
ume
9772e1f2d8 - port numbers are unsigned. use %u.
- %d is not 10 chars, but 12 chars.

Obtained from:	KAME
MFC after:	1 week
2003-08-18 15:58:23 +00:00
ume
55adf4bf8c explicitly specify IPPROTO_UDP when calling getaddrinfo().
Obtained from:	KAME
MFC after:	1 week
2003-08-18 15:54:08 +00:00
ume
ba2bc5b908 remove a variable that is never used.
Obtained from:	KAME
MFC after:	1 week
2003-08-18 15:47:17 +00:00
ume
305bef8b9a support poll(2).
Obtained from:	KAME
MFC after:	1 week
2003-08-18 15:35:33 +00:00
obrien
3dfab70e23 style.Makefile(5) 2003-08-18 15:35:18 +00:00
obrien
16baaa7b8b include <bsd.own.mk> to get BIN{OWN,GRP} 2003-08-18 15:33:08 +00:00
obrien
cdb774c40a Restore vendor ID's.
Requested by:	bde
2003-08-18 15:32:16 +00:00
bms
6769fa6bd8 Add the manual page for the sab(4) driver. Driver code was originally
obtained from NetBSD. This is the OpenBSD version of the manual page with
a few fixes.

Approved by:	jake (mentor)
Obtained from:	OpenBSD
2003-08-18 15:32:02 +00:00
obrien
372364ee0f style.Makefile(5) 2003-08-18 15:25:39 +00:00
ume
341fe0fadc - don't select with FD_SETSIZE.
- avoid fd_set overrun.

Obtained from:	KAME
MFC after:	1 week
2003-08-18 15:24:32 +00:00
des
6169ee96f2 Rework pfs_iterate() a bit to eliminate a bug related to process
directories.  Previously, pfs_iterate() would return -1 when it
reached the end of the process list while processing a process
directory node, even if the parent directory contained further nodes
(which is the case for the linprocfs root directory, where the process
directory node is actually first in the list).  With this patch,
pfs_iterate() will continue to traverse the parent directory's node
list after exhausting the process list (as was the intention all
along).  The code should hopefully be easier to read as well.

While I'm here, have pfs_iterate() assert that the allproc lock is
held.
2003-08-18 13:36:09 +00:00