tag | line | file | source code |
new_sa | 138 | kernel/signal.c | struct sigaction new_sa, *p; |
new_sa | 149 | kernel/signal.c | memcpy_fromfs(&new_sa, action, sizeof(struct sigaction)); |
new_sa | 150 | kernel/signal.c | new_sa.sa_mask |= _S(signum); |
new_sa | 151 | kernel/signal.c | if (new_sa.sa_flags & SA_NOMASK) |
new_sa | 152 | kernel/signal.c | new_sa.sa_mask &= ~_S(signum); |
new_sa | 153 | kernel/signal.c | new_sa.sa_mask &= _BLOCKABLE; |
new_sa | 154 | kernel/signal.c | if (new_sa.sa_handler != SIG_DFL && new_sa.sa_handler != SIG_IGN) { |
new_sa | 155 | kernel/signal.c | err = verify_area(VERIFY_READ, new_sa.sa_handler, 1); |
new_sa | 167 | kernel/signal.c | *p = new_sa; |