mirror of
https://github.com/topjohnwu/selinux.git
synced 2025-02-22 04:11:09 +00:00

We use the exact same logic a bunch of places in policy_define.c to translate a class set into a bitmap. Make this into a helper function. Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com>