1
0
mirror of https://github.com/openbsd/src.git synced 2026-06-18 15:23:33 +02:00

Commit Graph

  • 5eccae8303 Our framebuffer might be in "stolen" memory that is lost (and filled with garbage) after a hibernate. So clear it and redraw the framebuffer contents. kettenis 2026-03-16 21:19:20 +00:00
  • b727496ca0 clarify unveil usage with job deraadt 2026-03-16 19:54:27 +00:00
  • 285b467844 sendmail/cpp only need "x" no "rx" unveil; ok deraadt sthen 2026-03-16 17:19:27 +00:00
  • ea1f4f0565 calendar also needs to unveil cpp / sendmail, I forgot to make install when I was testing :( from James J. Lippard sthen 2026-03-16 16:58:03 +00:00
  • 80990c0408 Remove MODTCL_BIN and MODTK_BIN from SUBST_VARS. The Tcl and Tk port modules no longer add to SUBST_VARS. stu 2026-03-16 15:41:19 +00:00
  • a40e44c682 /dev/null is no longer implicitly permitted by some pledges, so explicitly unveil it. fixes calendar -a. ok deraadt sthen 2026-03-16 15:39:46 +00:00
  • e7a751a3dc fuse no longer (ab)uses ufs_ihash.c so adjust build config claudio 2026-03-16 14:57:34 +00:00
  • d9846093f4 Sync expected sizes after recent /usr/obj bump. anton 2026-03-16 06:14:09 +00:00
  • 15ef65f283 make ttm_device_prepare_hibernation() return early jsg 2026-03-16 03:57:39 +00:00
  • 33e95a9203 When pledged, the special access(2) inspection for "/etc/localtime" has not been needed since changes made in lib/libc/time/localtime.c 1.58 (2019) pointed out by david leadbeater deraadt 2026-03-16 03:45:20 +00:00
  • 78c4a9126a regen kettenis 2026-03-15 20:15:06 +00:00
  • 4bb93b1e14 Add RK3528. From Hayk Martirosyan. kettenis 2026-03-15 20:14:17 +00:00
  • 4079140ce3 Add RK3576 support. kettenis 2026-03-15 19:52:53 +00:00
  • 9324a8d17c use memcpy() in xmemdup() instead of memmove() op 2026-03-15 19:23:22 +00:00
  • 4dc0ad4dbe auto-partitioning of /usr/obj has become a bit small on at least amd64, where there's no room for the entire build and a few manual debugging library builds. grow it for future system installs ok otto deraadt 2026-03-15 15:16:12 +00:00
  • 80c29cb816 sndiod: Enable recording and monitoring at the same time ratchov 2026-03-15 14:24:43 +00:00
  • f13c2c7a03 sndiod: Mostly style change of dev_sub_bcopy() ratchov 2026-03-15 14:15:11 +00:00
  • 551f60a76f aucat: Drop variables used only once or not used at all ratchov 2026-03-15 14:10:47 +00:00
  • 5b9a40947e aucat: Factor the code to join/expand channels as in sndiod ratchov 2026-03-15 14:09:01 +00:00
  • 3371d95186 sndiod: Factor the code to join/expand channels ratchov 2026-03-15 14:05:25 +00:00
  • 2e0288d2b7 Apparently we shouldn't touch the RTC before restarting the i8254 clock when coming out of S3 suspend. This makes the x250 lock up. kettenis 2026-03-15 11:16:36 +00:00
  • dd48a00822 Make some fixes to the amdgpu(4) activate function to better reflect what Linux does for suspend/hibernate/resume. In particular, set the in_s4 member earlier, remove some duplicated code that now gets called as part of amdgpu_pmops_suspend() and call amdgpu_pmops_complete() at the end of a resume/restore. kettenis 2026-03-15 11:13:16 +00:00
  • ebd7f5de28 aucat: When printing {start,end}pos with "%lld", cast them to long long ratchov 2026-03-15 10:30:00 +00:00
  • 32c97c4077 sndiod: Fix calls to enc_sil_do() with uninitialized argument ratchov 2026-03-15 10:19:52 +00:00
  • 23eb09db43 libsndio: Simplify cookie handling ratchov 2026-03-15 10:15:18 +00:00
  • 2669afe62a sndiod: Simplify unix socket binding code ratchov 2026-03-15 10:05:09 +00:00
  • b20d689fc5 Decode __pledge_open() same as open() pointed out by guenther deraadt 2026-03-14 17:18:08 +00:00
  • c669e53c2a document __pledge_open; ok sthen beck guenther deraadt 2026-03-14 17:10:15 +00:00
  • 09b109bb26 fix "unsupported STA_CONFIG_CMD version 99" errors on iwx(4) MA devices stsp 2026-03-14 15:37:44 +00:00
  • 4e846221ee whitespace deraadt 2026-03-14 14:57:14 +00:00
  • 48a70aaceb change 'Deprecated' to 'No longer available' for tmppath pledge ok deraadt sthen 2026-03-14 14:45:40 +00:00
  • 5ccccb9d7f Fix vmd(8) pledge violation when opening /dev/null. dv 2026-03-14 11:25:40 +00:00
  • b9263ec32c Adjust comment to reflect reality. kettenis 2026-03-14 11:05:21 +00:00
  • 2a74216486 unstub ttm_tt_swapout() jsg 2026-03-14 10:55:51 +00:00
  • 6440d89b8c Add description of the valid return values for the fuse_opt_proc_t callback function that is passed to fuse_opt_parse(3). helg 2026-03-14 10:47:00 +00:00
  • a2cdf8a1f2 openssl.1: remove mention of OPENSSL_EC_BIN_PT_COMP tb 2026-03-14 06:06:48 +00:00
  • 3d3f53b4ee plug a memory leak when detaching codel ifq disciplines on an interface. dlg 2026-03-14 00:10:38 +00:00
  • a4d2502013 iavf(4) can do 64 bit DMA also at bus_dmamem_alloc(). bluhm 2026-03-13 19:14:44 +00:00
  • ee4f44914d vmx(4) can handle 64 bit DMA transfers. bluhm 2026-03-13 17:57:03 +00:00
  • f0fb81d370 Fix a longstanding off-by-one error in hibernate unpack. mlarkin 2026-03-13 15:54:47 +00:00
  • c45c4ff5c8 Fix Tx performance on iwx(4) BZ devices. stsp 2026-03-13 14:28:49 +00:00
  • cd177caa43 regen bluhm 2026-03-13 14:24:07 +00:00
  • 0953c55cea ixv(4) prints VF for virtual function and mac address during attach. bluhm 2026-03-13 14:22:33 +00:00
  • 61eeb5521e regen stsp 2026-03-13 11:52:46 +00:00
  • d58402cd2c Intel 0x7740 can be either wifi 6e or wifi 7 devices. stsp 2026-03-13 11:52:29 +00:00
  • 6fd0e82b88 Make iwx(4) only attach to BZ devices which have RF type GF (wifi 6e). stsp 2026-03-13 11:47:51 +00:00
  • 9fd28a8cca pfctl(8) parser must not ignore error from pfctl_optimize_ruleset(). Ignoring the error may cause pfctl(8) to load inconsistent ruleset preventing pf(4) to enforce desired policy. sashan 2026-03-13 11:13:38 +00:00
  • 86facc8a95 sync iwx(4) RX descriptor status field with firmware layout stsp 2026-03-13 11:11:02 +00:00
  • 8e4fd60b25 Fix support for some older iwx(4) devices broken by changes for BZ support. stsp 2026-03-13 10:52:15 +00:00
  • 05bc079b96 xargs(1): bump posix spec to 2024 daniel 2026-03-13 08:51:14 +00:00
  • 929879a527 rfc3779 regress: explain where the range comes from tb 2026-03-13 06:47:34 +00:00
  • 5275ef0821 rfc3779 regress: add an actual range tb 2026-03-13 06:40:56 +00:00
  • 7ed008f956 When pledged, if a process receives a bad descriptor the receiver should not be killed. The EPERM approach used for other conditions is good enough. Report from Henry Ford this will be errata 7.8/022_recvfd.patch and 7.7/028_recvfd.patch deraadt 2026-03-13 05:46:32 +00:00
  • 7446788655 drm/sched: Fix kernel-doc warning for drm_sched_job_done() jsg 2026-03-13 03:17:57 +00:00
  • a9f2aeb405 drm/syncobj: Fix handle <-> fd ioctls with dirty stack jsg 2026-03-13 03:16:01 +00:00
  • f2a1610817 drm/amd/display: Use GFP_ATOMIC in dc_create_stream_for_sink jsg 2026-03-13 03:12:42 +00:00
  • 1c8f14fa4f drm/i915/dp: Fix pipe BPP clamping due to HDR jsg 2026-03-13 03:10:55 +00:00
  • 3ad06b0a73 drm/i915/dp: Fail state computation for invalid DSC source input BPP values jsg 2026-03-13 03:08:27 +00:00
  • d0e1cbe399 drm/amd: Fix hang on amdgpu unload by using pci_dev_is_disconnected() jsg 2026-03-13 03:06:37 +00:00
  • ce9cba587c drm/amdgpu: Fix error handling in slot reset jsg 2026-03-13 03:04:18 +00:00
  • d150d9c4e9 drm/amdgpu: Fix locking bugs in error paths jsg 2026-03-13 03:01:56 +00:00
  • aa6ff7a58c drm/amdgpu: Unlock a mutex before destroying it jsg 2026-03-13 03:00:08 +00:00
  • 4210f70627 drm/amdgpu/userq: Do not allow userspace to trivially triger kernel warnings jsg 2026-03-13 02:57:56 +00:00
  • 16aab9e59f drm/client: Do not destroy NULL modes jsg 2026-03-13 02:55:42 +00:00
  • f3cf1f6e29 drm/fourcc: fix plane order for 10/12/16-bit YCbCr formats jsg 2026-03-13 02:52:49 +00:00
  • d0a2be28d8 Allow 64-bit DMA memory allocation for aq(4). bcook 2026-03-13 02:47:31 +00:00
  • 87e2c6bd66 add pci_dev_is_disconnected() for 6.18.17 drm jsg 2026-03-13 02:44:52 +00:00
  • 7304f04a3b xargs: Make the -0 option override -E. millert 2026-03-13 02:07:51 +00:00
  • d1d2d0149e Fix unveil to handle a mount point on a mount point beck 2026-03-13 00:42:53 +00:00
  • 680083c7f3 mention support for BCM575xx jmatthew 2026-03-12 23:15:47 +00:00
  • e94fe13dc2 Oops missed a file in the delayed hibernation diff. kettenis 2026-03-12 20:51:51 +00:00
  • e1bb48f051 Add a few missing RK3528 resets. From Hayk Martirosyan. kettenis 2026-03-12 20:44:38 +00:00
  • 9c243a808b Add RK3576 support. kettenis 2026-03-12 18:46:58 +00:00
  • a69fb73e2b the cookie fd is private to the library and not passed outwards so it should be opened with O_CLOEXEC deraadt 2026-03-12 15:35:24 +00:00
  • 00ff379a1b For fopen() use "e" because this descriptor is library private and should be O_CLOEXEC deraadt 2026-03-12 15:33:12 +00:00
  • 1b924247aa In the pledge_namei() callback, stop looking for the libc special files when the open(2) system call was used, and only do this for __pledge_open(2) which libc will use when it intends to access those files. This breaks compatibility in a pretty major way, but that's the price being paid to undo this historical shortcut I made to satisfy libc's internal requirements and make pledge(2) a possibility. All the other parts are already in the tree. There may be a few dangling issues in ports or base which we'll find over time. deraadt 2026-03-12 15:00:58 +00:00
  • 3083b3f000 Add a short builtin help text for each mode accessible with C-h, based on code from Patrick Motard in GitHub issue 4751. nicm 2026-03-12 12:40:40 +00:00
  • df56ed0c1b Add support for BCM575xx devices, variously known as Thor or P5. There are a few significant differences to earlier devices. jmatthew 2026-03-12 10:29:46 +00:00
  • 2a383218e2 spacing; ok martijn@ jsg 2026-03-12 07:46:08 +00:00
  • 0b40bef358 Draw message as one format, allowing prompts and messages to occupy only a portion of the status bar, overlaying the normal status content rather than replacing the entire line. A new message-format option now controls the entire message (like status-format). From Conor Taylor in GitHub issue 4861. nicm 2026-03-12 07:25:13 +00:00
  • 98b77d5eea Fix comparison of menu keys, reported by Vladimir Bauer in GitHub issue 4891. nicm 2026-03-12 07:15:26 +00:00
  • 7210d95da7 Add new AFRINIC ASN block job 2026-03-11 21:46:36 +00:00
  • fd49698d88 Add support for RK3576 clocks and resets. A couple of additional clocks from kevlo@ kettenis 2026-03-11 16:32:42 +00:00
  • 73e77b6607 Match the compatible for the RK3576. kettenis 2026-03-11 16:22:34 +00:00
  • 3eaadcfd38 Add a DMA constraint for the Rockchip RK3576 too as the SD controller can only do 32-bit DMA. kettenis 2026-03-11 16:21:20 +00:00
  • 3d87bad862 Implement delayed hibernation. If the machdep.hibernatedelay sysctl is set to a value that isn't zero, this specifies a number of seconds after which the machine will wake up from suspend and hibernate itself. kettenis 2026-03-11 16:18:42 +00:00
  • 18441e401b sync deraadt 2026-03-11 16:01:45 +00:00
  • a71ebfeede pass "e" to fopen() to set O_CLOEXEC ok guenther deraadt 2026-03-11 14:59:10 +00:00
  • 7282a1dc11 Increase argv buffer from _POSIX2_LINE_MAX to _POSIX_ARG_MAX. millert 2026-03-11 14:54:55 +00:00
  • 4f45c41d1a On OpenBSD, recv*msg(2) can return EPERM if the ancillary data from the other side contains a file descriptor type we don't like. We have some protection against ridiculous types, and when running in pledge it gets even more strict. ok kettenis deraadt 2026-03-11 14:42:43 +00:00
  • a48b12baa7 Add support Intel AX211 BZ MACs paired WiFi 6e RFs to iwx(4). stsp 2026-03-11 10:12:49 +00:00
  • 1a0f38a541 ignore undocumented iwx(4) firmware notification 0xfc in group SYSTEM stsp 2026-03-11 10:10:24 +00:00
  • a944417af3 regen stsp 2026-03-11 09:46:17 +00:00
  • 6b17d7e96d add PCI ID for Intel Wi-Fi 6e AX211 found in recent lenovo laptops stsp 2026-03-11 09:46:10 +00:00
  • fe98e374aa send chain configuration in iwx(4) PHY context command v4 with rlc v3 stsp 2026-03-11 09:44:45 +00:00
  • 1deb42d40f add support for IWX_STA_CONFIG_CMD version 2 stsp 2026-03-11 09:42:26 +00:00
  • 11c7d96dbe increase IWX_NUM_UCODE_TLV_CAPA for loading BZ -100 firmware images stsp 2026-03-11 09:40:25 +00:00
  • 732155c9a4 handle iwx(4) firmware "alive" notification version 7 stsp 2026-03-11 09:37:02 +00:00
  • 5882f2fc91 handle missed beacons notification sent by newer iwx(4) firmware stsp 2026-03-11 09:33:45 +00:00
  • 69cdc7a4db ignore bt-coex notifications sent by iwx(4) BZ -98 firmware stsp 2026-03-11 09:29:44 +00:00