Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp370737pxa; Wed, 19 Aug 2020 03:51:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyju2NUwoPG/ynPfOrwXolUJsbl99hYnbtGCp1JxH9jq3zQ6PcMLrSQSRD2zbHVA2fz2PH X-Received: by 2002:a50:b701:: with SMTP id g1mr25068204ede.197.1597834270338; Wed, 19 Aug 2020 03:51:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597834270; cv=none; d=google.com; s=arc-20160816; b=tspDF63ZkLJ+8JSAMQnZ9eRiAcbhLj6Sp2tNlslpWtpPqY0RBg2oeh4OT8yDOHIQs2 6QLvpgNL9OGTm+zVP+rzFPigd7NtFeNeQCIMLaXg70DUraLyHAPYwxNfMn1VrVbCI80x wfh/yJknniCZPs0ML4LVl78Y7EemPXqdApqFUB/93YsY9PIcGCk8dOVwhbHBohAcBYrd KUM+hZsKcN5t/gjtK+SHTuTkOFqbazh7cWzmNwzXs7AJSWJyik41KKE8yaTURXRpOacR uvjfxgwvwdC4Rb17q62S+hOPwWQfkIO9z2VOwigc730+F97jlFWZZ9nZ7M6hkyEGHcic fCWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=2HybF11tgN/hyko7kkcUy6xsmKo9SKc+T2Mu+rx7uRc=; b=v7U0S3j4FDbuTC1TyxkqhP9hQktzFcS1MqqLFKDmIrvpkcvMtRVHOikagvlV9HOrsf 6duqDUaKlyIbWQwmaQaVeij1wgyAZIXSIHSpInXOj9eYoUVvCLQkblF0fmViftAvrj+t Hjhi8hCMmcxUBk1ZN35gsggLIljw2104QJxThL/3k+alnYLaHVa9S/pyqn/ZwoBHt97f jobBZ6tQSM1nAeIXYqW3yR8314twPSpbRMd+aK9++PyFfRECwfyn7bb/GoE8yX5JxeNV DM9a9ixcXzTGuyrDb7ROmONnmaxjsLNYN2Kxl6enERwz1QkrxG56mY1oDbz5DbRc9cpG B+Gg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n3si16450266eji.384.2020.08.19.03.50.46; Wed, 19 Aug 2020 03:51:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728143AbgHSKtl (ORCPT + 99 others); Wed, 19 Aug 2020 06:49:41 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:53992 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727877AbgHSKrf (ORCPT ); Wed, 19 Aug 2020 06:47:35 -0400 Received: from ip5f5af70b.dynamic.kabel-deutschland.de ([95.90.247.11] helo=wittgenstein.fritz.box) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1k8Lcz-0006IE-7a; Wed, 19 Aug 2020 10:47:33 +0000 From: Christian Brauner To: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Jonathan Corbet , Yoshinori Sato , Tony Luck , Fenghua Yu , Geert Uytterhoeven , Ley Foon Tan , "David S. Miller" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, Arnd Bergmann , Steven Rostedt , Stafford Horne , Peter Zijlstra , Kars de Jong , Kees Cook , Greentime Hu , "Eric W. Biederman" , Mauro Carvalho Chehab , Alexandre Chartre , Masami Hiramatsu , Tom Zanussi , Xiao Yang , linux-doc@vger.kernel.org, uclinux-h8-devel@lists.sourceforge.jp, linux-ia64@vger.kernel.org, linux-m68k@lists.linux-m68k.org, sparclinux@vger.kernel.org, kgdb-bugreport@lists.sourceforge.net, linux-kselftest@vger.kernel.org, Linus Torvalds , Christoph Hewllig , Matthew Wilcox , Christian Brauner Subject: [PATCH v2 07/11] x86: switch to kernel_clone() Date: Wed, 19 Aug 2020 12:46:51 +0200 Message-Id: <20200819104655.436656-8-christian.brauner@ubuntu.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200819104655.436656-1-christian.brauner@ubuntu.com> References: <20200819104655.436656-1-christian.brauner@ubuntu.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The old _do_fork() helper is removed in favor of the new kernel_clone() helper. The latter adheres to naming conventions for kernel internal syscall helpers. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: x86@kernel.org Signed-off-by: Christian Brauner --- /* v2 */ unchanged --- arch/x86/kernel/sys_ia32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/sys_ia32.c b/arch/x86/kernel/sys_ia32.c index 720cde885042..6cf65397d225 100644 --- a/arch/x86/kernel/sys_ia32.c +++ b/arch/x86/kernel/sys_ia32.c @@ -251,6 +251,6 @@ COMPAT_SYSCALL_DEFINE5(ia32_clone, unsigned long, clone_flags, .tls = tls_val, }; - return _do_fork(&args); + return kernel_clone(&args); } #endif /* CONFIG_IA32_EMULATION */ -- 2.28.0