"semanage fcontext -l" so far ignored content of file_contexts.homedirs
file which is confusing to users (more specific rules may be ignored in
favor of rules unseen to the user since file_contexts.homedirs has
higher priority than file_contexts).

These patches introduce the content of file_contexts.homedirs into 
the listing.

I am still unsure if it would not be better to list each file
separately (ideally in the order in which they are evaluated by
"restorecon").

 libsemanage/include/semanage/fcontexts_policy.h |  4 ++++
 libsemanage/src/direct_api.c                    |  6 ++++++
 libsemanage/src/fcontexts_policy.c              |  8 ++++++++
 libsemanage/src/handle.h                        | 19 +++++++++++++------
 python/semanage/seobject.py                     |  5 +++++
 5 files changed, 36 insertions(+), 6 deletions(-)


Reply via email to