Re: Communication between kernel and userspace via local socket

2011-11-16 Thread Ed Schouten
* 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 part. Communication pattern best fits to listening > PF_LOCAL socket opened from

Re: easy way to determine if a stream or fd is seekable

2011-11-16 Thread Alexander Best
On Tue Nov 15 11, Brandon Gooch wrote: > On Nov 15, 2011 2:25 PM, "Alexander Best" wrote: > > > > hi there, > > > > one of the things i'm missing is an easy way to determine, whether a > stream or > > fd is seekable. i checked the dd(1) and hd(1) sources and those tools are > > performing so much

Re: easy way to determine if a stream or fd is seekable

2011-11-16 Thread Joerg Sonnenberger
On Tue, Nov 15, 2011 at 08:24:50PM +, Alexander Best wrote: > one of the things i'm missing is an easy way to determine, whether a stream or > fd is seekable. i checked the dd(1) and hd(1) sources and those tools are > performing so much stuff just to find out if this is the case, and they stil

Re: easy way to determine if a stream or fd is seekable

2011-11-16 Thread Alexander Best
On Wed Nov 16 11, Alexander Best wrote: > On Tue Nov 15 11, Brandon Gooch wrote: > > On Nov 15, 2011 2:25 PM, "Alexander Best" wrote: > > > > > > hi there, > > > > > > one of the things i'm missing is an easy way to determine, whether a > > stream or > > > fd is seekable. i checked the dd(1) and h

Re: The zombie has involved into /dev/null

2011-11-16 Thread Ivan Voras
So, if I understand you correctly, you are reporting a bug in which a jailed process is holding (the jailed instance of) /dev/null open and "umount -f" doesn't work on the jailed /dev ? On 14/11/2011 23:52, Slono Slono wrote: > On one of servers where installed cacti in jail there is strange enou

Base compiler and amdfam10 - anybody/anything?

2011-11-16 Thread Vladimir Kushnir
Hi, Are there any attempts to bring to -CURRENT newer AMD chips support? Personally, I've just tried to apply the patches from openSUSE's gcc-4.2.1 SRPM. With slight adaptation they've applied and gave rather significant boost in resulting code speed. At least, testfcpy by Alexander Konovalenko

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 communication between > > userspace process

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 part. Communication pattern best

Re: The zombie has involved into /dev/null

2011-11-16 Thread Slono Slono
On Wednesday 16 November 2011 14:35:04 Ivan Voras wrote: > So, if I understand you correctly, you are reporting a bug in which a > jailed process is holding (the jailed instance of) /dev/null open and > "umount -f" doesn't work on the jailed /dev ? Hello, Yes, correct. > > On 14/11/2011 23:52, S

Re: easy way to determine if a stream or fd is seekable

2011-11-16 Thread Alexander Best
On Wed Nov 16 11, Alexander Best wrote: > On Wed Nov 16 11, Alexander Best wrote: > > On Tue Nov 15 11, Brandon Gooch wrote: > > > On Nov 15, 2011 2:25 PM, "Alexander Best" wrote: > > > > > > > > hi there, > > > > > > > > one of the things i'm missing is an easy way to determine, whether a > > > s

Re: easy way to determine if a stream or fd is seekable

2011-11-16 Thread Alexander Best
On Wed Nov 16 11, Joerg Sonnenberger wrote: > On Tue, Nov 15, 2011 at 08:24:50PM +, Alexander Best wrote: > > one of the things i'm missing is an easy way to determine, whether a stream > > or > > fd is seekable. i checked the dd(1) and hd(1) sources and those tools are > > performing so much

Re: easy way to determine if a stream or fd is seekable

2011-11-16 Thread Alexander Best
On Wed Nov 16 11, Alexander Best wrote: > On Wed Nov 16 11, Alexander Best wrote: > > On Wed Nov 16 11, Alexander Best wrote: > > > On Tue Nov 15 11, Brandon Gooch wrote: > > > > On Nov 15, 2011 2:25 PM, "Alexander Best" wrote: > > > > > > > > > > hi there, > > > > > > > > > > one of the things i'

Re: Include file search path

2011-11-16 Thread Garrett Cooper
On Wed, Sep 14, 2011 at 8:23 PM, Arnaud Lacombe wrote: > Hi, ... > ping, Warner ? > > FWIW, I guess that in 4 months, either you had time to finish the > patch, or I could have found to time to complete it myself based on > your incomplete version. I'd really be interested to benchmark recent, >

Re: easy way to determine if a stream or fd is seekable

2011-11-16 Thread Alexander Best
On Wed Nov 16 11, Alexander Best wrote: > On Wed Nov 16 11, Alexander Best wrote: > > On Wed Nov 16 11, Alexander Best wrote: > > > On Tue Nov 15 11, Brandon Gooch wrote: > > > > On Nov 15, 2011 2:25 PM, "Alexander Best" wrote: > > > > > > > > > > hi there, > > > > > > > > > > one of the things i'

Re: easy way to determine if a stream or fd is seekable

2011-11-16 Thread Joerg Sonnenberger
On Wed, Nov 16, 2011 at 01:14:28PM +, Alexander Best wrote: > On Wed Nov 16 11, Joerg Sonnenberger wrote: > > On Tue, Nov 15, 2011 at 08:24:50PM +, Alexander Best wrote: > > > one of the things i'm missing is an easy way to determine, whether a > > > stream or > > > fd is seekable. i check

Re: easy way to determine if a stream or fd is seekable

2011-11-16 Thread Alexander Best
On Thu Nov 17 11, Joerg Sonnenberger wrote: > On Wed, Nov 16, 2011 at 01:14:28PM +, Alexander Best wrote: > > On Wed Nov 16 11, Joerg Sonnenberger wrote: > > > On Tue, Nov 15, 2011 at 08:24:50PM +, Alexander Best wrote: > > > > one of the things i'm missing is an easy way to determine, whet

Re: easy way to determine if a stream or fd is seekable

2011-11-16 Thread Tim Kientzle
On Nov 16, 2011, at 4:24 PM, Alexander Best wrote: > On Thu Nov 17 11, Joerg Sonnenberger wrote: >> On Wed, Nov 16, 2011 at 01:14:28PM +, Alexander Best wrote: >>> On Wed Nov 16 11, Joerg Sonnenberger wrote: On Tue, Nov 15, 2011 at 08:24:50PM +, Alexander Best wrote: > one of the