Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
b1b6ee4a
Commit
b1b6ee4a
authored
Aug 06, 2003
by
Mike Hibler
Browse files
Restore a comment (Bad Mike!)
parent
ab95e9f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
tmcd/freebsd/jail/injail.c
View file @
b1b6ee4a
...
...
@@ -6,14 +6,22 @@
/*
* The C version of injail.pl
*
* A much smaller memory footprint.
*
* The point of this is to fire up the init code inside the jail,
* and then wait for a signal from outside the jail. When that happens
* kill off everything inside the jail and exit. So, like a mini version
* of /sbin/init, since killing the jail cleanly from outside the jail
* turns out to be rather difficult, and doing it from inside is very easy!
*/
#include
<unistd.h>
#include
<signal.h>
#include
<stdio.h>
/*
*/
char
*
vnode
;
char
*
prog
;
int
myuid
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment