On 03/02/2018 01:49 PM, Chris PeBenito wrote: > I've been able to make SETools dynamically link to libsepol. However, > one challenge is with policycap names. They're static libsepol, with > nothing that exports them. Can we either: > > * export the sepol_polcap_getname() function, or > * move the polcap_names[] in polcaps.c into <sepol/policydb/polcaps.h> ? > > Then I can avoid having to manually keep a polcap name list inside SETools. Let's do the former (and also export sepol_polcap_getnum for consistency). Did you want to spin up a patch or were you asking us to do so?