Ping? -- PMM
On 14 December 2011 15:37, Peter Maydell <peter.mayd...@linaro.org> 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 > >