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

seinfo --expand should count the results #177

Open
ghost opened this issue Sep 7, 2017 · 1 comment
Open

seinfo --expand should count the results #177

ghost opened this issue Sep 7, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 7, 2017

# seinfo -xtuser.subj

Types: 1
   type user.subj,... users.unpriv_user.subj_type_attribute;

In the example above we already know the Types count is 1. Instead we want to know the Type Attributes count.

# seinfo -xasubj.subj_type_attribute

Type Attributes: 1
   attribute subj.subj_type_attribute;
        alsactl.subj
        ...

In the example above we already know the Type Attributes count is 1. Instead we want to know the Types count

@ghost
Copy link
Author

ghost commented Sep 7, 2017

Also why can the formatting for seinfo -xtuser.subj not be the same as for seinfo -xasubj.subj_type_attribute

The output of seinfo -xasubj.subj_type_attribute is much more readable and arguably parseable

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

0 participants