Age | Commit message (Collapse) | Author |
|
profil() by moving P_PROFIL from proc->p_flag to process->ps_flags with
matching adjustment in fork1() and exit1()
ok matthew@
|
|
an fd is a socket, pipe or named pipe. OK deraadt@ matthew@
|
|
ok deraadt@
|
|
current seek offset rather than what fstat() reported the original
file's length was. This fixes things like "cp /dev/ksyms /tmp" so
that we don't truncate the file to 0 bytes after copying all of the
data.
ok tedu, millert
|
|
of the per-process %mem is not going to happen. In particular,
we want USPACE to be removed from param.h
|
|
|
|
ok espie@
|
|
so make it void; from Michael W. Bombardieri.
|
|
+A parameter that is NULL or unset evaluates to 0.
original diff from robert peichaer
this version from naddy
|
|
thx Scott McEachern
|
|
directory entry then use the struct stat from that instead of doing
it again, and skip the rm_overwrite() call if fts_read() indicated
that the entry couldn't be a regular file.
ok millert@
|
|
that the file we have opened is the one we expected. Also open in
non-blocking mode to avoid a potential hang with FIFOs. Reported
by Radoslaw A. Zarzynski. Fix adapted from NetBSD. OK guenther@
|
|
in the keybinding system rewrite, reported by Lars Engblom.
|
|
|
|
ok millert
|
|
length and need not start with ESC or ^X; patch from marco@ feedback mpi@
|
|
This lets new binaries work (at least w/o the -H option) with old kernels.
ok pirofti@ deraadt@
|
|
|
|
thread information.
Add a KERN_PROC_SHOW_THREADS flag that has to be set in order to get the
thread info and make it off by default. This creates backwards compatibility
for applications that relied on a given size/number of items to be returned.
Modify ps(1) and top(1) accordingly.
Okay guenther@.
|
|
This expands the already bloated FILL_KPROC macro to take an extra
parameter that indicates if the callee is a thread or a process.
The userland bits are adjusted accordingly and ps(1) and top(1) now
display per thread usage times when -H is used.
Also pkill(1) had to be adjusted so that duplicates don't pop up.
libkvm does basically the same thing as the kernel bits.
Okay guenther@.
|
|
(missed commit pointed out by jmc@)
|
|
|
|
|
|
the thread ID in the default format.
ok deraadt@ sthen@
|
|
occurrences to get_line().
Based on a diff from Jan Klemkow <j-dot-klemkow-at-wemelug-dot-de> to tech.
|
|
arguments in systrace(1). In intercept_translate(), argsize is
actually the number of *bytes* taken up by the arguments, not the
number of arguments.
ok ajacoutot, sthen, dcoppa
|
|
ok dcoppa@ jmc@ schwarze@.
|
|
hash table size sooner. Based on suggestion from Michael Niedermayer.
ok krw@ mpi@
|
|
ok deraadt@ kili@
|
|
All facts found on the CSRG CD 1 in the 2bsd directory.
Feedback and ok jmc@, ok sobrado@.
Note the large number of 3BSD -> 2BSD changes.
Kirk McKusick asked Cynthia Livingston (cael@, of USENIX, who converted
most manuals from man(7) to mdoc(7) for the 4.3BSD-Net/2 release and
added lots of historical information around that time) what happened
in this respect, and she answered that she often wrote "appeared
in 3BSD" when she was unsure of when a utility was added.
Thanks to Kirk and Cynthia for that clarification.
|
|
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
|
|
ok deraadt@
|
|
ARG_MAX long, so that ic_trargv can execute reliably.
Thanks to Olivier Cherrier for reporting and helping to diagnose the
problem.
ok deraadt@
|
|
ok millert jmc
|
|
HW_NCPU when the only test was whether it's non-zero)
ok millert@
|
|
|
|
from Alexander Best
|
|
|
|
Diff from uwe@
|
|
ok deraadt@, sthen@, jasper@
|
|
ok jasper@ millert@
|
|
would insert 16000 letter l'. Going over the line limit makes no sense
so limit it's repetition and prevent the hang in the process.
ok guenther
|
|
specifically, rewrite them to permit some markup in the column headers,
and use "Ta" instead of literal tabs; mandoc does not currently match groff
100%, but a mandoc fix may be some time off, and we've gone enough releases
with poorly formatting column lists.
in some cases i have rewritten the lists as -tag, where -column made
little sense.
|
|
help/ok guenther millert
|
|
construct;
this also sidesteps what seems to be a problem with mandoc, in that
"-column -compact" seems to mess up the formatting. thus these pages should
now have their lists formatted nicely (i.e. correctly aligned and with indent
applied);
as a side note, the fact that headers are not properly marked up is another
issue which will be addressed separately (a mandoc fix is needed, i think).
i have fudged a few of these to mark up properly, since the workaround does
make sense for some pages.
as another side note, i haven;t fixed man7, as i need to prepare a separate
diff for kristaps and ingo.
|
|
|
|
simplify the symbolic modes format.
ok (and fine-tuned by) jmc@, millert@
|