Age | Commit message (Collapse) | Author |
|
Pointers from and discussions with millert and deraadt.
Ok millert@, deraadt@, bluhm@
|
|
This way we keep the size of the strings in the private struct in
sync with what the kernel gives us. OK deraadt@
|
|
from sysctl.h. This isn't a perfect transition, still thinking about
other ways to do it.
ok millert
|
|
ok jsg@ deraadt@
|
|
with help from sthen@ and tim@. OK tim@
|
|
active on each process. So go forth and "ps agux -o pledge" to find pledges
which can be improved.
(I hesitated adding this before because I am afraid of people
enforcing extra-strict pledge in programs without testing all the use
cases -- thereby breaking software).
|
|
you'll see one, or neither.
'u' - process installed unveils, but not yet locked with unveil(0,0)
or pledge w/o "unveil"
'U' - process has installed unveils, and locked.
ok rob
|
|
|
|
diff from Carlin Bingham. ok millert.
|
|
|
|
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)
|
|
patch from Martin <Natano at natano dot net>;
ok deraadt
|
|
keywords are sorted in ascending order again. This fixes a bug where
ps(1) thought that "minflt" was an invalid keyword.
This bug was introduced when the "maxrss" keyword was accidentally added
to the array after "minflt" instead of before, so the bsearch(3)-based
keyword lookup could never find "minflt".
ok deraadt@ guenther@ millert@ tedu@
|
|
Follow POSIX spec for the default headers for the comm, etime, and tty fields.
Problem noted by lotheac (at) iki.fi
ok deraadt@
|
|
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@
|
|
|
|
the thread ID in the default format.
ok deraadt@ sthen@
|
|
and add an 'rtableid' keyword to ps.
Add rtable id, thread id, and socket splice info to struct kinfo_file2
and make fstat display socket splice information.
Remove old KVM_PROC2 and kinfo_proc2 interfaces; bump libkvm major
Socket splice info and corrections from bluhm@ "Lovely" deraadt@
|
|
ok millert@
|
|
and suggestions from guenther.
ok guenther
|
|
that we've got name we want for the API we want
"ZAP!" deraadt@
|
|
in libkvm with the stable-ABI versions that are currently named
KERN_PROC2, kvm_get{proc,argv,envv}2(). The latter names and symbols
will continue to be supported for a few releases.
Committing now that they ports people have had a couple releases
to update pkgs that usd the old functions
|
|
long long arithmetic and formats.
Use PTRWIDTH for the column size for various address fields.
ok otto@ tedu@
|
|
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms
|
|
a single time before we print anything, if needed. Uses a flag to
specify which formats need the kernel info donlist() provides.
OK deraadt@
|
|
ok mickey@ otto@
|
|
|
|
32-bit CPUs and 16 chars for 64-bit ones. Also, left-justify
the state field name to match the justification of the state data.
OK jmc@
|
|
Surely, says millert.
|
|
|
|
|
|
due to a bug fix in the sort routine.
|
|
|
|
|
|
|
|
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
|
|
|
|
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
|
|
|
|
|
|
|
two new options: group and rgroup.
three new aliases: etime for start, comm for ucomm, and args for command.
|
|
multiple times. Fixes PR #298 from Carsten Hammer <chammer@vogon.party.de>
|
|
|
|
|
|
|
|
|
|
(also alpha-sorted some of the man page that was nearly sorted.)
BEFORE:
kstailey@hermes$ ps -o ruid,svuid,uid,command
RUID SVUID UID COMMAND
333 333 333 -bash (bash)
worked, but group equivalent failed:
kstailey@hermes$ ps -o rgid,svgid,gid,command
ps: gid: keyword not found
RGID SVGID COMMAND
20 20 -bash (bash)
AFTER:
kstailey@hermes$ ps -o rgid,svgid,gid,command
RGID SVGID GID COMMAND
20 20 20 -bash (bash)
|
|
|