| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
* jail_setv will leak a parameter name if jailparam_import fails.
* jailparam_all loses the jailparam pointer on realloc error
(a clear freshman mistake).
* If jailparam_init fails, the caller doesn't need to jailparam_free
the buffer. That's not really clear, so set things to NULL allowing
jailparam_free to work without error (though it's still not required).
|
|
|
|
| |
by testing for the right parameter name.
|
|
|
|
|
| |
assume that the unnamed final component of "security.jail.param.foo." is
one less than the "foo" component. It might be one greater instead.
|
|
|
|
|
| |
PR: bin/165515
MFC after: 2 weeks
|
|
|
|
| |
existing uses. Rename sysctl_handle_quad() to sysctl_handle_64().
|
|
|
|
|
|
| |
it's absolutely necessary.
MFC after: 1 week
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
| |
Fix a little comment typo.
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
| |
Remove the internal jailparam_vlist, in favor of using variants of its
logic separately in jail_setv and jail_getv.
Free the temporary parameter list and exported values in jail_setv
and jail_getv.
Noted by: Stanislav Uzunchev
MFC after: 3 days
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
jailparam_get.
PR: bin/141692
Submitted by: delphij
MFC after: 3 days
|
|
|
|
|
|
|
|
|
| |
restrictions) were found to be inadequately described by a boolean.
Define a new parameter type with three values (disable, new, inherit)
to handle these and future cases.
Approved by: re (kib), bz (mentor)
Discussed with: rwatson
|
|
|
|
|
|
| |
Touch up jailparam_import a bit while I'm at it.
Approved by: bz (mentor)
|
|
system calls and the security.jail.param sysctls.
Approved by: bz (mentor)
|