Fix race in vmm(4) vm termination path.
Two callers can enter vm_terminate simultaneously and race to remove
the vm from the SLIST and teardown the vm. This adds a flag to the
vm struct and uses atomic cas operations to only have one caller
advance while the other callers receive EBUSY.
ok mlarkin@
Reported-by: syzbot+b3be6264d2f1d5c22b0b at syzkaller.appspotmail.com
CookCLI provides a suite of commands to create shopping lists,
reports and maintain recipes. We've built it to be simple and useful
for automating your cooking and shopping routine with existing UNIX
command line and scripting tools. It can also function as a webserver
for your recipes, making them browsable on any device with a web
browser.
comments sthen@, ian@ and jca@, ok bentley@
import ports/graphics/gimp/stroke-arrows, from espie, ok tb
(+ whitespace nits from me)
Plugin for gimp: stroke one or several paths as arrow,
it will be placed at the bottom of the "Edit" menu.
A few styles are available for the arrowhead and tail,
the body is a standard line stroke with configureable with.
Backport of commit 1561854b03500d39955c66971c9c98de1937d7e6
gcc15 complains that specifying linkage for main is not allowed.
> error: cannot declare ‘::main’ with a linkage
> specification [-Wpedantic]
This commit wraps the extern block in #ifdefs that check
if the main -> SDL_main macro is in use.
OK bentley@
Add support for applications to use synchronized output mode (DECSET
2026) to prevent screen tearing during rapid updates. When an
application sends SM ?2026, tmux buffers output until RM ?2026 is received
or a 1-second timeout expires.
From Chris Lloyd with the assistance of Claude Code, GitHub issue 4744.
dxf2gcode: move to MODPY_PYBUILD, fix default paths for some optional
tools (pdftops, pstoedit) while there. ok tb@
rename the setuptools-compatible setup script so that it can be built as
a normal Python port via MODPY_PYBUILD; the previous method of running a
script to generate and install just the .egg file won't work with future
versions of setuptools.
issue with newer setuptools found by tb when bulk-testing.
avoid a shadowed variable in the pf_create_state() source limiter handling
the code that unwinds state creation when something fails needed
the pf_source variable at the function scope to be set, but this
was masked by a declaration in the scope that sets up the source
limiting. this results in a NULL deref in the unwind code when it
needs to clean up the accounting for a source limiter.
i found it funny that i left this comment for myself in the unwinding
code:
/* who needs KASSERTS when we have NULL derefs */
ok jmatthew@