Re: Char device write repeating

2016-10-04 Thread Daniel.
Because the libc is calling it again based on what has been passed as argument and what was received as return value. Here is one example https://gist.github.com/gkos/5479135. I don't really know if this code is working since I made it a long time ago. Regards, 2016-10-04 12:05 GMT-03:00 Greg KH

Char device write repeating

2016-10-04 Thread Kenneth Adam Miller
I have a character device that I am calling write on and which is succeeding, but which is repeatedly executing. I have hard coded the return value to one, so I don't think the userland standard library is retrying but I could be wrong. Can anybody tell me why write would be re-executed by the

Re: Linux Kernel Based Research Projects

2016-10-04 Thread Daniel Baluta
On Tue, Oct 4, 2016 at 4:08 AM, Robert P. J. Day wrote: > On Sun, 2 Oct 2016, Daniel Baluta wrote: > >> On Sun, Oct 2, 2016 at 2:54 PM, Shyam Saini wrote: >> > Hi everyone, >> > >> > I'm final year computer science undergraduate student. I want to