core: allow to specify errno number in SystemCallErrorNumber=
This commit is contained in:
@@ -1622,15 +1622,11 @@ CapabilityBoundingSet=~CAP_B CAP_C</programlisting>
|
||||
<varlistentry>
|
||||
<term><varname>SystemCallErrorNumber=</varname></term>
|
||||
|
||||
<listitem><para>Takes an <literal>errno</literal> error number
|
||||
name to return when the system call filter configured with
|
||||
<varname>SystemCallFilter=</varname> is triggered, instead of
|
||||
terminating the process immediately. Takes an error name such
|
||||
as <constant>EPERM</constant>, <constant>EACCES</constant> or
|
||||
<constant>EUCLEAN</constant>. When this setting is not used,
|
||||
or when the empty string is assigned, the process will be
|
||||
terminated immediately when the filter is
|
||||
triggered.</para></listitem>
|
||||
<listitem><para>Takes an <literal>errno</literal> error number (between 1 and 4095) or errno name such as
|
||||
<constant>EPERM</constant>, <constant>EACCES</constant> or <constant>EUCLEAN</constant>, to return when the
|
||||
system call filter configured with <varname>SystemCallFilter=</varname> is triggered, instead of terminating
|
||||
the process immediately. When this setting is not used, or when the empty string is assigned, the process
|
||||
will be terminated immediately when the filter is triggered.</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
|
||||
Reference in New Issue
Block a user