aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_jail.c
Commit message (Expand)AuthorAgeFilesLines
* [net80211] Add new privileges; restrict what can be done in a jail.Adrian Chadd2020-07-191-4/+2
* vfs: add restrictions to read(2) of a directory [2/2]Kyle Evans2020-06-041-0/+8
* ethersubr: Make the mac address generation more robustKristof Provost2020-04-181-0/+9
* Preload hostuuid for early-boot useKyle Evans2020-04-161-0/+31
* kern_jail: missing \0 termination check on osrelease parameterBjoern A. Zeeb2020-03-141-3/+9
* Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)Pawel Biernacki2020-02-261-3/+3
* Partially decompose priv_check by adding priv_check_cred_vfs_generationMateusz Guzik2020-02-131-0/+10
* Inline jailed().Mateusz Guzik2020-02-131-10/+0
* vfs: remove now useless ENODEV handling from vn_fullpath consumersMateusz Guzik2020-02-081-23/+2
* Remove duplicated empty lines from kern/*.cMateusz Guzik2020-01-301-6/+0
* vfs: drop the mostly unused flags argument from VOP_UNLOCKMateusz Guzik2020-01-031-3/+3
* Split gigantic rtsock route_output() into smaller functions.Alexander V. Chernikov2019-12-311-5/+5
* Replace hand-rolled unrefs if > 1 with refcount_release_if_not_lastMateusz Guzik2018-12-071-3/+1
* In hardened systems, where the security.bsd.unprivileged_proc_debug sysctlJamie Gritton2018-11-271-2/+16
* Allow set ether/vlan PCP operation from the VNET jails.Konstantin Belousov2018-11-121-0/+1
* Fix typos from r339409.Jamie Gritton2018-10-181-1/+1
* Add a new jail permission, allow.read_msgbuf. When true, jailed processesJamie Gritton2018-10-171-0/+12
* Fix the test prohibiting jails from sharing IP addresses.Jamie Gritton2018-10-061-4/+6
* Revert r337922, except for some documention-only bits. This needs to waitJamie Gritton2018-08-161-95/+57
* Put jail(2) under COMPAT_FREEBSD11. It has been the "old" way of creatingJamie Gritton2018-08-161-57/+95
* Add allow.mlock to jail parametersAntoine Brodin2018-07-291-0/+14
* Change prison_add_vfs() to the more generic prison_add_allow(), whichJamie Gritton2018-07-061-37/+64
* Silence warnings about unused variables when RACCT is defined but RCTLKonstantin Belousov2018-07-051-0/+2
* Instead of using hand-rolled loops where not needed switch themBjoern A. Zeeb2018-06-201-1/+1
* Try to be consistent and spell "vnet" lower case like all theBjoern A. Zeeb2018-05-241-1/+1
* Improve the KASSERT to also have the prison pointer.Bjoern A. Zeeb2018-05-241-1/+1
* Make it easier for filesystems to count themselves as jail-enabled,Jamie Gritton2018-05-041-65/+112
* call racct_proc_ucred_changed() under the proc lockAndriy Gapon2018-04-201-2/+10
* Move most of the contents of opt_compat.h to opt_global.h.Brooks Davis2018-04-061-1/+0
* Represent boolean jail options as an array of structures containing theJamie Gritton2018-03-201-122/+114
* sys/kern: adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
* 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