K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-08-13T13:17:50.469194Z K 7 svn:log V 602 Import variable length ALQ(9) work from my user branch/SIFTR development repository. This is a prerequisite for importing SIFTR into the tree. This patch allows the ALQ(9) framework to be compiled as a kernel module. It also extends the KPI to support logging variable length messages by replacing the underlying storage with a circular byte based buffer and adding new alq_writen/alq_getn functions. Some additional minor structural work is required to remove the patch's current use of malloc in alq_getn. Sponsored by: FreeBSD Foundation Discussed with: jeff@, rwatson@ (quite some time ago now) END