diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2007-04-17 16:01:56 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@moss-uranus.epoch.ncsc.mil> | 2007-04-17 16:01:56 -0400 |
commit | 9cee4ec5e6e06d23aafb302494b082c77ade4623 (patch) | |
tree | ee073cce5999f79df2c8aa87f4891e83a38afaaa /Xext/xacestr.h | |
parent | 47bd311e3dcc501cbb202ce79a55ac32e9db50f2 (diff) |
xace: change the semantics of the return value of XACE hooks to allow
arbitrary X status codes instead of just TRUE/FALSE.
The dix layer in most cases still does not propagate the return value of
XACE hooks back to the client, however. There is more error propagation
work to do.
Diffstat (limited to 'Xext/xacestr.h')
-rw-r--r-- | Xext/xacestr.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Xext/xacestr.h b/Xext/xacestr.h index 184fb9b0b..8eb74d50f 100644 --- a/Xext/xacestr.h +++ b/Xext/xacestr.h @@ -33,7 +33,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. /* XACE_CORE_DISPATCH */ typedef struct { ClientPtr client; - int rval; + int status; } XaceCoreDispatchRec; /* XACE_RESOURCE_ACCESS */ @@ -43,7 +43,7 @@ typedef struct { RESTYPE rtype; Mask access_mode; pointer res; - int rval; + int status; } XaceResourceAccessRec; /* XACE_DEVICE_ACCESS */ @@ -51,7 +51,7 @@ typedef struct { ClientPtr client; DeviceIntPtr dev; Bool fromRequest; - int rval; + int status; } XaceDeviceAccessRec; /* XACE_PROPERTY_ACCESS */ @@ -60,14 +60,14 @@ typedef struct { WindowPtr pWin; PropertyPtr pProp; Mask access_mode; - int rval; + int status; } XacePropertyAccessRec; /* XACE_DRAWABLE_ACCESS */ typedef struct { ClientPtr client; DrawablePtr pDraw; - int rval; + int status; } XaceDrawableAccessRec; /* XACE_MAP_ACCESS */ @@ -75,7 +75,7 @@ typedef struct { typedef struct { ClientPtr client; WindowPtr pWin; - int rval; + int status; } XaceMapAccessRec; /* XACE_EXT_DISPATCH */ @@ -83,14 +83,14 @@ typedef struct { typedef struct { ClientPtr client; ExtensionEntry *ext; - int rval; + int status; } XaceExtAccessRec; /* XACE_HOSTLIST_ACCESS */ typedef struct { ClientPtr client; Mask access_mode; - int rval; + int status; } XaceHostlistAccessRec; /* XACE_SELECTION_ACCESS */ @@ -98,14 +98,14 @@ typedef struct { ClientPtr client; Selection *selection; Mask access_mode; - int rval; + int status; } XaceSelectionAccessRec; /* XACE_SITE_POLICY */ typedef struct { char *policyString; int len; - int rval; + int status; } XaceSitePolicyRec; /* XACE_DECLARE_EXT_SECURE */ |