Skip to content
Snippets Groups Projects
Commit 6dc63b4b authored by Moe Jette's avatar Moe Jette
Browse files

Add copyright notice to patch.

parent d34fdacc
No related branches found
No related tags found
No related merge requests found
Without this change TotalView will not operate properly with /*****************************************************************************\
SLURM launched jobs. We want the tasks to be in a STOPPED * Copyright (C) 2002 The Regents of the University of California.
state and detached from the slurmd daemon. The default * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
code leaves an extra SIGSTOP pending. Any time the task is * Written by moe jette <jette1@llnl.gov>.
allowed to process pending signals, it will be stopped again * UCRL-CODE-2002-040.
and confuse TotalView. *
=============================================================== * This file is part of SLURM, a resource management program.
* For details, see <http://www.llnl.gov/linux/slurm/>.
*
* SLURM is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at your option)
* any later version.
*
* SLURM is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along
* with SLURM; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*****************************************************************************
* Without this change, TotalView will not operate properly with
* SLURM launched jobs on some versions of Linux. We want the tasks
* to be in a STOPPED state and detached from the slurmd daemon.
* The default code leaves an extra SIGSTOP pending. Any time the
* task is allowed to process pending signals, it will be stopped
* again and confuse TotalView.
\*****************************************************************************/
--- ptrace.c 18 Sep 2003 23:50:00 -0000 1.3.2.1.4.1 --- ptrace.c 18 Sep 2003 23:50:00 -0000 1.3.2.1.4.1
+++ ptrace.c 22 Mar 2004 19:58:29 -0000 +++ ptrace.c 22 Mar 2004 19:58:29 -0000
@@ -113,7 +113,10 @@ int ptrace_attach(struct task_struct *ta @@ -113,7 +113,10 @@ int ptrace_attach(struct task_struct *ta
...@@ -19,4 +42,4 @@ and confuse TotalView. ...@@ -19,4 +42,4 @@ and confuse TotalView.
return 0; return 0;
bad: bad:
=============================================================== /********************************** END **************************************/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment