xace: unexport and API cleanups / typesafety
- unexport functions not used by drivers/modules
- make xace hook calls typesafe
Merge request reports
Activity
mentioned in merge request !1555 (closed)
assigned to @marge-bot
mentioned in commit metux/xserver@601fd0fd
mentioned in commit metux/xserver@3e0a4ab7
mentioned in commit metux/xserver@51d8bcfc
mentioned in commit metux/xserver@922b7685
mentioned in commit metux/xserver@67e468c8
mentioned in commit metux/xserver@22a3014c
mentioned in commit metux/xserver@ae3c5733
mentioned in commit metux/xserver@9524ffee
mentioned in commit metux/xserver@3dfe00d5
mentioned in commit metux/xserver@632a48a0
mentioned in commit metux/xserver@305f2d59
mentioned in commit metux/xserver@47d6c3ad
mentioned in commit metux/xserver@0f6bb23b
mentioned in commit metux/xserver@facdaae4
mentioned in commit metux/xserver@591d95c7
added 48 commits
-
2362adef...9c953472 - 33 commits from branch
xorg:master
- 9c953472...ae3c5733 - 5 earlier commits
- 9524ffee - xace: typesafe hook function for XACE_DEVICE_ACCESS
- 67e468c8 - xace: typesafe hook function for XACE_SEND_ACCESS
- 3dfe00d5 - xace: typesafe hook function for XACE_RECEIVE_ACCESS
- 922b7685 - xace: typesafe hook function for XACE_CLIENT_ACCESS
- 0f6bb23b - xace: typesafe hook function for XACE_EXT_ACCESS
- 47d6c3ad - xace: typesafe hook function for XACE_SERVER_ACCESS
- 51d8bcfc - xace: typesafe hook function for XACE_SCREEN_ACCESS
- 305f2d59 - xace: typesafe hook function for XACE_SCREENSAVER_ACCESS
- 591d95c7 - xace: typesafe hook function for XACE_AUTH_AVAIL
- facdaae4 - xace: typesafe hook function for XACE_KEY_AVAIL
Toggle commit list-
2362adef...9c953472 - 33 commits from branch
120 120 121 121 static int 122 122 XFixesSelectSelectionInput(ClientPtr pClient, 123 Atom selection, WindowPtr pWindow, CARD32 eventMask) 123 Atom selection_name, WindowPtr pWindow, CARD32 eventMask) 124 124 { 125 125 void *val; 126 126 int rc; 127 127 SelectionEventPtr *prev, e; 128 Selection *selection; 128 129 129 rc = XaceHook(XACE_SELECTION_ACCESS, pClient, selection, DixGetAttrAccess); 130 rc = dixLookupSelection(&selection, selection_name, pClient, DixGetAttrAccess); It kind of looks like this code has been broken since @ewalsh moved
XACE_SELECTION_ACCESS
support out of XaceHook in commit 0d492b21. Unfortunately, just applying the matching change from that commit now doesn't work because commit cc76ea6e changed the required arguments - which is what @metux's commit was trying to match.See !1574 (merged)