Displaying 1 50 of 395,940 commits (0.094s)

OpenBSD — sys/arch/vax/if sgec.c

Convert to if_input(), tested by miod@
Delta File
+4 -7 sys/arch/vax/if/sgec.c
+4 -7 1 file

OpenBSD — usr.sbin/rcctl rcctl.sh

Add comment.
Delta File
+4 -1 usr.sbin/rcctl/rcctl.sh
+4 -1 1 file

OpenBSD — usr.sbin/rcctl rcctl.sh

Add rcctl_err() which is a wrapper for _rc_err() with common rcctl(8) verbiage.
Add some explicit error messages while here.

Prefer cat over cp/mv to edit rc.conf.local; this prevents creating
rc.conf.local with mode 0600.
Delta File
+29 -18 usr.sbin/rcctl/rcctl.sh
+29 -18 1 file

OpenBSD — etc/rc.d rc.subr

_rc_err(): only display error message if there's an actual one.
Remove an exit() statement that could never be reached.
Delta File
+2 -3 etc/rc.d/rc.subr
+2 -3 1 file

OpenBSD — usr.sbin/ntpd util.c client.c

Avoid overflow on 32-bit time_t systems converting timeval to NTP time.

Original fix from Romuald Delavergne. ok henning@
Delta File
+6 -3 usr.sbin/ntpd/util.c
+2 -2 usr.sbin/ntpd/client.c
+8 -5 2 files

OpenBSD — distrib/miniroot install.sub install.sh

- Start comments with capital letters.
- End comments with a full stop.

OK krw@

OpenBSD — distrib/miniroot install.sub

Tame the more than 70 functions in install.sub.
Regroup them by their purpose and add section headers.

go for it halex@, OK krw@
Delta File
+1,055 -1,016 distrib/miniroot/install.sub
+1,055 -1,016 1 file

OpenBSD — etc/examples man.conf, usr.bin/mandoc term_ascii.c html.c

Actually use the new man.conf(5) "output" directive.
Additional functionality, yet minus 45 lines of code.
Delta File
+22 -49 usr.bin/mandoc/term_ascii.c
+10 -29 usr.bin/mandoc/html.c
+10 -23 usr.bin/mandoc/term_ps.c
+17 -10 usr.bin/mandoc/main.h
+21 -1 usr.bin/mandoc/man.conf.5
+10 -9 usr.bin/mandoc/main.c
+16 -8 2 files not shown
+106 -129 8 files

OpenBSD — share/man/man4 hme.4

in SEE ALSO, refer to the relevant phy rather than similar devices;
Delta File
+3 -5 share/man/man4/hme.4
+3 -5 1 file

OpenBSD — share/man/man4 hme.4

Fix the `don't you dare putting an hme in a sun4c' message: it's not a PROM
limitation, but rather the lack of an sbus iommu and a small sbus slot aperture
(thus *system* limitations) which prevent hme to work on such systems.
Delta File
+4 -4 share/man/man4/hme.4
+4 -4 1 file

OpenBSD — distrib/notes/luna88k install, distrib/notes/sparc install

Missing `unattended installation' chunk.

OpenBSD — distrib/notes/sparc install prep, distrib/notes/sparc64 install prep

Remove `installing from SunOS' and `installing from Solaris' instructions.
They are much more troublesome than using the miniroot, and if you're actually
still running a SunOS setup in 2015, then you're me, and you don't need to be
told this information anyway.

Do not suggest disks might be shared between OpenBSD and SunOS or Solaris
anymore. This is just asking for trouble.

OpenBSD — distrib/notes/sparc install

Fix horrible typo in the sun4e netboot instructions causing them to be
Delta File
+2 -2 distrib/notes/sparc/install
+2 -2 1 file

OpenBSD — sys/arch/sparc/include pmap.h vmparam.h, sys/arch/sparc/sparc pmap.c machdep.c

Lower VM_MIN_KERNEL_ADDRESS by 128MB on non-SRMMU systems (sun4/4c/4e) as well,
in order to give these systems a more reasonable amount of kva, yet still
providing .75GB to userland processes.

Although there is no dependency upon a recent boot loader on non-SRMMU systems,
SMALL_KERNEL will nevertheless stick to the legacy kvm layout, for the time

OpenBSD — sys/dev/usb if_ugl.c

Convert to if_input().

Tested by and ok uaa@
Delta File
+6 -19 sys/dev/usb/if_ugl.c
+6 -19 1 file

OpenBSD — sys/dev/usb if_url.c

simply do if_input() between splnet() and splx(), like other drivers
(such as if_udav.c).

ok by mpi@
Delta File
+4 -6 sys/dev/usb/if_url.c
+4 -6 1 file

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

Move man.conf from /etc to /etc/examples, deleting what's no longer supported.
Discussed with many and OK ajacoutot@.

OpenBSD — usr.bin/mandoc manpath.c manconf.h

Parse the new man.conf(5) "output" directive.
The next step will be to actually use the parsed data.
Delta File
+96 -25 usr.bin/mandoc/manpath.c
+51 -0 usr.bin/mandoc/manconf.h
+23 -23 usr.bin/mandoc/mandocdb.c
+0 -34 usr.bin/mandoc/manpath.h
+13 -11 usr.bin/mandoc/main.c
+4 -4 usr.bin/mandoc/cgi.c
+6 -6 2 files not shown
+193 -103 8 files

OpenBSD — usr.bin/mandoc mandoc.1

refering -> referring;
Delta File
+2 -2 usr.bin/mandoc/mandoc.1
+2 -2 1 file

OpenBSD — usr.bin/mandoc mandoc.1 main.c

Modernize documentation by inserting blanks between option letters
and option arguments, except for -m because "-m an" and "-m andoc"
look just too weird.  Of course, the traditional form without the
blank will continue to work.
Delta File
+55 -58 usr.bin/mandoc/mandoc.1
+4 -4 usr.bin/mandoc/main.c
+59 -62 2 files

OpenBSD — sbin/fdisk part.c disk.c

Wrap some annoying long lines.
Delta File
+11 -6 sbin/fdisk/part.c
+3 -2 sbin/fdisk/disk.c
+14 -8 2 files

OpenBSD — sbin/fdisk part.c

Use DOSACTIVE define instead of magic number 0x80.
Delta File
+2 -2 sbin/fdisk/part.c
+2 -2 1 file

OpenBSD — usr.bin/mandoc man.conf.5

various tweaks, including one from ingo;
ok schwarze
Delta File
+19 -26 usr.bin/mandoc/man.conf.5
+19 -26 1 file

OpenBSD — bin/ksh sh.1

clarity fix from zhuk;
Delta File
+4 -4 bin/ksh/sh.1
+4 -4 1 file

OpenBSD — libexec/security security

In mount(8) output, do not misparse lines where fs_spec ends with the
two characters "on", which can for example happen for NFS mounts.
Patch from Lauri Tirkkonen <lotheac at iki dot fi> on bugs@.
Delta File
+2 -2 libexec/security/security
+2 -2 1 file

OpenBSD — libexec/security security

If /etc/passwd contains incomplete lines ending before the
home directory field, warn explicitly rather than stumbling
into Perl "uninitialized value" warnings.
Issue reported by Denis Lapshin <deniza at mindall dot org>.
OK afresh1@
Delta File
+12 -3 libexec/security/security
+12 -3 1 file

OpenBSD — lib/libssl/src/ssl d1_clnt.c s3_clnt.c

Factor out the init_buf initialisation code, rather than duplicating it
in four different places.

ok doug@ guenther@

OpenBSD — lib/libssl/src/ssl ssl_lib.c

BUF_MEM_free() has its own explicit NULL check.
Delta File
+6 -9 lib/libssl/src/ssl/ssl_lib.c
+6 -9 1 file

OpenBSD — usr.bin/awk lib.c

Don't display empty error context.

Context extraction didn't handle this case and showed uninitialized memory.

ok tobias, miod
Delta File
+3 -2 usr.bin/awk/lib.c
+3 -2 1 file

OpenBSD — share/man/man5 port-modules.5

x11/gtk+2,-guic -> x11/gtk+3,-guic
Delta File
+4 -4 share/man/man5/port-modules.5
+4 -4 1 file

OpenBSD — usr.sbin/identd identd.c

f the parent builts up a list of replies for the child, it helps
to readd the write event if there's still items on the list.

this lets things that do a lot of requests in parallel (like npm)
work betterer through a squid proxy using ident for auth.

ok jmatthew@
Delta File
+4 -1 usr.sbin/identd/identd.c
+4 -1 1 file

OpenBSD — usr.bin/vi/cl cl_bsd.c, usr.bin/vi/common gs.h line.c

Some vi cleanup, unifdef's some signal blocking code that has never been
enabled in our tree, also removes some stragglers from a global struct
referencing nonexistent Tcl/TK and "IP support". And finally.. deletes
an empty file missed by earlier cleanup by bentley@.

Inspired by and ok bcallah@
Delta File
+1 -21 usr.bin/vi/common/gs.h
+1 -9 usr.bin/vi/common/line.c
+1 -4 usr.bin/vi/common/exf.c
+1 -4 usr.bin/vi/common/recover.c
+0 -0 usr.bin/vi/cl/cl_bsd.c
+4 -38 5 files

OpenBSD — share/man/man1 help.1 Makefile, usr.bin Makefile

Move help(1) to share/man and send the remains of man(1) to the Attic.
It is implemented by the code in usr.bin/mandoc since OpenBSD 5.7.
Delta File
+0 -939 usr.bin/man/man.c
+0 -393 usr.bin/man/man.1
+0 -225 usr.bin/man/man.conf.5
+191 -0 share/man/man1/help.1
+0 -191 usr.bin/man/help.1
+0 -154 usr.bin/man/config.c
+4 -100 5 files not shown
+195 -2,002 11 files

OpenBSD — share/man/man7 mandoc_char.7

Document that certain stand-alone accents need escaping in rare cases to
prevent them from being converted to Unicode replacements in PDF output.
Issue found by bentley@, OK jmc@ bentley@.
Delta File
+25 -3 share/man/man7/mandoc_char.7
+25 -3 1 file

OpenBSD — usr.bin/man Makefile, usr.bin/mandoc man.conf.5 Makefile

Strip information that no longer applies and document new "manpath" directive.
jmc@ agrees with the general direction (but hasn't seen this draft;
let's tweak it in the tree).

OpenBSD — usr.bin/mandoc manpath.c

Add a new directive "manpath path"
to replace the legacy "_whatdb path/whatis.db".
Keep _whatdb support for backward compat, for now.
Discussed with many, jmc@ and ajacoutot@ agree with the general direction.
Delta File
+42 -26 usr.bin/mandoc/manpath.c
+42 -26 1 file

OpenBSD — usr.sbin/pkg_add/OpenBSD Signature.pm PkgAdd.pm

Backout -DSHORTENED semantics by default for now, because it caused
too much problems with the recent changes to net/libnet (in combination
with security/dsniff); the PKGSPEC changes. Some more suspicious
pudate problems mentioned by landry@.

ok sthen@

OpenBSD — usr.bin/tail read.c

Whitespace fix: Closing bracket belongs to if-block, not enclosing for
Delta File
+2 -2 usr.bin/tail/read.c
+2 -2 1 file

OpenBSD — usr.bin/nc netcat.c

The code in socks.c writes multiple times in a row to a socket. If the
socket becomes invalid between these calls (e.g. connection closed), write
will throw SIGPIPE. With this patch, SIGPIPE is ignored so we can
handle write's -1 return value (errno will be EPIPE). Ultimately, it leads
to program exit, too -- but with nicer error message. :)

with input by and ok djm
Delta File
+6 -3 usr.bin/nc/netcat.c
+6 -3 1 file

OpenBSD — usr.bin/nc socks.c

Fix error message in case of write failure.

ok djm
Delta File
+3 -3 usr.bin/nc/socks.c
+3 -3 1 file

OpenBSD — usr.sbin/hostapd hostapd.8 hostapd.conf.5, usr.sbin/ntpd ntpd.8 ntpd.conf.5

do not encourage random uppercasing;

OpenBSD — sbin/fdisk misc.c cmd.c

Adapt ask_string() from disklabel's getstring(). It will be used
to obtain GPT partition names. Tweak ask_pid() to take low/high
bounds so it can handle 1-ff (MBR) or 1000-ffff (GPT) partition
pids as required. A pid of '0' is still special and disables the

No visible or intentional functional change.
Delta File
+34 -3 sbin/fdisk/misc.c
+3 -3 sbin/fdisk/cmd.c
+3 -2 sbin/fdisk/misc.h
+40 -8 3 files

OpenBSD — bin/ksh sh.1

a little wording tweak;
Delta File
+2 -2 bin/ksh/sh.1
+2 -2 1 file

OpenBSD — bin/ksh sh.1

various fixes from rpe;
Delta File
+6 -6 bin/ksh/sh.1
+6 -6 1 file

OpenBSD — sbin/iked crypto.c ikev2.c

initial support for RFC 7427 signatures, so we are no longer
restricted to SHA1 for RSA signatures. ok mikeb@

OpenBSD — usr.bin/ssh authfd.c

sigp and lenp are not optional in ssh_agent_sign(); ok djm@
Delta File
+4 -7 usr.bin/ssh/authfd.c
+4 -7 1 file

OpenBSD — usr.sbin/httpd httpd.8 httpd.conf.5

pointers to slowcgi(8); from alexei malinin

OpenBSD — sys/arch/sparc/dev obio.c

Delta File
+14 -14 sys/arch/sparc/dev/obio.c
+14 -14 1 file

OpenBSD — sbin/fdisk misc.c misc.h

Allow input/printing/conversion of terabyte sizes. Which GPT partitons
will eventually be able to use.
Delta File
+10 -8 sbin/fdisk/misc.c
+2 -2 sbin/fdisk/misc.h
+12 -10 2 files

OpenBSD — usr.bin/rcs xmalloc.c

Use the (new) function name in errx() after its rename in r1.6.

ok bcallah@
Delta File
+2 -2 usr.bin/rcs/xmalloc.c
+2 -2 1 file