summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exec.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1998-03-02 05:47:58 +0000
committerPeter Wemm <peter@FreeBSD.org>1998-03-02 05:47:58 +0000
commitc8a7999933a3c8b9918feabe0c4798cc5fc862cb (patch)
treee225a543145c6725c1174a9b4e0c640a27de2d2a /sys/kern/kern_exec.c
parent95163bd37f39bc0309c425a48b483ab3caf03dae (diff)
Notes
Diffstat (limited to 'sys/kern/kern_exec.c')
-rw-r--r--sys/kern/kern_exec.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c
index a26410250645..fcfe4e29c9df 100644
--- a/sys/kern/kern_exec.c
+++ b/sys/kern/kern_exec.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: kern_exec.c,v 1.77 1998/02/06 12:13:23 eivind Exp $
+ * $Id: kern_exec.c,v 1.78 1998/02/25 13:08:06 bde Exp $
*/
#include <sys/param.h>
@@ -65,10 +65,6 @@
static int *exec_copyout_strings __P((struct image_params *));
-static int exec_check_permissions __P((struct image_params *));
-static int exec_map_first_page __P((struct image_params *));
-static void exec_unmap_first_page __P((struct image_params *));
-
/*
* XXX trouble here if sizeof(caddr_t) != sizeof(int), other parts
* of the sysctl code also assumes this, and sizeof(int) == sizeof(long).
@@ -107,7 +103,6 @@ execve(p, uap)
int error, len, i;
struct image_params image_params, *imgp;
struct vattr attr;
- struct buf *bp = NULL;
imgp = &image_params;
@@ -645,7 +640,7 @@ exec_copyout_strings(imgp)
* Check permissions of file to execute.
* Return 0 for success or error code on failure.
*/
-static int
+int
exec_check_permissions(imgp)
struct image_params *imgp;
{