*** empty log message ***

svn path=/trunk/boinc/; revision=12174
This commit is contained in:
Charlie Fenton 2007-02-28 17:33:58 +00:00
parent b886321959
commit c195fed96b
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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: