summaryrefslogtreecommitdiffstats
path: root/lib/libjail
Commit message (Collapse)AuthorAgeFilesLines
* 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