android_kernel_xiaomi_sm8350/arch/powerpc/kernel
Laurent MEYER 11089f08d9 [PATCH] powerpc: fix incorrect SA_ONSTACK behaviour for 64-bit processes
*) When setting a sighandler using sigaction() call, if the flag
SA_ONSTACK is set and no alternate stack is provided via sigaltstack(),
the kernel still try to install the alternate stack. This behavior is
the opposite of the one which is documented in Single Unix
Specifications V3.

*) Also when setting an alternate stack using sigaltstack() with the
flag SS_DISABLE, the kernel try to install the alternate stack on
signal delivery.

These two use cases makes the process crash at signal delivery.

This fixes it.

Signed-off-by: Laurent Meyer <meyerlau@fr.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-03-28 16:45:24 +11:00
..
vdso32
vdso64 [PATCH] powerpc: vdso 64bits gettimeofday bug 2006-02-28 16:25:54 +11:00
align.c
asm-offsets.c Merge ../linux-2.6 2006-03-09 14:32:05 +11:00
binfmt_elf32.c
btext.c
cpu_setup_6xx.S powerpc: Move cpu_setup_6xx.S and temp.c over to arch/powerpc 2006-03-27 19:15:26 +11:00
cpu_setup_power4.S
cputable.c Merge ../linux-2.6 2006-03-09 14:32:05 +11:00
crash_dump.c
crash.c [PATCH] powerpc: Trivial fix to set the proper timeout value for kdump 2006-02-24 11:36:21 +11:00
dma_64.c
entry_32.S powerpc: Unify the 32 and 64 bit idle loops 2006-03-27 15:03:03 +11:00
entry_64.S Merge ../linux-2.6 2006-03-09 14:32:05 +11:00
firmware.c [PATCH] powerpc: Rename and export ppc64_firmware_features 2006-03-28 16:45:20 +11:00
fpu.S
head_4xx.S
head_8xx.S [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
head_32.S [PATCH] powerpc: fix altivec_unavailable_exception Oopses 2006-02-24 11:36:23 +11:00
head_44x.S [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
head_64.S [PATCH] powerpc: Allow non zero boot cpuids 2006-03-27 14:48:48 +11:00
head_booke.h [PATCH] powerpc: Fix Kernel FP unavail exception for BookE 2006-02-10 16:51:50 +11:00
head_fsl_booke.S [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ibmebus.c
idle_6xx.S powerpc: Fix goof in 6xx and POWER4 idle power-save functions 2006-03-28 09:28:14 +11:00
idle_power4.S powerpc: Fix goof in 6xx and POWER4 idle power-save functions 2006-03-28 09:28:14 +11:00
idle.c powerpc: Unify the 32 and 64 bit idle loops 2006-03-27 15:03:03 +11:00
init_task.c
iomap.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
iommu.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
irq.c [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
kprobes.c [PATCH] kprobes: fix broken fault handling for powerpc64 2006-03-26 08:57:04 -08:00
l2cr_6xx.S powerpc: Move l2cr.S over to arch/powerpc 2006-03-27 15:22:28 +11:00
legacy_serial.c [PATCH] powerpc: legacy_serial loop cleanup 2006-03-27 14:48:54 +11:00
lparcfg.c [PATCH] powerpc: Fix OOPS in lparcfg on G5 2006-02-20 10:44:34 +11:00
lparmap.c
machine_kexec_32.c
machine_kexec_64.c [PATCH] powerpc: Only calculate htab_size in one place for kexec 2006-02-24 11:36:18 +11:00
machine_kexec.c
Makefile powerpc: Move perfmon_fsl_booke.c over to arch/powerpc 2006-03-27 20:09:04 +11:00
misc_32.S
misc_64.S
module_32.c powerpc: Move module.c over to arch/powerpc 2006-03-27 19:28:58 +11:00
module_64.c
nvram_64.c [PATCH] powerpc: fix various sparse warnings 2006-03-27 14:48:08 +11:00
of_device.c [PATCH] powerpc: tidy-up of_register_driver()/driver_register() return values 2006-03-23 14:40:54 +11:00
paca.c [PATCH] powerpc: Allow non zero boot cpuids 2006-03-27 14:48:48 +11:00
pci_32.c
pci_64.c [PATCH] powerpc: properly configure DDR/P5IOC children devs 2006-03-16 16:55:07 +11:00
pci_direct_iommu.c
pci_dn.c
pci_iommu.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
perfmon_fsl_booke.c powerpc: Move perfmon_fsl_booke.c over to arch/powerpc 2006-03-27 20:09:04 +11:00
pmc.c
ppc32.h
ppc_ksyms.c Merge ../linux-2.6 2006-03-17 12:01:19 +11:00
proc_ppc64.c
process.c [PATCH] powerpc: export validate_sp for oprofile calltrace 2006-03-28 16:19:52 +11:00
prom_init.c [PATCH] powerpc: return to OF via trap, not exit 2006-03-27 14:48:36 +11:00
prom_parse.c
prom.c [PATCH] powerpc: Allow non zero boot cpuids 2006-03-27 14:48:48 +11:00
ptrace32.c
ptrace-common.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ptrace.c powerpc: Fix various syscall/signal/swapcontext bugs 2006-03-08 13:24:22 +11:00
rtas_flash.c
rtas_pci.c Merge ../linux-2.6 2006-03-17 12:01:19 +11:00
rtas-proc.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
rtas-rtc.c [PATCH] powerpc: RTC memory corruption 2006-03-16 16:55:03 +11:00
rtas.c [PATCH] powerpc: declare arch syscalls in <asm/syscalls.h> 2006-03-27 14:48:22 +11:00
semaphore.c
setup_32.c powerpc: Unify the 32 and 64 bit idle loops 2006-03-27 15:03:03 +11:00
setup_64.c powerpc: Unify the 32 and 64 bit idle loops 2006-03-27 15:03:03 +11:00
setup-common.c [PATCH] powerpc: Allow non zero boot cpuids 2006-03-27 14:48:48 +11:00
setup.h
signal_32.c [PATCH] powerpc: declare arch syscalls in <asm/syscalls.h> 2006-03-27 14:48:22 +11:00
signal_64.c [PATCH] powerpc: fix incorrect SA_ONSTACK behaviour for 64-bit processes 2006-03-28 16:45:24 +11:00
smp-tbsync.c
smp.c powerpc: Implement accurate task and CPU time accounting 2006-02-24 14:05:56 +11:00
swsusp_32.S powerpc: Move swsusp.S over to arch/powerpc 2006-03-27 19:21:46 +11:00
sys_ppc32.c [PATCH] consolidate sys32/compat_adjtimex 2006-03-26 08:56:57 -08:00
syscalls.c [PATCH] powerpc: declare arch syscalls in <asm/syscalls.h> 2006-03-27 14:48:22 +11:00
sysfs.c
systbl.S powerpc: Fix various syscall/signal/swapcontext bugs 2006-03-08 13:24:22 +11:00
tau_6xx.c powerpc: Move cpu_setup_6xx.S and temp.c over to arch/powerpc 2006-03-27 19:15:26 +11:00
time.c Merge ../linux-2.6 2006-03-17 12:01:19 +11:00
traps.c powerpc: Fix might-sleep warning in program check exception handler 2006-03-03 17:11:40 +11:00
udbg_16550.c
udbg.c
vdso.c Merge ../linux-2.6 2006-03-09 14:32:05 +11:00
vecemu.c
vector.S
vio.c
vmlinux.lds.S