Thread (5 messages) 5 messages, 2 authors, 2012-04-30

Re: [PATCH] Input: serio_raw - signal EFAULT even if read/write partially succeeds

From: Alan Cox <hidden>
Date: 2012-04-30 21:23:25

If a read() is interrupted by a signal after it has successfully read
some data, it shall return the number of bytes read."
Fair point - I guess technically EFAULT is not a signal. I still think
its a better behaviour to not lose bytes but objection withdrawn.
No, we'd only go into wait_event_interruptible() if we haven't read
anything yet so we won't lose any data here.
Ok

Alan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help