From nobody Tue May 21 15:20:32 2024 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VkJ6C5j5gz5LZsh for ; Tue, 21 May 2024 15:20:35 +0000 (UTC) (envelope-from saper@saper.info) Received: from q.saper.info (q.saper.info [IPv6:2605:2700:0:2:a800:ff:fec7:5c61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "q.saper.info", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VkJ6C2X0Tz4W6J; Tue, 21 May 2024 15:20:35 +0000 (UTC) (envelope-from saper@saper.info) Authentication-Results: mx1.freebsd.org; none Received: from q.saper.info (localhost [127.0.0.1]) by q.saper.info (8.18.1/8.18.1) with ESMTPS id 44LFKWZb013584 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 21 May 2024 15:20:32 GMT (envelope-from saper@saper.info) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=saper.info; s=Sep2014; t=1716304832; bh=9Pn65RCsPwqvVt+FzSBu/xdVWARD9cWlYlef2OgVjEQ=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=K5l0y7/2zRKm/IoehHnMDRT0pcDw8IL/eSDOWYM34LQm+3i7qOchGOq76FRD448dL ICzW6okxegg+4F+O9YcTjhzbT3Ih4ZAs6EKNu/thoIURpkN2yn+CJ6+yGHYzVcPlz4 wZlTFCSbeSWTt3jgYOlleFa77mN70FxuPKwTZQds= Received: from localhost (saper@localhost) by q.saper.info (8.18.1/8.18.1/Submit) with ESMTP id 44LFKW8E013581; Tue, 21 May 2024 15:20:32 GMT (envelope-from saper@saper.info) X-Authentication-Warning: q.saper.info: saper owned process doing -bs Date: Tue, 21 May 2024 15:20:32 +0000 From: Marcin Cieslak To: =?ISO-8859-15?Q?Dag-Erling_Sm=F8rgrav?= cc: Warner Losh , current@freebsd.org Subject: Re: __memcpy_chk family of functions In-Reply-To: <86ed9vurox.fsf@ltc.des.dev> Message-ID: References: <20qspnq2-8qp0-pq49-rq65-986n0q4r6rqq@fncre.vasb> <86msojvgfb.fsf@ltc.des.dev> <18p47p63-5no5-p6r9-30rq-srpqpp196522@fncre.vasb> <86ed9vurox.fsf@ltc.des.dev> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:47066, ipnet:2605:2700::/32, country:US] X-Rspamd-Queue-Id: 4VkJ6C2X0Tz4W6J On Tue, 21 May 2024, Dag-Erling Smørgrav wrote: > Marcin Cieslak writes: >> I think this (useful) change should go into the future release notes >> as a new feature. > > Which change? https://reviews.freebsd.org/D32306 Import _FORTIFY_SOURCE implementation from NetBSD which introduced _memcpy_chk and friends to our libc.