Re: patch for errno-issue (with soundcore)

Thomas Schlichter (schlicht@uni-mannheim.de)
Mon, 13 Jan 2003 15:57:33 +0100


On Mon, 13. Jan. 2003 16:13, Alan Cox wrote:
> This actually shows a bug that has always been lurking. What if we load two
> modules firmware at the same time. errno needs to be task private or we
> perhaps need an errno_sem ?

OK, I think I see the problem now!
But is soundcore the only place where 'errno' is used? Does this problem not
occur if any task modifies the errno value and an other one depends on its
previous value? I think this could happen even if no modules are used...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/