summaryrefslogtreecommitdiff
path: root/lib/libkvm/kvm_file2.c
AgeCommit message (Expand)Author
2017-01-21p_comm is the process's command and isn't per thread, so move it fromPhilip Guenther
2016-11-07Split PID from TID, giving processes a PID unrelated to the TID of theirPhilip Guenther
2016-10-02Add va_nlink information to struct kinfo_file (so bump the shlib minor)Philip Guenther
2016-05-04Make KERN_FILE_BYPID return ESRCH when PID not found, both in sysctl andVadim Zhukov
2016-04-25no more systraceTed Unangst
2015-09-04fix a race when fetching files from the kernel. the number of filesDavid Gwynne
2015-08-28Rework the UNIX domain socket garbage collector, including ideas fromPhilip Guenther
2015-03-28Replace the hand-crafted list of datagram unix domain sockets withAlexander Bluhm
2015-02-11Extend struct kinfo_file a bit for netstat (sync with the kernel).Claudio Jeker
2015-02-11Prefer arg != 0 over arg for non-boolean. nitted kettenis@Philip Guenther
2015-02-11sysctl({CTL_KERN, KERN_FILE, KERN_FILE_BYFILE}) previously requiredPhilip Guenther
2015-01-16Move to the <limits.h> universe.Theo de Raadt
2014-11-19Nuke yet more obvious #include duplications.Kenneth R Westerback
2014-11-03Put the socket splicing fields into a seperate struct sosplice thatAlexander Bluhm
2014-10-25Remove unnecessary netinet/in_systm.h include.Lawrence Teo
2014-10-15Apply reallocarray() idiom.Theo de Raadt
2014-07-04Track whether a process is a zombie or not yet fully built via flagsPhilip Guenther
2014-03-30Eliminates struct pcred by moving the real and saved ugids intoPhilip Guenther
2014-02-05More crash dump parsing fixes: correct paddr in process info and pidsPhilip Guenther
2014-01-20Threads can't be zombies, only processes, so change zombproc to zombprocess,Philip Guenther
2014-01-20p_textvp moved from struct proc to struct processPhilip Guenther
2013-11-16Prep for hidden visibility: move the vnode/file related functionPhilip Guenther
2013-11-12Apply format __attribute__ to _kvm_err() and fix the errors that it detects.Philip Guenther
2013-11-12a missing prototypesTheo de Raadt
2013-10-22- add UNIX-domain socket info to struct kinfo_file2Philip Guenther
2013-03-20spacesTheo de Raadt
2012-08-23knowledge of nnpfs can be removedTheo de Raadt
2012-06-02Committed the wrong version (an earlier try) of the KERN_FILE2 vsPhilip Guenthe
2012-05-01Eliminate the f_usecount ref count in struct file; instead of sleepingPhilip Guenthe
2012-04-20Fix kvm_deadfile2_byid()'s handling of kernel vs user addresses forPhilip Guenthe
2012-04-14Make kvm_getfile2() have a fighting change to work correctly on crashPhilip Guenthe
2012-03-28The kinfo_file2 structure's f_wbytes member was being filled with thePhilip Guenthe
2012-03-130 is a valid uid for files sysctl, don't skip it. reminded by guentherTed Unangst
2012-01-07Add rtable id and thread id to struct kinfo_proc (and fix process id)Philip Guenthe
2011-12-14The ktrace vnode has moved to struct process and changed name.Philip Guenthe
2011-07-04move the specfs code to a place people can see it; ok guenther thib krwTheo de Raadt
2010-07-17Move some macros in <msdosfs/denode.h> to outside the #ifdef _KERNELPhilip Guenthe
2010-06-29Fail instead of lying if a process asks sysctl()'s KERN_PROC2 orPhilip Guenthe
2010-01-10Reimplement kvm_getproc2()'s support for reading crash dumps andPhilip Guenthe
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-07-21Support KERN_FILE_TEXT here tooTodd C. Miller
2009-07-21Handle the case where so_pcb is NULL.Todd C. Miller
2009-07-08correct kvm_getfile2 error stringTodd C. Miller
2009-06-24Install ntfs includes and add libkvm (fstat) support. ntfs bitsTodd C. Miller
2009-06-20Move KREAD define to kvm_private.hTodd C. Miller
2009-06-20Split out cd9660 bits into their own .c file to avoid #define collisionsTodd C. Miller
2009-06-20Add msdosfs support now that we have the headers.Todd C. Miller
2009-06-19Quiet a gcc warningTodd C. Miller
2009-06-11add missing headers needed by free(), memset(), getuid() and strlcpy().Charles Longeau
2009-06-07Define _KERNEL for the bare minimum. We can include sys/proc.hTodd C. Miller