mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=12174
This commit is contained in:
parent
b886321959
commit
c195fed96b
|
@ -2088,7 +2088,7 @@ Bruce 27 Feb 2007
|
|||
server_types.C
|
||||
|
||||
Charlie 28 Feb 2007
|
||||
SANDBOX: only the super-user can send signal to another users' process.
|
||||
SANDBOX: only the super-user can send signal to another user's process.
|
||||
Core client runs as user boinc_master, but project applications run
|
||||
as user boinc_project, so ACTIVE_TASK::kill_task() probably could not
|
||||
work as written. I added code which uses switcher helper application
|
||||
|
|
|
@ -129,7 +129,7 @@ int ACTIVE_TASK::kill_task(bool restart) {
|
|||
// if project application is running as user boinc_project and
|
||||
// core client is running as user boinc_master, we cannot send
|
||||
// a signal directly, so use switcher.
|
||||
sprintf(cmd, "%s/%s /bin/kill -s SIGKILL %d", SWITCHER_DIR, SWITCHER_FILE_NAME, pid);
|
||||
sprintf(cmd, "%s/%s /bin/kill -s KILL %d", SWITCHER_DIR, SWITCHER_FILE_NAME, pid);
|
||||
system(cmd);
|
||||
}
|
||||
// Always try to kill project app directly, just to be safe:
|
||||
|
|
Loading…
Reference in New Issue