Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libselinux/utils/selabel_digest: pass BASEONLY only for file backend
Since commit 65c8fd4 ("libselinux: fail selabel_open(3) on invalid option") selabel_open(3) rejects options not supported for the respective backend. Pass SELABEL_OPT_BASEONLY only if the file backend is selected. Reported-by: zgzxx (#427) Fixes: 65c8fd4 ("libselinux: fail selabel_open(3) on invalid option") Signed-off-by: Christian Göttsche <[email protected]> Acked-by: James Carter <[email protected]>
- Loading branch information