CVS commit: src/libexec/ld.elf_so

2019-04-14 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Mon Apr 15 06:42:06 UTC 2019

Modified Files:
src/libexec/ld.elf_so: ld.elf_so.1

Log Message:
Typo: s/a indirection/an indirection/


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/libexec/ld.elf_so/ld.elf_so.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/hppa/hppa

2019-04-14 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Apr 15 06:16:42 UTC 2019

Modified Files:
src/sys/arch/hppa/hppa: vm_machdep.c

Log Message:
Trailing whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/arch/hppa/hppa/vm_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/ic

2019-04-14 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Mon Apr 15 06:00:04 UTC 2019

Modified Files:
src/sys/dev/ic: dwc_gmac.c

Log Message:
Protect ether_multi list

Fix this driver because it can set IFEF_MPSAFE.


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/dev/ic/dwc_gmac.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2019-04-14 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Apr 15 03:58:29 UTC 2019

Modified Files:
src/sys/kern: uipc_socket.c

Log Message:
If the compat code successfully handled an option, don't return an error.


To generate a diff of this commit:
cvs rdiff -u -r1.276 -r1.277 src/sys/kern/uipc_socket.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2019-04-14 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Apr 15 02:35:28 UTC 2019

Modified Files:
src/sys/kern: uipc_socket.c

Log Message:
Actually update the timeout value for the compability sockops


To generate a diff of this commit:
cvs rdiff -u -r1.275 -r1.276 src/sys/kern/uipc_socket.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2019-04-14 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Apr 15 02:07:11 UTC 2019

Modified Files:
src/sys/compat/common: compat_50_mod.c compat_mod.h files.common
src/sys/kern: compat_stub.c uipc_socket.c
src/sys/modules/compat_50: Makefile
src/sys/sys: compat_stub.h
Added Files:
src/sys/compat/common: kern_uipc_socket_50.c

Log Message:
Split the COMPAT_50 socket-timeout stuff out of kern/uipc_socket.c
and into its own source file, which is now included in the compat_50
module.

(Not sure how this got missed during the original [pgoyette-compat] work)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/compat/common/compat_50_mod.c \
src/sys/compat/common/files.common
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/common/compat_mod.h
cvs rdiff -u -r0 -r1.1 src/sys/compat/common/kern_uipc_socket_50.c
cvs rdiff -u -r1.8 -r1.9 src/sys/kern/compat_stub.c
cvs rdiff -u -r1.274 -r1.275 src/sys/kern/uipc_socket.c
cvs rdiff -u -r1.3 -r1.4 src/sys/modules/compat_50/Makefile
cvs rdiff -u -r1.11 -r1.12 src/sys/sys/compat_stub.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/libexec/ld.elf_so

2019-04-14 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Apr 14 22:09:50 UTC 2019

Modified Files:
src/libexec/ld.elf_so: ld.elf_so.1

Log Message:
Use more Dv.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/libexec/ld.elf_so/ld.elf_so.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/libexec/ld.elf_so

2019-04-14 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sun Apr 14 20:27:02 UTC 2019

Modified Files:
src/libexec/ld.elf_so: ld.elf_so.1

Log Message:
Note that we now search DT_RUNPATH paths as well.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/libexec/ld.elf_so/ld.elf_so.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libc/arch/riscv/gdtoa

2019-04-14 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sun Apr 14 19:25:27 UTC 2019

Modified Files:
src/lib/libc/arch/riscv/gdtoa: gd_qnan.h

Log Message:
Provide a definition of quiet NaN for RISC-V, and a reference to where
it comes from.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/arch/riscv/gdtoa/gd_qnan.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/libexec/ld.elf_so

2019-04-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Apr 14 19:21:37 UTC 2019

Modified Files:
src/libexec/ld.elf_so: rtld.c

Log Message:
undo previous unlock/relock; it is not needed now that we added the tls model
declaration to all externs in jemalloc (suggested by joerg@)


To generate a diff of this commit:
cvs rdiff -u -r1.196 -r1.197 src/libexec/ld.elf_so/rtld.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/jemalloc/include/jemalloc/internal

2019-04-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Apr 14 19:13:18 UTC 2019

Modified Files:
src/external/bsd/jemalloc/include/jemalloc/internal:
tsd_malloc_thread_cleanup.h tsd_tls.h

Log Message:
Declare the tls model in external declarations. Pointed out by joerg.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \

src/external/bsd/jemalloc/include/jemalloc/internal/tsd_malloc_thread_cleanup.h 
\
src/external/bsd/jemalloc/include/jemalloc/internal/tsd_tls.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/ffs

2019-04-14 Thread Frank Kardel
Module Name:src
Committed By:   kardel
Date:   Sun Apr 14 15:55:24 UTC 2019

Modified Files:
src/sys/ufs/ffs: ffs_alloc.c

Log Message:
PR/53990, PR/52380, PR/52102: UFS2 cylinder group inode allocation botch

Fix rare allocation botch in ffs_nodealloccg().

Conditions:
   a) less than
#_of_initialized_inodes(cg->cg_initediblk)
- inodes_per_filesystem_block
  are allocated in the cylinder group
   b) cg->cg_irotor points to a uninterupted run of
  allocated inodes in the inode bitmap up to the
  end of dynamically initialized inodes
  (cg->cg_initediblk)

In this case the next inode after this run was returned
without initializing the respective inode block. As the
block is not initialized these inodes could trigger panics
on inode consistency due to old (uninitialized) disk data.

In very rare cases data loss could occur when
the uninitialized inode block is initialized via the
normal mechanism.
Further conditions to occur after the above:
   c) no panic
   d) no (forced) fsck
   e) and more than cg->cg_initediblk - inodes_per_filesystem_block
  allocated inodes.

Fix:
Always insure allocation always in initialized inode range
extending the initialized inode range as needed.

Add KASSERTMSG() safeguards.

ok hannken@


To generate a diff of this commit:
cvs rdiff -u -r1.163 -r1.164 src/sys/ufs/ffs/ffs_alloc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/common

2019-04-14 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Apr 14 11:35:54 UTC 2019

Modified Files:
src/sys/compat/common: vnd_50.c

Log Message:
Only need to #include sys/vnode.h once


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/common/vnd_50.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2019-04-14 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sun Apr 14 09:09:55 UTC 2019

Modified Files:
src/sys/kern: uipc_socket.c

Log Message:
Add more checks, if the values are negative we hit a KASSERT later in the
timeout.

Reported-by: syzbot+662dbeb526303f458...@syzkaller.appspotmail.com


To generate a diff of this commit:
cvs rdiff -u -r1.273 -r1.274 src/sys/kern/uipc_socket.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/hppa/hppa

2019-04-14 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Apr 14 08:23:20 UTC 2019

Modified Files:
src/sys/arch/hppa/hppa: trap.S

Log Message:
Trailing whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/arch/hppa/hppa/trap.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/makemandb

2019-04-14 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Sun Apr 14 07:59:56 UTC 2019

Modified Files:
src/usr.sbin/makemandb: apropos-utils.c

Log Message:
Set the snippet_length field of the callback_args

Because of this field not being set, apropos was failing to show snippet when 
piped to a pager
or when used with -p argument.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/usr.sbin/makemandb/apropos-utils.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/evbarm/conf

2019-04-14 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Apr 14 07:57:51 UTC 2019

Modified Files:
src/sys/arch/evbarm/conf: mk.generic

Log Message:
Create a RPI compatible image which cn be used with

kernel_address=0x1040

in config.txt.

XXX alignment requirement needs fixing


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/evbarm/conf/mk.generic

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.