Skip to content

Commit

Permalink
api: some formatting fixes in seccomp.h.in
Browse files Browse the repository at this point in the history
Acked-by: Tom Hromatka <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
  • Loading branch information
pcmoore committed Jun 6, 2020
1 parent 777b647 commit c22f071
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions include/seccomp.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,12 @@ enum scmp_filter_attr {
SCMP_FLTATR_API_TSKIP = 5, /**< allow rules with a -1 syscall */
SCMP_FLTATR_CTL_LOG = 6, /**< log not-allowed actions */
SCMP_FLTATR_CTL_SSB = 7, /**< disable SSB mitigation */
SCMP_FLTATR_CTL_OPTIMIZE = 8, /**< filter optimization level: (DEFAULT = 1)
SCMP_FLTATR_CTL_OPTIMIZE = 8, /**< filter optimization level:
* 0 - currently unused
* 1 - rules weighted by priority and complexity
* 2 - binary tree sorted by syscall number
* 1 - rules weighted by priority and
* complexity (DEFAULT)
* 2 - binary tree sorted by syscall
* number
*/
_SCMP_FLTATR_MAX,
};
Expand Down

0 comments on commit c22f071

Please sign in to comment.