Custom Search

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

> 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.


To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux