aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/jail.h
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2004-02-14 18:31:11 +0000
committerRobert Watson <rwatson@FreeBSD.org>2004-02-14 18:31:11 +0000
commitf08df373a3342d6447592b8744b177e1061b136a (patch)
tree9fffcf3b0b401139cbfcaea52b596d05f0317778 /sys/sys/jail.h
parent281591449af7e344edaf22553ae9f63b9e499856 (diff)
downloadsrc-f08df373a3342d6447592b8744b177e1061b136a.tar.gz
src-f08df373a3342d6447592b8744b177e1061b136a.zip
Notes
Diffstat (limited to 'sys/sys/jail.h')
-rw-r--r--sys/sys/jail.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/jail.h b/sys/sys/jail.h
index 977936391319..576d2fd56497 100644
--- a/sys/sys/jail.h
+++ b/sys/sys/jail.h
@@ -81,6 +81,7 @@ struct prison {
extern int jail_set_hostname_allowed;
extern int jail_socket_unixiproute_only;
extern int jail_sysvipc_allowed;
+extern int jail_getfsstat_jailrootonly;
LIST_HEAD(prisonlist, prison);
extern struct prisonlist allprison;
@@ -89,10 +90,12 @@ extern struct prisonlist allprison;
* Kernel support functions for jail().
*/
struct ucred;
+struct mount;
struct sockaddr;
int jailed(struct ucred *cred);
void getcredhostname(struct ucred *cred, char *, size_t);
int prison_check(struct ucred *cred1, struct ucred *cred2);
+int prison_check_mount(struct ucred *cred, struct mount *mp);
void prison_free(struct prison *pr);
u_int32_t prison_getip(struct ucred *cred);
void prison_hold(struct prison *pr);