| 2635 | } |
| 2636 | |
| 2637 | int |
| 2638 | prison_allow(struct ucred *cred, unsigned flag) |
| 2639 | { |
| 2640 | |
| 2641 | return ((cred->cr_prison->pr_allow & flag) != 0); |
| 2642 | } |
| 2643 | |
| 2644 | /* |
| 2645 | * Hold a prison reference, by incrementing pr_ref. It is generally |
no outgoing calls
no test coverage detected