Gentoo Archives: gentoo-user

From: Jorge Almeida <jjalmeida@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: memset_s
Date: Mon, 13 Nov 2017 11:16:58
Message-Id: CAKpSnpKBPSFkmMQWe7+9C4UVpsSQ2BRRvV6BFhtYdTK=qL9K+Q@mail.gmail.com
In Reply to: [gentoo-user] Re: memset_s by Nikos Chantziaras
1 On Mon, Nov 13, 2017 at 2:44 AM, Nikos Chantziaras <realnc@×××××.com> wrote:
2
3 >>>
4 >>> Sounds like you want explicit_bzero from libbsd?
5 >>>
6 >> According to their man page, yes. I'll have to [try to] check the
7 >> source. I wonder how they do it? Even the volatile modifier doesn't
8 >> solve the problem, according to the link in previous post.
9 >
10 >
11 > explicit_bzero() is available in glibc. It's in <string.h>.
12 >
13 >
14 OK, thanks. dietlibc also has it, musl doesn't.
15
16 Jorge Almeida