Displaying 1 50 of 514,734 commits (0.018s)

OpenBSD — regress/usr.sbin/syslogd funcs.pl args-proto-udp4.pl

Make the syslogd regression tests more reliable.  Other processes
on the system may create log entries during the test run that show
up in the log file.  Ignore those additional lines.

OpenBSD — regress/usr.sbin/syslogd Makefile Syslogd.pm

Prepare for testing libevent in syslogd.  Pass the EVENT_NO...
environment variables over sudo into syslogd.  Run the tests with
the select(2) and poll(2) and kqueue(2) backend.  Call "make libevent"
for these tests.

OpenBSD — sys/arch/hppa/hppa autoconf.c, sys/arch/hppa64/hppa64 autoconf.c

Use the load average from averunnable.ldavg[] instead of bogus cp_time[]
arithmetic to display the load average in leds 5-8 of 8 led systems.

OpenBSD — usr.sbin/rcctl rcctl.sh

Additional input validation:
Error out on "rcctl enable daemon flags NO".
Without this check, this "enable" command effectively disabled the daemon.
"commit" ajacoutot@
Delta File
+4 -1 usr.sbin/rcctl/rcctl.sh
+4 -1 1 file

OpenBSD — distrib/sets/lists/base mi

sync
Delta File
+1 -1 distrib/sets/lists/base/mi
+1 -1 1 file

OpenBSD — usr.sbin/rcctl rcctl.sh

Simplify append_to_pkg_scripts(), in particular avoid the expensive
svc_is_enabled() and look at ${pkg_scripts} only, flags are not
relevant to this function.
"please commit" ajacoutot@
Delta File
+4 -6 usr.sbin/rcctl/rcctl.sh
+4 -6 1 file

OpenBSD — sys/dev/pckbc pms.c

Fix checking sync for old synaptics touchpad (ver 5.9)
From Thierry Deval <thierry at deval dot be>

ok mpi@
Delta File
+18 -4 sys/dev/pckbc/pms.c
+18 -4 1 file

OpenBSD — distrib/sets/lists/base mi, distrib/sets/lists/etc mi

Move dhclient.conf(5) to examples.

no objections from todd@ millert@ rpe@

OpenBSD — usr.sbin/rcctl rcctl.8

Document the fact that 'enable' can also be used to modify flags even if
the daemon is already enabled.
Delta File
+8 -2 usr.sbin/rcctl/rcctl.8
+8 -2 1 file

OpenBSD — usr.sbin/httpd server_http.c server_fcgi.c

Use two instead of one http descriptor for request and response.

OK chrisz@

OpenBSD — sbin/newfs newfs.8

mount_mfs does not require disklabel to be run;

diff From: Navan Carson
confirmed/ok mikeb
Delta File
+3 -5 sbin/newfs/newfs.8
+3 -5 1 file

OpenBSD — usr.sbin/relayd relay.c relayd.conf.5

Implement consistent host hashing for relayd, based on
work done by andre@

Re-add a randomized hash seed (which had apparently
gotten inadvertently removed in the past).

Allows for multiple relayd instances to be configured
to forward traffic to the same host, falling back to
the random seed when not explicitly configured to do so.

ok reyk@

OpenBSD — share/misc mime.types

The image/x-ms-bmp extension is bmp, not mp.

Found by Navan Carson; Thanks!
Delta File
+2 -2 share/misc/mime.types
+2 -2 1 file

OpenBSD — usr.sbin/sysmerge sysmerge.sh

Some cleanings, no functional change.
Delta File
+53 -65 usr.sbin/sysmerge/sysmerge.sh
+53 -65 1 file

OpenBSD — share/man/man7 hier.7

update entry for /usr/share/sysmerge; ok ajacoutot
Delta File
+5 -5 share/man/man7/hier.7
+5 -5 1 file

OpenBSD — usr.sbin/sysmerge sysmerge.8

knock out double .Pp;
Delta File
+1 -2 usr.sbin/sysmerge/sysmerge.8
+1 -2 1 file

OpenBSD — usr.sbin/sysmerge sysmerge.8

Merge a paragraph.
Delta File
+8 -9 usr.sbin/sysmerge/sysmerge.8
+8 -9 1 file

OpenBSD — usr.sbin/sysmerge sysmerge.8

tweak AUTHORS; ok ajacoutot
Delta File
+4 -4 usr.sbin/sysmerge/sysmerge.8
+4 -4 1 file

OpenBSD — usr.sbin/sysmerge sysmerge.sh sysmerge.8

Major sysmerge cleanup now that both etc and xetc sets are part of base.
Expect more changes/cleanup/... in the near future.

-S (signature) option is gone since we are not fetching sets anymore
-s and -x are gone as well for obvious reasons

Left is:
usage: sysmerge [-bdp]

I would appreciate feedback, *lots* of things have changed and there may be
side effects I missed. Consider sysmerge as WIP for the time being.
Delta File
+319 -459 usr.sbin/sysmerge/sysmerge.sh
+33 -82 usr.sbin/sysmerge/sysmerge.8
+352 -541 2 files

OpenBSD — usr.sbin/rcctl rcctl.sh

Drop check and tweak comment.

with schwarze@
Delta File
+3 -4 usr.sbin/rcctl/rcctl.sh
+3 -4 1 file

OpenBSD — usr.bin/openssl pkeyutl.c pkeyparam.c

OpenSSL_add_all_algorithms() is called from openssl_startup() - it does not
need to also be called from some of the applications.

OpenBSD — usr.bin/openssl pkcs12.c verify.c

openssl_setup() calls SSL_load_error_strings(), which happens to call
ERR_load_crypto_strings() - as such, we do not need to call the same
function from most of the applications.

OpenBSD — usr.bin/openssl apps.c apps.h

Add option handling with a callback function for argument processing.
Delta File
+7 -1 usr.bin/openssl/apps.c
+3 -1 usr.bin/openssl/apps.h
+10 -2 2 files

OpenBSD — usr.bin/openssl crl.c

Convert openssl(1) crl to new option/usage handling.
Delta File
+246 -186 usr.bin/openssl/crl.c
+246 -186 1 file

OpenBSD — usr.bin/openssl apps.c

Given the usage option name/argument name width a few more characters.
Delta File
+2 -2 usr.bin/openssl/apps.c
+2 -2 1 file

OpenBSD — usr.bin/openssl apps.c

Ensure that a format option argument is a known specifier.
Delta File
+10 -2 usr.bin/openssl/apps.c
+10 -2 1 file

OpenBSD — usr.bin/openssl apps.c apps.h

Add option handling for ordered flags.

OpenBSD — usr.bin/openssl apps.c apps.h

Add option handling for input/output formats.

OpenBSD — usr.sbin/tcpdrop tcpdrop.8

er, rehook httpd.

here's a thought: if i just leave man pages alone, they will eventually
come good.

while here, remove some escape sequences;
Delta File
+6 -6 usr.sbin/tcpdrop/tcpdrop.8
+6 -6 1 file

OpenBSD — usr.sbin/slowcgi slowcgi.8

fix previous, and add a SEE ALSO section for httpd;
Delta File
+5 -5 usr.sbin/slowcgi/slowcgi.8
+5 -5 1 file

OpenBSD — usr.sbin/rcctl rcctl.sh

Simplify.
Delta File
+2 -5 usr.sbin/rcctl/rcctl.sh
+2 -5 1 file

OpenBSD — usr.sbin/rcctl rcctl.sh

Consistency in conditionals; no functional change.
Delta File
+5 -5 usr.sbin/rcctl/rcctl.sh
+5 -5 1 file

OpenBSD — share/man/man7 mdoc.7, usr.bin/mandoc st.in

Support .St -susv1 and .St -susv4.  Illumos wants to use this,
and it's illogical anyway to have -susv2 and -susv3 but not -susv4.
Delta File
+8 -4 share/man/man7/mdoc.7
+3 -1 usr.bin/mandoc/st.in
+11 -5 2 files

OpenBSD — usr.bin/mandoc term_ps.c

I just noticed that -Tps writes "%%CreationDate:" headers.
That's an unwelcome leak of potentially private information.
Kill it with fire.
Delta File
+1 -6 usr.bin/mandoc/term_ps.c
+1 -6 1 file

OpenBSD — lib/libcrypto/crypto getentropy_linux.c

preserve errno value on success.

If getrandom returns a temporary failure, make sure errno is not polluted when
it succeeds. Thanks to deraadt@ for pointing it out.

OpenBSD — usr.sbin/rcctl rcctl.sh

Disentangle svc_default_enabled_flags() and svc_get_flags().
This saves three expensive function calls in svc_default_enabled_flags(),
two to _rc_parse_conf() and one to svc_get_flags().  No functional change.
Feedback and ok ajacoutot@.
Delta File
+9 -13 usr.sbin/rcctl/rcctl.sh
+9 -13 1 file

OpenBSD — regress/usr.sbin/pkg_add check-sig

Remove $_ usage that warns under Perl 5.18.

Yep espie@

OpenBSD — usr.sbin/pkg_add Makefile, usr.sbin/pkg_add/OpenBSD/PackageRepository Persistant.pm Persistent.pm

Rename Persistant to Persistent.

sure espie@

OpenBSD — usr.bin/openssl prime.c

Convert openssl(1) prime to the new options/usage handling.
Delta File
+81 -60 usr.bin/openssl/prime.c
+81 -60 1 file

OpenBSD — usr.bin/openssl rand.c

Reset the config struct before calling options_parse(), otherwise config
options from the previous run stick in interactive mode.
Delta File
+3 -1 usr.bin/openssl/rand.c
+3 -1 1 file

OpenBSD — usr.bin/openssl apps.c apps.h

Add an option type that handles argument to integer conversion.
Delta File
+20 -3 usr.bin/openssl/apps.c
+2 -1 usr.bin/openssl/apps.h
+22 -4 2 files

OpenBSD — regress/usr.bin/diff Makefile t15.1

Add regression tests for diff -uw issue reported by guenther@.  Ensure the
'+' and '-' always appear in the first column of a newline in diff -uw
output, even when one file doesn't end with a newline and the other file
contains additional lines.

ok guenther@

OpenBSD — usr.bin/diff diffreg.c

Ensure diff -uw always produces valid output when one file doesn't end
with a newline.  Issue reported by guenther@.

ok guenther@
Delta File
+9 -5 usr.bin/diff/diffreg.c
+9 -5 1 file

OpenBSD — usr.bin/openssl rand.c apps.c

Implement table-driven option parsing that allows an application to
specify what its valid options are and where it wants them to be stored.
This also allows for usage to be generated, almost for free, ensuring
that the options and usage are automatically kept in sync.

This will allow for a single option parsing implementation, rather than the
current one-hand-rolled-option-parsing-and-random-usage-implementation per
application.

As a starting point, port the openssl(1) rand application to the new option
parsing and usage (along with associated code clean up).

With input from doug@.

ok bcook@ doug@

OpenBSD — usr.sbin/sysmerge sysmerge.sh

One less option.
Delta File
+2 -2 usr.sbin/sysmerge/sysmerge.sh
+2 -2 1 file

OpenBSD — usr.sbin/sysmerge sysmerge.sh

Simplify examples handling.
Delta File
+25 -19 usr.sbin/sysmerge/sysmerge.sh
+25 -19 1 file

OpenBSD — distrib/miniroot install.sh, etc rc.conf

Nuke net.inet6.icmp6.rediraccept and allow redirects on interfaces
with autoconf enabled.
If one is doing SLAAC one does already trust link local icmp6 so the
policy for icmp6 redirects should be the same.
pointed out by & OK bluhm@; OK henning@

OpenBSD — etc newsyslog.conf

Add httpd default log files to the rotation.
ok reyk@  (who suggested these lines a while ago)
Delta File
+3 -1 etc/newsyslog.conf
+3 -1 1 file

OpenBSD — lib/libressl ressl_server.c ressl_config.c

Add the API function ressl_config_set_ecdhcurve(config, name) to set a
non-standard ECDH curve by name or to disable it by passing NULL.

OK jsing@

OpenBSD — usr.sbin/mrouted main.c

c99 no longer allows implicit ints. make the declaration explicit.

ok henning@
Delta File
+1 -1 usr.sbin/mrouted/main.c
+1 -1 1 file