diff options
Diffstat (limited to 'kernel/signal.c')
-rw-r--r-- | kernel/signal.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index a9b679ed795c..8072e568bbe0 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
@@ -1096,26 +1096,6 @@ int kill_pgrp_info(int sig, struct siginfo *info, struct pid *pgrp) | |||
1096 | return retval; | 1096 | return retval; |
1097 | } | 1097 | } |
1098 | 1098 | ||
1099 | int __kill_pg_info(int sig, struct siginfo *info, pid_t pgrp) | ||
1100 | { | ||
1101 | if (pgrp <= 0) | ||
1102 | return -EINVAL; | ||
1103 | |||
1104 | return __kill_pgrp_info(sig, info, find_pid(pgrp)); | ||
1105 | } | ||
1106 | |||
1107 | int | ||
1108 | kill_pg_info(int sig, struct siginfo *info, pid_t pgrp) | ||
1109 | { | ||
1110 | int retval; | ||
1111 | |||
1112 | read_lock(&tasklist_lock); | ||
1113 | retval = __kill_pg_info(sig, info, pgrp); | ||
1114 | read_unlock(&tasklist_lock); | ||
1115 | |||
1116 | return retval; | ||
1117 | } | ||
1118 | |||
1119 | int kill_pid_info(int sig, struct siginfo *info, struct pid *pid) | 1099 | int kill_pid_info(int sig, struct siginfo *info, struct pid *pid) |
1120 | { | 1100 | { |
1121 | int error; | 1101 | int error; |
@@ -1315,12 +1295,6 @@ int kill_pid(struct pid *pid, int sig, int priv) | |||
1315 | EXPORT_SYMBOL(kill_pid); | 1295 | EXPORT_SYMBOL(kill_pid); |
1316 | 1296 | ||
1317 | int | 1297 | int |
1318 | kill_pg(pid_t pgrp, int sig, int priv) | ||
1319 | { | ||
1320 | return kill_pg_info(sig, __si_special(priv), pgrp); | ||
1321 | } | ||
1322 | |||
1323 | int | ||
1324 | kill_proc(pid_t pid, int sig, int priv) | 1298 | kill_proc(pid_t pid, int sig, int priv) |
1325 | { | 1299 | { |
1326 | return kill_proc_info(sig, __si_special(priv), pid); | 1300 | return kill_proc_info(sig, __si_special(priv), pid); |
@@ -1959,7 +1933,6 @@ EXPORT_SYMBOL(recalc_sigpending); | |||
1959 | EXPORT_SYMBOL_GPL(dequeue_signal); | 1933 | EXPORT_SYMBOL_GPL(dequeue_signal); |
1960 | EXPORT_SYMBOL(flush_signals); | 1934 | EXPORT_SYMBOL(flush_signals); |
1961 | EXPORT_SYMBOL(force_sig); | 1935 | EXPORT_SYMBOL(force_sig); |
1962 | EXPORT_SYMBOL(kill_pg); | ||
1963 | EXPORT_SYMBOL(kill_proc); | 1936 | EXPORT_SYMBOL(kill_proc); |
1964 | EXPORT_SYMBOL(ptrace_notify); | 1937 | EXPORT_SYMBOL(ptrace_notify); |
1965 | EXPORT_SYMBOL(send_sig); | 1938 | EXPORT_SYMBOL(send_sig); |