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 (40m)  netbsd-8 (5d)  netbsd-10 (6d)  netbsd-9 (12d)  thorpej-ifq (176d)  thorpej-altq-separation (178d) 

2024-05-10 15:23:19 UTC Now

2022-10-30 01:19:08 UTC MAIN commitmail json YAML

Note in the description of "jobs -p" that the process id returned is
also the process group identifier (that's a requirement from POSIX, and
is what we have always done - just not been explicit about in sh.1).
Add a note that this value and $! are not necessarily the same (currently,
and perhaps forever, never the same in a pipeline with 2 or more elements).

(kre)

2022-10-30 01:05:47 UTC MAIN commitmail json YAML

Note tzdata 2022f update (via 2022fgtz)

(kre)

2022-10-30 01:03:46 UTC MAIN commitmail json YAML

2022-10-29 21:06:48 UTC MAIN commitmail json YAML

add new libXpresent manuals.

(mrg)

2022-10-29 21:06:15 UTC MAIN commitmail json YAML

2022-10-29 21:02:04 UTC MAIN commitmail json YAML

2022-10-29 19:07:39 UTC MAIN commitmail json YAML

sun8icodec: Update for binding spec changes.

The allwinner,sun8i-a33-codec binding spec has changed[1] to allow for
#sound-dai-cells to be either 0 or 1, to allow exporting multiple DAIs
from the codec.

This change updates the driver to allow #sound-dai-cells of either 0 or 1
while still only supporting AIF1 for the time being.

[1] https://github.com/torvalds/linux/commit/880e007f15a31f446b9e1713720c6ae5a539f3f4

(jmcneill)

2022-10-29 15:35:17 UTC MAIN commitmail json YAML

tcp: restore NULL checks for inp

(ozaki-r)

2022-10-29 15:13:28 UTC MAIN commitmail json YAML

arm/pic: Use a local variable to reduce #ifdef scope.

Avoids straddling a conditional this way.

(riastradh)

2022-10-29 14:01:36 UTC MAIN commitmail json YAML

2022-10-29 14:00:12 UTC MAIN commitmail json YAML

sys/sdt.h: Predict dtrace probe branches not taken in SDT_PROBE*.

This should help reduce the overhead of KDRACE_HOOKS while you're not
actually tracing anything!  Shoulda done this ages ago...

(riastradh)

2022-10-29 13:59:57 UTC MAIN commitmail json YAML

2022-10-29 13:59:04 UTC MAIN commitmail json YAML

x86: Add dtrace probes for interrupt handler entry and return.

Arguments:

0: interrupt handler function
1: interrupt handler's private cookie argument
2: MD struct intrhand pointer
3: return value (true if relevant to this handler, false if not)

The MD struct intrhand pointer makes the first two arguments
redundant, but we might reuse the signature of the first two
arguments for an MI SDT probe to make it easy to write MI dtrace
scripts for monitoring interrupt handlers.  The MD intrhand can be
used for getting more information about the interrupt like ih_level,
ih_pin, ih_slot, &c., which may not make sense as an MI API.

(riastradh)

2022-10-29 13:57:38 UTC MAIN commitmail json YAML

2022-10-29 13:55:50 UTC MAIN commitmail json YAML

Update to tzcode2022f

  Changes to code

    zic now supports links to links regardless of input line order.
    For example, if Australia/Sydney is a Zone, the lines
      Link Australia/Canberra Australia/ACT
      Link Australia/Sydney Australia/Canberra
    now work correctly, even though the shell commands
      ln Australia/Canberra Australia/ACT
      ln Australia/Sydney Australia/Canberra
    would fail because the first command attempts to use a link
    Australia/Canberra that does not exist until after the second
    command is executed.  Previously, zic had unspecified behavior if
    a Link line's target was another link, and zic often misbehaved if
    a Link line's target was a later Link line.

    Fix line number in zic's diagnostic for a link to a link.

    Fix a bug that caused localtime to mishandle timestamps starting
    in the year 2438 when reading data generated by 'zic -b fat' when
    distant-future DST transitions occur at times given in standard
    time or in UT, not the usual case of local time.  This occurs when
    the corresponding .zi Rule lines specify DST transitions with TO
    columns of 'max' and AT columns that end in 's' or 'u'.  The
    number 2438 comes from the 32-bit limit in the year 2038, plus the
    400-year Gregorian cycle.  (Problem reported by Bradley White.)

    On glibc 2.34 and later, which optionally supports 64-bit time_t
    on platforms like x86 where time_t was traditionally 32 bits,
    default time_t to 64 instead of 32 bits.  This lets functions like
    localtime support timestamps after the year 2038, and fixes
    year-2038 problems in zic when accessing files dated after 2038.
    To continue to limit time_t to 32 bits on these platforms, use
    "make CFLAGS='-D_TIME_BITS=32'".

    In C code, do not enable large-file support on platforms like AIX
    and macOS that no longer need it now that tzcode does not use
    off_t or related functions like 'stat'.  Large-file support is
    still enabled by default on GNU/Linux, as it is needed for 64-bit
    time_t support.

    In C code, prefer C23 keywords to pre-C23 macros for alignof,
    bool, false, and true.  Also, use the following C23 features if
    available: __has_include, unreachable.

    zic no longer works around Qt bug 53071, as the relevant Qt
    releases have been out of support since 2019.  This change affects
    only fat TZif files, as thin files never had the workaround.

    zdump no longer modifies the environ vector when compiled on
    platforms lacking tm_zone or when compiled with -DUSE_LTZ=0.
    This avoid undefined behavior on POSIX platforms.

(christos)

2022-10-29 13:53:35 UTC MAIN commitmail json YAML

don't require gettext

(christos)

2022-10-29 13:53:20 UTC MAIN commitmail json YAML

2022-10-29 13:42:40 UTC MAIN commitmail json YAML

2022-10-29 13:37:59 UTC MAIN commitmail json YAML

Remove old OMAP port.

This code was a mess and full of unmaintainable SoC and board specific
ifdefs. A modern devicetree port for OMAP3530 and AM335x based boards
now lives in arch/arm/ti. If someone is interested in bringing back
support for any boards lost in this transition, feel free, but please
do so using the new devicetree based model.

(jmcneill)

2022-10-29 13:29:47 UTC MAIN commitmail json YAML

2022-10-29 13:24:35 UTC MAIN commitmail json YAML

2022-10-29 13:22:23 UTC MAIN commitmail json YAML

2022-10-29 13:18:57 UTC MAIN commitmail json YAML

2022-10-29 13:14:38 UTC MAIN commitmail json YAML

2022-10-29 13:10:26 UTC MAIN commitmail json YAML

Remove support for OMAP based Gumstix platforms.

These changes are to prepare for the removal of arch/arm/omap. Support
for Xscale based Gumstix platforms remains.

(If someone wants to resurrect DuoVero and Pepper platforms, it's best
to do that in the GENERIC kernel using FDT.)

(jmcneill)

2022-10-29 11:41:00 UTC MAIN commitmail json YAML

workqueue(9): Sprinkle dtrace probes.

(riastradh)

2022-10-29 11:04:23 UTC MAIN commitmail json YAML

landisk: Add stub pci_intr_setattr.

No MP on sh4 as far as I know so no need to do anything for
PCI_INTR_MPSAFE.

(riastradh)

2022-10-29 10:52:36 UTC MAIN commitmail json YAML

devsw(9): Sprinkle dtrace probes on bdevsw, cdevsw calls.

This is better than fbt-tracing the bdev_* and cdev_* functions
because this way we can reliably get at the struct bdevsw/cdevsw
pointer after lookup and get at return values.

(riastradh)

2022-10-29 08:52:47 UTC MAIN commitmail json YAML

Stop building TISDP2420.

(jmcneill)

2022-10-29 08:52:22 UTC MAIN commitmail json YAML

Remove commented out kernel configs

(jmcneill)

2022-10-29 08:43:51 UTC MAIN commitmail json YAML

2022-10-29 08:42:41 UTC MAIN commitmail json YAML

GC unused file

(jmcneill)

2022-10-29 08:33:46 UTC MAIN commitmail json YAML

2022-10-29 08:29:28 UTC MAIN commitmail json YAML

KNF + remove unnecessary brackets

(skrll)

2022-10-29 08:17:16 UTC MAIN commitmail json YAML

Add a -q option for pgrep to not print anything; similar to grep -q.

(simonb)

2022-10-29 07:32:54 UTC MAIN commitmail json YAML

Slightly better English in a comment.

(skrll)

2022-10-29 07:21:42 UTC MAIN commitmail json YAML

fix a spello in a comment

(skrll)

2022-10-29 02:56:29 UTC MAIN commitmail json YAML

inpcb: fix for kernels without INET6

(ozaki-r)

2022-10-29 01:19:36 UTC MAIN commitmail json YAML

2022-10-29 00:19:22 UTC MAIN commitmail json YAML

callout(9): Mark new flags local unused for non-KDTRACE_HOOKS builds.

(feel free to add a new __dtrace_used annotation to make this more
precise)

(riastradh)

2022-10-28 23:44:38 UTC MAIN commitmail json YAML

pckbc(4): Simplify the (disabled) logic to check keyboard port.

No functional change intended -- just reduces code duplication (and
fixes wrong-number-of-arguments in #if 0 logic).

(riastradh)

2022-10-28 23:40:37 UTC MAIN commitmail json YAML

pckbport(4): C99 initializers

No functional change intended.

(riastradh)

2022-10-28 21:58:48 UTC MAIN commitmail json YAML

drm(4): Mark PCI interrupt handlers as MP-safe.

(riastradh)

2022-10-28 21:58:27 UTC MAIN commitmail json YAML

x86/acpi: Mark acpica interrupt handlers MP-safe.

acpica has its own internal locking, and the interrupt handlers we
install with AcpiInstall*Handler (gpe, notify, &c.) also have their
own locking.

(riastradh)

2022-10-28 21:57:58 UTC MAIN commitmail json YAML

xhci(4): Mark PCI interrupt handler MP-safe.

xhci_intr has its own intr lock to coordinate with the MP-safe
softint it defers all its work to, other than reading and writing a
few registers to get and acknowledge the interrupt status.

(riastradh)

2022-10-28 21:56:44 UTC MAIN commitmail json YAML

ehci(4): Mark PCI interrupt handler MP-safe.

ehci_intr has its own intr lock to coordinate with the MP-safe
softint it defers all its work to, other than reading and writing a
few registers to get and acknowledge the interrupt status.

(riastradh)

2022-10-28 21:53:26 UTC MAIN commitmail json YAML

callout(9): Sprinkle dtrace probes.

(riastradh)

2022-10-28 21:52:22 UTC MAIN commitmail json YAML

callout(9): Nix trailing whitespace.

No functional change intended.

(riastradh)

2022-10-28 21:52:02 UTC MAIN commitmail json YAML

softint(9): Sprinkle dtrace probes.

(riastradh)

2022-10-28 20:39:23 UTC MAIN commitmail json YAML

Update date on previous

(jmcneill)

2022-10-28 20:38:58 UTC MAIN commitmail json YAML

evbarm: Update Xilinx Zynq-7000 SoC support to use FDT based configuration.

(jmcneill)

2022-10-28 20:37:47 UTC MAIN commitmail json YAML

Remove commented out reference to zynqslcr driver that doesn't exist.

(jmcneill)

2022-10-28 20:37:04 UTC MAIN commitmail json YAML

2022-10-28 09:44:53 UTC MAIN commitmail json YAML

mention reallocarray change

(wiz)

2022-10-28 09:43:59 UTC MAIN commitmail json YAML

2022-10-28 08:16:57 UTC MAIN commitmail json YAML

Bump the version for inpcb changes

Welcome to 9.99.104

(ozaki-r)

2022-10-28 07:16:34 UTC MAIN commitmail json YAML

2022-10-28 06:22:26 UTC MAIN commitmail json YAML

2022-10-28 05:27:17 UTC MAIN commitmail json YAML

2022-10-28 05:26:29 UTC MAIN commitmail json YAML

2022-10-28 05:25:36 UTC MAIN commitmail json YAML

inpcb: separate inpcb again to reduce the size of PCB for IPv4

The data size of PCB for IPv4 increased because of the merge of
struct in6pcb.  The change decreases the size to the original size by
separating struct inpcb (again).  struct in4pcb and in6pcb that embed
struct inpcb are introduced.

Even after the separation, users don't need to realize the separation
and only have to use some macros to access dedicated data.  For example,
inp->inp_laddr is now accessed through in4p_laddr(inp).

(ozaki-r)

2022-10-28 05:24:08 UTC MAIN commitmail json YAML

2022-10-28 05:23:09 UTC MAIN commitmail json YAML

2022-10-28 05:20:08 UTC MAIN commitmail json YAML

2022-10-28 05:18:39 UTC MAIN commitmail json YAML

inpcb: integrate data structures of PCB into one

Data structures of network protocol control blocks (PCBs), i.e.,
struct inpcb, in6pcb and inpcb_hdr, are not organized well.  Users of
the data structures have to handle them separately and thus the code
is cluttered and duplicated.

The commit integrates the data structures into one, struct inpcb.  As a
result, users of PCBs only have to handle just one data structure, so
the code becomes simple.

One drawback is that the data size of PCB for IPv4 increases by 40 bytes
(from 248 bytes to 288 bytes).

(ozaki-r)

2022-10-28 01:10:41 UTC MAIN commitmail json YAML

Make three "Unsupported SFP+ module..." messages the same.

(msaitoh)

2022-10-27 22:35:32 UTC MAIN commitmail json YAML

2022-10-27 20:37:10 UTC MAIN commitmail json YAML

2022-10-27 20:00:24 UTC MAIN commitmail json YAML

ddb(4): Declare extern db_active if _KMEMUSER too, not just DDB.

crash(8) is built with _KMEMUSER defined but DDB not defined except
for a few specific files or on MIPS.

Seems to me crash(8) should really be built with DDB defined in all
.c files but that leads to other fallout I'm not really inclined to
diagnose right now.

(riastradh)

2022-10-27 16:20:23 UTC MAIN commitmail json YAML

merge upstream commit 9b3219ba544db82cdad3058b9872058739559944:

If rule_str ended in a "-", "l" was incremented one byte past the
end of the buffer.  This resulted in an out-of-bounds read when "l"
is dereferenced at the end of the loop.  It is safest to just return
early in this case since the condition occurs inside a nested loop.

(christos)

2022-10-27 16:19:25 UTC netbsd-8 commitmail json YAML

2022-10-27 16:16:50 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by kre in ticket #1779):

bin/sh/miscbltin.c: revision 1.51
bin/sh/miscbltin.c: revision 1.52

PR bin/56972  Fix escape ('\') handling in sh read builtin.

In 1.35 (March 2005) (the big read fixup), most escape handling and IFS
processing in the read builtin was corrected.  However 2 cases were missed,
one is a word (something to be assigned to any variable but the last) in
which every character is escaped (the code was relying on a non-escaped char
to set the "in a word" status), and second trailing IFS whitespace at
the end of the line was being deleted, even if the chars had been escaped
(the escape chars are no longer present).

See the PR for more details (including the case that detected the problem).

After fixing this, I looked at the FreeBSD code (normally might do it
before, but these fixes were trivial) to check their implementation.

Their code does similar things to ours now does, but in a completely
different way, their read builtin is more complex than ours needs to
be (they handle more options).  For anyone tempted to simply incorporate
their code, note that it relies upon infrastructure changes elsewhere
in the shell, so would not be a simple cut and drop in exercise.

This needs pullups to -3 -4 -5 -6 -7 -8 and -9 (fortunately this is
happening before -10 is branched, so will never be broken this way there).

-

Don't output the error for bad usage (no var name given)
after already writing the prompt (set with the -p option).

That results in nonsense like:
$ read -p foo
fooread: arg count

While here, improve the error message so it means something.

Now we will get:
$ read -p foo
read: variable name required
Usage: read [-r] [-p prompt] var...

[Detected by code reading while doing the work for the previous fix]

(martin)

2022-10-27 16:15:58 UTC netbsd-9 commitmail json YAML

2022-10-27 16:14:42 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kre in ticket #1549):

bin/sh/miscbltin.c: revision 1.51
bin/sh/miscbltin.c: revision 1.52

PR bin/56972  Fix escape ('\') handling in sh read builtin.

In 1.35 (March 2005) (the big read fixup), most escape handling and IFS
processing in the read builtin was corrected.  However 2 cases were missed,
one is a word (something to be assigned to any variable but the last) in
which every character is escaped (the code was relying on a non-escaped char
to set the "in a word" status), and second trailing IFS whitespace at
the end of the line was being deleted, even if the chars had been escaped
(the escape chars are no longer present).

See the PR for more details (including the case that detected the problem).

After fixing this, I looked at the FreeBSD code (normally might do it
before, but these fixes were trivial) to check their implementation.

Their code does similar things to ours now does, but in a completely
different way, their read builtin is more complex than ours needs to
be (they handle more options).  For anyone tempted to simply incorporate
their code, note that it relies upon infrastructure changes elsewhere
in the shell, so would not be a simple cut and drop in exercise.

This needs pullups to -3 -4 -5 -6 -7 -8 and -9 (fortunately this is
happening before -10 is branched, so will never be broken this way there).

-

Don't output the error for bad usage (no var name given)
after already writing the prompt (set with the -p option).

That results in nonsense like:
$ read -p foo
fooread: arg count

While here, improve the error message so it means something.

Now we will get:
$ read -p foo
read: variable name required
Usage: read [-r] [-p prompt] var...

[Detected by code reading while doing the work for the previous fix]

(martin)

2022-10-27 16:08:50 UTC netbsd-8 commitmail json YAML

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

sys/netinet6/frag6.c: revision 1.76

frag6: don't use spin mutex for frag6_lock

frag6_lock is held during sending a packet (icmp6_error), so we must
not use a spin mutex because we can acquire sleep locks on sending
a packet.

Also we don't need to use spin mutex for frag6_lock anymore because
frag6_lock is now not used from hardware interrupt context.

(martin)

2022-10-27 16:06:24 UTC netbsd-9 commitmail json YAML

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

sys/netinet6/frag6.c: revision 1.76

frag6: don't use spin mutex for frag6_lock

frag6_lock is held during sending a packet (icmp6_error), so we must
not use a spin mutex because we can acquire sleep locks on sending
a packet.

Also we don't need to use spin mutex for frag6_lock anymore because
frag6_lock is now not used from hardware interrupt context.

(martin)

2022-10-27 12:59:59 UTC MAIN commitmail json YAML

Revert for if_dl.h's change.

(msaitoh)

2022-10-27 09:41:28 UTC MAIN commitmail json YAML

2022-10-27 08:49:08 UTC MAIN commitmail json YAML

Add AP startup for Zynq-7000.

(jmcneill)

2022-10-27 07:57:46 UTC MAIN commitmail json YAML

Fix build.
Sprinkle some consistency

(skrll)

2022-10-27 06:49:51 UTC MAIN commitmail json YAML

In pmap_pte_reserve ensure we're atomically swapping out an invalid entry
otherwise concurrent updates might both think they've updated the entry.

(skrll)

2022-10-27 06:20:41 UTC MAIN commitmail json YAML

No need to hold the pmap_tlb_miss_lock when calling pmap_segtab_destroy

(skrll)

2022-10-27 06:19:56 UTC MAIN commitmail json YAML

2022-10-27 05:33:37 UTC MAIN commitmail json YAML

Fix the crash(1) build for mips platforms

(skrll)

2022-10-27 00:26:20 UTC MAIN commitmail json YAML

Welcome(?) to 9.99.103.

- Revert dl_data[] size change.

(msaitoh)

2022-10-27 00:25:11 UTC MAIN commitmail json YAML

Revert if_dl.h change. It'll be commited with the COMPAT_9 code in future.

(msaitoh)

2022-10-27 00:01:07 UTC MAIN commitmail json YAML

wwanc(4): Convert to ttylock/ttyunlock.

(riastradh)

2022-10-27 00:00:25 UTC MAIN commitmail json YAML

vax/qvaux(4): Convert to ttylock/ttyunlock.

(riastradh)

2022-10-26 23:59:56 UTC MAIN commitmail json YAML

sparc64/zs(4): Convert to ttylock/ttyunlock.

(riastradh)

2022-10-26 23:59:36 UTC MAIN commitmail json YAML

sparc64/sab(4): Convert to ttylock/ttyunlock.

(riastradh)

2022-10-26 23:59:14 UTC MAIN commitmail json YAML

sgimips/scn(4): Convert to ttylock/ttyunlock.

(riastradh)

2022-10-26 23:55:40 UTC MAIN commitmail json YAML

amiga/msc(4): Convert to ttylock/ttyunlock.

(riastradh)

2022-10-26 23:54:19 UTC MAIN commitmail json YAML

amiga/mfc(4): Convert to ttylock/ttyunlock.

(riastradh)

2022-10-26 23:53:04 UTC MAIN commitmail json YAML

uhso(4): Convert locking comments to locking assertions.

(riastradh)

2022-10-26 23:50:28 UTC MAIN commitmail json YAML

ucycom(4): Convert to ttylock/ttyunlock.

(riastradh)

2022-10-26 23:48:43 UTC MAIN commitmail json YAML

ucom(4): Convert to ttylock/ttyunlock.

(riastradh)

2022-10-26 23:47:55 UTC MAIN commitmail json YAML

sunkbd(4): Convert to ttylock/ttyunlock.

(riastradh)

2022-10-26 23:46:50 UTC MAIN commitmail json YAML

spif(4): Convert to ttylock/ttyunlock.

(riastradh)

2022-10-26 23:46:37 UTC MAIN commitmail json YAML

vax/dhu(4): Convert to ttylock/ttyunlock.

(riastradh)

2022-10-26 23:46:24 UTC MAIN commitmail json YAML

cz(4): Convert to ttylock/ttyunlock.

(riastradh)

2022-10-26 23:45:43 UTC MAIN commitmail json YAML

irframetty(4): Convert to ttylock/ttyunlock.

(riastradh)

2022-10-26 23:45:25 UTC MAIN commitmail json YAML

zs(4): Convert to ttylock/ttyunlock.

(riastradh)

2022-10-26 23:45:10 UTC MAIN commitmail json YAML

hpf1275a(4): Convert to ttylock/ttyunlock.

(riastradh)

2022-10-26 23:44:36 UTC MAIN commitmail json YAML

vax/dz(4): Convert to ttylock/ttyunlock.

(riastradh)

2022-10-26 23:44:03 UTC MAIN commitmail json YAML

btuart(4): Convert to ttylock/ttyunlock.

(riastradh)

2022-10-26 23:43:34 UTC MAIN commitmail json YAML

bth5(4): Convert to ttylock/ttyunlock.

(riastradh)

2022-10-26 23:43:21 UTC MAIN commitmail json YAML

bcsp(4): Convert to ttylock/ttyunlock.

(riastradh)

2022-10-26 23:42:56 UTC MAIN commitmail json YAML

ppp(4): Convert to ttylock/ttyunlock.

(riastradh)

2022-10-26 23:42:42 UTC MAIN commitmail json YAML

sl(4): Convert to ttylock/ttyunlock.

(riastradh)

2022-10-26 23:42:05 UTC MAIN commitmail json YAML

cy(4): Convert to ttylock/ttyunlock.

(riastradh)

2022-10-26 23:41:49 UTC MAIN commitmail json YAML

tty(9): New ttylock, ttyunlock, ttylocked functions.

These are wrappers around the global tty_lock for now (and the
continued existence of the tty_lock variable is why the ttylock
function has no underscore in its name).  They will assist in
converting drivers to per-tty locking later on.

(riastradh)

2022-10-26 23:40:31 UTC MAIN commitmail json YAML

sys/vnode.h: New home for extern vfs_op_descs.

(Maybe this should be in a more kern-private header file -- it's used
only by vnode_if.c and vfs_init.c -- but this'll do for now.)

(riastradh)

2022-10-26 23:40:20 UTC MAIN commitmail json YAML

miscfs/fifofs/fifo.h: New home for extern fifo_vnodeop_opv_desc.

Add include guard and fix missing includes while here too.

(riastradh)

2022-10-26 23:40:08 UTC MAIN commitmail json YAML

miscfs/specfs/specdev.h: New home for extern spec_vnodeop_opv_desc.

Also use it for extern spec_vnodeop_p, which is already there.

(riastradh)

2022-10-26 23:39:43 UTC MAIN commitmail json YAML

2022-10-26 23:39:22 UTC MAIN commitmail json YAML

sys/mount.h: New home for vfs_timestamp_precision, vfs_magiclinks.

(riastradh)

2022-10-26 23:39:11 UTC MAIN commitmail json YAML

2022-10-26 23:38:58 UTC MAIN commitmail json YAML

sys/pcu.h: New home for extern pcu_ops_md_defs.

XXX Should split sys/pcu.h up into the part that sys/lwp.h needs,
which triggers rebuild of entire kernel, and the parts needed only by
subr_pcu.c and by MD FP/SIMD state management logic.

(riastradh)

2022-10-26 23:38:10 UTC MAIN commitmail json YAML

2022-10-26 23:28:43 UTC MAIN commitmail json YAML

sys/msgbuf.h: New home for extern log_open.

(riastradh)

2022-10-26 23:28:30 UTC MAIN commitmail json YAML

kern/subr_log.c: log_lock is private; make it static, not extern.

(riastradh)

2022-10-26 23:28:18 UTC MAIN commitmail json YAML

kern/kern_lock.c: We get start_init_exec from sys/kernel.h now.

(riastradh)

2022-10-26 23:27:32 UTC MAIN commitmail json YAML

sys/kernel.h: New home for extern start_init_exec.

(riastradh)

2022-10-26 23:27:16 UTC MAIN commitmail json YAML

kern/kern_turnstile.c: Get turnstile0 from sys/sleeptab.h.

(riastradh)

2022-10-26 23:26:57 UTC MAIN commitmail json YAML

kgdb(9): Use ddb/db_extern.h instead of copying extern.

(riastradh)

2022-10-26 23:26:45 UTC MAIN commitmail json YAML

kern/subr_kobj.c: We already get module_base from sys/module.h.

(riastradh)

2022-10-26 23:24:59 UTC MAIN commitmail json YAML

sys/sleepq.h: Get cold from sys/kernel.h.

(riastradh)

2022-10-26 23:24:21 UTC MAIN commitmail json YAML

kern/subr_kcov.c: We already get cold from sys/kernel.h.

(riastradh)

2022-10-26 23:24:09 UTC MAIN commitmail json YAML

sys/sched.h: New home for extern sched_pstats_ticks in kernel.

(riastradh)

2022-10-26 23:23:52 UTC MAIN commitmail json YAML

sys: Put externs for time_adjtime and time_adjusted in .h files.

time_adjtime: sys/timex.h (defined in ntp code)
time_adjusted: sys/timevar.h (defined in non-ntp code)

(Not really sure this is a valuable distinction to maintain; there's
non-ntp code that uses time_adjtime too.)

(riastradh)

2022-10-26 23:23:28 UTC MAIN commitmail json YAML

kern/kern_synch.c: Get averunnable from sys/resource.h.

(riastradh)

2022-10-26 23:22:54 UTC MAIN commitmail json YAML

rephrase / clarify explanation of struct tm member normalization

(jschauma)

2022-10-26 23:22:38 UTC MAIN commitmail json YAML

kern/kern_pax.c: Get maxsmap from sys/resourcevar.h.

(riastradh)

2022-10-26 23:22:22 UTC MAIN commitmail json YAML

2022-10-26 23:22:07 UTC MAIN commitmail json YAML

2022-10-26 23:21:20 UTC MAIN commitmail json YAML

2022-10-26 23:21:06 UTC MAIN commitmail json YAML

kern/kern_hook.c: Get exec_lock from sys/exec.h.

(riastradh)

2022-10-26 23:20:47 UTC MAIN commitmail json YAML

kern/init_main.c: Get extern lwp0 from sys/lwp.h.

(riastradh)

2022-10-26 23:20:36 UTC MAIN commitmail json YAML

kern/exec_elf.c: Get emul_netbsd from sys/proc.h.

(riastradh)

2022-10-26 22:14:22 UTC MAIN commitmail json YAML

Since this node is a child of a syscon, the reg property doesn't fully
describe the device physical address. Use syscon accessors to read/write
clock registers instead.

(jmcneill)

2022-10-26 22:13:09 UTC MAIN commitmail json YAML

2022-10-26 22:09:37 UTC MAIN commitmail json YAML

2022-10-26 21:56:19 UTC MAIN commitmail json YAML

2022-10-26 21:18:50 UTC MAIN commitmail json YAML

grutil.c: fix grammar in a comment

(gutteridge)

2022-10-26 20:54:53 UTC MAIN commitmail json YAML

No need to constrain DMA tag to 32-bits on 32-bit platforms.

(jmcneill)

2022-10-26 18:19:42 UTC netbsd-8 commitmail json YAML

2022-10-26 18:16:43 UTC netbsd-8 commitmail json YAML

src/distrib/sets/lists/base/mi@1.1158.2.8 / diff / nxr@1.1158.2.8
src/doc/3RDPARTY@1.1444.2.27 / diff / nxr@1.1444.2.27
src/external/public-domain/tz/dist/CONTRIBUTING@1.1.1.3.6.4 / diff / nxr@1.1.1.3.6.4
src/external/public-domain/tz/dist/Makefile@1.1.1.17.4.9 / diff / nxr@1.1.1.17.4.9
src/external/public-domain/tz/dist/NEWS@1.1.1.18.4.10 / diff / nxr@1.1.1.18.4.10
src/external/public-domain/tz/dist/README@1.1.1.5.6.4 / diff / nxr@1.1.1.5.6.4
src/external/public-domain/tz/dist/SECURITY@1.1.1.1.4.2 / diff / nxr@1.1.1.1.4.2
src/external/public-domain/tz/dist/TZDATA_VERSION@1.8.4.10 / diff / nxr@1.8.4.10
src/external/public-domain/tz/dist/africa@1.1.1.11.4.10 / diff / nxr@1.1.1.11.4.10
src/external/public-domain/tz/dist/antarctica@1.1.1.8.4.5 / diff / nxr@1.1.1.8.4.5
src/external/public-domain/tz/dist/asia@1.1.1.16.4.9 / diff / nxr@1.1.1.16.4.9
src/external/public-domain/tz/dist/australasia@1.1.1.11.4.9 / diff / nxr@1.1.1.11.4.9
src/external/public-domain/tz/dist/backward@1.1.1.7.4.5 / diff / nxr@1.1.1.7.4.5
src/external/public-domain/tz/dist/backzone@1.1.1.11.4.7 / diff / nxr@1.1.1.11.4.7
src/external/public-domain/tz/dist/calendars@1.1.1.1.2.3 / diff / nxr@1.1.1.1.2.3
src/external/public-domain/tz/dist/checktab.awk@1.1.1.8.8.3 / diff / nxr@1.1.1.8.8.3
src/external/public-domain/tz/dist/etcetera@1.1.1.2.6.4 / diff / nxr@1.1.1.2.6.4
src/external/public-domain/tz/dist/europe@1.1.1.17.4.9 / diff / nxr@1.1.1.17.4.9
src/external/public-domain/tz/dist/leap-seconds.list@1.1.1.7.4.6 / diff / nxr@1.1.1.7.4.6
src/external/public-domain/tz/dist/leapseconds@1.1.1.8.4.7 / diff / nxr@1.1.1.8.4.7
      :
(more 8 files)
Pull up the following revisions (catch up to -current), requested by kre
in ticket #1777:

external/public-domain/tz/dist/SECURITY        up to 1.1.1.1
external/public-domain/tz/dist/CONTRIBUTING    up to 1.1.1.7
external/public-domain/tz/dist/Makefile        up to 1.1.1.33
external/public-domain/tz/dist/NEWS            up to 1.1.1.38
external/public-domain/tz/dist/README          up to 1.1.1.10
external/public-domain/tz/dist/TZDATA_VERSION  up to 1.30
external/public-domain/tz/dist/africa          up to 1.1.1.28
external/public-domain/tz/dist/antarctica      up to 1.1.1.15
external/public-domain/tz/dist/asia            up to 1.5
external/public-domain/tz/dist/australasia      up to 1.5
external/public-domain/tz/dist/backward        up to 1.5
external/public-domain/tz/dist/backzone        up to 1.1.1.23
external/public-domain/tz/dist/calendars        up to 1.1.1.2
external/public-domain/tz/dist/checktab.awk    up to 1.1.1.11
external/public-domain/tz/dist/etcetera        up to 1.1.1.6
external/public-domain/tz/dist/europe          up to 1.1.1.34
external/public-domain/tz/dist/leap-seconds.list up to 1.4
external/public-domain/tz/dist/leapseconds      up to 1.4
external/public-domain/tz/dist/northamerica    up to 1.1.1.30
external/public-domain/tz/dist/southamerica    up to 1.1.1.20
external/public-domain/tz/dist/theory.html      up to 1.1.1.15
external/public-domain/tz/dist/version          up to 1.5
external/public-domain/tz/dist/ziguard.awk      up to 1.1.1.9
external/public-domain/tz/dist/zishrink.awk    up to 1.1.1.8
external/public-domain/tz/dist/zone.tab        up to 1.1.1.22
external/public-domain/tz/dist/zone1970.tab    up to 1.1.1.23
distrib/sets/lists/base/mi (apply patch)
doc/3RDPARTY (apply patch)

Updata tzdata to 2022e.

(martin)

2022-10-26 14:50:47 UTC MAIN commitmail json YAML

2022-10-26 14:50:26 UTC MAIN commitmail json YAML

Add AMD F17/Axh devices.

(msaitoh)

2022-10-26 13:35:25 UTC MAIN commitmail json YAML

Add AMD F17/1x and F17/9x CCP(PSP) support to amdccp(4).

(msaitoh)

2022-10-26 13:23:10 UTC MAIN commitmail json YAML

2022-10-26 13:22:31 UTC MAIN commitmail json YAML

Add some AMD 17h/9xh devices from OpenBSD.

(msaitoh)

2022-10-26 11:31:11 UTC MAIN commitmail json YAML

Inherit MAC address from Devicetree "local-mac-address" property.

(jmcneill)

2022-10-26 10:55:24 UTC MAIN commitmail json YAML

2022-10-26 10:38:49 UTC MAIN commitmail json YAML

expat-2.5.0 out (CVE-2022-43680)

(wiz)

2022-10-26 07:35:20 UTC MAIN commitmail json YAML

2022-10-26 06:36:40 UTC MAIN commitmail json YAML

Add comment to ICH/PCH's lock stuff in wm_reset().

(msaitoh)

2022-10-25 23:39:13 UTC MAIN commitmail json YAML

2022-10-25 23:39:01 UTC MAIN commitmail json YAML

linux asm/vmware.h: Fill this in with hypercall asm.

Not sure if it's necessary to support vmcall or vmmcall -- if so,
need to deal with binary patching inline asm, ugh.

(riastradh)

2022-10-25 23:38:34 UTC MAIN commitmail json YAML

linux asm/uaccess.h: strncpy_from_user

(which does not actually have strncpy semantics, naturally, from what
I can gather)

(riastradh)

2022-10-25 23:38:02 UTC MAIN commitmail json YAML

2022-10-25 23:37:36 UTC MAIN commitmail json YAML

linux/kernel.h: S16_MIN, S32_MIN, S64_MIN

(riastradh)

2022-10-25 23:37:24 UTC MAIN commitmail json YAML

linux/suspend.h: Stubs for (un)register_pm_notifier.

(riastradh)

2022-10-25 23:37:07 UTC MAIN commitmail json YAML

linux/pci.h: Stubs for pci_request/release_region(s).

(riastradh)

2022-10-25 23:36:32 UTC MAIN commitmail json YAML

2022-10-25 23:36:21 UTC MAIN commitmail json YAML

2022-10-25 23:36:09 UTC MAIN commitmail json YAML

drm: New IRQ_WAKE_THREAD constant.

Not really wired up to anything but helps reduce diffs -- driver is
responsible for making decisions based on it, corresponding to
Linux's built-in `threaded irq'.

(riastradh)

2022-10-25 23:35:57 UTC MAIN commitmail json YAML

2022-10-25 23:35:43 UTC MAIN commitmail json YAML

2022-10-25 23:35:29 UTC MAIN commitmail json YAML

vmwgfx(4): Use bus_dma tag, not struct device, for dma_pool shims.

(riastradh)

2022-10-25 23:34:06 UTC MAIN commitmail json YAML

2022-10-25 23:33:44 UTC MAIN commitmail json YAML

vmwgfx(4): Convert cmdbuf to drm_waitqueue_t.

(riastradh)

2022-10-25 23:33:29 UTC MAIN commitmail json YAML

linux/spinlock.h: spin_lock_bh, spin_unlock_bh

Nothing special needed here; NetBSD mutex(9) at IPL_* giving spin
locks already blocks `BH' (i.e., softints -- although I'm not sure
softints are relevant to the one use of this in vmwgfx).

(riastradh)

2022-10-25 23:33:18 UTC MAIN commitmail json YAML

linux asm/io.h: Side-load linux/vmalloc.h like Linux does.

(riastradh)

2022-10-25 23:32:37 UTC MAIN commitmail json YAML

2022-10-25 23:32:04 UTC MAIN commitmail json YAML

vmwgfx(4): dma_alloc/free_coherent -> bus_dma_*

(riastradh)

2022-10-25 23:31:49 UTC MAIN commitmail json YAML

2022-10-25 23:31:38 UTC MAIN commitmail json YAML

vmwgfx: Set some warning and config flags.  Nix vmwgfx_fb.c for now.

(riastradh)

2022-10-25 23:31:27 UTC MAIN commitmail json YAML

linux/export.h: Side-load linux/stringify.h.

Expected by some users.

(riastradh)

2022-10-25 23:22:36 UTC MAIN commitmail json YAML

extattr(9): KNF

No functional change intended.

(riastradh)

2022-10-25 23:22:17 UTC MAIN commitmail json YAML

extattr(9): Fix uninitialized uio_iovcnt.

(riastradh)

2022-10-25 23:21:33 UTC MAIN commitmail json YAML

console(4), constty(4): Rip off the kernel lock, take three.

(riastradh)

2022-10-25 23:21:13 UTC MAIN commitmail json YAML

constty(4): Make MP-safe, take three.

Access to the global constty variable is coordinated as follows:

1. Setting constty to nonnull, with atomic_store_release, is allowed
  only under the new adaptive constty_lock in thread context.  This
  serializes TIOCCONS operations and ensures unlocked readers can
  safely use a constty pointer read with atomic_load_consume.

2. Changing constty from nonnull to null, with atomic_cas_ptr, is
  allowed in any context -- printf(9) uses this to disable a broken
  constty.

3. Reading constty under constty_lock is allowed with
  atomic_load_relaxed, because while constty_lock is held, it can
  only be made null by some other thread/CPU, never made nonnull.

4. Reading constty outside constty_lock is allowed with
  atomic_load_consume in a pserialize read section -- constty is
  only ever made nonnull with atomic_store_release, in (1).
  ttyclose will wait for all these pserialize read sections to
  complete before flushing the tty.

5. To continue to use a struct tty pointer in (4) after the
  pserialize read section has completed, caller must use tty_acquire
  during the pserialize read section and then tty_release when done.
  ttyclose will wait for all these references to drain before
  returning.

These access rules allow us to serialize TIOCCONS, and safely destroy
ttys, without putting any locks on the access paths like printf(9)
that use constty.  Once we set D_MPSAFE, operations on /dev/console
will contend only with other users of the same tty as constty, which
will be an improvement over contending with all other kernel lock
users in the system.

Changes second time around:
- Fix initialization of ok in cons.c cn_redirect.
- Fix reversed sense of conditional in subr_prf.c putone.

Changes third time around:
- Initialize ttyref_cv so we don't panic when trying to use it,
  leading to infinite loop when panic tries to take tty_lock to print
  the panic message while we already hold tty_lock.

(riastradh)

2022-10-25 22:59:10 UTC MAIN commitmail json YAML

Remove unnecessary code in zynq_platform_device_register

(jmcneill)

2022-10-25 22:52:48 UTC MAIN commitmail json YAML

Fixup mixed up log messages.

(jmcneill)

2022-10-25 22:49:39 UTC MAIN commitmail json YAML

2022-10-25 22:27:49 UTC MAIN commitmail json YAML

2022-10-25 19:33:00 UTC MAIN commitmail json YAML

-h doesn't sort numerically, pointed out by various

(nia)

2022-10-25 17:54:59 UTC netbsd-9 commitmail json YAML

2022-10-25 17:52:46 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #1547):

usr.bin/progress/progress.c: revision 1.24
usr.bin/progress/progress.c: revision 1.25

Test errno when the return value from wait() indicates an error, not
when it indicates success.  PR install/56303.

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.

(martin)

2022-10-25 15:44:02 UTC MAIN commitmail json YAML

various tips/simplifications from UnitedBSD

(nia)

2022-10-25 13:36:35 UTC MAIN commitmail json YAML

put back quotation mark removal in FAMILI_NAME statement which got broken
in a previous commit

(macallan)

2022-10-25 13:31:58 UTC MAIN commitmail json YAML

keep track of character names and dump them into the header file if known

(macallan)

2022-10-25 12:55:04 UTC MAIN commitmail json YAML

do not rely on every STARTCHAR/ENDCHAR sequence starting with ENCODING - the
standard doesn't specify in which order each glyph's properties are listed

(macallan)

2022-10-25 08:07:08 UTC MAIN commitmail json YAML

Fix a merge or conversion problem (probably) - a .SH BUGS
(meaningless macro in mdoc) followed by the first line of the
real BUGS section somehow ended up inserted after the first
word of the STANDARDS section.  Delete the noise.

(kre)

2022-10-25 06:20:01 UTC MAIN commitmail json YAML

Fix for lib/57050
Perform a sanity check on the window parameter being passed and return
ERR if it is null.  This prevents buggy code crashing.

(blymn)

2022-10-25 00:20:36 UTC MAIN commitmail json YAML

ifq_drops was changed to use uint64_t.

(msaitoh)

2022-10-24 23:18:31 UTC MAIN commitmail json YAML

strptime(3): make the fact that %z is an extension more prominent

Mention it near the format itself, not on the next screen (with an
awkward indentation too).

(uwe)

2022-10-24 14:22:53 UTC MAIN commitmail json YAML

Remove references to GEOM from zpool(8).

(nia)

2022-10-24 14:15:19 UTC MAIN commitmail json YAML

Clear saved_flags to avoid compile error on some archs.

(msaitoh)