Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention the systemd issue with old-style callbacks #74

Merged
merged 2 commits into from
Apr 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions doc/source/using.rst
Original file line number Diff line number Diff line change
Expand Up @@ -891,6 +891,10 @@ ffi.callback() and the result is the same.
- `On Mac OS X,`__ you need to give your application the entitlement
``com.apple.security.cs.allow-unsigned-executable-memory``.

- On Linux, ``systemd`` installs syscall filtering rules on services
it supervises. The `MemoryDenyWriteExecute=` setting in
`systemd.exec(5)` defaults to on, and can quietly block this.

Note also that a cffi fix for this issue was attempted---see
the ``ffi_closure_alloc`` branch---but was not merged because it
creates potential `memory corruption`__ with ``fork()``.
Expand Down
Loading