Commit 38877498 authored by Dan Walsh's avatar Dan Walsh Committed by Android Git Automerger
Browse files

am 1502e6f6: libselinux: Don\'t reinitialize avc_init if it has been called previously

* commit '1502e6f6':
  libselinux: Don't reinitialize avc_init if it has been called previously
parents d1cf62aa 1502e6f6
......@@ -125,6 +125,9 @@ int avc_init(const char *prefix,
struct avc_node *new;
int i, rc = 0;
if (avc_running)
return 0;
if (prefix)
strncpy(avc_prefix, prefix, AVC_PREFIX_SIZE - 1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment