MCPcopy Create free account
hub / github.com/F-Stack/f-stack / prison_allow

Function prison_allow

freebsd/kern/kern_jail.c:2637–2642  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2635}
2636
2637int
2638prison_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

Callers 7

suser_enabledFunction · 0.85
priv_check_credFunction · 0.85
vfs_suserFunction · 0.85
sys_quotactlFunction · 0.85
vfs_domount_firstFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected