mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-29 21:46:40 +00:00
xace: forgot one of the hook call arguments. Add it.
This commit is contained in:
parent
353e19fd5e
commit
14aea12cad
1 changed files with 2 additions and 1 deletions
|
|
@ -731,7 +731,8 @@ CreateWindow(Window wid, WindowPtr pParent, int x, int y, unsigned w,
|
|||
|
||||
/* security creation/labeling check
|
||||
*/
|
||||
if (!XaceHook(XACE_RESOURCE_ACCESS, wid, RT_WINDOW, DixCreateAccess, pWin))
|
||||
if (!XaceHook(XACE_RESOURCE_ACCESS, client,
|
||||
wid, RT_WINDOW, DixCreateAccess, pWin))
|
||||
{
|
||||
xfree(pWin);
|
||||
*error = BadAccess;
|
||||
|
|
|
|||
Loading…
Reference in a new issue