Displaying 1 50 of 514,592 commits (0.020s)

OpenBSD — usr.sbin/ldomctl ldomctl.8

Enhance the ldomctl(8) man page.
Describe all available commands, document the init-system file format, and
add examples guiding users through the process of setting up guest domains
based on http://undeadly.org/cgi?action=article&sid=20121214153413
input and ok jasper jmc schwarze
Delta File
+175 -9 usr.sbin/ldomctl/ldomctl.8
+175 -9 1 file

OpenBSD — lib/libc/net gethostbyname.3 resolver.3, share/man/man5 hosts.5 networks.5

unbind;

OpenBSD — etc pf.conf

Shrink this to the minimum, but reference /etc/examples/pf.conf
(someone should really sit down and flesh out the examples)
Delta File
+2 -26 etc/pf.conf
+2 -26 1 file

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

sync

OpenBSD — usr.bin/mandoc mandocdb.c

Fix fd leak when fdopen fails.

ok schwarze@
Delta File
+3 -1 usr.bin/mandoc/mandocdb.c
+3 -1 1 file

OpenBSD — sbin/isakmpd ike_auth.c

Fix double free in ike_auth.c

ok jca@
Delta File
+3 -1 sbin/isakmpd/ike_auth.c
+3 -1 1 file

OpenBSD — regress/sbin/pfctl Makefile pfail54.in, sbin/pfctl pfctl.c parse.y

when you specify queues in a rule, make sure they have been defined.

DIOCADDRULE EBUSY turns into an error message that pfctl -n catches.
DIOCXCOMMIT EINVAL after the kernel rejected the rules was reported
to occur, possibly from hfsc.c: this should be fixed as well.

ok henning mikeb sthen

OpenBSD — lib/libc/sys stat.2, sys/sys stat.h _types.h

POSIX/FreeBSD/NetBSD/Linux/etc agree -- blk[size|cnt]_t is the bomb.

So add the types blksize_t (a.k.a. int32_t) and blkcnt_t (a.k.a.
int64_t). Use blkcnt_t in stat.h since the base type (int64_t) does
not change. blksize_t in stat.h will follow after the tree is audited
for signed issues, since the base type will change from u_int32_t
to a POSIX compliant int32_t.

Guidance and feedback from guenther@

ok millert@
Delta File
+3 -3 lib/libc/sys/stat.2
+2 -2 sys/sys/stat.h
+3 -1 sys/sys/_types.h
+3 -1 sys/sys/types.h
+11 -7 4 files

OpenBSD — usr.sbin/ndp ndp.c

switch ndp to display MAC addresses in 00:00:00:00:00:00 format, ok deraadt@
Delta File
+2 -2 usr.sbin/ndp/ndp.c
+2 -2 1 file

OpenBSD — usr.sbin/arp arp.c

print leading 0's in MAC addresses again, ok deraadt
Delta File
+2 -2 usr.sbin/arp/arp.c
+2 -2 1 file

OpenBSD — sys/arch/armish/conf RAMDISK, sys/arch/armv7/conf RAMDISK-IMX RAMDISK-OMAP

pseudo-device crypto was accidentally left for some architectures.

OpenBSD — usr.sbin/bind Makefile.bsd-wrapper configure, usr.sbin/bind/bin Makefile.in

Strip the BIND code down to just building and installing dig, host and nslookup.

OpenBSD — etc Makefile rc, etc/bind root.hint named-dual.conf

disable use of bind in base; in the base use nsd/unbound instead.
a proper & complete bind port will show up.
discussed with many for years
Delta File
+0 -94 etc/systrace/usr_sbin_named
+0 -90 etc/bind/root.hint
+0 -79 etc/bind/named-dual.conf
+0 -71 etc/bind/named-simple.conf
+2 -17 etc/Makefile
+2 -15 etc/rc
+5 -83 10 files not shown
+9 -449 16 files

OpenBSD — usr.bin/signify ge25519.c

don't need this file, only the mod version
Delta File
+0 -319 usr.bin/signify/ge25519.c
+0 -319 1 file

OpenBSD — usr.sbin/syslogd syslogd.c

Instead of getting a nasty error message from privsep
"syslogd: priv_getaddrinfo: overflow attempt in hostname"
check the host and port length when parsing the config.
OK henning@
Delta File
+16 -3 usr.sbin/syslogd/syslogd.c
+16 -3 1 file

OpenBSD — usr.bin/mandoc man.cgi.8

typo; noticed by jmc@ some time ago
Delta File
+3 -3 usr.bin/mandoc/man.cgi.8
+3 -3 1 file

OpenBSD — etc/rc.d nfsd

Set the default nfsd flags to "-tun 4".  Matches the comment
in rc.conf and the behaviour of the backwards compatibility
code in rc.subr for nfs_server=YES.
ok ajacoutot@
Delta File
+2 -1 etc/rc.d/nfsd
+2 -1 1 file

OpenBSD — sbin/isakmpd ike_phase_1.c

fix memory leak in isakmpd

ok gerhard@ (also corrected first version)
Delta File
+2 -1 sbin/isakmpd/ike_phase_1.c
+2 -1 1 file

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

sync

OpenBSD — usr.sbin Makefile

Enable rcctl(8).

prodded by deraadt@
Delta File
+2 -2 usr.sbin/Makefile
+2 -2 1 file

OpenBSD — usr.sbin/npppd/npppd npppd_auth.c

remove an uneeded test
ok yasuoka@
Delta File
+8 -11 usr.sbin/npppd/npppd/npppd_auth.c
+8 -11 1 file

OpenBSD — distrib/sets/lists/man mi

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

OpenBSD — sys/dev/acpi acpidock.c

Set the sensor's status when docking and undocking, not just its value.
With this change sensorsd(8) now correctly detects state changes when
docking and undocking.

ok mlarkin@
Delta File
+3 -1 sys/dev/acpi/acpidock.c
+3 -1 1 file

OpenBSD — usr.bin/mandoc mansearch.c

Bugfix: make whatis(1) case-insensitive again.
The traditional whatis(1) was case-insensitve and it's still documented
that way, that but apparently got broken with or after the switch.
Delta File
+2 -1 usr.bin/mandoc/mansearch.c
+2 -1 1 file

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

Add Last-Modified: HTTP header.

OK reyk@

OpenBSD — usr.sbin/syslogd syslog.conf.5

Document square brackets for IPv6 addresses.  From FreeBSD.
OK logan@ henning@
Delta File
+9 -2 usr.sbin/syslogd/syslog.conf.5
+9 -2 1 file

OpenBSD — usr.sbin/syslogd syslogd.c privsep.c

Send and receive UDP syslog packets on the IPv6 socket.
OK henning@

OpenBSD — usr.sbin/sysmerge sysmerge.sh

Unbreak when "SRCDIR=."

reported by phessler@
Delta File
+2 -2 usr.sbin/sysmerge/sysmerge.sh
+2 -2 1 file

OpenBSD — usr.bin/ftp fetch.c

Fix double free.  ok guenther@
Delta File
+1 -2 usr.bin/ftp/fetch.c
+1 -2 1 file

OpenBSD — usr.bin/mandoc cgi.c

limit CGI process execution time to make REDoS attacks less effective;
attack surface pointed out by Sebastien Marie
Delta File
+18 -1 usr.bin/mandoc/cgi.c
+18 -1 1 file

OpenBSD — sbin/pfctl parse.y

deny "once" flags for match rules;  ok henning
Delta File
+8 -2 sbin/pfctl/parse.y
+8 -2 1 file

OpenBSD — sys/dev/usb ums.c umass.c

Now that DVACT_DEACTIVATE is propagated to the children of a device when
a driver does not implement a specific *_activate() handler and that our
USB stack sets the dying flag before detaching a device, these specific
handlers can die.
Delta File
+11 -32 sys/dev/usb/ums.c
+4 -34 sys/dev/usb/umass.c
+5 -28 sys/dev/usb/uaudio.c
+3 -24 sys/dev/usb/ukbd.c
+23 -118 4 files

OpenBSD — sys/dev/pci if_bge.c

Fix a copy and pasto with the standard ring setup with calling if_rxr_init()
to use BGE_STD_RX_RING_CNT instead of BGE_JUMBO_RX_RING_CNT.

ok dlg@
Delta File
+2 -2 sys/dev/pci/if_bge.c
+2 -2 1 file

OpenBSD — usr.sbin/rcctl rcctl.sh

add $OpenBSD$
Delta File
+2 -0 usr.sbin/rcctl/rcctl.sh
+2 -0 1 file

OpenBSD — sys/arch/alpha/alpha in_cksum.c, sys/arch/alpha/stand/netboot if_prom.c

Kill the remaining <netinet/in_systm.h> inclusion!

OpenBSD — regress/usr.bin/mandoc/mdoc/Ar punct.in punct.out_ascii, regress/usr.bin/mandoc/mdoc/Fl Makefile punct.out_ascii

Right after .Fl, a middle delimiter triggers an empty scope,
just like a closing delimiter.  This didn't work in groff-1.15,
but it now works in groff-1.22.

After being closed by delimiters, .Nm scopes do not reopen.

Do not suppress white space after .Fl if the next node is a text node
on the same input line; that can happen for middle delimiters.

Fixing an issue reported by jmc@.

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

Make "rcctl status" output match rc.conf(8) format.

ok jasper@

OpenBSD — sys/netinet6 in6_pcb.c

Misleading comments about splnet().
Delta File
+1 -5 sys/netinet6/in6_pcb.c
+1 -5 1 file

OpenBSD — usr.sbin/arp arp.c arp.8

Change the output of arp(8) to match what ndp(8) does and include the
expire timer.

This will makes it easier to add further information in a coherent way
between these tools for local and broadcast entries.

This new view displays either symbolic names (by default) or numerical
addresses (with "-n") for hosts but not both at the same time, just
like ndp(8), route(8) or netstat(1) do.

ok henning@
Delta File
+121 -38 usr.sbin/arp/arp.c
+27 -2 usr.sbin/arp/arp.8
+148 -40 2 files

OpenBSD — usr.sbin/rcctl rcctl.8

Now that rc.conf(8) defines what a base system service, a base
system daemon, and a package daemon is, refer to it instead of
duplicating information.  While here, clean up wording.
OK ajacoutot@
Delta File
+13 -18 usr.sbin/rcctl/rcctl.8
+13 -18 1 file

OpenBSD — sys/net route.c

If an ifa has as NULL ifp pointer then is should be considered as
invalid.  When such thing happens, it means that the address is no
longer configured on the system but still referenced by some routes.
So do not return such ifa in ifa_ifwithroute().

Fix a panic reported by Pierre Bardou.

ok mikeb@, henning@
Delta File
+3 -2 sys/net/route.c
+3 -2 1 file

OpenBSD — etc/rc.d rc.subr

Drop sanitation, _rc_parse_conf does this for us already.

ok schwarze@
Delta File
+2 -6 etc/rc.d/rc.subr
+2 -6 1 file

OpenBSD — usr.sbin/rcctl rcctl.sh

If a service is disabled its flags are unconditionally set to "NO", so
there's not need to display "enabled" or "disabled" when calling "status",
we have the information already.
Delta File
+0 -1 usr.sbin/rcctl/rcctl.sh
+0 -1 1 file

OpenBSD — usr.bin/ssh ssh-keygen.c moduli.c

Free resources on error in mkstemp and fdopen

ok djm@

OpenBSD — usr.sbin/syslogd syslogd.c privsep.c

Parse loghost in a separate function.  Allow [] around hostname,
needed for IPv6 addresses.  Print full loghost specifier in case
of error or debug.  Make string sizes more precise.
input henning@; input and OK deraadt@

OpenBSD — sys/dev/pci if_nfe.c

after allocating an mbuf and cluster you still need to init the length
fields.

found by steven roberts, who also tested this fix for me
Delta File
+3 -1 sys/dev/pci/if_nfe.c
+3 -1 1 file

OpenBSD — share/man/man8 rc.conf.8

Move the examples to the EXAMPLES section and add some actual
reference manual style documentation to the DESCRIPTION.
Feedback and OK rpe@ and ajacoutot@, also using feedback from deraadt@.
Delta File
+160 -31 share/man/man8/rc.conf.8
+160 -31 1 file

OpenBSD — regress/usr.sbin Makefile

Link ospfd and syslogd regression tests to the build.
Delta File
+3 -1 regress/usr.sbin/Makefile
+3 -1 1 file

OpenBSD — regress/usr.sbin/syslogd Proc.pm funcs.pl

Run syslogd regressions tests.  As only one syslogd can run per
machine, each test kills any syslogd first.  At the end the system's
syslogd gets restarted.
The test framework runs a client, and a server, and a syslogd.  The
messages are passed via the log socket or via UDP from the client
to syslogd.  From there UDP transport is used to reach the server.
All processes write log files where the message has to show up.
The test arguments are kept in the args-*.pl files.
The content of a log file, the data sent to a pipe process and what
the server received are checked.  The invocation of the sendsyslog(2)
syscall is checked with ktrace, the open file descriptors of syslogd
are checked with fstat.

OpenBSD — usr.sbin/syslogd privsep.c syslogd.c

    Merge from vendor branch bluhm:
    Run syslogd regressions tests.  As only one syslogd can run per
    machine, each test kills any syslogd first.  At the end the system's
    syslogd gets restarted.
    The test framework runs a client, and a server, and a syslogd.  The
    messages are passed via the log socket or via UDP from the client
    to syslogd.  From there UDP transport is used to reach the server.
    All processes write log files where the message has to show up.
    The test arguments are kept in the args-*.pl files.
    The content of a log file, the data sent to a pipe process and what
    the server received are checked.  The invocation of the sendsyslog(2)
    syscall is checked with ktrace, the open file descriptors of syslogd
    are checked with fstat.
∈ bluhm - 741454fe - 2014-08-20 21:10:17
Replace gethostbyaddr(3) with getnameinfo(3).  Remove the sigprocmask()
that was necessary for gethostbyaddr() because the latter is not
signal safe.  Change the return code semantics of priv_getnameinfo()
to match getnameinfo(3).