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 (3h)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 02:33:27 UTC Now

2022-11-19 07:54:25 UTC MAIN commitmail json YAML

assym.mk: Fix assym.d generation

It seems that the genassym/mkdep output has been changed.
This commit adapts the assym.d generation rule to the new output.

(yamt)

2022-11-18 16:01:01 UTC MAIN commitmail json YAML

Allow configuration of addresses without a mask/prefix (Jose Luis Duran)

(christos)

2022-11-18 07:41:31 UTC MAIN commitmail json YAML

Fix clearing of permissions when finding unexpected extended attributs
for swapped endian file systems. Ok: chs

(martin)

2022-11-18 06:53:06 UTC MAIN commitmail json YAML

Fix SR_WPRI.

Tweak csr_cycle_read and csr_asid_write for code style, and add some
KNF whitespace.

(skrll)

2022-11-18 00:10:03 UTC MAIN commitmail json YAML

kern/vfs_init.c: extern vfs_op_descs got rehomed in sys/vnode.h.

(riastradh)

2022-11-17 23:57:21 UTC MAIN commitmail json YAML

pckbc(4): Stop waiting 8us before reading each data byte.

This appears to have copied from pccons(4), where it was introduced
by mycroft@ in 1994 in sys/arch/i386/isa/pccons.c rev. 1.63 with the
commit message `Rename two files.'.  No justification was given.

This delay was in a hard interrupt handler, and an MP-unsafe one to
boot, so it could hold up system responsiveness by delaying interrupt
handling and blocking other users of the legacy kernel lock.

The delay remains in the pckbc_wait_output loop to set a command
byte, which is not used in the interrupt path (and I suspect is used
only on boot during attach anyway).

(riastradh)

2022-11-17 23:54:45 UTC MAIN commitmail json YAML

xz 5.2.8 out.

(wiz)

2022-11-17 20:43:39 UTC MAIN commitmail json YAML

2022-11-17 19:20:06 UTC MAIN commitmail json YAML

2022-11-17 18:57:16 UTC MAIN commitmail json YAML

Make the "non-zero exattr fields" message show the inode number.

(martin)

2022-11-17 17:35:25 UTC MAIN commitmail json YAML

Simply set HAVE_GETRANDOM to false on __APPLE__.

Addresses PR 57083.

(jakllsch)

2022-11-17 15:21:32 UTC MAIN commitmail json YAML

s/features 2/features2/

(msaitoh)

2022-11-17 13:11:08 UTC MAIN commitmail json YAML

Use updated defines for the user-mode sstatus value.

(simonb)

2022-11-17 13:10:43 UTC MAIN commitmail json YAML

Document lots of bits.
Remove bits no longer in the RISC-V supervisor spec.
Update defines for the user-mode sstatus value.

(simonb)

2022-11-17 09:58:42 UTC MAIN commitmail json YAML

distrib: add missing ./usr/libdata/debug/usr/tests/net/inpcb

(ozaki-r)

2022-11-17 09:50:23 UTC MAIN commitmail json YAML

Use better types and struct member names in the clockframe.
Avoid a magic number in CLKF_USERMODE().

(simonb)

2022-11-17 08:45:36 UTC MAIN commitmail json YAML

2022-11-17 08:42:56 UTC MAIN commitmail json YAML

tests: add t_broadcast_bind.sh

(ozaki-r)

2022-11-17 08:42:06 UTC MAIN commitmail json YAML

tests: tweak broadcast_bind.c for NetBSD

(ozaki-r)

2022-11-17 08:41:16 UTC MAIN commitmail json YAML

tests: import broadcast_bind.c from OpenBSD

As of $OpenBSD: broadcast_bind.c,v 1.2 2015/12/02 20:45:00 mpi Exp $

(ozaki-r)

2022-11-17 08:40:24 UTC MAIN commitmail json YAML

tests: add t_inpcb_bind.sh

(ozaki-r)

2022-11-17 08:38:58 UTC MAIN commitmail json YAML

tests: make inpcb_bind.c buildable

(ozaki-r)

2022-11-17 08:38:08 UTC MAIN commitmail json YAML

tests: import in_pcbbind/runtest.c from OpenBSD as inpcb_bind.c

As of $OpenBSD: runtest.c,v 1.7 2022/04/10 14:08:35 claudio Exp $

(ozaki-r)

2022-11-17 08:36:54 UTC MAIN commitmail json YAML

tests: make t_tcp_connect_port.c run on rump kernel

(ozaki-r)

2022-11-17 08:36:00 UTC MAIN commitmail json YAML

tests: import tcp_connect_port_test.c from FreeBSD as t_tcp_connect_port.c

As of:
commit 36c52a52eecf1ed0232f9e138564009a85de76c2
Author: Jonathan T. Looney <jtl@FreeBSD.org>
Date:  Sat Nov 14 15:44:28 2020 +0000

    Add a regression test for the port-selection behavior fixed in r367680.

(ozaki-r)

2022-11-17 08:34:39 UTC MAIN commitmail json YAML

tests: make t_socket_afinet.c run on rump kernel

(ozaki-r)

2022-11-17 08:33:27 UTC MAIN commitmail json YAML

tests: import socket_afinet.c from FreeBSD as t_socket_afinet.c

As of:
commit 3aaaa2efde896e19d229ee2cf09fe7e6ab0fbf6e
Author: Thomas Munro <tmunro@FreeBSD.org>
Date:  Wed Apr 28 21:31:38 2021 +1200

    poll(2): Add POLLRDHUP.

(ozaki-r)

2022-11-17 06:40:41 UTC MAIN commitmail json YAML

Restore backward compatibility of UFS2 with previous NetBSD releases by
disabling support in UFS2 for extended attributes (including ACLs).
Add a new variant of UFS2 called "UFS2ea" that does support extended attributes.
Add new fsck_ffs operations "-c ea" and "-c no-ea" to convert file systems
from UFS2 to UFS2ea and vice-versa (both of which delete all existing extended
attributes in the process).

(chs)

2022-11-17 05:02:11 UTC MAIN commitmail json YAML

Fix sending broken RTM_DELADDR message in some operations.

Here is mininum reproduction operation.
====================
# ifconfig ixg0 172.16.0.1/29
# route monitor &
# ifconfig pppoe0 172.16.0.1/32 0.0.0.1
====================

The broken RTM_DELADDR is the following.
====================
got message of size 72 on Thu Nov 17 12:50:42 2022
#13: len 72, got message of size 80 on Thu Nov 17 12:50:42 2022
RTM_DELADDR: address being removed from iface: len 80, pid 3552, metric 0, addrflags: 0
sockaddrs: 0xb4<NETMASK,IFP,IFA,BRD>
Q00.00.ff.ff.ff.ff.00.00.00.00.00.00.00.00 pppoe0 default default
====================

This problem is related to the following two commit.

(1) https://github.com/NetBSD/src/commit/b0210214689f17ec08988acd7ef8ae9cdc4c68bc
    that is, sys/netinet/in.c:r1.183

(2) https://github.com/NetBSD/src/commit/61bad33c44f2f6a01a030e8aa5840c015716792a
    that is, sys/netinet/in.c:r1.185

(1) adds in_scrubaddr() for old addresses to in_ifinit() without checking
IFA_ROUTE.
And then, (2) removes in_ifscrub() for POINTTOPOINT interface in in_control0.
The removed in_ifscrub() is called with checking IFA_ROUTE.
It seems these modifications about checking IFA_ROUTE logic causes this
problem, however the real reason is calling in_ifscrub() for the interface
which does not have IPv4 address.  So, scrubbing old address processing
should be done only if the interface already has IPv4 address.

(knakahara)

2022-11-16 19:38:08 UTC MAIN commitmail json YAML

PR/57083: Jiaxun Yang: Fix build on MacOS/X which has <sys/random.h> but no
getrandom(3).

(christos)

2022-11-16 15:02:00 UTC MAIN commitmail json YAML

s/Instruction-Based Sampling/IBS/

(msaitoh)

2022-11-16 14:55:50 UTC MAIN commitmail json YAML

Add CPUID Fn8000_0022 AMD Extended Performance Monitoring and Debug.

(msaitoh)

2022-11-16 14:01:41 UTC MAIN commitmail json YAML

Add CPUID Fn8000_0021 AMD Extended Features Identification 2.

(msaitoh)

2022-11-16 13:15:26 UTC MAIN commitmail json YAML

Print AMD RAS features and Instruction-Based Sampling features.

(msaitoh)

2022-11-16 13:14:34 UTC MAIN commitmail json YAML

Add Some definitions from AMD APM:

- Add CPUID Fn8000_0007 %eax RAS capabilities.
- Add CPUID Fn8000_001b Instruction-Based Sampling capabilities.
- Add BTC_NO, ROGPT, RPMQUERY, VmplSSS, TscAuxVirt, VmgexitParam,
  VirtualTomMsr, bsVirtGuest, SmtProtection, vsmCommPageMSR and
  NestedVirtSnpMsr.

(msaitoh)

2022-11-16 11:54:26 UTC MAIN commitmail json YAML

2022-11-15 22:17:53 UTC MAIN commitmail json YAML

posix_openpt.3: add a history section

(gutteridge)

2022-11-15 21:05:00 UTC MAIN commitmail json YAML

More ipfilter fixes (Jose Luis Duran)

(christos)

2022-11-15 20:58:50 UTC MAIN commitmail json YAML

NetBSD uses ipf.conf for ipfilter not ipfilter.conf (Hose Luis Duran)

(christos)

2022-11-15 14:49:14 UTC MAIN commitmail json YAML

Enable CD9660; noticed by he@.

(simonb)

2022-11-15 14:44:05 UTC MAIN commitmail json YAML

Include GENERIC.local if it exists.

(simonb)

2022-11-15 14:33:34 UTC MAIN commitmail json YAML

Use similar macro-magic to aarch64 armreg.h to add per-csr
read/write/set-bits/clear-bits inline functions.  Keep the
open-coded 32-bit version of riscvreg_cycle_read() than reads
a 64-bit cycle counter values.

Added benefit of fixing these so that the inline asm uses __volatile
and aren't opmtimised to nops by the compiler.

(simonb)

2022-11-15 12:43:14 UTC MAIN commitmail json YAML

remove workaround for old clang - it's not needed anymore and caused problems
elsewhere

(macallan)

2022-11-15 10:47:39 UTC MAIN commitmail json YAML

arp: Validate ARP source hardware address matches Ethernet source

RFC 5227 section 1.1 states that for a DaD ARP probe the sender hardware
address must match the hardware address of the interface sending the
packet.

We can now verify this by checking the mbuf tag PACKET_TAG_ETHERNET_SRC.

This fixes an obsure issue where an old router was sending out bogus
ARP probes.

Thanks to Ryo Shimizu <ryo@nerv.org> for the re-implementation.

(roy)

2022-11-15 10:29:56 UTC MAIN commitmail json YAML

don't KASSERT(kpreempt_disabled()) while cold
pserialize_read_*() can be called *very* early in kernel startup these days

(macallan)

2022-11-15 09:15:44 UTC MAIN commitmail json YAML

2022-11-15 09:14:28 UTC MAIN commitmail json YAML

2022-11-15 09:13:43 UTC MAIN commitmail json YAML

Revert prior.

(roy)

2022-11-15 07:58:00 UTC MAIN commitmail json YAML

make.1: make horizontal and vertical spacing more consistent

(rillig)

2022-11-14 10:15:08 UTC MAIN commitmail json YAML

Adjust comment for new sizes.

Thanks to Kengo NAKAHARA <k-nakahara@iij.ad.jp>

(roy)

2022-11-14 09:32:21 UTC MAIN commitmail json YAML

arp: Validate L2 sender hardware address matches ARP probe

RFC 5227 section 1.1 states that for a DaD ARP probe the sender hardware
address must match the hardware address of the interface sending the
packet.

We can now verify this by checking the mbuf packet header.

This fixes an obsure issue where an old router was sending out bogus
ARP probes.

(roy)

2022-11-14 09:23:42 UTC MAIN commitmail json YAML

net: Store a pointer to the Layer 2 Sender Hardware address in mbuf

The BSD networking stack is designed around passing a mbuf down the chain
and each layer removes the part it's interested in before passing it to
the next. This makes it easy for each layer to do it's work,
but non trivial to work backwards.

As such we now store a pointer to the Senders Hardware address in the
mbuf packet header so that protocols can perform any required validation.

(roy)

2022-11-13 21:57:12 UTC MAIN commitmail json YAML

add a 'check' target to run the tests (needs to be on the same arch as host.)

(mrg)

2022-11-13 21:22:13 UTC MAIN commitmail json YAML

Add major changes to curses(3)

(blymn)

2022-11-13 09:36:37 UTC MAIN commitmail json YAML

2022-11-13 08:13:55 UTC MAIN commitmail json YAML

2022-11-13 05:26:07 UTC MAIN commitmail json YAML

add -D_CONST_X_STRING, like new upstream

(mrg)

2022-11-13 05:24:25 UTC MAIN commitmail json YAML

2022-11-13 02:48:37 UTC MAIN commitmail json YAML

2022-11-12 16:54:36 UTC MAIN commitmail json YAML

Skip the first PHY found to remove the shadow PHY that appears at
the broadcast address 0.

(jmcneill)

2022-11-12 11:14:44 UTC MAIN commitmail json YAML

Add NFS_BOOT_DHCP option.

(simonb)

2022-11-12 07:48:34 UTC MAIN commitmail json YAML

2022-11-12 07:43:33 UTC MAIN commitmail json YAML

disable arm64 NEON for now.  my X server exits for unknown reasons..

(mrg)

2022-11-12 07:34:18 UTC MAIN commitmail json YAML

Note some SV39 PTE bits defined in extensions.

Fix pte_nv_entry for the kernel.

Fix pte_pde_ptpage. PTE.{X,W,R} must be zero for pointer to next level.

(skrll)

2022-11-12 07:05:41 UTC MAIN commitmail json YAML

Use uintptr_t consistently rather than register_t

(skrll)

2022-11-12 06:05:13 UTC MAIN commitmail json YAML

remove unused file.

(mrg)

2022-11-12 04:00:57 UTC MAIN commitmail json YAML

2022-11-12 03:35:26 UTC MAIN commitmail json YAML

2022-11-12 02:20:16 UTC MAIN commitmail json YAML

updates for libdrm 2.4.114.

unfortunately, the i915 ioctls are no longer handled by kdump/ktruss
as the new one conflicts with base.  this needs a clean build in these
dirs (and rescue).  the radeon ioctls have been enabled instead.

(mrg)

2022-11-12 02:07:08 UTC MAIN commitmail json YAML

2022-11-12 02:03:09 UTC MAIN commitmail json YAML

2022-11-12 01:45:26 UTC MAIN commitmail json YAML

2022-11-11 23:50:07 UTC MAIN commitmail json YAML

2022-11-11 23:08:51 UTC MAIN commitmail json YAML

2022-11-11 20:31:30 UTC MAIN commitmail json YAML

Add support for Xilinx 7-series ADC.

The temperature and voltage sensors are exposed with sysmon:

# envstat -d zynqxadc0
              Current  CritMax  WarnMax  WarnMin  CritMin  Unit
temperature:    67.426                                      degC
    vccint:    1.010                                        V
    vccaux:    1.801                                        V
      vp/vn:    0.011                                        V
      vrefp:    1.250                                        V
      vrefn:    0.004                                        V
    vccbram:    1.009                                        V
    vccpint:    1.009                                        V
    vccpaux:    1.799                                        V
  vcco_ddr:    1.500                                        V

(jmcneill)

2022-11-11 20:29:47 UTC MAIN commitmail json YAML

Support PCAL clock control

(jmcneill)

2022-11-11 07:55:19 UTC MAIN commitmail json YAML

2022-11-11 07:52:54 UTC MAIN commitmail json YAML

2022-11-11 07:49:34 UTC MAIN commitmail json YAML

2022-11-11 04:45:23 UTC MAIN commitmail json YAML

2022-11-11 01:18:32 UTC MAIN commitmail json YAML

The supervisor status register is the native word width, not fixed
at 32 bits.

(simonb)

2022-11-10 10:55:01 UTC MAIN commitmail json YAML

If built with DEBUG Limit the depth of file system stack so kernel sanitizers
may stress mount/unmount without exhausting the kernel stack.

(hannken)

2022-11-10 10:54:14 UTC MAIN commitmail json YAML

Tmpfs_mount() uses tmpfs_unmount() for cleanup if set_statvfs_info() fails.
This will not work as tmpfs_unmount() needs a suspended file system.

Just call set_statvfs_info() before allocating the root vnode and add
and use a common error exit label.

Reported-by: syzbot+343f2bfea65a32ab4222@syzkaller.appspotmail.com

(hannken)

2022-11-10 10:53:29 UTC MAIN commitmail json YAML

Some changes to "fs->fs_fmod" and "fs->fs_clean":
- clear "fs->fs_fmod" after reading the super block.
- assert we don't write a super block when mounted read-only.
- make sure "fs->fs_clean" is one of FS_ISCLEAN or FS_WASCLEAN.
- print "file system not clean" on every mount.

Should fix PR kern/57010: ffs: mounting unclean non-root fs read-only
causes spurious write to superblock

(hannken)

2022-11-10 07:54:20 UTC MAIN commitmail json YAML

revert my previous commit.

since armv8_pmu_init is only called when it is reliably worked by ACPI or fdt,
there is no need for dynamic checks.

pointed out by jmcneill@, thanks

(ryo)

2022-11-10 06:13:58 UTC MAIN commitmail json YAML

Added new libcurses test checkfile.

(blymn)

2022-11-10 06:13:29 UTC MAIN commitmail json YAML

Uncomment the waddstr call that was returning ERR, this is actually
correct so make the expected return ERR then repeat the call with
scrollok set to true to validate.

Do refreshes on the window instead of stdscr so we get the window
contents reported and update the check files with the expected
output.

(blymn)

2022-11-10 00:47:01 UTC MAIN commitmail json YAML

closefrom.3: add a history section

(gutteridge)

2022-11-09 19:06:46 UTC MAIN commitmail json YAML

If the hardware does not support PMU, return an error instead of KASSERT.

(ryo)

2022-11-09 19:03:38 UTC MAIN commitmail json YAML

fdt/pmu was not working. do return only if there is an error.

(ryo)

2022-11-09 14:43:20 UTC MAIN commitmail json YAML

texinfo 7.0 out

(wiz)

2022-11-09 08:21:20 UTC MAIN commitmail json YAML

2022-11-09 08:18:53 UTC MAIN commitmail json YAML

Fix IPv4 security policy with port number does not work for forwarding packets.

(knakahara)

2022-11-08 13:47:09 UTC MAIN commitmail json YAML

2022-11-08 13:35:32 UTC MAIN commitmail json YAML

Add cause register trap types, and some macros to access cause register
fields.

(simonb)

2022-11-08 13:34:18 UTC MAIN commitmail json YAML

Add a #define for XLEN, the RISC-V native base integer ISA width.

(simonb)

2022-11-08 13:04:49 UTC MAIN commitmail json YAML

Fix tyop in __BITS for the MIPSNN_MTI_CFG7_PREF_MASK macro.

(simonb)

2022-11-08 12:48:28 UTC MAIN commitmail json YAML

2022-11-08 09:30:11 UTC MAIN commitmail json YAML

doc: various changes from various developers for late october

(nia)

2022-11-08 06:08:33 UTC MAIN commitmail json YAML

Added a new check file for libcurses test slk

(blymn)

2022-11-08 06:06:54 UTC MAIN commitmail json YAML

* Uncomment the slk_wset test which was previously commented out due
  to incorrect output as this bug has been fixed.
* Added a check file to verify the slk_wset output.

(blymn)

2022-11-08 01:43:09 UTC MAIN commitmail json YAML

syslogd: make -d accept an optional argument

Make it possible to specify the debug message categories with an
optional numeric argument.  You'll have to read the fine source to
find out what they are.  The number can be specified as the usual
decimal, hex (0x), or octal (0) literal with an optional ~negation.

Since syslogd uses getopt(3), not getopt_long(3), do a bit of
gymnastics so that both -d42 and -d 42 are accepted (I'm not inventing
long names for all the existing options just to support an optional
argument to -d).

-d without an argument still uses the old D_DEFAULT selection just in
case someone really relies on that.  You can disable all debug
messages with -d0 but still get syslogd not daemonized.

(uwe)

2022-11-08 01:05:10 UTC MAIN commitmail json YAML

tls.c: wrap debug-only data in #ifndef NDEBUG

(uwe)

2022-11-08 01:03:27 UTC MAIN commitmail json YAML

sign.c: mark a variable used only in asserts as __diagused

(uwe)

2022-11-07 21:18:49 UTC MAIN commitmail json YAML

Count character widths not number of bytes when calculating number
of characters to add.  Fixes an error detected by slk tests where
a label containing wide characters was not correctly printed.

(blymn)

2022-11-07 08:35:57 UTC MAIN commitmail json YAML

Welcome to 9.99.106

Increase the size of dl_data[] from 12 to 24.

(msaitoh)

2022-11-07 08:34:31 UTC MAIN commitmail json YAML

Sync with if_dl.h rev. 1.31's change.

(msaitoh)

2022-11-07 08:32:35 UTC MAIN commitmail json YAML

Increase sdl_data so that more then IFNAMSIZ bytes are available (again).

COMPAT_9 is not required.

- The getifaddrs(3) function has no problem. The routing message has no
  problem because struct rtm_msglen has rtm_msglen and we can get the next
  message using with it. There is no any kernel data structure which has
  struct sockaddr_dl foobadr[xxx] array.

- A data passed from userland and a kernel data are compared with
  sockaddr_cmp(). The return value is used to check if the size is
  inadequate or not.

- In the kernel, sdl_len is not directly used for the length of memcpy()
  but the sockaddr_dl_measure() is used for it.

(msaitoh)

2022-11-07 07:28:04 UTC MAIN commitmail json YAML

2022-11-05 18:38:08 UTC MAIN commitmail json YAML

openssl 1.1.1s/3.0.7 out

(wiz)

2022-11-05 17:36:33 UTC MAIN commitmail json YAML

2022-11-05 17:32:03 UTC MAIN commitmail json YAML

2022-11-05 17:31:38 UTC MAIN commitmail json YAML

2022-11-05 17:30:20 UTC MAIN commitmail json YAML

2022-11-05 17:30:07 UTC MAIN commitmail json YAML

Handle speed change events

(jmcneill)

2022-11-05 17:28:55 UTC MAIN commitmail json YAML

2022-11-05 11:33:55 UTC MAIN commitmail json YAML

regerror(3): Allow null errbuf if errbuf_size is zero.

The man page says:

  If errbuf_size is 0, errbuf is ignored but the return value is still
  correct.

POSIX says:

  If errbuf_size is 0, regerror() shall ignore the errbuf argument,
  and return the size of the buffer needed to hold the generated
  string.

  https://pubs.opengroup.org/onlinepubs/9699919799/functions/regerror.html

from enh@google.com

(riastradh)

2022-11-05 11:21:06 UTC netbsd-9 commitmail json YAML

2022-11-05 11:19:50 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #1550):

sys/dev/usb/uhidev.c: revision 1.94

Back out r1.82 ("Do not explicitly set the HID Report Protocol upon attach")
due to the regression reported in PR 57031

(martin)

2022-11-05 10:04:35 UTC MAIN commitmail json YAML

Fix inverted result when status is "okay"

(skrll)

2022-11-05 08:29:17 UTC MAIN commitmail json YAML

2022-11-04 19:46:55 UTC MAIN commitmail json YAML

Back out r1.82 ("Do not explicitly set the HID Report Protocol upon attach")
due to the regression reported in PR# 57031

(jmcneill)

2022-11-04 11:20:40 UTC MAIN commitmail json YAML

2022-11-04 10:51:17 UTC MAIN commitmail json YAML

Size boot_physmem with FDT_MEMORY_RANGES.

This effectively increases the size from 64 to 256 entries for Arm kernels.
It turns out on large systems that memory can be quite fragmented by UEFI.
Increasing the size of this just kicks the can down the road, we need a
better solution to deal with boot_physmem/fdt_memory/bootparams.dram
sizing.

(jmcneill)

2022-11-04 09:06:25 UTC MAIN commitmail json YAML

Bump the version for function renames of inpcb

Welcome to 9.99.105

(ozaki-r)

2022-11-04 09:05:41 UTC MAIN commitmail json YAML

ipcb: add/update the description of functions

From rmind-smpnet patches

(ozaki-r)

2022-11-04 09:05:04 UTC MAIN commitmail json YAML

inpcb: replace leading white spaces with tabs

(ozaki-r)

2022-11-04 09:04:27 UTC MAIN commitmail json YAML

inpcb: get rid of parentheses for return value

(ozaki-r)

2022-11-04 09:03:56 UTC MAIN commitmail json YAML

2022-11-04 09:03:20 UTC MAIN commitmail json YAML

2022-11-04 09:02:38 UTC MAIN commitmail json YAML

inpcb: use pool_cache instead of pool

(ozaki-r)

2022-11-04 09:01:54 UTC MAIN commitmail json YAML

2022-11-04 09:00:59 UTC MAIN commitmail json YAML

2022-11-04 08:01:42 UTC MAIN commitmail json YAML

2022-11-04 07:54:28 UTC MAIN commitmail json YAML

sets: fix wrong keywords for tests/net/tcp

(ozaki-r)

2022-11-04 06:17:59 UTC MAIN commitmail json YAML

2022-11-04 06:12:23 UTC MAIN commitmail json YAML

PR bin/57072

This fixes observed behviour in the PR.  Allow the cursor to be
moved one past the EOL, if postitioned here then set ISPASTEOL.
also protect out of range access if win->cury is past maxy.

(blymn)

2022-11-03 18:55:07 UTC MAIN commitmail json YAML

_KERNEL_OPT protection

(skrll)

2022-11-03 09:04:57 UTC MAIN commitmail json YAML

2022-11-02 20:38:22 UTC MAIN commitmail json YAML

2022-11-02 18:18:44 UTC MAIN commitmail json YAML

rename sneaky snyc in hvtimesnyc_sample_verbose variable to sync.

(andvar)

2022-11-02 12:49:10 UTC MAIN commitmail json YAML

Cleaner to use if/then/else rather than a ton of casts in the ternary operator.

(christos)

2022-11-02 12:03:44 UTC MAIN commitmail json YAML

s/ourselve/ourselves/ in comments.

(andvar)

2022-11-02 11:04:02 UTC MAIN commitmail json YAML

Re-enable ADMA2 support for arasan,sdhci-8.9a

(jmcneill)

2022-11-02 10:38:04 UTC MAIN commitmail json YAML

Select DMA mode after programming the ADMA base address register(s).

The Arasan SDHCI 8.9a found in the Xilinx Zynq-7000 SoC requires this
sequence to avoid sporadic transfer errors.

(jmcneill)

2022-11-02 09:37:56 UTC MAIN commitmail json YAML

2022-11-02 09:35:12 UTC MAIN commitmail json YAML

tests: enable start_nc_server to have extra options for nc

(ozaki-r)

2022-11-02 09:01:42 UTC MAIN commitmail json YAML

rump: don't touch p_nlwps without holding p_lock

There was a race condition on p_nlwps.  Heavy thread switching could
cause a kernel panic like:
  panic: kernel diagnostic assertion "LIST_EMPTY(&p->p_lwps)" failed:
  file "(hidden)/src/lib/librump/../../sys/rump/librump/rumpkern/lwproc.c", line 177

(ozaki-r)

2022-11-02 08:37:32 UTC MAIN commitmail json YAML

Restore a '\n' I accidentally removed in 1.16

(skrll)

2022-11-02 08:05:17 UTC MAIN commitmail json YAML

2022-11-01 19:51:46 UTC MAIN commitmail json YAML

s/instalboot/installboot/

(andvar)

2022-11-01 19:45:35 UTC MAIN commitmail json YAML

2022-11-01 19:24:31 UTC MAIN commitmail json YAML

2022-11-01 11:05:18 UTC MAIN commitmail json YAML

On a system with both global and private timers, we cannot drive hardclock
from both or else time will move too fast.

Check MPIDR and install the global timer interrupt handler on uniprocessor
configs, and the private timer interrupt handler on MPCore configs.

(jmcneill)

2022-11-01 11:03:01 UTC MAIN commitmail json YAML

Add support for Cortex-A9.

(jmcneill)

2022-11-01 06:47:41 UTC MAIN commitmail json YAML

Define the mount program for zfs.

(simonb)

2022-11-01 00:57:39 UTC MAIN commitmail json YAML

Disable ADMA2 on the Arasan SDHCI 8.9A found in the Xilinx Zinq-7000 due
to sporadic transfer errors until the root cause for the errors is found.
In the meantime, SDMA works fine on this platform.

(jmcneill)

2022-10-31 23:04:50 UTC MAIN commitmail json YAML

Fix MASK_DATA logic in previous commit -- the upper 16-bits are a mask
of pin states to preserve, not to set.

(jmcneill)

2022-10-31 22:45:39 UTC MAIN commitmail json YAML

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

fix blank printf at attach

(jmcneill)

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

Implement zynq_platform_reset()

(jmcneill)

2022-10-31 21:22:06 UTC MAIN commitmail json YAML

2022-10-31 20:35:02 UTC MAIN commitmail json YAML

s/singled/single/

(andvar)

2022-10-31 20:30:23 UTC MAIN commitmail json YAML

2022-10-31 15:57:52 UTC MAIN commitmail json YAML

Remove declaration of landisk_pci_intr_setattr - macro magic later
creates one from the MI declaration instead.

(martin)

2022-10-31 15:56:40 UTC MAIN commitmail json YAML

Fix signature of landisk_pci_intr_setattr

(martin)

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

This is X11's 75dpi/term14.bdf, use if you want your console to look like an
xterm. Unlike QVSS this font contains accented characters, umlauts etc.

(macallan)

2022-10-31 13:00:34 UTC MAIN commitmail json YAML

Use PRIx64 in a debug print macro to print a uint64_t.

(simonb)

2022-10-31 12:50:49 UTC MAIN commitmail json YAML

In bus_space_write_{1,2,4,8} store the correct register in write to device.

(simonb)

2022-10-31 12:49:18 UTC MAIN commitmail json YAML

Fix tyop in END for generic_bs_r_8.

(simonb)

2022-10-31 10:44:29 UTC MAIN commitmail json YAML

Provide an empty ASSERT macro ifdef _STANDALONE.

(simonb)

2022-10-31 10:32:28 UTC MAIN commitmail json YAML

2022-10-31 09:37:37 UTC MAIN commitmail json YAML

mdocml: stop building (empty) compat replacement file for reallocarray

(wiz)

2022-10-31 09:30:43 UTC MAIN commitmail json YAML

remove (AFAIKT) unused _OPENBSD_SOURCE

(wiz)

2022-10-31 09:27:24 UTC MAIN commitmail json YAML

dhcpcd: _OPENBSD_SOURCE does not need to be defined any longer

reallocarray() is in the public namespace now

(wiz)

2022-10-31 09:14:18 UTC MAIN commitmail json YAML

Fix (invalid) gcc uninitialised warning with i386 gcc using -Os.

(simonb)

2022-10-31 04:50:12 UTC MAIN commitmail json YAML

Only need TIMESPEC_OVERFLOW() to check against INT32_{MIN,MAX} on FreeBSD.

(simonb)

2022-10-31 00:56:33 UTC MAIN commitmail json YAML

tcp: fix wrong logic in tcp_drop

Pointed out by mlelstv@

(ozaki-r)

2022-10-30 23:10:43 UTC MAIN commitmail json YAML

Remove dirty fb IOCTL callback introduced in latest drm update.

Not sure how this got here, but the rkdrm driver does not need to do
damage tracking as it uses Normal-NC (uncached) mappings.

PR# port-arm/56596

(jmcneill)

2022-10-30 19:11:31 UTC MAIN commitmail json YAML

2022-10-30 15:08:50 UTC MAIN commitmail json YAML

Silence a warning when machdep.dmi.chassis-asset-tag is not present

(jmcneill)

2022-10-30 14:08:09 UTC MAIN commitmail json YAML

aarch64/pmap: Fix criterion in previous.

Use the pte bit that says whether this is a PMAP_WIRED page, not the
bit that says whether this is a non-global page.

(Forgot to git commit --amend before exporting to CVS, sorry!)

(riastradh)

2022-10-30 11:51:20 UTC MAIN commitmail json YAML

2022-10-30 10:26:48 UTC MAIN commitmail json YAML

aarch64/pmap(9): Teach pmap_protect about pmap_kenter_pa mappings.

Pages mapped with pmap_kenter_pa are necessarily unmanaged, so there
are no P->V records, and pmap_kenter_pa leaves pp->pp_pv.pv_va zero
with no modified/referenced state.

However, pmap_protect erroneously examined pp->pp_pv.pv_va to
ascertain the modified/referenced state -- and if the page was not
marked referenced, pmap_protect would clear the LX_BLKPAG_AF bit
(Access Flag), with the effect that subsequent uses of the page fault
and require a detour through pmap_fault_fixup.

This caused problems for the kernel module loader:

- When loading the text section, kobj_load first allocates kva with
  uvm_km_alloc(UVM_KMF_WIRED|UVM_KMF_EXEC), which creates ptes with
  pmap_kenter_pa.  These ptes are writable, so we can copy the text
  section into them, and have LX_BLKPAG_AF set so there will be no
  fault when they are used by the kernel.

- But then kobj_affix makes the text section read/execute-only (and
  nonwritable) with uvm_km_protect(VM_PROT_READ|VM_PROT_EXECUTE),
  which updates the ptes with pmap_protect.  This _should_ leave
  LX_BLKPAG_AF set, but by inadvertently treating the page as managed
  when it should be unmanaged, pmap_protect cleared it instead.

- Most of the time, clearing LX_BLKPAG_AF caused no problem, because
  pmap_fault_fixup would silently resolve it.  But if a hard
  interrupt handler tried to use any page in the module's text (or
  rodata, I suspect) that was not yet fixed up, the CPU would fault
  and enter pmap_fault_fixup -- which would promptly crash (or hang)
  by trying to take the pmap lock in interrupt context, which is
  forbidden.

  I observed this by loading dtrace.kmod early at boot and trying to
  dtrace hard interrupt handlers.

With this change, pmap_protect now recognizes wired mappings (as
created by pmap_kenter_pa) before consulting pp->pp_pv.pv_va, and
preserves then LX_BLKPAG_AF bit in that case.

ok skrll

(riastradh)

2022-10-30 10:20:46 UTC MAIN commitmail json YAML

arm/pic: Sprinkle dtrace probes on interrupt handlers like x86.

(riastradh)

2022-10-30 10:00:16 UTC MAIN commitmail json YAML

Add missing backward compat links that were in the tzdata2022f
release, but didn't make it into the tzdata2022fgtz fork that
we use - and nor did the original zone data come back.

Links seem adequate for these (and were all some of them ever were).

(kre)

2022-10-30 08:45:46 UTC MAIN commitmail json YAML

tcp: restore NULL check for inp in tcp_ctloutput

(ozaki-r)

2022-10-30 01:49:31 UTC MAIN commitmail json YAML

makemandb.c: fix grammar in a comment

(gutteridge)

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

PR bin/57053 is related (peripherally) here.

sh has been remembering the process group of a job for a while now, but
using that for almost nothing.

The old way to resume a job, was to try each pid in the job with a
SIGCONT (using it as the process group identifier via killpg()) until
one worked (or none did, in which case resuming would be impossible,
but that never actually happened).  This wasn't as bad as it seems,
as in practice the first process attempted was *always* the correct
one.  Why the loop was considered necessary I am not sure.  Nothing
but the first could possibly work.

This worked until a fix for an obscure possible bug was added a
while ago - now a process which has already finished, and had its
zombie collected via wait*() is no longer ever considered to have
a pid which is a candidate for use in any system call.  That's
because the kernel might have reassigned that pid for some newly
created process (we have no idea how much time might have passed
since the pid was returned to the kernel for reuse, it might have
happened weeks ago).

This is where the example in bin/57053 revealed a problem.

That PR is really about a quite different problem in zsh (from pksrc)
and should be pkg/57053, but as the test case also hit the problem
here, it was assumed (by some) they were the same issue.

The example is (in a small directory)
ls | less
which is then suspended (^Z), and resumed (fg).  Since the directory
is small, ls will be finished, and reaped by sh - so the code would
now refuse to use its pid for the killpg() call to send the SIGCONT.
The (useless) loop would attempt to use less's pid for this purpose
(it is still alive at this point) but that would fail, as that pid
is not a process group identifier, of anything.  Hence the job
could not be resumed.

Before the PR (or preceding mailing list discussion) the change here
had already been made (part of a much bigger set of changes, some of
which might follow - sometime).  We now actually use the job's
remembered process group identifier when we want the process group
identifier, instead of trying to guess which pid it happens to be
(which actually never took any guessing, it was, and is always the
pid of the first process created for the job).  A couple of minor
fixes to how the pgrp is obtained, and used, accompany the changes
to use it when appropriate.

(kre)

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)