]> git.proxmox.com Git - qemu.git/commit - linux-user/syscall.c
linux-user: Implement setxattr/getxattr/removexattr syscalls
authorAn-Cheng Huang <ancheng@ubnt.com>
Tue, 9 Aug 2011 19:34:06 +0000 (12:34 -0700)
committerRiku Voipio <riku.voipio@linaro.org>
Fri, 9 Sep 2011 07:48:03 +0000 (10:48 +0300)
commita790ae389bf779424789dc6ddc946ea268d58c42
tree0ee7293a6a47c3931cd1e94909c84123e05a43c6
parent94c19610a6973ad917d9c154eabfc2ee27bc4f59
linux-user: Implement setxattr/getxattr/removexattr syscalls

This patch implements the setxattr, getxattr, and removexattr syscalls
if CONFIG_ATTR is enabled.

Note that since libattr uses indirect syscalls for these, this change
depends on the fix for indirect syscall handling on MIPS.

Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: An-Cheng Huang <ancheng@ubnt.com>
linux-user/syscall.c