int (*fdinfo) ( resmgr_context_t *ctp,
io_fdinfo_t *msg,
RESMGR_OCB_T *ocb )
struct _io_fdinfo {
uint16_t type;
uint16_t combine_len;
uint32_t flags;
uint32_t path_len;
uint32_t reserved;
};
struct _io_fdinfo_reply {
uint32_t zero [2];
struct _fdinfo info;
};
typedef union {
struct _io_fdinfo i;
struct _io_fdinfo_reply o;
} io_fdinfo_t;
The default implementation iofunc_fdinfo_default() checks the length of the path variable and then calls the helper function iofunc_fdinfo(). The helper function does not do any permission checking and none is required.