Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Use the defined VERIEXEC_DIRECT instead of the (inc...
details: https://anonhg.NetBSD.org/src/rev/4d5af71c3241
branches: trunk
changeset: 581940:4d5af71c3241
user: elad <elad%NetBSD.org@localhost>
date: Fri Jun 10 23:32:16 2005 +0000
description:
Use the defined VERIEXEC_DIRECT instead of the (incorrect) 0 magic number.
diffstat:
sys/kern/kern_exec.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r c409801e4f71 -r 4d5af71c3241 sys/kern/kern_exec.c
--- a/sys/kern/kern_exec.c Fri Jun 10 22:34:05 2005 +0000
+++ b/sys/kern/kern_exec.c Fri Jun 10 23:32:16 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_exec.c,v 1.198 2005/05/29 22:24:15 christos Exp $ */
+/* $NetBSD: kern_exec.c,v 1.199 2005/06/10 23:32:16 elad Exp $ */
/*-
* Copyright (C) 1993, 1994, 1996 Christopher G. Demetriou
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.198 2005/05/29 22:24:15 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.199 2005/06/10 23:32:16 elad Exp $");
#include "opt_ktrace.h"
#include "opt_syscall_debug.h"
@@ -438,8 +438,7 @@
/* see if we can run it. */
#ifdef VERIFIED_EXEC
- if ((error = check_exec(p, &pack, 1)) != 0)
- /* if ((error = check_exec(p, &pack, 0)) != 0) */
+ if ((error = check_exec(p, &pack, VERIEXEC_DIRECT)) != 0)
#else
if ((error = check_exec(p, &pack)) != 0)
#endif
Home |
Main Index |
Thread Index |
Old Index