Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96379
b: refs/heads/master
c: 986bef8
h: refs/heads/master
i:
  96377: ecae8fe
  96375: 7e6d6c7
v: v3
  • Loading branch information
David S. Miller committed May 11, 2008
1 parent 661127c commit 6606361
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c07c6053c41f736711ed856aa377007078c7c396
refs/heads/master: 986bef854fab44012df678a5b51817d5274d3ca1
2 changes: 2 additions & 0 deletions trunk/arch/sparc/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,8 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
break;

default:
if (request == PTRACE_SPARC_DETACH)
request = PTRACE_DETACH;
ret = ptrace_request(child, request, addr, data);
break;
}
Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/sparc64/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -944,6 +944,8 @@ long compat_arch_ptrace(struct task_struct *child, compat_long_t request,
break;

default:
if (request == PTRACE_SPARC_DETACH)
request = PTRACE_DETACH;
ret = compat_ptrace_request(child, request, addr, data);
break;
}
Expand Down Expand Up @@ -1036,6 +1038,8 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
break;

default:
if (request == PTRACE_SPARC_DETACH)
request = PTRACE_DETACH;
ret = ptrace_request(child, request, addr, data);
break;
}
Expand Down
1 change: 1 addition & 0 deletions trunk/include/asm-sparc/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ extern void show_regs(struct pt_regs *);
#define SF_XXARG 0x5c

/* Stuff for the ptrace system call */
#define PTRACE_SPARC_DETACH 11
#define PTRACE_GETREGS 12
#define PTRACE_SETREGS 13
#define PTRACE_GETFPREGS 14
Expand Down
1 change: 1 addition & 0 deletions trunk/include/asm-sparc64/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ extern void __show_regs(struct pt_regs *);
#define SF_XXARG 0x5c

/* Stuff for the ptrace system call */
#define PTRACE_SPARC_DETACH 11
#define PTRACE_GETREGS 12
#define PTRACE_SETREGS 13
#define PTRACE_GETFPREGS 14
Expand Down

0 comments on commit 6606361

Please sign in to comment.