#include #include #include #include #include char buf[1024*8]; int main(int argc, char *argv[]) { int fd = fork(); int x, i, status; if (fd==0) { printf("This is the only io I can access\n"); int fd = open("/dev/urandom", O_CLOEXEC|O_RDONLY); read(fd, buf, 4096+1); //sizeof(buf)); for (x=0, i=0; i