summaryrefslogtreecommitdiffstats
path: root/lib/libjail
Commit message (Collapse)AuthorAgeFilesLines
* Don't copy and return a potentially unset buffer when jail_get fails.jamie2010-07-151-6/+10
|
* Don't import parameter values in jail_getv, except for the search key.jamie2010-07-151-71/+87
| | | | | | | | | | 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
* realloc() with a proper amount of memory.ru2010-02-171-1/+1
| | | | MFC after: 3 days
* Build lib/ with WARNS=6 by default.ed2010-01-021-2/+0
| | | | | | | | | Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway.
* Add a null pointer check so "name" can be used as a key parameter injamie2009-12-171-1/+1
| | | | | | | | jailparam_get. PR: bin/141692 Submitted by: delphij MFC after: 3 days
* Fixed markup (mostly) errors.ru2009-09-211-48/+54
|
* Some jail parameters (in particular, "ip4" and "ip6" for IP addressjamie2009-07-252-60/+89
| | | | | | | | | 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
* Fix dynamic (re)allocation logic in jailparam_set and jailparam_get.jamie2009-06-251-34/+72
| | | | | | Touch up jailparam_import a bit while I'm at it. Approved by: bz (mentor)
* Add libjail, a (somewhat) simpler interface to the jail_set and jail_getjamie2009-06-245-0/+1448
system calls and the security.jail.param sysctls. Approved by: bz (mentor)
OpenPOWER on IntegriCloud