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 (1m)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (177d) 

2024-05-09 20:16:52 UTC Now

2020-11-15 08:12:35 UTC MAIN commitmail json YAML

make(1): fix previous commit for parse_debug_options

(rillig)

2020-11-15 08:10:15 UTC MAIN commitmail json YAML

make(1): reduce code size of parse_debug_options

Each access to a global variable requires a relocation.  Skip these.

(rillig)

2020-11-15 08:09:56 UTC MAIN commitmail json YAML

This file is #define<space>

(skrll)

2020-11-15 06:19:34 UTC MAIN commitmail json YAML

make(1): add test for passing MAKEFLAGS to sub-makes

(rillig)

2020-11-15 06:06:20 UTC MAIN commitmail json YAML

2020-11-15 05:48:18 UTC MAIN commitmail json YAML

make(1): fix test varmod-to-abs with USE_ABSOLUTE_TESTNAMES=yes

When running the tests with specifying absolute filenames, it doesn't
make sense to prefix the MAKEFILE with "./", which made the tests fail on
FreeBSD.

(rillig)

2020-11-15 05:43:56 UTC MAIN commitmail json YAML

Avoid problem with /usr/obj

(sjg)

2020-11-15 00:54:13 UTC MAIN commitmail json YAML

Commit the ZFS file that I forgot in this previous commit:

Move the handling of PG_PAGEOUT from uvm_aio_aiodone_pages() to
uvm_page_unbusy() so that all callers of uvm_page_unbusy() don't need to
handle this flag separately.  Split out the pages part of uvm_aio_aiodone()
into uvm_aio_aiodone_pages() in rump just like in the real kernel.
In ZFS functions that can fail to copy data between the ARC and VM pages,
use uvm_aio_aiodone_pages() rather than uvm_page_unbusy() so that we can
handle these "I/O" errors.  Fixes PR 55702.

(chs)

2020-11-15 00:19:17 UTC MAIN commitmail json YAML

Use "efi" boot image platform ID.

(jmcneill)

2020-11-15 00:18:48 UTC MAIN commitmail json YAML

Add "efi" as a supported boot image type and derive the platform ID for
the validation entry from the default boot image instead of hard-coding
X86.

(jmcneill)

2020-11-14 23:03:09 UTC MAIN commitmail json YAML

make(1): switch cache for realpath from GNode to HashTable

An unintended side effect from the GNode implementation was that the
variable modifier :tA and the other places where cached_realpath are
used could be affected by setting a variable in the global scope,
thereby "redirecting" absolute paths to completely unrelated but
existing paths.

Another unintended side effect was that filenames containing a dollar
sign would not be resolved correctly since the dollar sign would be
expanded as a variable expression by Var_Set.

While here, the debugging output for the realpath cache has been
adjusted to the standard behavior.  Previously, when a new entry was
added to the cache, this was logged for the module VAR, as a side effect
of calling Var_Set, but only if the preprocessor macro
DEBUG_REALPATH_CACHE was defined at compilation time.  When relative
paths were purged from the cache because the current directory changed
and logging for the DIR module was active, the log output went directly
to stderr instead of the usual opts.debug_file.  This deviation from the
standard behavior was probably not intended as well.

All logging concerning the realpath cache now goes into the standard
debug log file and is controlled by the -dd option, not -dv.

(rillig)

2020-11-14 22:39:14 UTC MAIN commitmail json YAML

2020-11-14 22:19:13 UTC MAIN commitmail json YAML

make(1): document the -S option

This option has been available at least since 1993-03-21, and for the
same time it has been undocumented.

(rillig)

2020-11-14 22:17:29 UTC MAIN commitmail json YAML

make(1): document since when the -C option is available

(rillig)

2020-11-14 22:16:18 UTC MAIN commitmail json YAML

make(1): fix trailing whitespace in usage (since 2009-08-27)

(rillig)

2020-11-14 21:55:22 UTC MAIN commitmail json YAML

make(1): don't modify progname in usage

(rillig)

2020-11-14 21:29:44 UTC MAIN commitmail json YAML

make(1): replace a few HashTable_CreateEntry with HashTable_Set

Instead of HashTable_CreateEntry and HashEntry_Set, several places just
need the HashEntry for storing a value in it.  This makes the calling
code simpler to understand.

These parts of the code are already hard enough to understand since they
are about memory management and aliasing.  Having a too detailed API for
the HashTable only distracts from these topics.

(rillig)

2020-11-14 21:24:03 UTC MAIN commitmail json YAML

PR/55802: Andreas Gustafsson: Unbreak reproducible builds.

For reproducible builds to work we need to have a consistent command
line (because the command line gets recorded in dwarf). So we can't
do:

    -ffile-prefix-map=/joe/random/src=/usr/src

because then /joe/random/src gets recorded. We do instead:

    -ffile-prefix-map=\$NETBSDSRCDIR=/usr/src

The patch restores the environment variable parsing that got lost
in the last 2 gcc upgrades.

(christos)

2020-11-14 20:07:13 UTC MAIN commitmail json YAML

New sentence, new line.
Other whitespace fixes, and some Xr fixes.

(wiz)

2020-11-14 20:04:46 UTC MAIN commitmail json YAML

2020-11-14 19:36:31 UTC MAIN commitmail json YAML

make(1): inline local variable in Dir_UpdateMTime

Now that the signature of cached_stats is cleaned up, the line is short
enough to contain the whole condition.

(rillig)

2020-11-14 19:24:24 UTC MAIN commitmail json YAML

make(1): remove redundant struct make_stat

In the cache for stat(2) and lstat(2), only one of the two timestamps
was ever used.  To prevent a result from stat(2) leaking into the cache
for lstat(2), there have been two completely separate caches all the
time.  Using different fields in the struct was therefore unnecessary.

By removing the redundant field, the internal struct in the cache is the
same as the external struct.  This makes one of them redundant, thus
struct make_stat has been renamed to cached_stat, which better describes
its purpose, and the internal struct cache_st has been removed.

Just as before, the cache prevents any direct access to its internal
data.  When passing it to the caller, it is copied.

Just as before, the field names of struct cached_stat cannot correspond
to those from struct stat, since the latter are often defined as macros.
Therefore they are prefixed with cst instead of st.

The redundancy had been added on 2020-06-05.

(rillig)

2020-11-14 18:47:21 UTC MAIN commitmail json YAML

make(1): add test for undocumented path-to-abspath mapping for :tA

(rillig)

2020-11-14 18:36:27 UTC MAIN commitmail json YAML

make(1): clean up Fatal

Use the shortest possible scope between va_start and the corresponding
va_end.

(rillig)

2020-11-14 18:14:34 UTC MAIN commitmail json YAML

make(1): clean up InitDefSysIncPath

Flipping the arguments to strncmp puts the subject first in the
sentence. Inverting the condition makes the code flow easier to follow.

(rillig)

2020-11-14 18:07:26 UTC MAIN commitmail json YAML

make(1): use progname instead of hard-coded 'make' in warning

This only affects the warning that chdir to objdir failed.  In sub-makes
the progname includes the [n], allowing to narrow down the actual cause
of the problem.

(rillig)

2020-11-14 17:39:59 UTC MAIN commitmail json YAML

make(1): remove redundant parameter from str2Lst_Append

(rillig)

2020-11-14 17:39:14 UTC MAIN commitmail json YAML

make(1): rename Main_SetVarObjdir to SetVarObjdir

Only exported functions should be prefixed with the module name.

(rillig)

2020-11-14 17:33:51 UTC MAIN commitmail json YAML

make(1): add tests for edge cases in parsing the command line

(rillig)

2020-11-14 17:29:41 UTC MAIN commitmail json YAML

make(1): use different style of accessing characters in MainParseArgs

The * is preferred for iterators.  Since argv[i] is not an iterator but
a fixed string, argv[i][0] expresses the idea "read the first character"
more directly.

(rillig)

2020-11-14 17:04:01 UTC MAIN commitmail json YAML

make(1): clean up JobExec, JobStart, JobDoOutput

The comments about temporary files for shell output are no longer
relevant since the output is always handled via pipes.

(rillig)

2020-11-14 16:44:04 UTC MAIN commitmail json YAML

make(1): remove indentation in JobOutput

(rillig)

2020-11-14 16:32:53 UTC MAIN commitmail json YAML

Add option -n to print only the value of a sensor.
If statistics are selected with -T, then also display max, min and average.
The empty line between each display is skipped when one or more sensors are
selected with -s.

(mlelstv)

2020-11-14 16:09:08 UTC MAIN commitmail json YAML

make(1): clean up comment above ParseDoDependencyTargetSpecial

(rillig)

2020-11-14 15:58:01 UTC MAIN commitmail json YAML

make(1): rename DEFAULT to defaultNode

In C, uppercase names are typically used for constants, and this is not
a constant.

(rillig)

2020-11-14 15:47:36 UTC MAIN commitmail json YAML

make(1): use stderr for error message about failed touch

Error messages belong on stderr, not stdout.  Since at least 1993,
stdout had been used for no good reason.  Plus, in all these years,
nobody ever tested this code path since otherwise the missing newline at
the end of the error message would have been obvious.

This is a good candidate for the "oldest bug in make" trophy.

(rillig)

2020-11-14 15:38:43 UTC netbsd-9 commitmail json YAML

2020-11-14 15:36:11 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by fair in ticket #1130):

sys/sys/param.h: revision 1.679
sys/conf/param.c: revision 1.69
sys/kern/init_main.c: revision 1.533

Set a better default for MAXFILES on larger RAM machines if not
otherwise specified the kernel config file.  Arbitary numbers are
20,000 files for 16GB RAM or more and 10,000 files for 1GB RAM or
more.

TODO: Adjust this and other values totally dynamically.

(martin)

2020-11-14 15:35:20 UTC MAIN commitmail json YAML

2020-11-14 15:03:37 UTC MAIN commitmail json YAML

make(1): fix debug output for GNode details

(rillig)

2020-11-14 14:57:05 UTC MAIN commitmail json YAML

make(1): use symbolic names in debug output of GNodes

(rillig)

2020-11-14 14:16:01 UTC MAIN commitmail json YAML

make(1): clean up Job_Touch

Several more outdated comments were removed.  To compensate for that,
several new comments mark places where errors are not properly
propagated.

(rillig)

2020-11-14 14:13:09 UTC MAIN commitmail json YAML

2020-11-14 13:59:58 UTC MAIN commitmail json YAML

2020-11-14 13:45:34 UTC MAIN commitmail json YAML

make(1): rename JobClose to JobClosePipes, remove confusing comments

The comments referred to w_status, which had been there in 1993, but not
anymore.  Several other details were outdated as well.

(rillig)

2020-11-14 13:27:02 UTC MAIN commitmail json YAML

make(1): fix grammar: setup -> set up

(rillig)

2020-11-14 13:17:47 UTC MAIN commitmail json YAML

make(1): test ignoring errors from shell commands in jobs mode

(rillig)

2020-11-14 13:07:39 UTC MAIN commitmail json YAML

make(1): replace macro DBPRINTF with JobPrintln

This macro had been bad in several ways.  Its name started with DB, an
unnecessary abbreviation for DEBUG.  Many places that used this macro
used it with the same format string, "%s\n".  This format string can
better be expressed in a function name, JobPrintln.

Only in a few places was the macro used with different format strings.
The one for "set -x" was even forced to arbitrarily separate the
argument from the format string in order to match the expected macro
parameters.

A better choice would have been to use the standard form "%s\n", "set
-x" from the beginning.  Anyway, that call is calling JobPrintln as well
now.

The remaining templates are user-specified, and if anyone should ever
define a completely custom shell with echo handling and error handling
enabled, they will easily crash make when the templates don't contain
exactly one %s conversion.  That's the responsibility of the user, and
it has always been.

(rillig)

2020-11-14 13:05:14 UTC MAIN commitmail json YAML

Improve dump_trapframe output layout and fix printing of s6/s7

(skrll)

2020-11-14 13:03:10 UTC netbsd-9 commitmail json YAML

2020-11-14 13:01:55 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by hannken in ticket #1131):

sys/coda/coda_vnops.c: revision 1.114 (patch)
sys/coda/coda.h: revision 1.21 (patch)

Rewrite coda_readdir() to directly process the container file.

Passing this operation down to the file system holding the container
cannot work for anything but UFS and UFS doesn't allow reading
directory from a plain file since ~2015.

Fixes PR kern/55775 Coda client, its in-kernel part, opens wrong files ...

(martin)

2020-11-14 12:59:56 UTC netbsd-8 commitmail json YAML

2020-11-14 12:59:06 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by hannken in ticket #1622):

sys/coda/coda_vnops.c: revision 1.114 (patch)
sys/coda/coda.h: revision 1.21 (patch)

Rewrite coda_readdir() to directly process the container file.

Passing this operation down to the file system holding the container
cannot work for anything but UFS and UFS doesn't allow reading
directory from a plain file since ~2015.

Fixes PR kern/55775 Coda client, its in-kernel part, opens wrong files ...

(martin)

2020-11-14 12:38:06 UTC MAIN commitmail json YAML

make(1): rename JobState to JobStatus

The status is only part of the whole state of a job.

(rillig)

2020-11-14 12:36:50 UTC MAIN commitmail json YAML

Allow to select raw output for a single device or a list of sensors.

(mlelstv)

2020-11-14 11:51:58 UTC MAIN commitmail json YAML

make(1): remove redundant parameter from cached_stats

The hash table for the cached data depends only on the passed flags,
therefore the caller does not need to know about their existence.

(rillig)

2020-11-14 11:42:56 UTC MAIN commitmail json YAML

Rewrite coda_readdir() to directly process the container file.

Passing this operation down to the file system holding the container
cannot work for anything but UFS and UFS doesn't allow reading
directory from a plain file since ~2015.

Fixes PR kern/55775 Coda client, its in-kernel part, opens wrong files ...

(hannken)

2020-11-14 11:42:05 UTC MAIN commitmail json YAML

Add coda_pathconf() always returning EINVAL.

(hannken)

2020-11-14 11:41:29 UTC MAIN commitmail json YAML

Respect "lktype" in all paths in coda_root().

(hannken)

2020-11-14 11:22:17 UTC MAIN commitmail json YAML

make(1): clean up cached_stats

No functional change.

(rillig)

2020-11-14 09:11:56 UTC MAIN commitmail json YAML

For raw output (-x) allow to extract individual properties like drvctl -p.
E.g.

# envstat -x /vcmbox0/0/cur-value
328150000

(mlelstv)

2020-11-14 07:36:00 UTC MAIN commitmail json YAML

2020-11-14 06:15:11 UTC MAIN commitmail json YAML

make(1): clarify what 'recently' means in the comments in dir.c

(rillig)

2020-11-14 06:10:28 UTC MAIN commitmail json YAML

make(1): fix typo in comments

This typo may have been influenced by all the '$' in the code.

(rillig)

2020-11-14 06:08:24 UTC MAIN commitmail json YAML

make(1): flatten Dir_InitCur

(rillig)

2020-11-14 04:32:44 UTC MAIN commitmail json YAML

also check MKX11FONTS before installing fonts.

(mrg)

2020-11-14 02:23:04 UTC MAIN commitmail json YAML

2020-11-13 19:45:24 UTC MAIN commitmail json YAML

make(1): clean up preprocessor macros in InitVarMachine

(rillig)

2020-11-13 17:49:57 UTC MAIN commitmail json YAML

Sync with xorg-server: Fix typo in comment.

(tsutsui)

2020-11-13 17:45:05 UTC MAIN commitmail json YAML

2020-11-13 17:39:06 UTC MAIN commitmail json YAML

Disable all entropy checks for now untill consensus has been found how
to properly deal with it.

(martin)

2020-11-13 17:19:06 UTC MAIN commitmail json YAML

Add new make unit-test

(sjg)

2020-11-13 09:56:53 UTC MAIN commitmail json YAML

Needs bsd.own.mk for MKX11.

(maya)

2020-11-13 09:02:39 UTC MAIN commitmail json YAML

ossaudio(3): Clone some useful behaviour from the Solaris kernel

Both SNDCTL_DSP_SPEED and SNDCTL_DSP_CHANNELS support a special value
0 to "query the configured value without changing it". In our case,
this actually means setting and querying the hardware rate.

I don't know if OSSv3 or FreeBSD or other implementations also do this.
But it seems safe and sensible to support.

(nia)

2020-11-13 09:01:59 UTC MAIN commitmail json YAML

2020-11-13 08:35:34 UTC MAIN commitmail json YAML

make(1): add more tests for parsing .else with argument

(rillig)

2020-11-13 08:33:07 UTC MAIN commitmail json YAML

add rcsid, make font conditional on MKX11.

(maya)

2020-11-13 08:21:37 UTC MAIN commitmail json YAML

make(1): flatten #ifdef in InitVarMachineArch

Without proper indentation, that chain of nested #ifndef directives was
really hard to read.

(rillig)

2020-11-13 07:52:04 UTC MAIN commitmail json YAML

make(1): use bitset for IfState

Previously, the individual IfStates contained redundant information,
which was apparent in the documentation.  This led to expressions like
(state > ELSE_ACTIVE) that are hard to read since the reader has to look
up the order of the enum.

To avoid this, the state of an '.if' block is now encoded using a bitset,
encoding the properties of each state directly.  This replaces the
previous (state > ELSE_ACTIVE) with !(state & IFS_ACTIVE), which is
easier to understand.

No change in behavior.

(rillig)

2020-11-13 07:35:27 UTC MAIN commitmail json YAML

make(1): replace large switch with if-else in Cond_EvalLine

(rillig)

2020-11-13 06:19:27 UTC MAIN commitmail json YAML

make(1): move the comment about ".else <cond>" to the correct place

(rillig)

2020-11-13 05:53:36 UTC MAIN commitmail json YAML

Fix a bug that some advertise speeds can't be set with hw.ixgN.advertise_speed
if both 2.5G and 5G are set. Fix the error message, too.

(msaitoh)

2020-11-13 04:12:38 UTC MAIN commitmail json YAML

Fix typo in a debug message.

(msaitoh)

2020-11-13 01:03:39 UTC MAIN commitmail json YAML

2020-11-12 23:53:17 UTC MAIN commitmail json YAML

Use explicit MAKEOBJDIR to avoid tripping over /usr/obj

(sjg)

2020-11-12 23:35:21 UTC MAIN commitmail json YAML

Pass a writable flag to Main_SetObjdir to control writable check

For curdir and an explicit .OBJDIR target, we allow for
the directory to be read-only.
During InitObjdir we otherwise default to requiring objdir to be
writable - this can be controlled by env variable
MAKE_OBJDIR_CHECK_WRITABLE

Add unit-tests/objdir-writable

Reviewed by: christos rillig

(sjg)

2020-11-12 22:40:11 UTC MAIN commitmail json YAML

make(1): add test for missing check on .endif with arguments

(rillig)

2020-11-12 22:28:02 UTC MAIN commitmail json YAML

2020-11-12 22:27:56 UTC MAIN commitmail json YAML

make(1): improve readability of IfState documentation

The words "None" and "One" looked and sounded too similar.

(rillig)

2020-11-12 22:23:48 UTC MAIN commitmail json YAML

2020-11-12 22:23:16 UTC MAIN commitmail json YAML

2020-11-12 22:11:03 UTC MAIN commitmail json YAML

Don't use static buffers to store format strings; this is a multi-threaded
program and if we print from multiple threads we can end up overwriting the
formats while printf is formating and that can end up in tears.

(christos)

2020-11-12 21:54:52 UTC MAIN commitmail json YAML

make(1): avoid race condition in test opt-debug-jobs

Thanks sjg for finding this and suggesting the fix.

(rillig)

2020-11-12 20:16:20 UTC MAIN commitmail json YAML

make(1): rename local variable in Cond_EvalLine

A variable called line is not supposed to be a moving target, that's what
the name p is reserved for.

(rillig)

2020-11-12 20:06:37 UTC MAIN commitmail json YAML

make(1): remove complicated code to find the definition for plain .if

(rillig)

2020-11-12 20:01:27 UTC MAIN commitmail json YAML

make(1): document IfState in more detail

(rillig)

2020-11-12 19:46:36 UTC MAIN commitmail json YAML

2020-11-12 19:45:24 UTC MAIN commitmail json YAML

2020-11-12 19:43:19 UTC MAIN commitmail json YAML

eliminate direct use of _res for threaded programs.

(christos)

2020-11-12 17:53:44 UTC MAIN commitmail json YAML

2020-11-12 13:13:45 UTC MAIN commitmail json YAML

PR kern/55779:

restore non-desctructive guarantee of ip_mforward() mbuf
argument. This avoids generation invalid UDP checksums
on multicast packets in ip_output().

XXX the root cause of the misguided fix in 2008 should be
XXX investigated

(kardel)

2020-11-12 12:19:46 UTC MAIN commitmail json YAML

Note better kern.maxfiles defaults.

(simonb)

2020-11-12 11:28:39 UTC MAIN commitmail json YAML

2020-11-12 08:12:07 UTC MAIN commitmail json YAML

make(1): clean up Cond_EvalLine

The constant MAXIF was not a maximum but an initial capacity.  Inline it
to remove the misleading name.  Likewise, MAXIF_BUMP was an unnecessary
and wrong name.

Rename the enum since it only describes a single state, not multiple.

Rename the stack of states since it describes multiple states, not one.

Add markers where to add the missing error messages for unknown
directives or extraneous cond, such as in ".else cond" or ".endif cond".

(rillig)

2020-11-12 07:44:01 UTC MAIN commitmail json YAML

Set a better default for MAXFILES on larger RAM machines if not
otherwise specified the kernel config file.  Arbitary numbers are
20,000 files for 16GB RAM or more and 10,000 files for 1GB RAM or
more.

TODO: Adjust this and other values totally dynamically.

(simonb)

2020-11-12 02:15:56 UTC MAIN commitmail json YAML

One more catch up with ``aarch64 is not mips'' change.
Fix evbarm-aarch64 build.

(rin)

2020-11-12 01:03:22 UTC MAIN commitmail json YAML

If neither COMPAT_NETBSD32 nor MODULAR is defined, there's
no chance for lwp to be running under COMPAT_NETBSD32.

Suggested by mrg.

(rin)

2020-11-12 00:44:22 UTC MAIN commitmail json YAML

pq3pci_msi_claim(): remove KASSERT that is valid when allocating MSI
vectors, while apparently invalid when freeing them.

(rin)

2020-11-12 00:40:55 UTC MAIN commitmail json YAML

make(1): fix tests varmod-defined and varmod-loop regarding dollars

Some derived versions of NetBSD's make set .MAKE.SAVE_DOLLARS to no.  In
these versions, running the tests would fail.  Therefore better set
.MAKE.SAVE_DOLLARS to yes explicitly as far as necessary.

Suggested by sjg.

(rillig)

2020-11-12 00:37:51 UTC MAIN commitmail json YAML

Oops, forget to commit local change necessary to support nvme(4) on RB800;
provide pci_intr_setattr(9) (no-op).

(rin)

2020-11-12 00:29:55 UTC MAIN commitmail json YAML

make(1): add test for unhandled parse error in :? variable modifier

(rillig)

2020-11-11 20:04:02 UTC MAIN commitmail json YAML

Comment out debugging build (it still randomly crashes though) pointed out
by wiz

(christos)

2020-11-11 19:56:59 UTC MAIN commitmail json YAML

2020-11-11 19:56:09 UTC MAIN commitmail json YAML

2020-11-11 19:55:33 UTC MAIN commitmail json YAML

2020-11-11 19:54:54 UTC MAIN commitmail json YAML

no need for -lcompat

(christos)

2020-11-11 18:08:35 UTC MAIN commitmail json YAML

wg: Sprinkle #ifdef INET6.  Avoid unconditional use of ip6 structs.

Fixes no-INET6 build.

Based on patch from Brad Spencer:

https://mail-index.NetBSD.org/current-users/2020/11/11/msg039883.html

(riastradh)

2020-11-11 17:11:19 UTC MAIN commitmail json YAML

2020-11-11 11:54:42 UTC MAIN commitmail json YAML

Fix the old leftover license note

Larry Wall: "I outgrew commercial-free licensing about 30 years ago."

(kamil)

2020-11-11 07:34:56 UTC MAIN commitmail json YAML

make(1): document non-obvious special case in EvalNotEmpty

(rillig)

2020-11-11 07:30:11 UTC MAIN commitmail json YAML

make(1): add tests demonstrating bugs in TryParseNumber and EvalNotEmpty

(rillig)

2020-11-11 07:13:42 UTC MAIN commitmail json YAML

2020-11-11 07:10:19 UTC MAIN commitmail json YAML

make(1): fix line numbers in test cond-token-string

(rillig)

2020-11-11 03:31:04 UTC MAIN commitmail json YAML

kmem_cache_create()'s "name" parameter can be on the stack,
so make a copy of it rather than keeping a pointer to it.

(chs)

2020-11-10 23:32:33 UTC MAIN commitmail json YAML

remove error(1) comments

(christos)

2020-11-10 23:03:22 UTC MAIN commitmail json YAML

Antivaxer support.

(christos)

2020-11-10 22:56:49 UTC MAIN commitmail json YAML

can't have config.h and config.H in case-preserving but case-folding file-systems.

(christos)

2020-11-10 22:52:46 UTC MAIN commitmail json YAML

don't segv if the terminal is too big.

(christos)

2020-11-10 22:52:32 UTC MAIN commitmail json YAML

pray-tell where are you trying to write?

(christos)

2020-11-10 22:42:19 UTC MAIN commitmail json YAML

2020-11-10 22:25:39 UTC MAIN commitmail json YAML

make(1): remove unreachable code from CondParser_String

The code that has been removed was not reachable from after the Var_Parse
call.  All branches after the Var_Parse are either freed properly or
return the expanded value.

(rillig)

2020-11-10 22:23:37 UTC MAIN commitmail json YAML

2020-11-10 21:47:49 UTC MAIN commitmail json YAML

2020-11-10 21:40:07 UTC MAIN commitmail json YAML

Test (epp->ep_esch->es_emul != &emul_netbsd) instead of
(epp->ep_esch->es_emul == &emul_netbsd32) to determine whether curlwp is
running on COMPAT_NETBSD32 or not.

The former is possible even if COMPAT_NETBSD32 is not built in the main
kernel. Now, compat_netbsd32 module can work on !COMPAT_NETBSD32 kernel.

Discussed with pgoyette.

XXX
Apply similar fixes, i.e., drop ``#ifdef COMPAT_NETBSD32'' conditional
codes from the rest parts of MD codes for aarch64 and mips64.

(rin)

2020-11-10 21:38:03 UTC MAIN commitmail json YAML

Stop turning on EABI flag to core files dumped by OABI binaries.
This seems a bug introduced in rev 1.5:

http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/arm/arm/core_machdep.c#rev1.5

(rin)

2020-11-10 20:52:28 UTC MAIN commitmail json YAML

2020-11-10 20:48:29 UTC MAIN commitmail json YAML

rock_ridge_move_count is only incremented and can never be negative so change
%08i to %08u.
This removes a warning when compiling with tools outside ./build.sh

(reinoud)

2020-11-10 20:44:18 UTC MAIN commitmail json YAML

2020-11-10 19:36:50 UTC MAIN commitmail json YAML

make(1): add tests for edge cases in parsing conditionals

(rillig)

2020-11-10 19:14:11 UTC MAIN commitmail json YAML

Catch up with aa64 is not mips change

(skrll)

2020-11-10 11:45:36 UTC netbsd-9 commitmail json YAML

2020-11-10 11:44:22 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #1129):

tests/net/if_ipsec/t_ipsec_pfil.sh: revision 1.3
tests/net/if_ipsec/t_ipsec.sh: revision 1.11
tests/net/if_ipsec/t_ipsec_natt.sh: revision 1.4
tests/net/if_ipsec/t_ipsec_natt.sh: revision 1.5
tests/net/ipsec/t_ipsec_natt.sh: revision 1.4
tests/net/ipsec/t_ipsec_natt.sh: revision 1.5
tests/net/ipsec/common.sh: revision 1.8

Typo in error message

Refactor a little and follow new format of "npfctl list".

Fix the below ATF failures.
    - net/if_ipsec/t_ipsec_natt:ipsecif_natt_transport_null
    - net/if_ipsec/t_ipsec_natt:ipsecif_natt_transport_rijndaelcbc
    - net/ipsec/t_ipsec_natt:ipsec_natt_transport_ipv4_null
    - net/ipsec/t_ipsec_natt:ipsec_natt_transport_ipv4_rijndaelcbc
ok'ed by ozaki-r@n.o, thanks.

Fix missing "-m tranport" options.  Pointed out by k-goda@IIJ.

Using any mode SA causes unepected call path, that is,
ipsec4_common_input_cb() calls ip_input() directly instead of
ipsecif4_input().

(martin)

2020-11-10 11:29:29 UTC MAIN commitmail json YAML

Remove the smap.* files

They are generated during the build.

(kamil)

2020-11-10 11:22:23 UTC MAIN commitmail json YAML

Add nvme(4) and raid(4).

(rin)

2020-11-10 11:19:58 UTC MAIN commitmail json YAML

Add nvme(4) and ahcisata(4).

Both work fine via miniPCIe to M.2 adapter.

(rin)

2020-11-10 11:00:02 UTC MAIN commitmail json YAML

Delete trailing whitespace

(gson)

2020-11-10 10:31:48 UTC MAIN commitmail json YAML

+ ./usr/share/games/warp

(kamil)

2020-11-10 09:14:01 UTC MAIN commitmail json YAML

Fix typos in comment

(gson)

2020-11-10 08:52:36 UTC MAIN commitmail json YAML

Add nvme(4) and raid(4).

(rin)

2020-11-10 08:49:09 UTC MAIN commitmail json YAML

2020-11-10 08:02:35 UTC MAIN commitmail json YAML

make(1): document ParseEmptyArg

(rillig)

2020-11-10 07:51:19 UTC MAIN commitmail json YAML

2020-11-10 07:40:30 UTC MAIN commitmail json YAML

make(1): remove unnecessary NULL marker from functions list

Comparing the pointer works equally well and uses less memory.

(rillig)

2020-11-10 07:39:12 UTC MAIN commitmail json YAML

One more fix for big-endian machines.

Now, ld(4) at nvme(4) works perfectly for aarch64eb!

Tested on ROCKPro64 and qemu-system-aarch64.

(rin)

2020-11-10 06:58:46 UTC MAIN commitmail json YAML

Revamp to the point it builds, but needs more work

(skrll)

2020-11-10 04:27:22 UTC MAIN commitmail json YAML

remove someone's leftover debug printfs.

(chs)

2020-11-10 00:32:13 UTC MAIN commitmail json YAML

2020-11-10 00:19:19 UTC MAIN commitmail json YAML

2020-11-10 00:02:11 UTC MAIN commitmail json YAML

2020-11-09 23:37:05 UTC MAIN commitmail json YAML

Add Warp Kit, Version 7.0 by Larry Wall

Warp is a real-time space war game that doesn't get boring very quickly.
Read warp.doc and the manual page for more information.

games/warp originally distributed with 4.3BSD-Reno, is back to the BSD
world via NetBSD. Its remnants were still mentioned in games/Makefile.

Larry Wall, the original author and the copyright holder, generously
donated the game and copyright to The NetBSD Foundation, Inc.

Import the game sources as-is from 4.3BSD-Reno, with the cession
of the copyright and license to BSD-2-clause NetBSD-style.

Signed-off-by: Larry Wall <larry@wall.org>
Signed-off-by: Kamil Rytarowski <kamil@netbsd.org>

(kamil)

2020-11-09 23:36:34 UTC MAIN commitmail json YAML

make(1): add test that parsing continues after a parse error

(rillig)

2020-11-09 22:36:44 UTC MAIN commitmail json YAML

2020-11-09 20:57:36 UTC MAIN commitmail json YAML

make(1): add test for repeating the leading '@' in shell commands

(rillig)

2020-11-09 20:50:56 UTC MAIN commitmail json YAML

2020-11-09 20:39:46 UTC MAIN commitmail json YAML

2020-11-09 20:16:33 UTC MAIN commitmail json YAML

make(1): document since when the :Ox modifier is available

(rillig)

2020-11-09 19:12:52 UTC MAIN commitmail json YAML

Control TZ for depsrc-optional

(sjg)

2020-11-09 18:09:02 UTC MAIN commitmail json YAML

Lock the vnode while calling VOP_BMAP() for FIOGETBMAP.

Reported-by: syzbot+cfa1b773be7337250428@syzkaller.appspotmail.com

(chs)

2020-11-09 16:15:05 UTC MAIN commitmail json YAML

- make the CTFCONVERT command lines consistent and concise by putting all
  the implementation stuff in a variable CTFCONVERT_RUN
- introduce an OBJECT_TARGET variable that contains the output object file
- when we need to run ctfconvert, go through an intermediate ${.TARGET}.o
  file, instead of writing directly to ${.TARGET} and then overwriting
  ${.TARGET} with ctfconvert. This avoids build failures after a build
  got interrupted (the "partially built from C" scourge).

(christos)

2020-11-09 12:12:17 UTC MAIN commitmail json YAML

2020-11-09 11:48:12 UTC netbsd-9 commitmail json YAML

2020-11-09 11:47:15 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #1128):

sys/arch/aarch64/aarch64/pmapboot.c: revision 1.11

Fix the use of the contiguous bit by checking the output address as well.

(martin)

2020-11-09 10:19:41 UTC MAIN commitmail json YAML

Fix copy&pasto in previous

(martin)

2020-11-09 10:19:18 UTC MAIN commitmail json YAML

Adapt for sqlite requiring pthreads now

(martin)

2020-11-09 03:23:15 UTC MAIN commitmail json YAML

Restore the catman joke.

It needs the (8), or it fails to work for people who don't know or had
forgotten catman(8) was ever a thing.

as the de facto fortunes editor and also I think the person who added
that fortune in the first place, and given the discussion in
tech-userlevel, I think I get to do this.

(dholland)

2020-11-09 01:07:04 UTC MAIN commitmail json YAML

Remove the catman directories

No longer relevant after the MKCATPAGES removal.

(kamil)

2020-11-09 01:05:52 UTC MAIN commitmail json YAML

2020-11-09 00:46:00 UTC MAIN commitmail json YAML

Revert to the original phrasing, but remove the man 8 section reference.

catman is a historical Unix tool.

(kamil)

2020-11-09 00:07:06 UTC MAIN commitmail json YAML

make(1): document handling of '#' and '\n' in conditionals

(rillig)

2020-11-08 23:54:28 UTC MAIN commitmail json YAML

2020-11-08 23:38:02 UTC MAIN commitmail json YAML

make(1): move lint option away from the debug flags

The lint option affects much more than a typical debug flag.  Not only
does it produce additional diagnostics, it also changes the control flow
and fixes the traditional error handling in a few places.

No functional change.

(rillig)

2020-11-08 23:30:59 UTC MAIN commitmail json YAML

make(1): sort debug flags alphabetically

DEBUG_FOR had been accidentally left at the end of the list.

(rillig)

2020-11-08 23:20:19 UTC MAIN commitmail json YAML

make(1): extract CondParser_Func from CondParser_LeafToken

(rillig)

2020-11-08 23:10:22 UTC MAIN commitmail json YAML

make(1): inline strchr call in CondParser_LeafToken

(rillig)

2020-11-08 23:08:49 UTC MAIN commitmail json YAML

make(1): rename CondParser_Func to CondParser_LeafToken

The previous name was misleading since the function did not only parse
function call expressions.

(rillig)

2020-11-08 23:05:47 UTC MAIN commitmail json YAML

make(1): fix type mismatch between int and Token

(rillig)

2020-11-08 23:00:10 UTC MAIN commitmail json YAML

make(1): add test for comparing numbers with strings

(rillig)

2020-11-08 22:56:16 UTC MAIN commitmail json YAML

make(1): add test for wrong comparison operator in conditional

(rillig)

2020-11-08 22:45:51 UTC MAIN commitmail json YAML

make(1): add test for .ifmake 0 and .ifmake 1

(rillig)

2020-11-08 22:44:05 UTC MAIN commitmail json YAML

make(1): improve local variable name in EvalNotEmpty

(rillig)

2020-11-08 22:41:40 UTC MAIN commitmail json YAML

make(1): improve variable names in EvalNotEmpty

In a unary expression, there is no left-hand side.

(rillig)

2020-11-08 22:38:28 UTC MAIN commitmail json YAML

2020-11-08 22:37:52 UTC MAIN commitmail json YAML

make(1): rename local variable in CondParser_String

(rillig)

2020-11-08 22:28:05 UTC MAIN commitmail json YAML

2020-11-08 22:22:04 UTC MAIN commitmail json YAML

make(1): clean up TryParseNumber in conditions

More descriptive variable names, more appropriate literals for
comparisons, one task per paragraph of code.

(rillig)

2020-11-08 21:56:48 UTC MAIN commitmail json YAML

sqlite: do not build without multithreading support

at least a few pkgsrc packages avoid base sqlite because it fails
this check, and it's probably a surprising performance penalty for
unsuspecting users

(nia)

2020-11-08 21:47:59 UTC MAIN commitmail json YAML

2020-11-08 21:40:13 UTC MAIN commitmail json YAML

make(1): add test for function argument with unbalanced braces

(rillig)

2020-11-08 21:33:05 UTC MAIN commitmail json YAML

make(1): document what the directive ".if A&B" means

(rillig)

2020-11-08 21:10:18 UTC MAIN commitmail json YAML

make(1): clean up FuncExists

(rillig)