Re: basic and complite implementation of socket

2008-11-15 Thread Michael Blizek
On 19:08 Sat 15 Nov , siddharam suresh wrote: > Hi sir > i got the source code of the bind,connect,socket system calls the definition > of these system calls is available in file called as "/net/socket.c" to > browse this code i am using ctags > i want to know about the how this sys_socket,sys_

question regarding linux freeze

2008-11-15 Thread Sri Ram K Vemulpali
Hi all, I am writing a kernel module. Where in the module, major number is allocated on fly (alloc_chrdev_region). And using major number from /proc/devices I create a device node in /dev (mknod). To see what happens if I create device node with major number first and then asking the kern

basic and complite implementation of socket

2008-11-15 Thread siddharam suresh
Hi sir i got the source code of the bind,connect,socket system calls the definition of these system calls is available in file called as "/net/socket.c" to browse this code i am using ctags i want to know about the how this sys_socket,sys_connect,sys_bind are implemented Is there any possibility t

How to determine when kernel booting has completed ?

2008-11-15 Thread Manish Katiyar
Hi, I got a simple (probably silly question) while we were trying to hook a system call few days back in one of the threads posted earlier. Let's say I want to log all the users/calls of someone calling kmem_cache_alloc() after the system has come up ie... any external module which might be callin