where the arguments of the tuple [index,value,valueTwo,op] have the following
meaning:
1. index (uint32_t):
The index of the syscall argument.
2. value (uint64_t):
The value for the syscall argument specified by "index".
3. valueTwo (uint64_t, optional):
The value for the syscall argument specified by "index". This optional value
is only valid in conjunction with SCMP_CMP_MASKED_EQ.
4. op (string):
The operator for the syscall argument. Valid operators are the constants
- SCMP_CMP_NE (!=)
- SCMP_CMP_LE (<=)
- SCMP_CMP_EQ (==)
- SCMP_CMP_GE (>=)
- SCMP_CMP_GT (>)
- SCMP_CMP_MASKED_EQ (&=)
as defined by libseccomp >= v2.3.2.
For convenience liblxc also understands the standard operator notation
indicated in brackets after the libseccomp constants above as an equivalent
notation.
Note that it is legal to specify multiple entries for the same syscall.
An example for an extended seccomp version 2 profile is: