CVS log for src/sys/lib/libkern/Makefile.libkern
Up to [cvs.NetBSD.org] / src / sys / lib / libkern
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.55.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 4 23:27:51 2026 UTC (11 days, 11 hours ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +2 -2
lines
Sync with HEAD
Revision 1.56: download - view: text, markup, annotated - select for diffs
Wed Oct 22 12:34:00 2025 UTC (12 months, 3 weeks ago) by roy
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102,
HEAD
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -2
lines
rbtree: Rename rb.c to rbtree.c to match it's header rbtree.h
While here rename RBTEST to RBLOCAL to give a better meaning as we
want to include the local rbtest.h rather than the system one.
Also allow to compile outside of NetBSD source tree by guarding some
things we would otherwise expect to be defined.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Sat Jan 20 11:04:53 2024 UTC (2 years, 9 months ago) by kre
Branches: MAIN
CVS tags: perseant-exfatfs-base-20250801,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
netbsd-11-base,
netbsd-11-1-RELEASE,
netbsd-11-0-RELEASE,
netbsd-11-0-RC7,
netbsd-11-0-RC6,
netbsd-11-0-RC5,
netbsd-11-0-RC4,
netbsd-11-0-RC3,
netbsd-11-0-RC2,
netbsd-11-0-RC1,
netbsd-11
Branch point for: perseant-exfatfs
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -1
lines
Compensate for src/common/lib/libc/atomic/atomic_init_cas.c losing
the extern declaration of __libc_atomic_init() and instead using a
new one added to src/lib/libc/include/extern.h
That file is outside src/common and src/sys so is unavailable to
kernel builds, so instead make a new include file in src/common
which the kernel can read which contains the needed extern decl
for __libc_atomic_init()
This seems to fix the evbarm builds (maybe others) - but it is
all 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.c
and all of the changes here (the addition to libc/include/extern.h
should be harmless to keep).
Revision 1.54: download - view: text, markup, annotated - select for diffs
Mon Jan 1 20:33:34 2024 UTC (2 years, 10 months ago) by rhialto
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -2
lines
avoid dependency on NETBSDSRCDIR being set.
(similar to an earlier commit)
due to various things, non-build.sh builds don't have it set already
and it ends up defaulting to /usr/src, so if that doesn't exist or
is the wrong version, building libkern fails.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Oct 27 03:06:59 2021 UTC (5 years ago) by ryo
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
netbsd-10-base,
netbsd-10-2-RELEASE,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +1 -5
lines
revert previous: http://mail-index.netbsd.org/source-changes/2021/10/25/msg133295.html
going 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
Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Oct 25 07:54:44 2021 UTC (5 years ago) by ryo
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +6 -2
lines
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' functions aren't inlined, and _mcount() will be called
recursively.
Even if _mcount() has `__attribute__((__no_ instrument_function__))',
it has no effect on the calling external (no-inlined) function.
To avoid this, PROF.<fn> is added can be set the profiling flag of any file.
"PROF.mcount.c" is set to blank by default, mcount.c itself is compiled
without -pg.
Revision 1.50.4.1: download - view: text, markup, annotated - select for diffs
Thu Jun 17 04:46:33 2021 UTC (5 years, 5 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +4 -1
lines
Sync w/ HEAD.
Revision 1.50.6.1: download - view: text, markup, annotated - select for diffs
Mon May 31 22:15:20 2021 UTC (5 years, 5 months ago) by cjep
Branches: cjep_staticlib_x
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +4 -1
lines
sync with head
Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon May 17 08:50:36 2021 UTC (5 years, 6 months ago) by mrg
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base,
thorpej-cfargs2,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +4 -1
lines
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 not
using subr_disk_mbr.c to include bi-endian disklabel support (which,
afaict, includes any disk on mbr-supporting platforms that do not have
an 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*.
Revision 1.49.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:29:00 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +2 -1
lines
Sync with HEAD.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Mon Jan 25 12:45:49 2021 UTC (5 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-futex-base,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_staticlib_x-base
Branch point for: thorpej-i2c-spi-conf,
cjep_staticlib_x
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -1
lines
Build strlist.c.
(Sigh, missed in original commit.)
Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Jun 30 16:20:02 2020 UTC (6 years, 4 months ago) by maxv
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -1
lines
Make copystr() a MI C function, part of libkern and shared on all
architectures.
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.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Apr 30 03:28:19 2020 UTC (6 years, 6 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +4 -1
lines
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_RNG
rndsources. Hardware RNG devices should have hardware-specific
health tests. For example, checking for two repeated 256-bit outputs
works to detect AMD's 2019 RDRAND bug. Not all hardware RNGs are
necessarily 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' 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' based on sample values. Such `entropy
estimation' 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's ready, if we'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'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'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 entropy
CPRNG_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.
Revision 1.41.4.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:52 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.41.4.1: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.4.1: +6 -9
lines
Merge changes from current as of 20200406
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Dec 14 17:24:43 2019 UTC (6 years, 11 months ago) by riastradh
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -4
lines
Nix trailing whitespace.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Dec 14 17:23:47 2019 UTC (6 years, 11 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -2
lines
Remove never-used Mersenne twister from libkern.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Dec 14 17:23:31 2019 UTC (6 years, 11 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +1 -4
lines
Omit vestigial unused commented-out experiment.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Dec 14 15:30:37 2019 UTC (6 years, 11 months ago) by ad
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -2
lines
Include radixtree in the kernel.
Revision 1.41.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:04 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3
lines
Sync with HEAD
Revision 1.41.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:56:42 2018 UTC (8 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.41.2.1: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.2.1: +2 -2
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:54:54 2018 UTC (8 years, 2 months ago) by riastradh
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
netbsd-9-base,
netbsd-9-5-RELEASE,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
isaki-audio2-base,
isaki-audio2
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -2
lines
Rename min.c -> uimin.c, max.c -> uimax.c in libkern.
Revision 1.41.2.1: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:38:08 2018 UTC (8 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -2
lines
Sync with HEAD
Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Jul 8 17:54:42 2018 UTC (8 years, 4 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-compat-0728
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -2
lines
provide memmem
Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Dec 8 21:51:07 2017 UTC (8 years, 11 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-base,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315
Branch point for: phil-wifi,
pgoyette-compat
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -1
lines
coalesce the two copies of hexdump into libkern
Revision 1.18.2.4: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:38:46 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.18.2.3: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.2.3: +4 -6
lines
update from HEAD
Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Nov 30 05:47:24 2017 UTC (8 years, 11 months ago) by riastradh
Branches: MAIN
CVS tags: tls-maxphys-base-20171202
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -2
lines
Import SHA-3 code into libc and libkern.
No new public symbols in libc, but publishing the symbols is a simple
matter 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.html
https://mail-index.NetBSD.org/tech-userlevel/2017/11/11/msg010968.html
Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 23 19:38:02 2017 UTC (9 years, 2 months ago) by snj
Branches: netbsd-6
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +2 -2
lines
Pull up following revision(s) (requested by mrg in ticket #1481):
sys/lib/libkern/Makefile.libkern: revision 1.19
Add strnlen.c to SRCS (which will automatically use the .S version if it
exists).
Revision 1.17.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 23 19:37:20 2017 UTC (9 years, 2 months ago) by snj
Branches: netbsd-6-1
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +2 -2
lines
Pull up following revision(s) (requested by mrg in ticket #1481):
sys/lib/libkern/Makefile.libkern: revision 1.19
Add strnlen.c to SRCS (which will automatically use the .S version if it
exists).
Revision 1.17.6.1: download - view: text, markup, annotated - select for diffs
Wed Aug 23 19:36:28 2017 UTC (9 years, 2 months ago) by snj
Branches: netbsd-6-0
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +2 -2
lines
Pull up following revision(s) (requested by mrg in ticket #1481):
sys/lib/libkern/Makefile.libkern: revision 1.19
Add strnlen.c to SRCS (which will automatically use the .S version if it
exists).
Revision 1.36.2.3: download - view: text, markup, annotated - select for diffs
Sun May 29 08:44:37 2016 UTC (10 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.36.2.2: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.2.2: +2 -1
lines
Sync with HEAD
Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon May 2 19:18:29 2016 UTC (10 years, 6 months ago) by christos
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -1
lines
move scsipi_strvis -> libkern:strnvisx()
change the prototype to match userland
fix sizes of strings passed to it
Revision 1.36.2.2: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:22 2015 UTC (11 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.36.2.1: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.1: +4 -8
lines
Sync with HEAD
Revision 1.35.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 22 07:18:58 2015 UTC (11 years, 6 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +2 -1
lines
Pull up following revision(s) (requested by roy in ticket #648):
common/lib/libc/stdlib/_strtoi.h: revisions 1.1, 1.2
common/lib/libc/stdlib/strtoi.c: revision 1.1
common/lib/libc/stdlib/strtou.c: revision 1.1
distrib/sets/lists/base/ad.aarch64: patch
distrib/sets/lists/base/ad.arm: patch
distrib/sets/lists/base/ad.mips: patch
distrib/sets/lists/base/ad.powerpc: patch
distrib/sets/lists/base/md.amd64: patch
distrib/sets/lists/base/md.sparc64: patch
distrib/sets/lists/base/shl.mi: patch
distrib/sets/lists/comp/mi: revision 1.1939
distrib/sets/lists/debug/ad.aarch64: patch
distrib/sets/lists/debug/ad.arm: patch
distrib/sets/lists/debug/ad.mips: patch
distrib/sets/lists/debug/ad.powerpc: patch
distrib/sets/lists/debug/md.amd64: patch
distrib/sets/lists/debug/md.sparc64: patch
distrib/sets/lists/debug/shl.mi: patch
include/inttypes.h: revision 1.11
lib/libc/shlib_version: patch
lib/libc/stdlib/Makefile.inc: revision 1.84
lib/libc/stdlib/strtol.3: revisions 1.27-1.31
lib/libc/stdlib/strtoul.3: revisions 1.26-1.29
sys/lib/libkern/Makefile.libkern: revision 1.37
sys/lib/libkern/libkern.h: revision 1.117
tools/compat/Makefile: revision 1.73
tools/compat/compat_defs.h: revision 1.101
tools/compat/configure.ac: revision 1.83
tools/compat/configure: revision 1.82
tools/compat/nbtool_config.h.in: revision 1.36
add strto{i,u} from Kamil Rytarowski as discussed in tech-userlevel.
--
strtoi and strtou additions
--
strtoi and strtou for the kernel
--
strtoi and strtou additions
--
strtoi and strtou man pages
--
strto{i,u}
--
regen
--
Remove trailing whitespace.
--
match variable names with man page (Kamil Rytarowski)
--
cleanups from (Kamil Rytarowski)
--
add strtoi strtou (Kamil Rytarowski)
--
PR/49640: Kamil Rytarowski: Improve error printing
--
Use existing month for Dd.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Wed Apr 15 19:13:47 2015 UTC (11 years, 7 months ago) by mrg
Branches: MAIN
CVS tags: nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +1 -5
lines
remove various HAVE_GCC=45 fragments.
Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:20 2015 UTC (11 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -1
lines
Sync with HEAD
Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri Jan 16 18:36:31 2015 UTC (11 years, 10 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20150406
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -1
lines
strtoi and strtou for the kernel
Revision 1.36: download - view: text, markup, annotated - select for diffs
Thu Nov 20 16:25:16 2014 UTC (11 years, 11 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2
lines
bcdtobin and bintobcd are now inlines in <dev/clock_subr.h>
Revision 1.18.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:29 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.18.2.2: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.2.2: +19 -16
lines
Rebase to HEAD as of a few days ago.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Aug 10 16:44:36 2014 UTC (12 years, 3 months ago) by tls
Branches: MAIN
CVS tags: tls-maxphys-base,
netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +5 -2
lines
Merge tls-earlyentropy branch into HEAD.
Revision 1.32.2.4: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:56:02 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.32.2.3: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.2.3: +4 -4
lines
Rebase.
Revision 1.32.2.3: download - view: text, markup, annotated - select for diffs
Sat Aug 9 07:45:03 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.32.2.2: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.2.2: +3 -3
lines
(Temporarily) disable LZF in libkern -- it introduces a dependency from
src/sys to src/external which I'll need to fix by moving the LZF sources.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Jul 19 18:38:35 2014 UTC (12 years, 4 months ago) by lneto
Branches: MAIN
CVS tags: tls-earlyentropy-base
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3
lines
lua: updated from 5.1 to 5.3 work3
* lua(1):
- changed lua_Integer to intmax_t
- updated distrib/sets/lists and etc/mtree
- updated bsd.lua.mk
- fixed bozohttpd (lua-bozo.c)
- compatibilized bindings: gpio, sqlite
* lua(4):
- removed floating-point and libc dependencies using '#ifndef _KERNEL'
- fixed division by zero and exponentiation
- libkern: added isalnum(), iscntrl(), isgraph(), isprint() and ispunct()
- acpica: removed isprint() from acnetbsd.h
- libc: moved strcspn.c, strpbrk.c and strspn.c to common
- removed stub headers
- compatibilized bindings: luapmf, luasystm
* reorganized luaconf.h
* updated doc/CHANGES and doc/RESPONSIBLE
Revision 1.32.2.2: download - view: text, markup, annotated - select for diffs
Thu Jul 17 14:03:33 2014 UTC (12 years, 4 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.32.2.1: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.2.1: +2 -2
lines
Adjustments to the "earlyentropy" branch in response to the various
discussions beginning with my initial proposal
http://mail-index.netbsd.org/tech-kern/2014/04/08/msg016876.html and
particularly the long discussion of cprng_fast() performance (e.g.
https://mail-index.netbsd.org/tech-crypto/2014/04/21/msg000642.html).
In particular:
* Per-CPU, lockless cprng_fast replacement using Dennis Ferguson's
"ccrand" implementation of ChaCha8.
* libkern arc4random() is gone, gone, gone.
* Entropy estimator reverted to 32-bit recordkeeping and timestamps
per Dennis' comments and analysis.
* LZF entropy estimator removed: it required a great deal of state,
and rejected only truly pathological input.
I have not yet reverted the changes that provide LZF in the kernel
as generic functionality; I will likely revert those changes prior
to any merge of this branch to HEAD.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Jul 4 16:44:26 2014 UTC (12 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2
lines
${.PARSEDIR} not .${PARSEDIR} for Makefile.compiler-rt include
Revision 1.14.2.4: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:04 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.14.2.3: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.2.3: +20 -17
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.24.2.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:46:08 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.24.2.1: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.2.1: +9 -13
lines
sync with head
Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 7 01:10:55 2014 UTC (12 years, 7 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +4 -1
lines
LZF in the kernel. As an entropy estimator for now but it's very small, and
we could use it for ipcomp, for hibernation, for paging, for core dumps, etc.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Mar 12 00:22:53 2014 UTC (12 years, 8 months ago) by pooka
Branches: MAIN
CVS tags: yamt-pagecache-base9,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -1
lines
Do not include compiler-rt in librump. librump is not a toolchain support
library, and toolchain support belongs in the host libc or libgcc or
equivalent entity that is actually supposed to complement the toolchain.
Fixes librump build on (a) Linux ARM (collisions with libgcc)
Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Jan 29 23:37:18 2014 UTC (12 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +1 -15
lines
Include compiler-rt in libc, libm and libkern.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Jan 15 21:12:57 2014 UTC (12 years, 10 months ago) by joerg
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +5 -1
lines
For HAVE_LIBGCC=no, use compiler-rt for quad support.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Dec 27 20:25:33 2013 UTC (12 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2
lines
add strncat (for acpi)
Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Dec 11 01:24:08 2013 UTC (12 years, 11 months ago) by joerg
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +5 -1
lines
Allow kernel code to access constant databases by moving cdbr(3) and the
required mi_vector_hash(3) into src/common.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Dec 2 04:39:10 2013 UTC (12 years, 11 months ago) by lneto
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2
lines
changed lua_Number to int64_t
Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 28 23:59:35 2013 UTC (13 years, 2 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +6 -2
lines
sync with head
Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Tue Jul 23 21:07:36 2013 UTC (13 years, 3 months ago) by riastradh
Branches: riastradh-drm2
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +5 -1
lines
sync with HEAD
Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Jul 23 14:52:07 2013 UTC (13 years, 3 months ago) by skrll
Branches: MAIN
CVS tags: riastradh-drm2-base2,
riastradh-drm2-base1
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +5 -1
lines
Another codegen bug that fixes (in this case lots of) atf tests.
rump_server doesn't die so much now.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Jun 29 16:02:01 2013 UTC (13 years, 4 months ago) by rmind
Branches: MAIN
CVS tags: riastradh-drm2-base
Branch point for: riastradh-drm2
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2
lines
libkern: add murmurhash module.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Jun 24 04:21:20 2013 UTC (13 years, 4 months ago) by riastradh
Branches: MAIN
Branch point for: rmind-smpnet
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2
lines
Replace consttime_bcmp/explicit_bzero by consttime_memequal/explicit_memset.
consttime_memequal is the same as the old consttime_bcmp.
explicit_memset is to memset as explicit_bzero was to bcmp.
Passes amd64 release and i386/ALL, but I'm sure I missed some spots,
so please let me know.
Revision 1.18.2.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:20:23 2013 UTC (13 years, 4 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.18.2.1: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.2.1: +5 -2
lines
resync from head
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Mar 17 00:47:13 2013 UTC (13 years, 8 months ago) by christos
Branches: MAIN
CVS tags: khorben-n900,
agc-symver-base,
agc-symver
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -4
lines
undo sparc64 kludge
Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Mar 14 11:53:33 2013 UTC (13 years, 8 months ago) by nakayama
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2
lines
Make sparc64 32-bit kernel buildable.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Mar 11 11:44:48 2013 UTC (13 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -2
lines
amend previous sparc64 fix: rump does not know about memcpyset.s
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Mar 10 07:31:03 2013 UTC (13 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +6 -2
lines
On sparc64 memcpy and memset are provided by memcpyset.s (should have been
memcpyset.S, but...). Don't include them in the build because it breaks the
modular build where the kernel library is built as an object.
Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:29:58 2013 UTC (13 years, 8 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2
lines
resync with head
Revision 1.17.4.1: download - view: text, markup, annotated - select for diffs
Thu Feb 7 07:03:28 2013 UTC (13 years, 9 months ago) by matt
Branches: matt-nb6-plus
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +2 -2
lines
Pullup rev 1.19:
date: 2013/01/23 22:34:37; author: matt; state: Exp; lines: +2 -2
Add strnlen.c to SRCS (which will automatically use the .S version if it
exists).
Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Jan 23 22:34:37 2013 UTC (13 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2
lines
Add strnlen.c to SRCS (which will automatically use the .S version if it
exists).
Revision 1.14.2.3: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:22:39 2012 UTC (14 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.14.2.2: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.2.2: +4 -1
lines
sync with head
Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Aug 30 12:16:49 2012 UTC (14 years, 2 months ago) by drochner
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6
Branch point for: tls-maxphys
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -1
lines
Add "consttime_bcmp" and "explicit_bzero" functions for both kernel
abd userland, as proposed on tech-security, with explicit_bzero using
a volatile function pointer as suggested by Alan Barrett.
Both do what the name says. For userland, both are prefixed by "__"
to keep them out of the user namespace.
Change some memset/memcmp uses to the new functions where it makes
sense -- these are just some examples, more to come.
Revision 1.14.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:08:33 2012 UTC (14 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.14.2.1: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.2.1: +3 -3
lines
sync with head
Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:35:35 2012 UTC (14 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +2 -3
lines
merge to -current.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Feb 5 14:19:03 2012 UTC (14 years, 9 months ago) by dholland
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10
Branch point for: netbsd-6-1,
netbsd-6-0,
netbsd-6,
matt-nb6-plus
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +1 -2
lines
Migrate one last leftover bit (used only by the kernel now) to
sys/ufs/ufs and remove the old quota headers and no-longer-used shared
code. Ok by releng.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Jan 20 00:25:29 2012 UTC (14 years, 10 months ago) by joerg
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2
lines
Don't use __cmsg_alignbytes in the kernel. Mark it as constant function
for userland as its value never changes. This allows the compiler to
optimise most invocations away.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Nov 19 22:51:25 2011 UTC (15 years ago) by tls
Branches: MAIN
CVS tags: jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -1
lines
First step of random number subsystem rework described in
<20111022023242.BA26F14A158@mail.netbsd.org>. This change includes
the following:
An initial cleanup and minor reorganization of the entropy pool
code in sys/dev/rnd.c and sys/dev/rndpool.c. Several bugs are
fixed. Some effort is made to accumulate entropy more quickly at
boot time.
A generic interface, "rndsink", is added, for stream generators to
request that they be re-keyed with good quality entropy from the pool
as soon as it is available.
The arc4random()/arc4randbytes() implementation in libkern is
adjusted to use the rndsink interface for rekeying, which helps
address the problem of low-quality keys at boot time.
An implementation of the FIPS 140-2 statistical tests for random
number generator quality is provided (libkern/rngtest.c). This
is based on Greg Rose's implementation from Qualcomm.
A new random stream generator, nist_ctr_drbg, is provided. It is
based on an implementation of the NIST SP800-90 CTR_DRBG by
Henric Jungheim. This generator users AES in a modified counter
mode to generate a backtracking-resistant random stream.
An abstraction layer, "cprng", is provided for in-kernel consumers
of randomness. The arc4random/arc4randbytes API is deprecated for
in-kernel use. It is replaced by "cprng_strong". The current
cprng_fast implementation wraps the existing arc4random
implementation. The current cprng_strong implementation wraps the
new CTR_DRBG implementation. Both interfaces are rekeyed from
the entropy pool automatically at intervals justifiable from best
current cryptographic practice.
In some quick tests, cprng_fast() is about the same speed as
the old arc4randbytes(), and cprng_strong() is about 20% faster
than rnd_extract_data(). Performance is expected to improve.
The AES code in src/crypto/rijndael is no longer an optional
kernel component, as it is required by cprng_strong, which is
not an optional kernel component.
The entropy pool output is subjected to the rngtest tests at
startup time; if it fails, the system will reboot. There is
approximately a 3/10000 chance of a false positive from these
tests. Entropy pool _input_ from hardware random numbers is
subjected to the rngtest tests at attach time, as well as the
FIPS continuous-output test, to detect bad or stuck hardware
RNGs; if any are detected, they are detached, but the system
continues to run.
A problem with rndctl(8) is fixed -- datastructures with
pointers in arrays are no longer passed to userspace (this
was not a security problem, but rather a major issue for
compat32). A new kernel will require a new rndctl.
The sysctl kern.arandom() and kern.urandom() nodes are hooked
up to the new generators, but the /dev/*random pseudodevices
are not, yet.
Manual pages for the new kernel interfaces are forthcoming.
Revision 1.14.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 2 21:53:59 2011 UTC (15 years ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2
lines
page cache related changes
- maintain object pages in radix tree rather than rb tree.
- reduce unnecessary page scan in putpages. esp. when an object has a ton of
pages cached but only a few of them are dirty.
- reduce the number of pmap operations by tracking page dirtiness more
precisely in uvm layer.
- fix nfs commit range tracking.
- fix nfs write clustering. XXX hack
Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Aug 26 21:22:10 2011 UTC (15 years, 2 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -1
lines
Build and install ppath(3), property-list paths library.
Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:09:42 2011 UTC (15 years, 5 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +5 -4
lines
Sync with HEAD.
Revision 1.9.4.3: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:42:12 2011 UTC (15 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.9.4.2: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.4.2: +1 -0
lines
sync with head
Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Mar 24 17:05:44 2011 UTC (15 years, 7 months ago) by bouyer
Branches: MAIN
CVS tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base,
cherry-xenmp
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -1
lines
Add a new libquota library, which contains some blocks to build and/or
parse quota plists; as well as a getfsquota() function to retrieve quotas
for a single id from a single filesystem (whatever filesystem this is:
a local quota-enabled fs or NFS). This is build on functions getufsquota()
(for local filesystems with UFS-like quotas) and getnfsquota();
which are also available to userland programs.
move functions from quota2_subr.c to libquota or libprop as appropriate,
and ajust in-tree quota tools.
move some declarations from kernel headers to either sys/quota.h or
quota/quota.h as appropriate. ufs/ufs/quota.h still installed because
it's needed by other installed ufs headers.
ufs/ufs/quota1.h still installed as a quick&dirty way to get a code
using the old quotactl() to compile (just include ufs/ufs/quota1.h instead of
ufs/ufs/quota.h - old code won't compile without this change and this is
on purpose).
Discussed on tech-kern@ and tech-net@ (long thread, but not much about
libquota itself ...)
Revision 1.9.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:55:27 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.9.4.1: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.4.1: +4 -4
lines
sync with head
Revision 1.10.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:10:41 2011 UTC (15 years, 8 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +4 -4
lines
Sync with HEAD
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Feb 26 18:17:55 2011 UTC (15 years, 8 months ago) by jakllsch
Branches: MAIN
CVS tags: bouyer-quota2-nbase
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2
lines
Add quad srcs if building x86_64 32-bit libkern.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Feb 26 16:28:10 2011 UTC (15 years, 8 months ago) by matt
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3
lines
Add quad srcs if using MIPS O32 ABI
Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:47:35 2010 UTC (16 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +2 -2
lines
Sync with HEAD.
Revision 1.2.2.6: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:54:45 2010 UTC (16 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.2.2.5: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.5: +2 -2
lines
sync with head.
Revision 1.9.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:59 2010 UTC (16 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2
lines
sync with head
Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue May 11 21:50:35 2010 UTC (16 years, 6 months ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
bouyer-quota2-base
Branch point for: jruoho-x86intr,
bouyer-quota2
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2
lines
fix typo
Revision 1.2.2.5: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:21 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.2.2.4: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.4: +14 -5
lines
sync with head
Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Jan 19 22:28:30 2010 UTC (16 years, 10 months ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
uebayasi-xip-base1,
uebayasi-xip-base
Branch point for: uebayasi-xip,
rmind-uvmplock
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2
lines
Get rid of last "easy" kernel symbols starting with __:
__assert -> kern_assert
__sigtimedwait1 -> sigtimedwait1
__wdstart -> wdstart1
The rest are MD and/or shared with userspace, so they will require
a little more involvement than what is available for this quick
"ride the 5.99.24 bump" action.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Dec 14 12:18:14 2009 UTC (16 years, 11 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +7 -3
lines
Build fix for the mips64 merge:
- If memset2.c is in ${SRCS}, exclude conflicting memset.c.
- If MD byte_swap_8.* is in ${SRCS}, exclude conflicting bswap64.c.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Nov 21 13:37:18 2009 UTC (16 years, 11 months ago) by uebayasi
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +7 -7
lines
Redo the previous inverted logic. Sort alphabetically.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Nov 21 13:30:23 2009 UTC (16 years, 11 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +7 -2
lines
Don't build quad support code on 64-bit platforms.
Revision 1.2.2.4: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:48:18 2009 UTC (17 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.2.2.3: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.3: +28 -22
lines
sync with head.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Aug 14 19:23:53 2009 UTC (17 years, 3 months ago) by dsl
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
jym-xensuspend-nbase
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +16 -7
lines
Move that majority of the 'SRCS+= foo.c' into the main Makefile.libkern.
Any .S files added by the arch/*/Makefile.inc cause the .c file to
be excluded.
Specific exclusions added using NO_SRCS to match previous files.
At least sparc, sparc64, i386, amd64 and vax GENERIC still build.
(There is a fubar with the naming of the byte-swap files ...)
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Aug 12 21:18:42 2009 UTC (17 years, 3 months ago) by dsl
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +18 -31
lines
Use stuff from libc/Makefile to auto-remove .c files if a .S has been added.
Use it to dispose of tne .c files that were already only conditionally
added.
Revision 1.1.6.2: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:32:45 2009 UTC (17 years, 3 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.1.6.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.6.1: +11 -1
lines
Sync with HEAD.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Jul 21 14:55:33 2009 UTC (17 years, 4 months ago) by joerg
Branches: MAIN
CVS tags: jymxensuspend-base
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +11 -1
lines
Move popcount et al to src/common and add popcount32/popcount64.
Requested by rmind@. MD should now override popcount32/popcount64 and
provide the aliases as fitting.
Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:20:32 2009 UTC (17 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.2: +2 -2
lines
sync with head
Revision 1.1.6.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:22:15 2009 UTC (17 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:13:50 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +88 -0
lines
sync with head.
Revision 1.1.4.3: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:37:13 2009 UTC (17 years, 6 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.1.4.2: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.4.2: +2 -2
lines
Sync with HEAD.
Revision 1.2.2.1
Wed Mar 25 01:26:13 2009 UTC (17 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
FILE REMOVED
Changes since revision 1.2: +0 -88
lines
file Makefile.libkern was added on branch yamt-nfs-mp on 2009-05-04 08:13:50 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Mar 25 01:26:13 2009 UTC (17 years, 7 months ago) by darran
Branches: MAIN
CVS tags: yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
jym-xensuspend-base
Branch point for: yamt-nfs-mp
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2
lines
Fixes PR kern/41069 and PR kern/41070.
Extends the Opencrypto API to allow the destination buffer size to be
specified when its not the same size as the input buffer (i.e. for
operations like compress and decompress).
The crypto_op and crypt_n_op structures gain a u_int dst_len field.
The session_op structure gains a comp_alg field to specify a compression
algorithm.
Moved four ioctls to new ids; CIOCGSESSION, CIOCNGSESSION, CIOCCRYPT,
and CIOCNCRYPTM.
Added four backward compatible ioctls; OCIOCGSESSION, OCIOCNGSESSION,
OCIOCCRYPT, and OCIOCNCRYPTM.
Backward compatibility is maintained in ocryptodev.h and ocryptodev.c which
implement the original ioctls and set dst_len and comp_alg to 0.
Adds user-space access to compression features.
Adds software gzip support (CRYPTO_GZIP_COMP).
Adds the fast version of crc32 from zlib to libkern. This should be generally
useful and provide a place to start normalizing the various crc32 routines
in the kernel. The crc32 routine is used in this patch to support GZIP.
With input and support from tls@NetBSD.org.
Revision 1.1.4.2: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:19:56 2009 UTC (17 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.1.4.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.4.1: +88 -0
lines
Sync with HEAD.
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:21 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.1: +88 -0
lines
Sync with HEAD.
Revision 1.1.4.1
Sun Jan 4 18:00:55 2009 UTC (17 years, 10 months ago) by skrll
Branches: nick-hppapmap
FILE REMOVED
Changes since revision 1.1: +0 -88
lines
file Makefile.libkern was added on branch nick-hppapmap on 2009-01-19 13:19:56 +0000
Revision 1.1.2.1
Sun Jan 4 18:00:55 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
FILE REMOVED
Changes since revision 1.1: +0 -88
lines
file Makefile.libkern was added on branch mjf-devfs2 on 2009-01-17 13:29:21 +0000
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Jan 4 18:00:55 2009 UTC (17 years, 10 months ago) by pooka
Branches: MAIN
CVS tags: nick-hppapmap-base2,
mjf-devfs2-base
Branch point for: nick-hppapmap,
mjf-devfs2,
jym-xensuspend
Split variables out of Makefile into Makefile.libkern so that we
can easily just .include it for the proper SRCS etc. definitions
in case we're interested in the files but not in building an actual
libkern.{a,o}. for librump
CVSweb <webmaster@jp.NetBSD.org>