function proc_get_safe_level

static int proc_get_safe_level(VALUE data)