]> git.proxmox.com Git - qemu.git/commit
linux-user: Allow NULL value pointer in setxattr and getxattr
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 14 Dec 2011 15:37:17 +0000 (15:37 +0000)
committerRiku Voipio <riku.voipio@linaro.org>
Thu, 2 Feb 2012 15:51:20 +0000 (17:51 +0200)
commite3c33ec6b07dc4d0503cb43b2114be47fc344d36
tree61d4ae8faf41b87a8f42efeb48fce5f97810e682
parent5379557b8d5acb140c17e00441fda45eae627fed
linux-user: Allow NULL value pointer in setxattr and getxattr

It's valid to pass a NULL value pointer to setxattr, so don't
fail this case EFAULT.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall.c