diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2020-07-06 06:11:28 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2020-07-06 06:11:28 +0000 |
commit | 538f5287962d57f44303cfa3eec6b00b78dac342 (patch) | |
tree | cff905573d09afc49a0872f7e0442a5a19c801eb /etc | |
parent | 825c6ff98ec37217cd5feac78bfa98fe92fe2120 (diff) |
wire up kstat(4).
it's only accessible to root:wheel.
ok deraadt@
Diffstat (limited to 'etc')
-rw-r--r-- | etc/MAKEDEV.common | 5 | ||||
-rw-r--r-- | etc/etc.alpha/MAKEDEV.md | 3 | ||||
-rw-r--r-- | etc/etc.amd64/MAKEDEV.md | 3 | ||||
-rw-r--r-- | etc/etc.arm64/MAKEDEV.md | 3 | ||||
-rw-r--r-- | etc/etc.armv7/MAKEDEV.md | 3 | ||||
-rw-r--r-- | etc/etc.hppa/MAKEDEV.md | 3 | ||||
-rw-r--r-- | etc/etc.i386/MAKEDEV.md | 3 | ||||
-rw-r--r-- | etc/etc.landisk/MAKEDEV.md | 3 | ||||
-rw-r--r-- | etc/etc.loongson/MAKEDEV.md | 3 | ||||
-rw-r--r-- | etc/etc.luna88k/MAKEDEV.md | 3 | ||||
-rw-r--r-- | etc/etc.macppc/MAKEDEV.md | 3 | ||||
-rw-r--r-- | etc/etc.octeon/MAKEDEV.md | 3 | ||||
-rw-r--r-- | etc/etc.powerpc64/MAKEDEV.md | 3 | ||||
-rw-r--r-- | etc/etc.sgi/MAKEDEV.md | 3 | ||||
-rw-r--r-- | etc/etc.sparc64/MAKEDEV.md | 3 |
15 files changed, 32 insertions, 15 deletions
diff --git a/etc/MAKEDEV.common b/etc/MAKEDEV.common index 4ea7e9ead88..6399379b4c3 100644 --- a/etc/MAKEDEV.common +++ b/etc/MAKEDEV.common @@ -1,4 +1,4 @@ -vers(a, {-$OpenBSD: MAKEDEV.common,v 1.110 2020/04/18 21:28:35 ratchov Exp $-})dnl +vers(a, {-$OpenBSD: MAKEDEV.common,v 1.111 2020/07/06 06:11:26 dlg Exp $-})dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org> dnl @@ -169,6 +169,7 @@ target(all, pvbus, 0, 1)dnl target(all, bpf)dnl target(all, kcov)dnl target(all, dt)dnl +target(all, kstat)dnl dnl _mkdev(all, {-all-}, {-dnl show_target(all)dnl @@ -532,3 +533,5 @@ __devitem(kcov, kcov, Kernel code coverage tracing)dnl _mkdev(kcov, kcov, {-M kcov c major_kcov_c 0 600-})dnl __devitem(dt, dt, Dynamic Tracer)dnl _mkdev(dt, dt, {-M dt c major_dt_c 0 600-})dnl +__devitem(kstat, kstat, Kernel Statistics)dnl +_mkdev(kstat, kstat, {-M kstat c major_kstat_c 0 640-})dnl diff --git a/etc/etc.alpha/MAKEDEV.md b/etc/etc.alpha/MAKEDEV.md index 409d38b4a2b..77fe5228989 100644 --- a/etc/etc.alpha/MAKEDEV.md +++ b/etc/etc.alpha/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,alpha)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.75 2020/04/24 20:09:04 ratchov Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.76 2020/07/06 06:11:26 dlg Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org> @@ -83,6 +83,7 @@ _DEV(uk, 33) _DEV(vi, 44) _DEV(vscsi, 61) _DEV(switch, 69) +_DEV(kstat, 51) dnl divert(__mddivert)dnl dnl diff --git a/etc/etc.amd64/MAKEDEV.md b/etc/etc.amd64/MAKEDEV.md index 8c38ce6c022..a544fae131b 100644 --- a/etc/etc.amd64/MAKEDEV.md +++ b/etc/etc.amd64/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,amd64)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.75 2020/04/24 20:09:04 ratchov Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.76 2020/07/06 06:11:26 dlg Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org> @@ -97,6 +97,7 @@ _DEV(vmm, 10) _DEV(vscsi, 89) _DEV(pvbus, 95) _DEV(switch, 97) +_DEV(kstat, 51) dnl divert(__mddivert)dnl dnl diff --git a/etc/etc.arm64/MAKEDEV.md b/etc/etc.arm64/MAKEDEV.md index 23ee2f9cc88..44f79ee67fe 100644 --- a/etc/etc.arm64/MAKEDEV.md +++ b/etc/etc.arm64/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,arm64)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.9 2020/04/24 20:09:04 ratchov Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.10 2020/07/06 06:11:26 dlg Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org> @@ -83,6 +83,7 @@ _DEV(uk, 20) _DEV(vi, 44) _DEV(vscsi, 89) _DEV(switch, 97) +_DEV(kstat, 51) dnl divert(__mddivert)dnl dnl diff --git a/etc/etc.armv7/MAKEDEV.md b/etc/etc.armv7/MAKEDEV.md index 887320b02d0..4cde2c06d56 100644 --- a/etc/etc.armv7/MAKEDEV.md +++ b/etc/etc.armv7/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,armv7)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.17 2020/01/23 02:47:28 dlg Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.18 2020/07/06 06:11:26 dlg Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org> @@ -89,6 +89,7 @@ _DEV(tuner, 75) _DEV(vi, 38) _DEV(vscsi, 100) _DEV(switch, 105) +_DEV(kstat, 51) dnl divert(__mddivert)dnl dnl diff --git a/etc/etc.hppa/MAKEDEV.md b/etc/etc.hppa/MAKEDEV.md index 8dd3ef0f393..6bf1acec396 100644 --- a/etc/etc.hppa/MAKEDEV.md +++ b/etc/etc.hppa/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,hppa)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.64 2020/04/24 20:09:04 ratchov Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.65 2020/07/06 06:11:26 dlg Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org> @@ -78,6 +78,7 @@ _DEV(uk, 15) _DEV(vi, 33) _DEV(vscsi, 54) _DEV(switch, 60) +_DEV(kstat, 51) dnl divert(__mddivert)dnl dnl diff --git a/etc/etc.i386/MAKEDEV.md b/etc/etc.i386/MAKEDEV.md index de1d330ed92..864aa69c2d3 100644 --- a/etc/etc.i386/MAKEDEV.md +++ b/etc/etc.i386/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,i386)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.90 2020/04/24 20:09:04 ratchov Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.91 2020/07/06 06:11:27 dlg Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org> @@ -98,6 +98,7 @@ _DEV(vi, 44) _DEV(vscsi, 90) _DEV(pvbus, 95) _DEV(switch, 97) +_DEV(kstat, 51) dnl divert(__mddivert)dnl dnl diff --git a/etc/etc.landisk/MAKEDEV.md b/etc/etc.landisk/MAKEDEV.md index 64be017542a..169f795b1fe 100644 --- a/etc/etc.landisk/MAKEDEV.md +++ b/etc/etc.landisk/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,landisk)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.47 2020/04/24 20:09:04 ratchov Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.48 2020/07/06 06:11:27 dlg Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org> @@ -92,6 +92,7 @@ _DEV(uk, 28) _DEV(vi, 77) _DEV(vscsi, 99) _DEV(switch, 105) +_DEV(kstat, 51) dnl divert(__mddivert)dnl dnl diff --git a/etc/etc.loongson/MAKEDEV.md b/etc/etc.loongson/MAKEDEV.md index 22f143f3ee0..fb3996c28ac 100644 --- a/etc/etc.loongson/MAKEDEV.md +++ b/etc/etc.loongson/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,loongson)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.31 2020/04/24 20:09:04 ratchov Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.32 2020/07/06 06:11:27 dlg Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org> @@ -84,6 +84,7 @@ _DEV(uk, 32) _DEV(vi, 45) _DEV(vscsi, 69) _DEV(switch, 75) +_DEV(kstat, 51) dnl divert(__mddivert)dnl dnl diff --git a/etc/etc.luna88k/MAKEDEV.md b/etc/etc.luna88k/MAKEDEV.md index 986d085fb4c..0616bfab0ce 100644 --- a/etc/etc.luna88k/MAKEDEV.md +++ b/etc/etc.luna88k/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,luna88k)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.34 2020/01/23 02:47:28 dlg Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.35 2020/07/06 06:11:27 dlg Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org> @@ -117,6 +117,7 @@ _DEV(uk, 41) _DEV(vscsi, 53) _DEV(switch, 57) _DEV(xp, 11) +_DEV(kstat, 51) dnl divert(__mddivert)dnl dnl diff --git a/etc/etc.macppc/MAKEDEV.md b/etc/etc.macppc/MAKEDEV.md index 641c60faabb..91ea647a00d 100644 --- a/etc/etc.macppc/MAKEDEV.md +++ b/etc/etc.macppc/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,macppc)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.74 2020/04/24 20:09:05 ratchov Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.75 2020/07/06 06:11:27 dlg Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org> @@ -99,6 +99,7 @@ _DEV(uk, 41) _DEV(vi, 45) _DEV(vscsi, 83) _DEV(switch, 89) +_DEV(kstat, 51) dnl divert(__mddivert)dnl dnl diff --git a/etc/etc.octeon/MAKEDEV.md b/etc/etc.octeon/MAKEDEV.md index 8df83485b98..a7b641ac6a0 100644 --- a/etc/etc.octeon/MAKEDEV.md +++ b/etc/etc.octeon/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,octeon)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.18 2020/04/24 20:09:05 ratchov Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.19 2020/07/06 06:11:27 dlg Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org> @@ -87,6 +87,7 @@ _DEV(uk, 32) _DEV(vi, 45) _DEV(vscsi, 69) _DEV(switch, 75) +_DEV(kstat, 51) dnl divert(__mddivert)dnl dnl diff --git a/etc/etc.powerpc64/MAKEDEV.md b/etc/etc.powerpc64/MAKEDEV.md index a442b98c303..2c2ec837438 100644 --- a/etc/etc.powerpc64/MAKEDEV.md +++ b/etc/etc.powerpc64/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,powerpc64)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.2 2020/06/29 17:39:58 kettenis Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.3 2020/07/06 06:11:27 dlg Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org> @@ -77,6 +77,7 @@ _DEV(tun, 76) _DEV(uk, 70) _DEV(vscsi, 83) _DEV(switch, 74) +_DEV(kstat, 15) dnl divert(__mddivert)dnl dnl diff --git a/etc/etc.sgi/MAKEDEV.md b/etc/etc.sgi/MAKEDEV.md index 683a4ec7a41..e6ccb80126b 100644 --- a/etc/etc.sgi/MAKEDEV.md +++ b/etc/etc.sgi/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,sgi)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.53 2020/04/24 20:09:05 ratchov Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.54 2020/07/06 06:11:27 dlg Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org> @@ -91,6 +91,7 @@ _DEV(uk, 32) _DEV(vi, 45) _DEV(vscsi, 68) _DEV(switch, 75) +_DEV(kstat, 51) dnl divert(__mddivert)dnl dnl diff --git a/etc/etc.sparc64/MAKEDEV.md b/etc/etc.sparc64/MAKEDEV.md index 1b37812f4c6..79f0db90685 100644 --- a/etc/etc.sparc64/MAKEDEV.md +++ b/etc/etc.sparc64/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,sparc64)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.93 2020/05/25 20:27:44 kmos Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.94 2020/07/06 06:11:27 dlg Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org> @@ -134,6 +134,7 @@ _DEV(vldc_spds, 132) _DEV(vldc_ldom, 132) _DEV(vdsp, 133) _DEV(switch, 136) +_DEV(kstat, 51) dnl divert(__mddivert)dnl dnl |