• Goldwyn Rodrigues's avatar
    json support for logprof and genprof · 5a1ae885
    Goldwyn Rodrigues authored
    From: Goldwyn Rodrigues <rgoldwyn@suse.com>
    Provides json support to tools in order to interact with other
    utilities such as Yast.
    The JSON output is one per line, in order to differentiate between
    multiple records. Each JSON record has a "dialog" entry which defines
    the type of message passed. A response must contain the "dialog"
    entry. "info" message does not require a response.
    "apparmor-json-version" added in order to identify the communication
    protocol version for future updates.
    This is based on work done by Christian Boltz.
    Signed-off-by: Goldwyn Rodrigues's avatarGoldwyn Rodrigues <rgoldwyn@suse.com>
    Acked-by: Christian Boltz's avatarChristian Boltz <apparmor@cboltz.de>
    Acked-by: 's avatarSeth Arnold <seth.arnold@canonical.com>
aa-logprof 1.98 KB