[PATCH 0/2] Patches to ensure all ResourceTypes are named
Alan Coopersmith
alan.coopersmith at sun.com
Thu Dec 10 22:53:47 PST 2009
I originally sent a patch for this in April, and got the feedback that
I should just change the ABI so that all callers have to provide a type
name. Unfortunately, I didn't get back to that before the 1.7 release,
and as I need these in our 1.7 builds for the use of the Solaris Trusted
Extensions functions (which use them when handling XACE hooks), I've
split the patches in two.
The first simply ensures all the calls to CreateNewResourceType have
matching calls to RegisterResourceName, and that the return values
are properly handled, without changing ABI, so is safe to apply to
stable branches.
The second is the ABI breaker, adding a ResourceName argument to
CreateNewResourceType and merging all the CreateNewResourceType
and RegisterResourceName calls to use it. It does not change
any of the reported ABI versions - should it do so, and if so
which ones?
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering
More information about the xorg-devel
mailing list