You can monitor setattr operations using bitmasks when you register an FPolicy server.
Step
- To enable the screening of setattr
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_SETATTR 0x0200
After the registration is complete, the FPolicy server monitors all set attributes requests.