Skip to content

Commit d7f750b

Browse files
authored
Mention the systemd issue with old-style callbacks (#74)
* Mention the systemd issue with old-style callbacks * Copy the whole explanation
1 parent 56f7609 commit d7f750b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/source/using.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -891,6 +891,10 @@ ffi.callback() and the result is the same.
891891
- `On Mac OS X,`__ you need to give your application the entitlement
892892
``com.apple.security.cs.allow-unsigned-executable-memory``.
893893

894+
- On Linux, ``systemd`` installs syscall filtering rules on services
895+
it supervises. The `MemoryDenyWriteExecute=` setting in
896+
`systemd.exec(5)` defaults to on, and can quietly block this.
897+
894898
Note also that a cffi fix for this issue was attempted---see
895899
the ``ffi_closure_alloc`` branch---but was not merged because it
896900
creates potential `memory corruption`__ with ``fork()``.

0 commit comments

Comments
 (0)