summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diffdir.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-08-26Simplify the function add_flags().schwarze1-38/+17
Do not validate input twice, scrap needless array, and avoid needless expensive function calls to svc_get_flags(), svc_default_enabled_flags(), _rc_parse_conf(), and resolve code duplication. No functional change. Feedback and OK ajacoutot@.
2014-08-26fix SEE ALSO;jmc1-2/+2
2014-08-26sort SEE ALSO;jmc1-2/+2
2014-08-26Do not hand-roll all routers link local address.florian3-7/+8
pointed out & OK bluhm@
2014-08-26no more exposed etc setderaadt9-27/+18
2014-08-26Fist shot at fixing sysmerge(8) with etc-in-base; note that it's still inajacoutot2-119/+50
transition state and the utility will get a lot of revamping in the near future.
2014-08-26Create etc set during 'make build' and embed it in base set to makerpe10-89/+95
it available during a regular install or upgrade so that it doesn't need to be independently fetched. Idea, directions and OK deraadt@ Feedback and Ok halex@ and aja@
2014-08-26syncderaadt2-2/+1
2014-08-26remove nginx referencesrobert4-26/+9
2014-08-26remove nginx from the base system in favor of OpenBSD's own httpd(8)robert385-204447/+2
2014-08-26usr.sbinrobert13-78/+30
2014-08-26syncderaadt1-0/+1
2014-08-26Update regress to follow openssl(1) move.jsing11-20/+16
2014-08-26Move openssl(1) from /usr/sbin/openssl to /usr/bin/openssl, since it is notjsing62-96/+92
a system/superuser binary. At the same time, move the source code from its current lib/libssl/src/apps location to a more appropriate home under usr.bin/openssl. ok deraadt@ miod@
2014-08-26Revert the addition of broadcast addresses, it apparently also corruptsmpi2-39/+7
the tree. Found by millert@.
2014-08-26Don't single out ami(4) here; other RAID drivers support logicalmillert1-5/+3
drive reporting too. OK jsing@
2014-08-26inevitable churn caused by the section title changeschwarze326-326/+326
2014-08-26Unify console and CGI section titles, bringing them closer to groff,schwarze2-18/+18
is an attempt to reduce confusion for users switching between media and between different operating systems. Not using the groff title for section 4 is intentional, it is just too awful ("Kernel Interfaces Manual"), and the difference from sections 2 and 9 would be too hard to see. Positive feedback from at least deraadt@ millert@ bluhm@ jca@. Previously also agreed with the general direction: jmc@ Nick@. The title for 3p was polished by bluhm@. The existing mismatches were originally noticed by jsg@.
2014-08-26Revert part of the if_rxr diff that incorrectly moves RX ring tailmikeb3-11/+9
index update code from the buf_get success path to the do it all the time code path. Tested by millert; ok dlg, deraadt
2014-08-25Base system special services have no flags, so move the test for themschwarze1-9/+13
up front in add_flags(). This avoids unnecessary work, avoids setting bogus variables, and reduces the risk of screwing up things when changing the code. No functional change right now. ok ajacoutot@
2014-08-25get rid of the tempfile in svc_default_enabled_flags();schwarze1-6/+4
feedback and ok ajacoutot@
2014-08-25rc.d scripts are shell scripts and need to be sourced in svc_get_flags().ajacoutot1-2/+9
It's the only way to get daemon_flags in case it contains line continuation... We only need to do that for enable package scripts. original idea from Sebastien Marie discussed with, input from and ok schwarze@
2014-08-25Document the IPv4/IPv6 command line switches and protocol loghostbluhm2-5/+15
prefixes. OK jmc@ henning@
2014-08-25Call check_tty_name() and check_log_name() with the string size andbluhm1-9/+9
don't access memory beyond. Make sure that the complete string "/dev/null" can be copied. OK henning@
2014-08-25Add tests where the IP address family has been chosen by -4 or -6bluhm14-0/+336
command line switch and udp4:// or udp6:// loghost prefix.
2014-08-25Inspired by the previous brainpool addition, copy isakmpd's dh test toreyk3-0/+104
iked. Both daemons share the same dh implementation, but this makes it easier to test iked directly.
2014-08-25No more /etc/X11/fsmatthieu1-3/+1
2014-08-25For functions that take args, return immediately if no args is passed.ajacoutot1-7/+6
Add/drop missing/unused local variables. no functionnal change
2014-08-25Cope with some weird rc.conf.local file like "foobar" in pkg_scriptsajacoutot1-31/+47
while "foobar_flags" is set to "NO"... Reparse deamon_flags at the end of add_flags() since they may have been modified by the function.
2014-08-25Allow to restrict syslogd to a protocol family with -4 and -6 commandbluhm3-22/+91
line switches. If the log server is an FQDN, DNS chooses wether to take the IPv4 or IPv6 route. Allow to prefix the log host with udp4:// or udp6:// to choose a protocol. OK henning@
2014-08-25Fix the gcc compiler warnings "comparison between signed andbluhm3-24/+31
unsigned". Some checks got stricter. The (size_t) cast is only done, if the argument is not negative. OK henning@
2014-08-25Add tests for syslogd sending and receiving over IPv6 sockets.bluhm12-6/+212
2014-08-25you broke the ramdisk builds...deraadt1-1/+3
2014-08-25add an example vmx config linejsg1-2/+10
ok dlg@
2014-08-25Sync dh.[ch] from iked. The files are identical, so any change inreyk2-8/+39
either iked or isakmpd should be synced to the other daemon. The previous changes from iked include: plug two memory leaks, verify EC points and add the Brainpool curves. All tests in regress/sbin/isakmpd/dh passed OKAY. ok markus@ mikeb@
2014-08-25Add support for DH groups 27-30 using the Brainpool curves which havereyk3-6/+22
previously been added to LibreSSL's libcrypto. ok markus@ mikeb@
2014-08-25Previosuly forgot the Makefile bit: add mime.typesreyk1-2/+2
2014-08-25Simplify rm_from_pkg_scripts(); minus ten lines; no functional change;schwarze1-14/+4
ok ajacoutot@. For non-trivial automated text editing in sh(1), thou shalt use sed(1).
2014-08-25Add a generic system-wide /usr/share/misc/mime.types file that can bereyk4-17/+143
included in httpd.conf. httpd(8) now supports both mime.types flavours with or without semicolon at the end of the line (nginx- or apache-style). Discussed with many, with input from halex@ OK halex@
2014-08-25We have never limited the definition of "supported SPF modules"mikeb4-32/+10
to the vendor/make whitelist maintained by Intel so there's no reason to start doing it now. When syncing the driver to the FreeBSD codebase I have decided to take this chunk as is but it appears that it breaks cheap chinese SFP+ fiber optics modules that we all love. And while there's still a lot of places where we check for the vendor OUI, most of these checks are not necessary. Issue reported and fix tested by Tony Sarendal. Thanks!
2014-08-25Move sending of router solicitations to the kernel; receiving andflorian7-7/+199
processing of router advertisements was already in the kernel. With this rtsol{,d}(8) is no longer necessary. The kernel starts sending solicitations with # ifconfig $IF inet6 autoconf or inet6 autoconf in /etc/hostname.$IF. input stsp@ much help & OK mpi@ tweaks & OK bluhm@
2014-08-25Don't allow pasting into input-disabled panes, from Anish R Athalye.nicm1-1/+4
2014-08-25snmpd cannot reloadhalex1-1/+2
ok reyk@
2014-08-25When using a proxy for an https connection, validate the cert hostnamejca1-2/+7
against the target hostname, not the proxy hostname. Issue reported by dlg@, fix by Alex Wilson on tech@, tweaks by me. No reply from tech@
2014-08-25Fix a few fd leaks in isakmpd.doug1-1/+3
The latter close is from a sweep of the tree looking for fdopen problems. While reviewing the patch, gerhard@ fixed another leak. ok gerhard@
2014-08-25Delete secret or secret-derived data with explicit_bzero.doug14-40/+40
concept ok deraadt@ diff looks ok tedu@
2014-08-25Display usage on 2 lines.ajacoutot1-2/+3
reworked from an original diff by schwarze@
2014-08-25Put _rc_err argument under quotes to respect the syntax we are passing.ajacoutot1-2/+2
2014-08-25Start removing unused documentation and the server and related binaries sourcebrad213-101009/+0
code.
2014-08-24Oops. Garbage collect unused variable.schwarze1-2/+2