Displaying 1 50 of 515,896 commits (0.020s)

OpenBSD — usr.sbin/amd/amd nfs_ops.c

Consistently use the extra parens in  'if ((var = hasmntval(...)))'  to
suppress compiler warnings.

Noted with gcc -Wall, then prodded by brad@ and clang
Delta File
+5 -5 usr.sbin/amd/amd/nfs_ops.c
+5 -5 1 file

OpenBSD — usr.sbin/amd/amd xutil.c util.c, usr.sbin/amd/include config.h

Replace xrealloc() with xreallocarray().  Break-out the 'log and die'
function as xmallocfailure() and use that in the locations where
reallocarray's checks alone aren't sufficient.

ok doug@ deraadt@

OpenBSD — usr.sbin/smtpd makemap.c

newaliases / makemap should parse multi-line aliases entries
Delta File
+2 -2 usr.sbin/smtpd/makemap.c
+2 -2 1 file

OpenBSD — sys/arch/sparc/conf SUN4C, sys/arch/sparc/dev qlw_sbus.c

Don't let qlw attach to non-sun4m yet, as this driver currently depends upon
sun4m's iommu for bus_dma. (Guess what task just hit my todolist...)

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

Remove vmmap; it isn't used.

ok jsing@

OpenBSD — sys/arch/sparc64/sparc64 machdep.c

uvm_km_valloc -> km_alloc

OpenBSD — sys/arch/amd64/amd64 bus_space.c, sys/arch/i386/i386 machdep.c

uvm_km_valloc -> km_alloc

ok mpi@

OpenBSD — sys/arch/sparc/conf GENERIC SUN4C

Add and enable qlw at sbus. Tested on QLGC,isp

OpenBSD — usr.bin/mandoc roff.c

With the current architecture, we can't support inline equations
inside tables, sorry.  So don't even try to parse tbl(7) blocks for
eqn(7) delimiters.
Broken table layout found in glPixelMap(3) while investigating
a bug report by Theo Buehler <theo at math dot ethz dot ch>.
Delta File
+3 -2 usr.bin/mandoc/roff.c
+3 -2 1 file

OpenBSD — usr.bin/mandoc eqn.c

Fix a NULL pointer dereference reported
by Theo Buehler <theo at math dot ethz dot ch> on tech@:
Do not attempt to parse empty equations.
Delta File
+4 -2 usr.bin/mandoc/eqn.c
+4 -2 1 file

OpenBSD — usr.bin/mandoc roff.c eqn.c

Report arguments to .EQ as an error, and simplify the code:
* drop trivial wrapper function roff_openeqn()
* drop unused first arg of function eqn_alloc()
* drop usused member "name" of struct eqn_node

OpenBSD — sys/dev/pci/drm/i915 i915_drv.c, sys/dev/pci/drm/radeon radeon_kms.c

Don't attempt to suspend/resume a partially attached drm(4) driver.
Fixes a crash upon resume with an ATI FireMV 2400 card.

ok jsg@

OpenBSD — sys/uvm uvm_stat.c

Display uvmexp.zeropages in ddb's `show uvmexp' command.
Delta File
+3 -3 sys/uvm/uvm_stat.c
+3 -3 1 file

OpenBSD — sys/kern init_main.c

Do not launch the page zeroing thread on MULTIPROCESSOR m88k systems. This
causes a deadlock between reaper and zerothread I am currently investigating.
Delta File
+2 -2 sys/kern/init_main.c
+2 -2 1 file

OpenBSD — sys/arch/hppa/dev astro.c, sys/arch/hppa64/dev astro.c

Another uvm_km_valloc(9) -> km_alloc(9) conversion.

OpenBSD — usr.bin/tmux tmux.1 format.c

Add pane_input_off format, from Anish R Athalye.
Delta File
+3 -2 usr.bin/tmux/tmux.1
+2 -1 usr.bin/tmux/format.c
+5 -3 2 files

OpenBSD — sys/compat/linux linux_socket.c

Remove unnecessary netinet/in_systm.h include.

Compiles on i386, which is the only architecture where COMPAT_LINUX is
enabled at the moment.

"If it compiles, go ahead" pirofti@
Delta File
+1 -2 sys/compat/linux/linux_socket.c
+1 -2 1 file

OpenBSD — usr.sbin/bgpd session.c, usr.sbin/dhcpd packet.c icmp.c

Remove unnecessary netinet/in_systm.h include.

ok millert@

OpenBSD — libexec/ftpd ftpd.c logutmp.c, libexec/spamlogd spamlogd.c

Remove unnecessary netinet/in_systm.h include.

ok millert@

OpenBSD — lib/libc/rpc svc_tcp.c, lib/libkvm kvm_file2.c

Remove unnecessary netinet/in_systm.h include.

ok millert@

OpenBSD — sbin/dhclient bpf.c packet.c, sbin/iked proc.c

Remove unnecessary netinet/in_systm.h include.

ok millert@
Delta File
+1 -2 sbin/dhclient/bpf.c
+1 -2 sbin/dhclient/packet.c
+1 -2 sbin/iked/proc.c
+1 -2 sbin/isakmpd/log.c
+1 -2 sbin/pfctl/parse.y
+1 -2 sbin/pfctl/pfctl_osfp.c
+3 -6 3 files not shown
+9 -18 9 files

OpenBSD — bin/systrace cradle.c

Remove unnecessary netinet/in_systm.h include.

ok millert@
Delta File
+1 -2 bin/systrace/cradle.c
+1 -2 1 file

OpenBSD — sys/dev/ic re.c, sys/dev/pci if_re_pci.c

Always put controller into known state before device intialization.

From FreeBSD

ok sthen@ chris@
Delta File
+4 -3 sys/dev/ic/re.c
+1 -2 sys/dev/pci/if_re_pci.c
+5 -5 2 files

OpenBSD — sys/arch/sparc64/sparc64 mdesc.c

Another uvm_km_valloc(9) -> km_alloc(9) conversion.
Delta File
+2 -2 sys/arch/sparc64/sparc64/mdesc.c
+2 -2 1 file

OpenBSD — sys/arch/sparc64/include vmparam.h, sys/arch/sparc64/sparc64 vm_machdep.c machdep.c

Bring phys_map to sparc64 and use it in vmapbuf(9) and vunmapbuf(9).

OpenBSD — sys/dev rnd.c

obvious sizes for free
Delta File
+3 -3 sys/dev/rnd.c
+3 -3 1 file

OpenBSD — sys/netinet tcp_input.c

Fix indentation of closing brace.
From Florian Riehm
Delta File
+2 -2 sys/netinet/tcp_input.c
+2 -2 1 file

OpenBSD — usr.sbin/amd/amd wire.c, usr.sbin/amd/doc amdref.texinfo

retire networks(5) support;
OK deraadt@

OpenBSD — usr.bin/getent getent.c getent.1

tedu networks(5) support;
OK florian@ henning@

OpenBSD — usr.bin/systat netstat.c systat.1

This tool doesn't actually support networks(5).
So remove the call to setnetent(3) which is a no-op
here (except for consuming a file descriptor)
and the call sethostent(3) which is a no-op in general.
Also remove the misleading reference to networks(5) from the manual.
OK okan@ henning@

OpenBSD — share/man/man4 divert.4

netinet/in_systm.h is not needed by the example program

pointed out by millert@
Delta File
+2 -3 share/man/man4/divert.4
+2 -3 1 file

OpenBSD — usr.bin/ftp ftp.c, usr.bin/nc netcat.c

Remove unnecessary include: netinet/in_systm.h is not needed by these
programs.

ok deraadt@ millert@

OpenBSD — distrib/miniroot install.sub dot.profile, distrib/notes m4.common

Extend autoinstall(8) feature:

- Ask for responsefile location (url or local path) if dhcp discovery
  fails for location or mode.  If 'next-server' is found in dhcp lease
  file, provide a default url http://next-server/install.conf.

- Ask for installer mode if the specified response file name does not
  match *install.conf or *upgrade.conf.

- If present, use /auto_install.conf or /auto_upgrade.conf as response
  file for unattended installation or upgrade.

- Automatically start installer in unattended mode if either one of
  these files is present when the system boots.

- Document changes in manpage and installation notes.

OK krw@ deraadt@

OpenBSD — share/man/man5 pf.conf.5

Add GRAMMAR to list of sections.

ok jmc@, deraadt@ (begrudgingly)
Delta File
+3 -1 share/man/man5/pf.conf.5
+3 -1 1 file

OpenBSD — sys/arch/sparc/sparc locore.s

Correctly mask IE_ALLIE during sun4/4c/4e NMI; from NetBSD
Delta File
+3 -3 sys/arch/sparc/sparc/locore.s
+3 -3 1 file

OpenBSD — sbin/sysctl sysctl.8

mention hw.perfpolicy; Daniel Jakots
Delta File
+3 -2 sbin/sysctl/sysctl.8
+3 -2 1 file

OpenBSD — sys/arch/hppa/hppa machdep.c locore.S

Correctly set up the HPMC trap entry: according to the PA-RISC Firmware
Architecture Reference Specification, the sum of the 8 trap entry words
*and* of the payload which address and length are to be set at well-known
positions in the aforementioned trap entry, needs to be zero; the existing
code was only enforcing that the sum of the trap entry words is zero.

This matches what Linux and NetBSD do.

ok kettenis@

OpenBSD — sys/arch/hppa/hppa locore.S

In the various desidhash_*() functions, make sure we clear the `set to clear'
bit fields with their right sizes (the L2PARERR field on PCXL processors being
4 bits wide, not 1 bit), and make comments consistent accross these functions.
ok kettenis@
Delta File
+13 -7 sys/arch/hppa/hppa/locore.S
+13 -7 1 file

OpenBSD — sys/arch/hppa/hppa machdep.c

Revert limiting physmem to 2GB; the culprit was likely in uvm and uvm has
changed a lot in the last 5 years; verified to work on a 3GB system, in
snapshots for a few weeks already.
Delta File
+1 -11 sys/arch/hppa/hppa/machdep.c
+1 -11 1 file

OpenBSD — usr.bin/netstat inet.c netstat.1

Remove networks(5) support.
In particular, do not call getnetbyaddr(3), use gethostbyaddr(3) only.
Do not call setnetent(3) and the dummy sethostent(3).
OK henning@; and deraadt@ agrees with the general direction.

OpenBSD — sys/dev/usb uvideo.c, sys/sys videoio.h

Now that gcc2 is gone revert the removal of anonymous unions, means not having to
modify various third party apps using the V4L2 API to build on OpenBSD specifically.

"I think this is the right thing to do" miod@
"Fine with me." sthen@
Delta File
+11 -11 sys/dev/usb/uvideo.c
+4 -4 sys/sys/videoio.h
+15 -15 2 files

OpenBSD — lib/libc/stdlib malloc.3

Save space in man page: err() -> errc() and combine vars.

Suggested by millert@ and schwarze@.

OK schwarze@, millert@
Delta File
+11 -18 lib/libc/stdlib/malloc.3
+11 -18 1 file

OpenBSD — distrib/sets/lists/base mi

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

OpenBSD — sys/crypto crypto.c

pools lock themselves now, we just have to tell them what IPL they
will be used from.

this adds pool_setipl at IPL_VM to the crypto descriptor pools, and
removes all the splvm handling around the use of those pools.

tested by many via tech@
ok kettenis@ deraadt@
Delta File
+4 -13 sys/crypto/crypto.c
+4 -13 1 file

OpenBSD — sys/crypto crypto.c

apply only the bit of r1.69 that should have been committed:

make the crypto taskq protect things at IPL_VM instead of IPL_HIGH.

everything else in crypto.c uses splvm/IPL_VM. it seems this IPL_HIGH
came about because the hand rolled task list and thread that crypto
used to use was converted to workqs, which unconditionally used
IPL_HIGH internally. when it was converted from workqs to tasks it
blindly ported the protection workqs gave.

tested by many via tech@ and snapshots
ok kettenis@
Delta File
+2 -2 sys/crypto/crypto.c
+2 -2 1 file

OpenBSD — sys/crypto crypto.c

revert previous. it did more than the commit message said it did.
Delta File
+14 -5 sys/crypto/crypto.c
+14 -5 1 file

OpenBSD — share/man/man9 bemtoh32.9, sys/arch/powerpc/include endian.h

make [bl]emtoh{16,32,64} take volatile const foo *, not volatile foo *

while in the manpage add volatile where the code has it too.

ok miod@ guenther@

OpenBSD — usr.bin/sed sed.1

make the description of the syntax of function lists agree
with our actual implementation, which also agrees with POSIX;
triggered by guenther@'s answer to a question from chrisz@;
ok chrisz@ guenther@
Delta File
+4 -9 usr.bin/sed/sed.1
+4 -9 1 file

OpenBSD — usr.bin/tmux key-bindings.c window-choose.c

Fix some spacing nits.

OpenBSD — usr.bin/tmux cmd-unlink-window.c cmd-kill-window.c

Merge unlink-window into kill-window.