It rolls a virtual dice, if you get 0 then you'll get a forkbomb and your system will (probably), after some time, freeze. Otherwise, you live. The second one is probably something on the same theme, except there's no virtual dice.