rust-lang/rust-playpen — pull request #28 by mcpherrinm (2014-07-09 22:26:40+00:00)
Title: Add nanosleep to whitelist

The following program doesn't work in play.rust-lang.org:

fn main() {std::io::Timer::new().unwrap().sleep(1000);}

Running on my machine under strace, it appears the only disallowed syscall is nanosleep. I don't see a reason it should be prohibited, so I've added it to the whitelist.