+ int flag; + + flag = NULL_CRED_OKAY; + + if( jailed(ai->p_ucred) && jail_allow_raw_sockets ) + flag = flag | PRISON_ROOT; Slight style corrections: int flag = NULL_CRED_OKAY; if (jailed(ai->p_ucred) && jail_allow_raw_sockets) flag = flag | PRISON_ROOT;