CVS commit: [netbsd-7-0] src

2017-04-20 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Apr 20 06:42:26 UTC 2017

Modified Files:
src/doc [netbsd-7-0]: 3RDPARTY
src/external/bsd/ntp [netbsd-7-0]: importdate
src/external/bsd/ntp/bin/ntpd [netbsd-7-0]: ntp.keys.5
src/external/bsd/ntp/dist [netbsd-7-0]: COPYRIGHT ChangeLog CommitLog
Makefile.in NEWS aclocal.m4 config.h.in configure configure.ac
packageinfo.sh
src/external/bsd/ntp/dist/adjtimed [netbsd-7-0]: Makefile.am
Makefile.in
src/external/bsd/ntp/dist/clockstuff [netbsd-7-0]: Makefile.am
Makefile.in
src/external/bsd/ntp/dist/html [netbsd-7-0]: copyright.html
src/external/bsd/ntp/dist/include [netbsd-7-0]: Makefile.in
libssl_compat.h ntp_crypto.h ntp_fp.h ntp_md5.h ntp_stdlib.h ntpd.h
ssl_applink.c
src/external/bsd/ntp/dist/include/isc [netbsd-7-0]: Makefile.in
src/external/bsd/ntp/dist/kernel [netbsd-7-0]: Makefile.in
src/external/bsd/ntp/dist/kernel/sys [netbsd-7-0]: Makefile.in
src/external/bsd/ntp/dist/lib/isc [netbsd-7-0]: inet_pton.c
src/external/bsd/ntp/dist/libntp [netbsd-7-0]: Makefile.am Makefile.in
a_md5encrypt.c audio.c authkeys.c emalloc.c libssl_compat.c
ntp_intres.c recvbuff.c ssl_init.c statestr.c work_fork.c
src/external/bsd/ntp/dist/libparse [netbsd-7-0]: Makefile.am
Makefile.in clk_trimtsip.c gpstolfp.c
src/external/bsd/ntp/dist/ntpd [netbsd-7-0]: Makefile.am Makefile.in
invoke-ntp.conf.texi invoke-ntp.keys.texi invoke-ntpd.texi
ntp.conf.5man ntp.conf.5mdoc ntp.conf.html ntp.conf.man.in
ntp.conf.mdoc.in ntp.keys.5man ntp.keys.5mdoc ntp.keys.html
ntp.keys.man.in ntp.keys.mdoc.in ntp_config.c ntp_control.c
ntp_crypto.c ntp_io.c ntp_loopfilter.c ntp_parser.y ntp_peer.c
ntp_proto.c ntp_restrict.c ntp_scanner.c ntpd-opts.c ntpd-opts.h
ntpd.1ntpdman ntpd.1ntpdmdoc ntpd.c ntpd.html ntpd.man.in
ntpd.mdoc.in refclock_datum.c refclock_gpsdjson.c refclock_jjy.c
refclock_mx4200.c refclock_nmea.c refclock_oncore.c
refclock_parse.c
src/external/bsd/ntp/dist/ntpdate [netbsd-7-0]: Makefile.am Makefile.in
ntpdate.c
src/external/bsd/ntp/dist/ntpdc [netbsd-7-0]: Makefile.am Makefile.in
invoke-ntpdc.texi ntpdc-opts.c ntpdc-opts.h ntpdc.1ntpdcman
ntpdc.1ntpdcmdoc ntpdc.c ntpdc.html ntpdc.man.in ntpdc.mdoc.in
ntpdc_ops.c
src/external/bsd/ntp/dist/ntpq [netbsd-7-0]: Makefile.am Makefile.in
invoke-ntpq.texi libntpq.c ntpq-opts.c ntpq-opts.h ntpq-subs.c
ntpq.1ntpqman ntpq.1ntpqmdoc ntpq.c ntpq.html ntpq.man.in
ntpq.mdoc.in
src/external/bsd/ntp/dist/ntpsnmpd [netbsd-7-0]: Makefile.am
Makefile.in invoke-ntpsnmpd.texi ntpsnmpd-opts.c ntpsnmpd-opts.h
ntpsnmpd.1ntpsnmpdman ntpsnmpd.1ntpsnmpdmdoc ntpsnmpd.html
ntpsnmpd.man.in ntpsnmpd.mdoc.in
src/external/bsd/ntp/dist/parseutil [netbsd-7-0]: Makefile.am
Makefile.in
src/external/bsd/ntp/dist/scripts [netbsd-7-0]: Makefile.in
invoke-plot_summary.texi invoke-summary.texi plot_summary-opts
plot_summary.1plot_summaryman plot_summary.1plot_summarymdoc
plot_summary.html plot_summary.man.in plot_summary.mdoc.in
summary-opts summary.1summaryman summary.1summarymdoc summary.html
summary.man.in summary.mdoc.in
src/external/bsd/ntp/dist/scripts/build [netbsd-7-0]: Makefile.in
src/external/bsd/ntp/dist/scripts/calc_tickadj [netbsd-7-0]:
Makefile.in calc_tickadj.1calc_tickadjman
calc_tickadj.1calc_tickadjmdoc calc_tickadj.html
calc_tickadj.man.in calc_tickadj.mdoc.in invoke-calc_tickadj.texi
src/external/bsd/ntp/dist/scripts/lib [netbsd-7-0]: Makefile.in
src/external/bsd/ntp/dist/scripts/ntp-wait [netbsd-7-0]: Makefile.in
invoke-ntp-wait.texi ntp-wait-opts ntp-wait.1ntp-waitman
ntp-wait.1ntp-waitmdoc ntp-wait.html ntp-wait.man.in
ntp-wait.mdoc.in
src/external/bsd/ntp/dist/scripts/ntpsweep [netbsd-7-0]: Makefile.in
invoke-ntpsweep.texi ntpsweep-opts ntpsweep.1ntpsweepman
ntpsweep.1ntpsweepmdoc ntpsweep.html ntpsweep.man.in
ntpsweep.mdoc.in
src/external/bsd/ntp/dist/scripts/ntptrace [netbsd-7-0]: Makefile.in
invoke-ntptrace.texi ntptrace-opts ntptrace.1ntptraceman
ntptrace.1ntptracemdoc ntptrace.html ntptrace.man.in
ntptrace.mdoc.in
src/external/bsd/ntp/dist/scripts/update-leap [netbsd-7-0]: Makefile.in
invoke-update-leap.texi update-leap-opts
update-leap.1update-leapman update-leap.1update-leapmdoc
update-leap.html update-leap.man.in 

CVS commit: [netbsd-7-0] src

2017-04-20 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Apr 20 06:42:26 UTC 2017

Modified Files:
src/doc [netbsd-7-0]: 3RDPARTY
src/external/bsd/ntp [netbsd-7-0]: importdate
src/external/bsd/ntp/bin/ntpd [netbsd-7-0]: ntp.keys.5
src/external/bsd/ntp/dist [netbsd-7-0]: COPYRIGHT ChangeLog CommitLog
Makefile.in NEWS aclocal.m4 config.h.in configure configure.ac
packageinfo.sh
src/external/bsd/ntp/dist/adjtimed [netbsd-7-0]: Makefile.am
Makefile.in
src/external/bsd/ntp/dist/clockstuff [netbsd-7-0]: Makefile.am
Makefile.in
src/external/bsd/ntp/dist/html [netbsd-7-0]: copyright.html
src/external/bsd/ntp/dist/include [netbsd-7-0]: Makefile.in
libssl_compat.h ntp_crypto.h ntp_fp.h ntp_md5.h ntp_stdlib.h ntpd.h
ssl_applink.c
src/external/bsd/ntp/dist/include/isc [netbsd-7-0]: Makefile.in
src/external/bsd/ntp/dist/kernel [netbsd-7-0]: Makefile.in
src/external/bsd/ntp/dist/kernel/sys [netbsd-7-0]: Makefile.in
src/external/bsd/ntp/dist/lib/isc [netbsd-7-0]: inet_pton.c
src/external/bsd/ntp/dist/libntp [netbsd-7-0]: Makefile.am Makefile.in
a_md5encrypt.c audio.c authkeys.c emalloc.c libssl_compat.c
ntp_intres.c recvbuff.c ssl_init.c statestr.c work_fork.c
src/external/bsd/ntp/dist/libparse [netbsd-7-0]: Makefile.am
Makefile.in clk_trimtsip.c gpstolfp.c
src/external/bsd/ntp/dist/ntpd [netbsd-7-0]: Makefile.am Makefile.in
invoke-ntp.conf.texi invoke-ntp.keys.texi invoke-ntpd.texi
ntp.conf.5man ntp.conf.5mdoc ntp.conf.html ntp.conf.man.in
ntp.conf.mdoc.in ntp.keys.5man ntp.keys.5mdoc ntp.keys.html
ntp.keys.man.in ntp.keys.mdoc.in ntp_config.c ntp_control.c
ntp_crypto.c ntp_io.c ntp_loopfilter.c ntp_parser.y ntp_peer.c
ntp_proto.c ntp_restrict.c ntp_scanner.c ntpd-opts.c ntpd-opts.h
ntpd.1ntpdman ntpd.1ntpdmdoc ntpd.c ntpd.html ntpd.man.in
ntpd.mdoc.in refclock_datum.c refclock_gpsdjson.c refclock_jjy.c
refclock_mx4200.c refclock_nmea.c refclock_oncore.c
refclock_parse.c
src/external/bsd/ntp/dist/ntpdate [netbsd-7-0]: Makefile.am Makefile.in
ntpdate.c
src/external/bsd/ntp/dist/ntpdc [netbsd-7-0]: Makefile.am Makefile.in
invoke-ntpdc.texi ntpdc-opts.c ntpdc-opts.h ntpdc.1ntpdcman
ntpdc.1ntpdcmdoc ntpdc.c ntpdc.html ntpdc.man.in ntpdc.mdoc.in
ntpdc_ops.c
src/external/bsd/ntp/dist/ntpq [netbsd-7-0]: Makefile.am Makefile.in
invoke-ntpq.texi libntpq.c ntpq-opts.c ntpq-opts.h ntpq-subs.c
ntpq.1ntpqman ntpq.1ntpqmdoc ntpq.c ntpq.html ntpq.man.in
ntpq.mdoc.in
src/external/bsd/ntp/dist/ntpsnmpd [netbsd-7-0]: Makefile.am
Makefile.in invoke-ntpsnmpd.texi ntpsnmpd-opts.c ntpsnmpd-opts.h
ntpsnmpd.1ntpsnmpdman ntpsnmpd.1ntpsnmpdmdoc ntpsnmpd.html
ntpsnmpd.man.in ntpsnmpd.mdoc.in
src/external/bsd/ntp/dist/parseutil [netbsd-7-0]: Makefile.am
Makefile.in
src/external/bsd/ntp/dist/scripts [netbsd-7-0]: Makefile.in
invoke-plot_summary.texi invoke-summary.texi plot_summary-opts
plot_summary.1plot_summaryman plot_summary.1plot_summarymdoc
plot_summary.html plot_summary.man.in plot_summary.mdoc.in
summary-opts summary.1summaryman summary.1summarymdoc summary.html
summary.man.in summary.mdoc.in
src/external/bsd/ntp/dist/scripts/build [netbsd-7-0]: Makefile.in
src/external/bsd/ntp/dist/scripts/calc_tickadj [netbsd-7-0]:
Makefile.in calc_tickadj.1calc_tickadjman
calc_tickadj.1calc_tickadjmdoc calc_tickadj.html
calc_tickadj.man.in calc_tickadj.mdoc.in invoke-calc_tickadj.texi
src/external/bsd/ntp/dist/scripts/lib [netbsd-7-0]: Makefile.in
src/external/bsd/ntp/dist/scripts/ntp-wait [netbsd-7-0]: Makefile.in
invoke-ntp-wait.texi ntp-wait-opts ntp-wait.1ntp-waitman
ntp-wait.1ntp-waitmdoc ntp-wait.html ntp-wait.man.in
ntp-wait.mdoc.in
src/external/bsd/ntp/dist/scripts/ntpsweep [netbsd-7-0]: Makefile.in
invoke-ntpsweep.texi ntpsweep-opts ntpsweep.1ntpsweepman
ntpsweep.1ntpsweepmdoc ntpsweep.html ntpsweep.man.in
ntpsweep.mdoc.in
src/external/bsd/ntp/dist/scripts/ntptrace [netbsd-7-0]: Makefile.in
invoke-ntptrace.texi ntptrace-opts ntptrace.1ntptraceman
ntptrace.1ntptracemdoc ntptrace.html ntptrace.man.in
ntptrace.mdoc.in
src/external/bsd/ntp/dist/scripts/update-leap [netbsd-7-0]: Makefile.in
invoke-update-leap.texi update-leap-opts
update-leap.1update-leapman update-leap.1update-leapmdoc
update-leap.html update-leap.man.in 

CVS commit: src/sys/netipsec

2017-04-20 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu Apr 20 06:27:08 UTC 2017

Modified Files:
src/sys/netipsec: key.c

Log Message:
Use IPSEC_DIR_IS_INOROUT (NFC)


To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 src/sys/netipsec/key.c

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

Modified files:

Index: src/sys/netipsec/key.c
diff -u src/sys/netipsec/key.c:1.115 src/sys/netipsec/key.c:1.116
--- src/sys/netipsec/key.c:1.115	Thu Apr 20 03:41:47 2017
+++ src/sys/netipsec/key.c	Thu Apr 20 06:27:08 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: key.c,v 1.115 2017/04/20 03:41:47 ozaki-r Exp $	*/
+/*	$NetBSD: key.c,v 1.116 2017/04/20 06:27:08 ozaki-r Exp $	*/
 /*	$FreeBSD: src/sys/netipsec/key.c,v 1.3.2.3 2004/02/14 22:23:23 bms Exp $	*/
 /*	$KAME: key.c,v 1.191 2001/06/27 10:46:49 sakane Exp $	*/
 
@@ -32,7 +32,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.115 2017/04/20 03:41:47 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.116 2017/04/20 06:27:08 ozaki-r Exp $");
 
 /*
  * This code is referd to RFC 2367
@@ -594,8 +594,7 @@ key_allocsp(const struct secpolicyindex 
 	int s;
 
 	KASSERT(spidx != NULL);
-	KASSERTMSG(dir == IPSEC_DIR_INBOUND || dir == IPSEC_DIR_OUTBOUND,
-	"invalid direction %u", dir);
+	KASSERTMSG(IPSEC_DIR_IS_INOROUT(dir), "invalid direction %u", dir);
 
 	KEYDEBUG_PRINTF(KEYDEBUG_IPSEC_STAMP, "DP from %s:%u\n", where, tag);
 



CVS commit: src/sys/netipsec

2017-04-20 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu Apr 20 06:27:08 UTC 2017

Modified Files:
src/sys/netipsec: key.c

Log Message:
Use IPSEC_DIR_IS_INOROUT (NFC)


To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 src/sys/netipsec/key.c

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



<    1   2