Re: [Qemu-devel] [PATCH v2 3/5] 9p: forbid . and .. in file names

2016-08-28 Thread Greg Kurz
On Fri, 26 Aug 2016 13:49:00 -0500 Eric Blake wrote: > On 08/26/2016 10:07 AM, Greg Kurz wrote: > > According to the 9P spec http://man.cat-v.org/plan_9/5/open about the > > create request: > > > > The names . and .. are special; it is illegal to create files with these > > names. > > > > This

Re: [Qemu-devel] [PATCH v2 3/5] 9p: forbid . and .. in file names

2016-08-26 Thread Eric Blake
On 08/26/2016 10:07 AM, Greg Kurz wrote: > According to the 9P spec http://man.cat-v.org/plan_9/5/open about the > create request: > > The names . and .. are special; it is illegal to create files with these > names. > > This patch causes the create and lcreate requests to fail with EINVAL if > t