Re: PROBLEM: Asynchronous I/O with realtime signals erroneously sends SIGIO

Rene Janssen (reney@plex.nl)
Tue, 7 Dec 1999 23:57:05 +0100


Hi Alessandro,

>I think I found two bugs in the handling of real time signals in
>the kernel. Here is the bug report in the suggested format.

> Bug #1 (the less serious one):

Good spotting! I have reported this already a long time ago. Its
'fixed' somewhere in 2.3.*

> addition of the fields _pid and _uid in the _sigpoll struct to
> align it with the _kill struct).

That was my idea to, but it could break something so.. Anyone wants to burn
his hands on this?

> Bug #2 (the more serious one):

I havent looked into that one. Does 2.3.30 have the same behaviour? If not
its probably fixed.
> signal the server could impersonate any other user/process by
> appropriately filling the si_uid and si_pid fields.

? No, the si_uid, si_pid are informational only.

>[4.] Kernel version:
> Linux version 2.2.12-20 (root@localhost) (gcc version egcs-2.91.66

best regards,

Rene.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/