Artemis Tosini artemist
  • Joined on 2024-03-28
artemist created branch sandbox-refactor in artemist/lix 2024-04-30 17:46:10 +00:00
artemist pushed to sandbox-refactor at artemist/lix 2024-04-30 17:46:10 +00:00
e2ab89a74b add VM test for nix upgrade-nix
ee5a1b5a4c nix3-upgrade-nix: allow manually specifying new nix
aae12f5848 fix nix upgrade-nix on new-style profiles
2bd57d4d36 refactor some nix-env and profile code to libcmd
da677fce39 Merge "remove Github workflow files" into main
Compare 10 commits »
artemist closed issue lix-project/lix#156 2024-04-29 23:43:14 +00:00
lsof in tests is never exercised
artemist pushed to libproc-wip at artemist/lix 2024-03-31 05:41:06 +00:00
36769bdb35 tests: Enable functional-gc-runtime on non-linux systems
artemist pushed to libproc-wip at artemist/lix 2024-03-31 05:38:16 +00:00
3aabb12270 gc: Actually skip args on darwin
artemist pushed to libproc-wip at artemist/lix 2024-03-31 05:01:56 +00:00
2216e583e9 gc: Attempt to skip args on Darwin
artemist pushed to libproc-wip at artemist/lix 2024-03-31 03:25:11 +00:00
9c608553e4 gc: Darwin has a lot of errors...
artemist pushed to libproc-wip at artemist/lix 2024-03-31 03:04:01 +00:00
888ac23f36 gc: Darwin also gives you EPERM
artemist pushed to libproc-wip at artemist/lix 2024-03-31 02:22:11 +00:00
619e3aa7aa gc: clean up error handling on Darwin
artemist pushed to libproc-wip at artemist/lix 2024-03-31 01:48:19 +00:00
9f4ec90e71 gc: Read per-thread cwds on Darwin
artemist pushed to libproc-wip at artemist/lix 2024-03-31 01:19:16 +00:00
8e07bdb368 gc: Read arguments on darwin
artemist pushed to libproc-wip at artemist/lix 2024-03-30 06:49:54 +00:00
028f728368 gc: Handle more syscall errors on Darwin
artemist commented on issue lix-project/lix#156 2024-03-30 03:53:49 +00:00
lsof in tests is never exercised

I discovered why upstream lsof is so slow: There's an undocumented API that's been in XNU since OS X 10.10 that allows you to ask for only regions (like what you'd find in /proc/pid/maps on linux)…

artemist pushed to libproc-wip at artemist/lix 2024-03-30 03:35:38 +00:00
e6c0972318 gc: Start libproc-based Darwin roots
artemist created branch libproc-wip in artemist/lix 2024-03-30 00:31:58 +00:00
artemist pushed to libproc-wip at artemist/lix 2024-03-30 00:31:58 +00:00
61ca548f49 gc: Don't skip lsof during tests
artemist created repository artemist/lix 2024-03-30 00:31:08 +00:00
artemist commented on issue lix-project/lix#156 2024-03-29 23:04:14 +00:00
lsof in tests is never exercised

A bit more info now that I figured out how to do stuff on a mac: upstream lsof is highly inefficient on macs.

On my 2012 MacBookPro9,2 with an i5-3210M running macOS 14.4.1 and very little…

artemist commented on issue lix-project/lix#156 2024-03-29 04:29:32 +00:00
lsof in tests is never exercised

lsof is a somewhat weird dependency. While it should work, macOS has several functions in [libproc.h](https://opensource.apple.com/source/xnu/xnu-2422.1.72/libsyscall/wrappers/libproc/libproc.h.aut