aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_procctl.c
Commit message (Expand)AuthorAgeFilesLines
* sys: Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-231-2/+0
* reapkill: handle possible pid reuse after the pid was recorded as signalledKonstantin Belousov2023-06-051-1/+35
* procctl: add state flags to PROC_REAP_GETPIDS reportsVal Packett2023-04-231-0/+6
* Remove struct proc p_singlethr memberKonstantin Belousov2022-09-031-6/+0
* REAP_KILL_PROC: kill processes in the threaded taskqueue contextKonstantin Belousov2022-09-031-59/+124
* reap_kill_proc_locked(): remove outdated part of the commentKonstantin Belousov2022-08-221-4/+0
* reap_kill_proc(): avoid singlethreading any other process if we are exitingKonstantin Belousov2022-06-241-0/+1
* reap_kill_subtree(): hold the reaper when entering it into the queue to handl...Konstantin Belousov2022-06-241-2/+16
* reap_kill_subtree_once(): handle proctree_lock unlock in reap_kill_proc()Konstantin Belousov2022-06-241-1/+13
* reap_kill_proc: do not retry on thread_single() failureKonstantin Belousov2022-06-241-21/+10
* Make stop_all_proc_block interruptible to avoid deadlock with parallel suspen...Konstantin Belousov2022-06-241-2/+2
* Do not single-thread itself when the process single-threaded some another pro...Konstantin Belousov2022-06-241-0/+13
* P2_WEXIT: avoid thread_single() for exiting process earlierKonstantin Belousov2022-06-241-1/+1
* Fix another race between fork(2) and PROC_REAP_KILL subtreeKonstantin Belousov2022-06-241-14/+87
* Fix a race between fork(2) and PROC_REAP_KILL subtreeKonstantin Belousov2022-06-241-4/+30
* kern_procctl: add possibility to take stop_all_proc_block() around execKonstantin Belousov2022-06-241-1/+22
* reap_kill(): split children and subtree killers into helpersKonstantin Belousov2022-06-241-27/+44
* reap_kill(): rename the reap variable to reaperKonstantin Belousov2022-06-241-5/+5
* reap_kill(): de-inline LIST_FOREACH(), twiceKonstantin Belousov2022-06-241-4/+3
* procctl: stop using SA_*LOCKED, define local enumKonstantin Belousov2021-10-261-26/+36
* kern_procctl: skip zombies for process group operationsKonstantin Belousov2021-10-261-2/+4
* kern_procctl.c: use td->td_proc instead of curprocKonstantin Belousov2021-10-261-2/+2
* procctl: actually require debug privileges over targetKonstantin Belousov2021-10-261-7/+7
* procctl: make it possible to specify that some operations require debug privi...Konstantin Belousov2021-10-261-2/+27
* sys_procctl(): zero the data buffer once, on syscall entryKonstantin Belousov2021-10-261-1/+2
* sys_procctl(): use table data to do copyin/copyoutKonstantin Belousov2021-10-261-122/+88
* kern_procctl_single(): convert to use table dataKonstantin Belousov2021-10-261-106/+114
* procctl: convert PDEATHSIG_CTL/STATUS to regular kern_procctl_single() casesKonstantin Belousov2021-10-261-45/+69
* procctl(2): add consistent shortcut P_ID:0 as curprocKonstantin Belousov2021-10-261-5/+11
* kern_procctl(): convert the function to be table-drivenKonstantin Belousov2021-10-261-54/+69
* sys_procctl(2): remove sysproto and argusedKonstantin Belousov2021-10-261-9/+0
* procctl(2): Add PROC_WXMAP_CTL/STATUSKonstantin Belousov2021-09-241-0/+76
* procctl(2): add PROC_NO_NEW_PRIVS_CTL, PROC_NO_NEW_PRIVS_STATUSEdward Tomasz Napierala2021-09-241-0/+32
* procctl(PROC_ASLR_STATUS): fix vmspace leakKonstantin Belousov2021-07-181-2/+3
* correct procctl(PROC_PROTMAX_STATUS _NOFORCE returnEd Maste2020-05-011-1/+1
* Add procctl(PROC_STACKGAP_CTL)Konstantin Belousov2019-09-031-0/+60
* Control implicit PROT_MAX() using procctl(2) and the FreeBSD noteKonstantin Belousov2019-07-021-0/+57
* amd64 KPTI: add control from procctl(2).Konstantin Belousov2019-03-161-0/+4
* Implement Address Space Layout Randomization (ASLR)Konstantin Belousov2019-02-101-0/+72
* Rename PROC_PDEATHSIG_SET -> PROC_PDEATHSIG_CTL and PROC_PDEATHSIG_GETKonstantin Belousov2018-04-201-7/+7
* Add PROC_PDEATHSIG_SET to procctl interface.Konstantin Belousov2018-04-181-1/+38
* Kill all descendants of the reaper, even if they are descendants of aKonstantin Belousov2017-11-231-23/+72
* reaper: Make REAPER_KILL_SUBTREE actually work.Jilles Tjoelker2016-12-141-1/+1
* Add the foundation copyrights to procctl kernel sources.Konstantin Belousov2016-09-231-1/+1
* Add PROC_TRAPCAP procctl(2) controls and global sysctl kern.trap_enocap.Konstantin Belousov2016-09-211-0/+38
* If process becomes reaper (procctl(PROC_REAP_ACQUIRE)) while alreadyKonstantin Belousov2015-08-201-2/+0
* Reparenting done by debugger attach can leave reaper without directKonstantin Belousov2015-02-151-3/+5
* Return with the process locked, caller expects p still locked afterKonstantin Belousov2015-02-151-1/+1
* Add procctl(2) PROC_TRACE_CTL command to enable or disable debuggerKonstantin Belousov2015-01-181-1/+78
* Add missed break.Konstantin Belousov2014-12-161-0/+1