android_kernel_xiaomi_sm8350/arch/um/kernel
Steven Rostedt 69be8f1896 [PATCH] convert signal handling of NODEFER to act like other Unix boxes.
It has been reported that the way Linux handles NODEFER for signals is
not consistent with the way other Unix boxes handle it.  I've written a
program to test the behavior of how this flag affects signals and had
several reports from people who ran this on various Unix boxes,
confirming that Linux seems to be unique on the way this is handled.

The way NODEFER affects signals on other Unix boxes is as follows:

1) If NODEFER is set, other signals in sa_mask are still blocked.

2) If NODEFER is set and the signal is in sa_mask, then the signal is
still blocked. (Note: this is the behavior of all tested but Linux _and_
NetBSD 2.0 *).

The way NODEFER affects signals on Linux:

1) If NODEFER is set, other signals are _not_ blocked regardless of
sa_mask (Even NetBSD doesn't do this).

2) If NODEFER is set and the signal is in sa_mask, then the signal being
handled is not blocked.

The patch converts signal handling in all current Linux architectures to
the way most Unix boxes work.

Unix boxes that were tested:  DU4, AIX 5.2, Irix 6.5, NetBSD 2.0, SFU
3.5 on WinXP, AIX 5.3, Mac OSX, and of course Linux 2.6.13-rcX.

* NetBSD was the only other Unix to behave like Linux on point #2. The
main concern was brought up by point #1 which even NetBSD isn't like
Linux.  So with this patch, we leave NetBSD as the lonely one that
behaves differently here with #2.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-08-29 10:03:11 -07:00
..
skas [PATCH] uml: fix a crash under screen 2005-08-18 12:53:58 -07:00
tt [PATCH] uml: skas0 - separate kernel address space on stock hosts 2005-07-07 18:23:44 -07:00
config.c.in
dyn.lds.S [PATCH] uml: skas0 - separate kernel address space on stock hosts 2005-07-07 18:23:44 -07:00
exec_kern.c [PATCH] uml: remove 2_5compat.h 2005-05-28 16:46:11 -07:00
exitcode.c [PATCH] uml: Clean up prink calls 2005-07-28 21:46:05 -07:00
gmon_syms.c
gprof_syms.c
helper.c [PATCH] uml: fix misdeclared function 2005-07-27 16:25:49 -07:00
init_task.c
initrd.c [PATCH] uml: initrd cleanup 2005-05-20 15:48:18 -07:00
irq_user.c [PATCH] uml: add and use generic hw_controller_type->release 2005-06-21 19:07:32 -07:00
irq.c [PATCH] uml: add and use generic hw_controller_type->release 2005-06-21 19:07:32 -07:00
ksyms.c [PATCH] uml: Export clear_user_* 2005-05-20 15:48:18 -07:00
main.c [PATCH] uml: always disable kmalloc during shutdown 2005-06-25 16:24:35 -07:00
Makefile [PATCH] uml: initrd cleanup 2005-05-20 15:48:18 -07:00
mem_user.c
mem.c [PATCH] mm: remove PG_highmem 2005-06-21 18:46:17 -07:00
physmem.c [PATCH] uml: skas0 - separate kernel address space on stock hosts 2005-07-07 18:23:44 -07:00
process_kern.c [PATCH] uml: Clean up prink calls 2005-07-28 21:46:05 -07:00
process.c [PATCH] uml: fix TT mode by reverting "use fork instead of clone" 2005-07-28 21:46:03 -07:00
ptrace.c [PATCH] uml: fix a couple of warnings 2005-05-28 16:46:11 -07:00
reboot.c [PATCH] Don't export machine_restart, machine_halt, or machine_power_off. 2005-07-26 14:35:42 -07:00
resource.c
sigio_kern.c
sigio_user.c [PATCH] uml: Fix SIGWINCH relaying 2005-05-05 16:36:36 -07:00
signal_kern.c [PATCH] convert signal handling of NODEFER to act like other Unix boxes. 2005-08-29 10:03:11 -07:00
signal_user.c
smp.c
syscall_kern.c [PATCH] uml: fork cleanup 2005-06-25 16:24:35 -07:00
syscall_user.c
sysrq.c [PATCH] uml: stack dump fix 2005-05-28 16:46:13 -07:00
tempfile.c
time_kern.c [PATCH] uml: Fix load average >=1 2005-07-28 21:46:04 -07:00
time.c [PATCH] uml: Proper clone support for skas0 2005-07-07 18:23:44 -07:00
tlb.c [PATCH] uml: skas0 - separate kernel address space on stock hosts 2005-07-07 18:23:44 -07:00
trap_kern.c [PATCH] uml: remove 2_5compat.h 2005-05-28 16:46:11 -07:00
trap_user.c
tty_log.c
uaccess_user.c
um_arch.c [PATCH] uml: add skas0 command-line option 2005-07-27 16:25:48 -07:00
umid.c
uml.lds.S [PATCH] uml: gcc 2.95 fix and Makefile cleanup 2005-07-14 09:00:24 -07:00
user_util.c
vmlinux.lds.S