| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Added support for extra ifconfig args to jail ip4.addr & ip6.addr params
This allows for CARP interfaces to be used in jails e.g.
ip4.addr = "em0|10.10.1.20/32 vhid 1 pass MyPass advskew 100"
r269340 will not be MFC'ed as mentioned due to the slim window and the
amount of additional commits required to support it.
Sponsored by: Multiplay
|
|
|
|
|
|
|
|
|
|
|
| |
- Add mount.fdescfs parameter to jail(8). This is similar to
mount.devfs but mounts fdescfs. The mount happens just after
mount.devfs.
- rc.d/jail now displays whole error message from jail(8) when a jail
fails to start.
Approved by: re (gjb)
|
|
|
|
|
|
|
|
|
| |
when stopping jails. This matters particularly for nested filesystem
mounts.
PR: kern/177325
Submitted by: Harald Schmalzbauer
MFC after: 3 days
|
|
|
|
| |
(i.e. on an unknown parameter), to avoid freeing bogus pointers.
|
|
|
|
|
|
|
|
| |
and null-terminated at the same time, because they're later passed to
libjail as null-terminated. That means I also need to add a nul byte when
comma-combining array parameters.
MFC after: 6 days
|
|
|
|
|
|
|
|
|
|
|
| |
Remove a bogus null terminator when stripping the netmask from
IP addresses. This was causing later addresses in a comma-separated
string to disappear.
Use memcpy instead of strcpy. This could just cause Bad Things.
PR: 170832
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
- old yacc(1) use to magicially append stdlib.h, while new one don't
- new yacc(1) do declare yyparse by itself, fix redundant declaration of
'yyparse'
Approved by: des (mentor)
|
|
|
|
|
|
| |
enum values and zeroes. This keeps clang happy (and is just good form).
Submitted by: dim
|
|
|
|
| |
instead of a mount.devfs.ruleset pseudo-parameter.
|
|
|
|
|
|
| |
Check for IPv4 or IPv6 to be available by the kernel to not
provoke errors trying to query options not available.
Make it possible to compile out INET or INET6 only parts.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
a single command string to run, and an inner function (run_command) that
runs that single string.
Move the list of start/stop commands to run from a switch statement into
an array, with a new placeholder parameter IP__OP for actually creating
or removing the jail.
When jail creation fails, revert all non-exec commands in reverse order.
|
|
|
|
| |
traversed in reverse order.
|
|
|
|
| |
IP__MOUNT_FROM_FSTAB internal parameter.
|
| |
|
| |
|
|
|
|
| |
enum constants everywhere else.
|
|
cleaning up to do on existing features, but this is pretty much what the
final product will look like.
|