add extended attributes syscalls

based on patch by orc and Isaac Dunham, with some fixes.
2 files changed