Skip to content
  • Tyler Hicks's avatar
    seccomp: Configurable separator for the actions_logged string · beb44aca
    Tyler Hicks authored
    
    
    The function that converts a bitmask of seccomp actions that are
    allowed to be logged is currently only used for constructing the display
    string for the kernel.seccomp.actions_logged sysctl. That string wants a
    space character to be used for the separator between actions.
    
    A future patch will make use of the same function for building a string
    that will be sent to the audit subsystem for tracking modifications to
    the kernel.seccomp.actions_logged sysctl. That string will need to use a
    comma as a separator. This patch allows the separator character to be
    configurable to meet both needs.
    
    Signed-off-by: default avatarTyler Hicks <tyhicks@canonical.com>
    Acked-by: default avatarKees Cook <keescook@chromium.org>
    Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
    beb44aca