open_warn_t

Contains information about an FSHOOK_TYPE_OPEN_WARN event.

Service:
Defined In:fshooks.h

Structure

  typedef struct
  {
     uint32_t   enterExitID;
     uint32_t   slotID;
     uint32_t   taskID;
     zid_t      zid;
     volid_t    volID;
     uint32_t   requestedRights;
     void      *openParms;
  } open_warn_t;
  

Fields

enterExitID

Associates the warn and report events of the operation and is same value on the warn and report events of the same operation, but unique across operations.

slotID

Contains the connection number of the entity that caused the event.

taskID

Contains the task number associated with the event. This is usually set to 50, the NSS taskID.

zid

Contains the zid of the file. A zid uniquely identifies a file within a given volume.

volID

Contains the ID of the volume associated with the zid.

requestedRights

Contains a bit mask of the requested access rights. For a list of possible values, see Section 30.8.6, Requested Rights.

openParms

Remarks

You can use the fs_getslotinfo function to obtain more information about who caused the event and the fs_mapzidtopath function to obtain more information about the file system object that is the target of the event.