plash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Plash] Sending signals to sandboxed processes


From: Thomas Leonard
Subject: [Plash] Sending signals to sandboxed processes
Date: Sun, 19 Nov 2006 20:40:11 +0000

Is there any way to send a signal (e.g. SIGTERM) to a plash process
from outside the sandbox?

Sending signals via the tty (^C etc) works fine, but sending using
kill(2) doesn't seem to be possible (presumably because all the uids
are different).

You can kill the server process, which will usually kill the child
process next time it tries to open a file.

I think perhaps I need a sandboxed process polling for a ".killed"
file, and then killing its whole process group if it finds one. Is
there an easier way?

Thanks,


--
Dr Thomas Leonard               http://rox.sourceforge.net
GPG: 9242 9807 C985 3C07 44A6  8B9A AE07 8280 59A5 3CC1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]