summaryrefslogtreecommitdiff
path: root/lib/libkvm/kvm_file2.c
AgeCommit message (Expand)Author
2024-02-11Remove needless includes of netinet6/ip6_var.h header in userland.Alexander Bluhm
2022-02-22MAXCOMLEN is no longer needed in these programs, so remove the annotationTheo de Raadt
2021-09-10annotate what symbols are used from sys/param.h lines, or delete themTheo de Raadt
2019-01-25I am retiring my old email address; replace it with my OpenBSD one.Todd C. Miller
2018-09-07Fix "_nfiles" reference for crash dump.YASUOKA Masahiko
2018-01-02Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined.Philip Guenther
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