diff --git a/doc/stdenv.xml b/doc/stdenv.xml index b075e0219a54..ee01dcf01df7 100644 --- a/doc/stdenv.xml +++ b/doc/stdenv.xml @@ -1319,6 +1319,25 @@ someVar=$(stripHash $name; echo $strippedName) GST_PLUGIN_SYSTEM_PATH environment variable. + + paxctl + Defines the paxmark helper for + setting per-executable PaX flags on Linux (where it is available by + default; on all other platforms, paxmark is a no-op). + For example, to disable secure memory protections on the executable + foo: + + postFixup = '' + paxmark m $out/bin/foo + ''; + + The m flag is the most common flag and is typically + required for applications that employ JIT compilation or otherwise need to + execute code generated at run-time. Disabling PaX protections should be + considered a last resort: if possible, problematic features should be + disabled or patched to work with PaX. + +