diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2007-09-05 11:18:36 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil> | 2007-09-05 11:18:36 -0400 |
commit | 0003ccfcdfae1b473aa024342304b84256d378b9 (patch) | |
tree | 17e716298c24649d85a2ab9bd0a7826f7cc3005a /dix/gc.c | |
parent | ce9e83d913511fe619da42f805d7bcd1a2a60d90 (diff) |
xace: add new fields to resource access hook to allow parent resource objects
to be passed in at create time. Also added a missing devPrivates initializer.
Diffstat (limited to 'dix/gc.c')
-rw-r--r-- | dix/gc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -638,8 +638,8 @@ CreateGC(DrawablePtr pDrawable, BITS32 mask, XID *pval, int *pStatus, pGC->stipple->refcnt++; /* security creation/labeling check */ - *pStatus = XaceHook(XACE_RESOURCE_ACCESS, client, gcid, RT_GC, - DixCreateAccess|DixSetAttrAccess, pGC); + *pStatus = XaceHook(XACE_RESOURCE_ACCESS, client, gcid, RT_GC, pGC, + RT_NONE, NULL, DixCreateAccess|DixSetAttrAccess); if (*pStatus != Success) goto out; |