Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250797
b: refs/heads/master
c: 2667991
h: refs/heads/master
i:
  250795: 2f75915
v: v3
  • Loading branch information
Eric Paris committed Apr 28, 2011
1 parent aa25f89 commit c835c72
Show file tree
Hide file tree
Showing 2 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: 4742600cf536c0c115b6f769eda82ee377d199c9
refs/heads/master: 2667991f60e67d28c495b8967aaabf84b4ccd560
6 changes: 3 additions & 3 deletions trunk/security/selinux/ss/services.c
Original file line number Diff line number Diff line change
Expand Up @@ -1359,13 +1359,13 @@ static int compute_sid_handle_invalid_context(
}

static void filename_compute_type(struct policydb *p, struct context *newcontext,
u32 scon, u32 tcon, u16 tclass,
u32 stype, u32 ttype, u16 tclass,
const char *objname)
{
struct filename_trans *ft;
for (ft = p->filename_trans; ft; ft = ft->next) {
if (ft->stype == scon &&
ft->ttype == tcon &&
if (ft->stype == stype &&
ft->ttype == ttype &&
ft->tclass == tclass &&
!strcmp(ft->name, objname)) {
newcontext->type = ft->otype;
Expand Down

0 comments on commit c835c72

Please sign in to comment.