Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250789
b: refs/heads/master
c: a35c6c8
h: refs/heads/master
i:
  250787: b0ff072
v: v3
  • Loading branch information
Eric Paris committed Apr 25, 2011
1 parent c7eebeb commit 0ac26f3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 425b473de5372cad6fffc6b98a758ed8e3fc70ce
refs/heads/master: a35c6c8368d88deae6890205e73ed330b6df1db7
2 changes: 2 additions & 0 deletions trunk/security/selinux/hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -989,6 +989,7 @@ static void selinux_write_opts(struct seq_file *m,
continue;
default:
BUG();
return;
};
/* we need a comma before each option */
seq_putc(m, ',');
Expand Down Expand Up @@ -1442,6 +1443,7 @@ static int task_has_capability(struct task_struct *tsk,
printk(KERN_ERR
"SELinux: out of range capability %d\n", cap);
BUG();
return -EINVAL;
}

rc = avc_has_perm_noaudit(sid, sid, sclass, av, 0, &avd);
Expand Down
1 change: 1 addition & 0 deletions trunk/security/selinux/netnode.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ static struct sel_netnode *sel_netnode_find(const void *addr, u16 family)
break;
default:
BUG();
return NULL;
}

list_for_each_entry_rcu(node, &sel_netnode_hash[idx].list, list)
Expand Down

0 comments on commit 0ac26f3

Please sign in to comment.