summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-09-02style polishingTed Unangst
2016-09-02replace exit() with err() and errx() so user knows what happenedTed Unangst
2016-09-02In preparation for merging of ping(8) and ping6(8) the -n flag needs toFlorian Obser
become the default. That means no DNS reverse look ups per default. In practice this doesn't change anything since ping(8) only did reverse DNS look ups per for weird corner cases: 1) Something that's not an echo reply and -v was specified 2) LSRR or RR IP options With this pr_addr() can become the default address printing mechanism and can be made AF independent. With that we get ping(8)'s -H option for free. OK sthen@, benno@ OK deraadt@ for the -H a long time ago when this were two diffs. man page tweak jmc@ a long time ago deraadt@ softened up and has no objections to -n per default beck@ is in favor of no look ups per default.
2016-09-02use err() instead of errx when an errno is setTed Unangst
2016-09-02for an upgrade disk selection, present a default alternative of 'auto',Alexander Hall
which will scan the available disks, selecting the first disk with an 'a' partition of type 4.2BSD ok deraadt@ krw@ phessler@
2016-09-02Fix 'c'hange command handling if last line of a file is removed.Tobias Stoeckmann
If the last line of a file is removed, the line cache is erroneously considered empty, which means that changed lines are added at the top. spotted by and okay otto@
2016-09-02the old check for when verify needed to create files (affecting pledge)Ted Unangst
was slightly wrong, but it didn't matter. new gzip mode however falls into the gap. the zsig code will default to stdout, therefore it needs much fewer privileges if msgfile is not specified.
2016-09-02Print SKIPPED if a regress test cannot be executed for some reason.Alexander Bluhm
This allows to identify such tests by looking at their output.
2016-09-02combine the pledge switch with the execution switch. no changes yet,Ted Unangst
but we can do a little better in some cases.
2016-09-02-e and -z cannot be combinedTed Unangst
2016-09-02space out the exampleTed Unangst
2016-09-02document new ioctls for verified authTed Unangst
2016-09-02Remember the number of lines scrolled into the history (versus clearedNicholas Marriott
into the history) and when resizing only use scrolled lines and not cleared lines (which are probably not intended to reappear). From Chaoren Lin.
2016-09-02clarify that -L will exit without running a command.Ted Unangst
2016-09-02shorten s_server;Jason McIntyre
2016-09-02finish the sentence;Jason McIntyre
2016-09-02remove one more reference to the recently removed hash(9);Jason McIntyre
2016-09-02add support for the verified auth ioctls using 'persist' rules.Ted Unangst
ok deraadt henning
2016-09-02add a concept of 'verified auth' to sessions. When set via ioctl,Ted Unangst
the user and parent process are recorded. Later, this info may be tested and used to bypass authorization requirements. ie, doas won't ask for your password again. Great idea from henning. ok deraadt guenther henning
2016-09-02_PASSWORD_LEN is length that comes out of crypt(), not a meaningfulTed Unangst
length for user entered passwords. And the +1 is just superstitious nonsense inherited from getpass() guts. Switch to a pleasing fixed size of 1024. ok millert
2016-09-02forgot to actually remove file, thanks jmcTed Unangst
2016-09-02work on making log.c similar in all daemons:Sebastian Benoit
move daemon-local functions into new logmsg.c, and reduce the (mostly whitespace) differences so that log.c's can be diffed easily. ok claudio@
2016-09-02more jmc tweaksMarc Espie
2016-09-02LIB=crypto, kind of neccessaryTheo de Raadt
2016-09-02rm xr to hash.9Ted Unangst
2016-09-02kettenis discovered a man page for a long deleted file. hash.h is gone.Ted Unangst
2016-09-02Fix build of regress after source movesBob Beck
2016-09-02syncKazuya Goda
2016-09-02document the new stuff, usage nits.Marc Espie
some input by jmc@, to be polished later "get it in now" tedu@ deraadt@
2016-09-02Fix small memleak on error path.Renato Westphal
2016-09-02Make tcpdump print details about association requests in verbose mode.Stefan Sperling
Refactor such that we can share some of the code for beacon printing. ok sthen@
2016-09-02Enable SGI for iwn(4).Stefan Sperling
The maximum 11n data rate should go up from 65Mbit/s to 72Mbit/s. ok sthen@
2016-09-02lde() and ldpe() should return void.Renato Westphal
Remove these leftovers from the pre-fork+exec era. Spotted by and ok rzalamena@ ok claudio@
2016-09-02Enable SGI for iwm(4).Stefan Sperling
The maximum 11n data rate should go up from 65Mbit/s to 72Mbit/s. ok sthen@
2016-09-02Process incoming com data asynchronously to running VCPUStefan Kempf
This registers a handler with libevent that is triggered on incoming data on the com port. ok mlarkin@
2016-09-02Process incoming host->guest packets asynchronously to running VCPUStefan Kempf
This registers a handler with libevent that is called on incoming packets for the guest. If they cannot be handled immediately (because the virtq is full), make sure they are handled on VCPU exits. ok mlarkin@
2016-09-02Improve logging of sent and received messages.Renato Westphal
* Standardize the logging format of sent and received messages: "msg-[in|out]: message type: lsr-id A.B.C.D [additional info]"; * Log sent label messages as well, not only the received ones; * Move the logging of sent notification messages from send_notification_nbr() to send_notification_full(), this way notification triggered by the lde process are logged as well; * Minor clean-up.
2016-09-02convert getpass to readpassphrase. from Dimitris PapastamosTed Unangst
2016-09-02Add switch(4) cdev entryKazuya Goda
ok deraadt@ yasuoka@ reyk@
2016-09-02Reevaluate received mappings upon receipt of address message.Renato Westphal
If a neighbor was a nexthop for a given set of prefixes but it's not anymore, then we should uninstall the associated label mappings (if any) from the kernel. The same applies for the other way round (neighbor wasn't a nexthop for a given set of prefixes but now is). This issue is only evident when we have multiple links between a pair of LSRs. Generally, when a link is shut down, the whole LDP is torn down and all label mappings uninstalled automatically. ok claudio@
2016-09-02Simplify shutdown process.Renato Westphal
On shutdown, there's no need to use kill(2) to kill the child processes. Just closing the IPC sockets will make the children receive an EOF, break out from the event loop and then exit. Tha advantages of this "pipe teardown" are: * simpler code; * no need to pledge "proc" in the parent process; * removal of a (hard to trigger) PID reuse race condition. ok claudio@
2016-09-02Make this regress build againBob Beck
2016-09-02Fix Makefile for file location movesBob Beck
2016-09-02Remove the libcrypto/crypto directoryBob Beck
2016-09-02Remove the libssl/ssl directoryBob Beck
2016-09-02Remove the libssl/src directoryBob Beck
2016-09-02Repair remaining isakmpd regress testsMike Belopuhov
2016-09-02Minor tweaksRenato Westphal
2016-09-02Mask out lower bits of randomly selected addressStefan Kempf
Fixes uvm pivots bug that would create non-page aligned addresses. This fix is in code that's not yet enabled.
2016-09-02Make functions and variables static whenever possible.Renato Westphal
style(9) says: "Function prototypes for private functions (i.e., functions not used elsewhere) go at the top of the first source module. In userland, functions local to one source module should be declared 'static'". The benefits of doing so include: * clean up of the eigrpd global namespace; * improved readability; * more hints to the compiler/linker to generate more efficient code. Additional changes: * Declare all extern variables in header files; * Clean up the indentation of all function prototypes and global variables. ok claudio@ benno@