Age | Commit message (Collapse) | Author |
|
|
|
|
|
1k block when we're supposed to.
fix from tyr@poczta.fm in pr 6609
ok otto@
|
|
i386. Stop abusing it on other archs for controling a shutdown by
pressing the soft power button:
* Add a MI sysctl hw.allowpowerdown; if set to 1 (the default) it
allows a power button shutdown.
* Make acpi(4)/acpibtn(4) honor hw.allowpowerdown.
* Switch the various power button intercepts on landisk, sgi, sparc64
and zaurus over to hw.allowpowerdown.
* Garbage collect the machdep.kbdreset sysctl on all archs other than
amd64 and i386.
ok miod@
|
|
discussed with lots of people, tested by naddy@,
"move fast" deraadt@
|
|
the standard OpenBSD-style parse.y handle continuing lines with backslashes,
paying particular attention to how comments are handled (which can cause
nasty side-effects if you're not expecting it).
Most wording from jmc@, with suggestions from fgsch@, marc@, Richard Toohey,
patrick keshishian and Florian Obser, ok jmc@.
|
|
|
|
And files can be smaller (e.g. 512 bytes like /usr/mdec/mbr) than
a disk sector (e.g. 4096 bytes on pirofti's external disk drive).
So relax the length test on the read() result to < DEV_BSIZE (the
amount of data we actually want) instead of < secsize (the minimum
size that read() will accept).
'fdisk -e' and 'fdisk -i' now work on devices with sector sizes
greater than DEV_BSIZE.
|
|
it skips leading zeroes if there are any. To accommodate the
difference with the protocol we need to prepend those zeroes
ourselves.
Fixes PR 6601, tested by Pawel Wieleba, sthen, otto.
Huge thanks to Pawel for spending nearly a week testing diffs.
ok sthen
|
|
|
|
ok sthen
|
|
found in my tree, obviously forgotten to commit at some point...
|
|
ok dcoppa@ otto@
also reviewed by Vadim Zhukov
|
|
'N' command line options.
ok matthew@
|
|
info from the physical disk after 'disklabel -e' writes the label
to disk. Saves having to reboot or do other contortions to initialize
these fields. Toss in same treatment for total sectors so all fields
forcibly set by kernel have current values.
0'ing of the bounds noted by matthew@.
'lovely' deraadt@
|
|
|
|
already checks that families of source and destination addresses match
and that's all we need.
This allows "ifconfig foo tunnel 1::1 2::2" syntax rather than requiring
"ifconfig foo inet6 tunnel 1::1 2::2", which in turn allows hostname.if
files to create an IPv4-in-IPv6 tunnel without games with shell escapes.
ok dcoppa@, seems ok todd@, "Yes, yes and yes" claudio@
|
|
|
|
Useful for mount_mfs, now you can just say:
# mount_mfs -s 50m swap /tmp
And it will do what you want, taking into account sector size.
Old behaviour of -s (specifying count of sectors) is, of course,
preserved.
All the work was done by Vadim Zhukov (persgray(at)gmail com).
OK myself, otto@, thib@
|
|
|
|
bit too small. ok krw@
|
|
|
|
sysctl net.inet.tcp.baddynamic=1-32768
sysctl net.inet.udp.baddynamic=+40000-65535
ok mk@
|
|
partitions); ok krw@
|
|
|
|
|
|
in auto-allocated labels. ok krw@ sthen@
|
|
|
|
always starting DHCP packet options with DHO_DHCP_MESSAGE_TYPE. Now
DHCP-specific options always come after the option identifying the
packet as DHCP rather than BOOTP. Makes at least Nortel NetIP DHCP
server happier. Clean up some code and parameter passing.
Closes PR#6543, as confirmed by original submitter and patch
tester Len Zaifman. Thanks!
ok matthew@ (who hates the ISC-like code)
|
|
- Explain single user mode once, not three times.
- Do not claim that the boot program talked to init; it cannot do so.
- Mention that the OpenBSD kernel does not support init -f.
- And some minor rewordings and reorderings.
Feedback and ok jmc@.
|
|
|
|
proc.c. this is the first sync to what i did for relayd but does not include
the multi-instance handling - so no functional change.
|
|
|
|
ok sthen henning
|
|
|
|
|
|
This removes iked-specific stuff from proc.c.
|
|
|
|
grok DUIDs
now commands such as:
# atactl b9b455bd99e393cd
work as expected (while everything else that used to work still does).
ok sthen@
|
|
ok krw@ otto@
|
|
tree that is used to figure out whether the policy is active or
not. makes active sa lookup via policy work for nat traversal.
problem was reported and fix was tested by sthen, ok sthen, reyk
|
|
-E rather than -e as it's more likely;
ok krw
|
|
|
|
|
|
previously they operated on the default route. reported by weerd@, ok claudio@
|
|
objection form the usual suspects
|
|
has changed to conform with modern groff releases.
diff for route6d(8) written mostly by schwarze@, with lots of useful
advice from jmc@.
ok jmc@, schwarze@
|
|
ok sthen@ markus@
|
|
ok robert@ jmc@
|
|
in disklabel(8)
pointed out by jmc@
|