Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76097
b: refs/heads/master
c: 2e08c0c
h: refs/heads/master
i:
  76095: b90b586
v: v3
  • Loading branch information
Eamon Walsh authored and James Morris committed Jan 25, 2008
1 parent 457dc53 commit add1366
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 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: 1996a10948e50e546dc2b64276723c0b64d3173b
refs/heads/master: 2e08c0c1c3977a5ddc88887dd3af1b26c433e9d0
11 changes: 2 additions & 9 deletions trunk/security/selinux/ss/mls.c
Original file line number Diff line number Diff line change
Expand Up @@ -537,15 +537,8 @@ int mls_compute_sid(struct context *scontext,
/* Use the process effective MLS attributes. */
return mls_context_cpy_low(newcontext, scontext);
case AVTAB_MEMBER:
/* Only polyinstantiate the MLS attributes if
the type is being polyinstantiated */
if (newcontext->type != tcontext->type) {
/* Use the process effective MLS attributes. */
return mls_context_cpy_low(newcontext, scontext);
} else {
/* Use the related object MLS attributes. */
return mls_context_cpy(newcontext, tcontext);
}
/* Use the process effective MLS attributes. */
return mls_context_cpy_low(newcontext, scontext);
default:
return -EINVAL;
}
Expand Down

0 comments on commit add1366

Please sign in to comment.