qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/3] linux-user: Implement missing *xattr calls


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 0/3] linux-user: Implement missing *xattr calls
Date: Wed, 4 Jan 2012 11:39:55 +0000

Ping?

-- PMM

On 14 December 2011 15:37, Peter Maydell <address@hidden> wrote:
> These patches implement the missing *xattr syscalls:
>  listxattr
>  fsetattr, fgetattr, fremovexattr, flistxattr
>  lsetattr, lgetattr, lremovexattr, llistxattr
>
> They also fix a bug in the existing code where we weren't allowing a
> NULL value pointer.
>
> Tested with the testcases in crackerjack. (There are some cases where
> we don't behave exactly like the native kernel:
>  * we check for bad pointers earlier, so tend to return EFAULT when the
>   kernel might return EINVAL in a "caller did two wrong things" case
>  * we insist on the whole of the caller's buffer being writable whereas
>   the kernel only cares about being able to write the data it actually
>   needs, so we will fail EFAULT some bad callers that the kernel doesn't
> I don't think these are important.)
>
> Peter Maydell (3):
>  linux-user: Allow NULL value pointer in setxattr and getxattr
>  linux-user/syscall.c: Implement f and l versions of
>    set/get/removexattr
>  linux-user: Implement *listxattr syscalls
>
>  linux-user/syscall.c |  139 
> ++++++++++++++++++++++++++++++++++++++++++++------
>  1 files changed, 123 insertions(+), 16 deletions(-)
>
> --
> 1.7.5.4
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]