Dear Stephen, and Jeffery.

Thank you for always kindly answers for my any questions.
When I run cts 6.0 I met the bellow error.

10-15 15:14:57 I/LGF400L28a40bc2:
android.cts.security.SELinuxNeverallowRulesTest#testNeverallowRules0 FAIL
junit.framework.AssertionFailedError: The following errors were encountered
when validating the SELinuxneverallow rule:
neverallow { appdomain -bluetooth } self:capability *;
*libsepol.avtab_read_item: more than one specifier*
*libsepol.avtab_read: failed on entry 1268 of 26904*
error(s) encountered while parsing configuration

I think it occur in external/libsepol/src/avtab.c's avtab_read_item.

if (!set || set >1) {
  ERR(fp->handle, "more than one specifier");
  return -1
}

regards all cts neverallow test was filed because of that problem.
And, testAllEnforcing, testNoBooleans also were failed,
I think It need to parsing poilicyDB.

* Additional test
1. When did "adb pull /sepolicy", and I did command like that by
sepolicy-analyze tools.
./sepolicy-analyze sepolicy permissive
--> It doing well.

2. But I did "adb pull /sys/fs/selinux/policy", I did same command
--> It occur error log
*libsepol.avtab_read_item: more than one specifier*

It is possible to make wrong in /sys/fs/selinux/policy?
When, and where does making /sys/fs/selinux/policy file?

To solve this problem, how can I do?

Thanks.
_______________________________________________
Seandroid-list mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to 
[email protected].

Reply via email to