syscalls/sockioctl01: Fix mknod().

The O_CREAT is wrong too, remove it.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
syscalls/readlink04: Cleanup.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
syscalls/readlink04: Simplify the code.

This commit moves the creat_slink.c code
into the readlink04 as there is no point
in running the symlink in separate binary.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
syscalls/readlin04: Further fixes.

Remove the fork as it's not needed at all.

Also remove some uses of redundant
\0 in strings, duplicate variables,
unneeded curly braces etc.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>