summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2016-02-02use stat(2) instead of chdir(2) to check if given the directory is valid.Gleydson Soares
OK landry@ jca@
2016-02-02Implement ldapctl -r datadir; ok sthen@ landry@Jeremie Courreges-Anglas
2016-02-02Uppecase.Antoine Jacoutot
2016-02-02Check imsg data size before use.Sunil Nimmagadda
Ok eric@ millert@
2016-02-01some -r fixes;Jason McIntyre
2016-02-01Add -r argument to ldapd, to specify an alternative directory toLandry Breuil
store/read the database, still defaulting to /var/db/ldap. This will allow running totally separate instances, to be used by an upcoming regress suite for example. With a tweak from gsoares@ to check that the directory exists. ok dlg@ semarie@ jca@
2016-02-01No need for SRCS, identd.c is deduced from PROG and make(1) rules.Jeremie Courreges-Anglas
2016-02-01Make tcpdump show 802.11 QoS frames properly.Stefan Sperling
ok kettenis@
2016-01-30Actually order matters; I missed it when reviewing previous.Antoine Jacoutot
2016-01-30Explain how to run multiple copies of the same daemon;Ingo Schwarze
triggered by a frequently asked question by Paolo Aglialoro on misc@; using snmpd(8) on inet6(4) as an example suggested by sthen@; tweaks and OK ajacoutot@.
2016-01-30redo sthen's idea deeper in pkg_add, so that *every* url can be abbreviatedMarc Espie
the same way (e.g., PKG_PATH=ftp.openbsd.org will work) okay sthen@
2016-01-29whitespace fixes; ok ajacoutotJason McIntyre
2016-01-29Remove code that has been disabled for almost 20 years:tb
No need for bauds structure, since handled by cfsetspeed. From Chris Bennett, thanks! ok millert@
2016-01-29Use apmd instead of ntpd in the example since the later is on by default.Antoine Jacoutot
2016-01-29remove unused fieldEric Faurot
2016-01-29Simplify code: hasrun is confusing and useless. There is no wayEric Faurot
filter_drain_query() can be called when the ->current filter is still running the query. Just make sure we move forward after having received the response from the current filter. ok gilles@
2016-01-29Remove the query queueing mechanism. It's useless since pipelining isEric Faurot
not supported anyway. ok sunil@ gilles@
2016-01-29Fix err.h uses, reporting errno when available and simplifying errormmcc
messages. Partially from Michael Reed.
2016-01-28Correct bit flag tests to work as intended.Jonathan Gray
ok renato@
2016-01-28Simplify the query-chain code now that events are sent through a dedicated loop.Eric Faurot
ok gilles@ jung@
2016-01-27Fix typo in comment. From Chris Bennett, thanks!tb
2016-01-27Don't attempt to kill() the constraint in the wrong process. TheReyk Floeter
process management of the contraint processes has been moved from ntp to the parent, for better privsep and pledge, but the ntp process still attempted to kill the constraints on timeout directly. Fix this regression by introducing a new imsg from ntp to the parent and the related logic to kill a constraint at the right place. Reported & tested by bcook@ Ok bcook@
2016-01-27update ntpd log initialization to work like relayd, fix debug log levelsBrent Cook
ok reyk@
2016-01-27Allow pkg.conf's installpath to be set to a bare hostname (no /), whichStuart Henderson
implies http://hostname/pub/OpenBSD/[snapshots-or-version]/packages/[arch]. This could be handled at a different location in the code to support PKG_PATH but this approach is pretty simple and I have something else to make use of it. ok espie@ for now.
2016-01-27- sort optionsJason McIntyre
- add -q to usage()
2016-01-27appease mandoc lint, no difference in outputJasper Lievisse Adriaanse
ok reyk@
2016-01-27Check imsg data length before use.Sunil Nimmagadda
Ok jung@ gilles@ eric@
2016-01-27Use "VIS_SAFE | VIS_CSTYLE" instead of "VIS_OCTAL" as the value canReyk Floeter
contain text files with whitespace, newlines and carriage returns.
2016-01-27Add hostctl(8), a tool to access key-value stores on the host,Reyk Floeter
currently for hypervisor information stores on pvbus(4). As discussed with deraadt@, the generic name is used to potentially extend it for other use cases where the host or machine firmware provides a key-value store, hypervisors or things like openprom. Not enabled yet. OK mikeb@
2016-01-27send events to filters in a simple loop, rather than using theEric Faurot
query-chaining machinery. ok jung@ gilles@
2016-01-26typosmmcc
2016-01-26Use an unsigned int rather than an int when iterating through all 32mmcc
bits in the form: for (i = 1; i; i <<= 1) This avoids undefined operations when shifting into and out of the highest-order bit. ok millert@
2016-01-26lseek() + write() can be replaced by a slightly shorter ftruncate()Reyk Floeter
call. Note that using ftruncate() to extend a file is not portable (POSIX allows either zero-filling until the given size is reached, or alternatively erroring out), but that shouldn't be a proble as vmm(4) isn't cross-platform either. unlink() the image file when extending it fails for consistency with the other error case (the file can't be created). From Martin Natano OK mlarkin@
2016-01-26The division "res->size /= 1024 / 1024" is a no-op: 1024 / 1024 isReyk Floeter
evaluated first, resulting in res->size /= 1. Remove the division and the following check, as it can never fail; it is a left-over from previous code that didn't check the size in the caller. From Martin Natano OK mlarkin@
2016-01-25remove pointless log message; As a bonus avoid trigraph '??'Gleydson Soares
suggested by & OK claudio@ OK daniel@
2016-01-25(hidden) is more readable than (??????) and avoid trigraphGleydson Soares
suggested by & OK claudio@ OK daniel@ jsg@ initial review millert@ and tb@ thanks.
2016-01-25avoid a potential double freeJonathan Gray
ok blambert@
2016-01-25No need to declare main().Jeremie Courreges-Anglas
2016-01-25malloc+memset -> callocJeremie Courreges-Anglas
2016-01-25Redundant assignement is redundant.Jeremie Courreges-Anglas
2016-01-24Check all daemons in "faulty", not just the base ones.Antoine Jacoutot
reported by landry@
2016-01-24Set argument encode / result decode callbacks for 'all'.Matthieu Herrb
listing a map is still not implemented though. ok jmatthew@
2016-01-24Set argument encode / result decode call backs for 'maplist'.Matthieu Herrb
ok jmatthew@
2016-01-24Implement the 'master' request. ok jmatthew@Matthieu Herrb
2016-01-22in lka process, revoke proc/exec pledges after privsep-ed table backendsGilles Chehade
are forked at startup i thought i had committed this already, diff has been okayed several weeks ago... ok jung@, ok millert@, ok sunil@
2016-01-22add a log_warn() so that when smtpd fails to start due to a problem readingGilles Chehade
the configuration file of a table, user actually understands what happens diff by Alexis Vachette, ok jung@
2016-01-21another round of tiny wording tweaks and unificationsJoerg Jung
all from tj ok millert
2016-01-19Backport r3602 | wouter | 2016-01-19 15:37:54 +0000 (Tue, 19 Jan 2016) | 3 linesStuart Henderson
- Squelch 'cannot assign requested address' log messages unless verbosity is high, it was spammed after network down. (problem reported by Philippe Meunier)
2016-01-19minor tweaks: remove comma, remove superflous plural s, add the word "file"Joerg Jung
after ~/.forward, and change builtin to built-in from tj ok millert@
2016-01-18minor tweaks: add single quote to @ char, add .Ic markup to forward-only,Joerg Jung
fix end of list marker, and add an 'are' ok millert (to an earlier version without end of list fix and without 'are')