diff options
author | dcashman <dcashman@google.com> | 2015-01-13 23:26:11 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-01-13 23:26:11 +0000 |
commit | 390ce703fb7d7ba259b099c099c42afb7bcf3ba9 (patch) | |
tree | f1b3970f1af52fd02a0c992fcfd28e70c17704d5 | |
parent | 901126d613b3f17756edb8c6409b99012469883a (diff) | |
parent | 3e361705aaddfaf05a2de909cd4f2674f291ed7a (diff) | |
download | checkpolicy-390ce703fb7d7ba259b099c099c42afb7bcf3ba9.tar.gz |
am 3e361705: Allow libsepol C++ static library on device.
* commit '3e361705aaddfaf05a2de909cd4f2674f291ed7a':
Allow libsepol C++ static library on device.
-rw-r--r-- | policy_define.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/policy_define.c b/policy_define.c index c292eae..cfd255e 100644 --- a/policy_define.c +++ b/policy_define.c @@ -1574,7 +1574,7 @@ int define_compute_type_helper(int which, avrule_t ** rule) goto bad; } class_perm_node_init(perm); - perm->class = i + 1; + perm->tclass = i + 1; perm->data = datum->s.value; perm->next = avrule->perms; avrule->perms = perm; @@ -1795,7 +1795,7 @@ int define_te_avtab_helper(int which, avrule_t ** rule) goto out; } class_perm_node_init(cur_perms); - cur_perms->class = i + 1; + cur_perms->tclass = i + 1; if (!perms) perms = cur_perms; if (tail) |