1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00
Commit Graph

106072 Commits

Author SHA1 Message Date
jmc
db7d6ff80a - punctuate and order the tokens list, to stop it looking scrappy
- it doesn;t make sense to list esm(4) in SEE ALSO
2008-03-14 15:23:49 +00:00
reyk
af9bb98fed add a new ber function ber_add_astring() that strdups the string and
sets the be_free flag (which is required in some cases).  this will
make it easier because it is done manually at some places in the code.

discussed with dlg
2008-03-14 15:22:22 +00:00
sthen
b9314721c9 xref cdcef(4). ok mbalmer, jmc 2008-03-14 15:19:52 +00:00
jmc
0b3a6f241a IP_MAX_MEMBERSHIPS was bumped to 4095 in -r1.74; from Matthew Dempsky 2008-03-14 15:16:06 +00:00
brad
b575845a20 Do not allow pppoe(4) interfaces to be attached to anything but Ethernet
or VLAN interfaces.

Based on a similar change from NetBSD.

ok canacar@
2008-03-14 02:56:26 +00:00
ckuethe
3e90544b1e Add a "%l" token to signal whether a sensor value is in or out of bounds,
without regard for the specific value. It's a big heavy binary hammer...
ok & style feedback from cnst
2008-03-14 00:06:18 +00:00
kettenis
9ac1798bb9 Make this catch up with some changed structs. Fix indentation while I'm there. 2008-03-13 23:29:46 +00:00
brad
587b290fb1 Do not increment the input packet counter in these drivers as
ieee80211_input() already does this.

Mentioned by Peter Philipp in PR 5248.

ok claudio@ mglocker@
2008-03-13 23:07:28 +00:00
kettenis
b02649ba26 Add prtc(4). 2008-03-13 23:06:19 +00:00
kettenis
62ab431f5c Attach prtc(4) if no (hardware) real-time clock was found. 2008-03-13 23:03:02 +00:00
kettenis
7048dcccdd prtc(4) 2008-03-13 23:01:08 +00:00
kettenis
826ecbf3c9 Add prtc(4). 2008-03-13 22:46:58 +00:00
kettenis
4e0ed43d18 First shot at a driver to get the time-of-day on the e10k. 2008-03-13 22:46:16 +00:00
ckuethe
a3ec7993db document the just-committed %s token.
ok mbalmer
2008-03-13 21:29:51 +00:00
ckuethe
59d0bf4aaf Allow a program invoked on state change to receive sensor status. Perhaps
you might want to toggle an error light when a sensor is not OK. Perhaps
you might want to schedule a shutdown if a sensor is reporting bad news.
Now you can do this, and cancel that pending shutdown (or turn off the error
light) if the sensor decides all is well.

ok mbalmer (who came up with an almost identical diff months ago)
useful feedback and generally positive responses from deraadt, henning, msf
2008-03-13 21:24:45 +00:00
kettenis
f25b4df810 Remove code to set mmu context to 0. It should already be set to 0 at that
point; this code is probably a leftover from some code that tried to find
out the number of available context dynamically.

tested by ckuethe@, jsg@, sthen@
2008-03-13 20:37:46 +00:00
sthen
c12bb08042 when a file was locally removed and a diff was done against
an opencvs server (with either gnu or opencvs as the client),
no actual diff output was produced. traced to the typo fixed
in this diff.

ok joris
2008-03-13 19:54:34 +00:00
kurt
d110c1db53 Add __data_start symbol to all ELF archs to consistently mark the beginning
of the writable sections. This is useful for garbage collectors such as
boehm-gc to locate these sections in a uniform way.
input and okay drahn@, miod@
2008-03-13 19:40:56 +00:00
joris
fbbb8b44cc use RCS_PARSE_FULLY for CVS_OP_ADMIN as well. 2008-03-13 17:06:09 +00:00
joris
44b1b14f3f properly initialize variables 2008-03-13 17:01:25 +00:00
thib
95d3793a9f make sure we start 4 servers on udp if called with
no arguments, like the man page promises.

ok deraadt@, blambert@

From tcuji@pwns.ms
2008-03-13 16:16:42 +00:00
mbalmer
d247ef039a when attaching a cdce(4) device that does not have a proper mac address,
use the tv_usec part of a getmicrotime(9) call instead of 'int ticks' to
create a mac address.  as ticks is 0 during boot, this resulted in both ends
of a USB link cable to have the same mac address.

problem found/diff tested winiger, feedback/ok deraadt
2008-03-13 08:32:02 +00:00
deraadt
0827ab6193 Correct CMSG_SPACE and CMSG_LEN usage everywhere in the tree. Due to
an extensive discussion with otto, kettenis, millert, and hshoexer
2008-03-13 01:49:52 +00:00
sobrado
e0faf1869e "usage:" should precede the first statement only
ok jmc@
2008-03-12 23:18:59 +00:00
kettenis
a41506b66a Introduce a per-handler interrupt acknowledgement function. 2008-03-12 20:52:36 +00:00
ratchov
8e7e680104 Set the default high water mark to the buffer size, instead of the buffer
size minus one block. Otherwise, recording cannot work with 32kB blocks.

ok jakemsr@
2008-03-12 20:33:13 +00:00
ratchov
274207f35b suggest tweaking the "usb descriptor" switch (if any) if the device attaches
as ugen(4) rather than umidi(4).

from jmc@ and jakemsr@
2008-03-12 20:25:17 +00:00
reyk
5388d4b7b0 remove noisy warning message
ok claudio@
2008-03-12 17:48:27 +00:00
reyk
8c2e6d0131 fix a memleak in the ber_read_elements() error case.
ok claudio@
2008-03-12 17:41:38 +00:00
canacar
8d5ba1287c Include relay-sid in the response if one was received.
Reported and tested by Zach Wilkinson
ok brad@, claudio@
2008-03-12 17:27:03 +00:00
brad
8756e1be24 Set the RX FIFO threshold to no RX threshold for re(4) adapters.
This resolves a number of various bad symptoms experienced by
numerous users especially with the adapters at Gig speed.

Tested by quite a few users.

From FreeBSD/NetBSD

ok deraadt@
2008-03-12 16:26:45 +00:00
claudio
46f4a1b430 Check that the current ber element is a sequence or a set when '{' or '('
is used.
OK reyk@
2008-03-12 14:30:11 +00:00
reyk
3ddacb7b4b mostly stylistic - always print the client host name in snmpe error
messages and make sure that the host string is initialized.
2008-03-12 14:11:52 +00:00
joris
668bb09dfd missing rcsnum_free();
from Igor Zinovik
2008-03-12 13:54:49 +00:00
hugh
b215a882fd Code was not passing script exit status; fix with macro.
deraadt@ OK
2008-03-12 13:31:22 +00:00
claudio
c4fa2e61b8 if (class != BER_CLASS_UNIVERSAL || type != BER_TYPE_SEQUENCE)
not
if (class != BER_CLASS_UNIVERSAL && type != BER_TYPE_SEQUENCE)
the class and type need to be of correct.
OK reyk@
2008-03-12 13:12:42 +00:00
claudio
104fc24681 SNMP has a restricted BER encoding especially all encodings use the
definite-length from. So bail out with an error if this is not the case.
OK cloder@, reyk@
cvs: ----------------------------------------------------------------------
2008-03-12 13:09:12 +00:00
claudio
35e3a642bc Return an error if more data is requested even though the buffer is empty.
Fixes an infinite loop seen by cloder@. OK cloder@, reyk@
2008-03-12 13:06:09 +00:00
brad
b207a83042 Fix comment typo, of -> if.
ok sthen@
2008-03-12 11:32:17 +00:00
pyr
a6c98aef8b nuke unused variable. 2008-03-12 10:50:44 +00:00
deraadt
ff36b2c8c1 use muldi3.c to avoid putting instructions 68060 does not support into the
boot media; from miod, tested by martin, this is just making release.
2008-03-11 20:07:53 +00:00
jmc
ff35006647 EXAMPLES:
- actually say what the example does
- use a display instead of .Dl, so we don;t have to escape everything
- use a prompt and indicate line break
- use "echo" instead of "printf", so we don;t need to specify newline

additionally, use .Ex whilst in here;

ok otto
2008-03-11 16:50:05 +00:00
espie
91c7e68419 oops 2008-03-11 08:46:14 +00:00
espie
ce04b5fad6 turn on keepalive by default (one byte every 60 seconds)
okay beck@, deraadt@, krw@
2008-03-10 22:56:43 +00:00
miod
6ad58fd814 Minor tweaks, including behind-the-scenes fixes. 2008-03-10 22:00:12 +00:00
miod
508ba6716c No more 80386 support, and you really don't want to try and install the
system unless you have over 16MB of RAM. Here's a nickel kid, get yourself a
better computer.
2008-03-10 21:45:44 +00:00
miod
71e03f14d2 Mention 16MB of memory is necessary now. 2008-03-10 21:41:26 +00:00
miod
bde736628b Suggest vt220 as a TERM value for serial-console-in-an-xterm setup everywhere
instead of a mix of vt100 and vt220.
2008-03-10 21:38:27 +00:00
miod
a3056eaa6d Layout tweaks. 2008-03-10 21:34:14 +00:00
miod
18aa05b394 Tweak dhcpd configuration to please old DEC 3000 SRM; reported by
Maurice Janssen, thanks!
2008-03-10 21:27:33 +00:00