summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-12Use poll(2) instead of select(2). A pointer to the struct pollfdTodd C. Miller
is embedded in each struct con so the descriptors can't get out of sync with the pfd[] array. OK deraadt@
2015-03-12automatic parent interface selection does not work anymore (see rev.Sebastian Benoit
1.245 of sys/netinet/ip_carp.c), carpdev is a required argument now. ok florian
2015-03-12Print the current link speed for SATA devices attached on ahci(4).Bryan Steele
The port numbers correspond to scsibus(4) targets: ahci0: port 0, at 6Gbps ahci0: port 2, at 3Gbps scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 .. sd1 at scsibus1 targ 2 .. ok deraadt@, tested by bmercer@
2015-03-12Set TERM if unset. Fixes some remote sysmerge usage by sthen@Antoine Jacoutot
ok sthen@
2015-03-12_PERFPOLICY can also be set to "high"; it's "auto" not "automatic"; and the ↵Jason McIntyre
variable itself has bearing on _SETPERF; many thanks to theo buehler who both supplied a diff and corrected various issues with my diff;
2015-03-12Escape ! characters for tab-completion, required for "set -o csh-history" users.Stuart Henderson
Tweak to maintain ascii ordering suggested by Simon Nicolussi. OK halex@
2015-03-12Only read time information from the received packet if it is bigFlorian Obser
enough. OK deraadt@
2015-03-12If an archive isn't a recognized type, then check whether it looksPhilip Guenther
like compress, gzip, bzip2, or xz output. If so then error out with a useful message directing the user to the correct option and error out instead of scanning forward for an embedded tar/cpio header. wording help from sobrado@ ok millert@ deraadt@
2015-03-12Delete cribbage logging. Was never enabled and no point in enabling it.Anthony J. Bentley
ok tedu@
2015-03-12Fix typo: nemb -> nmembLawrence Teo
From Ryan May.
2015-03-12Switch the netstat view of systat to use the same kvm_getfiles()Claudio Jeker
function similar to netstat(1). The output still shows the same info but may be a bit differently sorted. Also it will now show connections that are not UDP or TCP. This was the last bit of systat that needed kvm access and so now systat no longer needs to be setgid kmem. With this commit OpenBSD is officially setgid kmem free and an almost 10 year journey finally comes to an end. OK deraadt@
2015-03-12replace bcopy with memcpyDavid Gwynne
2015-03-12bump the size of the time types on the wire to 64bit, and use nsecDavid Gwynne
instead of usec so its easier to translate to/from timespecs instead of timevals. ok deraadt@ florian@
2015-03-11do not enter tcopy; spotted by teduTheo de Raadt
2015-03-11do not handcraft protos that already come from unistd.hTheo de Raadt
2015-03-11Convert to if_input().Martin Pieuchot
Tested and ok benno@
2015-03-11Convert to if_input(), tested by jasper@.Martin Pieuchot
2015-03-11Wrap long line. This is another airplane commit from an 747-8Reyk Floeter
somewhere over Siberia and I think I'm just getting into minor turbulences.
2015-03-11syncTheo de Raadt
2015-03-11tcopy goes to the atticTheo de Raadt
ok miod
2015-03-11Shuffle some code around to make it easier to read. Add get_rootinfo()Kenneth R Westerback
and shuffle some install specific code into install.sh. No intentional functional change. Update copyrights to 2015 while here. Tested & ok rpe@
2015-03-11document HW_PERFPOLICY; ok teduJason McIntyre
2015-03-11-s is not optional, sadly;Jason McIntyre
while here i've reformatted the page to stop kidding that -s is 4 options; original issue kind of spotted by adam thompson, though note i am not fixing the issue he complained about (i'll address that mail in a minute);
2015-03-11delay EVP_MD_CTX_init so we don't forget to clean it up.Ted Unangst
spotted by miod. ok miod.
2015-03-11syncTheo de Raadt
2015-03-11openprom, just like eeprom; ok miodTheo de Raadt
2015-03-11syncTheo de Raadt
2015-03-11eeprom(8) is only run by root now, so no need for kmem groupTheo de Raadt
ok miod
2015-03-11drop setgid kmem. If you want to play with eeprom, you generallyTheo de Raadt
need to be root ok miod
2015-03-11Convert to if_input(), tested by jasper@, thanks!Martin Pieuchot
2015-03-11Convert to if_input().Martin Pieuchot
Tested and ok armani@
2015-03-11adjust for removal of expr (and while here, sort all these lists, with theTheo de Raadt
goal of eventually refactoring them)
2015-03-11expr no longer needed on media, because the scripts always use ksh builtins.Theo de Raadt
halex, rpe, and todd cleared the way for this.
2015-03-11If this is going to use sync, it should use the sync + sleep idiom.Theo de Raadt
Yes, this is stupid, but MI installboot later will make the problem go away. Until then..
2015-03-11Remove setgid kmem support. As a result, -d and -v will require you toTheo de Raadt
run this as root. ok millert, also discussed with guenther
2015-03-11'rc.firstime' -> 'rc.firsttime' in comment.Kenneth R Westerback
Diff from Navan Carson via tech@
2015-03-11When interpreting the -O argument as a macro name fails,Ingo Schwarze
fall back to showing Nd rather than not showing anything. Issue reported by jmc@.
2015-03-11Fix previous: size_t is often narrower than off_t.Ingo Schwarze
Cluestick applied by joerg at NetBSD.
2015-03-11Match on 3160. Untested but should work.Jonathan Gray
ok stsp@ kettenis@
2015-03-11Point people to local-zone and stub-zone in unbound.conf and explainFlorian Obser
when this can be used. tweaks ian@ OK ratchov@, sthen@ seems more useful to millert@
2015-03-11set-titles-string now uses formats, not the status bits (so no #() forNicholas Marriott
now). Reported by landry.
2015-03-11tweak wording; "a value different to 1" -> "...other than 1", from Sevan JaniyanStuart Henderson
2015-03-11Remove unused type definitions.Martin Pieuchot
ok miod@
2015-03-11port the idea of using clock_gettime(CLOCK_MONOTONIC) for measuringDavid Gwynne
intervals from src/sbin/ping/ping.c r1.115. > use clock_gettime(CLOCK_MONOTONIC) to get timestamps to measure the > interval between sending a ping and getting a reply for it. > > this makes it resistant against local wall clock changes, which can > skew the intervals reported or make them go negative. this version puts clock_getting in a local gettime() function that converts to a struct timeval that all the previous callers of gettimeofday expect to get. requested by deraadt@ florian@
2015-03-11port src/sbin/ping/ping.c r1.115.David Gwynne
> use clock_gettime(CLOCK_MONOTONIC) to get timestamps to measure the > interval between sending a ping and getting a reply for it. > > this makes it resistant against local wall clock changes, which can > skew the intervals reported or make them go negative. requested by deraadt@ florian@
2015-03-11use clock_gettime(CLOCK_MONOTONIC) to get timestamps to measure theDavid Gwynne
interval between sending a ping and getting a reply for it. this makes it resistant against local wall clock changes, which can skew the intervals reported or make them go negative. ok deraadt@ florian@ makes sense to lots of others
2015-03-11add back the changes from rev 1.206, djm reverted this by mistake inJonathan Gray
rev 1.207
2015-03-10Set verbosity to 1 (the default is 0) so we log incoming notifiesTodd C. Miller
and zone xfers. OK florian@ deraadt@
2015-03-10Remove unused static local variable; mickey@Miod Vallat
2015-03-10Invoke va_end() before returning, rather than in an unreachable place; mickey@Miod Vallat