Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp893715rdb; Fri, 2 Feb 2024 07:14:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IGFTi4UeUJOFLeLTlCoDIa6YoL3PAAuTV38Ri0QnUYW9CTeK3KCmfzGnbeYtXZkWrASW9a1 X-Received: by 2002:a05:6808:1381:b0:3bf:bdbe:6768 with SMTP id c1-20020a056808138100b003bfbdbe6768mr1976836oiw.58.1706886879142; Fri, 02 Feb 2024 07:14:39 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXszk11A0cpCZHi2Cl+BtxTN0J6XsJWqsXhL2SzKEHBjCBS/y30HWT6cxVjCVWzn1ahUiOa47K0kBu35dgFygaMKM6hVv6HAkSEzl0NbQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ie24-20020a0561022c1800b0046afadb86fasi309936vsb.739.2024.02.02.07.14.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 07:14:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-50001-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b=WPoESbbf; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=T8PEeiMj; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-50001-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50001-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id CB2421C216D9 for ; Fri, 2 Feb 2024 15:14:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C71E777654; Fri, 2 Feb 2024 15:14:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="WPoESbbf"; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b="T8PEeiMj" Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5271960249; Fri, 2 Feb 2024 15:14:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=205.220.165.32 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706886859; cv=fail; b=YhsudjaiCODQEK8VjqwD7SCYKzi3JekJS3/onOp3an35iIpD8cgtul9YXmlv1XYyAX+XG9/7KMj8/CVmrgeS7tX90opZLm5OjB3njWPF9RG6SktpUbBiqCgktxvbnXMt6LNdLf98i3QMJKwZPsTUKa+O47fwHuYJj6IuEdoDznU= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706886859; c=relaxed/simple; bh=1vnL2X3kRcvUOTWRDp+/yu+XP87uB2SAt+l8bTdY7Ck=; h=Date:From:To:Cc:Subject:Message-ID:References:Content-Type: Content-Disposition:In-Reply-To:MIME-Version; b=KJdrruIM2wttFO5a7sty02rlHeJxTnu6OznBjmWIDtpLrzLjTdC7uRznki2sIES878R8WwkjuOHtILrVzmSsALTCp3rqb5YAZ9r3mf7VAMH8BggmXyDjopg4J+MNQvbVNBeM5bn4V3mItmuC1Q5loxOzXvdcveAwWkXZzRDSLoY= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=Oracle.com; spf=pass smtp.mailfrom=oracle.com; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b=WPoESbbf; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b=T8PEeiMj; arc=fail smtp.client-ip=205.220.165.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=Oracle.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oracle.com Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 412EYJo2021737; Fri, 2 Feb 2024 15:13:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : content-type : content-transfer-encoding : in-reply-to : mime-version; s=corp-2023-11-20; bh=LJaoVzgq3QBqw24L6jge0gux5ExTqxJAROAvXJ9qN9I=; b=WPoESbbfnEt3tqjEdxdSVikBcFKBBj5ck8YA3m0VZYkjViALVv1TmH/hRTdD7uS0D57X j4K7uyO6HoRq7ahIJzM7OxJnbEcrXgrDZLLsF2LhdWVcTF+jIDgExLKuUw6VxutmiDn0 2mCMKdSM+Fk/GqYUq0CEQKjyKBABs501mN0Eh9txPsZotr+F65Lf5UxvGuT0q1pclbmd Dc6RlISSthYpPcPPq6JBhJiFhG8O8OvEWMHud+2gy6vgLQb2haqVQbVqM8SwBkCeS59n D7U+yxYdIUcKq7CeoRMS/qxxja02dLo1TsZgVHu1UaVul3p7L4St7DW+BlLq3UaZEqPt sw== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3vvre2r0fy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 02 Feb 2024 15:13:52 +0000 Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 412Df5Ud019582; Fri, 2 Feb 2024 15:13:51 GMT Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2041.outbound.protection.outlook.com [104.47.66.41]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3vvr9j2eff-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 02 Feb 2024 15:13:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hbHdE1NQRymkIkLtF0YAM/FttY0HCjeukvwCAX6Zp2/B2gRn1Ng+IoTg7JPxzPt8AOU/kkirW7YV9mzvvp5t6ow6CoQkuySo9C1MWP0gHF1VUUZhjx29EbvRz4XXeeljOKpeCnHDFNov3gVoDXu7hRZZcUsNixT5lbx49FYglh1XJEMZR4zgSkTTXF0gooUc2qnKk1rQJfCm6pBd6EmjuZ/rX/WylvGE6Xz0bkHti3gQ1NI5+pmW++bYSMDf+NOWYbAN7SNhKwqzLZlgy0RDBGpBlNEz81LvHvu2dPMem2JE0WsacxKHj6PjjgfC/dd2efHGpfu5TrXIayVXyGnm4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=LJaoVzgq3QBqw24L6jge0gux5ExTqxJAROAvXJ9qN9I=; b=Nwldu/QGHBz5WJDQrD75H87eHX4qLuk+6/xzNlQfddjfNRwIVRT0tXNwaFDjxR9OGcEZSMLfNQKBiTWuIQDVXxsH51gMACqtELWWnzMOlvGCn+ib8Nd5SSnhwLM23nPAyWZmMPS9sUysy9or9JuJBZ1jDm4stkDVzuVjlXHxMO92WyNsFJYPXUVqQ4HQM/ORaV7fMhgUhxjXrTgeaBITD8Kbs9pUP6LnpZ5HYgFzPfWba2PqdQ9LHst8Dhb+eze2kv8TUVbfMw5Yp/33VddTOV/NCeTX4c1xVZHH2pkfz6lrfNAd+wpiBg0ZaxRiCSBNx9tHlIBM0uRF1xSt76oJBw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LJaoVzgq3QBqw24L6jge0gux5ExTqxJAROAvXJ9qN9I=; b=T8PEeiMjyt3txrQHSJ1leyYK/Tc9S5K/p77ogQu/mYIb/Qnc73TNnlsCK1ARWx8pp3zJHHNPLssUBFEDgh96b9hVj0LAEk7fYt5/tgMHY0AwjpZISyzz9raa5SRNaerlGKlMAumbm6eYnbBeCrvm+W1WbcTb2r+r06gorp9Qj24= Received: from DS0PR10MB7933.namprd10.prod.outlook.com (2603:10b6:8:1b8::15) by DS0PR10MB7936.namprd10.prod.outlook.com (2603:10b6:8:1b6::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.30; Fri, 2 Feb 2024 15:13:48 +0000 Received: from DS0PR10MB7933.namprd10.prod.outlook.com ([fe80::20c8:7efa:f9a8:7606]) by DS0PR10MB7933.namprd10.prod.outlook.com ([fe80::20c8:7efa:f9a8:7606%4]) with mapi id 15.20.7249.027; Fri, 2 Feb 2024 15:13:48 +0000 Date: Fri, 2 Feb 2024 10:13:45 -0500 From: "Liam R. Howlett" To: Jeff Xu Cc: Jeff Xu , Jonathan Corbet , akpm@linux-foundation.org, keescook@chromium.org, jannh@google.com, sroettger@google.com, willy@infradead.org, gregkh@linuxfoundation.org, torvalds@linux-foundation.org, usama.anjum@collabora.com, rdunlap@infradead.org, jorgelo@chromium.org, groeck@chromium.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org, pedro.falcato@gmail.com, dave.hansen@intel.com, linux-hardening@vger.kernel.org, deraadt@openbsd.org Subject: Re: [PATCH v8 0/4] Introduce mseal Message-ID: <20240202151345.kj4nhb5uog4aknsp@revolver> Mail-Followup-To: "Liam R. Howlett" , Jeff Xu , Jeff Xu , Jonathan Corbet , akpm@linux-foundation.org, keescook@chromium.org, jannh@google.com, sroettger@google.com, willy@infradead.org, gregkh@linuxfoundation.org, torvalds@linux-foundation.org, usama.anjum@collabora.com, rdunlap@infradead.org, jorgelo@chromium.org, groeck@chromium.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org, pedro.falcato@gmail.com, dave.hansen@intel.com, linux-hardening@vger.kernel.org, deraadt@openbsd.org References: <20240131175027.3287009-1-jeffxu@chromium.org> <20240131193411.opisg5yoyxkwoyil@revolver> <20240201204512.ht3e33yj77kkxi4q@revolver> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: User-Agent: NeoMutt/20220429 X-ClientProxiedBy: YT4PR01CA0106.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:d7::12) To DS0PR10MB7933.namprd10.prod.outlook.com (2603:10b6:8:1b8::15) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB7933:EE_|DS0PR10MB7936:EE_ X-MS-Office365-Filtering-Correlation-Id: e2b12bed-1a63-417e-7295-08dc24018e40 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8PPTPJvGmA63/Zc187FnNYXEBBKvdCk7Rh3WtjjAWnl/diTj+UJHx/FLkD4F3IQjC5VBIsrFjOCew2e3upQUb6WbYXxABs5nmj1iXblcAcIMj0DaoPa/aOrZkUPbsfRTNQiMof/qrlsgzxBZ0NO8nT+5I5cTjsdGdRI8MqBCiTJK/51N7fz8O3uYs/97Ny1VFrJEnf4y5+4UdGoiSchCpcvwpfyPSpdD4B+dAgZpPfhn5aNA4JNRpZw9h4mNiPTMsucgWKSQhGX1mJ1Qt9QOBC08fVGbi7f9rgOZIPrOX7l9lW0InC8LTn5guEoA5YEqckVpA2oZVY0scD4qX+bxdhXvqVTVbVW7dUPRayUpzU2aFWt6gvMACxkDoh48AkSpg1REoG50jQRSL0epreCO1wPrfcO9/dK6u0BocpfDEUprhrUwPFOOJDyv/XAhKEfbScvP8fYGGjzM8nBBxYeloJKZN7YWxOjN3zfSgzak7qi/Fv6PUwOHLA3S5UDdC977Gk0z5yzVQVS3ekbJkslu2UTCEs6oERTuwrj4jNI4AeEBkrHepcylyrW4l113rMSD X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB7933.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(7916004)(376002)(346002)(136003)(366004)(39860400002)(396003)(230922051799003)(451199024)(186009)(64100799003)(1800799012)(83380400001)(1076003)(33716001)(6512007)(9686003)(26005)(38100700002)(7416002)(5660300002)(4326008)(8936002)(8676002)(66556008)(2906002)(53546011)(478600001)(6666004)(6506007)(6486002)(6916009)(54906003)(66476007)(316002)(66946007)(86362001)(41300700001);DIR:OUT;S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kNFFNU0FGUjRLNE9vTFd0eExGeCtXSzU3WUVR?= =?utf-8?B?RVZValVsSEd4L2ZsWXRVdGh5dWVHYmQ1SDFiRk5jaWZTUEpxeDI0SEYwV01r?= =?utf-8?B?VWZSTE5MdWIwZEcrMU5vSUE4QjU0SlpPcDFkT2p2ZUNrRE1jTENUb2hodXkz?= =?utf-8?B?N3MvR1g4M3hQL0hNeDhIYnZDLzVmZEN1MldmMXlmaFVsZlNTY0M2bnFMVkpa?= =?utf-8?B?WUkwNEVPYUZnWHNtRlpWTER6Z0o0WUR6cStTMlI0d3VpMTduRW5YSnBXUFZJ?= =?utf-8?B?TW8ySmo1RnVUWGhNUWFFL29LRHBQNEc3YjlKZEgrSXpLL2JpR053UDFwOUg2?= =?utf-8?B?cTBxUnBSRW54dkRMSktUQmx4RXVWeEF4QzhWMnZmV3pvbEFFNERWblJHbGJm?= =?utf-8?Q?O/x3jh8SzahBRT4hHKME3LgCj?= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: DDGijZK9cR4hTfTeOKOONtmE1YTdLy6e0ugtPRgrt3DOoQtz6eA2S8T5UcXE6U8HffprtPaLiZJaO7l0x/gLUzd897lJ0qwZNNAMohfAZlHRmzIy9XqqKcvhE6A+fRUCw4ck88rc6GjjSKdNq/7WSO90wJ576u9pempf2cifbwmuchvyIKOiA96fkgMuCuNFZxHhqMEXRymqKunxf1LFBCa7gKQs198DwwTMlDD3iD85zl+YEJyPYxeHp5gNji4hPoc6DnRXdRwfx4Uwn1vd7bl/VZ30nKUodpmvrlMbxpshE9DF11goUZ9T1azN1WpIF4OKALXUZXe9fnrWMSNURDG/lluOR0kgz10CF8JNZNk69gfv+ABbZvjezl8dQUuF29bO9zH4xhAaW6i2LYy+0xwV8AI2rR7pOUx+8/x/K+VUiBuuSRXzLCsWBiO8beQQrz5+21ghFQabgM0ymwGSQnmXbLIEqZM6gAwckBxmKV/mLAVIolQgsbRyLlkT09KEOIuiu9fGQs2AO7bmRck+SzCcrkNt0oXyDfBbfhzvmqce9aO/ZOAZJVAGyXHyfXk230RzDBMAH6+Qb9knWOiJ+uVcjpvQPoy6bc9a6w6H7KM= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: e2b12bed-1a63-417e-7295-08dc24018e40 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB7933.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2024 15:13:48.1773 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ELw45EwmqXYlQvqWvt0xMUQj9DjMWu14ycVWv+8Ml3XjJXtPQMFrk2XF9TUrKC4Binmizh3nGZNU9Lw9n5bnew== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR10MB7936 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-02_08,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 bulkscore=0 spamscore=0 phishscore=0 adultscore=0 mlxlogscore=999 suspectscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2402020111 X-Proofpoint-GUID: 83JZCNRAPxdiVxXefdkCy-qrNwnzNeTX X-Proofpoint-ORIG-GUID: 83JZCNRAPxdiVxXefdkCy-qrNwnzNeTX * Jeff Xu [240201 22:15]: > On Thu, Feb 1, 2024 at 12:45=E2=80=AFPM Liam R. Howlett wrote: > > > > * Jeff Xu [240131 20:27]: > > > On Wed, Jan 31, 2024 at 11:34=E2=80=AFAM Liam R. Howlett > > > wrote: > > > > > > > > Having to opt-in to allowing mseal will probably not work well. > I'm leaving the opt-in discussion in Linus's thread. >=20 > > Initial library mappings happen in one huge chunk then it's cut up into > > smaller VMAs, at least that's what I see with my maple tree tracing. I= f > > you opt-in, then the entire library will have to opt-in and so the > > 'discourage inadvertent sealing' argument is not very strong. > > > Regarding "The initial library mappings happen in one huge chunk then > it is cut up into smaller VMAS", this is not a problem. >=20 > As example of elf loading (fs/binfmt_elf.c), there is just a few > places to pass in what type of memory to be allocated, e.g. > MAP_PRIVATE, MAP_FIXED_NOREPLACE, we can add MAP_SEALABLE at those > places. > If glic does additional splitting on the memory range, by using > mprotect(), then the MAP_SEALABLE is automatically applied after > splitting. > If glic uses mmap(MAP_FIXED), then it should use mmap(MAP_FIXED|MAP_SEALA= BLE). You are adding a flag that requires a new glibc. When I try to point out how this is unnecessary and excessive, you tell me it's fine and probably not a whole lot of work. This isn't working with developers, you are dismissing the developers who are trying to help you. Can you please: Provide code that uses this feature. Provide benchmark results where you apply mseal to 1, 2, 4, 8, 16, and 32 VMAs. Provide code that tests and checks the failure paths. Failures at the start, middle, and end of the modifications. Document what happens in those failure paths. And, most importantly: keep an open mind and allow your opinion to change when presented with new information. All of these things are to help you. We need to know what needs fixing so you can be successful. Thanks, Liam