Cosmetic nit in the 'filename' passed to veriexec_verify().

This commit is contained in:
elad 2007-01-11 14:26:07 +00:00
parent 764f2241da
commit fa26351488
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: uvm_mmap.c,v 1.102 2006/11/01 10:18:27 yamt Exp $ */ /* $NetBSD: uvm_mmap.c,v 1.103 2007/01/11 14:26:07 elad Exp $ */
/* /*
* Copyright (c) 1997 Charles D. Cranor and Washington University. * Copyright (c) 1997 Charles D. Cranor and Washington University.
@ -51,7 +51,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: uvm_mmap.c,v 1.102 2006/11/01 10:18:27 yamt Exp $"); __KERNEL_RCSID(0, "$NetBSD: uvm_mmap.c,v 1.103 2007/01/11 14:26:07 elad Exp $");
#include "opt_compat_netbsd.h" #include "opt_compat_netbsd.h"
#include "opt_pax.h" #include "opt_pax.h"
@ -413,8 +413,8 @@ sys_mmap(l, v, retval)
* exists. * exists.
*/ */
if (prot & VM_PROT_EXECUTE) { if (prot & VM_PROT_EXECUTE) {
if (veriexec_verify(l, vp, "[mmap]", if (veriexec_verify(l, vp, "(mmap)", VERIEXEC_INDIRECT,
VERIEXEC_INDIRECT, NULL) != 0) NULL) != 0)
return (EPERM); return (EPERM);
} }
#endif /* NVERIEXEC > 0 */ #endif /* NVERIEXEC > 0 */