Re: [Qemu-devel] [PATCH] 9pfs: don't use AT_EMPTY_PATH in local_set_cred_passthrough()

2017-03-04 Thread Eric Blake
On 03/04/2017 04:54 AM, Greg Kurz wrote: > The name argument can never be an empty string, and dirfd always point to > the containing directory of the file name. AT_EMPTY_PATH is hence useless > here. Also it breaks build with glibc version 2.13 and older. > > It is actually an oversight of a prev

Re: [Qemu-devel] [PATCH] 9pfs: don't use AT_EMPTY_PATH in local_set_cred_passthrough()

2017-03-04 Thread Mark Cave-Ayland
On 04/03/17 10:54, Greg Kurz wrote: > The name argument can never be an empty string, and dirfd always point to > the containing directory of the file name. AT_EMPTY_PATH is hence useless > here. Also it breaks build with glibc version 2.13 and older. > > It is actually an oversight of a previous

[Qemu-devel] [PATCH] 9pfs: don't use AT_EMPTY_PATH in local_set_cred_passthrough()

2017-03-04 Thread Greg Kurz
The name argument can never be an empty string, and dirfd always point to the containing directory of the file name. AT_EMPTY_PATH is hence useless here. Also it breaks build with glibc version 2.13 and older. It is actually an oversight of a previous tentative patch to implement this function. We