Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp196623imu; Wed, 21 Nov 2018 18:03:46 -0800 (PST) X-Google-Smtp-Source: AFSGD/XJCBuLaGZPqHgz56/L8+e9YvlyGHH74KBBW6q5pspOS119tOdZ6UAEOKNPRGUWH1aRsN+b X-Received: by 2002:a17:902:2:: with SMTP id 2mr7013690pla.228.1542852226538; Wed, 21 Nov 2018 18:03:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542852226; cv=none; d=google.com; s=arc-20160816; b=oct5kpeAb2qSQU5u0NxpHWHO157wjJ+2EeJy9j7h1OtWJjWXVdJxcDZtgHPBFz+O4U GiU53FZuAUDG6ti/eiU45ncO+UzFHx8SGEiT1d2Y6lmolar2/lqguqk/XmzPZAPiZ9/9 9mfLbOyVKGqzy2t7h+gANJGNEyNemN/3b5MkuWDDPKNvdEhfbbT8e9qOv3b+WlKFL07u +j5T0Vq5DFUb4DvkJhUexEnfNWQfUtn8aCouqtGD+THZ6Z9yuVO5sW1O5GqS/TSjCGve vVdsRS2j9r7hLcNmmKL6oVcQPmCnQBnb5rEI/PzoI/JyqKM37OLhLqVLUiahoceh+Ksv Vc1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput:user-agent :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=eWkvJQbIhorjLQqxD5SOKS1mSUyFdmHff425N3CIyT0=; b=yuDApqTIognAvDsG+DI4gnWd5Msm2FsDdmt81r8VRLLi9/amj7zrbVtMjwkeZNilHF pJ0sTzNk+bHSyqAHUnJXNoEcma/a6B5rd6FicSAeam0HBMLhYNQ2tUBI/s+vMtcT2zZ3 ExDou5oexh8s2FqzJoBHrMotoZwyang7JaoCwh+no4dSeAUdp1i4qt8SaoPY8fYoUwDL XdfzDfdWf6+Gz89n3AyxYojYDQQ/VA+JNo+Be4ay8x0zwBVyJ069gXOr1Y0JETfyBys3 +Dz3/aq4VeboZ5ME46ZuV+yU9e7kPvT1pF4S4O8O1O5PuLGvNymKqvVDPM09RcVjg3/h BALw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wavesemi.onmicrosoft.com header.s=selector1-wavecomp-com header.b=D1Sb+13g; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c81si32879445pfc.196.2018.11.21.18.03.31; Wed, 21 Nov 2018 18:03:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@wavesemi.onmicrosoft.com header.s=selector1-wavecomp-com header.b=D1Sb+13g; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732897AbeKVGVl (ORCPT + 99 others); Thu, 22 Nov 2018 01:21:41 -0500 Received: from mail-eopbgr780100.outbound.protection.outlook.com ([40.107.78.100]:32352 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726505AbeKVGVk (ORCPT ); Thu, 22 Nov 2018 01:21:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wavesemi.onmicrosoft.com; s=selector1-wavecomp-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eWkvJQbIhorjLQqxD5SOKS1mSUyFdmHff425N3CIyT0=; b=D1Sb+13g3goV2vy/b8bQtxOF30aeX4I+0yz+qUKQr1dnEsxhZLiGzOkARlKjaLaSIbq7gEr4GMfv/aDcaatHTHASlKj+sNk1KD0/BcLKPhk0XBDQ/zxRG54CCQntVgyu882C0CsZ603/2hH31LhYDNC7bs5hWyGQhhXirIywIHs= Received: from MWHPR2201MB1277.namprd22.prod.outlook.com (10.174.162.17) by MWHPR2201MB1054.namprd22.prod.outlook.com (10.174.169.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.31; Wed, 21 Nov 2018 19:45:51 +0000 Received: from MWHPR2201MB1277.namprd22.prod.outlook.com ([fe80::690f:b86d:7c2:e105]) by MWHPR2201MB1277.namprd22.prod.outlook.com ([fe80::690f:b86d:7c2:e105%6]) with mapi id 15.20.1339.027; Wed, 21 Nov 2018 19:45:51 +0000 From: Paul Burton To: "Dmitry V. Levin" CC: Andy Lutomirski , Eric Paris , Paul Moore , Elvira Khabirova , Eugene Syromyatnikov , Oleg Nesterov , "linux-audit@redhat.com" , "linux-alpha@vger.kernel.org" , "linux-arch@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-c6x-dev@linux-c6x.org" , "linux-hexagon@vger.kernel.org" , "linux-ia64@vger.kernel.org" , "linux-m68k@lists.linux-m68k.org" , "linux-mips@linux-mips.org" , "linux-parisc@vger.kernel.org" , "linux-riscv@lists.infradead.org" , "linux-s390@vger.kernel.org" , "linux-sh@vger.kernel.org" , "linux-snps-arc@lists.infradead.org" , "linux-um@lists.infradead.org" , "linux-xtensa@linux-xtensa.org" , "linuxppc-dev@lists.ozlabs.org" , "nios2-dev@lists.rocketboards.org" , "openrisc@lists.librecores.org" , "sparclinux@vger.kernel.org" , "uclinux-h8-devel@lists.sourceforge.jp" , "x86@kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2 16/15 v2] syscall_get_arch: add "struct task_struct *" argument Thread-Topic: [PATCH v2 16/15 v2] syscall_get_arch: add "struct task_struct *" argument Thread-Index: AQHUgdFVNht9C6cLakeqWf7v58LJOqVaofiA Date: Wed, 21 Nov 2018 19:45:51 +0000 Message-ID: <20181121194549.4glznckje73z2uxk@pburton-laptop> References: <20181107042751.3b519062@akathisia> <20181120001128.GA11300@altlinux.org> <20181121004422.GA29053@altlinux.org> <20181121184004.jro532jopnbmru2m@pburton-laptop> <20181121190009.GA10301@altlinux.org> <20181121193512.GA11297@altlinux.org> In-Reply-To: <20181121193512.GA11297@altlinux.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MWHPR1401CA0002.namprd14.prod.outlook.com (2603:10b6:301:4b::12) To MWHPR2201MB1277.namprd22.prod.outlook.com (2603:10b6:301:24::17) user-agent: NeoMutt/20180716 authentication-results: spf=none (sender IP is ) smtp.mailfrom=pburton@wavecomp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [4.16.204.77] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;MWHPR2201MB1054;6:iefVsIiWh3uSZ2Iht040SAjaQCtvchxT03wgPvh+VpGX1p3R3M6+3gJ3Hwtdu7YcJKw9PyRr8gQIk9mHGTMTzV6a0IcNPM00sUAsExcuo7uDmKFRjpAQdFgBZcChE1RRQV9vaCJiK1IZXBbphlY+esioMe/wGR5RSel9WwpVTVfvZNCH8cQve75J5ZIfxWm9NfCbE1tqoGH4VPNl0hChacriOFT41p2gvHVTvEJVLjKVrCMyisIQj/eyAukWS9c3jw1njeqKRWKOWeyhB6ukoxNn5GTSaZLmyc8hren3fYi8T871H/FxJ9n5bURg/73zDuY75TgzNE9p+sraTEFqVZ28jMrcraQBC5KdBXqVXShlJ4ZV7y7LIeKDRcKnGTp7NK735Wksiw/FFy5mXD9JHr6FewBxqFHsjWmrfKqTayq49Z7anaAR0+KAGylHU3bahQFOr3Z2GYI7arhkJ/nBAQ==;5:VlvW9W3grT5+p8yxno+MzGJblhCfWx7Okt26ECM4e2cLqr807DLbCLViPwMI1L2hi7WUCNYUBSjFukQ1xvmPFXJqt5pHT033H+x4KOLm0nE8Sd0u8ZFP4EZ6TpwvKK3O/pexdeAV0BxWk+FptLXaiSbQV4cBaxdPO5aT28AB+ac=;7:xkfgEy3twUi7UxOk2pOtmgmzIvDV1hPoLLl2uwb8BglgW7hDDdJZ9u6tWW7of4UqC72r8CsNGUebv7W8Po6TwXCzjSdeTpCfzKhheybyD1NmqOFrArGPChMS2RnZKIRR9gOPWyieZ5SvlBl2OdEgAA== x-ms-office365-filtering-correlation-id: 5ad994e2-1dd3-4947-a468-08d64fe9f0fe x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(7021145)(8989299)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7027125)(7023125)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:MWHPR2201MB1054; x-ms-traffictypediagnostic: MWHPR2201MB1054: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(258649278758335)(65623756079841)(197064567915663); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(3231442)(944501410)(52105112)(148016)(149066)(150057)(6041310)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(2016111802025)(6043046)(201708071742011)(7699051)(76991095);SRVR:MWHPR2201MB1054;BCL:0;PCL:0;RULEID:;SRVR:MWHPR2201MB1054; x-forefront-prvs: 08635C03D4 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(7916004)(366004)(39840400004)(396003)(136003)(346002)(376002)(189003)(199004)(52314003)(3846002)(1076002)(6116002)(53936002)(71190400001)(71200400001)(8936002)(81166006)(81156014)(54906003)(2900100001)(8676002)(33896004)(58126008)(7736002)(44832011)(476003)(11346002)(7416002)(7406005)(6486002)(14454004)(2906002)(6436002)(68736007)(5660300001)(229853002)(6512007)(9686003)(508600001)(6916009)(6506007)(386003)(102836004)(6246003)(256004)(14444005)(305945005)(97736004)(26005)(66066001)(111086002)(33716001)(105586002)(76176011)(42882007)(52116002)(4326008)(486006)(99286004)(316002)(25786009)(93886005)(106356001)(446003)(186003);DIR:OUT;SFP:1102;SCL:1;SRVR:MWHPR2201MB1054;H:MWHPR2201MB1277.namprd22.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: wavecomp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: TnJ/L4eKAimvBE9ftH/a91H2VNANF6dEdMp7boUv+FixxuPeKRiVZWlMLr3BvCFisnZYsgVVV5RN4WavQtyGmktvXjfkdyv6ju1ceUxE0mZk5aMouRezI9yHpQ37N9grPRaJWLm9urjsCobOj7RQsTolRkr0sDtd2JlxC7pmTDrIZG+c5zu6nU3qJVznF2oa9GPWQ9BOQlvf3CLOGC9z85AAwQyQpiGSmTiKUhE7kH155Zf3vpqRKmvoNgvE3YgWD/ICcFuSvcbFjHd+9RcpeV58NRwxXXINverEBDuwBDPr2B0tpPxWkFM4o1G8wGiYyRSO9hmJ30gAQe4aKPP6ZxrcMM5FZLiSp/9xM3l8YDk= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: <708ADDE084183B41A3B884270BF84771@namprd22.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: mips.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5ad994e2-1dd3-4947-a468-08d64fe9f0fe X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Nov 2018 19:45:51.5163 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 463607d3-1db3-40a0-8a29-970c56230104 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR2201MB1054 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Dmitry, On Wed, Nov 21, 2018 at 10:35:12PM +0300, Dmitry V. Levin wrote: > This argument is required to extend the generic ptrace API with > PTRACE_GET_SYSCALL_INFO request: syscall_get_arch() is going to be > called from ptrace_request() along with other syscall_get_* functions > with a tracee as their argument. >=20 > This change partially reverts commit 5e937a9ae913 ("syscall_get_arch: > remove useless function arguments"). >=20 > Reviewed-by: Andy Lutomirski # for x86 > Reviewed-by: Palmer Dabbelt > Cc: linux-audit@redhat.com > Cc: linux-alpha@vger.kernel.org > Cc: linux-arch@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-c6x-dev@linux-c6x.org > Cc: linux-hexagon@vger.kernel.org > Cc: linux-ia64@vger.kernel.org > Cc: linux-m68k@lists.linux-m68k.org > Cc: linux-mips@linux-mips.org > Cc: linux-parisc@vger.kernel.org > Cc: linux-riscv@lists.infradead.org > Cc: linux-s390@vger.kernel.org > Cc: linux-sh@vger.kernel.org > Cc: linux-snps-arc@lists.infradead.org > Cc: linux-um@lists.infradead.org > Cc: linux-xtensa@linux-xtensa.org > Cc: linuxppc-dev@lists.ozlabs.org > Cc: nios2-dev@lists.rocketboards.org > Cc: openrisc@lists.librecores.org > Cc: sparclinux@vger.kernel.org > Cc: uclinux-h8-devel@lists.sourceforge.jp > Cc: x86@kernel.org > Signed-off-by: Dmitry V. Levin > --- >=20 > v2: cleaned up mips part, added Reviewed-by I thought the last one was v2? :) Anyway, this looks fine to me now: Acked-by: Paul Burton # MIPS parts Thanks, Paul