Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
4f4202fe
Commit
4f4202fe
authored
Nov 05, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unify default ptrace_signal_deliver
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
e80d6661
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
6 additions
and
42 deletions
+6
-42
arch/alpha/include/asm/signal.h
arch/alpha/include/asm/signal.h
+0
-3
arch/arm/include/asm/signal.h
arch/arm/include/asm/signal.h
+0
-1
arch/avr32/include/asm/signal.h
arch/avr32/include/asm/signal.h
+0
-2
arch/cris/include/asm/signal.h
arch/cris/include/asm/signal.h
+0
-6
arch/h8300/include/asm/signal.h
arch/h8300/include/asm/signal.h
+0
-2
arch/ia64/include/asm/signal.h
arch/ia64/include/asm/signal.h
+0
-2
arch/m32r/include/asm/signal.h
arch/m32r/include/asm/signal.h
+0
-4
arch/m68k/include/asm/signal.h
arch/m68k/include/asm/signal.h
+2
-3
arch/mips/include/asm/signal.h
arch/mips/include/asm/signal.h
+0
-2
arch/mn10300/include/asm/signal.h
arch/mn10300/include/asm/signal.h
+0
-4
arch/parisc/include/asm/signal.h
arch/parisc/include/asm/signal.h
+0
-2
arch/powerpc/include/asm/signal.h
arch/powerpc/include/asm/signal.h
+0
-2
arch/s390/include/asm/signal.h
arch/s390/include/asm/signal.h
+0
-2
arch/sparc/include/asm/signal.h
arch/sparc/include/asm/signal.h
+0
-2
arch/x86/include/asm/signal.h
arch/x86/include/asm/signal.h
+0
-2
arch/xtensa/include/asm/signal.h
arch/xtensa/include/asm/signal.h
+0
-1
include/asm-generic/signal.h
include/asm-generic/signal.h
+0
-2
include/linux/ptrace.h
include/linux/ptrace.h
+4
-0
No files found.
arch/alpha/include/asm/signal.h
View file @
4f4202fe
...
@@ -164,9 +164,6 @@ struct sigstack {
...
@@ -164,9 +164,6 @@ struct sigstack {
#ifdef __KERNEL__
#ifdef __KERNEL__
#include <asm/sigcontext.h>
#include <asm/sigcontext.h>
#define ptrace_signal_deliver(regs, cookie) do { } while (0)
#endif
#endif
#endif
#endif
arch/arm/include/asm/signal.h
View file @
4f4202fe
...
@@ -35,5 +35,4 @@ struct k_sigaction {
...
@@ -35,5 +35,4 @@ struct k_sigaction {
};
};
#include <asm/sigcontext.h>
#include <asm/sigcontext.h>
#define ptrace_signal_deliver(regs, cookie) do { } while (0)
#endif
#endif
arch/avr32/include/asm/signal.h
View file @
4f4202fe
...
@@ -37,6 +37,4 @@ struct k_sigaction {
...
@@ -37,6 +37,4 @@ struct k_sigaction {
#include <asm/sigcontext.h>
#include <asm/sigcontext.h>
#undef __HAVE_ARCH_SIG_BITOPS
#undef __HAVE_ARCH_SIG_BITOPS
#define ptrace_signal_deliver(regs, cookie) do { } while (0)
#endif
#endif
arch/cris/include/asm/signal.h
View file @
4f4202fe
...
@@ -152,12 +152,6 @@ typedef struct sigaltstack {
...
@@ -152,12 +152,6 @@ typedef struct sigaltstack {
#ifdef __KERNEL__
#ifdef __KERNEL__
#include <asm/sigcontext.h>
#include <asm/sigcontext.h>
/* here we could define asm-optimized sigaddset, sigdelset etc. operations.
* if we don't, generic ones are used from linux/signal.h
*/
#define ptrace_signal_deliver(regs, cookie) do { } while (0)
#endif
/* __KERNEL__ */
#endif
/* __KERNEL__ */
#endif
#endif
arch/h8300/include/asm/signal.h
View file @
4f4202fe
...
@@ -154,8 +154,6 @@ typedef struct sigaltstack {
...
@@ -154,8 +154,6 @@ typedef struct sigaltstack {
#include <asm/sigcontext.h>
#include <asm/sigcontext.h>
#undef __HAVE_ARCH_SIG_BITOPS
#undef __HAVE_ARCH_SIG_BITOPS
#define ptrace_signal_deliver(regs, cookie) do { } while (0)
#endif
/* __KERNEL__ */
#endif
/* __KERNEL__ */
#endif
/* _H8300_SIGNAL_H */
#endif
/* _H8300_SIGNAL_H */
arch/ia64/include/asm/signal.h
View file @
4f4202fe
...
@@ -38,7 +38,5 @@ struct k_sigaction {
...
@@ -38,7 +38,5 @@ struct k_sigaction {
# include <asm/sigcontext.h>
# include <asm/sigcontext.h>
#define ptrace_signal_deliver(regs, cookie) do { } while (0)
# endif
/* !__ASSEMBLY__ */
# endif
/* !__ASSEMBLY__ */
#endif
/* _ASM_IA64_SIGNAL_H */
#endif
/* _ASM_IA64_SIGNAL_H */
arch/m32r/include/asm/signal.h
View file @
4f4202fe
...
@@ -149,10 +149,6 @@ typedef struct sigaltstack {
...
@@ -149,10 +149,6 @@ typedef struct sigaltstack {
#undef __HAVE_ARCH_SIG_BITOPS
#undef __HAVE_ARCH_SIG_BITOPS
struct
pt_regs
;
#define ptrace_signal_deliver(regs, cookie) do { } while (0)
#endif
/* __KERNEL__ */
#endif
/* __KERNEL__ */
#endif
/* _ASM_M32R_SIGNAL_H */
#endif
/* _ASM_M32R_SIGNAL_H */
arch/m68k/include/asm/signal.h
View file @
4f4202fe
...
@@ -86,11 +86,10 @@ static inline int sigfindinword(unsigned long word)
...
@@ -86,11 +86,10 @@ static inline int sigfindinword(unsigned long word)
#endif
/* !CONFIG_CPU_HAS_NO_BITFIELDS */
#endif
/* !CONFIG_CPU_HAS_NO_BITFIELDS */
#ifdef __uClinux__
#ifndef __uClinux__
#define ptrace_signal_deliver(regs, cookie) do { } while (0)
#else
struct
pt_regs
;
struct
pt_regs
;
extern
void
ptrace_signal_deliver
(
struct
pt_regs
*
regs
,
void
*
cookie
);
extern
void
ptrace_signal_deliver
(
struct
pt_regs
*
regs
,
void
*
cookie
);
#define ptrace_signal_deliver ptrace_signal_deliver
#endif
/* __uClinux__ */
#endif
/* __uClinux__ */
#endif
/* _M68K_SIGNAL_H */
#endif
/* _M68K_SIGNAL_H */
arch/mips/include/asm/signal.h
View file @
4f4202fe
...
@@ -21,6 +21,4 @@
...
@@ -21,6 +21,4 @@
#include <asm/sigcontext.h>
#include <asm/sigcontext.h>
#include <asm/siginfo.h>
#include <asm/siginfo.h>
#define ptrace_signal_deliver(regs, cookie) do { } while (0)
#endif
/* _ASM_SIGNAL_H */
#endif
/* _ASM_SIGNAL_H */
arch/mn10300/include/asm/signal.h
View file @
4f4202fe
...
@@ -45,8 +45,4 @@ struct k_sigaction {
...
@@ -45,8 +45,4 @@ struct k_sigaction {
};
};
#include <asm/sigcontext.h>
#include <asm/sigcontext.h>
struct
pt_regs
;
#define ptrace_signal_deliver(regs, cookie) do { } while (0)
#endif
/* _ASM_SIGNAL_H */
#endif
/* _ASM_SIGNAL_H */
arch/parisc/include/asm/signal.h
View file @
4f4202fe
...
@@ -34,8 +34,6 @@ struct k_sigaction {
...
@@ -34,8 +34,6 @@ struct k_sigaction {
struct
sigaction
sa
;
struct
sigaction
sa
;
};
};
#define ptrace_signal_deliver(regs, cookie) do { } while (0)
#include <asm/sigcontext.h>
#include <asm/sigcontext.h>
#endif
/* !__ASSEMBLY */
#endif
/* !__ASSEMBLY */
...
...
arch/powerpc/include/asm/signal.h
View file @
4f4202fe
...
@@ -3,6 +3,4 @@
...
@@ -3,6 +3,4 @@
#include <uapi/asm/signal.h>
#include <uapi/asm/signal.h>
struct
pt_regs
;
#define ptrace_signal_deliver(regs, cookie) do { } while (0)
#endif
/* _ASM_POWERPC_SIGNAL_H */
#endif
/* _ASM_POWERPC_SIGNAL_H */
arch/s390/include/asm/signal.h
View file @
4f4202fe
...
@@ -39,6 +39,4 @@ struct k_sigaction {
...
@@ -39,6 +39,4 @@ struct k_sigaction {
struct
sigaction
sa
;
struct
sigaction
sa
;
};
};
#define ptrace_signal_deliver(regs, cookie) do { } while (0)
#endif
#endif
arch/sparc/include/asm/signal.h
View file @
4f4202fe
...
@@ -26,7 +26,5 @@ struct k_sigaction {
...
@@ -26,7 +26,5 @@ struct k_sigaction {
void
__user
*
ka_restorer
;
void
__user
*
ka_restorer
;
};
};
#define ptrace_signal_deliver(regs, cookie) do { } while (0)
#endif
/* !(__ASSEMBLY__) */
#endif
/* !(__ASSEMBLY__) */
#endif
/* !(__SPARC_SIGNAL_H) */
#endif
/* !(__SPARC_SIGNAL_H) */
arch/x86/include/asm/signal.h
View file @
4f4202fe
...
@@ -260,8 +260,6 @@ struct pt_regs;
...
@@ -260,8 +260,6 @@ struct pt_regs;
#endif
/* !__i386__ */
#endif
/* !__i386__ */
#define ptrace_signal_deliver(regs, cookie) do { } while (0)
#endif
/* __KERNEL__ */
#endif
/* __KERNEL__ */
#endif
/* __ASSEMBLY__ */
#endif
/* __ASSEMBLY__ */
...
...
arch/xtensa/include/asm/signal.h
View file @
4f4202fe
...
@@ -27,7 +27,6 @@ struct k_sigaction {
...
@@ -27,7 +27,6 @@ struct k_sigaction {
};
};
#include <asm/sigcontext.h>
#include <asm/sigcontext.h>
#define ptrace_signal_deliver(regs, cookie) do { } while (0)
#endif
/* __ASSEMBLY__ */
#endif
/* __ASSEMBLY__ */
#endif
/* _XTENSA_SIGNAL_H */
#endif
/* _XTENSA_SIGNAL_H */
include/asm-generic/signal.h
View file @
4f4202fe
...
@@ -10,7 +10,5 @@
...
@@ -10,7 +10,5 @@
#include <asm/sigcontext.h>
#include <asm/sigcontext.h>
#undef __HAVE_ARCH_SIG_BITOPS
#undef __HAVE_ARCH_SIG_BITOPS
#define ptrace_signal_deliver(regs, cookie) do { } while (0)
#endif
/* __ASSEMBLY__ */
#endif
/* __ASSEMBLY__ */
#endif
/* _ASM_GENERIC_SIGNAL_H */
#endif
/* _ASM_GENERIC_SIGNAL_H */
include/linux/ptrace.h
View file @
4f4202fe
...
@@ -329,6 +329,10 @@ static inline void user_single_step_siginfo(struct task_struct *tsk,
...
@@ -329,6 +329,10 @@ static inline void user_single_step_siginfo(struct task_struct *tsk,
#define current_pt_regs() task_pt_regs(current)
#define current_pt_regs() task_pt_regs(current)
#endif
#endif
#ifndef ptrace_signal_deliver
#define ptrace_signal_deliver(regs, cookie) do { } while (0)
#endif
extern
int
task_current_syscall
(
struct
task_struct
*
target
,
long
*
callno
,
extern
int
task_current_syscall
(
struct
task_struct
*
target
,
long
*
callno
,
unsigned
long
args
[
6
],
unsigned
int
maxargs
,
unsigned
long
args
[
6
],
unsigned
int
maxargs
,
unsigned
long
*
sp
,
unsigned
long
*
pc
);
unsigned
long
*
sp
,
unsigned
long
*
pc
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment