| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
rthreads fix. Update to the correct one.
|
|
|
|
|
|
|
|
|
| |
at the top of closef() until all in-progress calls finish, just do the
advisory locking bits required of close() by POSIX and let whichever
thread has the last reference do the call to the file's fo_close()
method and the final cleanup.
lots of discussion with deraadt@ and others; worked out with and ok krw@
|
|
|
|
|
|
|
|
| |
fd_ofiles and fd_ofileflags, reading in the separate allocation
when necessary. Lets fstat -p and fstat -u work on kernel crash
dumps again.
ok millert@
|
|
|
|
| |
dumps
|
|
|
|
|
|
| |
read byte count instead of the written byte count.
pointed out by paulm at tetrardus.net, ok dcoppa@
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
Missed commit pointed out by mikeb@
|
| |
|
|
|
|
|
|
| |
so that libkvm doesn't need to define that, thereby avoiding some warnings.
ok miod@
|
|
|
|
|
|
|
| |
KERN_FILE2 (or their libkvm wrappers) for more information than the
running implementation knows how to provide.
ok millert@ deraadt@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
/dev/mem to be direct instead of going through kvm_getprocs(), as
that function is going to get more an more broken as we move stuff
from struct proc to struct process for rthreads. To minimize the
code copying, put the common logic of filling in a kinfo_proc2
structure into a macro FILL_KPROC2() in <sys/sysctl.h> for use from
both the kernel and user-space. This also hides the KERN_PROC
#define behind "#if defined(_KERNEL)||defined(_LIBKVM)", as it's
deprecated.
Positive feedback from millert and blambert; so committing to unblock
further rthreads work.
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
| |
adapted from NetBSD fstat. OK deraadt@
|
| |
|
|
|
|
| |
with ufs and add also udf support. OK miod@
|
| |
|
| |
|
|
|
|
| |
ok millert@
|
|
|
|
|
| |
normally as long as we define __need_process and use a local
definition of struct proclist.
|
| |
|
|
back on kmem grovelling for non-live kernels. OK deraadt@
|