Re: [Qemu-devel] [PATCH] fsdev: Don't ignore setfsuid/setfsgid return values

2012-10-05 Thread Eric Blake
On 10/05/2012 02:36 AM, M. Mohan Kumar wrote: > From: "M. Mohan Kumar" > > In current implementation of setfsuid/setfsgid there is no way to know > if it failed by checking the return value. This patch assumes > setfsuid/setfsgid returns -1 in case of error. Eventually kernel code > needs to be f

[Qemu-devel] [PATCH] fsdev: Don't ignore setfsuid/setfsgid return values

2012-10-05 Thread M. Mohan Kumar
From: "M. Mohan Kumar" In current implementation of setfsuid/setfsgid there is no way to know if it failed by checking the return value. This patch assumes setfsuid/setfsgid returns -1 in case of error. Eventually kernel code needs to be fixed. Signed-off-by: M. Mohan Kumar --- fsdev/virtfs-pr