aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_exec.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2007-03-05 13:10:58 +0000
committerRobert Watson <rwatson@FreeBSD.org>2007-03-05 13:10:58 +0000
commit873fbcd776b5c6e0b7caa1f1f87cc91a12d339db (patch)
tree2dd9323b62ee1cbf7eb55c41c1cc9c518ebd0111 /sys/kern/kern_exec.c
parent491deb49c4d5eb6b35205a3079202be044f81742 (diff)
downloadsrc-873fbcd776b5c6e0b7caa1f1f87cc91a12d339db.tar.gz
src-873fbcd776b5c6e0b7caa1f1f87cc91a12d339db.zip
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.
Notes
Notes: svn path=/head/; revision=167232
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 e07ded2e8d9e..31c8c39c7f60 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)