#
9d668ade |
| 04-Feb-2017 |
guenther <guenther@openbsd.org> |
Update usage for ps/w to match previous commit
|
#
e2ca409a |
| 24-Jan-2017 |
mpi <mpi@openbsd.org> |
Display process group in "ps /w" since they got removed from "ps /n".
While here fix the formating of /w /o and /a.
ok guenther@
|
#
ddd3bc25 |
| 24-Jan-2017 |
mpi <mpi@openbsd.org> |
Display the thread ID (TID) rather than the process group ID (PGRP) in ddb(4)'s default 'ps' view.
This allow to use 'tr /p' easily now that it requires a TID.
With inputs from guenther@
|
#
69e7eddb |
| 24-Jan-2017 |
mpi <mpi@openbsd.org> |
Rename pfind(9) into tfind(9) to reflect that it deals with threads.
While here document prfind(9.
with and ok guenther@
|
#
8fda72b7 |
| 21-Jan-2017 |
guenther <guenther@openbsd.org> |
p_comm is the process's command and isn't per thread, so move it from struct proc to struct process.
ok deraadt@ kettenis@
|
#
3b7181b7 |
| 07-Nov-2016 |
guenther <guenther@openbsd.org> |
Split PID from TID, giving processes a PID unrelated to the TID of their initial thread
ok jsing@ kettenis@
|
#
1378bae2 |
| 15-Sep-2016 |
dlg <dlg@openbsd.org> |
all pools have their ipl set via pool_setipl, so fold it into pool_init.
the ioff argument to pool_init() is unused and has been for many years, so this replaces it with an ipl argument. because the
all pools have their ipl set via pool_setipl, so fold it into pool_init.
the ioff argument to pool_init() is unused and has been for many years, so this replaces it with an ipl argument. because the ipl will be set on init we no longer need pool_setipl.
most of these changes have been done with coccinelle using the spatch below. cocci sucks at formatting code though, so i fixed that by hand.
the manpage and subr_pool.c bits i did myself.
ok tedu@ jmatthew@
@ipl@ expression pp; expression ipl; expression s, a, o, f, m, p; @@ -pool_init(pp, s, a, o, f, m, p); -pool_setipl(pp, ipl); +pool_init(pp, s, a, ipl, f, m, p);
show more ...
|
#
bb5dd46a |
| 02-Sep-2016 |
tedu <tedu@openbsd.org> |
add a concept of 'verified auth' to sessions. When set via ioctl, the user and parent process are recorded. Later, this info may be tested and used to bypass authorization requirements. ie, doas won'
add a concept of 'verified auth' to sessions. When set via ioctl, the user and parent process are recorded. Later, this info may be tested and used to bypass authorization requirements. ie, doas won't ask for your password again. Great idea from henning. ok deraadt guenther henning
show more ...
|
#
86832774 |
| 25-Aug-2016 |
dlg <dlg@openbsd.org> |
pool_setipl
ok kettenis@
|
#
0c7f085d |
| 27-Jun-2016 |
jca <jca@openbsd.org> |
Repair kill(2) on zombie processes.
kill(2) is supposed to find zombie processes, this probably got broken when the process reaper was introduced. As a temporary(tm) workaround, walk the list of zo
Repair kill(2) on zombie processes.
kill(2) is supposed to find zombie processes, this probably got broken when the process reaper was introduced. As a temporary(tm) workaround, walk the list of zombie processes if we can't find the target pid in the main process list.
Problem with zsh initially reported by Geoff Wozniak on misc@, analysis done by naddy@. ok kettenis@ tedu@
show more ...
|
#
235a995e |
| 04-Mar-2016 |
deraadt <deraadt@openbsd.org> |
repair documentation for inferior(); from Michal Mazurek
|
#
d478650d |
| 11-Sep-2015 |
guenther <guenther@openbsd.org> |
Add ddb ps/o, displaying just the non-idle on-proc threads
ok deraadt@
|
#
21dab745 |
| 14-Mar-2015 |
jsg <jsg@openbsd.org> |
Remove some includes include-what-you-use claims don't have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels.
ok tedu@ deraadt@
|
#
fbab5b6c |
| 19-Dec-2014 |
tedu <tedu@openbsd.org> |
start retiring the nointr allocator. specify PR_WAITOK as a flag as a marker for which pools are not interrupt safe. ok dlg
|
#
2955d5bc |
| 10-Dec-2014 |
tedu <tedu@openbsd.org> |
convert bcopy to memcpy. ok millert
|
#
5ff140d2 |
| 03-Nov-2014 |
deraadt <deraadt@openbsd.org> |
pass size argument to free() ok doug tedu
|
#
9e8577e7 |
| 12-Jul-2014 |
tedu <tedu@openbsd.org> |
add a size argument to free. will be used soon, but for now default to 0. after discussions with beck deraadt kettenis.
|
#
644b4788 |
| 04-Jul-2014 |
guenther <guenther@openbsd.org> |
Track whether a process is a zombie or not yet fully built via flags PS_{ZOMBIE,EMBRYO} on the process instead of peeking into the process's thread data. This eliminates the need for the thread-leve
Track whether a process is a zombie or not yet fully built via flags PS_{ZOMBIE,EMBRYO} on the process instead of peeking into the process's thread data. This eliminates the need for the thread-level SDEAD state.
Change kvm_getprocs() (both the sysctl() and kvm backends) to report the "most active" scheduler state for the process's threads.
tweaks kettenis@ feedback and ok matthew@
show more ...
|
#
924be113 |
| 15-May-2014 |
guenther <guenther@openbsd.org> |
Move from struct proc to process the reference-count-holding pointers to the process's vmspace and filedescs. struct proc continues to keep copies of the pointers, copying them on fork, clearing the
Move from struct proc to process the reference-count-holding pointers to the process's vmspace and filedescs. struct proc continues to keep copies of the pointers, copying them on fork, clearing them on exit, and (for vmspace) refreshing on exec. Also, make uvm_swapout_threads() thread aware, eliminating p_swtime in kernel.
particular testing by ajacoutot@ and sebastia@
show more ...
|
#
d559b8cb |
| 30-Mar-2014 |
guenther <guenther@openbsd.org> |
Eliminates struct pcred by moving the real and saved ugids into struct ucred; struct process then directly links to the ucred
Based on a discussion at c2k10 or so before noting that FreeBSD and NetB
Eliminates struct pcred by moving the real and saved ugids into struct ucred; struct process then directly links to the ucred
Based on a discussion at c2k10 or so before noting that FreeBSD and NetBSD did this too.
ok matthew@
show more ...
|
#
8f76f5ad |
| 26-Mar-2014 |
guenther <guenther@openbsd.org> |
Move p_emul and p_sigcode from proc to process. Tweak the handling of ktrace EMUL when changing ktracing: only generate one per process (not one per thread) and pass the correct proc pointer down to
Move p_emul and p_sigcode from proc to process. Tweak the handling of ktrace EMUL when changing ktracing: only generate one per process (not one per thread) and pass the correct proc pointer down to the VFS layer. Permit generating of NAMI and CSW records inside ktrace(2) itself.
ok deraadt@ millert@
show more ...
|
#
712e2ef1 |
| 20-Jan-2014 |
guenther <guenther@openbsd.org> |
Threads can't be zombies, only processes, so change zombproc to zombprocess, make it a list of processes, and change P_NOZOMBIE and P_STOPPED from thread flags to process flags. Add allprocess list
Threads can't be zombies, only processes, so change zombproc to zombprocess, make it a list of processes, and change P_NOZOMBIE and P_STOPPED from thread flags to process flags. Add allprocess list for the code that just wants to see processes.
ok tedu@
show more ...
|
#
137cdff0 |
| 02-Oct-2013 |
sf <sf@openbsd.org> |
format string fix: p_*ticks are u_int
|
#
447f61ce |
| 22-Sep-2013 |
guenther <guenther@openbsd.org> |
Stop merging the per-thread and per-process flags when reporting them via sysctl(KERN_PROC). In struct kinfo_proc the per-process flags move to p_psflags, leaving the per-thread flags in p_flags. Fl
Stop merging the per-thread and per-process flags when reporting them via sysctl(KERN_PROC). In struct kinfo_proc the per-process flags move to p_psflags, leaving the per-thread flags in p_flags. Flag descriptions in ps(1) updated to be less obtuse.
discussed with matthew@ some time ago; ok jca@, manpage bits ok jmc@
show more ...
|
#
60723749 |
| 12-Aug-2013 |
bluhm <bluhm@openbsd.org> |
The ps flags are split between thread and process. It is useful for ddb to show both. So or them together in the ps overview and list them explicitly for the specific thread. Also sync the ddb bit
The ps flags are split between thread and process. It is useful for ddb to show both. So or them together in the ps overview and list them explicitly for the specific thread. Also sync the ddb bit names with the define names. OK miod@
show more ...
|