Re: Signal delivery

2008-10-20 Thread Peter Teoh
On Thu, Oct 16, 2008 at 4:50 AM, Daniel Baluta [EMAIL PROTECTED] wrote: Hello , I want to understand how kernel handles signals delivering between processes. Can you guide me through kernel code , or provide some basics ideas. Thanks, Dan. http://www.freeos.com/articles/4536 check out

how to find library of header file?

2008-10-20 Thread Mudit Aggarwal
Hi List, My issue is not exactly related to Kernel. Here I am trying to build my module with the existing code present in linux environment using existing header file and library file present in different directories. The problem is, my make file is not able to find the library files of the

Regd. mailing list filters.

2008-10-20 Thread srinivas.ramana
Hi All, This is regarding the mailing list filters. I could not find any help on this. Recently i had a problem. I have sent a mail to I2C mailing list for help and no one replied. After 2 days i realised that my mail went with a disclaimer at the end. I am almost sure thats the reason no

use of losetup

2008-10-20 Thread rishi agrawal
Hello Everyone, I would like to know about the use of losetup. By use I want mean that in what all situations will I use losetup. Its okay that it attaches a loop device to any regular file but how do we use this feature. -- Regards, Rishi B. Agrawal -- To unsubscribe from this list: send

Re: [ MAE Comp : 1579 ] use of losetup

2008-10-20 Thread Sunil
On Mon, Oct 20, 2008 at 3:41 PM, Sandeep K Sinha [EMAIL PROTECTED]wrote: Hi Rishi, You can now do a mkfs on that particular file, mount it and do whatever you can do with a normal block device. Read more about loopback devices. On Mon, Oct 20, 2008 at 3:28 PM, rishi agrawal [EMAIL

Re: [ MAE Comp : 1579 ] use of losetup

2008-10-20 Thread Kalpesh Rathod
One practical usage is while using Linux USB file-storage gadget driver. When you want to access data written by USB host on regular file on gadget itself, you can do losetup on the regular file. After associating loop device to regular file, the device becomes valid block device allowing you to

Re: use of losetup

2008-10-20 Thread Luciano Rocha
On Mon, Oct 20, 2008 at 03:28:07PM +0530, rishi agrawal wrote: Hello Everyone, I would like to know about the use of losetup. By use I want mean that in what all situations will I use losetup. Its okay that it attaches a loop device to any regular file but how do we use this feature.

how to get users to login from a kernel module

2008-10-20 Thread asammoud asammoud
Hello every one , I'm new to kernel development , and i want to know if i can make a kernel module that connects to the internet and allow users to login and execute commands, What i want to know is : How can i check for users login from kernel space , And can i use the login program in the

RE: how to find library of header file?

2008-10-20 Thread Rajat Jain
I assume you are talking purely about user space here? So your problems boils down to this: Your compiler is unamble to find definition of certain symbols (that have been defined in the header files). Since you compiler is complaining that means it is certainly not able to find the libraries

Returning from signal handler

2008-10-20 Thread Pharaoh .
Hi As per my understanding, whenever a signal handler is returned, sigreturn() system call is called, so just to test my understanding I wrote a simple app with signal handler and tried to put a breakpoint at sigreturn call, but I could never hit that breakpoint. How can one figure out how

Re: [ MAE Comp : 1579 ] use of losetup

2008-10-20 Thread Sandeep K Sinha
Hi Rishi, You can now do a mkfs on that particular file, mount it and do whatever you can do with a normal block device. Read more about loopback devices. On Mon, Oct 20, 2008 at 3:28 PM, rishi agrawal [EMAIL PROTECTED] wrote: Hello Everyone, I would like to know about the use of

Re: how to get users to login from a kernel module

2008-10-20 Thread Henrik Austad
On Monday 20 October 2008 14:15:25 asammoud asammoud wrote: Hello every one , I'm new to kernel development , and i want to know if i can make a kernel module that connects to the internet and allow users to login and execute commands, What do you mean 'connect to the Internet'? Normally, it

Re: how to get users to login from a kernel module

2008-10-20 Thread Ahmed Sammoud
Hello again Well sorry if i didn't make my self clear in the first time , What i mean is that the users can connect to it to authenticate , What i want to do in brief : I want to do is a Server that allows user to connect to it ,and login to their accounts , the server should authenticate the

Re: how to get users to login from a kernel module

2008-10-20 Thread Henrik Austad
On Monday 20 October 2008 17:40:21 Ahmed Sammoud wrote: Hello again Well sorry if i didn't make my self clear in the first time , What i mean is that the users can connect to it to authenticate , What i want to do in brief : I want to do is a Server that allows user to connect to it ,and

Re: Returning from signal handler

2008-10-20 Thread Peter Teoh
to see ALL the syscall made for a userspace program, use strace. On Mon, Oct 20, 2008 at 7:02 PM, Pharaoh . [EMAIL PROTECTED] wrote: Hi As per my understanding, whenever a signal handler is returned, sigreturn() system call is called, so just to test my understanding I wrote a simple app

Re: use of losetup

2008-10-20 Thread Peter Teoh
very good discussion On Mon, Oct 20, 2008 at 6:46 PM, Luciano Rocha [EMAIL PROTECTED] wrote: On Mon, Oct 20, 2008 at 03:28:07PM +0530, rishi agrawal wrote: Hello Everyone, I would like to know about the use of losetup. By use I want mean that in what all situations will I use losetup.