Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^5: using $SIG as an IPC interrupt?

by moritz (Cardinal)
on Aug 21, 2008 at 18:31 UTC ( [id://705932] : note . print w/replies, xml ) Need Help??


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

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'

Replies are listed 'Best First'.
Re^6: using $SIG as an IPC interrupt?
by bobbob (Acolyte) on Aug 21, 2008 at 18:52 UTC
    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.