Hi, it seems to be wrong mknod(2) usage in loader.c thank you.
diff -u -r1.253 loader.c --- loader2/loader.c 11 Jul 2007 15:28:23 -0000 1.253 +++ loader2/loader.c 3 Aug 2007 05:48:18 -0000 @@ -238,7 +238,7 @@ for (n = 9; n > 0; n--) { sprintf(dev, "/dev/tty%d", n); - mknod(dev, 0600, S_IFCHR | makedev(4, n)); + mknod(dev, 0600 | S_IFCHR, makedev(4, n)); fd = open(dev, O_RDWR|O_NOCTTY); if (fd >= 0) { ioctl(fd, VT_ACTIVATE, n);