diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-05-05 14:08:43 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-05-05 14:08:43 -0400 |
| commit | e579dde654fc2c6b0d3e4b77a9a4b2d2405c510e (patch) | |
| tree | fe507a2904fb302e964831a5ed079cb58ee44c37 /include/linux | |
| parent | af82455f7dbd9dc20244d80d033721b30d22c065 (diff) | |
| parent | d66bb1607e2d8d384e53f3d93db5c18483c8c4f7 (diff) | |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
Pull namespace updates from Eric Biederman:
"This is a set of small fixes that were mostly stumbled over during
more significant development. This proc fix and the fix to
posix-timers are the most significant of the lot.
There is a lot of good development going on but unfortunately it
didn't quite make the merge window"
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace:
proc: Fix unbalanced hard link numbers
signal: Make kill_proc_info static
rlimit: Properly call security_task_setrlimit
signal: Remove unused definition of sig_user_definied
ia64: Remove unused IA64_TASK_SIGHAND_OFFSET and IA64_SIGHAND_SIGLOCK_OFFSET
ipc: Remove unused declaration of recompute_msgmni
posix-timers: Correct sanity check in posix_cpu_nsleep
sysctl: Remove dead register_sysctl_root
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); |
