aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_jail.c
Commit message (Expand)AuthorAgeFilesLines
* Jails: Optionally prevent jailed root from binding to privileged portsAllan Jude2017-06-061-3/+14
* Use inet_ntoa_r() instead of inet_ntoa() throughout the kernelEric van Gyzen2017-02-161-1/+4
* Move IPv4-specific jail functions to new file netinet/in_jail.cStephen J. Kiernan2016-08-091-738/+8
* Fix a vnode leak when giving a child jail a too-long path whenJamie Gritton2016-06-091-0/+1
* Re-order some jail parameter reading to prevent a vnode leak.Jamie Gritton2016-06-091-40/+40
* Clean up some logic in jail error messages, replacing a missing test andJamie Gritton2016-06-091-12/+10
* Make sure the OSD methods for jail set and remove can't run concurrently,Jamie Gritton2016-06-091-9/+13
* Mark jail(2), and the sysctls that it (and only it) uses as deprecated.Jamie Gritton2016-05-301-17/+17
* sys/kern: spelling fixes in comments.Pedro F. Giffuni2016-04-291-2/+2
* Delay revmoing the last jail reference in prison_proc_free, and insteadJamie Gritton2016-04-271-10/+34
* Use crcopysafe in jail_attach.Jamie Gritton2016-04-261-7/+5
* Pass the current/new jail to PR_METHOD_CHECK, which pushes the callJamie Gritton2016-04-251-47/+58
* Add a new jail OSD method, PR_METHOD_REMOVE. It's called when a jail isJamie Gritton2016-04-251-8/+41
* Remove the PR_REMOVE flag, which was meant as a temporary marker forJamie Gritton2016-04-251-3/+1
* kernel: use our nitems() macro when it is available through param.h.Pedro F. Giffuni2016-04-191-24/+13
* Fix jail name checking that disallowed anything that starts with '0'.Jamie Gritton2015-12-151-3/+6
* Speed up rctl operation with large rulesets, by holding the lockEdward Tomasz Napierala2015-11-151-1/+6
* Add support to the jail framework to be able to mount linsysfs(5) andMarcelo Araujo2015-07-191-0/+16
* Move chdir/chroot-related fdp manipulation to kern_descrip.cMateusz Guzik2015-07-111-1/+1
* Initialise pr_enforce_statfs from the "default" sysctl value andBjoern A. Zeeb2015-06-171-1/+1
* Add kern.racct.enable tunable and RACCT_DISABLED config option.Edward Tomasz Napierala2015-04-291-4/+18
* Do not include if_var.h and in6_var.h into kern_jail.c. It is now possibleGleb Smirnoff2015-03-241-4/+0
* cred: add proc_set_cred helperMateusz Guzik2015-03-161-1/+1
* Format the line properly (wrap before column 80).Ian Lepore2015-02-281-1/+2
* Export the new osreldate and osrelease jail parms in jail_get(2).Ian Lepore2015-02-281-0/+6
* Allow the kern.osrelease and kern.osreldate sysctl values to be set in aIan Lepore2015-02-271-2/+69
* Add allow.mount.fdescfs jail flag.Jamie Gritton2015-01-281-0/+8
* Remove the prison flags PR_IP4_DISABLE and PR_IP6_DISABLE, which have beenJamie Gritton2015-01-141-18/+10
* Don't set prison's pr_ip4s or pr_ip6s to -1.Jamie Gritton2015-01-141-2/+2
* Avoid unlocking unlocked mutex in RCTL jail code. Specific test caseEdward Tomasz Napierala2014-09-091-2/+4
* Remove AppleTalk support.Gleb Smirnoff2014-03-141-5/+0
* Remove IPX support.Gleb Smirnoff2014-03-141-6/+0
* Back out r261266 pending security buy-in.Jamie Gritton2014-01-311-25/+0
* Add a jail parameter, allow.kmem, which lets jailed processes accessJamie Gritton2014-01-291-0/+25
* Fix copy/paste typo.Andrey V. Elsukov2013-12-171-1/+1
* jail_v0.ip_number was always in host byte order. This was handledPeter Wemm2013-11-281-1/+1
* prison_check_ip4() can take const arguments.Gleb Smirnoff2013-11-011-3/+3
* The r48589 promised to remove implicit inclusion of if_var.h soon. PrepareGleb Smirnoff2013-10-261-0/+1
* Keep PRIV_KMEM_READ permitted inside jails as it is on the outside.Jamie Gritton2013-09-061-0/+7
* Allow tmpfs be mounted inside jail.Xin LI2013-08-231-0/+8
* Refine the "nojail" rc keyword, adding "nojailvnet" for files that don'tJamie Gritton2013-05-191-0/+20
* prison_racct_detach can be called for not fully initialized jail, so make it ...Mateusz Guzik2012-12-181-0/+2
* Remove the support for using non-mpsafe filesystem modules.Konstantin Belousov2012-10-221-21/+6
* Fix use-after-free in kern_jail_set() triggered e.g. by attemptsEdward Tomasz Napierala2012-05-221-6/+10
* Don't leak locks in prison_racct_modify().Edward Tomasz Napierala2012-05-221-1/+4
* Make racct and rctl correctly handle jail renaming. PreviouslyEdward Tomasz Napierala2012-03-061-8/+71
* Add procfs to jail-mountable filesystems.Martin Matuska2012-02-291-0/+8
* Analogous to r232059, add a parameter for the ZFS file system:Martin Matuska2012-02-261-4/+12
* To improve control over the use of mount(8) inside a jail(8), introduceMartin Matuska2012-02-231-11/+26
* Add support for mounting devfs inside jails.Martin Matuska2012-02-091-2/+55