• Jamie Gritton's avatar
    jail: Add safety around prison_deref() flags. · 589e4c1d
    Jamie Gritton authored
    do_jail_attach() now only uses the PD_XXX flags that refer to lock
    status, so make sure that something else like PD_KILL doesn't slip
    through.
    
    Add a KASSERT() in prison_deref() to catch any further PD_KILL misuse.
    589e4c1d