CVS commit: src

2015-12-03 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Dec  3 10:38:21 UTC 2015

Modified Files:
src/distrib/sets/lists/modules: ad.arm ad.mips md.amd64
src/sys/compat/netbsd32: netbsd32_compat_10.c netbsd32_compat_14.c
netbsd32_compat_50.c netbsd32_ipc.c syscalls.master
src/sys/modules: Makefile
src/sys/modules/compat_netbsd32: Makefile
Added Files:
src/sys/compat/netbsd32: netbsd32_compat_50_sysv.c
src/sys/modules/compat_netbsd32_sysvipc: Makefile

Log Message:
Split out the SYSV IPC stuff into its own compat_netbsd32_sysvipc
module.  Adjust dependencies as needed.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/distrib/sets/lists/modules/ad.arm \
src/distrib/sets/lists/modules/ad.mips
cvs rdiff -u -r1.65 -r1.66 src/distrib/sets/lists/modules/md.amd64
cvs rdiff -u -r1.24 -r1.25 src/sys/compat/netbsd32/netbsd32_compat_10.c
cvs rdiff -u -r1.21 -r1.22 src/sys/compat/netbsd32/netbsd32_compat_14.c
cvs rdiff -u -r1.31 -r1.32 src/sys/compat/netbsd32/netbsd32_compat_50.c
cvs rdiff -u -r0 -r1.1 src/sys/compat/netbsd32/netbsd32_compat_50_sysv.c
cvs rdiff -u -r1.17 -r1.18 src/sys/compat/netbsd32/netbsd32_ipc.c
cvs rdiff -u -r1.111 -r1.112 src/sys/compat/netbsd32/syscalls.master
cvs rdiff -u -r1.161 -r1.162 src/sys/modules/Makefile
cvs rdiff -u -r1.17 -r1.18 src/sys/modules/compat_netbsd32/Makefile
cvs rdiff -u -r0 -r1.1 src/sys/modules/compat_netbsd32_sysvipc/Makefile

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



CVS commit: src/sys/compat/netbsd32

2015-12-03 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Dec  3 10:39:50 UTC 2015

Modified Files:
src/sys/compat/netbsd32: netbsd32_syscall.h netbsd32_syscallargs.h
netbsd32_syscalls.c netbsd32_syscalls_autoload.c netbsd32_sysent.c
netbsd32_systrace_args.c

Log Message:
Regen syscall definitions - the compat_netbsd32 sysv-ipc stuff is now
modular and can be autoloaded when needed


To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.122 src/sys/compat/netbsd32/netbsd32_syscall.h \
src/sys/compat/netbsd32/netbsd32_syscallargs.h
cvs rdiff -u -r1.120 -r1.121 src/sys/compat/netbsd32/netbsd32_syscalls.c \
src/sys/compat/netbsd32/netbsd32_sysent.c
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/netbsd32/netbsd32_syscalls_autoload.c
cvs rdiff -u -r1.11 -r1.12 src/sys/compat/netbsd32/netbsd32_systrace_args.c

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



CVS commit: src/etc/namedb

2015-12-03 Thread Takahiro Kambe
Module Name:src
Committed By:   taca
Date:   Thu Dec  3 10:41:22 UTC 2015

Modified Files:
src/etc/namedb: root.cache

Log Message:
Update to 2015120100.

* Addresses of H.ROOT-SERVERS.NET has updated.
* Make IPv6 address lower case.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/etc/namedb/root.cache

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



CVS commit: src/doc

2015-12-03 Thread Takahiro Kambe
Module Name:src
Committed By:   taca
Date:   Thu Dec  3 10:42:12 UTC 2015

Modified Files:
src/doc: 3RDPARTY

Log Message:
root.cache is 2015120100 (December 01, 2015) now.


To generate a diff of this commit:
cvs rdiff -u -r1.1264 -r1.1265 src/doc/3RDPARTY

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



CVS commit: src/sys/compat/netbsd32

2015-12-03 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Dec  3 11:25:45 UTC 2015

Modified Files:
src/sys/compat/netbsd32: files.netbsd32 netbsd32_compat_14.c

Log Message:
Missed these.

Only include the compat_14 sys calls if this being compiled as part of
the compat_netbsd32_sysvipc module.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/compat/netbsd32/files.netbsd32
cvs rdiff -u -r1.22 -r1.23 src/sys/compat/netbsd32/netbsd32_compat_14.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/netbsd32

2015-12-03 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Dec  3 11:28:35 UTC 2015

Modified Files:
src/sys/compat/netbsd32: netbsd32_compat_14.c

Log Message:
If compiling as part of a built-in kernel module, make sure we include
the relevant opt_sysv.h file


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/compat/netbsd32/netbsd32_compat_14.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/netbsd32

2015-12-03 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Dec  3 11:31:05 UTC 2015

Modified Files:
src/sys/compat/netbsd32: netbsd32_compat_14.c

Log Message:
Strange patch(1) behavior got me three copies of the code.  One is
sufficient so remove the excess.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/compat/netbsd32/netbsd32_compat_14.c

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



CVS commit: src/lib/libc/ssp

2015-12-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Dec  3 13:11:45 UTC 2015

Modified Files:
src/lib/libc/ssp: ssp.3

Log Message:
It is wrong to -I/usr/include/ssp


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/libc/ssp/ssp.3

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



CVS commit: src/usr.bin/unzip

2015-12-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Dec  3 20:00:12 UTC 2015

Modified Files:
src/usr.bin/unzip: unzip.c

Log Message:
PR/50496: Alex Kozlov: teach unzip to extract symlinks

Our libarchive does not handle symliks yet, but later versions do.
Set mode and times for symlinks. Finally handle hardlinks for
completion although they are not handled yet by librarchive.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/usr.bin/unzip/unzip.c

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



CVS commit: src/usr.bin/unzip

2015-12-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Dec  3 20:01:19 UTC 2015

Modified Files:
src/usr.bin/unzip: unzip.c

Log Message:
simplify.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.bin/unzip/unzip.c

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



CVS commit: src/sbin/gpt

2015-12-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Dec  3 20:58:08 UTC 2015

Modified Files:
src/sbin/gpt: add.c

Log Message:
CID 1341548: Check error returns


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sbin/gpt/add.c

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

2015-12-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Dec  3 21:01:50 UTC 2015

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

Log Message:
CID 1341551: Don't bother formatting if ti == NULL


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 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/external/bsd/dhcpcd/dist

2015-12-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Dec  3 21:04:06 UTC 2015

Modified Files:
src/external/bsd/dhcpcd/dist: common.c

Log Message:
CID 1341552: Fix NULL deref.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/bsd/dhcpcd/dist/common.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/dhcpcd/dist

2015-12-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Dec  3 21:04:59 UTC 2015

Modified Files:
src/external/bsd/dhcpcd/dist: common.c

Log Message:
CID 1341552: Fix NULL deref


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/external/bsd/dhcpcd/dist/common.c

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



CVS commit: src/sbin/gpt

2015-12-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Dec  3 21:30:54 UTC 2015

Modified Files:
src/sbin/gpt: create.c gpt.c map.c map.h recover.c resizedisk.c

Log Message:
CID 1341556: Don't leak map info


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sbin/gpt/create.c
cvs rdiff -u -r1.60 -r1.61 src/sbin/gpt/gpt.c
cvs rdiff -u -r1.12 -r1.13 src/sbin/gpt/map.c
cvs rdiff -u -r1.5 -r1.6 src/sbin/gpt/map.h
cvs rdiff -u -r1.13 -r1.14 src/sbin/gpt/recover.c
cvs rdiff -u -r1.14 -r1.15 src/sbin/gpt/resizedisk.c

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



CVS commit: src/sbin/gpt

2015-12-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Dec  3 21:40:32 UTC 2015

Modified Files:
src/sbin/gpt: backup.c

Log Message:
CID 1341558: Fix proplib memory leaks


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sbin/gpt/backup.c

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



CVS commit: src/sbin/gpt

2015-12-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Dec  3 21:43:25 UTC 2015

Modified Files:
src/sbin/gpt: add.c

Log Message:
CID 1341560: Free arg.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sbin/gpt/add.c

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



CVS commit: src/sbin/gpt

2015-12-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Dec  3 21:46:22 UTC 2015

Modified Files:
src/sbin/gpt: add.c

Log Message:
CID 1341561: Argument memory leak


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sbin/gpt/add.c

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



CVS commit: src/sbin/gpt

2015-12-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Dec  3 21:48:12 UTC 2015

Modified Files:
src/sbin/gpt: label.c

Log Message:
CID 1341563: fix leak


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sbin/gpt/label.c

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



CVS commit: src/sbin/gpt

2015-12-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Dec  3 21:49:51 UTC 2015

Modified Files:
src/sbin/gpt: biosboot.c

Log Message:
more leak


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sbin/gpt/biosboot.c

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



CVS commit: src/sbin/gpt

2015-12-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Dec  3 21:51:02 UTC 2015

Modified Files:
src/sbin/gpt: label.c

Log Message:
CID 1341564: Arg memory leak


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sbin/gpt/label.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/linux32/common

2015-12-03 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Dec  3 23:51:24 UTC 2015

Modified Files:
src/sys/compat/linux32/common: linux32_mod.c

Log Message:
Update dependencies - compat_linux32 requires compat_netbsd32_sysvipc


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/compat/linux32/common/linux32_mod.c

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



CVS commit: src/tests/sbin/gpt

2015-12-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Dec  4 01:06:17 UTC 2015

Added Files:
src/tests/sbin/gpt: Makefile gpt.2disk.show.guid gpt.2part.show.normal
gpt.backup gpt.empty.show.normal t_gpt.sh

Log Message:
Add some gpt tests


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/tests/sbin/gpt/Makefile \
src/tests/sbin/gpt/gpt.2disk.show.guid \
src/tests/sbin/gpt/gpt.2part.show.normal src/tests/sbin/gpt/gpt.backup \
src/tests/sbin/gpt/gpt.empty.show.normal src/tests/sbin/gpt/t_gpt.sh

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



CVS commit: src/tests/sbin/gpt

2015-12-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Dec  4 01:06:43 UTC 2015

Modified Files:
src/tests/sbin/gpt: t_gpt.sh

Log Message:
I wrote that


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/sbin/gpt/t_gpt.sh

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



CVS commit: src/tests/sbin/gpt

2015-12-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Dec  4 01:21:12 UTC 2015

Modified Files:
src/tests/sbin/gpt: Makefile t_gpt.sh

Log Message:
checking multiple things does not work! atf-bug!


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/sbin/gpt/Makefile
cvs rdiff -u -r1.2 -r1.3 src/tests/sbin/gpt/t_gpt.sh

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



CVS commit: src/tests/sbin/gpt

2015-12-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Dec  4 01:42:47 UTC 2015

Modified Files:
src/tests/sbin/gpt: Makefile t_gpt.sh
Added Files:
src/tests/sbin/gpt: gpt.2part.show.uuid

Log Message:
Make the test work


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/sbin/gpt/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/sbin/gpt/gpt.2part.show.uuid
cvs rdiff -u -r1.3 -r1.4 src/tests/sbin/gpt/t_gpt.sh

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



CVS commit: src/external/bsd/atf/dist/atf-sh

2015-12-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Dec  4 01:43:58 UTC 2015

Modified Files:
src/external/bsd/atf/dist/atf-sh: atf-check.cpp

Log Message:
fix the open error messages to include the right file and strerror


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/bsd/atf/dist/atf-sh/atf-check.cpp

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



CVS commit: src/sbin/gpt

2015-12-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Dec  4 01:46:12 UTC 2015

Modified Files:
src/sbin/gpt: show.c

Log Message:
fix label printing.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sbin/gpt/show.c

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



CVS commit: src/sbin/gpt

2015-12-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Dec  4 01:46:32 UTC 2015

Modified Files:
src/sbin/gpt: gpt.c gpt.h

Log Message:
don't print dkctl message for files
fix typo


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/sbin/gpt/gpt.c
cvs rdiff -u -r1.28 -r1.29 src/sbin/gpt/gpt.h

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



CVS commit: src/sbin/gpt

2015-12-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Dec  4 01:47:48 UTC 2015

Modified Files:
src/sbin/gpt: label.c

Log Message:
put back usage from kre


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sbin/gpt/label.c

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



CVS commit: src/sys/net

2015-12-03 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Fri Dec  4 02:26:12 UTC 2015

Modified Files:
src/sys/net: if_gif.c

Log Message:
gif(4): Infinite recursion calls prevention code works again now.

The prevention code haven't worked since gif(4) was changed
to use softint(9). To work this prevention, git_output uses
m_tag(9) like FreeBSD and OpenBSD.

I tested with following code.

# ifconfig gif0 create
# ifconfig gif0 tunnel 10.1.1.1  10.1.1.2
# ifconfig gif0 inet 192.168.100.1 192.168.100.100

# ifconfig gif1 create
# ifconfig gif1 tunnel 192.168.100.1 192.168.100.100
# ifconfig gif1 inet 192.168.101.1 192.168.101.101

# ifconfig gif2 create
# ifconfig gif2 tunnel 192.168.101.1 192.168.101.101
# ifconfig gif2 inet 192.168.102.1 192.168.102.102

# ping -w 1 -c 1 192.168.102.102
# dmesg | tail -n 1
gif0: recursively called too many times(2)



To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 src/sys/net/if_gif.c

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



CVS commit: src/usr.sbin/cpuctl/arch

2015-12-03 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Dec  4 05:34:59 UTC 2015

Modified Files:
src/usr.sbin/cpuctl/arch: i386.c

Log Message:
 Model 0x5e is also 6th gen Core or Xeon E3-1500 v5 like model 0x4e.


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/usr.sbin/cpuctl/arch/i386.c

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