_getlogin()

2006-07-31 Thread mykola . stryebkov
Hi, Where can i find source of subj? /usr/src/lib/libc/gen/getlogin.c has the declaration of this function, but i'm unable to find its definition. Thanks. -- Nick Strebkov Public key: http://humgat.org/~nick/pubkey.txt fpr: 552C 88D6 895B 6E64 F277 D367 8A70 8132 47F5 C1B6 _

Re: VM question related to faults

2006-07-31 Thread mykola . stryebkov
On 31.07.2006 14:12:20, Intron wrote: > Mutex(9) is sometimes too heavy, and has many limitations, while sx(9) > is somewhat enough. First paragraph from sx(9) manual says: Shared/exclusive locks are used to protect data that are read far more often than they are written. Mutexe

Re: fork inside ip_input

2006-07-14 Thread mykola . stryebkov
On 14.07.2006 15:57:28, Simon 'corecode' Schubert wrote: > Mykola Stryebkov wrote: > >Hi all. > > > >Have a strange question: is it possible to create new process (using > >fork or fork1) from inside of ip_input()? > > i don't think so. > >

fork inside ip_input

2006-07-14 Thread Mykola Stryebkov
Hi all. Have a strange question: is it possible to create new process (using fork or fork1) from inside of ip_input()? In kernel sources i found example of using fork1 in init_main.c but looking into ip_input.c i do not understand where i can get pointers to a thread and parent process to pass it