Skip to content
This repository has been 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

Open
milosmalik opened this issue Mar 23, 2018 · 0 comments

Comments

@milosmalik
Copy link

milosmalik commented Mar 23, 2018

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant