summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/procctl.2
Commit message (Collapse)AuthorAgeFilesLines
* MFC r306257:kib2016-09-281-2/+67
| | | | | | | Document r306081, i.e. procctl(PROC_TRAPCAP) and sysctl kern.trap_enocap. MFC r306366: Editing fixes for r306257, documentation for trapcap.
* Editing pass on procctl.2bjk2015-08-211-26/+26
| | | | | | | | | | Spell "descendant" correctly. Grammar fixes. Use correct width argument to Bl. Use Po and Pc to avoid leaving a dangling '(' on the end of a line.
* If process becomes reaper (procctl(PROC_REAP_ACQUIRE)) while alreadykib2015-08-201-2/+6
| | | | | | | | | | | | | 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
* Reassign copyright statements on several files from Advancedjhb2015-04-231-1/+1
| | | | | | | Computing Technologies LLC to Hudson River Trading LLC. Approved by: Hudson River Trading LLC (who owns ACT LLC) MFC after: 1 week
* 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
* Various mdoc fixes and a few EOL whitespace removals.brueffer2014-12-211-1/+1
| | | | Found with: mandoc -Tlint
* Bump Dd for r275846bdrewery2014-12-171-1/+1
| | | | MFC after: 3 weeks
* Add some additional clarification and fix a few gammer nits.mckusick2014-12-171-58/+66
| | | | | Reviewed by: kib MFC after: 3 weeks
* Add a facility for non-init process to declare itself the reaper ofkib2014-12-151-3/+212
| | | | | | | | | | | 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
* Fix a typo.markj2014-07-091-1/+1
| | | | MFC after: 3 days
* mdoc: fix several uses of the Fx macro to point to actual releases.uqs2014-01-281-1/+1
| | | | Found by: make manlint
* Minor mdoc improvements.joel2013-09-191-4/+4
| | | | Approved by: re (blanket)
* Extend the support for exempting processes from being killed when swap isjhb2013-09-191-0/+142
exhausted. - Add a new protect(1) command that can be used to set or revoke protection from arbitrary processes. Similar to ktrace it can apply a change to all existing descendants of a process as well as future descendants. - Add a new procctl(2) system call that provides a generic interface for control operations on processes (as opposed to the debugger-specific operations provided by ptrace(2)). procctl(2) uses a combination of idtype_t and an id to identify the set of processes on which to operate similar to wait6(). - Add a PROC_SPROTECT control operation to manage the protection status of a set of processes. MADV_PROTECT still works for backwards compatability. - Add a p_flag2 to struct proc (and a corresponding ki_flag2 to kinfo_proc) the first bit of which is used to track if P_PROTECT should be inherited by new child processes. Reviewed by: kib, jilles (earlier version) Approved by: re (delphij) MFC after: 1 month
OpenPOWER on IntegriCloud