diff options
Diffstat (limited to 'include/linux/sched/signal.h')
| -rw-r--r-- | include/linux/sched/signal.h | 14 | 
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/sched/signal.h b/include/linux/sched/signal.h index e5f4ce622ee6..23505394ef70 100644 --- a/include/linux/sched/signal.h +++ b/include/linux/sched/signal.h @@ -72,6 +72,17 @@ struct multiprocess_signals {  	struct hlist_node node;  }; +struct core_thread { +	struct task_struct *task; +	struct core_thread *next; +}; + +struct core_state { +	atomic_t nr_threads; +	struct core_thread dumper; +	struct completion startup; +}; +  /*   * NOTE! "signal_struct" does not have its own   * locking, because a shared signal_struct always @@ -110,6 +121,8 @@ struct signal_struct {  	int			group_stop_count;  	unsigned int		flags; /* see SIGNAL_* flags below */ +	struct core_state *core_state; /* coredumping support */ +  	/*  	 * PR_SET_CHILD_SUBREAPER marks a process, like a service  	 * manager, to re-parent orphan (double-forking) child processes @@ -338,6 +351,7 @@ extern int kill_pid(struct pid *pid, int sig, int priv);  extern __must_check bool do_notify_parent(struct task_struct *, int);  extern void __wake_up_parent(struct task_struct *p, struct task_struct *parent);  extern void force_sig(int); +extern void force_fatal_sig(int);  extern int send_sig(int, struct task_struct *, int);  extern int zap_other_threads(struct task_struct *p);  extern struct sigqueue *sigqueue_alloc(void);  |