<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libkvm, branch releng/9.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F9.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F9.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2013-07-10T19:42:07Z</updated>
<entry>
<title>Direct commit to stable branch to fix ABI breakage:</title>
<updated>2013-07-10T19:42:07Z</updated>
<author>
<name>Mikolaj Golub</name>
<email>trociny@FreeBSD.org</email>
</author>
<published>2013-07-10T19:42:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cbe481a78e8a2723e4c33ccff06b105932c7767f'/>
<id>urn:sha1:cbe481a78e8a2723e4c33ccff06b105932c7767f</id>
<content type='text'>
In r227839, when removing libkvm dependency on procfs(5),
kvm_uread() function, used for reading from /proc/pid/mem, was
removed too. This change broke ABI.

Bring kvm_uread() back so that the ABI is kept. In head soname is
going to be bumped instead.

Reported by:	rmh
Discussed on:	arch
Suggested by:	jilles
</content>
</entry>
<entry>
<title>MFC r250231: libkvm: Make second /dev/null file descriptor close-on-exec as</title>
<updated>2013-05-11T12:43:26Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2013-05-11T12:43:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e3def5221af9f4381ff02be8829996aaacf29c92'/>
<id>urn:sha1:e3def5221af9f4381ff02be8829996aaacf29c92</id>
<content type='text'>
well.
</content>
</entry>
<entry>
<title>MFC r250230: libkvm: Use O_CLOEXEC instead of separate fcntl(F_SETFD) call.</title>
<updated>2013-05-11T11:56:50Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2013-05-11T11:56:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=250f7202f0aa486ffdd0f622a7978db1642e0b40'/>
<id>urn:sha1:250f7202f0aa486ffdd0f622a7978db1642e0b40</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MFC r241303: kvm_getprocs: gracefully handle errors from kvm_deadprocs</title>
<updated>2012-10-17T11:26:27Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2012-10-17T11:26:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1866af2776c1322e42d96a60dbf554f288f0fd01'/>
<id>urn:sha1:1866af2776c1322e42d96a60dbf554f288f0fd01</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MFC r241302: kvm_proclist: ignore processes in larvae state</title>
<updated>2012-10-14T07:54:54Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2012-10-14T07:54:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3ffb48340836fe9ee5fe2ef5b59e1eb7cdc6b9ec'/>
<id>urn:sha1:3ffb48340836fe9ee5fe2ef5b59e1eb7cdc6b9ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MFC r235286:</title>
<updated>2012-05-18T00:31:20Z</updated>
<author>
<name>Glen Barber</name>
<email>gjb@FreeBSD.org</email>
</author>
<published>2012-05-18T00:31:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fafd9fa45e470605dfc848ee4a477325cb04200d'/>
<id>urn:sha1:fafd9fa45e470605dfc848ee4a477325cb04200d</id>
<content type='text'>
General mdoc(7) and typo fixes.

PR:		167734
</content>
</entry>
<entry>
<title>MFC r230873:</title>
<updated>2012-02-12T07:52:14Z</updated>
<author>
<name>Mikolaj Golub</name>
<email>trociny@FreeBSD.org</email>
</author>
<published>2012-02-12T07:52:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a9c5d0fc3a670bfc8fb0e42aeb616317d7d07438'/>
<id>urn:sha1:a9c5d0fc3a670bfc8fb0e42aeb616317d7d07438</id>
<content type='text'>
Try to avoid ambiguity when sysctl returns ENOMEM additionally
checking the returned oldlen: when ENOMEM is due to the supplied
buffer being too short the return oldlen is equal to buffer size.

Without this additional check kvm_getprocs() gets stuck in loop if the
returned ENOMEM was due the exceeded memorylocked limit. This is
easily can be observed running `limits -l 1k top'.

Submitted by:	Andrey Zonov &lt;andrey zonov org&gt;
</content>
</entry>
<entry>
<title>MFC r227839, r230146:</title>
<updated>2012-01-30T19:32:33Z</updated>
<author>
<name>Mikolaj Golub</name>
<email>trociny@FreeBSD.org</email>
</author>
<published>2012-01-30T19:32:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=046a8b864b6d5af0ec00bd49e8d3d2d3c3a11829'/>
<id>urn:sha1:046a8b864b6d5af0ec00bd49e8d3d2d3c3a11829</id>
<content type='text'>
r227839:

Now kvm_getenvv() and kvm_getargv() don't need procfs(5).

r230146:

In kvm_argv(), the case when the supplied buffer was too short to hold the
requested value was handled incorrectly, and the function retuned NULL
instead of the truncated result.

Fix this and also remove unnecessary check for buf != NULL, which alway
retuns true.
</content>
</entry>
<entry>
<title>Add support for PBVM addresses. In a nutshell this means:</title>
<updated>2011-08-06T15:59:54Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2011-08-06T15:59:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d69bc9bcbec83cd7d7d7b6d678df5265523791a0'/>
<id>urn:sha1:d69bc9bcbec83cd7d7d7b6d678df5265523791a0</id>
<content type='text'>
o   get the physical address and size of the PBVM page table. This
    can be found in the bootinfo structure, of which the physical
    address is recorded as the ELF entry point.
o   translate region 4 virtual addresses to physical addresses using
    the PBVM page table.

In _kvm_kvatop() make the distinction between physical address and
core file offset a little clearer to avoid confusion. To further
enhance readability, always store the translated address into pa
so that it's obvious how the translation from va to pa happened.

Approved by:	re (blanket)
</content>
</entry>
<entry>
<title>Rename ki_ocomm to ki_tdname and OCOMMLEN to TDNAMLEN.</title>
<updated>2011-07-18T20:06:15Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2011-07-18T20:06:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=925af54487d1c8cafc0dbb5ceee2ed1e49285249'/>
<id>urn:sha1:925af54487d1c8cafc0dbb5ceee2ed1e49285249</id>
<content type='text'>
Provide backward compatibility defines under BURN_BRIDGES.

Suggested by:	jhb
Reviewed by:	emaste
Sponsored by:	Sandvine Incorporated
Approved by:	re (kib)
</content>
</entry>
</feed>
