summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-08-21Make sure ai_canonname is set when AI_CANONNAME was requested.Florian Obser
We document, and posix requires, to return a NUL-terminated string on a successful call to getaddrinfo(3) when AI_CANONNAME was set. If the canonical name cannot be determined, return the node name as suggested by posix. OK guenther
2024-08-21satisfy the number version of the quiz; with mglockerTheo de Raadt
2024-08-21Mention that load- and save-buffer can use stdin, from Ramon Fischer.Nicholas Marriott
2024-08-21Add mirrored versions of the main-horizontal and main-vertical layouts whereNicholas Marriott
the main pane is bottom or right instead of top or left, from Sherwyn Sen.
2024-08-21Add a simple random number sequence to the questionsTheo de Raadt
ok mglocker
2024-08-21C-Space and Meta keys should not be translated in mode 1 extended keys.Nicholas Marriott
2024-08-21Set the default for extended-keys back to off because it appears emacs turnsNicholas Marriott
the keys on but does not correctly handle them except in xterm (!). Also fix so that off takes effect as expected.
1995-10-18initial import of NetBSD treeTheo de Raadt
2024-08-21Add lions.Marcus Glocker
suggested and ok jmc@
2024-08-21Add numeric morse codes.Marcus Glocker
ok jmc@
2024-08-21Hippo and rhino babies are also calf's.Marcus Glocker
ok jmc@
2024-08-21Add new substraction problem which difference results in the answer to theMarcus Glocker
ultimate question of life, the universe, and everything. ok jmc@
2024-08-21Revamp extended keys support to more closely match xterm and supportNicholas Marriott
mode 2 as well as mode 1. From Stanislav Kljuhhin (GitHub issue 4038). This changes tmux to always request mode 2 from parent terminal, change to an unambiguous internal representation of keys, and adds an option (extended-keys-format) to control the format similar to the xterm(1) formatOtherKeys resource.
2024-08-21If binaries lack a pintable, execve() can now reject them at startupTheo de Raadt
by returning EINVAL, rather than at runtime when the first system call occurs (and then probably dumping core). Let's find out if there are any surprising exceptions we were unaware of (would need a custom linker, or a non-crt0 runtime) errno discussions with kettenis, sthen, millert. Vague concensus it is worth trying now.
2024-08-21We do not need the PS_LIBCPIN and PS_PIN flag fields anymore, which wereTheo de Raadt
used during devlopment (for visibility). There is speculation claudio will immediately use these bits for something else.
2024-08-21offset rx buffers by ETHER_ALIGN so ip payloads are properly aligned.David Gwynne
2024-08-21use 2k clusters on the rx ring instead of 9k clusters.David Gwynne
rge can chain mbufs from multiple rx descriptors together to build a jumbo packet. 1514 byte packets are still the most common, so avoiding the waste of most of a 9k cluster if we can still makes sense.
2024-08-21support building a single packet out of multiple rx descriptors.David Gwynne
rge is a bit like intel nics where you can put small mbufs on the rx ring and it will chain them together to make a jumbo packet. except unlike intel you can use any sized mbufs for the rx descriptors. this adds the handling of these packets to the rx path. we're still putting 9k frames on the ring though.
2024-08-21be more careful about bus_dmamap_syncs for rx ring descriptors.David Gwynne
this is very similar to the changes made for tx where we fill in everything except the OWN flag on the rx descriptor, call bus_dmamap_sync as a barrier for the hw, and then flip the ownership of the OWN bit. this avoids the potential for the hw to see the own bit before other things in the descriptor, such as the address and length of the buffer. while here, trim code that's not currently used. we don't currently support rxing one packet by assembling buffers from multiple descriptors, so stop fiddling with the queue mbuf head and tail pointers. delete rge_discard_rxbuf() cos it looks like a leftover from code which tries to reuse mbufs on the rx ring. we free mbufs when there's an error and let the rxr stuff refill. ok patrick@ no objections from kevlo@
2024-08-20Now that we have dup2(), csh can use it instead of close()+dup().Philip Guenther
Also, as used here, dup/dup2 will clear the close-on-exec flag, so delete the superfluous fcntl(F_SETFD,0) calls ok deraadt@
2024-08-20Update handling of transfer rings.Patrick Wildt
2024-08-20Introduce and update HAL SRNG ops.Patrick Wildt
1995-10-18initial import of NetBSD treeTheo de Raadt
2024-08-20match the config_activate_children() sequences found in other usb hostTheo de Raadt
controller drivers.
2024-08-20having a file called "OWNER" lying around in a directory ofTheo de Raadt
(effectively) public dommain software is weird. put that info into a better place.
2024-08-20annotate signal raceTheo de Raadt
2024-08-20Fix whitespace in amd64 bus dma.Alexander Bluhm
2024-08-20Use msgbuf_queuelen() instead of accessing the queued member directly.Claudio Jeker
OK tb@
2024-08-20Unlock KERN_MAXFILES.Vitaliy Makkoveev
`maxfiles' is atomically accessed integer which is lockless and read-only accessed in file descriptors layer. lim_startup() called during kernel bootstrap, no need to atomic_load_int() within. ok mpi
2024-08-20Update Geofeed referenceJob Snijders
RFC 9632 introduced additional constraints and requirements for RPKI-based Geofeed authenticators (at my request).
2024-08-20Send only as much data as needed to trigger rekeying.Darren Tucker
Speeds up tests by about 10% in the common case, hopefully more when instrumented with something like valgrind.
2024-08-20fix bus_dmamap_destroyStefan Fritsch
With bounce buffers, we must pass a larger size to free() ok bluhm@ hshoexer@
2024-08-20regenJonathan Gray
2024-08-20add Samsung PM9C1 and PM9C1aJonathan Gray
from bmercer@ and Bryan Vyhmeister
2024-08-20Use stats.msg_queue_len instead of looking into the msgbuf struct.Claudio Jeker
OK tb@
2024-08-20Use msgbuf_queuelen() instead of accessing wbuf.queue for msgbuf structs.Claudio Jeker
Also export the msgbuf queue len as a stats member so bgpctl does not need to dig into the msgbuf structure inside struct peer. This skips imsg related msgbuf since that will be handled by a imsgbuf specific function. OK tb@
2024-08-20Calculate used bounce buffers in amd64 bus dma correctly.Alexander Bluhm
There was an off-by-one bug when comparing the used pages for bounce buffers with the available pages. As a result _bus_dmamap_load_buffer() returned ENOMEM although there was one buffer left. Also the _dm_nused field was updated and never reset in case of an error. Use a local variable to count the used pages and update global map->_dm_nused only if _bus_dmamap_load_buffer() was successful. This fixes hanging network transmits if bounce buffers are enforced for vio(4). OK sf@ hshoexer@
2024-08-20actually use the length parameter that was passed in rather than aDamien Miller
constant (this makes no difference in practice because the length is always the same); reported by martin AT nmkd.net
2024-08-20Merge AEAD test into main test loop. Removes 3 duplicate tests andDarren Tucker
speeds overall test up by about 1%.
1995-10-18initial import of NetBSD treeTheo de Raadt
2024-08-20Set a default RekeyLimit of 256k. Used unless overridden by aDarren Tucker
command-line flag, which simplifies some of the ssh command lines.
2024-08-20Add Compression=no to default ssh_config. All of the rekey tests use itDarren Tucker
(otherwise the encrypted byte counts would not match) so this lets us simplify the command lines.
2024-08-20Unlock KERN_MAXPROC and KERN_MAXTHREAD from `kern_vars'. BothVitaliy Makkoveev
`maxprocess' and `maxthread' are atomically accessed integers. ok mpi
2024-08-20Unlock etherip_sysctl().Vitaliy Makkoveev
- ETHERIPCTL_ALLOW - atomically accessed integer; - ETHERIPCTL_STATS - per-CPU counters ok bluhm
2024-08-20Unlock igmp_sysctl(), pfsync_sysctl() and rip6_sysctl(). Each of them isVitaliy Makkoveev
the only IGMPCTL_STATS, PFSYNCCTL_STATS and RIPV6CTL_STATS per-CPU counters. sysctl_rdstruct() has "newp != NULL" check within and also returns EPERM, no need for redundant check in igmp_sysctl(). ok bluhm
2024-08-20Unlock sysctl_audio().Vitaliy Makkoveev
It is the only KERN_AUDIO_RECORD. `audio_record_enable' is atomically accessed integer. Reasonable from deraadt
2024-08-20Remove duplicate curve25519-sha256 kex. curve25519-sha256@libssh.orgDarren Tucker
is the pre-standardization name for the same thing, so remove it as a duplicate. Speeds up test by a tiny amount.
2024-08-20Unnest rekey param parsing test and use ssh not sshd. ssh uses the sameDarren Tucker
parsing code, now has "-G" to dump its config and is slightly faster to start up. This speeds up the test slightly (~5%) in the common case but should help more during instrumented tests, eg under valgrind, where startup costs are magnified.
2024-08-20virtio_mmio: Return early if no deviceStefan Fritsch
If there is no device, don't write to any registers. ok jan@
2024-08-20another FXE -> FXeJonathan Gray
ok miod@