summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-03-11 11:50:15 +0100
committerMarge Bot <emma+marge@anholt.net>2024-04-17 00:51:52 +0000
commit85d0fa72ee3bae0b3eccd71871837b1a5b6b5d45 (patch)
tree4d27fc889ea6c925e301583277bc45bb98c71736
parent019a2ac61d5a93166738d0954ec3f170855e637c (diff)
specs: xace: rename RT_ definesHEADmaster
since we're changing names of RT_* defines to X11_RESTYPE_*, update the docs too. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/doc/xorg-docs/-/merge_requests/14>
-rw-r--r--specs/Xserver/XACE-Spec.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/specs/Xserver/XACE-Spec.xml b/specs/Xserver/XACE-Spec.xml
index 2947684..c592138 100644
--- a/specs/Xserver/XACE-Spec.xml
+++ b/specs/Xserver/XACE-Spec.xml
@@ -352,7 +352,7 @@
<para>The <structfield>id</structfield> field is the resource ID being looked up.</para>
<para>The <structfield>rtype</structfield> field is the type of the resource being looked up.</para>
<para>The <structfield>res</structfield> field is the resource itself: the result of the lookup.</para>
- <para>The <structfield>ptype</structfield> field is the type of the parent resource or RT_NONE if not set.</para>
+ <para>The <structfield>ptype</structfield> field is the type of the parent resource or X11_RESTYPE_NONE if not set.</para>
<para>The <structfield>parent</structfield> field is the parent resource itself or NULL if not set. The parent resource is set only when two conditions are met: The resource in question is being created at the time of the call (in which case the <structfield>access_mode</structfield> will include <literal>DixCreateAccess</literal>) and the resource in question has a defined parent object. <xref linkend="resource_access_parents" /> lists the resources that support parent objects. The purpose of these two fields is to provide generic support for "parent" resources.</para>
<para>The <structfield>access_mode</structfield> field encodes the type of action being performed. The valid mode bits are defined in <filename>include/dixaccess.h</filename>. The meaning of the bits depends on the specific resource type. Tables for some common types can be found in <xref linkend="resource_access_modes"/>. Note that the <literal>DixCreateAccess</literal> access mode has special meaning: it signifies that the resource object is in the process of being created. This provides an opportunity for the security extension to initialize its security label information in the structure devPrivates or otherwise. If the status field is set to an error code in this case, the resource creation will fail and no entry will be made under the specified resource ID.</para>
<para>The <structfield>status</structfield> field may be set to a nonzero X protocol error code. In this event, the resource lookup will fail and an error (usually, but not always, the status value) will be returned to the client.</para>
@@ -493,13 +493,13 @@
</thead>
<tbody>
<row>
- <entry><literal>RT_WINDOW</literal></entry>
- <entry><literal>RT_WINDOW</literal></entry>
+ <entry><literal>X11_RESTYPE_WINDOW</literal></entry>
+ <entry><literal>X11_RESTYPE_WINDOW</literal></entry>
<entry>Contains the parent window. This will be NULL for root windows.</entry>
</row>
<row>
- <entry><literal>RT_PIXMAP</literal></entry>
- <entry><literal>RT_WINDOW</literal></entry>
+ <entry><literal>X11_RESTYPE_PIXMAP</literal></entry>
+ <entry><literal>X11_RESTYPE_WINDOW</literal></entry>
<entry>COMPOSITE extension only: the source window is passed as the parent for redirect pixmaps.</entry>
</row>
<row>