execve: remove some debug noise
authorAlan Cox <alan@etchedpixels.co.uk>
Sun, 16 Nov 2014 16:18:07 +0000 (16:18 +0000)
committerAlan Cox <alan@etchedpixels.co.uk>
Sun, 16 Nov 2014 16:18:07 +0000 (16:18 +0000)
Kernel/syscall_exec.c

index 0f0c7f7..b3cf2f5 100644 (file)
@@ -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