error in linking librery's

2004-07-23 Thread pradeep reddy punnam
Hi all, i am getting following error when i tried to link -lpthread, when i compile my program /user/libexec/elf/ld ; cannot find -lpthread, i made changes to my kernel and re compiled it, so i think may be i need to set the paths correct, which file i need to link. thanks - pra

Re: regarding timeout/untimeout kernel functions

2004-07-22 Thread pradeep reddy punnam
ssed by the normal program flow. Joe pradeep reddy punnam wrote: > HI all, > i am working on a project , where i came across a situation where i need to execute > a function when a timer expires ,exactly similar to functionality of the timeout() > kernel function but i need this

regarding timeout/untimeout kernel functions

2004-07-22 Thread pradeep reddy punnam
HI all, i am working on a project , where i came across a situation where i need to execute a function when a timer expires ,exactly similar to functionality of the timeout() kernel function but i need this in userland(application), and the execution of the function is time sensit

unable to copy data from the kernel to the user space

2004-07-07 Thread pradeep reddy punnam
hi hackers, i am new to kernel hacking , i am just trying to play with the networking code. i wrote a system call that will copy the mbuf address from the kernel to user space.. the sys call look like this 355 STD BSD { int sn_rqueue(struct mbuf *m);} and the code in the sn_rqueue syscall

regarding psignal()

2004-06-23 Thread pradeep reddy punnam
Hi, i am modifing my ../netinet/ip_input.c code so that kernel can inform a user process about the arrival of a packet, i want to use signaling mechanism for this , i know the pid of the process to which the signal should be send, i am looing for exact function that can help me in sending SIGI

regarding signals...

2004-06-22 Thread pradeep reddy punnam
Hi, i am modifing my ../netinet/ip_input.c code so that kernel can inform a user process about the arrival of a packet, i want to use signaling mechanism for this , i know the pid of the process to which the signal should be send, i am looking for exact function that can help me in sending SI

regarding signaling........

2004-06-22 Thread pradeep reddy punnam
Hi, i am modifing my ../netinet/ip_input.c code so that kernel can inform a user process about the arrival of a packet, i want to use signaling mechanism for this , i know the pid of the process to which the signal should be send, i am looking for exact function that can help me in sending SIG