fix some typos and clean up some comments.

This commit is contained in:
cgd 1996-09-26 23:34:46 +00:00
parent bbfe67624b
commit 2f42e5b8ed
2 changed files with 8 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: exec_aout.c,v 1.14 1996/02/04 02:15:01 christos Exp $ */
/* $NetBSD: exec_aout.c,v 1.15 1996/09/26 23:34:46 cgd Exp $ */
/*
* Copyright (c) 1993, 1994 Christopher G. Demetriou
@ -257,7 +257,7 @@ exec_aout_setup_stack(p, epp)
* arguably, it could be made into one, but that would require the
* addition of another mapping proc, which is unnecessary
*
* note that in memory, things assumed to be: 0 ....... ep_maxsaddr
* note that in memory, things assumed to be: 0 ... ep_maxsaddr
* <stack> ep_minsaddr
*/
NEW_VMCMD(&epp->ep_vmcmds, vmcmd_map_zero,

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_exec.c,v 1.75 1996/02/09 18:59:28 christos Exp $ */
/* $NetBSD: kern_exec.c,v 1.76 1996/09/26 23:34:47 cgd Exp $ */
/*-
* Copyright (C) 1993, 1994 Christopher G. Demetriou
@ -74,17 +74,18 @@
*
* ON EXIT:
* error: nothing held, etc. exec header still allocated.
* ok: filled exec package, one locked vnode.
* ok: filled exec package, executable's vnode (locked).
*
* EXEC SWITCH ENTRY:
* Locked vnode to check, exec package, proc.
*
* EXEC SWITCH EXIT:
* ok: return 0, filled exec package, one locked vnode.
* ok: return 0, filled exec package, executable's vnode (locked).
* error: destructive:
* everything deallocated execept exec header.
* non-descructive:
* error code, locked vnode, exec header unmodified
* non-destructive:
* error code, executable's vnode (locked),
* exec header unmodified.
*/
int
check_exec(p, epp)