Looks pretty sexy. Pull it out and make a kernel routine called `exit`.