fp_check_perms
if (fp_check_perms(open_flag, fcio->fcio_cmd) != FC_SUCCESS) {
static int fp_check_perms(uchar_t open_flag, uint16_t ioctl_cmd);