> > #if defined(LOCKDEBUG) > > spinlock_switchcheck(); > > simple_lock_only_held(NULL, "kauth_authorize_action"); > > #endif > > always panics with "cpu 0 have 1 spin locks". ah, kernel lock. ok, i'll write assert_sleepable() so that you can just call it. :-) YAMAMOTO Takashi