Implement kernel setattr

see #5
Implement userland setattr.

close #5