projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make swkill messages more informative
[unix-history]
/
usr
/
src
/
sys
/
kern
/
kern_exec.c
diff --git
a/usr/src/sys/kern/kern_exec.c
b/usr/src/sys/kern/kern_exec.c
index
9b03ea8
..
14d36e5
100644
(file)
--- a/
usr/src/sys/kern/kern_exec.c
+++ b/
usr/src/sys/kern/kern_exec.c
@@
-1,4
+1,4
@@
-/* kern_exec.c 6.
9
85/03/12 */
+/* kern_exec.c 6.
10
85/03/12 */
#include "../machine/reg.h"
#include "../machine/pte.h"
#include "../machine/reg.h"
#include "../machine/pte.h"
@@
-190,7
+190,7
@@
execve()
uap = (struct execa *)u.u_ap;
bno = rmalloc(argmap, (long)ctod(clrnd((int)btoc(NCARGS))));
if (bno == 0) {
uap = (struct execa *)u.u_ap;
bno = rmalloc(argmap, (long)ctod(clrnd((int)btoc(NCARGS))));
if (bno == 0) {
- swkill(u.u_procp, "exece");
+ swkill(u.u_procp, "exec
: no swap spac
e");
goto bad;
}
if (bno % CLSIZE)
goto bad;
}
if (bno % CLSIZE)
@@
-423,7
+423,7
@@
getxfile(ip, ep, nargc, uid, gid)
#endif
if (u.u_error)
#endif
if (u.u_error)
- swkill(u.u_procp, "
i/o
error mapping pages");
+ swkill(u.u_procp, "
exec: I/O
error mapping pages");
/*
* set SUID/SGID protections, if no tracing
*/
/*
* set SUID/SGID protections, if no tracing
*/