[TUHS] Fixed Unix v5 bug!

Mark Longridge cubexyz at gmail.com
Sat Jan 10 13:01:30 AEST 2015


> Noel Chiappa
> The change is pretty minor: in this piece of code:
>
>        case reboot:
>              termall();
>              execl(init, minus, 0);
>              reset();
>
> just change the execl() line to say:
>
>                execl(init, init, 0);

I patched init in v5 and now ps shows /etc/init as expected, even
after going from multi to single to multi mode.

Looks like init.c was the same in v5 and v6.



More information about the TUHS mailing list