| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Document r306081, i.e. procctl(PROC_TRAPCAP) and sysctl kern.trap_enocap.
MFC r306366:
Editing fixes for r306257, documentation for trapcap.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Computing Technologies LLC to Hudson River Trading LLC.
Approved by: Hudson River Trading LLC (who owns ACT LLC)
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Found with: mandoc -Tlint
|
|
|
|
| |
MFC after: 3 weeks
|
|
|
|
|
| |
Reviewed by: kib
MFC after: 3 weeks
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
| |
Found by: make manlint
|
|
|
|
| |
Approved by: re (blanket)
|
|
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
|