On 05/22/2015 12:12 PM, Ted Toth wrote: > ./avperm > 1 - av_perm 0 > security class: 66 > class db_tuple av select > 2 - av_perm 8 > 3 - av_perm 8 > > why does the first call to string_to_av_perm return 0 something seem wrong here. You need to call string_to_security_class() first. The hardcoded #defines in flask.h and av_permissions.h are deprecated; you'll get compiler warnings with a recent version of libselinux when including them. _______________________________________________ Selinux mailing list Selinux@xxxxxxxxxxxxx To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx. To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.