summaryrefslogtreecommitdiff
path: root/usr.bin/kdump/kdump.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2019-01-11 18:46:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2019-01-11 18:46:31 +0000
commitbdcbae13d3ce5b0ec5f91b1386a97efef538a1c6 (patch)
treece5b4b382611d7c073621a04968901d797b90262 /usr.bin/kdump/kdump.c
parenta1347c5429a4a6569c12b1eac90063472b46882e (diff)
mincore() is a relic from the past, exposing physical machine information
about shared resources which no program should see. only a few pieces of software use it, generally poorly thought out. they are being fixed, so mincore() can be deleted. ok guenther tedu jca sthen, others
Diffstat (limited to 'usr.bin/kdump/kdump.c')
-rw-r--r--usr.bin/kdump/kdump.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index 0af6b2ea7ef..3d8d5a277db 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kdump.c,v 1.136 2018/12/12 17:55:28 tedu Exp $ */
+/* $OpenBSD: kdump.c,v 1.137 2019/01/11 18:46:30 deraadt Exp $ */
/*-
* Copyright (c) 1988, 1993
@@ -732,7 +732,6 @@ static const formatter scargs[][8] = {
[SYS_utimes] = { Ppath, Pptr },
[SYS_futimes] = { Pfd, Pptr },
[SYS_kbind] = { Pptr, Psize, Phexlonglong },
- [SYS_mincore] = { Pptr, Pbigsize, Pptr },
[SYS_getgroups] = { Pcount, Pptr },
[SYS_setgroups] = { Pcount, Pptr },
[SYS_setpgid] = { Ppid_t, Ppid_t },