Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Retire ipkdb entirely. The option was removed from the confi...
details: https://anonhg.NetBSD.org/src/rev/f5f995cccda5
branches: trunk
changeset: 320645:f5f995cccda5
user: maxv <maxv%NetBSD.org@localhost>
date: Sun Jul 15 05:16:40 2018 +0000
description:
Retire ipkdb entirely. The option was removed from the config files
yesterday.
ok kamil christos
diffstat:
distrib/sets/lists/comp/mi | 62 +-
distrib/sets/lists/man/mi | 8 +-
share/examples/secmodel/secmodel_example.c | 10 +-
share/man/man4/Makefile | 4 +-
share/man/man4/ipkdb.4 | 137 --
share/man/man7/hier.7 | 6 +-
share/man/man7/src.7 | 6 +-
share/man/man9/Makefile | 7 +-
share/man/man9/boothowto.9 | 12 +-
share/man/man9/intro.9 | 8 +-
share/man/man9/ipkdb.9 | 180 ---
share/man/man9/kauth.9 | 12 +-
share/man/man9/panic.9 | 5 +-
share/man/man9/secmodel_securelevel.9 | 8 +-
sys/arch/amigappc/amigappc/locore.S | 3 +-
sys/arch/amigappc/amigappc/machdep.c | 5 +-
sys/arch/amigappc/include/ipkdb.h | 3 -
sys/arch/arm/arm32/fault.c | 6 +-
sys/arch/arm/at91/at91bus.c | 15 +-
sys/arch/arm/at91/at91emac.c | 10 +-
sys/arch/arm/include/arm32/machdep.h | 6 +-
sys/arch/bebox/bebox/locore.S | 3 +-
sys/arch/bebox/bebox/machdep.c | 5 +-
sys/arch/bebox/include/ipkdb.h | 3 -
sys/arch/evbarm/armadaxp/armadaxp_machdep.c | 5 +-
sys/arch/evbarm/beagle/beagle_machdep.c | 5 +-
sys/arch/evbarm/gemini/gemini_machdep.c | 12 +-
sys/arch/evbarm/imx31/imx31lk_machdep.c | 12 +-
sys/arch/evbarm/mmnet/mmnet_machdep.c | 7 +-
sys/arch/evbarm/mpcsa/mpcsa_machdep.c | 7 +-
sys/arch/evbarm/tisdp24xx/sdp24xx_machdep.c | 12 +-
sys/arch/evbppc/ev64260/ev64260_locore.S | 3 +-
sys/arch/evbppc/ev64260/machdep.c | 13 +-
sys/arch/evbppc/include/ipkdb.h | 3 -
sys/arch/evbppc/mpc85xx/mpc85xx_start.S | 5 +-
sys/arch/evbppc/obs405/obs200_locore.S | 3 +-
sys/arch/evbppc/obs405/obs200_machdep.c | 13 +-
sys/arch/evbppc/obs405/obs266_machdep.c | 13 +-
sys/arch/evbppc/obs405/obs600_machdep.c | 13 +-
sys/arch/evbppc/pmppc/machdep.c | 13 +-
sys/arch/evbppc/pmppc/pmppc_locore.S | 3 +-
sys/arch/evbppc/virtex/machdep.c | 14 +-
sys/arch/evbppc/virtex/virtex_start.S | 3 +-
sys/arch/evbppc/walnut/machdep.c | 13 +-
sys/arch/evbppc/walnut/walnut_start.S | 3 +-
sys/arch/ibmnws/ibmnws/locore.S | 3 +-
sys/arch/ibmnws/include/ipkdb.h | 3 -
sys/arch/macppc/include/ipkdb.h | 3 -
sys/arch/macppc/macppc/locore.S | 3 +-
sys/arch/macppc/macppc/machdep.c | 9 +-
sys/arch/mvmeppc/include/ipkdb.h | 3 -
sys/arch/mvmeppc/mvmeppc/locore.S | 3 +-
sys/arch/ofppc/include/ipkdb.h | 3 -
sys/arch/ofppc/ofppc/locore.S | 3 +-
sys/arch/powerpc/conf/files.powerpc | 3 +-
sys/arch/powerpc/ibm4xx/genassym.cf | 3 +-
sys/arch/powerpc/ibm4xx/ibm4xx_machdep.c | 13 +-
sys/arch/powerpc/ibm4xx/openbios/locore.S | 3 +-
sys/arch/powerpc/ibm4xx/trap_subr.S | 117 +--
sys/arch/powerpc/include/cpu.h | 4 +-
sys/arch/powerpc/include/ipkdb.h | 85 -
sys/arch/powerpc/oea/genassym.cf | 3 +-
sys/arch/powerpc/oea/oea_machdep.c | 24 +-
sys/arch/powerpc/oea/ofwoea_machdep.c | 9 +-
sys/arch/powerpc/powerpc/ipkdb_glue.c | 112 --
sys/arch/powerpc/powerpc/trap_subr.S | 146 +--
sys/arch/prep/include/ipkdb.h | 3 -
sys/arch/prep/prep/locore.S | 3 +-
sys/arch/rs6000/include/ipkdb.h | 3 -
sys/arch/rs6000/rs6000/locore.S | 3 +-
sys/arch/sandpoint/include/ipkdb.h | 3 -
sys/arch/sandpoint/sandpoint/locore.S | 3 +-
sys/arch/sandpoint/sandpoint/machdep.c | 13 +-
sys/dev/cadence/if_cemac.c | 8 +-
sys/dev/ic/dp8390.c | 270 +-----
sys/dev/ic/dp8390var.h | 6 +-
sys/dev/ic/ne2000.c | 145 +--
sys/dev/ic/ne2000var.h | 6 +-
sys/dev/ofw/ofnet.c | 101 +-
sys/dev/pci/files.pci | 6 +-
sys/dev/pci/if_ne_pci.c | 92 +-
sys/ipkdb/README.port | 172 ---
sys/ipkdb/TODO | 23 -
sys/ipkdb/files.ipkdb | 8 -
sys/ipkdb/ipkdb.h | 114 --
sys/ipkdb/ipkdb_if.c | 64 -
sys/ipkdb/ipkdb_ipkdb.c | 1178 -----------------------
sys/netinet/udp_usrreq.c | 20 +-
sys/secmodel/keylock/secmodel_keylock.c | 12 +-
sys/secmodel/securelevel/secmodel_securelevel.c | 15 +-
sys/secmodel/suser/secmodel_suser.c | 15 +-
sys/sys/kauth.h | 3 +-
92 files changed, 164 insertions(+), 3379 deletions(-)
diffs (truncated from 5143 to 300 lines):
diff -r dd6719cfe269 -r f5f995cccda5 distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi Sun Jul 15 01:02:15 2018 +0000
+++ b/distrib/sets/lists/comp/mi Sun Jul 15 05:16:40 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.2210 2018/07/12 10:46:40 maxv Exp $
+# $NetBSD: mi,v 1.2211 2018/07/15 05:16:40 maxv Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
./etc/mtree/set.comp comp-sys-root
@@ -10942,16 +10942,16 @@
./usr/share/man/cat9/ioctl_copyin.0 comp-sys-catman .cat
./usr/share/man/cat9/ioctl_copyout.0 comp-sys-catman .cat
./usr/share/man/cat9/ipi.0 comp-sys-catman .cat
-./usr/share/man/cat9/ipkdb.0 comp-sys-catman .cat
-./usr/share/man/cat9/ipkdb_connect.0 comp-sys-catman .cat
-./usr/share/man/cat9/ipkdb_init.0 comp-sys-catman .cat
-./usr/share/man/cat9/ipkdb_poll.0 comp-sys-catman .cat
-./usr/share/man/cat9/ipkdb_trap.0 comp-sys-catman .cat
-./usr/share/man/cat9/ipkdbcmds.0 comp-sys-catman .cat
-./usr/share/man/cat9/ipkdbfbyte.0 comp-sys-catman .cat
-./usr/share/man/cat9/ipkdbif_init.0 comp-sys-catman .cat
-./usr/share/man/cat9/ipkdbinit.0 comp-sys-catman .cat
-./usr/share/man/cat9/ipkdbsbyte.0 comp-sys-catman .cat
+./usr/share/man/cat9/ipkdb.0 comp-obsolete obsolete
+./usr/share/man/cat9/ipkdb_connect.0 comp-obsolete obsolete
+./usr/share/man/cat9/ipkdb_init.0 comp-obsolete obsolete
+./usr/share/man/cat9/ipkdb_poll.0 comp-obsolete obsolete
+./usr/share/man/cat9/ipkdb_trap.0 comp-obsolete obsolete
+./usr/share/man/cat9/ipkdbcmds.0 comp-obsolete obsolete
+./usr/share/man/cat9/ipkdbfbyte.0 comp-obsolete obsolete
+./usr/share/man/cat9/ipkdbif_init.0 comp-obsolete obsolete
+./usr/share/man/cat9/ipkdbinit.0 comp-obsolete obsolete
+./usr/share/man/cat9/ipkdbsbyte.0 comp-obsolete obsolete
./usr/share/man/cat9/is_leap_year.0 comp-sys-catman .cat
./usr/share/man/cat9/isa.0 comp-sys-catman .cat
./usr/share/man/cat9/isa_dmaabort.0 comp-sys-catman .cat
@@ -18649,16 +18649,16 @@
./usr/share/man/html9/ioctl_copyin.html comp-sys-htmlman html
./usr/share/man/html9/ioctl_copyout.html comp-sys-htmlman html
./usr/share/man/html9/ipi.html comp-sys-htmlman html
-./usr/share/man/html9/ipkdb.html comp-sys-htmlman html
-./usr/share/man/html9/ipkdb_connect.html comp-sys-htmlman html
-./usr/share/man/html9/ipkdb_init.html comp-sys-htmlman html
-./usr/share/man/html9/ipkdb_poll.html comp-sys-htmlman html
-./usr/share/man/html9/ipkdb_trap.html comp-sys-htmlman html
-./usr/share/man/html9/ipkdbcmds.html comp-sys-htmlman html
-./usr/share/man/html9/ipkdbfbyte.html comp-sys-htmlman html
-./usr/share/man/html9/ipkdbif_init.html comp-sys-htmlman html
-./usr/share/man/html9/ipkdbinit.html comp-sys-htmlman html
-./usr/share/man/html9/ipkdbsbyte.html comp-sys-htmlman html
+./usr/share/man/html9/ipkdb.html comp-obsolete obsolete
+./usr/share/man/html9/ipkdb_connect.html comp-obsolete obsolete
+./usr/share/man/html9/ipkdb_init.html comp-obsolete obsolete
+./usr/share/man/html9/ipkdb_poll.html comp-obsolete obsolete
+./usr/share/man/html9/ipkdb_trap.html comp-obsolete obsolete
+./usr/share/man/html9/ipkdbcmds.html comp-obsolete obsolete
+./usr/share/man/html9/ipkdbfbyte.html comp-obsolete obsolete
+./usr/share/man/html9/ipkdbif_init.html comp-obsolete obsolete
+./usr/share/man/html9/ipkdbinit.html comp-obsolete obsolete
+./usr/share/man/html9/ipkdbsbyte.html comp-obsolete obsolete
./usr/share/man/html9/is_leap_year.html comp-sys-htmlman html
./usr/share/man/html9/isa.html comp-sys-htmlman html
./usr/share/man/html9/isa_dmaabort.html comp-sys-htmlman html
@@ -26504,16 +26504,16 @@
./usr/share/man/man9/ioctl_copyin.9 comp-sys-man .man
./usr/share/man/man9/ioctl_copyout.9 comp-sys-man .man
./usr/share/man/man9/ipi.9 comp-sys-man .man
-./usr/share/man/man9/ipkdb.9 comp-sys-man .man
-./usr/share/man/man9/ipkdb_connect.9 comp-sys-man .man
-./usr/share/man/man9/ipkdb_init.9 comp-sys-man .man
-./usr/share/man/man9/ipkdb_poll.9 comp-sys-man .man
-./usr/share/man/man9/ipkdb_trap.9 comp-sys-man .man
-./usr/share/man/man9/ipkdbcmds.9 comp-sys-man .man
-./usr/share/man/man9/ipkdbfbyte.9 comp-sys-man .man
-./usr/share/man/man9/ipkdbif_init.9 comp-sys-man .man
-./usr/share/man/man9/ipkdbinit.9 comp-sys-man .man
-./usr/share/man/man9/ipkdbsbyte.9 comp-sys-man .man
+./usr/share/man/man9/ipkdb.9 comp-obsolete obsolete
+./usr/share/man/man9/ipkdb_connect.9 comp-obsolete obsolete
+./usr/share/man/man9/ipkdb_init.9 comp-obsolete obsolete
+./usr/share/man/man9/ipkdb_poll.9 comp-obsolete obsolete
+./usr/share/man/man9/ipkdb_trap.9 comp-obsolete obsolete
+./usr/share/man/man9/ipkdbcmds.9 comp-obsolete obsolete
+./usr/share/man/man9/ipkdbfbyte.9 comp-obsolete obsolete
+./usr/share/man/man9/ipkdbif_init.9 comp-obsolete obsolete
+./usr/share/man/man9/ipkdbinit.9 comp-obsolete obsolete
+./usr/share/man/man9/ipkdbsbyte.9 comp-obsolete obsolete
./usr/share/man/man9/is_leap_year.9 comp-sys-man .man
./usr/share/man/man9/isa.9 comp-sys-man .man
./usr/share/man/man9/isa_dmaabort.9 comp-sys-man .man
diff -r dd6719cfe269 -r f5f995cccda5 distrib/sets/lists/man/mi
--- a/distrib/sets/lists/man/mi Sun Jul 15 01:02:15 2018 +0000
+++ b/distrib/sets/lists/man/mi Sun Jul 15 05:16:40 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1598 2018/07/13 11:14:14 maxv Exp $
+# $NetBSD: mi,v 1.1599 2018/07/15 05:16:40 maxv Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@@ -1327,7 +1327,7 @@
./usr/share/man/cat4/ipf.0 man-ipf-catman ipfilter,.cat
./usr/share/man/cat4/ipfilter.0 man-ipf-catman ipfilter,.cat
./usr/share/man/cat4/ipip.0 man-obsolete obsolete
-./usr/share/man/cat4/ipkdb.0 man-sys-catman .cat
+./usr/share/man/cat4/ipkdb.0 man-obsolete obsolete
./usr/share/man/cat4/ipl.0 man-ipf-catman ipfilter,.cat
./usr/share/man/cat4/ipmi.0 man-sys-catman .cat
./usr/share/man/cat4/ipnat.0 man-ipf-catman ipfilter,.cat
@@ -4439,7 +4439,7 @@
./usr/share/man/html4/ip6.html man-sys-htmlman html
./usr/share/man/html4/ipf.html man-ipf-htmlman ipfilter,html
./usr/share/man/html4/ipfilter.html man-ipf-htmlman ipfilter,html
-./usr/share/man/html4/ipkdb.html man-sys-htmlman html
+./usr/share/man/html4/ipkdb.html man-obsolete obsolete
./usr/share/man/html4/ipl.html man-ipf-htmlman ipfilter,html
./usr/share/man/html4/ipmi.html man-sys-htmlman html
./usr/share/man/html4/ipnat.html man-ipf-htmlman ipfilter,html
@@ -7389,7 +7389,7 @@
./usr/share/man/man4/ipf.4 man-sys-man ipfilter,.man
./usr/share/man/man4/ipfilter.4 man-sys-man ipfilter,.man
./usr/share/man/man4/ipip.4 man-obsolete obsolete
-./usr/share/man/man4/ipkdb.4 man-sys-man .man
+./usr/share/man/man4/ipkdb.4 man-obsolete obsolete
./usr/share/man/man4/ipl.4 man-sys-man ipfilter,.man
./usr/share/man/man4/ipmi.4 man-sys-man .man
./usr/share/man/man4/ipnat.4 man-sys-man ipfilter,.man
diff -r dd6719cfe269 -r f5f995cccda5 share/examples/secmodel/secmodel_example.c
--- a/share/examples/secmodel/secmodel_example.c Sun Jul 15 01:02:15 2018 +0000
+++ b/share/examples/secmodel/secmodel_example.c Sun Jul 15 05:16:40 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: secmodel_example.c,v 1.26 2011/12/04 23:55:36 jym Exp $ */
+/* $NetBSD: secmodel_example.c,v 1.27 2018/07/15 05:16:40 maxv Exp $ */
/*
* This file is placed in the public domain.
@@ -13,7 +13,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: secmodel_example.c,v 1.26 2011/12/04 23:55:36 jym Exp $");
+__KERNEL_RCSID(0, "$NetBSD: secmodel_example.c,v 1.27 2018/07/15 05:16:40 maxv Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -298,12 +298,6 @@
break;
case KAUTH_SYSTEM_DEBUG:
- switch (req) {
- case KAUTH_REQ_SYSTEM_DEBUG_IPKDB:
- default:
- result = KAUTH_RESULT_DEFER;
- break;
- }
break;
case KAUTH_SYSTEM_PSET:
diff -r dd6719cfe269 -r f5f995cccda5 share/man/man4/Makefile
--- a/share/man/man4/Makefile Sun Jul 15 01:02:15 2018 +0000
+++ b/share/man/man4/Makefile Sun Jul 15 05:16:40 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.657 2018/07/10 17:01:43 maya Exp $
+# $NetBSD: Makefile,v 1.658 2018/07/15 05:16:40 maxv Exp $
# @(#)Makefile 8.1 (Berkeley) 6/18/93
MAN= aac.4 ac97.4 acardide.4 aceride.4 acphy.4 \
@@ -32,7 +32,7 @@
ibmcd.4 ibmhawk.4 ichsmb.4 icmp.4 icp.4 icsphy.4 iee.4 ieee80211.4 \
ifmedia.4 igmafb.4 igphy.4 igsfb.4 iha.4 ihidev.4 ihphy.4 iic.4 ims.4 \
inet.4 ikphy.4 inphy.4 intersil7170.4 intro.4 \
- ioasic.4 ioat.4 iop.4 iophy.4 iopsp.4 ip.4 ipkdb.4 ipmi.4 ipw.4 \
+ ioasic.4 ioat.4 iop.4 iophy.4 iopsp.4 ip.4 ipmi.4 ipw.4 \
irmce.4 isp.4 ismt.4 isv.4 itesio.4 iteide.4 iwi.4 iwm.4 iwn.4 ixg.4 \
ixpide.4 ixv.4 \
jme.4 jmide.4 joy.4 \
diff -r dd6719cfe269 -r f5f995cccda5 share/man/man4/ipkdb.4
--- a/share/man/man4/ipkdb.4 Sun Jul 15 01:02:15 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,137 +0,0 @@
-.\" $NetBSD: ipkdb.4,v 1.7 2003/05/14 07:58:31 wiz Exp $
-.\"
-.\"
-.\" Copyright (C) 2000 Wolfgang Solfrank.
-.\" Copyright (C) 2000 TooLs GmbH.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. All advertising materials mentioning features or use of this software
-.\" must display the following acknowledgement:
-.\" This product includes software developed by TooLs GmbH.
-.\" 4. The name of TooLs GmbH may not be used to endorse or promote products
-.\" derived from this software without specific prior written permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY TOOLS GMBH ``AS IS'' AND ANY EXPRESS OR
-.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-.\" IN NO EVENT SHALL TOOLS GMBH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-.\" PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-.\" OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-.\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-.\"
-.Dd March 27, 2000
-.Dt IPKDB 4
-.Os
-.Sh NAME
-.Nm ipkdb
-.Nd IP-based kernel debugger
-.Sh SYNOPSIS
-.Cd options IPKDB
-.Cd options IPKDBSECURE
-.Cd options IPKDBKEY="\e"IPKDB key for remote debugging\e""
-.Cd options IPKDB_NE_PCISLOT=x
-.Sh DESCRIPTION
-.Nm
-is a kernel debugger that uses UDP and IP to communicate with
-a remote debugger (normally
-.Xr gdb 1 ) .
-.Pp
-Since the debugger uses its own driver to talk to the networking hardware,
-the number of supported network interfaces is a lot less than what is
-supported by the kernel.
-At the time of this writing, there is only support for a NE2000 compatible
-card in a PCI slot.
-In order for
-.Nm
-to find your card, you need to specify the slot the card is in via
-the
-.Li "options IPKDB_NE_PCISLOT" .
-.Pp
-To use
-.Nm ,
-you have to set up a DHCP server,
-from which
-.Nm
-can get the IP address for the interface that is used for debugging.
-.Pp
-To enter
-.Nm ,
-the remote debugger has to send the protocol start packet.
-E.g., gdb will do this on the command
-.Dl target ipkdb debuggee IPKDB key for remote debugging
-where
-.Li debuggee
-is the name of the machine to debug (which must resolve to the
-IP address of the interface), and the rest of the line
-corresponds to the definition of
-.Dv IPKDBKEY
-(see below).
-For
-.Nm
-to actually see this packet, the interface which is used for
-debugging has to be set up to actually receive packets,
-i.e. it has to be up and running.
-.Pp
-To prevent messing around with a secured system,
-.Nm
-normally also checks the security level at which the kernel
-is running.
-.Nm
-will only work with security levels less than 1,
-unless the kernel is configured with
-.Li "options IPKDBSECURE" .
-.Pp
-In addition, the debugger is forcedly entered on a panic,
-as well as on initial startup, if you boot the kernel with the
-.Fl d
-option (note that this however is machine dependent).
-On such a forced enter to
-.Nm
-there is no need for the interface in question to already
-be up and running, since
-.Nm
-only needs to send/receive packets via its own driver.
-.Pp
-As some form of security against the occasional hacker,
-.Nm
-uses the definition of
-.Li "options IPKDBKEY"
-to compute a checksum on the data in every packet.
-The remote debugger has to send this checksum,
-based on the data it sends and the key, or
-.Nm
-ignores the packet.
-This is also used in order to check against data errors
-on the connection.
-.Sh SEE ALSO
-.Xr gdb 1 ,
-.Xr ddb 4 ,
-.Xr ip 4 ,
-.Xr udp 4 ,
Home |
Main Index |
Thread Index |
Old Index