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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <152474045969.29458.5499629495380211357.stgit@localhost.localdomain>
Date:   Thu, 26 Apr 2018 14:00:59 +0300
From:   Kirill Tkhai <ktkhai@...tuozzo.com>
To:     akpm@...ux-foundation.org, peterz@...radead.org, oleg@...hat.com,
        viro@...iv.linux.org.uk, mingo@...nel.org,
        paulmck@...ux.vnet.ibm.com, keescook@...omium.org, riel@...hat.com,
        mhocko@...e.com, tglx@...utronix.de,
        kirill.shutemov@...ux.intel.com, marcos.souza.org@...il.com,
        hoeun.ryu@...il.com, pasha.tatashin@...cle.com, gs051095@...il.com,
        ebiederm@...ssion.com, dhowells@...hat.com,
        rppt@...ux.vnet.ibm.com, linux-kernel@...r.kernel.org,
        ktkhai@...tuozzo.com
Subject: [PATCH 3/4] exit: Rename assign_new_owner label in
 mm_update_next_owner()

Next patch introduces nolock variant of this label,
so we will have new_owner and new_owner_nolock.
assign_new_owner_nolock would be too long there.

Signed-off-by: Kirill Tkhai <ktkhai@...tuozzo.com>
---
 kernel/exit.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/kernel/exit.c b/kernel/exit.c
index 5c42a9b9c1d7..40f734ed1193 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -430,7 +430,7 @@ void mm_update_next_owner(struct mm_struct *mm)
 	 */
 	list_for_each_entry(c, &p->children, sibling) {
 		if (c->mm == mm)
-			goto assign_new_owner;
+			goto new_owner;
 	}
 
 	/*
@@ -438,7 +438,7 @@ void mm_update_next_owner(struct mm_struct *mm)
 	 */
 	list_for_each_entry(c, &p->real_parent->children, sibling) {
 		if (c->mm == mm)
-			goto assign_new_owner;
+			goto new_owner;
 	}
 
 	/*
@@ -449,7 +449,7 @@ void mm_update_next_owner(struct mm_struct *mm)
 			continue;
 		for_each_thread(g, c) {
 			if (c->mm == mm)
-				goto assign_new_owner;
+				goto new_owner;
 			if (c->mm)
 				break;
 		}
@@ -463,7 +463,7 @@ void mm_update_next_owner(struct mm_struct *mm)
 	mm->owner = NULL;
 	return;
 
-assign_new_owner:
+new_owner:
 	rcu_read_lock();
 	read_unlock(&tasklist_lock);
 	BUG_ON(c == p);

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ