[wpa_supplicant] bump to version 0.6.9.
[openwrt.git] / toolchain / uClibc / patches / 008-avr32_fix_sa_onstack.patch
1 From 974a769cc135bcfb1ea751db34a84ed6b5ceb509 Mon Sep 17 00:00:00 2001
2 From: Haavard Skinnemoen <hskinnemoen@atmel.com>
3 Date: Fri, 7 Dec 2007 14:02:19 +0100
4 Subject: [PATCH] AVR32: Fix sa_restorer when SA_ONSTACK is set
5
6 I don't remember exactly why we decided to pick the caller's value of
7 sa_restorer when SA_ONSTACK is set, but it seems to break LTP's
8 sigaltstack testcase. Some users have reported problems with
9 sigaltstack as well; hopefully this will fix it.
10
11 Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
12 ---
13 libc/sysdeps/linux/avr32/sigaction.c | 2 +-
14 1 files changed, 1 insertions(+), 1 deletions(-)
15
16 --- a/libc/sysdeps/linux/avr32/sigaction.c
17 +++ b/libc/sysdeps/linux/avr32/sigaction.c
18 @@ -30,7 +30,7 @@ int __libc_sigaction(int signum, const s
19 kact.k_sa_handler = act->sa_handler;
20 memcpy(&kact.sa_mask, &act->sa_mask, sizeof (kact.sa_mask));
21 kact.sa_flags = act->sa_flags;
22 - if (kact.sa_flags & (SA_RESTORER | SA_ONSTACK))
23 + if (kact.sa_flags & SA_RESTORER)
24 kact.sa_restorer = act->sa_restorer;
25 else
26 kact.sa_restorer = __default_rt_sa_restorer;
This page took 0.042588 seconds and 5 git commands to generate.