From nobody Sun Jan 2 17:53:06 2022 X-Original-To: freebsd-hackers@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 56327192F349 for ; Sun, 2 Jan 2022 17:53:19 +0000 (UTC) (envelope-from luoqi.chen@gmail.com) Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JRmgz1jzwz3sGy for ; Sun, 2 Jan 2022 17:53:19 +0000 (UTC) (envelope-from luoqi.chen@gmail.com) Received: by mail-lf1-x130.google.com with SMTP id g26so70735917lfv.11 for ; Sun, 02 Jan 2022 09:53:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VAhvvgvXASmsq+qKv/YDkt6AWu0NPocIEezbkA3DID0=; b=SnYLPI0MnOFo+hgAn6tOm7K8VfkQ17W76+7/ohC/mBk0bqey6l2ewFVeB4cGfGbKug E91sezebW3vhYxNaZsU1grzDyON1rUgh1YxdjC3OGPKP+NNErNL5L9hL/NS3ys+JCvw1 1ZfU3HzUUqtavMOqhYOv7Y3uEAs7Ae1xhKcRanDmTa0nsb/uk6fyiokVBpzXIm2c0QtY 0vuXt/z1ID/DxhxH9SokfULDNMM+7PuEvRi9vvB41/KiDBKGFIwH18wjjJbT3rAU3Alo FqqY9EPzd0XLOVykESGV4VhyCGmh15srCHMUla/z+IIW3gsuWidBq+gkVVJT3kCcDAeT r7lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VAhvvgvXASmsq+qKv/YDkt6AWu0NPocIEezbkA3DID0=; b=uGX/jzdS+8oYlqOn9eVgoe4EOtmWgmf7gdma2/vLcWk9iRK87939x6qdGY98ftexiW 2UCpjnuworleLBsAuf9XtnY4+UCVQ1/INQKC4RL3JURWiwNm9syqG+pV9PLJYjRWUuT/ m+JzCKCjP5mr1e0lLlJmePWSIueD+GQT60rfpeDNOAmcjsaj6mlfLPIPtBjjmAcwCFS+ f64A4bCmV6xik3yi/i3szuJMA8Kx+pHi4MRQbZ5wr5QE5W9bTEzHljm0AwYqtktIfE7B QztXTYpKUEyoV27Pocf5CjHnz3k6dPbcwBUshLQ1YqZ3+UKW2ML+YqOodSV/brD9JN1R HXIQ== X-Gm-Message-State: AOAM532YoLrTsqHfzLHN36oyDXqmLkbzAPbOiTv4H7L8GXOovBYlwmOS i+LftGz1E2yoMII0UE8oC+BV+n9lLzgDwK+p6/aoJG8/BV8= X-Google-Smtp-Source: ABdhPJwHlEnr6LNcsVM3SWlL/Ij9m8b1k2oVaUmU91z0TZScwQbAPZECwMILE2DBqif+J67j+WmFyl8Cq9vX7/dhlxg= X-Received: by 2002:ac2:5547:: with SMTP id l7mr37856299lfk.324.1641145997945; Sun, 02 Jan 2022 09:53:17 -0800 (PST) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: <20211230201614.z4bsknfgdde7ufwu@mutt-hbsd> <20220102002851.GA32472@rickysquid.org> In-Reply-To: <20220102002851.GA32472@rickysquid.org> From: Luoqi Chen Date: Sun, 2 Jan 2022 09:53:06 -0800 Message-ID: Subject: Re: leak sanitizer support To: rickygee Cc: freebsd-hackers@freebsd.org, Shawn Webb Content-Type: multipart/alternative; boundary="0000000000003b6fcb05d49d1472" X-Rspamd-Queue-Id: 4JRmgz1jzwz3sGy X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --0000000000003b6fcb05d49d1472 Content-Type: text/plain; charset="UTF-8" Hi, Eric, Thanks for trying out the patch and adapting it to -current. To be honest, I wasn't very careful about details such as locking, it was meant for internal use only (and the fact that these details don't usually matter for a normally terminating process). For a wider audience, it's better to tie up the loose ends. I've spent a little bit of time to fix the potential locking issue and also to cleanup some unused code, would you mind trying out the new version? I've updated the diff files. -luoqi --0000000000003b6fcb05d49d1472 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi, Eric,
Thanks for trying out the patch and adapting it to -current. To be honest,= I wasn't very careful about details such as locking, it was meant for = internal use only (and the fact that these details don't usually matter= for a normally terminating process). For a wider audience, it's better= to tie up the loose ends. I've spent a little bit of time to fix the p= otential locking issue and also to cleanup=C2=A0some unused code, would you= mind trying out the new version? I've updated the diff files.

= -luoqi

--0000000000003b6fcb05d49d1472--