diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-10-01 10:07:32 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-10-01 10:07:32 +0000 |
commit | 054c54512f1120f037142964b0e51190d11b8904 (patch) | |
tree | 739640bd2b5935e5efdaa70d2e3208ae8a3775af /target/linux/goldfish/patches-2.6.30/0060--ARM-Add-code-to-prevent-system-calls-from-being-re.patch | |
parent | b2334452229f1ac2e246f37452b9611f3dab159e (diff) | |
download | mtk-20170518-054c54512f1120f037142964b0e51190d11b8904.zip mtk-20170518-054c54512f1120f037142964b0e51190d11b8904.tar.gz mtk-20170518-054c54512f1120f037142964b0e51190d11b8904.tar.bz2 |
kernel: upgrade to 2.6.30.8 and refresh patches
SVN-Revision: 17804
Diffstat (limited to 'target/linux/goldfish/patches-2.6.30/0060--ARM-Add-code-to-prevent-system-calls-from-being-re.patch')
-rw-r--r-- | target/linux/goldfish/patches-2.6.30/0060--ARM-Add-code-to-prevent-system-calls-from-being-re.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/goldfish/patches-2.6.30/0060--ARM-Add-code-to-prevent-system-calls-from-being-re.patch b/target/linux/goldfish/patches-2.6.30/0060--ARM-Add-code-to-prevent-system-calls-from-being-re.patch index f0d33ed..8966616 100644 --- a/target/linux/goldfish/patches-2.6.30/0060--ARM-Add-code-to-prevent-system-calls-from-being-re.patch +++ b/target/linux/goldfish/patches-2.6.30/0060--ARM-Add-code-to-prevent-system-calls-from-being-re.patch @@ -10,7 +10,7 @@ Fixes crashes with thumb syscalls. --- a/arch/arm/kernel/signal.c +++ b/arch/arm/kernel/signal.c -@@ -534,6 +534,14 @@ setup_rt_frame(int usig, struct k_sigact +@@ -499,6 +499,14 @@ setup_rt_frame(int usig, struct k_sigact static inline void restart_syscall(struct pt_regs *regs) { @@ -25,7 +25,7 @@ Fixes crashes with thumb syscalls. regs->ARM_r0 = regs->ARM_ORIG_r0; regs->ARM_pc -= thumb_mode(regs) ? 2 : 4; } -@@ -650,6 +658,7 @@ static int do_signal(sigset_t *oldset, s +@@ -631,6 +639,7 @@ static void do_signal(struct pt_regs *re */ if (syscall) { if (regs->ARM_r0 == -ERESTART_RESTARTBLOCK) { |