Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 201889
b: refs/heads/master
c: 38184c5
h: refs/heads/master
i:
  201887: 8fdab4d
v: v3
  • Loading branch information
Dan Carpenter authored and James Morris committed Aug 2, 2010
1 parent 0909fe2 commit 588b5cb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fc5c126e4733e6fb3080d3d822ca63226e74fc84
refs/heads/master: 38184c522249dc377366d4edc41dc500c2c3bb9e
8 changes: 6 additions & 2 deletions trunk/security/selinux/ss/conditional.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,14 @@ int evaluate_cond_node(struct policydb *p, struct cond_node *node)

int cond_policydb_init(struct policydb *p)
{
int rc;

p->bool_val_to_struct = NULL;
p->cond_list = NULL;
if (avtab_init(&p->te_cond_avtab))
return -1;

rc = avtab_init(&p->te_cond_avtab);
if (rc)
return rc;

return 0;
}
Expand Down

0 comments on commit 588b5cb

Please sign in to comment.