Skip to content

Commit

Permalink
Mention the systemd issue with old-style callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
arigo authored Apr 24, 2024
1 parent 56f7609 commit 48ae7d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/source/using.rst
Original file line number Diff line number Diff line change
Expand Up @@ -891,6 +891,9 @@ 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`` can install syscall filtering rules on services
it supervises; see https://github.com/python-cffi/cffi/issues/73.

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

0 comments on commit 48ae7d4

Please sign in to comment.