diff options
author | Stef Walter <stef@memberwebs.com> | 2004-05-19 16:35:30 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-05-19 16:35:30 +0000 |
commit | 298e1a85181102bde3aed73f73a34fe81f7de66a (patch) | |
tree | cbdb94d3c824a34f299afc8ccfbe8f89f89cb07f /srcx/util.h | |
parent | d86ba2f5a45fd70e6503ba516eea9386bc176e22 (diff) |
Create /dev/null before opening kernel interfaces if it doesn't exist
Diffstat (limited to 'srcx/util.h')
-rw-r--r-- | srcx/util.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/srcx/util.h b/srcx/util.h index af07e97..d39c1de 100644 --- a/srcx/util.h +++ b/srcx/util.h @@ -42,9 +42,11 @@ struct xprison; int translate_jail_name(const char* str); -size_t get_jail_sysctl(struct xprison** ret); int running_in_jail(); +kvm_t open_kvm_handle(char* jail, char* errbuf); +size_t get_jail_sysctl(struct xprison** ret); + #define JAIL_RUN_CONSOLE 0x00000001 /* Output stuff to the jail console if available */ #define JAIL_RUN_STDOUT 0x00000002 /* Output to stdout */ #define JAIL_RUN_STDERR 0x00000004 /* Output to stderr */ |