created | 2022-07-16T22:30:20Z |
---|---|
begin | 2022-07-15T00:00:00Z |
end | 2022-07-16T00:00:00Z |
path | src/sys |
commits | 11 |
date | 2022-07-15T07:52:06Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/usb/xhci.c | log | diff | annotate |
message |
Use a separate varaible to signal a "dead" controller (that has disappeared from the bus, probably because of hot(un)plugging it). This makes sure that we still ack interrupts that arrive while the controller is "dying" (when we go down into suspend or if an unrecoverable hardware error occurs). Fixes an interrupt storm when we suspend on Amlogic arm64 boards. ok deraadt@ |
date | 2022-07-15T13:08:23Z | |||
---|---|---|---|---|
author | tb | |||
files | src/sys/dev/usb/xhcivar.h | log | diff | annotate |
message |
Missing xhcivar.h bit that should have gone with xhci.c r1.125 From kettenis, spotted by krw |
date | 2022-07-15T17:14:49Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/fdt/amluart.c | log | diff | annotate |
message |
Use db_rint() to make it possible to enter ddb(4) by typing ESC D. ok jca@, miod@ |
date | 2022-07-15T17:20:24Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/kern/syscalls.master | log | diff | annotate |
src/sys/kern/uipc_syscalls.c | log | diff | annotate | |
src/sys/sys/socketvar.h | log | diff | annotate | |
message |
pledge "getpw" would notice access to /var/run/ypbind.lock, and grant "inet" rights, so that libc/yp could access YP services via a fairly complex 'protocol' including file access, sockets, etc. This YP protocol is also used by ypldap -- this is our way of bringing 'NIS' services into libc without monster sub-libraries. I have managed to remove this "inet" right by creating a new ypconnect() system call, which performs parts of the yp_bind.c dance inside the kernel.. It checks if domainname is set, looks for a binding file with advisory lock, reads it to get the IP and udp/tcp port numbers, and then establishes a connnected socket direct to that ypserv. This socket has a SS_YP flag set, and non-required system calls are prohibited. libc maintains lifetime on this socket so a process should never see it, but it seems safer to block udp re-connect and other calls even in non-pledge mode. Userland changes to use this will follow in a few days. Lots of help from claudio and jmatthew, also ok miod |
date | 2022-07-15T17:20:54Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/kern/init_sysent.c | log | diff | annotate |
src/sys/kern/syscalls.c | log | diff | annotate | |
src/sys/sys/syscall.h | log | diff | annotate | |
src/sys/sys/syscallargs.h | log | diff | annotate | |
message | sync |
date | 2022-07-15T17:25:18Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/kern/kern_pledge.c | log | diff | annotate |
message |
Allow ypconnect() in "getpw" Annotate two blocks relating to ypbind.lock that will be deleted once libc switches over to the new mechanism. |
date | 2022-07-15T17:57:25Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/amd64/amd64/efifb.c | log | diff | annotate |
src/sys/arch/armv7/omap/amdisplay.c | log | diff | annotate | |
src/sys/arch/armv7/omap/omdisplay.c | log | diff | annotate | |
message |
Implement support for framebuffers that don't start on a page boundary. This happens on the new 14" and 16" Macbook Pro where we deliberately use a framebuffer that skips the first few lines to avoid "the notch". The offset of the first pixel is added to struct wsdisplay_fbinfo. The stride is added as well, mirroring the value returned by the WSDISPLAYIO_LINEBYTES ioctl, such that we can retire that one in the future. A compat ioctl is implemented to help the transition. The compat code will be removed after OpenBSD 7.3 has been released. ok miod@ |
date | 2022-07-15T17:57:26Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/loongson/dev/radeonfb.c | log | diff | annotate |
src/sys/arch/loongson/dev/sisfb.c | log | diff | annotate | |
src/sys/arch/loongson/dev/smfb.c | log | diff | annotate | |
src/sys/arch/luna88k/dev/lunafb.c | log | diff | annotate | |
src/sys/arch/macppc/pci/vgafb.c | log | diff | annotate | |
src/sys/arch/powerpc64/dev/astfb.c | log | diff | annotate | |
src/sys/arch/sparc64/dev/creator.c | log | diff | annotate | |
src/sys/arch/sparc64/dev/gfb.c | log | diff | annotate | |
src/sys/arch/sparc64/dev/gfxp.c | log | diff | annotate | |
src/sys/arch/sparc64/dev/ifb.c | log | diff | annotate | |
src/sys/arch/sparc64/dev/machfb.c | log | diff | annotate | |
src/sys/arch/sparc64/dev/radeonfb.c | log | diff | annotate | |
src/sys/arch/sparc64/dev/raptor.c | log | diff | annotate | |
src/sys/arch/sparc64/dev/vgafb.c | log | diff | annotate | |
src/sys/dev/fdt/rkdrm.c | log | diff | annotate | |
src/sys/dev/fdt/simplefb.c | log | diff | annotate | |
src/sys/dev/fdt/ssdfb.c | log | diff | annotate | |
src/sys/dev/ic/sti.c | log | diff | annotate | |
src/sys/dev/pci/tga.c | log | diff | annotate | |
src/sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c | log | diff | annotate | |
src/sys/dev/pci/drm/i915/i915_drv.c | log | diff | annotate | |
src/sys/dev/pci/drm/radeon/radeon_kms.c | log | diff | annotate | |
src/sys/dev/pcmcia/cfxga.c | log | diff | annotate | |
src/sys/dev/sbus/agten.c | log | diff | annotate | |
message |
Implement support for framebuffers that don't start on a page boundary. This happens on the new 14" and 16" Macbook Pro where we deliberately use a framebuffer that skips the first few lines to avoid "the notch". The offset of the first pixel is added to struct wsdisplay_fbinfo. The stride is added as well, mirroring the value returned by the WSDISPLAYIO_LINEBYTES ioctl, such that we can retire that one in the future. A compat ioctl is implemented to help the transition. The compat code will be removed after OpenBSD 7.3 has been released. ok miod@ |
date | 2022-07-15T17:57:27Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/sbus/bwtwo.c | log | diff | annotate |
src/sys/dev/sbus/cgsix.c | log | diff | annotate | |
src/sys/dev/sbus/cgthree.c | log | diff | annotate | |
src/sys/dev/sbus/cgtwelve.c | log | diff | annotate | |
src/sys/dev/sbus/mgx.c | log | diff | annotate | |
src/sys/dev/sbus/rfx.c | log | diff | annotate | |
src/sys/dev/sbus/tvtwo.c | log | diff | annotate | |
src/sys/dev/sbus/vigra.c | log | diff | annotate | |
src/sys/dev/sbus/zx.c | log | diff | annotate | |
src/sys/dev/usb/udl.c | log | diff | annotate | |
src/sys/dev/wscons/wsconsio.h | log | diff | annotate | |
src/sys/dev/wscons/wsdisplay.c | log | diff | annotate | |
message |
Implement support for framebuffers that don't start on a page boundary. This happens on the new 14" and 16" Macbook Pro where we deliberately use a framebuffer that skips the first few lines to avoid "the notch". The offset of the first pixel is added to struct wsdisplay_fbinfo. The stride is added as well, mirroring the value returned by the WSDISPLAYIO_LINEBYTES ioctl, such that we can retire that one in the future. A compat ioctl is implemented to help the transition. The compat code will be removed after OpenBSD 7.3 has been released. ok miod@ |
date | 2022-07-15T19:29:27Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/dev/ic/sti.c | log | diff | annotate |
message | fix typos in previous |
date | 2022-07-15T22:56:13Z | |||
---|---|---|---|---|
author | mvs | |||
files | src/sys/net/if_pppx.c | log | diff | annotate |
src/sys/net/pipex.c | log | diff | annotate | |
src/sys/net/pipex_local.h | log | diff | annotate | |
message |
Introduce fine grained pipex(4) locking. Use per-session `pxs_mtx' mutex(9) to protect session context. Except MPPE encryption, PPPOE sessions are mostly immutable, so no lock required for that case. Global pipex(4) data is already protected by `pipex_list_mtx' mutex(9), so pipex(4) doesn't rely on netlock anymore. Recursion was removed from pipex_mppe_input() and pipex_mppe_output(). ok bluhm@ |