lkml.org 
[lkml]   [2000]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Signal handling different for root and others
jury gerold <gjury@grips.com> wrote:
> When i create a connection (telnet a.b.c.d port) the signal is
> delivered depending on the user that does the telnet.
> If root creates the socket, then only root or another machine
> is able to trigger the signal by connecting to the socket.
> Normal users are only able to create a SIGIO signal when connecting.
>
> If a normal user runs the program, then any user, as well as root
> is able to trigger the realtime signal. No SIGIO is delivered.
[ minimal test program snipped ]

Didn't look at the program too closely, but I ran it on vanilla 2.2.16,
and reproduced the problem. I'm not sure F_SETSIG and friends
are supposed to work properly on 2.2.x, though; isn't 2.4.x when
they're supposed to be fully functional?
(cf. http://www.kegel.com/c10k.html#nb.sigio )

It's wierd - for some reason, if the client is on the
same machine as the server, the server's behavior really
differs based on whether the client is root or not.

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

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.021 / U:2.436 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site