summaryrefslogtreecommitdiffstats
path: root/sys/sys/jail.h
diff options
context:
space:
mode:
authorjamie <jamie@FreeBSD.org>2009-06-13 00:12:02 +0000
committerjamie <jamie@FreeBSD.org>2009-06-13 00:12:02 +0000
commite9da16507b21a78c2b02b2cad1b54a52717a4870 (patch)
tree5fa814cc5d5238c1add8188657ed64527aeae8b6 /sys/sys/jail.h
parent79af22e74c6d99535ff7919ffdb68531c9835bb9 (diff)
downloadFreeBSD-src-e9da16507b21a78c2b02b2cad1b54a52717a4870.zip
FreeBSD-src-e9da16507b21a78c2b02b2cad1b54a52717a4870.tar.gz
Add counterparts to getcredhostname:
getcreddomainname, getcredhostuuid, getcredhostid Suggested by: rmacklem Approved by: bz
Diffstat (limited to 'sys/sys/jail.h')
-rw-r--r--sys/sys/jail.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/sys/jail.h b/sys/sys/jail.h
index 815701c..501d66e 100644
--- a/sys/sys/jail.h
+++ b/sys/sys/jail.h
@@ -304,7 +304,10 @@ struct mount;
struct sockaddr;
struct statfs;
int jailed(struct ucred *cred);
-void getcredhostname(struct ucred *cred, char *, size_t);
+void getcredhostname(struct ucred *, char *, size_t);
+void getcreddomainname(struct ucred *, char *, size_t);
+void getcredhostuuid(struct ucred *, char *, size_t);
+void getcredhostid(struct ucred *, unsigned long *);
int prison_allow(struct ucred *, unsigned);
int prison_check(struct ucred *cred1, struct ucred *cred2);
int prison_canseemount(struct ucred *cred, struct mount *mp);
OpenPOWER on IntegriCloud