patch-2.2.18 linux/arch/s390/kernel/ptrace.c
Next file: linux/arch/s390/kernel/s390_ext.c
Previous file: linux/arch/s390/kernel/process.c
Back to the patch index
Back to the overall index
- Lines: 33
- Date:
Wed Nov 8 23:04:59 2000
- Orig file:
v2.2.17/arch/s390/kernel/ptrace.c
- Orig date:
Sun Jun 11 21:44:09 2000
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/arch/s390/kernel/ptrace.c linux/arch/s390/kernel/ptrace.c
@@ -229,7 +229,7 @@
struct vm_area_struct * vma;
addr=ADDR_BITS_REMOVE(addr);
vma= find_extend_vma(tsk, addr);
-
+
if (!vma)
return -EIO;
if ((addr & ~PAGE_MASK) > PAGE_SIZE-sizeof(long)) {
@@ -478,15 +478,15 @@
/* ieee_instruction_pointer from the user structure DJB */
if(child!=current)
{
- if (!(child->flags & PF_PTRACED))
- goto out;
- if (child->state != TASK_STOPPED)
- {
- if (request != PTRACE_KILL)
+ if (!(child->flags & PF_PTRACED))
+ goto out;
+ if (child->state != TASK_STOPPED)
+ {
+ if (request != PTRACE_KILL)
+ goto out;
+ }
+ if (child->p_pptr != current)
goto out;
- }
- if (child->p_pptr != current)
- goto out;
}
switch (request)
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)