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