On Fri, Mar 2, 2018 at 10:49 AM, Chris PeBenito <pebenito@xxxxxxxx> 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. I would rather export the sepol_polcap_getname() rather than the raw mapping array. > > -- > Chris PeBenito >