mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Make SecurityLookupIDBy* part of the base functionality.
This commit is contained in:
@@ -227,8 +227,6 @@ extern pointer LookupClientResourceComplex(
|
||||
#define SecurityWriteAccess (1<<1) /* changing the object */
|
||||
#define SecurityDestroyAccess (1<<2) /* destroying the object */
|
||||
|
||||
#ifdef XACE
|
||||
|
||||
extern pointer SecurityLookupIDByType(
|
||||
ClientPtr /*client*/,
|
||||
XID /*id*/,
|
||||
@@ -241,15 +239,6 @@ extern pointer SecurityLookupIDByClass(
|
||||
RESTYPE /*classes*/,
|
||||
Mask /*access_mode*/);
|
||||
|
||||
#else /* not XACE */
|
||||
|
||||
#define SecurityLookupIDByType(client, id, rtype, access_mode) \
|
||||
LookupIDByType(id, rtype)
|
||||
|
||||
#define SecurityLookupIDByClass(client, id, classes, access_mode) \
|
||||
LookupIDByClass(id, classes)
|
||||
|
||||
#endif /* XACE */
|
||||
|
||||
extern void GetXIDRange(
|
||||
int /*client*/,
|
||||
|
||||
Reference in New Issue
Block a user