lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250411182448645tJ7XVmvNHqUXluy9xYQ_7@zte.com.cn>
Date: Fri, 11 Apr 2025 18:24:48 +0800 (CST)
From: <jiang.kun2@....com.cn>
To: <tglx@...utronix.de>, <frederic@...nel.org>, <peterz@...radead.org>,
        <oleg@...hat.com>, <brauner@...nel.org>, <joel.granados@...nel.org>,
        <viro@...iv.linux.org.uk>, <lorenzo.stoakes@...cle.com>,
        <linux-kernel@...r.kernel.org>
Cc: <fan.yu9@....com.cn>
Subject: [PATCH] signal: Update send_signal_locked in relevant comments

From: Fan Yu <fan.yu9@....com.cn>

The __send_signal has been renamed to __send_signal_locked,
after the following commit:

'commit 157cc18122b4 ("signal: Rename send_signal send_signal_locked")'

But some comments have not been modified along with the
code, so they need to be updated. This will help readers
better understand the code.

Signed-off-by: Fan Yu <fan.yu9@....com.cn>
---
 kernel/signal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/signal.c b/kernel/signal.c
index 148082db9a55..af5f8bb50491 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -2252,7 +2252,7 @@ bool do_notify_parent(struct task_struct *tsk, int sig)
 			sig = 0;
 	}
 	/*
-	 * Send with __send_signal as si_pid and si_uid are in the
+	 * Send with __send_signal_locked as si_pid and si_uid are in the
 	 * parent's namespaces.
 	 */
 	if (valid_signal(sig) && sig)
-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ