signal.c (3597dfe01d12f570bc739da67f857fd222a3ea66) signal.c (035150540545f62bada95860ba00fe1e0cd62f63)
1/*
2 * linux/kernel/signal.c
3 *
4 * Copyright (C) 1991, 1992 Linus Torvalds
5 *
6 * 1997-11-02 Modified for POSIX.1b signals by Richard Henderson
7 *
8 * 2003-06-02 Jim Houston - Concurrent Computer Corp.

--- 1043 unchanged lines hidden (view full) ---

1052 if (legacy_queue(pending, sig))
1053 goto ret;
1054
1055 result = TRACE_SIGNAL_DELIVERED;
1056 /*
1057 * fast-pathed signals for kernel-internal things like SIGSTOP
1058 * or SIGKILL.
1059 */
1/*
2 * linux/kernel/signal.c
3 *
4 * Copyright (C) 1991, 1992 Linus Torvalds
5 *
6 * 1997-11-02 Modified for POSIX.1b signals by Richard Henderson
7 *
8 * 2003-06-02 Jim Houston - Concurrent Computer Corp.

--- 1043 unchanged lines hidden (view full) ---

1052 if (legacy_queue(pending, sig))
1053 goto ret;
1054
1055 result = TRACE_SIGNAL_DELIVERED;
1056 /*
1057 * fast-pathed signals for kernel-internal things like SIGSTOP
1058 * or SIGKILL.
1059 */
1060 if (info == SEND_SIG_FORCED)
1060 if ((info == SEND_SIG_FORCED) || (t->flags & PF_KTHREAD))
1061 goto out_set;
1062
1063 /*
1064 * Real-time signals must be queued if sent by sigqueue, or
1065 * some other real-time mechanism. It is implementation
1066 * defined whether kill() does so. We attempt to do so, on
1067 * the principle of least surprise, but since kill is not
1068 * allowed to fail with EAGAIN when low on memory we just

--- 2949 unchanged lines hidden ---
1061 goto out_set;
1062
1063 /*
1064 * Real-time signals must be queued if sent by sigqueue, or
1065 * some other real-time mechanism. It is implementation
1066 * defined whether kill() does so. We attempt to do so, on
1067 * the principle of least surprise, but since kill is not
1068 * allowed to fail with EAGAIN when low on memory we just

--- 2949 unchanged lines hidden ---