Fix copy/paste error: Veriexec's sysctl setup routine was named after

PaX's.
This commit is contained in:
elad 2006-12-26 19:31:33 +00:00
parent d1139b199f
commit 74409752fc
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_pax.c,v 1.10 2006/12/23 08:35:43 yamt Exp $ */
/* $NetBSD: kern_pax.c,v 1.11 2006/12/26 19:31:33 elad Exp $ */
/*-
* Copyright (c) 2006 Elad Efrat <elad@NetBSD.org>
@ -102,7 +102,7 @@ SYSCTL_SETUP(sysctl_security_pax_setup, "sysctl security.pax setup")
CTLFLAG_PERMANENT,
CTLTYPE_NODE, "security", NULL,
NULL, 0, NULL, 0,
CTL_CREATE, CTL_EOL);
CTL_SECURITY, CTL_EOL);
sysctl_createv(clog, 0, &rnode, &rnode,
CTLFLAG_PERMANENT,

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_verifiedexec.c,v 1.85 2006/12/26 07:50:40 elad Exp $ */
/* $NetBSD: kern_verifiedexec.c,v 1.86 2006/12/26 19:31:33 elad Exp $ */
/*-
* Copyright 2005 Elad Efrat <elad@NetBSD.org>
@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: kern_verifiedexec.c,v 1.85 2006/12/26 07:50:40 elad Exp $");
__KERNEL_RCSID(0, "$NetBSD: kern_verifiedexec.c,v 1.86 2006/12/26 19:31:33 elad Exp $");
#include "opt_veriexec.h"
@ -155,7 +155,7 @@ sysctl_kern_veriexec(SYSCTLFN_ARGS)
return (error);
}
SYSCTL_SETUP(sysctl_security_pax_setup, "sysctl security.pax setup")
SYSCTL_SETUP(sysctl_kern_veriexec_setup, "sysctl kern.veriexec setup")
{
const struct sysctlnode *rnode = NULL;
@ -163,7 +163,7 @@ SYSCTL_SETUP(sysctl_security_pax_setup, "sysctl security.pax setup")
CTLFLAG_PERMANENT,
CTLTYPE_NODE, "kern", NULL,
NULL, 0, NULL, 0,
CTL_CREATE, CTL_EOL);
CTL_KERN, CTL_EOL);
sysctl_createv(clog, 0, &rnode, &rnode,
CTLFLAG_PERMANENT,