summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_procctl.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC r310096: reaper: Make REAPER_KILL_SUBTREE actually work.jilles2017-02-051-1/+1
|
* MFC r306260:kib2016-09-281-1/+1
| | | | Add the foundation copyrights to procctl kernel sources.
* MFC r306081:kib2016-09-281-0/+38
| | | | Add PROC_TRAPCAP procctl(2) controls and global sysctl kern.trap_enocap.
* If process becomes reaper (procctl(PROC_REAP_ACQUIRE)) while alreadykib2015-08-201-2/+0
| | | | | | | | | | | | | having some children, the children' reaper is not reset to the parent. This allows for the situation where reaper has children but not descendands and the too strict asserts in the reap_status() fire. Remove the wrong asserts, add some clarification for the situation to the procctl(2) REAP_STATUS. Reported and tested by: feld Sponsored by: The FreeBSD Foundation MFC after: 1 week
* Reparenting done by debugger attach can leave reaper without directkib2015-02-151-3/+5
| | | | | | | | | children. Handle the situation instead asserting that it is impossible. Reported and tested by: emaste Sponsored by: The FreeBSD Foundation MFC after: 3 days
* Return with the process locked, caller expects p still locked afterkib2015-02-151-1/+1
| | | | | | | | the call. Reported and tested by: bapt Sponsored by: The FreeBSD Foundation MFC after: 3 days
* Add procctl(2) PROC_TRACE_CTL command to enable or disable debuggerkib2015-01-181-1/+78
| | | | | | | | | | | attachment to the process. Note that the command is not intended to be a security measure, rather it is an obfuscation feature, implemented for parity with other operating systems. Discussed with: jilles, rwatson Man page fixes by: rwatson Sponsored by: The FreeBSD Foundation MFC after: 1 week
* Add missed break.kib2014-12-161-0/+1
| | | | | | CID: 1258587 Sponsored by: The FreeBSD Foundation MFC after: 20 days
* Add a facility for non-init process to declare itself the reaper ofkib2014-12-151-0/+460
the orphaned descendants. Base of the API is modelled after the same feature from the DragonFlyBSD. Requested by: bapt Reviewed by: jilles (previous version) Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 3 weeks
OpenPOWER on IntegriCloud