diff options
author | dcashman <dcashman@google.com> | 2014-12-16 11:46:08 -0800 |
---|---|---|
committer | dcashman <dcashman@google.com> | 2014-12-22 16:06:18 -0800 |
commit | 3e361705aaddfaf05a2de909cd4f2674f291ed7a (patch) | |
tree | f1b3970f1af52fd02a0c992fcfd28e70c17704d5 | |
parent | 9e08c51eb432004366b07632650b0dfe02bf7160 (diff) | |
download | checkpolicy-3e361705aaddfaf05a2de909cd4f2674f291ed7a.tar.gz |
Allow libsepol C++ static library on device.
Change-Id: I7da601767c3a4ebed7274e33304d8b589a9115fe
-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) |