Re: [Mesa-dev] Bug#651370: libgl1-mesa-glx: need close on exec for dri device

2011-12-13 Thread Adam Jackson
On Sat, 2011-12-10 at 11:46 -0600, David Fries wrote: > Set the close on exec flag when opening dri character devices, so they > will be closed and free any resouces allocated in exec. Reviewed-by: Adam Jackson - ajax signature.asc Description: This is a digitally signed message part _

Re: [Mesa-dev] Bug#651370: libgl1-mesa-glx: need close on exec for dri device

2011-12-11 Thread David Fries
Set the close on exec flag when opening dri character devices, so they will be closed and free any resouces allocated in exec. --- Just for fun I included a git bundle of the commit. Please Cc me on any replies as I'm not subscribed to the mesa list. src/egl/drivers/dri2/platform_wayland.c

Re: [Mesa-dev] Bug#651370: libgl1-mesa-glx: need close on exec for dri device

2011-12-08 Thread Michel Dänzer
On Mit, 2011-12-07 at 23:43 -0600, David Fries wrote: > Package: libgl1-mesa-glx > > Version: 7.11-6 > Severity: normal > Tags: patch > > When dri is used the character device /dev/dri/card0 is opened. That > file descriptor should be set with the close on exec file as currently > those resourc