keymap_change_ok
static int keymap_change_ok(keymap_t *, keymap_t *, struct thread *);
error = keymap_change_ok(kbd->kb_keymap, mapp, curthread);