setrights_warn_t

Contains information about an FSHOOK_TYPE_SETINHERITEDRIGHTS_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   inheritedRights;
     int        authorizeFlag;
  } setrights_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.

inheritedRights

Specifies the value the file object’s Inherited Rights Mask should be set to. For a list of possible values, see Effective Rights Flags in Volume 1.

authorizeFlag

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.