jail.h (147185) | jail.h (164032) |
---|---|
1/*- 2 * ---------------------------------------------------------------------------- 3 * "THE BEER-WARE LICENSE" (Revision 42): 4 * <phk@FreeBSD.org> wrote this file. As long as you retain this notice you 5 * can do whatever you want with this stuff. If we meet some day, and you think 6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 7 * ---------------------------------------------------------------------------- 8 * | 1/*- 2 * ---------------------------------------------------------------------------- 3 * "THE BEER-WARE LICENSE" (Revision 42): 4 * <phk@FreeBSD.org> wrote this file. As long as you retain this notice you 5 * can do whatever you want with this stuff. If we meet some day, and you think 6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 7 * ---------------------------------------------------------------------------- 8 * |
9 * $FreeBSD: head/sys/sys/jail.h 147185 2005-06-09 18:49:19Z pjd $ | 9 * $FreeBSD: head/sys/sys/jail.h 164032 2006-11-06 13:37:19Z rwatson $ |
10 * 11 */ 12 13#ifndef _SYS_JAIL_H_ 14#define _SYS_JAIL_H_ 15 16struct jail { 17 u_int32_t version; --- 87 unchanged lines hidden (view full) --- 105int prison_canseemount(struct ucred *cred, struct mount *mp); 106void prison_enforce_statfs(struct ucred *cred, struct mount *mp, 107 struct statfs *sp); 108void prison_free(struct prison *pr); 109u_int32_t prison_getip(struct ucred *cred); 110void prison_hold(struct prison *pr); 111int prison_if(struct ucred *cred, struct sockaddr *sa); 112int prison_ip(struct ucred *cred, int flag, u_int32_t *ip); | 10 * 11 */ 12 13#ifndef _SYS_JAIL_H_ 14#define _SYS_JAIL_H_ 15 16struct jail { 17 u_int32_t version; --- 87 unchanged lines hidden (view full) --- 105int prison_canseemount(struct ucred *cred, struct mount *mp); 106void prison_enforce_statfs(struct ucred *cred, struct mount *mp, 107 struct statfs *sp); 108void prison_free(struct prison *pr); 109u_int32_t prison_getip(struct ucred *cred); 110void prison_hold(struct prison *pr); 111int prison_if(struct ucred *cred, struct sockaddr *sa); 112int prison_ip(struct ucred *cred, int flag, u_int32_t *ip); |
113int prison_priv_check(struct ucred *cred, int priv); |
|
113void prison_remote_ip(struct ucred *cred, int flags, u_int32_t *ip); 114 115#endif /* _KERNEL */ 116#endif /* !_SYS_JAIL_H_ */ | 114void prison_remote_ip(struct ucred *cred, int flags, u_int32_t *ip); 115 116#endif /* _KERNEL */ 117#endif /* !_SYS_JAIL_H_ */ |