Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751791AbdFFTLs (ORCPT ); Tue, 6 Jun 2017 15:11:48 -0400 Received: from out01.mta.xmission.com ([166.70.13.231]:49676 "EHLO out01.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751522AbdFFTLp (ORCPT ); Tue, 6 Jun 2017 15:11:45 -0400 From: "Eric W. Biederman" To: linux-kernel@vger.kernel.org Cc: linux-api@vger.kernel.org, Linus Torvalds , Oleg Nesterov , Ingo Molnar , Thomas Gleixner , Kees Cook , Roland McGrath , Al Viro , David Howells , "Michael Kerrisk (man-pages)" , "Eric W. Biederman" Date: Tue, 6 Jun 2017 14:03:16 -0500 Message-Id: <20170606190338.28347-4-ebiederm@xmission.com> X-Mailer: git-send-email 2.10.1 In-Reply-To: <20170606190338.28347-1-ebiederm@xmission.com> References: <877f0pym71.fsf@xmission.com> <20170606190338.28347-1-ebiederm@xmission.com> X-XM-SPF: eid=1dIJtC-0006wd-ED;;;mid=<20170606190338.28347-4-ebiederm@xmission.com>;;;hst=in02.mta.xmission.com;;;ip=97.121.81.159;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX196B8EcJTCRdkAUTYFgoLqZEE4/g9Gi3qs= X-SA-Exim-Connect-IP: 97.121.81.159 X-SA-Exim-Mail-From: ebiederm@xmission.com X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 1.5 XMNoVowels Alpha-numberic number with no vowels * 0.5 XMGappySubj_01 Very gappy subject * 0.0 TVD_RCVD_IP Message was received from an IP address * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.5000] * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa06 1397; Body=1 Fuz1=1] * 0.0 T_TooManySym_01 4+ unique symbols in subject X-Spam-DCC: XMission; sa06 1397; Body=1 Fuz1=1 X-Spam-Combo: *;linux-kernel@vger.kernel.org X-Spam-Relay-Country: X-Spam-Timing: total 5538 ms - load_scoreonly_sql: 0.04 (0.0%), signal_user_changed: 2.6 (0.0%), b_tie_ro: 1.76 (0.0%), parse: 0.91 (0.0%), extract_message_metadata: 10 (0.2%), get_uri_detail_list: 0.85 (0.0%), tests_pri_-1000: 6 (0.1%), tests_pri_-950: 1.13 (0.0%), tests_pri_-900: 0.97 (0.0%), tests_pri_-400: 18 (0.3%), check_bayes: 17 (0.3%), b_tokenize: 6 (0.1%), b_tok_get_all: 5.0 (0.1%), b_comp_prob: 1.47 (0.0%), b_tok_touch_all: 2.9 (0.1%), b_finish: 0.62 (0.0%), tests_pri_0: 142 (2.6%), check_dkim_signature: 0.46 (0.0%), check_dkim_adsp: 3.1 (0.1%), tests_pri_500: 5354 (96.7%), poll_dns_idle: 5348 (96.6%), rewrite_mail: 0.00 (0.0%) Subject: [PATCH 04/26] signal: Make group_send_sig_info static X-Spam-Flag: No X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1231 Lines: 34 It has no users outside of kernel/signal.c Signed-off-by: "Eric W. Biederman" --- include/linux/signal.h | 1 - kernel/signal.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/signal.h b/include/linux/signal.h index 1f5a16620693..f1b296a5e537 100644 --- a/include/linux/signal.h +++ b/include/linux/signal.h @@ -244,7 +244,6 @@ struct pt_regs; extern int next_signal(struct sigpending *pending, sigset_t *mask); extern int do_send_sig_info(int sig, struct siginfo *info, struct task_struct *p, bool group); -extern int group_send_sig_info(int sig, struct siginfo *info, struct task_struct *p); extern int __group_send_sig_info(int, struct siginfo *, struct task_struct *); extern int do_sigtimedwait(const sigset_t *, siginfo_t *, const struct timespec *); diff --git a/kernel/signal.c b/kernel/signal.c index ca92bcfeb322..5eff2f9f8c42 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -1262,6 +1262,7 @@ struct sighand_struct *__lock_task_sighand(struct task_struct *tsk, /* * send signal info to all the members of a group */ +static int group_send_sig_info(int sig, struct siginfo *info, struct task_struct *p) { int ret; -- 2.10.1