Authorize inotify writing for an OCB
#include <sys/dcmd_fsevmgr.h> #define DCMD_FSEVMGR_AUTHORIZE __DIOT(_DCMD_FSEVMGR, 7, uint64_t)
| Argument | Value |
|---|---|
| filedes | A file descriptor that you obtained by opening /dev/fsevents |
| dcmd | DCMD_FSEVMGR_AUTHORIZE |
| dev_data_ptr | A pointer to a uint64_t |
| n_bytes | sizeof(uint64_t) |
| dev_info_ptr | NULL |
This commands authorizes inotify writing for an OCB.
The key obtained from a DCMD_FSEVMGR_WRITER command.