Re: where to start on kernel modules and NSS?

2007-07-03 Thread Stanislav Sedov
On Tue, 03 Jul 2007 11:04:17 +0200 Ivan Voras <[EMAIL PROTECTED]> mentioned: > Z.C.B. wrote: > > Have just been looking at sitting down and looking at writing a few > > things, but I am a bit lost on where to start. Any suggestions on > > things to read in regards to NSS and writing kernel modules

Re: p_vmspace in syscall

2007-07-03 Thread Roman Divacky
> Ok, syscall function passed a proc* as arguments, I don't know where this does not make any sense... userland processes have no way to determine where a proc is stored... what exactly are you trying to achieve? ___ freebsd-hackers@freebsd.org mailing

Re: p_vmspace in syscall

2007-07-03 Thread Nicolas Cormier
On 7/2/07, Nicolas Cormier <[EMAIL PROTECTED]> wrote: Hi, I am trying to map some data allocated in kernel to a user process (via a syscall). I need the proc's vmspace, but the value of p_vmspace of the input proc argument is NULL ... How can I get a valid vmspace ? Thanks ! Ok, syscall functi

Re: where to start on kernel modules and NSS?

2007-07-03 Thread Ivan Voras
Z.C.B. wrote: Have just been looking at sitting down and looking at writing a few things, but I am a bit lost on where to start. Any suggestions on things to read in regards to NSS and writing kernel modules? These are not similar things and you don't need kernel modules for NSS. For kernel mo