Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 87 files:
- arch/um/drivers/chan_user.c, line 93
- arch/um/os-Linux/helper.c, line 223
- arch/um/os-Linux/main.c, line 52
- arch/um/os-Linux/signal.c
- arch/um/os-Linux/smp.c, line 103
- arch/um/os-Linux/time.c
- arch/um/os-Linux/util.c, line 91
- arch/x86/um/bugs_32.c, line 32
- fs/proc/array.c
- include/linux/signal.h
- kernel/fork.c, line 2120
- kernel/signal.c
- samples/bpf/xdp_sample_user.c, line 1244
- samples/seccomp/bpf-direct.c, line 95
- tools/accounting/getdelays.c, line 547
- tools/objtool/signal.c, line 123
- tools/perf/builtin-daemon.c, line 1235
- tools/perf/builtin-stat.c, line 1127
- tools/perf/tests/builtin-test.c
- tools/perf/tests/sigtrap.c, line 238
- tools/perf/ui/setup.c
- tools/power/x86/intel-speed-select/isst-daemon.c
- tools/testing/selftests/arm64/abi/hwcap.c
- tools/testing/selftests/arm64/bti/test.c, line 208
- tools/testing/selftests/arm64/fp/fp-ptrace.c, line 1701
- tools/testing/selftests/arm64/fp/fp-stress.c, line 535
- tools/testing/selftests/arm64/fp/kernel-test.c, line 261
- tools/testing/selftests/arm64/gcs/gcs-stress.c, line 419
- tools/testing/selftests/arm64/mte/mte_common_util.c, line 119
- tools/testing/selftests/arm64/pauth/pac.c, line 207
- tools/testing/selftests/arm64/signal/test_signals_utils.c
- tools/testing/selftests/bpf/prog_tests/perf_skip.c, line 49
- tools/testing/selftests/breakpoints/breakpoint_test_arm64.c, line 211
- tools/testing/selftests/clone3/clone3_clear_sighand.c, line 61
- tools/testing/selftests/filesystems/dnotify_test.c, line 22
- tools/testing/selftests/filesystems/epoll/epoll_wakeup_test.c
- tools/testing/selftests/futex/functional/futex_requeue_pi_signal_restart.c, line 107
- tools/testing/selftests/gpio/gpio-mockup-cdev.c, line 107
- tools/testing/selftests/kvm/arm64/sea_to_user.c, line 136
- tools/testing/selftests/landlock/scoped_signal_test.c, line 396
- tools/testing/selftests/landlock/tsync_test.c, line 287
- tools/testing/selftests/membarrier/membarrier_rseq_stress.c
- tools/testing/selftests/memfd/memfd_test.c, line 789
- tools/testing/selftests/mm/guard-regions.c
- tools/testing/selftests/mm/migration.c, line 40
- tools/testing/selftests/mm/pkey_sighandler_tests.c
- tools/testing/selftests/mqueue/mq_perf_tests.c, line 695
- tools/testing/selftests/net/af_unix/msg_oob.c, line 100
- tools/testing/selftests/net/tcp_ao/lib/setup.c, line 237
- tools/testing/selftests/perf_events/remove_on_exec.c
- tools/testing/selftests/perf_events/sigtrap_threads.c, line 129
- tools/testing/selftests/powerpc/alignment/alignment_handler.c, line 644
- tools/testing/selftests/powerpc/mm/stack_expansion_signal.c, line 56
- tools/testing/selftests/powerpc/mm/tlbie_test.c, line 698
- tools/testing/selftests/powerpc/nx-gzip/gunz_test.c, line 1014
- tools/testing/selftests/powerpc/nx-gzip/gzfht_test.c, line 384
- tools/testing/selftests/powerpc/signal/signal.c, line 45
- tools/testing/selftests/powerpc/signal/signal_tm.c, line 48
- tools/testing/selftests/powerpc/signal/sigreturn_kernel.c, line 66
- tools/testing/selftests/powerpc/signal/sigreturn_vdso.c, line 80
- tools/testing/selftests/powerpc/tm/tm-signal-context-chk-fpu.c, line 85
- tools/testing/selftests/powerpc/tm/tm-signal-context-chk-gpr.c, line 87
- tools/testing/selftests/powerpc/tm/tm-signal-context-chk-vmx.c, line 110
- tools/testing/selftests/powerpc/tm/tm-signal-context-chk-vsx.c, line 159
- tools/testing/selftests/powerpc/tm/tm-signal-msr-resv.c, line 56
- tools/testing/selftests/powerpc/tm/tm-sigreturn.c, line 63
- tools/testing/selftests/powerpc/utils.c, line 628
- tools/testing/selftests/ptrace/peeksiginfo.c, line 159
- tools/testing/selftests/resctrl/resctrl_val.c
- tools/testing/selftests/riscv/cfi/shadowstack.c, line 293
- tools/testing/selftests/rseq/param_test.c, line 1229
- tools/testing/selftests/seccomp/seccomp_bpf.c
- tools/testing/selftests/signal/mangle_uc_sigmask.c
- tools/testing/selftests/signal/sas.c, line 119
- tools/testing/selftests/syscall_user_dispatch/sud_benchmark.c, line 144
- tools/testing/selftests/syscall_user_dispatch/sud_test.c
- tools/testing/selftests/timers/posix_timers.c
- tools/testing/selftests/uevent/uevent_filtering.c
- tools/testing/selftests/x86/helpers.h
- tools/testing/selftests/x86/nx_stack.c
- tools/testing/selftests/x86/ptrace_syscall.c, line 104
- tools/testing/selftests/x86/sigtrap_loop.c, line 27
- tools/testing/selftests/x86/test_syscall_vdso.c, line 193
- tools/thermal/thermometer/thermometer.c, line 498
- tools/tracing/latency/latency-collector.c, line 287
- tools/usb/usbip/src/usbipd.c, line 457
- virt/kvm/kvm_main.c, line 3581
Smatch caller information:
kernel/fork.c copy_process() -> sigemptyset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 8564569217832935424 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
kernel/fork.c init_sigpending() -> sigemptyset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/proc/array.c do_task_stat() -> sigemptyset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 7911079610340384768 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &m->lock | ||
| LOCK2 | &task->signal->exec_update_lock | ||
| TYPE_LOCK | (struct seq_file)->lock | ||
| TYPE_LOCK | (struct signal_struct)->exec_update_lock |
fs/proc/array.c do_task_stat() -> sigemptyset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 3635707068751564800 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &m->lock | ||
| LOCK2 | &task->signal->exec_update_lock | ||
| TYPE_LOCK | (struct seq_file)->lock | ||
| TYPE_LOCK | (struct signal_struct)->exec_update_lock |
fs/proc/array.c task_sig() -> sigemptyset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 6888393628010676224 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/proc/array.c task_sig() -> sigemptyset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 6143045403717783552 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/proc/array.c task_sig() -> sigemptyset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 3497375914710769664 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/proc/array.c task_sig() -> sigemptyset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 3130264205993283584 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/proc/array.c task_sig() -> sigemptyset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 596425978477158400 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
kernel/signal.c __do_sys_signal() -> sigemptyset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 6133487999460487192 |
| NOCHECK_CALL |
kernel/signal.c __do_sys_signal() -> sigemptyset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 6133487999460487192 |
| NOCHECK_CALL |
kernel/signal.c __flush_itimer_signals() -> sigemptyset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 8390518061240492032 |
| NOCHECK_CALL | |||
| LOCK2 | &tsk->sighand->siglock | ||
| LOCK2 | &tsk->signal->exec_update_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct sighand_struct)->siglock |
kernel/signal.c do_sigaction() -> sigemptyset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 7963066646459920384 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &p->sighand->siglock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct sighand_struct)->siglock |
kernel/signal.c do_sigtimedwait() -> sigemptyset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &tsk->sighand->siglock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct sighand_struct)->siglock |
kernel/signal.c flush_signal_handlers() -> sigemptyset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &tsk->signal->exec_update_lock | ||
| HALF_LOCKED2 | irq |
kernel/signal.c flush_sigqueue() -> sigemptyset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &t->sighand->siglock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
kernel/signal.c kernel_sigaction() -> sigemptyset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 9149941269280509952 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &pool->lock |
arch/x86/kvm/../../../virt/kvm/kvm_main.c kvm_sigset_deactivate() -> sigemptyset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &vcpu->mutex | ||
| TYPE_LOCK | (struct kvm_vcpu)->mutex |
security/selinux/hooks.c selinux_bprm_committed_creds() -> sigemptyset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | irq |