Re: Communication between kernel and userspace via local socket

2011-11-19 Thread Maxim Ignatenko
On сб, 19 лис 2011 11:02:47 Julian Elischer wrote: > On 11/17/11 11:40 AM, Maxim Ignatenko wrote: > > Julian Elischer wrote: > >> On 11/16/11 12:55 AM, Ed Schouten wrote: > >>> * Maxim Ignatenko, 2015 21:18: > >>>> I'm currently invent

Re: Communication between kernel and userspace via local socket

2011-11-17 Thread Maxim Ignatenko
Julian Elischer wrote: > On 11/16/11 12:55 AM, Ed Schouten wrote: >> * Maxim Ignatenko, 2015 21:18: >>> I'm currently inventing the wheel^W^W^Wwriting a firewall from scratch and >>> looking for most convenient way to establish communication between >>

Re: Communication between kernel and userspace via local socket

2011-11-16 Thread Maxim Ignatenko
On 16 November 2011 10:55, Ed Schouten wrote: > * Maxim Ignatenko , 2015 21:18: >> I'm currently inventing the wheel^W^W^Wwriting a firewall from scratch and >> looking for most convenient way to establish communication between userspace >> processes and kernel p

Re: Communication between kernel and userspace via local socket

2011-11-16 Thread Maxim Ignatenko
On вт, 15 лис 2011 23:17:41 m...@freebsd.org wrote: > On Tue, Nov 15, 2011 at 12:18 PM, Maxim Ignatenko wrote: > > frHi, > > > > I'm currently inventing the wheel^W^W^Wwriting a firewall from scratch > > and looking for most convenient way to establish com

Communication between kernel and userspace via local socket

2011-11-15 Thread Maxim Ignatenko
frHi, I'm currently inventing the wheel^W^W^Wwriting a firewall from scratch and looking for most convenient way to establish communication between userspace processes and kernel part. Communication pattern best fits to listening PF_LOCAL socket opened from kernel and userspace processes connec

Acquiring ACPI_LOCK(acpi) from kernel module during boot process

2011-10-14 Thread Maxim Ignatenko
Hi, I have this code: https://gitorious.org/acpi_call-freebsd/acpi_call-freebsd/blobs/5e6a79869721a2bd8de88b5cfa90c14b429cb5c7/acpi_call.c It works just fine when loaded into kernel manually, but crashes if loaded during boot via loader.conf: http://i.imgur.com/fLPen.png I've added some printf's