Lines Matching defs:sig
70 static void __user *sig_handler(struct task_struct *t, int sig) in sig_handler()
75 static inline bool sig_handler_ignored(void __user *handler, int sig) in sig_handler_ignored()
82 static bool sig_task_ignored(struct task_struct *t, int sig, bool force) in sig_task_ignored()
104 static bool sig_ignored(struct task_struct *t, int sig, bool force) in sig_ignored()
214 int sig = 0; in next_signal() local
257 static inline void print_dropped_signal(int sig) in print_dropped_signal()
371 struct signal_struct *sig = task->signal; in task_participate_group_stop() local
398 struct signal_struct *sig = current->signal; in task_join_group_stop() local
416 __sigqueue_alloc(int sig, struct task_struct *t, gfp_t flags, int override_rlimit) in __sigqueue_alloc()
501 int sig = q->info.si_signo; in __flush_itimer_signals() local
558 bool unhandled_signal(struct task_struct *tsk, int sig) in unhandled_signal()
571 static void collect_signal(int sig, struct sigpending *list, kernel_siginfo_t *info, in collect_signal()
619 int sig = next_signal(pending, mask); in __dequeue_signal() local
831 static int check_kill_permission(int sig, struct kernel_siginfo *info, in check_kill_permission()
903 static bool prepare_signal(int sig, struct task_struct *p, bool force) in prepare_signal()
976 static inline bool wants_signal(int sig, struct task_struct *p) in wants_signal()
993 static void complete_signal(int sig, struct task_struct *p, enum pid_type type) in complete_signal()
1069 static inline bool legacy_queue(struct sigpending *signals, int sig) in legacy_queue()
1074 static int __send_signal(int sig, struct kernel_siginfo *info, struct task_struct *t, in __send_signal()
1212 static int send_signal(int sig, struct kernel_siginfo *info, struct task_struct *t, in send_signal()
1282 __group_send_sig_info(int sig, struct kernel_siginfo *info, struct task_struct *p) in __group_send_sig_info()
1287 int do_send_sig_info(int sig, struct kernel_siginfo *info, struct task_struct *p, in do_send_sig_info()
1318 int sig = info->si_signo; in force_sig_info_to_task() local
1407 int group_send_sig_info(int sig, struct kernel_siginfo *info, in group_send_sig_info()
1436 int __kill_pgrp_info(int sig, struct kernel_siginfo *info, struct pid *pgrp) in __kill_pgrp_info()
1451 int kill_pid_info(int sig, struct kernel_siginfo *info, struct pid *pid) in kill_pid_info()
1473 static int kill_proc_info(int sig, struct kernel_siginfo *info, pid_t pid) in kill_proc_info()
1518 int kill_pid_usb_asyncio(int sig, int errno, sigval_t addr, in kill_pid_usb_asyncio()
1569 static int kill_something_info(int sig, struct kernel_siginfo *info, pid_t pid) in kill_something_info()
1609 int send_sig_info(int sig, struct kernel_siginfo *info, struct task_struct *p) in send_sig_info()
1626 send_sig(int sig, struct task_struct *p, int priv) in send_sig()
1632 void force_sig(int sig) in force_sig()
1652 void force_sigsegv(int sig) in force_sigsegv()
1665 int force_sig_fault_to_task(int sig, int code, void __user *addr in force_sig_fault_to_task()
1688 int force_sig_fault(int sig, int code, void __user *addr in force_sig_fault()
1697 int send_sig_fault(int sig, int code, void __user *addr in send_sig_fault()
1793 int kill_pgrp(struct pid *pid, int sig, int priv) in kill_pgrp()
1805 int kill_pid(struct pid *pid, int sig, int priv) in kill_pid()
1857 int sig = q->info.si_signo; in send_sigqueue() local
1919 bool do_notify_parent(struct task_struct *tsk, int sig) in do_notify_parent()
2310 struct signal_struct *sig = current->signal; in do_signal_stop() local
3181 static bool known_siginfo_layout(unsigned sig, int si_code) in known_siginfo_layout()
3200 enum siginfo_layout siginfo_layout(unsigned sig, int si_code) in siginfo_layout()
3491 int sig, ret = 0; in do_sigtimedwait() local
3672 static inline void prepare_kill_siginfo(int sig, struct kernel_siginfo *info) in prepare_kill_siginfo()
3687 SYSCALL_DEFINE2(kill, pid_t, pid, int, sig) in SYSCALL_DEFINE2() argument
3761 SYSCALL_DEFINE4(pidfd_send_signal, int, pidfd, int, sig, in SYSCALL_DEFINE4() argument
3814 do_send_specific(pid_t tgid, pid_t pid, int sig, struct kernel_siginfo *info) in do_send_specific()
3843 static int do_tkill(pid_t tgid, pid_t pid, int sig) in do_tkill()
3867 SYSCALL_DEFINE3(tgkill, pid_t, tgid, pid_t, pid, int, sig) in SYSCALL_DEFINE3() argument
3883 SYSCALL_DEFINE2(tkill, pid_t, pid, int, sig) in SYSCALL_DEFINE2() argument
3892 static int do_rt_sigqueueinfo(pid_t pid, int sig, kernel_siginfo_t *info) in do_rt_sigqueueinfo()
3911 SYSCALL_DEFINE3(rt_sigqueueinfo, pid_t, pid, int, sig, in SYSCALL_DEFINE3() argument
3922 COMPAT_SYSCALL_DEFINE3(rt_sigqueueinfo, in COMPAT_SYSCALL_DEFINE3() argument
3935 static int do_rt_tgsigqueueinfo(pid_t tgid, pid_t pid, int sig, kernel_siginfo_t *info) in do_rt_tgsigqueueinfo()
3951 SYSCALL_DEFINE4(rt_tgsigqueueinfo, pid_t, tgid, pid_t, pid, int, sig, in SYSCALL_DEFINE4() argument
3962 COMPAT_SYSCALL_DEFINE4(rt_tgsigqueueinfo, in COMPAT_SYSCALL_DEFINE4() argument
3979 void kernel_sigaction(int sig, __sighandler_t action) in kernel_sigaction()
4002 int do_sigaction(int sig, struct k_sigaction *act, struct k_sigaction *oact) in do_sigaction()
4297 SYSCALL_DEFINE4(rt_sigaction, int, sig, in SYSCALL_DEFINE4() argument
4322 COMPAT_SYSCALL_DEFINE4(rt_sigaction, int, sig, in COMPAT_SYSCALL_DEFINE4() argument
4369 SYSCALL_DEFINE3(sigaction, int, sig, in SYSCALL_DEFINE3() argument
4405 COMPAT_SYSCALL_DEFINE3(sigaction, int, sig, in COMPAT_SYSCALL_DEFINE3() argument
4473 SYSCALL_DEFINE2(signal, int, sig, __sighandler_t, handler) in SYSCALL_DEFINE2() argument
4654 void kdb_send_sig(struct task_struct *t, int sig) in kdb_send_sig()