<?xml version="1.0"?>
<statsTarget><link>http://cia.vc/stats/author/pjd</link><counters><counter name="forever" lastEventTime="1306270376" firstEventTime="1102195280">2123</counter></counters><metadata></metadata><recentMessages><message><timestamp>1306267812</timestamp><generator><name>Built-in Subversion repository interface</name><version>1.0</version></generator><source><project>FreeBSD</project></source><body><commit><revision>222268</revision><author>pjd</author><log>Don't pass pointer to name buffer which is on the stack to another thread,
because the stack might be paged out once the other thread tries to use the
data. Instead, just allocate memory.

MFC after:	2 weeks </log><url>http://svn.freebsd.org/viewvc/base?view=revision&amp;revision=222268</url><files><file action="modify" uri="http://svn.freebsd.org/base/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_dir.c">head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_dir.c</file></files></commit></body></message><message><timestamp>1306267635</timestamp><generator><name>Built-in Subversion repository interface</name><version>1.0</version></generator><source><project>FreeBSD</project></source><body><commit><revision>222267</revision><author>pjd</author><log>Don't access task structure once we call task function.
The task structure might be no longer available.
This also allows to eliminates the need for two tasks in the zio structure.

Submitted by:	anonymous
MFC after:	2 weeks </log><url>http://svn.freebsd.org/viewvc/base?view=revision&amp;revision=222267</url><files><file action="modify" uri="http://svn.freebsd.org/base/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c">head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c</file><file action="modify" uri="http://svn.freebsd.org/base/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio.h">head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio.h</file><file action="modify" uri="http://svn.freebsd.org/base/head/sys/cddl/compat/opensolaris/kern/opensolaris_taskq.c">head/sys/cddl/compat/opensolaris/kern/opensolaris_taskq.c</file><file action="modify" uri="http://svn.freebsd.org/base/head/sys/cddl/compat/opensolaris/sys/taskq.h">head/sys/cddl/compat/opensolaris/sys/taskq.h</file></files></commit></body></message><message><timestamp>1305847122</timestamp><generator><name>Built-in Subversion repository interface</name><version>1.0</version></generator><source><project>FreeBSD</project></source><body><commit><revision>222108</revision><author>pjd</author><log>In preparation for IPv6 support allow to specify multiple addresses to
listen on.

MFC after:	3 weeks </log><url>http://svn.freebsd.org/viewvc/base?view=revision&amp;revision=222108</url><files><file action="modify" uri="http://svn.freebsd.org/base/head/sbin/hastd/parse.y">head/sbin/hastd/parse.y</file><file action="modify" uri="http://svn.freebsd.org/base/head/sbin/hastd/hastd.c">head/sbin/hastd/hastd.c</file><file action="modify" uri="http://svn.freebsd.org/base/head/sbin/hastd/hast.h">head/sbin/hastd/hast.h</file><file action="modify" uri="http://svn.freebsd.org/base/head/sbin/hastd/hast.conf.5">head/sbin/hastd/hast.conf.5</file></files></commit></body></message><message><timestamp>1305758636</timestamp><generator><name>Built-in Subversion repository interface</name><version>1.0</version></generator><source><project>FreeBSD</project></source><body><commit><revision>222087</revision><author>pjd</author><log>- Add support for AF_INET6 sockets for %S format character.
- Use inet_ntop(3) instead of reimplementing it.
- Use %hhu for unsigned char instead of casting it to unsigned int and
  using %u.

MFC after:	1 week </log><url>http://svn.freebsd.org/viewvc/base?view=revision&amp;revision=222087</url><files><file action="modify" uri="http://svn.freebsd.org/base/head/sbin/hastd/pjdlog.c">head/sbin/hastd/pjdlog.c</file></files></commit></body></message><message><timestamp>1305392523</timestamp><generator><name>Built-in Subversion repository interface</name><version>1.0</version></generator><source><project>FreeBSD</project></source><body><commit><revision>221899</revision><author>pjd</author><log>Currently we are unable to use capsicum for the primary worker process,
because we need to do ioctl(2)s, which are not permitted in the capability
mode. What we do now is to chroot(2) to /var/empty, which restricts access
to file system name space and we drop privileges to hast user and hast
group.

This still allows to access to other name spaces, like list of processes,
network and sysvipc.

To address that, use jail(2) instead of chroot(2). Using jail(2) will restrict
access to process table, network (we use ip-less jails) and sysvipc (if
security.jail.sysvipc_allowed is turned off). This provides much better
separation.

MFC after:	1 week </log><url>http://svn.freebsd.org/viewvc/base?view=revision&amp;revision=221899</url><files><file action="modify" uri="http://svn.freebsd.org/base/head/sbin/hastd/subr.h">head/sbin/hastd/subr.h</file><file action="modify" uri="http://svn.freebsd.org/base/head/sbin/hastctl/hastctl.c">head/sbin/hastctl/hastctl.c</file><file action="modify" uri="http://svn.freebsd.org/base/head/sbin/hastd/primary.c">head/sbin/hastd/primary.c</file><file action="modify" uri="http://svn.freebsd.org/base/head/sbin/hastd/secondary.c">head/sbin/hastd/secondary.c</file><file action="modify" uri="http://svn.freebsd.org/base/head/sbin/hastd/subr.c">head/sbin/hastd/subr.c</file></files></commit></body></message><message><timestamp>1305392124</timestamp><generator><name>Built-in Subversion repository interface</name><version>1.0</version></generator><source><project>FreeBSD</project></source><body><commit><revision>221898</revision><author>pjd</author><log>When using capsicum to sanbox, still use other methods first, just in case
one of them have some problems. </log><url>http://svn.freebsd.org/viewvc/base?view=revision&amp;revision=221898</url><files><file action="modify" uri="http://svn.freebsd.org/base/head/sbin/hastd/subr.c">head/sbin/hastd/subr.c</file></files></commit></body></message><message><timestamp>1304853056</timestamp><generator><name>Built-in Subversion repository interface</name><version>1.0</version></generator><source><project>FreeBSD</project></source><body><commit><revision>221643</revision><author>pjd</author><log>Allow to specify remote as 'none' again which was broken by r219351, where
'none' was defined as a value for checksum.

Reported by:	trasz
MFC after:	1 week </log><url>http://svn.freebsd.org/viewvc/base?view=revision&amp;revision=221643</url><files><file action="modify" uri="http://svn.freebsd.org/base/head/sbin/hastd/parse.y">head/sbin/hastd/parse.y</file></files></commit></body></message><message><timestamp>1304847969</timestamp><generator><name>Built-in Subversion repository interface</name><version>1.0</version></generator><source><project>FreeBSD</project></source><body><commit><revision>221633</revision><author>pjd</author><log>Document the following sysctls:

kern.geom.eli.version
kern.geom.eli.key_cache_limit
kern.geom.eli.key_cache_hits
kern.geom.eli.key_cache_misses

MFC after:	1 week </log><url>http://svn.freebsd.org/viewvc/base?view=revision&amp;revision=221633</url><files><file action="modify" uri="http://svn.freebsd.org/base/head/sbin/geom/class/eli/geli.8">head/sbin/geom/class/eli/geli.8</file></files></commit></body></message><message><timestamp>1304846961</timestamp><generator><name>Built-in Subversion repository interface</name><version>1.0</version></generator><source><project>FreeBSD</project></source><body><commit><revision>221631</revision><author>pjd</author><log>Export GELI class version via sysctl kern.geom.eli.version.

MFC after:	1 week </log><url>http://svn.freebsd.org/viewvc/base?view=revision&amp;revision=221631</url><files><file action="modify" uri="http://svn.freebsd.org/base/head/sys/geom/eli/g_eli.c">head/sys/geom/eli/g_eli.c</file></files></commit></body></message><message><timestamp>1304846754</timestamp><generator><name>Built-in Subversion repository interface</name><version>1.0</version></generator><source><project>FreeBSD</project></source><body><commit><revision>221630</revision><author>pjd</author><log>Version 6 is compatible with version 5 when it comes to control commands.

MFC after:	1 week </log><url>http://svn.freebsd.org/viewvc/base?view=revision&amp;revision=221630</url><files><file action="modify" uri="http://svn.freebsd.org/base/head/sys/geom/eli/g_eli_ctl.c">head/sys/geom/eli/g_eli_ctl.c</file></files></commit></body></message><message><timestamp>1304846716</timestamp><generator><name>Built-in Subversion repository interface</name><version>1.0</version></generator><source><project>FreeBSD</project></source><body><commit><revision>221629</revision><author>pjd</author><log>Detect and handle metadata of version 6.

MFC after:	1 week </log><url>http://svn.freebsd.org/viewvc/base?view=revision&amp;revision=221629</url><files><file action="modify" uri="http://svn.freebsd.org/base/head/sys/geom/eli/g_eli.h">head/sys/geom/eli/g_eli.h</file></files></commit></body></message><message><timestamp>1304846276</timestamp><generator><name>Built-in Subversion repository interface</name><version>1.0</version></generator><source><project>FreeBSD</project></source><body><commit><revision>221628</revision><author>pjd</author><log>When support for multiple encryption keys was committed, GELI integrity mode
was not updated to pass CRD_F_KEY_EXPLICIT flag to opencrypto. This resulted in
always using first key.

We need to support providers created with this bug, so set special
G_ELI_FLAG_FIRST_KEY flag for GELI provider in integrity mode with version
smaller than 6 and pass the CRD_F_KEY_EXPLICIT flag to opencrypto only if
G_ELI_FLAG_FIRST_KEY doesn't exist.

Reported by:	Anton Yuzhaninov &lt;citrin@citrin.ru&gt;
MFC after:	1 week </log><url>http://svn.freebsd.org/viewvc/base?view=revision&amp;revision=221628</url><files><file action="modify" uri="http://svn.freebsd.org/base/head/sys/geom/eli/g_eli.h">head/sys/geom/eli/g_eli.h</file><file action="modify" uri="http://svn.freebsd.org/base/head/sys/geom/eli/g_eli_integrity.c">head/sys/geom/eli/g_eli_integrity.c</file><file action="modify" uri="http://svn.freebsd.org/base/head/sys/geom/eli/g_eli.c">head/sys/geom/eli/g_eli.c</file></files></commit></body></message><message><timestamp>1304845864</timestamp><generator><name>Built-in Subversion repository interface</name><version>1.0</version></generator><source><project>FreeBSD</project></source><body><commit><revision>221626</revision><author>pjd</author><log>Remove prototype for a function that no longer exist.

MFC after:	1 week </log><url>http://svn.freebsd.org/viewvc/base?view=revision&amp;revision=221626</url><files><file action="modify" uri="http://svn.freebsd.org/base/head/sys/geom/eli/g_eli.h">head/sys/geom/eli/g_eli.h</file></files></commit></body></message><message><timestamp>1304845789</timestamp><generator><name>Built-in Subversion repository interface</name><version>1.0</version></generator><source><project>FreeBSD</project></source><body><commit><revision>221625</revision><author>pjd</author><log>Drop proper key.

MFC after:	1 week </log><url>http://svn.freebsd.org/viewvc/base?view=revision&amp;revision=221625</url><files><file action="modify" uri="http://svn.freebsd.org/base/head/sys/geom/eli/g_eli_integrity.c">head/sys/geom/eli/g_eli_integrity.c</file></files></commit></body></message><message><timestamp>1304845730</timestamp><generator><name>Built-in Subversion repository interface</name><version>1.0</version></generator><source><project>FreeBSD</project></source><body><commit><revision>221624</revision><author>pjd</author><log>Add magic field to the g_eli_key structure to detect if we are really
operating on proper structures.

MFC after:	1 week </log><url>http://svn.freebsd.org/viewvc/base?view=revision&amp;revision=221624</url><files><file action="modify" uri="http://svn.freebsd.org/base/head/sys/geom/eli/g_eli_key_cache.c">head/sys/geom/eli/g_eli_key_cache.c</file></files></commit></body></message><message><timestamp>1303641673</timestamp><generator><name>Built-in Subversion repository interface</name><version>1.0</version></generator><source><project>FreeBSD</project></source><body><commit><revision>220984</revision><author>pjd</author><log>One key is expected from providers smaller than or equal to (2^20)*sectorsize
bytes. Remove bogus assertion and while here remove another too obvious
assertion.

Reported by:	Fabian Keil &lt;freebsd-listen@fabiankeil.de&gt;
MFC after:	2 weeks </log><url>http://svn.freebsd.org/viewvc/base?view=revision&amp;revision=220984</url><files><file action="modify" uri="http://svn.freebsd.org/base/head/sys/geom/eli/g_eli_key_cache.c">head/sys/geom/eli/g_eli_key_cache.c</file></files></commit></body></message><message><timestamp>1303420511</timestamp><generator><name>Built-in Subversion repository interface</name><version>1.0</version></generator><source><project>FreeBSD</project></source><body><commit><revision>220930</revision><author>pjd</author><log>Add g_eli_key_cache.c to GELI.

MFC after:	2 weeks </log><url>http://svn.freebsd.org/viewvc/base?view=revision&amp;revision=220930</url><files><file action="modify" uri="http://svn.freebsd.org/base/head/sys/conf/files">head/sys/conf/files</file></files></commit></body></message><message><timestamp>1303392920</timestamp><generator><name>Built-in Subversion repository interface</name><version>1.0</version></generator><source><project>FreeBSD</project></source><body><commit><revision>220923</revision><author>pjd</author><log>If number of keys for the given provider doesn't exceed the limit,
allocate all of them at attach time. This allows to avoid moving
keys around in the most-recently-used queue and needs no mutex
synchronization nor refcounting.

MFC after:	2 weeks </log><url>http://svn.freebsd.org/viewvc/base?view=revision&amp;revision=220923</url><files><file action="modify" uri="http://svn.freebsd.org/base/head/sys/geom/eli/g_eli_key_cache.c">head/sys/geom/eli/g_eli_key_cache.c</file></files></commit></body></message><message><timestamp>1303392703</timestamp><generator><name>Built-in Subversion repository interface</name><version>1.0</version></generator><source><project>FreeBSD</project></source><body><commit><revision>220922</revision><author>pjd</author><log>Instead of allocating memory for all the keys at device attach,
create reasonably large cache for the keys that is filled when
needed. The previous version was problematic for very large providers
(hundreds of terabytes or serval petabytes). Every terabyte of data
needs around 256kB for keys. Make the default cache limit big enough
to fit all the keys needed for 4TB providers, which will eat at most
1MB of memory.

MFC after:	2 weeks </log><url>http://svn.freebsd.org/viewvc/base?view=revision&amp;revision=220922</url><files><file action="modify" uri="http://svn.freebsd.org/base/head/sys/geom/eli/g_eli_ctl.c">head/sys/geom/eli/g_eli_ctl.c</file><file action="modify" uri="http://svn.freebsd.org/base/head/sys/geom/eli/g_eli.h">head/sys/geom/eli/g_eli.h</file><file action="modify" uri="http://svn.freebsd.org/base/head/sys/geom/eli/g_eli_key.c">head/sys/geom/eli/g_eli_key.c</file><file action="add" uri="http://svn.freebsd.org/base/head/sys/geom/eli/g_eli_key_cache.c">head/sys/geom/eli/g_eli_key_cache.c</file><file action="modify" uri="http://svn.freebsd.org/base/head/sys/modules/geom/geom_eli/Makefile">head/sys/modules/geom/geom_eli/Makefile</file><file action="modify" uri="http://svn.freebsd.org/base/head/sys/geom/eli/g_eli_privacy.c">head/sys/geom/eli/g_eli_privacy.c</file><file action="modify" uri="http://svn.freebsd.org/base/head/sys/geom/eli/g_eli_integrity.c">head/sys/geom/eli/g_eli_integrity.c</file><file action="modify" uri="http://svn.freebsd.org/base/head/sys/geom/eli/g_eli.c">head/sys/geom/eli/g_eli.c</file></files></commit></body></message><message><timestamp>1303325352</timestamp><generator><name>Built-in Subversion repository interface</name><version>1.0</version></generator><source><project>FreeBSD</project></source><body><commit><revision>220899</revision><author>pjd</author><log>Correct comment.

MFC after:	1 week </log><url>http://svn.freebsd.org/viewvc/base?view=revision&amp;revision=220899</url><files><file action="modify" uri="http://svn.freebsd.org/base/head/sbin/hastd/hastd.c">head/sbin/hastd/hastd.c</file></files></commit></body></message></recentMessages></statsTarget>
