Displaying 1 50 of 176,423 commits (0.017s)

OpenBSD — sys/arch/arm/arm bus_dma.c, sys/arch/arm/include bus.h

Implement bus dma support for loading raw mappings so that we can use
xhci(4) on ARM.  The only way the load raw operation can get to know
about the coherent flag is via the segments.  Store it there when the
memory is initially mapped.  Also store the virtual address which we
need to know when we have to flush the caches on a non-coherent mapping.

ok kettenis@

OpenBSD — sys/arch/armv7/sunxi sxipio_pins.h sxipio.c

Add support for the Allwinner H3 (sun8i-h3).

OpenBSD — sys/arch/arm/arm bus_dma.c

Since the caller already checks and handles COHERENT we don't need
to explicitly check for the flag.

ok kettenis@
Delta File
+4 -7 sys/arch/arm/arm/bus_dma.c
+4 -7 1 file

OpenBSD — usr.sbin/pkg_add/OpenBSD PkgCheck.pm

grrr warning

OpenBSD — sys/arch/arm/arm pmap7.c

Remove cpu_cpwait() calls; they are no-ops on armv7.

ok tom@
Delta File
+2 -14 sys/arch/arm/arm/pmap7.c
+2 -14 1 file

OpenBSD — usr.bin/openssl apps.c

Repeated occurances of the idiom buf[5][BUFSIZ] -- ridiculous.  Give each
buf a special name, recognize that most are PATH_MAX, and remove a few that
are not needed at all.
ok jsing beck
Delta File
+87 -86 usr.bin/openssl/apps.c
+87 -86 1 file

OpenBSD — regress/sbin/newfs Makefile

Make regress Makefile consistent with other tests, use bsd.regress.mk.
OK otto@
Delta File
+7 -3 regress/sbin/newfs/Makefile
+7 -3 1 file

OpenBSD — usr.sbin/httpd proc.c httpd.c

Kill the ps_ninstances from proc.c.

We got the same information in ps_instances[proc] (more accurate) and
we avoid allocating unnecessary memory for pipe storage.

ok reyk@

OpenBSD — sys/arch/arm/arm pmap7.c cpuswitch7.S, sys/arch/arm/include pmap.h

Remove the code that switches around MMU domains on armv7.  MMU domains are
basically a relic from the past.  Using them doesn't make a lot of sense
the way our pmaps work.  Support for MMU domains isn't present in
long-descriptor translation table format, so it is clearly on its way out.

Based on a diff from Artituri Alm.

ok patrick@

OpenBSD — usr.sbin/httpd server.c logger.c

Replace the static env variables with a single global variable.

ok reyk@

OpenBSD — usr.bin/systat cache.c

Pull in <time.h> for time()

ok deraadt@
Delta File
+2 -1 usr.bin/systat/cache.c
+2 -1 1 file

OpenBSD — usr.bin/rcs rcsnum.c diff3.c

Pull in <time.h> for struct tm, used in rcs.h

ok deraadt@
Delta File
+3 -2 usr.bin/rcs/rcsnum.c
+2 -1 usr.bin/rcs/diff3.c
+2 -1 usr.bin/rcs/ident.c
+2 -1 usr.bin/rcs/merge.c
+2 -1 usr.bin/rcs/rcsclean.c
+2 -1 usr.bin/rcs/rcsmerge.c
+8 -4 4 files not shown
+21 -11 10 files

OpenBSD — usr.bin/kdump ktrstruct.c

Pull in <sys/select.h> for fd_set

ok deraadt@
Delta File
+2 -1 usr.bin/kdump/ktrstruct.c
+2 -1 1 file

OpenBSD — usr.bin/file magic-test.c

Pull in <time.h> for ctime_r, gmtime, etc

ok deraadt@
Delta File
+2 -1 usr.bin/file/magic-test.c
+2 -1 1 file

OpenBSD — libexec/talkd table.c

Pull in <sys/time.h> for gettimeofday()

ok deraadt@
Delta File
+2 -1 libexec/talkd/table.c
+2 -1 1 file

OpenBSD — sys/arch/armv7/sunxi sxiccmu.c

Remove unused prototype for sxiccmu_enablemodule().

ok kettenis
Delta File
+1 -2 sys/arch/armv7/sunxi/sxiccmu.c
+1 -2 1 file

OpenBSD — lib/libc/crypt bcrypt.c

Pull in <time.h> for clock_gettime()

ok deraadt@
Delta File
+2 -1 lib/libc/crypt/bcrypt.c
+2 -1 1 file

OpenBSD — sys/kern uipc_usrreq.c

The *_HEAD_INITIALIZER() macros are documented as taking the struct,
not a pointer to it
Delta File
+3 -3 sys/kern/uipc_usrreq.c
+3 -3 1 file

OpenBSD — sys/kern clock_subr.c

Pull in <sys/time.h> for clock_ymdhms bits

ok deraadt@
Delta File
+2 -1 sys/kern/clock_subr.c
+2 -1 1 file

OpenBSD — libexec/ftpd ftpd.c ftpcmd.y

trim down some NBBY references. 8 bits ought to be enough for anyone.
Delta File
+2 -6 libexec/ftpd/ftpd.c
+3 -3 libexec/ftpd/ftpcmd.y
+5 -9 2 files

OpenBSD — sbin/isakmpd transport.h

Pull in <sys/select.h> for fd_set

ok deraadt@
Delta File
+2 -1 sbin/isakmpd/transport.h
+2 -1 1 file

OpenBSD — sbin/pfctl pfctl_parser.c parse.y

Add <time.h> for time(); sort <*.h> includes

ok deraadt@
Delta File
+9 -8 sbin/pfctl/pfctl_parser.c
+2 -2 sbin/pfctl/parse.y
+11 -10 2 files

OpenBSD — sbin/route route.c

Add <time.h> for time() and ctime(); sort <net*/*.h>

ok deraadt@
Delta File
+5 -3 sbin/route/route.c
+5 -3 1 file

OpenBSD — bin/md5 md5.c

Pull in <sys/time.h> for gettimeofday()
Delta File
+2 -1 bin/md5/md5.c
+2 -1 1 file

OpenBSD — bin/pax ar_subs.c gen_subs.c

Need <time.h> for time() and others.  Pulled in by coincidence previously

noted by tb@
Delta File
+2 -1 bin/pax/ar_subs.c
+2 -1 bin/pax/gen_subs.c
+4 -2 2 files

OpenBSD — bin/pax pax.1 options.c

-E NONE has *never* worked; it was always -E none.  It's a dubious option
value that merits a warning in the manpage and using 2 billion will get
you practically the same effect, so delete the -E none support
Delta File
+2 -16 bin/pax/pax.1
+6 -10 bin/pax/options.c
+8 -26 2 files

OpenBSD — bin/pax options.h options.c

options.h is only used by options.c; merge it into the .c file
reduce and sort #includes
Delta File
+0 -113 bin/pax/options.h
+83 -9 bin/pax/options.c
+83 -122 2 files

OpenBSD — bin/pax ar_io.c ar_subs.c

reduce and sort #includes
Delta File
+7 -8 bin/pax/ar_io.c
+5 -6 bin/pax/ar_subs.c
+12 -14 2 files

OpenBSD — bin/pax tables.h tables.c

tables.h is only used by tables.c; merge it into the .c file
<sys/time.h> is unnecessary; sort the #includes
Delta File
+0 -165 bin/pax/tables.h
+132 -5 bin/pax/tables.c
+132 -170 2 files

OpenBSD — bin/pax tty_subs.c

<sys/time.h>, <errno.h>, and <stdlib.h> are unnecessary; sort #includes
Delta File
+4 -6 bin/pax/tty_subs.c
+4 -6 1 file

OpenBSD — bin/pax sel_subs.h sel_subs.c

sel_subs.h is only used by sel_subs.c; merge it into the .c file
<sys/time.h> and <unistd.h> are unnecessary, but <time.h> is; sort #includes
Delta File
+0 -72 bin/pax/sel_subs.h
+38 -4 bin/pax/sel_subs.c
+38 -76 2 files

OpenBSD — bin/pax pat_rep.h pat_rep.c

pat_rep.h is only used by pat_rep.c; merge it into the .c file
<sys/time.h>, <errno.h> and <unistd.h> are unnecessary; sort #includes
Delta File
+0 -49 bin/pax/pat_rep.h
+16 -7 bin/pax/pat_rep.c
+16 -56 2 files

OpenBSD — bin/pax ftree.h ftree.c

ftree.h is only used by ftree.c; merge it into the .c file
<sys/time.h> is unnecessary; sort #includes
Delta File
+0 -51 bin/pax/ftree.h
+19 -7 bin/pax/ftree.c
+19 -58 2 files

OpenBSD — bin/pax file_subs.c buf_subs.c

Don't need <sys/time.h> or "options.h" here

OpenBSD — bin/pax cache.h cache.c

cache.h is only used by cache.c; merge it into the .c file
<unistd.h> and <sys/time.h> are unneeded here

ok by general acclaim
Delta File
+0 -71 bin/pax/cache.h
+40 -7 bin/pax/cache.c
+40 -78 2 files

OpenBSD — sys/dev/pci vmwpvs.c

correct INTR_MSG_MASK to include INTR_MSG_1
ok dlg@
Delta File
+2 -2 sys/dev/pci/vmwpvs.c
+2 -2 1 file

OpenBSD — usr.bin/ssh servconf.c

add a sIgnore opcode that silently ignores options and use it to
suppress noisy deprecation warnings for the Protocol directive.

req henning, ok markus
Delta File
+9 -12 usr.bin/ssh/servconf.c
+9 -12 1 file

OpenBSD — usr.bin/ssh readconf.c

remove superfluous NOTREACHED comment
Delta File
+1 -2 usr.bin/ssh/readconf.c
+1 -2 1 file

OpenBSD — regress/usr.sbin/relayd args-http-slow-consumer.pl

Set relayd socket buffer size to reasonable value to make test pass
in different environments.

OpenBSD — regress/usr.sbin/relayd args-http-slow-consumer.pl Server.pm

Make relayd test slow-consumer more reliable.  Set SO_SNDTIMEO
sockopt correctly with Perl pack on i386.  Make it possible to grep
in each others client and server logfile.  Client does not simply
sleep but waits for short write at server.

OpenBSD — lib/libc/stdio fgetln.c

After read errors, fgetln(3) sometimes succeeded (returning non-NULL)
and failed (setting errno and ferror(3)) both at the same time.
That's a bad idea in general, and here in particular since
returning partial lines was neither reliable (sometimes, you
got NULL anyway) nor predictable (almost always, the line would
be truncated long before the actual read error).
Instead, on read failure, fail properly and always return NULL.
Issue found in a discussion with Andrey Chernov <ache at freebsd dot org>
who finally agreed to move FreeBSD into the same direction.
The fix is joint work with and OK by millert@.
Delta File
+6 -3 lib/libc/stdio/fgetln.c
+6 -3 1 file

OpenBSD — regress/sys/kern/sosplice/error args-idle-EINVAL.pl args-max-EINVAL.pl

Fix sosplice tests on 32 bit systems by putting the correct number
of bytes into the time_t Perl pack template.  Also fix error messages.

OpenBSD — usr.sbin/pkg_add pkg_check.8, usr.sbin/pkg_add/OpenBSD PkgCheck.pm

-F before -f (as -I before -i currently is...);

OpenBSD — sys/netinet6 nd6_rtr.c

Remove a check to expire received prefix.

This check does not make sense since November 2000 when IPv6 autoconf
address deletion has been made independent from prefix lifetimes.

Fix a case when a route was added to the table but the corresponding
address was not, leaving v6 unusable.

Found the hardway by and ok sthen@
Delta File
+1 -14 sys/netinet6/nd6_rtr.c
+1 -14 1 file

OpenBSD — usr.bin/grep util.c

when using -o, we may restart a match in the middle of the line.
set NOTBOL so that anchored patterns don't match.
from a patch by Daniël de Kok in freebsd bug 201650
ok martijn
Delta File
+14 -5 usr.bin/grep/util.c
+14 -5 1 file

OpenBSD — usr.sbin/pkg_add pkg_check.8, usr.sbin/pkg_add/OpenBSD PkgCheck.pm

make the full filesystem check optional, by popular demand.
doubling -q removes the plist thorough check.

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

Amend after clean-up of fortran.port.mk
Delta File
+2 -4 share/man/man5/port-modules.5
+2 -4 1 file

OpenBSD — usr.bin/openssl openssl.1

shorten the pkeyutl text;
help/ok guenther
Delta File
+40 -83 usr.bin/openssl/openssl.1
+40 -83 1 file

OpenBSD — sys/kern uipc_socket.c, sys/sys socketvar.h

Spliced TCP sockets become faster when the output part is running
as its own task thread.  This is inspired by userland copy where a
process also has to go through the scheduler.  This gives the socket
buffer a chance to be filled up and tcp_output() is called less
often and with bigger chunks.
When two kernel tasks share all the workload, the current scheduler
implementation will hang userland processes on single cpu machines.
As a workaround put a yield() into the splicing thread after each
task execution.  This reduces the number of calls of tcp_output()
even more.
OK tedu@ mpi@
Delta File
+48 -9 sys/kern/uipc_socket.c
+3 -1 sys/sys/socketvar.h
+51 -10 2 files

OpenBSD — sys/kern uipc_socket.c

Completely revert the M_WAIT change on the cluster allocation and
bring back the behaviour of rev 1.72.  Although allocating small
mbufs when allocating an mbuf cluster fails seems suboptimal, this
should not be changed as a side effect when introducing m_getuio().
OK claudio@
Delta File
+5 -9 sys/kern/uipc_socket.c
+5 -9 1 file