You can monitor getattr operations by registering for it when you register an FPolicy server.
Step
- To enable the screening of getattr operations, set the following bit in the OpsToScreen bitmask in the FP_registration() call when you register the FPolicy server to the storage system: FS_OP_GETATTR 0x0100
Result
After the registration is complete, the FPolicy server monitors all get attributes requests.