Don't depend on #ifdef VERIFIED_EXEC

This commit is contained in:
christos 2005-07-16 22:44:59 +00:00
parent 7fc92b0291
commit da48256d5a
1 changed files with 1 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: exec.h,v 1.110 2005/07/11 20:15:26 cube Exp $ */
/* $NetBSD: exec.h,v 1.111 2005/07/16 22:44:59 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@ -245,13 +245,9 @@ int vmcmd_map_zero (struct proc *, struct exec_vmcmd *);
int copyargs (struct proc *, struct exec_package *,
struct ps_strings *, char **, void *);
void setregs (struct lwp *, struct exec_package *, u_long);
#ifdef VERIFIED_EXEC
int check_veriexec (struct proc *, struct vnode *,
struct exec_package *, int);
int check_exec (struct proc *, struct exec_package *, int);
#else
int check_exec (struct proc *, struct exec_package *);
#endif
int exec_init (int);
int exec_read_from (struct proc *, struct vnode *, u_long off,
void *, size_t);