public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea30478
)
execve: remove some debug noise
author
Alan Cox
<alan@etchedpixels.co.uk>
Sun, 16 Nov 2014 16:18:07 +0000
(16:18 +0000)
committer
Alan Cox
<alan@etchedpixels.co.uk>
Sun, 16 Nov 2014 16:18:07 +0000
(16:18 +0000)
Kernel/syscall_exec.c
patch
|
blob
|
history
diff --git
a/Kernel/syscall_exec.c
b/Kernel/syscall_exec.c
index
0f0c7f7
..
b3cf2f5
100644
(file)
--- a/
Kernel/syscall_exec.c
+++ b/
Kernel/syscall_exec.c
@@
-41,15
+41,11
@@
int16_t _execve(void)
uint8_t c;
uint16_t blocks;
- kputs("execve\n");
-
top = (uint16_t)ramtop;
if (!(ino = n_open(name, NULLINOPTR)))
return (-1);
- kputs("Found it\n");
-
if (!((getperm(ino) & OTH_EX) &&
(ino->c_node.i_mode & F_REG) &&
(ino->c_node.i_mode & (OWN_EX | OTH_EX | GRP_EX)))) {
@@
-72,7
+68,6
@@
int16_t _execve(void)
udata.u_error = ENOEXEC;
goto nogood2;
}
- kputs("Magic\n");
/*
* Executables might be CP/M or Fuzix (we don't support legacy