Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232268
b: refs/heads/master
c: 3ac285f
h: refs/heads/master
v: v3
  • Loading branch information
Davidlohr Bueso authored and James Morris committed Jan 24, 2011
1 parent 1406338 commit f834aa6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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: e5cce6c13c25d9ac56955a3ae2fd562719848172
refs/heads/master: 3ac285ff23cd6e1bc402b6db836521bce006eb89
2 changes: 1 addition & 1 deletion trunk/security/selinux/ss/conditional.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ int cond_init_bool_indexes(struct policydb *p)
p->bool_val_to_struct = (struct cond_bool_datum **)
kmalloc(p->p_bools.nprim * sizeof(struct cond_bool_datum *), GFP_KERNEL);
if (!p->bool_val_to_struct)
return -1;
return -ENOMEM;
return 0;
}

Expand Down
4 changes: 2 additions & 2 deletions trunk/security/selinux/ss/policydb.c
Original file line number Diff line number Diff line change
Expand Up @@ -501,8 +501,8 @@ static int policydb_index(struct policydb *p)
if (rc)
goto out;

rc = -ENOMEM;
if (cond_init_bool_indexes(p))
rc = cond_init_bool_indexes(p);
if (rc)
goto out;

for (i = 0; i < SYM_NUM; i++) {
Expand Down

0 comments on commit f834aa6

Please sign in to comment.