summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_exec.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-03-05 13:10:58 +0000
committerrwatson <rwatson@FreeBSD.org>2007-03-05 13:10:58 +0000
commit69938bd19626ef8e176215880689a282503f8eca (patch)
tree2dd9323b62ee1cbf7eb55c41c1cc9c518ebd0111 /sys/kern/kern_exec.c
parentbc98d02991feca044590da3d2fccb75e6f3f21da (diff)
downloadFreeBSD-src-69938bd19626ef8e176215880689a282503f8eca.zip
FreeBSD-src-69938bd19626ef8e176215880689a282503f8eca.tar.gz
Further system call comment cleanup:
- Remove also "MP SAFE" after prior "MPSAFE" pass. (suggested by bde) - Remove extra blank lines in some cases. - Add extra blank lines in some cases. - Remove no-op comments consisting solely of the function name, the word "syscall", or the system call name. - Add punctuation. - Re-wrap some comments.
Diffstat (limited to 'sys/kern/kern_exec.c')
-rw-r--r--sys/kern/kern_exec.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c
index e07ded2..31c8c39 100644
--- a/sys/kern/kern_exec.c
+++ b/sys/kern/kern_exec.c
@@ -221,11 +221,11 @@ __mac_execve(td, uap)
}
/*
- * XXX: kern_execve has the astonishing property of not always
- * returning to the caller. If sufficiently bad things happen during
- * the call to do_execve(), it can end up calling exit1(); as a result,
- * callers must avoid doing anything which they might need to undo
- * (e.g., allocating memory).
+ * XXX: kern_execve has the astonishing property of not always returning to
+ * the caller. If sufficiently bad things happen during the call to
+ * do_execve(), it can end up calling exit1(); as a result, callers must
+ * avoid doing anything which they might need to undo (e.g., allocating
+ * memory).
*/
int
kern_execve(td, args, mac_p)
@@ -950,8 +950,8 @@ exec_new_vmspace(imgp, sv)
}
/*
- * Copy out argument and environment strings from the old process
- * address space into the temporary string buffer.
+ * Copy out argument and environment strings from the old process address
+ * space into the temporary string buffer.
*/
int
exec_copyin_args(struct image_args *args, char *fname,
@@ -1053,9 +1053,9 @@ exec_free_args(struct image_args *args)
}
/*
- * Copy strings out to the new process address space, constructing
- * new arg and env vector tables. Return a pointer to the base
- * so that it can be used as the initial stack pointer.
+ * Copy strings out to the new process address space, constructing new arg
+ * and env vector tables. Return a pointer to the base so that it can be used
+ * as the initial stack pointer.
*/
register_t *
exec_copyout_strings(imgp)
OpenPOWER on IntegriCloud