XACE lookup/verify macro cleanups in dix

Eamon Walsh ewalsh at tycho.nsa.gov
Wed Dec 6 10:39:15 PST 2006


To continue cleaning up the security-related ifdefs and macros in 
master, something needs to be done about the macros in dix.h.  I propose 
consolidating:

LookupWindow()
SecurityLookupWindow()		-> dixLookupWindow()

LookupDrawable()
SecurityLookupDrawable()
LOOKUP_DRAWABLE
VERIFY_DRAWABLE
SECURITY_VERIFY_DRAWABLE
VERIFY_GEOMETRABLE
SECURITY_VERIFY_GEOMETRABLE	-> dixLookupDrawable()

VERIFY_GC
SECURITY_VERIFY_GC		-> dixLookupGC()

The existing functions are in the ABI and can be kept around for awhile, 
but the Lookup*() themselves are compatibility functions from 10 years 
ago when the security extension was introduced.  At the very least this 
will get rid of the macros.


-- 
Eamon Walsh <ewalsh at tycho.nsa.gov>
National Security Agency



More information about the xorg mailing list