Skip to content
This repository was archived by the owner on Jun 18, 2018. It is now read-only.
This repository was archived by the owner on Jun 18, 2018. It is now read-only.

Is 'seinfo --class -x' able to print permissions always in the same order? #184

@milosmalik

Description

@milosmalik

Each of following commands prints different results (classes are printed in the same order, but permissions are printed in different order) when executed twice in a row on the same machine:

  • seinfo --class -x
  • seinfo --common -x

setools-console-4.1.1-5.el8+5.x86_64

Actual results:

seinfo --class -x | tail -n 10

record
manage
getattr
setattr

}
class x_synthetic_event
{
send
receive
}

seinfo --class -x | tail -n 10

manage
grab
setattr
debug

}
class x_synthetic_event
{
receive
send
}

Expected results:

  • classes and their permissions are always printed in the same order (ideally alphabetically sorted) if they are defined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions