Re: [PATCH wayland] shm: add getters for the fd and offset

2015-10-05 Thread Derek Foreman
Sigh, realized this is still in patchwork and I never actually gave it a proper look. Sorry. On 01/07/15 03:25 AM, Giulio Camuffo wrote: > This allows to share the buffer data by mmapping the fd again. > --- > src/wayland-server-core.h | 6 ++ > src/wayland-shm.c | 16 ++

Re: [PATCH wayland] shm: add getters for the fd and offset

2015-07-18 Thread Giulio Camuffo
2015-07-18 0:27 GMT+03:00 Derek Foreman : > On 01/07/15 03:25 AM, Giulio Camuffo wrote: >> This allows to share the buffer data by mmapping the fd again. > > Does it really? If the client's closed its mapping then it's gone, > isn't it? > > Also, if we might need it later it would be better not un

Re: [PATCH wayland] shm: add getters for the fd and offset

2015-07-17 Thread Derek Foreman
On 01/07/15 03:25 AM, Giulio Camuffo wrote: > This allows to share the buffer data by mmapping the fd again. Does it really? If the client's closed its mapping then it's gone, isn't it? Also, if we might need it later it would be better not unmapping in the first place. I think I've got a patch

Re: [PATCH wayland] shm: add getters for the fd and offset

2015-07-16 Thread Hardening
Le 01/07/2015 10:25, Giulio Camuffo a écrit : > This allows to share the buffer data by mmapping the fd again. > --- > src/wayland-server-core.h | 6 ++ > src/wayland-shm.c | 16 +++- > 2 files changed, 21 insertions(+), 1 deletion(-) > Reviewed-by: David FORT > diff -

[PATCH wayland] shm: add getters for the fd and offset

2015-07-01 Thread Giulio Camuffo
This allows to share the buffer data by mmapping the fd again. --- src/wayland-server-core.h | 6 ++ src/wayland-shm.c | 16 +++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/src/wayland-server-core.h b/src/wayland-server-core.h index 7d03789..938cdf7 100