History log of /freebsd-10.1-release/lib/libkvm/kvm_file.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 217744 23-Jan-2011 uqs

libkvm code janitoring

- make WARNS=6 clean for archs w/o strict alignment requirments
- add const, ANSIfy, remove unused vars, cast types for comparison
- thanks to differing definitions of VM_MIN_ADDRESS across our archs, we
need to trick the compiler to not complain about signedness. We could
either fix VM_MIN_ADDRESS to always be a simple integer or make the
check conditional on $ARCH.

Closes PRs: kern/42386, kern/83364
Reviewed by: bde


# 194186 14-Jun-2009 ed

Fix missing includes of <string.h>, to silence some compiler warnings.

Submitted by: Pawel Worach


# 179320 26-May-2008 pjd

Use _WANT_FILE to make struct file visible from userland. This is
similar to _WANT_UCRED and _WANT_PRISON and seems to be much nicer than
defining _KERNEL.
It is also needed for my sys/refcount.h change going in soon.


# 174989 29-Dec-2007 jeff

- Update kvm_deadfiles to be compatible with the new system which has no
global list of all files.
- Mark kvm_getfiles() as broken since the live version exports struct xfile
with no filelist at the head and does so incorrectly and the deadfiles
version exports struct file with a filelist at the head. It is not known
if either version works or complies to the manpage.


# 165888 08-Jan-2007 imp

Remove the advertising clause. UCB did this some time ago, but these
files were never updated to reflect that.

MFC After: 2 days


# 118284 31-Jul-2003 phk

Remove unnecssary <vm/swap_pager.h> includes.

These were probably not cleaned up back in whatever murky past these
files were split into separate files.


# 92913 21-Mar-2002 obrien

Remove 'register' keyword.


# 84768 10-Oct-2001 bde

Compensate for "Compensate for header dethreading" by backing it out.


# 83551 16-Sep-2001 dillon

Implement __FBSDID()


# 76176 01-May-2001 markm

Compensate for header dethreading.


# 70525 30-Dec-2000 ben

Use macro API to <sys/queue.h>


# 57321 18-Feb-2000 peter

Correct an error message presumably as a result of cut/paste.
kvm_getfiles() referred to itself as kvm_getprocs().


# 55206 29-Dec-1999 peter

Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"
is an application space macro and the applications are supposed to be free
to use it as they please (but cannot). This is consistant with the other
BSD's who made this change quite some time ago. More commits to come.


# 55127 27-Dec-1999 peter

Use kldsym(2) to lookup symbol values. This avoids the kvm_mkdb juggling
and is module aware. Yes, this means that kvm_nlist(3) will find symbols
in loaded modules. The emulation of the nlist struct is pretty crude but
seems to work well enough for all the users in the tree that I found.


# 38534 25-Aug-1998 dfr

The length argument to sysctl is now size_t.


# 17141 12-Jul-1996 jkh

General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>


# 14523 11-Mar-1996 hsu

From Lite2: proc and file LIST changes


# 11679 22-Oct-1995 bde

Removed unnecessary include of <sys/tty.h>. tty.h apparently once had
some user interfaces in it. It no longer does.


# 8870 30-May-1995 rgrimes

Remove trailing whitespace.


# 6683 24-Feb-1995 phk

Remove some unused variables and fix two blatant core dump triggers.


# 3101 25-Sep-1994 dg

Don't include sys/exec.h.


# 1574 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1573,
which included commits to RCS files with non-trunk default branches.


# 1573 27-May-1994 rgrimes

BSD 4.4 Lite Lib Sources