CVS: cvs.openbsd.org: src

2024-01-16 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/16 23:28:15

Modified files:
sys/dev/pci/drm/i915: i915_driver.c 

Log message:
unstub i915_driver_hw_remove()



CVS: cvs.openbsd.org: src

2024-01-16 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/16 16:38:14

Modified files:
sys/dev/fdt: files.fdt rkanxdp.c rkdrm.c rkdwhdmi.c 
sys/dev/ic : dwhdmi.c 
sys/dev/pci/drm: aperture.c drm_aperture.c drm_atomic.c 
 drm_atomic_helper.c drm_atomic_state_helper.c 
 drm_atomic_uapi.c drm_auth.c drm_blend.c 
 drm_bridge.c drm_buddy.c drm_bufs.c 
 drm_client.c drm_client_modeset.c 
 drm_connector.c drm_context.c drm_crtc_helper.c 
 drm_crtc_internal.h drm_debugfs.c 
 drm_displayid.c drm_drv.c drm_dumb_buffers.c 
 drm_edid.c drm_fb_helper.c drm_file.c 
 drm_format_helper.c drm_framebuffer.c drm_gem.c 
 drm_gem_dma_helper.c 
 drm_gem_framebuffer_helper.c 
 drm_gem_ttm_helper.c drm_internal.h drm_ioc32.c 
 drm_ioctl.c drm_linux.c drm_mipi_dsi.c 
 drm_mode_config.c drm_mode_object.c drm_modes.c 
 drm_panel.c drm_plane.c drm_plane_helper.c 
 drm_prime.c drm_probe_helper.c drm_rect.c 
 drm_syncobj.c drm_vblank.c drm_vm.c files.drm 
sys/dev/pci/drm/amd/amdgpu: amdgpu.h amdgpu_acpi.c 
amdgpu_amdkfd.c amdgpu_amdkfd.h 
amdgpu_amdkfd_aldebaran.c 
amdgpu_amdkfd_arcturus.c 
amdgpu_amdkfd_gfx_v10.c 
amdgpu_amdkfd_gfx_v10_3.c 
amdgpu_amdkfd_gfx_v11.c 
amdgpu_amdkfd_gfx_v7.c 
amdgpu_amdkfd_gfx_v8.c 
amdgpu_amdkfd_gfx_v9.c 
amdgpu_amdkfd_gfx_v9.h 
amdgpu_amdkfd_gpuvm.c amdgpu_atom.c 
amdgpu_atombios.c amdgpu_atombios.h 
amdgpu_atombios_crtc.c 
amdgpu_atombios_encoders.c 
amdgpu_atomfirmware.c amdgpu_bios.c 
amdgpu_bo_list.c amdgpu_bo_list.h 
amdgpu_cgs.c amdgpu_cik.c 
amdgpu_cik_sdma.c 
amdgpu_connectors.c amdgpu_cs.c 
amdgpu_cs.h amdgpu_csa.c 
amdgpu_csa.h amdgpu_ctx.c 
amdgpu_ctx.h amdgpu_debugfs.c 
amdgpu_device.c amdgpu_discovery.c 
amdgpu_discovery.h amdgpu_display.c 
amdgpu_display.h amdgpu_dma_buf.c 
amdgpu_doorbell.h amdgpu_drv.c 
amdgpu_drv.h amdgpu_eeprom.c 
amdgpu_encoders.c amdgpu_fdinfo.c 
amdgpu_fdinfo.h amdgpu_fence.c 
amdgpu_fru_eeprom.c 
amdgpu_fru_eeprom.h 
amdgpu_fw_attestation.c 
amdgpu_gart.c amdgpu_gart.h 
amdgpu_gem.c amdgpu_gem.h 
amdgpu_gfx.c amdgpu_gfx.h 
amdgpu_gmc.c amdgpu_gmc.h 
amdgpu_gtt_mgr.c amdgpu_hdp.h 
amdgpu_ib.c amdgpu_ids.c 
amdgpu_ids.h amdgpu_ih.c amdgpu_ih.h 
amdgpu_irq.c amdgpu_irq.h 
amdgpu_job.c amdgpu_job.h 
amdgpu_jpeg.c amdgpu_jpeg.h 
amdgpu_kms.c amdgpu_mca.c 
amdgpu_mca.h amdgpu_mes.c 
amdgpu_mes.h amdgpu_mmhub.h 
amdgpu_mode.h amdgpu_nbio.c 
amdgpu_nbio.h amdgpu_object.c 
amdgpu_object.h amdgpu_pmu.c 
amdgpu_psp.c amdgpu_psp.h 
amdgpu_psp_ta.c amdgpu_psp_ta.h 
amdgpu_rap.c amdgpu_ras.c 
amdgpu_ras.h amdgpu_ras_eeprom.c 
amdgpu_ras_eeprom.h 
amdgpu_res_cursor.h amdgpu_reset.c 
 

CVS: cvs.openbsd.org: src

2024-01-16 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/16 16:18:50

src/sys/dev/pci/drm/include/linux/device

Update of /cvs/src/sys/dev/pci/drm/include/linux/device
In directory cvs.openbsd.org:/tmp/cvs-serv30249/dev/pci/drm/include/linux/device

Log Message:
Directory /cvs/src/sys/dev/pci/drm/include/linux/device added to the repository



CVS: cvs.openbsd.org: src

2024-01-16 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/16 16:18:50

src/sys/dev/pci/drm/i915/soc

Update of /cvs/src/sys/dev/pci/drm/i915/soc
In directory cvs.openbsd.org:/tmp/cvs-serv30249/dev/pci/drm/i915/soc

Log Message:
Directory /cvs/src/sys/dev/pci/drm/i915/soc added to the repository



CVS: cvs.openbsd.org: src

2024-01-16 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/16 16:18:50

src/sys/dev/pci/drm/amd/display/dc/link/protocols

Update of /cvs/src/sys/dev/pci/drm/amd/display/dc/link/protocols
In directory 
cvs.openbsd.org:/tmp/cvs-serv30249/dev/pci/drm/amd/display/dc/link/protocols

Log Message:
Directory /cvs/src/sys/dev/pci/drm/amd/display/dc/link/protocols added to the 
repository



CVS: cvs.openbsd.org: src

2024-01-16 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/16 16:18:50

src/sys/dev/pci/drm/ttm/tests

Update of /cvs/src/sys/dev/pci/drm/ttm/tests
In directory cvs.openbsd.org:/tmp/cvs-serv30249/dev/pci/drm/ttm/tests

Log Message:
Directory /cvs/src/sys/dev/pci/drm/ttm/tests added to the repository



CVS: cvs.openbsd.org: src

2024-01-16 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/16 16:18:50

src/sys/dev/pci/drm/amd/display/dc/link/accessories

Update of /cvs/src/sys/dev/pci/drm/amd/display/dc/link/accessories
In directory 
cvs.openbsd.org:/tmp/cvs-serv30249/dev/pci/drm/amd/display/dc/link/accessories

Log Message:
Directory /cvs/src/sys/dev/pci/drm/amd/display/dc/link/accessories added to the 
repository



CVS: cvs.openbsd.org: src

2024-01-16 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/16 16:18:50

src/sys/dev/pci/drm/amd/display/dc/link/hwss

Update of /cvs/src/sys/dev/pci/drm/amd/display/dc/link/hwss
In directory 
cvs.openbsd.org:/tmp/cvs-serv30249/dev/pci/drm/amd/display/dc/link/hwss

Log Message:
Directory /cvs/src/sys/dev/pci/drm/amd/display/dc/link/hwss added to the 
repository



CVS: cvs.openbsd.org: src

2024-01-16 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/16 16:18:50

src/sys/dev/pci/drm/amd/amdxcp

Update of /cvs/src/sys/dev/pci/drm/amd/amdxcp
In directory cvs.openbsd.org:/tmp/cvs-serv30249/dev/pci/drm/amd/amdxcp

Log Message:
Directory /cvs/src/sys/dev/pci/drm/amd/amdxcp added to the repository



CVS: cvs.openbsd.org: src

2024-01-16 Thread Job Snijders
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/01/16 12:52:39

Modified files:
usr.sbin/rpki-client: rpki-client.8 

Log message:
Update standards reference



CVS: cvs.openbsd.org: www

2024-01-16 Thread Mike Larkin
CVSROOT:/cvs
Module name:www
Changes by: mlar...@cvs.openbsd.org 2024/01/16 12:17:40

Modified files:
.  : errata73.html errata74.html 

Log message:
release xserver errata



CVS: cvs.openbsd.org: xenocara

2024-01-16 Thread Mike Larkin
CVSROOT:/cvs
Module name:xenocara
Changes by: mlar...@cvs.openbsd.org 2024/01/16 12:09:37

Modified files:
xserver/Xi : Tag: OPENBSD_7_4 exevents.c xichangehierarchy.c 
 xiquerypointer.c 
xserver/dix: Tag: OPENBSD_7_4 devices.c enterleave.c 
xserver/glx: Tag: OPENBSD_7_4 glxcmds.c 
xserver/hw/kdrive/ephyr: Tag: OPENBSD_7_4 ephyrcursor.c 

Log message:
Fix multiple heap buffer overflows, out of bounds memory accesses and
memory corruption in the GLX, SELinux and Xi extensions as well as in
the main device and cursor handling code.
CVE-2023-6816 CVE-2024-0229 CVE-2024-21885 CVE-2024-21886
CVE-2024-0408 CVE-2024-0409

this is errata/7.4/012_xserver.patch.sig



CVS: cvs.openbsd.org: src

2024-01-16 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2024/01/16 12:08:37

Modified files:
bin/ps : print.c ps.1 

Log message:
print flag 'l' for base program or ld.so being under pinsyscalls enforcement,
and 'L' for libc.so.  This flag printing may be deleted once we are entirely
confident this is working correctly.
ok kettenis



CVS: cvs.openbsd.org: xenocara

2024-01-16 Thread Mike Larkin
CVSROOT:/cvs
Module name:xenocara
Changes by: mlar...@cvs.openbsd.org 2024/01/16 12:07:52

Modified files:
xserver/Xi : Tag: OPENBSD_7_3 exevents.c xichangehierarchy.c 
 xiquerypointer.c 
xserver/dix: Tag: OPENBSD_7_3 devices.c enterleave.c 
xserver/glx: Tag: OPENBSD_7_3 glxcmds.c 
xserver/hw/kdrive/ephyr: Tag: OPENBSD_7_3 ephyrcursor.c 

Log message:
Fix multiple heap buffer overflows, out of bounds memory accesses and
memory corruption in the GLX, SELinux and Xi extensions as well as in
the main device and cursor handling code.
CVE-2023-6816 CVE-2024-0229 CVE-2024-21885 CVE-2024-21886
CVE-2024-0408 CVE-2024-0409

this is errata/7.3/025_xserver.patch.sig



CVS: cvs.openbsd.org: src

2024-01-16 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2024/01/16 12:07:31

Modified files:
libexec/ld.so  : library.c library_mquery.c loader.c resolve.c 
 resolve.h 

Log message:
Read PT_OPENBSD_SYSCALLS in libc.so, and convert it to a table for
pinsyscalls(2).
ok kettenis



CVS: cvs.openbsd.org: src

2024-01-16 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2024/01/16 12:05:01

Modified files:
sys/sys: exec.h proc.h syscall_mi.h 
sys/kern   : exec_elf.c kern_exec.c kern_exit.c kern_fork.c 
sys/uvm: uvm_map.c uvm_map.h uvm_mmap.c 

Log message:
The kernel will now read pinsyscall tables out of PT_OPENBSD_SYSCALLS in
the main program or ld.so, and accept a submission of that information
for libc.so from ld.so via pinsyscalls(2).  At system call invocation,
the syscall number is matched to the specific address it must come from.
ok kettenis, gnezdo, testing of variations by many people



CVS: cvs.openbsd.org: src

2024-01-16 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/01/16 07:35:56

Modified files:
usr.sbin/btrace: bt_parse.y 

Log message:
Handle variable names (things strating with $ or @) in yylex() this way
the error handling of strange variable names can be better controlled.
With and OK dv@



Re: CVS: cvs.openbsd.org: src

2024-01-16 Thread Claudio Jeker
On Tue, Jan 16, 2024 at 06:33:13AM -0700, Claudio Jeker wrote:
> CVSROOT:  /cvs
> Module name:  src
> Changes by:   clau...@cvs.openbsd.org 2024/01/16 06:33:13
> 
> Modified files:
>   usr.sbin/snmpd : proc.c snmpd.h snmpe.c 
> 
> Log message:
> Convert to imsg_get_fd() and remove unused proc_forward_imsg().
> OK martijn@
> 

Also OK florian@
-- 
:wq Claudio



CVS: cvs.openbsd.org: src

2024-01-16 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/01/16 06:33:13

Modified files:
usr.sbin/snmpd : proc.c snmpd.h snmpe.c 

Log message:
Convert to imsg_get_fd() and remove unused proc_forward_imsg().
OK martijn@



CVS: cvs.openbsd.org: src

2024-01-16 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/01/16 06:15:31

Modified files:
usr.sbin/bgpd  : logmsg.c session.c session.h 

Log message:
Switch session_notification() over to use a struct ibuf to carry the
extra data. With this IMSG_UPDATE_ERR can use the new imsg API.

Introduce session_notification_data() for the few cases where there
is no ibuf readily available.

OK tb@



CVS: cvs.openbsd.org: xenocara

2024-01-16 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/01/16 06:14:26

Modified files:
.  : MODULES 3RDPARTY 

Log message:
update



CVS: cvs.openbsd.org: src

2024-01-16 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/01/16 06:09:11

Modified files:
usr.bin/tmux   : proc.c server-client.c 

Log message:
Use imsg_get_fd() instead of direct access to imsg.fd

The change in proc.c can be further simplified once imsg_free() takes
care of unclaimed file descriptors.

OK nicm@



CVS: cvs.openbsd.org: src

2024-01-16 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/01/16 06:07:30

Modified files:
usr.bin/file   : file.c 

Log message:
Use imsg_get_fd() and adjust cleanup code accordingly.
OK nicm@



CVS: cvs.openbsd.org: xenocara

2024-01-16 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/01/16 05:34:23

Modified files:
xserver/Xi : exevents.c xichangehierarchy.c xiquerypointer.c 
xserver/dix: devices.c enterleave.c 
xserver/glx: glxcmds.c 
xserver/hw/kdrive/ephyr: ephyrcursor.c 

Log message:
Multiple issues have been found in the X server and Xwayland
implementations:

1) CVE-2023-6816 can be triggered by passing an invalid array index to
DeviceFocusEvent or ProcXIQueryPointer.

2) CVE-2024-0229 can be triggered if a device has both a button and a
key class and zero buttons.

3) CVE-2024-21885 can be triggered if a device with a given ID was
removed and a new device with the same ID added both in the same
operation.

4) CVE-2024-21886 can be triggered by disabling a master device with
disabled slave devices.

5) CVE-2024-0409 can be triggered by enabling SELinux
xserver_object_manager and running a client.

6) CVE-2024-0408 can be triggered by enabling SELinux
xserver_object_manager and creating a GLX PBuffer.



CVS: cvs.openbsd.org: src

2024-01-16 Thread Kevin Lo
CVSROOT:/cvs
Module name:src
Changes by: ke...@cvs.openbsd.org   2024/01/16 05:21:02

Modified files:
sys/dev/pci: if_iwmreg.h 

Log message:
Fix clang warning about possible unaligned access on arm64.

ok stsp@