Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4366151yba; Wed, 17 Apr 2019 09:58:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqzwf+ya8/Rtrwjb4BeOIAE8Hxgg2R0opQCnGApnO3L9o5qNxvRYk9au/++ZX1t3GL+NbzU2 X-Received: by 2002:a63:ad4b:: with SMTP id y11mr80579361pgo.405.1555520281049; Wed, 17 Apr 2019 09:58:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555520281; cv=none; d=google.com; s=arc-20160816; b=DEGnshgRg0JLv2m4M6Kr3giwYWsd0psntEPlyfHXNFdSRk01PSo9VVCyH8cW4fE/ZC xDB1pj6+GaedQ6UR7PHm2XcYSOguC57eIMcodpLT1r0FvqfpFSsqspnwhTcyvBSw/XVJ ZsXH3eSz5Ep42uSuQ8aV1sAYeWdvYqCrM/rPers2R26sCbJrJzHC6g39560Hra2mOhsi A4DOZcWr/4ImBS1JK4Wk8HmRIz7qPGBxhWeM1sz65u9vpI1SMA1kCpWzrnhln2Y0hLVS 7SLI60jvgkLm/YUMZdeRSlIg7dbxuN5vASh4KTGDKwEdhjR02lztSwPvcRcazcJaxSKj mfQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=LTV52Z6BxXAqi3K2r/MRVHJk1VnWNiq5p7fdQW/kY3w=; b=k4ZmPXgXKHp8/Yr3cnGekDzUTXRnF8UcQcNub/L+Sd/w9PDyyTrejHguYmOn1v7NyN F7w3lOSz6qqKSynQvV94PbklDV4Le73oM4SeLdjA4XrMKZrQftA633xX4Dbp+svph6PS sbDgPFhaE4Uz1T9PQcIHC2N91J4qC9a7iRGwcD2kjeRfEMaYVf3lpMw80cTZVWLF8q0s BUBv8KREoaTIBh3ekZxIzcskc10xVBqrVQXjH91EU4rnO/QzZwfCytLmTNd/dvNSDye/ EWX96wJ/ObKSOnXSehEdxrCio3HZkB0YmDRY7SOGUvYrJOhBj7hDUTzqb2cECtpqjafN 0xUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Jczd3cpc; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q1si55383813pfb.68.2019.04.17.09.57.45; Wed, 17 Apr 2019 09:58:01 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=Jczd3cpc; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732970AbfDQQ4g (ORCPT + 99 others); Wed, 17 Apr 2019 12:56:36 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:40504 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731454AbfDQQ4g (ORCPT ); Wed, 17 Apr 2019 12:56:36 -0400 Received: by mail-lf1-f66.google.com with SMTP id a28so19427680lfo.7 for ; Wed, 17 Apr 2019 09:56:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=LTV52Z6BxXAqi3K2r/MRVHJk1VnWNiq5p7fdQW/kY3w=; b=Jczd3cpcmjVN17SWHwPXYFIr/r8IgvK4yb/Xo/ti+K7aDRPM4CmgvMlbHZR7errpPM +NNb8zpzlCTQdSNaDffzREAnY2jGht9PfkcrBApXEL0VYfUaPcxsB5p2NGzwSJJ+mPvx sq0fJiGFqKe9TSQ5OY0SQ3jZFtkCnMTQuV+kzo07Z5wUOqs07LiSNPzcigtQWEOJENQA doM9l7mu3O/KAZtT6a22JAv6qpqOyPQPXVg0snHzZDZM90IRkSjCN/qnXtFz3erW8kZx jtAztCLOPl7QEqVAsHT7uK/OiqW/dqbsL+dCE01PAtxBCB4SaJeDPmVf6Be3x959PI2D Xkfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=LTV52Z6BxXAqi3K2r/MRVHJk1VnWNiq5p7fdQW/kY3w=; b=fhdLsuHjM4UetuD+PEAYSETLvrF1XSknl3wClR7AK4vEKjQP2Ok7xY89dWVkCu/bS8 yBF/9Clh6Li9lDx7u/CJCa5YkmchwLAnwFFDWFJMFG6e+bSvYZFH+N5+viVP8ao+sKCL 4UNdjdbibNmZwSOgH4rje8M4Jb8u5Vt0h6e8MgJbbXkY0se2Isj8j7biO6MEMmvXW+lO JfVQ9+wvkEUg9lYAApjmWpY6nJY5Lr96rYBAM4WGPpX7f8RHtNEXjlFKbj4OwI1k/O9S 4/1kfKL4W+pPgXX0e3guov+pE0l5YBv5DHojuAmA4sEc7zGt0SrrFBL+R7vKC1L6f6+M DG7w== X-Gm-Message-State: APjAAAWMvPJAZpglnZe9OS2jYlrIwXBgb3cxOIZ0gUPUgg9RCwh6LqBN iYhr4xtaIv/DP3GuB/SbjbM= X-Received: by 2002:ac2:528e:: with SMTP id q14mr7638680lfm.83.1555520193790; Wed, 17 Apr 2019 09:56:33 -0700 (PDT) Received: from uranus.localdomain ([5.18.103.226]) by smtp.gmail.com with ESMTPSA id v11sm10991007ljk.19.2019.04.17.09.56.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Apr 2019 09:56:33 -0700 (PDT) Received: by uranus.localdomain (Postfix, from userid 1000) id 9CB0C46010A; Wed, 17 Apr 2019 19:56:32 +0300 (MSK) Date: Wed, 17 Apr 2019 19:56:32 +0300 From: Cyrill Gorcunov To: Michal =?iso-8859-1?Q?Koutn=FD?= Cc: kbuild-all@01.org, Michael Kerrisk , Sergey Senozhatsky , Randy Dunlap , kbuild test robot , Michal Hocko , Andrew Morton , Yang Shi , Andrew Morton , Andrey Vagin , LKML , Pavel Emelyanov Subject: Re: [PATCH] prctl: Don't compile some of prctl functions when CRUI Message-ID: <20190417165632.GC3040@uranus.lan> References: <20180420140044.478b4c88d3cf238bd440f2a7@linux-foundation.org> <20190417122349.GA15498@blackbody.suse.cz> <20190417123841.GA3040@uranus.lan> <20190417144454.GG8962@blackbody.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190417144454.GG8962@blackbody.suse.cz> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 17, 2019 at 04:44:54PM +0200, Michal Koutn? wrote: > On Wed, Apr 17, 2019 at 03:38:41PM +0300, Cyrill Gorcunov wrote: > > I've a bit vague memory what we've ended up with, but iirc there was > > a problem with brk() syscall or similar. Then I think we left everything > > as is. > Was this related to the removal of non PR_SET_MM_MAP operations too? > Do you have any pointers to the topic? Here some details: suprisingly there are already users of PR_SET_MM_x operands, so we can't deprecate it (https://lkml.org/lkml/2018/5/6/127). And then there was an attempt to change locks https://lore.kernel.org/patchwork/patch/ but since we're modifying mm-> entries we should gurd them against simultaneous sys_brk call. Or I misunderstood you and you meant somthing different?