[linux-dvb] ERESTARTSYS usage

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

 



Hi!

Under linux/include/linux/errno.h there is a comment about ERESTARTSYS
and other errno values, that specifically states that those are not
to be seen by userspace programs.

However, this value is frequently returned as the return value from
down_interruptible. This even though include/asm-i386 and some other
include/asm-*'s say that it returns -EINTR, which makes sense, since
the only thing that can innterupt it is a signal.

Would you say that it would be okay to replace all ERESTARTSYS with EINTR?

Kenneth



[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux