diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sched/signal.h | 1 | ||||
| -rw-r--r-- | include/linux/signal.h | 4 | ||||
| -rw-r--r-- | include/linux/sysctl.h | 1 |
3 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/sched/signal.h b/include/linux/sched/signal.h index 2cf446704cd4..c06d63b3a583 100644 --- a/include/linux/sched/signal.h +++ b/include/linux/sched/signal.h | |||
| @@ -293,7 +293,6 @@ extern int kill_pid_info_as_cred(int, struct siginfo *, struct pid *, | |||
| 293 | const struct cred *, u32); | 293 | const struct cred *, u32); |
| 294 | extern int kill_pgrp(struct pid *pid, int sig, int priv); | 294 | extern int kill_pgrp(struct pid *pid, int sig, int priv); |
| 295 | extern int kill_pid(struct pid *pid, int sig, int priv); | 295 | extern int kill_pid(struct pid *pid, int sig, int priv); |
| 296 | extern int kill_proc_info(int, struct siginfo *, pid_t); | ||
| 297 | extern __must_check bool do_notify_parent(struct task_struct *, int); | 296 | extern __must_check bool do_notify_parent(struct task_struct *, int); |
| 298 | extern void __wake_up_parent(struct task_struct *p, struct task_struct *parent); | 297 | extern void __wake_up_parent(struct task_struct *p, struct task_struct *parent); |
| 299 | extern void force_sig(int, struct task_struct *); | 298 | extern void force_sig(int, struct task_struct *); |
diff --git a/include/linux/signal.h b/include/linux/signal.h index 94ad6eea9550..1f5a16620693 100644 --- a/include/linux/signal.h +++ b/include/linux/signal.h | |||
| @@ -390,10 +390,6 @@ int unhandled_signal(struct task_struct *tsk, int sig); | |||
| 390 | #define sig_kernel_ignore(sig) siginmask(sig, SIG_KERNEL_IGNORE_MASK) | 390 | #define sig_kernel_ignore(sig) siginmask(sig, SIG_KERNEL_IGNORE_MASK) |
| 391 | #define sig_kernel_stop(sig) siginmask(sig, SIG_KERNEL_STOP_MASK) | 391 | #define sig_kernel_stop(sig) siginmask(sig, SIG_KERNEL_STOP_MASK) |
| 392 | 392 | ||
| 393 | #define sig_user_defined(t, signr) \ | ||
| 394 | (((t)->sighand->action[(signr)-1].sa.sa_handler != SIG_DFL) && \ | ||
| 395 | ((t)->sighand->action[(signr)-1].sa.sa_handler != SIG_IGN)) | ||
| 396 | |||
| 397 | #define sig_fatal(t, signr) \ | 393 | #define sig_fatal(t, signr) \ |
| 398 | (!siginmask(signr, SIG_KERNEL_IGNORE_MASK|SIG_KERNEL_STOP_MASK) && \ | 394 | (!siginmask(signr, SIG_KERNEL_IGNORE_MASK|SIG_KERNEL_STOP_MASK) && \ |
| 399 | (t)->sighand->action[(signr)-1].sa.sa_handler == SIG_DFL) | 395 | (t)->sighand->action[(signr)-1].sa.sa_handler == SIG_DFL) |
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index b7e82049fec7..80d07816def0 100644 --- a/include/linux/sysctl.h +++ b/include/linux/sysctl.h | |||
| @@ -180,7 +180,6 @@ extern void setup_sysctl_set(struct ctl_table_set *p, | |||
| 180 | int (*is_seen)(struct ctl_table_set *)); | 180 | int (*is_seen)(struct ctl_table_set *)); |
| 181 | extern void retire_sysctl_set(struct ctl_table_set *set); | 181 | extern void retire_sysctl_set(struct ctl_table_set *set); |
| 182 | 182 | ||
| 183 | void register_sysctl_root(struct ctl_table_root *root); | ||
| 184 | struct ctl_table_header *__register_sysctl_table( | 183 | struct ctl_table_header *__register_sysctl_table( |
| 185 | struct ctl_table_set *set, | 184 | struct ctl_table_set *set, |
| 186 | const char *path, struct ctl_table *table); | 185 | const char *path, struct ctl_table *table); |
