in reply to Re^3: using $SIG as an IPC interrupt?
in thread using $SIG as an IPC interrupt?

I'm not sure I understand - are you saying there is a separate set of SIG signals per user? ie. that if an application running as root generates a SIGUSR1 it will be ignored by my perl code?

(This is running on Solaris BTW)

Thanks!

Replies are listed 'Best First'.
Re^5: using $SIG as an IPC interrupt?
by moritz (Cardinal) on Aug 21, 2008 at 18:31 UTC
    I'm saying that if your app runs as user $foo, and another program runs as user $bar, that other program can't send signals to your program, except when $foo eq $bar or $bar eq 'root'
      Thanks. Do you by any chance have an example for how to generate the SIGUSR signal from the c program?
        man 2 kill should help.