Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (33m)  netbsd-8 (5d)  netbsd-10 (6d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 12:57:16 UTC Now

2021-08-21 23:00:32 UTC MAIN commitmail json YAML

2021-08-21 22:23:33 UTC MAIN commitmail json YAML

2021-08-21 17:50:02 UTC MAIN commitmail json YAML

ssdfb: add missing break in switch. Unbreaks contrast setting for SSD1353

spotted by hannken@

(tnn)

2021-08-21 15:57:00 UTC MAIN commitmail json YAML

Fix link erorrs on ancient monolithic Xservers after DRI3 was enabled.

https://mail-index.netbsd.org/source-changes/2021/08/19/msg131652.html
> fix dri3 extension building and build it.
>
> needed for amdgpu.

XXX: I wonder if each Xorg server extension can be enabled/disabled
    per ${MACHINE} basis rather than in MI include/dix-config.h header.

(tsutsui)

2021-08-21 13:22:19 UTC MAIN commitmail json YAML

2021-08-21 12:38:56 UTC MAIN commitmail json YAML

PR/56370: mirabilos: libedit change from 2017 kills history in gdb

(christos)

2021-08-21 12:34:59 UTC MAIN commitmail json YAML

Add more api to make gdb-11 happy (but not gdbtui as usual)

(christos)

2021-08-21 11:58:12 UTC MAIN commitmail json YAML

tests/lint: add more test cases for lossy integer conversion

(rillig)

2021-08-21 11:55:26 UTC MAIN commitmail json YAML

2021-08-21 11:50:57 UTC MAIN commitmail json YAML

tests/lint: guard against typos in test environment configuration

Some tests had "lint1-only-if" without a trailing colon, others included
the trailing colon.  The tests that included the trailing colon were run
even though they were supposed to be skipped, and they failed, as could
be expected.

To prevent further typos, always require the trailing colon, just as in
"lint1-flags" and fail fast on unknown "lint1" comments.

(rillig)

2021-08-21 11:27:27 UTC MAIN commitmail json YAML

lint: extract check_prototype_conversion_integer

No functional change.

(rillig)

2021-08-21 11:19:38 UTC MAIN commitmail json YAML

tests/lint: add tests for conversion from signed to unsigned

(rillig)

2021-08-21 10:18:14 UTC MAIN commitmail json YAML

s/recoding/recording/ in comments where it didn't actually mean recoding.

(andvar)

2021-08-21 10:06:33 UTC MAIN commitmail json YAML

s/accidentaly/accidentally/

(andvar)

2021-08-21 09:59:47 UTC MAIN commitmail json YAML

2021-08-21 09:09:39 UTC MAIN commitmail json YAML

2021-08-21 09:08:55 UTC MAIN commitmail json YAML

rename glue.c to sodium_module.c

(christos)

2021-08-21 09:08:08 UTC MAIN commitmail json YAML

renaname glue.c to sodium_module.c and remove libsodium_errno which is unused.

(christos)

2021-08-21 09:07:08 UTC MAIN commitmail json YAML

rename glue.c to sodium_module.c

(christos)

2021-08-21 08:47:23 UTC MAIN commitmail json YAML

Add glue.c for libsodium (suggested by riastradh). Tidy up.

(christos)

2021-08-21 08:39:01 UTC MAIN commitmail json YAML

lint: rename local variable '1' in fold_float

It looked too similar to the number 1.

(rillig)

2021-08-21 08:29:59 UTC MAIN commitmail json YAML

lint: fix spacing in tree.c

(rillig)

2021-08-21 08:18:48 UTC MAIN commitmail json YAML

lint: do not warn about '(void)arg' and similar expressions

In the current NetBSD build, 5260 of the 46264 total lint warnings are
about expressions that have a null effect.  Most of these occurrences
follow well-established patterns, which makes the warnings bogus.
Remove these warnings.

(rillig)

2021-08-21 07:52:07 UTC MAIN commitmail json YAML

tests/lint: demonstrate wrong warnings for 'null effect' expressions

(rillig)

2021-08-21 07:49:48 UTC MAIN commitmail json YAML

tests/lint: suggest better quickfix for expected lint diagnostics

The /* expect */ comments are usually so detailed that they are placed
in a line of their own, referring to the following line.

(rillig)

2021-08-21 07:03:30 UTC MAIN commitmail json YAML

lint: add missing newlines to grammar debug output

(rillig)

2021-08-20 20:25:28 UTC MAIN commitmail json YAML

2021-08-20 19:35:59 UTC netbsd-8 commitmail json YAML

2021-08-20 19:34:49 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #1692):

sys/netinet6/nd6.c: revision 1.277

nd6: prevent ln from being freed while releasing held packets

(martin)

2021-08-20 19:33:45 UTC netbsd-9 commitmail json YAML

2021-08-20 19:32:49 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #1338):

sys/netinet6/nd6.c: revision 1.277

nd6: prevent ln from being freed while releasing held packets

(martin)

2021-08-20 13:20:28 UTC MAIN commitmail json YAML

2021-08-20 07:23:54 UTC MAIN commitmail json YAML

note about per-cpu kernel profiling and its performance.

(ryo)

2021-08-20 06:36:10 UTC MAIN commitmail json YAML

mkdep: avoid memory allocation in findcc

This change takes the idea of handling strings as pairs in the form
(start, len) by Robert Elz from
https://mail-index.netbsd.org/source-changes-d/2021/08/20/msg013427.html
and expands it by avoiding one more memory allocation, for iterating the
PATH environment variable.

No functional change.

(rillig)

2021-08-20 05:45:20 UTC MAIN commitmail json YAML

mkdep: make argument of findcc const

Previously, findcc modified its argument string, even though it had been
declared as 'const char *'.  This triggered a lint warning that "strchr
effectively discards 'const char *' from argument", in fact, this code
caused the lint check to be implemented in the first place.

The first attempt at fixing it by removing the 'const' from the
parameter type was a bad idea since it made the API of that function
more complicated.

Revert back to making the parameter a 'const char *' and duplicate that
string internally as necessary.  Add a few more tests for absolute
pathnames since these had been missing before.  There are no tests yet
for snprintf with too long strings, but the current change does not
modify that part of the code.

(rillig)

2021-08-20 04:23:56 UTC MAIN commitmail json YAML

mkdep: fix string constness in call to findcc

(rillig)

2021-08-19 22:17:56 UTC MAIN commitmail json YAML

Add forgotten commit for previous. Change IXGBE_RX_COPY_LEN_MAX.

(msaitoh)

2021-08-19 21:21:04 UTC MAIN commitmail json YAML

mkdep: fix prototype of findcc

A function that modifies a string argument must not declare that
argument as 'const char *', even if all callers (mkdep and lint) always
pass it a modifiable string.

No functional change.

(rillig)

2021-08-19 21:13:58 UTC MAIN commitmail json YAML

2021-08-19 20:56:37 UTC MAIN commitmail json YAML

2021-08-19 20:53:37 UTC MAIN commitmail json YAML

lint: clean up formatting of 'fold'

(rillig)

2021-08-19 20:48:48 UTC MAIN commitmail json YAML

2021-08-19 20:43:58 UTC MAIN commitmail json YAML

add plural for packets and move it to new line to keep 80 symbols per line.

(andvar)

2021-08-19 20:32:33 UTC MAIN commitmail json YAML

tests/lint: test folding of constant expressions

Since November 2001, there is a comment above the function 'fold' that
suggests there are a few bugs concerning overflow detection.  Add some
first 'proper regression tests' to prove these bugs.

(rillig)

2021-08-19 20:08:25 UTC MAIN commitmail json YAML

lint: clean up lex_integer_constant

When lexing an integer constant, it does not make sense to check for
'struct', 'void' or other types.  Furthermore, the constants were listed
in some random-looking order, which made the code hard to read.

(rillig)

2021-08-19 18:39:34 UTC MAIN commitmail json YAML

lint: un-abbreviate parameter names of macro

(rillig)

2021-08-19 17:50:18 UTC MAIN commitmail json YAML

ssdfb: add support for SSD1306 and SH1106 at spi attachment

Only support the 4-wire mode for now. Support for 3-wire mode is
theoretically possible but most (all?) modules in circulation have the
BS0 / IM0 3-wire config pin internally grounded within the flat-flex
assembly so it is not easy to enable & test.

(tnn)

2021-08-19 16:29:42 UTC MAIN commitmail json YAML

lint: remove redundant variable Bflag

No functional change.

(rillig)

2021-08-19 16:18:43 UTC MAIN commitmail json YAML

lint: remove unused static variable

(rillig)

2021-08-19 16:15:31 UTC MAIN commitmail json YAML

lint: simplify code for adding '-l' and '-L' to libraries

No functional change.

(rillig)

2021-08-19 16:05:56 UTC MAIN commitmail json YAML

lint: merge duplicate code for passing flags to subprocesses

No functional change.

(rillig)

2021-08-19 15:55:23 UTC MAIN commitmail json YAML

lint: uniformly pass command line flags to subprocesses

No functional change.

(rillig)

2021-08-19 15:50:30 UTC MAIN commitmail json YAML

make: fix lint warning about strrchr discarding 'const'

No functional change.

(rillig)

2021-08-19 14:03:43 UTC MAIN commitmail json YAML

2021-08-19 12:13:37 UTC MAIN commitmail json YAML

2021-08-19 11:53:02 UTC MAIN commitmail json YAML

2021-08-19 11:52:17 UTC MAIN commitmail json YAML

2021-08-19 11:50:57 UTC MAIN commitmail json YAML

2021-08-19 11:50:22 UTC MAIN commitmail json YAML

Merge changes between bind 9.16.15 and 9.16.20 and restore dns client APIs
needed by dhcpd.

(christos)

2021-08-19 11:04:21 UTC MAIN commitmail json YAML

ssdfb_spi: fix issues with command xfers needed for SSD1306 & SH1106

These controllers require D/C# to be deasserted for the entire duration
of the command, contrary to docs and how newer controllers like SSD1353
behave. Probably this is needed for all controllers that do not have the
WRITE_RAM (0x5c) command. Also support using alternate padding commands
for 3-wire mode when WRITE_RAM is not available.

(tnn)

2021-08-19 11:03:05 UTC MAIN commitmail json YAML

2021-08-19 11:02:35 UTC MAIN commitmail json YAML

2021-08-19 10:18:13 UTC MAIN commitmail json YAML

Use m_adj(ETHER_ALIGN) more. Tested by me (amd64,aarch64) and rin (alpha).

- Align with ETHER_ALIGN everywhere where mbuf is allocated.
- Remove extra setting of M_PKTHDR. No functional change.
- Add comment.

(msaitoh)

2021-08-19 09:05:23 UTC MAIN commitmail json YAML

2021-08-19 08:59:22 UTC MAIN commitmail json YAML

2021-08-19 08:53:21 UTC MAIN commitmail json YAML

KNF. No functional change.

(msaitoh)

2021-08-19 06:52:38 UTC MAIN commitmail json YAML

fix arm64 builds:  turn off MKCOMPAT for GCC

no idea why it was enabled as we can't easily target 32 bit.

if we figure this out for aarch32, the subdir names etc will
probably be different, or we can just revive the deleted
files no longer referenced with this commit.

(mrg)

2021-08-19 05:09:24 UTC MAIN commitmail json YAML

don't mark sodium as solaris

(christos)

2021-08-19 04:53:21 UTC netbsd-9 commitmail json YAML

2021-08-19 04:52:10 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #1333):
usr.sbin/sysinst/defs.h: revision 1.72
usr.sbin/sysinst/disks.c: revision 1.75
usr.sbin/sysinst/upgrade.c: revision 1.18
PR 56354: all actions to set up swap space are not guaranteed to gain
us enough virtual memory anyway, so drop return codes from set_swap*.
The state for cleanup (which swap dev to unuse) has been made global
some time ago anyway.
Previously use of the return values was inconsistent. Error reporting
will only confuse users and sometimes the situation is hard to fix or
even impossible (like in miniroots copide to swap space for booting).

(snj)

2021-08-19 04:49:30 UTC MAIN commitmail json YAML

Don't use fixed value. No functional change.

(msaitoh)

2021-08-19 04:47:12 UTC MAIN commitmail json YAML

Don't call bus_dmamap_sync with rx_mbuf_sz(== MCLBYTES) to prevent panic.

If an mbuf is ETHER_ALIGNed, the packet size may be shorter than MCLBYTES.
For example, if the max frame size is 2048 by changing the interface's MTU,
an mbuf's max length is 2046. So, don't use rx_mbuf_sz for bus_dmamap_sync.

(msaitoh)

2021-08-19 04:34:57 UTC MAIN commitmail json YAML

2021-08-19 03:36:42 UTC MAIN commitmail json YAML

Added description of license

(yamaguchi)

2021-08-19 03:27:05 UTC MAIN commitmail json YAML

Make the test program run in background after doing BIOCPROMISC

t_vlan has rarely failed by checking IFF_PROMISC before the
test program do BIOCPROMISC. To solve this, BIOCPROMISC is
done in the foreground.

fixes PR/56357

(yamaguchi)

2021-08-19 02:05:34 UTC MAIN commitmail json YAML

2021-08-18 11:26:17 UTC MAIN commitmail json YAML

PR/56355: Exclude the symbol trap, not all symbols other than trap.

(riastradh)

2021-08-18 09:34:45 UTC MAIN commitmail json YAML

Don't define HAVE_TI_MODE if we don't have it.

(christos)

2021-08-18 09:18:09 UTC MAIN commitmail json YAML

It's time to add ixg(4) and ixv(4).

(msaitoh)

2021-08-18 09:17:17 UTC MAIN commitmail json YAML

Refresh unrefreshed descriptors' buffers correctly.

- Update next_to_refresh at least before ixgbe_rx_unrefresed() to detect
  the unrefreshed status correctly in ixgbe_rxeof().
- next_to_refresh points to the previous entry of the first unrefreshed
  descriptor, so fix a loop variable to point to the correct one in
  ixgbe_refresh_mbufs().
- Without the above two fixes, RX ring may have some unrefreshed entries
  which have inconsistent state. On such state, "ifconfig down up" causes
  panic in bus_dmamap_sync() on aarch64.
- Tested on amd64 and aarch64. OK'd by knakahara.

(msaitoh)

2021-08-18 09:07:07 UTC MAIN commitmail json YAML

2021-08-17 22:29:11 UTC MAIN commitmail json YAML

lint: extract suppress_messages from main

No functional change.

(rillig)

2021-08-17 22:00:33 UTC MAIN commitmail json YAML

2021-08-17 21:39:32 UTC MAIN commitmail json YAML

s/blake2s/blakes2s/ to match the directory that exists

(kre)

2021-08-17 21:19:02 UTC MAIN commitmail json YAML

lint: sync usage message with reality

(rillig)

2021-08-17 21:05:34 UTC MAIN commitmail json YAML

lint: move GCC builtins into gcc_builtins

No functional change.

(rillig)

2021-08-17 17:31:59 UTC MAIN commitmail json YAML

2021-08-17 17:31:13 UTC MAIN commitmail json YAML

Some signnes, casts, and constant sizes.
Add module dependencies.

(christos)

2021-08-17 17:30:01 UTC MAIN commitmail json YAML

2021-08-17 17:29:20 UTC MAIN commitmail json YAML

2021-08-17 17:16:40 UTC MAIN commitmail json YAML

s/Windw/Window/ in log message.

(andvar)

2021-08-17 14:11:22 UTC MAIN commitmail json YAML

tty.4: s/asynchronus/asynchronous/

(andvar)

2021-08-17 09:43:21 UTC MAIN commitmail json YAML

nd6: prevent ln from being freed while releasing held packets

(ozaki-r)

2021-08-17 07:18:43 UTC MAIN commitmail json YAML

Add missing check for error returns from read().  Found by inspection
while reviewing the changes suggested by RVP in PR install/56303, but
not believed to be the cause of the failure reported in that PR.

(gson)

2021-08-17 01:59:16 UTC MAIN commitmail json YAML

add missing tpool.c.  fixes libreoffice build.

(mrg)

2021-08-16 20:27:31 UTC MAIN commitmail json YAML

2021-08-16 20:11:03 UTC MAIN commitmail json YAML

2021-08-16 18:51:58 UTC MAIN commitmail json YAML

2021-08-16 18:51:03 UTC MAIN commitmail json YAML

lint: remove dead code from check_bad_enum_operation

There is a single caller of that function, and it checks the exact same
condition beforehand.

(rillig)

2021-08-16 18:43:09 UTC MAIN commitmail json YAML

2021-08-16 17:42:06 UTC MAIN commitmail json YAML

2021-08-16 17:41:00 UTC MAIN commitmail json YAML

note sh3 -> GCC 10.

(mrg)

2021-08-16 17:40:16 UTC MAIN commitmail json YAML

switch sh3 to GCC 10.  buh bye GCC 9!

thanks to everyone who helped (most espcially rin@.)

(mrg)

2021-08-16 16:19:47 UTC MAIN commitmail json YAML

tests/lint: document history of initialization of const members

(rillig)

2021-08-16 06:56:28 UTC MAIN commitmail json YAML

src/distrib/sets/lists/base/mi@1.1281 / diff / nxr@1.1281
src/distrib/sets/lists/comp/mi@1.2391 / diff / nxr@1.2391
src/etc/mtree/NetBSD.dist.base@1.237 / diff / nxr@1.237
src/external/gpl3/gcc/lib/libgomp/arch/aarch64/config.h@1.6 / diff / nxr@1.6
src/external/gpl3/gcc/lib/libgomp/arch/aarch64eb/config.h@1.4 / diff / nxr@1.4
src/external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64/c++config.h@1.16 / diff / nxr@1.16
src/external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64/defs.mk@1.13 / diff / nxr@1.13
src/external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64/symver-config.h@1.9 / diff / nxr@1.9
src/external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64eb/c++config.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64eb/defs.mk@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64eb/symver-config.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libstdc++-v3/arch/alpha/defs.mk@1.16 / diff / nxr@1.16
src/external/gpl3/gcc/lib/libstdc++-v3/arch/alpha/gstdint.h@1.26 / diff / nxr@1.26
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earm/defs.mk@1.16 / diff / nxr@1.16
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmeb/defs.mk@1.17 / diff / nxr@1.17
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmhf/defs.mk@1.18 / diff / nxr@1.18
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmhfeb/defs.mk@1.16 / diff / nxr@1.16
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv4/defs.mk@1.17 / diff / nxr@1.17
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv4eb/defs.mk@1.16 / diff / nxr@1.16
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv6/defs.mk@1.16 / diff / nxr@1.16
      :
(more 89 files)
install experimental/* and ext/opt_random.h.  they're expected to
be there (and the latter was removed by accident.)

regen for everyone (also picks up missing tgmath.h for many ports.)

fixes build of pkgsrc/databases/mongodb for me.

(mrg)

2021-08-16 06:49:57 UTC MAIN commitmail json YAML

2021-08-16 06:30:43 UTC MAIN commitmail json YAML

2021-08-16 06:25:45 UTC MAIN commitmail json YAML

fetch experimental_headers, experimental_bits_headers, and ext_host_headers
to install install experimental/* and ext/opt_random.h.

(mrg)

2021-08-16 06:24:37 UTC MAIN commitmail json YAML

tests/lint: remove unintended debugging output

(rillig)

2021-08-16 06:15:51 UTC MAIN commitmail json YAML

tests/lint: fix check for expected message in msg tests

(rillig)

2021-08-15 22:22:52 UTC MAIN commitmail json YAML

libedit: simplify calls to macro ADD_STRING

The lint comments CONSTCOND and LINTED were not necessary.  It is
simpler to just specify what to free.  GCC optimizes free(NULL) to be a
no-op.

No functional change.

(rillig)

2021-08-15 22:14:45 UTC MAIN commitmail json YAML

readline: fix lint warning about effective unconst cast

Calling strchr to avoid the syntactical unconst cast is not necessary
here.  A simple pointer assignment is enough.

No functional change.

(rillig)

2021-08-15 22:08:01 UTC MAIN commitmail json YAML

Define a constant for the size of device_t::dv_xname, rather than just
using 16.

(thorpej)

2021-08-15 21:51:56 UTC MAIN commitmail json YAML

tests/lint: correct interpretation of NOTREACHED

The branch is unconditionally taken, therefore any later code is
unreachable as well.

(rillig)

2021-08-15 21:21:14 UTC MAIN commitmail json YAML

tests/lint: test how NOTREACHED affects the unreachable warning

Inspired by lib/libedit/readline.c 1.159 from 2021-08-15.

(rillig)

2021-08-15 17:09:04 UTC MAIN commitmail json YAML

grep-3.7 out.

(wiz)

2021-08-15 16:33:57 UTC MAIN commitmail json YAML

PR/56355: Taylor Campbell: restore strcmp() over strncmp()

(christos)

2021-08-15 15:12:36 UTC MAIN commitmail json YAML

libcurses: fix usage of __warn_references

Since that macro can expand to an empty token list, it adds its own
semicolon as needed.  Removing the extra semicolon fixes the lint
warnings about empty declarations.  These empty declarations are a GCC
extension.

(rillig)

2021-08-15 14:26:40 UTC MAIN commitmail json YAML

lint: extend check for unconst functions

The functions memchr, strpbrk, strrchr and strstr effectively remove the
const qualifier of their first argument, just like strchr.

(rillig)

2021-08-15 14:00:27 UTC MAIN commitmail json YAML

2021-08-15 13:32:44 UTC MAIN commitmail json YAML

libcrypto: suppress irrelevant lint warnings

The conversion from 'unsigned long' to 'int' in line 805 is due to the
laziness of declaring a carry flag as BN_ULONG, to save an extra
line of declaration.

The constants in conditional context come from the macro 'bn_cp_32'.

The unconst cast is used for initializing local BIGNUM constants; the
struct member is declared as non-const pointer.

(rillig)

2021-08-15 13:08:20 UTC MAIN commitmail json YAML

2021-08-15 13:02:20 UTC MAIN commitmail json YAML

tests/lint: demonstrate wrong warning about signed '>>'

Seen in libdes/ostr2key.c(81).

(rillig)

2021-08-15 12:58:02 UTC MAIN commitmail json YAML

libdes: suppress some selected lint warnings

The type widths are handled carefully, so even if there is some
conversion from 64-bit long to uint32_t, no value bits get lost.

The fallthrough case statements are a variant of Duff's Device.

The bitwise '>>' on signed value is actually on a value of type
'unsigned char', and since all platforms supported by lint have
sizeof(int) == 4, the behavior is well defined.

(rillig)

2021-08-15 12:41:40 UTC MAIN commitmail json YAML

jemalloc: suppress two irrelevant lint warnings

(rillig)

2021-08-15 12:39:39 UTC MAIN commitmail json YAML

This is a mess; always define MB_LEN_MAX so both the regular and libhack
version of curses compiles. Really we should not be defining MB_LEN_MAX here,
and include <limits.h> in curses_private.h to get it.

(christos)

2021-08-15 12:16:02 UTC MAIN commitmail json YAML

Turn on EL_SAFEREAD

(christos)

2021-08-15 11:57:17 UTC MAIN commitmail json YAML

Add -I to find filecomplete.h

(christos)

2021-08-15 11:54:12 UTC MAIN commitmail json YAML

2021-08-15 11:44:39 UTC MAIN commitmail json YAML

Use MBL_LEN_MAX (constant) so that SSP works

(christos)

2021-08-15 11:00:43 UTC MAIN commitmail json YAML

Restore BSD BUGS section

(christos)

2021-08-15 10:58:04 UTC MAIN commitmail json YAML

restore a bit of history.

(christos)

2021-08-15 10:33:58 UTC MAIN commitmail json YAML

Conditionalize GSSAPI use on USE_KERBEROS

(christos)

2021-08-15 10:30:39 UTC MAIN commitmail json YAML

Fix sun2 build for ldap/gssapi

(christos)

2021-08-15 10:17:55 UTC MAIN commitmail json YAML

- Add command completion (from FreeBSD)
- Use EL_SAFEREAD

(christos)

2021-08-15 10:12:55 UTC MAIN commitmail json YAML

Add verb to sentence.

(wiz)

2021-08-15 10:08:41 UTC MAIN commitmail json YAML

Disable attempts to handle EINTR and non-blocking I/O by default. It is
confusing to other programs and unexpected behavior. Reported by Ingo Schwarze.
This behavior is now controlled with EL_SAFEREAD.

(christos)

2021-08-15 10:06:32 UTC MAIN commitmail json YAML

Add a LINTED comment... Why doesn't NOTREACHED work?

(christos)

2021-08-15 10:04:53 UTC netbsd-8 commitmail json YAML

2021-08-15 10:03:46 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1691):

sys/compat/common/vfs_syscalls_43.c: revision 1.67
sys/compat/common/vfs_syscalls_50.c: revision 1.26
sys/compat/common/vfs_syscalls_30.c: revision 1.42

- memset struct stat to avoid kernel memory disclosure of padded fields
  (thanks Trend Micro for the report)
- use do_fhstat
- consistency in argument order of compat functions

(martin)

2021-08-15 09:30:14 UTC netbsd-9 commitmail json YAML

2021-08-15 09:27:50 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1337):

sys/compat/common/vfs_syscalls_43.c: revision 1.67
sys/compat/common/vfs_syscalls_50.c: revision 1.26
sys/compat/common/vfs_syscalls_30.c: revision 1.42

- memset struct stat to avoid kernel memory disclosure of padded fields
  (thanks Trend Micro for the report)
- use do_fhstat
- consistency in argument order of compat functions

(martin)

2021-08-15 08:58:56 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #1336):

crypto/external/bsd/openssl/lib/libcrypto/arch/mips/mips.inc: revision 1.1
crypto/external/bsd/openssl/lib/libcrypto/arch/mips/mips.inc: revision 1.2
crypto/external/bsd/openssl/lib/libcrypto/arch/mips/bn.inc: revision 1.7
crypto/external/bsd/openssl/lib/libcrypto/arch/mips/poly1305.inc: revision 1.5
crypto/external/bsd/openssl/lib/libcrypto/arch/mips/bn.inc: revision 1.8
crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/bn.inc: revision 1.3
crypto/external/bsd/openssl/lib/libcrypto/arch/mips/crypto.inc: revision 1.8
crypto/external/bsd/openssl/lib/libcrypto/arch/mips/aes.inc: revision 1.6
crypto/external/bsd/openssl/lib/libcrypto/arch/mips/sha.inc: revision 1.7

Centralize the logic for endian and 64 bit availability.

Handle the compat builds and both the n64 and non n64 variants

PR/56318: Izumi Tsutsui: Limit bn-sparcv8.S to sparc64; breaks
on sparcstation 2 (sun4c)

PR/56318: Izumi Tsutsui: Don't include mips.S for 32 bit mips because it
does not work for mips1

(martin)

2021-08-15 08:57:01 UTC MAIN commitmail json YAML

2021-08-15 08:44:39 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #1335):

distrib/sun3/miniroot/install.md: revision 1.8
distrib/sun3/miniroot/install.md: revision 1.9
distrib/sun2/miniroot/install.md: revision 1.8
distrib/sun2/miniroot/install.md: revision 1.9

Don't try to add swap on miniroot.

Check if /tmp is writable to see whether the rootdev is already mounted.

Creating a dummy /tmp/root_writable file and after mountroot and
checking it on the second installation could be problematic if
users retry to installation after reboot without reinstalling miniroot.

Taken from amiga.

(martin)

2021-08-15 08:41:47 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #1334):

distrib/notes/hp300/hardware: revision 1.25
distrib/notes/hp300/hardware: revision 1.26

HP9000/360 can have up to 16 MB RAM, not 48 MB.

Per Service Information Manual HP 9000 Series 300 Computers Models 360/370.

Mention that emulated disks by HPDisk and HPDrive work.
Also add more HP-IB disk models per recent changes.

(martin)

2021-08-15 07:57:46 UTC MAIN commitmail json YAML

- memset struct stat to avoid kernel memory disclosure of padded fields
  (thanks Trend Micro for the report)
- use do_fhstat
- consistency in argument order of compat functions

(christos)

2021-08-15 00:36:11 UTC MAIN commitmail json YAML

utmpx.h: fix comment missed in r. 1.10 _NETBSD_SOURCE changes

(gutteridge)

2021-08-14 23:56:32 UTC MAIN commitmail json YAML

note some things i've done lately:

- efiboot / libsa gained bi-endian / raidframe
- evbarm boot -d
- GCC and GMP updates

(mrg)

2021-08-14 21:17:11 UTC MAIN commitmail json YAML

fix rumpkernel build failure

(ryo)

2021-08-14 20:43:05 UTC MAIN commitmail json YAML

fix typo in CRK_ALGORITHM_MIN definition to match CRK_ALGORITHM_MAX one.
while here fix few typos in comments.

(andvar)

2021-08-14 17:51:20 UTC MAIN commitmail json YAML

Improved the performance of kernel profiling on MULTIPROCESSOR, and possible to get profiling data for each CPU.

In the current implementation, locks are acquired at the entrance of the mcount
internal function, so the higher the number of cores, the more lock conflict
occurs, making profiling performance in a MULTIPROCESSOR environment unusable
and slow. Profiling buffers has been changed to be reserved for each CPU,
improving profiling performance in MP by several to several dozen times.

- Eliminated cpu_simple_lock in mcount internal function, using per-CPU buffers.
- Add ci_gmon member to struct cpu_info of each MP arch.
- Add kern.profiling.percpu node in sysctl tree.
- Add new -c <cpuid> option to kgmon(8) to specify the cpuid, like openbsd.
  For compatibility, if the -c option is not specified, the entire system can be
  operated as before, and the -p option will get the total profiling data for
  all CPUs.

(ryo)

2021-08-14 17:38:44 UTC MAIN commitmail json YAML

don't include "opt_multiprocessor.h" inside an ifdef to work "make depend" properly.

(ryo)

2021-08-14 17:08:21 UTC MAIN commitmail json YAML

One more ldap change

(christos)

2021-08-14 16:20:31 UTC MAIN commitmail json YAML

2021-08-14 16:18:32 UTC MAIN commitmail json YAML

2021-08-14 16:17:57 UTC MAIN commitmail json YAML

2021-08-14 16:16:32 UTC MAIN commitmail json YAML

Centralize the ldap libraries

(christos)

2021-08-14 16:15:46 UTC MAIN commitmail json YAML

2021-08-14 16:15:04 UTC MAIN commitmail json YAML

src/external/bsd/openldap/bin/Makefile.inc@1.7 / diff / nxr@1.7
src/external/bsd/openldap/dist/build/mkversion@1.10 / diff / nxr@1.10
src/external/bsd/openldap/dist/build/version.h@1.3 / diff / nxr@1.3
src/external/bsd/openldap/dist/clients/tools/common.c@1.10 / diff / nxr@1.10
src/external/bsd/openldap/dist/clients/tools/common.h@1.3 / diff / nxr@1.3
src/external/bsd/openldap/dist/clients/tools/ldapcompare.c@1.3 / diff / nxr@1.3
src/external/bsd/openldap/dist/clients/tools/ldapdelete.c@1.3 / diff / nxr@1.3
src/external/bsd/openldap/dist/clients/tools/ldapexop.c@1.3 / diff / nxr@1.3
src/external/bsd/openldap/dist/clients/tools/ldapmodify.c@1.3 / diff / nxr@1.3
src/external/bsd/openldap/dist/clients/tools/ldapmodrdn.c@1.3 / diff / nxr@1.3
src/external/bsd/openldap/dist/clients/tools/ldappasswd.c@1.3 / diff / nxr@1.3
src/external/bsd/openldap/dist/clients/tools/ldapsearch.c@1.3 / diff / nxr@1.3
src/external/bsd/openldap/dist/clients/tools/ldapurl.c@1.3 / diff / nxr@1.3
src/external/bsd/openldap/dist/clients/tools/ldapvc.c@1.2 / diff / nxr@1.2
src/external/bsd/openldap/dist/clients/tools/ldapwhoami.c@1.3 / diff / nxr@1.3
src/external/bsd/openldap/dist/configure.in deleted
src/external/bsd/openldap/dist/contrib/ldapc++/configure.in deleted
src/external/bsd/openldap/dist/contrib/ldapc++/src/LDAPAddRequest.h@1.3 / diff / nxr@1.3
src/external/bsd/openldap/dist/contrib/ldapc++/src/LDAPAsynConnection.h@1.3 / diff / nxr@1.3
src/external/bsd/openldap/dist/contrib/ldapc++/src/LDAPAttrType.h@1.3 / diff / nxr@1.3
      :
(more 833 files)
Merge openldap-2.5.6.

(christos)

2021-08-14 14:43:30 UTC MAIN commitmail json YAML

make: add ARGSUSED for lint

(rillig)

2021-08-14 14:25:51 UTC MAIN commitmail json YAML

2021-08-14 13:39:43 UTC MAIN commitmail json YAML

make: fix spelling of CVS and RCS in error message

(rillig)

2021-08-14 13:37:56 UTC MAIN commitmail json YAML

make: rename ParseMark to be more expressive

No functional change.

(rillig)

2021-08-14 13:32:12 UTC MAIN commitmail json YAML

make: rename variable and function for handling parse errors

The word 'fatals' was an unnecessary abbreviation.

No functional change.

(rillig)

2021-08-14 13:26:07 UTC MAIN commitmail json YAML

make: extract RanlibOODate into separate function

No functional change.

(rillig)

2021-08-14 13:11:33 UTC MAIN commitmail json YAML

make: remove workaround for initialization bug in lint

The bug has been fixed in init.c 1.208 from 2021-08-14.

(rillig)

2021-08-14 13:04:00 UTC MAIN commitmail json YAML

make: fix lint warning about strchr removing 'const'

No functional change.

(rillig)

2021-08-14 13:00:55 UTC MAIN commitmail json YAML

2021-08-14 12:46:24 UTC MAIN commitmail json YAML

lint: allow initialization of struct with constant member

The operator INIT, just like RETURN and FARG, initializes an object with
an expression.  The target object of such an initialization may be a
struct with constant members.

The operator ASSIGN, on the other hand, is entirely different.  It
overwrites the existing value of the object, and this is not allowed for
structs that have a constant member.  Therefore it was wrong to use the
operator ASSIGN for initialization.

(rillig)

2021-08-13 21:04:44 UTC MAIN commitmail json YAML

s/fame/frame in mvxpe_mib_def with assumption that it was not intentional typo.

(andvar)

2021-08-13 20:47:55 UTC MAIN commitmail json YAML

2021-08-13 20:26:07 UTC MAIN commitmail json YAML

2021-08-13 20:19:45 UTC MAIN commitmail json YAML

fix multiple typos in comments.

(andvar)

2021-08-13 20:19:14 UTC MAIN commitmail json YAML

2021-08-13 11:40:43 UTC MAIN commitmail json YAML

2021-08-12 20:53:18 UTC MAIN commitmail json YAML

2021-08-12 20:25:27 UTC MAIN commitmail json YAML

2021-08-12 20:13:54 UTC MAIN commitmail json YAML

2021-08-12 19:53:18 UTC MAIN commitmail json YAML

2021-08-12 19:15:15 UTC MAIN commitmail json YAML

s/beween/between/

(andvar)

2021-08-12 15:06:39 UTC MAIN commitmail json YAML

add directory for debug data for mkdep tests

(martin)

2021-08-12 13:27:42 UTC MAIN commitmail json YAML

h_findcc.debug is not obsolete

(martin)

2021-08-12 12:51:25 UTC MAIN commitmail json YAML

oops, fix h_findcc entry

(martin)

2021-08-12 11:57:07 UTC MAIN commitmail json YAML

Add new mkdep test helper h_findcc

(martin)

2021-08-12 11:50:42 UTC MAIN commitmail json YAML

Add directory for new mkdep test binaries

(martin)

2021-08-12 09:33:59 UTC MAIN commitmail json YAML

PR 56354: all actions to set up swap space are not guaranteed to gain
us enough virtual memory anyway, so drop return codes from set_swap*.
The state for cleanup (which swap dev to unuse) has been made global
some time ago anyway.

Previously use of the return values was inconsistent. Error reporting
will only confuse users and sometimes the situation is hard to fix or
even impossible (like in miniroots copide to swap space for booting).

(martin)

2021-08-11 23:02:39 UTC MAIN commitmail json YAML

Fix glamor - don't use stub functions
${LDADD.gbm} seems to be empty - use -lgbm directly (couldn't find a better
fix)

(maya)

2021-08-11 20:48:16 UTC MAIN commitmail json YAML

mkdep: document possible undefined behavior

If findcc is called with a constant string, as its prototype suggests,
the process crashes with a segmentation fault.  Luckily, neither mkdep
nor lint do that, but the function prototype is nevertheless confusing.

(rillig)

2021-08-11 20:42:26 UTC MAIN commitmail json YAML

2021-08-11 17:25:54 UTC netbsd-8 commitmail json YAML

2021-08-11 17:24:43 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by kardel in ticket #1690):

sys/netinet6/in6_src.c: revision 1.88

PR kern/56348

MTU discovery fails with IPv6 sockets bound to IPv4 mapped address
pick up the IPv4 route for IPv4 mapped IPv6 address to get the correct
MTU and not any unrelated/inappropriate MTU from IPv6 routes. IPv4 mapped
IPv6 addresses are always handled by the IPv4 stack and MTU discovery
is solely handled with the IPv4 routing table.

(martin)

2021-08-11 17:23:19 UTC netbsd-9 commitmail json YAML

2021-08-11 17:22:17 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kardel in ticket #1332):

sys/netinet6/in6_src.c: revision 1.88

PR kern/56348

MTU discovery fails with IPv6 sockets bound to IPv4 mapped address
pick up the IPv4 route for IPv4 mapped IPv6 address to get the correct
MTU and not any unrelated/inappropriate MTU from IPv6 routes. IPv4 mapped
IPv6 addresses are always handled by the IPv4 stack and MTU discovery
is solely handled with the IPv4 routing table.

(martin)

2021-08-11 17:19:01 UTC netbsd-9 commitmail json YAML

src/common/lib/libc/arch/aarch64/atomic/atomic_add_16.S@1.1.28.1 / diff / nxr@1.1.28.1
src/common/lib/libc/arch/aarch64/atomic/atomic_add_32.S@1.1.28.1 / diff / nxr@1.1.28.1
src/common/lib/libc/arch/aarch64/atomic/atomic_add_64.S@1.1.28.1 / diff / nxr@1.1.28.1
src/common/lib/libc/arch/aarch64/atomic/atomic_add_8.S@1.1.28.1 / diff / nxr@1.1.28.1
src/common/lib/libc/arch/aarch64/atomic/atomic_and_16.S@1.1.28.1 / diff / nxr@1.1.28.1
src/common/lib/libc/arch/aarch64/atomic/atomic_and_32.S@1.1.28.1 / diff / nxr@1.1.28.1
src/common/lib/libc/arch/aarch64/atomic/atomic_and_64.S@1.1.28.1 / diff / nxr@1.1.28.1
src/common/lib/libc/arch/aarch64/atomic/atomic_and_8.S@1.1.28.1 / diff / nxr@1.1.28.1
src/common/lib/libc/arch/aarch64/atomic/atomic_cas_16.S@1.1.28.1 / diff / nxr@1.1.28.1
src/common/lib/libc/arch/aarch64/atomic/atomic_cas_32.S@1.1.28.1 / diff / nxr@1.1.28.1
src/common/lib/libc/arch/aarch64/atomic/atomic_cas_64.S@1.3.2.1 / diff / nxr@1.3.2.1
src/common/lib/libc/arch/aarch64/atomic/atomic_cas_8.S@1.1.28.1 / diff / nxr@1.1.28.1
src/common/lib/libc/arch/aarch64/atomic/atomic_dec_32.S@1.1.28.1 / diff / nxr@1.1.28.1
src/common/lib/libc/arch/aarch64/atomic/atomic_dec_64.S@1.1.28.1 / diff / nxr@1.1.28.1
src/common/lib/libc/arch/aarch64/atomic/atomic_inc_32.S@1.1.28.1 / diff / nxr@1.1.28.1
src/common/lib/libc/arch/aarch64/atomic/atomic_inc_64.S@1.1.28.1 / diff / nxr@1.1.28.1
src/common/lib/libc/arch/aarch64/atomic/atomic_nand_16.S@1.1.28.3 / diff / nxr@1.1.28.3
src/common/lib/libc/arch/aarch64/atomic/atomic_nand_32.S@1.1.28.2 / diff / nxr@1.1.28.2
src/common/lib/libc/arch/aarch64/atomic/atomic_nand_64.S@1.1.28.2 / diff / nxr@1.1.28.2
src/common/lib/libc/arch/aarch64/atomic/atomic_nand_8.S@1.1.28.2 / diff / nxr@1.1.28.2
      :
(more 18 files)
Pull up following revision(s) (requested by skrll in ticket #1331):

common/lib/libc/arch/aarch64/atomic/atomic_add_8.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_sub_8.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_sub_64.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_swap_64.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_swap_64.S: revision 1.5
common/lib/libc/arch/aarch64/atomic/atomic_inc_32.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_or_64.S: revision 1.3
common/lib/libc/arch/aarch64/atomic/atomic_and_16.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_xor_64.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_and_32.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_nand_8.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_add_64.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_op_asm.h: revision 1.5
common/lib/libc/arch/aarch64/atomic/atomic_swap_8.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_op_asm.h: revision 1.6
common/lib/libc/arch/aarch64/atomic/atomic_cas_64.S: revision 1.4
common/lib/libc/arch/aarch64/atomic/atomic_nand_8.S: revision 1.5
common/lib/libc/arch/aarch64/atomic/atomic_sub_16.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_cas_64.S: revision 1.6
common/lib/libc/arch/aarch64/atomic/atomic_swap_8.S: revision 1.5
common/lib/libc/arch/aarch64/atomic/atomic_sub_32.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_swap_32.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_nand_64.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_swap_16.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_xor_8.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_swap_32.S: revision 1.5
common/lib/libc/arch/aarch64/atomic/atomic_or_32.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_nand_64.S: revision 1.5
common/lib/libc/arch/aarch64/atomic/atomic_swap_16.S: revision 1.5
common/lib/libc/arch/aarch64/atomic/atomic_or_8.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_or_16.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_cas_16.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_xor_16.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_cas_32.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_cas_16.S: revision 1.4
common/lib/libc/arch/aarch64/atomic/atomic_add_32.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_cas_8.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_xor_32.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_dec_64.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_cas_32.S: revision 1.4
common/lib/libc/arch/aarch64/atomic/atomic_add_16.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_cas_8.S: revision 1.4
common/lib/libc/arch/aarch64/atomic/membar_ops.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_nand_16.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_nand_32.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_nand_16.S: revision 1.5
common/lib/libc/arch/aarch64/atomic/atomic_nand_32.S: revision 1.5
common/lib/libc/arch/aarch64/atomic/atomic_inc_64.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_dec_32.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_and_8.S: revision 1.2
common/lib/libc/arch/aarch64/atomic/atomic_and_64.S: revision 1.2

Part I of ad@'s performance improvements for aarch64
- Remove memory barriers from the atomic ops.  I don't understand why thos=
e
  are there.  Is it some architectural thing, or for a CPU bug, or just
  over-caution maybe?  They're not needed for correctness.
- Have unlikely conditional branches go forwards to help the static branch
  predictor.

Remove memory barriers from the atomic ops macros in the same way as was
done for the other atomic ops earlier.

Use the correct barriers - all of membar_{sync,producer,consumer} have
less scope than before.

LGTM from riastradh

As we're providing the legacy gcc __sync built-in functions for atomic
memory access we might as well get the memory barriers right...

From the gcc documentation:

In most cases, these built-in functions are considered a full barrier.
That is, no memory operand is moved across the operation, either forward
or backward. Further, instructions are issued as necessary to prevent the
processor from speculating loads across the operation and from queuing
stores after the operation.

type __sync_lock_test_and_set (type *ptr, type value, ...)
    This built-in function is not a full barrier, but rather an acquire
    barrier. This means that references after the operation cannot move to
    (or be speculated to) before the operation, but previous memory stores
    may not be globally visible yet, and previous memory loads may not yet
    be satisfied.

void __sync_lock_release (type *ptr, ...)
    This built-in function is not a full barrier, but rather a release
    barrier. This means that all previous memory stores are globally
    visible, and all previous memory loads have been satisfied, but
    following memory reads are not prevented from being speculated to
    before the barrier.

(martin)

2021-08-11 17:05:42 UTC netbsd-9 commitmail json YAML

src/common/lib/libc/arch/arm/atomic/atomic_add_16.S@1.3.28.1 / diff / nxr@1.3.28.1
src/common/lib/libc/arch/arm/atomic/atomic_add_32.S@1.8.26.1 / diff / nxr@1.8.26.1
src/common/lib/libc/arch/arm/atomic/atomic_add_64.S@1.11.28.2 / diff / nxr@1.11.28.2
src/common/lib/libc/arch/arm/atomic/atomic_add_8.S@1.3.28.1 / diff / nxr@1.3.28.1
src/common/lib/libc/arch/arm/atomic/atomic_and_16.S@1.3.28.1 / diff / nxr@1.3.28.1
src/common/lib/libc/arch/arm/atomic/atomic_and_32.S@1.8.26.1 / diff / nxr@1.8.26.1
src/common/lib/libc/arch/arm/atomic/atomic_and_64.S@1.10.28.2 / diff / nxr@1.10.28.2
src/common/lib/libc/arch/arm/atomic/atomic_and_8.S@1.3.28.1 / diff / nxr@1.3.28.1
src/common/lib/libc/arch/arm/atomic/atomic_cas_16.S@1.2.32.1 / diff / nxr@1.2.32.1
src/common/lib/libc/arch/arm/atomic/atomic_cas_32.S@1.7.28.1 / diff / nxr@1.7.28.1
src/common/lib/libc/arch/arm/atomic/atomic_cas_64.S@1.11.2.1 / diff / nxr@1.11.2.1
src/common/lib/libc/arch/arm/atomic/atomic_cas_8.S@1.7.28.2 / diff / nxr@1.7.28.2
src/common/lib/libc/arch/arm/atomic/atomic_cas_up.S@1.7.28.1 / diff / nxr@1.7.28.1
src/common/lib/libc/arch/arm/atomic/atomic_dec_32.S@1.5.28.1 / diff / nxr@1.5.28.1
src/common/lib/libc/arch/arm/atomic/atomic_dec_64.S@1.7.30.1 / diff / nxr@1.7.30.1
src/common/lib/libc/arch/arm/atomic/atomic_inc_32.S@1.7.28.1 / diff / nxr@1.7.28.1
src/common/lib/libc/arch/arm/atomic/atomic_inc_64.S@1.9.30.1 / diff / nxr@1.9.30.1
src/common/lib/libc/arch/arm/atomic/atomic_nand_16.S@1.3.18.1 / diff / nxr@1.3.18.1
src/common/lib/libc/arch/arm/atomic/atomic_nand_32.S@1.3.18.1 / diff / nxr@1.3.18.1
src/common/lib/libc/arch/arm/atomic/atomic_nand_64.S@1.4.18.2 / diff / nxr@1.4.18.2
      :
(more 25 files)
Pull up following revision(s) (requested by skrll in ticket #1330):

common/lib/libc/arch/arm/atomic/atomic_swap.S: revision 1.18
common/lib/libc/arch/arm/atomic/atomic_and_16.S: revision 1.5
common/lib/libc/arch/arm/atomic/atomic_swap.S: revision 1.19
common/lib/libc/arch/arm/atomic/atomic_xor_64.S: revision 1.6
common/lib/libc/arch/arm/atomic/atomic_inc_32.S: revision 1.8
common/lib/libc/arch/arm/atomic/atomic_and_32.S: revision 1.9
common/lib/libc/arch/arm/atomic/atomic_add_8.S: revision 1.4
common/lib/libc/arch/arm/atomic/atomic_xor_64.S: revision 1.7
common/lib/libc/arch/arm/atomic/atomic_inc_32.S: revision 1.9
common/lib/libc/arch/arm/atomic/atomic_cas_up.S: revision 1.8
common/lib/libc/arch/arm/atomic/atomic_add_8.S: revision 1.5
common/lib/libc/arch/arm/atomic/atomic_op_asm.h: revision 1.9
common/lib/libc/arch/arm/atomic/membar_ops.S: revision 1.8
common/lib/libc/arch/arm/atomic/membar_ops.S: revision 1.9
common/lib/libc/arch/arm/atomic/atomic_op_asm.h: revision 1.10
common/lib/libc/arch/arm/atomic/atomic_and_32.S: revision 1.10
common/lib/libc/arch/arm/atomic/atomic_cas_16.S: revision 1.3
common/lib/libc/arch/arm/atomic/sync_fetch_and_and_8.S: revision 1.6
common/lib/libc/arch/arm/atomic/atomic_xor_32.S: revision 1.4
common/lib/libc/arch/arm/atomic/atomic_xor_32.S: revision 1.5
common/lib/libc/arch/arm/atomic/atomic_nand_64.S: revision 1.6
common/lib/libc/arch/arm/atomic/atomic_xor_16.S: revision 1.4
common/lib/libc/arch/arm/atomic/atomic_swap_16.S: revision 1.6
common/lib/libc/arch/arm/atomic/atomic_nand_64.S: revision 1.7
common/lib/libc/arch/arm/atomic/atomic_cas_32.S: revision 1.8
common/lib/libc/arch/arm/atomic/atomic_xor_16.S: revision 1.5
common/lib/libc/arch/arm/atomic/atomic_swap_16.S: revision 1.7
common/lib/libc/arch/arm/atomic/atomic_add_32.S: revision 1.10
common/lib/libc/arch/arm/atomic/sync_fetch_and_add_8.S: revision 1.6
common/lib/libc/arch/arm/atomic/atomic_dec_64.S: revision 1.8
common/lib/libc/arch/arm/atomic/atomic_add_16.S: revision 1.4
common/lib/libc/arch/arm/atomic/sync_fetch_and_sub_8.S: revision 1.6
common/lib/libc/arch/arm/atomic/atomic_xor_8.S: revision 1.4
common/lib/libc/arch/arm/atomic/atomic_dec_64.S: revision 1.9
common/lib/libc/arch/arm/atomic/atomic_add_16.S: revision 1.5
common/lib/libc/arch/arm/atomic/atomic_xor_8.S: revision 1.5
common/lib/libc/arch/arm/atomic/atomic_or_64.S: revision 1.13
common/lib/libc/arch/arm/atomic/atomic_add_32.S: revision 1.9
common/lib/libc/arch/arm/atomic/atomic_or_64.S: revision 1.14
common/lib/libc/arch/arm/atomic/atomic_or_16.S: revision 1.4
common/lib/libc/arch/arm/atomic/atomic_or_16.S: revision 1.5
common/lib/libc/arch/arm/atomic/sync_fetch_and_nand_8.S: revision 1.6
common/lib/libc/arch/arm/atomic/atomic_nand_16.S: revision 1.4
common/lib/libc/arch/arm/atomic/atomic_nand_16.S: revision 1.5
common/lib/libc/arch/arm/atomic/sync_fetch_and_or_8.S: revision 1.6
common/lib/libc/arch/arm/atomic/atomic_nand_32.S: revision 1.4
common/lib/libc/arch/arm/atomic/atomic_or_32.S: revision 1.9
common/lib/libc/arch/arm/atomic/atomic_nand_32.S: revision 1.5
common/lib/libc/arch/arm/atomic/atomic_cas_8.S: revision 1.9
common/lib/libc/arch/arm/atomic/atomic_inc_64.S: revision 1.10
common/lib/libc/arch/arm/atomic/atomic_inc_64.S: revision 1.11
common/lib/libc/arch/arm/atomic/atomic_cas_64.S: revision 1.12
common/lib/libc/arch/arm/atomic/sync_bool_compare_and_swap_8.S: revision 1.5
common/lib/libc/arch/arm/atomic/atomic_or_8.S: revision 1.4
common/lib/libc/arch/arm/atomic/atomic_dec_32.S: revision 1.6
common/lib/libc/arch/arm/atomic/atomic_or_8.S: revision 1.5
common/lib/libc/arch/arm/atomic/atomic_dec_32.S: revision 1.7
common/lib/libc/arch/arm/atomic/atomic_sub_64.S: revision 1.4
common/lib/libc/arch/arm/atomic/atomic_sub_64.S: revision 1.5
common/lib/libc/arch/arm/atomic/sync_fetch_and_xor_8.S: revision 1.6
common/lib/libc/arch/arm/atomic/sync_bool_compare_and_swap_4.S: revision 1.4
common/lib/libc/arch/arm/atomic/atomic_and_64.S: revision 1.12
common/lib/libc/arch/arm/atomic/atomic_or_32.S: revision 1.10
common/lib/libc/arch/arm/atomic/atomic_and_64.S: revision 1.13
common/lib/libc/arch/arm/atomic/sync_bool_compare_and_swap_2.S: revision 1.4
common/lib/libc/arch/arm/atomic/atomic_swap_64.S: revision 1.14
common/lib/libc/arch/arm/atomic/sync_bool_compare_and_swap_1.S: revision 1.4
common/lib/libc/arch/arm/atomic/atomic_nand_8.S: revision 1.4
common/lib/libc/arch/arm/atomic/atomic_and_8.S: revision 1.4
common/lib/libc/arch/arm/atomic/atomic_add_64.S: revision 1.13
common/lib/libc/arch/arm/atomic/atomic_nand_8.S: revision 1.5
common/lib/libc/arch/arm/atomic/atomic_and_8.S: revision 1.5
common/lib/libc/arch/arm/atomic/atomic_and_16.S: revision 1.4
common/lib/libc/arch/arm/atomic/atomic_add_64.S: revision 1.14

Give the thumb atomic ops a chance of working

s/ifdef _ARM_ARCH_6/if defined(_ARM_ARCH_6)/ for consistency.  NFCI.

Remove memory barriers from the atomic_ops(3) atomic operations.  They're
not needed for correctness.

Add the correct memory barriers to the gcc legacy __sync built-in
functions for atomic memory access.  From the gcc documentation:

In most cases, these built-in functions are considered a full barrier.

That is, no memory operand is moved across the operation, either forward
or backward. Further, instructions are issued as necessary to prevent the
processor from speculating loads across the operation and from queuing
stores after the operation.

type __sync_lock_test_and_set (type *ptr, type value, ...)
    This built-in function is not a full barrier, but rather an acquire
    barrier. This means that references after the operation cannot move to
    (or be speculated to) before the operation, but previous memory stores
    may not be globally visible yet, and previous memory loads may not yet
    be satisfied.

void __sync_lock_release (type *ptr, ...)
    This built-in function is not a full barrier, but rather a release
    barrier. This means that all previous memory stores are globally
    visible, and all previous memory loads have been satisfied, but
    following memory reads are not prevented from being speculated to
    before the barrier.

(martin)

2021-08-11 11:16:49 UTC MAIN commitmail json YAML

PR/56355: Brad Harder: dtrace triggers double-fault in supervisor mode

(christos)

2021-08-11 09:12:07 UTC MAIN commitmail json YAML

cast from strchr fixed.

(christos)

2021-08-11 09:11:05 UTC MAIN commitmail json YAML

2021-08-11 05:37:45 UTC MAIN commitmail json YAML

lint: add reminder to sort the output of lint2

(rillig)