
28 Nov
2012
28 Nov
'12
1:51 p.m.
On 11/28/12 12:31, Daniel P. Berrange wrote:
From: "Daniel P. Berrange" <berrange@redhat.com>
Implement the new API for sending signals to processes in a guest for the LXC driver. Only support sending signals to the init process for now, because
- The kernel does not appear to expose the mapping between container PID numbers and host PID numbers anywhere in the host OS namespace - There is no race-free validate whether a host PID corresponds to a process in a container.
* src/lxc/lxc_driver.c: Allow sending processes signals --- src/lxc/lxc_driver.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+)
ACK. Peter