summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2009-06-19 18:17:59 -0400
committerEamon Walsh <ewalsh@tycho.nsa.gov>2009-06-19 18:17:59 -0400
commit3cc3a00d84ea54e659d93f0c5a1ba403be07f7ec (patch)
tree50648c366b26d1357140caad623fd4a16627d1c4
parent18556c4ba2840b94549630797fc10c26f344f387 (diff)
xace: device access hook documentation updates for XI2.
Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
-rw-r--r--sgml/security/XACE-Spec.sgml43
1 files changed, 37 insertions, 6 deletions
diff --git a/sgml/security/XACE-Spec.sgml b/sgml/security/XACE-Spec.sgml
index 3447b7c..ced13f7 100644
--- a/sgml/security/XACE-Spec.sgml
+++ b/sgml/security/XACE-Spec.sgml
@@ -8,7 +8,7 @@
<author><firstname>Eamon</firstname><othername>F.</othername><surname>Walsh</surname></author>
<authorinitials>efw</authorinitials>
<publisher><publishername>National Security Agency</publishername></publisher>
- <pubdate>2008</pubdate>
+ <pubdate>2009</pubdate>
<title>X Access Control Extension Specification</title>
<titleabbrev>XACE-Spec</titleabbrev>
<revhistory>
@@ -24,6 +24,12 @@
<authorinitials>efw</authorinitials>
<revremark>Version 2.0</revremark>
</revision>
+ <revision>
+ <revnumber>2.1</revnumber>
+ <date>19 Jun 2009</date>
+ <authorinitials>efw</authorinitials>
+ <revremark>Version 2.1 (XI2)</revremark>
+ </revision>
</revhistory>
<legalnotice>
<para>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OF OR OTHER DEALINGS IN THE SOFTWARE.</para>
@@ -476,7 +482,7 @@
<section id="device_access_hook">
<title>Device Access</title>
- <para>This hook allows security extensions to restrict certain actions by clients related to keyboard input. For the specifics, refer to the "Input Security" section of the SECURITY extension specification. The hook argument is a pointer to a structure of type <type>XaceDeviceAccessRec</type>. This structure contains a
+ <para>This hook allows security extensions to restrict client actions on input devices. The hook argument is a pointer to a structure of type <type>XaceDeviceAccessRec</type>. This structure contains a
<structfield>client</structfield> field of type <type>ClientPtr</type>,
a <structfield>dev</structfield> field of type <type>DeviceIntPtr</type>,
a <structfield>access_mode</structfield> field of type <type>Mask</type>,
@@ -558,13 +564,38 @@
</row>
<row>
<entry><literal>DixCreateAccess</literal></entry>
- <entry>The device object has been newly allocated (Currently serverClient only).</entry>
- <entry>D-BUS device notification</entry>
+ <entry>The device object has been newly allocated.</entry>
+ <entry>XIChangeDeviceHierarchy, XIAddMaster</entry>
</row>
<row>
<entry><literal>DixDestroyAccess</literal></entry>
- <entry>The device is being removed (Currently serverClient only).</entry>
- <entry>D-BUS device notification</entry>
+ <entry>The device is being removed.</entry>
+ <entry>XIChangeDeviceHierarchy, XIRemoveMaster</entry>
+ </row>
+ <row>
+ <entry><literal>DixAddAccess</literal></entry>
+ <entry>A slave device is being attached to the device.</entry>
+ <entry>XIChangeDeviceHierarchy, XIChangeAttachment</entry>
+ </row>
+ <row>
+ <entry><literal>DixRemoveAccess</literal></entry>
+ <entry>A slave device is being unattached from the device.</entry>
+ <entry>XIChangeDeviceHierarchy, XIChangeAttachment</entry>
+ </row>
+ <row>
+ <entry><literal>DixListPropAccess</literal></entry>
+ <entry>Properties set on the device are being listed.</entry>
+ <entry>ListDeviceProperties, XIListProperties</entry>
+ </row>
+ <row>
+ <entry><literal>DixGetPropAccess</literal></entry>
+ <entry>A property set on the device is being read.</entry>
+ <entry>GetDeviceProperty, XIGetProperty</entry>
+ </row>
+ <row>
+ <entry><literal>DixSetPropAccess</literal></entry>
+ <entry>A property set on the device is being written.</entry>
+ <entry>SetDeviceProperty, XISetProperty</entry>
</row>
</tbody>
</tgroup>