Skip to content

Return same written policy to user space #12

@robertosassu

Description

@robertosassu

Currently, IMA converts the policy string sent by user space into parsed rules, suitable for policy matching. It also supports a read method, which takes the parsed rules and converts them back to a policy string.

However, the problem is that during the original policy parsing some information are lost, such as comments and the order in which fields appear in a rule. This results in returning to user space a policy which is different from the one that was originally loaded. Returning the same policy would be useful for detecting duplicate policy load (such as in the case of systemd soft-reboot).

This issue keeps track of the efforts to modify the IMA policy code to return the original policy string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions