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>] [day] [month] [year] [list]
Message-ID: <48AD2F03.7050200@openvz.org>
Date:	Thu, 21 Aug 2008 13:01:55 +0400
From:	Pavel Emelyanov <xemul@...nvz.org>
To:	Andrew Morton <akpm@...ux-foundation.org>
CC:	Oleg Nesterov <oleg@...sign.ru>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: [PATCH] Fix bad reference in comment inside __sigqueue_alloc

The comment references the switch_user() function, which
doesn't exist. The real function this code is synchronizing
with is the switch_uid() one.

Can save some time for tags-jumping/grepping :)

Signed-off-by: Pavel Emelyanov <xemul@...nvz.org>

---

diff --git a/kernel/signal.c b/kernel/signal.c
index e661b01..bd880ed 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -183,7 +183,7 @@ static struct sigqueue *__sigqueue_alloc(struct task_struct *t, gfp_t flags,
 	struct user_struct *user;
 
 	/*
-	 * In order to avoid problems with "switch_user()", we want to make
+	 * In order to avoid problems with "switch_uid()", we want to make
 	 * sure that the compiler doesn't re-load "t->user"
 	 */
 	user = t->user;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ