Re: [libvirt] [PATCH 2/2] virpcimock: Mock __open_2()

2019-08-15 Thread Ján Tomko
On Thu, Aug 15, 2019 at 05:15:57PM +0200, Michal Privoznik wrote: Hold on to your hat, this is going to be a wild ride. As nearly nothing in glic, nor open() is a real function. Just look into s/glic/glibc/ bits/fcntl2.h and you'll see that open() is actually a thin wrapper that calls either

Re: [libvirt] [PATCH 2/2] virpcimock: Mock __open_2()

2019-08-15 Thread Erik Skultety
On Thu, Aug 15, 2019 at 05:15:57PM +0200, Michal Privoznik wrote: > Hold on to your hat, this is going to be a wild ride. As nearly > nothing in glic, nor open() is a real function. Just look into > bits/fcntl2.h and you'll see that open() is actually a thin > wrapper that calls either

[libvirt] [PATCH 2/2] virpcimock: Mock __open_2()

2019-08-15 Thread Michal Privoznik
Hold on to your hat, this is going to be a wild ride. As nearly nothing in glic, nor open() is a real function. Just look into bits/fcntl2.h and you'll see that open() is actually a thin wrapper that calls either __open_alias() or __open_2(). Now, before 801ebb5edb6 the open() done in