XACE: Add generic support for property and selection polyinstantiation.

This commit is contained in:
Eamon Walsh
2008-02-29 17:55:31 -05:00
committed by Eamon Walsh
parent 34bf308a9e
commit cc76ea6e3a
7 changed files with 36 additions and 31 deletions

View File

@@ -910,7 +910,7 @@ SecurityProperty(CallbackListPtr *pcbl, pointer unused, pointer calldata)
{
XacePropertyAccessRec *rec = calldata;
SecurityStateRec *subj, *obj;
ATOM name = rec->pProp->propertyName;
ATOM name = (*rec->ppProp)->propertyName;
Mask requested = rec->access_mode;
Mask allowed = SecurityResourceMask | DixReadAccess;