1
0
mirror of https://github.com/openbsd/src.git synced 2026-06-19 07:43:34 +02:00

Commit Graph

  • abbb4f42db Add commands to turn exit on scroll on, off, toggle. From xcdnlgd at hotmail dot com in GitHub issue 4884. nicm 2026-02-24 08:00:43 +00:00
  • 8e1f34ac80 Respond to DECRQM 2026, from David Turnbull in GitHub issue 4887. nicm 2026-02-24 07:50:27 +00:00
  • f418a62e26 fix memory leak in rsae_send_imsg rsadowski 2026-02-24 06:03:29 +00:00
  • d69264de62 Make acpidmar useful for general IOMMU use on amd64. chris 2026-02-24 02:03:07 +00:00
  • 74a3a8be4b Use fmprintf instead of logit for challenge-response name and info to preserve UTF-8 characters where appropriate. Prompted by github PR#452, with & ok djm@. dtucker 2026-02-24 01:50:51 +00:00
  • 57a01983d9 Remove leftover debugging. dtucker 2026-02-24 00:39:59 +00:00
  • bdbab32688 Use unveil() instead of pledge "tmppath". There is a bit of bulldozering here to handle the many codeflows regarding output files, and I hope ingo improves it later. Some help with regression validation from job deraadt 2026-02-23 18:58:30 +00:00
  • c2d38473df nc(1) has the more crazy unveil + pledge configuration based upon argument flags. I think this correctly replaces "tmppath" with an unveil. deraadt 2026-02-23 16:47:07 +00:00
  • 3ae6636769 replace pledge "stdio rpath tmppath" with unveil "/tmp" "rwc" to satisfy mktemp(3) type operations, unveil "/" "r" for reading all over the tree, and pledge "stdio rpath wpath cpath" to permit both unveils subject to their own limitations. deraadt 2026-02-23 16:45:16 +00:00
  • 1b5c1c8cc4 Since this program is "rpath wpath cpath", it does not need to use "tmppath" ok op deraadt 2026-02-23 16:40:45 +00:00
  • 8a1a49e10d mention ip address certs sthen 2026-02-23 10:39:39 +00:00
  • 4553a27546 regress tests for iPAddress certificates, from florian sthen 2026-02-23 10:28:23 +00:00
  • 4f09c169eb acme-client: add support for iPAddress certificates, ok florian sthen 2026-02-23 10:27:49 +00:00
  • a7f0c950bd rework grabword() a bit; plug a leak op 2026-02-23 09:36:50 +00:00
  • 2bd4781e37 Free history entries properly, from Huihui Huang in GitHub issue 4870. nicm 2026-02-23 09:12:57 +00:00
  • 9750c304bb Use buffer size for b64_pton, from someone in GitHub issue 4882. nicm 2026-02-23 09:08:07 +00:00
  • 0ed3ac6729 Do not leak list on failure, reported by Huihui Huang. nicm 2026-02-23 08:58:40 +00:00
  • b4c21dd8c4 Another memory leak from Huihui Huang. nicm 2026-02-23 08:54:56 +00:00
  • 1593a2d466 Memory leaks in cmd_display_menu, from Huihui Huang. nicm 2026-02-23 08:50:00 +00:00
  • ac93c84efb Free format on -a, reported by Huihui Huang. nicm 2026-02-23 08:46:57 +00:00
  • 9fc228dcca Fix memory leaks, reported by Huihui Huang in GitHub issue 4872. nicm 2026-02-23 08:45:27 +00:00
  • 5da5a60b27 Set cell to default when off screen to avoid crash when logging it. nicm 2026-02-23 08:29:30 +00:00
  • c840a4de3c Report success in ftp when file is fully retrieved gnezdo 2026-02-23 05:00:51 +00:00
  • c1c10b3e4d don't return an error when skipping sysfs bits in amdgpu_ras_sysfs_create() jsg 2026-02-23 00:38:34 +00:00
  • 11a5864391 vmd(8): convert virtio scsi device to a subprocess. dv 2026-02-22 22:54:54 +00:00
  • b8b33024fd Reset the PNVM segment count back to zero after we free the segments. Prevents us from calling bus_dmamap_sync(9) on random DMA map pointers when reloading the firmware. kettenis 2026-02-22 22:24:05 +00:00
  • ab97852fca plug leak in transposeword(); from Han Boetes (hboetes at gmail), thanks! op 2026-02-22 22:16:41 +00:00
  • 2c101244ab If we have a non-zero hint and none of the address selectors managed to return a valid address, set the hint to zero and retry. This fixes mmap(2) with a hint (and without MAP_FIXED) when the hint falls outside of the userland address space range. kettenis 2026-02-22 21:53:54 +00:00
  • d1624edace Use bus_dmamap_load_raw(9) to load a DMA mapping for memory allocated with bus_dmamem_alloc(9). kettenis 2026-02-22 21:38:03 +00:00
  • e49f994663 Prevent false ELOOP error in socket splicing. bluhm 2026-02-22 21:30:58 +00:00
  • 14f73a1227 Make bse(4) interrupts mp-safe. The code has nothing to do, so only establish interrupt handlers with IPL_MPSAFE bit. mvs 2026-02-22 18:44:41 +00:00
  • 266e2f0407 fix two leaks in interpreter.c; from Han Boetes (hboetes at gmail) op 2026-02-22 10:31:28 +00:00
  • c745d9d774 don't talk about CN, we no longer send it in the CSR, and CAs constructed their own anyway. sthen 2026-02-21 19:23:45 +00:00
  • fc987e1c38 don't include CN in the certificate signing request. sthen 2026-02-21 19:20:41 +00:00
  • d97ab55405 Add missing bus_dmamap_unload(9). kettenis 2026-02-21 16:48:21 +00:00
  • 65ff3274db fix typo in comment, from Benjamin Lee McQueen sthen 2026-02-20 12:32:34 +00:00
  • 6e5bcb6513 Reuse the same extended slot when clearing non-RGB cells as well. From Michael K Darling in GitHub issue 4865. nicm 2026-02-20 08:41:23 +00:00
  • e2da7b503b sys/videoio.h: sync with Linux kirill 2026-02-19 20:42:45 +00:00
  • 6a338f3f70 Print both nat-to and rdr-to in pfctl show rules. bluhm 2026-02-19 16:59:15 +00:00
  • 5781d1bc88 uvmexp.faults is now counter in MI code ok claudio kettenis deraadt 2026-02-19 15:42:17 +00:00
  • f5ae478e68 Also put LRO Flags inside an ifndef SMALL_KERNEL jan 2026-02-19 10:15:36 +00:00
  • 5e6b300ad5 vmd(8): prevent pause deadlock when vcpu doesn't halt dv 2026-02-18 22:28:19 +00:00
  • 4dc0e834fe usr.sbin/relayd: add support for PROXY protocol in TCP relays kirill 2026-02-18 22:27:03 +00:00
  • 1c096ed5f4 uses tmpfile(), which is why it used "tmppath", which is why it now needs "rpath wpath cpath" spotted by brynet deraadt 2026-02-18 21:40:55 +00:00
  • 0bcd6e0c21 This was using pledge "tmppath" with "rpath wpath cpath". The "tmppath" is not needed. ok semarie and others deraadt 2026-02-18 20:43:58 +00:00
  • 1ccd5a3a52 pledge "rpath tmppath" is replace with unveil "/" "r", unveil "/tmp" "rwc", and "rpath wpath cpath" ok semarie deraadt 2026-02-18 16:46:48 +00:00
  • e05dc1d889 replace pledge "tmppath" with unveil "/tmp" "rwc" and "rpath wpath cpath". ok ok deraadt 2026-02-18 15:54:20 +00:00
  • 2a03ab9331 Add more error logging for the ERR_UPD_ATTRLIST case. claudio 2026-02-18 15:54:06 +00:00
  • 2f35217588 Make qwx_dmamem_alloc() wait for resources if necessary. kettenis 2026-02-18 15:34:49 +00:00
  • ad461ab28a Instead of pledge "tmppath rpath", setup a "rwc" unveil on "/tmp", a "r" unveil on "/", and then pledge "rpath wpath cpath". ok semarie and others deraadt 2026-02-18 15:25:01 +00:00
  • cd7feeec72 This is using pledge "tmppath" with "rpath wpath cpath". The "tmppath" is not needed. ok semarie and others deraadt 2026-02-18 15:23:36 +00:00
  • 8b8eaf56ff Pass which clipboard is set through to the terminal, from Axel Lindskog in GitHub issue 4858. nicm 2026-02-18 09:10:31 +00:00
  • 74811a55db These programs are using pledge "tmppath" with "rpath wpath cpath". The "tmppath" is not needed. ok semarie and others deraadt 2026-02-18 08:54:46 +00:00
  • c9a87b7d52 correct bounds check on number of memory segments found with smatch, ok patrick@ jsg 2026-02-18 03:10:57 +00:00
  • 2312e0c0c9 same treatment for remote/remote copies (i.e. scp -3): adjust permissions on destination directory only if we created it or -p was requested. bz3925 djm 2026-02-18 03:04:12 +00:00
  • 5f549511a7 when uploading a directory using sftp/sftp (e.g. during a recursive transfer), don't clobber the remote directory permissions unless either we created the directory during the transfer or the -p flag was set. bz3925 ok dtucker@ djm 2026-02-18 02:59:27 +00:00
  • 3b30660089 make IPQoS first-match-wins in sshd_config as it's intended to be bz3924 djm 2026-02-17 21:45:07 +00:00
  • 3843580086 Sprinkle some BUS_DMA_64BIT; this hardware has no issues handling full 64-bit addresses. kettenis 2026-02-17 20:02:43 +00:00
  • 69f8c3e7db Call timer_remove_all with the right object. claudio 2026-02-17 14:06:44 +00:00
  • 60b112c3d8 sync job 2026-02-17 13:54:42 +00:00
  • ead6ce3145 Call rde_filterstate_init() early since goto badflow will call rde_filterstate_clean() and so the state must be initalized. claudio 2026-02-17 10:51:43 +00:00
  • 94e06bebbd Reuse extended entry when clearing RGB cell, to prevent memory growth when cells are repeatedly cleared (they are only compacted when scrolled off screen). From Michael K Darling in GitHub issue 4862. nicm 2026-02-17 07:42:58 +00:00
  • 8cf928b454 Always close the device. asou 2026-02-17 04:51:47 +00:00
  • 149bd82838 Reuse an unused field in uvmexp, and introduce swpskip. In the near future, this will count how many times pages are not sent to swap because the pagedaemon detects the swap system won't be able to deliver results (and toss the cluster of pages back) ok beck deraadt 2026-02-17 03:28:41 +00:00
  • d0df355ed7 The uvm display abuses the FLD subsystem with a set of empty labels, which results in an extra blank line. Work around this by noticing all the labels are empty and not doing a newline. deraadt 2026-02-17 03:26:41 +00:00
  • 5bc91341cd remove duplicate includes; ok dtucker@ jsg 2026-02-16 23:47:06 +00:00
  • fc1dd2110f correct bounds check on number of memory segments found with smatch, feedback and ok stsp@ jsg 2026-02-16 23:37:44 +00:00
  • 234c4baffa update extern for renamed variable jsg 2026-02-16 23:23:50 +00:00
  • 881362e4e1 Handle VMMCALL in vctrap() hshoexer 2026-02-16 15:10:39 +00:00
  • c1737a4202 vmm(4): Ignore VMGEXIT request and inject #UD hshoexer 2026-02-16 15:08:41 +00:00
  • a9055c1d86 vmm(4): Check for and allow empty GHCB; only clear valid bitmap hshoexer 2026-02-16 15:06:03 +00:00
  • 2b785c3094 Make sure that the filterset passed along with other objects is present. claudio 2026-02-16 14:27:40 +00:00
  • bbcaa1cefe Make sure rde_filterset_unref() can be called with a NULL pointer. OK tb@ claudio 2026-02-16 14:23:56 +00:00
  • 72979b9de6 Make sure that internal counters do not go out of bounds if the '-n' or '-A' options are specified more than once. From Petre Rodan, ok florian@ sthen 2026-02-16 13:54:47 +00:00
  • dac3ac0915 regress: Test vmmcall raises #UD hshoexer 2026-02-16 13:08:57 +00:00
  • c7faaa76b4 regress: Test vmcall raises #UD hshoexer 2026-02-16 13:05:14 +00:00
  • cf1866c0c5 vmm(4): inject #UD for VMs running on SVM/VMX hshoexer 2026-02-16 12:43:58 +00:00
  • a922f547fd psp(4): add another firmware file hshoexer 2026-02-16 12:39:53 +00:00
  • a36cd2d0aa On newer hardware generations, no async events are enabled by default, so explicitly enable the ones we're interested in. jmatthew 2026-02-16 10:46:04 +00:00
  • 4a37cffd3f Format layout change string once per window in control notify, from Conor Taylor in GitHub issue 4848. nicm 2026-02-16 08:45:38 +00:00
  • a585d4ea6e Pull format allocation outside of loop for control subs, from Conor Taylor in GitHub issue 4848. nicm 2026-02-16 08:42:57 +00:00
  • 82e27a9cde remove prototype for removed prefix_add_eor() jsg 2026-02-16 08:42:00 +00:00
  • ea5644ce6a grid_peek_cell can return NULL, so check for it. From Conor Taylor in GitHub issue 4848. nicm 2026-02-16 08:02:04 +00:00
  • 0fa70da6be Reorder headers to match KNF and Portable. Removes 3 diffs. dtucker 2026-02-16 00:45:41 +00:00
  • bbb9429417 Add basic test for keyboard-interactive auth. Not enabled by default since it requires some setup on the host. dtucker 2026-02-15 22:29:30 +00:00
  • 595f5f025d add AlphaSmart Dana as a PALM4 device jcs 2026-02-15 19:10:15 +00:00
  • 8efe1c7a60 regen jcs 2026-02-15 19:09:49 +00:00
  • a4ff0b97e8 add AlphaSmart Dana jcs 2026-02-15 19:09:27 +00:00
  • 5720d63d98 Avoid leak in proc_parser_file() gzip path job 2026-02-15 17:55:14 +00:00
  • d67f8546f2 Initialize bufname, reported by Mark Kelly. nicm 2026-02-15 17:43:26 +00:00
  • dd4215a712 remove unneeded includes; ok dtucker@ jsg 2026-02-14 00:18:34 +00:00
  • dca435757b Replace <sys/mount.h> with <limits.h> The former is a portability hassle, but it turns out the only thing we need from it is PATH_MAX which we can get directly from limits.h. dtucker 2026-02-13 19:06:18 +00:00
  • 18e293310f Add rde filter stats for the new out filters. OK tb@ claudio 2026-02-13 18:27:40 +00:00
  • 33ce5ea30d Move atomic_load_sint() under #ifdef _KERNEL in uvmexp.h. bluhm 2026-02-13 18:08:06 +00:00
  • ce1a0b308c Optimise the out filters rule evaluation by being more cache friendly. claudio 2026-02-13 12:47:36 +00:00
  • 002f3ac182 remove unneeded forward struct declaration ok djm@ jsg 2026-02-13 01:04:47 +00:00
  • 7d8bc7d2b6 psp(4): Add support for the PSP found on the AMD EPYC 9005 hshoexer 2026-02-12 14:24:53 +00:00
  • e8429abcf7 regen hshoexer 2026-02-12 14:20:31 +00:00
  • 0e56baa147 Add PSP of the AMD EPYC 9005 hshoexer 2026-02-12 14:19:23 +00:00
  • 829f23bb15 very basic testing of multiple files in RevokedKeys and RevokedHostkeys djm 2026-02-11 22:58:23 +00:00