Re: Authorized clients

2014-01-02 Thread Sebastian Wick
Am 2014-01-03 02:19, schrieb Maarten Baert: Okay, so the path in the config file is indeed the path to the executable that will be launched by the Wayland compositor, and not the path of the executable that _sends the request_ to launch a (different) privileged executable, right? Just checking :

Re: Authorized clients

2014-01-02 Thread Maarten Baert
On 03/01/14 00:12, Sebastian Wick wrote: > Maybe I should have made it more clear. The client must be started by > the compositor and it needs permission from either a config file or > polkit. The patches introduce a new protocol which lets a client tell > the compositor to start a new program/cli

Re: [PATCH] build: fix commit that changed option for installing client

2014-01-02 Thread Kristian Høgsberg
On Thu, Jan 02, 2014 at 08:30:57PM +, Ricardo Marcelino Vieira wrote: > From: Ricardo Vieira > > Without this patch the option --enable-demo-clients-install does not > install the client demos. Thanks. I had to apply by hand because of email whitespace damage... you should only send git pat

xwayland branch rebase

2014-01-02 Thread Kristian Høgsberg
Hi, Just a heads up that I've rebased the xwayland branch in the xserver repo to be based on the 1.5.0 release. Also, I tracked down the core problem with the xrandr weirdness - wayland sends out the refresh rate in mHz, which we passed to CVT as Hz... With that fixed, xrandr now reports correct

Re: [PATCH] Properly free drm plane in create_sprites

2014-01-02 Thread Kristian Høgsberg
On Thu, Jan 02, 2014 at 11:43:59AM +, Christopher Michael wrote: > From 11680caa37e27b5f0273f18395fc46975c91b599 Mon Sep 17 00:00:00 2001 > From: Chris Michael > Date: Thu, 2 Jan 2014 11:39:40 + > Subject: [PATCH] Properly free drm plane during creation of sprites > > If we fail to alloca

Re: Authorized clients

2014-01-02 Thread Sebastian Wick
Am 2014-01-02 23:01, schrieb Maarten Baert: On 31/12/13 05:02, Sebastian Wick wrote: I haven't looked at your code yet, but I suspect this detection mechanism would be seriously flawed, because it doesn't consider the environment of the application (chroot, LD_PRELOAD, LD_LIBRARY_PATH, the Qt an

Re: Authorized clients

2014-01-02 Thread Maarten Baert
On 31/12/13 05:02, Sebastian Wick wrote: > A client is authorized for a protocol if... > a) the client's executable path is found in a config file in the > directory > /etc/xdg/wayland/auth.d and if the config allows access on the protocol I haven't looked at your code yet, but I suspect this detec

[PATCH] Properly free drm plane in create_sprites

2014-01-02 Thread Christopher Michael
Hi All, A minor patch for the drm compositor. If we fail to allocate space for a new Sprite structure, then we should be calling drmModeFreePlane (instead of the current call to free()) in order to cleanup. Cheers, Chris Michael >From 11680caa37e27b5f0273f18395fc46975c91b599 Mon Sep 17 00:00