summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-08Add glass console support.Mark Kettenis
ok patrick@, jsg@
2020-04-08Restore pane_current_path format from portable tmux, it is no longerNicholas Marriott
used by default and is very useful.
2020-04-08Pass the cmd item to format expansion so that mouse formats work.Nicholas Marriott
2020-04-08Set correct pixel format. Fix limits on number of characters in theMark Kettenis
rasops_init() call. ok patrick@, jsg@
2020-04-08Bump size of the buffer we use to fetch device tree properties. TheMark Kettenis
ethernet aliase paths in the new omap device trees are longer than 64 characters. Fixes the MAC address on Pandaboard-ES with the new device tree. ok jsg@
2020-04-08Fix ifconfig "media:" line for 11n wifi interfaces during and after bgscan.Stefan Sperling
Media was displayed as e.g. "autoselect (OFDM6)" even though 11n was active because the current media mode is changed to AUTO for background scanning and was never switched back to 11N. ok mpi@ pirofti@
2020-04-08Make fifo_kqfilter() honor FREAD|FWRITE just like fifo_poll() does.Martin Pieuchot
Prevent generating events that do not correspond to how the fifo has been opened. ok visa@, millert@
2020-04-08Pass correct socket to the write kqueue filter.Martin Pieuchot
Make EVFILT_WRITE notifications on fifo work. ok visa@, millert@
2020-04-08vmm(4): add IOCTL handler to sets the access protections of the eptpd
This exposes VMM_IOC_MPROTECT_EPT which can be used by vmd to lock in physical pages. Currently, vmd just terminates the vm in case it gets a protection fault in the future. This feature is used by solo5 which uses vmm(4) as a backend hypervisor. ok mpi@ Patch from Adam Steen <adam@adamsteen.com.au>
2020-04-08vmm(4): handle cr0 writes more correctly for vmxpd
* Switch to using vcpu->vc_vmx_cr0_fixed[1|0] to check must be 0|1 bits, rather than the cpu capabilities. * Add the checks on the new values as per the SDM 2.5 CONTROL REGISTERS. 2.1 Bits 63:32 of CR0 and CR4 are reserved and must be written with zeros. Writing a nonzero value to any of the upper 32 bits results in a general-protection exception, #GP(0). 2.2 setting the PG flag when the PE flag is clear causes a general-protection exception (#GP). 11.5.1 Cache Control Registers and Bits, Table 11-5. Cache Operating Modes 2.3 CD: 0, NW: 1, Invalid setting. Generates a general-protection exception (#GP) with an error code of 0. *. Don't alway assume, if the guest is not disabling paging, they are enabling it, check the guest is actually enabling paging. also only read cr4 when we actually need it, not right at the start. ok mpi@ Patch from Adam Steen <adam@adamsteen.com.au>
2020-04-08bump smtpd versionEric Faurot
2020-04-08let sshkey_try_load_public() load public keys from the unencryptedDamien Miller
envelope of private key files if not sidecar public key file is present. ok markus@
2020-04-08simplify sshkey_try_load_public()Damien Miller
ok markus@
2020-04-08add sshkey_parse_pubkey_from_private_fileblob_type()Damien Miller
Extracts a public key from the unencrypted envelope of a new-style OpenSSH private key. ok markus@
2020-04-08simplify sshkey_parse_private_fileblob_type()Damien Miller
Try new format parser for all key types first, fall back to PEM parser only for invalid format errors. ok markus@
2020-04-08check private key type against requested key type in new-style privateDamien Miller
decoding; ok markus@
2020-04-08check that pubkey in private key envelope matches actual private keyDamien Miller
(this public key is currently unusued) ok markus@
2020-04-08refactor private key parsing a littleDamien Miller
Split out the base64 decoding and private section decryption steps in to separate functions. This will make the decryption step easier to fuzz as well as making it easier to write a "load public key from new-format private key" function. ok markus@
2020-04-07Separate the place to put the <a href> permalink (now markedIngo Schwarze
with NODE_HREF) from the target element of the link (still marked with NODE_ID). In many cases, use this to move the target to the beginning of the paragraph, such that readers don't get dropped into the middle of a sentence.
2020-04-07Always prefer generic signature authentication (RFC 7427) , not just for RSA.tobhe
ok markus@
2020-04-07Do not create /hooray as part of the regress test. Regress testsClaudio Jeker
should not create random files in the root partition. OK beck@
2020-04-07Claim framebuffer that was configured by bootloader.Mark Kettenis
ok patrick@
2020-04-07Do not restore history flag if it was never set.Nicholas Marriott
2020-04-07Do not send mouse events if the program has not requested them.Nicholas Marriott
2020-04-07Zap a stray Pp.Visa Hankala
2020-04-07Fix a few old typos.Visa Hankala
2020-04-07Document SMR_TAILQ macros.Visa Hankala
2020-04-07Limit size to 1x1 (total size 3x3).Nicholas Marriott
2020-04-07For open with O_CREAT pass a mask of 0644 with else files are createdClaudio Jeker
with somewhat random filemodes. OK beck@
2020-04-07Abstract the head of knote lists. This allows extending the lists,Visa Hankala
for example, with locking assertions. OK mpi@, anton@
2020-04-07Defer selwakeup() from kqueue_wakeup() to kqueue_task() to preventVisa Hankala
deep recursion. This also helps making kqueue_wakeup() free of the kernel lock because the current implementation of selwakeup() requires the lock. OK mpi@
2020-04-07Kill board_id variable; its last consumer is gone now.Mark Kettenis
ok jsg@
2020-04-07install -d should error out if no directory is givenMarc Espie
(this would have prevented a recent typo in bsd.port.mk from going in) as discussed with theo, merge the check that's in FreeBSD
2020-04-07Kill unused extern declaration.Mark Kettenis
2020-04-07Unified diff makes it easier to understand where regressions are.Martin Pieuchot
2020-04-07Use PHY framework to replace hardcoded board-specific GPIO poking.Mark Kettenis
ok jsg@
2020-04-07Implement support for "usb-nop-xceiv" PHYs.Mark Kettenis
ok jsg@
2020-04-07Fix off-by-one in check for valid pin numbers and use the existingMark Kettenis
#define in the check.
2020-04-07Remove entry that is no longer needed.Mark Kettenis
ok jsg@
2020-04-07Implement a SMR TAILQ implementation. The only operations which can be usedClaudio Jeker
in SMR read-side critical sections are SMR_TAILQ_FOREACH(), SMR_TAILQ_FIRST() and SMR_TAILQ_NEXT(). Most notably the last element can not be accessed in a read-side critical section. OK visa@
2020-04-07Deny to create a pipex session if the session id already exists.Claudio Jeker
From Vitaliy Makkoveev OK yasuoka@
2020-04-07Remove superfluous NULL check from allocation with PR_WAITOK.Martin Pieuchot
From Vitaliy Makkoveev
2020-04-06acpi(4): acpi_sleep(): tsleep(9) -> tsleep_nsec(9)cheloha
kettenis@ notes that ACPI integers are supposed to be unsigned, but ours are signed. This is a much deeper problem than what I'm looking to change with this conversion. To work around the issue for now we can round the sleep interval up to 1 millisecond. There is a very nasty-looking rwsleep(9) call elsewhere in dev/acpi/dsdt.c that I'm going to leave as-is for now to avoid breaking something. With input from pirofti@, kettenis@, and mortimer@. Tested by Lucas Raab, Moises Simon, mortimer@, and gkoehler@. ok kettenis@
2020-04-06Fix pubkey leak in CA process for ASN1_DN IDs.tobhe
ok markus@
2020-04-06wi(4): tsleep(9) -> tsleep_nsec(9); ok stsp@cheloha
2020-04-06sunkbd(4): timeout_add(9) -> timeout_add_msec(9); ok kettenis@cheloha
2020-04-06pcppi(4), spkr(4): ticks -> millisecondscheloha
In pcppi(4), convert from ticks to milliseconds. While we're doing this, we can also convert spkr(4), too. The spkr(4) conversion from ticks to milliseconds is trickier because the driver is written with musical intervals (whole notes, quarter notes, etc.), not the typical units (seconds, milliseconds, etc.) used in most software. I think the conversion is correct... but the code is a challenging read, so it might be subtly incorrect. ratchov@ intends to move spkr(4) into the attic sometime soon so I doubt it matters much if I got it wrong. Input from schwarze@, jsg@, and ratchov@. Tested by schwarze@. ok ratchov@
2020-04-06Change copy mode to make copy of the pane history so it does not need toNicholas Marriott
freeze updates (which does not play nicely with some applications, a longstanding problem) and will allow some other changes later. From Anindya Mukherjee.
2020-04-06dhcpd could reference freed memory after releasing a lease withKenneth R Westerback
an unusually long uid. Reported by Adarsh Dinesh. Thanks!
2020-04-06Re-enable the client test now that it passes again.Joel Sing