Re: [Xen-devel] [PATCH 1/3] fuzz/x86emul: avoid race in link farm rune

2017-02-20 Thread Wei Liu
On Fri, Feb 17, 2017 at 04:44:45AM -0700, Jan Beulich wrote: > >>> On 17.02.17 at 12:36, wrote: > > On Fri, Feb 17, 2017 at 03:33:26AM -0700, Jan Beulich wrote: > >> >>> On 17.02.17 at 11:12, wrote: > >> > On Thu, Feb 16, 2017 at 07:10:41PM +, Andrew Cooper wrote: > >> >> On 16/02/17 18:56, W

Re: [Xen-devel] [PATCH 1/3] fuzz/x86emul: avoid race in link farm rune

2017-02-17 Thread Jan Beulich
>>> On 17.02.17 at 12:36, wrote: > On Fri, Feb 17, 2017 at 03:33:26AM -0700, Jan Beulich wrote: >> >>> On 17.02.17 at 11:12, wrote: >> > On Thu, Feb 16, 2017 at 07:10:41PM +, Andrew Cooper wrote: >> >> On 16/02/17 18:56, Wei Liu wrote: >> >> > --- a/tools/fuzz/x86_instruction_emulator/Makefil

Re: [Xen-devel] [PATCH 1/3] fuzz/x86emul: avoid race in link farm rune

2017-02-17 Thread Wei Liu
On Fri, Feb 17, 2017 at 03:33:26AM -0700, Jan Beulich wrote: > >>> On 17.02.17 at 11:12, wrote: > > On Thu, Feb 16, 2017 at 07:10:41PM +, Andrew Cooper wrote: > >> On 16/02/17 18:56, Wei Liu wrote: > >> > --- a/tools/fuzz/x86_instruction_emulator/Makefile > >> > +++ b/tools/fuzz/x86_instructio

Re: [Xen-devel] [PATCH 1/3] fuzz/x86emul: avoid race in link farm rune

2017-02-17 Thread Jan Beulich
>>> On 17.02.17 at 11:12, wrote: > On Thu, Feb 16, 2017 at 07:10:41PM +, Andrew Cooper wrote: >> On 16/02/17 18:56, Wei Liu wrote: >> > --- a/tools/fuzz/x86_instruction_emulator/Makefile >> > +++ b/tools/fuzz/x86_instruction_emulator/Makefile >> > @@ -8,12 +8,16 @@ else >> > x86-instruction-e

Re: [Xen-devel] [PATCH 1/3] fuzz/x86emul: avoid race in link farm rune

2017-02-17 Thread Wei Liu
On Fri, Feb 17, 2017 at 02:24:15AM -0700, Jan Beulich wrote: > >>> On 16.02.17 at 19:56, wrote: > > --- a/tools/fuzz/x86_instruction_emulator/Makefile > > +++ b/tools/fuzz/x86_instruction_emulator/Makefile > > @@ -8,12 +8,16 @@ else > > x86-instruction-emulator-fuzzer-all: > > endif > > > > -x

Re: [Xen-devel] [PATCH 1/3] fuzz/x86emul: avoid race in link farm rune

2017-02-17 Thread Wei Liu
On Thu, Feb 16, 2017 at 07:10:41PM +, Andrew Cooper wrote: > On 16/02/17 18:56, Wei Liu wrote: > > Several `ln -sf` can race with each other and cause error like: > > > > 14:43:56 00:07:06 O: ln: cannot remove 'asm': No such file or directory > > > > Provide dedicated targets for soft-linking d

Re: [Xen-devel] [PATCH 1/3] fuzz/x86emul: avoid race in link farm rune

2017-02-17 Thread Jan Beulich
>>> On 16.02.17 at 19:56, wrote: > --- a/tools/fuzz/x86_instruction_emulator/Makefile > +++ b/tools/fuzz/x86_instruction_emulator/Makefile > @@ -8,12 +8,16 @@ else > x86-instruction-emulator-fuzzer-all: > endif > > -x86_emulate/x86_emulate.c x86_emulate/x86_emulate.h: > +x86_emulate: > [

Re: [Xen-devel] [PATCH 1/3] fuzz/x86emul: avoid race in link farm rune

2017-02-16 Thread Andrew Cooper
On 16/02/17 18:56, Wei Liu wrote: > Several `ln -sf` can race with each other and cause error like: > > 14:43:56 00:07:06 O: ln: cannot remove 'asm': No such file or directory > > Provide dedicated targets for soft-linking directories. > > Reported-by: Andrew Cooper > Signed-off-by: Wei Liu > ---

[Xen-devel] [PATCH 1/3] fuzz/x86emul: avoid race in link farm rune

2017-02-16 Thread Wei Liu
Several `ln -sf` can race with each other and cause error like: 14:43:56 00:07:06 O: ln: cannot remove 'asm': No such file or directory Provide dedicated targets for soft-linking directories. Reported-by: Andrew Cooper Signed-off-by: Wei Liu --- tools/fuzz/x86_instruction_emulator/Makefile |