From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 5420 invoked from network); 20 Jul 2023 05:48:11 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 20 Jul 2023 05:48:11 -0000 Received: (qmail 22007 invoked by uid 550); 20 Jul 2023 05:48:07 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 21975 invoked from network); 20 Jul 2023 05:48:07 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689832075; x=1690436875; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=/w5wIq/cnq9bzqDF3eA+n9qCNVrFpeWOnBYINZbkkKQ=; b=S80+AmisPfZy+uncO6uPKbWy6LyBrOXmtUq6Oo0C64vHD6dTSPaE81YVjbT9u/Jte1 R6qDCyLZsZRVdDCS6yV75AozQy5eRBAzGPlv2Rl2JNMI6C0wZoWrbuYvyXF0kCqFBsye 7lRib51IugR342QD4wt4ou4c+IVty7lvxqPYGyyJXOyYcIc/XR2U6b5idctM+Unq7Z6V NAFAIaUwi3khPurRnffoneHH/H2S21NhT3OyTmAh8aQ3HYfLYpypRBzr+HUxDaC+iObf kO+B8h29/nhAENdSgKkoPMyoEhazkrNRKS3wwZY1O1iznmXyy9PcOxlb9zw2/HVniol4 xhBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689832075; x=1690436875; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=/w5wIq/cnq9bzqDF3eA+n9qCNVrFpeWOnBYINZbkkKQ=; b=DxWfROXqhBDDmI+Axtnm6rtnlNKXCEyfI58BKYz2KoiAw5jsvwl2yzE6VuuncTi9CS 44tmqYpfaWqqJ5DwDTlfnNqN+L/hWOeNzMwo+N6/zOB8c+3/vKa8YEp29M1OIuQE23pf vQiqnstkwPb3wKPPwYkzLWWCto+ULwtYP899foFl81Ns6LKELd7mm49LvPxDdCNmr0sP iliNZiu5aUllQ+lAczE48aMbo0vphu26qwREQY1otMnmnv++ok+4v2yGpX8/Nhz+aXBi x9VtUM1EZcVh+VT7MUA21JOLLZro5fm+FJC00MDVkOeGNnWt76xc7VJxcOPUGCcyerGs V0Bw== X-Gm-Message-State: ABy/qLa66T73tFG6Q/eCKo4Wm0alV2luHYdOgnTnw1reEe1dLObsN7E3 sykdjrMHwflWOtJXQNQ45DA= X-Google-Smtp-Source: APBJJlEQnZOmUVzNIxC0AcuAEil03IQISpq3Dpcu735O51JoofWyiar0I+Luuv3Z4Db6t2F+NAR1dA== X-Received: by 2002:a17:907:6d91:b0:986:d833:3cf9 with SMTP id sb17-20020a1709076d9100b00986d8333cf9mr1699294ejc.39.1689832074973; Wed, 19 Jul 2023 22:47:54 -0700 (PDT) Date: Thu, 20 Jul 2023 08:47:53 +0300 From: Stefan Jumarea To: Rich Felker Cc: musl@lists.openwall.com, Razvan Deaconescu , Michalis Pappas Message-ID: References: <20230720015122.GO4163@brightrain.aerifal.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230720015122.GO4163@brightrain.aerifal.cx> Subject: Re: [musl] Project Proposal MTE Support On Wed, Jul 19, 2023 at 09:51:22PM -0400, Rich Felker wrote: > There is no immediate plan. Probably the first steps need to be > figuring out some abstractions needed, particularly a way for the > implementation to take tagged pointers from the caller and do the > arithmetic to access partly out-of-band data (like the group header) > with a different/zero tag. These should be able to collapse out to > no-ops on archs without MTE, as well as be defined in a manner to work > on other archs with comparable features (like the classic sparc prior > art for this, if we ever get the sparc port added, or any future archs > that add such a thing). I see, that makes sense. I'll start working on it. > > I know there were past discussions on this and I may have some > separate notes of my own from when mallocng was created, so I'll see > what I can dig up that might be of use. That would be great, thank you! Stefan