<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/source/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in Makefile.libkern</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>3f351f34c6d827cf017cdcff3543f6ec0c88b420 - Compensate for src/common/lib/libc/atomic/atomic_init_cas.c losing</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/netbsd-src/sys/lib/libkern/Makefile.libkern#3f351f34c6d827cf017cdcff3543f6ec0c88b420</link>
        <description>Compensate for src/common/lib/libc/atomic/atomic_init_cas.c losingthe extern declaration of __libc_atomic_init() and instead using anew one added to src/lib/libc/include/extern.hThat file is outside src/common and src/sys so is unavailable tokernel builds, so instead make a new include file in src/commonwhich the kernel can read which contains the needed extern declfor __libc_atomic_init()This seems to fix the evbarm builds (maybe others) - but it isall MUCH TOO UGLY to keep.   Someone please make a better fix,even if that just means reverting rev 1.5 of	src/common/lib/libc/atomic/atomic_init_cas.cand all of the changes here (the addition to libc/include/extern.hshould be harmless to keep).

            List of files:
            /netbsd-src/sys/lib/libkern/Makefile.libkern</description>
        <pubDate>Sat, 20 Jan 2024 11:04:53 +0000</pubDate>
        <dc:creator>kre &lt;kre@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>b37dea26a17f552dcc3e3ed2323eed2d43bbe4ee - avoid dependency on NETBSDSRCDIR being set.</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/netbsd-src/sys/lib/libkern/Makefile.libkern#b37dea26a17f552dcc3e3ed2323eed2d43bbe4ee</link>
        <description>avoid dependency on NETBSDSRCDIR being set.(similar to an earlier commit)due to various things, non-build.sh builds don&apos;t have it set alreadyand it ends up defaulting to /usr/src, so if that doesn&apos;t exist oris the wrong version, building libkern fails.

            List of files:
            /netbsd-src/sys/lib/libkern/Makefile.libkern</description>
        <pubDate>Mon, 01 Jan 2024 20:33:34 +0000</pubDate>
        <dc:creator>rhialto &lt;rhialto@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>f989f9625c993917b5d141084dd0320b3812a88e - revert previous: http://mail-index.netbsd.org/source-changes/2021/10/25/msg133295.html</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/netbsd-src/sys/lib/libkern/Makefile.libkern#f989f9625c993917b5d141084dd0320b3812a88e</link>
        <description>revert previous: http://mail-index.netbsd.org/source-changes/2021/10/25/msg133295.htmlgoing to add __always_inline to the functions called from _mcount()discussed on http://mail-index.netbsd.org/source-changes-d/2021/10/25/msg013480.html

            List of files:
            /netbsd-src/sys/lib/libkern/Makefile.libkern</description>
        <pubDate>Wed, 27 Oct 2021 03:06:59 +0000</pubDate>
        <dc:creator>ryo &lt;ryo@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>843ce00650b483c039ec46f1a44e9b35d844ec82 - In some arch, _mcount() would be called recursively when built with COPTS=-O0.</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/netbsd-src/sys/lib/libkern/Makefile.libkern#843ce00650b483c039ec46f1a44e9b35d844ec82</link>
        <description>In some arch, _mcount() would be called recursively when built with COPTS=-O0.Normally, functions called from mcount.c are expected to be expanded inline,so _mcount() will never be called recursively. But when build with COPTS=-O0,`static inline&apos; functions aren&apos;t inlined, and _mcount() will be calledrecursively.Even if _mcount() has `__attribute__((__no_ instrument_function__))&apos;,it has no effect on the calling external (no-inlined) function.To avoid this, PROF.&lt;fn&gt; is added can be set the profiling flag of any file.&quot;PROF.mcount.c&quot; is set to blank by default, mcount.c itself is compiledwithout -pg.

            List of files:
            /netbsd-src/sys/lib/libkern/Makefile.libkern</description>
        <pubDate>Mon, 25 Oct 2021 07:54:44 +0000</pubDate>
        <dc:creator>ryo &lt;ryo@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>7de9d97fa44ba024876248cc6b39a5a7c7958194 - move bi-endian disklabel support from the kernel and libsa into libkern.</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/netbsd-src/sys/lib/libkern/Makefile.libkern#7de9d97fa44ba024876248cc6b39a5a7c7958194</link>
        <description>move bi-endian disklabel support from the kernel and libsa into libkern.- dkcksum() and dkcksum_sized() move from subr_disk.c and from  libsa into libkern/dkcksum.c (which is missing _sized() version),  using the version from usr.sbin/disklabel.- swap_disklabel() moves from subr_disk_mbr.c into libkern, now called  disklabel_swap().  (the sh3 version should be updated to use this.)- DISKLABEL_EI becomes a first-class option with opt_disklabel.h.- add libkern.h to libsa/disklabel.c.this enables future work for bi-endian libsa/ufs.c (relevant for ffsv1,ffsv2, lfsv1, and lfsv2), as well as making it possible for ports notusing subr_disk_mbr.c to include bi-endian disklabel support (which,afaict, includes any disk on mbr-supporting platforms that do not havean mbr as well as disklabel.)builds successsfully on: alpha, i386, amd64, sun2, sun3, evbarm64,evbarm64-eb, sparc, and sparc64.  tested in anita on i386 and sparc,testing in hardware on evbarm64*.

            List of files:
            /netbsd-src/sys/lib/libkern/Makefile.libkern</description>
        <pubDate>Mon, 17 May 2021 08:50:36 +0000</pubDate>
        <dc:creator>mrg &lt;mrg@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>77507b12b7478e226b256e6927492d8ba400a29d - Build strlist.c.</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/netbsd-src/sys/lib/libkern/Makefile.libkern#77507b12b7478e226b256e6927492d8ba400a29d</link>
        <description>Build strlist.c.(Sigh, missed in original commit.)

            List of files:
            /netbsd-src/sys/lib/libkern/Makefile.libkern</description>
        <pubDate>Mon, 25 Jan 2021 12:45:49 +0000</pubDate>
        <dc:creator>thorpej &lt;thorpej@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>ca08b3e761e6fc5454aa5d028935f5d82d92ea3d - Make copystr() a MI C function, part of libkern and shared on all</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/netbsd-src/sys/lib/libkern/Makefile.libkern#ca08b3e761e6fc5454aa5d028935f5d82d92ea3d</link>
        <description>Make copystr() a MI C function, part of libkern and shared on allarchitectures.Notes: - On alpha and ia64 the function is kept but gets renamed locally to avoid   symbol collision. This is because on these two arches, I am not sure   whether the ASM callers do not rely on fixed registers, so I prefer to   keep the ASM body for now. - On Vax, only the symbol is removed, because the body is used from other   functions. - On RISC-V, this change fixes a bug: copystr() was just a wrapper around   strlcpy(), but strlcpy() makes the operation less safe (strlen on the   source beyond its size). - The kASan, kCSan and kMSan wrappers are removed, because now that   copystr() is in C, the compiler transformations are applied to it,   without the need for manual wrappers.Could test on amd64 only, but should be fine.

            List of files:
            /netbsd-src/sys/lib/libkern/Makefile.libkern</description>
        <pubDate>Tue, 30 Jun 2020 16:20:00 +0000</pubDate>
        <dc:creator>maxv &lt;maxv@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>5084c1b50f9863db4e36c6ec86538f91c324b1ac - Rewrite entropy subsystem.</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/netbsd-src/sys/lib/libkern/Makefile.libkern#5084c1b50f9863db4e36c6ec86538f91c324b1ac</link>
        <description>Rewrite entropy subsystem.Primary goals:1. Use cryptography primitives designed and vetted by cryptographers.2. Be honest about entropy estimation.3. Propagate full entropy as soon as possible.4. Simplify the APIs.5. Reduce overhead of rnd_add_data and cprng_strong.6. Reduce side channels of HWRNG data and human input sources.7. Improve visibility of operation with sysctl and event counters.Caveat: rngtest is no longer used generically for RND_TYPE_RNGrndsources.  Hardware RNG devices should have hardware-specifichealth tests.  For example, checking for two repeated 256-bit outputsworks to detect AMD&apos;s 2019 RDRAND bug.  Not all hardware RNGs arenecessarily designed to produce exactly uniform output.ENTROPY POOL- A Keccak sponge, with test vectors, replaces the old LFSR/SHA-1  kludge as the cryptographic primitive.- `Entropy depletion&apos; is available for testing purposes with a sysctl  knob kern.entropy.depletion; otherwise it is disabled, and once the  system reaches full entropy it is assumed to stay there as far as  modern cryptography is concerned.- No `entropy estimation&apos; based on sample values.  Such `entropy  estimation&apos; is a contradiction in terms, dishonest to users, and a  potential source of side channels.  It is the responsibility of the  driver author to study the entropy of the process that generates  the samples.- Per-CPU gathering pools avoid contention on a global queue.- Entropy is occasionally consolidated into global pool -- as soon as  it&apos;s ready, if we&apos;ve never reached full entropy, and with a rate  limit afterward.  Operators can force consolidation now by running  sysctl -w kern.entropy.consolidate=1.- rndsink(9) API has been replaced by an epoch counter which changes  whenever entropy is consolidated into the global pool.  . Usage: Cache entropy_epoch() when you seed.  If entropy_epoch()    has changed when you&apos;re about to use whatever you seeded, reseed.  . Epoch is never zero, so initialize cache to 0 if you want to reseed    on first use.  . Epoch is -1 iff we have never reached full entropy -- in other    words, the old rnd_initial_entropy is (entropy_epoch() != -1) --    but it is better if you check for changes rather than for -1, so    that if the system estimated its own entropy incorrectly, entropy    consolidation has the opportunity to prevent future compromise.- Sysctls and event counters provide operator visibility into what&apos;s  happening:  . kern.entropy.needed - bits of entropy short of full entropy  . kern.entropy.pending - bits known to be pending in per-CPU pools,    can be consolidated with sysctl -w kern.entropy.consolidate=1  . kern.entropy.epoch - number of times consolidation has happened,    never 0, and -1 iff we have never reached full entropyCPRNG_STRONG- A cprng_strong instance is now a collection of per-CPU NIST  Hash_DRBGs.  There are only two in the system: user_cprng for  /dev/urandom and sysctl kern.?random, and kern_cprng for kernel  users which may need to operate in interrupt context up to IPL_VM.  (Calling cprng_strong in interrupt context does not strike me as a  particularly good idea, so I added an event counter to see whether  anything actually does.)- Event counters provide operator visibility into when reseeding  happens.INTEL RDRAND/RDSEED, VIA C3 RNG (CPU_RNG)- Unwired for now; will be rewired in a subsequent commit.

            List of files:
            /netbsd-src/sys/lib/libkern/Makefile.libkern</description>
        <pubDate>Thu, 30 Apr 2020 03:28:18 +0000</pubDate>
        <dc:creator>riastradh &lt;riastradh@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>5b4211c2aa3347b4bd5dac25422a438decccc532 - Nix trailing whitespace.</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/netbsd-src/sys/lib/libkern/Makefile.libkern#5b4211c2aa3347b4bd5dac25422a438decccc532</link>
        <description>Nix trailing whitespace.

            List of files:
            /netbsd-src/sys/lib/libkern/Makefile.libkern</description>
        <pubDate>Sat, 14 Dec 2019 17:24:43 +0000</pubDate>
        <dc:creator>riastradh &lt;riastradh@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>bd6c4f7f79a6cf722def5e17c1c1e770851f698f - Remove never-used Mersenne twister from libkern.</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/netbsd-src/sys/lib/libkern/Makefile.libkern#bd6c4f7f79a6cf722def5e17c1c1e770851f698f</link>
        <description>Remove never-used Mersenne twister from libkern.

            List of files:
            /netbsd-src/sys/lib/libkern/Makefile.libkern</description>
        <pubDate>Sat, 14 Dec 2019 17:23:47 +0000</pubDate>
        <dc:creator>riastradh &lt;riastradh@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>4d17a0f3c22ea65df72ce2c8c046e69b3c2a724e - Omit vestigial unused commented-out experiment.</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/netbsd-src/sys/lib/libkern/Makefile.libkern#4d17a0f3c22ea65df72ce2c8c046e69b3c2a724e</link>
        <description>Omit vestigial unused commented-out experiment.

            List of files:
            /netbsd-src/sys/lib/libkern/Makefile.libkern</description>
        <pubDate>Sat, 14 Dec 2019 17:23:31 +0000</pubDate>
        <dc:creator>riastradh &lt;riastradh@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>0c2afd2995fd53ebd93baa4a18b2c2eb025f5406 - Include radixtree in the kernel.</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/netbsd-src/sys/lib/libkern/Makefile.libkern#0c2afd2995fd53ebd93baa4a18b2c2eb025f5406</link>
        <description>Include radixtree in the kernel.

            List of files:
            /netbsd-src/sys/lib/libkern/Makefile.libkern</description>
        <pubDate>Sat, 14 Dec 2019 15:30:37 +0000</pubDate>
        <dc:creator>ad &lt;ad@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>82a15b88fc2cb7cc229397e5cba811ecf43a1877 - Rename min.c -&gt; uimin.c, max.c -&gt; uimax.c in libkern.</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/netbsd-src/sys/lib/libkern/Makefile.libkern#82a15b88fc2cb7cc229397e5cba811ecf43a1877</link>
        <description>Rename min.c -&gt; uimin.c, max.c -&gt; uimax.c in libkern.

            List of files:
            /netbsd-src/sys/lib/libkern/Makefile.libkern</description>
        <pubDate>Mon, 03 Sep 2018 16:54:54 +0000</pubDate>
        <dc:creator>riastradh &lt;riastradh@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>4231a89cbca6b080d749307d02e1df022ab216eb - provide memmem</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/netbsd-src/sys/lib/libkern/Makefile.libkern#4231a89cbca6b080d749307d02e1df022ab216eb</link>
        <description>provide memmem

            List of files:
            /netbsd-src/sys/lib/libkern/Makefile.libkern</description>
        <pubDate>Sun, 08 Jul 2018 17:54:42 +0000</pubDate>
        <dc:creator>christos &lt;christos@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>4a1f5c48a925f74e1b7bd26daffa6ee3e237a445 - coalesce the two copies of hexdump into libkern</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/netbsd-src/sys/lib/libkern/Makefile.libkern#4a1f5c48a925f74e1b7bd26daffa6ee3e237a445</link>
        <description>coalesce the two copies of hexdump into libkern

            List of files:
            /netbsd-src/sys/lib/libkern/Makefile.libkern</description>
        <pubDate>Fri, 08 Dec 2017 21:51:07 +0000</pubDate>
        <dc:creator>christos &lt;christos@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>969998948d695be5e2710e8a39b23731441cccf5 - Import SHA-3 code into libc and libkern.</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/netbsd-src/sys/lib/libkern/Makefile.libkern#969998948d695be5e2710e8a39b23731441cccf5</link>
        <description>Import SHA-3 code into libc and libkern.No new public symbols in libc, but publishing the symbols is a simplematter if/when we decide to do so.Proposed on tech-kern and tech-userlevel with no objections:https://mail-index.NetBSD.org/tech-kern/2017/11/11/msg022581.htmlhttps://mail-index.NetBSD.org/tech-userlevel/2017/11/11/msg010968.html

            List of files:
            /netbsd-src/sys/lib/libkern/Makefile.libkern</description>
        <pubDate>Thu, 30 Nov 2017 05:47:24 +0000</pubDate>
        <dc:creator>riastradh &lt;riastradh@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>ee17f398d415a7b573313d0294ac1d2f0c58d9eb - move scsipi_strvis -&gt; libkern:strnvisx()</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/netbsd-src/sys/lib/libkern/Makefile.libkern#ee17f398d415a7b573313d0294ac1d2f0c58d9eb</link>
        <description>move scsipi_strvis -&gt; libkern:strnvisx()change the prototype to match userlandfix sizes of strings passed to it

            List of files:
            /netbsd-src/sys/lib/libkern/Makefile.libkern</description>
        <pubDate>Mon, 02 May 2016 19:18:29 +0000</pubDate>
        <dc:creator>christos &lt;christos@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>2603e0673f25486f4b1b6ce06b1b061c874bc4af - remove various HAVE_GCC=45 fragments.</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/netbsd-src/sys/lib/libkern/Makefile.libkern#2603e0673f25486f4b1b6ce06b1b061c874bc4af</link>
        <description>remove various HAVE_GCC=45 fragments.

            List of files:
            /netbsd-src/sys/lib/libkern/Makefile.libkern</description>
        <pubDate>Wed, 15 Apr 2015 19:13:46 +0000</pubDate>
        <dc:creator>mrg &lt;mrg@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>d36e0de1e121a17f164e1a04ad53dfcdb4a90fb1 - strtoi and strtou for the kernel</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/netbsd-src/sys/lib/libkern/Makefile.libkern#d36e0de1e121a17f164e1a04ad53dfcdb4a90fb1</link>
        <description>strtoi and strtou for the kernel

            List of files:
            /netbsd-src/sys/lib/libkern/Makefile.libkern</description>
        <pubDate>Fri, 16 Jan 2015 18:36:31 +0000</pubDate>
        <dc:creator>christos &lt;christos@NetBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>96739e65c5cc94a1373e9a4983c85a681b80830c - bcdtobin and bintobcd are now inlines in &lt;dev/clock_subr.h&gt;</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/netbsd-src/sys/lib/libkern/Makefile.libkern#96739e65c5cc94a1373e9a4983c85a681b80830c</link>
        <description>bcdtobin and bintobcd are now inlines in &lt;dev/clock_subr.h&gt;

            List of files:
            /netbsd-src/sys/lib/libkern/Makefile.libkern</description>
        <pubDate>Thu, 20 Nov 2014 16:25:16 +0000</pubDate>
        <dc:creator>christos &lt;christos@NetBSD.org&gt;</dc:creator>
    </item>
</channel>
</rss>
