Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Aug 2020 14:43:26 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Shawn Webb <shawn.webb@hardenedbsd.org>, Mateusz Guzik <mjguzik@gmail.com>
Cc:        Emmanuel Vadot <manu@bidouilliste.com>, Alan Cox <alc@rice.edu>, Emmanuel Vadot <manu@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r363842 - head/sys/compat/linuxkpi/common/include/linux
Message-ID:  <2b046c3d-ef74-257b-e4ad-a7352a17b988@selasky.org>
In-Reply-To: <20200811123422.sf63z62buxqcnv3c@mutt-hbsd>
References:  <202008041525.074FPNLh043749@repo.freebsd.org> <1c90911b-d5f6-f8b1-8f4d-97a88fa028bd@rice.edu> <20200804202541.0b6b3eb6ce26522ee12a796c@bidouilliste.com> <CAGudoHHJ7mj3td4jD2SNABANoAsSwzKrOM18WE-zhoV0sNWbiQ@mail.gmail.com> <20200811123422.sf63z62buxqcnv3c@mutt-hbsd>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-08-11 14:34, Shawn Webb wrote:
> If you use git, you can easily cherry-pick the fix from HardenedBSD:
> 

Hi,

There is atomic_clear_rel_long() which does the release in addition to 
clearing. See:

https://svnweb.freebsd.org/changeset/base/364110

I used a macro, in case it is not implemented on all platforms yet.

--HPS




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2b046c3d-ef74-257b-e4ad-a7352a17b988>