Commit Graph

30356 Commits

Author SHA1 Message Date
Joe Bryan
4b70f0a895 Merge tag 'urbit-v1.12' into jb/fix
urbit-v1.12

Arvo 417K
Vere 1.12

This is a hotfix release, fixing another memory corruption vulnerability
introduced in v1.10 and improving snapshot durability.

Release Notes

- restores the guard page (preventing road stack overflow) after |meld
- improves snapshot error handling and messaging
- fixes an overflow bug affecting jammed scry output (-X)

Contributions:

Joe Bryan (16):
      u3: protect guard page in u3e_yolo()
      vere: bumps version
      u3: assert guard page invariants when saving snapshot
      u3: initialize guard page in u3m_boot_lite()
      vere: bumps version
      nix: update linux-aarch64 overlay to exclude macos m1
      u3: handle partial reads in snapshot system
      u3: handle partial writes in snapshot system
      u3: print mprotect errors in snapshot system
      u3: print error msg if system page size is incompatible
      u3: detect snapshots from a larger loom, print and exit
      u3: normalize home-road stack after snapshot restoration
      u3: handle and print lseek errors in snapshot system
      u3: print errors while deleting snapshot patch
      vere: bumps version
      vere: bumps version

Liam Fitzgerald (1):
      pier: fix jamming archive
2022-11-15 14:55:02 -05:00
Joe Bryan
d07e31ac60 vere: bumps version 2022-11-15 14:07:27 -05:00
Joe Bryan
885eb2fea1 Merge branch 'jb/hotfix' into jb/fix 2022-11-14 23:36:29 -05:00
Joe Bryan
215f6ce650 vere: bumps version 2022-11-14 23:30:29 -05:00
Joe Bryan
58805b8cef u3: print errors while deleting snapshot patch 2022-11-14 23:18:43 -05:00
Joe Bryan
284addf159 u3: handle and print lseek errors in snapshot system 2022-11-14 23:15:11 -05:00
Joe Bryan
4f5f7e2804 u3: normalize home-road stack after snapshot restoration 2022-11-14 23:15:10 -05:00
Joe Bryan
2a1a707900 u3: detect snapshots from a larger loom, print and exit 2022-11-14 23:15:10 -05:00
Joe Bryan
4c930162e0 u3: print error msg if system page size is incompatible 2022-11-14 23:15:10 -05:00
Joe Bryan
adc058724c u3: print mprotect errors in snapshot system 2022-11-14 23:15:10 -05:00
Joe Bryan
6ea0af456e u3: handle partial writes in snapshot system 2022-11-14 23:15:10 -05:00
Joe Bryan
72eb04bf51 u3: handle partial reads in snapshot system 2022-11-14 23:15:10 -05:00
Joe Bryan
39bf78c223 nix: update linux-aarch64 overlay to exclude macos m1 2022-11-14 23:15:01 -05:00
Joe Bryan
e8879fb5ab vere: bumps version 2022-11-14 14:10:02 -05:00
Liam Fitzgerald
e1e0ca76d8 pier: fix jamming archive 2022-11-14 13:53:43 -05:00
Joe Bryan
6dea612849 u3: initialize guard page in u3m_boot_lite() 2022-11-14 13:38:50 -05:00
Joe Bryan
f7275b6e67 u3: assert guard page invariants when saving snapshot 2022-11-14 13:38:46 -05:00
Joe Bryan
196bb4ae1f vere: bumps version 2022-11-13 20:27:19 -05:00
Joe Bryan
95650edb3a u3: protect guard page in u3e_yolo() 2022-11-13 20:26:50 -05:00
Joe Bryan
0885c23f80 vere: bumps version 2022-11-11 13:01:55 -05:00
Joe Bryan
409249049e Merge branch 'jb/hotfix' into jb/fix 2022-11-11 12:26:59 -05:00
Joe Bryan
fae2cbe02b build: renames "nightly" pace from "often" to "edge" 2022-11-11 11:47:07 -05:00
Joe Bryan
57bf5dc21b build: updated gcp configuration for buildjet runner 2022-11-11 11:46:25 -05:00
Joe Bryan
a44169c426 build: run unit tests on windows 2022-11-11 10:45:43 -05:00
Joe Bryan
2439657d66 build: run unit tests early on linux 2022-11-11 10:45:43 -05:00
Joe Bryan
4798cbee8b build: add aarch64 via buildjet 2022-11-11 10:45:22 -05:00
~botter-nidnul
a1a2be47fe nix: enable aarch64-linux platform string 2022-11-11 10:43:38 -05:00
Joe Bryan
dcd58996a4 Merge branch 'jb/hotfix' into jb/fix 2022-11-10 20:37:44 -05:00
Joe Bryan
efa6477445 vere: bumps version 2022-11-10 18:58:00 -05:00
Joe Bryan
f807699b08 Merge commit 'ac5842fd6e' into jb/hotfix
includes #5915 in hotfix release
2022-11-10 18:29:51 -05:00
Joe Bryan
c30483c9b9 Merge branch 'jb/hotfix' into jb/fix 2022-11-10 18:27:45 -05:00
Joe Bryan
2a8cc154ce vere: decrement %lull and %zuse kelvins 2022-11-10 18:26:59 -05:00
Joe Bryan
2e4bdb5c13 Merge branch 'jb/hotfix' into jb/fix 2022-11-10 14:03:57 -05:00
Joe Bryan
eb7c289ded test: initialize guard page in jam-tests 2022-11-10 13:50:53 -05:00
Joe Bryan
4a5b56eff5 u3: reposition guard page if needed for new roads
this works around a bug wherein the guard page
could become nonoperable if it happened to coincide
with the padding between inner roads
2022-11-10 13:26:07 -05:00
Joe Bryan
d211e09b0d bump 2022-08-05 14:46:54 -04:00
Joe Bryan
7c9167b6ae u3: refactors custom allocator init for libraries 2022-08-05 12:45:27 -04:00
Joe Bryan
f996844950 u3: normalize home-road stack after snapshot restoration 2022-08-05 10:47:16 -04:00
Joe Bryan
815d78fa55 u3: use size_t in u3m_init() 2022-08-05 10:47:09 -04:00
Joe Bryan
ac5842fd6e
Merge pull request #5915 from bradley-ray/bug-vere-u3-term-log-exit
vere: clean up terminal on invalid fake ship name
2022-07-29 12:40:56 -04:00
Bradley
3407de0fd8 vere: removed unnecessary exit(1) call
Previously exit(1) was called after calling u3_king_bail()
which was unnecessary, so removed it.
2022-07-29 11:03:25 -05:00
Bradley
2b99eb2cac vere: changed to use u3_king_bail instead of manual term clean up 2022-07-29 10:54:12 -05:00
Bradley Ray
6d0bdc06dd vere: clean up terminal on invalid fake ship name
Currently when creating a fake ship, if an invalid ship name is given,
then the program exits without ever cleaning up the terminal. This
results in  a bugged termianal that requires closing and repopening
or using the `reset` cmd.

This commits adds a call to `u3_term_log_exit()` and `fflush(stdout)`
before calling `exit(1)` to ensure proper cleanup.

Address issue #5914
2022-07-28 22:15:13 -05:00
Joe Bryan
da47a2f98b Merge branch 'next/vere'
* next/vere: (49 commits)
  vere: bumps version
  vere: bumps version
  ci: enable release version mgmt
  Revert "ci: reenable release mgmt"
  ci: reenable release mgmt
  ames: track/log bad ciphertext crashes separately
  u3: %evil leaves no trace
  vere: drop bail:evil events without error notifications
  jets: bail:evil in ae-siv decryption jets
  vere: make uv_cancel return code check explicit
  u3: check for overflow in interpreter if guard page not present
  build: default to using guard page
  u3: return 0 from u3e_fault() if guard page cannot be protected
  u3: control presence of guard page using macro
  Revert "u3: check for road stack overflow on every nock %2 and %9"
  build: make bench is phony
  u3: failure to mprotect() the new guard page is fatal
  u3: removes/disables obsolete road stack overflow checks
  u3: account for guard page in cellblock allocation conditional
  u3: bump road heap offset before allocating cellblock
  ...
2022-07-28 17:33:22 -04:00
Joe Bryan
04645cbf08 vere: bumps version 2022-07-28 14:42:05 -04:00
Joe Bryan
9c18144253 vere: bumps version 2022-07-15 22:50:27 -04:00
Joe Bryan
1a84399e64 ci: enable release version mgmt 2022-07-15 10:48:04 -04:00
Joe Bryan
2195215992 Revert "ci: reenable release mgmt"
This reverts commit 756754b118.
2022-07-14 18:05:01 -04:00
Joe Bryan
756754b118 ci: reenable release mgmt 2022-07-14 11:19:08 -04:00
Joe Bryan
dd8df1b2b6
Merge pull request #5826 from urbit/jb/sivc-no-punt
jets: remove +de:sivc punt logging
2022-07-13 17:27:22 -04:00