Re: kqueue implementation

2007-05-21 Thread John-Mark Gurney
Daniel Molina Wegener wrote this message on Mon, May 21, 2007 at 09:48 -0400: > On Monday 21 May 2007 03:57:58 John-Mark Gurney wrote: > > Daniel Molina Wegener wrote this message on Sun, May 20, 2007 > at 18:31 -0400: > > >I'm coding an application using the kqueue facility, but > > > I see t

Re: kqueue implementation

2007-05-21 Thread Daniel Molina Wegener
On Monday 21 May 2007 03:57:58 John-Mark Gurney wrote: > Daniel Molina Wegener wrote this message on Sun, May 20, 2007 at 18:31 -0400: > >I'm coding an application using the kqueue facility, but > > I see that I can't handle open and read events. Is planned > > to implement these handlings in

Re: PAM exec patch to allow PAM_AUTHTOK to be exported.

2007-05-21 Thread Dan Lukes
Zane C.B. napsal/wrote, On 05/21/07 04:33: In advance, you need catch not only pam_sm_session_open but pam_sm_session_close (i assume you plan to umount resource also). Unfortunately (unless I miss something) pam_exec has no way to pass about 'direction' to called program. You can't use simple he

Re: Writing a plain text file to disk from kernel space

2007-05-21 Thread Joseph Koshy
ls> So, I'm looking for a way to manually open up a file from within ls> kernel space and dump characters into it. des> Note that it opens the file in userland and passes it down to the des> kernel. You may want to consider a similar mechanism. hwpmc(4) takes a similar approach, using a dedicat

Re: Writing a plain text file to disk from kernel space

2007-05-21 Thread Dag-Erling Smørgrav
Lawrence Stewart <[EMAIL PROTECTED]> writes: > I suspect that you can't use a file descriptor that was opened in one > thread in a completely different thread, but I'm not sure if this is > true, and if it is true, how to get around it. A file descriptor is an index into a file table. Different t

disk i/o problems

2007-05-21 Thread Nico -telmich- Schottelius
Hello everyone, I did some tests on our Dell Poweredge SC 1425, because our new mailserver had one outage (reason unknown) and was onetime running extremly slow. So I took another brand new sc1425 and run http://home.schottelius.org/~nico/unix/freebsd/testdisks.sh on it. The result is that the m

Re: Writing a plain text file to disk from kernel space

2007-05-21 Thread Lawrence Stewart
Will do Ivan as soon as I've figured everything out. However, I need some more help from you knowledgeable people. Attached is a fully self contained kernel module and associated makefile that demonstrates the problem I'm having. I've also attached a compiled version of the module for FreeBSD

Re: kqueue implementation

2007-05-21 Thread John-Mark Gurney
Daniel Molina Wegener wrote this message on Sun, May 20, 2007 at 18:31 -0400: >I'm coding an application using the kqueue facility, but > I see that I can't handle open and read events. Is planned to > implement these handlings in the future?. Also, which facility > can I use to handle these ki