Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 01330ec25d
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (31 sloc) 1.07 kb
__NAME__ purpose
specify operation codes to trap in compartments
__NAME__ see also
__NAME__ synopsis
<arg choice='plain' rep='repeat'><replaceable>opcode</replaceable></arg>
__NAME__ description
The directive defines the opcodes that will be trapped in the
<classname>Safe</classname> compartments, for use in
embedded &PERL; and conditional operations.
For a complete discussion and the opcodes list, see
<manvolnum>3perl</manvolnum></citerefentry> manual page.
__NAME__ notes
Please see the &glos-safe; glossary entry for the introduction and guidelines
to programming under <classname></classname> restrictions.
The &conf-SafeUntrap; directive runs <emphasis role='bold'>after</emphasis>
&conf-SafeTrap; and takes precedence. Make sure the opcodes you want
to trap are not later untrapped with &conf-SafeUntrap;.
__NAME__ example: Disabling rand function
SafeTrap rand
Jump to Line
Something went wrong with that request. Please try again.